Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mfriesen committed Aug 11, 2024
1 parent 5acd0aa commit 5da2f01
Show file tree
Hide file tree
Showing 344 changed files with 2,099 additions and 333 deletions.
15 changes: 15 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ docs/AddFolderRequest.md
docs/AddFolderResponse.md
docs/AddFolderShareRequest.md
docs/AddFolderShareResponse.md
docs/AddGoogleDocumentExportRequest.md
docs/AddGoogleDocumentExportResponse.md
docs/AddGroup.md
docs/AddGroupRequest.md
docs/AddMapping.md
Expand Down Expand Up @@ -234,6 +236,9 @@ docs/GetWorkflowDocumentsResponse.md
docs/GetWorkflowQueueDocumentsResponse.md
docs/GetWorkflowResponse.md
docs/GetWorkflowsResponse.md
docs/GoogleConfig.md
docs/GoogleExportOutputType.md
docs/GoogleIntegrationApi.md
docs/Group.md
docs/IndexFolderMoveRequest.md
docs/IndexFolderMoveResponse.md
Expand Down Expand Up @@ -399,6 +404,7 @@ src/main/java/com/formkiq/client/api/DocumentWorkflowsApi.java
src/main/java/com/formkiq/client/api/DocumentsApi.java
src/main/java/com/formkiq/client/api/ESignatureApi.java
src/main/java/com/formkiq/client/api/ExamineObjectsApi.java
src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java
src/main/java/com/formkiq/client/api/MappingsApi.java
src/main/java/com/formkiq/client/api/OnlyofficeApi.java
src/main/java/com/formkiq/client/api/PublicApi.java
Expand Down Expand Up @@ -476,6 +482,8 @@ src/main/java/com/formkiq/client/model/AddFolderRequest.java
src/main/java/com/formkiq/client/model/AddFolderResponse.java
src/main/java/com/formkiq/client/model/AddFolderShareRequest.java
src/main/java/com/formkiq/client/model/AddFolderShareResponse.java
src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java
src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java
src/main/java/com/formkiq/client/model/AddGroup.java
src/main/java/com/formkiq/client/model/AddGroupRequest.java
src/main/java/com/formkiq/client/model/AddMapping.java
Expand Down Expand Up @@ -644,6 +652,8 @@ src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java
src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java
src/main/java/com/formkiq/client/model/GetWorkflowResponse.java
src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java
src/main/java/com/formkiq/client/model/GoogleConfig.java
src/main/java/com/formkiq/client/model/GoogleExportOutputType.java
src/main/java/com/formkiq/client/model/Group.java
src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java
src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java
Expand Down Expand Up @@ -789,6 +799,7 @@ src/test/java/com/formkiq/client/api/DocumentWorkflowsApiTest.java
src/test/java/com/formkiq/client/api/DocumentsApiTest.java
src/test/java/com/formkiq/client/api/ESignatureApiTest.java
src/test/java/com/formkiq/client/api/ExamineObjectsApiTest.java
src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java
src/test/java/com/formkiq/client/api/MappingsApiTest.java
src/test/java/com/formkiq/client/api/OnlyofficeApiTest.java
src/test/java/com/formkiq/client/api/PublicApiTest.java
Expand Down Expand Up @@ -843,6 +854,8 @@ src/test/java/com/formkiq/client/model/AddFolderRequestTest.java
src/test/java/com/formkiq/client/model/AddFolderResponseTest.java
src/test/java/com/formkiq/client/model/AddFolderShareRequestTest.java
src/test/java/com/formkiq/client/model/AddFolderShareResponseTest.java
src/test/java/com/formkiq/client/model/AddGoogleDocumentExportRequestTest.java
src/test/java/com/formkiq/client/model/AddGoogleDocumentExportResponseTest.java
src/test/java/com/formkiq/client/model/AddGroupRequestTest.java
src/test/java/com/formkiq/client/model/AddGroupTest.java
src/test/java/com/formkiq/client/model/AddMappingRequestTest.java
Expand Down Expand Up @@ -1011,6 +1024,8 @@ src/test/java/com/formkiq/client/model/GetWorkflowDocumentsResponseTest.java
src/test/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponseTest.java
src/test/java/com/formkiq/client/model/GetWorkflowResponseTest.java
src/test/java/com/formkiq/client/model/GetWorkflowsResponseTest.java
src/test/java/com/formkiq/client/model/GoogleConfigTest.java
src/test/java/com/formkiq/client/model/GoogleExportOutputTypeTest.java
src/test/java/com/formkiq/client/model/GroupTest.java
src/test/java/com/formkiq/client/model/IndexFolderMoveRequestTest.java
src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Class | Method | HTTP request | Description
*AttributesApi* | [**addAttribute**](docs/AttributesApi.md#addAttribute) | **POST** /attributes | Add new attribute
*AttributesApi* | [**deleteAttribute**](docs/AttributesApi.md#deleteAttribute) | **DELETE** /attributes/{key} | Delete attribute
*AttributesApi* | [**getAttribute**](docs/AttributesApi.md#getAttribute) | **GET** /attributes/{key} | Get Attribute
*AttributesApi* | [**getAttributeAllowedValues**](docs/AttributesApi.md#getAttributeAllowedValues) | **GET** /attributes/{key}/allowedValues | Get Attribute Allowed Values
*AttributesApi* | [**getAttributes**](docs/AttributesApi.md#getAttributes) | **GET** /attributes | Get Attributes listing
*CaseManagementApi* | [**addCase**](docs/CaseManagementApi.md#addCase) | **POST** /cases | Add New Case
*CaseManagementApi* | [**addNigo**](docs/CaseManagementApi.md#addNigo) | **POST** /cases/{caseId}/nigos | Add New Nigo
Expand Down Expand Up @@ -290,6 +291,7 @@ Class | Method | HTTP request | Description
*ESignatureApi* | [**setEsignatureDocusignConfig**](docs/ESignatureApi.md#setEsignatureDocusignConfig) | **PUT** /esignature/docusign/config | Set E-signature config
*ExamineObjectsApi* | [**getExaminePdf**](docs/ExamineObjectsApi.md#getExaminePdf) | **GET** /objects/examine/{id}/pdf | Add Examine Pdf
*ExamineObjectsApi* | [**getExaminePdfUrl**](docs/ExamineObjectsApi.md#getExaminePdfUrl) | **GET** /objects/examine/pdf | Add Examine Pdf
*GoogleIntegrationApi* | [**addGoogleDocumentExport**](docs/GoogleIntegrationApi.md#addGoogleDocumentExport) | **POST** /integrations/google/drive/documents/{documentId}/export | Add Google Document Export
*MappingsApi* | [**addMapping**](docs/MappingsApi.md#addMapping) | **POST** /mappings | Add New Mapping
*MappingsApi* | [**deleteMapping**](docs/MappingsApi.md#deleteMapping) | **DELETE** /mappings/{mappingId} | Delete Mapping
*MappingsApi* | [**getMapping**](docs/MappingsApi.md#getMapping) | **GET** /mappings/{mappingId} | Get Mapping
Expand All @@ -313,8 +315,10 @@ Class | Method | HTTP request | Description
*SchemasApi* | [**addClassification**](docs/SchemasApi.md#addClassification) | **POST** /sites/{siteId}/classifications | Add Classification
*SchemasApi* | [**deleteClassification**](docs/SchemasApi.md#deleteClassification) | **DELETE** /sites/{siteId}/classifications/{classificationId} | Delete Classification
*SchemasApi* | [**getClassification**](docs/SchemasApi.md#getClassification) | **GET** /sites/{siteId}/classifications/{classificationId} | Get Classification
*SchemasApi* | [**getClassificationAttributeAllowedValues**](docs/SchemasApi.md#getClassificationAttributeAllowedValues) | **GET** /sites/{siteId}/classifications/{classificationId}/attributes/{key}/allowedValues | Get Classification's Attribute Allowed Values
*SchemasApi* | [**getSitesClassifications**](docs/SchemasApi.md#getSitesClassifications) | **GET** /sites/{siteId}/classifications | Get Sites Classifications
*SchemasApi* | [**getSitesSchema**](docs/SchemasApi.md#getSitesSchema) | **GET** /sites/{siteId}/schema/document | Get Sites Schema
*SchemasApi* | [**getSitesSchemaAttributeAllowedValues**](docs/SchemasApi.md#getSitesSchemaAttributeAllowedValues) | **GET** /sites/{siteId}/schema/document/attributes/{key}/allowedValues | Get Attribute Allowed Values
*SchemasApi* | [**setClassification**](docs/SchemasApi.md#setClassification) | **PUT** /sites/{siteId}/classifications/{classificationId} | Set Classification
*SchemasApi* | [**setSitesSchema**](docs/SchemasApi.md#setSitesSchema) | **PUT** /sites/{siteId}/schema/document | Set Sites Schema
*SystemManagementApi* | [**addApiKey**](docs/SystemManagementApi.md#addApiKey) | **POST** /sites/{siteId}/apiKeys | Add API Key
Expand Down Expand Up @@ -402,6 +406,8 @@ Class | Method | HTTP request | Description
- [AddFolderResponse](docs/AddFolderResponse.md)
- [AddFolderShareRequest](docs/AddFolderShareRequest.md)
- [AddFolderShareResponse](docs/AddFolderShareResponse.md)
- [AddGoogleDocumentExportRequest](docs/AddGoogleDocumentExportRequest.md)
- [AddGoogleDocumentExportResponse](docs/AddGoogleDocumentExportResponse.md)
- [AddGroup](docs/AddGroup.md)
- [AddGroupRequest](docs/AddGroupRequest.md)
- [AddMapping](docs/AddMapping.md)
Expand Down Expand Up @@ -504,6 +510,7 @@ Class | Method | HTTP request | Description
- [FulltextAttribute](docs/FulltextAttribute.md)
- [FulltextSearchItem](docs/FulltextSearchItem.md)
- [GetApiKeysResponse](docs/GetApiKeysResponse.md)
- [GetAttributeAllowedValuesResponse](docs/GetAttributeAllowedValuesResponse.md)
- [GetAttributeResponse](docs/GetAttributeResponse.md)
- [GetAttributesResponse](docs/GetAttributesResponse.md)
- [GetCaseDocumentsResponse](docs/GetCaseDocumentsResponse.md)
Expand Down Expand Up @@ -569,6 +576,8 @@ Class | Method | HTTP request | Description
- [GetWorkflowQueueDocumentsResponse](docs/GetWorkflowQueueDocumentsResponse.md)
- [GetWorkflowResponse](docs/GetWorkflowResponse.md)
- [GetWorkflowsResponse](docs/GetWorkflowsResponse.md)
- [GoogleConfig](docs/GoogleConfig.md)
- [GoogleExportOutputType](docs/GoogleExportOutputType.md)
- [Group](docs/Group.md)
- [IndexFolderMoveRequest](docs/IndexFolderMoveRequest.md)
- [IndexFolderMoveResponse](docs/IndexFolderMoveResponse.md)
Expand All @@ -585,6 +594,7 @@ Class | Method | HTTP request | Description
- [Nigo](docs/Nigo.md)
- [NigoStatus](docs/NigoStatus.md)
- [OcrEngine](docs/OcrEngine.md)
- [OcrKeyValues](docs/OcrKeyValues.md)
- [OcrOutputType](docs/OcrOutputType.md)
- [OnlyOfficeConfig](docs/OnlyOfficeConfig.md)
- [OnlyOfficeConfigDocument](docs/OnlyOfficeConfigDocument.md)
Expand Down
125 changes: 117 additions & 8 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -763,14 +763,6 @@ paths:
requestBody:
content:
application/json:
examples:
Config:
value:
chatGptApiKey: ABC
maxContentLengthBytes: "1000000"
maxDocuments: "1000"
maxWebhooks: "10"
notificationEmail: <email>
schema:
$ref: '#/components/schemas/UpdateConfigurationRequest'
required: true
Expand Down Expand Up @@ -9711,6 +9703,63 @@ paths:
$ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200'
x-accepts:
- application/json
/integrations/google/drive/documents/{documentId}/export:
post:
description: Exports a Google Document; ONLY available with FormKiQ Enterprise
operationId: AddGoogleDocumentExport
parameters:
- description: Site Identifier
explode: true
in: query
name: siteId
required: false
schema:
type: string
style: form
- description: Document Identifier
explode: false
in: path
name: documentId
required: true
schema:
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AddGoogleDocumentExportRequest'
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/AddGoogleDocumentExportResponse'
description: 201 CREATED
headers:
Access-Control-Allow-Origin:
$ref: '#/components/headers/AccessControlAllowOrigin'
Access-Control-Allow-Methods:
$ref: '#/components/headers/AccessControlAllowMethods'
Access-Control-Allow-Headers:
$ref: '#/components/headers/AccessControlAllowHeaders'
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorsResponse'
description: 400 OK
security:
- ApiAuthorization: []
summary: Add Google Document Export
tags:
- Google Integration
x-amazon-apigateway-integration:
$ref: '#/components/x-amazon-apigateway-integrations/googleLambdaApi201'
x-content-type: application/json
x-accepts:
- application/json
components:
headers:
AccessControlAllowOrigin:
Expand Down Expand Up @@ -15177,6 +15226,30 @@ components:
operation:
$ref: '#/components/schemas/RuleConditionOperation'
type: object
GoogleExportOutputType:
description: Google Export Output Type
enum:
- PDF
type: string
AddGoogleDocumentExportRequest:
example:
path: path
outputType: PDF
properties:
path:
description: Path of exported file
type: string
outputType:
$ref: '#/components/schemas/GoogleExportOutputType'
type: object
AddGoogleDocumentExportResponse:
example:
documentId: documentId
properties:
documentId:
description: Exported document identifier
type: string
type: object
GetExaminePdfUrlResponse:
example:
uploadUrl: uploadUrl
Expand Down Expand Up @@ -16518,6 +16591,9 @@ components:
maxContentLengthBytes: maxContentLengthBytes
maxDocuments: maxDocuments
chatGptApiKey: chatGptApiKey
google:
workloadIdentityServiceAccount: workloadIdentityServiceAccount
workloadIdentityAudience: workloadIdentityAudience
maxWebhooks: maxWebhooks
notificationEmail: notificationEmail
properties:
Expand All @@ -16536,6 +16612,8 @@ components:
notificationEmail:
description: Email address to use for notifications
type: string
google:
$ref: '#/components/schemas/GoogleConfig'
type: object
UpdateConfigurationResponse:
example:
Expand Down Expand Up @@ -17144,6 +17222,9 @@ components:
maxContentLengthBytes: maxContentLengthBytes
maxDocuments: maxDocuments
chatGptApiKey: chatGptApiKey
google:
workloadIdentityServiceAccount: workloadIdentityServiceAccount
workloadIdentityAudience: workloadIdentityAudience
maxWebhooks: maxWebhooks
notificationEmail: notificationEmail
properties:
Expand All @@ -17163,6 +17244,20 @@ components:
description: Email address to use for notifications (Must be verified identity
created in AWS SES)
type: string
google:
$ref: '#/components/schemas/GoogleConfig'
type: object
GoogleConfig:
example:
workloadIdentityServiceAccount: workloadIdentityServiceAccount
workloadIdentityAudience: workloadIdentityAudience
properties:
workloadIdentityAudience:
description: Workload Identity Audience
type: string
workloadIdentityServiceAccount:
description: Workload Service Account
type: string
type: object
GetUsersInGroupResponse:
example:
Expand Down Expand Up @@ -19245,6 +19340,20 @@ components:
httpMethod: POST
type: aws_proxy
payloadFormatVersion: "1.0"
googleLambdaApi201:
uri:
Fn::Sub: "arn:${Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${DocumentsApiRequestsArn}/invocations"
responses:
default:
statusCode: "201"
responseParameters:
method.response.header.Access-Control-Allow-Methods: '''*'''
method.response.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key'"
method.response.header.Access-Control-Allow-Origin: '''*'''
passthroughBehavior: when_no_templates
httpMethod: POST
type: aws_proxy
payloadFormatVersion: "1.0"
lambdaApi201:
uri:
Fn::Sub: "arn:${Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${DocumentsApiRequestsArn}/invocations"
Expand Down
14 changes: 14 additions & 0 deletions docs/AddGoogleDocumentExportRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# AddGoogleDocumentExportRequest


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**path** | **String** | Path of exported file | [optional] |
|**outputType** | **GoogleExportOutputType** | | [optional] |



13 changes: 13 additions & 0 deletions docs/AddGoogleDocumentExportResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@


# AddGoogleDocumentExportResponse


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**documentId** | **String** | Exported document identifier | [optional] |



1 change: 1 addition & 0 deletions docs/GetConfigurationResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
|**maxDocuments** | **String** | Set Maximum number of Documents allowed | [optional] |
|**maxWebhooks** | **String** | Set Maximum number of Webhooks allowed | [optional] |
|**notificationEmail** | **String** | Email address to use for notifications (Must be verified identity created in AWS SES) | [optional] |
|**google** | [**GoogleConfig**](GoogleConfig.md) | | [optional] |



14 changes: 14 additions & 0 deletions docs/GoogleConfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@


# GoogleConfig


## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**workloadIdentityAudience** | **String** | Workload Identity Audience | [optional] |
|**workloadIdentityServiceAccount** | **String** | Workload Service Account | [optional] |



11 changes: 11 additions & 0 deletions docs/GoogleExportOutputType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@


# GoogleExportOutputType

## Enum


* `PDF` (value: `"PDF"`)



Loading

0 comments on commit 5da2f01

Please sign in to comment.