diff --git a/.gitignore b/.gitignore index a530464af..263b59caf 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # Mobile Tools for Java (J2ME) .mtj.tmp/ +.DS_Store # Package Files # *.jar diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 813a5e7da..0c4f5871b 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -6,13 +6,14 @@ api/openapi.yaml build.gradle build.sbt docs/AccessControlApi.md +docs/Activity.md +docs/ActivityStatus.md docs/AddAction.md docs/AddActionParameters.md docs/AddApiKeyRequest.md docs/AddApiKeyResponse.md docs/AddAttribute.md docs/AddAttributeRequest.md -docs/AddAttributeResponse.md docs/AddAttributeSchemaOptional.md docs/AddAttributeSchemaRequired.md docs/AddCase.md @@ -28,6 +29,7 @@ docs/AddDocumentActionsResponse.md docs/AddDocumentActionsRetryResponse.md docs/AddDocumentAttribute.md docs/AddDocumentAttributeClassification.md +docs/AddDocumentAttributeEntity.md docs/AddDocumentAttributeRelationship.md docs/AddDocumentAttributeStandard.md docs/AddDocumentAttributeValue.md @@ -55,6 +57,14 @@ docs/AddDocusignEnvelopesRequest.md docs/AddDocusignEnvelopesResponse.md docs/AddDocusignRecipientViewRequest.md docs/AddDocusignRecipientViewResponse.md +docs/AddEntity.md +docs/AddEntityAttribute.md +docs/AddEntityRequest.md +docs/AddEntityResponse.md +docs/AddEntityType.md +docs/AddEntityTypeRequest.md +docs/AddEntityTypeResponse.md +docs/AddFolderPermission.md docs/AddFolderRequest.md docs/AddFolderResponse.md docs/AddFolderShareRequest.md @@ -103,7 +113,6 @@ docs/AddWorkflowStep.md docs/AddWorkflowStepDecision.md docs/AddWorkflowStepQueue.md docs/AdvancedDocumentSearchApi.md -docs/AntivirusApi.md docs/ApiKey.md docs/Attribute.md docs/AttributeDataType.md @@ -120,6 +129,8 @@ docs/ChildDocument.md docs/Classification.md docs/ClassificationSummary.md docs/CustomIndexApi.md +docs/DataClassification.md +docs/DataClassificationAttribute.md docs/DeleteApiKeyResponse.md docs/DeleteCaseDocumentResponse.md docs/DeleteCaseNigoDocumentResponse.md @@ -143,6 +154,7 @@ docs/DocumentActionType.md docs/DocumentActionsApi.md docs/DocumentAttribute.md docs/DocumentAttributesApi.md +docs/DocumentDataClassificationApi.md docs/DocumentFoldersApi.md docs/DocumentFulltextAttribute.md docs/DocumentFulltextAttributeEq.md @@ -196,11 +208,19 @@ docs/DocusignSignHereTabs.md docs/DocusignSigner.md docs/DocusignSigningTabs.md docs/ESignatureApi.md +docs/Entity.md +docs/EntityApi.md +docs/EntityAttribute.md +docs/EntityType.md +docs/EntityTypeNamespace.md docs/Error.md docs/ErrorsResponse.md docs/ExamineObjectsApi.md +docs/FolderPermission.md +docs/FolderPermissionType.md docs/FulltextAttribute.md docs/FulltextSearchItem.md +docs/GetActivitesResponse.md docs/GetApiKeysResponse.md docs/GetAttributeAllowedValuesResponse.md docs/GetAttributeResponse.md @@ -217,9 +237,9 @@ docs/GetClassificationsResponse.md docs/GetConfigurationResponse.md docs/GetDocumentActionsResponse.md docs/GetDocumentAttributeResponse.md -docs/GetDocumentAttributeVersionsResponse.md docs/GetDocumentAttributesResponse.md docs/GetDocumentContentResponse.md +docs/GetDocumentDataClassificationResponse.md docs/GetDocumentFulltextResponse.md docs/GetDocumentOcrResponse.md docs/GetDocumentResponse.md @@ -231,20 +251,29 @@ docs/GetDocumentVersionsResponse.md docs/GetDocumentWorkflowResponse.md docs/GetDocumentWorkflowsResponse.md docs/GetDocumentsResponse.md +docs/GetEntitiesResponse.md +docs/GetEntityResponse.md +docs/GetEntityTypeResponse.md +docs/GetEntityTypesResponse.md docs/GetExaminePdfResponse.md docs/GetExaminePdfUrlResponse.md +docs/GetFolderPermissionsResponse.md docs/GetFoldersResponse.md docs/GetGroupResponse.md docs/GetGroupsResponse.md docs/GetLocaleResourceItemResponse.md docs/GetLocaleResourceItemsResponse.md docs/GetLocalesResponse.md +docs/GetMalwareScanResponse.md docs/GetMappingResponse.md docs/GetMappingsResponse.md docs/GetOpaAccessPoliciesResponse.md docs/GetOpaAccessPolicyItemsResponse.md docs/GetOpaAccessPolicyResponse.md docs/GetOpenSearchIndexResponse.md +docs/GetOpenSearchIndiceResponse.md +docs/GetOpenSearchSnapshotRepositoryResponse.md +docs/GetOpenSearchSnapshotResponse.md docs/GetQueueResponse.md docs/GetQueuesResponse.md docs/GetRuleResponse.md @@ -278,8 +307,12 @@ docs/IndexFolderMoveResponse.md docs/IndexSearch.md docs/IndexSearchRequest.md docs/IndexSearchResponse.md -docs/Locale.md +docs/LocaleInfo.md docs/LocaleResourceType.md +docs/MalwareEngine.md +docs/MalwareScanApi.md +docs/MalwareScanResult.md +docs/MalwareScanStatus.md docs/Mapping.md docs/MappingAttribute.md docs/MappingAttributeLabelMatchingType.md @@ -301,13 +334,23 @@ docs/OpaPolicyAttribute.md docs/OpaPolicyAttributeEq.md docs/OpaPolicyAttributeGt.md docs/OpaPolicyAttributeGte.md +docs/OpaPolicyAttributeIn.md docs/OpaPolicyAttributeInput.md docs/OpaPolicyAttributeLt.md docs/OpaPolicyAttributeLte.md docs/OpaPolicyAttributeNeq.md +docs/OpaPolicyAttributeNotIn.md +docs/OpaPolicyInput.md +docs/OpaPolicyInputMethod.md +docs/OpaPolicyInputResource.md docs/OpaPolicyItem.md -docs/OpaPolicyItemType.md +docs/OpenSearchAlias.md docs/OpenSearchIndex.md +docs/OpenSearchIndexSetting.md +docs/OpenSearchS3Repository.md +docs/OpenSearchSnapshot.md +docs/OpenSearchSnapshotFailure.md +docs/OpenSearchSnapshotShard.md docs/PdfDocument.md docs/PdfDocumentField.md docs/PublicApi.md @@ -331,10 +374,11 @@ docs/SearchRangeDataType.md docs/SearchResponseFields.md docs/SearchResultDocument.md docs/SearchResultDocumentAttribute.md -docs/SetAntivirusResponse.md docs/SetClassificationRequest.md docs/SetDocumentAttributeRequest.md docs/SetDocumentAttributesRequest.md +docs/SetDocumentDataClassificationRequest.md +docs/SetDocumentDataClassificationResponse.md docs/SetDocumentFulltextRequest.md docs/SetDocumentFulltextResponse.md docs/SetDocumentOcrRequest.md @@ -342,12 +386,14 @@ docs/SetDocumentRestoreResponse.md docs/SetDocumentTagKeyRequest.md docs/SetDocumentVersionRequest.md docs/SetDocumentVersionResponse.md +docs/SetFolderPermissionsRequest.md docs/SetGroupPermissionsRequest.md docs/SetLocaleResourceItemRequest.md docs/SetMappingRequest.md docs/SetOpaAccessPolicyItemsRequest.md docs/SetOpenSearchIndexRequest.md docs/SetOpenSearchIndexResponse.md +docs/SetOpenSearchIndiceRequest.md docs/SetResponse.md docs/SetSchemaAttributes.md docs/SetSitesSchemaRequest.md @@ -365,6 +411,9 @@ docs/SystemManagementApi.md docs/TagIndexApi.md docs/Task.md docs/TaskStatus.md +docs/TextractQuery.md +docs/UpdateAttribute.md +docs/UpdateAttributeRequest.md docs/UpdateCase.md docs/UpdateCaseRequest.md docs/UpdateCaseResponse.md @@ -373,6 +422,7 @@ docs/UpdateConfigurationResponse.md docs/UpdateDocumentFulltextRequest.md docs/UpdateDocumentFulltextResponse.md docs/UpdateDocumentRequest.md +docs/UpdateEntityRequest.md docs/UpdateMatchingDocumentTagsRequest.md docs/UpdateMatchingDocumentTagsRequestMatch.md docs/UpdateMatchingDocumentTagsRequestUpdate.md @@ -431,12 +481,12 @@ settings.gradle src/main/AndroidManifest.xml src/main/java/com/formkiq/client/api/AccessControlApi.java src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java -src/main/java/com/formkiq/client/api/AntivirusApi.java src/main/java/com/formkiq/client/api/AttributesApi.java src/main/java/com/formkiq/client/api/CaseManagementApi.java src/main/java/com/formkiq/client/api/CustomIndexApi.java src/main/java/com/formkiq/client/api/DocumentActionsApi.java src/main/java/com/formkiq/client/api/DocumentAttributesApi.java +src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java src/main/java/com/formkiq/client/api/DocumentFoldersApi.java src/main/java/com/formkiq/client/api/DocumentGenerationApi.java src/main/java/com/formkiq/client/api/DocumentOcrApi.java @@ -447,8 +497,10 @@ src/main/java/com/formkiq/client/api/DocumentVersionsApi.java 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/EntityApi.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/MalwareScanApi.java src/main/java/com/formkiq/client/api/MappingsApi.java src/main/java/com/formkiq/client/api/PublicApi.java src/main/java/com/formkiq/client/api/ReindexApi.java @@ -482,13 +534,14 @@ src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java src/main/java/com/formkiq/client/invoker/auth/OAuthOkHttpClient.java src/main/java/com/formkiq/client/invoker/auth/RetryingOAuth.java src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java +src/main/java/com/formkiq/client/model/Activity.java +src/main/java/com/formkiq/client/model/ActivityStatus.java src/main/java/com/formkiq/client/model/AddAction.java src/main/java/com/formkiq/client/model/AddActionParameters.java src/main/java/com/formkiq/client/model/AddApiKeyRequest.java src/main/java/com/formkiq/client/model/AddApiKeyResponse.java src/main/java/com/formkiq/client/model/AddAttribute.java src/main/java/com/formkiq/client/model/AddAttributeRequest.java -src/main/java/com/formkiq/client/model/AddAttributeResponse.java src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java src/main/java/com/formkiq/client/model/AddCase.java @@ -504,6 +557,7 @@ src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java src/main/java/com/formkiq/client/model/AddDocumentAttribute.java src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java +src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java @@ -531,6 +585,14 @@ src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java +src/main/java/com/formkiq/client/model/AddEntity.java +src/main/java/com/formkiq/client/model/AddEntityAttribute.java +src/main/java/com/formkiq/client/model/AddEntityRequest.java +src/main/java/com/formkiq/client/model/AddEntityResponse.java +src/main/java/com/formkiq/client/model/AddEntityType.java +src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java +src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java +src/main/java/com/formkiq/client/model/AddFolderPermission.java 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 @@ -591,6 +653,8 @@ src/main/java/com/formkiq/client/model/ChecksumType.java src/main/java/com/formkiq/client/model/ChildDocument.java src/main/java/com/formkiq/client/model/Classification.java src/main/java/com/formkiq/client/model/ClassificationSummary.java +src/main/java/com/formkiq/client/model/DataClassification.java +src/main/java/com/formkiq/client/model/DataClassificationAttribute.java src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java @@ -655,10 +719,17 @@ src/main/java/com/formkiq/client/model/DocusignRecipientView.java src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java src/main/java/com/formkiq/client/model/DocusignSigner.java src/main/java/com/formkiq/client/model/DocusignSigningTabs.java +src/main/java/com/formkiq/client/model/Entity.java +src/main/java/com/formkiq/client/model/EntityAttribute.java +src/main/java/com/formkiq/client/model/EntityType.java +src/main/java/com/formkiq/client/model/EntityTypeNamespace.java src/main/java/com/formkiq/client/model/Error.java src/main/java/com/formkiq/client/model/ErrorsResponse.java +src/main/java/com/formkiq/client/model/FolderPermission.java +src/main/java/com/formkiq/client/model/FolderPermissionType.java src/main/java/com/formkiq/client/model/FulltextAttribute.java src/main/java/com/formkiq/client/model/FulltextSearchItem.java +src/main/java/com/formkiq/client/model/GetActivitesResponse.java src/main/java/com/formkiq/client/model/GetApiKeysResponse.java src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java src/main/java/com/formkiq/client/model/GetAttributeResponse.java @@ -675,9 +746,9 @@ src/main/java/com/formkiq/client/model/GetClassificationsResponse.java src/main/java/com/formkiq/client/model/GetConfigurationResponse.java src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java -src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java +src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java src/main/java/com/formkiq/client/model/GetDocumentResponse.java @@ -689,20 +760,29 @@ src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java src/main/java/com/formkiq/client/model/GetDocumentsResponse.java +src/main/java/com/formkiq/client/model/GetEntitiesResponse.java +src/main/java/com/formkiq/client/model/GetEntityResponse.java +src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java +src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java +src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java src/main/java/com/formkiq/client/model/GetFoldersResponse.java src/main/java/com/formkiq/client/model/GetGroupResponse.java src/main/java/com/formkiq/client/model/GetGroupsResponse.java src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java src/main/java/com/formkiq/client/model/GetLocalesResponse.java +src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java src/main/java/com/formkiq/client/model/GetMappingResponse.java src/main/java/com/formkiq/client/model/GetMappingsResponse.java src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java +src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java +src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java +src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java src/main/java/com/formkiq/client/model/GetQueueResponse.java src/main/java/com/formkiq/client/model/GetQueuesResponse.java src/main/java/com/formkiq/client/model/GetRuleResponse.java @@ -735,8 +815,11 @@ src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java src/main/java/com/formkiq/client/model/IndexSearch.java src/main/java/com/formkiq/client/model/IndexSearchRequest.java src/main/java/com/formkiq/client/model/IndexSearchResponse.java -src/main/java/com/formkiq/client/model/Locale.java +src/main/java/com/formkiq/client/model/LocaleInfo.java src/main/java/com/formkiq/client/model/LocaleResourceType.java +src/main/java/com/formkiq/client/model/MalwareEngine.java +src/main/java/com/formkiq/client/model/MalwareScanResult.java +src/main/java/com/formkiq/client/model/MalwareScanStatus.java src/main/java/com/formkiq/client/model/Mapping.java src/main/java/com/formkiq/client/model/MappingAttribute.java src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java @@ -757,13 +840,23 @@ src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java +src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java +src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java +src/main/java/com/formkiq/client/model/OpaPolicyInput.java +src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java +src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java src/main/java/com/formkiq/client/model/OpaPolicyItem.java -src/main/java/com/formkiq/client/model/OpaPolicyItemType.java +src/main/java/com/formkiq/client/model/OpenSearchAlias.java src/main/java/com/formkiq/client/model/OpenSearchIndex.java +src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java +src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java +src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java +src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java +src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java src/main/java/com/formkiq/client/model/PdfDocument.java src/main/java/com/formkiq/client/model/PdfDocumentField.java src/main/java/com/formkiq/client/model/QueryFulltextResponse.java @@ -783,10 +876,11 @@ src/main/java/com/formkiq/client/model/SearchRangeDataType.java src/main/java/com/formkiq/client/model/SearchResponseFields.java src/main/java/com/formkiq/client/model/SearchResultDocument.java src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java -src/main/java/com/formkiq/client/model/SetAntivirusResponse.java src/main/java/com/formkiq/client/model/SetClassificationRequest.java src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java +src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java +src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java @@ -794,12 +888,14 @@ src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java +src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java src/main/java/com/formkiq/client/model/SetMappingRequest.java src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java +src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java src/main/java/com/formkiq/client/model/SetResponse.java src/main/java/com/formkiq/client/model/SetSchemaAttributes.java src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java @@ -815,6 +911,9 @@ src/main/java/com/formkiq/client/model/StringFormat.java src/main/java/com/formkiq/client/model/StringGeneratorType.java src/main/java/com/formkiq/client/model/Task.java src/main/java/com/formkiq/client/model/TaskStatus.java +src/main/java/com/formkiq/client/model/TextractQuery.java +src/main/java/com/formkiq/client/model/UpdateAttribute.java +src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java src/main/java/com/formkiq/client/model/UpdateCase.java src/main/java/com/formkiq/client/model/UpdateCaseRequest.java src/main/java/com/formkiq/client/model/UpdateCaseResponse.java @@ -823,6 +922,7 @@ src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java +src/main/java/com/formkiq/client/model/UpdateEntityRequest.java src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java @@ -869,12 +969,12 @@ src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java src/main/java/com/formkiq/client/model/WorkflowSummary.java src/test/java/com/formkiq/client/api/AccessControlApiTest.java src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java -src/test/java/com/formkiq/client/api/AntivirusApiTest.java src/test/java/com/formkiq/client/api/AttributesApiTest.java src/test/java/com/formkiq/client/api/CaseManagementApiTest.java src/test/java/com/formkiq/client/api/CustomIndexApiTest.java src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java +src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java src/test/java/com/formkiq/client/api/DocumentFoldersApiTest.java src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java @@ -885,8 +985,10 @@ src/test/java/com/formkiq/client/api/DocumentVersionsApiTest.java 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/EntityApiTest.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/MalwareScanApiTest.java src/test/java/com/formkiq/client/api/MappingsApiTest.java src/test/java/com/formkiq/client/api/PublicApiTest.java src/test/java/com/formkiq/client/api/ReindexApiTest.java @@ -897,12 +999,13 @@ src/test/java/com/formkiq/client/api/TagIndexApiTest.java src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java src/test/java/com/formkiq/client/api/UserManagementApiTest.java src/test/java/com/formkiq/client/api/WebhooksApiTest.java +src/test/java/com/formkiq/client/model/ActivityStatusTest.java +src/test/java/com/formkiq/client/model/ActivityTest.java src/test/java/com/formkiq/client/model/AddActionParametersTest.java src/test/java/com/formkiq/client/model/AddActionTest.java src/test/java/com/formkiq/client/model/AddApiKeyRequestTest.java src/test/java/com/formkiq/client/model/AddApiKeyResponseTest.java src/test/java/com/formkiq/client/model/AddAttributeRequestTest.java -src/test/java/com/formkiq/client/model/AddAttributeResponseTest.java src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java src/test/java/com/formkiq/client/model/AddAttributeTest.java @@ -918,6 +1021,7 @@ src/test/java/com/formkiq/client/model/AddDocumentActionsRequestTest.java src/test/java/com/formkiq/client/model/AddDocumentActionsResponseTest.java src/test/java/com/formkiq/client/model/AddDocumentActionsRetryResponseTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributeClassificationTest.java +src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributeRelationshipTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributeStandardTest.java src/test/java/com/formkiq/client/model/AddDocumentAttributeTest.java @@ -946,6 +1050,14 @@ src/test/java/com/formkiq/client/model/AddDocusignEnvelopesRequestTest.java src/test/java/com/formkiq/client/model/AddDocusignEnvelopesResponseTest.java src/test/java/com/formkiq/client/model/AddDocusignRecipientViewRequestTest.java src/test/java/com/formkiq/client/model/AddDocusignRecipientViewResponseTest.java +src/test/java/com/formkiq/client/model/AddEntityAttributeTest.java +src/test/java/com/formkiq/client/model/AddEntityRequestTest.java +src/test/java/com/formkiq/client/model/AddEntityResponseTest.java +src/test/java/com/formkiq/client/model/AddEntityTest.java +src/test/java/com/formkiq/client/model/AddEntityTypeRequestTest.java +src/test/java/com/formkiq/client/model/AddEntityTypeResponseTest.java +src/test/java/com/formkiq/client/model/AddEntityTypeTest.java +src/test/java/com/formkiq/client/model/AddFolderPermissionTest.java 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 @@ -1006,6 +1118,8 @@ src/test/java/com/formkiq/client/model/ChecksumTypeTest.java src/test/java/com/formkiq/client/model/ChildDocumentTest.java src/test/java/com/formkiq/client/model/ClassificationSummaryTest.java src/test/java/com/formkiq/client/model/ClassificationTest.java +src/test/java/com/formkiq/client/model/DataClassificationAttributeTest.java +src/test/java/com/formkiq/client/model/DataClassificationTest.java src/test/java/com/formkiq/client/model/DeleteApiKeyResponseTest.java src/test/java/com/formkiq/client/model/DeleteCaseDocumentResponseTest.java src/test/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponseTest.java @@ -1070,10 +1184,17 @@ src/test/java/com/formkiq/client/model/DocusignRecipientViewTest.java src/test/java/com/formkiq/client/model/DocusignSignHereTabsTest.java src/test/java/com/formkiq/client/model/DocusignSignerTest.java src/test/java/com/formkiq/client/model/DocusignSigningTabsTest.java +src/test/java/com/formkiq/client/model/EntityAttributeTest.java +src/test/java/com/formkiq/client/model/EntityTest.java +src/test/java/com/formkiq/client/model/EntityTypeNamespaceTest.java +src/test/java/com/formkiq/client/model/EntityTypeTest.java src/test/java/com/formkiq/client/model/ErrorTest.java src/test/java/com/formkiq/client/model/ErrorsResponseTest.java +src/test/java/com/formkiq/client/model/FolderPermissionTest.java +src/test/java/com/formkiq/client/model/FolderPermissionTypeTest.java src/test/java/com/formkiq/client/model/FulltextAttributeTest.java src/test/java/com/formkiq/client/model/FulltextSearchItemTest.java +src/test/java/com/formkiq/client/model/GetActivitesResponseTest.java src/test/java/com/formkiq/client/model/GetApiKeysResponseTest.java src/test/java/com/formkiq/client/model/GetAttributeAllowedValuesResponseTest.java src/test/java/com/formkiq/client/model/GetAttributeResponseTest.java @@ -1090,9 +1211,9 @@ src/test/java/com/formkiq/client/model/GetClassificationsResponseTest.java src/test/java/com/formkiq/client/model/GetConfigurationResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentActionsResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentAttributeResponseTest.java -src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentAttributesResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentContentResponseTest.java +src/test/java/com/formkiq/client/model/GetDocumentDataClassificationResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentFulltextResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java @@ -1104,20 +1225,29 @@ src/test/java/com/formkiq/client/model/GetDocumentVersionsResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentWorkflowResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentWorkflowsResponseTest.java src/test/java/com/formkiq/client/model/GetDocumentsResponseTest.java +src/test/java/com/formkiq/client/model/GetEntitiesResponseTest.java +src/test/java/com/formkiq/client/model/GetEntityResponseTest.java +src/test/java/com/formkiq/client/model/GetEntityTypeResponseTest.java +src/test/java/com/formkiq/client/model/GetEntityTypesResponseTest.java src/test/java/com/formkiq/client/model/GetExaminePdfResponseTest.java src/test/java/com/formkiq/client/model/GetExaminePdfUrlResponseTest.java +src/test/java/com/formkiq/client/model/GetFolderPermissionsResponseTest.java src/test/java/com/formkiq/client/model/GetFoldersResponseTest.java src/test/java/com/formkiq/client/model/GetGroupResponseTest.java src/test/java/com/formkiq/client/model/GetGroupsResponseTest.java src/test/java/com/formkiq/client/model/GetLocaleResourceItemResponseTest.java src/test/java/com/formkiq/client/model/GetLocaleResourceItemsResponseTest.java src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java +src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java src/test/java/com/formkiq/client/model/GetMappingResponseTest.java src/test/java/com/formkiq/client/model/GetMappingsResponseTest.java src/test/java/com/formkiq/client/model/GetOpaAccessPoliciesResponseTest.java src/test/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponseTest.java src/test/java/com/formkiq/client/model/GetOpaAccessPolicyResponseTest.java src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java +src/test/java/com/formkiq/client/model/GetOpenSearchIndiceResponseTest.java +src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponseTest.java +src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotResponseTest.java src/test/java/com/formkiq/client/model/GetQueueResponseTest.java src/test/java/com/formkiq/client/model/GetQueuesResponseTest.java src/test/java/com/formkiq/client/model/GetRuleResponseTest.java @@ -1150,8 +1280,11 @@ src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java src/test/java/com/formkiq/client/model/IndexSearchRequestTest.java src/test/java/com/formkiq/client/model/IndexSearchResponseTest.java src/test/java/com/formkiq/client/model/IndexSearchTest.java +src/test/java/com/formkiq/client/model/LocaleInfoTest.java src/test/java/com/formkiq/client/model/LocaleResourceTypeTest.java -src/test/java/com/formkiq/client/model/LocaleTest.java +src/test/java/com/formkiq/client/model/MalwareEngineTest.java +src/test/java/com/formkiq/client/model/MalwareScanResultTest.java +src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java src/test/java/com/formkiq/client/model/MappingAttributeLabelMatchingTypeTest.java src/test/java/com/formkiq/client/model/MappingAttributeMetadataFieldTest.java src/test/java/com/formkiq/client/model/MappingAttributeSourceTypeTest.java @@ -1170,15 +1303,25 @@ src/test/java/com/formkiq/client/model/OcrTableTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeEqTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeGtTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeGteTest.java +src/test/java/com/formkiq/client/model/OpaPolicyAttributeInTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeInputTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeLtTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeLteTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeNeqTest.java +src/test/java/com/formkiq/client/model/OpaPolicyAttributeNotInTest.java src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java +src/test/java/com/formkiq/client/model/OpaPolicyInputMethodTest.java +src/test/java/com/formkiq/client/model/OpaPolicyInputResourceTest.java +src/test/java/com/formkiq/client/model/OpaPolicyInputTest.java src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java -src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java src/test/java/com/formkiq/client/model/OpaPolicyTest.java +src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java +src/test/java/com/formkiq/client/model/OpenSearchIndexSettingTest.java src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java +src/test/java/com/formkiq/client/model/OpenSearchS3RepositoryTest.java +src/test/java/com/formkiq/client/model/OpenSearchSnapshotFailureTest.java +src/test/java/com/formkiq/client/model/OpenSearchSnapshotShardTest.java +src/test/java/com/formkiq/client/model/OpenSearchSnapshotTest.java src/test/java/com/formkiq/client/model/PdfDocumentFieldTest.java src/test/java/com/formkiq/client/model/PdfDocumentTest.java src/test/java/com/formkiq/client/model/QueryFulltextResponseTest.java @@ -1198,10 +1341,11 @@ src/test/java/com/formkiq/client/model/SearchRangeDataTypeTest.java src/test/java/com/formkiq/client/model/SearchResponseFieldsTest.java src/test/java/com/formkiq/client/model/SearchResultDocumentAttributeTest.java src/test/java/com/formkiq/client/model/SearchResultDocumentTest.java -src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java src/test/java/com/formkiq/client/model/SetClassificationRequestTest.java src/test/java/com/formkiq/client/model/SetDocumentAttributeRequestTest.java src/test/java/com/formkiq/client/model/SetDocumentAttributesRequestTest.java +src/test/java/com/formkiq/client/model/SetDocumentDataClassificationRequestTest.java +src/test/java/com/formkiq/client/model/SetDocumentDataClassificationResponseTest.java src/test/java/com/formkiq/client/model/SetDocumentFulltextRequestTest.java src/test/java/com/formkiq/client/model/SetDocumentFulltextResponseTest.java src/test/java/com/formkiq/client/model/SetDocumentOcrRequestTest.java @@ -1209,12 +1353,14 @@ src/test/java/com/formkiq/client/model/SetDocumentRestoreResponseTest.java src/test/java/com/formkiq/client/model/SetDocumentTagKeyRequestTest.java src/test/java/com/formkiq/client/model/SetDocumentVersionRequestTest.java src/test/java/com/formkiq/client/model/SetDocumentVersionResponseTest.java +src/test/java/com/formkiq/client/model/SetFolderPermissionsRequestTest.java src/test/java/com/formkiq/client/model/SetGroupPermissionsRequestTest.java src/test/java/com/formkiq/client/model/SetLocaleResourceItemRequestTest.java src/test/java/com/formkiq/client/model/SetMappingRequestTest.java src/test/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequestTest.java src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java src/test/java/com/formkiq/client/model/SetOpenSearchIndexResponseTest.java +src/test/java/com/formkiq/client/model/SetOpenSearchIndiceRequestTest.java src/test/java/com/formkiq/client/model/SetResponseTest.java src/test/java/com/formkiq/client/model/SetSchemaAttributesTest.java src/test/java/com/formkiq/client/model/SetSitesSchemaRequestTest.java @@ -1230,6 +1376,9 @@ src/test/java/com/formkiq/client/model/StringFormatTest.java src/test/java/com/formkiq/client/model/StringGeneratorTypeTest.java src/test/java/com/formkiq/client/model/TaskStatusTest.java src/test/java/com/formkiq/client/model/TaskTest.java +src/test/java/com/formkiq/client/model/TextractQueryTest.java +src/test/java/com/formkiq/client/model/UpdateAttributeRequestTest.java +src/test/java/com/formkiq/client/model/UpdateAttributeTest.java src/test/java/com/formkiq/client/model/UpdateCaseRequestTest.java src/test/java/com/formkiq/client/model/UpdateCaseResponseTest.java src/test/java/com/formkiq/client/model/UpdateCaseTest.java @@ -1238,6 +1387,7 @@ src/test/java/com/formkiq/client/model/UpdateConfigurationResponseTest.java src/test/java/com/formkiq/client/model/UpdateDocumentFulltextRequestTest.java src/test/java/com/formkiq/client/model/UpdateDocumentFulltextResponseTest.java src/test/java/com/formkiq/client/model/UpdateDocumentRequestTest.java +src/test/java/com/formkiq/client/model/UpdateEntityRequestTest.java src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatchTest.java src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestTest.java src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdateTest.java diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index eb1dc6a51..6328c5424 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.13.0 +7.17.0 diff --git a/README.md b/README.md index c2c70d1cb..2174dedc3 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,10 @@ This is the official supported Java library for the FormKiQ API. FormKiQ HTTP API -- API version: 1.17.0 - - Build date: 2025-03-12T17:17:25.165880-05:00[America/Winnipeg] - - Generator version: 7.12.0 + +- API version: 1.18.0 + - Build date: 2025-11-01T15:09:25.429667-05:00[America/Winnipeg] + - Generator version: 7.17.0 Formkiq API: Document Management Platform API using OAuth(JWT) Authentication @@ -63,7 +64,7 @@ Add this dependency to your project's POM: com.formkiq client - 1.17.1 + 1.18.0 compile ``` @@ -79,7 +80,7 @@ Add this dependency to your project's build file: } dependencies { - implementation "com.formkiq:client:1.17.1" + implementation "com.formkiq:client:1.18.0" } ``` @@ -93,7 +94,7 @@ mvn clean package Then manually install the following JARs: -* `target/client-1.17.1.jar` +* `target/client-1.18.0.jar` * `target/lib/*.jar` ## Getting Started @@ -190,12 +191,12 @@ Class | Method | HTTP request | Description *AdvancedDocumentSearchApi* | [**searchFulltext**](docs/AdvancedDocumentSearchApi.md#searchFulltext) | **POST** /searchFulltext | Document full-text search *AdvancedDocumentSearchApi* | [**setDocumentFulltext**](docs/AdvancedDocumentSearchApi.md#setDocumentFulltext) | **PUT** /documents/{documentId}/fulltext | Set document's full-text *AdvancedDocumentSearchApi* | [**updateDocumentFulltext**](docs/AdvancedDocumentSearchApi.md#updateDocumentFulltext) | **PATCH** /documents/{documentId}/fulltext | Update document's full-text -*AntivirusApi* | [**setAntivirus**](docs/AntivirusApi.md#setAntivirus) | **PUT** /documents/{documentId}/antivirus | Antivirus document scan *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 +*AttributesApi* | [**updateAttribute**](docs/AttributesApi.md#updateAttribute) | **PATCH** /attributes/{key} | Update existing attribute *CaseManagementApi* | [**addCase**](docs/CaseManagementApi.md#addCase) | **POST** /cases | Add New Case *CaseManagementApi* | [**addNigo**](docs/CaseManagementApi.md#addNigo) | **POST** /cases/{caseId}/nigos | Add New Nigo *CaseManagementApi* | [**addTask**](docs/CaseManagementApi.md#addTask) | **POST** /cases/{caseId}/tasks | Add New Task @@ -227,13 +228,16 @@ Class | Method | HTTP request | Description *DocumentAttributesApi* | [**deleteDocumentAttribute**](docs/DocumentAttributesApi.md#deleteDocumentAttribute) | **DELETE** /documents/{documentId}/attributes/{attributeKey} | Delete document attribute *DocumentAttributesApi* | [**deleteDocumentAttributeAndValue**](docs/DocumentAttributesApi.md#deleteDocumentAttributeAndValue) | **DELETE** /documents/{documentId}/attributes/{attributeKey}/{attributeValue} | Delete document's attribute value *DocumentAttributesApi* | [**getDocumentAttribute**](docs/DocumentAttributesApi.md#getDocumentAttribute) | **GET** /documents/{documentId}/attributes/{attributeKey} | Get document attribute by key -*DocumentAttributesApi* | [**getDocumentAttributeVersions**](docs/DocumentAttributesApi.md#getDocumentAttributeVersions) | **GET** /documents/{documentId}/attributes/{attributeKey}/versions | Get document attribute's versions *DocumentAttributesApi* | [**getDocumentAttributes**](docs/DocumentAttributesApi.md#getDocumentAttributes) | **GET** /documents/{documentId}/attributes | Get document's attributes *DocumentAttributesApi* | [**setDocumentAttributeValue**](docs/DocumentAttributesApi.md#setDocumentAttributeValue) | **PUT** /documents/{documentId}/attributes/{attributeKey} | Set document's attributes value *DocumentAttributesApi* | [**setDocumentAttributes**](docs/DocumentAttributesApi.md#setDocumentAttributes) | **PUT** /documents/{documentId}/attributes | Set document's attributes +*DocumentDataClassificationApi* | [**getDocumentDataClassification**](docs/DocumentDataClassificationApi.md#getDocumentDataClassification) | **GET** /documents/{documentId}/dataClassification | Get document's data classification +*DocumentDataClassificationApi* | [**setDocumentDataClassification**](docs/DocumentDataClassificationApi.md#setDocumentDataClassification) | **PUT** /documents/{documentId}/dataClassification | Set document's data classification *DocumentFoldersApi* | [**addFolder**](docs/DocumentFoldersApi.md#addFolder) | **POST** /folders | Add document folder *DocumentFoldersApi* | [**deleteFolder**](docs/DocumentFoldersApi.md#deleteFolder) | **DELETE** /folders/{indexKey} | Delete document folder *DocumentFoldersApi* | [**getFolderDocuments**](docs/DocumentFoldersApi.md#getFolderDocuments) | **GET** /folders | Get document folders +*DocumentFoldersApi* | [**getFolderPermissions**](docs/DocumentFoldersApi.md#getFolderPermissions) | **GET** /folders/{indexKey}/permissions | Get folder permissions +*DocumentFoldersApi* | [**setFolderPermissions**](docs/DocumentFoldersApi.md#setFolderPermissions) | **PUT** /folders/permissions | Sets Folder Permissions *DocumentGenerationApi* | [**addDocumentGenerate**](docs/DocumentGenerationApi.md#addDocumentGenerate) | **POST** /documents/{documentId}/generate | Add Document Generate *DocumentOcrApi* | [**addDocumentOcr**](docs/DocumentOcrApi.md#addDocumentOcr) | **POST** /documents/{documentId}/ocr | Perform document ocr *DocumentOcrApi* | [**deleteDocumentOcr**](docs/DocumentOcrApi.md#deleteDocumentOcr) | **DELETE** /documents/{documentId}/ocr | Delete document ocr @@ -276,6 +280,7 @@ Class | Method | HTTP request | Description *DocumentsApi* | [**addDocumentUpload**](docs/DocumentsApi.md#addDocumentUpload) | **POST** /documents/upload | Add large document *DocumentsApi* | [**compressDocuments**](docs/DocumentsApi.md#compressDocuments) | **POST** /documents/compress | Compress multiple documents into a .zip file *DocumentsApi* | [**deleteDocument**](docs/DocumentsApi.md#deleteDocument) | **DELETE** /documents/{documentId} | Delete document +*DocumentsApi* | [**deleteDocumentCheckoutLegalHold**](docs/DocumentsApi.md#deleteDocumentCheckoutLegalHold) | **DELETE** /documents/{documentId}/legalHold | Delete document legal hold checkout *DocumentsApi* | [**deletePublishedDocumentContent**](docs/DocumentsApi.md#deletePublishedDocumentContent) | **DELETE** /publications/{documentId} | Delete published document's contents *DocumentsApi* | [**getDocument**](docs/DocumentsApi.md#getDocument) | **GET** /documents/{documentId} | Get document *DocumentsApi* | [**getDocumentContent**](docs/DocumentsApi.md#getDocumentContent) | **GET** /documents/{documentId}/content | Get document's contents @@ -286,14 +291,28 @@ Class | Method | HTTP request | Description *DocumentsApi* | [**getDocuments**](docs/DocumentsApi.md#getDocuments) | **GET** /documents | Get Documents listing *DocumentsApi* | [**getPublishedDocumentContent**](docs/DocumentsApi.md#getPublishedDocumentContent) | **GET** /publications/{documentId} | Get published document's contents *DocumentsApi* | [**purgeDocument**](docs/DocumentsApi.md#purgeDocument) | **DELETE** /documents/{documentId}/purge | Purge document +*DocumentsApi* | [**setDocumentCheckout**](docs/DocumentsApi.md#setDocumentCheckout) | **PUT** /documents/{documentId}/checkout | Perform document checkout +*DocumentsApi* | [**setDocumentCheckoutLegalHold**](docs/DocumentsApi.md#setDocumentCheckoutLegalHold) | **PUT** /documents/{documentId}/legalHold | Perform document legal hold checkout *DocumentsApi* | [**setDocumentRestore**](docs/DocumentsApi.md#setDocumentRestore) | **PUT** /documents/{documentId}/restore | Restore soft deleted document *DocumentsApi* | [**updateDocument**](docs/DocumentsApi.md#updateDocument) | **PATCH** /documents/{documentId} | Update document *ESignatureApi* | [**addDocusignEnvelopes**](docs/ESignatureApi.md#addDocusignEnvelopes) | **POST** /esignature/docusign/{documentId}/envelopes | Create Docusign Envelope request *ESignatureApi* | [**addDocusignRecipientView**](docs/ESignatureApi.md#addDocusignRecipientView) | **POST** /esignature/docusign/{documentId}/envelopes/{envelopeId}/views/recipient | Create Docusign Recipient View request *ESignatureApi* | [**addEsignatureDocusignEvents**](docs/ESignatureApi.md#addEsignatureDocusignEvents) | **POST** /esignature/docusign/events | Add E-signature event +*EntityApi* | [**addEntity**](docs/EntityApi.md#addEntity) | **POST** /entities/{entityTypeId} | Add New Entity +*EntityApi* | [**addEntityType**](docs/EntityApi.md#addEntityType) | **POST** /entityTypes | Add New EntityType +*EntityApi* | [**deleteEntity**](docs/EntityApi.md#deleteEntity) | **DELETE** /entities/{entityTypeId}/{entityId} | Deletes Entity +*EntityApi* | [**deleteEntityType**](docs/EntityApi.md#deleteEntityType) | **DELETE** /entityTypes/{entityTypeId} | Deletes Entity Type +*EntityApi* | [**getEntities**](docs/EntityApi.md#getEntities) | **GET** /entities/{entityTypeId} | Get Entities +*EntityApi* | [**getEntity**](docs/EntityApi.md#getEntity) | **GET** /entities/{entityTypeId}/{entityId} | Get Entity +*EntityApi* | [**getEntityType**](docs/EntityApi.md#getEntityType) | **GET** /entityTypes/{entityTypeId} | Get EntityType +*EntityApi* | [**getEntityTypes**](docs/EntityApi.md#getEntityTypes) | **GET** /entityTypes | Get EntityTypes +*EntityApi* | [**updateEntity**](docs/EntityApi.md#updateEntity) | **PATCH** /entities/{entityTypeId}/{entityId} | Update Entity *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 +*MalwareScanApi* | [**getMalwareScanResults**](docs/MalwareScanApi.md#getMalwareScanResults) | **GET** /documents/{documentId}/malwareScan | Get Malware Scan results +*MalwareScanApi* | [**setAntivirus**](docs/MalwareScanApi.md#setAntivirus) | **PUT** /documents/{documentId}/antivirus | Antivirus document scan +*MalwareScanApi* | [**setMalwareScan**](docs/MalwareScanApi.md#setMalwareScan) | **PUT** /documents/{documentId}/malwareScan | MalwareScan document scan *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 @@ -324,29 +343,43 @@ Class | Method | HTTP request | Description *SystemManagementApi* | [**addApiKey**](docs/SystemManagementApi.md#addApiKey) | **POST** /sites/{siteId}/apiKeys | Add API Key *SystemManagementApi* | [**addLocale**](docs/SystemManagementApi.md#addLocale) | **POST** /sites/{siteId}/locales | Add Locale *SystemManagementApi* | [**addLocaleResourceItem**](docs/SystemManagementApi.md#addLocaleResourceItem) | **POST** /sites/{siteId}/locales/{locale}/resourceItems | Add Locale Resource Item +*SystemManagementApi* | [**addOpenSearchRestoreSnapshot**](docs/SystemManagementApi.md#addOpenSearchRestoreSnapshot) | **POST** /sites/{siteId}/opensearch/snapshots/{snapshotName}/restore | Add an OpenSearch Restore Snapshot +*SystemManagementApi* | [**addOpenSearchSnapshot**](docs/SystemManagementApi.md#addOpenSearchSnapshot) | **POST** /sites/{siteId}/opensearch/snapshots/{snapshotName} | Add an OpenSearch Snapshot *SystemManagementApi* | [**addSite**](docs/SystemManagementApi.md#addSite) | **POST** /sites | Add Site *SystemManagementApi* | [**deleteApiKey**](docs/SystemManagementApi.md#deleteApiKey) | **DELETE** /sites/{siteId}/apiKeys/{apiKey} | Delete API Key *SystemManagementApi* | [**deleteLocale**](docs/SystemManagementApi.md#deleteLocale) | **DELETE** /sites/{siteId}/locales/{locale} | Delete Locale *SystemManagementApi* | [**deleteLocaleResourceItem**](docs/SystemManagementApi.md#deleteLocaleResourceItem) | **DELETE** /sites/{siteId}/locales/{locale}/resourceItems/{itemKey} | Delete Local Resource Item -*SystemManagementApi* | [**deleteOpensearchIndex**](docs/SystemManagementApi.md#deleteOpensearchIndex) | **DELETE** /sites/{siteId}/opensearch/index | Deletes site(s) OpenSearch index +*SystemManagementApi* | [**deleteOpenSearchIndex**](docs/SystemManagementApi.md#deleteOpenSearchIndex) | **DELETE** /sites/{siteId}/opensearch/index | Deletes site(s) OpenSearch index +*SystemManagementApi* | [**deleteOpenSearchIndexByName**](docs/SystemManagementApi.md#deleteOpenSearchIndexByName) | **DELETE** /sites/global/opensearch/indices/{indexName} | Deletes OpenSearch index by name +*SystemManagementApi* | [**deleteOpenSearchRestoreSnapshot**](docs/SystemManagementApi.md#deleteOpenSearchRestoreSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshots/{snapshotName}/restore | Deletes site(s) OpenSearch Restore Snapshot +*SystemManagementApi* | [**deleteOpenSearchSnapshot**](docs/SystemManagementApi.md#deleteOpenSearchSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshots/{snapshotName} | Deletes site(s) OpenSearch Snapshot +*SystemManagementApi* | [**deleteOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#deleteOpenSearchSnapshotRepository) | **DELETE** /sites/{siteId}/opensearch/snapshotRepository | Deletes site(s) OpenSearch Snapshot Repository *SystemManagementApi* | [**deleteSiteGroup**](docs/SystemManagementApi.md#deleteSiteGroup) | **DELETE** /sites/{siteId}/groups/{groupName} | Deletes Site Group and permissions +*SystemManagementApi* | [**getAllOpenSearchIndices**](docs/SystemManagementApi.md#getAllOpenSearchIndices) | **GET** /sites/global/opensearch/indices | Get all OpenSearch indices *SystemManagementApi* | [**getApiKeys**](docs/SystemManagementApi.md#getApiKeys) | **GET** /sites/{siteId}/apiKeys | Get API Keys *SystemManagementApi* | [**getConfiguration**](docs/SystemManagementApi.md#getConfiguration) | **GET** /sites/{siteId}/configuration | Get site configuration *SystemManagementApi* | [**getLocaleResourceItem**](docs/SystemManagementApi.md#getLocaleResourceItem) | **GET** /sites/{siteId}/locales/{locale}/resourceItems/{itemKey} | Get Resource Item by Locale *SystemManagementApi* | [**getLocaleResourceItems**](docs/SystemManagementApi.md#getLocaleResourceItems) | **GET** /sites/{siteId}/locales/{locale}/resourceItems | Get Resource Items by Locale *SystemManagementApi* | [**getLocales**](docs/SystemManagementApi.md#getLocales) | **GET** /sites/{siteId}/locales | Get Locales -*SystemManagementApi* | [**getOpensearchIndex**](docs/SystemManagementApi.md#getOpensearchIndex) | **GET** /sites/{siteId}/opensearch/index | Get site(s) OpenSearch index settings +*SystemManagementApi* | [**getOpenSearchIndex**](docs/SystemManagementApi.md#getOpenSearchIndex) | **GET** /sites/{siteId}/opensearch/index | Get site(s) OpenSearch index settings +*SystemManagementApi* | [**getOpenSearchIndices**](docs/SystemManagementApi.md#getOpenSearchIndices) | **GET** /sites/{siteId}/opensearch/indices | Get site(s) OpenSearch indices +*SystemManagementApi* | [**getOpenSearchSnapshot**](docs/SystemManagementApi.md#getOpenSearchSnapshot) | **GET** /sites/{siteId}/opensearch/snapshots/{snapshotName} | Get site(s) OpenSearch snapshot +*SystemManagementApi* | [**getOpenSearchSnapshotRepositories**](docs/SystemManagementApi.md#getOpenSearchSnapshotRepositories) | **GET** /sites/global/opensearch/snapshotRepositories | Get site(s) OpenSearch snapshot repositories +*SystemManagementApi* | [**getOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#getOpenSearchSnapshotRepository) | **GET** /sites/{siteId}/opensearch/snapshotRepository | Get site(s) OpenSearch snapshot repository +*SystemManagementApi* | [**getOpenSearchSnapshots**](docs/SystemManagementApi.md#getOpenSearchSnapshots) | **GET** /sites/{siteId}/opensearch/snapshots | Get site(s) OpenSearch snapshots *SystemManagementApi* | [**getSiteGroup**](docs/SystemManagementApi.md#getSiteGroup) | **GET** /sites/{siteId}/groups/{groupName} | Get group and permissions belonging to site *SystemManagementApi* | [**getSiteGroups**](docs/SystemManagementApi.md#getSiteGroups) | **GET** /sites/{siteId}/groups | Get group(s) and permissions belonging to site *SystemManagementApi* | [**getSites**](docs/SystemManagementApi.md#getSites) | **GET** /sites | Get site(s) access *SystemManagementApi* | [**getVersion**](docs/SystemManagementApi.md#getVersion) | **GET** /version | Get FormKiQ version *SystemManagementApi* | [**setLocaleResourceItem**](docs/SystemManagementApi.md#setLocaleResourceItem) | **PUT** /sites/{siteId}/locales/{locale}/resourceItems/{itemKey} | Set Locale Resource Item -*SystemManagementApi* | [**setOpensearchIndex**](docs/SystemManagementApi.md#setOpensearchIndex) | **PUT** /sites/{siteId}/opensearch/index | Set site(s) OpenSearch index settings +*SystemManagementApi* | [**setOpenSearchIndex**](docs/SystemManagementApi.md#setOpenSearchIndex) | **PUT** /sites/{siteId}/opensearch/index | Set site(s) OpenSearch index settings +*SystemManagementApi* | [**setOpenSearchIndices**](docs/SystemManagementApi.md#setOpenSearchIndices) | **PUT** /sites/{siteId}/opensearch/indices | Set site(s) OpenSearch index to use for a SiteId *SystemManagementApi* | [**setSiteGroupPermissions**](docs/SystemManagementApi.md#setSiteGroupPermissions) | **PUT** /sites/{siteId}/groups/{groupName}/permissions | Set Site's Group Permissions *SystemManagementApi* | [**updateConfiguration**](docs/SystemManagementApi.md#updateConfiguration) | **PATCH** /sites/{siteId}/configuration | Update site configuration *SystemManagementApi* | [**updateSite**](docs/SystemManagementApi.md#updateSite) | **PATCH** /sites/{siteId} | Update Site *TagIndexApi* | [**indexSearch**](docs/TagIndexApi.md#indexSearch) | **POST** /indices/search | *UserActivitiesApi* | [**getDocumentUserActivities**](docs/UserActivitiesApi.md#getDocumentUserActivities) | **GET** /documents/{documentId}/userActivities | Get user activities for a document +*UserActivitiesApi* | [**getResourceActivities**](docs/UserActivitiesApi.md#getResourceActivities) | **GET** /activities | Get resource activities *UserActivitiesApi* | [**getUserActivities**](docs/UserActivitiesApi.md#getUserActivities) | **GET** /userActivities | Get user activities *UserManagementApi* | [**addGroup**](docs/UserManagementApi.md#addGroup) | **POST** /groups | Add a group *UserManagementApi* | [**addUser**](docs/UserManagementApi.md#addUser) | **POST** /users | Add User @@ -373,13 +406,14 @@ Class | Method | HTTP request | Description ## Documentation for Models + - [Activity](docs/Activity.md) + - [ActivityStatus](docs/ActivityStatus.md) - [AddAction](docs/AddAction.md) - [AddActionParameters](docs/AddActionParameters.md) - [AddApiKeyRequest](docs/AddApiKeyRequest.md) - [AddApiKeyResponse](docs/AddApiKeyResponse.md) - [AddAttribute](docs/AddAttribute.md) - [AddAttributeRequest](docs/AddAttributeRequest.md) - - [AddAttributeResponse](docs/AddAttributeResponse.md) - [AddAttributeSchemaOptional](docs/AddAttributeSchemaOptional.md) - [AddAttributeSchemaRequired](docs/AddAttributeSchemaRequired.md) - [AddCase](docs/AddCase.md) @@ -395,6 +429,7 @@ Class | Method | HTTP request | Description - [AddDocumentActionsRetryResponse](docs/AddDocumentActionsRetryResponse.md) - [AddDocumentAttribute](docs/AddDocumentAttribute.md) - [AddDocumentAttributeClassification](docs/AddDocumentAttributeClassification.md) + - [AddDocumentAttributeEntity](docs/AddDocumentAttributeEntity.md) - [AddDocumentAttributeRelationship](docs/AddDocumentAttributeRelationship.md) - [AddDocumentAttributeStandard](docs/AddDocumentAttributeStandard.md) - [AddDocumentAttributeValue](docs/AddDocumentAttributeValue.md) @@ -422,6 +457,14 @@ Class | Method | HTTP request | Description - [AddDocusignEnvelopesResponse](docs/AddDocusignEnvelopesResponse.md) - [AddDocusignRecipientViewRequest](docs/AddDocusignRecipientViewRequest.md) - [AddDocusignRecipientViewResponse](docs/AddDocusignRecipientViewResponse.md) + - [AddEntity](docs/AddEntity.md) + - [AddEntityAttribute](docs/AddEntityAttribute.md) + - [AddEntityRequest](docs/AddEntityRequest.md) + - [AddEntityResponse](docs/AddEntityResponse.md) + - [AddEntityType](docs/AddEntityType.md) + - [AddEntityTypeRequest](docs/AddEntityTypeRequest.md) + - [AddEntityTypeResponse](docs/AddEntityTypeResponse.md) + - [AddFolderPermission](docs/AddFolderPermission.md) - [AddFolderRequest](docs/AddFolderRequest.md) - [AddFolderResponse](docs/AddFolderResponse.md) - [AddFolderShareRequest](docs/AddFolderShareRequest.md) @@ -482,6 +525,8 @@ Class | Method | HTTP request | Description - [ChildDocument](docs/ChildDocument.md) - [Classification](docs/Classification.md) - [ClassificationSummary](docs/ClassificationSummary.md) + - [DataClassification](docs/DataClassification.md) + - [DataClassificationAttribute](docs/DataClassificationAttribute.md) - [DeleteApiKeyResponse](docs/DeleteApiKeyResponse.md) - [DeleteCaseDocumentResponse](docs/DeleteCaseDocumentResponse.md) - [DeleteCaseNigoDocumentResponse](docs/DeleteCaseNigoDocumentResponse.md) @@ -546,10 +591,17 @@ Class | Method | HTTP request | Description - [DocusignSignHereTabs](docs/DocusignSignHereTabs.md) - [DocusignSigner](docs/DocusignSigner.md) - [DocusignSigningTabs](docs/DocusignSigningTabs.md) + - [Entity](docs/Entity.md) + - [EntityAttribute](docs/EntityAttribute.md) + - [EntityType](docs/EntityType.md) + - [EntityTypeNamespace](docs/EntityTypeNamespace.md) - [Error](docs/Error.md) - [ErrorsResponse](docs/ErrorsResponse.md) + - [FolderPermission](docs/FolderPermission.md) + - [FolderPermissionType](docs/FolderPermissionType.md) - [FulltextAttribute](docs/FulltextAttribute.md) - [FulltextSearchItem](docs/FulltextSearchItem.md) + - [GetActivitesResponse](docs/GetActivitesResponse.md) - [GetApiKeysResponse](docs/GetApiKeysResponse.md) - [GetAttributeAllowedValuesResponse](docs/GetAttributeAllowedValuesResponse.md) - [GetAttributeResponse](docs/GetAttributeResponse.md) @@ -566,9 +618,9 @@ Class | Method | HTTP request | Description - [GetConfigurationResponse](docs/GetConfigurationResponse.md) - [GetDocumentActionsResponse](docs/GetDocumentActionsResponse.md) - [GetDocumentAttributeResponse](docs/GetDocumentAttributeResponse.md) - - [GetDocumentAttributeVersionsResponse](docs/GetDocumentAttributeVersionsResponse.md) - [GetDocumentAttributesResponse](docs/GetDocumentAttributesResponse.md) - [GetDocumentContentResponse](docs/GetDocumentContentResponse.md) + - [GetDocumentDataClassificationResponse](docs/GetDocumentDataClassificationResponse.md) - [GetDocumentFulltextResponse](docs/GetDocumentFulltextResponse.md) - [GetDocumentOcrResponse](docs/GetDocumentOcrResponse.md) - [GetDocumentResponse](docs/GetDocumentResponse.md) @@ -580,20 +632,29 @@ Class | Method | HTTP request | Description - [GetDocumentWorkflowResponse](docs/GetDocumentWorkflowResponse.md) - [GetDocumentWorkflowsResponse](docs/GetDocumentWorkflowsResponse.md) - [GetDocumentsResponse](docs/GetDocumentsResponse.md) + - [GetEntitiesResponse](docs/GetEntitiesResponse.md) + - [GetEntityResponse](docs/GetEntityResponse.md) + - [GetEntityTypeResponse](docs/GetEntityTypeResponse.md) + - [GetEntityTypesResponse](docs/GetEntityTypesResponse.md) - [GetExaminePdfResponse](docs/GetExaminePdfResponse.md) - [GetExaminePdfUrlResponse](docs/GetExaminePdfUrlResponse.md) + - [GetFolderPermissionsResponse](docs/GetFolderPermissionsResponse.md) - [GetFoldersResponse](docs/GetFoldersResponse.md) - [GetGroupResponse](docs/GetGroupResponse.md) - [GetGroupsResponse](docs/GetGroupsResponse.md) - [GetLocaleResourceItemResponse](docs/GetLocaleResourceItemResponse.md) - [GetLocaleResourceItemsResponse](docs/GetLocaleResourceItemsResponse.md) - [GetLocalesResponse](docs/GetLocalesResponse.md) + - [GetMalwareScanResponse](docs/GetMalwareScanResponse.md) - [GetMappingResponse](docs/GetMappingResponse.md) - [GetMappingsResponse](docs/GetMappingsResponse.md) - [GetOpaAccessPoliciesResponse](docs/GetOpaAccessPoliciesResponse.md) - [GetOpaAccessPolicyItemsResponse](docs/GetOpaAccessPolicyItemsResponse.md) - [GetOpaAccessPolicyResponse](docs/GetOpaAccessPolicyResponse.md) - [GetOpenSearchIndexResponse](docs/GetOpenSearchIndexResponse.md) + - [GetOpenSearchIndiceResponse](docs/GetOpenSearchIndiceResponse.md) + - [GetOpenSearchSnapshotRepositoryResponse](docs/GetOpenSearchSnapshotRepositoryResponse.md) + - [GetOpenSearchSnapshotResponse](docs/GetOpenSearchSnapshotResponse.md) - [GetQueueResponse](docs/GetQueueResponse.md) - [GetQueuesResponse](docs/GetQueuesResponse.md) - [GetRuleResponse](docs/GetRuleResponse.md) @@ -626,8 +687,11 @@ Class | Method | HTTP request | Description - [IndexSearch](docs/IndexSearch.md) - [IndexSearchRequest](docs/IndexSearchRequest.md) - [IndexSearchResponse](docs/IndexSearchResponse.md) - - [Locale](docs/Locale.md) + - [LocaleInfo](docs/LocaleInfo.md) - [LocaleResourceType](docs/LocaleResourceType.md) + - [MalwareEngine](docs/MalwareEngine.md) + - [MalwareScanResult](docs/MalwareScanResult.md) + - [MalwareScanStatus](docs/MalwareScanStatus.md) - [Mapping](docs/Mapping.md) - [MappingAttribute](docs/MappingAttribute.md) - [MappingAttributeLabelMatchingType](docs/MappingAttributeLabelMatchingType.md) @@ -648,13 +712,23 @@ Class | Method | HTTP request | Description - [OpaPolicyAttributeEq](docs/OpaPolicyAttributeEq.md) - [OpaPolicyAttributeGt](docs/OpaPolicyAttributeGt.md) - [OpaPolicyAttributeGte](docs/OpaPolicyAttributeGte.md) + - [OpaPolicyAttributeIn](docs/OpaPolicyAttributeIn.md) - [OpaPolicyAttributeInput](docs/OpaPolicyAttributeInput.md) - [OpaPolicyAttributeLt](docs/OpaPolicyAttributeLt.md) - [OpaPolicyAttributeLte](docs/OpaPolicyAttributeLte.md) - [OpaPolicyAttributeNeq](docs/OpaPolicyAttributeNeq.md) + - [OpaPolicyAttributeNotIn](docs/OpaPolicyAttributeNotIn.md) + - [OpaPolicyInput](docs/OpaPolicyInput.md) + - [OpaPolicyInputMethod](docs/OpaPolicyInputMethod.md) + - [OpaPolicyInputResource](docs/OpaPolicyInputResource.md) - [OpaPolicyItem](docs/OpaPolicyItem.md) - - [OpaPolicyItemType](docs/OpaPolicyItemType.md) + - [OpenSearchAlias](docs/OpenSearchAlias.md) - [OpenSearchIndex](docs/OpenSearchIndex.md) + - [OpenSearchIndexSetting](docs/OpenSearchIndexSetting.md) + - [OpenSearchS3Repository](docs/OpenSearchS3Repository.md) + - [OpenSearchSnapshot](docs/OpenSearchSnapshot.md) + - [OpenSearchSnapshotFailure](docs/OpenSearchSnapshotFailure.md) + - [OpenSearchSnapshotShard](docs/OpenSearchSnapshotShard.md) - [PdfDocument](docs/PdfDocument.md) - [PdfDocumentField](docs/PdfDocumentField.md) - [QueryFulltextResponse](docs/QueryFulltextResponse.md) @@ -674,10 +748,11 @@ Class | Method | HTTP request | Description - [SearchResponseFields](docs/SearchResponseFields.md) - [SearchResultDocument](docs/SearchResultDocument.md) - [SearchResultDocumentAttribute](docs/SearchResultDocumentAttribute.md) - - [SetAntivirusResponse](docs/SetAntivirusResponse.md) - [SetClassificationRequest](docs/SetClassificationRequest.md) - [SetDocumentAttributeRequest](docs/SetDocumentAttributeRequest.md) - [SetDocumentAttributesRequest](docs/SetDocumentAttributesRequest.md) + - [SetDocumentDataClassificationRequest](docs/SetDocumentDataClassificationRequest.md) + - [SetDocumentDataClassificationResponse](docs/SetDocumentDataClassificationResponse.md) - [SetDocumentFulltextRequest](docs/SetDocumentFulltextRequest.md) - [SetDocumentFulltextResponse](docs/SetDocumentFulltextResponse.md) - [SetDocumentOcrRequest](docs/SetDocumentOcrRequest.md) @@ -685,12 +760,14 @@ Class | Method | HTTP request | Description - [SetDocumentTagKeyRequest](docs/SetDocumentTagKeyRequest.md) - [SetDocumentVersionRequest](docs/SetDocumentVersionRequest.md) - [SetDocumentVersionResponse](docs/SetDocumentVersionResponse.md) + - [SetFolderPermissionsRequest](docs/SetFolderPermissionsRequest.md) - [SetGroupPermissionsRequest](docs/SetGroupPermissionsRequest.md) - [SetLocaleResourceItemRequest](docs/SetLocaleResourceItemRequest.md) - [SetMappingRequest](docs/SetMappingRequest.md) - [SetOpaAccessPolicyItemsRequest](docs/SetOpaAccessPolicyItemsRequest.md) - [SetOpenSearchIndexRequest](docs/SetOpenSearchIndexRequest.md) - [SetOpenSearchIndexResponse](docs/SetOpenSearchIndexResponse.md) + - [SetOpenSearchIndiceRequest](docs/SetOpenSearchIndiceRequest.md) - [SetResponse](docs/SetResponse.md) - [SetSchemaAttributes](docs/SetSchemaAttributes.md) - [SetSitesSchemaRequest](docs/SetSitesSchemaRequest.md) @@ -706,6 +783,9 @@ Class | Method | HTTP request | Description - [StringGeneratorType](docs/StringGeneratorType.md) - [Task](docs/Task.md) - [TaskStatus](docs/TaskStatus.md) + - [TextractQuery](docs/TextractQuery.md) + - [UpdateAttribute](docs/UpdateAttribute.md) + - [UpdateAttributeRequest](docs/UpdateAttributeRequest.md) - [UpdateCase](docs/UpdateCase.md) - [UpdateCaseRequest](docs/UpdateCaseRequest.md) - [UpdateCaseResponse](docs/UpdateCaseResponse.md) @@ -714,6 +794,7 @@ Class | Method | HTTP request | Description - [UpdateDocumentFulltextRequest](docs/UpdateDocumentFulltextRequest.md) - [UpdateDocumentFulltextResponse](docs/UpdateDocumentFulltextResponse.md) - [UpdateDocumentRequest](docs/UpdateDocumentRequest.md) + - [UpdateEntityRequest](docs/UpdateEntityRequest.md) - [UpdateMatchingDocumentTagsRequest](docs/UpdateMatchingDocumentTagsRequest.md) - [UpdateMatchingDocumentTagsRequestMatch](docs/UpdateMatchingDocumentTagsRequestMatch.md) - [UpdateMatchingDocumentTagsRequestUpdate](docs/UpdateMatchingDocumentTagsRequestUpdate.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 08003dbcb..7e30fe4aa 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -28,10 +28,10 @@ info: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html title: FormKiQ API JWT - version: 1.17.1 + version: 1.18.0 x-logo: url: https://docs.formkiq.com/docs/latest/_images/formkiq-logo.png - backgroundColor: '#FFFFFF' + backgroundColor: "#FFFFFF" altText: FormKiQ Logo servers: - description: Local development server @@ -88,9 +88,9 @@ tags: - description: User Activities API name: userActivities x-displayName: User Activities -- description: Antivirus API - name: antivirus - x-displayName: Antivirus +- description: MalwareScan API + name: malwareScan + x-displayName: MalwareScan - description: Examine Objects API name: examineObjects x-displayName: ExamineObjects @@ -111,6 +111,10 @@ tags: x-displayName: Document Generation - description: Rulesets API name: ruleSets + x-displayName: Rulesets +- description: Entity API + name: entity + x-displayName: Entity - name: Application x-amazon-apigateway-tag-value: FormKiQ - name: AppEnvironment @@ -126,22 +130,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetVersionResponse' + $ref: "#/components/schemas/GetVersionResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Get FormKiQ version tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json /sites: @@ -156,29 +160,29 @@ paths: name: status required: false schema: - $ref: '#/components/schemas/SiteStatus' + $ref: "#/components/schemas/SiteStatus" style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetSitesResponse' + $ref: "#/components/schemas/GetSitesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Get site(s) access tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: @@ -188,27 +192,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddSiteRequest' + $ref: "#/components/schemas/AddSiteRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' + $ref: "#/components/schemas/AddResponse" description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] @@ -216,7 +220,7 @@ paths: tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json @@ -237,29 +241,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateSiteRequest' + $ref: "#/components/schemas/UpdateSiteRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateResponse' + $ref: "#/components/schemas/UpdateResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Update Site tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -281,22 +285,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetSiteGroupsResponse' + $ref: "#/components/schemas/GetSiteGroupsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Get group(s) and permissions belonging to site tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json /sites/{siteId}/groups/{groupName}: @@ -325,22 +329,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Deletes Site Group and permissions tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: @@ -368,22 +372,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetSiteGroupResponse' + $ref: "#/components/schemas/GetSiteGroupResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Get group and permissions belonging to site tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json /sites/{siteId}/groups/{groupName}/permissions: @@ -411,36 +415,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetGroupPermissionsRequest' + $ref: "#/components/schemas/SetGroupPermissionsRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Set Site's Group Permissions tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json /sites/{siteId}/opensearch/index: delete: description: Deletes the OpenSearch index - operationId: DeleteOpensearchIndex + operationId: DeleteOpenSearchIndex parameters: - description: Site Identifier explode: false @@ -455,27 +459,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Deletes site(s) OpenSearch index tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json get: - description: Returns the OpenSearch index settings - operationId: GetOpensearchIndex + description: "Returns the OpenSearch index settings \n\n(Deprecated use /sites/{siteId}/opensearch/indices)" + operationId: GetOpenSearchIndex parameters: - description: Site Identifier explode: false @@ -490,27 +494,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetOpenSearchIndexResponse' + $ref: "#/components/schemas/GetOpenSearchIndexResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Get site(s) OpenSearch index settings tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json put: description: Sets the OpenSearch index settings - operationId: SetOpensearchIndex + operationId: SetOpenSearchIndex parameters: - description: Site Identifier explode: false @@ -524,79 +528,134 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetOpenSearchIndexRequest' + $ref: "#/components/schemas/SetOpenSearchIndexRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetOpenSearchIndexResponse' + $ref: "#/components/schemas/SetOpenSearchIndexResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Set site(s) OpenSearch index settings tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/schema/document: + /sites/global/opensearch/indices: get: - description: Gets Sites schema - operationId: GetSitesSchema + description: Returns all OpenSearch indices + operationId: GetAllOpenSearchIndices + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetOpenSearchIndiceResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get all OpenSearch indices + tags: + - System Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-accepts: + - application/json + /sites/global/opensearch/indices/{indexName}: + delete: + description: Deletes the OpenSearch index by name + operationId: DeleteOpenSearchIndexByName parameters: - - description: Site Identifier + - description: IndexName to path explode: false in: path - name: siteId + name: indexName required: true schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: true - in: query - name: locale - required: false + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Deletes OpenSearch index by name + tags: + - System Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-accepts: + - application/json + /sites/{siteId}/opensearch/indices: + get: + description: Returns the OpenSearch indices + operationId: GetOpenSearchIndices + parameters: + - description: Site Identifier + explode: false + in: path + name: siteId + required: true schema: type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetSitesSchemaResponse' + $ref: "#/components/schemas/GetOpenSearchIndiceResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Sites Schema + summary: Get site(s) OpenSearch indices tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json put: - description: Sets Sites schema - operationId: SetSitesSchema + description: Sets the OpenSearch index to use for a SiteId + operationId: SetOpenSearchIndices parameters: - description: Site Identifier explode: false @@ -610,42 +669,63 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetSitesSchemaRequest' + $ref: "#/components/schemas/SetOpenSearchIndiceRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Set site(s) OpenSearch index to use for a SiteId + tags: + - System Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /sites/global/opensearch/snapshotRepositories: + get: + description: Returns the OpenSearch Snapshot Repositories + operationId: GetOpenSearchSnapshotRepositories + responses: + "200": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/schemas/GetOpenSearchSnapshotRepositoryResponse" + description: 200 OK + 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" security: - ApiAuthorization: [] - summary: Set Sites Schema + summary: Get site(s) OpenSearch snapshot repositories tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/schema/document/attributes/{key}/allowedValues: - get: - description: Returns an attribute's allowed values from the site schema - operationId: GetSitesSchemaAttributeAllowedValues + /sites/{siteId}/opensearch/snapshotRepository: + delete: + description: Deletes the OpenSearch Snapshot Repository + operationId: DeleteOpenSearchSnapshotRepository parameters: - description: Site Identifier explode: false @@ -655,49 +735,32 @@ paths: schema: type: string style: simple - - description: Key Identifier - explode: false - in: path - name: key - required: true - schema: - type: string - style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: true - in: query - name: locale - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetAttributeAllowedValuesResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Attribute Allowed Values + summary: Deletes site(s) OpenSearch Snapshot Repository tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/classifications: get: - description: Gets Sites Classifications - operationId: GetSitesClassifications + description: Returns the OpenSearch Snapshot Repository + operationId: GetOpenSearchSnapshotRepository parameters: - description: Site Identifier explode: false @@ -707,49 +770,33 @@ paths: schema: type: string style: simple - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetClassificationsResponse' + $ref: "#/components/schemas/GetOpenSearchSnapshotRepositoryResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Sites Classifications + summary: Get site(s) OpenSearch snapshot repository tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - post: - description: Add Classification - operationId: AddClassification + /sites/{siteId}/opensearch/snapshots: + get: + description: Returns the OpenSearch Snapshots + operationId: GetOpenSearchSnapshots parameters: - description: Site Identifier explode: false @@ -759,46 +806,33 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddClassificationRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddClassificationResponse' + $ref: "#/components/schemas/GetOpenSearchSnapshotResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add Classification + summary: Get site(s) OpenSearch snapshots tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/classifications/{classificationId}: + /sites/{siteId}/opensearch/snapshots/{snapshotName}: delete: - description: Delete Classification - operationId: DeleteClassification + description: Deletes the OpenSearch Snapshot + operationId: DeleteOpenSearchSnapshot parameters: - description: Site Identifier explode: false @@ -808,10 +842,10 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Name explode: false in: path - name: classificationId + name: snapshotName required: true schema: type: string @@ -821,27 +855,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Classification + summary: Deletes site(s) OpenSearch Snapshot tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json get: - description: Get Classification - operationId: GetClassification + description: Returns the OpenSearch Snapshot + operationId: GetOpenSearchSnapshot parameters: - description: Site Identifier explode: false @@ -851,48 +885,40 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Name explode: false in: path - name: classificationId + name: snapshotName required: true schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: true - in: query - name: locale - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetClassificationResponse' + $ref: "#/components/schemas/GetOpenSearchSnapshotResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Classification + summary: Get site(s) OpenSearch snapshot tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - put: - description: Sets Classification - operationId: SetClassification + post: + description: Add an OpenSearch Snapshot + operationId: AddOpenSearchSnapshot parameters: - description: Site Identifier explode: false @@ -902,55 +928,41 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Name explode: false in: path - name: classificationId + name: snapshotName required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetClassificationRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $ref: "#/components/schemas/AddResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Set Classification + summary: Add an OpenSearch Snapshot tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/classifications/{classificationId}/attributes/{key}/allowedValues: - get: - description: Returns an attribute's allowed values that spans for a specific - classifications and site schema - operationId: GetClassificationAttributeAllowedValues + /sites/{siteId}/opensearch/snapshots/{snapshotName}/restore: + delete: + description: Deletes the OpenSearch Restore Snapshot + operationId: DeleteOpenSearchRestoreSnapshot parameters: - description: Site Identifier explode: false @@ -960,57 +972,40 @@ paths: schema: type: string style: simple - - description: Classification Identifier - explode: false - in: path - name: classificationId - required: true - schema: - type: string - style: simple - - description: Key Identifier + - description: Snapshot Name explode: false in: path - name: key + name: snapshotName required: true schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: true - in: query - name: locale - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetAttributeAllowedValuesResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Classification's Attribute Allowed Values + summary: Deletes site(s) OpenSearch Restore Snapshot tags: - - Schemas + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/configuration: - get: - description: Returns the list of sites that the user has access to - operationId: GetConfiguration + post: + description: Add an OpenSearch Restore Snapshot + operationId: AddOpenSearchRestoreSnapshot parameters: - description: Site Identifier explode: false @@ -1020,32 +1015,41 @@ paths: schema: type: string style: simple + - description: Snapshot Name + explode: false + in: path + name: snapshotName + required: true + schema: + type: string + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetConfigurationResponse' + $ref: "#/components/schemas/AddResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get site configuration + summary: Add an OpenSearch Restore Snapshot tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - patch: - description: Update the System Management configuration - operationId: UpdateConfiguration + /sites/{siteId}/schema/document: + get: + description: Gets Sites schema + operationId: GetSitesSchema parameters: - description: Site Identifier explode: false @@ -1055,98 +1059,40 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateConfigurationRequest' - required: true + - description: Site Locale (ISO 639 / ISO 3166) + explode: true + in: query + name: locale + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateConfigurationResponse' + $ref: "#/components/schemas/GetSitesSchemaResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update site configuration + summary: Get Sites Schema tags: - - System Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json - x-accepts: - - application/json - /sites/{siteId}/apiKeys: - get: - description: Returns the list of ApiKeys - operationId: GetApiKeys - parameters: - - description: Site Identifier - explode: false - in: path - name: siteId - required: true - schema: - type: string - style: simple - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetApiKeysResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Get API Keys - tags: - - System Management + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: Adds a new API Key - operationId: AddApiKey + put: + description: Sets Sites schema + operationId: SetSitesSchema parameters: - description: Site Identifier explode: false @@ -1159,41 +1105,43 @@ paths: requestBody: content: application/json: - examples: - AddApiKey: - value: - name: My API Key schema: - $ref: '#/components/schemas/AddApiKeyRequest' + $ref: "#/components/schemas/SetSitesSchemaRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddApiKeyResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Add API Key + summary: Set Sites Schema tags: - - System Management + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/apiKeys/{apiKey}: - delete: - description: Adds a new API Key - operationId: DeleteApiKey + /sites/{siteId}/schema/document/attributes/{key}/allowedValues: + get: + description: Returns an attribute's allowed values from the site schema + operationId: GetSitesSchemaAttributeAllowedValues parameters: - description: Site Identifier explode: false @@ -1203,69 +1151,101 @@ paths: schema: type: string style: simple - - description: API Key + - description: Key Identifier explode: false in: path - name: apiKey + name: key required: true schema: type: string style: simple + - description: Site Locale (ISO 639 / ISO 3166) + explode: true + in: query + name: locale + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteApiKeyResponse' + $ref: "#/components/schemas/GetAttributeAllowedValuesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete API Key + summary: Get Attribute Allowed Values tags: - - System Management + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /sites/opa/accessPolicies: + /sites/{siteId}/classifications: get: - description: "Returns a list of OPA Access Policies, can only be requested with\ - \ ADMIN privileges" - operationId: GetOpaAccessPolicies + description: Gets Sites Classifications + operationId: GetSitesClassifications + parameters: + - description: Site Identifier + explode: false + in: path + name: siteId + required: true + schema: + type: string + style: simple + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetOpaAccessPoliciesResponse' + $ref: "#/components/schemas/GetClassificationsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get OPAs Access Policies + summary: Get Sites Classifications tags: - - Access Control + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /sites/{siteId}/opa/accessPolicy: - get: - description: "Returns OPA Access Policy, can only be requested with ADMIN privileges" - operationId: GetOpaAccessPolicy + post: + description: Add Classification + operationId: AddClassification parameters: - description: Site Identifier explode: false @@ -1275,33 +1255,46 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddClassificationRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetOpaAccessPolicyResponse' + $ref: "#/components/schemas/AddClassificationResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Get OPA Access Policy + summary: Add Classification tags: - - Access Control + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/opa/accessPolicy/policyItems: + /sites/{siteId}/classifications/{classificationId}: delete: - description: Delete OPA Access Policy Items - operationId: DeleteOpaAccessPolicyItems + description: Delete Classification + operationId: DeleteClassification parameters: - description: Site Identifier explode: false @@ -1311,33 +1304,40 @@ paths: schema: type: string style: simple + - description: Classification Identifier + explode: false + in: path + name: classificationId + required: true + schema: + type: string + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete OPA Access Policy Items + summary: Delete Classification tags: - - Access Control + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: - description: "Returns OPA Access Policy Items, can only be requested with ADMIN\ - \ privileges" - operationId: GetOpaAccessPolicyItems + description: Get Classification + operationId: GetClassification parameters: - description: Site Identifier explode: false @@ -1347,32 +1347,48 @@ paths: schema: type: string style: simple + - description: Classification Identifier + explode: false + in: path + name: classificationId + required: true + schema: + type: string + style: simple + - description: Site Locale (ISO 639 / ISO 3166) + explode: true + in: query + name: locale + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetOpaAccessPolicyItemsResponse' + $ref: "#/components/schemas/GetClassificationResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get OPA Access Policy Items + summary: Get Classification tags: - - Access Control + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json put: - description: Sets opa access policy items - operationId: SetOpaAccessPolicyItems + description: Sets Classification + operationId: SetClassification parameters: - description: Site Identifier explode: false @@ -1382,46 +1398,55 @@ paths: schema: type: string style: simple + - description: Classification Identifier + explode: false + in: path + name: classificationId + required: true + schema: + type: string + style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/SetOpaAccessPolicyItemsRequest' + $ref: "#/components/schemas/SetClassificationRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' - description: 200 CREATED + $ref: "#/components/schemas/SetResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] - summary: "Set opa access policy items, can only be requested with ADMIN privileges" + summary: Set Classification tags: - - Access Control + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/locales: + /sites/{siteId}/classifications/{classificationId}/attributes/{key}/allowedValues: get: - description: Returns a list of locale(s) in a specified site - operationId: GetLocales + description: Returns an attribute's allowed values that spans for a specific + classifications and site schema + operationId: GetClassificationAttributeAllowedValues parameters: - description: Site Identifier explode: false @@ -1431,21 +1456,28 @@ paths: schema: type: string style: simple - - description: Next page of results token - explode: true - in: query - name: next - required: false + - description: Classification Identifier + explode: false + in: path + name: classificationId + required: true schema: type: string - style: form - - description: Limit Results + style: simple + - description: Key Identifier + explode: false + in: path + name: key + required: true + schema: + type: string + style: simple + - description: Site Locale (ISO 639 / ISO 3166) explode: true in: query - name: limit + name: locale required: false schema: - default: "10" type: string style: form responses: @@ -1453,27 +1485,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetLocalesResponse' + $ref: "#/components/schemas/GetAttributeAllowedValuesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Locales + summary: Get Classification's Attribute Allowed Values tags: - - System Management + - Schemas x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: Adds a new locale to the specified site - operationId: AddLocale + /sites/{siteId}/configuration: + get: + description: Returns the list of sites that the user has access to + operationId: GetConfiguration parameters: - description: Site Identifier explode: false @@ -1483,40 +1516,32 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddLocaleRequest' - required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' - description: 201 CREATED + $ref: "#/components/schemas/GetConfigurationResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add Locale + summary: Get site configuration tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /sites/{siteId}/locales/{locale}: - delete: - description: Delete Locale - operationId: DeleteLocale + patch: + description: Update the System Management configuration + operationId: UpdateConfiguration parameters: - description: Site Identifier explode: false @@ -1526,41 +1551,46 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: false - in: path - name: locale + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateConfigurationRequest" required: true - schema: - type: string - style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/UpdateConfigurationResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Delete Locale + summary: Update site configuration tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/locales/{locale}/resourceItems: + /sites/{siteId}/apiKeys: get: - description: Returns the list resource items - operationId: GetLocaleResourceItems + description: Returns the list of ApiKeys + operationId: GetApiKeys parameters: - description: Site Identifier explode: false @@ -1570,14 +1600,6 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: false - in: path - name: locale - required: true - schema: - type: string - style: simple - description: Next page of results token explode: true in: query @@ -1600,27 +1622,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetLocaleResourceItemsResponse' + $ref: "#/components/schemas/GetApiKeysResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Resource Items by Locale + summary: Get API Keys tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: - description: Adds a new localized resource item for a given locale - operationId: AddLocaleResourceItem + description: Adds a new API Key + operationId: AddApiKey parameters: - description: Site Identifier explode: false @@ -1630,73 +1652,44 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: false - in: path - name: locale - required: true - schema: - type: string - style: simple requestBody: content: application/json: examples: - interfaceResourceItem: - summary: Interface Resource Item Example - value: - resourceItem: - itemType: INTERFACE - interfaceKey: mainMenuTitle - localizedValue: Main Menu - schemaResourceItem: - summary: Schema Resource Item Example - value: - resourceItem: - itemType: SCHEMA - attributeKey: documentCategory - allowedValue: invoice - localizedValue: Facture - classificationResourceItem: - summary: Classification Resource Item Example + AddApiKey: value: - resourceItem: - itemType: CLASSIFICATION - attributeKey: usageRegistrariat - allowedValue: ID - localizedValue: Gestion identitaire - classificationId: 219a7dd6-5fb2-4556-ad71-0ab4312fe577 + name: My API Key schema: - $ref: '#/components/schemas/AddLocaleResourceItemRequest' + $ref: "#/components/schemas/AddApiKeyRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddLocaleResourceItemResponse' - description: 201 CREATED + $ref: "#/components/schemas/AddApiKeyResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add Locale Resource Item + summary: Add API Key tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/locales/{locale}/resourceItems/{itemKey}: + /sites/{siteId}/apiKeys/{apiKey}: delete: - description: Delete Local Resource Item - operationId: DeleteLocaleResourceItem + description: Adds a new API Key + operationId: DeleteApiKey parameters: - description: Site Identifier explode: false @@ -1706,18 +1699,10 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: false - in: path - name: locale - required: true - schema: - type: string - style: simple - - description: Item Key (MUST be URL‑encoded) + - description: API Key explode: false in: path - name: itemKey + name: apiKey required: true schema: type: string @@ -1727,27 +1712,56 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteApiKeyResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Local Resource Item + summary: Delete API Key tags: - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /sites/opa/accessPolicies: get: - description: Returns the resource item - operationId: GetLocaleResourceItem + description: "Returns a list of OPA Access Policies, can only be requested with\ + \ ADMIN privileges" + operationId: GetOpaAccessPolicies + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetOpaAccessPoliciesResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get OPAs Access Policies + tags: + - Access Control + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /sites/{siteId}/opa/accessPolicy: + get: + description: "Returns OPA Access Policy, can only be requested with ADMIN privileges" + operationId: GetOpaAccessPolicy parameters: - description: Site Identifier explode: false @@ -1757,18 +1771,74 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetOpaAccessPolicyResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get OPA Access Policy + tags: + - Access Control + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /sites/{siteId}/opa/accessPolicy/policyItems: + delete: + description: Delete OPA Access Policy Items + operationId: DeleteOpaAccessPolicyItems + parameters: + - description: Site Identifier explode: false in: path - name: locale + name: siteId required: true schema: type: string style: simple - - description: Item Key (MUST be URL‑encoded) + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete OPA Access Policy Items + tags: + - Access Control + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: "Returns OPA Access Policy Items, can only be requested with ADMIN\ + \ privileges" + operationId: GetOpaAccessPolicyItems + parameters: + - description: Site Identifier explode: false in: path - name: itemKey + name: siteId required: true schema: type: string @@ -1778,27 +1848,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetLocaleResourceItemResponse' + $ref: "#/components/schemas/GetOpaAccessPolicyItemsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Resource Item by Locale + summary: Get OPA Access Policy Items tags: - - System Management + - Access Control x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json put: - description: Set a new Locale Resource Item - operationId: SetLocaleResourceItem + description: Sets opa access policy items + operationId: SetOpaAccessPolicyItems parameters: - description: Site Identifier explode: false @@ -1808,136 +1878,67 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: false - in: path - name: locale - required: true - schema: - type: string - style: simple - - description: Item Key (MUST be URL‑encoded) - explode: false - in: path - name: itemKey - required: true - schema: - type: string - style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/SetLocaleResourceItemRequest' + $ref: "#/components/schemas/SetOpaAccessPolicyItemsRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' - description: 200 OK + $ref: "#/components/schemas/SetResponse" + description: 200 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Set Locale Resource Item + summary: "Set opa access policy items, can only be requested with ADMIN privileges" tags: - - System Management + - Access Control x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /documents: + /sites/{siteId}/locales: get: - description: "Returns a list of the most recent documents added, ordered by\ - \ inserted, descending" - operationId: GetDocuments + description: Returns a list of locale(s) in a specified site + operationId: GetLocales parameters: - description: Site Identifier + explode: false + in: path + name: siteId + required: true + schema: + type: string + style: simple + - description: Next page of results token explode: true in: query - name: siteId + name: next required: false schema: type: string style: form - - description: Fetch documents with an action status + - description: Limit Results explode: true in: query - name: actionStatus - required: false - schema: - enum: - - FAILED - - IN_QUEUE - - PENDING - - RUNNING - - SKIPPED - - FAILED_RETRY - type: string - style: form - - description: Fetch documents with an sync status - explode: true - in: query - name: syncStatus - required: false - schema: - enum: - - FULLTEXT_METADATA_FAILED - - FULLTEXT_CONTENT_FAILED - type: string - style: form - - description: Fetch soft deleted documents - explode: true - in: query - name: deleted - required: false - schema: - type: boolean - style: form - - description: Fetch documents inserted on a certain date (yyyy-MM-dd) - explode: true - in: query - name: date - required: false - schema: - type: string - style: form - - description: "UTC offset to apply to date parameter (IE: -0600)" - explode: true - in: query - name: tz - required: false - schema: - type: string - style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Previous page of results token - explode: true - in: query - name: previous - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit + name: limit required: false schema: default: "10" @@ -1948,217 +1949,146 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentsResponse' + $ref: "#/components/schemas/GetLocalesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Documents listing + summary: Get Locales tags: - - Documents + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: - description: |- - Creates a new document; body may include document content if less than 5 MB. - - Returns a unique **documentId** used in subsequent operations. - - See POST /documents/{documentId}/tags for adding tags to document schema - - See POST /documents/{documentId}/actions for adding actions to document schema - operationId: AddDocument + description: Adds a new locale to the specified site + operationId: AddLocale parameters: - description: Site Identifier - explode: true - in: query + explode: false + in: path name: siteId - required: false - schema: - type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false + required: true schema: type: string - style: form + style: simple requestBody: content: application/json: - examples: - Simple_File: - value: - path: test.txt - contentType: text/plain - isBase64: false - content: This is sample data file - tags: - - key: category - value: sample - - key: players - values: - - "111" - - "222" - metadata: - - key: info - value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\ - \ sed do eiusmod tempor incididunt ut labore et dolore magna\ - \ aliqua." - Child_Document: - value: - path: doc1.txt - contentType: text/plain - content: This is document1 content - tags: - - key: type - value: document1 - documents: - contentType: "text/plain," - content: "This is child document1 content," - tags: - - key: type - value: childdocument1 - Document_with_Webhook: - value: - path: test.txt - contentType: text/plain - isBase64: false - content: This is sample data file - actions: - - type: webhook - parameters: - url: schema: - $ref: '#/components/schemas/AddDocumentRequest' + $ref: "#/components/schemas/AddLocaleRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentResponse' + $ref: "#/components/schemas/AddResponse" description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add new document + summary: Add Locale tags: - - Documents + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}: + /sites/{siteId}/locales/{locale}: delete: - description: |- - Delete a document's details, i.e., metadata, contents, etc - - SoftDelete: - - The SoftDelete parameter allows for the temporary removal of a document's metadata, attributes, etc from being retrieved from all API requests. - - The document can be permanently deleted by calling the DELETE /documents/{documentId} with softDelete=false or restored using the PUT /documents/{documentId}/restore. - - Only the GET /documents?deleted=true will return all the soft deleted documents. - operationId: DeleteDocument + description: Delete Locale + operationId: DeleteLocale parameters: - description: Site Identifier - explode: true - in: query + explode: false + in: path name: siteId - required: false + required: true schema: type: string - style: form - - description: Document Identifier + style: simple + - description: Site Locale (ISO 639 / ISO 3166) explode: false in: path - name: documentId + name: locale required: true schema: type: string style: simple - - description: Whether to soft delete document - explode: true - in: query - name: softDelete - required: false - schema: - type: boolean - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document + summary: Delete Locale tags: - - Documents + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /sites/{siteId}/locales/{locale}/resourceItems: get: - description: "Retrieves a document's details, i.e., metadata" - operationId: GetDocument + description: Returns the list resource items + operationId: GetLocaleResourceItems parameters: - description: Site Identifier - explode: true - in: query + explode: false + in: path name: siteId - required: false + required: true schema: type: string - style: form - - description: Document Identifier + style: simple + - description: Site Locale (ISO 639 / ISO 3166) explode: false in: path - name: documentId + name: locale required: true schema: type: string style: simple - - description: Share Identifier + - description: Next page of results token explode: true in: query - name: shareKey + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit required: false schema: + default: "10" type: string style: form responses: @@ -2166,361 +2096,226 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentResponse' + $ref: "#/components/schemas/GetLocaleResourceItemsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document + summary: Get Resource Items by Locale tags: - - Documents + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - patch: - description: "Update a document's details, i.e., metadata\n\nIf no content is\ - \ specified, the endpoint will return a S3 Presigned that will allow for the\ - \ uploading of Large document data. \n\nNOTE:\n- provided attributes will\ - \ overwrite existing matching attribute keys in the document. Attributes not\ - \ included in the request body will remain unchanged." - operationId: UpdateDocument + post: + description: Adds a new localized resource item for a given locale + operationId: AddLocaleResourceItem parameters: - description: Site Identifier - explode: true - in: query + explode: false + in: path name: siteId - required: false + required: true schema: type: string - style: form - - description: Document Identifier + style: simple + - description: Site Locale (ISO 639 / ISO 3166) explode: false in: path - name: documentId + name: locale required: true schema: type: string style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form requestBody: content: application/json: examples: - Simple_File: + interfaceResourceItem: + summary: Interface Resource Item Example value: - path: test.txt - contentType: text/plain - isBase64: false - content: This is sample data file - tags: - - key: category - value: sample - - key: players - values: - - "111" - - "222" - metadata: - - key: info - value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\ - \ sed do eiusmod tempor incididunt ut labore et dolore magna\ - \ aliqua." + resourceItem: + itemType: INTERFACE + interfaceKey: mainMenuTitle + localizedValue: Main Menu + schemaResourceItem: + summary: Schema Resource Item Example + value: + resourceItem: + itemType: SCHEMA + attributeKey: documentCategory + allowedValue: invoice + localizedValue: Facture + classificationResourceItem: + summary: Classification Resource Item Example + value: + resourceItem: + itemType: CLASSIFICATION + attributeKey: usageRegistrariat + allowedValue: ID + localizedValue: Gestion identitaire + classificationId: 219a7dd6-5fb2-4556-ad71-0ab4312fe577 schema: - $ref: '#/components/schemas/UpdateDocumentRequest' + $ref: "#/components/schemas/AddLocaleResourceItemRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentResponse' - description: 200 OK + $ref: "#/components/schemas/AddLocaleResourceItemResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update document + summary: Add Locale Resource Item tags: - - Documents + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/purge: + /sites/{siteId}/locales/{locale}/resourceItems/{itemKey}: delete: - description: "Remove all objects from the S3 bucket, including previous versions\ - \ and current version, and should remove all metadata as well, so that no\ - \ trace of the document exists outside of the audit logs and any backups.\ - \ Can only be called be ADMIN or GOVERN." - operationId: PurgeDocument + description: Delete Local Resource Item + operationId: DeleteLocaleResourceItem parameters: - description: Site Identifier - explode: true - in: query + explode: false + in: path name: siteId - required: false + required: true schema: type: string - style: form - - description: Document Identifier + style: simple + - description: Site Locale (ISO 639 / ISO 3166) explode: false in: path - name: documentId + name: locale required: true schema: type: string style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Purge document - tags: - - Documents - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - /documents/{documentId}/content: - get: - description: "Retrieves the content of the document with the specified `documentId`.\n\ - - If the content is plain text and under 6 MB, the content will be returned\ - \ directly.\n- If the content is plain text but exceeds 6 MB, an error will\ - \ be returned.\n- For documents not in plain text format, pre-signed S3 URLs\ - \ will be returned to download the content from S3.\nIt is recommended to\ - \ use the `/documents/{documentId}/url` endpoint to retrieve pre-signed S3\ - \ URLs for downloading the content.\n\nIf the document has a Content-Type\ - \ of text/, application/json, application/x-www-form-urlencoded the content\ - \ field will be returned. \nAll other Content-Type, the contentUrl field will\ - \ be returned, which is a S3 Presigned url.\n" - operationId: GetDocumentContent - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Document Identifier + - description: Item Key (MUST be URL‑encoded) explode: false in: path - name: documentId + name: itemKey required: true schema: type: string style: simple - - description: Version Key (version key required URL encoding) - explode: true - in: query - name: versionKey - required: false - schema: - type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentContentResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - Location: - $ref: '#/components/headers/Location' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document's contents + summary: Delete Local Resource Item tags: - - Documents + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/attributes: get: - description: Get a listing of a document's attributes - operationId: GetDocumentAttributes + description: Returns the resource item + operationId: GetLocaleResourceItem parameters: - description: Site Identifier - explode: true - in: query + explode: false + in: path name: siteId - required: false + required: true schema: type: string - style: form - - description: Document Identifier + style: simple + - description: Site Locale (ISO 639 / ISO 3166) explode: false in: path - name: documentId + name: locale required: true schema: type: string style: simple - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false + - description: Item Key (MUST be URL‑encoded) + explode: false + in: path + name: itemKey + required: true schema: type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentAttributesResponse' + $ref: "#/components/schemas/GetLocaleResourceItemResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document's attributes + summary: Get Resource Item by Locale tags: - - Document Attributes + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: Add multiple attributes to a document; this endpoint also accepts - a different body parameter for adding a single attribute - operationId: AddDocumentAttributes + put: + description: Set a new Locale Resource Item + operationId: SetLocaleResourceItem 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 + name: siteId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentAttributesRequest' + - description: Site Locale (ISO 639 / ISO 3166) + explode: false + in: path + name: locale required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AddResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Add attribute to document - tags: - - Document Attributes - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json - x-accepts: - - application/json - put: - description: |- - Set multiple attributes to a document; this endpoint also accepts a different body parameter for setting a single attribute - - Note: - - attributes in the request will overwrite existing attributes. - operationId: SetDocumentAttributes - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false schema: type: string - style: form - - description: Document Identifier + style: simple + - description: Item Key (MUST be URL‑encoded) explode: false in: path - name: documentId + name: itemKey required: true schema: type: string @@ -2529,36 +2324,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetDocumentAttributesRequest' + $ref: "#/components/schemas/SetLocaleResourceItemRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Set document's attributes + summary: Set Locale Resource Item tags: - - Document Attributes + - System Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/attributes/{attributeKey}: - delete: - description: Delete a document attribute by using its key - operationId: DeleteDocumentAttribute + /documents: + get: + description: "Returns a list of the most recent documents added, ordered by\ + \ inserted, descending" + operationId: GetDocuments parameters: - description: Site Identifier explode: true @@ -2568,99 +2364,114 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true + - description: Fetch documents with an action status + explode: true + in: query + name: actionStatus + required: false schema: + enum: + - FAILED + - IN_QUEUE + - PENDING + - RUNNING + - SKIPPED + - FAILED_RETRY type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Delete document attribute - tags: - - Document Attributes - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - get: - description: Get a document attribute by using its key - operationId: GetDocumentAttribute - parameters: - - description: Site Identifier + style: form + - description: Fetch documents with an sync status explode: true in: query - name: siteId + name: syncStatus required: false schema: + enum: + - FULLTEXT_METADATA_FAILED + - FULLTEXT_CONTENT_FAILED type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true + - description: Fetch soft deleted documents + explode: true + in: query + name: deleted + required: false + schema: + type: boolean + style: form + - description: Fetch documents inserted on a certain date (yyyy-MM-dd) + explode: true + in: query + name: date + required: false schema: type: string - style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true + style: form + - description: "UTC offset to apply to date parameter (IE: -0600)" + explode: true + in: query + name: tz + required: false schema: type: string - style: simple + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Previous page of results token + explode: true + in: query + name: previous + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentAttributeResponse' + $ref: "#/components/schemas/GetDocumentsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document attribute by key + summary: Get Documents listing tags: - - Document Attributes + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - put: - description: Set attributes value to a document - operationId: SetDocumentAttributeValue + post: + description: |- + Creates a new document; body may include document content if less than 5 MB. + + Returns a unique **documentId** used in subsequent operations. + + See POST /documents/{documentId}/tags for adding tags to document schema + + See POST /documents/{documentId}/actions for adding actions to document schema + operationId: AddDocument parameters: - description: Site Identifier explode: true @@ -2670,57 +2481,106 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false schema: type: string - style: simple + style: form requestBody: content: application/json: + examples: + Simple_File: + value: + path: test.txt + contentType: text/plain + isBase64: false + content: This is sample data file + tags: + - key: category + value: sample + - key: players + values: + - "111" + - "222" + metadata: + - key: info + value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\ + \ sed do eiusmod tempor incididunt ut labore et dolore magna\ + \ aliqua." + Child_Document: + value: + path: doc1.txt + contentType: text/plain + content: This is document1 content + tags: + - key: type + value: document1 + documents: + contentType: "text/plain," + content: "This is child document1 content," + tags: + - key: type + value: childdocument1 + Document_with_Webhook: + value: + path: test.txt + contentType: text/plain + isBase64: false + content: This is sample data file + actions: + - type: webhook + parameters: + url: schema: - $ref: '#/components/schemas/SetDocumentAttributeRequest' + $ref: "#/components/schemas/AddDocumentRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' - description: 200 OK + $ref: "#/components/schemas/AddDocumentResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Set document's attributes value + summary: Add new document tags: - - Document Attributes + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/attributes/{attributeKey}/{attributeValue}: + /documents/{documentId}: delete: - description: Delete a specific document attribute key/value combination; the - request will be ignored if there is no valid key/value combination found - operationId: DeleteDocumentAttributeAndValue + description: |- + Delete a document's details, i.e., metadata, contents, etc + + SoftDelete: + + The SoftDelete parameter allows for the temporary removal of a document's metadata, attributes, etc from being retrieved from all API requests. + + The document can be permanently deleted by calling the DELETE /documents/{documentId} with softDelete=false or restored using the PUT /documents/{documentId}/restore. + + Only the GET /documents?deleted=true will return all the soft deleted documents. + operationId: DeleteDocument parameters: - description: Site Identifier explode: true @@ -2738,49 +2598,40 @@ paths: schema: type: string style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true - schema: - type: string - style: simple - - description: Attribute Value - explode: false - in: path - name: attributeValue - required: true + - description: Whether to soft delete document + explode: true + in: query + name: softDelete + required: false schema: - type: string - style: simple + type: boolean + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document's attribute value + summary: Delete document tags: - - Document Attributes + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/tags: get: - description: Get a listing of a document's tags - operationId: GetDocumentTags + description: "Retrieves a document's details, i.e., metadata" + operationId: GetDocument parameters: - description: Site Identifier explode: true @@ -2798,15 +2649,6 @@ paths: schema: type: string style: simple - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - description: Share Identifier explode: true in: query @@ -2815,49 +2657,36 @@ paths: schema: type: string style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Previous page of results token - explode: true - in: query - name: previous - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentTagsResponse' + $ref: "#/components/schemas/GetDocumentResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document's tags + summary: Get document tags: - - Document Tags + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json patch: - description: Updates multiple tags to a document; this endpoint also accepts - a different body parameter for updating a single tag - operationId: UpdateDocumentTags + description: "Update a document's details, i.e., metadata\n\nIf no content is\ + \ specified, the endpoint will return a S3 Presigned that will allow for the\ + \ uploading of Large document data. \n\nNOTE:\n- provided attributes will\ + \ overwrite existing matching attribute keys in the document. Attributes not\ + \ included in the request body will remain unchanged." + operationId: UpdateDocument parameters: - description: Site Identifier explode: true @@ -2875,54 +2704,76 @@ paths: schema: type: string style: simple + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form requestBody: content: application/json: examples: - Add_Key_Only_Tag: - value: - tags: - - key: category - Add_Key_and_Value_Tag: + Simple_File: value: + path: test.txt + contentType: text/plain + isBase64: false + content: This is sample data file tags: - key: category value: sample - Add_Key_and_Values_Tag: - value: - tags: - key: players values: - "111" - "222" + metadata: + - key: info + value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\ + \ sed do eiusmod tempor incididunt ut labore et dolore magna\ + \ aliqua." schema: - $ref: '#/components/schemas/AddDocumentTagsRequest' + $ref: "#/components/schemas/UpdateDocumentRequest" required: true responses: "200": - content: {} + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Update document tags + summary: Update document tags: - - Document Tags + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - post: - description: Add multiple tags to a document; this endpoint also accepts a different - body parameter for adding a single tag - operationId: AddDocumentTags + /documents/{documentId}/purge: + delete: + description: "Remove all objects from the S3 bucket, including previous versions\ + \ and current version, and should remove all metadata as well, so that no\ + \ trace of the document exists outside of the audit logs and any backups.\ + \ Can only be called be ADMIN or GOVERN." + operationId: PurgeDocument parameters: - description: Site Identifier explode: true @@ -2940,51 +2791,42 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - examples: - Add_Key_Only_Tag: - value: - key: category - Add_Key_and_Value_Tag: - value: - key: category - value: person - Add_Key_and_Values_Tag: - value: - key: category - values: - - person - - canadian - schema: - $ref: '#/components/schemas/AddDocumentTagsRequest' - required: true responses: - "201": - content: {} + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add tag to document + summary: Purge document tags: - - Document Tags + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - put: - description: Set multiple tags to a document; this endpoint also accepts a different - body parameter for setting a single tag - operationId: SetDocumentTags + /documents/{documentId}/content: + get: + description: "Retrieves the content of the document with the specified `documentId`.\n\ + - If the content is plain text and under 6 MB, the content will be returned\ + \ directly.\n- If the content is plain text but exceeds 6 MB, an error will\ + \ be returned.\n- For documents not in plain text format, pre-signed S3 URLs\ + \ will be returned to download the content from S3.\nIt is recommended to\ + \ use the `/documents/{documentId}/url` endpoint to retrieve pre-signed S3\ + \ URLs for downloading the content.\n\nIf the document has a Content-Type\ + \ of text/, application/json, application/x-www-form-urlencoded the content\ + \ field will be returned. \nAll other Content-Type, the contentUrl field will\ + \ be returned, which is a S3 Presigned url.\n" + operationId: GetDocumentContent parameters: - description: Site Identifier explode: true @@ -3002,54 +2844,51 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - examples: - Add_Key_Only_Tag: - value: - tags: - - key: category - Add_Key_and_Value_Tag: - value: - tags: - - key: category - value: sample - Add_Key_and_Values_Tag: - value: - tags: - - key: players - values: - - "111" - - "222" - schema: - $ref: '#/components/schemas/AddDocumentTagsRequest' - required: true + - description: Version Key (version key required URL encoding) + explode: true + in: query + name: versionKey + required: false + schema: + type: string + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form responses: "200": - content: {} + content: + application/json: + schema: + $ref: "#/components/schemas/GetDocumentContentResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + Location: + $ref: "#/components/headers/Location" security: - ApiAuthorization: [] - summary: Set document's tags + summary: Get document's contents tags: - - Document Tags + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/tags/{tagKey}: - delete: - description: Delete a document tag by using its key - operationId: DeleteDocumentTag + /documents/{documentId}/attributes: + get: + description: Get a listing of a document's attributes + operationId: GetDocumentAttributes parameters: - description: Site Identifier explode: true @@ -3067,40 +2906,50 @@ paths: schema: type: string style: simple - - description: Tag Key - explode: false - in: path - name: tagKey - required: true + - description: Limit Results + explode: true + in: query + name: limit + required: false schema: + default: "10" type: string - style: simple + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/GetDocumentAttributesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document tag + summary: Get document's attributes tags: - - Document Tags + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - get: - description: Get a document tag by using its key - operationId: GetDocumentTag + post: + description: Add multiple attributes to a document; this endpoint also accepts + a different body parameter for adding a single attribute + operationId: AddDocumentAttributes parameters: - description: Site Identifier explode: true @@ -3118,49 +2967,43 @@ paths: schema: type: string style: simple - - description: Tag Key - explode: false - in: path - name: tagKey + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentAttributesRequest" required: true - schema: - type: string - style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentTagResponse' + $ref: "#/components/schemas/AddResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document tag by key + summary: Add attribute to document tags: - - Document Tags + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json put: - description: "Update any and all values of a document tag, by using its key;\ - \ you can supply one tag value or a list of tag values in the request body" - operationId: SetDocumentTag + description: |- + Set multiple attributes to a document; this endpoint also accepts a different body parameter for setting a single attribute + + Note: + - attributes in the request will overwrite existing attributes. + operationId: SetDocumentAttributes parameters: - description: Site Identifier explode: true @@ -3178,46 +3021,40 @@ paths: schema: type: string style: simple - - description: Tag Key - explode: false - in: path - name: tagKey - required: true - schema: - type: string - style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/SetDocumentTagKeyRequest' + $ref: "#/components/schemas/SetDocumentAttributesRequest" required: true responses: "200": - content: {} + content: + application/json: + schema: + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update document tag value(s) + summary: Set document's attributes tags: - - Document Tags + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/tags/{tagKey}/{tagValue}: + /documents/{documentId}/attributes/{attributeKey}: delete: - description: Delete a specific document tag's key/value combination; the request - will be ignored if there is no valid key/value combination found - operationId: DeleteDocumentTagAndValue + description: Delete a document attribute by using its key + operationId: DeleteDocumentAttribute parameters: - description: Site Identifier explode: true @@ -3235,58 +3072,91 @@ paths: schema: type: string style: simple - - description: Tag Key + - description: Attribute Key explode: false in: path - name: tagKey + name: attributeKey required: true schema: type: string style: simple - - description: Tag Key Value + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete document attribute + tags: + - Document Attributes + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Get a document attribute by using its key + operationId: GetDocumentAttribute + 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: tagValue + name: documentId required: true schema: type: string style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false + - description: Attribute Key + explode: false + in: path + name: attributeKey + required: true schema: type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/GetDocumentAttributeResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document's tag value + summary: Get document attribute by key tags: - - Document Tags + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/tags: - patch: - description: This API request allows the adding/updating of multiple document - tag(s) based on document(s) that have the matching tag. - operationId: UpdateMatchingDocumentTags + put: + description: Set attributes value to a document + operationId: SetDocumentAttributeValue parameters: - description: Site Identifier explode: true @@ -3296,41 +3166,57 @@ paths: schema: type: string style: form + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: Attribute Key + explode: false + in: path + name: attributeKey + required: true + schema: + type: string + style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/UpdateMatchingDocumentTagsRequest' + $ref: "#/components/schemas/SetDocumentAttributeRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateMatchingDocumentTagsResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Mass Update document tag(s) + summary: Set document's attributes value tags: - - Document Tags + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/url: - get: - description: Returns a URL for the document's contents; this URL will expire - (the default is 48 hours) - operationId: GetDocumentUrl + /documents/{documentId}/attributes/{attributeKey}/{attributeValue}: + delete: + description: Delete a specific document attribute key/value combination; the + request will be ignored if there is no valid key/value combination found + operationId: DeleteDocumentAttributeAndValue parameters: - description: Site Identifier explode: true @@ -3348,87 +3234,50 @@ paths: schema: type: string style: simple - - description: Version Key (version key required URL encoding) - explode: true - in: query - name: versionKey - required: false + - description: Attribute Key + explode: false + in: path + name: attributeKey + required: true schema: type: string - style: form - - description: Indicates the number of hours request is valid for - explode: true - in: query - name: duration - required: false - schema: - type: integer - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false + style: simple + - description: Attribute Value + explode: false + in: path + name: attributeValue + required: true schema: type: string - style: form - - description: Set the Content-Disposition to inline - explode: true - in: query - name: inline - required: false - schema: - default: false - type: boolean - style: form - - description: Allow the by pass of watermark (only allowed by GOVERN / ADMIN - permissions) - explode: true - in: query - name: bypassWatermark - required: false - schema: - default: false - type: boolean - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentUrlResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document content url + summary: Delete document's attribute value tags: - - Documents + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/upload: + /documents/{documentId}/tags: get: - description: Returns a URL that can be used to upload document content and create - a new document; this endpoint (whether GET or POST) is required in order to - add content that is larger than 5 MB - operationId: GetDocumentUpload + description: Get a listing of a document's tags + operationId: GetDocumentTags parameters: - - description: The upload file's path - explode: true - in: query - name: path - required: false - schema: - type: string - style: form - description: Site Identifier explode: true in: query @@ -3437,45 +3286,43 @@ paths: schema: type: string style: form - - description: Checksum Type - explode: true - in: query - name: checksumType - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: - enum: - - SHA1 - - SHA256 type: string - style: form - - description: Checksum value + style: simple + - description: Limit Results explode: true in: query - name: checksum + name: limit required: false schema: + default: "10" type: string style: form - - description: Indicates the size of the entity-body + - description: Share Identifier explode: true in: query - name: contentLength + name: shareKey required: false schema: - type: integer + type: string style: form - - description: Indicates the number of hours request is valid for + - description: Next page of results token explode: true in: query - name: duration + name: next required: false schema: - type: integer + type: string style: form - - description: Share Identifier + - description: Previous page of results token explode: true in: query - name: shareKey + name: previous required: false schema: type: string @@ -3485,31 +3332,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentUrlResponse' + $ref: "#/components/schemas/GetDocumentTagsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get url to add large document + summary: Get document's tags tags: - - Documents + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: "Returns a URL that can be used to upload document content and\ - \ create a new document, while allowing metadata to also be sent; this endpoint\ - \ (whether GET or POST) is required in order to add content that is larger\ - \ than 5 MB. The POST endpoint allow the adding of document metadata at the\ - \ same time as the document is created." - operationId: AddDocumentUpload + patch: + description: Updates multiple tags to a document; this endpoint also accepts + a different body parameter for updating a single tag + operationId: UpdateDocumentTags parameters: - description: Site Identifier explode: true @@ -3519,84 +3363,62 @@ paths: schema: type: string style: form - - description: Indicates the size of the entity-body - explode: true - in: query - name: contentLength - required: false - schema: - type: integer - style: form - - description: Indicates the number of hours request is valid for - explode: true - in: query - name: duration - required: false - schema: - type: integer - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: type: string - style: form + style: simple requestBody: content: application/json: examples: - Simple_File: + Add_Key_Only_Tag: + value: + tags: + - key: category + Add_Key_and_Value_Tag: value: - path: test.txt - contentType: text/plain tags: - key: category value: sample + Add_Key_and_Values_Tag: + value: + tags: - key: players values: - "111" - "222" - metadata: - - key: info - value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\ - \ sed do eiusmod tempor incididunt ut labore et dolore magna\ - \ aliqua." schema: - $ref: '#/components/schemas/AddDocumentUploadRequest' + $ref: "#/components/schemas/AddDocumentTagsRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentUrlResponse' - description: 201 CREATED + "200": + content: {} + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add large document + summary: Update document tags tags: - - Documents + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/upload: - get: - description: "Returns a URL that can be used to upload documents for a specific\ - \ documentId; this endpoint is required in order to add content that is larger\ - \ than 5 MB. If versions are enabled, this will create a new version of the\ - \ document." - operationId: GetDocumentIdUpload + post: + description: Add multiple tags to a document; this endpoint also accepts a different + body parameter for adding a single tag + operationId: AddDocumentTags parameters: - description: Site Identifier explode: true @@ -3614,76 +3436,54 @@ paths: schema: type: string style: simple - - description: Checksum Type - explode: true - in: query - name: checksumType - required: false - schema: - enum: - - SHA1 - - SHA256 - type: string - style: form - - description: Checksum value - explode: true - in: query - name: checksum - required: false - schema: - type: string - style: form - - description: Indicates the size of the entity-body - explode: true - in: query - name: contentLength - required: false - schema: - type: integer - style: form - - description: Indicates the number of hours request is valid for - explode: true - in: query - name: duration - required: false - schema: - type: integer - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form + requestBody: + content: + application/json: + examples: + Add_Key_Only_Tag: + value: + key: category + Add_Key_and_Value_Tag: + value: + key: category + value: person + Add_Key_and_Values_Tag: + value: + key: category + values: + - person + - canadian + schema: + $ref: "#/components/schemas/AddDocumentTagsRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentUrlResponse' - description: 200 OK + $ref: "#/components/schemas/AddResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get url to update large document + summary: Add tag to document tags: - - Documents + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/restore: put: - description: Restores a soft deleted document - operationId: SetDocumentRestore + description: Set multiple tags to a document; this endpoint also accepts a different + body parameter for setting a single tag + operationId: SetDocumentTags parameters: - description: Site Identifier explode: true @@ -3701,36 +3501,54 @@ paths: schema: type: string style: simple + requestBody: + content: + application/json: + examples: + Add_Key_Only_Tag: + value: + tags: + - key: category + Add_Key_and_Value_Tag: + value: + tags: + - key: category + value: sample + Add_Key_and_Values_Tag: + value: + tags: + - key: players + values: + - "111" + - "222" + schema: + $ref: "#/components/schemas/AddDocumentTagsRequest" + required: true responses: "200": - content: - application/json: - schema: - $ref: '#/components/schemas/SetDocumentRestoreResponse' + content: {} description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Restore soft deleted document + summary: Set document's tags tags: - - Documents + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - /documents/compress: - post: - description: "Compress documents into an .ZIP archive file, and returns a S3\ - \ presigned url for the location of the archive file. The operation is async\ - \ and processing time depends on the number and size of documents included;\ - \ a 404 status code is returned until the file is ready." - operationId: CompressDocuments + /documents/{documentId}/tags/{tagKey}: + delete: + description: Delete a document tag by using its key + operationId: DeleteDocumentTag parameters: - description: Site Identifier explode: true @@ -3740,40 +3558,48 @@ paths: schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DocumentsCompressRequest' + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: Tag Key + explode: false + in: path + name: tagKey required: true + schema: + type: string + style: simple responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/DocumentsCompressResponse' - description: 201 CREATED + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Compress multiple documents into a .zip file + summary: Delete document tag tags: - - Documents + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /attributes: get: - description: Returns a list of attributes - operationId: GetAttributes + description: Get a document tag by using its key + operationId: GetDocumentTag parameters: - description: Site Identifier explode: true @@ -3783,21 +3609,28 @@ paths: schema: type: string style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: type: string - style: form - - description: Limit Results + style: simple + - description: Tag Key + explode: false + in: path + name: tagKey + required: true + schema: + type: string + style: simple + - description: Share Identifier explode: true in: query - name: limit + name: shareKey required: false schema: - default: "10" type: string style: form responses: @@ -3805,27 +3638,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetAttributesResponse' + $ref: "#/components/schemas/GetDocumentTagResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Attributes listing + summary: Get document tag by key tags: - - Attributes + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: Creates a new attribute - operationId: AddAttribute + put: + description: "Update any and all values of a document tag, by using its key;\ + \ you can supply one tag value or a list of tag values in the request body" + operationId: SetDocumentTag parameters: - description: Site Identifier explode: true @@ -3835,46 +3669,54 @@ paths: schema: type: string style: form + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: Tag Key + explode: false + in: path + name: tagKey + required: true + schema: + type: string + style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddAttributeRequest' + $ref: "#/components/schemas/SetDocumentTagKeyRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AddAttributeResponse' - description: 201 CREATED + "200": + content: {} + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add new attribute + summary: Update document tag value(s) tags: - - Attributes + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /attributes/{key}: + /documents/{documentId}/tags/{tagKey}/{tagValue}: delete: - description: Delete a attribute - operationId: DeleteAttribute + description: Delete a specific document tag's key/value combination; the request + will be ignored if there is no valid key/value combination found + operationId: DeleteDocumentTagAndValue parameters: - description: Site Identifier explode: true @@ -3884,46 +3726,66 @@ paths: schema: type: string style: form - - description: Key Identifier + - description: Document Identifier explode: false in: path - name: key + name: documentId + required: true + schema: + type: string + style: simple + - description: Tag Key + explode: false + in: path + name: tagKey + required: true + schema: + type: string + style: simple + - description: Tag Key Value + explode: false + in: path + name: tagValue required: true schema: type: string style: simple + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete attribute + summary: Delete document's tag value tags: - - Attributes + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - get: - description: Returns a attribute - operationId: GetAttribute + /documents/tags: + patch: + description: This API request allows the adding/updating of multiple document + tag(s) based on document(s) that have the matching tag. + operationId: UpdateMatchingDocumentTags parameters: - description: Site Identifier explode: true @@ -3933,42 +3795,41 @@ paths: schema: type: string style: form - - description: Key Identifier - explode: false - in: path - name: key + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateMatchingDocumentTagsRequest" required: true - schema: - type: string - style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetAttributeResponse' + $ref: "#/components/schemas/UpdateMatchingDocumentTagsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Attribute + summary: Mass Update document tag(s) tags: - - Attributes + - Document Tags x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - /attributes/{key}/allowedValues: + /documents/{documentId}/url: get: - description: Returns an attribute's allowed values that spans across all classifications - and site schema - operationId: GetAttributeAllowedValues + description: Returns a URL for the document's contents; this URL will expire + (the default is 48 hours) + operationId: GetDocumentUrl parameters: - description: Site Identifier explode: true @@ -3978,51 +3839,95 @@ paths: schema: type: string style: form - - description: Key Identifier + - description: Document Identifier explode: false in: path - name: key + name: documentId required: true schema: type: string style: simple + - description: Version Key (version key required URL encoding) + explode: true + in: query + name: versionKey + required: false + schema: + type: string + style: form + - description: Indicates the number of hours request is valid for + explode: true + in: query + name: duration + required: false + schema: + type: integer + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form + - description: Set the Content-Disposition to inline + explode: true + in: query + name: inline + required: false + schema: + default: false + type: boolean + style: form + - description: Allow the by pass of watermark (only allowed by GOVERN / ADMIN + permissions) + explode: true + in: query + name: bypassWatermark + required: false + schema: + default: false + type: boolean + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetAttributeAllowedValuesResponse' + $ref: "#/components/schemas/GetDocumentUrlResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Attribute Allowed Values + summary: Get document content url tags: - - Attributes + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /search: - post: - description: "Document search query request; \n\nSupports searching DynamoDB\ - \ for document(s) by a single TAG key and/or value. Value can be \"exacted\"\ - \ or \"begins_with\" matched. Search can be filtered to only check certain\ - \ documentIds (up to 100 documentIds accepted).\n\nIf using Enteprise Composite\ - \ Keys feature then multiple tag(s) can be searched for.\n\nIf Typesense is\ - \ enabled, full text search is supported through the \"text\" parameter. Full\ - \ text search will look for the text in the \"content\" and/or document \"\ - metadata\".\n\nDocumentIds parameter allows you to filter your results to\ - \ a specific set of documents. \n\nSee requestBody examples below for commmon\ - \ examples." - operationId: DocumentSearch + /documents/upload: + get: + description: Returns a URL that can be used to upload document content and create + a new document; this endpoint (whether GET or POST) is required in order to + add content that is larger than 5 MB + operationId: GetDocumentUpload parameters: + - description: The upload file's path + explode: true + in: query + name: path + required: false + schema: + type: string + style: form - description: Site Identifier explode: true in: query @@ -4031,180 +3936,108 @@ paths: schema: type: string style: form - - description: Limit Results + - description: Checksum Type explode: true in: query - name: limit + name: checksumType required: false schema: - default: "10" + enum: + - SHA1 + - SHA256 type: string style: form - - description: Next page of results token + - description: Checksum value explode: true in: query - name: next + name: checksum required: false schema: type: string style: form - - description: Previous page of results token + - description: Indicates the size of the entity-body explode: true in: query - name: previous + name: contentLength + required: false + schema: + type: integer + style: form + - description: Indicates the number of hours request is valid for + explode: true + in: query + name: duration + required: false + schema: + type: integer + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey required: false schema: type: string style: form - requestBody: - content: - application/json: - examples: - Search_By_Attribute_Key: - value: - query: - attribute: - key: category - Search_By_Attribute_Value: - value: - query: - attribute: - key: category - eq: person - Search_By_Attribute_Value_Begins_With: - value: - query: - attribute: - key: firstname - beginsWith: jo - Search_By_Tag_Key: - value: - query: - tag: - key: category - Search_By_Tag_Value: - value: - query: - tag: - key: category - eq: person - Tag_Value_Begins_With: - value: - query: - tag: - key: firstname - beginsWith: jo - Search_By_Value_for_Specific_Documents: - value: - query: - tag: - key: category - eq: person - documentIds: - - "1" - - "2" - Typesense_Fulltext_Search: - value: - query: - text: my search text - schema: - $ref: '#/components/schemas/DocumentSearchRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DocumentSearchResponse' + $ref: "#/components/schemas/GetDocumentUrlResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Document search + summary: Get url to add large document tags: - - Document Search + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/searchLambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /searchFulltext: post: - description: "Document full-text search (and more robust multi-tag search queries,\ - \ powered by OpenSearch); available as an Add-On Module" - operationId: SearchFulltext - parameters: - - description: Site Identifier - explode: true - in: query + description: "Returns a URL that can be used to upload document content and\ + \ create a new document, while allowing metadata to also be sent; this endpoint\ + \ (whether GET or POST) is required in order to add content that is larger\ + \ than 5 MB. The POST endpoint allow the adding of document metadata at the\ + \ same time as the document is created." + operationId: AddDocumentUpload + parameters: + - description: Site Identifier + explode: true + in: query name: siteId required: false schema: type: string style: form - - description: Limit Results + - description: Indicates the size of the entity-body explode: true in: query - name: limit + name: contentLength required: false schema: - default: "10" - type: string + type: integer style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/DocumentFulltextRequest' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DocumentFulltextResponse' - description: 200 OK - 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: Document full-text search - tags: - - Advanced Document Search - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' - x-content-type: application/json - x-accepts: - - application/json - /queryFulltext: - post: - description: |- - Endpoint for allowing custom, complex queries using the OpenSearch search API (https://opensearch.org/docs/latest/opensearch/rest-api/search/); available as an Add-On Module - - Example Request Body: { "query": { "match_all": {} }} - operationId: QueryFulltext - parameters: - - description: Site Identifier + - description: Indicates the number of hours request is valid for explode: true in: query - name: siteId + name: duration + required: false + schema: + type: integer + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey required: false schema: type: string @@ -4212,37 +4045,57 @@ paths: requestBody: content: application/json: + examples: + Simple_File: + value: + path: test.txt + contentType: text/plain + tags: + - key: category + value: sample + - key: players + values: + - "111" + - "222" + metadata: + - key: info + value: "Lorem ipsum dolor sit amet, consectetur adipiscing elit,\ + \ sed do eiusmod tempor incididunt ut labore et dolore magna\ + \ aliqua." schema: - $ref: '#/components/schemas/QueryFulltextRequest' + $ref: "#/components/schemas/AddDocumentUploadRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/QueryFulltextResponse' - description: 200 OK + $ref: "#/components/schemas/GetDocumentUrlResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Direct opensearch search API + summary: Add large document tags: - - Advanced Document Search + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/actions: + /documents/{documentId}/upload: get: - description: Get document actions and their status - operationId: GetDocumentActions + description: "Returns a URL that can be used to upload documents for a specific\ + \ documentId; this endpoint is required in order to add content that is larger\ + \ than 5 MB. If versions are enabled, this will create a new version of the\ + \ document." + operationId: GetDocumentIdUpload parameters: - description: Site Identifier explode: true @@ -4260,27 +4113,45 @@ paths: schema: type: string style: simple - - description: Limit Results + - description: Checksum Type explode: true in: query - name: limit + name: checksumType required: false schema: - default: "10" + enum: + - SHA1 + - SHA256 type: string style: form - - description: Share Identifier + - description: Checksum value explode: true in: query - name: shareKey + name: checksum required: false schema: type: string style: form - - description: Next page of results token + - description: Indicates the size of the entity-body explode: true in: query - name: next + name: contentLength + required: false + schema: + type: integer + style: form + - description: Indicates the number of hours request is valid for + explode: true + in: query + name: duration + required: false + schema: + type: integer + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey required: false schema: type: string @@ -4290,53 +4161,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentActionsResponse' + $ref: "#/components/schemas/GetDocumentUrlResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document actions + summary: Get url to update large document tags: - - Document Actions + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: |- - Add one or more actions to a document; this appends actions and does not replace previous actions - - Each action type supports a different set of parameters as shown in the table below: - - ### Action Parameters - - | ActionType | Parameter | Description | Example | - | -------- | ------- | ------- | ------- | - | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES | - | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | - | OCR | ocrOutputType | Convert OCR result to an Output format (textract table only) | true | - | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | - | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | - | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | - | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | - | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | - | WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | - | NOTIFICATION | notificationType | Type of Notification | email | - | NOTIFICATION | notificationToCc | Notification Carbon Copy | email@yourdomain.com | - | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | email@yourdomain.com | - | NOTIFICATION | notificationSubject | Notification Subject | Email Subject | - | NOTIFICATION | notificationText | Notification as Text | Email Text | - | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | - | QUEUE | queueId | Id of Queue | | - | IDP | mappingId | Id of Mapping | | - | EVENTBRIDGE | eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | - operationId: AddDocumentActions + /documents/{documentId}/restore: + put: + description: Restores a soft deleted document + operationId: SetDocumentRestore parameters: - description: Site Identifier explode: true @@ -4354,47 +4200,36 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentActionsRequest' - required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentActionsResponse' + $ref: "#/components/schemas/SetDocumentRestoreResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add document action + summary: Restore soft deleted document tags: - - Document Actions + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/actions/retry: + /documents/compress: post: - description: Retries all failed document action(s). Failed action status changes - to "FAILED_RETRY" and a new "PENDING" action is created. - operationId: AddDocumentRetryAction + description: "Compress documents into an .ZIP archive file, and returns a S3\ + \ presigned url for the location of the archive file. The operation is async\ + \ and processing time depends on the number and size of documents included;\ + \ a 404 status code is returned until the file is ready." + operationId: CompressDocuments parameters: - description: Site Identifier explode: true @@ -4404,49 +4239,40 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DocumentsCompressRequest" required: true - schema: - type: string - style: simple responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentActionsRetryResponse' - description: 200 OK + $ref: "#/components/schemas/DocumentsCompressResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Retries failed document action(s) + summary: Compress multiple documents into a .zip file tags: - - Document Actions + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/ocr: - delete: - description: "Delete a document's optical character recognition (OCR) result,\ - \ if exists; \n\nTesseract available for all editions, but Textract engine\ - \ and tables and forms options available as an Add-On Module" - operationId: DeleteDocumentOcr + /attributes: + get: + description: Returns a list of attributes + operationId: GetAttributes parameters: - description: Site Identifier explode: true @@ -4456,126 +4282,49 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true + - description: Next page of results token + explode: true + in: query + name: next + required: false schema: type: string - style: simple + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/GetAttributesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document ocr + summary: Get Attributes listing tags: - - Document OCR + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' - x-accepts: - - application/json - get: - description: "Get a document's optical character recognition (OCR) result, if\ - \ exists; \n\nTesseract available for all editions, but Textract engine and\ - \ tables and forms options available as an Add-On Module" - operationId: GetDocumentOcr - 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 - - description: Output Format Type - explode: true - in: query - name: outputType - required: false - schema: - enum: - - TEXT - - KEY_VALUE - - CONTENT_URL - - TABLES - type: string - style: form - - description: "Whether to return a \"contentUrl\", set value to 'true' (deprecated)" - explode: true - in: query - name: contentUrl - required: false - schema: - type: string - style: form - - description: "Returns raw 'text' of OCR content. e.g. AWS Textract returns\ - \ JSON, setting parameter to 'true' converts JSON to Text (deprecated)" - explode: true - in: query - name: text - required: false - schema: - type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentOcrResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Get document ocr content - tags: - - Document OCR - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: - description: "Document optical character recognition (OCR) request; extract\ - \ text and data from a document; \n\nTesseract available for all editions,\ - \ but Textract engine and tables and forms options available as an Add-On\ - \ Module" - operationId: AddDocumentOcr + description: Creates a new attribute + operationId: AddAttribute parameters: - description: Site Identifier explode: true @@ -4585,49 +4334,46 @@ paths: 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/AddDocumentOcrRequest' - required: false + $ref: "#/components/schemas/AddAttributeRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentOcrResponse' - description: 200 OK + $ref: "#/components/schemas/AddResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Perform document ocr + summary: Add new attribute tags: - - Document OCR + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - put: - description: "Set a document's optical character recognition (OCR) result for\ - \ a document; \n\nTesseract available for all editions, but Textract engine\ - \ and tables and forms options available as an Add-On Module" - operationId: SetDocumentOcr + /attributes/{key}: + delete: + description: Delete a attribute + operationId: DeleteAttribute parameters: - description: Site Identifier explode: true @@ -4637,49 +4383,46 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Key Identifier explode: false in: path - name: documentId + name: key required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetDocumentOcrRequest' - required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentOcrResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Set document ocr result + summary: Delete attribute tags: - - Document OCR + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/versions: get: - description: Get a listing of document content and metadata versions; available - as an Add-On Module - operationId: GetDocumentVersions + description: Returns a attribute + operationId: GetAttribute parameters: - description: Site Identifier explode: true @@ -4689,66 +4432,40 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Key Identifier explode: false in: path - name: documentId + name: key required: true schema: type: string style: simple - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentVersionsResponse' + $ref: "#/components/schemas/GetAttributeResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document's versions + summary: Get Attribute tags: - - Document Versions + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - put: - description: Set document to a previous document version; available as an Add-On - Module - operationId: SetDocumentVersion + patch: + description: Updates existing attribute + operationId: UpdateAttribute parameters: - description: Site Identifier explode: true @@ -4758,10 +4475,10 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Key Identifier explode: false in: path - name: documentId + name: key required: true schema: type: string @@ -4770,43 +4487,43 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetDocumentVersionRequest' + $ref: "#/components/schemas/UpdateAttributeRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetDocumentVersionResponse' + $ref: "#/components/schemas/UpdateResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] - summary: Set version of document + summary: Update existing attribute tags: - - Document Versions + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/versions/{versionKey}: - delete: - description: Delete a specific previous document version; available as an Add-On - Module - operationId: DeleteDocumentVersion + /attributes/{key}/allowedValues: + get: + description: Returns an attribute's allowed values that spans across all classifications + and site schema + operationId: GetAttributeAllowedValues parameters: - description: Site Identifier explode: true @@ -4816,58 +4533,50 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Version Key (version key required URL encoding) + - description: Key Identifier explode: false in: path - name: versionKey + name: key required: true schema: type: string style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/GetAttributeAllowedValuesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document version + summary: Get Attribute Allowed Values tags: - - Document Versions + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/attributes/{attributeKey}/versions: - get: - description: Get a listing of a document's attribute versions; available as - an Add-On Module - operationId: GetDocumentAttributeVersions + /search: + post: + description: "Document search query request; \n\nSupports searching DynamoDB\ + \ for document(s) by a single TAG key and/or value. Value can be \"exacted\"\ + \ or \"begins_with\" matched. Search can be filtered to only check certain\ + \ documentIds (up to 100 documentIds accepted).\n\nIf using Enteprise Composite\ + \ Keys feature then multiple tag(s) can be searched for.\n\nIf Typesense is\ + \ enabled, full text search is supported through the \"text\" parameter. Full\ + \ text search will look for the text in the \"content\" and/or document \"\ + metadata\".\n\nDocumentIds parameter allows you to filter your results to\ + \ a specific set of documents. \n\nSee requestBody examples below for commmon\ + \ examples." + operationId: DocumentSearch parameters: - description: Site Identifier explode: true @@ -4877,22 +4586,6 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true - schema: - type: string - style: simple - description: Limit Results explode: true in: query @@ -4910,33 +4603,97 @@ paths: schema: type: string style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentAttributeVersionsResponse' - description: 200 OK - headers: - Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + - description: Previous page of results token + explode: true + in: query + name: previous + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + examples: + Search_By_Attribute_Key: + value: + query: + attribute: + key: category + Search_By_Attribute_Value: + value: + query: + attribute: + key: category + eq: person + Search_By_Attribute_Value_Begins_With: + value: + query: + attribute: + key: firstname + beginsWith: jo + Search_By_Tag_Key: + value: + query: + tag: + key: category + Search_By_Tag_Value: + value: + query: + tag: + key: category + eq: person + Tag_Value_Begins_With: + value: + query: + tag: + key: firstname + beginsWith: jo + Search_By_Value_for_Specific_Documents: + value: + query: + tag: + key: category + eq: person + documentIds: + - "1" + - "2" + Typesense_Fulltext_Search: + value: + query: + text: my search text + schema: + $ref: "#/components/schemas/DocumentSearchRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DocumentSearchResponse" + description: 200 OK + headers: + Access-Control-Allow-Origin: + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document attribute's versions + summary: Document search tags: - - Document Attributes + - Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /folders: - get: - description: Get list of documents in a folder - operationId: GetFolderDocuments + /searchFulltext: + post: + description: "Document full-text search (and more robust multi-tag search queries,\ + \ powered by OpenSearch); available as an Add-On Module" + operationId: SearchFulltext parameters: - description: Site Identifier explode: true @@ -4946,18 +4703,10 @@ paths: schema: type: string style: form - - description: Index Key Identifier - explode: true - in: query - name: indexKey - required: false - schema: - type: string - style: form - - description: Path query parameter (must be URL Encoded) + - description: IndexName to query explode: true in: query - name: path + name: indexName required: false schema: type: string @@ -4971,48 +4720,49 @@ paths: default: "10" type: string style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DocumentFulltextRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetFoldersResponse' + $ref: "#/components/schemas/DocumentFulltextResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Get document folders + summary: Document full-text search tags: - - Document Folders + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/searchLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-content-type: application/json x-accepts: - application/json + /queryFulltext: post: - description: Creates a new folder - operationId: AddFolder + description: |- + Endpoint for allowing custom, complex queries using the OpenSearch search API (https://opensearch.org/docs/latest/opensearch/rest-api/search/); available as an Add-On Module + + Example Request Body: { "query": { "match_all": {} }} + operationId: QueryFulltext parameters: - description: Site Identifier explode: true @@ -5022,10 +4772,10 @@ paths: schema: type: string style: form - - description: Share Identifier + - description: IndexName to query explode: true in: query - name: shareKey + name: indexName required: false schema: type: string @@ -5034,36 +4784,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddFolderRequest' + $ref: "#/components/schemas/QueryFulltextRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddFolderResponse' - description: 201 CREATED + $ref: "#/components/schemas/QueryFulltextResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add document folder + summary: Direct opensearch search API tags: - - Document Folders + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-content-type: application/json x-accepts: - application/json - /folders/{indexKey}: - delete: - description: Delete a specific folder; folder must be empty - operationId: DeleteFolder + /documents/{documentId}/actions: + get: + description: Get document actions and their status + operationId: GetDocumentActions parameters: - description: Site Identifier explode: true @@ -5073,66 +4823,29 @@ paths: schema: type: string style: form - - description: Index Key Identifier + - description: Document Identifier explode: false in: path - name: indexKey + name: documentId required: true schema: type: string style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteFolderResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Delete document folder - tags: - - Document Folders - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - /shares: - get: - description: Get a listing of user folder/document shares; available as an Add-On - Module - operationId: GetUserShares - parameters: - - description: Group Identifier + - description: Limit Results explode: true in: query - name: group + name: limit required: false schema: + default: "10" type: string style: form - - description: Limit Results + - description: Share Identifier explode: true in: query - name: limit + name: shareKey required: false schema: - default: "10" type: string style: form - description: Next page of results token @@ -5148,28 +4861,59 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserSharesResponse' + $ref: "#/components/schemas/GetDocumentActionsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get user shared folders + summary: Get document actions tags: - - Document Shares + - Document Actions x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /shares/folders/{indexKey}: post: - description: Creates a new folder share; available as an Add-On Module - operationId: AddFolderShare + description: |- + Add one or more actions to a document; this appends actions and does not replace previous actions + + Each action type supports a different set of parameters as shown in the table below: + + ### Action Parameters + + | ActionType | Parameter | Description | Example | + | -------- | ------- | ------- | ------- | + | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') | + | OCR | ocrTextractQueries | Required for "QUERIES", questions to ask Textract | + | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | + | OCR | ocrOutputType | Convert OCR result to an Output format (textract table only) | true | + | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | + | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | + | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | + | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | + | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | + | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | + | WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | + | NOTIFICATION | notificationType | Type of Notification | email | + | NOTIFICATION | notificationToCc | Notification Carbon Copy | email@yourdomain.com | + | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | email@yourdomain.com | + | NOTIFICATION | notificationSubject | Notification Subject | Email Subject | + | NOTIFICATION | notificationText | Notification as Text | Email Text | + | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | + | QUEUE | queueId | Id of Queue | | + | IDP | mappingId | Id of Mapping | | + | EVENTBRIDGE | eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | + | RESIZE | width | The width of the image to resize (or 'auto'). | | + | RESIZE | height | The height of the image to resize (or 'auto'). | | + | RESIZE | outputType | The output type of the image (optional). | | + | RESIZE | path | The path to use when creating resized document (optional). | | + operationId: AddDocumentActions parameters: - description: Site Identifier explode: true @@ -5179,10 +4923,10 @@ paths: schema: type: string style: form - - description: Index Key Identifier + - description: Document Identifier explode: false in: path - name: indexKey + name: documentId required: true schema: type: string @@ -5191,78 +4935,43 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddFolderShareRequest' - required: true + $ref: "#/components/schemas/AddDocumentActionsRequest" + required: false responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddFolderShareResponse' - description: 201 CREATED + $ref: "#/components/schemas/AddDocumentActionsResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] - summary: Add folder share + summary: Add document action tags: - - Document Shares + - Document Actions x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /shares/{shareKey}: - delete: - description: Delete a specific document share; available as an Add-On Module - operationId: DeleteShare - parameters: - - description: Share Identifier - explode: false - in: path - name: shareKey - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteShareResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Delete folder share - tags: - - Document Shares - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - /workflows: - get: - description: Get a listing of workflows; available as an Add-On Module - operationId: GetWorkflows + /documents/{documentId}/actions/retry: + post: + description: Retries all failed document action(s). Failed action status changes + to "FAILED_RETRY" and a new "PENDING" action is created. + operationId: AddDocumentRetryAction parameters: - description: Site Identifier explode: true @@ -5272,116 +4981,49 @@ paths: schema: type: string style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - - description: Filters Status - explode: true - in: query - name: status - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: - enum: - - ACTIVE - - INACTIVE type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetWorkflowsResponse' + $ref: "#/components/schemas/AddDocumentActionsRetryResponse" description: 200 OK 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' - security: - - ApiAuthorization: [] - summary: Get workflows - tags: - - Document Workflows - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - post: - description: Creates a new Workflow; available as an Add-On Module - operationId: AddWorkflow - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddWorkflowRequest' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AddWorkflowResponse' - description: 201 CREATED - headers: - Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' - description: 400 BAD REQUEST - 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' + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Add workflow + summary: Retries failed document action(s) tags: - - Document Workflows + - Document Actions x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /workflows/{workflowId}: + /documents/{documentId}/ocr: delete: - description: Delete a Workflow; available as an Add-On Module - operationId: DeleteWorkflow + description: "Delete a document's optical character recognition (OCR) result,\ + \ if exists; \n\nTesseract available for all editions, but Textract engine\ + \ and tables and forms options available as an Add-On Module" + operationId: DeleteDocumentOcr parameters: - description: Site Identifier explode: true @@ -5391,10 +5033,10 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Document Identifier explode: false in: path - name: workflowId + name: documentId required: true schema: type: string @@ -5404,27 +5046,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteWorkflowResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete workflow + summary: Delete document ocr tags: - - Document Workflows + - Document OCR x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrLambdaApi200" x-accepts: - application/json get: - description: Get a workflow; available as an Add-On Module - operationId: GetWorkflow + description: "Get a document's optical character recognition (OCR) result, if\ + \ exists; \n\nTesseract available for all editions, but Textract engine and\ + \ tables and forms options available as an Add-On Module" + operationId: GetDocumentOcr parameters: - description: Site Identifier explode: true @@ -5434,40 +5078,81 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Document Identifier explode: false in: path - name: workflowId + name: documentId required: true schema: type: string style: simple + - description: Output Format Type + explode: true + in: query + name: outputType + required: false + schema: + enum: + - TEXT + - KEY_VALUE + - CONTENT_URL + - TABLES + type: string + style: form + - description: "Whether to return a \"contentUrl\", set value to 'true' (deprecated)" + explode: true + in: query + name: contentUrl + required: false + schema: + type: string + style: form + - description: "Returns raw 'text' of OCR content. e.g. AWS Textract returns\ + \ JSON, setting parameter to 'true' converts JSON to Text (deprecated)" + explode: true + in: query + name: text + required: false + schema: + type: string + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetWorkflowResponse' + $ref: "#/components/schemas/GetDocumentOcrResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get workflow + summary: Get document ocr content tags: - - Document Workflows + - Document OCR x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrLambdaApi200" x-accepts: - application/json - patch: - description: Update a Workflow details; available as an Add-On Module - operationId: UpdateWorkflow + post: + description: "Document optical character recognition (OCR) request; extract\ + \ text and data from a document; \n\nTesseract available for all editions,\ + \ but Textract engine and tables and forms options available as an Add-On\ + \ Module" + operationId: AddDocumentOcr parameters: - description: Site Identifier explode: true @@ -5477,10 +5162,10 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Document Identifier explode: false in: path - name: workflowId + name: documentId required: true schema: type: string @@ -5489,48 +5174,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateWorkflowRequest' - required: true + $ref: "#/components/schemas/AddDocumentOcrRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateWorkflowResponse' - description: 20) OK - 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/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/AddDocumentOcrResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update workflow + summary: Perform document ocr tags: - - Document Workflows + - Document OCR x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrLambdaApi200" x-content-type: application/json x-accepts: - application/json put: - description: Set a Workflow details; available as an Add-On Module - operationId: SetWorkflow + description: "Set a document's optical character recognition (OCR) result for\ + \ a document; \n\nTesseract available for all editions, but Textract engine\ + \ and tables and forms options available as an Add-On Module" + operationId: SetDocumentOcr parameters: - description: Site Identifier explode: true @@ -5540,10 +5214,10 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Document Identifier explode: false in: path - name: workflowId + name: documentId required: true schema: type: string @@ -5552,49 +5226,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetWorkflowRequest' - required: true + $ref: "#/components/schemas/SetDocumentOcrRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetWorkflowResponse' - description: 20) OK - 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/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/AddDocumentOcrResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Set workflow + summary: Set document ocr result tags: - - Document Workflows + - Document OCR x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrLambdaApi200" x-content-type: application/json x-accepts: - application/json - /workflows/{workflowId}/documents: + /documents/{documentId}/versions: get: - description: List documents in Workflow; available as an Add-On Module - operationId: GetWorkflowDocuments + description: Get a listing of document content and metadata versions; available + as an Add-On Module + operationId: GetDocumentVersions parameters: - description: Site Identifier explode: true @@ -5604,10 +5266,10 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Document Identifier explode: false in: path - name: workflowId + name: documentId required: true schema: type: string @@ -5621,6 +5283,14 @@ paths: default: "10" type: string style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form - description: Next page of results token explode: true in: query @@ -5634,28 +5304,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWorkflowDocumentsResponse' + $ref: "#/components/schemas/GetDocumentVersionsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of documents in workflow + summary: Get document's versions tags: - - Document Workflows + - Document Versions x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/searchLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /queues: - get: - description: Get a listing of queues; available as an Add-On Module - operationId: GetQueues + put: + description: Set document to a previous document version; available as an Add-On + Module + operationId: SetDocumentVersion parameters: - description: Site Identifier explode: true @@ -5665,21 +5335,86 @@ paths: schema: type: string style: form - - description: Next page of results token + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentVersionRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentVersionResponse" + description: 200 OK + 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: Set version of document + tags: + - Document Versions + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /documents/{documentId}/versions/{versionKey}: + delete: + description: Delete a specific previous document version; available as an Add-On + Module + operationId: DeleteDocumentVersion + parameters: + - description: Site Identifier explode: true in: query - name: next + name: siteId required: false schema: type: string style: form - - description: Limit Results + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: Version Key (version key required URL encoding) + explode: false + in: path + name: versionKey + required: true + schema: + type: string + style: simple + - description: Share Identifier explode: true in: query - name: limit + name: shareKey required: false schema: - default: "10" type: string style: form responses: @@ -5687,27 +5422,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetQueuesResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get queues + summary: Delete document version tags: - - Document Workflows + - Document Versions x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: Creates a new Queue; available as an Add-On Module - operationId: AddQueue + /documents/{documentId}/checkout: + put: + description: | + Creates a checkout for the document. Fails with **409 Conflict** if the document is already checkedout by another user; available as an Add-On Module + operationId: SetDocumentCheckout parameters: - description: Site Identifier explode: true @@ -5717,53 +5454,42 @@ paths: schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddQueueRequest' + - description: Document Identifier + explode: false + in: path + name: documentId required: true + schema: + type: string + style: simple responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AddQueueResponse' - 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": + "200": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/SetResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add queue + summary: Perform document checkout tags: - - Document Workflows + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /queues/{queueId}: + /documents/{documentId}/legalHold: delete: - description: Delete a Queue; available as an Add-On Module - operationId: DeleteQueue + description: | + Removes a legal hold checkout for the document; available as an Add-On Module + operationId: DeleteDocumentCheckoutLegalHold parameters: - description: Site Identifier explode: true @@ -5773,10 +5499,10 @@ paths: schema: type: string style: form - - description: Queue Id + - description: Document Identifier explode: false in: path - name: queueId + name: documentId required: true schema: type: string @@ -5786,27 +5512,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteQueueResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete queue + summary: Delete document legal hold checkout tags: - - Document Workflows + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - get: - description: Get a queue; available as an Add-On Module - operationId: GetQueue + put: + description: | + Creates a legal hold checkout for the document. Fails with **409 Conflict** if the document is already checkedout by another user; available as an Add-On Module + operationId: SetDocumentCheckoutLegalHold parameters: - description: Site Identifier explode: true @@ -5816,10 +5543,10 @@ paths: schema: type: string style: form - - description: Queue Id + - description: Document Identifier explode: false in: path - name: queueId + name: documentId required: true schema: type: string @@ -5829,28 +5556,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetQueueResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get queue + summary: Perform document legal hold checkout tags: - - Document Workflows + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /queues/{queueId}/documents: + /folders: get: - description: List documents in Workflow Queue; available as an Add-On Module - operationId: GetWorkflowQueueDocuments + description: Get list of documents in a folder + operationId: GetFolderDocuments parameters: - description: Site Identifier explode: true @@ -5860,14 +5587,22 @@ paths: schema: type: string style: form - - description: Queue Id - explode: false - in: path - name: queueId - required: true + - description: Index Key Identifier + explode: true + in: query + name: indexKey + required: false schema: type: string - style: simple + style: form + - description: Path query parameter (must be URL Encoded) + explode: true + in: query + name: path + required: false + schema: + type: string + style: form - description: Limit Results explode: true in: query @@ -5877,6 +5612,14 @@ paths: default: "10" type: string style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form - description: Next page of results token explode: true in: query @@ -5890,28 +5633,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWorkflowQueueDocumentsResponse' + $ref: "#/components/schemas/GetFoldersResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of documents in queue + summary: Get document folders tags: - - Document Workflows + - Document Folders x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/searchLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" x-accepts: - application/json - /documents/{documentId}/workflows: - get: - description: Gets a document workflows; available as an Add-On Module - operationId: GetDocumentWorkflows + post: + description: Creates a new folder + operationId: AddFolder parameters: - description: Site Identifier explode: true @@ -5921,53 +5663,48 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false schema: type: string - style: simple + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddFolderRequest" + required: true responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentWorkflowsResponse' - description: 200 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": + "201": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/AddFolderResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document workflows + summary: Add document folder tags: - - Document Workflows + - Document Folders x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json - post: - description: Creates a document workflow; available as an Add-On Module - operationId: AddDocumentWorkflow + /folders/{indexKey}: + delete: + description: Delete a specific folder; folder must be empty + operationId: DeleteFolder parameters: - description: Site Identifier explode: true @@ -5977,61 +5714,49 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Index Key Identifier explode: false in: path - name: documentId + name: indexKey required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentWorkflowRequest' - required: true + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentWorkflowResponse' - 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": + "200": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/DeleteFolderResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add document workflow + summary: Delete document folder tags: - - Document Workflows + - Document Folders x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/workflows/{workflowId}: + /folders/{indexKey}/permissions: get: - description: Gets a document workflow; available as an Add-On Module - operationId: GetDocumentWorkflow + description: Get list of permissions for a folder + operationId: GetFolderPermissions parameters: - description: Site Identifier explode: true @@ -6041,18 +5766,10 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Workflow Identifier + - description: Index Key Identifier explode: false in: path - name: workflowId + name: indexKey required: true schema: type: string @@ -6062,42 +5779,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentWorkflowResponse' - description: 200 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/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/GetFolderPermissionsResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document workflow + summary: Get folder permissions tags: - - Document Workflows + - Document Folders x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" x-accepts: - application/json - /documents/{documentId}/workflow/{workflowId}/decisions: - post: - description: Approve/Reject document in approval queue; available as an Add-On - Module - operationId: AddDocumentWorkflowDecisions + /folders/permissions: + put: + description: |- + Sets a folders permissions + + NOTE: Can only be called be ADMIN or GOVERN. + operationId: SetFolderPermissions parameters: - description: Site Identifier explode: true @@ -6107,70 +5813,94 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Workflow Identifier - explode: false - in: path - name: workflowId - required: true - schema: - type: string - style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentWorkflowDecisionsRequest' + $ref: "#/components/schemas/SetFolderPermissionsRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentWorkflowDecisionsResponse' - description: 201 CREATED + $ref: "#/components/schemas/SetResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Sets Folder Permissions + tags: + - Document Folders + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /shares: + get: + description: Get a listing of user folder/document shares; available as an Add-On + Module + operationId: GetUserShares + parameters: + - description: Group Identifier + explode: true + in: query + name: group + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + responses: + "200": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' - description: 400 BAD REQUEST + $ref: "#/components/schemas/GetUserSharesResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Approve/Reject document in approval queue + summary: Get user shared folders tags: - - Document Workflows + - Document Shares x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/antivirus: - put: - description: Perform an Anti-Malware / Antivirus scan on a document; available - as an Add-On Module - operationId: SetAntivirus + /shares/folders/{indexKey}: + post: + description: Creates a new folder share; available as an Add-On Module + operationId: AddFolderShare parameters: - description: Site Identifier explode: true @@ -6180,70 +5910,59 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Index Key Identifier explode: false in: path - name: documentId + name: indexKey required: true schema: type: string style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/SetAntivirusRequest' - required: false + $ref: "#/components/schemas/AddFolderShareRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/SetAntivirusResponse' - description: 200 OK + $ref: "#/components/schemas/AddFolderShareResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Antivirus document scan + summary: Add folder share tags: - - Antivirus + - Document Shares x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/fulltext: + /shares/{shareKey}: delete: - description: Remove full text search for a document from OpenSearch; available - as an Add-On Module - operationId: DeleteDocumentFulltext + description: Delete a specific document share; available as an Add-On Module + operationId: DeleteShare parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Document Identifier + - description: Share Identifier explode: false in: path - name: documentId + name: shareKey required: true schema: type: string @@ -6253,27 +5972,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteFulltextResponse' + $ref: "#/components/schemas/DeleteShareResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document full-text + summary: Delete folder share tags: - - Advanced Document Search + - Document Shares x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /workflows: get: - description: "Retrieve an OpenSearch document's details, i.e., metadata" - operationId: GetDocumentFulltext + description: Get a listing of workflows; available as an Add-On Module + operationId: GetWorkflows parameters: - description: Site Identifier explode: true @@ -6283,20 +6003,32 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true + - description: Next page of results token + explode: true + in: query + name: next + required: false schema: type: string - style: simple - - description: Share Identifier + style: form + - description: Limit Results explode: true in: query - name: shareKey + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Filters Status + explode: true + in: query + name: status required: false schema: + enum: + - ACTIVE + - INACTIVE type: string style: form responses: @@ -6304,27 +6036,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentFulltextResponse' + $ref: "#/components/schemas/GetWorkflowsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document's full-text + summary: Get workflows tags: - - Advanced Document Search + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - patch: - description: Update a document in OpenSearch; available as an Add-On Module - operationId: UpdateDocumentFulltext + post: + description: Creates a new Workflow; available as an Add-On Module + operationId: AddWorkflow parameters: - description: Site Identifier explode: true @@ -6334,47 +6066,53 @@ paths: 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/UpdateDocumentFulltextRequest' - required: false + $ref: "#/components/schemas/AddWorkflowRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/UpdateDocumentFulltextResponse' - description: 200 OK + $ref: "#/components/schemas/AddWorkflowResponse" + 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update document's full-text + summary: Add workflow tags: - - Advanced Document Search + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - post: - description: Add a document to OpenSearch; available as an Add-On Module - operationId: AddDocumentFulltext + /workflows/{workflowId}: + delete: + description: Delete a Workflow; available as an Add-On Module + operationId: DeleteWorkflow parameters: - description: Site Identifier explode: true @@ -6384,50 +6122,42 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Workflow Identifier explode: false in: path - name: documentId + name: workflowId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentFulltextRequest' - required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentFulltextResponse' + $ref: "#/components/schemas/DeleteWorkflowResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add document's full-text + summary: Delete workflow tags: - - Advanced Document Search + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - put: - description: Set all text/tags found within a document to OpenSearch; available - as an Add-On Module - operationId: SetDocumentFulltext - parameters: - - description: Site Identifier + get: + description: Get a workflow; available as an Add-On Module + operationId: GetWorkflow + parameters: + - description: Site Identifier explode: true in: query name: siteId @@ -6435,106 +6165,40 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Workflow Identifier explode: false in: path - name: documentId + name: workflowId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetDocumentFulltextRequest' - required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetDocumentFulltextResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Set document's full-text - tags: - - Advanced Document Search - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' - x-content-type: application/json - x-accepts: - - application/json - /documents/{documentId}/fulltext/tags/{tagKey}: - delete: - description: Remove document tags from OpenSearch; available as an Add-On Module - operationId: DeleteDocumentFulltextTag - 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 - - description: Tag Key - explode: false - in: path - name: tagKey - required: true - schema: - type: string - style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form - responses: - "200": - content: {} + $ref: "#/components/schemas/GetWorkflowResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete document full-text tag + summary: Get workflow tags: - - Advanced Document Search + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/fulltext/tags/{tagKey}/{tagValue}: - delete: - description: Remove document tag/value from OpenSearch; available as an Add-On - Module - operationId: DeleteDocumentFulltextTagAndValue + patch: + description: Update a Workflow details; available as an Add-On Module + operationId: UpdateWorkflow parameters: - description: Site Identifier explode: true @@ -6544,122 +6208,60 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Tag Key + - description: Workflow Identifier explode: false in: path - name: tagKey + name: workflowId required: true schema: type: string style: simple - - description: Tag Key Value - explode: false - in: path - name: tagValue + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateWorkflowRequest" required: true - schema: - type: string - style: simple - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form responses: "200": - content: {} - description: 200 OK + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateWorkflowResponse" + description: 20) OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - security: - - ApiAuthorization: [] - summary: Delete document full-text tag/value - tags: - - Advanced Document Search - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' - x-accepts: - - application/json - /documents/{documentId}/syncs: - get: - description: Retrieve the document syncs with external services status - operationId: GetDocumentSyncs - parameters: - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form - responses: - "200": + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentSyncResponse' - description: 200 OK + $ref: "#/components/schemas/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document syncs + summary: Update workflow tags: - - Documents + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - post: - description: Add a document to a service - operationId: AddDocumentSync + put: + description: Set a Workflow details; available as an Add-On Module + operationId: SetWorkflow parameters: - description: Site Identifier explode: true @@ -6669,10 +6271,10 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Workflow Identifier explode: false in: path - name: documentId + name: workflowId required: true schema: type: string @@ -6681,36 +6283,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentSyncRequest' - required: false + $ref: "#/components/schemas/SetWorkflowRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' - description: 200 OK + $ref: "#/components/schemas/SetWorkflowResponse" + description: 20) OK + 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add document sync to service + summary: Set workflow tags: - - Documents + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /userActivities: + /workflows/{workflowId}/documents: get: - description: Retrieve a user's activities - operationId: GetUserActivities + description: List documents in Workflow; available as an Add-On Module + operationId: GetWorkflowDocuments parameters: - description: Site Identifier explode: true @@ -6720,14 +6335,14 @@ paths: schema: type: string style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false + - description: Workflow Identifier + explode: false + in: path + name: workflowId + required: true schema: type: string - style: form + style: simple - description: Limit Results explode: true in: query @@ -6737,10 +6352,10 @@ paths: default: "10" type: string style: form - - description: Fetch specific user activities + - description: Next page of results token explode: true in: query - name: userId + name: next required: false schema: type: string @@ -6750,28 +6365,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserActivitesResponse' + $ref: "#/components/schemas/GetWorkflowDocumentsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get user activities + summary: Get list of documents in workflow tags: - - User Activities + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" x-accepts: - application/json - /documents/{documentId}/userActivities: + /queues: get: - description: Retrieve a user's activities for a document - operationId: GetDocumentUserActivities + description: Get a listing of queues; available as an Add-On Module + operationId: GetQueues parameters: - description: Site Identifier explode: true @@ -6781,14 +6396,6 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - description: Next page of results token explode: true in: query @@ -6811,33 +6418,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserActivitesResponse' + $ref: "#/components/schemas/GetQueuesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get user activities for a document + summary: Get queues tags: - - User Activities + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /public/documents: post: - description: |- - Allow unauthenticated creation of new documents; must be enabled during installation (disabled by default) - - See POST /documents/{documentId}/tags for adding tags to document schema - - See POST /documents/{documentId}/actions for adding actions to document schema - operationId: PublicAddDocument + description: Creates a new Queue; available as an Add-On Module + operationId: AddQueue parameters: - description: Site Identifier explode: true @@ -6851,36 +6452,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentRequest' + $ref: "#/components/schemas/AddQueueRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentResponse' + $ref: "#/components/schemas/AddQueueResponse" description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - summary: Public add document - tags: - - Public + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorsResponse" + description: 400 BAD REQUEST + 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" + security: + - ApiAuthorization: [] + summary: Add queue + tags: + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /public/webhooks/{webhooks+}: - post: - description: Receive an incoming public post to a specified webhook and creates - a document based on the data sent; must be enabled during installation (disabled - by default) - operationId: PublicAddWebhook + /queues/{queueId}: + delete: + description: Delete a Queue; available as an Add-On Module + operationId: DeleteQueue parameters: - description: Site Identifier explode: true @@ -6890,47 +6504,40 @@ paths: schema: type: string style: form - - description: Web Hook Param + - description: Queue Id explode: false in: path - name: webhooks+ + name: queueId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - type: object - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DocumentId' + $ref: "#/components/schemas/DeleteQueueResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - summary: Public add webhook + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Delete queue tags: - - Public + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /private/webhooks/{webhooks+}: - post: - description: Receive an incoming private webhook and creates a document based - on the webhook's body; requires authentication - operationId: AddWebhookDocument + get: + description: Get a queue; available as an Add-On Module + operationId: GetQueue parameters: - description: Site Identifier explode: true @@ -6940,50 +6547,41 @@ paths: schema: type: string style: form - - description: Web Hook Param + - description: Queue Id explode: false in: path - name: webhooks+ + name: queueId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - type: object - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DocumentId' + $ref: "#/components/schemas/GetQueueResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add webhook + summary: Get queue tags: - - Webhooks + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /webhooks: + /queues/{queueId}/documents: get: - description: "Return a list of webhooks; each webhook's id can be provided to\ - \ an external service, allowing data to be sent, received, and processed via\ - \ that webhook" - operationId: GetWebhooks + description: List documents in Workflow Queue; available as an Add-On Module + operationId: GetWorkflowQueueDocuments parameters: - description: Site Identifier explode: true @@ -6993,21 +6591,29 @@ paths: schema: type: string style: form - - description: Next page of results token + - description: Queue Id + explode: false + in: path + name: queueId + required: true + schema: + type: string + style: simple + - description: Limit Results explode: true in: query - name: next + name: limit required: false schema: + default: "10" type: string style: form - - description: Limit Results + - description: Next page of results token explode: true in: query - name: limit + name: next required: false schema: - default: "10" type: string style: form responses: @@ -7015,29 +6621,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWebhooksResponse' + $ref: "#/components/schemas/GetWorkflowQueueDocumentsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get webhooks + summary: Get list of documents in queue tags: - - Webhooks + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" x-accepts: - application/json - post: - description: "Create a new webhook; once created, a webhook's id can be provided\ - \ to an external service, allowing data to be sent, received, and processed\ - \ via that webhook" - operationId: AddWebhook + /documents/{documentId}/workflows: + get: + description: Gets a document workflows; available as an Add-On Module + operationId: GetDocumentWorkflows parameters: - description: Site Identifier explode: true @@ -7047,50 +6652,54 @@ paths: schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddWebhookRequest' + - description: Document Identifier + explode: false + in: path + name: documentId required: true + schema: + type: string + style: simple responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddWebhookResponse' - description: 201 CREATED + $ref: "#/components/schemas/GetDocumentWorkflowsResponse" + description: 200 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add webhook + summary: Get document workflows tags: - - Webhooks + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /webhooks/{webhookId}: - delete: - description: "Delete a webhook; this will disable sending, receiving, or processing\ - \ of data from external services to this webhook" - operationId: DeleteWebhook + post: + description: Creates a document workflow; available as an Add-On Module + operationId: AddDocumentWorkflow parameters: - - description: Web Hook Param - explode: false - in: path - name: webhookId - required: true - schema: - type: string - style: simple - description: Site Identifier explode: true in: query @@ -7099,32 +6708,61 @@ paths: 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/AddDocumentWorkflowRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' - description: 200 OK + $ref: "#/components/schemas/AddDocumentWorkflowResponse" + 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete webhook + summary: Add document workflow tags: - - Webhooks + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json + /documents/{documentId}/workflows/{workflowId}: get: - description: "Return a webhook's details, i.e., its metadata" - operationId: GetWebhook + description: Gets a document workflow; available as an Add-On Module + operationId: GetDocumentWorkflow parameters: - description: Site Identifier explode: true @@ -7134,10 +6772,18 @@ paths: schema: type: string style: form - - description: Web Hook Param + - description: Document Identifier explode: false in: path - name: webhookId + name: documentId + required: true + schema: + type: string + style: simple + - description: Workflow Identifier + explode: false + in: path + name: workflowId required: true schema: type: string @@ -7147,27 +6793,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWebhookResponse' - description: 200 OK + $ref: "#/components/schemas/GetDocumentWorkflowResponse" + description: 200 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get webhook + summary: Get document workflow tags: - - Webhooks + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - patch: - description: "Updates a webhook's details, i.e., its metadata" - operationId: UpdateWebhook + /documents/{documentId}/workflow/{workflowId}/decisions: + post: + description: Approve/Reject document in approval queue; available as an Add-On + Module + operationId: AddDocumentWorkflowDecisions parameters: - description: Site Identifier explode: true @@ -7177,10 +6838,18 @@ paths: schema: type: string style: form - - description: Web Hook Param + - description: Document Identifier explode: false in: path - name: webhookId + name: documentId + required: true + schema: + type: string + style: simple + - description: Workflow Identifier + explode: false + in: path + name: workflowId required: true schema: type: string @@ -7189,36 +6858,51 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddWebhookRequest' + $ref: "#/components/schemas/AddDocumentWorkflowDecisionsRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/UpdateResponse' - description: 200 OK + $ref: "#/components/schemas/AddDocumentWorkflowDecisionsResponse" + 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update webhook + summary: Approve/Reject document in approval queue tags: - - Webhooks + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /webhooks/{webhookId}/tags: - get: - description: Get a webhook's tags - operationId: GetWebhookTags + /documents/{documentId}/antivirus: + put: + description: "Perform an Anti-Malware / Antivirus scan on a document; available\ + \ as an Add-On Module\n**Deprecated**. This endpoint is no longer recommended.\ + \ \nPlease use the **`/documents/{document}/malwareScan`** endpoint instead.\n" + operationId: SetAntivirus parameters: - description: Site Identifier explode: true @@ -7228,96 +6912,130 @@ paths: schema: type: string style: form - - description: Web Hook Param + - description: Document Identifier explode: false in: path - name: webhookId + name: documentId required: true schema: type: string style: simple + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetAntivirusRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetWebhookTagsResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get webhook tags + summary: Antivirus document scan tags: - - Webhooks + - MalwareScan x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" + x-content-type: application/json x-accepts: - application/json - post: - description: Add a tag to a webhook - operationId: AddWebhookTag + /documents/{documentId}/malwareScan: + get: + description: Gets a Malware Scan results; available as an Add-On Module + operationId: GetMalwareScanResults parameters: - - description: Web Hook Param + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier explode: false in: path - name: webhookId + name: documentId required: true schema: type: string style: simple - - description: Site Identifier + - description: Next page of results token explode: true in: query - name: siteId + name: next required: false schema: type: string style: form - requestBody: - content: - application/json: - examples: - Add_Key_Only_Tag: - value: - key: category - Add_Key_and_Value_Tag: - value: - key: category - value: person - schema: - $ref: '#/components/schemas/AddWebhookTagRequest' - required: true + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form responses: - "201": - content: {} - description: 200 OK + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetMalwareScanResponse" + description: 200 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/ErrorsResponse" + description: 400 BAD REQUEST headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add webhook tag + summary: Get Malware Scan results tags: - - Webhooks + - MalwareScan x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" x-accepts: - application/json - /indices/{indexType}/move: - post: - description: Perform an Folder Index Move - operationId: IndexFolderMove + put: + description: | + Perform an Anti-Malware / Antivirus scan on a document; available as an Add-On Module + operationId: SetMalwareScan parameters: - description: Site Identifier explode: true @@ -7327,10 +7045,10 @@ paths: schema: type: string style: form - - description: Index Type + - description: Document Identifier explode: false in: path - name: indexType + name: documentId required: true schema: type: string @@ -7339,44 +7057,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IndexFolderMoveRequest' - required: true + $ref: "#/components/schemas/SetMalwareScanRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/IndexFolderMoveResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] + summary: MalwareScan document scan tags: - - Custom Index + - MalwareScan x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" x-content-type: application/json x-accepts: - application/json - /indices/{indexType}/{indexKey}: + /documents/{documentId}/fulltext: delete: - description: |- - Perform a delete on the Folder Index. - - When deleting a file from the "folder" index, you can set the indexKey to a URLEncoded path variable. - operationId: DeleteIndex + description: Remove full text search for a document from OpenSearch; available + as an Add-On Module + operationId: DeleteDocumentFulltext parameters: - description: Site Identifier explode: true @@ -7386,18 +7097,10 @@ paths: schema: type: string style: form - - description: Index Key Identifier - explode: false - in: path - name: indexKey - required: true - schema: - type: string - style: simple - - description: Index Type + - description: Document Identifier explode: false in: path - name: indexType + name: documentId required: true schema: type: string @@ -7407,34 +7110,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteIndicesResponse' + $ref: "#/components/schemas/DeleteFulltextResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] + summary: Delete document full-text tags: - - Custom Index + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /indices/search: - post: - description: Perform a search on a index; this is currently available for both - folder and tag indices - operationId: IndexSearch + get: + description: "Retrieve an OpenSearch document's details, i.e., metadata" + operationId: GetDocumentFulltext parameters: - description: Site Identifier explode: true @@ -7444,72 +7140,48 @@ paths: schema: type: string style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form - - description: Next page of results token - explode: true - in: query - name: next - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: type: string - style: form - - description: Previous page of results token + style: simple + - description: Share Identifier explode: true in: query - name: previous + name: shareKey required: false schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/IndexSearchRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/IndexSearchResponse' + $ref: "#/components/schemas/GetDocumentFulltextResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] + summary: Get document's full-text tags: - - Custom Index - - Tag Index + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /esignature/docusign/{documentId}/envelopes: - post: - description: DocuSign create Docusign Envelope request; available as an Add-On - Module - operationId: AddDocusignEnvelopes + patch: + description: Update a document in OpenSearch; available as an Add-On Module + operationId: UpdateDocumentFulltext parameters: - description: Site Identifier explode: true @@ -7531,43 +7203,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocusignEnvelopesRequest' - required: true + $ref: "#/components/schemas/UpdateDocumentFulltextRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocusignEnvelopesResponse' + $ref: "#/components/schemas/UpdateDocumentFulltextResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Create Docusign Envelope request + summary: Update document's full-text tags: - - E-Signature + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-content-type: application/json x-accepts: - application/json - /esignature/docusign/{documentId}/envelopes/{envelopeId}/views/recipient: post: - description: DocuSign create Docusign Recipient View request; available as an - Add-On Module - operationId: AddDocusignRecipientView + description: Add a document to OpenSearch; available as an Add-On Module + operationId: AddDocumentFulltext parameters: - description: Site Identifier explode: true @@ -7585,237 +7249,231 @@ paths: schema: type: string style: simple - - description: Docusign Envelope Id - explode: false - in: path - name: envelopeId - required: true - schema: - type: string - style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddDocusignRecipientViewRequest' - required: true + $ref: "#/components/schemas/AddDocumentFulltextRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocusignRecipientViewResponse' + $ref: "#/components/schemas/AddDocumentFulltextResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Create Docusign Recipient View request + summary: Add document's full-text tags: - - E-Signature + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-content-type: application/json x-accepts: - application/json - /esignature/docusign/events: - post: - description: DocuSign callback URL handler; available as an Add-On Module - operationId: AddEsignatureDocusignEvents + put: + description: Set all text/tags found within a document to OpenSearch; available + as an Add-On Module + operationId: SetDocumentFulltext + 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/SetDocumentFulltextRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' + $ref: "#/components/schemas/SetDocumentFulltextResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - summary: Add E-signature event + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Set document's full-text tags: - - E-Signature + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /groups: - get: - description: Returns the list of user groups - operationId: GetGroups + /documents/{documentId}/fulltext/tags/{tagKey}: + delete: + description: Remove document tags from OpenSearch; available as an Add-On Module + operationId: DeleteDocumentFulltextTag parameters: - - description: Limit Results + - description: Site Identifier explode: true in: query - name: limit + name: siteId required: false schema: - default: "10" type: string style: form - - description: Next page of results token + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + - description: Tag Key + explode: false + in: path + name: tagKey + required: true + schema: + type: string + style: simple + - description: Share Identifier explode: true in: query - name: next + name: shareKey required: false schema: type: string style: form responses: "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetGroupsResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Get list of user group(s) - tags: - - User Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - post: - description: Add a new group - operationId: AddGroup - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddGroupRequest' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/AddResponse' + content: {} description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add a group + summary: Delete document full-text tag tags: - - User Management + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /groups/{groupName}: + /documents/{documentId}/fulltext/tags/{tagKey}/{tagValue}: delete: - description: Delete Group - operationId: DeleteGroup + description: Remove document tag/value from OpenSearch; available as an Add-On + Module + operationId: DeleteDocumentFulltextTagAndValue parameters: - - description: Group Name + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier explode: false in: path - name: groupName + name: documentId required: true schema: type: string style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Delete Group - tags: - - User Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - get: - description: Returns a user group - operationId: GetGroup - parameters: - - description: Group Name + - description: Tag Key explode: false in: path - name: groupName + name: tagKey + required: true + schema: + type: string + style: simple + - description: Tag Key Value + explode: false + in: path + name: tagValue required: true schema: type: string style: simple + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form responses: "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetGroupResponse' + content: {} description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get a user group + summary: Delete document full-text tag/value tags: - - User Management + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /groups/{groupName}/users: + /documents/{documentId}/syncs: get: - description: Returns the list of users in a group - operationId: GetUsersInGroup + description: Retrieve the document syncs with external services status + operationId: GetDocumentSyncs parameters: - - description: Group Name + - description: Document Identifier explode: false in: path - name: groupName + name: documentId required: true schema: type: string style: simple + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form - description: Limit Results explode: true in: query @@ -7825,10 +7483,10 @@ paths: default: "10" type: string style: form - - description: Next page of results token + - description: Share Identifier explode: true in: query - name: next + name: shareKey required: false schema: type: string @@ -7838,32 +7496,40 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUsersInGroupResponse' + $ref: "#/components/schemas/GetDocumentSyncResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get users in a group + summary: Get document syncs tags: - - User Management + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: - description: Adds a user to a group - operationId: AddUserToGroup + description: Add a document to a service + operationId: AddDocumentSync parameters: - - description: Group Name + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Document Identifier explode: false in: path - name: groupName + name: documentId required: true schema: type: string @@ -7872,81 +7538,54 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddUserRequest' - required: true + $ref: "#/components/schemas/AddDocumentSyncRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' + $ref: "#/components/schemas/AddResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add User to a group + summary: Add document sync to service tags: - - User Management + - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /groups/{groupName}/users/{username}: - delete: - description: Remove Username From Group - operationId: RemoveUsernameFromGroup + /documents/{documentId}/dataClassification: + get: + description: Retrieve an document's data classification; available as an Add-On + Module + operationId: GetDocumentDataClassification parameters: - - description: Group Name - explode: false - in: path - name: groupName - required: true + - description: Site Identifier + explode: true + in: query + name: siteId + required: false schema: type: string - style: simple - - description: Username + style: form + - description: Document Identifier explode: false in: path - name: username + name: documentId required: true schema: type: string style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Remove Username From Group - tags: - - User Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - /users: - get: - description: Returns the list of users - operationId: GetUsers - parameters: - description: Limit Results explode: true in: query @@ -7969,141 +7608,96 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUsersResponse' + $ref: "#/components/schemas/GetDocumentDataClassificationResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of user(s) + summary: Get document's data classification tags: - - User Management + - Document Data Classification x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" x-accepts: - application/json - post: - description: Adds a user - operationId: AddUser - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddUserRequest' - required: true - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/AddResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Add User - tags: - - User Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json - x-accepts: - - application/json - /users/{username}: - delete: - description: Delete Username - operationId: DeleteUsername + put: + description: Generate Data Classfication attributes within a document; available + as an Add-On Module + operationId: SetDocumentDataClassification parameters: - - description: Username - explode: false - in: path - name: username - required: true + - description: Site Identifier + explode: true + in: query + name: siteId + required: false schema: type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Delete Username - tags: - - User Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - get: - description: Returns a user - operationId: GetUser - parameters: - - description: Username + style: form + - description: Document Identifier explode: false in: path - name: username + name: documentId required: true schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentDataClassificationRequest" + required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetUserResponse' + $ref: "#/components/schemas/SetDocumentDataClassificationResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get a user + summary: Set document's data classification tags: - - User Management + - Document Data Classification x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /users/{username}/groups: + /userActivities: get: - description: Returns a list of group user belongs to - operationId: GetListOfUserGroups + description: Retrieve a user's activities + operationId: GetUserActivities parameters: - - description: Username - explode: false - in: path - name: username - required: true + - description: Site Identifier + explode: true + in: query + name: siteId + required: false schema: type: string - style: simple + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form - description: Limit Results explode: true in: query @@ -8113,10 +7707,10 @@ paths: default: "10" type: string style: form - - description: Next page of results token + - description: Fetch specific user activities explode: true in: query - name: next + name: userId required: false schema: type: string @@ -8126,76 +7720,89 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserGroupsResponse' + $ref: "#/components/schemas/GetUserActivitesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Returns a list of group user belongs to + summary: Get user activities tags: - - User Management + - User Activities x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /users/{username}/{userOperation}: - put: - description: "Set User Operation (disable, enable, reset-password)" - operationId: SetUserOperation + /documents/{documentId}/userActivities: + get: + description: Retrieve a user's activities for a document + operationId: GetDocumentUserActivities parameters: - - description: Username - explode: false - in: path - name: username - required: true + - description: Site Identifier + explode: true + in: query + name: siteId + required: false schema: type: string - style: simple - - description: Username Operation + style: form + - description: Document Identifier explode: false in: path - name: userOperation + name: documentId required: true schema: - enum: - - DISABLE - - ENABLE - - RESET_PASSWORD type: string style: simple + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $ref: "#/components/schemas/GetUserActivitesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Set User Operation + summary: Get user activities for a document tags: - - User Management + - User Activities x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /cases: + /activities: get: - description: Returns a list of the Cases; available as an Add-On Module - operationId: GetCases + description: Retrieve an resource activities + operationId: GetResourceActivities parameters: - description: Site Identifier explode: true @@ -8205,6 +7812,70 @@ paths: schema: type: string style: form + - description: Document Identifier + explode: true + in: query + name: documentId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: true + in: query + name: entityTypeId + required: false + schema: + type: string + style: form + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + - description: Entity Identifier + explode: true + in: query + name: entityId + required: false + schema: + type: string + style: form + - description: Start of date-time range (UTC) + explode: true + in: query + name: start + required: false + schema: + format: date-time + type: string + style: form + - description: End of date-time range (UTC) + explode: true + in: query + name: end + required: false + schema: + format: date-time + type: string + style: form + - description: Sort order (default DESC) + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form - description: Next page of results token explode: true in: query @@ -8222,32 +7893,46 @@ paths: default: "10" type: string style: form + - description: Fetch specific user activities + explode: true + in: query + name: userId + required: false + schema: + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetCasesResponse' + $ref: "#/components/schemas/GetActivitesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Case listing + summary: Get resource activities tags: - - Case Management + - User Activities x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /public/documents: post: - description: Adds new case; available as an Add-On Module - operationId: AddCase + description: |- + Allow unauthenticated creation of new documents; must be enabled during installation (disabled by default) + + See POST /documents/{documentId}/tags for adding tags to document schema + + See POST /documents/{documentId}/actions for adding actions to document schema + operationId: PublicAddDocument parameters: - description: Site Identifier explode: true @@ -8261,36 +7946,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddCaseRequest' + $ref: "#/components/schemas/AddDocumentRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/AddCaseResponse' - description: 200 OK + $ref: "#/components/schemas/AddDocumentResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - security: - - ApiAuthorization: [] - summary: Add New Case + $ref: "#/components/headers/AccessControlAllowHeaders" + summary: Public add document tags: - - Case Management + - Public x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" x-content-type: application/json x-accepts: - application/json - /cases/{caseId}: - delete: - description: Delete Case - operationId: DeleteCase + /public/webhooks/{webhooks+}: + post: + description: Receive an incoming public post to a specified webhook and creates + a document based on the data sent; must be enabled during installation (disabled + by default) + operationId: PublicAddWebhook parameters: - description: Site Identifier explode: true @@ -8300,40 +7985,47 @@ paths: schema: type: string style: form - - description: Case Identifier + - description: Web Hook Param explode: false in: path - name: caseId + name: webhooks+ required: true schema: type: string style: simple + requestBody: + content: + application/json: + schema: + type: object + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseResponse' + $ref: "#/components/schemas/DocumentId" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - security: - - ApiAuthorization: [] - summary: Delete Case + $ref: "#/components/headers/AccessControlAllowHeaders" + summary: Public add webhook tags: - - Case Management + - Public x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - get: - description: Returns a Case; available as an Add-On Module - operationId: GetCase + /private/webhooks/{webhooks+}: + post: + description: Receive an incoming private webhook and creates a document based + on the webhook's body; requires authentication + operationId: AddWebhookDocument parameters: - description: Site Identifier explode: true @@ -8343,53 +8035,10 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetCaseResponse' - description: 200 OK - 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' - security: - - ApiAuthorization: [] - summary: Get Case details - tags: - - Case Management - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' - x-accepts: - - application/json - patch: - description: Updates existing case; available as an Add-On Module - operationId: UpdateCase - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Case Identifier + - description: Web Hook Param explode: false in: path - name: caseId + name: webhooks+ required: true schema: type: string @@ -8398,36 +8047,38 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateCaseRequest' + type: object required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateCaseResponse' + $ref: "#/components/schemas/DocumentId" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update existing Case + summary: Add webhook tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/documents: + /webhooks: get: - description: Returns documents in a Case; available as an Add-On Module - operationId: GetCaseDocuments + description: "Return a list of webhooks; each webhook's id can be provided to\ + \ an external service, allowing data to be sent, received, and processed via\ + \ that webhook" + operationId: GetWebhooks parameters: - description: Site Identifier explode: true @@ -8437,14 +8088,6 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - description: Next page of results token explode: true in: query @@ -8467,28 +8110,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseDocumentsResponse' + $ref: "#/components/schemas/GetWebhooksResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of document in a case + summary: Get webhooks tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /cases/{caseId}/documents/{documentId}: - delete: - description: Delete Document from Case - operationId: DeleteCaseDocument + post: + description: "Create a new webhook; once created, a webhook's id can be provided\ + \ to an external service, allowing data to be sent, received, and processed\ + \ via that webhook" + operationId: AddWebhook parameters: - description: Site Identifier explode: true @@ -8498,100 +8142,84 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - - description: Document Identifier - explode: false - in: path - name: documentId + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddWebhookRequest" required: true - schema: - type: string - style: simple responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseDocumentResponse' - description: 200 OK + $ref: "#/components/schemas/AddWebhookResponse" + description: 201 CREATED headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Document from Case + summary: Add webhook tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/tasks/{taskId}: + /webhooks/{webhookId}: delete: - description: Delete Task - operationId: DeleteTask + description: "Delete a webhook; this will disable sending, receiving, or processing\ + \ of data from external services to this webhook" + operationId: DeleteWebhook parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Case Identifier + - description: Web Hook Param explode: false in: path - name: caseId + name: webhookId required: true schema: type: string style: simple - - description: Task Identifier - explode: false - in: path - name: taskId - required: true + - description: Site Identifier + explode: true + in: query + name: siteId + required: false schema: type: string - style: simple + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseTaskResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Task + summary: Delete webhook tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: - description: Returns a Task in Case; available as an Add-On Module - operationId: GetCaseTask + description: "Return a webhook's details, i.e., its metadata" + operationId: GetWebhook parameters: - description: Site Identifier explode: true @@ -8601,18 +8229,10 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - - description: Task Identifier + - description: Web Hook Param explode: false in: path - name: taskId + name: webhookId required: true schema: type: string @@ -8622,27 +8242,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseTaskResponse' + $ref: "#/components/schemas/GetWebhookResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get task in a case + summary: Get webhook tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json patch: - description: Updates existing task; available as an Add-On Module - operationId: UpdateTask + description: "Updates a webhook's details, i.e., its metadata" + operationId: UpdateWebhook parameters: - description: Site Identifier explode: true @@ -8652,18 +8272,10 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - - description: Task Identifier + - description: Web Hook Param explode: false in: path - name: taskId + name: webhookId required: true schema: type: string @@ -8672,36 +8284,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateTaskRequest' + $ref: "#/components/schemas/AddWebhookRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateTaskResponse' + $ref: "#/components/schemas/UpdateResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update existing Task + summary: Update webhook tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/tasks/{taskId}/documents: + /webhooks/{webhookId}/tags: get: - description: Returns a list documents in a Case; available as an Add-On Module - operationId: GetTaskDocuments + description: Get a webhook's tags + operationId: GetWebhookTags parameters: - description: Site Identifier explode: true @@ -8711,67 +8323,49 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - - description: Task Identifier + - description: Web Hook Param explode: false in: path - name: taskId + name: webhookId required: true schema: type: string style: simple - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetCaseDocumentsResponse' + $ref: "#/components/schemas/GetWebhookTagsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of document in a task + summary: Get webhook tags tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /cases/{caseId}/tasks/{taskId}/documents/{documentId}: - delete: - description: Delete Document from Task - operationId: DeleteTaskDocument + post: + description: Add a tag to a webhook + operationId: AddWebhookTag parameters: + - description: Web Hook Param + explode: false + in: path + name: webhookId + required: true + schema: + type: string + style: simple - description: Site Identifier explode: true in: query @@ -8780,57 +8374,45 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId + requestBody: + content: + application/json: + examples: + Add_Key_Only_Tag: + value: + key: category + Add_Key_and_Value_Tag: + value: + key: category + value: person + schema: + $ref: "#/components/schemas/AddWebhookTagRequest" required: true - schema: - type: string - style: simple - - description: Task Identifier - explode: false - in: path - name: taskId - required: true - schema: - type: string - style: simple - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/DeleteCaseTaskDocumentResponse' + "201": + content: {} description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Document from Task + summary: Add webhook tag tags: - - Case Management + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/nigos/{nigoId}: - delete: - description: Delete Nigo - operationId: DeleteNigo + /indices/{indexType}/move: + post: + description: Perform an Folder Index Move + operationId: IndexFolderMove parameters: - description: Site Identifier explode: true @@ -8840,48 +8422,56 @@ paths: schema: type: string style: form - - description: Case Identifier + - description: Index Type explode: false in: path - name: caseId + name: indexType required: true schema: type: string style: simple - - description: Nigo Identifier - explode: false - in: path - name: nigoId + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexFolderMoveRequest" required: true - schema: - type: string - style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseNigoResponse' + $ref: "#/components/schemas/IndexFolderMoveResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Delete Nigo tags: - - Case Management + - Custom Index x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - get: - description: Returns a Nigo in Case; available as an Add-On Module - operationId: GetCaseNigo + /indices/{indexType}/{indexKey}: + delete: + description: |- + Perform a delete on the Folder Index. + + When deleting a file from the "folder" index, you can set the indexKey to a URLEncoded path variable. + operationId: DeleteIndex parameters: - description: Site Identifier explode: true @@ -8891,18 +8481,18 @@ paths: schema: type: string style: form - - description: Case Identifier + - description: Index Key Identifier explode: false in: path - name: caseId + name: indexKey required: true schema: type: string style: simple - - description: Nigo Identifier + - description: Index Type explode: false in: path - name: nigoId + name: indexType required: true schema: type: string @@ -8912,27 +8502,34 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseNigoResponse' + $ref: "#/components/schemas/DeleteIndicesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Get nigo in a case tags: - - Case Management + - Custom Index x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - patch: - description: Updates existing nigo; available as an Add-On Module - operationId: UpdateNigo + /indices/search: + post: + description: Perform a search on a index; this is currently available for both + folder and tag indices + operationId: IndexSearch parameters: - description: Site Identifier explode: true @@ -8942,56 +8539,72 @@ paths: schema: type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true + - description: Limit Results + explode: true + in: query + name: limit + required: false schema: + default: "10" type: string - style: simple - - description: Nigo Identifier - explode: false - in: path - name: nigoId - required: true + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false schema: type: string - style: simple + style: form + - description: Previous page of results token + explode: true + in: query + name: previous + required: false + schema: + type: string + style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/UpdateNigoRequest' + $ref: "#/components/schemas/IndexSearchRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateNigoResponse' + $ref: "#/components/schemas/IndexSearchResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Update existing Nigo tags: - - Case Management + - Custom Index + - Tag Index x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/nigos/{nigoId}/documents: - get: - description: Returns a list documents in a Case; available as an Add-On Module - operationId: GetNigoDocuments + /esignature/docusign/{documentId}/envelopes: + post: + description: DocuSign create Docusign Envelope request; available as an Add-On + Module + operationId: AddDocusignEnvelopes parameters: - description: Site Identifier explode: true @@ -9001,66 +8614,55 @@ paths: schema: type: string style: form - - description: Case Identifier + - description: Document Identifier explode: false in: path - name: caseId + name: documentId required: true schema: type: string style: simple - - description: Nigo Identifier - explode: false - in: path - name: nigoId + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocusignEnvelopesRequest" required: true - schema: - type: string - style: simple - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetCaseDocumentsResponse' + $ref: "#/components/schemas/AddDocusignEnvelopesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Get list of document in a task + summary: Create Docusign Envelope request tags: - - Case Management + - E-Signature x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/nigos/{nigoId}/documents/{documentId}: - delete: - description: Delete Document from Nigo - operationId: DeleteNigoDocument + /esignature/docusign/{documentId}/envelopes/{envelopeId}/views/recipient: + post: + description: DocuSign create Docusign Recipient View request; available as an + Add-On Module + operationId: AddDocusignRecipientView parameters: - description: Site Identifier explode: true @@ -9070,74 +8672,97 @@ paths: schema: type: string style: form - - description: Case Identifier + - description: Document Identifier explode: false in: path - name: caseId + name: documentId required: true schema: type: string style: simple - - description: Nigo Identifier + - description: Docusign Envelope Id explode: false in: path - name: nigoId + name: envelopeId required: true schema: type: string style: simple - - description: Document Identifier - explode: false - in: path - name: documentId + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocusignRecipientViewRequest" required: true - schema: - type: string - style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseNigoDocumentResponse' + $ref: "#/components/schemas/AddDocusignRecipientViewResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" + "400": + content: + application/json: + schema: + $ref: "#/components/schemas/ValidationErrorsResponse" + description: 400 OK security: - ApiAuthorization: [] - summary: Delete Document from Nigo + summary: Create Docusign Recipient View request tags: - - Case Management + - E-Signature x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/tasks: + /esignature/docusign/events: + post: + description: DocuSign callback URL handler; available as an Add-On Module + operationId: AddEsignatureDocusignEvents + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AddResponse" + description: 200 OK + 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" + summary: Add E-signature event + tags: + - E-Signature + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200" + x-accepts: + - application/json + /groups: get: - description: Returns a Case; available as an Add-On Module - operationId: GetCaseTasks + description: Returns the list of user groups + operationId: GetGroups parameters: - - description: Site Identifier + - description: Limit Results explode: true in: query - name: siteId + name: limit required: false schema: + default: "10" type: string style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple - description: Next page of results token explode: true in: query @@ -9146,212 +8771,146 @@ paths: schema: type: string style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetCaseTasksResponse' + $ref: "#/components/schemas/GetGroupsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of tasks in a case + summary: Get list of user group(s) tags: - - Case Management + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: - description: Adds new task; available as an Add-On Module - operationId: AddTask - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Case Identifier - explode: false - in: path - name: caseId - required: true - schema: - type: string - style: simple + description: Add a new group + operationId: AddGroup requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddTaskRequest' + $ref: "#/components/schemas/AddGroupRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddTaskResponse' + $ref: "#/components/schemas/AddResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add New Task + summary: Add a group tags: - - Case Management + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /cases/{caseId}/nigos: - get: - description: Returns a Nigos of Case; available as an Add-On Module - operationId: GetCaseNigos + /groups/{groupName}: + delete: + description: Delete Group + operationId: DeleteGroup parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Case Identifier + - description: Group Name explode: false in: path - name: caseId + name: groupName required: true schema: type: string style: simple - - description: Next page of results token - explode: true - in: query - name: next - required: false - schema: - type: string - style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false - schema: - default: "10" - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetCaseNigosResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get list of Nigos in a case + summary: Delete Group tags: - - Case Management + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - post: - description: Adds new nigo; available as an Add-On Module - operationId: AddNigo + get: + description: Returns a user group + operationId: GetGroup parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Case Identifier + - description: Group Name explode: false in: path - name: caseId + name: groupName required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddNigoRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddNigoResponse' + $ref: "#/components/schemas/GetGroupResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add New Nigo + summary: Get a user group tags: - - Case Management + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /mappings: + /groups/{groupName}/users: get: - description: Returns a list of mappings; available as an Add-On Module - operationId: GetMappings + description: Returns the list of users in a group + operationId: GetUsersInGroup parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false + - description: Group Name + explode: false + in: path + name: groupName + required: true schema: type: string - style: form + style: simple - description: Limit Results explode: true in: query @@ -9374,89 +8933,83 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetMappingsResponse' + $ref: "#/components/schemas/GetUsersInGroupResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Mappings + summary: Get users in a group tags: - - Mappings + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: - description: Creates a new mapping; available as an Add-On Module - operationId: AddMapping + description: Adds a user to a group + operationId: AddUserToGroup parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false + - description: Group Name + explode: false + in: path + name: groupName + required: true schema: type: string - style: form + style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddMappingRequest' + $ref: "#/components/schemas/AddUserRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddMappingResponse' - description: 201 CREATED + $ref: "#/components/schemas/AddResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add New Mapping + summary: Add User to a group tags: - - Mappings + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /mappings/{mappingId}: + /groups/{groupName}/users/{username}: delete: - description: Delete Mapping; available as an Add-On Module - operationId: DeleteMapping + description: Remove Username From Group + operationId: RemoveUsernameFromGroup parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false + - description: Group Name + explode: false + in: path + name: groupName + required: true schema: type: string - style: form - - description: Mapping Identifier + style: simple + - description: Username explode: false in: path - name: mappingId + name: username required: true schema: type: string @@ -9466,129 +9019,280 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Mapping + summary: Remove Username From Group tags: - - Mappings + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /users: get: - description: Get a mapping; available as an Add-On Module - operationId: GetMapping + description: Returns the list of users + operationId: GetUsers parameters: - - description: Site Identifier + - description: Limit Results explode: true in: query - name: siteId + name: limit required: false schema: + default: "10" type: string style: form - - description: Mapping Identifier - explode: false - in: path - name: mappingId - required: true + - description: Next page of results token + explode: true + in: query + name: next + required: false schema: type: string - style: simple + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetMappingResponse' + $ref: "#/components/schemas/GetUsersResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Mapping + summary: Get list of user(s) tags: - - Mappings + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - put: - description: Sets an mapping; available as an Add-On Module - operationId: SetMapping - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false - schema: - type: string - style: form - - description: Mapping Identifier - explode: false - in: path - name: mappingId - required: true - schema: - type: string - style: simple + post: + description: Adds a user + operationId: AddUser requestBody: content: application/json: schema: - $ref: '#/components/schemas/SetMappingRequest' + $ref: "#/components/schemas/AddUserRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' - description: 200 CREATED + $ref: "#/components/schemas/AddResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Set Mapping + summary: Add User tags: - - Mappings + - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-content-type: application/json x-accepts: - application/json - /rulesets: - get: - description: Returns a list of rule sets; available as an Add-On Module - operationId: GetRulesets + /users/{username}: + delete: + description: Delete Username + operationId: DeleteUsername parameters: - - description: Site Identifier + - description: Username + explode: false + in: path + name: username + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete Username + tags: + - User Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Returns a user + operationId: GetUser + parameters: + - description: Username + explode: false + in: path + name: username + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetUserResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get a user + tags: + - User Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /users/{username}/groups: + get: + description: Returns a list of group user belongs to + operationId: GetListOfUserGroups + parameters: + - description: Username + explode: false + in: path + name: username + required: true + schema: + type: string + style: simple + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetUserGroupsResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Returns a list of group user belongs to + tags: + - User Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /users/{username}/{userOperation}: + put: + description: "Set User Operation (disable, enable, reset-password)" + operationId: SetUserOperation + parameters: + - description: Username + explode: false + in: path + name: username + required: true + schema: + type: string + style: simple + - description: Username Operation + explode: false + in: path + name: userOperation + required: true + schema: + enum: + - DISABLE + - ENABLE + - RESET_PASSWORD + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SetResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Set User Operation + tags: + - User Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /cases: + get: + description: Returns a list of the Cases; available as an Add-On Module + operationId: GetCases + parameters: + - description: Site Identifier explode: true in: query name: siteId @@ -9618,27 +9322,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRulesetsResponse' + $ref: "#/components/schemas/GetCasesResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Rulesets + summary: Get Case listing tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json post: - description: Creates a new ruleset; available as an Add-On Module - operationId: AddRuleset + description: Adds new case; available as an Add-On Module + operationId: AddCase parameters: - description: Site Identifier explode: true @@ -9652,42 +9356,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddRulesetRequest' + $ref: "#/components/schemas/AddCaseRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddRulesetResponse' - description: 201 CREATED + $ref: "#/components/schemas/AddCaseResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add New Ruleset + summary: Add New Case tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json - /rulesets/{rulesetId}: + /cases/{caseId}: delete: - description: Delete Ruleset; available as an Add-On Module - operationId: DeleteRuleset + description: Delete Case + operationId: DeleteCase parameters: - description: Site Identifier explode: true @@ -9697,10 +9395,10 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string @@ -9710,27 +9408,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteRulesetResponse' + $ref: "#/components/schemas/DeleteCaseResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Ruleset + summary: Delete Case tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json get: - description: Get a rule sets; available as an Add-On Module - operationId: GetRuleset + description: Returns a Case; available as an Add-On Module + operationId: GetCase parameters: - description: Site Identifier explode: true @@ -9740,10 +9438,10 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string @@ -9753,27 +9451,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRulesetResponse' + $ref: "#/components/schemas/GetCaseResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Ruleset + summary: Get Case details tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json patch: - description: Updates an existing ruleset; available as an Add-On Module - operationId: UpdateRuleset + description: Updates existing case; available as an Add-On Module + operationId: UpdateCase parameters: - description: Site Identifier explode: true @@ -9783,10 +9481,10 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string @@ -9795,42 +9493,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateRulesetRequest' + $ref: "#/components/schemas/UpdateCaseRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateRulesetResponse' + $ref: "#/components/schemas/UpdateCaseResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update Ruleset + summary: Update existing Case tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json - /rulesets/{rulesetId}/rules: + /cases/{caseId}/documents: get: - description: Returns a list of rules in a ruleset; available as an Add-On Module - operationId: GetRules + description: Returns documents in a Case; available as an Add-On Module + operationId: GetCaseDocuments parameters: - description: Site Identifier explode: true @@ -9840,10 +9532,10 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string @@ -9870,27 +9562,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRulesResponse' + $ref: "#/components/schemas/GetCaseDocumentsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Rules + summary: Get list of document in a case tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json - post: - description: Creates a new rule; available as an Add-On Module - operationId: AddRule + /cases/{caseId}/documents/{documentId}: + delete: + description: Delete Document from Case + operationId: DeleteCaseDocument parameters: - description: Site Identifier explode: true @@ -9900,54 +9593,49 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddRuleRequest' + - description: Document Identifier + explode: false + in: path + name: documentId required: true + schema: + type: string + style: simple responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddRuleResponse' - description: 201 CREATED + $ref: "#/components/schemas/DeleteCaseDocumentResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add New Rule + summary: Delete Document from Case tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json - /rulesets/{rulesetId}/rules/{ruleId}: + /cases/{caseId}/tasks/{taskId}: delete: - description: Delete Rule; available as an Add-On Module - operationId: DeleteRule + description: Delete Task + operationId: DeleteTask parameters: - description: Site Identifier explode: true @@ -9957,18 +9645,18 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string style: simple - - description: Rule Identifier + - description: Task Identifier explode: false in: path - name: ruleId + name: taskId required: true schema: type: string @@ -9978,27 +9666,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteRuleResponse' + $ref: "#/components/schemas/DeleteCaseTaskResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete Rule + summary: Delete Task tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json get: - description: Returns a rule in a ruleset; available as an Add-On Module - operationId: GetRule + description: Returns a Task in Case; available as an Add-On Module + operationId: GetCaseTask parameters: - description: Site Identifier explode: true @@ -10008,18 +9696,18 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string style: simple - - description: Rule Identifier + - description: Task Identifier explode: false in: path - name: ruleId + name: taskId required: true schema: type: string @@ -10029,27 +9717,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRuleResponse' + $ref: "#/components/schemas/GetCaseTaskResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get Rule + summary: Get task in a case tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json patch: - description: Update Rule; available as an Add-On Module - operationId: UpdateRule + description: Updates existing task; available as an Add-On Module + operationId: UpdateTask parameters: - description: Site Identifier explode: true @@ -10059,18 +9747,18 @@ paths: schema: type: string style: form - - description: Ruleset Identifier + - description: Case Identifier explode: false in: path - name: rulesetId + name: caseId required: true schema: type: string style: simple - - description: Rule Identifier + - description: Task Identifier explode: false in: path - name: ruleId + name: taskId required: true schema: type: string @@ -10079,43 +9767,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateRuleRequest' + $ref: "#/components/schemas/UpdateTaskRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateRuleResponse' - description: 200 CREATED + $ref: "#/components/schemas/UpdateTaskResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Update Rule + summary: Update existing Task tags: - - Rulesets + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json - /objects/examine/pdf: + /cases/{caseId}/tasks/{taskId}/documents: get: - description: "Get Signed URL for PDF Object Upload of a document to be examined\ - \ by calling GET /objects/examine/{id}/pdf" - operationId: GetExaminePdfUrl + description: Returns a list documents in a Case; available as an Add-On Module + operationId: GetTaskDocuments parameters: - description: Site Identifier explode: true @@ -10125,36 +9806,66 @@ paths: schema: type: string style: form + - description: Case Identifier + explode: false + in: path + name: caseId + required: true + schema: + type: string + style: simple + - description: Task Identifier + explode: false + in: path + name: taskId + required: true + schema: + type: string + style: simple + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetExaminePdfUrlResponse' + $ref: "#/components/schemas/GetCaseDocumentsResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add Examine Pdf + summary: Get list of document in a task tags: - - Examine Objects + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json - /objects/examine/{id}/pdf: - get: - description: |- - Get PDF details - - File must have been uploaded previously using the GET /objects/examine/pdf API. - operationId: GetExaminePdf + /cases/{caseId}/tasks/{taskId}/documents/{documentId}: + delete: + description: Delete Document from Task + operationId: DeleteTaskDocument parameters: - description: Site Identifier explode: true @@ -10164,44 +9875,57 @@ paths: schema: type: string style: form - - description: Identifier + - description: Case Identifier explode: false in: path - name: id + name: caseId + required: true + schema: + type: string + style: simple + - description: Task Identifier + explode: false + in: path + name: taskId + required: true + schema: + type: string + style: simple + - description: Document Identifier + explode: false + in: path + name: documentId required: true schema: type: string style: simple responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/GetExaminePdfResponse' - description: 201 OK + $ref: "#/components/schemas/DeleteCaseTaskDocumentResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add Examine Pdf + summary: Delete Document from Task tags: - - Examine Objects + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json - /publications/{documentId}: + /cases/{caseId}/nigos/{nigoId}: delete: - description: "Delete a published document's contents. Certain content types,\ - \ text/*, application/json, and application/x-www-form-urlencoded. return\ - \ the \"content\" field, while all other content types return a 'contentUrl'\ - \ for retrieving the content." - operationId: DeletePublishedDocumentContent + description: Delete Nigo + operationId: DeleteNigo parameters: - description: Site Identifier explode: true @@ -10211,10 +9935,18 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Case Identifier explode: false in: path - name: documentId + name: caseId + required: true + schema: + type: string + style: simple + - description: Nigo Identifier + explode: false + in: path + name: nigoId required: true schema: type: string @@ -10224,30 +9956,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteCaseNigoResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete published document's contents + summary: Delete Nigo tags: - - Documents + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json get: - description: "Get a published document's contents. Certain content types, text/*,\ - \ application/json, and application/x-www-form-urlencoded. return the \"\ - content\" field, while all other content types return a 'contentUrl' for retrieving\ - \ the content." - operationId: GetPublishedDocumentContent + description: Returns a Nigo in Case; available as an Add-On Module + operationId: GetCaseNigo parameters: - description: Site Identifier explode: true @@ -10257,41 +9986,48 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Case Identifier explode: false in: path - name: documentId + name: caseId + required: true + schema: + type: string + style: simple + - description: Nigo Identifier + explode: false + in: path + name: nigoId required: true schema: type: string style: simple responses: - "307": - description: Temporary Redirect - headers: - Location: - explode: false + "200": + content: + application/json: schema: - type: string - style: simple + $ref: "#/components/schemas/GetCaseNigoResponse" + description: 200 OK + 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" security: - ApiAuthorization: [] - summary: Get published document's contents + summary: Get nigo in a case tags: - - Documents + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json - /documents/{documentId}/generate: - post: - description: |- - Generates a new document using a specified template file and data sources. This operation allows users to merge data from multiple documents into a template to create a new document in the desired output format (e.g., DOCX). - - By Default data source must include a `data` object, which contains key-value pairs that will be merged into the template. The value can be any valid JSON object. { "data":{}}. The data path can be adjusted via the "dataRoot" field. - - ; available as an Add-On Module - operationId: AddDocumentGenerate + patch: + description: Updates existing nigo; available as an Add-On Module + operationId: UpdateNigo parameters: - description: Site Identifier explode: true @@ -10301,10 +10037,18 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Case Identifier explode: false in: path - name: documentId + name: caseId + required: true + schema: + type: string + style: simple + - description: Nigo Identifier + explode: false + in: path + name: nigoId required: true schema: type: string @@ -10313,43 +10057,106 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentGenerateRequest' + $ref: "#/components/schemas/UpdateNigoRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentGenerateResponse' - description: 201 CREATED + $ref: "#/components/schemas/UpdateNigoResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add Document Generate + summary: Update existing Nigo tags: - - Document Generation + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/documentGenerationLambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json - /integrations/google/drive/documents/{documentId}/export: - post: - description: Exports a Google Document; available as an Add-On Module - operationId: AddGoogleDocumentExport - parameters: + /cases/{caseId}/nigos/{nigoId}/documents: + get: + description: Returns a list documents in a Case; available as an Add-On Module + operationId: GetNigoDocuments + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Case Identifier + explode: false + in: path + name: caseId + required: true + schema: + type: string + style: simple + - description: Nigo Identifier + explode: false + in: path + name: nigoId + required: true + schema: + type: string + style: simple + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetCaseDocumentsResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get list of document in a task + tags: + - Case Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" + x-accepts: + - application/json + /cases/{caseId}/nigos/{nigoId}/documents/{documentId}: + delete: + description: Delete Document from Nigo + operationId: DeleteNigoDocument + parameters: - description: Site Identifier explode: true in: query @@ -10358,6 +10165,22 @@ paths: schema: type: string style: form + - description: Case Identifier + explode: false + in: path + name: caseId + required: true + schema: + type: string + style: simple + - description: Nigo Identifier + explode: false + in: path + name: nigoId + required: true + schema: + type: string + style: simple - description: Document Identifier explode: false in: path @@ -10366,49 +10189,93 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddGoogleDocumentExportRequest' - required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddGoogleDocumentExportResponse' - description: 201 CREATED + $ref: "#/components/schemas/DeleteCaseNigoDocumentResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Delete Document from Nigo + tags: + - Case Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" + x-accepts: + - application/json + /cases/{caseId}/tasks: + get: + description: Returns a Case; available as an Add-On Module + operationId: GetCaseTasks + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Case Identifier + explode: false + in: path + name: caseId + required: true + schema: + type: string + style: simple + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/schemas/GetCaseTasksResponse" + description: 200 OK + 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" security: - ApiAuthorization: [] - summary: Add Google Document Export + summary: Get list of tasks in a case tags: - - Google Integration + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/googleLambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json - /reindex/documents/{documentId}: post: - description: |- - The API allows for the reindexing of a document's metadata determined by the target. - - ATTRIBUTE target will regenerate the composite keys for a document based on the Classification / SiteSchema - operationId: AddReindexDocument + description: Adds new task; available as an Add-On Module + operationId: AddTask parameters: - description: Site Identifier explode: true @@ -10418,10 +10285,10 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Case Identifier explode: false in: path - name: documentId + name: caseId required: true schema: type: string @@ -10430,63 +10297,1829 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddReindexDocumentRequest' + $ref: "#/components/schemas/AddTaskRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' - description: 201 CREATED + $ref: "#/components/schemas/AddTaskResponse" + description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' - "400": + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Add New Task + tags: + - Case Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /cases/{caseId}/nigos: + get: + description: Returns a Nigos of Case; available as an Add-On Module + operationId: GetCaseNigos + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Case Identifier + explode: false + in: path + name: caseId + required: true + schema: + type: string + style: simple + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/schemas/GetCaseNigosResponse" + description: 200 OK + 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" security: - ApiAuthorization: [] - summary: Reindex metadata on a document + summary: Get list of Nigos in a case tags: - - Reindex + - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json -components: - headers: - AccessControlAllowOrigin: - explode: false - schema: - type: string - style: simple - AccessControlAllowMethods: - explode: false - schema: - type: string - style: simple - AccessControlAllowHeaders: - explode: false - schema: - type: string - style: simple - Location: - explode: false - schema: - type: string - style: simple - parameters: - usernamePath: - description: Username + post: + description: Adds new nigo; available as an Add-On Module + operationId: AddNigo + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Case Identifier + explode: false + in: path + name: caseId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddNigoRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AddNigoResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Add New Nigo + tags: + - Case Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /mappings: + get: + description: Returns a list of mappings; available as an Add-On Module + operationId: GetMappings + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetMappingsResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Mappings + tags: + - Mappings + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + post: + description: Creates a new mapping; available as an Add-On Module + operationId: AddMapping + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddMappingRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddMappingResponse" + 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 New Mapping + tags: + - Mappings + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /mappings/{mappingId}: + delete: + description: Delete Mapping; available as an Add-On Module + operationId: DeleteMapping + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Mapping Identifier + explode: false + in: path + name: mappingId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete Mapping + tags: + - Mappings + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Get a mapping; available as an Add-On Module + operationId: GetMapping + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Mapping Identifier + explode: false + in: path + name: mappingId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetMappingResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Mapping + tags: + - Mappings + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + put: + description: Sets an mapping; available as an Add-On Module + operationId: SetMapping + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Mapping Identifier + explode: false + in: path + name: mappingId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetMappingRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SetResponse" + description: 200 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: Set Mapping + tags: + - Mappings + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /rulesets: + get: + description: Returns a list of rule sets; available as an Add-On Module + operationId: GetRulesets + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetRulesetsResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Rulesets + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + post: + description: Creates a new ruleset; available as an Add-On Module + operationId: AddRuleset + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddRulesetRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddRulesetResponse" + 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 New Ruleset + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /rulesets/{rulesetId}: + delete: + description: Delete Ruleset; available as an Add-On Module + operationId: DeleteRuleset + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteRulesetResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete Ruleset + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Get a rule sets; available as an Add-On Module + operationId: GetRuleset + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetRulesetResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Ruleset + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + patch: + description: Updates an existing ruleset; available as an Add-On Module + operationId: UpdateRuleset + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateRulesetRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateRulesetResponse" + description: 200 OK + 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: Update Ruleset + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /rulesets/{rulesetId}/rules: + get: + description: Returns a list of rules in a ruleset; available as an Add-On Module + operationId: GetRules + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetRulesResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Rules + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + post: + description: Creates a new rule; available as an Add-On Module + operationId: AddRule + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddRuleRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddRuleResponse" + 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 New Rule + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /rulesets/{rulesetId}/rules/{ruleId}: + delete: + description: Delete Rule; available as an Add-On Module + operationId: DeleteRule + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + - description: Rule Identifier + explode: false + in: path + name: ruleId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteRuleResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete Rule + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Returns a rule in a ruleset; available as an Add-On Module + operationId: GetRule + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + - description: Rule Identifier + explode: false + in: path + name: ruleId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetRuleResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Rule + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + patch: + description: Update Rule; available as an Add-On Module + operationId: UpdateRule + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Ruleset Identifier + explode: false + in: path + name: rulesetId + required: true + schema: + type: string + style: simple + - description: Rule Identifier + explode: false + in: path + name: ruleId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateRuleRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateRuleResponse" + description: 200 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: Update Rule + tags: + - Rulesets + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /objects/examine/pdf: + get: + description: "Get Signed URL for PDF Object Upload of a document to be examined\ + \ by calling GET /objects/examine/{id}/pdf" + operationId: GetExaminePdfUrl + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetExaminePdfUrlResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Add Examine Pdf + tags: + - Examine Objects + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200" + x-accepts: + - application/json + /objects/examine/{id}/pdf: + get: + description: |- + Get PDF details + + File must have been uploaded previously using the GET /objects/examine/pdf API. + operationId: GetExaminePdf + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Identifier + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/GetExaminePdfResponse" + description: 201 OK + 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" + security: + - ApiAuthorization: [] + summary: Add Examine Pdf + tags: + - Examine Objects + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200" + x-accepts: + - application/json + /publications/{documentId}: + delete: + description: "Delete a published document's contents. Certain content types,\ + \ text/*, application/json, and application/x-www-form-urlencoded. return\ + \ the \"content\" field, while all other content types return a 'contentUrl'\ + \ for retrieving the content." + operationId: DeletePublishedDocumentContent + 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 + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Delete published document's contents + tags: + - Documents + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: "Get a published document's contents. Certain content types, text/*,\ + \ application/json, and application/x-www-form-urlencoded. return the \"\ + content\" field, while all other content types return a 'contentUrl' for retrieving\ + \ the content." + operationId: GetPublishedDocumentContent + 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 + responses: + "307": + description: Temporary Redirect + headers: + Location: + explode: false + schema: + type: string + style: simple + security: + - ApiAuthorization: [] + summary: Get published document's contents + tags: + - Documents + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /documents/{documentId}/generate: + post: + description: |- + Generates a new document using a specified template file and data sources. This operation allows users to merge data from multiple documents into a template to create a new document in the desired output format (e.g., DOCX). + + By Default data source must include a `data` object, which contains key-value pairs that will be merged into the template. The value can be any valid JSON object. { "data":{}}. The data path can be adjusted via the "dataRoot" field. + + ; available as an Add-On Module + operationId: AddDocumentGenerate + 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/AddDocumentGenerateRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentGenerateResponse" + 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 Document Generate + tags: + - Document Generation + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/documentGenerationLambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /integrations/google/drive/documents/{documentId}/export: + post: + description: Exports a Google Document; available as an Add-On Module + 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 + /reindex/documents/{documentId}: + post: + description: |- + The API allows for the reindexing of a document's metadata determined by the target. + + ATTRIBUTE target will regenerate the composite keys for a document based on the Classification / SiteSchema + operationId: AddReindexDocument + 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/AddReindexDocumentRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddResponse" + 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: Reindex metadata on a document + tags: + - Reindex + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /entityTypes: + get: + description: Returns a list of entity types + operationId: GetEntityTypes + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetEntityTypesResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get EntityTypes + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + post: + description: Creates a Entity Type + operationId: AddEntityType + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddEntityTypeRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddEntityTypeResponse" + 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 New EntityType + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /entityTypes/{entityTypeId}: + delete: + description: Deletes Entity Type + operationId: DeleteEntityType + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Deletes Entity Type + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Returns a entity type + operationId: GetEntityType + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetEntityTypeResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get EntityType + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /entities/{entityTypeId}: + get: + description: Returns a list of entities + operationId: GetEntities + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next + required: false + schema: + type: string + style: form + - description: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetEntitiesResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Entities + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + post: + description: Creates a Entity + operationId: AddEntity + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddEntityRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/AddEntityResponse" + 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 New Entity + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /entities/{entityTypeId}/{entityId}: + delete: + description: Deletes Entity + operationId: DeleteEntity + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Entity Identifier + explode: false + in: path + name: entityId + required: true + schema: + type: string + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Deletes Entity + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Returns a entity + operationId: GetEntity + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Entity Identifier + explode: false + in: path + name: entityId + required: true + schema: + type: string + style: simple + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetEntityResponse" + description: 200 OK + 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" + security: + - ApiAuthorization: [] + summary: Get Entity + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + patch: + description: Updates a Entity + operationId: UpdateEntity + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + - description: Entity Identifier + explode: false + in: path + name: entityId + required: true + schema: + type: string + style: simple + - description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateEntityRequest" + required: true + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateResponse" + description: 200 OK + 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: Update Entity + tags: + - Entity + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json + x-accepts: + - application/json +components: + headers: + AccessControlAllowOrigin: + explode: false + schema: + type: string + style: simple + AccessControlAllowMethods: + explode: false + schema: + type: string + style: simple + AccessControlAllowHeaders: + explode: false + schema: + type: string + style: simple + Location: + explode: false + schema: + type: string + style: simple + parameters: + usernamePath: + description: Username explode: false in: path name: username @@ -10570,6 +12203,42 @@ components: schema: type: string style: simple + entityIdParam: + description: Entity Identifier + explode: false + in: path + name: entityId + required: true + schema: + type: string + style: simple + entityIdQuery: + description: Entity Identifier + explode: true + in: query + name: entityId + required: false + schema: + type: string + style: form + entityTypeIdParam: + description: EntityType Identifier + explode: false + in: path + name: entityTypeId + required: true + schema: + type: string + style: simple + entityTypeIdQuery: + description: EntityType Identifier + explode: true + in: query + name: entityTypeId + required: false + schema: + type: string + style: form shareKey: description: Share Identifier explode: false @@ -10597,6 +12266,36 @@ components: schema: type: string style: form + indexNamePath: + description: IndexName to path + explode: false + in: path + name: indexName + required: true + schema: + type: string + style: simple + indexNameQuery: + description: IndexName to query + explode: true + in: query + name: indexName + required: false + schema: + type: string + style: form + namespaceParam: + description: Namespace Identifier + explode: true + in: query + name: namespace + required: false + schema: + enum: + - PRESET + - CUSTOM + type: string + style: form policyItemIdPathParam: description: Policy Item Identifier explode: false @@ -10615,6 +12314,24 @@ components: schema: type: string style: simple + snapshotRepositoryNamePath: + description: Snapshot Repository Name + explode: false + in: path + name: repositoryName + required: true + schema: + type: string + style: simple + snapshotNamePath: + description: Snapshot Name + explode: false + in: path + name: snapshotName + required: true + schema: + type: string + style: simple localeParam: description: Site Locale (ISO 639 / ISO 3166) explode: false @@ -10750,6 +12467,38 @@ components: schema: type: string style: form + startParam: + description: Start of date-time range (UTC) + explode: true + in: query + name: start + required: false + schema: + format: date-time + type: string + style: form + endParam: + description: End of date-time range (UTC) + explode: true + in: query + name: end + required: false + schema: + format: date-time + type: string + style: form + sortParam: + description: Sort order (default DESC) + explode: true + in: query + name: sort + required: false + schema: + enum: + - ASC + - DESC + type: string + style: form apiKeyParam: description: API Key explode: false @@ -10807,6 +12556,15 @@ components: schema: type: string style: simple + documentIdQuery: + description: Document Identifier + explode: true + in: query + name: documentId + required: false + schema: + type: string + style: form docusignEnvelopeIdParam: description: Docusign Envelope Id explode: false @@ -10984,64 +12742,64 @@ components: content: application/json: schema: - $ref: '#/components/schemas/AddResponse' + $ref: "#/components/schemas/AddResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "200CorsSetResponse": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "200CorsDeleteResponse": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "200CorsUpdateResponse": content: application/json: schema: - $ref: '#/components/schemas/UpdateResponse' + $ref: "#/components/schemas/UpdateResponse" description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" "200Cors": content: {} description: 200 OK headers: Access-Control-Allow-Origin: - $ref: '#/components/headers/AccessControlAllowOrigin' + $ref: "#/components/headers/AccessControlAllowOrigin" Access-Control-Allow-Methods: - $ref: '#/components/headers/AccessControlAllowMethods' + $ref: "#/components/headers/AccessControlAllowMethods" Access-Control-Allow-Headers: - $ref: '#/components/headers/AccessControlAllowHeaders' + $ref: "#/components/headers/AccessControlAllowHeaders" schemas: ValidationErrorsResponse: example: @@ -11054,7 +12812,7 @@ components: errors: description: List of errors items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" type: array type: object ValidationError: @@ -11140,83 +12898,43 @@ components: next: description: Next page of results token type: string - previous: - description: Previous page of results token - type: string - values: - description: List of search results - items: - $ref: '#/components/schemas/IndexSearch' - type: array - type: object - IndexSearch: - example: - value: value - properties: - value: - description: value of index - type: string - type: object - GetDocumentContentResponse: - example: - contentUrl: contentUrl - contentType: contentType - isBase64: true - content: content - properties: - content: - description: Document content - type: string - contentUrl: - description: URL to retrieve document content - type: string - contentType: - description: Document Content-Type - type: string - isBase64: - description: Is the content Base64-encoded? - type: boolean - type: object - GetDocumentAttributeVersionsResponse: - example: - next: next - attributes: - - numberValues: - - 6.027456183070403 - - 6.027456183070403 - stringValue: stringValue - stringValues: - - stringValues - - stringValues - insertedDate: insertedDate - valueType: BOOLEAN - booleanValue: true - numberValue: 0.8008281904610115 - userId: userId - key: key - - numberValues: - - 6.027456183070403 - - 6.027456183070403 - stringValue: stringValue - stringValues: - - stringValues - - stringValues - insertedDate: insertedDate - valueType: BOOLEAN - booleanValue: true - numberValue: 0.8008281904610115 - userId: userId - key: key - properties: - next: - description: Next page of results token - type: string - attributes: - description: List of document attribute versions + previous: + description: Previous page of results token + type: string + values: + description: List of search results items: - $ref: '#/components/schemas/DocumentAttribute' + $ref: "#/components/schemas/IndexSearch" type: array type: object + IndexSearch: + example: + value: value + properties: + value: + description: value of index + type: string + type: object + GetDocumentContentResponse: + example: + contentUrl: contentUrl + contentType: contentType + isBase64: true + content: content + properties: + content: + description: Document content + type: string + contentUrl: + description: URL to retrieve document content + type: string + contentType: + description: Document Content-Type + type: string + isBase64: + description: Is the content Base64-encoded? + type: boolean + type: object GetDocumentVersionsResponse: example: next: next @@ -11244,7 +12962,83 @@ components: documents: description: List of document versions items: - $ref: '#/components/schemas/DocumentVersion' + $ref: "#/components/schemas/DocumentVersion" + type: array + type: object + GetFolderPermissionsResponse: + example: + roles: + - permissions: + - READ + - READ + roleName: roleName + - permissions: + - READ + - READ + roleName: roleName + properties: + roles: + items: + $ref: "#/components/schemas/FolderPermission" + type: array + type: object + FolderPermissionType: + description: Folder Permission Type + enum: + - READ + - WRITE + - DELETE + type: string + FolderPermission: + example: + permissions: + - READ + - READ + roleName: roleName + properties: + roleName: + description: Name of Role + type: string + permissions: + items: + $ref: "#/components/schemas/FolderPermissionType" + type: array + type: object + SetFolderPermissionsRequest: + example: + path: path + roles: + - permissions: + - READ + - READ + roleName: roleName + - permissions: + - READ + - READ + roleName: roleName + properties: + path: + description: Path of Folder + type: string + roles: + items: + $ref: "#/components/schemas/AddFolderPermission" + type: array + type: object + AddFolderPermission: + example: + permissions: + - READ + - READ + roleName: roleName + properties: + roleName: + description: Name of Role + type: string + permissions: + description: List of permissions + items: + $ref: "#/components/schemas/FolderPermissionType" type: array type: object AddFolderRequest: @@ -11282,7 +13076,7 @@ components: queues: description: List of queues items: - $ref: '#/components/schemas/Queue' + $ref: "#/components/schemas/Queue" type: array type: object Queue: @@ -11322,7 +13116,7 @@ components: workflows: description: List of workflows items: - $ref: '#/components/schemas/WorkflowSummary' + $ref: "#/components/schemas/WorkflowSummary" type: array type: object GetQueueResponse: @@ -11350,15 +13144,17 @@ components: queueId: queueId metadata: key: metadata - insertedDate: insertedDate + retryCount: 0.8008281904610115 type: ANTIVIRUS message: message userId: userId + completedDate: completedDate + maxRetries: 6.027456183070403 + insertedDate: insertedDate parameters: - key: parameters + key: "{}" workflowId: workflowId startDate: startDate - completedDate: completedDate status: COMPLETE workflowStepId: workflowStepId decisions: @@ -11376,15 +13172,17 @@ components: queueId: queueId metadata: key: metadata - insertedDate: insertedDate + retryCount: 0.8008281904610115 type: ANTIVIRUS message: message userId: userId + completedDate: completedDate + maxRetries: 6.027456183070403 + insertedDate: insertedDate parameters: - key: parameters + key: "{}" workflowId: workflowId startDate: startDate - completedDate: completedDate status: COMPLETE workflowStepId: workflowStepId decisions: @@ -11409,11 +13207,11 @@ components: description: Whether the Workflow is in use type: boolean status: - $ref: '#/components/schemas/WorkflowStatus' + $ref: "#/components/schemas/WorkflowStatus" steps: description: Workflow steps items: - $ref: '#/components/schemas/WorkflowStep' + $ref: "#/components/schemas/WorkflowStep" type: array type: object WorkflowStep: @@ -11423,15 +13221,17 @@ components: queueId: queueId metadata: key: metadata - insertedDate: insertedDate + retryCount: 0.8008281904610115 type: ANTIVIRUS message: message userId: userId + completedDate: completedDate + maxRetries: 6.027456183070403 + insertedDate: insertedDate parameters: - key: parameters + key: "{}" workflowId: workflowId startDate: startDate - completedDate: completedDate status: COMPLETE workflowStepId: workflowStepId decisions: @@ -11449,13 +13249,13 @@ components: description: Workflow Step Identifier type: string action: - $ref: '#/components/schemas/DocumentAction' + $ref: "#/components/schemas/DocumentAction" queue: - $ref: '#/components/schemas/WorkflowQueue' + $ref: "#/components/schemas/WorkflowQueue" decisions: description: Workflow Decisions items: - $ref: '#/components/schemas/WorkflowStepDecision' + $ref: "#/components/schemas/WorkflowStepDecision" type: array type: object WorkflowQueue: @@ -11502,7 +13302,7 @@ components: description: Whether the Workflow is in use type: boolean status: - $ref: '#/components/schemas/WorkflowStatus' + $ref: "#/components/schemas/WorkflowStatus" type: object GetUserSharesResponse: example: @@ -11535,7 +13335,7 @@ components: shares: description: List of user's shares items: - $ref: '#/components/schemas/UserShare' + $ref: "#/components/schemas/UserShare" type: array type: object UserSharePermission: @@ -11577,7 +13377,7 @@ components: permissions: description: List of share permissions items: - $ref: '#/components/schemas/UserSharePermission' + $ref: "#/components/schemas/UserSharePermission" type: array siteId: description: Site Identifier @@ -11589,7 +13389,7 @@ components: description: User who created share type: string permissionType: - $ref: '#/components/schemas/UserSharePermissionType' + $ref: "#/components/schemas/UserSharePermissionType" type: object GetDocumentAttributeResponse: example: @@ -11609,7 +13409,7 @@ components: key: key properties: attribute: - $ref: '#/components/schemas/DocumentAttribute' + $ref: "#/components/schemas/DocumentAttribute" type: object GetDocumentAttributesResponse: example: @@ -11648,7 +13448,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/DocumentAttribute' + $ref: "#/components/schemas/DocumentAttribute" type: array type: object GetDocumentTagsResponse: @@ -11684,7 +13484,7 @@ components: tags: description: List of tags items: - $ref: '#/components/schemas/DocumentTag' + $ref: "#/components/schemas/DocumentTag" type: array type: object SetDocumentVersionRequest: @@ -11780,20 +13580,20 @@ components: description: Full text search type: string meta: - $ref: '#/components/schemas/DocumentSearchMeta' + $ref: "#/components/schemas/DocumentSearchMeta" attribute: - $ref: '#/components/schemas/DocumentSearchAttribute' + $ref: "#/components/schemas/DocumentSearchAttribute" attributes: description: List of Composite Key attributes to filter search results on items: - $ref: '#/components/schemas/DocumentSearchAttribute' + $ref: "#/components/schemas/DocumentSearchAttribute" type: array tag: - $ref: '#/components/schemas/DocumentSearchTag' + $ref: "#/components/schemas/DocumentSearchTag" tags: description: List of Composite Key tags to filter search results on items: - $ref: '#/components/schemas/DocumentSearchTags' + $ref: "#/components/schemas/DocumentSearchTags" type: array documentIds: description: List of DocumentIds to filter search results on @@ -11859,7 +13659,7 @@ components: documents: description: List of child documents items: - $ref: '#/components/schemas/AddChildDocumentResponse' + $ref: "#/components/schemas/AddChildDocumentResponse" type: array type: object AddChildDocumentResponse: @@ -11979,7 +13779,7 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" documentId: description: Document Identifier type: string @@ -11998,7 +13798,7 @@ components: documents: description: List of child documents items: - $ref: '#/components/schemas/ChildDocument' + $ref: "#/components/schemas/ChildDocument" type: array belongsToDocumentId: description: Parent Document Identifier @@ -12006,7 +13806,7 @@ components: metadata: description: List of document Metadata items: - $ref: '#/components/schemas/DocumentMetadata' + $ref: "#/components/schemas/DocumentMetadata" type: array required: - documentId @@ -12142,9 +13942,9 @@ components: - tags properties: query: - $ref: '#/components/schemas/DocumentFulltextSearch' + $ref: "#/components/schemas/DocumentFulltextSearch" responseFields: - $ref: '#/components/schemas/SearchResponseFields' + $ref: "#/components/schemas/SearchResponseFields" required: - query type: object @@ -12199,12 +13999,12 @@ components: tags: description: List of search tags items: - $ref: '#/components/schemas/DocumentFulltextTag' + $ref: "#/components/schemas/DocumentFulltextTag" type: array attributes: description: List of search attributes items: - $ref: '#/components/schemas/DocumentFulltextAttribute' + $ref: "#/components/schemas/DocumentFulltextAttribute" type: array type: object DocumentFulltextAttribute: @@ -12223,11 +14023,11 @@ components: key: key properties: eq: - $ref: '#/components/schemas/DocumentFulltextAttributeEq' + $ref: "#/components/schemas/DocumentFulltextAttributeEq" eqOr: description: Searches for ANY strings that eq items: - $ref: '#/components/schemas/DocumentFulltextAttributeEq' + $ref: "#/components/schemas/DocumentFulltextAttributeEq" type: array key: description: Tag key to search @@ -12353,9 +14153,9 @@ components: - tags properties: query: - $ref: '#/components/schemas/DocumentSearch' + $ref: "#/components/schemas/DocumentSearch" responseFields: - $ref: '#/components/schemas/SearchResponseFields' + $ref: "#/components/schemas/SearchResponseFields" required: - query type: object @@ -12401,7 +14201,7 @@ components: description: Attribute with boolean value type: boolean valueType: - $ref: '#/components/schemas/AttributeValueType' + $ref: "#/components/schemas/AttributeValueType" DocumentSearchMeta: example: path: path @@ -12453,7 +14253,7 @@ components: type: string type: array range: - $ref: '#/components/schemas/DocumentSearchRange' + $ref: "#/components/schemas/DocumentSearchRange" key: description: Tag key to search type: string @@ -12480,7 +14280,7 @@ components: description: End of range query type: string type: - $ref: '#/components/schemas/SearchRangeDataType' + $ref: "#/components/schemas/SearchRangeDataType" required: - end - start @@ -12502,7 +14302,7 @@ components: description: Searches for strings that begin with type: string range: - $ref: '#/components/schemas/DocumentSearchRange' + $ref: "#/components/schemas/DocumentSearchRange" key: description: Tag key to search type: string @@ -12534,7 +14334,7 @@ components: description: Searches for strings that begin with type: string range: - $ref: '#/components/schemas/DocumentSearchRange' + $ref: "#/components/schemas/DocumentSearchRange" key: description: Attribute key to search type: string @@ -12570,7 +14370,7 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array required: - name @@ -12612,40 +14412,72 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height height: height tags: - values: @@ -12678,24 +14510,24 @@ components: description: Path or Name of deep link type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" checksum: description: The checksum value to validate the file against type: string attributes: description: List of Attributes to add to document items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array actions: description: List of Actions items: - $ref: '#/components/schemas/AddAction' + $ref: "#/components/schemas/AddAction" type: array type: object ChecksumType: @@ -12828,40 +14660,72 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height height: height properties: documentId: @@ -12872,7 +14736,7 @@ components: description: Path or Name of document type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" checksum: description: The checksum value to validate the file against type: string @@ -12897,27 +14761,27 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array metadata: description: List of document Metadata items: - $ref: '#/components/schemas/AddDocumentMetadata' + $ref: "#/components/schemas/AddDocumentMetadata" type: array actions: description: List of Actions items: - $ref: '#/components/schemas/AddAction' + $ref: "#/components/schemas/AddAction" type: array attributes: description: List of Attributes to add to document items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array documents: description: List of child documents items: - $ref: '#/components/schemas/AddChildDocument' + $ref: "#/components/schemas/AddChildDocument" type: array required: - content @@ -13045,40 +14909,72 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height height: height properties: path: @@ -13106,31 +15002,31 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array metadata: description: List of document Metadata items: - $ref: '#/components/schemas/AddDocumentMetadata' + $ref: "#/components/schemas/AddDocumentMetadata" type: array attributes: description: List of document attributes items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array actions: description: List of Actions items: - $ref: '#/components/schemas/AddAction' + $ref: "#/components/schemas/AddAction" type: array documents: description: List of child documents items: - $ref: '#/components/schemas/AddChildDocument' + $ref: "#/components/schemas/AddChildDocument" type: array type: object AddFolderShareRequest: @@ -13142,7 +15038,7 @@ components: group: group properties: share: - $ref: '#/components/schemas/AddShare' + $ref: "#/components/schemas/AddShare" type: object AddShare: example: @@ -13157,7 +15053,7 @@ components: permissions: description: List of share permissions items: - $ref: '#/components/schemas/UserSharePermission' + $ref: "#/components/schemas/UserSharePermission" type: array type: object SetDocumentRestoreResponse: @@ -13238,9 +15134,9 @@ components: key: key properties: match: - $ref: '#/components/schemas/UpdateMatchingDocumentTagsRequest_match' + $ref: "#/components/schemas/UpdateMatchingDocumentTagsRequest_match" update: - $ref: '#/components/schemas/UpdateMatchingDocumentTagsRequest_update' + $ref: "#/components/schemas/UpdateMatchingDocumentTagsRequest_update" required: - match - update @@ -13260,7 +15156,7 @@ components: numberValue: 0.8008281904610115 properties: attribute: - $ref: '#/components/schemas/AddDocumentAttributeValue' + $ref: "#/components/schemas/AddDocumentAttributeValue" type: object SetDocumentAttributesRequest: description: Set List of document attributes @@ -13290,7 +15186,7 @@ components: attributes: description: List of document attributes items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array type: object AddDocumentAttributesRequest: @@ -13321,7 +15217,7 @@ components: attributes: description: List of document attributes items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array type: object AddDocumentTagsRequest: @@ -13342,7 +15238,7 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array type: object DocumentMetadata: @@ -13426,9 +15322,10 @@ components: type: object AddDocumentAttribute: oneOf: - - $ref: '#/components/schemas/AddDocumentAttributeStandard' - - $ref: '#/components/schemas/AddDocumentAttributeClassification' - - $ref: '#/components/schemas/AddDocumentAttributeRelationship' + - $ref: "#/components/schemas/AddDocumentAttributeStandard" + - $ref: "#/components/schemas/AddDocumentAttributeClassification" + - $ref: "#/components/schemas/AddDocumentAttributeRelationship" + - $ref: "#/components/schemas/AddDocumentAttributeEntity" DocumentRelationshipType: description: Document Relationship Type enum: @@ -13446,9 +15343,9 @@ components: description: Relationship To Document Identifier type: string relationship: - $ref: '#/components/schemas/DocumentRelationshipType' + $ref: "#/components/schemas/DocumentRelationshipType" inverseRelationship: - $ref: '#/components/schemas/DocumentRelationshipType' + $ref: "#/components/schemas/DocumentRelationshipType" required: - documentId - relationship @@ -13501,6 +15398,25 @@ components: required: - key type: object + AddDocumentAttributeEntity: + description: Document Entity Attribute + properties: + key: + description: Attribute key + type: string + entityTypeId: + description: EntityType Identifier or Entity Type Name + type: string + entityId: + description: Entity Identifier + type: string + namespace: + $ref: "#/components/schemas/EntityTypeNamespace" + required: + - entityId + - entityTypeId + - key + type: object AddDocumentTag: description: List of Document Tags (use either 'value' or 'values' not both) example: @@ -13576,7 +15492,7 @@ components: description: Document Content-Type type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" checksum: description: The checksum value to validate the file against type: string @@ -13589,12 +15505,12 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array metadata: description: List of document Metadata items: - $ref: '#/components/schemas/AddDocumentMetadata' + $ref: "#/components/schemas/AddDocumentMetadata" type: array required: - content @@ -13617,7 +15533,7 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" contentType: description: Document Content-Type type: string @@ -13679,7 +15595,7 @@ components: description: User who added attribute type: string valueType: - $ref: '#/components/schemas/AttributeValueType' + $ref: "#/components/schemas/AttributeValueType" type: object DocumentTag: example: @@ -13858,7 +15774,7 @@ components: documents: description: List of search result documents items: - $ref: '#/components/schemas/FulltextSearchItem' + $ref: "#/components/schemas/FulltextSearchItem" type: array type: object FulltextSearchItem: @@ -13919,7 +15835,7 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" documentId: description: Document Identifier type: string @@ -13939,7 +15855,7 @@ components: type: object attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object AttributeValueType: @@ -13954,6 +15870,7 @@ components: - COMPOSITE_STRING - RELATIONSHIPS - WATERMARK + - ENTITY type: string FulltextAttribute: example: @@ -13980,7 +15897,7 @@ components: description: Attribute with boolean value type: boolean valueType: - $ref: '#/components/schemas/AttributeValueType' + $ref: "#/components/schemas/AttributeValueType" type: object GetDocumentFulltextResponse: example: @@ -14053,7 +15970,7 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" tags: additionalProperties: type: object @@ -14064,7 +15981,7 @@ components: type: object attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object AddDocumentSyncRequest: @@ -14074,7 +15991,7 @@ components: type: METADATA properties: sync: - $ref: '#/components/schemas/AddDocumentSync' + $ref: "#/components/schemas/AddDocumentSync" type: object GetDocumentSyncResponse: example: @@ -14101,21 +16018,19 @@ components: syncs: description: List of document syncs items: - $ref: '#/components/schemas/DocumentSync' + $ref: "#/components/schemas/DocumentSync" type: array type: object AddDocumentSyncService: description: Add Document Sync Service enum: - FULLTEXT - - EVENTBRIDGE type: string DocumentSyncService: description: Service of Document Sync enum: - TYPESENSE - OPENSEARCH - - EVENTBRIDGE type: string DocumentSyncStatus: description: Status of Document Sync @@ -14139,9 +16054,9 @@ components: type: METADATA properties: service: - $ref: '#/components/schemas/AddDocumentSyncService' + $ref: "#/components/schemas/AddDocumentSyncService" type: - $ref: '#/components/schemas/DocumentSyncType' + $ref: "#/components/schemas/DocumentSyncType" type: object DocumentSync: example: @@ -14154,11 +16069,11 @@ components: status: COMPLETE properties: service: - $ref: '#/components/schemas/DocumentSyncService' + $ref: "#/components/schemas/DocumentSyncService" status: - $ref: '#/components/schemas/DocumentSyncStatus' + $ref: "#/components/schemas/DocumentSyncStatus" type: - $ref: '#/components/schemas/DocumentSyncType' + $ref: "#/components/schemas/DocumentSyncType" insertedDate: description: Inserted Timestamp type: string @@ -14172,6 +16087,154 @@ components: description: Document sync message type: string type: object + SetDocumentDataClassificationRequest: + example: + llmPromptEntityName: llmPromptEntityName + properties: + llmPromptEntityName: + description: Name of the LLM Prompt Entity + type: string + required: + - llmPromptEntityName + type: object + SetDocumentDataClassificationResponse: + example: + attributes: + - value: value + key: key + - value: value + key: key + content: content + properties: + content: + description: Result content + type: string + attributes: + description: Attributes extracted from result content + items: + $ref: "#/components/schemas/DataClassificationAttribute" + type: array + type: object + DataClassification: + example: + insertedDate: insertedDate + attributes: + - value: value + key: key + - value: value + key: key + llmPromptEntityName: llmPromptEntityName + userId: userId + content: content + properties: + llmPromptEntityName: + description: Name of the LLM Prompt Entity + type: string + insertedDate: + description: Inserted Timestamp + type: string + content: + description: Result content + type: string + userId: + description: UserId that created Result + type: string + attributes: + description: Attributes extracted from result content + items: + $ref: "#/components/schemas/DataClassificationAttribute" + type: array + type: object + DataClassificationAttribute: + example: + value: value + key: key + properties: + key: + description: Data Classification Attribute Key + type: string + value: + description: Data Classification Attribute Value + type: string + type: object + GetDocumentDataClassificationResponse: + example: + next: next + dataClassifications: + - insertedDate: insertedDate + attributes: + - value: value + key: key + - value: value + key: key + llmPromptEntityName: llmPromptEntityName + userId: userId + content: content + - insertedDate: insertedDate + attributes: + - value: value + key: key + - value: value + key: key + llmPromptEntityName: llmPromptEntityName + userId: userId + content: content + properties: + next: + description: Next page of results token + type: string + dataClassifications: + description: List of Data Classifications + items: + $ref: "#/components/schemas/DataClassification" + type: array + type: object + GetActivitesResponse: + example: + next: next + activities: + - resource: resource + changes: + key: + newValue: "{}" + oldValue: "{}" + sourceIpAddress: sourceIpAddress + entityId: entityId + source: source + attributeKey: "" + type: type + message: message + userId: userId + insertedDate: insertedDate + documentId: "" + entityTypeId: entityTypeId + status: COMPLETE + - resource: resource + changes: + key: + newValue: "{}" + oldValue: "{}" + sourceIpAddress: sourceIpAddress + entityId: entityId + source: source + attributeKey: "" + type: type + message: message + userId: userId + insertedDate: insertedDate + documentId: "" + entityTypeId: entityTypeId + status: COMPLETE + properties: + next: + description: Next page of results token + type: string + activities: + description: List of Entity Type activities + items: + $ref: "#/components/schemas/Activity" + type: array + type: object GetUserActivitesResponse: example: next: next @@ -14208,8 +16271,8 @@ components: height: height changes: key: - newValue: newValue - oldValue: oldValue + newValue: "{}" + oldValue: "{}" type: VIEW userId: userId - insertedDate: insertedDate @@ -14244,8 +16307,8 @@ components: height: height changes: key: - newValue: newValue - oldValue: oldValue + newValue: "{}" + oldValue: "{}" type: VIEW userId: userId properties: @@ -14253,9 +16316,9 @@ components: description: Next page of results token type: string userActivities: - description: List of user activities syncs + description: List of user activities items: - $ref: '#/components/schemas/UserActivity' + $ref: "#/components/schemas/UserActivity" type: array type: object UserActivityType: @@ -14303,13 +16366,13 @@ components: height: height changes: key: - newValue: newValue - oldValue: oldValue + newValue: "{}" + oldValue: "{}" type: VIEW userId: userId properties: type: - $ref: '#/components/schemas/UserActivityType' + $ref: "#/components/schemas/UserActivityType" insertedDate: description: Inserted Timestamp type: string @@ -14317,23 +16380,87 @@ components: description: User who added document type: string document: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" changes: additionalProperties: - $ref: '#/components/schemas/UserActivityChanges' + $ref: "#/components/schemas/UserActivityChanges" type: object type: object UserActivityChanges: example: - newValue: newValue - oldValue: oldValue + newValue: "{}" + oldValue: "{}" properties: oldValue: description: Previous key value + type: object + newValue: + description: New key value + type: object + type: object + ActivityStatus: + description: The status of the activity + enum: + - COMPLETE + - FAILED + - UNAUTHORIZED + type: string + Activity: + example: + resource: resource + changes: + key: + newValue: "{}" + oldValue: "{}" + sourceIpAddress: sourceIpAddress + entityId: entityId + source: source + attributeKey: "" + type: type + message: message + userId: userId + insertedDate: insertedDate + documentId: "" + entityTypeId: entityTypeId + status: COMPLETE + properties: + resource: + description: Resource of Activity + type: string + type: + description: Type of Activity + type: string + source: + description: The Source of the activity + type: string + sourceIpAddress: + description: The Source IP address of the user + type: string + message: + description: The activity message + type: string + status: + $ref: "#/components/schemas/ActivityStatus" + insertedDate: + description: Inserted Timestamp + type: string + userId: + description: User who added document + type: string + documentId: + description: Document Identifier + attributeKey: + description: Document Attribute Key + entityTypeId: + description: Entity Type Identifier type: string - newValue: - description: New key value + entityId: + description: Entity Identifier type: string + changes: + additionalProperties: + $ref: "#/components/schemas/UserActivityChanges" + type: object type: object GetFoldersResponse: example: @@ -14462,7 +16589,7 @@ components: documents: description: List of search result documents items: - $ref: '#/components/schemas/SearchResultDocument' + $ref: "#/components/schemas/SearchResultDocument" type: array type: object GetWorkflowQueueDocumentsResponse: @@ -14550,7 +16677,7 @@ components: documents: description: List of search result documents items: - $ref: '#/components/schemas/WorkflowDocument' + $ref: "#/components/schemas/WorkflowDocument" type: array type: object GetWorkflowDocumentsResponse: @@ -14620,7 +16747,7 @@ components: documents: description: List of workflow documents items: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: array type: object WorkflowDocument: @@ -14664,9 +16791,9 @@ components: height: height properties: workflow: - $ref: '#/components/schemas/WorkflowSummary' + $ref: "#/components/schemas/WorkflowSummary" document: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: object Document: example: @@ -14724,7 +16851,7 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" documentId: description: Document Identifier type: string @@ -14752,7 +16879,7 @@ components: metadata: description: List of document Metadata items: - $ref: '#/components/schemas/DocumentMetadata' + $ref: "#/components/schemas/DocumentMetadata" type: array type: object DocumentSearchResponse: @@ -14882,7 +17009,7 @@ components: documents: description: List of search result documents items: - $ref: '#/components/schemas/SearchResultDocument' + $ref: "#/components/schemas/SearchResultDocument" type: array type: object SearchResultDocument: @@ -14975,7 +17102,7 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" documentId: description: Document Identifier type: string @@ -14995,24 +17122,24 @@ components: description: Parent Document Identifier type: string matchedAttribute: - $ref: '#/components/schemas/DocumentSearchMatchAttribute' + $ref: "#/components/schemas/DocumentSearchMatchAttribute" matchedTag: - $ref: '#/components/schemas/DocumentSearchMatchTag' + $ref: "#/components/schemas/DocumentSearchMatchTag" matchedTags: items: - $ref: '#/components/schemas/DocumentSearchMatchTag' + $ref: "#/components/schemas/DocumentSearchMatchTag" type: array tags: additionalProperties: true type: object attributes: additionalProperties: - $ref: '#/components/schemas/SearchResultDocumentAttribute' + $ref: "#/components/schemas/SearchResultDocumentAttribute" type: object metadata: description: List of document Metadata items: - $ref: '#/components/schemas/DocumentMetadata' + $ref: "#/components/schemas/DocumentMetadata" type: array type: object DocumentSearchMatchAttribute: @@ -15106,7 +17233,7 @@ components: - documentIds properties: case: - $ref: '#/components/schemas/AddCase' + $ref: "#/components/schemas/AddCase" required: - case type: object @@ -15143,7 +17270,7 @@ components: description: Case Name type: string status: - $ref: '#/components/schemas/CaseStatus' + $ref: "#/components/schemas/CaseStatus" plannedStartDate: description: Planned Start Date type: string @@ -15162,12 +17289,12 @@ components: documentNumberFormat: description: Format of Document Number items: - $ref: '#/components/schemas/StringFormat' + $ref: "#/components/schemas/StringFormat" type: array caseNumberFormat: description: Format of Case Number items: - $ref: '#/components/schemas/StringFormat' + $ref: "#/components/schemas/StringFormat" type: array metadata: additionalProperties: @@ -15187,7 +17314,7 @@ components: type: AUTO_INCREMENT properties: type: - $ref: '#/components/schemas/StringGeneratorType' + $ref: "#/components/schemas/StringGeneratorType" staticValue: description: Static Value type: string @@ -15220,7 +17347,7 @@ components: - documentIds properties: case: - $ref: '#/components/schemas/UpdateCase' + $ref: "#/components/schemas/UpdateCase" type: object UpdateCase: example: @@ -15241,7 +17368,7 @@ components: description: Case Name type: string status: - $ref: '#/components/schemas/CaseStatus' + $ref: "#/components/schemas/CaseStatus" description: description: Case Description type: string @@ -15337,7 +17464,7 @@ components: - documentIds properties: task: - $ref: '#/components/schemas/UpdateTask' + $ref: "#/components/schemas/UpdateTask" type: object UpdateTask: example: @@ -15373,7 +17500,7 @@ components: description: Due Date type: string status: - $ref: '#/components/schemas/TaskStatus' + $ref: "#/components/schemas/TaskStatus" metadata: additionalProperties: type: object @@ -15400,7 +17527,7 @@ components: - documentIds properties: task: - $ref: '#/components/schemas/AddTask' + $ref: "#/components/schemas/AddTask" required: - task type: object @@ -15426,7 +17553,7 @@ components: description: Description of Task type: string status: - $ref: '#/components/schemas/TaskStatus' + $ref: "#/components/schemas/TaskStatus" plannedStartDate: description: Planned Start Date type: string @@ -15475,7 +17602,7 @@ components: - documentIds properties: nigo: - $ref: '#/components/schemas/UpdateNigo' + $ref: "#/components/schemas/UpdateNigo" type: object UpdateNigo: example: @@ -15511,7 +17638,7 @@ components: description: Due Date type: string status: - $ref: '#/components/schemas/NigoStatus' + $ref: "#/components/schemas/NigoStatus" metadata: additionalProperties: type: object @@ -15538,7 +17665,7 @@ components: - documentIds properties: nigo: - $ref: '#/components/schemas/AddNigo' + $ref: "#/components/schemas/AddNigo" required: - nigo type: object @@ -15564,7 +17691,7 @@ components: description: Description of Nigo type: string status: - $ref: '#/components/schemas/NigoStatus' + $ref: "#/components/schemas/NigoStatus" plannedStartDate: description: Planned Start Date type: string @@ -15631,7 +17758,7 @@ components: description: User who added Task type: string status: - $ref: '#/components/schemas/TaskStatus' + $ref: "#/components/schemas/TaskStatus" metadata: additionalProperties: type: object @@ -15680,7 +17807,7 @@ components: description: User who added Nigo type: string status: - $ref: '#/components/schemas/NigoStatus' + $ref: "#/components/schemas/NigoStatus" metadata: additionalProperties: type: object @@ -15725,7 +17852,7 @@ components: cases: description: List of cases items: - $ref: '#/components/schemas/Case' + $ref: "#/components/schemas/Case" type: array type: object GetCaseNigosResponse: @@ -15763,7 +17890,7 @@ components: nigos: description: List of Nigos items: - $ref: '#/components/schemas/Nigo' + $ref: "#/components/schemas/Nigo" type: array type: object GetCaseNigoResponse: @@ -15783,7 +17910,7 @@ components: status: NEW properties: nigo: - $ref: '#/components/schemas/Nigo' + $ref: "#/components/schemas/Nigo" type: object GetCaseTaskResponse: example: @@ -15802,7 +17929,7 @@ components: status: NEW properties: task: - $ref: '#/components/schemas/Task' + $ref: "#/components/schemas/Task" type: object GetCaseTasksResponse: example: @@ -15839,7 +17966,7 @@ components: tasks: description: List of tasks items: - $ref: '#/components/schemas/Task' + $ref: "#/components/schemas/Task" type: array type: object GetCaseDocumentsResponse: @@ -15909,7 +18036,7 @@ components: documents: description: List of documents items: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: array type: object GetCaseResponse: @@ -15931,7 +18058,7 @@ components: status: NEW properties: case: - $ref: '#/components/schemas/Case' + $ref: "#/components/schemas/Case" type: object Case: example: @@ -15985,7 +18112,7 @@ components: type: object type: object status: - $ref: '#/components/schemas/CaseStatus' + $ref: "#/components/schemas/CaseStatus" userId: description: User who added document type: string @@ -16051,40 +18178,319 @@ components: status: ACTIVE properties: rule: - $ref: '#/components/schemas/AddRule' + $ref: "#/components/schemas/AddRule" + required: + - case + type: object + UpdateRuleRequest: + example: + rule: + description: description + priority: 0.8008281904610115 + conditions: + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + workflowId: workflowId + status: ACTIVE + properties: + rule: + $ref: "#/components/schemas/UpdateRule" required: - case type: object - UpdateRuleRequest: + AddRule: + example: + description: description + priority: 0.8008281904610115 + conditions: + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + workflowId: workflowId + status: ACTIVE + properties: + priority: + description: Rule priority + type: number + description: + description: Rule description + type: string + workflowId: + description: Workflow to start on matching of conditions + type: string + status: + $ref: "#/components/schemas/RulesetStatus" + conditions: + $ref: "#/components/schemas/RuleCondition" + type: object + UpdateRule: + example: + description: description + priority: 0.8008281904610115 + conditions: + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + workflowId: workflowId + status: ACTIVE + properties: + priority: + description: Rule priority + type: number + description: + description: Rule description + type: string + status: + $ref: "#/components/schemas/RulesetStatus" + workflowId: + description: Workflow to start on matching of conditions + type: string + conditions: + $ref: "#/components/schemas/RuleCondition" + type: object + AddRulesetRequest: + example: + ruleset: + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + ruleset: + $ref: "#/components/schemas/AddRuleset" + required: + - ruleset + type: object + UpdateRulesetRequest: + example: + ruleset: + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + ruleset: + $ref: "#/components/schemas/UpdateRuleset" + required: + - ruleset + type: object + AddRuleset: + example: + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + description: + description: Ruleset description + type: string + priority: + description: Ruleset priority + type: number + version: + description: Ruleset version + type: number + status: + $ref: "#/components/schemas/RulesetStatus" + type: object + UpdateRuleset: + example: + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + description: + description: Ruleset description + type: string + priority: + description: Ruleset priority + type: number + version: + description: Ruleset version + type: number + status: + $ref: "#/components/schemas/RulesetStatus" + type: object + GetRulesResponse: + example: + next: next + rules: + - description: description + ruleId: ruleId + priority: 0.8008281904610115 + conditions: + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + workflowId: workflowId + status: ACTIVE + - description: description + ruleId: ruleId + priority: 0.8008281904610115 + conditions: + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + workflowId: workflowId + status: ACTIVE + properties: + next: + description: Next page of results token + type: string + rules: + description: List of rules + items: + $ref: "#/components/schemas/Rule" + type: array + type: object + GetRuleResponse: + example: + rule: + description: description + ruleId: ruleId + priority: 0.8008281904610115 + conditions: + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + workflowId: workflowId + status: ACTIVE + properties: + rule: + $ref: "#/components/schemas/Rule" + type: object + GetRulesetsResponse: + example: + next: next + rulesets: + - rulesetId: rulesetId + insertedDate: insertedDate + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + - rulesetId: rulesetId + insertedDate: insertedDate + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + next: + description: Next page of results token + type: string + rulesets: + description: List of rulesets + items: + $ref: "#/components/schemas/Ruleset" + type: array + type: object + GetRulesetResponse: example: - rule: + ruleset: + rulesetId: rulesetId + insertedDate: insertedDate description: description priority: 0.8008281904610115 - conditions: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - workflowId: workflowId + version: 6.027456183070403 status: ACTIVE properties: - rule: - $ref: '#/components/schemas/UpdateRule' - required: - - case + ruleset: + $ref: "#/components/schemas/Ruleset" type: object - AddRule: + Ruleset: + example: + rulesetId: rulesetId + insertedDate: insertedDate + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + rulesetId: + description: Ruleset identifier + type: string + description: + description: Ruleset description + type: string + priority: + description: Ruleset priority + type: number + version: + description: Ruleset version + type: number + insertedDate: + description: Inserted Timestamp + type: string + status: + $ref: "#/components/schemas/RulesetStatus" + type: object + Rule: example: description: description + ruleId: ruleId priority: 0.8008281904610115 conditions: must: @@ -16103,373 +18509,505 @@ components: workflowId: workflowId status: ACTIVE properties: + ruleId: + description: Workflow to start on matching of conditions + type: string priority: description: Rule priority type: number description: - description: Rule description + description: Ruleset description type: string workflowId: description: Workflow to start on matching of conditions type: string status: - $ref: '#/components/schemas/RulesetStatus' + $ref: "#/components/schemas/RulesetStatus" conditions: - $ref: '#/components/schemas/RuleCondition' + $ref: "#/components/schemas/RuleCondition" type: object - UpdateRule: + RuleCondition: example: - description: description - priority: 0.8008281904610115 - conditions: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - workflowId: workflowId - status: ACTIVE + must: + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + - criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + properties: + must: + description: List of rule conditions + items: + $ref: "#/components/schemas/RuleConditionMust" + type: array + type: object + RuleConditionCriterion: + description: Rule condition attribute + enum: + - TEXT + - CONTENT_TYPE + - BARCODE + - FIELD + - ATTRIBUTE + type: string + RuleConditionAttribute: + description: "Rule condition attribute (deprecated, use Criterion)" + enum: + - TEXT + - CONTENT_TYPE + - BARCODE + - FIELD + - ATTRIBUTE + type: string + RuleConditionOperation: + description: Rule condition attribute + enum: + - EQ + - CONTAINS + type: string + RuleConditionMust: + example: + criterion: TEXT + fieldName: fieldName + attribute: TEXT + attributeKey: attributeKey + value: value + operation: EQ + properties: + attribute: + $ref: "#/components/schemas/RuleConditionAttribute" + criterion: + $ref: "#/components/schemas/RuleConditionCriterion" + attributeKey: + description: Rule attribute key (only required for ATTRIBUTE criterion) + type: string + fieldName: + description: Rule field name (only required for FIELD criterion) + type: string + value: + description: Rule condition value + type: string + operation: + $ref: "#/components/schemas/RuleConditionOperation" + type: object + AddEntityResponse: + example: + entityId: entityId + properties: + entityId: + description: Entity Identifier + type: string + type: object + AddEntityTypeResponse: + example: + entityTypeId: entityTypeId + properties: + entityTypeId: + description: Entity Type Identifier + type: string + type: object + GetEntitiesResponse: + example: + next: next + entities: + - insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + properties: + next: + description: Next page of results token + type: string + entities: + description: List of Entities + items: + $ref: "#/components/schemas/Entity" + type: array + type: object + GetEntityResponse: + example: + entity: + insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + properties: + entity: + $ref: "#/components/schemas/Entity" + type: object + GetEntityTypeResponse: + example: + entityType: + insertedDate: insertedDate + namespace: PRESET + name: name + entityTypeId: entityTypeId + properties: + entityType: + $ref: "#/components/schemas/EntityType" + type: object + Entity: + example: + insertedDate: insertedDate + name: name + entityId: entityId + entityTypeId: entityTypeId + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key properties: - priority: - description: Rule priority - type: number - description: - description: Rule description + entityId: + description: Entity identifier type: string - status: - $ref: '#/components/schemas/RulesetStatus' - workflowId: - description: Workflow to start on matching of conditions + entityTypeId: + description: Entity Type identifier type: string - conditions: - $ref: '#/components/schemas/RuleCondition' + name: + description: Entity Name + type: string + insertedDate: + description: Inserted Timestamp + type: string + attributes: + description: List of Entity Attributes + items: + $ref: "#/components/schemas/EntityAttribute" + type: array type: object - AddRulesetRequest: + AddEntityRequest: example: - ruleset: - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE + entity: + name: name + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key properties: - ruleset: - $ref: '#/components/schemas/AddRuleset' - required: - - ruleset + entity: + $ref: "#/components/schemas/AddEntity" type: object - UpdateRulesetRequest: + UpdateEntityRequest: example: - ruleset: - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE + entity: + name: name + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key properties: - ruleset: - $ref: '#/components/schemas/UpdateRuleset' - required: - - ruleset + entity: + $ref: "#/components/schemas/AddEntity" type: object - AddRuleset: + AddEntity: example: - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE + name: name + attributes: + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key + - numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key properties: - description: - description: Ruleset description + name: + description: Entity Name type: string - priority: - description: Ruleset priority - type: number - version: - description: Ruleset version - type: number - status: - $ref: '#/components/schemas/RulesetStatus' + attributes: + description: List of Entity Attributes + items: + $ref: "#/components/schemas/AddEntityAttribute" + type: array type: object - UpdateRuleset: + AddEntityAttribute: example: - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE + numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + booleanValue: true + numberValue: 0.8008281904610115 + key: key properties: - description: - description: Ruleset description + key: + description: Attribute key type: string - priority: - description: Ruleset priority - type: number - version: - description: Ruleset version - type: number - status: - $ref: '#/components/schemas/RulesetStatus' - type: object - GetRulesResponse: - example: - next: next - rules: - - description: description - ruleId: ruleId - priority: 0.8008281904610115 - conditions: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - workflowId: workflowId - status: ACTIVE - - description: description - ruleId: ruleId - priority: 0.8008281904610115 - conditions: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - workflowId: workflowId - status: ACTIVE - properties: - next: - description: Next page of results token + stringValue: + description: Attribute with string value type: string - rules: - description: List of rules + stringValues: + description: Attribute with string values + items: + type: string + type: array + numberValue: + description: Attribute with number value + type: number + numberValues: + description: Attribute with number values items: - $ref: '#/components/schemas/Rule' + type: number type: array + booleanValue: + description: Attribute with boolean value + type: boolean type: object - GetRuleResponse: + EntityAttribute: example: - rule: - description: description - ruleId: ruleId - priority: 0.8008281904610115 - conditions: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - workflowId: workflowId - status: ACTIVE + numberValues: + - 6.027456183070403 + - 6.027456183070403 + stringValue: stringValue + stringValues: + - stringValues + - stringValues + valueType: BOOLEAN + booleanValue: true + numberValue: 0.8008281904610115 + key: key properties: - rule: - $ref: '#/components/schemas/Rule' + key: + description: Attribute key + type: string + stringValue: + description: Attribute with string value + type: string + stringValues: + description: Attribute with string values + items: + type: string + type: array + numberValue: + description: Attribute with number value + type: number + numberValues: + description: Attribute with number values + items: + type: number + type: array + booleanValue: + description: Attribute with boolean value + type: boolean + valueType: + $ref: "#/components/schemas/AttributeValueType" type: object - GetRulesetsResponse: + GetEntityTypesResponse: example: next: next - rulesets: - - rulesetId: rulesetId - insertedDate: insertedDate - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE - - rulesetId: rulesetId - insertedDate: insertedDate - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE + entityTypes: + - insertedDate: insertedDate + namespace: PRESET + name: name + entityTypeId: entityTypeId + - insertedDate: insertedDate + namespace: PRESET + name: name + entityTypeId: entityTypeId properties: next: description: Next page of results token type: string - rulesets: - description: List of rulesets + entityTypes: + description: List of Entity Types items: - $ref: '#/components/schemas/Ruleset' + $ref: "#/components/schemas/EntityType" type: array type: object - GetRulesetResponse: - example: - ruleset: - rulesetId: rulesetId - insertedDate: insertedDate - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE - properties: - ruleset: - $ref: '#/components/schemas/Ruleset' - type: object - Ruleset: + EntityType: example: - rulesetId: rulesetId insertedDate: insertedDate - description: description - priority: 0.8008281904610115 - version: 6.027456183070403 - status: ACTIVE + namespace: PRESET + name: name + entityTypeId: entityTypeId properties: - rulesetId: - description: Ruleset identifier + entityTypeId: + description: Entity Type identifier type: string - description: - description: Ruleset description + namespace: + $ref: "#/components/schemas/EntityTypeNamespace" + name: + description: Entity Type Name type: string - priority: - description: Ruleset priority - type: number - version: - description: Ruleset version - type: number insertedDate: description: Inserted Timestamp type: string - status: - $ref: '#/components/schemas/RulesetStatus' type: object - Rule: + AddEntityTypeRequest: example: - description: description - ruleId: ruleId - priority: 0.8008281904610115 - conditions: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - workflowId: workflowId - status: ACTIVE + entityType: + namespace: PRESET + name: name properties: - ruleId: - description: Workflow to start on matching of conditions - type: string - priority: - description: Rule priority - type: number - description: - description: Ruleset description - type: string - workflowId: - description: Workflow to start on matching of conditions - type: string - status: - $ref: '#/components/schemas/RulesetStatus' - conditions: - $ref: '#/components/schemas/RuleCondition' + entityType: + $ref: "#/components/schemas/AddEntityType" type: object - RuleCondition: + AddEntityType: example: - must: - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ + namespace: PRESET + name: name properties: - must: - description: List of rule conditions - items: - $ref: '#/components/schemas/RuleConditionMust' - type: array + namespace: + $ref: "#/components/schemas/EntityTypeNamespace" + name: + description: Entity Type Name + type: string type: object - RuleConditionCriterion: - description: Rule condition attribute - enum: - - TEXT - - CONTENT_TYPE - - BARCODE - - FIELD - - ATTRIBUTE - type: string - RuleConditionAttribute: - description: "Rule condition attribute (deprecated, use Criterion)" - enum: - - TEXT - - CONTENT_TYPE - - BARCODE - - FIELD - - ATTRIBUTE - type: string - RuleConditionOperation: - description: Rule condition attribute + EntityTypeNamespace: + description: Entity Type namespace enum: - - EQ - - CONTAINS + - PRESET + - CUSTOM type: string - RuleConditionMust: - example: - criterion: TEXT - fieldName: fieldName - attribute: TEXT - attributeKey: attributeKey - value: value - operation: EQ - properties: - attribute: - $ref: '#/components/schemas/RuleConditionAttribute' - criterion: - $ref: '#/components/schemas/RuleConditionCriterion' - attributeKey: - description: Rule attribute key (only required for ATTRIBUTE criterion) - type: string - fieldName: - description: Rule field name (only required for FIELD criterion) - type: string - value: - description: Rule condition value - type: string - operation: - $ref: '#/components/schemas/RuleConditionOperation' - type: object GoogleExportOutputType: description: Google Export Output Type enum: @@ -16484,7 +19022,7 @@ components: description: Path of exported file type: string outputType: - $ref: '#/components/schemas/GoogleExportOutputType' + $ref: "#/components/schemas/GoogleExportOutputType" type: object AddGoogleDocumentExportResponse: example: @@ -16504,7 +19042,7 @@ components: target: ATTRIBUTES properties: target: - $ref: '#/components/schemas/ReindexTarget' + $ref: "#/components/schemas/ReindexTarget" type: object AddDocumentGenerateRequest: example: @@ -16527,19 +19065,19 @@ components: locale: locale properties: locale: - $ref: '#/components/schemas/Locale' + $ref: "#/components/schemas/LocaleInfo" insertDocuments: description: List of documents to insert items: - $ref: '#/components/schemas/DocumentGenerateInsertDocument' + $ref: "#/components/schemas/DocumentGenerateInsertDocument" type: array datasources: description: List of data sources items: - $ref: '#/components/schemas/DocumentGenerateDataSource' + $ref: "#/components/schemas/DocumentGenerateDataSource" type: array outputType: - $ref: '#/components/schemas/DocumentGenerateOutputType' + $ref: "#/components/schemas/DocumentGenerateOutputType" saveAsDocumentId: description: Save the generated document with a specific documentId type: string @@ -16558,7 +19096,7 @@ components: position: APPEND properties: position: - $ref: '#/components/schemas/DocumentGenerateInsertDocumentPosition' + $ref: "#/components/schemas/DocumentGenerateInsertDocumentPosition" documentId: description: Document Identifier of the data source document type: string @@ -16621,7 +19159,7 @@ components: value: value properties: fileinfo: - $ref: '#/components/schemas/PdfDocument' + $ref: "#/components/schemas/PdfDocument" type: object PdfDocument: example: @@ -16634,7 +19172,7 @@ components: fields: description: List of document fields items: - $ref: '#/components/schemas/PdfDocumentField' + $ref: "#/components/schemas/PdfDocumentField" type: array type: object PdfDocumentField: @@ -16689,7 +19227,7 @@ components: - labelTexts properties: mapping: - $ref: '#/components/schemas/AddMapping' + $ref: "#/components/schemas/AddMapping" type: object AddMappingRequest: example: @@ -16723,7 +19261,7 @@ components: - labelTexts properties: mapping: - $ref: '#/components/schemas/AddMapping' + $ref: "#/components/schemas/AddMapping" type: object AddMapping: example: @@ -16764,7 +19302,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/MappingAttribute' + $ref: "#/components/schemas/MappingAttribute" type: array type: object GetMappingsResponse: @@ -16830,7 +19368,7 @@ components: properties: mappings: items: - $ref: '#/components/schemas/Mapping' + $ref: "#/components/schemas/Mapping" type: array next: description: Next page of results token @@ -16869,7 +19407,7 @@ components: - labelTexts properties: mapping: - $ref: '#/components/schemas/Mapping' + $ref: "#/components/schemas/Mapping" type: object Mapping: example: @@ -16914,7 +19452,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/MappingAttribute' + $ref: "#/components/schemas/MappingAttribute" type: array type: object MappingAttribute: @@ -16936,7 +19474,7 @@ components: description: Attribute Key type: string sourceType: - $ref: '#/components/schemas/MappingAttributeSourceType' + $ref: "#/components/schemas/MappingAttributeSourceType" defaultValue: description: Default value type: string @@ -16951,9 +19489,9 @@ components: type: string type: array labelMatchingType: - $ref: '#/components/schemas/MappingAttributeLabelMatchingType' + $ref: "#/components/schemas/MappingAttributeLabelMatchingType" metadataField: - $ref: '#/components/schemas/MappingAttributeMetadataField' + $ref: "#/components/schemas/MappingAttributeMetadataField" validationRegex: description: Attribute Value Regex Validation type: string @@ -16980,6 +19518,8 @@ components: - CONTENT_KEY_VALUE - METADATA - MANUAL + - DATA_CLASSIFICATION + - MALWARE_SCAN type: string GetAttributeAllowedValuesResponse: example: @@ -17004,12 +19544,13 @@ components: attribute: watermark: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT dataType: STRING @@ -17017,7 +19558,7 @@ components: key: key properties: attribute: - $ref: '#/components/schemas/Attribute' + $ref: "#/components/schemas/Attribute" type: object GetAttributesResponse: example: @@ -17025,12 +19566,13 @@ components: attributes: - watermark: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT dataType: STRING @@ -17038,12 +19580,13 @@ components: key: key - watermark: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT dataType: STRING @@ -17056,19 +19599,20 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/Attribute' + $ref: "#/components/schemas/Attribute" type: array type: object Attribute: example: watermark: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT dataType: STRING @@ -17076,27 +19620,31 @@ components: key: key properties: type: - $ref: '#/components/schemas/AttributeType' + $ref: "#/components/schemas/AttributeType" key: description: Attribute Key type: string dataType: - $ref: '#/components/schemas/AttributeDataType' + $ref: "#/components/schemas/AttributeDataType" watermark: - $ref: '#/components/schemas/Watermark' + $ref: "#/components/schemas/Watermark" type: object Watermark: example: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT properties: + fontSize: + description: Watermark Font Size + type: number text: description: Watermark text type: string @@ -17107,21 +19655,21 @@ components: description: Watermark Image Document Id type: string scale: - $ref: '#/components/schemas/WatermarkScale' + $ref: "#/components/schemas/WatermarkScale" position: - $ref: '#/components/schemas/WatermarkPosition' + $ref: "#/components/schemas/WatermarkPosition" type: object WatermarkPosition: example: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT properties: xAnchor: - $ref: '#/components/schemas/WatermarkPositionXAnchor' + $ref: "#/components/schemas/WatermarkPositionXAnchor" yAnchor: - $ref: '#/components/schemas/WatermarkPositionYAnchor' + $ref: "#/components/schemas/WatermarkPositionYAnchor" xOffset: description: X offset type: number @@ -17155,6 +19703,7 @@ components: enum: - STANDARD - OPA + - GOVERNANCE type: string AttributeDataType: default: STRING @@ -17166,18 +19715,61 @@ components: - KEY_ONLY - PUBLICATION - WATERMARK + - ENTITY type: string + UpdateAttributeRequest: + example: + attribute: + watermark: + imageDocumentId: imageDocumentId + rotation: 6.027456183070403 + scale: FIT_BEST + fontSize: 0.8008281904610115 + text: text + position: + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 + yAnchor: TOP + xAnchor: LEFT + type: STANDARD + properties: + attribute: + $ref: "#/components/schemas/UpdateAttribute" + required: + - attribute + type: object + UpdateAttribute: + example: + watermark: + imageDocumentId: imageDocumentId + rotation: 6.027456183070403 + scale: FIT_BEST + fontSize: 0.8008281904610115 + text: text + position: + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 + yAnchor: TOP + xAnchor: LEFT + type: STANDARD + properties: + type: + $ref: "#/components/schemas/AttributeType" + watermark: + $ref: "#/components/schemas/Watermark" + type: object AddAttributeRequest: example: attribute: watermark: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT dataType: STRING @@ -17185,7 +19777,7 @@ components: key: key properties: attribute: - $ref: '#/components/schemas/AddAttribute' + $ref: "#/components/schemas/AddAttribute" required: - attribute type: object @@ -17193,12 +19785,13 @@ components: example: watermark: imageDocumentId: imageDocumentId - rotation: 0.8008281904610115 + rotation: 6.027456183070403 scale: FIT_BEST + fontSize: 0.8008281904610115 text: text position: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT dataType: STRING @@ -17209,22 +19802,14 @@ components: description: Attribute Key type: string dataType: - $ref: '#/components/schemas/AttributeDataType' + $ref: "#/components/schemas/AttributeDataType" type: - $ref: '#/components/schemas/AttributeType' + $ref: "#/components/schemas/AttributeType" watermark: - $ref: '#/components/schemas/Watermark' + $ref: "#/components/schemas/Watermark" required: - key type: object - AddAttributeResponse: - example: - message: message - properties: - message: - description: Response Message - type: string - type: object GetDocumentsResponse: example: next: next @@ -17296,7 +19881,7 @@ components: documents: description: List of documents items: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: array type: object GetWebhooksResponse: @@ -17326,7 +19911,7 @@ components: webhooks: description: List of webhooks items: - $ref: '#/components/schemas/GetWebhookResponse' + $ref: "#/components/schemas/GetWebhookResponse" type: array type: object GetWebhookResponse: @@ -17392,7 +19977,7 @@ components: tags: description: List of webhook tags items: - $ref: '#/components/schemas/WebhookTag' + $ref: "#/components/schemas/WebhookTag" type: array type: object WebhookTag: @@ -17433,29 +20018,33 @@ components: - queueId: queueId metadata: key: metadata - insertedDate: insertedDate + retryCount: 0.8008281904610115 type: ANTIVIRUS message: message userId: userId + completedDate: completedDate + maxRetries: 6.027456183070403 + insertedDate: insertedDate parameters: - key: parameters + key: "{}" workflowId: workflowId startDate: startDate - completedDate: completedDate status: COMPLETE workflowStepId: workflowStepId - queueId: queueId metadata: key: metadata - insertedDate: insertedDate + retryCount: 0.8008281904610115 type: ANTIVIRUS message: message userId: userId + completedDate: completedDate + maxRetries: 6.027456183070403 + insertedDate: insertedDate parameters: - key: parameters + key: "{}" workflowId: workflowId startDate: startDate - completedDate: completedDate status: COMPLETE workflowStepId: workflowStepId properties: @@ -17465,7 +20054,7 @@ components: actions: description: List of document actions items: - $ref: '#/components/schemas/DocumentAction' + $ref: "#/components/schemas/DocumentAction" type: array type: object DocumentActionStatus: @@ -17478,6 +20067,8 @@ components: - RUNNING - SKIPPED - FAILED_RETRY + - MAX_RETRIES_REACHED + - WAITING_FOR_RETRY type: string DocumentActionType: description: Type of the Document Action @@ -17493,28 +20084,39 @@ components: - PUBLISH - PDFEXPORT - EVENTBRIDGE + - RESIZE + - DATA_CLASSIFICATION + - MALWARE_SCAN type: string DocumentAction: example: queueId: queueId metadata: key: metadata - insertedDate: insertedDate + retryCount: 0.8008281904610115 type: ANTIVIRUS message: message userId: userId + completedDate: completedDate + maxRetries: 6.027456183070403 + insertedDate: insertedDate parameters: - key: parameters + key: "{}" workflowId: workflowId startDate: startDate - completedDate: completedDate status: COMPLETE workflowStepId: workflowStepId properties: status: - $ref: '#/components/schemas/DocumentActionStatus' + $ref: "#/components/schemas/DocumentActionStatus" type: - $ref: '#/components/schemas/DocumentActionType' + $ref: "#/components/schemas/DocumentActionType" + retryCount: + description: The number of times this action has already been attempted + type: number + maxRetries: + description: The maximum number of retry attempts allowed for this action + type: number queueId: description: Queue Id type: string @@ -17541,7 +20143,7 @@ components: type: string parameters: additionalProperties: - type: string + type: object description: Action parameters type: object metadata: @@ -17568,7 +20170,7 @@ components: data: items: items: - $ref: '#/components/schemas/OcrTableData' + $ref: "#/components/schemas/OcrTableData" type: array type: array type: object @@ -17643,11 +20245,11 @@ components: keyValues: description: List of ocr key / values items: - $ref: '#/components/schemas/OcrKeyValues' + $ref: "#/components/schemas/OcrKeyValues" type: array tables: items: - $ref: '#/components/schemas/OcrTable' + $ref: "#/components/schemas/OcrTable" type: array data: description: OCR text result @@ -17795,20 +20397,20 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array metadata: description: List of document Metadata items: - $ref: '#/components/schemas/AddDocumentMetadata' + $ref: "#/components/schemas/AddDocumentMetadata" type: array attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object AddDocumentFulltextRequest: @@ -17884,20 +20486,20 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array metadata: description: List of document Metadata items: - $ref: '#/components/schemas/AddDocumentMetadata' + $ref: "#/components/schemas/AddDocumentMetadata" type: array attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object UpdateDocumentFulltextRequest: @@ -17973,32 +20575,84 @@ components: description: "Document checksum, changes when document file changes" type: string checksumType: - $ref: '#/components/schemas/ChecksumType' + $ref: "#/components/schemas/ChecksumType" tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array metadata: description: List of document Metadata items: - $ref: '#/components/schemas/AddDocumentMetadata' + $ref: "#/components/schemas/AddDocumentMetadata" type: array attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object SetAntivirusRequest: type: object - SetAntivirusResponse: + SetMalwareScanRequest: + type: object + GetMalwareScanResponse: example: - message: message + next: next + malwareScanResults: + - scannedDate: scannedDate + s3version: s3version + scanStatus: MALICIOUS + scanEngine: CLAM_AV + scanMessage: scanMessage + - scannedDate: scannedDate + s3version: s3version + scanStatus: MALICIOUS + scanEngine: CLAM_AV + scanMessage: scanMessage properties: - message: - description: Antivirus processing message + next: + description: Next page of results token + type: string + malwareScanResults: + description: List of Malware Scan Results + items: + $ref: "#/components/schemas/MalwareScanResult" + type: array + type: object + MalwareScanResult: + example: + scannedDate: scannedDate + s3version: s3version + scanStatus: MALICIOUS + scanEngine: CLAM_AV + scanMessage: scanMessage + properties: + scanStatus: + $ref: "#/components/schemas/MalwareScanStatus" + scanEngine: + $ref: "#/components/schemas/MalwareEngine" + s3version: + description: Document storage version + type: string + scanMessage: + description: Document Malware scan message + type: string + scannedDate: + description: Scanned Timestamp type: string type: object + MalwareEngine: + description: Type of Malware Engine used + enum: + - CLAM_AV + type: string + MalwareScanStatus: + description: Document Malware scan result + enum: + - MALICIOUS + - ERROR + - CLEAN + type: string AddDocumentActionsRequest: example: actions: @@ -18008,45 +20662,77 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height properties: actions: description: List of Actions items: - $ref: '#/components/schemas/AddAction' + $ref: "#/components/schemas/AddAction" type: array type: object AddAction: @@ -18057,25 +20743,41 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height properties: type: - $ref: '#/components/schemas/DocumentActionType' + $ref: "#/components/schemas/DocumentActionType" parameters: - $ref: '#/components/schemas/AddActionParameters' + $ref: "#/components/schemas/AddActionParameters" queueId: description: Id of Queue type: string @@ -18093,33 +20795,75 @@ components: enum: - CSV type: string + TextractQuery: + description: A question to ask Textract + example: + pages: + - pages + - pages + alias: alias + text: text + properties: + text: + description: Natural-language question + type: string + alias: + description: Label to identify this query in the result + type: string + pages: + description: Page selection + items: + type: string + type: array + type: object AddActionParameters: example: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height properties: + ocrTextractQueries: + items: + $ref: "#/components/schemas/TextractQuery" + type: array ocrParseTypes: - description: "OCR: Parse types - TEXT, FORMS, TABLES" + description: "OCR: Parse types - TEXT, FORMS, TABLES, QUERIES (must include\ + \ ocrTextractQueries)" type: string ocrEngine: - $ref: '#/components/schemas/OcrEngine' + $ref: "#/components/schemas/OcrEngine" ocrOutputType: - $ref: '#/components/schemas/OcrOutputType' + $ref: "#/components/schemas/OcrOutputType" ocrNumberOfPages: description: Number of pages to OCR (from start) (-1 all) type: string @@ -18127,6 +20871,9 @@ components: description: "OCR: For the rewriting of the PDF document, converting any\ \ image text to searchable text" type: string + llmPromptEntityName: + description: "DATA_CLASSIFICATION: Set the LLM Prompt Entity Name" + type: string url: description: "Webhook: Callback URL" type: string @@ -18171,6 +20918,18 @@ components: eventBusName: description: The name or ARN of the event bus to receive the event type: string + width: + description: The width of the image to resize (or 'auto') + type: string + height: + description: The height of the image to resize (or 'auto') + type: string + path: + description: The path to use when creating resized document (optional) + type: string + outputType: + description: The output type of the image + type: string type: object AddDocumentOcrRequest: example: @@ -18178,9 +20937,14 @@ components: - TEXT - FORMS - TABLES + - QUERIES properties: + textractQueries: + items: + $ref: "#/components/schemas/TextractQuery" + type: array parseTypes: - description: "OCR Parse types - TEXT, FORMS, TABLES" + description: "OCR Parse types - TEXT, FORMS, TABLES, QUERIES" items: type: string type: array @@ -18189,12 +20953,12 @@ components: \ text" type: boolean ocrEngine: - $ref: '#/components/schemas/OcrEngine' + $ref: "#/components/schemas/OcrEngine" ocrNumberOfPages: description: Number of pages to OCR (from start) (-1 all) type: string ocrOutputType: - $ref: '#/components/schemas/OcrOutputType' + $ref: "#/components/schemas/OcrOutputType" type: object SetDocumentOcrRequest: example: @@ -18273,11 +21037,11 @@ components: description: Email address to use for notifications type: string ocr: - $ref: '#/components/schemas/OcrConfig' + $ref: "#/components/schemas/OcrConfig" google: - $ref: '#/components/schemas/GoogleConfig' + $ref: "#/components/schemas/GoogleConfig" docusign: - $ref: '#/components/schemas/DocusignConfig' + $ref: "#/components/schemas/DocusignConfig" type: object UpdateConfigurationResponse: example: @@ -18289,9 +21053,9 @@ components: type: object AddResourceItem: oneOf: - - $ref: '#/components/schemas/AddLocaleResourceInterfaceItem' - - $ref: '#/components/schemas/AddLocaleResourceSchemaItem' - - $ref: '#/components/schemas/AddLocaleResourceClassificationItem' + - $ref: "#/components/schemas/AddLocaleResourceInterfaceItem" + - $ref: "#/components/schemas/AddLocaleResourceSchemaItem" + - $ref: "#/components/schemas/AddLocaleResourceClassificationItem" ResourceItem: example: itemType: INTERFACE @@ -18303,7 +21067,7 @@ components: itemKey: itemKey properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" localizedValue: description: Localized Value type: string @@ -18337,7 +21101,7 @@ components: localizedValue: localizedValue properties: resourceItem: - $ref: '#/components/schemas/AddResourceItem' + $ref: "#/components/schemas/AddResourceItem" type: object AddLocaleResourceItemRequest: example: @@ -18347,7 +21111,7 @@ components: localizedValue: localizedValue properties: resourceItem: - $ref: '#/components/schemas/AddResourceItem' + $ref: "#/components/schemas/AddResourceItem" type: object AddLocaleResourceInterfaceItem: example: @@ -18356,7 +21120,7 @@ components: localizedValue: localizedValue properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" localizedValue: description: Localized Value type: string @@ -18371,7 +21135,7 @@ components: AddLocaleResourceSchemaItem: properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" attributeKey: description: Attribute Key type: string @@ -18390,7 +21154,7 @@ components: AddLocaleResourceClassificationItem: properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" classificationId: description: Classification Id type: string @@ -18418,7 +21182,7 @@ components: description: Item Key of resource type: string type: object - Locale: + LocaleInfo: example: locale: locale properties: @@ -18447,7 +21211,7 @@ components: locales: description: List of Locale items: - $ref: '#/components/schemas/Locale' + $ref: "#/components/schemas/LocaleInfo" type: array type: object GetLocaleResourceItemsResponse: @@ -18475,7 +21239,7 @@ components: resourceItems: description: List of permissions items: - $ref: '#/components/schemas/ResourceItem' + $ref: "#/components/schemas/ResourceItem" type: array type: object GetLocaleResourceItemResponse: @@ -18490,7 +21254,7 @@ components: itemKey: itemKey properties: resourceItem: - $ref: '#/components/schemas/ResourceItem' + $ref: "#/components/schemas/ResourceItem" type: object AddApiKeyRequest: example: @@ -18584,7 +21348,7 @@ components: opaPolicies: description: List of OPA policies items: - $ref: '#/components/schemas/OpaPolicy' + $ref: "#/components/schemas/OpaPolicy" type: array type: object OpaPolicy: @@ -18601,10 +21365,18 @@ components: type: object OpaPolicyAttribute: example: + in: + stringValues: + - stringValues + - stringValues lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18623,17 +21395,21 @@ components: description: Attribute Key type: string eq: - $ref: '#/components/schemas/OpaPolicyAttributeEq' + $ref: "#/components/schemas/OpaPolicyAttributeEq" gt: - $ref: '#/components/schemas/OpaPolicyAttributeGt' + $ref: "#/components/schemas/OpaPolicyAttributeGt" gte: - $ref: '#/components/schemas/OpaPolicyAttributeGte' + $ref: "#/components/schemas/OpaPolicyAttributeGte" lt: - $ref: '#/components/schemas/OpaPolicyAttributeLt' + $ref: "#/components/schemas/OpaPolicyAttributeLt" lte: - $ref: '#/components/schemas/OpaPolicyAttributeLte' + $ref: "#/components/schemas/OpaPolicyAttributeLte" neq: - $ref: '#/components/schemas/OpaPolicyAttributeNeq' + $ref: "#/components/schemas/OpaPolicyAttributeNeq" + in: + $ref: "#/components/schemas/OpaPolicyAttributeIn" + notIn: + $ref: "#/components/schemas/OpaPolicyAttributeNotIn" type: object OpaPolicyAttributeEq: description: Attribute EQ criteria @@ -18654,7 +21430,7 @@ components: description: The value to compare the Attribute Key value to type: boolean input: - $ref: '#/components/schemas/OpaPolicyAttributeInput' + $ref: "#/components/schemas/OpaPolicyAttributeInput" type: object OpaPolicyAttributeGt: description: Attribute greater than criteria @@ -18701,6 +21477,32 @@ components: description: The value to compare the Attribute Key value to type: string type: object + OpaPolicyAttributeIn: + description: Attribute In to criteria + example: + stringValues: + - stringValues + - stringValues + properties: + stringValues: + description: The value to compare the Attribute Key value to + items: + type: string + type: array + type: object + OpaPolicyAttributeNotIn: + description: Attribute Not In to criteria + example: + stringValues: + - stringValues + - stringValues + properties: + stringValues: + description: The value to compare the Attribute Key value to + items: + type: string + type: array + type: object OpaPolicyAttributeInput: example: matchUsername: true @@ -18709,24 +21511,45 @@ components: description: Match Input Username type: boolean type: object - OpaPolicyItemType: - description: Type of Opa Policy Item - enum: - - ALLOW - type: string OpaPolicyItem: example: anyRoles: - anyRoles - anyRoles + input: + resource: + in: + - in + - in + notIn: + - notIn + - notIn + httpMethod: + in: + - in + - in + notIn: + - notIn + - notIn + excludedRoles: + - excludedRoles + - excludedRoles allRoles: - allRoles - allRoles attributes: - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18740,10 +21563,18 @@ components: gt: numberValue: 6.027456183070403 key: key - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18757,11 +21588,8 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy properties: - type: - $ref: '#/components/schemas/OpaPolicyItemType' policy: description: OPA Policy in REGO format type: string @@ -18775,9 +21603,78 @@ components: items: type: string type: array + excludedRoles: + description: User must NOT have these roles + items: + type: string + type: array attributes: items: - $ref: '#/components/schemas/OpaPolicyAttribute' + $ref: "#/components/schemas/OpaPolicyAttribute" + type: array + input: + $ref: "#/components/schemas/OpaPolicyInput" + type: object + OpaPolicyInput: + example: + resource: + in: + - in + - in + notIn: + - notIn + - notIn + httpMethod: + in: + - in + - in + notIn: + - notIn + - notIn + properties: + httpMethod: + $ref: "#/components/schemas/OpaPolicyInputMethod" + resource: + $ref: "#/components/schemas/OpaPolicyInputResource" + type: object + OpaPolicyInputMethod: + example: + in: + - in + - in + notIn: + - notIn + - notIn + properties: + in: + description: List of HTTP Methods + items: + type: string + type: array + notIn: + description: List of HTTP Methods + items: + type: string + type: array + type: object + OpaPolicyInputResource: + example: + in: + - in + - in + notIn: + - notIn + - notIn + properties: + in: + description: List of Resources + items: + type: string + type: array + notIn: + description: List of Resources + items: + type: string type: array type: object SetOpaAccessPolicyItemsRequest: @@ -18786,14 +21683,40 @@ components: - anyRoles: - anyRoles - anyRoles + input: + resource: + in: + - in + - in + notIn: + - notIn + - notIn + httpMethod: + in: + - in + - in + notIn: + - notIn + - notIn + excludedRoles: + - excludedRoles + - excludedRoles allRoles: - allRoles - allRoles attributes: - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18807,10 +21730,18 @@ components: gt: numberValue: 6.027456183070403 key: key - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18824,19 +21755,44 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy - anyRoles: - anyRoles - anyRoles + input: + resource: + in: + - in + - in + notIn: + - notIn + - notIn + httpMethod: + in: + - in + - in + notIn: + - notIn + - notIn + excludedRoles: + - excludedRoles + - excludedRoles allRoles: - allRoles - allRoles attributes: - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18850,10 +21806,18 @@ components: gt: numberValue: 6.027456183070403 key: key - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18867,14 +21831,15 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy properties: policyItems: description: List of OPA policy items items: - $ref: '#/components/schemas/OpaPolicyItem' + $ref: "#/components/schemas/OpaPolicyItem" type: array + required: + - policyItems type: object GetOpaAccessPolicyResponse: example: @@ -18890,14 +21855,40 @@ components: - anyRoles: - anyRoles - anyRoles + input: + resource: + in: + - in + - in + notIn: + - notIn + - notIn + httpMethod: + in: + - in + - in + notIn: + - notIn + - notIn + excludedRoles: + - excludedRoles + - excludedRoles allRoles: - allRoles - allRoles attributes: - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18911,10 +21902,18 @@ components: gt: numberValue: 6.027456183070403 key: key - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18928,19 +21927,44 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy - anyRoles: - anyRoles - anyRoles + input: + resource: + in: + - in + - in + notIn: + - notIn + - notIn + httpMethod: + in: + - in + - in + notIn: + - notIn + - notIn + excludedRoles: + - excludedRoles + - excludedRoles allRoles: - allRoles - allRoles attributes: - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18954,10 +21978,18 @@ components: gt: numberValue: 6.027456183070403 key: key - - lt: + - in: + stringValues: + - stringValues + - stringValues + lt: numberValue: 5.962133916683182 gte: numberValue: 1.4658129805029452 + notIn: + stringValues: + - stringValues + - stringValues neq: stringValue: stringValue eq: @@ -18971,12 +22003,11 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy properties: policyItems: items: - $ref: '#/components/schemas/OpaPolicyItem' + $ref: "#/components/schemas/OpaPolicyItem" type: array type: object DeleteCaseResponse: @@ -19054,7 +22085,7 @@ components: apiKeys: description: List of ApiKeys items: - $ref: '#/components/schemas/ApiKey' + $ref: "#/components/schemas/ApiKey" type: array type: object ApiKey: @@ -19128,11 +22159,11 @@ components: created in AWS SES) type: string ocr: - $ref: '#/components/schemas/OcrConfig' + $ref: "#/components/schemas/OcrConfig" google: - $ref: '#/components/schemas/GoogleConfig' + $ref: "#/components/schemas/GoogleConfig" docusign: - $ref: '#/components/schemas/DocusignConfig' + $ref: "#/components/schemas/DocusignConfig" type: object SiteConfig: example: @@ -19153,7 +22184,7 @@ components: description: Set Maximum number of Webhooks allowed type: string ocr: - $ref: '#/components/schemas/OcrConfig' + $ref: "#/components/schemas/OcrConfig" type: object SiteUsage: example: @@ -19273,7 +22304,7 @@ components: users: description: List of users items: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" type: array type: object AddGroupRequest: @@ -19283,7 +22314,7 @@ components: description: description properties: group: - $ref: '#/components/schemas/AddGroup' + $ref: "#/components/schemas/AddGroup" required: - group type: object @@ -19322,7 +22353,7 @@ components: username: username properties: user: - $ref: '#/components/schemas/AddUser' + $ref: "#/components/schemas/AddUser" required: - user type: object @@ -19351,7 +22382,7 @@ components: description: Email address of user type: string attributes: - $ref: '#/components/schemas/UserAttributes' + $ref: "#/components/schemas/UserAttributes" type: object User: example: @@ -19398,7 +22429,7 @@ components: description: Last nodified timestamp of user type: string attributes: - $ref: '#/components/schemas/UserAttributes' + $ref: "#/components/schemas/UserAttributes" type: object UserAttributes: example: @@ -19487,7 +22518,7 @@ components: groups: description: List of groups items: - $ref: '#/components/schemas/Group' + $ref: "#/components/schemas/Group" type: array type: object GetGroupResponse: @@ -19499,7 +22530,7 @@ components: description: description properties: group: - $ref: '#/components/schemas/Group' + $ref: "#/components/schemas/Group" type: object GetUserResponse: example: @@ -19529,7 +22560,7 @@ components: username: username properties: user: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" type: object GetUserGroupsResponse: example: @@ -19550,7 +22581,7 @@ components: groups: description: List of groups items: - $ref: '#/components/schemas/Group' + $ref: "#/components/schemas/Group" type: array type: object GetUsersResponse: @@ -19610,7 +22641,7 @@ components: users: description: List of users items: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" type: array type: object Group: @@ -19641,8 +22672,227 @@ components: properties: permissions: items: - $ref: '#/components/schemas/SiteGroupPermissions' + $ref: "#/components/schemas/SiteGroupPermissions" + type: array + type: object + GetOpenSearchSnapshotResponse: + example: + snapshots: + - shards: + total: 0.8008281904610115 + failed: 6.027456183070403 + successful: 1.4658129805029452 + start_time: start_time + indices: + - indices + - indices + failures: + - index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + - index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + end_time: end_time + duration_in_millis: 7.061401241503109 + start_time_in_millis: 5.637376656633329 + state: state + uuid: uuid + version: version + snapshot: snapshot + end_time_in_millis: 2.3021358869347655 + - shards: + total: 0.8008281904610115 + failed: 6.027456183070403 + successful: 1.4658129805029452 + start_time: start_time + indices: + - indices + - indices + failures: + - index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + - index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + end_time: end_time + duration_in_millis: 7.061401241503109 + start_time_in_millis: 5.637376656633329 + state: state + uuid: uuid + version: version + snapshot: snapshot + end_time_in_millis: 2.3021358869347655 + properties: + snapshots: + items: + $ref: "#/components/schemas/OpenSearchSnapshot" + type: array + type: object + GetOpenSearchSnapshotRepositoryResponse: + example: + s3Repositories: + - bucket: bucket + repository: repository + - bucket: bucket + repository: repository + properties: + s3Repositories: + items: + $ref: "#/components/schemas/OpenSearchS3Repository" + type: array + type: object + OpenSearchSnapshotFailure: + description: Details about a failure for a specific shard in a snapshot. + example: + index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + properties: + index: + description: The index name. + type: string + index_uuid: + description: UUID of the index. + type: string + shard_id: + description: Shard identifier. + format: int32 + type: integer + reason: + description: Full exception/message explaining why the failure occurred. + type: string + node_id: + description: ID of the node handling that shard. + type: string + status: + description: "Status of the failure (e.g., INTERNAL_SERVER_ERROR)." + type: string + type: object + OpenSearchSnapshot: + example: + shards: + total: 0.8008281904610115 + failed: 6.027456183070403 + successful: 1.4658129805029452 + start_time: start_time + indices: + - indices + - indices + failures: + - index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + - index_uuid: index_uuid + reason: reason + shard_id: 5 + index: index + node_id: node_id + status: status + end_time: end_time + duration_in_millis: 7.061401241503109 + start_time_in_millis: 5.637376656633329 + state: state + uuid: uuid + version: version + snapshot: snapshot + end_time_in_millis: 2.3021358869347655 + properties: + snapshot: + description: Snapshot name + type: string + uuid: + description: Snapshot’s universally unique identifier (UUID) + type: string + version: + description: Open Search version that created the snapshot + type: string + indices: + description: Indices in the snapshot + items: + type: string + type: array + shards: + $ref: "#/components/schemas/OpenSearchSnapshotShard" + failures: + items: + $ref: "#/components/schemas/OpenSearchSnapshotFailure" type: array + state: + description: "Snapshot status. Possible values: IN_PROGRESS, SUCCESS, FAILED,\ + \ PARTIAL" + type: string + start_time: + description: Date/time when the snapshot creation process began + type: string + start_time_in_millis: + description: Time (in milliseconds) when the snapshot creation process began + type: number + end_time: + description: Date/time when the snapshot creation process ended + type: string + end_time_in_millis: + description: Time (in milliseconds) when the snapshot creation process ended + type: number + duration_in_millis: + description: Total time (in milliseconds) that the snapshot creation process + lasted + type: number + type: object + OpenSearchSnapshotShard: + example: + total: 0.8008281904610115 + failed: 6.027456183070403 + successful: 1.4658129805029452 + properties: + total: + description: Total number of shards + type: number + failed: + description: Failed number of shards + type: number + successful: + description: Successful number of shards + type: number + type: object + OpenSearchS3Repository: + example: + bucket: bucket + repository: repository + properties: + repository: + description: Name of the Repository + type: string + bucket: + description: Name of the S3 bucket + type: string + type: object + SetOpenSearchIndiceRequest: + example: + indexName: indexName + properties: + indexName: + description: The name of the index to set for SiteId + type: string type: object SetOpenSearchIndexRequest: example: @@ -19651,7 +22901,7 @@ components: numberOfShards: numberOfShards properties: indexSettings: - $ref: '#/components/schemas/OpenSearchIndex' + $ref: "#/components/schemas/OpenSearchIndexSetting" type: object SetOpenSearchIndexResponse: example: @@ -19712,7 +22962,7 @@ components: - ADMIN properties: group: - $ref: '#/components/schemas/SiteGroup' + $ref: "#/components/schemas/SiteGroup" type: object SiteGroup: example: @@ -19722,7 +22972,64 @@ components: properties: permissions: items: - $ref: '#/components/schemas/SiteGroupPermissions' + $ref: "#/components/schemas/SiteGroupPermissions" + type: array + type: object + GetOpenSearchIndiceResponse: + example: + indices: + - documentCount: documentCount + aliases: + - name: name + - name: name + numberOfReplicas: numberOfReplicas + numberOfShards: numberOfShards + name: name + storeSize: storeSize + - documentCount: documentCount + aliases: + - name: name + - name: name + numberOfReplicas: numberOfReplicas + numberOfShards: numberOfShards + name: name + storeSize: storeSize + properties: + indices: + description: OpenSearch Indices + items: + $ref: "#/components/schemas/OpenSearchIndex" + type: array + type: object + OpenSearchIndex: + example: + documentCount: documentCount + aliases: + - name: name + - name: name + numberOfReplicas: numberOfReplicas + numberOfShards: numberOfShards + name: name + storeSize: storeSize + properties: + numberOfReplicas: + description: The number of replicas per shard + type: string + numberOfShards: + description: The number of shards in index + type: string + documentCount: + description: The number of documents in index + type: string + storeSize: + description: The store size of the index + type: string + name: + description: Name of Index + type: string + aliases: + items: + $ref: "#/components/schemas/OpenSearchAlias" type: array type: object GetOpenSearchIndexResponse: @@ -19732,9 +23039,9 @@ components: numberOfShards: numberOfShards properties: indexSettings: - $ref: '#/components/schemas/OpenSearchIndex' + $ref: "#/components/schemas/OpenSearchIndexSetting" type: object - OpenSearchIndex: + OpenSearchIndexSetting: example: numberOfReplicas: numberOfReplicas numberOfShards: numberOfShards @@ -19746,8 +23053,19 @@ components: description: The number of shards in index type: string type: object + OpenSearchAlias: + example: + name: name + properties: + name: + description: Name of Alias + type: string + type: object GetSitesResponse: example: + roles: + - roles + - roles sites: - uploadEmail: uploadEmail permissions: @@ -19790,10 +23108,14 @@ components: username: description: Username of request caller type: string + roles: + items: + type: string + type: array sites: description: List of sites items: - $ref: '#/components/schemas/Site' + $ref: "#/components/schemas/Site" type: array type: object Site: @@ -19824,7 +23146,7 @@ components: description: Site Title type: string status: - $ref: '#/components/schemas/SiteStatus' + $ref: "#/components/schemas/SiteStatus" permission: description: SiteId permission level enum: @@ -19833,15 +23155,15 @@ components: type: string permissions: items: - $ref: '#/components/schemas/SiteGroupPermissions' + $ref: "#/components/schemas/SiteGroupPermissions" type: array uploadEmail: description: SiteId document upload email address type: string config: - $ref: '#/components/schemas/SiteConfig' + $ref: "#/components/schemas/SiteConfig" usage: - $ref: '#/components/schemas/SiteUsage' + $ref: "#/components/schemas/SiteUsage" type: object AddClassificationResponse: example: @@ -19862,7 +23184,7 @@ components: errors: description: List of errors items: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" type: array type: object Error: @@ -19900,7 +23222,7 @@ components: description: Workflow description type: string status: - $ref: '#/components/schemas/WorkflowStatus' + $ref: "#/components/schemas/WorkflowStatus" type: object SetWorkflowRequest: example: @@ -19915,20 +23237,36 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -19947,20 +23285,36 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -19980,11 +23334,11 @@ components: description: Workflow description type: string status: - $ref: '#/components/schemas/WorkflowStatus' + $ref: "#/components/schemas/WorkflowStatus" steps: description: Workflow Steps items: - $ref: '#/components/schemas/AddWorkflowStep' + $ref: "#/components/schemas/AddWorkflowStep" type: array required: - name @@ -20004,20 +23358,36 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -20036,20 +23406,36 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -20069,11 +23455,11 @@ components: description: Workflow description type: string status: - $ref: '#/components/schemas/WorkflowStatus' + $ref: "#/components/schemas/WorkflowStatus" steps: description: Workflow Steps items: - $ref: '#/components/schemas/AddWorkflowStep' + $ref: "#/components/schemas/AddWorkflowStep" type: array required: - name @@ -20090,20 +23476,36 @@ components: mappingId: mappingId characterMax: characterMax ocrEngine: TESSERACT + ocrTextractQueries: + - pages: + - pages + - pages + alias: alias + text: text + - pages: + - pages + - pages + alias: alias + text: text ocrParseTypes: ocrParseTypes ocrOutputType: CSV addPdfDetectedCharactersAsText: addPdfDetectedCharactersAsText + outputType: outputType ocrNumberOfPages: ocrNumberOfPages notificationType: email notificationToCc: notificationToCc notificationToBcc: notificationToBcc url: url tags: tags + path: path notificationSubject: notificationSubject engine: chatgpt notificationText: notificationText eventBusName: eventBusName + width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -20119,13 +23521,13 @@ components: description: Workflow Step Identifier type: string action: - $ref: '#/components/schemas/AddAction' + $ref: "#/components/schemas/AddAction" queue: - $ref: '#/components/schemas/AddWorkflowStepQueue' + $ref: "#/components/schemas/AddWorkflowStepQueue" decisions: description: Workflow Decisions items: - $ref: '#/components/schemas/AddWorkflowStepDecision' + $ref: "#/components/schemas/AddWorkflowStepDecision" type: array type: object WorkflowStepDecisionType: @@ -20140,7 +23542,7 @@ components: type: APPROVE properties: type: - $ref: '#/components/schemas/WorkflowStepDecisionType' + $ref: "#/components/schemas/WorkflowStepDecisionType" nextStepId: description: Workflow Step to move to type: string @@ -20154,7 +23556,7 @@ components: type: APPROVE properties: type: - $ref: '#/components/schemas/WorkflowStepDecisionType' + $ref: "#/components/schemas/WorkflowStepDecisionType" nextStepId: description: Workflow Step to move to type: string @@ -20238,7 +23640,7 @@ components: workflows: description: List of Document Workflows items: - $ref: '#/components/schemas/DocumentWorkflow' + $ref: "#/components/schemas/DocumentWorkflow" type: array next: type: string @@ -20254,7 +23656,7 @@ components: status: COMPLETE properties: workflow: - $ref: '#/components/schemas/DocumentWorkflow' + $ref: "#/components/schemas/DocumentWorkflow" type: object DocumentWorkflowStatus: description: Status of the Workflow Document @@ -20285,7 +23687,7 @@ components: description: The current step workflow is on type: string status: - $ref: '#/components/schemas/DocumentWorkflowStatus' + $ref: "#/components/schemas/DocumentWorkflowStatus" insertedDate: description: Inserted Timestamp type: string @@ -20386,7 +23788,7 @@ components: description: Name of schema type: string attributes: - $ref: '#/components/schemas/SchemaAttributes' + $ref: "#/components/schemas/SchemaAttributes" type: object GetClassificationResponse: example: @@ -20447,7 +23849,7 @@ components: userId: userId properties: classification: - $ref: '#/components/schemas/Classification' + $ref: "#/components/schemas/Classification" type: object GetClassificationsResponse: example: @@ -20468,7 +23870,7 @@ components: classifications: description: List of classifications items: - $ref: '#/components/schemas/ClassificationSummary' + $ref: "#/components/schemas/ClassificationSummary" type: array type: object ClassificationSummary: @@ -20556,7 +23958,7 @@ components: description: Inserted Timestamp type: string attributes: - $ref: '#/components/schemas/SchemaAttributes' + $ref: "#/components/schemas/SchemaAttributes" type: object AddClassification: example: @@ -20609,7 +24011,7 @@ components: description: Name of Classification type: string attributes: - $ref: '#/components/schemas/SetSchemaAttributes' + $ref: "#/components/schemas/SetSchemaAttributes" type: object SetClassificationRequest: example: @@ -20660,7 +24062,7 @@ components: minNumberOfValues: 0.8008281904610115 properties: classification: - $ref: '#/components/schemas/AddClassification' + $ref: "#/components/schemas/AddClassification" type: object AddSiteRequest: example: @@ -20670,7 +24072,7 @@ components: status: ACTIVE properties: site: - $ref: '#/components/schemas/AddSite' + $ref: "#/components/schemas/AddSite" type: object AddSite: example: @@ -20685,7 +24087,7 @@ components: description: Title of Site type: string status: - $ref: '#/components/schemas/SiteStatus' + $ref: "#/components/schemas/SiteStatus" type: object UpdateSiteRequest: example: @@ -20694,7 +24096,7 @@ components: status: ACTIVE properties: site: - $ref: '#/components/schemas/UpdateSite' + $ref: "#/components/schemas/UpdateSite" type: object UpdateSite: example: @@ -20705,7 +24107,7 @@ components: description: Title of Site type: string status: - $ref: '#/components/schemas/SiteStatus' + $ref: "#/components/schemas/SiteStatus" type: object SiteStatus: description: Site status @@ -20771,7 +24173,7 @@ components: minNumberOfValues: 0.8008281904610115 properties: classification: - $ref: '#/components/schemas/AddClassification' + $ref: "#/components/schemas/AddClassification" type: object SetSitesSchemaRequest: example: @@ -20824,7 +24226,7 @@ components: description: Name of schema type: string attributes: - $ref: '#/components/schemas/SetSchemaAttributes' + $ref: "#/components/schemas/SetSchemaAttributes" type: object SetSchemaAttributes: example: @@ -20874,17 +24276,17 @@ components: compositeKeys: description: List of Composite Keys items: - $ref: '#/components/schemas/AttributeSchemaCompositeKey' + $ref: "#/components/schemas/AttributeSchemaCompositeKey" type: array required: description: List of Required Attributes items: - $ref: '#/components/schemas/AddAttributeSchemaRequired' + $ref: "#/components/schemas/AddAttributeSchemaRequired" type: array optional: description: List of Optional Attribute items: - $ref: '#/components/schemas/AddAttributeSchemaOptional' + $ref: "#/components/schemas/AddAttributeSchemaOptional" type: array allowAdditionalAttributes: default: true @@ -20946,17 +24348,17 @@ components: compositeKeys: description: List of Composite Keys items: - $ref: '#/components/schemas/AttributeSchemaCompositeKey' + $ref: "#/components/schemas/AttributeSchemaCompositeKey" type: array required: description: List of Required Attributes items: - $ref: '#/components/schemas/AttributeSchemaRequired' + $ref: "#/components/schemas/AttributeSchemaRequired" type: array optional: description: List of Optional Attribute items: - $ref: '#/components/schemas/AttributeSchemaOptional' + $ref: "#/components/schemas/AttributeSchemaOptional" type: array allowAdditionalAttributes: default: true @@ -21269,19 +24671,19 @@ components: description: The subject line of the email message that is sent to all recipients type: string environment: - $ref: '#/components/schemas/DocusignEnvironment' + $ref: "#/components/schemas/DocusignEnvironment" signers: description: List of DocuSign Signers items: - $ref: '#/components/schemas/DocusignSigner' + $ref: "#/components/schemas/DocusignSigner" type: array inpersonSigners: description: List of DocuSign Inperson Signers items: - $ref: '#/components/schemas/DocusignInpersonSigner' + $ref: "#/components/schemas/DocusignInpersonSigner" type: array notification: - $ref: '#/components/schemas/DocusignNotification' + $ref: "#/components/schemas/DocusignNotification" required: - environment type: object @@ -21304,9 +24706,9 @@ components: \ request are used. The default value is false." type: string expirations: - $ref: '#/components/schemas/DocusignNotificationExpirations' + $ref: "#/components/schemas/DocusignNotificationExpirations" reminders: - $ref: '#/components/schemas/DocusignNotificationReminders' + $ref: "#/components/schemas/DocusignNotificationReminders" DocusignNotificationExpirations: example: expireWarn: expireWarn @@ -21390,7 +24792,7 @@ components: \ and they must access envelopes and documents from their Docusign inbox." type: string tabs: - $ref: '#/components/schemas/DocusignSigningTabs' + $ref: "#/components/schemas/DocusignSigningTabs" required: - name type: object @@ -21417,7 +24819,7 @@ components: signHereTabs: description: A list of Sign Here tabs items: - $ref: '#/components/schemas/DocusignSignHereTabs' + $ref: "#/components/schemas/DocusignSignHereTabs" type: array type: object DocusignSignHereTabs: @@ -21514,7 +24916,7 @@ components: \ and they must access envelopes and documents from their Docusign inbox." type: string tabs: - $ref: '#/components/schemas/DocusignSigningTabs' + $ref: "#/components/schemas/DocusignSigningTabs" required: - hostEmail - hostName @@ -21545,9 +24947,9 @@ components: email: email properties: environment: - $ref: '#/components/schemas/DocusignEnvironment' + $ref: "#/components/schemas/DocusignEnvironment" recipientView: - $ref: '#/components/schemas/DocusignRecipientView' + $ref: "#/components/schemas/DocusignRecipientView" required: - environment - recipientView @@ -21568,7 +24970,7 @@ components: key: key properties: tag: - $ref: '#/components/schemas/MatchDocumentTag' + $ref: "#/components/schemas/MatchDocumentTag" type: object UpdateMatchingDocumentTagsRequest_update: description: Data to update @@ -21588,7 +24990,7 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array type: object securitySchemes: @@ -21744,6 +25146,20 @@ components: httpMethod: POST type: aws_proxy payloadFormatVersion: "1.0" + dataClassificationLambdaApi200: + uri: + Fn::Sub: "arn:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${DocumentsApiRequestsArn}/invocations" + responses: + default: + statusCode: "200" + 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:${AWS::Partition}:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${DocumentsApiRequestsArn}/invocations" diff --git a/build.gradle b/build.gradle index e5402f965..fbdd314a6 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ plugins { } group = 'com.formkiq' -version = '1.17.1' +version = '1.18.0-SNAPSHOT' sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 diff --git a/build.sbt b/build.sbt index fd11f65b9..7be2c71fa 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.formkiq", name := "client", - version := "1.17.1", + version := "1.18.0", scalaVersion := "2.11.12", scalacOptions ++= Seq("-feature"), compile / javacOptions ++= Seq("-Xlint:deprecation"), @@ -13,9 +13,9 @@ lazy val root = (project in file(".")). "com.squareup.okhttp3" % "okhttp" % "4.12.0", "com.squareup.okhttp3" % "logging-interceptor" % "4.12.0", "com.google.code.gson" % "gson" % "2.9.1", - "org.apache.commons" % "commons-lang3" % "3.17.0", + "org.apache.commons" % "commons-lang3" % "3.18.0", "jakarta.ws.rs" % "jakarta.ws.rs-api" % "2.1.6", - "org.openapitools" % "jackson-databind-nullable" % "0.2.6", + "org.openapitools" % "jackson-databind-nullable" % "0.2.8", "software.amazon.awssdk" % "auth" % "2.20.157", "io.gsonfire" % "gson-fire" % "1.9.0" % "compile", "jakarta.annotation" % "jakarta.annotation-api" % "1.3.5" % "compile", diff --git a/docs/Activity.md b/docs/Activity.md new file mode 100644 index 000000000..8f811ddbf --- /dev/null +++ b/docs/Activity.md @@ -0,0 +1,25 @@ + + +# Activity + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**resource** | **String** | Resource of Activity | [optional] | +|**type** | **String** | Type of Activity | [optional] | +|**source** | **String** | The Source of the activity | [optional] | +|**sourceIpAddress** | **String** | The Source IP address of the user | [optional] | +|**message** | **String** | The activity message | [optional] | +|**status** | **ActivityStatus** | | [optional] | +|**insertedDate** | **String** | Inserted Timestamp | [optional] | +|**userId** | **String** | User who added document | [optional] | +|**documentId** | **Object** | Document Identifier | [optional] | +|**attributeKey** | **Object** | Document Attribute Key | [optional] | +|**entityTypeId** | **String** | Entity Type Identifier | [optional] | +|**entityId** | **String** | Entity Identifier | [optional] | +|**changes** | [**Map<String, UserActivityChanges>**](UserActivityChanges.md) | | [optional] | + + + diff --git a/docs/ActivityStatus.md b/docs/ActivityStatus.md new file mode 100644 index 000000000..dbc51bfa6 --- /dev/null +++ b/docs/ActivityStatus.md @@ -0,0 +1,15 @@ + + +# ActivityStatus + +## Enum + + +* `COMPLETE` (value: `"COMPLETE"`) + +* `FAILED` (value: `"FAILED"`) + +* `UNAUTHORIZED` (value: `"UNAUTHORIZED"`) + + + diff --git a/docs/AddActionParameters.md b/docs/AddActionParameters.md index 93562a8d3..880e89ad5 100644 --- a/docs/AddActionParameters.md +++ b/docs/AddActionParameters.md @@ -7,11 +7,13 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**ocrParseTypes** | **String** | OCR: Parse types - TEXT, FORMS, TABLES | [optional] | +|**ocrTextractQueries** | [**List<TextractQuery>**](TextractQuery.md) | | [optional] | +|**ocrParseTypes** | **String** | OCR: Parse types - TEXT, FORMS, TABLES, QUERIES (must include ocrTextractQueries) | [optional] | |**ocrEngine** | **OcrEngine** | | [optional] | |**ocrOutputType** | **OcrOutputType** | | [optional] | |**ocrNumberOfPages** | **String** | Number of pages to OCR (from start) (-1 all) | [optional] | |**addPdfDetectedCharactersAsText** | **String** | OCR: For the rewriting of the PDF document, converting any image text to searchable text | [optional] | +|**llmPromptEntityName** | **String** | DATA_CLASSIFICATION: Set the LLM Prompt Entity Name | [optional] | |**url** | **String** | Webhook: Callback URL | [optional] | |**characterMax** | **String** | Fulltext: Maximum number of characters (-1 unlimited, Typesense defaults to 2048 characters) | [optional] | |**engine** | [**EngineEnum**](#EngineEnum) | DocumentTagging: Engine to use for document tagging generation | [optional] | @@ -24,6 +26,10 @@ |**tags** | **String** | DocumentTagging: Comma-deliminted list of keywords to generate tags for | [optional] | |**mappingId** | **String** | Id of Mapping | [optional] | |**eventBusName** | **String** | The name or ARN of the event bus to receive the event | [optional] | +|**width** | **String** | The width of the image to resize (or 'auto') | [optional] | +|**height** | **String** | The height of the image to resize (or 'auto') | [optional] | +|**path** | **String** | The path to use when creating resized document (optional) | [optional] | +|**outputType** | **String** | The output type of the image | [optional] | diff --git a/docs/AddActionResizeOutputType.md b/docs/AddActionResizeOutputType.md new file mode 100644 index 000000000..0b9efa98b --- /dev/null +++ b/docs/AddActionResizeOutputType.md @@ -0,0 +1,19 @@ + + +# AddActionResizeOutputType + +## Enum + + +* `BMP` (value: `"BMP"`) + +* `GIF` (value: `"GIF"`) + +* `JPEG` (value: `"JPEG"`) + +* `PNG` (value: `"PNG"`) + +* `TIF` (value: `"TIF"`) + + + diff --git a/docs/AddDocumentAttribute.md b/docs/AddDocumentAttribute.md index 7c4efd4f3..e548495ef 100644 --- a/docs/AddDocumentAttribute.md +++ b/docs/AddDocumentAttribute.md @@ -17,6 +17,9 @@ |**documentId** | **String** | Relationship To Document Identifier | | |**relationship** | **DocumentRelationshipType** | | | |**inverseRelationship** | **DocumentRelationshipType** | | [optional] | +|**entityTypeId** | **String** | EntityType Identifier or Entity Type Name | | +|**entityId** | **String** | Entity Identifier | | +|**namespace** | **EntityTypeNamespace** | | [optional] | diff --git a/docs/AddDocumentAttributeEntity.md b/docs/AddDocumentAttributeEntity.md new file mode 100644 index 000000000..b5a35ca0e --- /dev/null +++ b/docs/AddDocumentAttributeEntity.md @@ -0,0 +1,17 @@ + + +# AddDocumentAttributeEntity + +Document Entity Attribute + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | Attribute key | | +|**entityTypeId** | **String** | EntityType Identifier or Entity Type Name | | +|**entityId** | **String** | Entity Identifier | | +|**namespace** | **EntityTypeNamespace** | | [optional] | + + + diff --git a/docs/AddDocumentGenerateRequest.md b/docs/AddDocumentGenerateRequest.md index 43666fa2c..640a60439 100644 --- a/docs/AddDocumentGenerateRequest.md +++ b/docs/AddDocumentGenerateRequest.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**locale** | [**Locale**](Locale.md) | | [optional] | +|**locale** | [**LocaleInfo**](LocaleInfo.md) | | [optional] | |**insertDocuments** | [**List<DocumentGenerateInsertDocument>**](DocumentGenerateInsertDocument.md) | List of documents to insert | [optional] | |**datasources** | [**List<DocumentGenerateDataSource>**](DocumentGenerateDataSource.md) | List of data sources | [optional] | |**outputType** | **DocumentGenerateOutputType** | | [optional] | diff --git a/docs/AddDocumentOcrRequest.md b/docs/AddDocumentOcrRequest.md index bf965b75f..9086ef576 100644 --- a/docs/AddDocumentOcrRequest.md +++ b/docs/AddDocumentOcrRequest.md @@ -7,7 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**parseTypes** | **List<String>** | OCR Parse types - TEXT, FORMS, TABLES | [optional] | +|**textractQueries** | [**List<TextractQuery>**](TextractQuery.md) | | [optional] | +|**parseTypes** | **List<String>** | OCR Parse types - TEXT, FORMS, TABLES, QUERIES | [optional] | |**addPdfDetectedCharactersAsText** | **Boolean** | Rewrite PDF document, converting any Image text to searchable text | [optional] | |**ocrEngine** | **OcrEngine** | | [optional] | |**ocrNumberOfPages** | **String** | Number of pages to OCR (from start) (-1 all) | [optional] | diff --git a/docs/AddDocumentSyncService.md b/docs/AddDocumentSyncService.md index 1ae493c30..f6deb4ff2 100644 --- a/docs/AddDocumentSyncService.md +++ b/docs/AddDocumentSyncService.md @@ -7,7 +7,5 @@ * `FULLTEXT` (value: `"FULLTEXT"`) -* `EVENTBRIDGE` (value: `"EVENTBRIDGE"`) - diff --git a/docs/AddEntity.md b/docs/AddEntity.md new file mode 100644 index 000000000..aeea13412 --- /dev/null +++ b/docs/AddEntity.md @@ -0,0 +1,14 @@ + + +# AddEntity + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Entity Name | [optional] | +|**attributes** | [**List<AddEntityAttribute>**](AddEntityAttribute.md) | List of Entity Attributes | [optional] | + + + diff --git a/docs/AddEntityAttribute.md b/docs/AddEntityAttribute.md new file mode 100644 index 000000000..b4d88fb7d --- /dev/null +++ b/docs/AddEntityAttribute.md @@ -0,0 +1,18 @@ + + +# AddEntityAttribute + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | Attribute key | [optional] | +|**stringValue** | **String** | Attribute with string value | [optional] | +|**stringValues** | **List<String>** | Attribute with string values | [optional] | +|**numberValue** | **BigDecimal** | Attribute with number value | [optional] | +|**numberValues** | **List<BigDecimal>** | Attribute with number values | [optional] | +|**booleanValue** | **Boolean** | Attribute with boolean value | [optional] | + + + diff --git a/docs/AddEntityRequest.md b/docs/AddEntityRequest.md new file mode 100644 index 000000000..57c1e9d89 --- /dev/null +++ b/docs/AddEntityRequest.md @@ -0,0 +1,13 @@ + + +# AddEntityRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entity** | [**AddEntity**](AddEntity.md) | | [optional] | + + + diff --git a/docs/AddEntityResponse.md b/docs/AddEntityResponse.md new file mode 100644 index 000000000..1eda4735b --- /dev/null +++ b/docs/AddEntityResponse.md @@ -0,0 +1,13 @@ + + +# AddEntityResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entityId** | **String** | Entity Identifier | [optional] | + + + diff --git a/docs/AddEntityType.md b/docs/AddEntityType.md new file mode 100644 index 000000000..d3610640c --- /dev/null +++ b/docs/AddEntityType.md @@ -0,0 +1,14 @@ + + +# AddEntityType + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**namespace** | **EntityTypeNamespace** | | [optional] | +|**name** | **String** | Entity Type Name | [optional] | + + + diff --git a/docs/AddEntityTypeRequest.md b/docs/AddEntityTypeRequest.md new file mode 100644 index 000000000..69a23c900 --- /dev/null +++ b/docs/AddEntityTypeRequest.md @@ -0,0 +1,13 @@ + + +# AddEntityTypeRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entityType** | [**AddEntityType**](AddEntityType.md) | | [optional] | + + + diff --git a/docs/AddEntityTypeResponse.md b/docs/AddEntityTypeResponse.md new file mode 100644 index 000000000..dbdc37551 --- /dev/null +++ b/docs/AddEntityTypeResponse.md @@ -0,0 +1,13 @@ + + +# AddEntityTypeResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entityTypeId** | **String** | Entity Type Identifier | [optional] | + + + diff --git a/docs/AddFolderPermission.md b/docs/AddFolderPermission.md new file mode 100644 index 000000000..e91e36a07 --- /dev/null +++ b/docs/AddFolderPermission.md @@ -0,0 +1,14 @@ + + +# AddFolderPermission + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**roleName** | **String** | Name of Role | [optional] | +|**permissions** | **List<FolderPermissionType>** | List of permissions | [optional] | + + + diff --git a/docs/AddOpenSearchSnapshotRepositoryRequest.md b/docs/AddOpenSearchSnapshotRepositoryRequest.md new file mode 100644 index 000000000..f8787cc8a --- /dev/null +++ b/docs/AddOpenSearchSnapshotRepositoryRequest.md @@ -0,0 +1,14 @@ + + +# AddOpenSearchSnapshotRepositoryRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**roleArn** | **String** | AWS Role Arn for snapshot registration | [optional] | +|**s3Repository** | [**OpenSearchS3Repository**](OpenSearchS3Repository.md) | | [optional] | + + + diff --git a/docs/AddOpenSearchSnapshotRepositoryResponse.md b/docs/AddOpenSearchSnapshotRepositoryResponse.md new file mode 100644 index 000000000..05cc457f4 --- /dev/null +++ b/docs/AddOpenSearchSnapshotRepositoryResponse.md @@ -0,0 +1,13 @@ + + +# AddOpenSearchSnapshotRepositoryResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**message** | **String** | Result message | [optional] | + + + diff --git a/docs/AdvancedDocumentSearchApi.md b/docs/AdvancedDocumentSearchApi.md index 50b594298..266f5e784 100644 --- a/docs/AdvancedDocumentSearchApi.md +++ b/docs/AdvancedDocumentSearchApi.md @@ -364,7 +364,7 @@ No authorization required # **queryFulltext** -> QueryFulltextResponse queryFulltext(body, siteId) +> QueryFulltextResponse queryFulltext(body, siteId, indexName) Direct opensearch search API @@ -390,8 +390,9 @@ public class Example { AdvancedDocumentSearchApi apiInstance = new AdvancedDocumentSearchApi(defaultClient); Object body = null; // Object | String siteId = "siteId_example"; // String | Site Identifier + String indexName = "indexName_example"; // String | IndexName to query try { - QueryFulltextResponse result = apiInstance.queryFulltext(body, siteId); + QueryFulltextResponse result = apiInstance.queryFulltext(body, siteId, indexName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AdvancedDocumentSearchApi#queryFulltext"); @@ -410,6 +411,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **body** | **Object**| | | | **siteId** | **String**| Site Identifier | [optional] | +| **indexName** | **String**| IndexName to query | [optional] | ### Return type @@ -431,7 +433,7 @@ No authorization required # **searchFulltext** -> DocumentFulltextResponse searchFulltext(documentFulltextRequest, siteId, limit) +> DocumentFulltextResponse searchFulltext(documentFulltextRequest, siteId, indexName, limit) Document full-text search @@ -457,9 +459,10 @@ public class Example { AdvancedDocumentSearchApi apiInstance = new AdvancedDocumentSearchApi(defaultClient); DocumentFulltextRequest documentFulltextRequest = new DocumentFulltextRequest(); // DocumentFulltextRequest | String siteId = "siteId_example"; // String | Site Identifier + String indexName = "indexName_example"; // String | IndexName to query String limit = "10"; // String | Limit Results try { - DocumentFulltextResponse result = apiInstance.searchFulltext(documentFulltextRequest, siteId, limit); + DocumentFulltextResponse result = apiInstance.searchFulltext(documentFulltextRequest, siteId, indexName, limit); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AdvancedDocumentSearchApi#searchFulltext"); @@ -478,6 +481,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **documentFulltextRequest** | [**DocumentFulltextRequest**](DocumentFulltextRequest.md)| | | | **siteId** | **String**| Site Identifier | [optional] | +| **indexName** | **String**| IndexName to query | [optional] | | **limit** | **String**| Limit Results | [optional] [default to 10] | ### Return type diff --git a/docs/AttributeDataType.md b/docs/AttributeDataType.md index c0fc1e868..822d972ed 100644 --- a/docs/AttributeDataType.md +++ b/docs/AttributeDataType.md @@ -17,5 +17,7 @@ * `WATERMARK` (value: `"WATERMARK"`) +* `ENTITY` (value: `"ENTITY"`) + diff --git a/docs/AttributeType.md b/docs/AttributeType.md index 0cac263fe..a47be77ca 100644 --- a/docs/AttributeType.md +++ b/docs/AttributeType.md @@ -9,5 +9,7 @@ * `OPA` (value: `"OPA"`) +* `GOVERNANCE` (value: `"GOVERNANCE"`) + diff --git a/docs/AttributeValueType.md b/docs/AttributeValueType.md index 346eff1f3..528fd73b1 100644 --- a/docs/AttributeValueType.md +++ b/docs/AttributeValueType.md @@ -23,5 +23,7 @@ * `WATERMARK` (value: `"WATERMARK"`) +* `ENTITY` (value: `"ENTITY"`) + diff --git a/docs/AttributesApi.md b/docs/AttributesApi.md index c0d7091a1..72e97e30f 100644 --- a/docs/AttributesApi.md +++ b/docs/AttributesApi.md @@ -9,11 +9,12 @@ All URIs are relative to *http://localhost* | [**getAttribute**](AttributesApi.md#getAttribute) | **GET** /attributes/{key} | Get Attribute | | [**getAttributeAllowedValues**](AttributesApi.md#getAttributeAllowedValues) | **GET** /attributes/{key}/allowedValues | Get Attribute Allowed Values | | [**getAttributes**](AttributesApi.md#getAttributes) | **GET** /attributes | Get Attributes listing | +| [**updateAttribute**](AttributesApi.md#updateAttribute) | **PATCH** /attributes/{key} | Update existing attribute | # **addAttribute** -> AddAttributeResponse addAttribute(addAttributeRequest, siteId) +> AddResponse addAttribute(addAttributeRequest, siteId) Add new attribute @@ -40,7 +41,7 @@ public class Example { AddAttributeRequest addAttributeRequest = new AddAttributeRequest(); // AddAttributeRequest | String siteId = "siteId_example"; // String | Site Identifier try { - AddAttributeResponse result = apiInstance.addAttribute(addAttributeRequest, siteId); + AddResponse result = apiInstance.addAttribute(addAttributeRequest, siteId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling AttributesApi#addAttribute"); @@ -62,7 +63,7 @@ public class Example { ### Return type -[**AddAttributeResponse**](AddAttributeResponse.md) +[**AddResponse**](AddResponse.md) ### Authorization @@ -350,3 +351,73 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **updateAttribute** +> UpdateResponse updateAttribute(key, updateAttributeRequest, siteId) + +Update existing attribute + +Updates existing attribute + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.AttributesApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + AttributesApi apiInstance = new AttributesApi(defaultClient); + String key = "key_example"; // String | Key Identifier + UpdateAttributeRequest updateAttributeRequest = new UpdateAttributeRequest(); // UpdateAttributeRequest | + String siteId = "siteId_example"; // String | Site Identifier + try { + UpdateResponse result = apiInstance.updateAttribute(key, updateAttributeRequest, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling AttributesApi#updateAttribute"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **key** | **String**| Key Identifier | | +| **updateAttributeRequest** | [**UpdateAttributeRequest**](UpdateAttributeRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**UpdateResponse**](UpdateResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | + diff --git a/docs/AwsTextractQuery.md b/docs/AwsTextractQuery.md new file mode 100644 index 000000000..ebb7e5920 --- /dev/null +++ b/docs/AwsTextractQuery.md @@ -0,0 +1,16 @@ + + +# AwsTextractQuery + +A question to ask Textract + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**text** | **String** | Natural-language question | [optional] | +|**alias** | **String** | Label to identify this query in the result | [optional] | +|**pages** | **List<String>** | Page selection | [optional] | + + + diff --git a/docs/AwsTextraxctQuery.md b/docs/AwsTextraxctQuery.md new file mode 100644 index 000000000..3ba0049ff --- /dev/null +++ b/docs/AwsTextraxctQuery.md @@ -0,0 +1,16 @@ + + +# AwsTextraxctQuery + +A question to ask Textract. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**text** | **String** | Natural-language question. | [optional] | +|**alias** | **String** | Label to identify this query in the result. | [optional] | +|**pages** | **String** | Page selection (e.g., \"1\", \"1-2\", \"*\" for all). No spaces. | [optional] | + + + diff --git a/docs/DataClassification.md b/docs/DataClassification.md new file mode 100644 index 000000000..76644c91f --- /dev/null +++ b/docs/DataClassification.md @@ -0,0 +1,17 @@ + + +# DataClassification + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**llmPromptEntityName** | **String** | Name of the LLM Prompt Entity | [optional] | +|**insertedDate** | **String** | Inserted Timestamp | [optional] | +|**content** | **String** | Result content | [optional] | +|**userId** | **String** | UserId that created Result | [optional] | +|**attributes** | [**List<DataClassificationAttribute>**](DataClassificationAttribute.md) | Attributes extracted from result content | [optional] | + + + diff --git a/docs/DataClassificationAttribute.md b/docs/DataClassificationAttribute.md new file mode 100644 index 000000000..a15eb09e7 --- /dev/null +++ b/docs/DataClassificationAttribute.md @@ -0,0 +1,14 @@ + + +# DataClassificationAttribute + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | Data Classification Attribute Key | [optional] | +|**value** | **String** | Data Classification Attribute Value | [optional] | + + + diff --git a/docs/DocumentAction.md b/docs/DocumentAction.md index af53111bb..e8ad00c8f 100644 --- a/docs/DocumentAction.md +++ b/docs/DocumentAction.md @@ -9,6 +9,8 @@ |------------ | ------------- | ------------- | -------------| |**status** | **DocumentActionStatus** | | [optional] | |**type** | **DocumentActionType** | | [optional] | +|**retryCount** | **BigDecimal** | The number of times this action has already been attempted | [optional] | +|**maxRetries** | **BigDecimal** | The maximum number of retry attempts allowed for this action | [optional] | |**queueId** | **String** | Queue Id | [optional] | |**workflowId** | **String** | Workflow Id | [optional] | |**workflowStepId** | **String** | Workflow Step Id | [optional] | @@ -17,7 +19,7 @@ |**insertedDate** | **String** | Inserted Timestamp | [optional] | |**startDate** | **String** | Started Timestamp | [optional] | |**completedDate** | **String** | Completed Timestamp | [optional] | -|**parameters** | **Map<String, String>** | Action parameters | [optional] | +|**parameters** | **Map<String, Object>** | Action parameters | [optional] | |**metadata** | **Map<String, String>** | Action metadata | [optional] | diff --git a/docs/DocumentActionStatus.md b/docs/DocumentActionStatus.md index 1a370fe1f..103aaa726 100644 --- a/docs/DocumentActionStatus.md +++ b/docs/DocumentActionStatus.md @@ -19,5 +19,9 @@ * `FAILED_RETRY` (value: `"FAILED_RETRY"`) +* `MAX_RETRIES_REACHED` (value: `"MAX_RETRIES_REACHED"`) + +* `WAITING_FOR_RETRY` (value: `"WAITING_FOR_RETRY"`) + diff --git a/docs/DocumentActionType.md b/docs/DocumentActionType.md index 473839ad6..ff67acb70 100644 --- a/docs/DocumentActionType.md +++ b/docs/DocumentActionType.md @@ -27,5 +27,11 @@ * `EVENTBRIDGE` (value: `"EVENTBRIDGE"`) +* `RESIZE` (value: `"RESIZE"`) + +* `DATA_CLASSIFICATION` (value: `"DATA_CLASSIFICATION"`) + +* `MALWARE_SCAN` (value: `"MALWARE_SCAN"`) + diff --git a/docs/DocumentActionsApi.md b/docs/DocumentActionsApi.md index 4be241004..ac79f661a 100644 --- a/docs/DocumentActionsApi.md +++ b/docs/DocumentActionsApi.md @@ -15,7 +15,7 @@ All URIs are relative to *http://localhost* Add document action -Add one or more actions to a document; this appends actions and does not replace previous actions Each action type supports a different set of parameters as shown in the table below: ### Action Parameters | ActionType | Parameter | Description | Example | | -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES | | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | +Add one or more actions to a document; this appends actions and does not replace previous actions Each action type supports a different set of parameters as shown in the table below: ### Action Parameters | ActionType | Parameter | Description | Example | | -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') | | OCR | ocrTextractQueries | Required for \"QUERIES\", questions to ask Textract | | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type of the image (optional). | | | RESIZE | path | The path to use when creating resized document (optional). | | ### Example ```java diff --git a/docs/DocumentAttributesApi.md b/docs/DocumentAttributesApi.md index 264062916..8cad5fbc0 100644 --- a/docs/DocumentAttributesApi.md +++ b/docs/DocumentAttributesApi.md @@ -8,7 +8,6 @@ All URIs are relative to *http://localhost* | [**deleteDocumentAttribute**](DocumentAttributesApi.md#deleteDocumentAttribute) | **DELETE** /documents/{documentId}/attributes/{attributeKey} | Delete document attribute | | [**deleteDocumentAttributeAndValue**](DocumentAttributesApi.md#deleteDocumentAttributeAndValue) | **DELETE** /documents/{documentId}/attributes/{attributeKey}/{attributeValue} | Delete document's attribute value | | [**getDocumentAttribute**](DocumentAttributesApi.md#getDocumentAttribute) | **GET** /documents/{documentId}/attributes/{attributeKey} | Get document attribute by key | -| [**getDocumentAttributeVersions**](DocumentAttributesApi.md#getDocumentAttributeVersions) | **GET** /documents/{documentId}/attributes/{attributeKey}/versions | Get document attribute's versions | | [**getDocumentAttributes**](DocumentAttributesApi.md#getDocumentAttributes) | **GET** /documents/{documentId}/attributes | Get document's attributes | | [**setDocumentAttributeValue**](DocumentAttributesApi.md#setDocumentAttributeValue) | **PUT** /documents/{documentId}/attributes/{attributeKey} | Set document's attributes value | | [**setDocumentAttributes**](DocumentAttributesApi.md#setDocumentAttributes) | **PUT** /documents/{documentId}/attributes | Set document's attributes | @@ -292,79 +291,6 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getDocumentAttributeVersions** -> GetDocumentAttributeVersionsResponse getDocumentAttributeVersions(documentId, attributeKey, siteId, limit, next) - -Get document attribute's versions - -Get a listing of a document's attribute versions; available as an Add-On Module - -### Example -```java -// Import classes: -import com.formkiq.client.invoker.ApiClient; -import com.formkiq.client.invoker.ApiException; -import com.formkiq.client.invoker.Configuration; -import com.formkiq.client.invoker.auth.*; -import com.formkiq.client.invoker.models.*; -import com.formkiq.client.api.DocumentAttributesApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("http://localhost"); - // Configure AWS Signature V4 authorization - defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") - - DocumentAttributesApi apiInstance = new DocumentAttributesApi(defaultClient); - String documentId = "documentId_example"; // String | Document Identifier - String attributeKey = "attributeKey_example"; // String | Attribute Key - String siteId = "siteId_example"; // String | Site Identifier - String limit = "10"; // String | Limit Results - String next = "next_example"; // String | Next page of results token - try { - GetDocumentAttributeVersionsResponse result = apiInstance.getDocumentAttributeVersions(documentId, attributeKey, siteId, limit, next); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling DocumentAttributesApi#getDocumentAttributeVersions"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **documentId** | **String**| Document Identifier | | -| **attributeKey** | **String**| Attribute Key | | -| **siteId** | **String**| Site Identifier | [optional] | -| **limit** | **String**| Limit Results | [optional] [default to 10] | -| **next** | **String**| Next page of results token | [optional] | - -### Return type - -[**GetDocumentAttributeVersionsResponse**](GetDocumentAttributeVersionsResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - # **getDocumentAttributes** > GetDocumentAttributesResponse getDocumentAttributes(documentId, siteId, limit, next) diff --git a/docs/DocumentDataClassificationApi.md b/docs/DocumentDataClassificationApi.md new file mode 100644 index 000000000..b175a1bf6 --- /dev/null +++ b/docs/DocumentDataClassificationApi.md @@ -0,0 +1,150 @@ +# DocumentDataClassificationApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getDocumentDataClassification**](DocumentDataClassificationApi.md#getDocumentDataClassification) | **GET** /documents/{documentId}/dataClassification | Get document's data classification | +| [**setDocumentDataClassification**](DocumentDataClassificationApi.md#setDocumentDataClassification) | **PUT** /documents/{documentId}/dataClassification | Set document's data classification | + + + +# **getDocumentDataClassification** +> GetDocumentDataClassificationResponse getDocumentDataClassification(documentId, siteId, limit, next) + +Get document's data classification + +Retrieve an document's data classification; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentDataClassificationApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentDataClassificationApi apiInstance = new DocumentDataClassificationApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + String limit = "10"; // String | Limit Results + String next = "next_example"; // String | Next page of results token + try { + GetDocumentDataClassificationResponse result = apiInstance.getDocumentDataClassification(documentId, siteId, limit, next); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentDataClassificationApi#getDocumentDataClassification"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | +| **next** | **String**| Next page of results token | [optional] | + +### Return type + +[**GetDocumentDataClassificationResponse**](GetDocumentDataClassificationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **setDocumentDataClassification** +> SetDocumentDataClassificationResponse setDocumentDataClassification(documentId, siteId, setDocumentDataClassificationRequest) + +Set document's data classification + +Generate Data Classfication attributes within a document; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentDataClassificationApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentDataClassificationApi apiInstance = new DocumentDataClassificationApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + SetDocumentDataClassificationRequest setDocumentDataClassificationRequest = new SetDocumentDataClassificationRequest(); // SetDocumentDataClassificationRequest | + try { + SetDocumentDataClassificationResponse result = apiInstance.setDocumentDataClassification(documentId, siteId, setDocumentDataClassificationRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentDataClassificationApi#setDocumentDataClassification"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **setDocumentDataClassificationRequest** | [**SetDocumentDataClassificationRequest**](SetDocumentDataClassificationRequest.md)| | [optional] | + +### Return type + +[**SetDocumentDataClassificationResponse**](SetDocumentDataClassificationResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + diff --git a/docs/DocumentFoldersApi.md b/docs/DocumentFoldersApi.md index 97d4a375b..5683e4be0 100644 --- a/docs/DocumentFoldersApi.md +++ b/docs/DocumentFoldersApi.md @@ -7,6 +7,8 @@ All URIs are relative to *http://localhost* | [**addFolder**](DocumentFoldersApi.md#addFolder) | **POST** /folders | Add document folder | | [**deleteFolder**](DocumentFoldersApi.md#deleteFolder) | **DELETE** /folders/{indexKey} | Delete document folder | | [**getFolderDocuments**](DocumentFoldersApi.md#getFolderDocuments) | **GET** /folders | Get document folders | +| [**getFolderPermissions**](DocumentFoldersApi.md#getFolderPermissions) | **GET** /folders/{indexKey}/permissions | Get folder permissions | +| [**setFolderPermissions**](DocumentFoldersApi.md#setFolderPermissions) | **PUT** /folders/permissions | Sets Folder Permissions | @@ -222,3 +224,137 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **getFolderPermissions** +> GetFolderPermissionsResponse getFolderPermissions(indexKey, siteId) + +Get folder permissions + +Get list of permissions for a folder + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentFoldersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentFoldersApi apiInstance = new DocumentFoldersApi(defaultClient); + String indexKey = "indexKey_example"; // String | Index Key Identifier + String siteId = "siteId_example"; // String | Site Identifier + try { + GetFolderPermissionsResponse result = apiInstance.getFolderPermissions(indexKey, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentFoldersApi#getFolderPermissions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **indexKey** | **String**| Index Key Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**GetFolderPermissionsResponse**](GetFolderPermissionsResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **setFolderPermissions** +> SetResponse setFolderPermissions(setFolderPermissionsRequest, siteId) + +Sets Folder Permissions + +Sets a folders permissions NOTE: Can only be called be ADMIN or GOVERN. + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentFoldersApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentFoldersApi apiInstance = new DocumentFoldersApi(defaultClient); + SetFolderPermissionsRequest setFolderPermissionsRequest = new SetFolderPermissionsRequest(); // SetFolderPermissionsRequest | + String siteId = "siteId_example"; // String | Site Identifier + try { + SetResponse result = apiInstance.setFolderPermissions(setFolderPermissionsRequest, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentFoldersApi#setFolderPermissions"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **setFolderPermissionsRequest** | [**SetFolderPermissionsRequest**](SetFolderPermissionsRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**SetResponse**](SetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + diff --git a/docs/DocumentSyncService.md b/docs/DocumentSyncService.md index 0f93ed779..0cd8211e5 100644 --- a/docs/DocumentSyncService.md +++ b/docs/DocumentSyncService.md @@ -9,7 +9,5 @@ * `OPENSEARCH` (value: `"OPENSEARCH"`) -* `EVENTBRIDGE` (value: `"EVENTBRIDGE"`) - diff --git a/docs/DocumentTagsApi.md b/docs/DocumentTagsApi.md index 4b7f08136..0c849a6d1 100644 --- a/docs/DocumentTagsApi.md +++ b/docs/DocumentTagsApi.md @@ -17,7 +17,7 @@ All URIs are relative to *http://localhost* # **addDocumentTags** -> addDocumentTags(documentId, addDocumentTagsRequest, siteId) +> AddResponse addDocumentTags(documentId, addDocumentTagsRequest, siteId) Add tag to document @@ -45,7 +45,8 @@ public class Example { AddDocumentTagsRequest addDocumentTagsRequest = new AddDocumentTagsRequest(); // AddDocumentTagsRequest | String siteId = "siteId_example"; // String | Site Identifier try { - apiInstance.addDocumentTags(documentId, addDocumentTagsRequest, siteId); + AddResponse result = apiInstance.addDocumentTags(documentId, addDocumentTagsRequest, siteId); + System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DocumentTagsApi#addDocumentTags"); System.err.println("Status code: " + e.getCode()); @@ -67,7 +68,7 @@ public class Example { ### Return type -null (empty response body) +[**AddResponse**](AddResponse.md) ### Authorization @@ -76,12 +77,12 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| # **deleteDocumentTag** diff --git a/docs/DocumentsApi.md b/docs/DocumentsApi.md index f5145469d..6107fec2c 100644 --- a/docs/DocumentsApi.md +++ b/docs/DocumentsApi.md @@ -9,6 +9,7 @@ All URIs are relative to *http://localhost* | [**addDocumentUpload**](DocumentsApi.md#addDocumentUpload) | **POST** /documents/upload | Add large document | | [**compressDocuments**](DocumentsApi.md#compressDocuments) | **POST** /documents/compress | Compress multiple documents into a .zip file | | [**deleteDocument**](DocumentsApi.md#deleteDocument) | **DELETE** /documents/{documentId} | Delete document | +| [**deleteDocumentCheckoutLegalHold**](DocumentsApi.md#deleteDocumentCheckoutLegalHold) | **DELETE** /documents/{documentId}/legalHold | Delete document legal hold checkout | | [**deletePublishedDocumentContent**](DocumentsApi.md#deletePublishedDocumentContent) | **DELETE** /publications/{documentId} | Delete published document's contents | | [**getDocument**](DocumentsApi.md#getDocument) | **GET** /documents/{documentId} | Get document | | [**getDocumentContent**](DocumentsApi.md#getDocumentContent) | **GET** /documents/{documentId}/content | Get document's contents | @@ -19,6 +20,8 @@ All URIs are relative to *http://localhost* | [**getDocuments**](DocumentsApi.md#getDocuments) | **GET** /documents | Get Documents listing | | [**getPublishedDocumentContent**](DocumentsApi.md#getPublishedDocumentContent) | **GET** /publications/{documentId} | Get published document's contents | | [**purgeDocument**](DocumentsApi.md#purgeDocument) | **DELETE** /documents/{documentId}/purge | Purge document | +| [**setDocumentCheckout**](DocumentsApi.md#setDocumentCheckout) | **PUT** /documents/{documentId}/checkout | Perform document checkout | +| [**setDocumentCheckoutLegalHold**](DocumentsApi.md#setDocumentCheckoutLegalHold) | **PUT** /documents/{documentId}/legalHold | Perform document legal hold checkout | | [**setDocumentRestore**](DocumentsApi.md#setDocumentRestore) | **PUT** /documents/{documentId}/restore | Restore soft deleted document | | [**updateDocument**](DocumentsApi.md#updateDocument) | **PATCH** /documents/{documentId} | Update document | @@ -371,6 +374,73 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **deleteDocumentCheckoutLegalHold** +> DeleteResponse deleteDocumentCheckoutLegalHold(documentId, siteId) + +Delete document legal hold checkout + +Removes a legal hold checkout for the document; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentsApi apiInstance = new DocumentsApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + try { + DeleteResponse result = apiInstance.deleteDocumentCheckoutLegalHold(documentId, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentsApi#deleteDocumentCheckoutLegalHold"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + # **deletePublishedDocumentContent** > DeleteResponse deletePublishedDocumentContent(documentId, siteId) @@ -1094,6 +1164,140 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **setDocumentCheckout** +> SetResponse setDocumentCheckout(documentId, siteId) + +Perform document checkout + +Creates a checkout for the document. Fails with **409 Conflict** if the document is already checkedout by another user; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentsApi apiInstance = new DocumentsApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + try { + SetResponse result = apiInstance.setDocumentCheckout(documentId, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentsApi#setDocumentCheckout"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**SetResponse**](SetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **setDocumentCheckoutLegalHold** +> SetResponse setDocumentCheckoutLegalHold(documentId, siteId) + +Perform document legal hold checkout + +Creates a legal hold checkout for the document. Fails with **409 Conflict** if the document is already checkedout by another user; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.DocumentsApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + DocumentsApi apiInstance = new DocumentsApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + try { + SetResponse result = apiInstance.setDocumentCheckoutLegalHold(documentId, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling DocumentsApi#setDocumentCheckoutLegalHold"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**SetResponse**](SetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + # **setDocumentRestore** > SetDocumentRestoreResponse setDocumentRestore(documentId, siteId) diff --git a/docs/EntitiesApi.md b/docs/EntitiesApi.md new file mode 100644 index 000000000..40895f3bb --- /dev/null +++ b/docs/EntitiesApi.md @@ -0,0 +1,151 @@ +# EntitiesApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**addEntityType**](EntitiesApi.md#addEntityType) | **POST** /entityTypes | Add New EntityType | +| [**getEntityTypes**](EntitiesApi.md#getEntityTypes) | **GET** /entityTypes | Get EntityTypes | + + + +# **addEntityType** +> AddEntityTypeResponse addEntityType(addEntityTypeRequest, siteId, namespace) + +Add New EntityType + +Creates a Entity Type + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntitiesApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntitiesApi apiInstance = new EntitiesApi(defaultClient); + AddEntityTypeRequest addEntityTypeRequest = new AddEntityTypeRequest(); // AddEntityTypeRequest | + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "namespace_example"; // String | Namespace Identifier + try { + AddEntityTypeResponse result = apiInstance.addEntityType(addEntityTypeRequest, siteId, namespace); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntitiesApi#addEntityType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **addEntityTypeRequest** | [**AddEntityTypeRequest**](AddEntityTypeRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] | + +### Return type + +[**AddEntityTypeResponse**](AddEntityTypeResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | + + +# **getEntityTypes** +> GetEntityTypesResponse getEntityTypes(siteId, namespace, next, limit) + +Get EntityTypes + +Returns a list of entity types + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntitiesApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntitiesApi apiInstance = new EntitiesApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "namespace_example"; // String | Namespace Identifier + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results + try { + GetEntityTypesResponse result = apiInstance.getEntityTypes(siteId, namespace, next, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntitiesApi#getEntityTypes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | + +### Return type + +[**GetEntityTypesResponse**](GetEntityTypesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + diff --git a/docs/Entity.md b/docs/Entity.md new file mode 100644 index 000000000..87bb28666 --- /dev/null +++ b/docs/Entity.md @@ -0,0 +1,17 @@ + + +# Entity + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entityId** | **String** | Entity identifier | [optional] | +|**entityTypeId** | **String** | Entity Type identifier | [optional] | +|**name** | **String** | Entity Name | [optional] | +|**insertedDate** | **String** | Inserted Timestamp | [optional] | +|**attributes** | [**List<EntityAttribute>**](EntityAttribute.md) | List of Entity Attributes | [optional] | + + + diff --git a/docs/EntityApi.md b/docs/EntityApi.md new file mode 100644 index 000000000..6e556b7b8 --- /dev/null +++ b/docs/EntityApi.md @@ -0,0 +1,651 @@ +# EntityApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**addEntity**](EntityApi.md#addEntity) | **POST** /entities/{entityTypeId} | Add New Entity | +| [**addEntityType**](EntityApi.md#addEntityType) | **POST** /entityTypes | Add New EntityType | +| [**deleteEntity**](EntityApi.md#deleteEntity) | **DELETE** /entities/{entityTypeId}/{entityId} | Deletes Entity | +| [**deleteEntityType**](EntityApi.md#deleteEntityType) | **DELETE** /entityTypes/{entityTypeId} | Deletes Entity Type | +| [**getEntities**](EntityApi.md#getEntities) | **GET** /entities/{entityTypeId} | Get Entities | +| [**getEntity**](EntityApi.md#getEntity) | **GET** /entities/{entityTypeId}/{entityId} | Get Entity | +| [**getEntityType**](EntityApi.md#getEntityType) | **GET** /entityTypes/{entityTypeId} | Get EntityType | +| [**getEntityTypes**](EntityApi.md#getEntityTypes) | **GET** /entityTypes | Get EntityTypes | +| [**updateEntity**](EntityApi.md#updateEntity) | **PATCH** /entities/{entityTypeId}/{entityId} | Update Entity | + + + +# **addEntity** +> AddEntityResponse addEntity(entityTypeId, addEntityRequest, siteId, namespace) + +Add New Entity + +Creates a Entity + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + AddEntityRequest addEntityRequest = new AddEntityRequest(); // AddEntityRequest | + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "PRESET"; // String | Namespace Identifier + try { + AddEntityResponse result = apiInstance.addEntity(entityTypeId, addEntityRequest, siteId, namespace); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#addEntity"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **addEntityRequest** | [**AddEntityRequest**](AddEntityRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | + +### Return type + +[**AddEntityResponse**](AddEntityResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | + + +# **addEntityType** +> AddEntityTypeResponse addEntityType(addEntityTypeRequest, siteId) + +Add New EntityType + +Creates a Entity Type + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + AddEntityTypeRequest addEntityTypeRequest = new AddEntityTypeRequest(); // AddEntityTypeRequest | + String siteId = "siteId_example"; // String | Site Identifier + try { + AddEntityTypeResponse result = apiInstance.addEntityType(addEntityTypeRequest, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#addEntityType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **addEntityTypeRequest** | [**AddEntityTypeRequest**](AddEntityTypeRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**AddEntityTypeResponse**](AddEntityTypeResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | + + +# **deleteEntity** +> DeleteResponse deleteEntity(entityTypeId, entityId, siteId) + +Deletes Entity + +Deletes Entity + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String entityId = "entityId_example"; // String | Entity Identifier + String siteId = "siteId_example"; // String | Site Identifier + try { + DeleteResponse result = apiInstance.deleteEntity(entityTypeId, entityId, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#deleteEntity"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **entityId** | **String**| Entity Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteEntityType** +> DeleteResponse deleteEntityType(entityTypeId, siteId) + +Deletes Entity Type + +Deletes Entity Type + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String siteId = "siteId_example"; // String | Site Identifier + try { + DeleteResponse result = apiInstance.deleteEntityType(entityTypeId, siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#deleteEntityType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getEntities** +> GetEntitiesResponse getEntities(entityTypeId, siteId, namespace, next, limit) + +Get Entities + +Returns a list of entities + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "PRESET"; // String | Namespace Identifier + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results + try { + GetEntitiesResponse result = apiInstance.getEntities(entityTypeId, siteId, namespace, next, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#getEntities"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | + +### Return type + +[**GetEntitiesResponse**](GetEntitiesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getEntity** +> GetEntityResponse getEntity(entityTypeId, entityId, siteId, namespace) + +Get Entity + +Returns a entity + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String entityId = "entityId_example"; // String | Entity Identifier + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "PRESET"; // String | Namespace Identifier + try { + GetEntityResponse result = apiInstance.getEntity(entityTypeId, entityId, siteId, namespace); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#getEntity"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **entityId** | **String**| Entity Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | + +### Return type + +[**GetEntityResponse**](GetEntityResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getEntityType** +> GetEntityTypeResponse getEntityType(entityTypeId, siteId, namespace) + +Get EntityType + +Returns a entity type + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "PRESET"; // String | Namespace Identifier + try { + GetEntityTypeResponse result = apiInstance.getEntityType(entityTypeId, siteId, namespace); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#getEntityType"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | + +### Return type + +[**GetEntityTypeResponse**](GetEntityTypeResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getEntityTypes** +> GetEntityTypesResponse getEntityTypes(siteId, namespace, next, limit) + +Get EntityTypes + +Returns a list of entity types + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "PRESET"; // String | Namespace Identifier + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results + try { + GetEntityTypesResponse result = apiInstance.getEntityTypes(siteId, namespace, next, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#getEntityTypes"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | + +### Return type + +[**GetEntityTypesResponse**](GetEntityTypesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **updateEntity** +> UpdateResponse updateEntity(entityTypeId, entityId, updateEntityRequest, siteId, namespace) + +Update Entity + +Updates a Entity + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.EntityApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + EntityApi apiInstance = new EntityApi(defaultClient); + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String entityId = "entityId_example"; // String | Entity Identifier + UpdateEntityRequest updateEntityRequest = new UpdateEntityRequest(); // UpdateEntityRequest | + String siteId = "siteId_example"; // String | Site Identifier + String namespace = "PRESET"; // String | Namespace Identifier + try { + UpdateResponse result = apiInstance.updateEntity(entityTypeId, entityId, updateEntityRequest, siteId, namespace); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling EntityApi#updateEntity"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **entityTypeId** | **String**| EntityType Identifier | | +| **entityId** | **String**| Entity Identifier | | +| **updateEntityRequest** | [**UpdateEntityRequest**](UpdateEntityRequest.md)| | | +| **siteId** | **String**| Site Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | + +### Return type + +[**UpdateResponse**](UpdateResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | + diff --git a/docs/EntityAttribute.md b/docs/EntityAttribute.md new file mode 100644 index 000000000..1b45cd063 --- /dev/null +++ b/docs/EntityAttribute.md @@ -0,0 +1,19 @@ + + +# EntityAttribute + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**key** | **String** | Attribute key | [optional] | +|**stringValue** | **String** | Attribute with string value | [optional] | +|**stringValues** | **List<String>** | Attribute with string values | [optional] | +|**numberValue** | **BigDecimal** | Attribute with number value | [optional] | +|**numberValues** | **List<BigDecimal>** | Attribute with number values | [optional] | +|**booleanValue** | **Boolean** | Attribute with boolean value | [optional] | +|**valueType** | **AttributeValueType** | | [optional] | + + + diff --git a/docs/EntityType.md b/docs/EntityType.md new file mode 100644 index 000000000..2f5a3477c --- /dev/null +++ b/docs/EntityType.md @@ -0,0 +1,16 @@ + + +# EntityType + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entityTypeId** | **String** | Entity Type identifier | [optional] | +|**namespace** | **EntityTypeNamespace** | | [optional] | +|**name** | **String** | Entity Type Name | [optional] | +|**insertedDate** | **String** | Inserted Timestamp | [optional] | + + + diff --git a/docs/EntityTypeNamespace.md b/docs/EntityTypeNamespace.md new file mode 100644 index 000000000..6aff5bdf1 --- /dev/null +++ b/docs/EntityTypeNamespace.md @@ -0,0 +1,13 @@ + + +# EntityTypeNamespace + +## Enum + + +* `PRESET` (value: `"PRESET"`) + +* `CUSTOM` (value: `"CUSTOM"`) + + + diff --git a/docs/FolderPermission.md b/docs/FolderPermission.md new file mode 100644 index 000000000..4a8617003 --- /dev/null +++ b/docs/FolderPermission.md @@ -0,0 +1,14 @@ + + +# FolderPermission + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**roleName** | **String** | Name of Role | [optional] | +|**permissions** | **List<FolderPermissionType>** | | [optional] | + + + diff --git a/docs/FolderPermissionType.md b/docs/FolderPermissionType.md new file mode 100644 index 000000000..0d21b2a80 --- /dev/null +++ b/docs/FolderPermissionType.md @@ -0,0 +1,15 @@ + + +# FolderPermissionType + +## Enum + + +* `READ` (value: `"READ"`) + +* `WRITE` (value: `"WRITE"`) + +* `DELETE` (value: `"DELETE"`) + + + diff --git a/docs/GetActivitesResponse.md b/docs/GetActivitesResponse.md new file mode 100644 index 000000000..b8c9c9fac --- /dev/null +++ b/docs/GetActivitesResponse.md @@ -0,0 +1,14 @@ + + +# GetActivitesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Next page of results token | [optional] | +|**activities** | [**List<Activity>**](Activity.md) | List of Entity Type activities | [optional] | + + + diff --git a/docs/GetDocumentDataClassificationResponse.md b/docs/GetDocumentDataClassificationResponse.md new file mode 100644 index 000000000..b6de44124 --- /dev/null +++ b/docs/GetDocumentDataClassificationResponse.md @@ -0,0 +1,14 @@ + + +# GetDocumentDataClassificationResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Next page of results token | [optional] | +|**dataClassifications** | [**List<DataClassification>**](DataClassification.md) | List of Data Classifications | [optional] | + + + diff --git a/docs/GetEntitiesResponse.md b/docs/GetEntitiesResponse.md new file mode 100644 index 000000000..7c5e3c5e9 --- /dev/null +++ b/docs/GetEntitiesResponse.md @@ -0,0 +1,14 @@ + + +# GetEntitiesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Next page of results token | [optional] | +|**entities** | [**List<Entity>**](Entity.md) | List of Entities | [optional] | + + + diff --git a/docs/GetEntityResponse.md b/docs/GetEntityResponse.md new file mode 100644 index 000000000..8225792a5 --- /dev/null +++ b/docs/GetEntityResponse.md @@ -0,0 +1,13 @@ + + +# GetEntityResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entity** | [**Entity**](Entity.md) | | [optional] | + + + diff --git a/docs/GetEntityTypeResponse.md b/docs/GetEntityTypeResponse.md new file mode 100644 index 000000000..be4a4dc1f --- /dev/null +++ b/docs/GetEntityTypeResponse.md @@ -0,0 +1,13 @@ + + +# GetEntityTypeResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entityType** | [**EntityType**](EntityType.md) | | [optional] | + + + diff --git a/docs/GetEntityTypesResponse.md b/docs/GetEntityTypesResponse.md new file mode 100644 index 000000000..c20833842 --- /dev/null +++ b/docs/GetEntityTypesResponse.md @@ -0,0 +1,14 @@ + + +# GetEntityTypesResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Next page of results token | [optional] | +|**entityTypes** | [**List<EntityType>**](EntityType.md) | List of Entity Types | [optional] | + + + diff --git a/docs/GetFolderPermissionsResponse.md b/docs/GetFolderPermissionsResponse.md new file mode 100644 index 000000000..8f77b83aa --- /dev/null +++ b/docs/GetFolderPermissionsResponse.md @@ -0,0 +1,13 @@ + + +# GetFolderPermissionsResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**roles** | [**List<FolderPermission>**](FolderPermission.md) | | [optional] | + + + diff --git a/docs/GetLocalesResponse.md b/docs/GetLocalesResponse.md index 6c439fea4..d84dfe77f 100644 --- a/docs/GetLocalesResponse.md +++ b/docs/GetLocalesResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | Next page of results token | [optional] | -|**locales** | [**List<Locale>**](Locale.md) | List of Locale | [optional] | +|**locales** | [**List<LocaleInfo>**](LocaleInfo.md) | List of Locale | [optional] | diff --git a/docs/GetMalwareScanResponse.md b/docs/GetMalwareScanResponse.md new file mode 100644 index 000000000..4e246014e --- /dev/null +++ b/docs/GetMalwareScanResponse.md @@ -0,0 +1,14 @@ + + +# GetMalwareScanResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**next** | **String** | Next page of results token | [optional] | +|**malwareScanResults** | [**List<MalwareScanResult>**](MalwareScanResult.md) | List of Malware Scan Results | [optional] | + + + diff --git a/docs/GetOpenSearchIndexResponse.md b/docs/GetOpenSearchIndexResponse.md index fdccd34ac..b61f3298b 100644 --- a/docs/GetOpenSearchIndexResponse.md +++ b/docs/GetOpenSearchIndexResponse.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**indexSettings** | [**OpenSearchIndex**](OpenSearchIndex.md) | | [optional] | +|**indexSettings** | [**OpenSearchIndexSetting**](OpenSearchIndexSetting.md) | | [optional] | diff --git a/docs/GetOpenSearchIndiceResponse.md b/docs/GetOpenSearchIndiceResponse.md new file mode 100644 index 000000000..176362fd7 --- /dev/null +++ b/docs/GetOpenSearchIndiceResponse.md @@ -0,0 +1,13 @@ + + +# GetOpenSearchIndiceResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**indices** | [**List<OpenSearchIndex>**](OpenSearchIndex.md) | OpenSearch Indices | [optional] | + + + diff --git a/docs/GetOpenSearchSnapshot.md b/docs/GetOpenSearchSnapshot.md new file mode 100644 index 000000000..7cb04a005 --- /dev/null +++ b/docs/GetOpenSearchSnapshot.md @@ -0,0 +1,13 @@ + + +# GetOpenSearchSnapshot + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**bucket** | **String** | Name of the S3 bucket | [optional] | + + + diff --git a/docs/GetOpenSearchSnapshotRepository.md b/docs/GetOpenSearchSnapshotRepository.md new file mode 100644 index 000000000..7ddd344e4 --- /dev/null +++ b/docs/GetOpenSearchSnapshotRepository.md @@ -0,0 +1,13 @@ + + +# GetOpenSearchSnapshotRepository + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**s3Repository** | [**OpenSearchS3Repository**](OpenSearchS3Repository.md) | | [optional] | + + + diff --git a/docs/GetOpenSearchSnapshotRepositoryResponse.md b/docs/GetOpenSearchSnapshotRepositoryResponse.md new file mode 100644 index 000000000..32fbd11a9 --- /dev/null +++ b/docs/GetOpenSearchSnapshotRepositoryResponse.md @@ -0,0 +1,13 @@ + + +# GetOpenSearchSnapshotRepositoryResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**s3Repositories** | [**List<OpenSearchS3Repository>**](OpenSearchS3Repository.md) | | [optional] | + + + diff --git a/docs/GetOpenSearchSnapshotResponse.md b/docs/GetOpenSearchSnapshotResponse.md new file mode 100644 index 000000000..99d3aed4b --- /dev/null +++ b/docs/GetOpenSearchSnapshotResponse.md @@ -0,0 +1,13 @@ + + +# GetOpenSearchSnapshotResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**snapshots** | [**List<OpenSearchSnapshot>**](OpenSearchSnapshot.md) | | [optional] | + + + diff --git a/docs/GetSitesResponse.md b/docs/GetSitesResponse.md index e3b2cfc2c..fa51d7279 100644 --- a/docs/GetSitesResponse.md +++ b/docs/GetSitesResponse.md @@ -8,6 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**username** | **String** | Username of request caller | [optional] | +|**roles** | **List<String>** | | [optional] | |**sites** | [**List<Site>**](Site.md) | List of sites | [optional] | diff --git a/docs/GetUserActivitesResponse.md b/docs/GetUserActivitesResponse.md index 931620398..c5c3b3c06 100644 --- a/docs/GetUserActivitesResponse.md +++ b/docs/GetUserActivitesResponse.md @@ -8,7 +8,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| |**next** | **String** | Next page of results token | [optional] | -|**userActivities** | [**List<UserActivity>**](UserActivity.md) | List of user activities syncs | [optional] | +|**userActivities** | [**List<UserActivity>**](UserActivity.md) | List of user activities | [optional] | diff --git a/docs/LocaleInfo.md b/docs/LocaleInfo.md new file mode 100644 index 000000000..0a5fea567 --- /dev/null +++ b/docs/LocaleInfo.md @@ -0,0 +1,13 @@ + + +# LocaleInfo + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**locale** | **String** | Name of Locale | [optional] | + + + diff --git a/docs/MalwareEngine.md b/docs/MalwareEngine.md new file mode 100644 index 000000000..1c4668f27 --- /dev/null +++ b/docs/MalwareEngine.md @@ -0,0 +1,11 @@ + + +# MalwareEngine + +## Enum + + +* `CLAM_AV` (value: `"CLAM_AV"`) + + + diff --git a/docs/MalwareScanApi.md b/docs/MalwareScanApi.md new file mode 100644 index 000000000..c1a33b6fe --- /dev/null +++ b/docs/MalwareScanApi.md @@ -0,0 +1,223 @@ +# MalwareScanApi + +All URIs are relative to *http://localhost* + +| Method | HTTP request | Description | +|------------- | ------------- | -------------| +| [**getMalwareScanResults**](MalwareScanApi.md#getMalwareScanResults) | **GET** /documents/{documentId}/malwareScan | Get Malware Scan results | +| [**setAntivirus**](MalwareScanApi.md#setAntivirus) | **PUT** /documents/{documentId}/antivirus | Antivirus document scan | +| [**setMalwareScan**](MalwareScanApi.md#setMalwareScan) | **PUT** /documents/{documentId}/malwareScan | MalwareScan document scan | + + + +# **getMalwareScanResults** +> GetMalwareScanResponse getMalwareScanResults(documentId, siteId, next, limit) + +Get Malware Scan results + +Gets a Malware Scan results; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.MalwareScanApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + MalwareScanApi apiInstance = new MalwareScanApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results + try { + GetMalwareScanResponse result = apiInstance.getMalwareScanResults(documentId, siteId, next, limit); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MalwareScanApi#getMalwareScanResults"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | + +### Return type + +[**GetMalwareScanResponse**](GetMalwareScanResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 BAD REQUEST | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **setAntivirus** +> SetResponse setAntivirus(documentId, siteId, shareKey, body) + +Antivirus document scan + +Perform an Anti-Malware / Antivirus scan on a document; available as an Add-On Module **Deprecated**. This endpoint is no longer recommended. Please use the **`/documents/{document}/malwareScan`** endpoint instead. + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.MalwareScanApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + MalwareScanApi apiInstance = new MalwareScanApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + String shareKey = "shareKey_example"; // String | Share Identifier + Object body = null; // Object | + try { + SetResponse result = apiInstance.setAntivirus(documentId, siteId, shareKey, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MalwareScanApi#setAntivirus"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **shareKey** | **String**| Share Identifier | [optional] | +| **body** | **Object**| | [optional] | + +### Return type + +[**SetResponse**](SetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **setMalwareScan** +> SetResponse setMalwareScan(documentId, siteId, body) + +MalwareScan document scan + +Perform an Anti-Malware / Antivirus scan on a document; available as an Add-On Module + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.MalwareScanApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + MalwareScanApi apiInstance = new MalwareScanApi(defaultClient); + String documentId = "documentId_example"; // String | Document Identifier + String siteId = "siteId_example"; // String | Site Identifier + Object body = null; // Object | + try { + SetResponse result = apiInstance.setMalwareScan(documentId, siteId, body); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling MalwareScanApi#setMalwareScan"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **documentId** | **String**| Document Identifier | | +| **siteId** | **String**| Site Identifier | [optional] | +| **body** | **Object**| | [optional] | + +### Return type + +[**SetResponse**](SetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + diff --git a/docs/MalwareScanResult.md b/docs/MalwareScanResult.md new file mode 100644 index 000000000..b7d83313c --- /dev/null +++ b/docs/MalwareScanResult.md @@ -0,0 +1,17 @@ + + +# MalwareScanResult + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**scanStatus** | **MalwareScanStatus** | | [optional] | +|**scanEngine** | **MalwareEngine** | | [optional] | +|**s3version** | **String** | Document storage version | [optional] | +|**scanMessage** | **String** | Document Malware scan message | [optional] | +|**scannedDate** | **String** | Scanned Timestamp | [optional] | + + + diff --git a/docs/MalwareScanStatus.md b/docs/MalwareScanStatus.md new file mode 100644 index 000000000..68f3508ab --- /dev/null +++ b/docs/MalwareScanStatus.md @@ -0,0 +1,15 @@ + + +# MalwareScanStatus + +## Enum + + +* `MALICIOUS` (value: `"MALICIOUS"`) + +* `ERROR` (value: `"ERROR"`) + +* `CLEAN` (value: `"CLEAN"`) + + + diff --git a/docs/MappingAttributeSourceType.md b/docs/MappingAttributeSourceType.md index a8bcec51a..cbdaba2cc 100644 --- a/docs/MappingAttributeSourceType.md +++ b/docs/MappingAttributeSourceType.md @@ -13,5 +13,9 @@ * `MANUAL` (value: `"MANUAL"`) +* `DATA_CLASSIFICATION` (value: `"DATA_CLASSIFICATION"`) + +* `MALWARE_SCAN` (value: `"MALWARE_SCAN"`) + diff --git a/docs/OpaImplicitAccess.md b/docs/OpaImplicitAccess.md new file mode 100644 index 000000000..7911188f4 --- /dev/null +++ b/docs/OpaImplicitAccess.md @@ -0,0 +1,13 @@ + + +# OpaImplicitAccess + +## Enum + + +* `ALLOW` (value: `"ALLOW"`) + +* `DENY` (value: `"DENY"`) + + + diff --git a/docs/OpaPolicyAttribute.md b/docs/OpaPolicyAttribute.md index 1506009af..38f9ac5fe 100644 --- a/docs/OpaPolicyAttribute.md +++ b/docs/OpaPolicyAttribute.md @@ -14,6 +14,8 @@ |**lt** | [**OpaPolicyAttributeLt**](OpaPolicyAttributeLt.md) | | [optional] | |**lte** | [**OpaPolicyAttributeLte**](OpaPolicyAttributeLte.md) | | [optional] | |**neq** | [**OpaPolicyAttributeNeq**](OpaPolicyAttributeNeq.md) | | [optional] | +|**in** | [**OpaPolicyAttributeIn**](OpaPolicyAttributeIn.md) | | [optional] | +|**notIn** | [**OpaPolicyAttributeNotIn**](OpaPolicyAttributeNotIn.md) | | [optional] | diff --git a/docs/OpaPolicyAttributeIn.md b/docs/OpaPolicyAttributeIn.md new file mode 100644 index 000000000..67e7b729b --- /dev/null +++ b/docs/OpaPolicyAttributeIn.md @@ -0,0 +1,14 @@ + + +# OpaPolicyAttributeIn + +Attribute In to criteria + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**stringValues** | **List<String>** | The value to compare the Attribute Key value to | [optional] | + + + diff --git a/docs/OpaPolicyAttributeNotIn.md b/docs/OpaPolicyAttributeNotIn.md new file mode 100644 index 000000000..54b2bef71 --- /dev/null +++ b/docs/OpaPolicyAttributeNotIn.md @@ -0,0 +1,14 @@ + + +# OpaPolicyAttributeNotIn + +Attribute Not In to criteria + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**stringValues** | **List<String>** | The value to compare the Attribute Key value to | [optional] | + + + diff --git a/docs/OpaPolicyInput.md b/docs/OpaPolicyInput.md new file mode 100644 index 000000000..cd87d9c76 --- /dev/null +++ b/docs/OpaPolicyInput.md @@ -0,0 +1,14 @@ + + +# OpaPolicyInput + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**httpMethod** | [**OpaPolicyInputMethod**](OpaPolicyInputMethod.md) | | [optional] | +|**resource** | [**OpaPolicyInputResource**](OpaPolicyInputResource.md) | | [optional] | + + + diff --git a/docs/OpaPolicyInputMethod.md b/docs/OpaPolicyInputMethod.md new file mode 100644 index 000000000..807a65dbc --- /dev/null +++ b/docs/OpaPolicyInputMethod.md @@ -0,0 +1,14 @@ + + +# OpaPolicyInputMethod + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**in** | **List<String>** | List of HTTP Methods | [optional] | +|**notIn** | **List<String>** | List of HTTP Methods | [optional] | + + + diff --git a/docs/OpaPolicyInputResource.md b/docs/OpaPolicyInputResource.md new file mode 100644 index 000000000..2c1887103 --- /dev/null +++ b/docs/OpaPolicyInputResource.md @@ -0,0 +1,14 @@ + + +# OpaPolicyInputResource + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**in** | **List<String>** | List of Resources | [optional] | +|**notIn** | **List<String>** | List of Resources | [optional] | + + + diff --git a/docs/OpaPolicyItem.md b/docs/OpaPolicyItem.md index 843c927b8..81ee81a82 100644 --- a/docs/OpaPolicyItem.md +++ b/docs/OpaPolicyItem.md @@ -7,11 +7,12 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**type** | **OpaPolicyItemType** | | [optional] | |**policy** | **String** | OPA Policy in REGO format | [optional] | |**allRoles** | **List<String>** | User must match all roles | [optional] | |**anyRoles** | **List<String>** | User must match any role | [optional] | +|**excludedRoles** | **List<String>** | User must NOT have these roles | [optional] | |**attributes** | [**List<OpaPolicyAttribute>**](OpaPolicyAttribute.md) | | [optional] | +|**input** | [**OpaPolicyInput**](OpaPolicyInput.md) | | [optional] | diff --git a/docs/OpaPolicyItemType.md b/docs/OpaPolicyItemType.md index 5bb56a9d5..75c6d4df2 100644 --- a/docs/OpaPolicyItemType.md +++ b/docs/OpaPolicyItemType.md @@ -7,5 +7,7 @@ * `ALLOW` (value: `"ALLOW"`) +* `DENY` (value: `"DENY"`) + diff --git a/docs/OpenSearchAlias.md b/docs/OpenSearchAlias.md new file mode 100644 index 000000000..b0eece66d --- /dev/null +++ b/docs/OpenSearchAlias.md @@ -0,0 +1,13 @@ + + +# OpenSearchAlias + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**name** | **String** | Name of Alias | [optional] | + + + diff --git a/docs/OpenSearchIndex.md b/docs/OpenSearchIndex.md index d9a306a5e..d5917991a 100644 --- a/docs/OpenSearchIndex.md +++ b/docs/OpenSearchIndex.md @@ -9,6 +9,10 @@ |------------ | ------------- | ------------- | -------------| |**numberOfReplicas** | **String** | The number of replicas per shard | [optional] | |**numberOfShards** | **String** | The number of shards in index | [optional] | +|**documentCount** | **String** | The number of documents in index | [optional] | +|**storeSize** | **String** | The store size of the index | [optional] | +|**name** | **String** | Name of Index | [optional] | +|**aliases** | [**List<OpenSearchAlias>**](OpenSearchAlias.md) | | [optional] | diff --git a/docs/OpenSearchIndexSetting.md b/docs/OpenSearchIndexSetting.md new file mode 100644 index 000000000..a52192d8f --- /dev/null +++ b/docs/OpenSearchIndexSetting.md @@ -0,0 +1,14 @@ + + +# OpenSearchIndexSetting + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**numberOfReplicas** | **String** | The number of replicas per shard | [optional] | +|**numberOfShards** | **String** | The number of shards in index | [optional] | + + + diff --git a/docs/OpenSearchS3Repository.md b/docs/OpenSearchS3Repository.md new file mode 100644 index 000000000..db49b46a3 --- /dev/null +++ b/docs/OpenSearchS3Repository.md @@ -0,0 +1,14 @@ + + +# OpenSearchS3Repository + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**repository** | **String** | Name of the Repository | [optional] | +|**bucket** | **String** | Name of the S3 bucket | [optional] | + + + diff --git a/docs/OpenSearchSnapshot.md b/docs/OpenSearchSnapshot.md new file mode 100644 index 000000000..9a9271269 --- /dev/null +++ b/docs/OpenSearchSnapshot.md @@ -0,0 +1,24 @@ + + +# OpenSearchSnapshot + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**snapshot** | **String** | Snapshot name | [optional] | +|**uuid** | **String** | Snapshot’s universally unique identifier (UUID) | [optional] | +|**version** | **String** | Open Search version that created the snapshot | [optional] | +|**indices** | **List<String>** | Indices in the snapshot | [optional] | +|**shards** | [**OpenSearchSnapshotShard**](OpenSearchSnapshotShard.md) | | [optional] | +|**failures** | [**List<OpenSearchSnapshotFailure>**](OpenSearchSnapshotFailure.md) | | [optional] | +|**state** | **String** | Snapshot status. Possible values: IN_PROGRESS, SUCCESS, FAILED, PARTIAL | [optional] | +|**startTime** | **String** | Date/time when the snapshot creation process began | [optional] | +|**startTimeInMillis** | **BigDecimal** | Time (in milliseconds) when the snapshot creation process began | [optional] | +|**endTime** | **String** | Date/time when the snapshot creation process ended | [optional] | +|**endTimeInMillis** | **BigDecimal** | Time (in milliseconds) when the snapshot creation process ended | [optional] | +|**durationInMillis** | **BigDecimal** | Total time (in milliseconds) that the snapshot creation process lasted | [optional] | + + + diff --git a/docs/OpenSearchSnapshotFailure.md b/docs/OpenSearchSnapshotFailure.md new file mode 100644 index 000000000..a3a64942f --- /dev/null +++ b/docs/OpenSearchSnapshotFailure.md @@ -0,0 +1,19 @@ + + +# OpenSearchSnapshotFailure + +Details about a failure for a specific shard in a snapshot. + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**index** | **String** | The index name. | [optional] | +|**indexUuid** | **String** | UUID of the index. | [optional] | +|**shardId** | **Integer** | Shard identifier. | [optional] | +|**reason** | **String** | Full exception/message explaining why the failure occurred. | [optional] | +|**nodeId** | **String** | ID of the node handling that shard. | [optional] | +|**status** | **String** | Status of the failure (e.g., INTERNAL_SERVER_ERROR). | [optional] | + + + diff --git a/docs/OpenSearchSnapshotShard.md b/docs/OpenSearchSnapshotShard.md new file mode 100644 index 000000000..2eaf5f3fb --- /dev/null +++ b/docs/OpenSearchSnapshotShard.md @@ -0,0 +1,15 @@ + + +# OpenSearchSnapshotShard + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**total** | **BigDecimal** | Total number of shards | [optional] | +|**failed** | **BigDecimal** | Failed number of shards | [optional] | +|**successful** | **BigDecimal** | Successful number of shards | [optional] | + + + diff --git a/docs/SetDocumentDataClassificationRequest.md b/docs/SetDocumentDataClassificationRequest.md new file mode 100644 index 000000000..347a881fd --- /dev/null +++ b/docs/SetDocumentDataClassificationRequest.md @@ -0,0 +1,13 @@ + + +# SetDocumentDataClassificationRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**llmPromptEntityName** | **String** | Name of the LLM Prompt Entity | | + + + diff --git a/docs/SetDocumentDataClassificationResponse.md b/docs/SetDocumentDataClassificationResponse.md new file mode 100644 index 000000000..4b924642f --- /dev/null +++ b/docs/SetDocumentDataClassificationResponse.md @@ -0,0 +1,14 @@ + + +# SetDocumentDataClassificationResponse + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**content** | **String** | Result content | [optional] | +|**attributes** | [**List<DataClassificationAttribute>**](DataClassificationAttribute.md) | Attributes extracted from result content | [optional] | + + + diff --git a/docs/SetFolderPermissionsRequest.md b/docs/SetFolderPermissionsRequest.md new file mode 100644 index 000000000..aa9104752 --- /dev/null +++ b/docs/SetFolderPermissionsRequest.md @@ -0,0 +1,14 @@ + + +# SetFolderPermissionsRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**path** | **String** | Path of Folder | [optional] | +|**roles** | [**List<AddFolderPermission>**](AddFolderPermission.md) | | [optional] | + + + diff --git a/docs/SetOpaAccessPolicyItemsRequest.md b/docs/SetOpaAccessPolicyItemsRequest.md index c43dc6154..aef9e2637 100644 --- a/docs/SetOpaAccessPolicyItemsRequest.md +++ b/docs/SetOpaAccessPolicyItemsRequest.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**policyItems** | [**List<OpaPolicyItem>**](OpaPolicyItem.md) | List of OPA policy items | [optional] | +|**policyItems** | [**List<OpaPolicyItem>**](OpaPolicyItem.md) | List of OPA policy items | | diff --git a/docs/SetOpenSearchIndexRequest.md b/docs/SetOpenSearchIndexRequest.md index 012dabdc4..e24ff5650 100644 --- a/docs/SetOpenSearchIndexRequest.md +++ b/docs/SetOpenSearchIndexRequest.md @@ -7,7 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**indexSettings** | [**OpenSearchIndex**](OpenSearchIndex.md) | | [optional] | +|**indexSettings** | [**OpenSearchIndexSetting**](OpenSearchIndexSetting.md) | | [optional] | diff --git a/docs/SetOpenSearchIndiceRequest.md b/docs/SetOpenSearchIndiceRequest.md new file mode 100644 index 000000000..7c2947dd5 --- /dev/null +++ b/docs/SetOpenSearchIndiceRequest.md @@ -0,0 +1,13 @@ + + +# SetOpenSearchIndiceRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**indexName** | **String** | The name of the index to set for SiteId | [optional] | + + + diff --git a/docs/SystemManagementApi.md b/docs/SystemManagementApi.md index a5412dc20..b9623c3ee 100644 --- a/docs/SystemManagementApi.md +++ b/docs/SystemManagementApi.md @@ -7,24 +7,37 @@ All URIs are relative to *http://localhost* | [**addApiKey**](SystemManagementApi.md#addApiKey) | **POST** /sites/{siteId}/apiKeys | Add API Key | | [**addLocale**](SystemManagementApi.md#addLocale) | **POST** /sites/{siteId}/locales | Add Locale | | [**addLocaleResourceItem**](SystemManagementApi.md#addLocaleResourceItem) | **POST** /sites/{siteId}/locales/{locale}/resourceItems | Add Locale Resource Item | +| [**addOpenSearchRestoreSnapshot**](SystemManagementApi.md#addOpenSearchRestoreSnapshot) | **POST** /sites/{siteId}/opensearch/snapshots/{snapshotName}/restore | Add an OpenSearch Restore Snapshot | +| [**addOpenSearchSnapshot**](SystemManagementApi.md#addOpenSearchSnapshot) | **POST** /sites/{siteId}/opensearch/snapshots/{snapshotName} | Add an OpenSearch Snapshot | | [**addSite**](SystemManagementApi.md#addSite) | **POST** /sites | Add Site | | [**deleteApiKey**](SystemManagementApi.md#deleteApiKey) | **DELETE** /sites/{siteId}/apiKeys/{apiKey} | Delete API Key | | [**deleteLocale**](SystemManagementApi.md#deleteLocale) | **DELETE** /sites/{siteId}/locales/{locale} | Delete Locale | | [**deleteLocaleResourceItem**](SystemManagementApi.md#deleteLocaleResourceItem) | **DELETE** /sites/{siteId}/locales/{locale}/resourceItems/{itemKey} | Delete Local Resource Item | -| [**deleteOpensearchIndex**](SystemManagementApi.md#deleteOpensearchIndex) | **DELETE** /sites/{siteId}/opensearch/index | Deletes site(s) OpenSearch index | +| [**deleteOpenSearchIndex**](SystemManagementApi.md#deleteOpenSearchIndex) | **DELETE** /sites/{siteId}/opensearch/index | Deletes site(s) OpenSearch index | +| [**deleteOpenSearchIndexByName**](SystemManagementApi.md#deleteOpenSearchIndexByName) | **DELETE** /sites/global/opensearch/indices/{indexName} | Deletes OpenSearch index by name | +| [**deleteOpenSearchRestoreSnapshot**](SystemManagementApi.md#deleteOpenSearchRestoreSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshots/{snapshotName}/restore | Deletes site(s) OpenSearch Restore Snapshot | +| [**deleteOpenSearchSnapshot**](SystemManagementApi.md#deleteOpenSearchSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshots/{snapshotName} | Deletes site(s) OpenSearch Snapshot | +| [**deleteOpenSearchSnapshotRepository**](SystemManagementApi.md#deleteOpenSearchSnapshotRepository) | **DELETE** /sites/{siteId}/opensearch/snapshotRepository | Deletes site(s) OpenSearch Snapshot Repository | | [**deleteSiteGroup**](SystemManagementApi.md#deleteSiteGroup) | **DELETE** /sites/{siteId}/groups/{groupName} | Deletes Site Group and permissions | +| [**getAllOpenSearchIndices**](SystemManagementApi.md#getAllOpenSearchIndices) | **GET** /sites/global/opensearch/indices | Get all OpenSearch indices | | [**getApiKeys**](SystemManagementApi.md#getApiKeys) | **GET** /sites/{siteId}/apiKeys | Get API Keys | | [**getConfiguration**](SystemManagementApi.md#getConfiguration) | **GET** /sites/{siteId}/configuration | Get site configuration | | [**getLocaleResourceItem**](SystemManagementApi.md#getLocaleResourceItem) | **GET** /sites/{siteId}/locales/{locale}/resourceItems/{itemKey} | Get Resource Item by Locale | | [**getLocaleResourceItems**](SystemManagementApi.md#getLocaleResourceItems) | **GET** /sites/{siteId}/locales/{locale}/resourceItems | Get Resource Items by Locale | | [**getLocales**](SystemManagementApi.md#getLocales) | **GET** /sites/{siteId}/locales | Get Locales | -| [**getOpensearchIndex**](SystemManagementApi.md#getOpensearchIndex) | **GET** /sites/{siteId}/opensearch/index | Get site(s) OpenSearch index settings | +| [**getOpenSearchIndex**](SystemManagementApi.md#getOpenSearchIndex) | **GET** /sites/{siteId}/opensearch/index | Get site(s) OpenSearch index settings | +| [**getOpenSearchIndices**](SystemManagementApi.md#getOpenSearchIndices) | **GET** /sites/{siteId}/opensearch/indices | Get site(s) OpenSearch indices | +| [**getOpenSearchSnapshot**](SystemManagementApi.md#getOpenSearchSnapshot) | **GET** /sites/{siteId}/opensearch/snapshots/{snapshotName} | Get site(s) OpenSearch snapshot | +| [**getOpenSearchSnapshotRepositories**](SystemManagementApi.md#getOpenSearchSnapshotRepositories) | **GET** /sites/global/opensearch/snapshotRepositories | Get site(s) OpenSearch snapshot repositories | +| [**getOpenSearchSnapshotRepository**](SystemManagementApi.md#getOpenSearchSnapshotRepository) | **GET** /sites/{siteId}/opensearch/snapshotRepository | Get site(s) OpenSearch snapshot repository | +| [**getOpenSearchSnapshots**](SystemManagementApi.md#getOpenSearchSnapshots) | **GET** /sites/{siteId}/opensearch/snapshots | Get site(s) OpenSearch snapshots | | [**getSiteGroup**](SystemManagementApi.md#getSiteGroup) | **GET** /sites/{siteId}/groups/{groupName} | Get group and permissions belonging to site | | [**getSiteGroups**](SystemManagementApi.md#getSiteGroups) | **GET** /sites/{siteId}/groups | Get group(s) and permissions belonging to site | | [**getSites**](SystemManagementApi.md#getSites) | **GET** /sites | Get site(s) access | | [**getVersion**](SystemManagementApi.md#getVersion) | **GET** /version | Get FormKiQ version | | [**setLocaleResourceItem**](SystemManagementApi.md#setLocaleResourceItem) | **PUT** /sites/{siteId}/locales/{locale}/resourceItems/{itemKey} | Set Locale Resource Item | -| [**setOpensearchIndex**](SystemManagementApi.md#setOpensearchIndex) | **PUT** /sites/{siteId}/opensearch/index | Set site(s) OpenSearch index settings | +| [**setOpenSearchIndex**](SystemManagementApi.md#setOpenSearchIndex) | **PUT** /sites/{siteId}/opensearch/index | Set site(s) OpenSearch index settings | +| [**setOpenSearchIndices**](SystemManagementApi.md#setOpenSearchIndices) | **PUT** /sites/{siteId}/opensearch/indices | Set site(s) OpenSearch index to use for a SiteId | | [**setSiteGroupPermissions**](SystemManagementApi.md#setSiteGroupPermissions) | **PUT** /sites/{siteId}/groups/{groupName}/permissions | Set Site's Group Permissions | | [**updateConfiguration**](SystemManagementApi.md#updateConfiguration) | **PATCH** /sites/{siteId}/configuration | Update site configuration | | [**updateSite**](SystemManagementApi.md#updateSite) | **PATCH** /sites/{siteId} | Update Site | @@ -233,13 +246,812 @@ No authorization required |-------------|-------------|------------------| | **200** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **addOpenSearchRestoreSnapshot** +> AddResponse addOpenSearchRestoreSnapshot(siteId, snapshotName) + +Add an OpenSearch Restore Snapshot + +Add an OpenSearch Restore Snapshot + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String snapshotName = "snapshotName_example"; // String | Snapshot Name + try { + AddResponse result = apiInstance.addOpenSearchRestoreSnapshot(siteId, snapshotName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#addOpenSearchRestoreSnapshot"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **snapshotName** | **String**| Snapshot Name | | + +### Return type + +[**AddResponse**](AddResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **addOpenSearchSnapshot** +> AddResponse addOpenSearchSnapshot(siteId, snapshotName) + +Add an OpenSearch Snapshot + +Add an OpenSearch Snapshot + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String snapshotName = "snapshotName_example"; // String | Snapshot Name + try { + AddResponse result = apiInstance.addOpenSearchSnapshot(siteId, snapshotName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#addOpenSearchSnapshot"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **snapshotName** | **String**| Snapshot Name | | + +### Return type + +[**AddResponse**](AddResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + # **addSite** > AddResponse addSite(addSiteRequest) -Add Site +Add Site + +Add Site + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + AddSiteRequest addSiteRequest = new AddSiteRequest(); // AddSiteRequest | + try { + AddResponse result = apiInstance.addSite(addSiteRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#addSite"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **addSiteRequest** | [**AddSiteRequest**](AddSiteRequest.md)| | | + +### Return type + +[**AddResponse**](AddResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | + + +# **deleteApiKey** +> DeleteApiKeyResponse deleteApiKey(siteId, apiKey) + +Delete API Key + +Adds a new API Key + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String apiKey = "apiKey_example"; // String | API Key + try { + DeleteApiKeyResponse result = apiInstance.deleteApiKey(siteId, apiKey); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteApiKey"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **apiKey** | **String**| API Key | | + +### Return type + +[**DeleteApiKeyResponse**](DeleteApiKeyResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteLocale** +> DeleteResponse deleteLocale(siteId, locale) + +Delete Locale + +Delete Locale + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) + try { + DeleteResponse result = apiInstance.deleteLocale(siteId, locale); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteLocale"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteLocaleResourceItem** +> DeleteResponse deleteLocaleResourceItem(siteId, locale, itemKey) + +Delete Local Resource Item + +Delete Local Resource Item + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) + String itemKey = "itemKey_example"; // String | Item Key (MUST be URL‑encoded) + try { + DeleteResponse result = apiInstance.deleteLocaleResourceItem(siteId, locale, itemKey); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteLocaleResourceItem"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | +| **itemKey** | **String**| Item Key (MUST be URL‑encoded) | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteOpenSearchIndex** +> DeleteResponse deleteOpenSearchIndex(siteId) + +Deletes site(s) OpenSearch index + +Deletes the OpenSearch index + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + try { + DeleteResponse result = apiInstance.deleteOpenSearchIndex(siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchIndex"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteOpenSearchIndexByName** +> DeleteResponse deleteOpenSearchIndexByName(indexName) + +Deletes OpenSearch index by name + +Deletes the OpenSearch index by name + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String indexName = "indexName_example"; // String | IndexName to path + try { + DeleteResponse result = apiInstance.deleteOpenSearchIndexByName(indexName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchIndexByName"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **indexName** | **String**| IndexName to path | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteOpenSearchRestoreSnapshot** +> DeleteResponse deleteOpenSearchRestoreSnapshot(siteId, snapshotName) + +Deletes site(s) OpenSearch Restore Snapshot + +Deletes the OpenSearch Restore Snapshot + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String snapshotName = "snapshotName_example"; // String | Snapshot Name + try { + DeleteResponse result = apiInstance.deleteOpenSearchRestoreSnapshot(siteId, snapshotName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchRestoreSnapshot"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **snapshotName** | **String**| Snapshot Name | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteOpenSearchSnapshot** +> DeleteResponse deleteOpenSearchSnapshot(siteId, snapshotName) + +Deletes site(s) OpenSearch Snapshot + +Deletes the OpenSearch Snapshot + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String snapshotName = "snapshotName_example"; // String | Snapshot Name + try { + DeleteResponse result = apiInstance.deleteOpenSearchSnapshot(siteId, snapshotName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchSnapshot"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **snapshotName** | **String**| Snapshot Name | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteOpenSearchSnapshotRepository** +> DeleteResponse deleteOpenSearchSnapshotRepository(siteId) + +Deletes site(s) OpenSearch Snapshot Repository + +Deletes the OpenSearch Snapshot Repository + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + try { + DeleteResponse result = apiInstance.deleteOpenSearchSnapshotRepository(siteId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchSnapshotRepository"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | + +### Return type + +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **deleteSiteGroup** +> DeleteResponse deleteSiteGroup(siteId, groupName) + +Deletes Site Group and permissions + +Deletes Site Group and permissions + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String groupName = "groupName_example"; // String | Group Name + try { + DeleteResponse result = apiInstance.deleteSiteGroup(siteId, groupName); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#deleteSiteGroup"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **groupName** | **String**| Group Name | | + +### Return type -Add Site +[**DeleteResponse**](DeleteResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + + +# **getAllOpenSearchIndices** +> GetOpenSearchIndiceResponse getAllOpenSearchIndices() + +Get all OpenSearch indices + +Returns all OpenSearch indices ### Example ```java @@ -259,12 +1071,11 @@ public class Example { defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); - AddSiteRequest addSiteRequest = new AddSiteRequest(); // AddSiteRequest | try { - AddResponse result = apiInstance.addSite(addSiteRequest); + GetOpenSearchIndiceResponse result = apiInstance.getAllOpenSearchIndices(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#addSite"); + System.err.println("Exception when calling SystemManagementApi#getAllOpenSearchIndices"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -275,14 +1086,11 @@ public class Example { ``` ### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **addSiteRequest** | [**AddSiteRequest**](AddSiteRequest.md)| | | +This endpoint does not need any parameter. ### Return type -[**AddResponse**](AddResponse.md) +[**GetOpenSearchIndiceResponse**](GetOpenSearchIndiceResponse.md) ### Authorization @@ -290,22 +1098,21 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| -| **400** | 400 OK | - | +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteApiKey** -> DeleteApiKeyResponse deleteApiKey(siteId, apiKey) + +# **getApiKeys** +> GetApiKeysResponse getApiKeys(siteId, next, limit) -Delete API Key +Get API Keys -Adds a new API Key +Returns the list of ApiKeys ### Example ```java @@ -326,12 +1133,13 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String apiKey = "apiKey_example"; // String | API Key + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results try { - DeleteApiKeyResponse result = apiInstance.deleteApiKey(siteId, apiKey); + GetApiKeysResponse result = apiInstance.getApiKeys(siteId, next, limit); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteApiKey"); + System.err.println("Exception when calling SystemManagementApi#getApiKeys"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -346,11 +1154,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **apiKey** | **String**| API Key | | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | ### Return type -[**DeleteApiKeyResponse**](DeleteApiKeyResponse.md) +[**GetApiKeysResponse**](GetApiKeysResponse.md) ### Authorization @@ -366,13 +1175,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteLocale** -> DeleteResponse deleteLocale(siteId, locale) + +# **getConfiguration** +> GetConfigurationResponse getConfiguration(siteId) -Delete Locale +Get site configuration -Delete Locale +Returns the list of sites that the user has access to ### Example ```java @@ -393,12 +1202,11 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) try { - DeleteResponse result = apiInstance.deleteLocale(siteId, locale); + GetConfigurationResponse result = apiInstance.getConfiguration(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteLocale"); + System.err.println("Exception when calling SystemManagementApi#getConfiguration"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -413,11 +1221,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | ### Return type -[**DeleteResponse**](DeleteResponse.md) +[**GetConfigurationResponse**](GetConfigurationResponse.md) ### Authorization @@ -433,13 +1240,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteLocaleResourceItem** -> DeleteResponse deleteLocaleResourceItem(siteId, locale, itemKey) + +# **getLocaleResourceItem** +> GetLocaleResourceItemResponse getLocaleResourceItem(siteId, locale, itemKey) -Delete Local Resource Item +Get Resource Item by Locale -Delete Local Resource Item +Returns the resource item ### Example ```java @@ -463,10 +1270,10 @@ public class Example { String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) String itemKey = "itemKey_example"; // String | Item Key (MUST be URL‑encoded) try { - DeleteResponse result = apiInstance.deleteLocaleResourceItem(siteId, locale, itemKey); + GetLocaleResourceItemResponse result = apiInstance.getLocaleResourceItem(siteId, locale, itemKey); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteLocaleResourceItem"); + System.err.println("Exception when calling SystemManagementApi#getLocaleResourceItem"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -486,7 +1293,7 @@ public class Example { ### Return type -[**DeleteResponse**](DeleteResponse.md) +[**GetLocaleResourceItemResponse**](GetLocaleResourceItemResponse.md) ### Authorization @@ -502,13 +1309,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteOpensearchIndex** -> DeleteResponse deleteOpensearchIndex(siteId) + +# **getLocaleResourceItems** +> GetLocaleResourceItemsResponse getLocaleResourceItems(siteId, locale, next, limit) -Deletes site(s) OpenSearch index +Get Resource Items by Locale -Deletes the OpenSearch index +Returns the list resource items ### Example ```java @@ -529,11 +1336,14 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier + String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results try { - DeleteResponse result = apiInstance.deleteOpensearchIndex(siteId); + GetLocaleResourceItemsResponse result = apiInstance.getLocaleResourceItems(siteId, locale, next, limit); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteOpensearchIndex"); + System.err.println("Exception when calling SystemManagementApi#getLocaleResourceItems"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -548,10 +1358,13 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | +| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | ### Return type -[**DeleteResponse**](DeleteResponse.md) +[**GetLocaleResourceItemsResponse**](GetLocaleResourceItemsResponse.md) ### Authorization @@ -567,13 +1380,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteSiteGroup** -> DeleteResponse deleteSiteGroup(siteId, groupName) + +# **getLocales** +> GetLocalesResponse getLocales(siteId, next, limit) -Deletes Site Group and permissions +Get Locales -Deletes Site Group and permissions +Returns a list of locale(s) in a specified site ### Example ```java @@ -594,12 +1407,13 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String groupName = "groupName_example"; // String | Group Name + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results try { - DeleteResponse result = apiInstance.deleteSiteGroup(siteId, groupName); + GetLocalesResponse result = apiInstance.getLocales(siteId, next, limit); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteSiteGroup"); + System.err.println("Exception when calling SystemManagementApi#getLocales"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -614,11 +1428,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **groupName** | **String**| Group Name | | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | ### Return type -[**DeleteResponse**](DeleteResponse.md) +[**GetLocalesResponse**](GetLocalesResponse.md) ### Authorization @@ -634,13 +1449,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getApiKeys** -> GetApiKeysResponse getApiKeys(siteId, next, limit) + +# **getOpenSearchIndex** +> GetOpenSearchIndexResponse getOpenSearchIndex(siteId) -Get API Keys +Get site(s) OpenSearch index settings -Returns the list of ApiKeys +Returns the OpenSearch index settings (Deprecated use /sites/{siteId}/opensearch/indices) ### Example ```java @@ -661,13 +1476,11 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String next = "next_example"; // String | Next page of results token - String limit = "10"; // String | Limit Results try { - GetApiKeysResponse result = apiInstance.getApiKeys(siteId, next, limit); + GetOpenSearchIndexResponse result = apiInstance.getOpenSearchIndex(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getApiKeys"); + System.err.println("Exception when calling SystemManagementApi#getOpenSearchIndex"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -682,12 +1495,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **next** | **String**| Next page of results token | [optional] | -| **limit** | **String**| Limit Results | [optional] [default to 10] | ### Return type -[**GetApiKeysResponse**](GetApiKeysResponse.md) +[**GetOpenSearchIndexResponse**](GetOpenSearchIndexResponse.md) ### Authorization @@ -703,13 +1514,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getConfiguration** -> GetConfigurationResponse getConfiguration(siteId) + +# **getOpenSearchIndices** +> GetOpenSearchIndiceResponse getOpenSearchIndices(siteId) -Get site configuration +Get site(s) OpenSearch indices -Returns the list of sites that the user has access to +Returns the OpenSearch indices ### Example ```java @@ -731,10 +1542,10 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier try { - GetConfigurationResponse result = apiInstance.getConfiguration(siteId); + GetOpenSearchIndiceResponse result = apiInstance.getOpenSearchIndices(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getConfiguration"); + System.err.println("Exception when calling SystemManagementApi#getOpenSearchIndices"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -752,7 +1563,7 @@ public class Example { ### Return type -[**GetConfigurationResponse**](GetConfigurationResponse.md) +[**GetOpenSearchIndiceResponse**](GetOpenSearchIndiceResponse.md) ### Authorization @@ -768,13 +1579,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getLocaleResourceItem** -> GetLocaleResourceItemResponse getLocaleResourceItem(siteId, locale, itemKey) + +# **getOpenSearchSnapshot** +> GetOpenSearchSnapshotResponse getOpenSearchSnapshot(siteId, snapshotName) -Get Resource Item by Locale +Get site(s) OpenSearch snapshot -Returns the resource item +Returns the OpenSearch Snapshot ### Example ```java @@ -795,13 +1606,12 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) - String itemKey = "itemKey_example"; // String | Item Key (MUST be URL‑encoded) + String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - GetLocaleResourceItemResponse result = apiInstance.getLocaleResourceItem(siteId, locale, itemKey); + GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshot(siteId, snapshotName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getLocaleResourceItem"); + System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshot"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -816,12 +1626,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | -| **itemKey** | **String**| Item Key (MUST be URL‑encoded) | | +| **snapshotName** | **String**| Snapshot Name | | ### Return type -[**GetLocaleResourceItemResponse**](GetLocaleResourceItemResponse.md) +[**GetOpenSearchSnapshotResponse**](GetOpenSearchSnapshotResponse.md) ### Authorization @@ -837,13 +1646,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getLocaleResourceItems** -> GetLocaleResourceItemsResponse getLocaleResourceItems(siteId, locale, next, limit) + +# **getOpenSearchSnapshotRepositories** +> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories() -Get Resource Items by Locale +Get site(s) OpenSearch snapshot repositories -Returns the list resource items +Returns the OpenSearch Snapshot Repositories ### Example ```java @@ -863,15 +1672,11 @@ public class Example { defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); - String siteId = "siteId_example"; // String | Site Identifier - String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) - String next = "next_example"; // String | Next page of results token - String limit = "10"; // String | Limit Results try { - GetLocaleResourceItemsResponse result = apiInstance.getLocaleResourceItems(siteId, locale, next, limit); + GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepositories(); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getLocaleResourceItems"); + System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshotRepositories"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -882,17 +1687,11 @@ public class Example { ``` ### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **siteId** | **String**| Site Identifier | | -| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | -| **next** | **String**| Next page of results token | [optional] | -| **limit** | **String**| Limit Results | [optional] [default to 10] | +This endpoint does not need any parameter. ### Return type -[**GetLocaleResourceItemsResponse**](GetLocaleResourceItemsResponse.md) +[**GetOpenSearchSnapshotRepositoryResponse**](GetOpenSearchSnapshotRepositoryResponse.md) ### Authorization @@ -908,13 +1707,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getLocales** -> GetLocalesResponse getLocales(siteId, next, limit) + +# **getOpenSearchSnapshotRepository** +> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository(siteId) -Get Locales +Get site(s) OpenSearch snapshot repository -Returns a list of locale(s) in a specified site +Returns the OpenSearch Snapshot Repository ### Example ```java @@ -935,13 +1734,11 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String next = "next_example"; // String | Next page of results token - String limit = "10"; // String | Limit Results try { - GetLocalesResponse result = apiInstance.getLocales(siteId, next, limit); + GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepository(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getLocales"); + System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshotRepository"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -956,12 +1753,10 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **next** | **String**| Next page of results token | [optional] | -| **limit** | **String**| Limit Results | [optional] [default to 10] | ### Return type -[**GetLocalesResponse**](GetLocalesResponse.md) +[**GetOpenSearchSnapshotRepositoryResponse**](GetOpenSearchSnapshotRepositoryResponse.md) ### Authorization @@ -977,13 +1772,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getOpensearchIndex** -> GetOpenSearchIndexResponse getOpensearchIndex(siteId) + +# **getOpenSearchSnapshots** +> GetOpenSearchSnapshotResponse getOpenSearchSnapshots(siteId) -Get site(s) OpenSearch index settings +Get site(s) OpenSearch snapshots -Returns the OpenSearch index settings +Returns the OpenSearch Snapshots ### Example ```java @@ -1005,10 +1800,10 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier try { - GetOpenSearchIndexResponse result = apiInstance.getOpensearchIndex(siteId); + GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshots(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getOpensearchIndex"); + System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshots"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1026,7 +1821,7 @@ public class Example { ### Return type -[**GetOpenSearchIndexResponse**](GetOpenSearchIndexResponse.md) +[**GetOpenSearchSnapshotResponse**](GetOpenSearchSnapshotResponse.md) ### Authorization @@ -1371,9 +2166,9 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **setOpensearchIndex** -> SetOpenSearchIndexResponse setOpensearchIndex(siteId, setOpenSearchIndexRequest) + +# **setOpenSearchIndex** +> SetOpenSearchIndexResponse setOpenSearchIndex(siteId, setOpenSearchIndexRequest) Set site(s) OpenSearch index settings @@ -1400,10 +2195,10 @@ public class Example { String siteId = "siteId_example"; // String | Site Identifier SetOpenSearchIndexRequest setOpenSearchIndexRequest = new SetOpenSearchIndexRequest(); // SetOpenSearchIndexRequest | try { - SetOpenSearchIndexResponse result = apiInstance.setOpensearchIndex(siteId, setOpenSearchIndexRequest); + SetOpenSearchIndexResponse result = apiInstance.setOpenSearchIndex(siteId, setOpenSearchIndexRequest); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#setOpensearchIndex"); + System.err.println("Exception when calling SystemManagementApi#setOpenSearchIndex"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -1438,6 +2233,73 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **setOpenSearchIndices** +> SetResponse setOpenSearchIndices(siteId, setOpenSearchIndiceRequest) + +Set site(s) OpenSearch index to use for a SiteId + +Sets the OpenSearch index to use for a SiteId + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.SystemManagementApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + SetOpenSearchIndiceRequest setOpenSearchIndiceRequest = new SetOpenSearchIndiceRequest(); // SetOpenSearchIndiceRequest | + try { + SetResponse result = apiInstance.setOpenSearchIndices(siteId, setOpenSearchIndiceRequest); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling SystemManagementApi#setOpenSearchIndices"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **setOpenSearchIndiceRequest** | [**SetOpenSearchIndiceRequest**](SetOpenSearchIndiceRequest.md)| | | + +### Return type + +[**SetResponse**](SetResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + # **setSiteGroupPermissions** > SetResponse setSiteGroupPermissions(siteId, groupName, setGroupPermissionsRequest) diff --git a/docs/TextractQuery.md b/docs/TextractQuery.md new file mode 100644 index 000000000..e2b84ee10 --- /dev/null +++ b/docs/TextractQuery.md @@ -0,0 +1,16 @@ + + +# TextractQuery + +A question to ask Textract + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**text** | **String** | Natural-language question | [optional] | +|**alias** | **String** | Label to identify this query in the result | [optional] | +|**pages** | **List<String>** | Page selection | [optional] | + + + diff --git a/docs/UpdateAttribute.md b/docs/UpdateAttribute.md new file mode 100644 index 000000000..bb3dbda3b --- /dev/null +++ b/docs/UpdateAttribute.md @@ -0,0 +1,14 @@ + + +# UpdateAttribute + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**type** | **AttributeType** | | [optional] | +|**watermark** | [**Watermark**](Watermark.md) | | [optional] | + + + diff --git a/docs/UpdateAttributeRequest.md b/docs/UpdateAttributeRequest.md new file mode 100644 index 000000000..c32d23920 --- /dev/null +++ b/docs/UpdateAttributeRequest.md @@ -0,0 +1,13 @@ + + +# UpdateAttributeRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**attribute** | [**UpdateAttribute**](UpdateAttribute.md) | | | + + + diff --git a/docs/UpdateEntityRequest.md b/docs/UpdateEntityRequest.md new file mode 100644 index 000000000..def47b9ea --- /dev/null +++ b/docs/UpdateEntityRequest.md @@ -0,0 +1,13 @@ + + +# UpdateEntityRequest + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**entity** | [**AddEntity**](AddEntity.md) | | [optional] | + + + diff --git a/docs/UserActivitiesApi.md b/docs/UserActivitiesApi.md index 92b734f36..aa0362486 100644 --- a/docs/UserActivitiesApi.md +++ b/docs/UserActivitiesApi.md @@ -5,6 +5,7 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |------------- | ------------- | -------------| | [**getDocumentUserActivities**](UserActivitiesApi.md#getDocumentUserActivities) | **GET** /documents/{documentId}/userActivities | Get user activities for a document | +| [**getResourceActivities**](UserActivitiesApi.md#getResourceActivities) | **GET** /activities | Get resource activities | | [**getUserActivities**](UserActivitiesApi.md#getUserActivities) | **GET** /userActivities | Get user activities | @@ -79,6 +80,91 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **getResourceActivities** +> GetActivitesResponse getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId) + +Get resource activities + +Retrieve an resource activities + +### Example +```java +// Import classes: +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.auth.*; +import com.formkiq.client.invoker.models.*; +import com.formkiq.client.api.UserActivitiesApi; + +public class Example { + public static void main(String[] args) { + ApiClient defaultClient = Configuration.getDefaultApiClient(); + defaultClient.setBasePath("http://localhost"); + // Configure AWS Signature V4 authorization + defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") + + UserActivitiesApi apiInstance = new UserActivitiesApi(defaultClient); + String siteId = "siteId_example"; // String | Site Identifier + String documentId = "documentId_example"; // String | Document Identifier + String entityTypeId = "entityTypeId_example"; // String | EntityType Identifier + String namespace = "PRESET"; // String | Namespace Identifier + String entityId = "entityId_example"; // String | Entity Identifier + OffsetDateTime start = OffsetDateTime.now(); // OffsetDateTime | Start of date-time range (UTC) + OffsetDateTime end = OffsetDateTime.now(); // OffsetDateTime | End of date-time range (UTC) + String sort = "ASC"; // String | Sort order (default DESC) + String next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results + String userId = "userId_example"; // String | Fetch specific user activities + try { + GetActivitesResponse result = apiInstance.getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId); + System.out.println(result); + } catch (ApiException e) { + System.err.println("Exception when calling UserActivitiesApi#getResourceActivities"); + System.err.println("Status code: " + e.getCode()); + System.err.println("Reason: " + e.getResponseBody()); + System.err.println("Response headers: " + e.getResponseHeaders()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | [optional] | +| **documentId** | **String**| Document Identifier | [optional] | +| **entityTypeId** | **String**| EntityType Identifier | [optional] | +| **namespace** | **String**| Namespace Identifier | [optional] [enum: PRESET, CUSTOM] | +| **entityId** | **String**| Entity Identifier | [optional] | +| **start** | **OffsetDateTime**| Start of date-time range (UTC) | [optional] | +| **end** | **OffsetDateTime**| End of date-time range (UTC) | [optional] | +| **sort** | **String**| Sort order (default DESC) | [optional] [enum: ASC, DESC] | +| **next** | **String**| Next page of results token | [optional] | +| **limit** | **String**| Limit Results | [optional] [default to 10] | +| **userId** | **String**| Fetch specific user activities | [optional] | + +### Return type + +[**GetActivitesResponse**](GetActivitesResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +| **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + # **getUserActivities** > GetUserActivitesResponse getUserActivities(siteId, next, limit, userId) diff --git a/docs/UserActivityChanges.md b/docs/UserActivityChanges.md index df241b77d..905279a47 100644 --- a/docs/UserActivityChanges.md +++ b/docs/UserActivityChanges.md @@ -7,8 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**oldValue** | **String** | Previous key value | [optional] | -|**newValue** | **String** | New key value | [optional] | +|**oldValue** | **Object** | Previous key value | [optional] | +|**newValue** | **Object** | New key value | [optional] | diff --git a/docs/Watermark.md b/docs/Watermark.md index b6b32f807..1191a48d3 100644 --- a/docs/Watermark.md +++ b/docs/Watermark.md @@ -7,6 +7,7 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| +|**fontSize** | **BigDecimal** | Watermark Font Size | [optional] | |**text** | **String** | Watermark text | [optional] | |**rotation** | **BigDecimal** | Watermark Rotation | [optional] | |**imageDocumentId** | **String** | Watermark Image Document Id | [optional] | diff --git a/src/main/java/com/formkiq/client/api/AccessControlApi.java b/src/main/java/com/formkiq/client/api/AccessControlApi.java index 01ad4f7a5..c52fc46b2 100644 --- a/src/main/java/com/formkiq/client/api/AccessControlApi.java +++ b/src/main/java/com/formkiq/client/api/AccessControlApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java b/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java index f2e081676..aec803cee 100644 --- a/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java +++ b/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -1154,6 +1154,7 @@ public okhttp3.Call getDocumentFulltextAsync(@javax.annotation.Nonnull String do * * @param body (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1176,7 +1177,8 @@ public okhttp3.Call getDocumentFulltextAsync(@javax.annotation.Nonnull String do * */ public okhttp3.Call queryFulltextCall(@javax.annotation.Nonnull Object body, - @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -1205,6 +1207,10 @@ public okhttp3.Call queryFulltextCall(@javax.annotation.Nonnull Object body, localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); } + if (indexName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("indexName", indexName)); + } + final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1226,14 +1232,15 @@ public okhttp3.Call queryFulltextCall(@javax.annotation.Nonnull Object body, @SuppressWarnings("rawtypes") private okhttp3.Call queryFulltextValidateBeforeCall(@javax.annotation.Nonnull Object body, - @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'body' is set if (body == null) { throw new ApiException( "Missing the required parameter 'body' when calling queryFulltext(Async)"); } - return queryFulltextCall(body, siteId, _callback); + return queryFulltextCall(body, siteId, indexName, _callback); } @@ -1244,6 +1251,7 @@ private okhttp3.Call queryFulltextValidateBeforeCall(@javax.annotation.Nonnull O * * @param body (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @return QueryFulltextResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -1266,8 +1274,10 @@ private okhttp3.Call queryFulltextValidateBeforeCall(@javax.annotation.Nonnull O * */ public QueryFulltextResponse queryFulltext(@javax.annotation.Nonnull Object body, - @javax.annotation.Nullable String siteId) throws ApiException { - ApiResponse localVarResp = queryFulltextWithHttpInfo(body, siteId); + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName) + throws ApiException { + ApiResponse localVarResp = + queryFulltextWithHttpInfo(body, siteId, indexName); return localVarResp.getData(); } @@ -1278,6 +1288,7 @@ public QueryFulltextResponse queryFulltext(@javax.annotation.Nonnull Object body * * @param body (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @return ApiResponse<QueryFulltextResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -1300,9 +1311,9 @@ public QueryFulltextResponse queryFulltext(@javax.annotation.Nonnull Object body * */ public ApiResponse queryFulltextWithHttpInfo( - @javax.annotation.Nonnull Object body, @javax.annotation.Nullable String siteId) - throws ApiException { - okhttp3.Call localVarCall = queryFulltextValidateBeforeCall(body, siteId, null); + @javax.annotation.Nonnull Object body, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String indexName) throws ApiException { + okhttp3.Call localVarCall = queryFulltextValidateBeforeCall(body, siteId, indexName, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1315,6 +1326,7 @@ public ApiResponse queryFulltextWithHttpInfo( * * @param body (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1337,10 +1349,10 @@ public ApiResponse queryFulltextWithHttpInfo( * */ public okhttp3.Call queryFulltextAsync(@javax.annotation.Nonnull Object body, - @javax.annotation.Nullable String siteId, final ApiCallback _callback) - throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = queryFulltextValidateBeforeCall(body, siteId, _callback); + okhttp3.Call localVarCall = queryFulltextValidateBeforeCall(body, siteId, indexName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -1351,6 +1363,7 @@ public okhttp3.Call queryFulltextAsync(@javax.annotation.Nonnull Object body, * * @param documentFulltextRequest (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @param limit Limit Results (optional, default to 10) * @param _callback Callback for upload/download progress * @return Call to execute @@ -1380,8 +1393,8 @@ public okhttp3.Call queryFulltextAsync(@javax.annotation.Nonnull Object body, */ public okhttp3.Call searchFulltextCall( @javax.annotation.Nonnull DocumentFulltextRequest documentFulltextRequest, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -1410,6 +1423,10 @@ public okhttp3.Call searchFulltextCall( localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); } + if (indexName != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("indexName", indexName)); + } + if (limit != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); } @@ -1436,15 +1453,15 @@ public okhttp3.Call searchFulltextCall( @SuppressWarnings("rawtypes") private okhttp3.Call searchFulltextValidateBeforeCall( @javax.annotation.Nonnull DocumentFulltextRequest documentFulltextRequest, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { // verify the required parameter 'documentFulltextRequest' is set if (documentFulltextRequest == null) { throw new ApiException( "Missing the required parameter 'documentFulltextRequest' when calling searchFulltext(Async)"); } - return searchFulltextCall(documentFulltextRequest, siteId, limit, _callback); + return searchFulltextCall(documentFulltextRequest, siteId, indexName, limit, _callback); } @@ -1454,6 +1471,7 @@ private okhttp3.Call searchFulltextValidateBeforeCall( * * @param documentFulltextRequest (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @param limit Limit Results (optional, default to 10) * @return DocumentFulltextResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the @@ -1483,10 +1501,10 @@ private okhttp3.Call searchFulltextValidateBeforeCall( */ public DocumentFulltextResponse searchFulltext( @javax.annotation.Nonnull DocumentFulltextRequest documentFulltextRequest, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit) - throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + @javax.annotation.Nullable String limit) throws ApiException { ApiResponse localVarResp = - searchFulltextWithHttpInfo(documentFulltextRequest, siteId, limit); + searchFulltextWithHttpInfo(documentFulltextRequest, siteId, indexName, limit); return localVarResp.getData(); } @@ -1496,6 +1514,7 @@ public DocumentFulltextResponse searchFulltext( * * @param documentFulltextRequest (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @param limit Limit Results (optional, default to 10) * @return ApiResponse<DocumentFulltextResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the @@ -1525,10 +1544,10 @@ public DocumentFulltextResponse searchFulltext( */ public ApiResponse searchFulltextWithHttpInfo( @javax.annotation.Nonnull DocumentFulltextRequest documentFulltextRequest, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit) - throws ApiException { + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + @javax.annotation.Nullable String limit) throws ApiException { okhttp3.Call localVarCall = - searchFulltextValidateBeforeCall(documentFulltextRequest, siteId, limit, null); + searchFulltextValidateBeforeCall(documentFulltextRequest, siteId, indexName, limit, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -1539,6 +1558,7 @@ public ApiResponse searchFulltextWithHttpInfo( * * @param documentFulltextRequest (required) * @param siteId Site Identifier (optional) + * @param indexName IndexName to query (optional) * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1568,11 +1588,12 @@ public ApiResponse searchFulltextWithHttpInfo( */ public okhttp3.Call searchFulltextAsync( @javax.annotation.Nonnull DocumentFulltextRequest documentFulltextRequest, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String indexName, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - searchFulltextValidateBeforeCall(documentFulltextRequest, siteId, limit, _callback); + okhttp3.Call localVarCall = searchFulltextValidateBeforeCall(documentFulltextRequest, siteId, + indexName, limit, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/com/formkiq/client/api/AntivirusApi.java b/src/main/java/com/formkiq/client/api/AntivirusApi.java deleted file mode 100644 index 7b8c9b070..000000000 --- a/src/main/java/com/formkiq/client/api/AntivirusApi.java +++ /dev/null @@ -1,295 +0,0 @@ -/* - * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You - * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction - * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API - * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API - * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the - * API spec file with any application that supports the OpenAPI specification. Open API OAuth - * Specification - - * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open - * API IAM Specification - - * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## - * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key - * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech Do not edit the class manually. - */ - - -package com.formkiq.client.api; - -import com.formkiq.client.invoker.ApiCallback; -import com.formkiq.client.invoker.ApiClient; -import com.formkiq.client.invoker.ApiException; -import com.formkiq.client.invoker.ApiResponse; -import com.formkiq.client.invoker.Configuration; -import com.formkiq.client.invoker.Pair; -import com.formkiq.client.invoker.ProgressRequestBody; -import com.formkiq.client.invoker.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.formkiq.client.model.SetAntivirusResponse; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class AntivirusApi { - private ApiClient localVarApiClient; - private int localHostIndex; - private String localCustomBaseUrl; - - public AntivirusApi() { - this(Configuration.getDefaultApiClient()); - } - - public AntivirusApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public int getHostIndex() { - return localHostIndex; - } - - public void setHostIndex(int hostIndex) { - this.localHostIndex = hostIndex; - } - - public String getCustomBaseUrl() { - return localCustomBaseUrl; - } - - public void setCustomBaseUrl(String customBaseUrl) { - this.localCustomBaseUrl = customBaseUrl; - } - - /** - * Build call for setAntivirus - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param shareKey Share Identifier (optional) - * @param body (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call setAntivirusCall(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, - @javax.annotation.Nullable Object body, final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] {}; - - // Determine Base Path to Use - if (localCustomBaseUrl != null) { - basePath = localCustomBaseUrl; - } else if (localBasePaths.length > 0) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = body; - - // create path and map variables - String localVarPath = "/documents/{documentId}/antivirus".replace("{" + "documentId" + "}", - localVarApiClient.escapeString(documentId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (siteId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); - } - - if (shareKey != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("shareKey", shareKey)); - } - - final String[] localVarAccepts = {"application/json"}; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = {"application/json"}; - final String localVarContentType = - localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, - localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, - localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call setAntivirusValidateBeforeCall(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, - @javax.annotation.Nullable Object body, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'documentId' is set - if (documentId == null) { - throw new ApiException( - "Missing the required parameter 'documentId' when calling setAntivirus(Async)"); - } - - return setAntivirusCall(documentId, siteId, shareKey, body, _callback); - - } - - /** - * Antivirus document scan Perform an Anti-Malware / Antivirus scan on a document; available as an - * Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param shareKey Share Identifier (optional) - * @param body (optional) - * @return SetAntivirusResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public SetAntivirusResponse setAntivirus(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, - @javax.annotation.Nullable Object body) throws ApiException { - ApiResponse localVarResp = - setAntivirusWithHttpInfo(documentId, siteId, shareKey, body); - return localVarResp.getData(); - } - - /** - * Antivirus document scan Perform an Anti-Malware / Antivirus scan on a document; available as an - * Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param shareKey Share Identifier (optional) - * @param body (optional) - * @return ApiResponse<SetAntivirusResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public ApiResponse setAntivirusWithHttpInfo( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String shareKey, @javax.annotation.Nullable Object body) - throws ApiException { - okhttp3.Call localVarCall = - setAntivirusValidateBeforeCall(documentId, siteId, shareKey, body, null); - Type localVarReturnType = new TypeToken() {}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Antivirus document scan (asynchronously) Perform an Anti-Malware / Antivirus scan on a - * document; available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param siteId Site Identifier (optional) - * @param shareKey Share Identifier (optional) - * @param body (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call setAntivirusAsync(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, - @javax.annotation.Nullable Object body, final ApiCallback _callback) - throws ApiException { - - okhttp3.Call localVarCall = - setAntivirusValidateBeforeCall(documentId, siteId, shareKey, body, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/formkiq/client/api/AttributesApi.java b/src/main/java/com/formkiq/client/api/AttributesApi.java index 1792ec2c7..f9d662ec8 100644 --- a/src/main/java/com/formkiq/client/api/AttributesApi.java +++ b/src/main/java/com/formkiq/client/api/AttributesApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -35,11 +35,13 @@ import com.formkiq.client.model.AddAttributeRequest; -import com.formkiq.client.model.AddAttributeResponse; +import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.DeleteResponse; import com.formkiq.client.model.GetAttributeAllowedValuesResponse; import com.formkiq.client.model.GetAttributeResponse; import com.formkiq.client.model.GetAttributesResponse; +import com.formkiq.client.model.UpdateAttributeRequest; +import com.formkiq.client.model.UpdateResponse; import com.formkiq.client.model.ValidationErrorsResponse; import java.lang.reflect.Type; @@ -185,7 +187,7 @@ private okhttp3.Call addAttributeValidateBeforeCall( * * @param addAttributeRequest (required) * @param siteId Site Identifier (optional) - * @return AddAttributeResponse + * @return AddResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -211,11 +213,9 @@ private okhttp3.Call addAttributeValidateBeforeCall( * * */ - public AddAttributeResponse addAttribute( - @javax.annotation.Nonnull AddAttributeRequest addAttributeRequest, + public AddResponse addAttribute(@javax.annotation.Nonnull AddAttributeRequest addAttributeRequest, @javax.annotation.Nullable String siteId) throws ApiException { - ApiResponse localVarResp = - addAttributeWithHttpInfo(addAttributeRequest, siteId); + ApiResponse localVarResp = addAttributeWithHttpInfo(addAttributeRequest, siteId); return localVarResp.getData(); } @@ -224,7 +224,7 @@ public AddAttributeResponse addAttribute( * * @param addAttributeRequest (required) * @param siteId Site Identifier (optional) - * @return ApiResponse<AddAttributeResponse> + * @return ApiResponse<AddResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -250,11 +250,11 @@ public AddAttributeResponse addAttribute( * * */ - public ApiResponse addAttributeWithHttpInfo( + public ApiResponse addAttributeWithHttpInfo( @javax.annotation.Nonnull AddAttributeRequest addAttributeRequest, @javax.annotation.Nullable String siteId) throws ApiException { okhttp3.Call localVarCall = addAttributeValidateBeforeCall(addAttributeRequest, siteId, null); - Type localVarReturnType = new TypeToken() {}.getType(); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -291,12 +291,12 @@ public ApiResponse addAttributeWithHttpInfo( */ public okhttp3.Call addAttributeAsync( @javax.annotation.Nonnull AddAttributeRequest addAttributeRequest, - @javax.annotation.Nullable String siteId, final ApiCallback _callback) + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addAttributeValidateBeforeCall(addAttributeRequest, siteId, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -1099,4 +1099,233 @@ public okhttp3.Call getAttributesAsync(@javax.annotation.Nullable String siteId, localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + + /** + * Build call for updateAttribute + * + * @param key Key Identifier (required) + * @param updateAttributeRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call updateAttributeCall(@javax.annotation.Nonnull String key, + @javax.annotation.Nonnull UpdateAttributeRequest updateAttributeRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateAttributeRequest; + + // create path and map variables + String localVarPath = "/attributes/{key}".replace("{" + "key" + "}", + localVarApiClient.escapeString(key.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateAttributeValidateBeforeCall(@javax.annotation.Nonnull String key, + @javax.annotation.Nonnull UpdateAttributeRequest updateAttributeRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'key' is set + if (key == null) { + throw new ApiException( + "Missing the required parameter 'key' when calling updateAttribute(Async)"); + } + + // verify the required parameter 'updateAttributeRequest' is set + if (updateAttributeRequest == null) { + throw new ApiException( + "Missing the required parameter 'updateAttributeRequest' when calling updateAttribute(Async)"); + } + + return updateAttributeCall(key, updateAttributeRequest, siteId, _callback); + + } + + /** + * Update existing attribute Updates existing attribute + * + * @param key Key Identifier (required) + * @param updateAttributeRequest (required) + * @param siteId Site Identifier (optional) + * @return UpdateResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public UpdateResponse updateAttribute(@javax.annotation.Nonnull String key, + @javax.annotation.Nonnull UpdateAttributeRequest updateAttributeRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + updateAttributeWithHttpInfo(key, updateAttributeRequest, siteId); + return localVarResp.getData(); + } + + /** + * Update existing attribute Updates existing attribute + * + * @param key Key Identifier (required) + * @param updateAttributeRequest (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<UpdateResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public ApiResponse updateAttributeWithHttpInfo( + @javax.annotation.Nonnull String key, + @javax.annotation.Nonnull UpdateAttributeRequest updateAttributeRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + okhttp3.Call localVarCall = + updateAttributeValidateBeforeCall(key, updateAttributeRequest, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update existing attribute (asynchronously) Updates existing attribute + * + * @param key Key Identifier (required) + * @param updateAttributeRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call updateAttributeAsync(@javax.annotation.Nonnull String key, + @javax.annotation.Nonnull UpdateAttributeRequest updateAttributeRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + updateAttributeValidateBeforeCall(key, updateAttributeRequest, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } } diff --git a/src/main/java/com/formkiq/client/api/CaseManagementApi.java b/src/main/java/com/formkiq/client/api/CaseManagementApi.java index 14998a199..0dfd67625 100644 --- a/src/main/java/com/formkiq/client/api/CaseManagementApi.java +++ b/src/main/java/com/formkiq/client/api/CaseManagementApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/CustomIndexApi.java b/src/main/java/com/formkiq/client/api/CustomIndexApi.java index 4f536739b..f72b87f24 100644 --- a/src/main/java/com/formkiq/client/api/CustomIndexApi.java +++ b/src/main/java/com/formkiq/client/api/CustomIndexApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentActionsApi.java b/src/main/java/com/formkiq/client/api/DocumentActionsApi.java index 94f2ad146..60fd97e24 100644 --- a/src/main/java/com/formkiq/client/api/DocumentActionsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentActionsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -187,21 +187,27 @@ private okhttp3.Call addDocumentActionsValidateBeforeCall( * replace previous actions Each action type supports a different set of parameters as shown in * the table below: ### Action Parameters | ActionType | Parameter | Description | Example | | * -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | - * TEXT, FORMS, TABLES | | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | - * ocrOutputType | Convert OCR result to an Output format (textract table only) | true | | OCR | - * ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | - * addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | - * FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | - * DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | - * Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | - * https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of - * Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | - * email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | - * email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email - * Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | - * NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | - * Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name - * or ARN of the Amazon EventBridge to receive the event. | | + * TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') | | OCR | + * ocrTextractQueries | Required for \"QUERIES\", questions to ask Textract | | OCR | + * ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert OCR + * result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of + * pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert + * images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt + * Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext + * destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | + * DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | + * WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | + * notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | + * Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | + * Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | + * Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text + * | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | + * QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | + * eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | + * width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The + * height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type + * of the image (optional). | | | RESIZE | path | The path to use when creating resized document + * (optional). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) @@ -246,21 +252,27 @@ public AddDocumentActionsResponse addDocumentActions(@javax.annotation.Nonnull S * replace previous actions Each action type supports a different set of parameters as shown in * the table below: ### Action Parameters | ActionType | Parameter | Description | Example | | * -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | - * TEXT, FORMS, TABLES | | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | - * ocrOutputType | Convert OCR result to an Output format (textract table only) | true | | OCR | - * ocrNumberOfPages | Number of pages to OCR (from start) | -1 | | OCR | - * addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or false | | - * FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination | -1 | | - * DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | - * Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | - * https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of - * Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | - * email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | - * email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email - * Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | - * NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | - * Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name - * or ARN of the Amazon EventBridge to receive the event. | | + * TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') | | OCR | + * ocrTextractQueries | Required for \"QUERIES\", questions to ask Textract | | OCR | + * ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert OCR + * result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number of + * pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert + * images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt + * Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext + * destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | + * DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | + * WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | + * notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | + * Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | + * Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | + * Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text + * | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | + * QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | + * eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | + * width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The + * height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type + * of the image (optional). | | | RESIZE | path | The path to use when creating resized document + * (optional). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) @@ -306,21 +318,27 @@ public ApiResponse addDocumentActionsWithHttpInfo( * actions and does not replace previous actions Each action type supports a different set of * parameters as shown in the table below: ### Action Parameters | ActionType | Parameter | * Description | Example | | -------- | ------- | ------- | ------- | | OCR | ocrParseTypes | Ocr - * Parsing strategy to use | TEXT, FORMS, TABLES | | OCR | ocrEngine | Ocr Engine to use | - * tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format - * (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | - * -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or - * false | | FULLTEXT | characterMax | Maximum number of characters to add to Fulltext destination - * | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags - * | Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL - * | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of - * Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | - * email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | - * email@yourdomain.com | | NOTIFICATION | notificationSubject | Notification Subject | Email - * Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | - * NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | - * Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name - * or ARN of the Amazon EventBridge to receive the event. | | + * Parsing strategy to use | TEXT, FORMS, TABLES, QUERIES (requires 'ocrTextractQueries') + * | | OCR | ocrTextractQueries | Required for \"QUERIES\", questions to ask Textract | + * | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert + * OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number + * of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents + * convert images to text | true or false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM + * Prompt Entity Name | | FULLTEXT | characterMax | Maximum number of characters to add to + * Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | + * DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | author,title,description | | + * WEBHOOK | url | Webhook URL | https://yourdomain.com/webhook-endpoint | | NOTIFICATION | + * notificationType | Type of Notification | email | | NOTIFICATION | notificationToCc | + * Notification Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationToBcc | + * Notification Blind Carbon Copy | email@yourdomain.com | | NOTIFICATION | notificationSubject | + * Notification Subject | Email Subject | | NOTIFICATION | notificationText | Notification as Text + * | Email Text | | NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | + * QUEUE | queueId | Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | + * eventBusName | The name or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | + * width | The width of the image to resize (or 'auto'). | | | RESIZE | height | The + * height of the image to resize (or 'auto'). | | | RESIZE | outputType | The output type + * of the image (optional). | | | RESIZE | path | The path to use when creating resized document + * (optional). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) diff --git a/src/main/java/com/formkiq/client/api/DocumentAttributesApi.java b/src/main/java/com/formkiq/client/api/DocumentAttributesApi.java index 840579937..c9b10e477 100644 --- a/src/main/java/com/formkiq/client/api/DocumentAttributesApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentAttributesApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -38,7 +38,6 @@ import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.DeleteResponse; import com.formkiq.client.model.GetDocumentAttributeResponse; -import com.formkiq.client.model.GetDocumentAttributeVersionsResponse; import com.formkiq.client.model.GetDocumentAttributesResponse; import com.formkiq.client.model.SetDocumentAttributeRequest; import com.formkiq.client.model.SetDocumentAttributesRequest; @@ -949,240 +948,6 @@ public okhttp3.Call getDocumentAttributeAsync(@javax.annotation.Nonnull String d return localVarCall; } - /** - * Build call for getDocumentAttributeVersions - * - * @param documentId Document Identifier (required) - * @param attributeKey Attribute Key (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call getDocumentAttributeVersionsCall(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nonnull String attributeKey, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, - final ApiCallback _callback) throws ApiException { - String basePath = null; - // Operation Servers - String[] localBasePaths = new String[] {}; - - // Determine Base Path to Use - if (localCustomBaseUrl != null) { - basePath = localCustomBaseUrl; - } else if (localBasePaths.length > 0) { - basePath = localBasePaths[localHostIndex]; - } else { - basePath = null; - } - - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/documents/{documentId}/attributes/{attributeKey}/versions" - .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())) - .replace("{" + "attributeKey" + "}", - localVarApiClient.escapeString(attributeKey.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - - if (siteId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - - if (next != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); - } - - final String[] localVarAccepts = {"application/json"}; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = {}; - final String localVarContentType = - localVarApiClient.selectHeaderContentType(localVarContentTypes); - if (localVarContentType != null) { - localVarHeaderParams.put("Content-Type", localVarContentType); - } - - String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, - localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, - localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call getDocumentAttributeVersionsValidateBeforeCall( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nonnull String attributeKey, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, - @javax.annotation.Nullable String next, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'documentId' is set - if (documentId == null) { - throw new ApiException( - "Missing the required parameter 'documentId' when calling getDocumentAttributeVersions(Async)"); - } - - // verify the required parameter 'attributeKey' is set - if (attributeKey == null) { - throw new ApiException( - "Missing the required parameter 'attributeKey' when calling getDocumentAttributeVersions(Async)"); - } - - return getDocumentAttributeVersionsCall(documentId, attributeKey, siteId, limit, next, - _callback); - - } - - /** - * Get document attribute's versions Get a listing of a document's attribute versions; - * available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param attributeKey Attribute Key (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @return GetDocumentAttributeVersionsResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public GetDocumentAttributeVersionsResponse getDocumentAttributeVersions( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nonnull String attributeKey, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, - @javax.annotation.Nullable String next) throws ApiException { - ApiResponse localVarResp = - getDocumentAttributeVersionsWithHttpInfo(documentId, attributeKey, siteId, limit, next); - return localVarResp.getData(); - } - - /** - * Get document attribute's versions Get a listing of a document's attribute versions; - * available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param attributeKey Attribute Key (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @return ApiResponse<GetDocumentAttributeVersionsResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the - * response body - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public ApiResponse getDocumentAttributeVersionsWithHttpInfo( - @javax.annotation.Nonnull String documentId, @javax.annotation.Nonnull String attributeKey, - @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, - @javax.annotation.Nullable String next) throws ApiException { - okhttp3.Call localVarCall = getDocumentAttributeVersionsValidateBeforeCall(documentId, - attributeKey, siteId, limit, next, null); - Type localVarReturnType = new TypeToken() {}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get document attribute's versions (asynchronously) Get a listing of a document's - * attribute versions; available as an Add-On Module - * - * @param documentId Document Identifier (required) - * @param attributeKey Attribute Key (required) - * @param siteId Site Identifier (optional) - * @param limit Limit Results (optional, default to 10) - * @param next Next page of results token (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - * - * - * - * - * - * - * - * - * - * - * - * - *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
- * * Access-Control-Allow-Methods -
- * * Access-Control-Allow-Headers -
- *
- */ - public okhttp3.Call getDocumentAttributeVersionsAsync(@javax.annotation.Nonnull String documentId, - @javax.annotation.Nonnull String attributeKey, @javax.annotation.Nullable String siteId, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, - final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = getDocumentAttributeVersionsValidateBeforeCall(documentId, - attributeKey, siteId, limit, next, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** * Build call for getDocumentAttributes * diff --git a/src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java b/src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java new file mode 100644 index 000000000..241a6b70e --- /dev/null +++ b/src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java @@ -0,0 +1,514 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.api; + +import com.formkiq.client.invoker.ApiCallback; +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.ApiResponse; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.Pair; +import com.formkiq.client.invoker.ProgressRequestBody; +import com.formkiq.client.invoker.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.formkiq.client.model.GetDocumentDataClassificationResponse; +import com.formkiq.client.model.SetDocumentDataClassificationRequest; +import com.formkiq.client.model.SetDocumentDataClassificationResponse; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class DocumentDataClassificationApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public DocumentDataClassificationApi() { + this(Configuration.getDefaultApiClient()); + } + + public DocumentDataClassificationApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getDocumentDataClassification + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getDocumentDataClassificationCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String next, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/dataClassification" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getDocumentDataClassificationValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getDocumentDataClassification(Async)"); + } + + return getDocumentDataClassificationCall(documentId, siteId, limit, next, _callback); + + } + + /** + * Get document's data classification Retrieve an document's data classification; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return GetDocumentDataClassificationResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetDocumentDataClassificationResponse getDocumentDataClassification( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) + throws ApiException { + ApiResponse localVarResp = + getDocumentDataClassificationWithHttpInfo(documentId, siteId, limit, next); + return localVarResp.getData(); + } + + /** + * Get document's data classification Retrieve an document's data classification; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @return ApiResponse<GetDocumentDataClassificationResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getDocumentDataClassificationWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next) + throws ApiException { + okhttp3.Call localVarCall = + getDocumentDataClassificationValidateBeforeCall(documentId, siteId, limit, next, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get document's data classification (asynchronously) Retrieve an document's data + * classification; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param limit Limit Results (optional, default to 10) + * @param next Next page of results token (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getDocumentDataClassificationAsync( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String next, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + getDocumentDataClassificationValidateBeforeCall(documentId, siteId, limit, next, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for setDocumentDataClassification + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentDataClassificationCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = setDocumentDataClassificationRequest; + + // create path and map variables + String localVarPath = "/documents/{documentId}/dataClassification" + .replace("{" + "documentId" + "}", localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setDocumentDataClassificationValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling setDocumentDataClassification(Async)"); + } + + return setDocumentDataClassificationCall(documentId, siteId, + setDocumentDataClassificationRequest, _callback); + + } + + /** + * Set document's data classification Generate Data Classfication attributes within a + * document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @return SetDocumentDataClassificationResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetDocumentDataClassificationResponse setDocumentDataClassification( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest) + throws ApiException { + ApiResponse localVarResp = + setDocumentDataClassificationWithHttpInfo(documentId, siteId, + setDocumentDataClassificationRequest); + return localVarResp.getData(); + } + + /** + * Set document's data classification Generate Data Classfication attributes within a + * document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @return ApiResponse<SetDocumentDataClassificationResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setDocumentDataClassificationWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest) + throws ApiException { + okhttp3.Call localVarCall = setDocumentDataClassificationValidateBeforeCall(documentId, siteId, + setDocumentDataClassificationRequest, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Set document's data classification (asynchronously) Generate Data Classfication attributes + * within a document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param setDocumentDataClassificationRequest (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentDataClassificationAsync( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable SetDocumentDataClassificationRequest setDocumentDataClassificationRequest, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = setDocumentDataClassificationValidateBeforeCall(documentId, siteId, + setDocumentDataClassificationRequest, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/formkiq/client/api/DocumentFoldersApi.java b/src/main/java/com/formkiq/client/api/DocumentFoldersApi.java index 3cca16463..5951a0d42 100644 --- a/src/main/java/com/formkiq/client/api/DocumentFoldersApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentFoldersApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -37,7 +37,10 @@ import com.formkiq.client.model.AddFolderRequest; import com.formkiq.client.model.AddFolderResponse; import com.formkiq.client.model.DeleteFolderResponse; +import com.formkiq.client.model.GetFolderPermissionsResponse; import com.formkiq.client.model.GetFoldersResponse; +import com.formkiq.client.model.SetFolderPermissionsRequest; +import com.formkiq.client.model.SetResponse; import java.lang.reflect.Type; import java.util.ArrayList; @@ -725,4 +728,396 @@ public okhttp3.Call getFolderDocumentsAsync(@javax.annotation.Nullable String si localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + + /** + * Build call for getFolderPermissions + * + * @param indexKey Index Key Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getFolderPermissionsCall(@javax.annotation.Nonnull String indexKey, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/folders/{indexKey}/permissions".replace("{" + "indexKey" + "}", + localVarApiClient.escapeString(indexKey.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getFolderPermissionsValidateBeforeCall( + @javax.annotation.Nonnull String indexKey, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'indexKey' is set + if (indexKey == null) { + throw new ApiException( + "Missing the required parameter 'indexKey' when calling getFolderPermissions(Async)"); + } + + return getFolderPermissionsCall(indexKey, siteId, _callback); + + } + + /** + * Get folder permissions Get list of permissions for a folder + * + * @param indexKey Index Key Identifier (required) + * @param siteId Site Identifier (optional) + * @return GetFolderPermissionsResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetFolderPermissionsResponse getFolderPermissions( + @javax.annotation.Nonnull String indexKey, @javax.annotation.Nullable String siteId) + throws ApiException { + ApiResponse localVarResp = + getFolderPermissionsWithHttpInfo(indexKey, siteId); + return localVarResp.getData(); + } + + /** + * Get folder permissions Get list of permissions for a folder + * + * @param indexKey Index Key Identifier (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<GetFolderPermissionsResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getFolderPermissionsWithHttpInfo( + @javax.annotation.Nonnull String indexKey, @javax.annotation.Nullable String siteId) + throws ApiException { + okhttp3.Call localVarCall = getFolderPermissionsValidateBeforeCall(indexKey, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get folder permissions (asynchronously) Get list of permissions for a folder + * + * @param indexKey Index Key Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getFolderPermissionsAsync(@javax.annotation.Nonnull String indexKey, + @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getFolderPermissionsValidateBeforeCall(indexKey, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for setFolderPermissions + * + * @param setFolderPermissionsRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setFolderPermissionsCall( + @javax.annotation.Nonnull SetFolderPermissionsRequest setFolderPermissionsRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = setFolderPermissionsRequest; + + // create path and map variables + String localVarPath = "/folders/permissions"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setFolderPermissionsValidateBeforeCall( + @javax.annotation.Nonnull SetFolderPermissionsRequest setFolderPermissionsRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'setFolderPermissionsRequest' is set + if (setFolderPermissionsRequest == null) { + throw new ApiException( + "Missing the required parameter 'setFolderPermissionsRequest' when calling setFolderPermissions(Async)"); + } + + return setFolderPermissionsCall(setFolderPermissionsRequest, siteId, _callback); + + } + + /** + * Sets Folder Permissions Sets a folders permissions NOTE: Can only be called be ADMIN or GOVERN. + * + * @param setFolderPermissionsRequest (required) + * @param siteId Site Identifier (optional) + * @return SetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetResponse setFolderPermissions( + @javax.annotation.Nonnull SetFolderPermissionsRequest setFolderPermissionsRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + setFolderPermissionsWithHttpInfo(setFolderPermissionsRequest, siteId); + return localVarResp.getData(); + } + + /** + * Sets Folder Permissions Sets a folders permissions NOTE: Can only be called be ADMIN or GOVERN. + * + * @param setFolderPermissionsRequest (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<SetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setFolderPermissionsWithHttpInfo( + @javax.annotation.Nonnull SetFolderPermissionsRequest setFolderPermissionsRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + okhttp3.Call localVarCall = + setFolderPermissionsValidateBeforeCall(setFolderPermissionsRequest, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Sets Folder Permissions (asynchronously) Sets a folders permissions NOTE: Can only be called be + * ADMIN or GOVERN. + * + * @param setFolderPermissionsRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setFolderPermissionsAsync( + @javax.annotation.Nonnull SetFolderPermissionsRequest setFolderPermissionsRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + setFolderPermissionsValidateBeforeCall(setFolderPermissionsRequest, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } } diff --git a/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java b/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java index 240626c93..2c0405536 100644 --- a/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentGenerationApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentOcrApi.java b/src/main/java/com/formkiq/client/api/DocumentOcrApi.java index 982d4b413..27b2edb7d 100644 --- a/src/main/java/com/formkiq/client/api/DocumentOcrApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentOcrApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentSearchApi.java b/src/main/java/com/formkiq/client/api/DocumentSearchApi.java index 4c80f5ec4..cfee80191 100644 --- a/src/main/java/com/formkiq/client/api/DocumentSearchApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentSearchApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentSharesApi.java b/src/main/java/com/formkiq/client/api/DocumentSharesApi.java index 92787e5f8..9a51056d1 100644 --- a/src/main/java/com/formkiq/client/api/DocumentSharesApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentSharesApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentTagsApi.java b/src/main/java/com/formkiq/client/api/DocumentTagsApi.java index b6c540ef0..a505de2ca 100644 --- a/src/main/java/com/formkiq/client/api/DocumentTagsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentTagsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -35,6 +35,7 @@ import com.formkiq.client.model.AddDocumentTagsRequest; +import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.DeleteResponse; import com.formkiq.client.model.GetDocumentTagResponse; import com.formkiq.client.model.GetDocumentTagsResponse; @@ -104,7 +105,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * * * 201 - * 200 OK + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
@@ -144,7 +145,7 @@ public okhttp3.Call addDocumentTagsCall(@javax.annotation.Nonnull String documen localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); } - final String[] localVarAccepts = {}; + final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); @@ -191,6 +192,7 @@ private okhttp3.Call addDocumentTagsValidateBeforeCall( * @param documentId Document Identifier (required) * @param addDocumentTagsRequest (required) * @param siteId Site Identifier (optional) + * @return AddResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -203,7 +205,7 @@ private okhttp3.Call addDocumentTagsValidateBeforeCall( * * * 201 - * 200 OK + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
@@ -211,10 +213,12 @@ private okhttp3.Call addDocumentTagsValidateBeforeCall( * * */ - public void addDocumentTags(@javax.annotation.Nonnull String documentId, + public AddResponse addDocumentTags(@javax.annotation.Nonnull String documentId, @javax.annotation.Nonnull AddDocumentTagsRequest addDocumentTagsRequest, @javax.annotation.Nullable String siteId) throws ApiException { - addDocumentTagsWithHttpInfo(documentId, addDocumentTagsRequest, siteId); + ApiResponse localVarResp = + addDocumentTagsWithHttpInfo(documentId, addDocumentTagsRequest, siteId); + return localVarResp.getData(); } /** @@ -224,7 +228,7 @@ public void addDocumentTags(@javax.annotation.Nonnull String documentId, * @param documentId Document Identifier (required) * @param addDocumentTagsRequest (required) * @param siteId Site Identifier (optional) - * @return ApiResponse<Void> + * @return ApiResponse<AddResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -237,7 +241,7 @@ public void addDocumentTags(@javax.annotation.Nonnull String documentId, * * * 201 - * 200 OK + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
@@ -245,12 +249,14 @@ public void addDocumentTags(@javax.annotation.Nonnull String documentId, * * */ - public ApiResponse addDocumentTagsWithHttpInfo(@javax.annotation.Nonnull String documentId, + public ApiResponse addDocumentTagsWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nonnull AddDocumentTagsRequest addDocumentTagsRequest, @javax.annotation.Nullable String siteId) throws ApiException { okhttp3.Call localVarCall = addDocumentTagsValidateBeforeCall(documentId, addDocumentTagsRequest, siteId, null); - return localVarApiClient.execute(localVarCall); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); } /** @@ -273,7 +279,7 @@ public ApiResponse addDocumentTagsWithHttpInfo(@javax.annotation.Nonnull S * * * 201 - * 200 OK + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
@@ -283,12 +289,13 @@ public ApiResponse addDocumentTagsWithHttpInfo(@javax.annotation.Nonnull S */ public okhttp3.Call addDocumentTagsAsync(@javax.annotation.Nonnull String documentId, @javax.annotation.Nonnull AddDocumentTagsRequest addDocumentTagsRequest, - @javax.annotation.Nullable String siteId, final ApiCallback _callback) + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = addDocumentTagsValidateBeforeCall(documentId, addDocumentTagsRequest, siteId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } diff --git a/src/main/java/com/formkiq/client/api/DocumentVersionsApi.java b/src/main/java/com/formkiq/client/api/DocumentVersionsApi.java index 411b862f0..3219a9060 100644 --- a/src/main/java/com/formkiq/client/api/DocumentVersionsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentVersionsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentWorkflowsApi.java b/src/main/java/com/formkiq/client/api/DocumentWorkflowsApi.java index 926d74bb4..f053e744b 100644 --- a/src/main/java/com/formkiq/client/api/DocumentWorkflowsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentWorkflowsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/DocumentsApi.java b/src/main/java/com/formkiq/client/api/DocumentsApi.java index 189cb8de3..a0dd7b0e5 100644 --- a/src/main/java/com/formkiq/client/api/DocumentsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -48,6 +48,7 @@ import com.formkiq.client.model.GetDocumentUrlResponse; import com.formkiq.client.model.GetDocumentsResponse; import com.formkiq.client.model.SetDocumentRestoreResponse; +import com.formkiq.client.model.SetResponse; import com.formkiq.client.model.UpdateDocumentRequest; import com.formkiq.client.model.ValidationErrorsResponse; @@ -1204,6 +1205,205 @@ public okhttp3.Call deleteDocumentAsync(@javax.annotation.Nonnull String documen return localVarCall; } + /** + * Build call for deleteDocumentCheckoutLegalHold + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteDocumentCheckoutLegalHoldCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/legalHold".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteDocumentCheckoutLegalHoldValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling deleteDocumentCheckoutLegalHold(Async)"); + } + + return deleteDocumentCheckoutLegalHoldCall(documentId, siteId, _callback); + + } + + /** + * Delete document legal hold checkout Removes a legal hold checkout for the document; available + * as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteDocumentCheckoutLegalHold(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + deleteDocumentCheckoutLegalHoldWithHttpInfo(documentId, siteId); + return localVarResp.getData(); + } + + /** + * Delete document legal hold checkout Removes a legal hold checkout for the document; available + * as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteDocumentCheckoutLegalHoldWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId) + throws ApiException { + okhttp3.Call localVarCall = + deleteDocumentCheckoutLegalHoldValidateBeforeCall(documentId, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete document legal hold checkout (asynchronously) Removes a legal hold checkout for the + * document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteDocumentCheckoutLegalHoldAsync( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + deleteDocumentCheckoutLegalHoldValidateBeforeCall(documentId, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** * Build call for deletePublishedDocumentContent * @@ -3492,6 +3692,404 @@ public okhttp3.Call purgeDocumentAsync(@javax.annotation.Nonnull String document return localVarCall; } + /** + * Build call for setDocumentCheckout + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentCheckoutCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/checkout".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setDocumentCheckoutValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling setDocumentCheckout(Async)"); + } + + return setDocumentCheckoutCall(documentId, siteId, _callback); + + } + + /** + * Perform document checkout Creates a checkout for the document. Fails with **409 Conflict** if + * the document is already checkedout by another user; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @return SetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetResponse setDocumentCheckout(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = setDocumentCheckoutWithHttpInfo(documentId, siteId); + return localVarResp.getData(); + } + + /** + * Perform document checkout Creates a checkout for the document. Fails with **409 Conflict** if + * the document is already checkedout by another user; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<SetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setDocumentCheckoutWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId) + throws ApiException { + okhttp3.Call localVarCall = setDocumentCheckoutValidateBeforeCall(documentId, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Perform document checkout (asynchronously) Creates a checkout for the document. Fails with + * **409 Conflict** if the document is already checkedout by another user; available as an Add-On + * Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentCheckoutAsync(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + setDocumentCheckoutValidateBeforeCall(documentId, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for setDocumentCheckoutLegalHold + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentCheckoutLegalHoldCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/legalHold".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setDocumentCheckoutLegalHoldValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling setDocumentCheckoutLegalHold(Async)"); + } + + return setDocumentCheckoutLegalHoldCall(documentId, siteId, _callback); + + } + + /** + * Perform document legal hold checkout Creates a legal hold checkout for the document. Fails with + * **409 Conflict** if the document is already checkedout by another user; available as an Add-On + * Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @return SetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetResponse setDocumentCheckoutLegalHold(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + setDocumentCheckoutLegalHoldWithHttpInfo(documentId, siteId); + return localVarResp.getData(); + } + + /** + * Perform document legal hold checkout Creates a legal hold checkout for the document. Fails with + * **409 Conflict** if the document is already checkedout by another user; available as an Add-On + * Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<SetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setDocumentCheckoutLegalHoldWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId) + throws ApiException { + okhttp3.Call localVarCall = + setDocumentCheckoutLegalHoldValidateBeforeCall(documentId, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Perform document legal hold checkout (asynchronously) Creates a legal hold checkout for the + * document. Fails with **409 Conflict** if the document is already checkedout by another user; + * available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setDocumentCheckoutLegalHoldAsync(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + setDocumentCheckoutLegalHoldValidateBeforeCall(documentId, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** * Build call for setDocumentRestore * diff --git a/src/main/java/com/formkiq/client/api/ESignatureApi.java b/src/main/java/com/formkiq/client/api/ESignatureApi.java index d86d5cd2d..4bbd4d8ba 100644 --- a/src/main/java/com/formkiq/client/api/ESignatureApi.java +++ b/src/main/java/com/formkiq/client/api/ESignatureApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/EntityApi.java b/src/main/java/com/formkiq/client/api/EntityApi.java new file mode 100644 index 000000000..5b5a507c5 --- /dev/null +++ b/src/main/java/com/formkiq/client/api/EntityApi.java @@ -0,0 +1,2073 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.api; + +import com.formkiq.client.invoker.ApiCallback; +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.ApiResponse; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.Pair; +import com.formkiq.client.invoker.ProgressRequestBody; +import com.formkiq.client.invoker.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.formkiq.client.model.AddEntityRequest; +import com.formkiq.client.model.AddEntityResponse; +import com.formkiq.client.model.AddEntityTypeRequest; +import com.formkiq.client.model.AddEntityTypeResponse; +import com.formkiq.client.model.DeleteResponse; +import com.formkiq.client.model.GetEntitiesResponse; +import com.formkiq.client.model.GetEntityResponse; +import com.formkiq.client.model.GetEntityTypeResponse; +import com.formkiq.client.model.GetEntityTypesResponse; +import com.formkiq.client.model.UpdateEntityRequest; +import com.formkiq.client.model.UpdateResponse; +import com.formkiq.client.model.ValidationErrorsResponse; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class EntityApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public EntityApi() { + this(Configuration.getDefaultApiClient()); + } + + public EntityApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for addEntity + * + * @param entityTypeId EntityType Identifier (required) + * @param addEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call addEntityCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull AddEntityRequest addEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = addEntityRequest; + + // create path and map variables + String localVarPath = "/entities/{entityTypeId}".replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addEntityValidateBeforeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull AddEntityRequest addEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling addEntity(Async)"); + } + + // verify the required parameter 'addEntityRequest' is set + if (addEntityRequest == null) { + throw new ApiException( + "Missing the required parameter 'addEntityRequest' when calling addEntity(Async)"); + } + + return addEntityCall(entityTypeId, addEntityRequest, siteId, namespace, _callback); + + } + + /** + * Add New Entity Creates a Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param addEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return AddEntityResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public AddEntityResponse addEntity(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull AddEntityRequest addEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace) + throws ApiException { + ApiResponse localVarResp = + addEntityWithHttpInfo(entityTypeId, addEntityRequest, siteId, namespace); + return localVarResp.getData(); + } + + /** + * Add New Entity Creates a Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param addEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return ApiResponse<AddEntityResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public ApiResponse addEntityWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull AddEntityRequest addEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace) + throws ApiException { + okhttp3.Call localVarCall = + addEntityValidateBeforeCall(entityTypeId, addEntityRequest, siteId, namespace, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add New Entity (asynchronously) Creates a Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param addEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call addEntityAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull AddEntityRequest addEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + addEntityValidateBeforeCall(entityTypeId, addEntityRequest, siteId, namespace, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for addEntityType + * + * @param addEntityTypeRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call addEntityTypeCall( + @javax.annotation.Nonnull AddEntityTypeRequest addEntityTypeRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = addEntityTypeRequest; + + // create path and map variables + String localVarPath = "/entityTypes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addEntityTypeValidateBeforeCall( + @javax.annotation.Nonnull AddEntityTypeRequest addEntityTypeRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'addEntityTypeRequest' is set + if (addEntityTypeRequest == null) { + throw new ApiException( + "Missing the required parameter 'addEntityTypeRequest' when calling addEntityType(Async)"); + } + + return addEntityTypeCall(addEntityTypeRequest, siteId, _callback); + + } + + /** + * Add New EntityType Creates a Entity Type + * + * @param addEntityTypeRequest (required) + * @param siteId Site Identifier (optional) + * @return AddEntityTypeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public AddEntityTypeResponse addEntityType( + @javax.annotation.Nonnull AddEntityTypeRequest addEntityTypeRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = + addEntityTypeWithHttpInfo(addEntityTypeRequest, siteId); + return localVarResp.getData(); + } + + /** + * Add New EntityType Creates a Entity Type + * + * @param addEntityTypeRequest (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<AddEntityTypeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public ApiResponse addEntityTypeWithHttpInfo( + @javax.annotation.Nonnull AddEntityTypeRequest addEntityTypeRequest, + @javax.annotation.Nullable String siteId) throws ApiException { + okhttp3.Call localVarCall = addEntityTypeValidateBeforeCall(addEntityTypeRequest, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add New EntityType (asynchronously) Creates a Entity Type + * + * @param addEntityTypeRequest (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call addEntityTypeAsync( + @javax.annotation.Nonnull AddEntityTypeRequest addEntityTypeRequest, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + addEntityTypeValidateBeforeCall(addEntityTypeRequest, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteEntity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteEntityCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entities/{entityTypeId}/{entityId}" + .replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())) + .replace("{" + "entityId" + "}", localVarApiClient.escapeString(entityId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteEntityValidateBeforeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling deleteEntity(Async)"); + } + + // verify the required parameter 'entityId' is set + if (entityId == null) { + throw new ApiException( + "Missing the required parameter 'entityId' when calling deleteEntity(Async)"); + } + + return deleteEntityCall(entityTypeId, entityId, siteId, _callback); + + } + + /** + * Deletes Entity Deletes Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteEntity(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId) + throws ApiException { + ApiResponse localVarResp = + deleteEntityWithHttpInfo(entityTypeId, entityId, siteId); + return localVarResp.getData(); + } + + /** + * Deletes Entity Deletes Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteEntityWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nonnull String entityId, + @javax.annotation.Nullable String siteId) throws ApiException { + okhttp3.Call localVarCall = + deleteEntityValidateBeforeCall(entityTypeId, entityId, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes Entity (asynchronously) Deletes Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteEntityAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + deleteEntityValidateBeforeCall(entityTypeId, entityId, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteEntityType + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteEntityTypeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entityTypes/{entityTypeId}".replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteEntityTypeValidateBeforeCall( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nullable String siteId, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling deleteEntityType(Async)"); + } + + return deleteEntityTypeCall(entityTypeId, siteId, _callback); + + } + + /** + * Deletes Entity Type Deletes Entity Type + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteEntityType(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId) throws ApiException { + ApiResponse localVarResp = deleteEntityTypeWithHttpInfo(entityTypeId, siteId); + return localVarResp.getData(); + } + + /** + * Deletes Entity Type Deletes Entity Type + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteEntityTypeWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nullable String siteId) + throws ApiException { + okhttp3.Call localVarCall = deleteEntityTypeValidateBeforeCall(entityTypeId, siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes Entity Type (asynchronously) Deletes Entity Type + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteEntityTypeAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = deleteEntityTypeValidateBeforeCall(entityTypeId, siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getEntities + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntitiesCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entities/{entityTypeId}".replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEntitiesValidateBeforeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling getEntities(Async)"); + } + + return getEntitiesCall(entityTypeId, siteId, namespace, next, limit, _callback); + + } + + /** + * Get Entities Returns a list of entities + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return GetEntitiesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetEntitiesResponse getEntities(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + throws ApiException { + ApiResponse localVarResp = + getEntitiesWithHttpInfo(entityTypeId, siteId, namespace, next, limit); + return localVarResp.getData(); + } + + /** + * Get Entities Returns a list of entities + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return ApiResponse<GetEntitiesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getEntitiesWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit) throws ApiException { + okhttp3.Call localVarCall = + getEntitiesValidateBeforeCall(entityTypeId, siteId, namespace, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Entities (asynchronously) Returns a list of entities + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntitiesAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + getEntitiesValidateBeforeCall(entityTypeId, siteId, namespace, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getEntity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntityCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entities/{entityTypeId}/{entityId}" + .replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())) + .replace("{" + "entityId" + "}", localVarApiClient.escapeString(entityId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEntityValidateBeforeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, final ApiCallback _callback) + throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling getEntity(Async)"); + } + + // verify the required parameter 'entityId' is set + if (entityId == null) { + throw new ApiException( + "Missing the required parameter 'entityId' when calling getEntity(Async)"); + } + + return getEntityCall(entityTypeId, entityId, siteId, namespace, _callback); + + } + + /** + * Get Entity Returns a entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return GetEntityResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetEntityResponse getEntity(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace) throws ApiException { + ApiResponse localVarResp = + getEntityWithHttpInfo(entityTypeId, entityId, siteId, namespace); + return localVarResp.getData(); + } + + /** + * Get Entity Returns a entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return ApiResponse<GetEntityResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getEntityWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nonnull String entityId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace) + throws ApiException { + okhttp3.Call localVarCall = + getEntityValidateBeforeCall(entityTypeId, entityId, siteId, namespace, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Entity (asynchronously) Returns a entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntityAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getEntityValidateBeforeCall(entityTypeId, entityId, siteId, namespace, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getEntityType + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntityTypeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entityTypes/{entityTypeId}".replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEntityTypeValidateBeforeCall( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, final ApiCallback _callback) + throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling getEntityType(Async)"); + } + + return getEntityTypeCall(entityTypeId, siteId, namespace, _callback); + + } + + /** + * Get EntityType Returns a entity type + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return GetEntityTypeResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetEntityTypeResponse getEntityType(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace) + throws ApiException { + ApiResponse localVarResp = + getEntityTypeWithHttpInfo(entityTypeId, siteId, namespace); + return localVarResp.getData(); + } + + /** + * Get EntityType Returns a entity type + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return ApiResponse<GetEntityTypeResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getEntityTypeWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace) throws ApiException { + okhttp3.Call localVarCall = + getEntityTypeValidateBeforeCall(entityTypeId, siteId, namespace, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get EntityType (asynchronously) Returns a entity type + * + * @param entityTypeId EntityType Identifier (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntityTypeAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + getEntityTypeValidateBeforeCall(entityTypeId, siteId, namespace, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getEntityTypes + * + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntityTypesCall(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/entityTypes"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getEntityTypesValidateBeforeCall(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { + return getEntityTypesCall(siteId, namespace, next, limit, _callback); + + } + + /** + * Get EntityTypes Returns a list of entity types + * + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return GetEntityTypesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetEntityTypesResponse getEntityTypes(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit) throws ApiException { + ApiResponse localVarResp = + getEntityTypesWithHttpInfo(siteId, namespace, next, limit); + return localVarResp.getData(); + } + + /** + * Get EntityTypes Returns a list of entity types + * + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return ApiResponse<GetEntityTypesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getEntityTypesWithHttpInfo( + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + throws ApiException { + okhttp3.Call localVarCall = + getEntityTypesValidateBeforeCall(siteId, namespace, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get EntityTypes (asynchronously) Returns a list of entity types + * + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getEntityTypesAsync(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getEntityTypesValidateBeforeCall(siteId, namespace, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for updateEntity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param updateEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call updateEntityCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull UpdateEntityRequest updateEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = updateEntityRequest; + + // create path and map variables + String localVarPath = "/entities/{entityTypeId}/{entityId}" + .replace("{" + "entityTypeId" + "}", + localVarApiClient.escapeString(entityTypeId.toString())) + .replace("{" + "entityId" + "}", localVarApiClient.escapeString(entityId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PATCH", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call updateEntityValidateBeforeCall(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull UpdateEntityRequest updateEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'entityTypeId' is set + if (entityTypeId == null) { + throw new ApiException( + "Missing the required parameter 'entityTypeId' when calling updateEntity(Async)"); + } + + // verify the required parameter 'entityId' is set + if (entityId == null) { + throw new ApiException( + "Missing the required parameter 'entityId' when calling updateEntity(Async)"); + } + + // verify the required parameter 'updateEntityRequest' is set + if (updateEntityRequest == null) { + throw new ApiException( + "Missing the required parameter 'updateEntityRequest' when calling updateEntity(Async)"); + } + + return updateEntityCall(entityTypeId, entityId, updateEntityRequest, siteId, namespace, + _callback); + + } + + /** + * Update Entity Updates a Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param updateEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return UpdateResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public UpdateResponse updateEntity(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull UpdateEntityRequest updateEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace) + throws ApiException { + ApiResponse localVarResp = + updateEntityWithHttpInfo(entityTypeId, entityId, updateEntityRequest, siteId, namespace); + return localVarResp.getData(); + } + + /** + * Update Entity Updates a Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param updateEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @return ApiResponse<UpdateResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public ApiResponse updateEntityWithHttpInfo( + @javax.annotation.Nonnull String entityTypeId, @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull UpdateEntityRequest updateEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace) + throws ApiException { + okhttp3.Call localVarCall = updateEntityValidateBeforeCall(entityTypeId, entityId, + updateEntityRequest, siteId, namespace, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Update Entity (asynchronously) Updates a Entity + * + * @param entityTypeId EntityType Identifier (required) + * @param entityId Entity Identifier (required) + * @param updateEntityRequest (required) + * @param siteId Site Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call updateEntityAsync(@javax.annotation.Nonnull String entityTypeId, + @javax.annotation.Nonnull String entityId, + @javax.annotation.Nonnull UpdateEntityRequest updateEntityRequest, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String namespace, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = updateEntityValidateBeforeCall(entityTypeId, entityId, + updateEntityRequest, siteId, namespace, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/formkiq/client/api/ExamineObjectsApi.java b/src/main/java/com/formkiq/client/api/ExamineObjectsApi.java index 9248cffb8..43f449ecd 100644 --- a/src/main/java/com/formkiq/client/api/ExamineObjectsApi.java +++ b/src/main/java/com/formkiq/client/api/ExamineObjectsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java b/src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java index 3bb2c2140..ac143730b 100644 --- a/src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java +++ b/src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/MalwareScanApi.java b/src/main/java/com/formkiq/client/api/MalwareScanApi.java new file mode 100644 index 000000000..66e29b936 --- /dev/null +++ b/src/main/java/com/formkiq/client/api/MalwareScanApi.java @@ -0,0 +1,751 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.api; + +import com.formkiq.client.invoker.ApiCallback; +import com.formkiq.client.invoker.ApiClient; +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.invoker.ApiResponse; +import com.formkiq.client.invoker.Configuration; +import com.formkiq.client.invoker.Pair; +import com.formkiq.client.invoker.ProgressRequestBody; +import com.formkiq.client.invoker.ProgressResponseBody; + +import com.google.gson.reflect.TypeToken; + +import java.io.IOException; + + +import com.formkiq.client.model.ErrorsResponse; +import com.formkiq.client.model.GetMalwareScanResponse; +import com.formkiq.client.model.SetResponse; + +import java.lang.reflect.Type; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +public class MalwareScanApi { + private ApiClient localVarApiClient; + private int localHostIndex; + private String localCustomBaseUrl; + + public MalwareScanApi() { + this(Configuration.getDefaultApiClient()); + } + + public MalwareScanApi(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public ApiClient getApiClient() { + return localVarApiClient; + } + + public void setApiClient(ApiClient apiClient) { + this.localVarApiClient = apiClient; + } + + public int getHostIndex() { + return localHostIndex; + } + + public void setHostIndex(int hostIndex) { + this.localHostIndex = hostIndex; + } + + public String getCustomBaseUrl() { + return localCustomBaseUrl; + } + + public void setCustomBaseUrl(String customBaseUrl) { + this.localCustomBaseUrl = customBaseUrl; + } + + /** + * Build call for getMalwareScanResults + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getMalwareScanResultsCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/documents/{documentId}/malwareScan".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getMalwareScanResultsValidateBeforeCall( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling getMalwareScanResults(Async)"); + } + + return getMalwareScanResultsCall(documentId, siteId, next, limit, _callback); + + } + + /** + * Get Malware Scan results Gets a Malware Scan results; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return GetMalwareScanResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetMalwareScanResponse getMalwareScanResults(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit) throws ApiException { + ApiResponse localVarResp = + getMalwareScanResultsWithHttpInfo(documentId, siteId, next, limit); + return localVarResp.getData(); + } + + /** + * Get Malware Scan results Gets a Malware Scan results; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return ApiResponse<GetMalwareScanResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getMalwareScanResultsWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + throws ApiException { + okhttp3.Call localVarCall = + getMalwareScanResultsValidateBeforeCall(documentId, siteId, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Malware Scan results (asynchronously) Gets a Malware Scan results; available as an Add-On + * Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 BAD REQUEST* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getMalwareScanResultsAsync(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + getMalwareScanResultsValidateBeforeCall(documentId, siteId, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for setAntivirus + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param shareKey Share Identifier (optional) + * @param body (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setAntivirusCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, + @javax.annotation.Nullable Object body, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/documents/{documentId}/antivirus".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (shareKey != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("shareKey", shareKey)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setAntivirusValidateBeforeCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, + @javax.annotation.Nullable Object body, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling setAntivirus(Async)"); + } + + return setAntivirusCall(documentId, siteId, shareKey, body, _callback); + + } + + /** + * Antivirus document scan Perform an Anti-Malware / Antivirus scan on a document; available as an + * Add-On Module **Deprecated**. This endpoint is no longer recommended. Please use the + * **`/documents/{document}/malwareScan`** endpoint instead. + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param shareKey Share Identifier (optional) + * @param body (optional) + * @return SetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetResponse setAntivirus(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, + @javax.annotation.Nullable Object body) throws ApiException { + ApiResponse localVarResp = + setAntivirusWithHttpInfo(documentId, siteId, shareKey, body); + return localVarResp.getData(); + } + + /** + * Antivirus document scan Perform an Anti-Malware / Antivirus scan on a document; available as an + * Add-On Module **Deprecated**. This endpoint is no longer recommended. Please use the + * **`/documents/{document}/malwareScan`** endpoint instead. + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param shareKey Share Identifier (optional) + * @param body (optional) + * @return ApiResponse<SetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setAntivirusWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String shareKey, @javax.annotation.Nullable Object body) + throws ApiException { + okhttp3.Call localVarCall = + setAntivirusValidateBeforeCall(documentId, siteId, shareKey, body, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Antivirus document scan (asynchronously) Perform an Anti-Malware / Antivirus scan on a + * document; available as an Add-On Module **Deprecated**. This endpoint is no longer recommended. + * Please use the **`/documents/{document}/malwareScan`** endpoint instead. + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param shareKey Share Identifier (optional) + * @param body (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setAntivirusAsync(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String shareKey, + @javax.annotation.Nullable Object body, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + setAntivirusValidateBeforeCall(documentId, siteId, shareKey, body, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for setMalwareScan + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param body (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setMalwareScanCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable Object body, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = body; + + // create path and map variables + String localVarPath = "/documents/{documentId}/malwareScan".replace("{" + "documentId" + "}", + localVarApiClient.escapeString(documentId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setMalwareScanValidateBeforeCall(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable Object body, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'documentId' is set + if (documentId == null) { + throw new ApiException( + "Missing the required parameter 'documentId' when calling setMalwareScan(Async)"); + } + + return setMalwareScanCall(documentId, siteId, body, _callback); + + } + + /** + * MalwareScan document scan Perform an Anti-Malware / Antivirus scan on a document; available as + * an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param body (optional) + * @return SetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetResponse setMalwareScan(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable Object body) + throws ApiException { + ApiResponse localVarResp = setMalwareScanWithHttpInfo(documentId, siteId, body); + return localVarResp.getData(); + } + + /** + * MalwareScan document scan Perform an Anti-Malware / Antivirus scan on a document; available as + * an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param body (optional) + * @return ApiResponse<SetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setMalwareScanWithHttpInfo( + @javax.annotation.Nonnull String documentId, @javax.annotation.Nullable String siteId, + @javax.annotation.Nullable Object body) throws ApiException { + okhttp3.Call localVarCall = setMalwareScanValidateBeforeCall(documentId, siteId, body, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * MalwareScan document scan (asynchronously) Perform an Anti-Malware / Antivirus scan on a + * document; available as an Add-On Module + * + * @param documentId Document Identifier (required) + * @param siteId Site Identifier (optional) + * @param body (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setMalwareScanAsync(@javax.annotation.Nonnull String documentId, + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable Object body, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + setMalwareScanValidateBeforeCall(documentId, siteId, body, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } +} diff --git a/src/main/java/com/formkiq/client/api/MappingsApi.java b/src/main/java/com/formkiq/client/api/MappingsApi.java index f6c5c5d95..50f4af692 100644 --- a/src/main/java/com/formkiq/client/api/MappingsApi.java +++ b/src/main/java/com/formkiq/client/api/MappingsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/PublicApi.java b/src/main/java/com/formkiq/client/api/PublicApi.java index fed7c47cd..68f4b2a85 100644 --- a/src/main/java/com/formkiq/client/api/PublicApi.java +++ b/src/main/java/com/formkiq/client/api/PublicApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/ReindexApi.java b/src/main/java/com/formkiq/client/api/ReindexApi.java index b73aa109d..5d83e79f8 100644 --- a/src/main/java/com/formkiq/client/api/ReindexApi.java +++ b/src/main/java/com/formkiq/client/api/ReindexApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/RulesetsApi.java b/src/main/java/com/formkiq/client/api/RulesetsApi.java index 2035c803c..fee1276ad 100644 --- a/src/main/java/com/formkiq/client/api/RulesetsApi.java +++ b/src/main/java/com/formkiq/client/api/RulesetsApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/SchemasApi.java b/src/main/java/com/formkiq/client/api/SchemasApi.java index ec969b99b..84d990b72 100644 --- a/src/main/java/com/formkiq/client/api/SchemasApi.java +++ b/src/main/java/com/formkiq/client/api/SchemasApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/SystemManagementApi.java b/src/main/java/com/formkiq/client/api/SystemManagementApi.java index 05d27202c..f85f216a3 100644 --- a/src/main/java/com/formkiq/client/api/SystemManagementApi.java +++ b/src/main/java/com/formkiq/client/api/SystemManagementApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -49,6 +49,9 @@ import com.formkiq.client.model.GetLocaleResourceItemsResponse; import com.formkiq.client.model.GetLocalesResponse; import com.formkiq.client.model.GetOpenSearchIndexResponse; +import com.formkiq.client.model.GetOpenSearchIndiceResponse; +import com.formkiq.client.model.GetOpenSearchSnapshotRepositoryResponse; +import com.formkiq.client.model.GetOpenSearchSnapshotResponse; import com.formkiq.client.model.GetSiteGroupResponse; import com.formkiq.client.model.GetSiteGroupsResponse; import com.formkiq.client.model.GetSitesResponse; @@ -57,6 +60,7 @@ import com.formkiq.client.model.SetLocaleResourceItemRequest; import com.formkiq.client.model.SetOpenSearchIndexRequest; import com.formkiq.client.model.SetOpenSearchIndexResponse; +import com.formkiq.client.model.SetOpenSearchIndiceRequest; import com.formkiq.client.model.SetResponse; import com.formkiq.client.model.SiteStatus; import com.formkiq.client.model.UpdateConfigurationRequest; @@ -713,9 +717,10 @@ public okhttp3.Call addLocaleResourceItemAsync(@javax.annotation.Nonnull String } /** - * Build call for addSite + * Build call for addOpenSearchRestoreSnapshot * - * @param addSiteRequest (required) + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -728,22 +733,18 @@ public okhttp3.Call addLocaleResourceItemAsync(@javax.annotation.Nonnull String * Response Headers * * - * 201 - * 201 CREATED + * 200 + * 200 OK * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * - * - * 400 - * 400 OK - * - - * * */ - public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSiteRequest, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call addOpenSearchRestoreSnapshotCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -757,10 +758,12 @@ public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSite basePath = null; } - Object localVarPostBody = addSiteRequest; + Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites"; + String localVarPath = "/sites/{siteId}/opensearch/snapshots/{snapshotName}/restore" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())).replace( + "{" + "snapshotName" + "}", localVarApiClient.escapeString(snapshotName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -774,7 +777,7 @@ public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSite localVarHeaderParams.put("Accept", localVarAccept); } - final String[] localVarContentTypes = {"application/json"}; + final String[] localVarContentTypes = {}; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -788,23 +791,30 @@ public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSite } @SuppressWarnings("rawtypes") - private okhttp3.Call addSiteValidateBeforeCall( - @javax.annotation.Nonnull AddSiteRequest addSiteRequest, final ApiCallback _callback) - throws ApiException { - // verify the required parameter 'addSiteRequest' is set - if (addSiteRequest == null) { + private okhttp3.Call addOpenSearchRestoreSnapshotValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { throw new ApiException( - "Missing the required parameter 'addSiteRequest' when calling addSite(Async)"); + "Missing the required parameter 'siteId' when calling addOpenSearchRestoreSnapshot(Async)"); } - return addSiteCall(addSiteRequest, _callback); + // verify the required parameter 'snapshotName' is set + if (snapshotName == null) { + throw new ApiException( + "Missing the required parameter 'snapshotName' when calling addOpenSearchRestoreSnapshot(Async)"); + } + + return addOpenSearchRestoreSnapshotCall(siteId, snapshotName, _callback); } /** - * Add Site Add Site + * Add an OpenSearch Restore Snapshot Add an OpenSearch Restore Snapshot * - * @param addSiteRequest (required) + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) * @return AddResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -817,30 +827,27 @@ private okhttp3.Call addSiteValidateBeforeCall( * Response Headers * * - * 201 - * 201 CREATED + * 200 + * 200 OK * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * - * - * 400 - * 400 OK - * - - * * */ - public AddResponse addSite(@javax.annotation.Nonnull AddSiteRequest addSiteRequest) - throws ApiException { - ApiResponse localVarResp = addSiteWithHttpInfo(addSiteRequest); + public AddResponse addOpenSearchRestoreSnapshot(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + addOpenSearchRestoreSnapshotWithHttpInfo(siteId, snapshotName); return localVarResp.getData(); } /** - * Add Site Add Site + * Add an OpenSearch Restore Snapshot Add an OpenSearch Restore Snapshot * - * @param addSiteRequest (required) + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) * @return ApiResponse<AddResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -853,31 +860,29 @@ public AddResponse addSite(@javax.annotation.Nonnull AddSiteRequest addSiteReque * Response Headers * * - * 201 - * 201 CREATED + * 200 + * 200 OK * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * - * - * 400 - * 400 OK - * - - * * */ - public ApiResponse addSiteWithHttpInfo( - @javax.annotation.Nonnull AddSiteRequest addSiteRequest) throws ApiException { - okhttp3.Call localVarCall = addSiteValidateBeforeCall(addSiteRequest, null); + public ApiResponse addOpenSearchRestoreSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { + okhttp3.Call localVarCall = + addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Add Site (asynchronously) Add Site + * Add an OpenSearch Restore Snapshot (asynchronously) Add an OpenSearch Restore Snapshot * - * @param addSiteRequest (required) + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -890,34 +895,31 @@ public ApiResponse addSiteWithHttpInfo( * Response Headers * * - * 201 - * 201 CREATED + * 200 + * 200 OK * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * - * - * 400 - * 400 OK - * - - * * */ - public okhttp3.Call addSiteAsync(@javax.annotation.Nonnull AddSiteRequest addSiteRequest, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call addOpenSearchRestoreSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { - okhttp3.Call localVarCall = addSiteValidateBeforeCall(addSiteRequest, _callback); + okhttp3.Call localVarCall = + addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteApiKey + * Build call for addOpenSearchSnapshot * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) + * @param snapshotName Snapshot Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -939,8 +941,9 @@ public okhttp3.Call addSiteAsync(@javax.annotation.Nonnull AddSiteRequest addSit * * */ - public okhttp3.Call deleteApiKeyCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) throws ApiException { + public okhttp3.Call addOpenSearchSnapshotCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -957,9 +960,9 @@ public okhttp3.Call deleteApiKeyCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/apiKeys/{apiKey}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "apiKey" + "}", localVarApiClient.escapeString(apiKey.toString())); + String localVarPath = "/sites/{siteId}/opensearch/snapshots/{snapshotName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())).replace( + "{" + "snapshotName" + "}", localVarApiClient.escapeString(snapshotName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -981,36 +984,2345 @@ public okhttp3.Call deleteApiKeyCall(@javax.annotation.Nonnull String siteId, } String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteApiKeyValidateBeforeCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) throws ApiException { + private okhttp3.Call addOpenSearchSnapshotValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling addOpenSearchSnapshot(Async)"); + } + + // verify the required parameter 'snapshotName' is set + if (snapshotName == null) { + throw new ApiException( + "Missing the required parameter 'snapshotName' when calling addOpenSearchSnapshot(Async)"); + } + + return addOpenSearchSnapshotCall(siteId, snapshotName, _callback); + + } + + /** + * Add an OpenSearch Snapshot Add an OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @return AddResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public AddResponse addOpenSearchSnapshot(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = addOpenSearchSnapshotWithHttpInfo(siteId, snapshotName); + return localVarResp.getData(); + } + + /** + * Add an OpenSearch Snapshot Add an OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @return ApiResponse<AddResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse addOpenSearchSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { + okhttp3.Call localVarCall = addOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add an OpenSearch Snapshot (asynchronously) Add an OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call addOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + addOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for addSite + * + * @param addSiteRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSiteRequest, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = addSiteRequest; + + // create path and map variables + String localVarPath = "/sites"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call addSiteValidateBeforeCall( + @javax.annotation.Nonnull AddSiteRequest addSiteRequest, final ApiCallback _callback) + throws ApiException { + // verify the required parameter 'addSiteRequest' is set + if (addSiteRequest == null) { + throw new ApiException( + "Missing the required parameter 'addSiteRequest' when calling addSite(Async)"); + } + + return addSiteCall(addSiteRequest, _callback); + + } + + /** + * Add Site Add Site + * + * @param addSiteRequest (required) + * @return AddResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public AddResponse addSite(@javax.annotation.Nonnull AddSiteRequest addSiteRequest) + throws ApiException { + ApiResponse localVarResp = addSiteWithHttpInfo(addSiteRequest); + return localVarResp.getData(); + } + + /** + * Add Site Add Site + * + * @param addSiteRequest (required) + * @return ApiResponse<AddResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public ApiResponse addSiteWithHttpInfo( + @javax.annotation.Nonnull AddSiteRequest addSiteRequest) throws ApiException { + okhttp3.Call localVarCall = addSiteValidateBeforeCall(addSiteRequest, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Add Site (asynchronously) Add Site + * + * @param addSiteRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
201201 CREATED* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
400400 OK-
+ */ + public okhttp3.Call addSiteAsync(@javax.annotation.Nonnull AddSiteRequest addSiteRequest, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = addSiteValidateBeforeCall(addSiteRequest, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteApiKey + * + * @param siteId Site Identifier (required) + * @param apiKey API Key (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteApiKeyCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/apiKeys/{apiKey}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "apiKey" + "}", localVarApiClient.escapeString(apiKey.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteApiKeyValidateBeforeCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteApiKey(Async)"); + } + + // verify the required parameter 'apiKey' is set + if (apiKey == null) { + throw new ApiException( + "Missing the required parameter 'apiKey' when calling deleteApiKey(Async)"); + } + + return deleteApiKeyCall(siteId, apiKey, _callback); + + } + + /** + * Delete API Key Adds a new API Key + * + * @param siteId Site Identifier (required) + * @param apiKey API Key (required) + * @return DeleteApiKeyResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteApiKeyResponse deleteApiKey(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String apiKey) throws ApiException { + ApiResponse localVarResp = deleteApiKeyWithHttpInfo(siteId, apiKey); + return localVarResp.getData(); + } + + /** + * Delete API Key Adds a new API Key + * + * @param siteId Site Identifier (required) + * @param apiKey API Key (required) + * @return ApiResponse<DeleteApiKeyResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteApiKeyWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String apiKey) + throws ApiException { + okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(siteId, apiKey, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete API Key (asynchronously) Adds a new API Key + * + * @param siteId Site Identifier (required) + * @param apiKey API Key (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteApiKeyAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(siteId, apiKey, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteLocale + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteLocaleCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/locales/{locale}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteLocaleValidateBeforeCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteLocale(Async)"); + } + + // verify the required parameter 'locale' is set + if (locale == null) { + throw new ApiException( + "Missing the required parameter 'locale' when calling deleteLocale(Async)"); + } + + return deleteLocaleCall(siteId, locale, _callback); + + } + + /** + * Delete Locale Delete Locale + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteLocale(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale) throws ApiException { + ApiResponse localVarResp = deleteLocaleWithHttpInfo(siteId, locale); + return localVarResp.getData(); + } + + /** + * Delete Locale Delete Locale + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteLocaleWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale) + throws ApiException { + okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete Locale (asynchronously) Delete Locale + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteLocaleAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteLocaleResourceItem + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteLocaleResourceItemCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/locales/{locale}/resourceItems/{itemKey}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())) + .replace("{" + "itemKey" + "}", localVarApiClient.escapeString(itemKey.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteLocaleResourceItemValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, + @javax.annotation.Nonnull String itemKey, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteLocaleResourceItem(Async)"); + } + + // verify the required parameter 'locale' is set + if (locale == null) { + throw new ApiException( + "Missing the required parameter 'locale' when calling deleteLocaleResourceItem(Async)"); + } + + // verify the required parameter 'itemKey' is set + if (itemKey == null) { + throw new ApiException( + "Missing the required parameter 'itemKey' when calling deleteLocaleResourceItem(Async)"); + } + + return deleteLocaleResourceItemCall(siteId, locale, itemKey, _callback); + + } + + /** + * Delete Local Resource Item Delete Local Resource Item + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteLocaleResourceItem(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey) + throws ApiException { + ApiResponse localVarResp = + deleteLocaleResourceItemWithHttpInfo(siteId, locale, itemKey); + return localVarResp.getData(); + } + + /** + * Delete Local Resource Item Delete Local Resource Item + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteLocaleResourceItemWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, + @javax.annotation.Nonnull String itemKey) throws ApiException { + okhttp3.Call localVarCall = + deleteLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Delete Local Resource Item (asynchronously) Delete Local Resource Item + * + * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteLocaleResourceItemAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + deleteLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteOpenSearchIndex + * + * @param siteId Site Identifier (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchIndexCall(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/opensearch/index".replace("{" + "siteId" + "}", + localVarApiClient.escapeString(siteId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteOpenSearchIndexValidateBeforeCall( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteOpenSearchIndex(Async)"); + } + + return deleteOpenSearchIndexCall(siteId, _callback); + + } + + /** + * Deletes site(s) OpenSearch index Deletes the OpenSearch index + * + * @param siteId Site Identifier (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteOpenSearchIndex(@javax.annotation.Nonnull String siteId) + throws ApiException { + ApiResponse localVarResp = deleteOpenSearchIndexWithHttpInfo(siteId); + return localVarResp.getData(); + } + + /** + * Deletes site(s) OpenSearch index Deletes the OpenSearch index + * + * @param siteId Site Identifier (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteOpenSearchIndexWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = deleteOpenSearchIndexValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes site(s) OpenSearch index (asynchronously) Deletes the OpenSearch index + * + * @param siteId Site Identifier (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchIndexAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteOpenSearchIndexValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteOpenSearchIndexByName + * + * @param indexName IndexName to path (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchIndexByNameCall(@javax.annotation.Nonnull String indexName, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/global/opensearch/indices/{indexName}" + .replace("{" + "indexName" + "}", localVarApiClient.escapeString(indexName.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteOpenSearchIndexByNameValidateBeforeCall( + @javax.annotation.Nonnull String indexName, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'indexName' is set + if (indexName == null) { + throw new ApiException( + "Missing the required parameter 'indexName' when calling deleteOpenSearchIndexByName(Async)"); + } + + return deleteOpenSearchIndexByNameCall(indexName, _callback); + + } + + /** + * Deletes OpenSearch index by name Deletes the OpenSearch index by name + * + * @param indexName IndexName to path (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteOpenSearchIndexByName(@javax.annotation.Nonnull String indexName) + throws ApiException { + ApiResponse localVarResp = deleteOpenSearchIndexByNameWithHttpInfo(indexName); + return localVarResp.getData(); + } + + /** + * Deletes OpenSearch index by name Deletes the OpenSearch index by name + * + * @param indexName IndexName to path (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteOpenSearchIndexByNameWithHttpInfo( + @javax.annotation.Nonnull String indexName) throws ApiException { + okhttp3.Call localVarCall = deleteOpenSearchIndexByNameValidateBeforeCall(indexName, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes OpenSearch index by name (asynchronously) Deletes the OpenSearch index by name + * + * @param indexName IndexName to path (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchIndexByNameAsync(@javax.annotation.Nonnull String indexName, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = deleteOpenSearchIndexByNameValidateBeforeCall(indexName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteOpenSearchRestoreSnapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchRestoreSnapshotCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/opensearch/snapshots/{snapshotName}/restore" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())).replace( + "{" + "snapshotName" + "}", localVarApiClient.escapeString(snapshotName.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteOpenSearchRestoreSnapshotValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteOpenSearchRestoreSnapshot(Async)"); + } + + // verify the required parameter 'snapshotName' is set + if (snapshotName == null) { + throw new ApiException( + "Missing the required parameter 'snapshotName' when calling deleteOpenSearchRestoreSnapshot(Async)"); + } + + return deleteOpenSearchRestoreSnapshotCall(siteId, snapshotName, _callback); + + } + + /** + * Deletes site(s) OpenSearch Restore Snapshot Deletes the OpenSearch Restore Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteOpenSearchRestoreSnapshot(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + deleteOpenSearchRestoreSnapshotWithHttpInfo(siteId, snapshotName); + return localVarResp.getData(); + } + + /** + * Deletes site(s) OpenSearch Restore Snapshot Deletes the OpenSearch Restore Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteOpenSearchRestoreSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { + okhttp3.Call localVarCall = + deleteOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes site(s) OpenSearch Restore Snapshot (asynchronously) Deletes the OpenSearch Restore + * Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchRestoreSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + deleteOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteOpenSearchSnapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchSnapshotCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/opensearch/snapshots/{snapshotName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())).replace( + "{" + "snapshotName" + "}", localVarApiClient.escapeString(snapshotName.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteOpenSearchSnapshotValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteOpenSearchSnapshot(Async)"); + } + + // verify the required parameter 'snapshotName' is set + if (snapshotName == null) { + throw new ApiException( + "Missing the required parameter 'snapshotName' when calling deleteOpenSearchSnapshot(Async)"); + } + + return deleteOpenSearchSnapshotCall(siteId, snapshotName, _callback); + + } + + /** + * Deletes site(s) OpenSearch Snapshot Deletes the OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteOpenSearchSnapshot(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + deleteOpenSearchSnapshotWithHttpInfo(siteId, snapshotName); + return localVarResp.getData(); + } + + /** + * Deletes site(s) OpenSearch Snapshot Deletes the OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteOpenSearchSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes site(s) OpenSearch Snapshot (asynchronously) Deletes the OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param snapshotName Snapshot Name (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteOpenSearchSnapshotRepository + * + * @param siteId Site Identifier (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchSnapshotRepositoryCall( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/opensearch/snapshotRepository" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteOpenSearchSnapshotRepositoryValidateBeforeCall( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteOpenSearchSnapshotRepository(Async)"); + } + + return deleteOpenSearchSnapshotRepositoryCall(siteId, _callback); + + } + + /** + * Deletes site(s) OpenSearch Snapshot Repository Deletes the OpenSearch Snapshot Repository + * + * @param siteId Site Identifier (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteOpenSearchSnapshotRepository(@javax.annotation.Nonnull String siteId) + throws ApiException { + ApiResponse localVarResp = + deleteOpenSearchSnapshotRepositoryWithHttpInfo(siteId); + return localVarResp.getData(); + } + + /** + * Deletes site(s) OpenSearch Snapshot Repository Deletes the OpenSearch Snapshot Repository + * + * @param siteId Site Identifier (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteOpenSearchSnapshotRepositoryWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = deleteOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes site(s) OpenSearch Snapshot Repository (asynchronously) Deletes the OpenSearch Snapshot + * Repository + * + * @param siteId Site Identifier (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteOpenSearchSnapshotRepositoryAsync( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteSiteGroup + * + * @param siteId Site Identifier (required) + * @param groupName Group Name (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String groupName, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/groups/{groupName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "groupName" + "}", localVarApiClient.escapeString(groupName.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call deleteSiteGroupValidateBeforeCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String groupName, final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling deleteSiteGroup(Async)"); + } + + // verify the required parameter 'groupName' is set + if (groupName == null) { + throw new ApiException( + "Missing the required parameter 'groupName' when calling deleteSiteGroup(Async)"); + } + + return deleteSiteGroupCall(siteId, groupName, _callback); + + } + + /** + * Deletes Site Group and permissions Deletes Site Group and permissions + * + * @param siteId Site Identifier (required) + * @param groupName Group Name (required) + * @return DeleteResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public DeleteResponse deleteSiteGroup(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String groupName) throws ApiException { + ApiResponse localVarResp = deleteSiteGroupWithHttpInfo(siteId, groupName); + return localVarResp.getData(); + } + + /** + * Deletes Site Group and permissions Deletes Site Group and permissions + * + * @param siteId Site Identifier (required) + * @param groupName Group Name (required) + * @return ApiResponse<DeleteResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse deleteSiteGroupWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String groupName) + throws ApiException { + okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Deletes Site Group and permissions (asynchronously) Deletes Site Group and permissions + * + * @param siteId Site Identifier (required) + * @param groupName Group Name (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call deleteSiteGroupAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String groupName, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getAllOpenSearchIndices + * + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getAllOpenSearchIndicesCall(final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/global/opensearch/indices"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getAllOpenSearchIndicesValidateBeforeCall(final ApiCallback _callback) + throws ApiException { + return getAllOpenSearchIndicesCall(_callback); + + } + + /** + * Get all OpenSearch indices Returns all OpenSearch indices + * + * @return GetOpenSearchIndiceResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetOpenSearchIndiceResponse getAllOpenSearchIndices() throws ApiException { + ApiResponse localVarResp = getAllOpenSearchIndicesWithHttpInfo(); + return localVarResp.getData(); + } + + /** + * Get all OpenSearch indices Returns all OpenSearch indices + * + * @return ApiResponse<GetOpenSearchIndiceResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getAllOpenSearchIndicesWithHttpInfo() + throws ApiException { + okhttp3.Call localVarCall = getAllOpenSearchIndicesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get all OpenSearch indices (asynchronously) Returns all OpenSearch indices + * + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getAllOpenSearchIndicesAsync( + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getAllOpenSearchIndicesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getApiKeys + * + * @param siteId Site Identifier (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/sites/{siteId}/apiKeys".replace("{" + "siteId" + "}", + localVarApiClient.escapeString(siteId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getApiKeysValidateBeforeCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling deleteApiKey(Async)"); - } - - // verify the required parameter 'apiKey' is set - if (apiKey == null) { - throw new ApiException( - "Missing the required parameter 'apiKey' when calling deleteApiKey(Async)"); + "Missing the required parameter 'siteId' when calling getApiKeys(Async)"); } - return deleteApiKeyCall(siteId, apiKey, _callback); + return getApiKeysCall(siteId, next, limit, _callback); } /** - * Delete API Key Adds a new API Key + * Get API Keys Returns the list of ApiKeys * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) - * @return DeleteApiKeyResponse + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return GetApiKeysResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1031,18 +3343,20 @@ private okhttp3.Call deleteApiKeyValidateBeforeCall(@javax.annotation.Nonnull St * * */ - public DeleteApiKeyResponse deleteApiKey(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String apiKey) throws ApiException { - ApiResponse localVarResp = deleteApiKeyWithHttpInfo(siteId, apiKey); + public GetApiKeysResponse getApiKeys(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + throws ApiException { + ApiResponse localVarResp = getApiKeysWithHttpInfo(siteId, next, limit); return localVarResp.getData(); } /** - * Delete API Key Adds a new API Key + * Get API Keys Returns the list of ApiKeys * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) - * @return ApiResponse<DeleteApiKeyResponse> + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return ApiResponse<GetApiKeysResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1063,19 +3377,20 @@ public DeleteApiKeyResponse deleteApiKey(@javax.annotation.Nonnull String siteId * * */ - public ApiResponse deleteApiKeyWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String apiKey) - throws ApiException { - okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(siteId, apiKey, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getApiKeysWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit) throws ApiException { + okhttp3.Call localVarCall = getApiKeysValidateBeforeCall(siteId, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Delete API Key (asynchronously) Adds a new API Key + * Get API Keys (asynchronously) Returns the list of ApiKeys * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1097,21 +3412,20 @@ public ApiResponse deleteApiKeyWithHttpInfo( * * */ - public okhttp3.Call deleteApiKeyAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) - throws ApiException { + public okhttp3.Call getApiKeysAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(siteId, apiKey, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getApiKeysValidateBeforeCall(siteId, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteLocale + * Build call for getConfiguration * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1133,8 +3447,8 @@ public okhttp3.Call deleteApiKeyAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call deleteLocaleCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getConfigurationCall(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -1151,9 +3465,8 @@ public okhttp3.Call deleteLocaleCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/locales/{locale}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())); + String localVarPath = "/sites/{siteId}/configuration".replace("{" + "siteId" + "}", + localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1175,36 +3488,29 @@ public okhttp3.Call deleteLocaleCall(@javax.annotation.Nonnull String siteId, } String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteLocaleValidateBeforeCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getConfigurationValidateBeforeCall(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling deleteLocale(Async)"); - } - - // verify the required parameter 'locale' is set - if (locale == null) { - throw new ApiException( - "Missing the required parameter 'locale' when calling deleteLocale(Async)"); + "Missing the required parameter 'siteId' when calling getConfiguration(Async)"); } - return deleteLocaleCall(siteId, locale, _callback); + return getConfigurationCall(siteId, _callback); } /** - * Delete Locale Delete Locale + * Get site configuration Returns the list of sites that the user has access to * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @return DeleteResponse + * @return GetConfigurationResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1225,18 +3531,17 @@ private okhttp3.Call deleteLocaleValidateBeforeCall(@javax.annotation.Nonnull St * * */ - public DeleteResponse deleteLocale(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale) throws ApiException { - ApiResponse localVarResp = deleteLocaleWithHttpInfo(siteId, locale); + public GetConfigurationResponse getConfiguration(@javax.annotation.Nonnull String siteId) + throws ApiException { + ApiResponse localVarResp = getConfigurationWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Delete Locale Delete Locale + * Get site configuration Returns the list of sites that the user has access to * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @return ApiResponse<DeleteResponse> + * @return ApiResponse<GetConfigurationResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1257,19 +3562,17 @@ public DeleteResponse deleteLocale(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse deleteLocaleWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale) - throws ApiException { - okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getConfigurationWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Delete Locale (asynchronously) Delete Locale + * Get site configuration (asynchronously) Returns the list of sites that the user has access to * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1291,18 +3594,17 @@ public ApiResponse deleteLocaleWithHttpInfo( * * */ - public okhttp3.Call deleteLocaleAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, final ApiCallback _callback) - throws ApiException { + public okhttp3.Call getConfigurationAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteLocaleResourceItem + * Build call for getLocaleResourceItem * * @param siteId Site Identifier (required) * @param locale Site Locale (ISO 639 / ISO 3166) (required) @@ -1328,7 +3630,7 @@ public okhttp3.Call deleteLocaleAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call deleteLocaleResourceItemCall(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getLocaleResourceItemCall(@javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -1372,44 +3674,44 @@ public okhttp3.Call deleteLocaleResourceItemCall(@javax.annotation.Nonnull Strin } String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteLocaleResourceItemValidateBeforeCall( + private okhttp3.Call getLocaleResourceItemValidateBeforeCall( @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling deleteLocaleResourceItem(Async)"); + "Missing the required parameter 'siteId' when calling getLocaleResourceItem(Async)"); } // verify the required parameter 'locale' is set if (locale == null) { throw new ApiException( - "Missing the required parameter 'locale' when calling deleteLocaleResourceItem(Async)"); + "Missing the required parameter 'locale' when calling getLocaleResourceItem(Async)"); } // verify the required parameter 'itemKey' is set if (itemKey == null) { throw new ApiException( - "Missing the required parameter 'itemKey' when calling deleteLocaleResourceItem(Async)"); + "Missing the required parameter 'itemKey' when calling getLocaleResourceItem(Async)"); } - return deleteLocaleResourceItemCall(siteId, locale, itemKey, _callback); + return getLocaleResourceItemCall(siteId, locale, itemKey, _callback); } /** - * Delete Local Resource Item Delete Local Resource Item + * Get Resource Item by Locale Returns the resource item * * @param siteId Site Identifier (required) * @param locale Site Locale (ISO 639 / ISO 3166) (required) * @param itemKey Item Key (MUST be URL‑encoded) (required) - * @return DeleteResponse + * @return GetLocaleResourceItemResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1430,21 +3732,21 @@ private okhttp3.Call deleteLocaleResourceItemValidateBeforeCall( * * */ - public DeleteResponse deleteLocaleResourceItem(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey) - throws ApiException { - ApiResponse localVarResp = - deleteLocaleResourceItemWithHttpInfo(siteId, locale, itemKey); + public GetLocaleResourceItemResponse getLocaleResourceItem( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, + @javax.annotation.Nonnull String itemKey) throws ApiException { + ApiResponse localVarResp = + getLocaleResourceItemWithHttpInfo(siteId, locale, itemKey); return localVarResp.getData(); } /** - * Delete Local Resource Item Delete Local Resource Item + * Get Resource Item by Locale Returns the resource item * * @param siteId Site Identifier (required) * @param locale Site Locale (ISO 639 / ISO 3166) (required) * @param itemKey Item Key (MUST be URL‑encoded) (required) - * @return ApiResponse<DeleteResponse> + * @return ApiResponse<GetLocaleResourceItemResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1465,17 +3767,17 @@ public DeleteResponse deleteLocaleResourceItem(@javax.annotation.Nonnull String * * */ - public ApiResponse deleteLocaleResourceItemWithHttpInfo( + public ApiResponse getLocaleResourceItemWithHttpInfo( @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey) throws ApiException { okhttp3.Call localVarCall = - deleteLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, null); - Type localVarReturnType = new TypeToken() {}.getType(); + getLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Delete Local Resource Item (asynchronously) Delete Local Resource Item + * Get Resource Item by Locale (asynchronously) Returns the resource item * * @param siteId Site Identifier (required) * @param locale Site Locale (ISO 639 / ISO 3166) (required) @@ -1501,21 +3803,24 @@ public ApiResponse deleteLocaleResourceItemWithHttpInfo( * * */ - public okhttp3.Call deleteLocaleResourceItemAsync(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getLocaleResourceItemAsync(@javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, - final ApiCallback _callback) throws ApiException { + final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - deleteLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + getLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteOpensearchIndex + * Build call for getLocaleResourceItems * * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1537,8 +3842,9 @@ public okhttp3.Call deleteLocaleResourceItemAsync(@javax.annotation.Nonnull Stri * * */ - public okhttp3.Call deleteOpensearchIndexCall(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLocaleResourceItemsCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -1555,8 +3861,9 @@ public okhttp3.Call deleteOpensearchIndexCall(@javax.annotation.Nonnull String s Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/opensearch/index".replace("{" + "siteId" + "}", - localVarApiClient.escapeString(siteId.toString())); + String localVarPath = "/sites/{siteId}/locales/{locale}/resourceItems" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1564,6 +3871,14 @@ public okhttp3.Call deleteOpensearchIndexCall(@javax.annotation.Nonnull String s Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1578,29 +3893,40 @@ public okhttp3.Call deleteOpensearchIndexCall(@javax.annotation.Nonnull String s } String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteOpensearchIndexValidateBeforeCall( - @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLocaleResourceItemsValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling deleteOpensearchIndex(Async)"); + "Missing the required parameter 'siteId' when calling getLocaleResourceItems(Async)"); + } + + // verify the required parameter 'locale' is set + if (locale == null) { + throw new ApiException( + "Missing the required parameter 'locale' when calling getLocaleResourceItems(Async)"); } - return deleteOpensearchIndexCall(siteId, _callback); + return getLocaleResourceItemsCall(siteId, locale, next, limit, _callback); } /** - * Deletes site(s) OpenSearch index Deletes the OpenSearch index + * Get Resource Items by Locale Returns the list resource items * * @param siteId Site Identifier (required) - * @return DeleteResponse + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return GetLocaleResourceItemsResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1621,17 +3947,23 @@ private okhttp3.Call deleteOpensearchIndexValidateBeforeCall( * * */ - public DeleteResponse deleteOpensearchIndex(@javax.annotation.Nonnull String siteId) + public GetLocaleResourceItemsResponse getLocaleResourceItems( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) throws ApiException { - ApiResponse localVarResp = deleteOpensearchIndexWithHttpInfo(siteId); + ApiResponse localVarResp = + getLocaleResourceItemsWithHttpInfo(siteId, locale, next, limit); return localVarResp.getData(); } /** - * Deletes site(s) OpenSearch index Deletes the OpenSearch index + * Get Resource Items by Locale Returns the list resource items * * @param siteId Site Identifier (required) - * @return ApiResponse<DeleteResponse> + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return ApiResponse<GetLocaleResourceItemsResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1652,17 +3984,23 @@ public DeleteResponse deleteOpensearchIndex(@javax.annotation.Nonnull String sit * * */ - public ApiResponse deleteOpensearchIndexWithHttpInfo( - @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = deleteOpensearchIndexValidateBeforeCall(siteId, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getLocaleResourceItemsWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + throws ApiException { + okhttp3.Call localVarCall = + getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Deletes site(s) OpenSearch index (asynchronously) Deletes the OpenSearch index + * Get Resource Items by Locale (asynchronously) Returns the list resource items * * @param siteId Site Identifier (required) + * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1684,20 +4022,24 @@ public ApiResponse deleteOpensearchIndexWithHttpInfo( * * */ - public okhttp3.Call deleteOpensearchIndexAsync(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLocaleResourceItemsAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteOpensearchIndexValidateBeforeCall(siteId, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteSiteGroup + * Build call for getLocales * * @param siteId Site Identifier (required) - * @param groupName Group Name (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1719,8 +4061,9 @@ public okhttp3.Call deleteOpensearchIndexAsync(@javax.annotation.Nonnull String * * */ - public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String groupName, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getLocalesCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -1737,9 +4080,8 @@ public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/groups/{groupName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "groupName" + "}", localVarApiClient.escapeString(groupName.toString())); + String localVarPath = "/sites/{siteId}/locales".replace("{" + "siteId" + "}", + localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1747,6 +4089,14 @@ public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1761,36 +4111,32 @@ public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, } String[] localVarAuthNames = new String[] {"AWS4Auth"}; - return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteSiteGroupValidateBeforeCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String groupName, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getLocalesValidateBeforeCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling deleteSiteGroup(Async)"); - } - - // verify the required parameter 'groupName' is set - if (groupName == null) { - throw new ApiException( - "Missing the required parameter 'groupName' when calling deleteSiteGroup(Async)"); + "Missing the required parameter 'siteId' when calling getLocales(Async)"); } - return deleteSiteGroupCall(siteId, groupName, _callback); + return getLocalesCall(siteId, next, limit, _callback); } /** - * Deletes Site Group and permissions Deletes Site Group and permissions + * Get Locales Returns a list of locale(s) in a specified site * * @param siteId Site Identifier (required) - * @param groupName Group Name (required) - * @return DeleteResponse + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return GetLocalesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1811,18 +4157,20 @@ private okhttp3.Call deleteSiteGroupValidateBeforeCall(@javax.annotation.Nonnull * * */ - public DeleteResponse deleteSiteGroup(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String groupName) throws ApiException { - ApiResponse localVarResp = deleteSiteGroupWithHttpInfo(siteId, groupName); + public GetLocalesResponse getLocales(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + throws ApiException { + ApiResponse localVarResp = getLocalesWithHttpInfo(siteId, next, limit); return localVarResp.getData(); } /** - * Deletes Site Group and permissions Deletes Site Group and permissions + * Get Locales Returns a list of locale(s) in a specified site * * @param siteId Site Identifier (required) - * @param groupName Group Name (required) - * @return ApiResponse<DeleteResponse> + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @return ApiResponse<GetLocalesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1843,19 +4191,20 @@ public DeleteResponse deleteSiteGroup(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse deleteSiteGroupWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String groupName) - throws ApiException { - okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getLocalesWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nullable String next, + @javax.annotation.Nullable String limit) throws ApiException { + okhttp3.Call localVarCall = getLocalesValidateBeforeCall(siteId, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Deletes Site Group and permissions (asynchronously) Deletes Site Group and permissions + * Get Locales (asynchronously) Returns a list of locale(s) in a specified site * * @param siteId Site Identifier (required) - * @param groupName Group Name (required) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1877,22 +4226,20 @@ public ApiResponse deleteSiteGroupWithHttpInfo( * * */ - public okhttp3.Call deleteSiteGroupAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String groupName, final ApiCallback _callback) - throws ApiException { + public okhttp3.Call getLocalesAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getLocalesValidateBeforeCall(siteId, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getApiKeys + * Build call for getOpenSearchIndex * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1914,8 +4261,7 @@ public okhttp3.Call deleteSiteGroupAsync(@javax.annotation.Nonnull String siteId * * */ - public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + public okhttp3.Call getOpenSearchIndexCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -1933,7 +4279,7 @@ public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/apiKeys".replace("{" + "siteId" + "}", + String localVarPath = "/sites/{siteId}/opensearch/index".replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); @@ -1942,14 +4288,6 @@ public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (next != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1970,26 +4308,24 @@ public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getApiKeysValidateBeforeCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + private okhttp3.Call getOpenSearchIndexValidateBeforeCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling getApiKeys(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchIndex(Async)"); } - return getApiKeysCall(siteId, next, limit, _callback); + return getOpenSearchIndexCall(siteId, _callback); } /** - * Get API Keys Returns the list of ApiKeys + * Get site(s) OpenSearch index settings Returns the OpenSearch index settings (Deprecated use + * /sites/{siteId}/opensearch/indices) * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) - * @return GetApiKeysResponse + * @return GetOpenSearchIndexResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2010,20 +4346,18 @@ private okhttp3.Call getApiKeysValidateBeforeCall(@javax.annotation.Nonnull Stri * * */ - public GetApiKeysResponse getApiKeys(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + public GetOpenSearchIndexResponse getOpenSearchIndex(@javax.annotation.Nonnull String siteId) throws ApiException { - ApiResponse localVarResp = getApiKeysWithHttpInfo(siteId, next, limit); + ApiResponse localVarResp = getOpenSearchIndexWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Get API Keys Returns the list of ApiKeys + * Get site(s) OpenSearch index settings Returns the OpenSearch index settings (Deprecated use + * /sites/{siteId}/opensearch/indices) * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) - * @return ApiResponse<GetApiKeysResponse> + * @return ApiResponse<GetOpenSearchIndexResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2044,20 +4378,18 @@ public GetApiKeysResponse getApiKeys(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse getApiKeysWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nullable String next, - @javax.annotation.Nullable String limit) throws ApiException { - okhttp3.Call localVarCall = getApiKeysValidateBeforeCall(siteId, next, limit, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getOpenSearchIndexWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getOpenSearchIndexValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get API Keys (asynchronously) Returns the list of ApiKeys + * Get site(s) OpenSearch index settings (asynchronously) Returns the OpenSearch index settings + * (Deprecated use /sites/{siteId}/opensearch/indices) * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2079,18 +4411,17 @@ public ApiResponse getApiKeysWithHttpInfo( * * */ - public okhttp3.Call getApiKeysAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchIndexAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getApiKeysValidateBeforeCall(siteId, next, limit, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchIndexValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getConfiguration + * Build call for getOpenSearchIndices * * @param siteId Site Identifier (required) * @param _callback Callback for upload/download progress @@ -2114,7 +4445,7 @@ public okhttp3.Call getApiKeysAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call getConfigurationCall(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getOpenSearchIndicesCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -2132,7 +4463,7 @@ public okhttp3.Call getConfigurationCall(@javax.annotation.Nonnull String siteId Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/configuration".replace("{" + "siteId" + "}", + String localVarPath = "/sites/{siteId}/opensearch/indices".replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); @@ -2161,23 +4492,23 @@ public okhttp3.Call getConfigurationCall(@javax.annotation.Nonnull String siteId } @SuppressWarnings("rawtypes") - private okhttp3.Call getConfigurationValidateBeforeCall(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + private okhttp3.Call getOpenSearchIndicesValidateBeforeCall( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling getConfiguration(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchIndices(Async)"); } - return getConfigurationCall(siteId, _callback); + return getOpenSearchIndicesCall(siteId, _callback); } /** - * Get site configuration Returns the list of sites that the user has access to + * Get site(s) OpenSearch indices Returns the OpenSearch indices * * @param siteId Site Identifier (required) - * @return GetConfigurationResponse + * @return GetOpenSearchIndiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2198,17 +4529,18 @@ private okhttp3.Call getConfigurationValidateBeforeCall(@javax.annotation.Nonnul * * */ - public GetConfigurationResponse getConfiguration(@javax.annotation.Nonnull String siteId) + public GetOpenSearchIndiceResponse getOpenSearchIndices(@javax.annotation.Nonnull String siteId) throws ApiException { - ApiResponse localVarResp = getConfigurationWithHttpInfo(siteId); + ApiResponse localVarResp = + getOpenSearchIndicesWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Get site configuration Returns the list of sites that the user has access to + * Get site(s) OpenSearch indices Returns the OpenSearch indices * * @param siteId Site Identifier (required) - * @return ApiResponse<GetConfigurationResponse> + * @return ApiResponse<GetOpenSearchIndiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2229,15 +4561,15 @@ public GetConfigurationResponse getConfiguration(@javax.annotation.Nonnull Strin * * */ - public ApiResponse getConfigurationWithHttpInfo( + public ApiResponse getOpenSearchIndicesWithHttpInfo( @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, null); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchIndicesValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get site configuration (asynchronously) Returns the list of sites that the user has access to + * Get site(s) OpenSearch indices (asynchronously) Returns the OpenSearch indices * * @param siteId Site Identifier (required) * @param _callback The callback to be executed when the API call finishes @@ -2261,21 +4593,20 @@ public ApiResponse getConfigurationWithHttpInfo( * * */ - public okhttp3.Call getConfigurationAsync(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchIndicesAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchIndicesValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getLocaleResourceItem + * Build call for getOpenSearchSnapshot * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @param snapshotName Snapshot Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2297,9 +4628,9 @@ public okhttp3.Call getConfigurationAsync(@javax.annotation.Nonnull String siteI * * */ - public okhttp3.Call getLocaleResourceItemCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2316,10 +4647,9 @@ public okhttp3.Call getLocaleResourceItemCall(@javax.annotation.Nonnull String s Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/locales/{locale}/resourceItems/{itemKey}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())) - .replace("{" + "itemKey" + "}", localVarApiClient.escapeString(itemKey.toString())); + String localVarPath = "/sites/{siteId}/opensearch/snapshots/{snapshotName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())).replace( + "{" + "snapshotName" + "}", localVarApiClient.escapeString(snapshotName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2347,38 +4677,31 @@ public okhttp3.Call getLocaleResourceItemCall(@javax.annotation.Nonnull String s } @SuppressWarnings("rawtypes") - private okhttp3.Call getLocaleResourceItemValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nonnull String itemKey, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getOpenSearchSnapshotValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName, + final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling getLocaleResourceItem(Async)"); - } - - // verify the required parameter 'locale' is set - if (locale == null) { - throw new ApiException( - "Missing the required parameter 'locale' when calling getLocaleResourceItem(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchSnapshot(Async)"); } - // verify the required parameter 'itemKey' is set - if (itemKey == null) { + // verify the required parameter 'snapshotName' is set + if (snapshotName == null) { throw new ApiException( - "Missing the required parameter 'itemKey' when calling getLocaleResourceItem(Async)"); + "Missing the required parameter 'snapshotName' when calling getOpenSearchSnapshot(Async)"); } - return getLocaleResourceItemCall(siteId, locale, itemKey, _callback); + return getOpenSearchSnapshotCall(siteId, snapshotName, _callback); } /** - * Get Resource Item by Locale Returns the resource item + * Get site(s) OpenSearch snapshot Returns the OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param itemKey Item Key (MUST be URL‑encoded) (required) - * @return GetLocaleResourceItemResponse + * @param snapshotName Snapshot Name (required) + * @return GetOpenSearchSnapshotResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2399,21 +4722,20 @@ private okhttp3.Call getLocaleResourceItemValidateBeforeCall( * * */ - public GetLocaleResourceItemResponse getLocaleResourceItem( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nonnull String itemKey) throws ApiException { - ApiResponse localVarResp = - getLocaleResourceItemWithHttpInfo(siteId, locale, itemKey); + public GetOpenSearchSnapshotResponse getOpenSearchSnapshot( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { + ApiResponse localVarResp = + getOpenSearchSnapshotWithHttpInfo(siteId, snapshotName); return localVarResp.getData(); } /** - * Get Resource Item by Locale Returns the resource item + * Get site(s) OpenSearch snapshot Returns the OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param itemKey Item Key (MUST be URL‑encoded) (required) - * @return ApiResponse<GetLocaleResourceItemResponse> + * @param snapshotName Snapshot Name (required) + * @return ApiResponse<GetOpenSearchSnapshotResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2434,21 +4756,19 @@ public GetLocaleResourceItemResponse getLocaleResourceItem( * * */ - public ApiResponse getLocaleResourceItemWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nonnull String itemKey) throws ApiException { - okhttp3.Call localVarCall = - getLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getOpenSearchSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { + okhttp3.Call localVarCall = getOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get Resource Item by Locale (asynchronously) Returns the resource item + * Get site(s) OpenSearch snapshot (asynchronously) Returns the OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @param snapshotName Snapshot Name (required) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2470,24 +4790,20 @@ public ApiResponse getLocaleResourceItemWithHttpI * * */ - public okhttp3.Call getLocaleResourceItemAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, + final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - getLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + getOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getLocaleResourceItems + * Build call for getOpenSearchSnapshotRepositories * - * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2509,9 +4825,8 @@ public okhttp3.Call getLocaleResourceItemAsync(@javax.annotation.Nonnull String * * */ - public okhttp3.Call getLocaleResourceItemsCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nullable String next, - @javax.annotation.Nullable String limit, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotRepositoriesCall(final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2528,9 +4843,7 @@ public okhttp3.Call getLocaleResourceItemsCall(@javax.annotation.Nonnull String Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/locales/{locale}/resourceItems" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())); + String localVarPath = "/sites/global/opensearch/snapshotRepositories"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2538,14 +4851,6 @@ public okhttp3.Call getLocaleResourceItemsCall(@javax.annotation.Nonnull String Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (next != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -2566,34 +4871,16 @@ public okhttp3.Call getLocaleResourceItemsCall(@javax.annotation.Nonnull String } @SuppressWarnings("rawtypes") - private okhttp3.Call getLocaleResourceItemsValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + private okhttp3.Call getOpenSearchSnapshotRepositoriesValidateBeforeCall( final ApiCallback _callback) throws ApiException { - // verify the required parameter 'siteId' is set - if (siteId == null) { - throw new ApiException( - "Missing the required parameter 'siteId' when calling getLocaleResourceItems(Async)"); - } - - // verify the required parameter 'locale' is set - if (locale == null) { - throw new ApiException( - "Missing the required parameter 'locale' when calling getLocaleResourceItems(Async)"); - } - - return getLocaleResourceItemsCall(siteId, locale, next, limit, _callback); + return getOpenSearchSnapshotRepositoriesCall(_callback); } /** - * Get Resource Items by Locale Returns the list resource items + * Get site(s) OpenSearch snapshot repositories Returns the OpenSearch Snapshot Repositories * - * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) - * @return GetLocaleResourceItemsResponse + * @return GetOpenSearchSnapshotRepositoryResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2614,23 +4901,17 @@ private okhttp3.Call getLocaleResourceItemsValidateBeforeCall( * * */ - public GetLocaleResourceItemsResponse getLocaleResourceItems( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories() throws ApiException { - ApiResponse localVarResp = - getLocaleResourceItemsWithHttpInfo(siteId, locale, next, limit); + ApiResponse localVarResp = + getOpenSearchSnapshotRepositoriesWithHttpInfo(); return localVarResp.getData(); } /** - * Get Resource Items by Locale Returns the list resource items + * Get site(s) OpenSearch snapshot repositories Returns the OpenSearch Snapshot Repositories * - * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) - * @return ApiResponse<GetLocaleResourceItemsResponse> + * @return ApiResponse<GetOpenSearchSnapshotRepositoryResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2651,23 +4932,17 @@ public GetLocaleResourceItemsResponse getLocaleResourceItems( * * */ - public ApiResponse getLocaleResourceItemsWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) + public ApiResponse getOpenSearchSnapshotRepositoriesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = - getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, null); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoriesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get Resource Items by Locale (asynchronously) Returns the list resource items + * Get site(s) OpenSearch snapshot repositories (asynchronously) Returns the OpenSearch Snapshot + * Repositories * - * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2689,24 +4964,19 @@ public ApiResponse getLocaleResourceItemsWithHtt * * */ - public okhttp3.Call getLocaleResourceItemsAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nullable String next, - @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotRepositoriesAsync( + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoriesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getLocales + * Build call for getOpenSearchSnapshotRepository * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2728,8 +4998,7 @@ public okhttp3.Call getLocaleResourceItemsAsync(@javax.annotation.Nonnull String * * */ - public okhttp3.Call getLocalesCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + public okhttp3.Call getOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -2747,8 +5016,8 @@ public okhttp3.Call getLocalesCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/locales".replace("{" + "siteId" + "}", - localVarApiClient.escapeString(siteId.toString())); + String localVarPath = "/sites/{siteId}/opensearch/snapshotRepository" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2756,14 +5025,6 @@ public okhttp3.Call getLocalesCall(@javax.annotation.Nonnull String siteId, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); - if (next != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); - } - - if (limit != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); - } - final String[] localVarAccepts = {"application/json"}; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -2784,26 +5045,23 @@ public okhttp3.Call getLocalesCall(@javax.annotation.Nonnull String siteId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getLocalesValidateBeforeCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + private okhttp3.Call getOpenSearchSnapshotRepositoryValidateBeforeCall( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling getLocales(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchSnapshotRepository(Async)"); } - return getLocalesCall(siteId, next, limit, _callback); + return getOpenSearchSnapshotRepositoryCall(siteId, _callback); } /** - * Get Locales Returns a list of locale(s) in a specified site + * Get site(s) OpenSearch snapshot repository Returns the OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) - * @return GetLocalesResponse + * @return GetOpenSearchSnapshotRepositoryResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2824,20 +5082,18 @@ private okhttp3.Call getLocalesValidateBeforeCall(@javax.annotation.Nonnull Stri * * */ - public GetLocalesResponse getLocales(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) - throws ApiException { - ApiResponse localVarResp = getLocalesWithHttpInfo(siteId, next, limit); + public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository( + @javax.annotation.Nonnull String siteId) throws ApiException { + ApiResponse localVarResp = + getOpenSearchSnapshotRepositoryWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Get Locales Returns a list of locale(s) in a specified site + * Get site(s) OpenSearch snapshot repository Returns the OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) - * @return ApiResponse<GetLocalesResponse> + * @return ApiResponse<GetOpenSearchSnapshotRepositoryResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2858,20 +5114,18 @@ public GetLocalesResponse getLocales(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse getLocalesWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nullable String next, - @javax.annotation.Nullable String limit) throws ApiException { - okhttp3.Call localVarCall = getLocalesValidateBeforeCall(siteId, next, limit, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getOpenSearchSnapshotRepositoryWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get Locales (asynchronously) Returns a list of locale(s) in a specified site + * Get site(s) OpenSearch snapshot repository (asynchronously) Returns the OpenSearch Snapshot + * Repository * * @param siteId Site Identifier (required) - * @param next Next page of results token (optional) - * @param limit Limit Results (optional, default to 10) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2893,18 +5147,18 @@ public ApiResponse getLocalesWithHttpInfo( * * */ - public okhttp3.Call getLocalesAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotRepositoryAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLocalesValidateBeforeCall(siteId, next, limit, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getOpensearchIndex + * Build call for getOpenSearchSnapshots * * @param siteId Site Identifier (required) * @param _callback Callback for upload/download progress @@ -2928,7 +5182,7 @@ public okhttp3.Call getLocalesAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call getOpensearchIndexCall(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getOpenSearchSnapshotsCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -2946,7 +5200,7 @@ public okhttp3.Call getOpensearchIndexCall(@javax.annotation.Nonnull String site Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/opensearch/index".replace("{" + "siteId" + "}", + String localVarPath = "/sites/{siteId}/opensearch/snapshots".replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); @@ -2975,23 +5229,23 @@ public okhttp3.Call getOpensearchIndexCall(@javax.annotation.Nonnull String site } @SuppressWarnings("rawtypes") - private okhttp3.Call getOpensearchIndexValidateBeforeCall(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + private okhttp3.Call getOpenSearchSnapshotsValidateBeforeCall( + @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling getOpensearchIndex(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchSnapshots(Async)"); } - return getOpensearchIndexCall(siteId, _callback); + return getOpenSearchSnapshotsCall(siteId, _callback); } /** - * Get site(s) OpenSearch index settings Returns the OpenSearch index settings + * Get site(s) OpenSearch snapshots Returns the OpenSearch Snapshots * * @param siteId Site Identifier (required) - * @return GetOpenSearchIndexResponse + * @return GetOpenSearchSnapshotResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -3012,17 +5266,18 @@ private okhttp3.Call getOpensearchIndexValidateBeforeCall(@javax.annotation.Nonn * * */ - public GetOpenSearchIndexResponse getOpensearchIndex(@javax.annotation.Nonnull String siteId) - throws ApiException { - ApiResponse localVarResp = getOpensearchIndexWithHttpInfo(siteId); + public GetOpenSearchSnapshotResponse getOpenSearchSnapshots( + @javax.annotation.Nonnull String siteId) throws ApiException { + ApiResponse localVarResp = + getOpenSearchSnapshotsWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Get site(s) OpenSearch index settings Returns the OpenSearch index settings + * Get site(s) OpenSearch snapshots Returns the OpenSearch Snapshots * * @param siteId Site Identifier (required) - * @return ApiResponse<GetOpenSearchIndexResponse> + * @return ApiResponse<GetOpenSearchSnapshotResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -3043,15 +5298,15 @@ public GetOpenSearchIndexResponse getOpensearchIndex(@javax.annotation.Nonnull S * * */ - public ApiResponse getOpensearchIndexWithHttpInfo( + public ApiResponse getOpenSearchSnapshotsWithHttpInfo( @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = getOpensearchIndexValidateBeforeCall(siteId, null); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchSnapshotsValidateBeforeCall(siteId, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get site(s) OpenSearch index settings (asynchronously) Returns the OpenSearch index settings + * Get site(s) OpenSearch snapshots (asynchronously) Returns the OpenSearch Snapshots * * @param siteId Site Identifier (required) * @param _callback The callback to be executed when the API call finishes @@ -3075,11 +5330,11 @@ public ApiResponse getOpensearchIndexWithHttpInfo( * * */ - public okhttp3.Call getOpensearchIndexAsync(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotsAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getOpensearchIndexValidateBeforeCall(siteId, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchSnapshotsValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -4044,7 +6299,7 @@ public okhttp3.Call setLocaleResourceItemAsync(@javax.annotation.Nonnull String } /** - * Build call for setOpensearchIndex + * Build call for setOpenSearchIndex * * @param siteId Site Identifier (required) * @param setOpenSearchIndexRequest (required) @@ -4069,7 +6324,7 @@ public okhttp3.Call setLocaleResourceItemAsync(@javax.annotation.Nonnull String * * */ - public okhttp3.Call setOpensearchIndexCall(@javax.annotation.Nonnull String siteId, + public okhttp3.Call setOpenSearchIndexCall(@javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull SetOpenSearchIndexRequest setOpenSearchIndexRequest, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -4117,22 +6372,22 @@ public okhttp3.Call setOpensearchIndexCall(@javax.annotation.Nonnull String site } @SuppressWarnings("rawtypes") - private okhttp3.Call setOpensearchIndexValidateBeforeCall(@javax.annotation.Nonnull String siteId, + private okhttp3.Call setOpenSearchIndexValidateBeforeCall(@javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull SetOpenSearchIndexRequest setOpenSearchIndexRequest, final ApiCallback _callback) throws ApiException { // verify the required parameter 'siteId' is set if (siteId == null) { throw new ApiException( - "Missing the required parameter 'siteId' when calling setOpensearchIndex(Async)"); + "Missing the required parameter 'siteId' when calling setOpenSearchIndex(Async)"); } // verify the required parameter 'setOpenSearchIndexRequest' is set if (setOpenSearchIndexRequest == null) { throw new ApiException( - "Missing the required parameter 'setOpenSearchIndexRequest' when calling setOpensearchIndex(Async)"); + "Missing the required parameter 'setOpenSearchIndexRequest' when calling setOpenSearchIndex(Async)"); } - return setOpensearchIndexCall(siteId, setOpenSearchIndexRequest, _callback); + return setOpenSearchIndexCall(siteId, setOpenSearchIndexRequest, _callback); } @@ -4162,11 +6417,11 @@ private okhttp3.Call setOpensearchIndexValidateBeforeCall(@javax.annotation.Nonn * * */ - public SetOpenSearchIndexResponse setOpensearchIndex(@javax.annotation.Nonnull String siteId, + public SetOpenSearchIndexResponse setOpenSearchIndex(@javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull SetOpenSearchIndexRequest setOpenSearchIndexRequest) throws ApiException { ApiResponse localVarResp = - setOpensearchIndexWithHttpInfo(siteId, setOpenSearchIndexRequest); + setOpenSearchIndexWithHttpInfo(siteId, setOpenSearchIndexRequest); return localVarResp.getData(); } @@ -4196,12 +6451,12 @@ public SetOpenSearchIndexResponse setOpensearchIndex(@javax.annotation.Nonnull S * * */ - public ApiResponse setOpensearchIndexWithHttpInfo( + public ApiResponse setOpenSearchIndexWithHttpInfo( @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull SetOpenSearchIndexRequest setOpenSearchIndexRequest) throws ApiException { okhttp3.Call localVarCall = - setOpensearchIndexValidateBeforeCall(siteId, setOpenSearchIndexRequest, null); + setOpenSearchIndexValidateBeforeCall(siteId, setOpenSearchIndexRequest, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4232,17 +6487,219 @@ public ApiResponse setOpensearchIndexWithHttpInfo( * * */ - public okhttp3.Call setOpensearchIndexAsync(@javax.annotation.Nonnull String siteId, + public okhttp3.Call setOpenSearchIndexAsync(@javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull SetOpenSearchIndexRequest setOpenSearchIndexRequest, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - setOpensearchIndexValidateBeforeCall(siteId, setOpenSearchIndexRequest, _callback); + setOpenSearchIndexValidateBeforeCall(siteId, setOpenSearchIndexRequest, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } + /** + * Build call for setOpenSearchIndices + * + * @param siteId Site Identifier (required) + * @param setOpenSearchIndiceRequest (required) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setOpenSearchIndicesCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull SetOpenSearchIndiceRequest setOpenSearchIndiceRequest, + final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = setOpenSearchIndiceRequest; + + // create path and map variables + String localVarPath = "/sites/{siteId}/opensearch/indices".replace("{" + "siteId" + "}", + localVarApiClient.escapeString(siteId.toString())); + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {"application/json"}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call setOpenSearchIndicesValidateBeforeCall( + @javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull SetOpenSearchIndiceRequest setOpenSearchIndiceRequest, + final ApiCallback _callback) throws ApiException { + // verify the required parameter 'siteId' is set + if (siteId == null) { + throw new ApiException( + "Missing the required parameter 'siteId' when calling setOpenSearchIndices(Async)"); + } + + // verify the required parameter 'setOpenSearchIndiceRequest' is set + if (setOpenSearchIndiceRequest == null) { + throw new ApiException( + "Missing the required parameter 'setOpenSearchIndiceRequest' when calling setOpenSearchIndices(Async)"); + } + + return setOpenSearchIndicesCall(siteId, setOpenSearchIndiceRequest, _callback); + + } + + /** + * Set site(s) OpenSearch index to use for a SiteId Sets the OpenSearch index to use for a SiteId + * + * @param siteId Site Identifier (required) + * @param setOpenSearchIndiceRequest (required) + * @return SetResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public SetResponse setOpenSearchIndices(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull SetOpenSearchIndiceRequest setOpenSearchIndiceRequest) + throws ApiException { + ApiResponse localVarResp = + setOpenSearchIndicesWithHttpInfo(siteId, setOpenSearchIndiceRequest); + return localVarResp.getData(); + } + + /** + * Set site(s) OpenSearch index to use for a SiteId Sets the OpenSearch index to use for a SiteId + * + * @param siteId Site Identifier (required) + * @param setOpenSearchIndiceRequest (required) + * @return ApiResponse<SetResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse setOpenSearchIndicesWithHttpInfo( + @javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull SetOpenSearchIndiceRequest setOpenSearchIndiceRequest) + throws ApiException { + okhttp3.Call localVarCall = + setOpenSearchIndicesValidateBeforeCall(siteId, setOpenSearchIndiceRequest, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Set site(s) OpenSearch index to use for a SiteId (asynchronously) Sets the OpenSearch index to + * use for a SiteId + * + * @param siteId Site Identifier (required) + * @param setOpenSearchIndiceRequest (required) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call setOpenSearchIndicesAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull SetOpenSearchIndiceRequest setOpenSearchIndiceRequest, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + setOpenSearchIndicesValidateBeforeCall(siteId, setOpenSearchIndiceRequest, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** * Build call for setSiteGroupPermissions * diff --git a/src/main/java/com/formkiq/client/api/TagIndexApi.java b/src/main/java/com/formkiq/client/api/TagIndexApi.java index daaa779f4..655bc7c7f 100644 --- a/src/main/java/com/formkiq/client/api/TagIndexApi.java +++ b/src/main/java/com/formkiq/client/api/TagIndexApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/UserActivitiesApi.java b/src/main/java/com/formkiq/client/api/UserActivitiesApi.java index d95d05e50..99db6492f 100644 --- a/src/main/java/com/formkiq/client/api/UserActivitiesApi.java +++ b/src/main/java/com/formkiq/client/api/UserActivitiesApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -34,7 +34,9 @@ import java.io.IOException; +import com.formkiq.client.model.GetActivitesResponse; import com.formkiq.client.model.GetUserActivitesResponse; +import java.time.OffsetDateTime; import java.lang.reflect.Type; import java.util.ArrayList; @@ -297,6 +299,294 @@ public okhttp3.Call getDocumentUserActivitiesAsync(@javax.annotation.Nonnull Str return localVarCall; } + /** + * Build call for getResourceActivities + * + * @param siteId Site Identifier (optional) + * @param documentId Document Identifier (optional) + * @param entityTypeId EntityType Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param entityId Entity Identifier (optional) + * @param start Start of date-time range (UTC) (optional) + * @param end End of date-time range (UTC) (optional) + * @param sort Sort order (default DESC) (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param userId Fetch specific user activities (optional) + * @param _callback Callback for upload/download progress + * @return Call to execute + * @throws ApiException If fail to serialize the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getResourceActivitiesCall(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String entityId, + @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException { + String basePath = null; + // Operation Servers + String[] localBasePaths = new String[] {}; + + // Determine Base Path to Use + if (localCustomBaseUrl != null) { + basePath = localCustomBaseUrl; + } else if (localBasePaths.length > 0) { + basePath = localBasePaths[localHostIndex]; + } else { + basePath = null; + } + + Object localVarPostBody = null; + + // create path and map variables + String localVarPath = "/activities"; + + List localVarQueryParams = new ArrayList(); + List localVarCollectionQueryParams = new ArrayList(); + Map localVarHeaderParams = new HashMap(); + Map localVarCookieParams = new HashMap(); + Map localVarFormParams = new HashMap(); + + if (siteId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("siteId", siteId)); + } + + if (documentId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("documentId", documentId)); + } + + if (entityTypeId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("entityTypeId", entityTypeId)); + } + + if (namespace != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("namespace", namespace)); + } + + if (entityId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("entityId", entityId)); + } + + if (start != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("start", start)); + } + + if (end != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("end", end)); + } + + if (sort != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("sort", sort)); + } + + if (next != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("next", next)); + } + + if (limit != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("limit", limit)); + } + + if (userId != null) { + localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId)); + } + + final String[] localVarAccepts = {"application/json"}; + final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); + if (localVarAccept != null) { + localVarHeaderParams.put("Accept", localVarAccept); + } + + final String[] localVarContentTypes = {}; + final String localVarContentType = + localVarApiClient.selectHeaderContentType(localVarContentTypes); + if (localVarContentType != null) { + localVarHeaderParams.put("Content-Type", localVarContentType); + } + + String[] localVarAuthNames = new String[] {"AWS4Auth"}; + return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + private okhttp3.Call getResourceActivitiesValidateBeforeCall( + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, + @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String entityId, @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException { + return getResourceActivitiesCall(siteId, documentId, entityTypeId, namespace, entityId, start, + end, sort, next, limit, userId, _callback); + + } + + /** + * Get resource activities Retrieve an resource activities + * + * @param siteId Site Identifier (optional) + * @param documentId Document Identifier (optional) + * @param entityTypeId EntityType Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param entityId Entity Identifier (optional) + * @param start Start of date-time range (UTC) (optional) + * @param end End of date-time range (UTC) (optional) + * @param sort Sort order (default DESC) (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param userId Fetch specific user activities (optional) + * @return GetActivitesResponse + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public GetActivitesResponse getResourceActivities(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String entityId, + @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String userId) throws ApiException { + ApiResponse localVarResp = getResourceActivitiesWithHttpInfo(siteId, + documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId); + return localVarResp.getData(); + } + + /** + * Get resource activities Retrieve an resource activities + * + * @param siteId Site Identifier (optional) + * @param documentId Document Identifier (optional) + * @param entityTypeId EntityType Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param entityId Entity Identifier (optional) + * @param start Start of date-time range (UTC) (optional) + * @param end End of date-time range (UTC) (optional) + * @param sort Sort order (default DESC) (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param userId Fetch specific user activities (optional) + * @return ApiResponse<GetActivitesResponse> + * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the + * response body + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public ApiResponse getResourceActivitiesWithHttpInfo( + @javax.annotation.Nullable String siteId, @javax.annotation.Nullable String documentId, + @javax.annotation.Nullable String entityTypeId, @javax.annotation.Nullable String namespace, + @javax.annotation.Nullable String entityId, @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String userId) throws ApiException { + okhttp3.Call localVarCall = getResourceActivitiesValidateBeforeCall(siteId, documentId, + entityTypeId, namespace, entityId, start, end, sort, next, limit, userId, null); + Type localVarReturnType = new TypeToken() {}.getType(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get resource activities (asynchronously) Retrieve an resource activities + * + * @param siteId Site Identifier (optional) + * @param documentId Document Identifier (optional) + * @param entityTypeId EntityType Identifier (optional) + * @param namespace Namespace Identifier (optional) + * @param entityId Entity Identifier (optional) + * @param start Start of date-time range (UTC) (optional) + * @param end End of date-time range (UTC) (optional) + * @param sort Sort order (default DESC) (optional) + * @param next Next page of results token (optional) + * @param limit Limit Results (optional, default to 10) + * @param userId Fetch specific user activities (optional) + * @param _callback The callback to be executed when the API call finishes + * @return The request call + * @throws ApiException If fail to process the API call, e.g. serializing the request body object + * @http.response.details + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + public okhttp3.Call getResourceActivitiesAsync(@javax.annotation.Nullable String siteId, + @javax.annotation.Nullable String documentId, @javax.annotation.Nullable String entityTypeId, + @javax.annotation.Nullable String namespace, @javax.annotation.Nullable String entityId, + @javax.annotation.Nullable OffsetDateTime start, + @javax.annotation.Nullable OffsetDateTime end, @javax.annotation.Nullable String sort, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String userId, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = getResourceActivitiesValidateBeforeCall(siteId, documentId, + entityTypeId, namespace, entityId, start, end, sort, next, limit, userId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + /** * Build call for getUserActivities * diff --git a/src/main/java/com/formkiq/client/api/UserManagementApi.java b/src/main/java/com/formkiq/client/api/UserManagementApi.java index 7e74a52ef..19eddd5b7 100644 --- a/src/main/java/com/formkiq/client/api/UserManagementApi.java +++ b/src/main/java/com/formkiq/client/api/UserManagementApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/api/WebhooksApi.java b/src/main/java/com/formkiq/client/api/WebhooksApi.java index 7c12f8416..a1e570fd7 100644 --- a/src/main/java/com/formkiq/client/api/WebhooksApi.java +++ b/src/main/java/com/formkiq/client/api/WebhooksApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/ApiCallback.java b/src/main/java/com/formkiq/client/invoker/ApiCallback.java index 9f3442d29..07ed0410a 100644 --- a/src/main/java/com/formkiq/client/invoker/ApiCallback.java +++ b/src/main/java/com/formkiq/client/invoker/ApiCallback.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/ApiClient.java b/src/main/java/com/formkiq/client/invoker/ApiClient.java index 85a379083..19b435611 100644 --- a/src/main/java/com/formkiq/client/invoker/ApiClient.java +++ b/src/main/java/com/formkiq/client/invoker/ApiClient.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -71,32 +71,32 @@ */ public class ApiClient { - private String basePath = "http://localhost"; + protected String basePath = "http://localhost"; protected List servers = new ArrayList(Arrays.asList(new ServerConfiguration("http://localhost", "Local development server", new HashMap()))); protected Integer serverIndex = 0; protected Map serverVariables = null; - private boolean debugging = false; - private Map defaultHeaderMap = new HashMap(); - private Map defaultCookieMap = new HashMap(); - private String tempFolderPath = null; + protected boolean debugging = false; + protected Map defaultHeaderMap = new HashMap(); + protected Map defaultCookieMap = new HashMap(); + protected String tempFolderPath = null; - private Map authentications; + protected Map authentications; - private DateFormat dateFormat; - private DateFormat datetimeFormat; - private boolean lenientDatetimeFormat; - private int dateLength; + protected DateFormat dateFormat; + protected DateFormat datetimeFormat; + protected boolean lenientDatetimeFormat; + protected int dateLength; - private InputStream sslCaCert; - private boolean verifyingSsl; - private KeyManager[] keyManagers; + protected InputStream sslCaCert; + protected boolean verifyingSsl; + protected KeyManager[] keyManagers; - private OkHttpClient httpClient; - private JSON json; + protected OkHttpClient httpClient; + protected JSON json; - private HttpLoggingInterceptor loggingInterceptor; + protected HttpLoggingInterceptor loggingInterceptor; /** * Basic constructor for ApiClient @@ -127,11 +127,11 @@ public ApiClient(OkHttpClient client) { authentications = Collections.unmodifiableMap(authentications); } - private void initHttpClient() { + protected void initHttpClient() { initHttpClient(Collections.emptyList()); } - private void initHttpClient(List interceptors) { + protected void initHttpClient(List interceptors) { OkHttpClient.Builder builder = new OkHttpClient.Builder(); builder.addNetworkInterceptor(getProgressInterceptor()); for (Interceptor interceptor : interceptors) { @@ -141,13 +141,13 @@ private void initHttpClient(List interceptors) { httpClient = builder.build(); } - private void init() { + protected void init() { verifyingSsl = true; json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.17.1/java"); + setUserAgent("OpenAPI-Generator/1.18.0/java"); authentications = new HashMap(); } @@ -164,8 +164,8 @@ public String getBasePath() { /** * Set base path * - * @param basePath Base path of the URL (e.g http://localhost - * @return An instance of OkHttpClient + * @param basePath Base path of the URL (e.g http://localhost) + * @return An instance of ApiClient */ public ApiClient setBasePath(String basePath) { this.basePath = basePath; @@ -213,7 +213,7 @@ public OkHttpClient getHttpClient() { * Set HTTP client, which must never be null. * * @param newHttpClient An instance of OkHttpClient - * @return Api Client + * @return ApiClient * @throws java.lang.NullPointerException when newHttpClient is null */ public ApiClient setHttpClient(OkHttpClient newHttpClient) { @@ -731,7 +731,7 @@ public List parameterToPair(String name, Object value) { * @param value The value of the parameter. * @return A list of {@code Pair} objects. */ - public List parameterToPairs(String collectionFormat, String name, Collection value) { + public List parameterToPairs(String collectionFormat, String name, Collection value) { List params = new ArrayList(); // preconditions @@ -837,7 +837,7 @@ public String collectionPathParameterToString(String collectionFormat, Collectio * @return The sanitized filename */ public String sanitizeFilename(String filename) { - return filename.replaceAll(".*[/\\\\]", ""); + return filename.replaceFirst("^.*[/\\\\]", ""); } /** @@ -1308,7 +1308,7 @@ public String buildUrl(String baseUrl, String path, List queryParams, String baseURL; if (serverIndex != null) { if (serverIndex < 0 || serverIndex >= servers.size()) { - throw new ArrayIndexOutOfBoundsException(String.format( + throw new ArrayIndexOutOfBoundsException(String.format(Locale.ROOT, "Invalid index %d when selecting the host settings. Must be less than %d", serverIndex, servers.size())); } @@ -1381,11 +1381,13 @@ public void processHeaderParams(Map headerParams, Request.Builde */ public void processCookieParams(Map cookieParams, Request.Builder reqBuilder) { for (Entry param : cookieParams.entrySet()) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); + reqBuilder.addHeader("Cookie", + String.format(Locale.ROOT, "%s=%s", param.getKey(), param.getValue())); } for (Entry param : defaultCookieMap.entrySet()) { if (!cookieParams.containsKey(param.getKey())) { - reqBuilder.addHeader("Cookie", String.format("%s=%s", param.getKey(), param.getValue())); + reqBuilder.addHeader("Cookie", + String.format(Locale.ROOT, "%s=%s", param.getKey(), param.getValue())); } } } @@ -1479,7 +1481,7 @@ public String guessContentTypeFromFile(File file) { * @param key The key of the Header element * @param file The file to add to the Header */ - private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { + protected void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, File file) { Headers partHeaders = Headers.of("Content-Disposition", "form-data; name=\"" + key + "\"; filename=\"" + file.getName() + "\""); MediaType mediaType = MediaType.parse(guessContentTypeFromFile(file)); @@ -1494,7 +1496,8 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k * @param key The key of the Header element * @param obj The complex object to add to the Header */ - private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, Object obj) { + protected void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String key, + Object obj) { RequestBody requestBody; if (obj instanceof String) { requestBody = RequestBody.create((String) obj, MediaType.parse("text/plain")); @@ -1516,7 +1519,7 @@ private void addPartToMultiPartBuilder(MultipartBody.Builder mpBuilder, String k * Get network interceptor to add it to the httpClient to track download progress for async * requests. */ - private Interceptor getProgressInterceptor() { + protected Interceptor getProgressInterceptor() { return new Interceptor() { @Override public Response intercept(Interceptor.Chain chain) throws IOException { @@ -1536,7 +1539,7 @@ public Response intercept(Interceptor.Chain chain) throws IOException { * Apply SSL related settings to httpClient according to the current values of verifyingSsl and * sslCaCert. */ - private void applySslSettings() { + protected void applySslSettings() { try { TrustManager[] trustManagers; HostnameVerifier hostnameVerifier; @@ -1597,7 +1600,7 @@ public boolean verify(String hostname, SSLSession session) { } } - private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { + protected KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityException { try { KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); keyStore.load(null, password); @@ -1615,7 +1618,7 @@ private KeyStore newEmptyKeyStore(char[] password) throws GeneralSecurityExcepti * @throws com.formkiq.client.invoker.ApiException If fail to serialize the request body object * into a string */ - private String requestBodyToString(RequestBody requestBody) throws ApiException { + protected String requestBodyToString(RequestBody requestBody) throws ApiException { if (requestBody != null) { try { final Buffer buffer = new Buffer(); diff --git a/src/main/java/com/formkiq/client/invoker/ApiException.java b/src/main/java/com/formkiq/client/invoker/ApiException.java index d2f95418f..e73fe4a7a 100644 --- a/src/main/java/com/formkiq/client/invoker/ApiException.java +++ b/src/main/java/com/formkiq/client/invoker/ApiException.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -22,6 +22,7 @@ import java.util.Map; import java.util.List; +import java.util.Locale; /** @@ -31,8 +32,8 @@ */ @SuppressWarnings("serial") @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; @@ -195,7 +196,7 @@ public String getResponseBody() { * @return The exception message */ public String getMessage() { - return String.format( + return String.format(Locale.ROOT, "Message: %s%nHTTP response code: %s%nHTTP response body: %s%nHTTP response headers: %s", super.getMessage(), this.getCode(), this.getResponseBody(), this.getResponseHeaders()); } diff --git a/src/main/java/com/formkiq/client/invoker/ApiResponse.java b/src/main/java/com/formkiq/client/invoker/ApiResponse.java index 68a930d64..5efdbc3e0 100644 --- a/src/main/java/com/formkiq/client/invoker/ApiResponse.java +++ b/src/main/java/com/formkiq/client/invoker/ApiResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/Configuration.java b/src/main/java/com/formkiq/client/invoker/Configuration.java index 9a7c6c155..ee91dfdf2 100644 --- a/src/main/java/com/formkiq/client/invoker/Configuration.java +++ b/src/main/java/com/formkiq/client/invoker/Configuration.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -25,10 +25,10 @@ import java.util.function.Supplier; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Configuration { - public static final String VERSION = "1.17.1"; + public static final String VERSION = "1.18.0"; private static final AtomicReference defaultApiClient = new AtomicReference<>(); private static volatile Supplier apiClientFactory = ApiClient::new; diff --git a/src/main/java/com/formkiq/client/invoker/GzipRequestInterceptor.java b/src/main/java/com/formkiq/client/invoker/GzipRequestInterceptor.java index 296ad0d81..1f2caebed 100644 --- a/src/main/java/com/formkiq/client/invoker/GzipRequestInterceptor.java +++ b/src/main/java/com/formkiq/client/invoker/GzipRequestInterceptor.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/JSON.java b/src/main/java/com/formkiq/client/invoker/JSON.java index 0af037bca..a8714a1d2 100644 --- a/src/main/java/com/formkiq/client/invoker/JSON.java +++ b/src/main/java/com/formkiq/client/invoker/JSON.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -107,6 +107,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter); gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.Activity.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddAction.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -119,8 +121,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.AddAttribute.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddAttributeRequest.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory( - new com.formkiq.client.model.AddAttributeResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddAttributeSchemaOptional.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -151,6 +151,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.AddDocumentAttribute.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddDocumentAttributeClassification.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddDocumentAttributeEntity.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddDocumentAttributeRelationship.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -203,6 +205,22 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.AddDocusignRecipientViewRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddDocusignRecipientViewResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntity.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntityAttribute.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntityRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntityResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntityType.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntityTypeRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddEntityTypeResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddFolderPermission.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddFolderRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -313,6 +331,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.Classification.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.ClassificationSummary.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.DataClassification.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.DataClassificationAttribute.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.DeleteApiKeyResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -421,14 +443,24 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.DocusignSigner.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.DocusignSigningTabs.CustomTypeAdapterFactory()); + gsonBuilder + .registerTypeAdapterFactory(new com.formkiq.client.model.Entity.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.EntityAttribute.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.EntityType.CustomTypeAdapterFactory()); gsonBuilder .registerTypeAdapterFactory(new com.formkiq.client.model.Error.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.ErrorsResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.FolderPermission.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.FulltextAttribute.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.FulltextSearchItem.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetActivitesResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetApiKeysResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -461,12 +493,12 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.GetDocumentActionsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetDocumentAttributeResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory( - new com.formkiq.client.model.GetDocumentAttributeVersionsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetDocumentAttributesResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetDocumentContentResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetDocumentDataClassificationResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetDocumentFulltextResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -489,10 +521,20 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.GetDocumentWorkflowsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetDocumentsResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetEntitiesResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetEntityResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetEntityTypeResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetEntityTypesResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetExaminePdfResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetExaminePdfUrlResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetFolderPermissionsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetFoldersResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -505,6 +547,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.GetLocaleResourceItemsResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetLocalesResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetMalwareScanResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetMappingResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -517,6 +561,12 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.GetOpaAccessPolicyResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetOpenSearchIndexResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetOpenSearchIndiceResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetOpenSearchSnapshotRepositoryResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetOpenSearchSnapshotResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetQueueResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -579,8 +629,10 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.IndexSearchRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.IndexSearchResponse.CustomTypeAdapterFactory()); - gsonBuilder - .registerTypeAdapterFactory(new com.formkiq.client.model.Locale.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.LocaleInfo.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.MalwareScanResult.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.Mapping.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -609,6 +661,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.OpaPolicyAttributeGt.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.OpaPolicyAttributeGte.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpaPolicyAttributeIn.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.OpaPolicyAttributeInput.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -617,10 +671,30 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.OpaPolicyAttributeLte.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.OpaPolicyAttributeNeq.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpaPolicyAttributeNotIn.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpaPolicyInput.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpaPolicyInputMethod.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpaPolicyInputResource.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.OpaPolicyItem.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpenSearchAlias.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.OpenSearchIndex.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpenSearchIndexSetting.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpenSearchS3Repository.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpenSearchSnapshot.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpenSearchSnapshotFailure.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.OpenSearchSnapshotShard.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.PdfDocument.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -647,14 +721,16 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.SearchResultDocument.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SearchResultDocumentAttribute.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory( - new com.formkiq.client.model.SetAntivirusResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetClassificationRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetDocumentAttributeRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetDocumentAttributesRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.SetDocumentDataClassificationRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.SetDocumentDataClassificationResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetDocumentFulltextRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -669,6 +745,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.SetDocumentVersionRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetDocumentVersionResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.SetFolderPermissionsRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetGroupPermissionsRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -681,6 +759,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.SetOpenSearchIndexRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetOpenSearchIndexResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.SetOpenSearchIndiceRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.SetResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -703,6 +783,12 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.StringFormat.CustomTypeAdapterFactory()); gsonBuilder .registerTypeAdapterFactory(new com.formkiq.client.model.Task.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.TextractQuery.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.UpdateAttribute.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.UpdateAttributeRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.UpdateCase.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -719,6 +805,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.UpdateDocumentFulltextResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.UpdateDocumentRequest.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.UpdateEntityRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.UpdateMatchingDocumentTagsRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( diff --git a/src/main/java/com/formkiq/client/invoker/Pair.java b/src/main/java/com/formkiq/client/invoker/Pair.java index b5f89c952..a13f4452b 100644 --- a/src/main/java/com/formkiq/client/invoker/Pair.java +++ b/src/main/java/com/formkiq/client/invoker/Pair.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,31 +21,15 @@ package com.formkiq.client.invoker; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Pair { - private String name = ""; - private String value = ""; + private final String name; + private final String value; public Pair(String name, String value) { - setName(name); - setValue(value); - } - - private void setName(String name) { - if (!isValidString(name)) { - return; - } - - this.name = name; - } - - private void setValue(String value) { - if (!isValidString(value)) { - return; - } - - this.value = value; + this.name = isValidString(name) ? name : ""; + this.value = isValidString(value) ? value : ""; } public String getName() { @@ -56,11 +40,7 @@ public String getValue() { return this.value; } - private boolean isValidString(String arg) { - if (arg == null) { - return false; - } - - return true; + private static boolean isValidString(String arg) { + return arg != null; } } diff --git a/src/main/java/com/formkiq/client/invoker/ProgressRequestBody.java b/src/main/java/com/formkiq/client/invoker/ProgressRequestBody.java index ab74423b4..488782251 100644 --- a/src/main/java/com/formkiq/client/invoker/ProgressRequestBody.java +++ b/src/main/java/com/formkiq/client/invoker/ProgressRequestBody.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/ProgressResponseBody.java b/src/main/java/com/formkiq/client/invoker/ProgressResponseBody.java index 7a7b4b60d..ca5f3b582 100644 --- a/src/main/java/com/formkiq/client/invoker/ProgressResponseBody.java +++ b/src/main/java/com/formkiq/client/invoker/ProgressResponseBody.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java b/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java index f3ceb0328..4df362c59 100644 --- a/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java +++ b/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -26,8 +26,8 @@ * Representing a Server configuration. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/com/formkiq/client/invoker/ServerVariable.java b/src/main/java/com/formkiq/client/invoker/ServerVariable.java index 024797ad1..0d1233ffd 100644 --- a/src/main/java/com/formkiq/client/invoker/ServerVariable.java +++ b/src/main/java/com/formkiq/client/invoker/ServerVariable.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -26,8 +26,8 @@ * Representing a Server Variable for server URL template substitution. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/com/formkiq/client/invoker/StringUtil.java b/src/main/java/com/formkiq/client/invoker/StringUtil.java index f1263effb..9779b6c8f 100644 --- a/src/main/java/com/formkiq/client/invoker/StringUtil.java +++ b/src/main/java/com/formkiq/client/invoker/StringUtil.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,8 +24,8 @@ import java.util.Iterator; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java b/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java index 4c108104b..ae8b78b6e 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -46,8 +46,8 @@ import okio.Buffer; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AWS4Auth implements Authentication { private AwsCredentials credentials; diff --git a/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java b/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java index 93cc1e86b..731296f85 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -28,8 +28,8 @@ import java.util.List; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/formkiq/client/invoker/auth/Authentication.java b/src/main/java/com/formkiq/client/invoker/auth/Authentication.java index 6b837ac2c..ccb4f9aa7 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/Authentication.java +++ b/src/main/java/com/formkiq/client/invoker/auth/Authentication.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -28,8 +28,8 @@ import java.util.List; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public interface Authentication { /** * Apply authentication settings to header and query params. diff --git a/src/main/java/com/formkiq/client/invoker/auth/HttpBasicAuth.java b/src/main/java/com/formkiq/client/invoker/auth/HttpBasicAuth.java index c98b5944f..61d846a6d 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/HttpBasicAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/HttpBasicAuth.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java b/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java index fb0603175..c4b858731 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -30,8 +30,8 @@ import java.util.function.Supplier; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/src/main/java/com/formkiq/client/invoker/auth/OAuth.java b/src/main/java/com/formkiq/client/invoker/auth/OAuth.java index d1451d50e..ad1fefa03 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/OAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/OAuth.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -28,8 +28,8 @@ import java.util.List; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OAuth implements Authentication { private String accessToken; diff --git a/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java b/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java index 5f9616009..6091d04de 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java +++ b/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,8 +24,8 @@ * OAuth flows that are supported by this client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public enum OAuthFlow { ACCESS_CODE, // called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, APPLICATION // called clientCredentials in OpenAPI 3.0 diff --git a/src/main/java/com/formkiq/client/invoker/auth/OAuthOkHttpClient.java b/src/main/java/com/formkiq/client/invoker/auth/OAuthOkHttpClient.java index 26cc57140..a6abccfe1 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/OAuthOkHttpClient.java +++ b/src/main/java/com/formkiq/client/invoker/auth/OAuthOkHttpClient.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/invoker/auth/RetryingOAuth.java b/src/main/java/com/formkiq/client/invoker/auth/RetryingOAuth.java index 26cc57140..a6abccfe1 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/RetryingOAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/RetryingOAuth.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java b/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java index 924f35b3a..1a4a6ac90 100644 --- a/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -29,8 +29,8 @@ * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/com/formkiq/client/model/Activity.java b/src/main/java/com/formkiq/client/model/Activity.java new file mode 100644 index 000000000..cafd88cee --- /dev/null +++ b/src/main/java/com/formkiq/client/model/Activity.java @@ -0,0 +1,626 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.ActivityStatus; +import com.formkiq.client.model.UserActivityChanges; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * Activity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class Activity { + public static final String SERIALIZED_NAME_RESOURCE = "resource"; + @SerializedName(SERIALIZED_NAME_RESOURCE) + @javax.annotation.Nullable + private String resource; + + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + @javax.annotation.Nullable + private String type; + + public static final String SERIALIZED_NAME_SOURCE = "source"; + @SerializedName(SERIALIZED_NAME_SOURCE) + @javax.annotation.Nullable + private String source; + + public static final String SERIALIZED_NAME_SOURCE_IP_ADDRESS = "sourceIpAddress"; + @SerializedName(SERIALIZED_NAME_SOURCE_IP_ADDRESS) + @javax.annotation.Nullable + private String sourceIpAddress; + + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) + @javax.annotation.Nullable + private String message; + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + @javax.annotation.Nullable + private ActivityStatus status; + + public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; + @SerializedName(SERIALIZED_NAME_INSERTED_DATE) + @javax.annotation.Nullable + private String insertedDate; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + @javax.annotation.Nullable + private String userId; + + public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; + @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) + @javax.annotation.Nullable + private Object documentId = null; + + public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) + @javax.annotation.Nullable + private Object attributeKey = null; + + public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) + @javax.annotation.Nullable + private String entityTypeId; + + public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; + @SerializedName(SERIALIZED_NAME_ENTITY_ID) + @javax.annotation.Nullable + private String entityId; + + public static final String SERIALIZED_NAME_CHANGES = "changes"; + @SerializedName(SERIALIZED_NAME_CHANGES) + @javax.annotation.Nullable + private Map changes = new HashMap<>(); + + public Activity() {} + + public Activity resource(@javax.annotation.Nullable String resource) { + this.resource = resource; + return this; + } + + /** + * Resource of Activity + * + * @return resource + */ + @javax.annotation.Nullable + public String getResource() { + return resource; + } + + public void setResource(@javax.annotation.Nullable String resource) { + this.resource = resource; + } + + + public Activity type(@javax.annotation.Nullable String type) { + this.type = type; + return this; + } + + /** + * Type of Activity + * + * @return type + */ + @javax.annotation.Nullable + public String getType() { + return type; + } + + public void setType(@javax.annotation.Nullable String type) { + this.type = type; + } + + + public Activity source(@javax.annotation.Nullable String source) { + this.source = source; + return this; + } + + /** + * The Source of the activity + * + * @return source + */ + @javax.annotation.Nullable + public String getSource() { + return source; + } + + public void setSource(@javax.annotation.Nullable String source) { + this.source = source; + } + + + public Activity sourceIpAddress(@javax.annotation.Nullable String sourceIpAddress) { + this.sourceIpAddress = sourceIpAddress; + return this; + } + + /** + * The Source IP address of the user + * + * @return sourceIpAddress + */ + @javax.annotation.Nullable + public String getSourceIpAddress() { + return sourceIpAddress; + } + + public void setSourceIpAddress(@javax.annotation.Nullable String sourceIpAddress) { + this.sourceIpAddress = sourceIpAddress; + } + + + public Activity message(@javax.annotation.Nullable String message) { + this.message = message; + return this; + } + + /** + * The activity message + * + * @return message + */ + @javax.annotation.Nullable + public String getMessage() { + return message; + } + + public void setMessage(@javax.annotation.Nullable String message) { + this.message = message; + } + + + public Activity status(@javax.annotation.Nullable ActivityStatus status) { + this.status = status; + return this; + } + + /** + * Get status + * + * @return status + */ + @javax.annotation.Nullable + public ActivityStatus getStatus() { + return status; + } + + public void setStatus(@javax.annotation.Nullable ActivityStatus status) { + this.status = status; + } + + + public Activity insertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + return this; + } + + /** + * Inserted Timestamp + * + * @return insertedDate + */ + @javax.annotation.Nullable + public String getInsertedDate() { + return insertedDate; + } + + public void setInsertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + } + + + public Activity userId(@javax.annotation.Nullable String userId) { + this.userId = userId; + return this; + } + + /** + * User who added document + * + * @return userId + */ + @javax.annotation.Nullable + public String getUserId() { + return userId; + } + + public void setUserId(@javax.annotation.Nullable String userId) { + this.userId = userId; + } + + + public Activity documentId(@javax.annotation.Nullable Object documentId) { + this.documentId = documentId; + return this; + } + + /** + * Document Identifier + * + * @return documentId + */ + @javax.annotation.Nullable + public Object getDocumentId() { + return documentId; + } + + public void setDocumentId(@javax.annotation.Nullable Object documentId) { + this.documentId = documentId; + } + + + public Activity attributeKey(@javax.annotation.Nullable Object attributeKey) { + this.attributeKey = attributeKey; + return this; + } + + /** + * Document Attribute Key + * + * @return attributeKey + */ + @javax.annotation.Nullable + public Object getAttributeKey() { + return attributeKey; + } + + public void setAttributeKey(@javax.annotation.Nullable Object attributeKey) { + this.attributeKey = attributeKey; + } + + + public Activity entityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + return this; + } + + /** + * Entity Type Identifier + * + * @return entityTypeId + */ + @javax.annotation.Nullable + public String getEntityTypeId() { + return entityTypeId; + } + + public void setEntityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + } + + + public Activity entityId(@javax.annotation.Nullable String entityId) { + this.entityId = entityId; + return this; + } + + /** + * Entity Identifier + * + * @return entityId + */ + @javax.annotation.Nullable + public String getEntityId() { + return entityId; + } + + public void setEntityId(@javax.annotation.Nullable String entityId) { + this.entityId = entityId; + } + + + public Activity changes(@javax.annotation.Nullable Map changes) { + this.changes = changes; + return this; + } + + public Activity putChangesItem(String key, UserActivityChanges changesItem) { + if (this.changes == null) { + this.changes = new HashMap<>(); + } + this.changes.put(key, changesItem); + return this; + } + + /** + * Get changes + * + * @return changes + */ + @javax.annotation.Nullable + public Map getChanges() { + return changes; + } + + public void setChanges(@javax.annotation.Nullable Map changes) { + this.changes = changes; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Activity activity = (Activity) o; + return Objects.equals(this.resource, activity.resource) + && Objects.equals(this.type, activity.type) && Objects.equals(this.source, activity.source) + && Objects.equals(this.sourceIpAddress, activity.sourceIpAddress) + && Objects.equals(this.message, activity.message) + && Objects.equals(this.status, activity.status) + && Objects.equals(this.insertedDate, activity.insertedDate) + && Objects.equals(this.userId, activity.userId) + && Objects.equals(this.documentId, activity.documentId) + && Objects.equals(this.attributeKey, activity.attributeKey) + && Objects.equals(this.entityTypeId, activity.entityTypeId) + && Objects.equals(this.entityId, activity.entityId) + && Objects.equals(this.changes, activity.changes); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() + && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(resource, type, source, sourceIpAddress, message, status, insertedDate, + userId, documentId, attributeKey, entityTypeId, entityId, changes); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[] {a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Activity {\n"); + sb.append(" resource: ").append(toIndentedString(resource)).append("\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" source: ").append(toIndentedString(source)).append("\n"); + sb.append(" sourceIpAddress: ").append(toIndentedString(sourceIpAddress)).append("\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append(" insertedDate: ").append(toIndentedString(insertedDate)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" documentId: ").append(toIndentedString(documentId)).append("\n"); + sb.append(" attributeKey: ").append(toIndentedString(attributeKey)).append("\n"); + sb.append(" entityTypeId: ").append(toIndentedString(entityTypeId)).append("\n"); + sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n"); + sb.append(" changes: ").append(toIndentedString(changes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("resource", "type", "source", + "sourceIpAddress", "message", "status", "insertedDate", "userId", "documentId", + "attributeKey", "entityTypeId", "entityId", "changes")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Activity + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!Activity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Activity is not found in the empty JSON string", + Activity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!Activity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `Activity` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("resource") != null && !jsonObj.get("resource").isJsonNull()) + && !jsonObj.get("resource").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `resource` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("resource").toString())); + } + if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) + && !jsonObj.get("type").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `type` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("type").toString())); + } + if ((jsonObj.get("source") != null && !jsonObj.get("source").isJsonNull()) + && !jsonObj.get("source").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `source` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("source").toString())); + } + if ((jsonObj.get("sourceIpAddress") != null && !jsonObj.get("sourceIpAddress").isJsonNull()) + && !jsonObj.get("sourceIpAddress").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `sourceIpAddress` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("sourceIpAddress").toString())); + } + if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) + && !jsonObj.get("message").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `message` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("message").toString())); + } + // validate the optional field `status` + if (jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) { + ActivityStatus.validateJsonElement(jsonObj.get("status")); + } + if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) + && !jsonObj.get("insertedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("insertedDate").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) + && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("userId").toString())); + } + if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) + && !jsonObj.get("entityTypeId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityTypeId").toString())); + } + if ((jsonObj.get("entityId") != null && !jsonObj.get("entityId").isJsonNull()) + && !jsonObj.get("entityId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Activity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Activity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(Activity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Activity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Activity read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Activity given an JSON string + * + * @param jsonString JSON string + * @return An instance of Activity + * @throws IOException if the JSON string is invalid with respect to Activity + */ + public static Activity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Activity.class); + } + + /** + * Convert an instance of Activity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/ActivityStatus.java b/src/main/java/com/formkiq/client/model/ActivityStatus.java new file mode 100644 index 000000000..6ff5a593b --- /dev/null +++ b/src/main/java/com/formkiq/client/model/ActivityStatus.java @@ -0,0 +1,90 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * The status of the activity + */ +@JsonAdapter(ActivityStatus.Adapter.class) +public enum ActivityStatus { + + COMPLETE("COMPLETE"), + + FAILED("FAILED"), + + UNAUTHORIZED("UNAUTHORIZED"); + + private String value; + + ActivityStatus(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static ActivityStatus fromValue(String value) { + for (ActivityStatus b : ActivityStatus.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final ActivityStatus enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public ActivityStatus read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return ActivityStatus.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + ActivityStatus.fromValue(value); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddAction.java b/src/main/java/com/formkiq/client/model/AddAction.java index e61733ba9..a5e00c489 100644 --- a/src/main/java/com/formkiq/client/model/AddAction.java +++ b/src/main/java/com/formkiq/client/model/AddAction.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddActionParameters; import com.formkiq.client.model.DocumentActionType; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddAction */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddAction { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -185,14 +187,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("parameters"); - openapiFields.add("queueId"); + openapiFields = new HashSet(Arrays.asList("type", "parameters", "queueId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("type"); + openapiRequiredFields = new HashSet(Arrays.asList("type")); } /** @@ -205,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddAction.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddAction is not found in the empty JSON string", AddAction.openapiRequiredFields.toString())); } @@ -215,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddAction.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddAction` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -224,9 +222,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddAction.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -238,7 +236,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("queueId") != null && !jsonObj.get("queueId").isJsonNull()) && !jsonObj.get("queueId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queueId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("queueId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddActionParameters.java b/src/main/java/com/formkiq/client/model/AddActionParameters.java index 0cf6b8808..5b8572544 100644 --- a/src/main/java/com/formkiq/client/model/AddActionParameters.java +++ b/src/main/java/com/formkiq/client/model/AddActionParameters.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,15 +21,19 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OcrEngine; import com.formkiq.client.model.OcrOutputType; +import com.formkiq.client.model.TextractQuery; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -51,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,9 +63,14 @@ * AddActionParameters */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddActionParameters { + public static final String SERIALIZED_NAME_OCR_TEXTRACT_QUERIES = "ocrTextractQueries"; + @SerializedName(SERIALIZED_NAME_OCR_TEXTRACT_QUERIES) + @javax.annotation.Nullable + private List ocrTextractQueries = new ArrayList<>(); + public static final String SERIALIZED_NAME_OCR_PARSE_TYPES = "ocrParseTypes"; @SerializedName(SERIALIZED_NAME_OCR_PARSE_TYPES) @javax.annotation.Nullable @@ -87,6 +97,11 @@ public class AddActionParameters { @javax.annotation.Nullable private String addPdfDetectedCharactersAsText; + public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; + @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) + @javax.annotation.Nullable + private String llmPromptEntityName; + public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) @javax.annotation.Nullable @@ -249,15 +264,65 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti @javax.annotation.Nullable private String eventBusName; + public static final String SERIALIZED_NAME_WIDTH = "width"; + @SerializedName(SERIALIZED_NAME_WIDTH) + @javax.annotation.Nullable + private String width; + + public static final String SERIALIZED_NAME_HEIGHT = "height"; + @SerializedName(SERIALIZED_NAME_HEIGHT) + @javax.annotation.Nullable + private String height; + + public static final String SERIALIZED_NAME_PATH = "path"; + @SerializedName(SERIALIZED_NAME_PATH) + @javax.annotation.Nullable + private String path; + + public static final String SERIALIZED_NAME_OUTPUT_TYPE = "outputType"; + @SerializedName(SERIALIZED_NAME_OUTPUT_TYPE) + @javax.annotation.Nullable + private String outputType; + public AddActionParameters() {} + public AddActionParameters ocrTextractQueries( + @javax.annotation.Nullable List ocrTextractQueries) { + this.ocrTextractQueries = ocrTextractQueries; + return this; + } + + public AddActionParameters addOcrTextractQueriesItem(TextractQuery ocrTextractQueriesItem) { + if (this.ocrTextractQueries == null) { + this.ocrTextractQueries = new ArrayList<>(); + } + this.ocrTextractQueries.add(ocrTextractQueriesItem); + return this; + } + + /** + * Get ocrTextractQueries + * + * @return ocrTextractQueries + */ + @javax.annotation.Nullable + public List getOcrTextractQueries() { + return ocrTextractQueries; + } + + public void setOcrTextractQueries( + @javax.annotation.Nullable List ocrTextractQueries) { + this.ocrTextractQueries = ocrTextractQueries; + } + + public AddActionParameters ocrParseTypes(@javax.annotation.Nullable String ocrParseTypes) { this.ocrParseTypes = ocrParseTypes; return this; } /** - * OCR: Parse types - TEXT, FORMS, TABLES + * OCR: Parse types - TEXT, FORMS, TABLES, QUERIES (must include ocrTextractQueries) * * @return ocrParseTypes */ @@ -353,6 +418,27 @@ public void setAddPdfDetectedCharactersAsText( } + public AddActionParameters llmPromptEntityName( + @javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + return this; + } + + /** + * DATA_CLASSIFICATION: Set the LLM Prompt Entity Name + * + * @return llmPromptEntityName + */ + @javax.annotation.Nullable + public String getLlmPromptEntityName() { + return llmPromptEntityName; + } + + public void setLlmPromptEntityName(@javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + } + + public AddActionParameters url(@javax.annotation.Nullable String url) { this.url = url; return this; @@ -597,6 +683,86 @@ public void setEventBusName(@javax.annotation.Nullable String eventBusName) { } + public AddActionParameters width(@javax.annotation.Nullable String width) { + this.width = width; + return this; + } + + /** + * The width of the image to resize (or 'auto') + * + * @return width + */ + @javax.annotation.Nullable + public String getWidth() { + return width; + } + + public void setWidth(@javax.annotation.Nullable String width) { + this.width = width; + } + + + public AddActionParameters height(@javax.annotation.Nullable String height) { + this.height = height; + return this; + } + + /** + * The height of the image to resize (or 'auto') + * + * @return height + */ + @javax.annotation.Nullable + public String getHeight() { + return height; + } + + public void setHeight(@javax.annotation.Nullable String height) { + this.height = height; + } + + + public AddActionParameters path(@javax.annotation.Nullable String path) { + this.path = path; + return this; + } + + /** + * The path to use when creating resized document (optional) + * + * @return path + */ + @javax.annotation.Nullable + public String getPath() { + return path; + } + + public void setPath(@javax.annotation.Nullable String path) { + this.path = path; + } + + + public AddActionParameters outputType(@javax.annotation.Nullable String outputType) { + this.outputType = outputType; + return this; + } + + /** + * The output type of the image + * + * @return outputType + */ + @javax.annotation.Nullable + public String getOutputType() { + return outputType; + } + + public void setOutputType(@javax.annotation.Nullable String outputType) { + this.outputType = outputType; + } + + @Override public boolean equals(Object o) { @@ -607,12 +773,14 @@ public boolean equals(Object o) { return false; } AddActionParameters addActionParameters = (AddActionParameters) o; - return Objects.equals(this.ocrParseTypes, addActionParameters.ocrParseTypes) + return Objects.equals(this.ocrTextractQueries, addActionParameters.ocrTextractQueries) + && Objects.equals(this.ocrParseTypes, addActionParameters.ocrParseTypes) && Objects.equals(this.ocrEngine, addActionParameters.ocrEngine) && Objects.equals(this.ocrOutputType, addActionParameters.ocrOutputType) && Objects.equals(this.ocrNumberOfPages, addActionParameters.ocrNumberOfPages) && Objects.equals(this.addPdfDetectedCharactersAsText, addActionParameters.addPdfDetectedCharactersAsText) + && Objects.equals(this.llmPromptEntityName, addActionParameters.llmPromptEntityName) && Objects.equals(this.url, addActionParameters.url) && Objects.equals(this.characterMax, addActionParameters.characterMax) && Objects.equals(this.engine, addActionParameters.engine) @@ -624,27 +792,35 @@ public boolean equals(Object o) { && Objects.equals(this.notificationHtml, addActionParameters.notificationHtml) && Objects.equals(this.tags, addActionParameters.tags) && Objects.equals(this.mappingId, addActionParameters.mappingId) - && Objects.equals(this.eventBusName, addActionParameters.eventBusName); + && Objects.equals(this.eventBusName, addActionParameters.eventBusName) + && Objects.equals(this.width, addActionParameters.width) + && Objects.equals(this.height, addActionParameters.height) + && Objects.equals(this.path, addActionParameters.path) + && Objects.equals(this.outputType, addActionParameters.outputType); } @Override public int hashCode() { - return Objects.hash(ocrParseTypes, ocrEngine, ocrOutputType, ocrNumberOfPages, - addPdfDetectedCharactersAsText, url, characterMax, engine, notificationType, - notificationToCc, notificationToBcc, notificationSubject, notificationText, - notificationHtml, tags, mappingId, eventBusName); + return Objects.hash(ocrTextractQueries, ocrParseTypes, ocrEngine, ocrOutputType, + ocrNumberOfPages, addPdfDetectedCharactersAsText, llmPromptEntityName, url, characterMax, + engine, notificationType, notificationToCc, notificationToBcc, notificationSubject, + notificationText, notificationHtml, tags, mappingId, eventBusName, width, height, path, + outputType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AddActionParameters {\n"); + sb.append(" ocrTextractQueries: ").append(toIndentedString(ocrTextractQueries)).append("\n"); sb.append(" ocrParseTypes: ").append(toIndentedString(ocrParseTypes)).append("\n"); sb.append(" ocrEngine: ").append(toIndentedString(ocrEngine)).append("\n"); sb.append(" ocrOutputType: ").append(toIndentedString(ocrOutputType)).append("\n"); sb.append(" ocrNumberOfPages: ").append(toIndentedString(ocrNumberOfPages)).append("\n"); sb.append(" addPdfDetectedCharactersAsText: ") .append(toIndentedString(addPdfDetectedCharactersAsText)).append("\n"); + sb.append(" llmPromptEntityName: ").append(toIndentedString(llmPromptEntityName)) + .append("\n"); sb.append(" url: ").append(toIndentedString(url)).append("\n"); sb.append(" characterMax: ").append(toIndentedString(characterMax)).append("\n"); sb.append(" engine: ").append(toIndentedString(engine)).append("\n"); @@ -658,6 +834,10 @@ public String toString() { sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" mappingId: ").append(toIndentedString(mappingId)).append("\n"); sb.append(" eventBusName: ").append(toIndentedString(eventBusName)).append("\n"); + sb.append(" width: ").append(toIndentedString(width)).append("\n"); + sb.append(" height: ").append(toIndentedString(height)).append("\n"); + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append(" outputType: ").append(toIndentedString(outputType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -678,27 +858,15 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ocrParseTypes"); - openapiFields.add("ocrEngine"); - openapiFields.add("ocrOutputType"); - openapiFields.add("ocrNumberOfPages"); - openapiFields.add("addPdfDetectedCharactersAsText"); - openapiFields.add("url"); - openapiFields.add("characterMax"); - openapiFields.add("engine"); - openapiFields.add("notificationType"); - openapiFields.add("notificationToCc"); - openapiFields.add("notificationToBcc"); - openapiFields.add("notificationSubject"); - openapiFields.add("notificationText"); - openapiFields.add("notificationHtml"); - openapiFields.add("tags"); - openapiFields.add("mappingId"); - openapiFields.add("eventBusName"); + openapiFields = new HashSet( + Arrays.asList("ocrTextractQueries", "ocrParseTypes", "ocrEngine", "ocrOutputType", + "ocrNumberOfPages", "addPdfDetectedCharactersAsText", "llmPromptEntityName", "url", + "characterMax", "engine", "notificationType", "notificationToCc", "notificationToBcc", + "notificationSubject", "notificationText", "notificationHtml", "tags", "mappingId", + "eventBusName", "width", "height", "path", "outputType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -711,7 +879,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddActionParameters.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddActionParameters is not found in the empty JSON string", AddActionParameters.openapiRequiredFields.toString())); } @@ -721,15 +889,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddActionParameters.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddActionParameters` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("ocrTextractQueries") != null + && !jsonObj.get("ocrTextractQueries").isJsonNull()) { + JsonArray jsonArrayocrTextractQueries = jsonObj.getAsJsonArray("ocrTextractQueries"); + if (jsonArrayocrTextractQueries != null) { + // ensure the json data is an array + if (!jsonObj.get("ocrTextractQueries").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `ocrTextractQueries` to be an array in the JSON string but got `%s`", + jsonObj.get("ocrTextractQueries").toString())); + } + + // validate the optional field `ocrTextractQueries` (array) + for (int i = 0; i < jsonArrayocrTextractQueries.size(); i++) { + TextractQuery.validateJsonElement(jsonArrayocrTextractQueries.get(i)); + } ; + } + } if ((jsonObj.get("ocrParseTypes") != null && !jsonObj.get("ocrParseTypes").isJsonNull()) && !jsonObj.get("ocrParseTypes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ocrParseTypes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrParseTypes").toString())); } @@ -743,32 +928,39 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("ocrNumberOfPages") != null && !jsonObj.get("ocrNumberOfPages").isJsonNull()) && !jsonObj.get("ocrNumberOfPages").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ocrNumberOfPages` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrNumberOfPages").toString())); } if ((jsonObj.get("addPdfDetectedCharactersAsText") != null && !jsonObj.get("addPdfDetectedCharactersAsText").isJsonNull()) && !jsonObj.get("addPdfDetectedCharactersAsText").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `addPdfDetectedCharactersAsText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("addPdfDetectedCharactersAsText").toString())); } + if ((jsonObj.get("llmPromptEntityName") != null + && !jsonObj.get("llmPromptEntityName").isJsonNull()) + && !jsonObj.get("llmPromptEntityName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `llmPromptEntityName` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("llmPromptEntityName").toString())); + } if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull()) && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); } if ((jsonObj.get("characterMax") != null && !jsonObj.get("characterMax").isJsonNull()) && !jsonObj.get("characterMax").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `characterMax` to be a primitive type in the JSON string but got `%s`", jsonObj.get("characterMax").toString())); } if ((jsonObj.get("engine") != null && !jsonObj.get("engine").isJsonNull()) && !jsonObj.get("engine").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `engine` to be a primitive type in the JSON string but got `%s`", jsonObj.get("engine").toString())); } @@ -778,7 +970,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("notificationType") != null && !jsonObj.get("notificationType").isJsonNull()) && !jsonObj.get("notificationType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationType").toString())); } @@ -788,53 +980,77 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("notificationToCc") != null && !jsonObj.get("notificationToCc").isJsonNull()) && !jsonObj.get("notificationToCc").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationToCc` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationToCc").toString())); } if ((jsonObj.get("notificationToBcc") != null && !jsonObj.get("notificationToBcc").isJsonNull()) && !jsonObj.get("notificationToBcc").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationToBcc` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationToBcc").toString())); } if ((jsonObj.get("notificationSubject") != null && !jsonObj.get("notificationSubject").isJsonNull()) && !jsonObj.get("notificationSubject").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationSubject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationSubject").toString())); } if ((jsonObj.get("notificationText") != null && !jsonObj.get("notificationText").isJsonNull()) && !jsonObj.get("notificationText").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationText` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationText").toString())); } if ((jsonObj.get("notificationHtml") != null && !jsonObj.get("notificationHtml").isJsonNull()) && !jsonObj.get("notificationHtml").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationHtml` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationHtml").toString())); } if ((jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonNull()) && !jsonObj.get("tags").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tags").toString())); } if ((jsonObj.get("mappingId") != null && !jsonObj.get("mappingId").isJsonNull()) && !jsonObj.get("mappingId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `mappingId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mappingId").toString())); } if ((jsonObj.get("eventBusName") != null && !jsonObj.get("eventBusName").isJsonNull()) && !jsonObj.get("eventBusName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eventBusName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eventBusName").toString())); } + if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) + && !jsonObj.get("width").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `width` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("width").toString())); + } + if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) + && !jsonObj.get("height").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `height` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("height").toString())); + } + if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) + && !jsonObj.get("path").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `path` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("path").toString())); + } + if ((jsonObj.get("outputType") != null && !jsonObj.get("outputType").isJsonNull()) + && !jsonObj.get("outputType").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `outputType` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("outputType").toString())); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java b/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java index 4ea8ca783..34aef89df 100644 --- a/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java +++ b/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddApiKeyRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddApiKeyRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -224,12 +226,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("permissions"); + openapiFields = new HashSet(Arrays.asList("name", "permissions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -242,7 +242,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddApiKeyRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddApiKeyRequest is not found in the empty JSON string", AddApiKeyRequest.openapiRequiredFields.toString())); } @@ -252,7 +252,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddApiKeyRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddApiKeyRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -260,14 +260,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java b/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java index 3a98321b0..ca6038781 100644 --- a/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java +++ b/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddApiKeyResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddApiKeyResponse { public static final String SERIALIZED_NAME_API_KEY = "apiKey"; @SerializedName(SERIALIZED_NAME_API_KEY) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("apiKey"); + openapiFields = new HashSet(Arrays.asList("apiKey")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddApiKeyResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddApiKeyResponse is not found in the empty JSON string", AddApiKeyResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddApiKeyResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddApiKeyResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("apiKey") != null && !jsonObj.get("apiKey").isJsonNull()) && !jsonObj.get("apiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `apiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddAttribute.java b/src/main/java/com/formkiq/client/model/AddAttribute.java index 5b043740c..542fb992b 100644 --- a/src/main/java/com/formkiq/client/model/AddAttribute.java +++ b/src/main/java/com/formkiq/client/model/AddAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AttributeDataType; import com.formkiq.client.model.AttributeType; import com.formkiq.client.model.Watermark; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -213,15 +215,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("dataType"); - openapiFields.add("type"); - openapiFields.add("watermark"); + openapiFields = new HashSet(Arrays.asList("key", "dataType", "type", "watermark")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -234,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddAttribute is not found in the empty JSON string", AddAttribute.openapiRequiredFields.toString())); } @@ -244,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -253,14 +250,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddAttribute.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddAttributeRequest.java b/src/main/java/com/formkiq/client/model/AddAttributeRequest.java index 0d006f04e..dfec4fc0d 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/AddAttributeRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddAttributeRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddAttributeRequest { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attribute"); + openapiFields = new HashSet(Arrays.asList("attribute")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("attribute"); + openapiRequiredFields = new HashSet(Arrays.asList("attribute")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddAttributeRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddAttributeRequest is not found in the empty JSON string", AddAttributeRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddAttributeRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddAttributeRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddAttributeRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java b/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java index e346b7c6d..9a592cc18 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java +++ b/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddAttributeSchemaOptional */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddAttributeSchemaOptional { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -224,14 +226,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("minNumberOfValues"); - openapiFields.add("maxNumberOfValues"); - openapiFields.add("attributeKey"); - openapiFields.add("allowedValues"); + openapiFields = new HashSet( + Arrays.asList("minNumberOfValues", "maxNumberOfValues", "attributeKey", "allowedValues")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -244,7 +243,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddAttributeSchemaOptional.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddAttributeSchemaOptional is not found in the empty JSON string", AddAttributeSchemaOptional.openapiRequiredFields.toString())); } @@ -254,7 +253,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddAttributeSchemaOptional.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddAttributeSchemaOptional` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -262,14 +261,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull() && !jsonObj.get("allowedValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValues` to be an array in the JSON string but got `%s`", jsonObj.get("allowedValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java b/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java index 3d024b6ff..53158bbc6 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java +++ b/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddAttributeSchemaRequired */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddAttributeSchemaRequired { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -288,16 +290,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("minNumberOfValues"); - openapiFields.add("maxNumberOfValues"); - openapiFields.add("attributeKey"); - openapiFields.add("defaultValue"); - openapiFields.add("defaultValues"); - openapiFields.add("allowedValues"); + openapiFields = new HashSet(Arrays.asList("minNumberOfValues", "maxNumberOfValues", + "attributeKey", "defaultValue", "defaultValues", "allowedValues")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -310,7 +307,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddAttributeSchemaRequired.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddAttributeSchemaRequired is not found in the empty JSON string", AddAttributeSchemaRequired.openapiRequiredFields.toString())); } @@ -320,7 +317,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddAttributeSchemaRequired.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddAttributeSchemaRequired` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -328,27 +325,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } if ((jsonObj.get("defaultValue") != null && !jsonObj.get("defaultValue").isJsonNull()) && !jsonObj.get("defaultValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `defaultValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("defaultValue").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("defaultValues") != null && !jsonObj.get("defaultValues").isJsonNull() && !jsonObj.get("defaultValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `defaultValues` to be an array in the JSON string but got `%s`", jsonObj.get("defaultValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull() && !jsonObj.get("allowedValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValues` to be an array in the JSON string but got `%s`", jsonObj.get("allowedValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddCase.java b/src/main/java/com/formkiq/client/model/AddCase.java index edc936edf..73a75506a 100644 --- a/src/main/java/com/formkiq/client/model/AddCase.java +++ b/src/main/java/com/formkiq/client/model/AddCase.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.CaseStatus; import com.formkiq.client.model.StringFormat; import com.google.gson.TypeAdapter; @@ -55,6 +56,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +64,8 @@ * AddCase */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddCase { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -440,22 +442,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("status"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("description"); - openapiFields.add("documentNumberFormat"); - openapiFields.add("caseNumberFormat"); - openapiFields.add("metadata"); - openapiFields.add("documentIds"); + openapiFields = new HashSet( + Arrays.asList("name", "status", "plannedStartDate", "startDate", "endDate", "dueDate", + "description", "documentNumberFormat", "caseNumberFormat", "metadata", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields = new HashSet(Arrays.asList("name")); } /** @@ -468,7 +460,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddCase.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddCase is not found in the empty JSON string", AddCase.openapiRequiredFields.toString())); } @@ -478,7 +470,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddCase.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddCase` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -487,14 +479,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddCase.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } @@ -504,31 +496,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -538,7 +530,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocumentNumberFormat != null) { // ensure the json data is an array if (!jsonObj.get("documentNumberFormat").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentNumberFormat` to be an array in the JSON string but got `%s`", jsonObj.get("documentNumberFormat").toString())); } @@ -554,7 +546,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycaseNumberFormat != null) { // ensure the json data is an array if (!jsonObj.get("caseNumberFormat").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `caseNumberFormat` to be an array in the JSON string but got `%s`", jsonObj.get("caseNumberFormat").toString())); } @@ -568,7 +560,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddCaseRequest.java b/src/main/java/com/formkiq/client/model/AddCaseRequest.java index 38a101627..769a01c53 100644 --- a/src/main/java/com/formkiq/client/model/AddCaseRequest.java +++ b/src/main/java/com/formkiq/client/model/AddCaseRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddCase; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddCaseRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddCaseRequest { public static final String SERIALIZED_NAME_CASE = "case"; @SerializedName(SERIALIZED_NAME_CASE) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("case"); + openapiFields = new HashSet(Arrays.asList("case")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("case"); + openapiRequiredFields = new HashSet(Arrays.asList("case")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddCaseRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddCaseRequest is not found in the empty JSON string", AddCaseRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddCaseRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddCaseRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddCaseRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddCaseResponse.java b/src/main/java/com/formkiq/client/model/AddCaseResponse.java index c005c78eb..19a9313cc 100644 --- a/src/main/java/com/formkiq/client/model/AddCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/AddCaseResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddCaseResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddCaseResponse { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("caseId"); + openapiFields = new HashSet(Arrays.asList("caseId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddCaseResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddCaseResponse is not found in the empty JSON string", AddCaseResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddCaseResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddCaseResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("caseId") != null && !jsonObj.get("caseId").isJsonNull()) && !jsonObj.get("caseId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `caseId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("caseId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddChildDocument.java b/src/main/java/com/formkiq/client/model/AddChildDocument.java index 07ed5bc59..3f3235224 100644 --- a/src/main/java/com/formkiq/client/model/AddChildDocument.java +++ b/src/main/java/com/formkiq/client/model/AddChildDocument.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentMetadata; import com.formkiq.client.model.AddDocumentTag; import com.formkiq.client.model.ChecksumType; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * List of related documents */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddChildDocument { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -421,22 +423,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("contentType"); - openapiFields.add("checksumType"); - openapiFields.add("checksum"); - openapiFields.add("isBase64"); - openapiFields.add("content"); - openapiFields.add("tags"); - openapiFields.add("metadata"); + openapiFields = new HashSet(Arrays.asList("path", "width", "height", "deepLinkPath", + "contentType", "checksumType", "checksum", "isBase64", "content", "tags", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("content"); + openapiRequiredFields = new HashSet(Arrays.asList("content")); } /** @@ -449,7 +440,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddChildDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddChildDocument is not found in the empty JSON string", AddChildDocument.openapiRequiredFields.toString())); } @@ -459,7 +450,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddChildDocument.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddChildDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -468,39 +459,39 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddChildDocument.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } @@ -510,12 +501,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } if (!jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } @@ -524,7 +515,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -540,7 +531,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java b/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java index 4aa1352e5..bdb7bd742 100644 --- a/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddChildDocumentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddChildDocumentResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -193,13 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("uploadUrl"); - openapiFields.add("headers"); + openapiFields = new HashSet(Arrays.asList("documentId", "uploadUrl", "headers")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -212,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddChildDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddChildDocumentResponse is not found in the empty JSON string", AddChildDocumentResponse.openapiRequiredFields.toString())); } @@ -222,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddChildDocumentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddChildDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +229,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("uploadUrl") != null && !jsonObj.get("uploadUrl").isJsonNull()) && !jsonObj.get("uploadUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `uploadUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uploadUrl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddClassification.java b/src/main/java/com/formkiq/client/model/AddClassification.java index c92927318..d2d386ffb 100644 --- a/src/main/java/com/formkiq/client/model/AddClassification.java +++ b/src/main/java/com/formkiq/client/model/AddClassification.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SetSchemaAttributes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddClassification */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddClassification { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -157,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -175,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddClassification.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddClassification is not found in the empty JSON string", AddClassification.openapiRequiredFields.toString())); } @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddClassification.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddClassification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -193,7 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddClassificationRequest.java b/src/main/java/com/formkiq/client/model/AddClassificationRequest.java index 509f42c8f..c40ef6214 100644 --- a/src/main/java/com/formkiq/client/model/AddClassificationRequest.java +++ b/src/main/java/com/formkiq/client/model/AddClassificationRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddClassification; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddClassificationRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddClassificationRequest { public static final String SERIALIZED_NAME_CLASSIFICATION = "classification"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("classification"); + openapiFields = new HashSet(Arrays.asList("classification")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddClassificationRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddClassificationRequest is not found in the empty JSON string", AddClassificationRequest.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddClassificationRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddClassificationRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddClassificationResponse.java b/src/main/java/com/formkiq/client/model/AddClassificationResponse.java index 31b912d4b..5370bf733 100644 --- a/src/main/java/com/formkiq/client/model/AddClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/AddClassificationResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddClassificationResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddClassificationResponse { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("classificationId"); + openapiFields = new HashSet(Arrays.asList("classificationId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddClassificationResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddClassificationResponse is not found in the empty JSON string", AddClassificationResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddClassificationResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddClassificationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -165,7 +166,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("classificationId") != null && !jsonObj.get("classificationId").isJsonNull()) && !jsonObj.get("classificationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("classificationId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java index 5050c461c..054bd501b 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAction; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddDocumentActionsRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentActionsRequest { public static final String SERIALIZED_NAME_ACTIONS = "actions"; @SerializedName(SERIALIZED_NAME_ACTIONS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("actions"); + openapiFields = new HashSet(Arrays.asList("actions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentActionsRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentActionsRequest is not found in the empty JSON string", AddDocumentActionsRequest.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentActionsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentActionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactions != null) { // ensure the json data is an array if (!jsonObj.get("actions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `actions` to be an array in the JSON string but got `%s`", jsonObj.get("actions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java index ac29a5f98..b0c412cb3 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentActionsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentActionsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentActionsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentActionsResponse is not found in the empty JSON string", AddDocumentActionsResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentActionsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentActionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java index d56900a67..2b4a3ecb5 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentActionsRetryResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentActionsRetryResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentActionsRetryResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentActionsRetryResponse is not found in the empty JSON string", AddDocumentActionsRetryResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentActionsRetryResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentActionsRetryResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java b/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java index d60e2990b..c9a004e40 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,10 +21,13 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentAttributeClassification; +import com.formkiq.client.model.AddDocumentAttributeEntity; import com.formkiq.client.model.AddDocumentAttributeRelationship; import com.formkiq.client.model.AddDocumentAttributeStandard; import com.formkiq.client.model.DocumentRelationshipType; +import com.formkiq.client.model.EntityTypeNamespace; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -48,6 +51,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Locale; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -72,8 +76,8 @@ import com.formkiq.client.invoker.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentAttribute extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AddDocumentAttribute.class.getName()); @@ -91,6 +95,8 @@ public TypeAdapter create(Gson gson, TypeToken type) { gson.getDelegateAdapter(this, TypeToken.get(AddDocumentAttributeClassification.class)); final TypeAdapter adapterAddDocumentAttributeRelationship = gson.getDelegateAdapter(this, TypeToken.get(AddDocumentAttributeRelationship.class)); + final TypeAdapter adapterAddDocumentAttributeEntity = + gson.getDelegateAdapter(this, TypeToken.get(AddDocumentAttributeEntity.class)); return (TypeAdapter) new TypeAdapter() { @Override @@ -121,8 +127,15 @@ public void write(JsonWriter out, AddDocumentAttribute value) throws IOException elementAdapter.write(out, element); return; } + // check if the actual instance is of the type `AddDocumentAttributeEntity` + if (value.getActualInstance() instanceof AddDocumentAttributeEntity) { + JsonElement element = adapterAddDocumentAttributeEntity + .toJsonTree((AddDocumentAttributeEntity) value.getActualInstance()); + elementAdapter.write(out, element); + return; + } throw new IOException( - "Failed to serialize as the type doesn't match oneOf schemas: AddDocumentAttributeClassification, AddDocumentAttributeRelationship, AddDocumentAttributeStandard"); + "Failed to serialize as the type doesn't match oneOf schemas: AddDocumentAttributeClassification, AddDocumentAttributeEntity, AddDocumentAttributeRelationship, AddDocumentAttributeStandard"); } @Override @@ -143,9 +156,9 @@ public AddDocumentAttribute read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeStandard'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add( - String.format("Deserialization for AddDocumentAttributeStandard failed with `%s`.", - e.getMessage())); + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddDocumentAttributeStandard failed with `%s`.", + e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'AddDocumentAttributeStandard'", e); } @@ -158,7 +171,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeClassification'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddDocumentAttributeClassification failed with `%s`.", e.getMessage())); log.log(Level.FINER, @@ -173,12 +186,27 @@ public AddDocumentAttribute read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeRelationship'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddDocumentAttributeRelationship failed with `%s`.", e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'AddDocumentAttributeRelationship'", e); } + // deserialize AddDocumentAttributeEntity + try { + // validate the JSON object to see if any exception is thrown + AddDocumentAttributeEntity.validateJsonElement(jsonElement); + actualAdapter = adapterAddDocumentAttributeEntity; + match++; + log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeEntity'"); + } catch (Exception e) { + // deserialization failed, continue + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddDocumentAttributeEntity failed with `%s`.", + e.getMessage())); + log.log(Level.FINER, "Input data does not match schema 'AddDocumentAttributeEntity'", + e); + } if (match == 1) { AddDocumentAttribute ret = new AddDocumentAttribute(); @@ -186,7 +214,7 @@ public AddDocumentAttribute read(JsonReader in) throws IOException { return ret; } - throw new IOException(String.format( + throw new IOException(String.format(Locale.ROOT, "Failed deserialization for AddDocumentAttribute: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); } @@ -210,6 +238,7 @@ public AddDocumentAttribute(Object o) { schemas.put("AddDocumentAttributeStandard", AddDocumentAttributeStandard.class); schemas.put("AddDocumentAttributeClassification", AddDocumentAttributeClassification.class); schemas.put("AddDocumentAttributeRelationship", AddDocumentAttributeRelationship.class); + schemas.put("AddDocumentAttributeEntity", AddDocumentAttributeEntity.class); } @Override @@ -220,7 +249,7 @@ public Map> getSchemas() { /** * Set the instance that matches the oneOf child schema, check the instance parameter is valid * against the oneOf child schemas: AddDocumentAttributeClassification, - * AddDocumentAttributeRelationship, AddDocumentAttributeStandard + * AddDocumentAttributeEntity, AddDocumentAttributeRelationship, AddDocumentAttributeStandard * * It could be an instance of the 'oneOf' schemas. */ @@ -241,15 +270,20 @@ public void setActualInstance(Object instance) { return; } + if (instance instanceof AddDocumentAttributeEntity) { + super.setActualInstance(instance); + return; + } + throw new RuntimeException( - "Invalid instance type. Must be AddDocumentAttributeClassification, AddDocumentAttributeRelationship, AddDocumentAttributeStandard"); + "Invalid instance type. Must be AddDocumentAttributeClassification, AddDocumentAttributeEntity, AddDocumentAttributeRelationship, AddDocumentAttributeStandard"); } /** * Get the actual instance, which can be the following: AddDocumentAttributeClassification, - * AddDocumentAttributeRelationship, AddDocumentAttributeStandard + * AddDocumentAttributeEntity, AddDocumentAttributeRelationship, AddDocumentAttributeStandard * - * @return The actual instance (AddDocumentAttributeClassification, + * @return The actual instance (AddDocumentAttributeClassification, AddDocumentAttributeEntity, * AddDocumentAttributeRelationship, AddDocumentAttributeStandard) */ @SuppressWarnings("unchecked") @@ -293,6 +327,17 @@ public AddDocumentAttributeRelationship getAddDocumentAttributeRelationship() return (AddDocumentAttributeRelationship) super.getActualInstance(); } + /** + * Get the actual instance of `AddDocumentAttributeEntity`. If the actual instance is not + * `AddDocumentAttributeEntity`, the ClassCastException will be thrown. + * + * @return The actual instance of `AddDocumentAttributeEntity` + * @throws ClassCastException if the instance is not `AddDocumentAttributeEntity` + */ + public AddDocumentAttributeEntity getAddDocumentAttributeEntity() throws ClassCastException { + return (AddDocumentAttributeEntity) super.getActualInstance(); + } + /** * Validates the JSON Element and throws an exception if issues found * @@ -308,7 +353,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddDocumentAttributeStandard.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddDocumentAttributeStandard failed with `%s`.", e.getMessage())); // continue to the next one } @@ -317,9 +362,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddDocumentAttributeClassification.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add( - String.format("Deserialization for AddDocumentAttributeClassification failed with `%s`.", - e.getMessage())); + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddDocumentAttributeClassification failed with `%s`.", + e.getMessage())); // continue to the next one } // validate the json string with AddDocumentAttributeRelationship @@ -327,14 +372,23 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddDocumentAttributeRelationship.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add( - String.format("Deserialization for AddDocumentAttributeRelationship failed with `%s`.", - e.getMessage())); + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddDocumentAttributeRelationship failed with `%s`.", + e.getMessage())); + // continue to the next one + } + // validate the json string with AddDocumentAttributeEntity + try { + AddDocumentAttributeEntity.validateJsonElement(jsonElement); + validCount++; + } catch (Exception e) { + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddDocumentAttributeEntity failed with `%s`.", e.getMessage())); // continue to the next one } if (validCount != 1) { - throw new IOException(String.format( - "The JSON string is invalid for AddDocumentAttribute with oneOf schemas: AddDocumentAttributeClassification, AddDocumentAttributeRelationship, AddDocumentAttributeStandard. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", + throw new IOException(String.format(Locale.ROOT, + "The JSON string is invalid for AddDocumentAttribute with oneOf schemas: AddDocumentAttributeClassification, AddDocumentAttributeEntity, AddDocumentAttributeRelationship, AddDocumentAttributeStandard. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString())); } } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java index 3cd1bad64..51d642ed9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * Document Classification */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentAttributeClassification { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -132,12 +134,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("classificationId"); + openapiFields = new HashSet(Arrays.asList("classificationId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("classificationId"); + openapiRequiredFields = new HashSet(Arrays.asList("classificationId")); } /** @@ -152,7 +152,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentAttributeClassification.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentAttributeClassification is not found in the empty JSON string", AddDocumentAttributeClassification.openapiRequiredFields.toString())); } @@ -162,7 +162,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentAttributeClassification.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentAttributeClassification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -171,14 +171,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentAttributeClassification.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("classificationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("classificationId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java new file mode 100644 index 000000000..817156617 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java @@ -0,0 +1,329 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.EntityTypeNamespace; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * Document Entity Attribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddDocumentAttributeEntity { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nonnull + private String key; + + public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) + @javax.annotation.Nonnull + private String entityTypeId; + + public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; + @SerializedName(SERIALIZED_NAME_ENTITY_ID) + @javax.annotation.Nonnull + private String entityId; + + public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; + @SerializedName(SERIALIZED_NAME_NAMESPACE) + @javax.annotation.Nullable + private EntityTypeNamespace namespace; + + public AddDocumentAttributeEntity() {} + + public AddDocumentAttributeEntity key(@javax.annotation.Nonnull String key) { + this.key = key; + return this; + } + + /** + * Attribute key + * + * @return key + */ + @javax.annotation.Nonnull + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nonnull String key) { + this.key = key; + } + + + public AddDocumentAttributeEntity entityTypeId(@javax.annotation.Nonnull String entityTypeId) { + this.entityTypeId = entityTypeId; + return this; + } + + /** + * EntityType Identifier or Entity Type Name + * + * @return entityTypeId + */ + @javax.annotation.Nonnull + public String getEntityTypeId() { + return entityTypeId; + } + + public void setEntityTypeId(@javax.annotation.Nonnull String entityTypeId) { + this.entityTypeId = entityTypeId; + } + + + public AddDocumentAttributeEntity entityId(@javax.annotation.Nonnull String entityId) { + this.entityId = entityId; + return this; + } + + /** + * Entity Identifier + * + * @return entityId + */ + @javax.annotation.Nonnull + public String getEntityId() { + return entityId; + } + + public void setEntityId(@javax.annotation.Nonnull String entityId) { + this.entityId = entityId; + } + + + public AddDocumentAttributeEntity namespace( + @javax.annotation.Nullable EntityTypeNamespace namespace) { + this.namespace = namespace; + return this; + } + + /** + * Get namespace + * + * @return namespace + */ + @javax.annotation.Nullable + public EntityTypeNamespace getNamespace() { + return namespace; + } + + public void setNamespace(@javax.annotation.Nullable EntityTypeNamespace namespace) { + this.namespace = namespace; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddDocumentAttributeEntity addDocumentAttributeEntity = (AddDocumentAttributeEntity) o; + return Objects.equals(this.key, addDocumentAttributeEntity.key) + && Objects.equals(this.entityTypeId, addDocumentAttributeEntity.entityTypeId) + && Objects.equals(this.entityId, addDocumentAttributeEntity.entityId) + && Objects.equals(this.namespace, addDocumentAttributeEntity.namespace); + } + + @Override + public int hashCode() { + return Objects.hash(key, entityTypeId, entityId, namespace); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddDocumentAttributeEntity {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" entityTypeId: ").append(toIndentedString(entityTypeId)).append("\n"); + sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = + new HashSet(Arrays.asList("key", "entityTypeId", "entityId", "namespace")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(Arrays.asList("key", "entityTypeId", "entityId")); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddDocumentAttributeEntity + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddDocumentAttributeEntity.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddDocumentAttributeEntity is not found in the empty JSON string", + AddDocumentAttributeEntity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddDocumentAttributeEntity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddDocumentAttributeEntity` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : AddDocumentAttributeEntity.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `key` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("key").toString())); + } + if (!jsonObj.get("entityTypeId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityTypeId").toString())); + } + if (!jsonObj.get("entityId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityId").toString())); + } + // validate the optional field `namespace` + if (jsonObj.get("namespace") != null && !jsonObj.get("namespace").isJsonNull()) { + EntityTypeNamespace.validateJsonElement(jsonObj.get("namespace")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddDocumentAttributeEntity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddDocumentAttributeEntity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddDocumentAttributeEntity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddDocumentAttributeEntity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddDocumentAttributeEntity read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddDocumentAttributeEntity given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddDocumentAttributeEntity + * @throws IOException if the JSON string is invalid with respect to AddDocumentAttributeEntity + */ + public static AddDocumentAttributeEntity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddDocumentAttributeEntity.class); + } + + /** + * Convert an instance of AddDocumentAttributeEntity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java index 38adf78c9..a59139bd0 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentRelationshipType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Document Relationship */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentAttributeRelationship { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -190,15 +192,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("relationship"); - openapiFields.add("inverseRelationship"); + openapiFields = + new HashSet(Arrays.asList("documentId", "relationship", "inverseRelationship")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("documentId"); - openapiRequiredFields.add("relationship"); + openapiRequiredFields = new HashSet(Arrays.asList("documentId", "relationship")); } /** @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentAttributeRelationship.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentAttributeRelationship is not found in the empty JSON string", AddDocumentAttributeRelationship.openapiRequiredFields.toString())); } @@ -223,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentAttributeRelationship.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentAttributeRelationship` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,14 +230,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentAttributeRelationship.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java index c8b9d0b9f..30445ecdc 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Document Attribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentAttributeStandard { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -287,17 +289,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("stringValue"); - openapiFields.add("stringValues"); - openapiFields.add("numberValue"); - openapiFields.add("numberValues"); - openapiFields.add("booleanValue"); + openapiFields = new HashSet(Arrays.asList("key", "stringValue", "stringValues", + "numberValue", "numberValues", "booleanValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -311,7 +307,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentAttributeStandard.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentAttributeStandard is not found in the empty JSON string", AddDocumentAttributeStandard.openapiRequiredFields.toString())); } @@ -321,7 +317,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentAttributeStandard.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentAttributeStandard` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -330,34 +326,34 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentAttributeStandard.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() && !jsonObj.get("stringValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValues` to be an array in the JSON string but got `%s`", jsonObj.get("stringValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() && !jsonObj.get("numberValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberValues` to be an array in the JSON string but got `%s`", jsonObj.get("numberValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java index a64cb5f1c..8196866c2 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Document Attribute Value */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentAttributeValue { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -258,15 +260,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stringValue"); - openapiFields.add("stringValues"); - openapiFields.add("numberValue"); - openapiFields.add("numberValues"); - openapiFields.add("booleanValue"); + openapiFields = new HashSet(Arrays.asList("stringValue", "stringValues", "numberValue", + "numberValues", "booleanValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -279,7 +277,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentAttributeValue.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentAttributeValue is not found in the empty JSON string", AddDocumentAttributeValue.openapiRequiredFields.toString())); } @@ -289,7 +287,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentAttributeValue.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentAttributeValue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -297,21 +295,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() && !jsonObj.get("stringValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValues` to be an array in the JSON string but got `%s`", jsonObj.get("stringValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() && !jsonObj.get("numberValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberValues` to be an array in the JSON string but got `%s`", jsonObj.get("numberValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java index fc60dddd1..6ad742b1d 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Add List of document attributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentAttributesRequest { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -141,11 +143,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentAttributesRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentAttributesRequest is not found in the empty JSON string", AddDocumentAttributesRequest.openapiRequiredFields.toString())); } @@ -169,7 +170,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentAttributesRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentAttributesRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -180,7 +181,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java index 314a1489a..070a5e59c 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentMetadata; import com.formkiq.client.model.AddDocumentTag; import com.formkiq.client.model.ChecksumType; @@ -57,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -64,8 +66,8 @@ * AddDocumentFulltextRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -472,22 +474,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("contentType"); - openapiFields.add("content"); - openapiFields.add("contentUrls"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("attributes"); + openapiFields = new HashSet( + Arrays.asList("contentType", "content", "contentUrls", "path", "width", "height", + "deepLinkPath", "checksum", "checksumType", "tags", "metadata", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -500,7 +492,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentFulltextRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentFulltextRequest is not found in the empty JSON string", AddDocumentFulltextRequest.openapiRequiredFields.toString())); } @@ -510,7 +502,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentFulltextRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentFulltextRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -518,50 +510,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) && !jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("contentUrls") != null && !jsonObj.get("contentUrls").isJsonNull() && !jsonObj.get("contentUrls").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentUrls` to be an array in the JSON string but got `%s`", jsonObj.get("contentUrls").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -574,7 +566,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -590,7 +582,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java index 27f72eab6..a10a49f06 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentFulltextResponse is not found in the empty JSON string", AddDocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java index 141d8048f..608d114c1 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,10 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentGenerateDataSource; import com.formkiq.client.model.DocumentGenerateInsertDocument; import com.formkiq.client.model.DocumentGenerateOutputType; -import com.formkiq.client.model.Locale; +import com.formkiq.client.model.LocaleInfo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -55,6 +56,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,13 +64,13 @@ * AddDocumentGenerateRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentGenerateRequest { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @javax.annotation.Nullable - private Locale locale; + private LocaleInfo locale; public static final String SERIALIZED_NAME_INSERT_DOCUMENTS = "insertDocuments"; @SerializedName(SERIALIZED_NAME_INSERT_DOCUMENTS) @@ -97,7 +99,7 @@ public class AddDocumentGenerateRequest { public AddDocumentGenerateRequest() {} - public AddDocumentGenerateRequest locale(@javax.annotation.Nullable Locale locale) { + public AddDocumentGenerateRequest locale(@javax.annotation.Nullable LocaleInfo locale) { this.locale = locale; return this; } @@ -108,11 +110,11 @@ public AddDocumentGenerateRequest locale(@javax.annotation.Nullable Locale local * @return locale */ @javax.annotation.Nullable - public Locale getLocale() { + public LocaleInfo getLocale() { return locale; } - public void setLocale(@javax.annotation.Nullable Locale locale) { + public void setLocale(@javax.annotation.Nullable LocaleInfo locale) { this.locale = locale; } @@ -293,16 +295,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("locale"); - openapiFields.add("insertDocuments"); - openapiFields.add("datasources"); - openapiFields.add("outputType"); - openapiFields.add("saveAsDocumentId"); - openapiFields.add("path"); + openapiFields = new HashSet(Arrays.asList("locale", "insertDocuments", "datasources", + "outputType", "saveAsDocumentId", "path")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -315,7 +312,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentGenerateRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentGenerateRequest is not found in the empty JSON string", AddDocumentGenerateRequest.openapiRequiredFields.toString())); } @@ -325,7 +322,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentGenerateRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentGenerateRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -333,14 +330,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `locale` if (jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) { - Locale.validateJsonElement(jsonObj.get("locale")); + LocaleInfo.validateJsonElement(jsonObj.get("locale")); } if (jsonObj.get("insertDocuments") != null && !jsonObj.get("insertDocuments").isJsonNull()) { JsonArray jsonArrayinsertDocuments = jsonObj.getAsJsonArray("insertDocuments"); if (jsonArrayinsertDocuments != null) { // ensure the json data is an array if (!jsonObj.get("insertDocuments").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertDocuments` to be an array in the JSON string but got `%s`", jsonObj.get("insertDocuments").toString())); } @@ -356,7 +353,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydatasources != null) { // ensure the json data is an array if (!jsonObj.get("datasources").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `datasources` to be an array in the JSON string but got `%s`", jsonObj.get("datasources").toString())); } @@ -373,13 +370,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("saveAsDocumentId") != null && !jsonObj.get("saveAsDocumentId").isJsonNull()) && !jsonObj.get("saveAsDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `saveAsDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("saveAsDocumentId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java index 822d5c8b2..cc602cede 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentGenerateResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentGenerateResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); + openapiFields = new HashSet(Arrays.asList("documentId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentGenerateResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentGenerateResponse is not found in the empty JSON string", AddDocumentGenerateResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentGenerateResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentGenerateResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java b/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java index 8836a6ed2..ed1d81627 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Document Metadata (use either 'value' or 'values' not both) */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentMetadata { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -193,14 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("value"); - openapiFields.add("values"); + openapiFields = new HashSet(Arrays.asList("key", "value", "values")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentMetadata.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentMetadata is not found in the empty JSON string", AddDocumentMetadata.openapiRequiredFields.toString())); } @@ -223,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentMetadata.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentMetadata` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,27 +230,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentMetadata.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java index a139fee5e..c84f1a48f 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,8 +21,10 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OcrEngine; import com.formkiq.client.model.OcrOutputType; +import com.formkiq.client.model.TextractQuery; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -53,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,9 +63,14 @@ * AddDocumentOcrRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentOcrRequest { + public static final String SERIALIZED_NAME_TEXTRACT_QUERIES = "textractQueries"; + @SerializedName(SERIALIZED_NAME_TEXTRACT_QUERIES) + @javax.annotation.Nullable + private List textractQueries = new ArrayList<>(); + public static final String SERIALIZED_NAME_PARSE_TYPES = "parseTypes"; @SerializedName(SERIALIZED_NAME_PARSE_TYPES) @javax.annotation.Nullable @@ -91,6 +99,35 @@ public class AddDocumentOcrRequest { public AddDocumentOcrRequest() {} + public AddDocumentOcrRequest textractQueries( + @javax.annotation.Nullable List textractQueries) { + this.textractQueries = textractQueries; + return this; + } + + public AddDocumentOcrRequest addTextractQueriesItem(TextractQuery textractQueriesItem) { + if (this.textractQueries == null) { + this.textractQueries = new ArrayList<>(); + } + this.textractQueries.add(textractQueriesItem); + return this; + } + + /** + * Get textractQueries + * + * @return textractQueries + */ + @javax.annotation.Nullable + public List getTextractQueries() { + return textractQueries; + } + + public void setTextractQueries(@javax.annotation.Nullable List textractQueries) { + this.textractQueries = textractQueries; + } + + public AddDocumentOcrRequest parseTypes(@javax.annotation.Nullable List parseTypes) { this.parseTypes = parseTypes; return this; @@ -105,7 +142,7 @@ public AddDocumentOcrRequest addParseTypesItem(String parseTypesItem) { } /** - * OCR Parse types - TEXT, FORMS, TABLES + * OCR Parse types - TEXT, FORMS, TABLES, QUERIES * * @return parseTypes */ @@ -213,7 +250,8 @@ public boolean equals(Object o) { return false; } AddDocumentOcrRequest addDocumentOcrRequest = (AddDocumentOcrRequest) o; - return Objects.equals(this.parseTypes, addDocumentOcrRequest.parseTypes) + return Objects.equals(this.textractQueries, addDocumentOcrRequest.textractQueries) + && Objects.equals(this.parseTypes, addDocumentOcrRequest.parseTypes) && Objects.equals(this.addPdfDetectedCharactersAsText, addDocumentOcrRequest.addPdfDetectedCharactersAsText) && Objects.equals(this.ocrEngine, addDocumentOcrRequest.ocrEngine) @@ -223,14 +261,15 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(parseTypes, addPdfDetectedCharactersAsText, ocrEngine, ocrNumberOfPages, - ocrOutputType); + return Objects.hash(textractQueries, parseTypes, addPdfDetectedCharactersAsText, ocrEngine, + ocrNumberOfPages, ocrOutputType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class AddDocumentOcrRequest {\n"); + sb.append(" textractQueries: ").append(toIndentedString(textractQueries)).append("\n"); sb.append(" parseTypes: ").append(toIndentedString(parseTypes)).append("\n"); sb.append(" addPdfDetectedCharactersAsText: ") .append(toIndentedString(addPdfDetectedCharactersAsText)).append("\n"); @@ -257,15 +296,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("parseTypes"); - openapiFields.add("addPdfDetectedCharactersAsText"); - openapiFields.add("ocrEngine"); - openapiFields.add("ocrNumberOfPages"); - openapiFields.add("ocrOutputType"); + openapiFields = new HashSet(Arrays.asList("textractQueries", "parseTypes", + "addPdfDetectedCharactersAsText", "ocrEngine", "ocrNumberOfPages", "ocrOutputType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -278,7 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentOcrRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentOcrRequest is not found in the empty JSON string", AddDocumentOcrRequest.openapiRequiredFields.toString())); } @@ -288,16 +323,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentOcrRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentOcrRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("textractQueries") != null && !jsonObj.get("textractQueries").isJsonNull()) { + JsonArray jsonArraytextractQueries = jsonObj.getAsJsonArray("textractQueries"); + if (jsonArraytextractQueries != null) { + // ensure the json data is an array + if (!jsonObj.get("textractQueries").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `textractQueries` to be an array in the JSON string but got `%s`", + jsonObj.get("textractQueries").toString())); + } + + // validate the optional field `textractQueries` (array) + for (int i = 0; i < jsonArraytextractQueries.size(); i++) { + TextractQuery.validateJsonElement(jsonArraytextractQueries.get(i)); + } ; + } + } // ensure the optional json data is an array if present if (jsonObj.get("parseTypes") != null && !jsonObj.get("parseTypes").isJsonNull() && !jsonObj.get("parseTypes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `parseTypes` to be an array in the JSON string but got `%s`", jsonObj.get("parseTypes").toString())); } @@ -307,7 +358,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("ocrNumberOfPages") != null && !jsonObj.get("ocrNumberOfPages").isJsonNull()) && !jsonObj.get("ocrNumberOfPages").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ocrNumberOfPages` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrNumberOfPages").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java index d951a711c..84c4887d9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentOcrResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentOcrResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentOcrResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentOcrResponse is not found in the empty JSON string", AddDocumentOcrResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentOcrResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentOcrResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentRequest.java index d99fd5f7b..4ef21c6a8 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAction; import com.formkiq.client.model.AddChildDocument; import com.formkiq.client.model.AddDocumentAttribute; @@ -57,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -64,8 +66,8 @@ * AddDocumentRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentRequest { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -558,26 +560,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("path"); - openapiFields.add("checksumType"); - openapiFields.add("checksum"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("contentType"); - openapiFields.add("isBase64"); - openapiFields.add("content"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("actions"); - openapiFields.add("attributes"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("documentId", "path", "checksumType", + "checksum", "width", "height", "deepLinkPath", "contentType", "isBase64", "content", "tags", + "metadata", "actions", "attributes", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("content"); + openapiRequiredFields = new HashSet(Arrays.asList("content")); } /** @@ -590,7 +578,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentRequest is not found in the empty JSON string", AddDocumentRequest.openapiRequiredFields.toString())); } @@ -600,7 +588,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -609,21 +597,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } @@ -633,36 +621,36 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if (!jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } @@ -671,7 +659,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -687,7 +675,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } @@ -703,7 +691,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactions != null) { // ensure the json data is an array if (!jsonObj.get("actions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `actions` to be an array in the JSON string but got `%s`", jsonObj.get("actions").toString())); } @@ -719,7 +707,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } @@ -735,7 +723,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentResponse.java index 8de7e036c..500688a91 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddChildDocumentResponse; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * AddDocumentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -259,15 +261,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("siteId"); - openapiFields.add("uploadUrl"); - openapiFields.add("headers"); - openapiFields.add("documents"); + openapiFields = new HashSet( + Arrays.asList("documentId", "siteId", "uploadUrl", "headers", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -280,7 +278,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentResponse is not found in the empty JSON string", AddDocumentResponse.openapiRequiredFields.toString())); } @@ -290,7 +288,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -298,19 +296,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("uploadUrl") != null && !jsonObj.get("uploadUrl").isJsonNull()) && !jsonObj.get("uploadUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `uploadUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uploadUrl").toString())); } @@ -319,7 +317,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSync.java b/src/main/java/com/formkiq/client/model/AddDocumentSync.java index 744e92fca..87f867dee 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentSync.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentSync.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentSyncService; import com.formkiq.client.model.DocumentSyncType; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddDocumentSync */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentSync { public static final String SERIALIZED_NAME_SERVICE = "service"; @SerializedName(SERIALIZED_NAME_SERVICE) @@ -158,12 +160,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("service"); - openapiFields.add("type"); + openapiFields = new HashSet(Arrays.asList("service", "type")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -176,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentSync.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentSync is not found in the empty JSON string", AddDocumentSync.openapiRequiredFields.toString())); } @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentSync.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentSync` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java index 516506855..8539aebb9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentSync; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddDocumentSyncRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentSyncRequest { public static final String SERIALIZED_NAME_SYNC = "sync"; @SerializedName(SERIALIZED_NAME_SYNC) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("sync"); + openapiFields = new HashSet(Arrays.asList("sync")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentSyncRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentSyncRequest is not found in the empty JSON string", AddDocumentSyncRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentSyncRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentSyncRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java b/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java index e2534bb70..dc9bf1e73 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -36,9 +38,7 @@ @JsonAdapter(AddDocumentSyncService.Adapter.class) public enum AddDocumentSyncService { - FULLTEXT("FULLTEXT"), - - EVENTBRIDGE("EVENTBRIDGE"); + FULLTEXT("FULLTEXT"); private String value; diff --git a/src/main/java/com/formkiq/client/model/AddDocumentTag.java b/src/main/java/com/formkiq/client/model/AddDocumentTag.java index 765750f67..6c07c06b6 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentTag.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * List of Document Tags (use either 'value' or 'values' not both) */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -193,14 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("value"); - openapiFields.add("values"); + openapiFields = new HashSet(Arrays.asList("key", "value", "values")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentTag is not found in the empty JSON string", AddDocumentTag.openapiRequiredFields.toString())); } @@ -223,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,27 +230,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentTag.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java index 49970554e..d3da02414 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentTag; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Add List of document tags */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentTagsRequest { public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("tags"); + openapiFields = new HashSet(Arrays.asList("tags")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentTagsRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentTagsRequest is not found in the empty JSON string", AddDocumentTagsRequest.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentTagsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentTagsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java index c4da56eee..91d0c07dd 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAction; import com.formkiq.client.model.AddDocumentAttribute; import com.formkiq.client.model.AddDocumentTag; @@ -55,6 +56,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +64,8 @@ * AddDocumentUploadRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentUploadRequest { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -432,21 +434,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("path"); - openapiFields.add("contentType"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("checksumType"); - openapiFields.add("checksum"); - openapiFields.add("attributes"); - openapiFields.add("tags"); - openapiFields.add("actions"); + openapiFields = new HashSet(Arrays.asList("documentId", "path", "contentType", "width", + "height", "deepLinkPath", "checksumType", "checksum", "attributes", "tags", "actions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -459,7 +451,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentUploadRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentUploadRequest is not found in the empty JSON string", AddDocumentUploadRequest.openapiRequiredFields.toString())); } @@ -469,7 +461,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentUploadRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentUploadRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -477,37 +469,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } @@ -517,7 +509,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -526,7 +518,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } @@ -542,7 +534,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -558,7 +550,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactions != null) { // ensure the json data is an array if (!jsonObj.get("actions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `actions` to be an array in the JSON string but got `%s`", jsonObj.get("actions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java index 03788f768..377372104 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentWorkflowDecisionsRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentWorkflowDecisionsRequest { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -238,14 +240,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stepId"); - openapiFields.add("comments"); - openapiFields.add("decision"); + openapiFields = new HashSet(Arrays.asList("stepId", "comments", "decision")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("decision"); + openapiRequiredFields = new HashSet(Arrays.asList("decision")); } /** @@ -260,7 +258,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocumentWorkflowDecisionsRequest.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentWorkflowDecisionsRequest is not found in the empty JSON string", AddDocumentWorkflowDecisionsRequest.openapiRequiredFields.toString())); } @@ -270,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentWorkflowDecisionsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentWorkflowDecisionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -279,26 +277,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentWorkflowDecisionsRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stepId") != null && !jsonObj.get("stepId").isJsonNull()) && !jsonObj.get("stepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stepId").toString())); } if ((jsonObj.get("comments") != null && !jsonObj.get("comments").isJsonNull()) && !jsonObj.get("comments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `comments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("comments").toString())); } if (!jsonObj.get("decision").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `decision` to be a primitive type in the JSON string but got `%s`", jsonObj.get("decision").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java index a475d909f..5959e0b80 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentWorkflowDecisionsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentWorkflowDecisionsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -150,7 +151,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // fields but // JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentWorkflowDecisionsResponse is not found in the empty JSON string", AddDocumentWorkflowDecisionsResponse.openapiRequiredFields.toString())); } @@ -160,7 +161,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentWorkflowDecisionsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentWorkflowDecisionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -168,7 +169,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java index b90fec194..b13062fe3 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentWorkflowRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentWorkflowRequest { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -129,12 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workflowId"); + openapiFields = new HashSet(Arrays.asList("workflowId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("workflowId"); + openapiRequiredFields = new HashSet(Arrays.asList("workflowId")); } /** @@ -147,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentWorkflowRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentWorkflowRequest is not found in the empty JSON string", AddDocumentWorkflowRequest.openapiRequiredFields.toString())); } @@ -157,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentWorkflowRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,14 +166,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocumentWorkflowRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java index aa8fe4dbe..f87d123be 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocumentWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocumentWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocumentWorkflowResponse is not found in the empty JSON string", AddDocumentWorkflowResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocumentWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocumentWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java index d89bdca3a..c62f52659 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignEnvironment; import com.formkiq.client.model.DocusignInpersonSigner; import com.formkiq.client.model.DocusignNotification; @@ -55,6 +56,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +64,8 @@ * AddDocusignEnvelopesRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocusignEnvelopesRequest { public static final String SERIALIZED_NAME_EMAIL_SUBJECT = "emailSubject"; @SerializedName(SERIALIZED_NAME_EMAIL_SUBJECT) @@ -265,16 +267,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("emailSubject"); - openapiFields.add("environment"); - openapiFields.add("signers"); - openapiFields.add("inpersonSigners"); - openapiFields.add("notification"); + openapiFields = new HashSet( + Arrays.asList("emailSubject", "environment", "signers", "inpersonSigners", "notification")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("environment"); + openapiRequiredFields = new HashSet(Arrays.asList("environment")); } /** @@ -287,7 +284,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocusignEnvelopesRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocusignEnvelopesRequest is not found in the empty JSON string", AddDocusignEnvelopesRequest.openapiRequiredFields.toString())); } @@ -297,7 +294,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocusignEnvelopesRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocusignEnvelopesRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -306,15 +303,15 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocusignEnvelopesRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("emailSubject") != null && !jsonObj.get("emailSubject").isJsonNull()) && !jsonObj.get("emailSubject").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `emailSubject` to be a primitive type in the JSON string but got `%s`", jsonObj.get("emailSubject").toString())); } @@ -325,7 +322,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysigners != null) { // ensure the json data is an array if (!jsonObj.get("signers").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `signers` to be an array in the JSON string but got `%s`", jsonObj.get("signers").toString())); } @@ -341,7 +338,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayinpersonSigners != null) { // ensure the json data is an array if (!jsonObj.get("inpersonSigners").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `inpersonSigners` to be an array in the JSON string but got `%s`", jsonObj.get("inpersonSigners").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java index cc8786aba..a119d49a1 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocusignEnvelopesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocusignEnvelopesResponse { public static final String SERIALIZED_NAME_ENVELOPE_ID = "envelopeId"; @SerializedName(SERIALIZED_NAME_ENVELOPE_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("envelopeId"); + openapiFields = new HashSet(Arrays.asList("envelopeId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocusignEnvelopesResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocusignEnvelopesResponse is not found in the empty JSON string", AddDocusignEnvelopesResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocusignEnvelopesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocusignEnvelopesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -165,7 +166,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("envelopeId") != null && !jsonObj.get("envelopeId").isJsonNull()) && !jsonObj.get("envelopeId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `envelopeId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("envelopeId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java index 8b726e6b1..b64ca40cd 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignEnvironment; import com.formkiq.client.model.DocusignRecipientView; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddDocusignRecipientViewRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocusignRecipientViewRequest { public static final String SERIALIZED_NAME_ENVIRONMENT = "environment"; @SerializedName(SERIALIZED_NAME_ENVIRONMENT) @@ -161,14 +163,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("environment"); - openapiFields.add("recipientView"); + openapiFields = new HashSet(Arrays.asList("environment", "recipientView")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("environment"); - openapiRequiredFields.add("recipientView"); + openapiRequiredFields = new HashSet(Arrays.asList("environment", "recipientView")); } /** @@ -183,7 +181,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocusignRecipientViewRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocusignRecipientViewRequest is not found in the empty JSON string", AddDocusignRecipientViewRequest.openapiRequiredFields.toString())); } @@ -193,7 +191,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocusignRecipientViewRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocusignRecipientViewRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,9 +200,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddDocusignRecipientViewRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java index 1b973d8bc..3e584d2cd 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddDocusignRecipientViewResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddDocusignRecipientViewResponse { public static final String SERIALIZED_NAME_VIEW_URL = "viewUrl"; @SerializedName(SERIALIZED_NAME_VIEW_URL) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("viewUrl"); + openapiFields = new HashSet(Arrays.asList("viewUrl")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddDocusignRecipientViewResponse.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddDocusignRecipientViewResponse is not found in the empty JSON string", AddDocusignRecipientViewResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddDocusignRecipientViewResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddDocusignRecipientViewResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("viewUrl") != null && !jsonObj.get("viewUrl").isJsonNull()) && !jsonObj.get("viewUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `viewUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("viewUrl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntity.java b/src/main/java/com/formkiq/client/model/AddEntity.java new file mode 100644 index 000000000..44f00e0ba --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntity.java @@ -0,0 +1,277 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AddEntityAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddEntity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntity { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + @javax.annotation.Nullable + private List attributes = new ArrayList<>(); + + public AddEntity() {} + + public AddEntity name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Entity Name + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public AddEntity attributes(@javax.annotation.Nullable List attributes) { + this.attributes = attributes; + return this; + } + + public AddEntity addAttributesItem(AddEntityAttribute attributesItem) { + if (this.attributes == null) { + this.attributes = new ArrayList<>(); + } + this.attributes.add(attributesItem); + return this; + } + + /** + * List of Entity Attributes + * + * @return attributes + */ + @javax.annotation.Nullable + public List getAttributes() { + return attributes; + } + + public void setAttributes(@javax.annotation.Nullable List attributes) { + this.attributes = attributes; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddEntity addEntity = (AddEntity) o; + return Objects.equals(this.name, addEntity.name) + && Objects.equals(this.attributes, addEntity.attributes); + } + + @Override + public int hashCode() { + return Objects.hash(name, attributes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddEntity {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("name", "attributes")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddEntity + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddEntity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntity is not found in the empty JSON string", + AddEntity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddEntity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntity` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) + && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `name` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("name").toString())); + } + if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull()) { + JsonArray jsonArrayattributes = jsonObj.getAsJsonArray("attributes"); + if (jsonArrayattributes != null) { + // ensure the json data is an array + if (!jsonObj.get("attributes").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `attributes` to be an array in the JSON string but got `%s`", + jsonObj.get("attributes").toString())); + } + + // validate the optional field `attributes` (array) + for (int i = 0; i < jsonArrayattributes.size(); i++) { + AddEntityAttribute.validateJsonElement(jsonArrayattributes.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddEntity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddEntity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddEntity read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddEntity given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddEntity + * @throws IOException if the JSON string is invalid with respect to AddEntity + */ + public static AddEntity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntity.class); + } + + /** + * Convert an instance of AddEntity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddEntityAttribute.java b/src/main/java/com/formkiq/client/model/AddEntityAttribute.java new file mode 100644 index 000000000..a6f0dcbda --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityAttribute.java @@ -0,0 +1,398 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddEntityAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntityAttribute { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nullable + private String key; + + public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; + @SerializedName(SERIALIZED_NAME_STRING_VALUE) + @javax.annotation.Nullable + private String stringValue; + + public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; + @SerializedName(SERIALIZED_NAME_STRING_VALUES) + @javax.annotation.Nullable + private List stringValues = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; + @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) + @javax.annotation.Nullable + private BigDecimal numberValue; + + public static final String SERIALIZED_NAME_NUMBER_VALUES = "numberValues"; + @SerializedName(SERIALIZED_NAME_NUMBER_VALUES) + @javax.annotation.Nullable + private List numberValues = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BOOLEAN_VALUE = "booleanValue"; + @SerializedName(SERIALIZED_NAME_BOOLEAN_VALUE) + @javax.annotation.Nullable + private Boolean booleanValue; + + public AddEntityAttribute() {} + + public AddEntityAttribute key(@javax.annotation.Nullable String key) { + this.key = key; + return this; + } + + /** + * Attribute key + * + * @return key + */ + @javax.annotation.Nullable + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nullable String key) { + this.key = key; + } + + + public AddEntityAttribute stringValue(@javax.annotation.Nullable String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Attribute with string value + * + * @return stringValue + */ + @javax.annotation.Nullable + public String getStringValue() { + return stringValue; + } + + public void setStringValue(@javax.annotation.Nullable String stringValue) { + this.stringValue = stringValue; + } + + + public AddEntityAttribute stringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + return this; + } + + public AddEntityAttribute addStringValuesItem(String stringValuesItem) { + if (this.stringValues == null) { + this.stringValues = new ArrayList<>(); + } + this.stringValues.add(stringValuesItem); + return this; + } + + /** + * Attribute with string values + * + * @return stringValues + */ + @javax.annotation.Nullable + public List getStringValues() { + return stringValues; + } + + public void setStringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + } + + + public AddEntityAttribute numberValue(@javax.annotation.Nullable BigDecimal numberValue) { + this.numberValue = numberValue; + return this; + } + + /** + * Attribute with number value + * + * @return numberValue + */ + @javax.annotation.Nullable + public BigDecimal getNumberValue() { + return numberValue; + } + + public void setNumberValue(@javax.annotation.Nullable BigDecimal numberValue) { + this.numberValue = numberValue; + } + + + public AddEntityAttribute numberValues(@javax.annotation.Nullable List numberValues) { + this.numberValues = numberValues; + return this; + } + + public AddEntityAttribute addNumberValuesItem(BigDecimal numberValuesItem) { + if (this.numberValues == null) { + this.numberValues = new ArrayList<>(); + } + this.numberValues.add(numberValuesItem); + return this; + } + + /** + * Attribute with number values + * + * @return numberValues + */ + @javax.annotation.Nullable + public List getNumberValues() { + return numberValues; + } + + public void setNumberValues(@javax.annotation.Nullable List numberValues) { + this.numberValues = numberValues; + } + + + public AddEntityAttribute booleanValue(@javax.annotation.Nullable Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * Attribute with boolean value + * + * @return booleanValue + */ + @javax.annotation.Nullable + public Boolean getBooleanValue() { + return booleanValue; + } + + public void setBooleanValue(@javax.annotation.Nullable Boolean booleanValue) { + this.booleanValue = booleanValue; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddEntityAttribute addEntityAttribute = (AddEntityAttribute) o; + return Objects.equals(this.key, addEntityAttribute.key) + && Objects.equals(this.stringValue, addEntityAttribute.stringValue) + && Objects.equals(this.stringValues, addEntityAttribute.stringValues) + && Objects.equals(this.numberValue, addEntityAttribute.numberValue) + && Objects.equals(this.numberValues, addEntityAttribute.numberValues) + && Objects.equals(this.booleanValue, addEntityAttribute.booleanValue); + } + + @Override + public int hashCode() { + return Objects.hash(key, stringValue, stringValues, numberValue, numberValues, booleanValue); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddEntityAttribute {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" stringValue: ").append(toIndentedString(stringValue)).append("\n"); + sb.append(" stringValues: ").append(toIndentedString(stringValues)).append("\n"); + sb.append(" numberValue: ").append(toIndentedString(numberValue)).append("\n"); + sb.append(" numberValues: ").append(toIndentedString(numberValues)).append("\n"); + sb.append(" booleanValue: ").append(toIndentedString(booleanValue)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("key", "stringValue", "stringValues", + "numberValue", "numberValues", "booleanValue")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddEntityAttribute + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddEntityAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntityAttribute is not found in the empty JSON string", + AddEntityAttribute.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddEntityAttribute.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntityAttribute` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) + && !jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `key` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("key").toString())); + } + if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) + && !jsonObj.get("stringValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("stringValue").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() + && !jsonObj.get("stringValues").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `stringValues` to be an array in the JSON string but got `%s`", + jsonObj.get("stringValues").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() + && !jsonObj.get("numberValues").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `numberValues` to be an array in the JSON string but got `%s`", + jsonObj.get("numberValues").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddEntityAttribute.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntityAttribute' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntityAttribute.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddEntityAttribute value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddEntityAttribute read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddEntityAttribute given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddEntityAttribute + * @throws IOException if the JSON string is invalid with respect to AddEntityAttribute + */ + public static AddEntityAttribute fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityAttribute.class); + } + + /** + * Convert an instance of AddEntityAttribute to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddEntityRequest.java b/src/main/java/com/formkiq/client/model/AddEntityRequest.java new file mode 100644 index 000000000..26c455669 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityRequest.java @@ -0,0 +1,222 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AddEntity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddEntityRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntityRequest { + public static final String SERIALIZED_NAME_ENTITY = "entity"; + @SerializedName(SERIALIZED_NAME_ENTITY) + @javax.annotation.Nullable + private AddEntity entity; + + public AddEntityRequest() {} + + public AddEntityRequest entity(@javax.annotation.Nullable AddEntity entity) { + this.entity = entity; + return this; + } + + /** + * Get entity + * + * @return entity + */ + @javax.annotation.Nullable + public AddEntity getEntity() { + return entity; + } + + public void setEntity(@javax.annotation.Nullable AddEntity entity) { + this.entity = entity; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddEntityRequest addEntityRequest = (AddEntityRequest) o; + return Objects.equals(this.entity, addEntityRequest.entity); + } + + @Override + public int hashCode() { + return Objects.hash(entity); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddEntityRequest {\n"); + sb.append(" entity: ").append(toIndentedString(entity)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("entity")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddEntityRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddEntityRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntityRequest is not found in the empty JSON string", + AddEntityRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddEntityRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntityRequest` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `entity` + if (jsonObj.get("entity") != null && !jsonObj.get("entity").isJsonNull()) { + AddEntity.validateJsonElement(jsonObj.get("entity")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddEntityRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntityRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntityRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddEntityRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddEntityRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddEntityRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddEntityRequest + * @throws IOException if the JSON string is invalid with respect to AddEntityRequest + */ + public static AddEntityRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityRequest.class); + } + + /** + * Convert an instance of AddEntityRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddEntityResponse.java b/src/main/java/com/formkiq/client/model/AddEntityResponse.java new file mode 100644 index 000000000..a56fa5d45 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityResponse.java @@ -0,0 +1,223 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddEntityResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntityResponse { + public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; + @SerializedName(SERIALIZED_NAME_ENTITY_ID) + @javax.annotation.Nullable + private String entityId; + + public AddEntityResponse() {} + + public AddEntityResponse entityId(@javax.annotation.Nullable String entityId) { + this.entityId = entityId; + return this; + } + + /** + * Entity Identifier + * + * @return entityId + */ + @javax.annotation.Nullable + public String getEntityId() { + return entityId; + } + + public void setEntityId(@javax.annotation.Nullable String entityId) { + this.entityId = entityId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddEntityResponse addEntityResponse = (AddEntityResponse) o; + return Objects.equals(this.entityId, addEntityResponse.entityId); + } + + @Override + public int hashCode() { + return Objects.hash(entityId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddEntityResponse {\n"); + sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("entityId")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddEntityResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddEntityResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntityResponse is not found in the empty JSON string", + AddEntityResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddEntityResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntityResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("entityId") != null && !jsonObj.get("entityId").isJsonNull()) + && !jsonObj.get("entityId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddEntityResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntityResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntityResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddEntityResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddEntityResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddEntityResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddEntityResponse + * @throws IOException if the JSON string is invalid with respect to AddEntityResponse + */ + public static AddEntityResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityResponse.class); + } + + /** + * Convert an instance of AddEntityResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddEntityType.java b/src/main/java/com/formkiq/client/model/AddEntityType.java new file mode 100644 index 000000000..b720e6ec7 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityType.java @@ -0,0 +1,255 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.EntityTypeNamespace; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddEntityType + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntityType { + public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; + @SerializedName(SERIALIZED_NAME_NAMESPACE) + @javax.annotation.Nullable + private EntityTypeNamespace namespace; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public AddEntityType() {} + + public AddEntityType namespace(@javax.annotation.Nullable EntityTypeNamespace namespace) { + this.namespace = namespace; + return this; + } + + /** + * Get namespace + * + * @return namespace + */ + @javax.annotation.Nullable + public EntityTypeNamespace getNamespace() { + return namespace; + } + + public void setNamespace(@javax.annotation.Nullable EntityTypeNamespace namespace) { + this.namespace = namespace; + } + + + public AddEntityType name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Entity Type Name + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddEntityType addEntityType = (AddEntityType) o; + return Objects.equals(this.namespace, addEntityType.namespace) + && Objects.equals(this.name, addEntityType.name); + } + + @Override + public int hashCode() { + return Objects.hash(namespace, name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddEntityType {\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("namespace", "name")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddEntityType + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddEntityType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element + // is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntityType is not found in the empty JSON string", + AddEntityType.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddEntityType.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntityType` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `namespace` + if (jsonObj.get("namespace") != null && !jsonObj.get("namespace").isJsonNull()) { + EntityTypeNamespace.validateJsonElement(jsonObj.get("namespace")); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) + && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `name` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddEntityType.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntityType' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntityType.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddEntityType value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddEntityType read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddEntityType given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddEntityType + * @throws IOException if the JSON string is invalid with respect to AddEntityType + */ + public static AddEntityType fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityType.class); + } + + /** + * Convert an instance of AddEntityType to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java similarity index 64% rename from src/main/java/com/formkiq/client/model/SetAntivirusResponse.java rename to src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java index d22853c2e..7f4d2b3a7 100644 --- a/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AddEntityType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,40 +51,41 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** - * SetAntivirusResponse + * AddEntityTypeRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") -public class SetAntivirusResponse { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntityTypeRequest { + public static final String SERIALIZED_NAME_ENTITY_TYPE = "entityType"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE) @javax.annotation.Nullable - private String message; + private AddEntityType entityType; - public SetAntivirusResponse() {} + public AddEntityTypeRequest() {} - public SetAntivirusResponse message(@javax.annotation.Nullable String message) { - this.message = message; + public AddEntityTypeRequest entityType(@javax.annotation.Nullable AddEntityType entityType) { + this.entityType = entityType; return this; } /** - * Antivirus processing message + * Get entityType * - * @return message + * @return entityType */ @javax.annotation.Nullable - public String getMessage() { - return message; + public AddEntityType getEntityType() { + return entityType; } - public void setMessage(@javax.annotation.Nullable String message) { - this.message = message; + public void setEntityType(@javax.annotation.Nullable AddEntityType entityType) { + this.entityType = entityType; } @@ -95,20 +98,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - SetAntivirusResponse setAntivirusResponse = (SetAntivirusResponse) o; - return Objects.equals(this.message, setAntivirusResponse.message); + AddEntityTypeRequest addEntityTypeRequest = (AddEntityTypeRequest) o; + return Objects.equals(this.entityType, addEntityTypeRequest.entityType); } @Override public int hashCode() { - return Objects.hash(message); + return Objects.hash(entityType); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SetAntivirusResponse {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("class AddEntityTypeRequest {\n"); + sb.append(" entityType: ").append(toIndentedString(entityType)).append("\n"); sb.append("}"); return sb.toString(); } @@ -129,44 +132,41 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("entityType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to SetAntivirusResponse + * @throws IOException if the JSON Element is invalid with respect to AddEntityTypeRequest */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!SetAntivirusResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + if (!AddEntityTypeRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in SetAntivirusResponse is not found in the empty JSON string", - SetAntivirusResponse.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntityTypeRequest is not found in the empty JSON string", + AddEntityTypeRequest.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!SetAntivirusResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `SetAntivirusResponse` properties. JSON: %s", + if (!AddEntityTypeRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntityTypeRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) - && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `message` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("message").toString())); + // validate the optional field `entityType` + if (jsonObj.get("entityType") != null && !jsonObj.get("entityType").isJsonNull()) { + AddEntityType.validateJsonElement(jsonObj.get("entityType")); } } @@ -174,22 +174,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!SetAntivirusResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'SetAntivirusResponse' and its subtypes + if (!AddEntityTypeRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntityTypeRequest' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(SetAntivirusResponse.class)); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntityTypeRequest.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, SetAntivirusResponse value) throws IOException { + public void write(JsonWriter out, AddEntityTypeRequest value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public SetAntivirusResponse read(JsonReader in) throws IOException { + public AddEntityTypeRequest read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -200,18 +200,18 @@ public SetAntivirusResponse read(JsonReader in) throws IOException { } /** - * Create an instance of SetAntivirusResponse given an JSON string + * Create an instance of AddEntityTypeRequest given an JSON string * * @param jsonString JSON string - * @return An instance of SetAntivirusResponse - * @throws IOException if the JSON string is invalid with respect to SetAntivirusResponse + * @return An instance of AddEntityTypeRequest + * @throws IOException if the JSON string is invalid with respect to AddEntityTypeRequest */ - public static SetAntivirusResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, SetAntivirusResponse.class); + public static AddEntityTypeRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityTypeRequest.class); } /** - * Convert an instance of SetAntivirusResponse to an JSON string + * Convert an instance of AddEntityTypeRequest to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java new file mode 100644 index 000000000..8e0802181 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java @@ -0,0 +1,223 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddEntityTypeResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddEntityTypeResponse { + public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) + @javax.annotation.Nullable + private String entityTypeId; + + public AddEntityTypeResponse() {} + + public AddEntityTypeResponse entityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + return this; + } + + /** + * Entity Type Identifier + * + * @return entityTypeId + */ + @javax.annotation.Nullable + public String getEntityTypeId() { + return entityTypeId; + } + + public void setEntityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddEntityTypeResponse addEntityTypeResponse = (AddEntityTypeResponse) o; + return Objects.equals(this.entityTypeId, addEntityTypeResponse.entityTypeId); + } + + @Override + public int hashCode() { + return Objects.hash(entityTypeId); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddEntityTypeResponse {\n"); + sb.append(" entityTypeId: ").append(toIndentedString(entityTypeId)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("entityTypeId")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddEntityTypeResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddEntityTypeResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddEntityTypeResponse is not found in the empty JSON string", + AddEntityTypeResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddEntityTypeResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddEntityTypeResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) + && !jsonObj.get("entityTypeId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityTypeId").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddEntityTypeResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddEntityTypeResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddEntityTypeResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddEntityTypeResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddEntityTypeResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddEntityTypeResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddEntityTypeResponse + * @throws IOException if the JSON string is invalid with respect to AddEntityTypeResponse + */ + public static AddEntityTypeResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityTypeResponse.class); + } + + /** + * Convert an instance of AddEntityTypeResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddFolderPermission.java b/src/main/java/com/formkiq/client/model/AddFolderPermission.java new file mode 100644 index 000000000..5f9a9ed2a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddFolderPermission.java @@ -0,0 +1,269 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.FolderPermissionType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * AddFolderPermission + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class AddFolderPermission { + public static final String SERIALIZED_NAME_ROLE_NAME = "roleName"; + @SerializedName(SERIALIZED_NAME_ROLE_NAME) + @javax.annotation.Nullable + private String roleName; + + public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; + @SerializedName(SERIALIZED_NAME_PERMISSIONS) + @javax.annotation.Nullable + private List permissions = new ArrayList<>(); + + public AddFolderPermission() {} + + public AddFolderPermission roleName(@javax.annotation.Nullable String roleName) { + this.roleName = roleName; + return this; + } + + /** + * Name of Role + * + * @return roleName + */ + @javax.annotation.Nullable + public String getRoleName() { + return roleName; + } + + public void setRoleName(@javax.annotation.Nullable String roleName) { + this.roleName = roleName; + } + + + public AddFolderPermission permissions( + @javax.annotation.Nullable List permissions) { + this.permissions = permissions; + return this; + } + + public AddFolderPermission addPermissionsItem(FolderPermissionType permissionsItem) { + if (this.permissions == null) { + this.permissions = new ArrayList<>(); + } + this.permissions.add(permissionsItem); + return this; + } + + /** + * List of permissions + * + * @return permissions + */ + @javax.annotation.Nullable + public List getPermissions() { + return permissions; + } + + public void setPermissions(@javax.annotation.Nullable List permissions) { + this.permissions = permissions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + AddFolderPermission addFolderPermission = (AddFolderPermission) o; + return Objects.equals(this.roleName, addFolderPermission.roleName) + && Objects.equals(this.permissions, addFolderPermission.permissions); + } + + @Override + public int hashCode() { + return Objects.hash(roleName, permissions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class AddFolderPermission {\n"); + sb.append(" roleName: ").append(toIndentedString(roleName)).append("\n"); + sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("roleName", "permissions")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to AddFolderPermission + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddFolderPermission.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in AddFolderPermission is not found in the empty JSON string", + AddFolderPermission.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!AddFolderPermission.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `AddFolderPermission` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("roleName") != null && !jsonObj.get("roleName").isJsonNull()) + && !jsonObj.get("roleName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `roleName` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("roleName").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() + && !jsonObj.get("permissions").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `permissions` to be an array in the JSON string but got `%s`", + jsonObj.get("permissions").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!AddFolderPermission.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddFolderPermission' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddFolderPermission.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddFolderPermission value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public AddFolderPermission read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of AddFolderPermission given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddFolderPermission + * @throws IOException if the JSON string is invalid with respect to AddFolderPermission + */ + public static AddFolderPermission fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddFolderPermission.class); + } + + /** + * Convert an instance of AddFolderPermission to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddFolderRequest.java b/src/main/java/com/formkiq/client/model/AddFolderRequest.java index 5736d119b..b5aa7c672 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderRequest.java +++ b/src/main/java/com/formkiq/client/model/AddFolderRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddFolderRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddFolderRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("path"); + openapiFields = new HashSet(Arrays.asList("path")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddFolderRequest is not found in the empty JSON string", AddFolderRequest.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddFolderRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddFolderRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderResponse.java b/src/main/java/com/formkiq/client/model/AddFolderResponse.java index 552969816..d7186479f 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderResponse.java +++ b/src/main/java/com/formkiq/client/model/AddFolderResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddFolderResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddFolderResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); - openapiFields.add("indexKey"); + openapiFields = new HashSet(Arrays.asList("message", "indexKey")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddFolderResponse is not found in the empty JSON string", AddFolderResponse.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddFolderResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddFolderResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } if ((jsonObj.get("indexKey") != null && !jsonObj.get("indexKey").isJsonNull()) && !jsonObj.get("indexKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `indexKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java b/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java index 1f5e6db1c..02a4a211b 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java +++ b/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddShare; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddFolderShareRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddFolderShareRequest { public static final String SERIALIZED_NAME_SHARE = "share"; @SerializedName(SERIALIZED_NAME_SHARE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("share"); + openapiFields = new HashSet(Arrays.asList("share")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderShareRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddFolderShareRequest is not found in the empty JSON string", AddFolderShareRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddFolderShareRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddFolderShareRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java b/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java index 1f2632fa7..8e9eefb9a 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java +++ b/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddFolderShareResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddFolderShareResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); - openapiFields.add("shareKey"); + openapiFields = new HashSet(Arrays.asList("message", "shareKey")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderShareResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddFolderShareResponse is not found in the empty JSON string", AddFolderShareResponse.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddFolderShareResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddFolderShareResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } if ((jsonObj.get("shareKey") != null && !jsonObj.get("shareKey").isJsonNull()) && !jsonObj.get("shareKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `shareKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java index ecccc3099..91855ee45 100644 --- a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java +++ b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.GoogleExportOutputType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddGoogleDocumentExportRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddGoogleDocumentExportRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -159,12 +161,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("path"); - openapiFields.add("outputType"); + openapiFields = new HashSet(Arrays.asList("path", "outputType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -179,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddGoogleDocumentExportRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddGoogleDocumentExportRequest is not found in the empty JSON string", AddGoogleDocumentExportRequest.openapiRequiredFields.toString())); } @@ -189,7 +189,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddGoogleDocumentExportRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddGoogleDocumentExportRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,7 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java index fd9cd3285..5991a2a33 100644 --- a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java +++ b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddGoogleDocumentExportResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddGoogleDocumentExportResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); + openapiFields = new HashSet(Arrays.asList("documentId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddGoogleDocumentExportResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddGoogleDocumentExportResponse is not found in the empty JSON string", AddGoogleDocumentExportResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddGoogleDocumentExportResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddGoogleDocumentExportResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddGroup.java b/src/main/java/com/formkiq/client/model/AddGroup.java index 1708600f1..deb5a6983 100644 --- a/src/main/java/com/formkiq/client/model/AddGroup.java +++ b/src/main/java/com/formkiq/client/model/AddGroup.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddGroup */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddGroup { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); + openapiFields = new HashSet(Arrays.asList("name", "description")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddGroup.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddGroup is not found in the empty JSON string", AddGroup.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddGroup.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddGroupRequest.java b/src/main/java/com/formkiq/client/model/AddGroupRequest.java index 70812b8fd..b6d9707fa 100644 --- a/src/main/java/com/formkiq/client/model/AddGroupRequest.java +++ b/src/main/java/com/formkiq/client/model/AddGroupRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddGroup; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddGroupRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddGroupRequest { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("group"); + openapiFields = new HashSet(Arrays.asList("group")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("group"); + openapiRequiredFields = new HashSet(Arrays.asList("group")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddGroupRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddGroupRequest is not found in the empty JSON string", AddGroupRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddGroupRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddGroupRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddGroupRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddLocaleRequest.java b/src/main/java/com/formkiq/client/model/AddLocaleRequest.java index 83ebf2d0d..d223d18aa 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleRequest.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddLocaleRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddLocaleRequest { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("locale"); + openapiFields = new HashSet(Arrays.asList("locale")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddLocaleRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddLocaleRequest is not found in the empty JSON string", AddLocaleRequest.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddLocaleRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddLocaleRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locale").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java index 1b960faca..a0e18b6e7 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddLocaleResourceClassificationItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddLocaleResourceClassificationItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -245,20 +247,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("itemType"); - openapiFields.add("classificationId"); - openapiFields.add("attributeKey"); - openapiFields.add("allowedValue"); - openapiFields.add("localizedValue"); + openapiFields = new HashSet(Arrays.asList("itemType", "classificationId", + "attributeKey", "allowedValue", "localizedValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("itemType"); - openapiRequiredFields.add("classificationId"); - openapiRequiredFields.add("attributeKey"); - openapiRequiredFields.add("allowedValue"); - openapiRequiredFields.add("localizedValue"); + openapiRequiredFields = new HashSet(Arrays.asList("itemType", "classificationId", + "attributeKey", "allowedValue", "localizedValue")); } /** @@ -273,7 +267,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceClassificationItem.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddLocaleResourceClassificationItem is not found in the empty JSON string", AddLocaleResourceClassificationItem.openapiRequiredFields.toString())); } @@ -283,7 +277,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddLocaleResourceClassificationItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddLocaleResourceClassificationItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -292,31 +286,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddLocaleResourceClassificationItem.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the required field `itemType` LocaleResourceType.validateJsonElement(jsonObj.get("itemType")); if (!jsonObj.get("classificationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("classificationId").toString())); } if (!jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } if (!jsonObj.get("allowedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowedValue").toString())); } if (!jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java index fda26b0ab..88a22b4e3 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddLocaleResourceInterfaceItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddLocaleResourceInterfaceItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -188,16 +190,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("itemType"); - openapiFields.add("localizedValue"); - openapiFields.add("interfaceKey"); + openapiFields = + new HashSet(Arrays.asList("itemType", "localizedValue", "interfaceKey")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("itemType"); - openapiRequiredFields.add("localizedValue"); - openapiRequiredFields.add("interfaceKey"); + openapiRequiredFields = + new HashSet(Arrays.asList("itemType", "localizedValue", "interfaceKey")); } /** @@ -212,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceInterfaceItem.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddLocaleResourceInterfaceItem is not found in the empty JSON string", AddLocaleResourceInterfaceItem.openapiRequiredFields.toString())); } @@ -222,7 +220,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddLocaleResourceInterfaceItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddLocaleResourceInterfaceItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,21 +229,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddLocaleResourceInterfaceItem.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the required field `itemType` LocaleResourceType.validateJsonElement(jsonObj.get("itemType")); if (!jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } if (!jsonObj.get("interfaceKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `interfaceKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("interfaceKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java index 314f18dd1..7313f331f 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddResourceItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddLocaleResourceItemRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddLocaleResourceItemRequest { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("resourceItem"); + openapiFields = new HashSet(Arrays.asList("resourceItem")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceItemRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddLocaleResourceItemRequest is not found in the empty JSON string", AddLocaleResourceItemRequest.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddLocaleResourceItemRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddLocaleResourceItemRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java index fff17bc59..6c6737b71 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddLocaleResourceItemResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddLocaleResourceItemResponse { public static final String SERIALIZED_NAME_ITEM_KEY = "itemKey"; @SerializedName(SERIALIZED_NAME_ITEM_KEY) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("itemKey"); + openapiFields = new HashSet(Arrays.asList("itemKey")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!AddLocaleResourceItemResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddLocaleResourceItemResponse is not found in the empty JSON string", AddLocaleResourceItemResponse.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddLocaleResourceItemResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddLocaleResourceItemResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,7 +167,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("itemKey") != null && !jsonObj.get("itemKey").isJsonNull()) && !jsonObj.get("itemKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `itemKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("itemKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java index 38dd7fc2b..c0a7994cb 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddLocaleResourceSchemaItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddLocaleResourceSchemaItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -213,18 +215,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("itemType"); - openapiFields.add("attributeKey"); - openapiFields.add("allowedValue"); - openapiFields.add("localizedValue"); + openapiFields = new HashSet( + Arrays.asList("itemType", "attributeKey", "allowedValue", "localizedValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("itemType"); - openapiRequiredFields.add("attributeKey"); - openapiRequiredFields.add("allowedValue"); - openapiRequiredFields.add("localizedValue"); + openapiRequiredFields = new HashSet( + Arrays.asList("itemType", "attributeKey", "allowedValue", "localizedValue")); } /** @@ -237,7 +233,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddLocaleResourceSchemaItem.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddLocaleResourceSchemaItem is not found in the empty JSON string", AddLocaleResourceSchemaItem.openapiRequiredFields.toString())); } @@ -247,7 +243,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddLocaleResourceSchemaItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddLocaleResourceSchemaItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -256,26 +252,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddLocaleResourceSchemaItem.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the required field `itemType` LocaleResourceType.validateJsonElement(jsonObj.get("itemType")); if (!jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } if (!jsonObj.get("allowedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowedValue").toString())); } if (!jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddMapping.java b/src/main/java/com/formkiq/client/model/AddMapping.java index 83dd86b67..9b21a02f7 100644 --- a/src/main/java/com/formkiq/client/model/AddMapping.java +++ b/src/main/java/com/formkiq/client/model/AddMapping.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.MappingAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddMapping */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddMapping { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -194,13 +196,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "description", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddMapping.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddMapping is not found in the empty JSON string", AddMapping.openapiRequiredFields.toString())); } @@ -223,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddMapping.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddMapping` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +230,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -246,7 +245,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddMappingRequest.java b/src/main/java/com/formkiq/client/model/AddMappingRequest.java index 78c5c86bf..a816936cd 100644 --- a/src/main/java/com/formkiq/client/model/AddMappingRequest.java +++ b/src/main/java/com/formkiq/client/model/AddMappingRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddMapping; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddMappingRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddMappingRequest { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("mapping"); + openapiFields = new HashSet(Arrays.asList("mapping")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddMappingRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddMappingRequest is not found in the empty JSON string", AddMappingRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddMappingRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddMappingRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddMappingResponse.java b/src/main/java/com/formkiq/client/model/AddMappingResponse.java index 9bed3cdc1..1223f4366 100644 --- a/src/main/java/com/formkiq/client/model/AddMappingResponse.java +++ b/src/main/java/com/formkiq/client/model/AddMappingResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddMappingResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddMappingResponse { public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId"; @SerializedName(SERIALIZED_NAME_MAPPING_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("mappingId"); + openapiFields = new HashSet(Arrays.asList("mappingId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddMappingResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddMappingResponse is not found in the empty JSON string", AddMappingResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddMappingResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddMappingResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("mappingId") != null && !jsonObj.get("mappingId").isJsonNull()) && !jsonObj.get("mappingId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `mappingId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mappingId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddNigo.java b/src/main/java/com/formkiq/client/model/AddNigo.java index 38c240618..e6f851f1b 100644 --- a/src/main/java/com/formkiq/client/model/AddNigo.java +++ b/src/main/java/com/formkiq/client/model/AddNigo.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.NigoStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * AddNigo */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddNigo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,20 +369,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("status"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("metadata"); - openapiFields.add("documentIds"); + openapiFields = new HashSet(Arrays.asList("name", "description", "status", + "plannedStartDate", "startDate", "endDate", "dueDate", "metadata", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields = new HashSet(Arrays.asList("name")); } /** @@ -393,7 +386,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddNigo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddNigo is not found in the empty JSON string", AddNigo.openapiRequiredFields.toString())); } @@ -403,7 +396,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddNigo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddNigo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -412,20 +405,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddNigo.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -435,32 +428,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddNigoRequest.java b/src/main/java/com/formkiq/client/model/AddNigoRequest.java index 31c219ddc..b9e37220b 100644 --- a/src/main/java/com/formkiq/client/model/AddNigoRequest.java +++ b/src/main/java/com/formkiq/client/model/AddNigoRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddNigo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddNigoRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddNigoRequest { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("nigo"); + openapiFields = new HashSet(Arrays.asList("nigo")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("nigo"); + openapiRequiredFields = new HashSet(Arrays.asList("nigo")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddNigoRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddNigoRequest is not found in the empty JSON string", AddNigoRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddNigoRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddNigoRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddNigoRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddNigoResponse.java b/src/main/java/com/formkiq/client/model/AddNigoResponse.java index 4640e5d36..2447ec4b1 100644 --- a/src/main/java/com/formkiq/client/model/AddNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/AddNigoResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddNigoResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddNigoResponse { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("nigoId"); + openapiFields = new HashSet(Arrays.asList("nigoId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddNigoResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddNigoResponse is not found in the empty JSON string", AddNigoResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddNigoResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddNigoResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("nigoId") != null && !jsonObj.get("nigoId").isJsonNull()) && !jsonObj.get("nigoId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nigoId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nigoId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddQueueRequest.java b/src/main/java/com/formkiq/client/model/AddQueueRequest.java index 744cbbfac..39fea8eb3 100644 --- a/src/main/java/com/formkiq/client/model/AddQueueRequest.java +++ b/src/main/java/com/formkiq/client/model/AddQueueRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddQueueRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddQueueRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -129,12 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); + openapiFields = new HashSet(Arrays.asList("name")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields = new HashSet(Arrays.asList("name")); } /** @@ -147,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddQueueRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddQueueRequest is not found in the empty JSON string", AddQueueRequest.openapiRequiredFields.toString())); } @@ -157,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddQueueRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddQueueRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,14 +166,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddQueueRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddQueueResponse.java b/src/main/java/com/formkiq/client/model/AddQueueResponse.java index 697b6a45c..a93928ac1 100644 --- a/src/main/java/com/formkiq/client/model/AddQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/AddQueueResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddQueueResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddQueueResponse { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("queueId"); + openapiFields = new HashSet(Arrays.asList("queueId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddQueueResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddQueueResponse is not found in the empty JSON string", AddQueueResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddQueueResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddQueueResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("queueId") != null && !jsonObj.get("queueId").isJsonNull()) && !jsonObj.get("queueId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queueId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("queueId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java b/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java index 1c8fe4125..57372a45a 100644 --- a/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ReindexTarget; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddReindexDocumentRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddReindexDocumentRequest { public static final String SERIALIZED_NAME_TARGET = "target"; @SerializedName(SERIALIZED_NAME_TARGET) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("target"); + openapiFields = new HashSet(Arrays.asList("target")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddReindexDocumentRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddReindexDocumentRequest is not found in the empty JSON string", AddReindexDocumentRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddReindexDocumentRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddReindexDocumentRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddResourceItem.java b/src/main/java/com/formkiq/client/model/AddResourceItem.java index 8050986ba..db2ee366d 100644 --- a/src/main/java/com/formkiq/client/model/AddResourceItem.java +++ b/src/main/java/com/formkiq/client/model/AddResourceItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddLocaleResourceClassificationItem; import com.formkiq.client.model.AddLocaleResourceInterfaceItem; import com.formkiq.client.model.AddLocaleResourceSchemaItem; @@ -45,6 +46,7 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Locale; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -69,8 +71,8 @@ import com.formkiq.client.invoker.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddResourceItem extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AddResourceItem.class.getName()); @@ -140,7 +142,7 @@ public AddResourceItem read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddLocaleResourceInterfaceItem'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddLocaleResourceInterfaceItem failed with `%s`.", e.getMessage())); log.log(Level.FINER, @@ -155,9 +157,9 @@ public AddResourceItem read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddLocaleResourceSchemaItem'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add( - String.format("Deserialization for AddLocaleResourceSchemaItem failed with `%s`.", - e.getMessage())); + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddLocaleResourceSchemaItem failed with `%s`.", + e.getMessage())); log.log(Level.FINER, "Input data does not match schema 'AddLocaleResourceSchemaItem'", e); } @@ -170,7 +172,7 @@ public AddResourceItem read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddLocaleResourceClassificationItem'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddLocaleResourceClassificationItem failed with `%s`.", e.getMessage())); log.log(Level.FINER, @@ -183,7 +185,7 @@ public AddResourceItem read(JsonReader in) throws IOException { return ret; } - throw new IOException(String.format( + throw new IOException(String.format(Locale.ROOT, "Failed deserialization for AddResourceItem: %d classes match result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", match, errorMessages, jsonElement.toString())); } @@ -305,7 +307,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddLocaleResourceInterfaceItem.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddLocaleResourceInterfaceItem failed with `%s`.", e.getMessage())); // continue to the next one } @@ -314,7 +316,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddLocaleResourceSchemaItem.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format( + errorMessages.add(String.format(Locale.ROOT, "Deserialization for AddLocaleResourceSchemaItem failed with `%s`.", e.getMessage())); // continue to the next one } @@ -323,13 +325,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddLocaleResourceClassificationItem.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add( - String.format("Deserialization for AddLocaleResourceClassificationItem failed with `%s`.", - e.getMessage())); + errorMessages.add(String.format(Locale.ROOT, + "Deserialization for AddLocaleResourceClassificationItem failed with `%s`.", + e.getMessage())); // continue to the next one } if (validCount != 1) { - throw new IOException(String.format( + throw new IOException(String.format(Locale.ROOT, "The JSON string is invalid for AddResourceItem with oneOf schemas: AddLocaleResourceClassificationItem, AddLocaleResourceInterfaceItem, AddLocaleResourceSchemaItem. %d class(es) match the result, expected 1. Detailed failure message for oneOf schemas: %s. JSON: %s", validCount, errorMessages, jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddResponse.java b/src/main/java/com/formkiq/client/model/AddResponse.java index 0795bffb0..1a62bfc5d 100644 --- a/src/main/java/com/formkiq/client/model/AddResponse.java +++ b/src/main/java/com/formkiq/client/model/AddResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddResponse is not found in the empty JSON string", AddResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddRule.java b/src/main/java/com/formkiq/client/model/AddRule.java index 56e73805e..c1b79efbc 100644 --- a/src/main/java/com/formkiq/client/model/AddRule.java +++ b/src/main/java/com/formkiq/client/model/AddRule.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RuleCondition; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddRule */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddRule { public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) @@ -240,15 +242,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("priority"); - openapiFields.add("description"); - openapiFields.add("workflowId"); - openapiFields.add("status"); - openapiFields.add("conditions"); + openapiFields = new HashSet( + Arrays.asList("priority", "description", "workflowId", "status", "conditions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -261,7 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRule.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddRule is not found in the empty JSON string", AddRule.openapiRequiredFields.toString())); } @@ -271,7 +269,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddRule.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddRule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -279,13 +277,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddRuleRequest.java b/src/main/java/com/formkiq/client/model/AddRuleRequest.java index 3a8d3b9ad..2a9b0f7d4 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleRequest.java +++ b/src/main/java/com/formkiq/client/model/AddRuleRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddRule; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddRuleRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddRuleRequest { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("rule"); + openapiFields = new HashSet(Arrays.asList("rule")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRuleRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddRuleRequest is not found in the empty JSON string", AddRuleRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddRuleRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddRuleRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddRuleResponse.java b/src/main/java/com/formkiq/client/model/AddRuleResponse.java index bdd9ea1a6..cb840e8e5 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/AddRuleResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddRuleResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddRuleResponse { public static final String SERIALIZED_NAME_RULE_ID = "ruleId"; @SerializedName(SERIALIZED_NAME_RULE_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ruleId"); + openapiFields = new HashSet(Arrays.asList("ruleId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRuleResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddRuleResponse is not found in the empty JSON string", AddRuleResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddRuleResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddRuleResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("ruleId") != null && !jsonObj.get("ruleId").isJsonNull()) && !jsonObj.get("ruleId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ruleId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ruleId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddRuleset.java b/src/main/java/com/formkiq/client/model/AddRuleset.java index e4dca7745..41d227022 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleset.java +++ b/src/main/java/com/formkiq/client/model/AddRuleset.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddRuleset */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddRuleset { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -212,14 +214,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("description"); - openapiFields.add("priority"); - openapiFields.add("version"); - openapiFields.add("status"); + openapiFields = + new HashSet(Arrays.asList("description", "priority", "version", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -232,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRuleset.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddRuleset is not found in the empty JSON string", AddRuleset.openapiRequiredFields.toString())); } @@ -242,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddRuleset.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddRuleset` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -250,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddRulesetRequest.java b/src/main/java/com/formkiq/client/model/AddRulesetRequest.java index 5ed6a66b7..6d2dd2b23 100644 --- a/src/main/java/com/formkiq/client/model/AddRulesetRequest.java +++ b/src/main/java/com/formkiq/client/model/AddRulesetRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddRuleset; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddRulesetRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddRulesetRequest { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ruleset"); + openapiFields = new HashSet(Arrays.asList("ruleset")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("ruleset"); + openapiRequiredFields = new HashSet(Arrays.asList("ruleset")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRulesetRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddRulesetRequest is not found in the empty JSON string", AddRulesetRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddRulesetRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddRulesetRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddRulesetRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddRulesetResponse.java b/src/main/java/com/formkiq/client/model/AddRulesetResponse.java index fbc9a6452..9646c45f0 100644 --- a/src/main/java/com/formkiq/client/model/AddRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/AddRulesetResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddRulesetResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddRulesetResponse { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("rulesetId"); + openapiFields = new HashSet(Arrays.asList("rulesetId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddRulesetResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddRulesetResponse is not found in the empty JSON string", AddRulesetResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddRulesetResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddRulesetResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("rulesetId") != null && !jsonObj.get("rulesetId").isJsonNull()) && !jsonObj.get("rulesetId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `rulesetId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rulesetId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddShare.java b/src/main/java/com/formkiq/client/model/AddShare.java index 5397d6878..5838dc3c3 100644 --- a/src/main/java/com/formkiq/client/model/AddShare.java +++ b/src/main/java/com/formkiq/client/model/AddShare.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UserSharePermission; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddShare */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddShare { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("group"); - openapiFields.add("permissions"); + openapiFields = new HashSet(Arrays.asList("group", "permissions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddShare.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddShare is not found in the empty JSON string", AddShare.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddShare.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddShare` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,14 +203,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("group") != null && !jsonObj.get("group").isJsonNull()) && !jsonObj.get("group").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `group` to be a primitive type in the JSON string but got `%s`", jsonObj.get("group").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddSite.java b/src/main/java/com/formkiq/client/model/AddSite.java index d55b3c244..d150c507b 100644 --- a/src/main/java/com/formkiq/client/model/AddSite.java +++ b/src/main/java/com/formkiq/client/model/AddSite.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SiteStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddSite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddSite { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -183,13 +185,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("id"); - openapiFields.add("title"); - openapiFields.add("status"); + openapiFields = new HashSet(Arrays.asList("id", "title", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -202,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddSite.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddSite is not found in the empty JSON string", AddSite.openapiRequiredFields.toString())); } @@ -212,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddSite.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddSite` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -220,13 +219,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } if ((jsonObj.get("title") != null && !jsonObj.get("title").isJsonNull()) && !jsonObj.get("title").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("title").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddSiteRequest.java b/src/main/java/com/formkiq/client/model/AddSiteRequest.java index 9c9b5dc35..c88aadf5a 100644 --- a/src/main/java/com/formkiq/client/model/AddSiteRequest.java +++ b/src/main/java/com/formkiq/client/model/AddSiteRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddSite; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddSiteRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddSiteRequest { public static final String SERIALIZED_NAME_SITE = "site"; @SerializedName(SERIALIZED_NAME_SITE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("site"); + openapiFields = new HashSet(Arrays.asList("site")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddSiteRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddSiteRequest is not found in the empty JSON string", AddSiteRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddSiteRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddSiteRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddTask.java b/src/main/java/com/formkiq/client/model/AddTask.java index 584832740..e87648f92 100644 --- a/src/main/java/com/formkiq/client/model/AddTask.java +++ b/src/main/java/com/formkiq/client/model/AddTask.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.TaskStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * AddTask */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddTask { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,20 +369,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("status"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("metadata"); - openapiFields.add("documentIds"); + openapiFields = new HashSet(Arrays.asList("name", "description", "status", + "plannedStartDate", "startDate", "endDate", "dueDate", "metadata", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("description"); + openapiRequiredFields = new HashSet(Arrays.asList("description")); } /** @@ -393,7 +386,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddTask.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddTask is not found in the empty JSON string", AddTask.openapiRequiredFields.toString())); } @@ -403,7 +396,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddTask.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddTask` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -412,20 +405,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddTask.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if (!jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -435,32 +428,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddTaskRequest.java b/src/main/java/com/formkiq/client/model/AddTaskRequest.java index 1c81b0d32..3cbaaf23b 100644 --- a/src/main/java/com/formkiq/client/model/AddTaskRequest.java +++ b/src/main/java/com/formkiq/client/model/AddTaskRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddTask; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddTaskRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddTaskRequest { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("task"); + openapiFields = new HashSet(Arrays.asList("task")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("task"); + openapiRequiredFields = new HashSet(Arrays.asList("task")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddTaskRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddTaskRequest is not found in the empty JSON string", AddTaskRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddTaskRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddTaskRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddTaskRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddTaskResponse.java b/src/main/java/com/formkiq/client/model/AddTaskResponse.java index 624ffc197..1aabf2d9e 100644 --- a/src/main/java/com/formkiq/client/model/AddTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/AddTaskResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddTaskResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddTaskResponse { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("taskId"); + openapiFields = new HashSet(Arrays.asList("taskId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddTaskResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddTaskResponse is not found in the empty JSON string", AddTaskResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddTaskResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddTaskResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("taskId") != null && !jsonObj.get("taskId").isJsonNull()) && !jsonObj.get("taskId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `taskId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taskId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddUser.java b/src/main/java/com/formkiq/client/model/AddUser.java index 2cc7d98d8..65c561cdd 100644 --- a/src/main/java/com/formkiq/client/model/AddUser.java +++ b/src/main/java/com/formkiq/client/model/AddUser.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UserAttributes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddUser */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddUser { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -157,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("username"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("username", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -175,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddUser.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddUser is not found in the empty JSON string", AddUser.openapiRequiredFields.toString())); } @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddUser.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddUser` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -193,7 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull()) && !jsonObj.get("username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddUserRequest.java b/src/main/java/com/formkiq/client/model/AddUserRequest.java index 4a765d898..57d63e19d 100644 --- a/src/main/java/com/formkiq/client/model/AddUserRequest.java +++ b/src/main/java/com/formkiq/client/model/AddUserRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddUser; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddUserRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddUserRequest { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("user"); + openapiFields = new HashSet(Arrays.asList("user")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("user"); + openapiRequiredFields = new HashSet(Arrays.asList("user")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddUserRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddUserRequest is not found in the empty JSON string", AddUserRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddUserRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddUserRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddUserRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/AddWebhookRequest.java b/src/main/java/com/formkiq/client/model/AddWebhookRequest.java index bd103ffed..e282e609a 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentTag; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * AddWebhookRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWebhookRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -221,15 +223,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("ttl"); - openapiFields.add("enabled"); - openapiFields.add("tags"); + openapiFields = new HashSet(Arrays.asList("name", "ttl", "enabled", "tags")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields = new HashSet(Arrays.asList("name")); } /** @@ -242,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWebhookRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWebhookRequest is not found in the empty JSON string", AddWebhookRequest.openapiRequiredFields.toString())); } @@ -252,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWebhookRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWebhookRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -261,26 +258,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddWebhookRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("ttl") != null && !jsonObj.get("ttl").isJsonNull()) && !jsonObj.get("ttl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ttl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ttl").toString())); } if ((jsonObj.get("enabled") != null && !jsonObj.get("enabled").isJsonNull()) && !jsonObj.get("enabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `enabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enabled").toString())); } @@ -289,7 +286,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWebhookResponse.java b/src/main/java/com/formkiq/client/model/AddWebhookResponse.java index 45fc62dc6..650eaa059 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookResponse.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddWebhookResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWebhookResponse { public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("webhookId"); - openapiFields.add("siteId"); + openapiFields = new HashSet(Arrays.asList("webhookId", "siteId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWebhookResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWebhookResponse is not found in the empty JSON string", AddWebhookResponse.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWebhookResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWebhookResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("webhookId") != null && !jsonObj.get("webhookId").isJsonNull()) && !jsonObj.get("webhookId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); } if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java b/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java index e88fcc264..3a0052cdd 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddWebhookTagRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWebhookTagRequest { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -193,13 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("value"); - openapiFields.add("values"); - openapiFields.add("key"); + openapiFields = new HashSet(Arrays.asList("value", "values", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -212,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWebhookTagRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWebhookTagRequest is not found in the empty JSON string", AddWebhookTagRequest.openapiRequiredFields.toString())); } @@ -222,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWebhookTagRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWebhookTagRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,20 +229,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java b/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java index 13e4a378f..b96716a0f 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddWorkflowStep; import com.formkiq.client.model.WorkflowStatus; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * AddWorkflowRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -222,17 +224,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("status"); - openapiFields.add("steps"); + openapiFields = new HashSet(Arrays.asList("name", "description", "status", "steps")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); - openapiRequiredFields.add("status"); - openapiRequiredFields.add("steps"); + openapiRequiredFields = new HashSet(Arrays.asList("name", "status", "steps")); } /** @@ -245,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWorkflowRequest is not found in the empty JSON string", AddWorkflowRequest.openapiRequiredFields.toString())); } @@ -255,7 +250,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWorkflowRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -264,20 +259,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddWorkflowRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -285,9 +280,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti WorkflowStatus.validateJsonElement(jsonObj.get("status")); // ensure the json data is an array if (!jsonObj.get("steps").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `steps` to be an array in the JSON string but got `%s`", - jsonObj.get("steps").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `steps` to be an array in the JSON string but got `%s`", + jsonObj.get("steps").toString())); } JsonArray jsonArraysteps = jsonObj.getAsJsonArray("steps"); diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java b/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java index 89d4df558..0621e4b06 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * AddWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWorkflowResponse { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workflowId"); + openapiFields = new HashSet(Arrays.asList("workflowId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWorkflowResponse is not found in the empty JSON string", AddWorkflowResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStep.java b/src/main/java/com/formkiq/client/model/AddWorkflowStep.java index 721e87a7c..fb6743f57 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStep.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStep.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAction; import com.formkiq.client.model.AddWorkflowStepDecision; import com.formkiq.client.model.AddWorkflowStepQueue; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * AddWorkflowStep */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWorkflowStep { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -224,14 +226,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stepId"); - openapiFields.add("action"); - openapiFields.add("queue"); - openapiFields.add("decisions"); + openapiFields = new HashSet(Arrays.asList("stepId", "action", "queue", "decisions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -244,7 +242,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowStep.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWorkflowStep is not found in the empty JSON string", AddWorkflowStep.openapiRequiredFields.toString())); } @@ -254,7 +252,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWorkflowStep.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWorkflowStep` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -262,7 +260,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stepId") != null && !jsonObj.get("stepId").isJsonNull()) && !jsonObj.get("stepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stepId").toString())); } @@ -279,7 +277,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydecisions != null) { // ensure the json data is an array if (!jsonObj.get("decisions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `decisions` to be an array in the JSON string but got `%s`", jsonObj.get("decisions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java b/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java index 142613406..2202a4f67 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowStepDecisionType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * AddWorkflowStepDecision */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWorkflowStepDecision { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -157,14 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("nextStepId"); + openapiFields = new HashSet(Arrays.asList("type", "nextStepId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("type"); - openapiRequiredFields.add("nextStepId"); + openapiRequiredFields = new HashSet(Arrays.asList("type", "nextStepId")); } /** @@ -177,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowStepDecision.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWorkflowStepDecision is not found in the empty JSON string", AddWorkflowStepDecision.openapiRequiredFields.toString())); } @@ -187,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWorkflowStepDecision.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWorkflowStepDecision` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -196,16 +194,16 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddWorkflowStepDecision.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the required field `type` WorkflowStepDecisionType.validateJsonElement(jsonObj.get("type")); if (!jsonObj.get("nextStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nextStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nextStepId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java b/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java index f6e38f0e1..6b7c99339 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AddWorkflowStepQueue */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AddWorkflowStepQueue { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -167,13 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("queueId"); - openapiFields.add("approvalGroups"); + openapiFields = new HashSet(Arrays.asList("queueId", "approvalGroups")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("queueId"); + openapiRequiredFields = new HashSet(Arrays.asList("queueId")); } /** @@ -186,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddWorkflowStepQueue.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AddWorkflowStepQueue is not found in the empty JSON string", AddWorkflowStepQueue.openapiRequiredFields.toString())); } @@ -196,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AddWorkflowStepQueue.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AddWorkflowStepQueue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -205,21 +204,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : AddWorkflowStepQueue.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("queueId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queueId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("queueId").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("approvalGroups") != null && !jsonObj.get("approvalGroups").isJsonNull() && !jsonObj.get("approvalGroups").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `approvalGroups` to be an array in the JSON string but got `%s`", jsonObj.get("approvalGroups").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ApiKey.java b/src/main/java/com/formkiq/client/model/ApiKey.java index 6ef9e8b81..b64653050 100644 --- a/src/main/java/com/formkiq/client/model/ApiKey.java +++ b/src/main/java/com/formkiq/client/model/ApiKey.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * ApiKey */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ApiKey { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -329,16 +331,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("apiKey"); - openapiFields.add("userId"); - openapiFields.add("siteId"); - openapiFields.add("insertedDate"); - openapiFields.add("permissions"); + openapiFields = new HashSet( + Arrays.asList("name", "apiKey", "userId", "siteId", "insertedDate", "permissions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -350,7 +347,7 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!ApiKey.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ApiKey is not found in the empty JSON string", ApiKey.openapiRequiredFields.toString())); } @@ -360,7 +357,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ApiKey.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ApiKey` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -368,38 +365,38 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("apiKey") != null && !jsonObj.get("apiKey").isJsonNull()) && !jsonObj.get("apiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `apiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("apiKey").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Attribute.java b/src/main/java/com/formkiq/client/model/Attribute.java index faecdf069..5ed4dc45f 100644 --- a/src/main/java/com/formkiq/client/model/Attribute.java +++ b/src/main/java/com/formkiq/client/model/Attribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AttributeDataType; import com.formkiq.client.model.AttributeType; import com.formkiq.client.model.Watermark; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Attribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Attribute { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -212,14 +214,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("key"); - openapiFields.add("dataType"); - openapiFields.add("watermark"); + openapiFields = new HashSet(Arrays.asList("type", "key", "dataType", "watermark")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -232,7 +230,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Attribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in Attribute is not found in the empty JSON string", Attribute.openapiRequiredFields.toString())); } @@ -242,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Attribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Attribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -254,7 +252,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AttributeDataType.java b/src/main/java/com/formkiq/client/model/AttributeDataType.java index ea3e74cdc..bf01467f0 100644 --- a/src/main/java/com/formkiq/client/model/AttributeDataType.java +++ b/src/main/java/com/formkiq/client/model/AttributeDataType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -46,7 +48,9 @@ public enum AttributeDataType { PUBLICATION("PUBLICATION"), - WATERMARK("WATERMARK"); + WATERMARK("WATERMARK"), + + ENTITY("ENTITY"); private String value; diff --git a/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java b/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java index 71f23d17d..af01d9086 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * AttributeSchemaCompositeKey */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AttributeSchemaCompositeKey { public static final String SERIALIZED_NAME_ATTRIBUTE_KEYS = "attributeKeys"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEYS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attributeKeys"); + openapiFields = new HashSet(Arrays.asList("attributeKeys")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AttributeSchemaCompositeKey.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AttributeSchemaCompositeKey is not found in the empty JSON string", AttributeSchemaCompositeKey.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AttributeSchemaCompositeKey.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AttributeSchemaCompositeKey` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -176,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("attributeKeys") != null && !jsonObj.get("attributeKeys").isJsonNull() && !jsonObj.get("attributeKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKeys` to be an array in the JSON string but got `%s`", jsonObj.get("attributeKeys").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java b/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java index e1dc50172..bb7997b86 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * AttributeSchemaOptional */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AttributeSchemaOptional { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -266,15 +268,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("minNumberOfValues"); - openapiFields.add("maxNumberOfValues"); - openapiFields.add("attributeKey"); - openapiFields.add("allowedValues"); - openapiFields.add("localizedAllowedValues"); + openapiFields = new HashSet(Arrays.asList("minNumberOfValues", "maxNumberOfValues", + "attributeKey", "allowedValues", "localizedAllowedValues")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -287,7 +285,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AttributeSchemaOptional.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AttributeSchemaOptional is not found in the empty JSON string", AttributeSchemaOptional.openapiRequiredFields.toString())); } @@ -297,7 +295,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AttributeSchemaOptional.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AttributeSchemaOptional` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -305,14 +303,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull() && !jsonObj.get("allowedValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValues` to be an array in the JSON string but got `%s`", jsonObj.get("allowedValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java b/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java index 7e2a9d3c5..12d7932ca 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * AttributeSchemaRequired */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class AttributeSchemaRequired { public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) @@ -329,17 +331,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attributeKey"); - openapiFields.add("minNumberOfValues"); - openapiFields.add("maxNumberOfValues"); - openapiFields.add("defaultValue"); - openapiFields.add("defaultValues"); - openapiFields.add("allowedValues"); - openapiFields.add("localizedAllowedValues"); + openapiFields = + new HashSet(Arrays.asList("attributeKey", "minNumberOfValues", "maxNumberOfValues", + "defaultValue", "defaultValues", "allowedValues", "localizedAllowedValues")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -352,7 +349,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AttributeSchemaRequired.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in AttributeSchemaRequired is not found in the empty JSON string", AttributeSchemaRequired.openapiRequiredFields.toString())); } @@ -362,7 +359,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!AttributeSchemaRequired.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `AttributeSchemaRequired` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -370,27 +367,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } if ((jsonObj.get("defaultValue") != null && !jsonObj.get("defaultValue").isJsonNull()) && !jsonObj.get("defaultValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `defaultValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("defaultValue").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("defaultValues") != null && !jsonObj.get("defaultValues").isJsonNull() && !jsonObj.get("defaultValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `defaultValues` to be an array in the JSON string but got `%s`", jsonObj.get("defaultValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull() && !jsonObj.get("allowedValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValues` to be an array in the JSON string but got `%s`", jsonObj.get("allowedValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/AttributeType.java b/src/main/java/com/formkiq/client/model/AttributeType.java index 7f734824d..ab669690a 100644 --- a/src/main/java/com/formkiq/client/model/AttributeType.java +++ b/src/main/java/com/formkiq/client/model/AttributeType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -38,7 +40,9 @@ public enum AttributeType { STANDARD("STANDARD"), - OPA("OPA"); + OPA("OPA"), + + GOVERNANCE("GOVERNANCE"); private String value; diff --git a/src/main/java/com/formkiq/client/model/AttributeValueType.java b/src/main/java/com/formkiq/client/model/AttributeValueType.java index 80a61075b..1a80be5f4 100644 --- a/src/main/java/com/formkiq/client/model/AttributeValueType.java +++ b/src/main/java/com/formkiq/client/model/AttributeValueType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -52,7 +54,9 @@ public enum AttributeValueType { RELATIONSHIPS("RELATIONSHIPS"), - WATERMARK("WATERMARK"); + WATERMARK("WATERMARK"), + + ENTITY("ENTITY"); private String value; diff --git a/src/main/java/com/formkiq/client/model/CaseStatus.java b/src/main/java/com/formkiq/client/model/CaseStatus.java index 7c7c9281e..fd7d982df 100644 --- a/src/main/java/com/formkiq/client/model/CaseStatus.java +++ b/src/main/java/com/formkiq/client/model/CaseStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/ChecksumType.java b/src/main/java/com/formkiq/client/model/ChecksumType.java index ddd26bfcd..19e3e97e6 100644 --- a/src/main/java/com/formkiq/client/model/ChecksumType.java +++ b/src/main/java/com/formkiq/client/model/ChecksumType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/ChildDocument.java b/src/main/java/com/formkiq/client/model/ChildDocument.java index 81a190a28..060aa1039 100644 --- a/src/main/java/com/formkiq/client/model/ChildDocument.java +++ b/src/main/java/com/formkiq/client/model/ChildDocument.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * ChildDocument */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ChildDocument { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -455,24 +457,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("checksum"); - openapiFields.add("documentId"); - openapiFields.add("contentType"); - openapiFields.add("userId"); - openapiFields.add("contentLength"); - openapiFields.add("versionId"); - openapiFields.add("belongsToDocumentId"); + openapiFields = new HashSet(Arrays.asList("path", "width", "height", "deepLinkPath", + "insertedDate", "lastModifiedDate", "checksum", "documentId", "contentType", "userId", + "contentLength", "versionId", "belongsToDocumentId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("documentId"); + openapiRequiredFields = new HashSet(Arrays.asList("documentId")); } /** @@ -485,7 +475,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ChildDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ChildDocument is not found in the empty JSON string", ChildDocument.openapiRequiredFields.toString())); } @@ -495,7 +485,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ChildDocument.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ChildDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -504,81 +494,81 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : ChildDocument.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } if (!jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("versionId") != null && !jsonObj.get("versionId").isJsonNull()) && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); } if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Classification.java b/src/main/java/com/formkiq/client/model/Classification.java index c0898aeae..bc27ff661 100644 --- a/src/main/java/com/formkiq/client/model/Classification.java +++ b/src/main/java/com/formkiq/client/model/Classification.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SchemaAttributes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Classification */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Classification { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -211,14 +213,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("userId"); - openapiFields.add("insertedDate"); - openapiFields.add("attributes"); + openapiFields = + new HashSet(Arrays.asList("name", "userId", "insertedDate", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -231,7 +230,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Classification.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in Classification is not found in the empty JSON string", Classification.openapiRequiredFields.toString())); } @@ -241,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Classification.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Classification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -249,19 +248,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ClassificationSummary.java b/src/main/java/com/formkiq/client/model/ClassificationSummary.java index 62c43d1c9..43f2a46d6 100644 --- a/src/main/java/com/formkiq/client/model/ClassificationSummary.java +++ b/src/main/java/com/formkiq/client/model/ClassificationSummary.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * ClassificationSummary */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ClassificationSummary { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -211,14 +213,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("classificationId"); - openapiFields.add("name"); - openapiFields.add("userId"); - openapiFields.add("insertedDate"); + openapiFields = + new HashSet(Arrays.asList("classificationId", "name", "userId", "insertedDate")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -231,7 +230,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ClassificationSummary.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ClassificationSummary is not found in the empty JSON string", ClassificationSummary.openapiRequiredFields.toString())); } @@ -241,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ClassificationSummary.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ClassificationSummary` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -249,25 +248,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("classificationId") != null && !jsonObj.get("classificationId").isJsonNull()) && !jsonObj.get("classificationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("classificationId").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DataClassification.java b/src/main/java/com/formkiq/client/model/DataClassification.java new file mode 100644 index 000000000..a7abbf29c --- /dev/null +++ b/src/main/java/com/formkiq/client/model/DataClassification.java @@ -0,0 +1,382 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.DataClassificationAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * DataClassification + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class DataClassification { + public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; + @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) + @javax.annotation.Nullable + private String llmPromptEntityName; + + public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; + @SerializedName(SERIALIZED_NAME_INSERTED_DATE) + @javax.annotation.Nullable + private String insertedDate; + + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) + @javax.annotation.Nullable + private String content; + + public static final String SERIALIZED_NAME_USER_ID = "userId"; + @SerializedName(SERIALIZED_NAME_USER_ID) + @javax.annotation.Nullable + private String userId; + + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + @javax.annotation.Nullable + private List attributes = new ArrayList<>(); + + public DataClassification() {} + + public DataClassification llmPromptEntityName( + @javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + return this; + } + + /** + * Name of the LLM Prompt Entity + * + * @return llmPromptEntityName + */ + @javax.annotation.Nullable + public String getLlmPromptEntityName() { + return llmPromptEntityName; + } + + public void setLlmPromptEntityName(@javax.annotation.Nullable String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + } + + + public DataClassification insertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + return this; + } + + /** + * Inserted Timestamp + * + * @return insertedDate + */ + @javax.annotation.Nullable + public String getInsertedDate() { + return insertedDate; + } + + public void setInsertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + } + + + public DataClassification content(@javax.annotation.Nullable String content) { + this.content = content; + return this; + } + + /** + * Result content + * + * @return content + */ + @javax.annotation.Nullable + public String getContent() { + return content; + } + + public void setContent(@javax.annotation.Nullable String content) { + this.content = content; + } + + + public DataClassification userId(@javax.annotation.Nullable String userId) { + this.userId = userId; + return this; + } + + /** + * UserId that created Result + * + * @return userId + */ + @javax.annotation.Nullable + public String getUserId() { + return userId; + } + + public void setUserId(@javax.annotation.Nullable String userId) { + this.userId = userId; + } + + + public DataClassification attributes( + @javax.annotation.Nullable List attributes) { + this.attributes = attributes; + return this; + } + + public DataClassification addAttributesItem(DataClassificationAttribute attributesItem) { + if (this.attributes == null) { + this.attributes = new ArrayList<>(); + } + this.attributes.add(attributesItem); + return this; + } + + /** + * Attributes extracted from result content + * + * @return attributes + */ + @javax.annotation.Nullable + public List getAttributes() { + return attributes; + } + + public void setAttributes( + @javax.annotation.Nullable List attributes) { + this.attributes = attributes; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DataClassification dataClassification = (DataClassification) o; + return Objects.equals(this.llmPromptEntityName, dataClassification.llmPromptEntityName) + && Objects.equals(this.insertedDate, dataClassification.insertedDate) + && Objects.equals(this.content, dataClassification.content) + && Objects.equals(this.userId, dataClassification.userId) + && Objects.equals(this.attributes, dataClassification.attributes); + } + + @Override + public int hashCode() { + return Objects.hash(llmPromptEntityName, insertedDate, content, userId, attributes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DataClassification {\n"); + sb.append(" llmPromptEntityName: ").append(toIndentedString(llmPromptEntityName)) + .append("\n"); + sb.append(" insertedDate: ").append(toIndentedString(insertedDate)).append("\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet( + Arrays.asList("llmPromptEntityName", "insertedDate", "content", "userId", "attributes")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DataClassification + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!DataClassification.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in DataClassification is not found in the empty JSON string", + DataClassification.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!DataClassification.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `DataClassification` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("llmPromptEntityName") != null + && !jsonObj.get("llmPromptEntityName").isJsonNull()) + && !jsonObj.get("llmPromptEntityName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `llmPromptEntityName` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("llmPromptEntityName").toString())); + } + if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) + && !jsonObj.get("insertedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("insertedDate").toString())); + } + if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) + && !jsonObj.get("content").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `content` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("content").toString())); + } + if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) + && !jsonObj.get("userId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("userId").toString())); + } + if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull()) { + JsonArray jsonArrayattributes = jsonObj.getAsJsonArray("attributes"); + if (jsonArrayattributes != null) { + // ensure the json data is an array + if (!jsonObj.get("attributes").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `attributes` to be an array in the JSON string but got `%s`", + jsonObj.get("attributes").toString())); + } + + // validate the optional field `attributes` (array) + for (int i = 0; i < jsonArrayattributes.size(); i++) { + DataClassificationAttribute.validateJsonElement(jsonArrayattributes.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DataClassification.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DataClassification' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(DataClassification.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DataClassification value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DataClassification read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DataClassification given an JSON string + * + * @param jsonString JSON string + * @return An instance of DataClassification + * @throws IOException if the JSON string is invalid with respect to DataClassification + */ + public static DataClassification fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DataClassification.class); + } + + /** + * Convert an instance of DataClassification to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/DataClassificationAttribute.java b/src/main/java/com/formkiq/client/model/DataClassificationAttribute.java new file mode 100644 index 000000000..d69d23fac --- /dev/null +++ b/src/main/java/com/formkiq/client/model/DataClassificationAttribute.java @@ -0,0 +1,256 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * DataClassificationAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class DataClassificationAttribute { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nullable + private String key; + + public static final String SERIALIZED_NAME_VALUE = "value"; + @SerializedName(SERIALIZED_NAME_VALUE) + @javax.annotation.Nullable + private String value; + + public DataClassificationAttribute() {} + + public DataClassificationAttribute key(@javax.annotation.Nullable String key) { + this.key = key; + return this; + } + + /** + * Data Classification Attribute Key + * + * @return key + */ + @javax.annotation.Nullable + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nullable String key) { + this.key = key; + } + + + public DataClassificationAttribute value(@javax.annotation.Nullable String value) { + this.value = value; + return this; + } + + /** + * Data Classification Attribute Value + * + * @return value + */ + @javax.annotation.Nullable + public String getValue() { + return value; + } + + public void setValue(@javax.annotation.Nullable String value) { + this.value = value; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + DataClassificationAttribute dataClassificationAttribute = (DataClassificationAttribute) o; + return Objects.equals(this.key, dataClassificationAttribute.key) + && Objects.equals(this.value, dataClassificationAttribute.value); + } + + @Override + public int hashCode() { + return Objects.hash(key, value); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class DataClassificationAttribute {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" value: ").append(toIndentedString(value)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("key", "value")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to DataClassificationAttribute + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!DataClassificationAttribute.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in DataClassificationAttribute is not found in the empty JSON string", + DataClassificationAttribute.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!DataClassificationAttribute.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `DataClassificationAttribute` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) + && !jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `key` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("key").toString())); + } + if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) + && !jsonObj.get("value").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `value` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("value").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!DataClassificationAttribute.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'DataClassificationAttribute' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(DataClassificationAttribute.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, DataClassificationAttribute value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public DataClassificationAttribute read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of DataClassificationAttribute given an JSON string + * + * @param jsonString JSON string + * @return An instance of DataClassificationAttribute + * @throws IOException if the JSON string is invalid with respect to DataClassificationAttribute + */ + public static DataClassificationAttribute fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, DataClassificationAttribute.class); + } + + /** + * Convert an instance of DataClassificationAttribute to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java b/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java index 97c80ae84..85997f0a1 100644 --- a/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteApiKeyResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteApiKeyResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteApiKeyResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteApiKeyResponse is not found in the empty JSON string", DeleteApiKeyResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteApiKeyResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteApiKeyResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java index 6142d8ace..b8c1d2a51 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteCaseDocumentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteCaseDocumentResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteCaseDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteCaseDocumentResponse is not found in the empty JSON string", DeleteCaseDocumentResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteCaseDocumentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteCaseDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java index fa57a70a5..2f889aa1e 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteCaseNigoDocumentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteCaseNigoDocumentResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DeleteCaseNigoDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteCaseNigoDocumentResponse is not found in the empty JSON string", DeleteCaseNigoDocumentResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteCaseNigoDocumentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteCaseNigoDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java index e6a303c72..9ca033741 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteCaseNigoResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteCaseNigoResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteCaseNigoResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteCaseNigoResponse is not found in the empty JSON string", DeleteCaseNigoResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteCaseNigoResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteCaseNigoResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java index 56e1ae800..7dac16a8b 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteCaseResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteCaseResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteCaseResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteCaseResponse is not found in the empty JSON string", DeleteCaseResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteCaseResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteCaseResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java index 77c187cd6..1adfba64d 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteCaseTaskDocumentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteCaseTaskDocumentResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DeleteCaseTaskDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteCaseTaskDocumentResponse is not found in the empty JSON string", DeleteCaseTaskDocumentResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteCaseTaskDocumentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteCaseTaskDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java index b8fa4f27b..f25d96804 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteCaseTaskResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteCaseTaskResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteCaseTaskResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteCaseTaskResponse is not found in the empty JSON string", DeleteCaseTaskResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteCaseTaskResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteCaseTaskResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java b/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java index cd9799332..94d57fc26 100644 --- a/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteFolderResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteFolderResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteFolderResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteFolderResponse is not found in the empty JSON string", DeleteFolderResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteFolderResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteFolderResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java b/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java index 3375b3fdf..a74f53a0b 100644 --- a/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteFulltextResponse is not found in the empty JSON string", DeleteFulltextResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java b/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java index 15d93d42b..208fb8854 100644 --- a/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteIndicesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteIndicesResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteIndicesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteIndicesResponse is not found in the empty JSON string", DeleteIndicesResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteIndicesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteIndicesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java b/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java index d377d1633..64e997978 100644 --- a/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteQueueResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteQueueResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteQueueResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteQueueResponse is not found in the empty JSON string", DeleteQueueResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteQueueResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteQueueResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteResponse.java b/src/main/java/com/formkiq/client/model/DeleteResponse.java index aea3947d1..3fe551643 100644 --- a/src/main/java/com/formkiq/client/model/DeleteResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteResponse is not found in the empty JSON string", DeleteResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java b/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java index 934cf31bf..9d66baa4e 100644 --- a/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteRuleResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteRuleResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteRuleResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteRuleResponse is not found in the empty JSON string", DeleteRuleResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteRuleResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteRuleResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java b/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java index 3c88fe03f..4396539fd 100644 --- a/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteRulesetResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteRulesetResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteRulesetResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteRulesetResponse is not found in the empty JSON string", DeleteRulesetResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteRulesetResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteRulesetResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteShareResponse.java b/src/main/java/com/formkiq/client/model/DeleteShareResponse.java index 5ddd6a2da..502b1da97 100644 --- a/src/main/java/com/formkiq/client/model/DeleteShareResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteShareResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteShareResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteShareResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteShareResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteShareResponse is not found in the empty JSON string", DeleteShareResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteShareResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteShareResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java b/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java index 4beced1b8..aaa2202b1 100644 --- a/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DeleteWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DeleteWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DeleteWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DeleteWorkflowResponse is not found in the empty JSON string", DeleteWorkflowResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DeleteWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DeleteWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Document.java b/src/main/java/com/formkiq/client/model/Document.java index a939b624f..0e1b56d73 100644 --- a/src/main/java/com/formkiq/client/model/Document.java +++ b/src/main/java/com/formkiq/client/model/Document.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.DocumentMetadata; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * Document */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Document { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -602,28 +604,13 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("documentId"); - openapiFields.add("contentType"); - openapiFields.add("userId"); - openapiFields.add("contentLength"); - openapiFields.add("version"); - openapiFields.add("versionKey"); - openapiFields.add("s3version"); - openapiFields.add("belongsToDocumentId"); - openapiFields.add("metadata"); + openapiFields = new HashSet(Arrays.asList("siteId", "path", "width", "height", + "deepLinkPath", "insertedDate", "lastModifiedDate", "checksum", "checksumType", + "documentId", "contentType", "userId", "contentLength", "version", "versionKey", + "s3version", "belongsToDocumentId", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -636,7 +623,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Document.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in Document is not found in the empty JSON string", Document.openapiRequiredFields.toString())); } @@ -646,7 +633,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Document.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Document` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -654,49 +641,49 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -706,44 +693,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("version") != null && !jsonObj.get("version").isJsonNull()) && !jsonObj.get("version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString())); } if ((jsonObj.get("versionKey") != null && !jsonObj.get("versionKey").isJsonNull()) && !jsonObj.get("versionKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `versionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionKey").toString())); } if ((jsonObj.get("s3version") != null && !jsonObj.get("s3version").isJsonNull()) && !jsonObj.get("s3version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `s3version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("s3version").toString())); } if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } @@ -752,7 +739,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentAction.java b/src/main/java/com/formkiq/client/model/DocumentAction.java index c1a6c8eca..5dc2c9304 100644 --- a/src/main/java/com/formkiq/client/model/DocumentAction.java +++ b/src/main/java/com/formkiq/client/model/DocumentAction.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentActionStatus; import com.formkiq.client.model.DocumentActionType; import com.google.gson.TypeAdapter; @@ -29,6 +30,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -53,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +63,8 @@ * DocumentAction */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentAction { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -73,6 +76,16 @@ public class DocumentAction { @javax.annotation.Nullable private DocumentActionType type; + public static final String SERIALIZED_NAME_RETRY_COUNT = "retryCount"; + @SerializedName(SERIALIZED_NAME_RETRY_COUNT) + @javax.annotation.Nullable + private BigDecimal retryCount; + + public static final String SERIALIZED_NAME_MAX_RETRIES = "maxRetries"; + @SerializedName(SERIALIZED_NAME_MAX_RETRIES) + @javax.annotation.Nullable + private BigDecimal maxRetries; + public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @javax.annotation.Nullable @@ -116,7 +129,7 @@ public class DocumentAction { public static final String SERIALIZED_NAME_PARAMETERS = "parameters"; @SerializedName(SERIALIZED_NAME_PARAMETERS) @javax.annotation.Nullable - private Map parameters = new HashMap<>(); + private Map parameters = new HashMap<>(); public static final String SERIALIZED_NAME_METADATA = "metadata"; @SerializedName(SERIALIZED_NAME_METADATA) @@ -165,6 +178,46 @@ public void setType(@javax.annotation.Nullable DocumentActionType type) { } + public DocumentAction retryCount(@javax.annotation.Nullable BigDecimal retryCount) { + this.retryCount = retryCount; + return this; + } + + /** + * The number of times this action has already been attempted + * + * @return retryCount + */ + @javax.annotation.Nullable + public BigDecimal getRetryCount() { + return retryCount; + } + + public void setRetryCount(@javax.annotation.Nullable BigDecimal retryCount) { + this.retryCount = retryCount; + } + + + public DocumentAction maxRetries(@javax.annotation.Nullable BigDecimal maxRetries) { + this.maxRetries = maxRetries; + return this; + } + + /** + * The maximum number of retry attempts allowed for this action + * + * @return maxRetries + */ + @javax.annotation.Nullable + public BigDecimal getMaxRetries() { + return maxRetries; + } + + public void setMaxRetries(@javax.annotation.Nullable BigDecimal maxRetries) { + this.maxRetries = maxRetries; + } + + public DocumentAction queueId(@javax.annotation.Nullable String queueId) { this.queueId = queueId; return this; @@ -325,12 +378,12 @@ public void setCompletedDate(@javax.annotation.Nullable String completedDate) { } - public DocumentAction parameters(@javax.annotation.Nullable Map parameters) { + public DocumentAction parameters(@javax.annotation.Nullable Map parameters) { this.parameters = parameters; return this; } - public DocumentAction putParametersItem(String key, String parametersItem) { + public DocumentAction putParametersItem(String key, Object parametersItem) { if (this.parameters == null) { this.parameters = new HashMap<>(); } @@ -344,11 +397,11 @@ public DocumentAction putParametersItem(String key, String parametersItem) { * @return parameters */ @javax.annotation.Nullable - public Map getParameters() { + public Map getParameters() { return parameters; } - public void setParameters(@javax.annotation.Nullable Map parameters) { + public void setParameters(@javax.annotation.Nullable Map parameters) { this.parameters = parameters; } @@ -393,6 +446,8 @@ public boolean equals(Object o) { DocumentAction documentAction = (DocumentAction) o; return Objects.equals(this.status, documentAction.status) && Objects.equals(this.type, documentAction.type) + && Objects.equals(this.retryCount, documentAction.retryCount) + && Objects.equals(this.maxRetries, documentAction.maxRetries) && Objects.equals(this.queueId, documentAction.queueId) && Objects.equals(this.workflowId, documentAction.workflowId) && Objects.equals(this.workflowStepId, documentAction.workflowStepId) @@ -407,8 +462,8 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(status, type, queueId, workflowId, workflowStepId, message, userId, - insertedDate, startDate, completedDate, parameters, metadata); + return Objects.hash(status, type, retryCount, maxRetries, queueId, workflowId, workflowStepId, + message, userId, insertedDate, startDate, completedDate, parameters, metadata); } @Override @@ -417,6 +472,8 @@ public String toString() { sb.append("class DocumentAction {\n"); sb.append(" status: ").append(toIndentedString(status)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" retryCount: ").append(toIndentedString(retryCount)).append("\n"); + sb.append(" maxRetries: ").append(toIndentedString(maxRetries)).append("\n"); sb.append(" queueId: ").append(toIndentedString(queueId)).append("\n"); sb.append(" workflowId: ").append(toIndentedString(workflowId)).append("\n"); sb.append(" workflowStepId: ").append(toIndentedString(workflowStepId)).append("\n"); @@ -447,22 +504,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("status"); - openapiFields.add("type"); - openapiFields.add("queueId"); - openapiFields.add("workflowId"); - openapiFields.add("workflowStepId"); - openapiFields.add("message"); - openapiFields.add("userId"); - openapiFields.add("insertedDate"); - openapiFields.add("startDate"); - openapiFields.add("completedDate"); - openapiFields.add("parameters"); - openapiFields.add("metadata"); + openapiFields = new HashSet(Arrays.asList("status", "type", "retryCount", "maxRetries", + "queueId", "workflowId", "workflowStepId", "message", "userId", "insertedDate", "startDate", + "completedDate", "parameters", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -475,7 +522,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentAction.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentAction is not found in the empty JSON string", DocumentAction.openapiRequiredFields.toString())); } @@ -485,7 +532,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentAction.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentAction` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -501,49 +548,49 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("queueId") != null && !jsonObj.get("queueId").isJsonNull()) && !jsonObj.get("queueId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queueId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("queueId").toString())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } if ((jsonObj.get("workflowStepId") != null && !jsonObj.get("workflowStepId").isJsonNull()) && !jsonObj.get("workflowStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowStepId").toString())); } if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("completedDate") != null && !jsonObj.get("completedDate").isJsonNull()) && !jsonObj.get("completedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `completedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("completedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentActionStatus.java b/src/main/java/com/formkiq/client/model/DocumentActionStatus.java index 6976d6f26..d4d99dea4 100644 --- a/src/main/java/com/formkiq/client/model/DocumentActionStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentActionStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -48,7 +50,11 @@ public enum DocumentActionStatus { SKIPPED("SKIPPED"), - FAILED_RETRY("FAILED_RETRY"); + FAILED_RETRY("FAILED_RETRY"), + + MAX_RETRIES_REACHED("MAX_RETRIES_REACHED"), + + WAITING_FOR_RETRY("WAITING_FOR_RETRY"); private String value; diff --git a/src/main/java/com/formkiq/client/model/DocumentActionType.java b/src/main/java/com/formkiq/client/model/DocumentActionType.java index 76cec218d..4cae89888 100644 --- a/src/main/java/com/formkiq/client/model/DocumentActionType.java +++ b/src/main/java/com/formkiq/client/model/DocumentActionType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -56,7 +58,13 @@ public enum DocumentActionType { PDFEXPORT("PDFEXPORT"), - EVENTBRIDGE("EVENTBRIDGE"); + EVENTBRIDGE("EVENTBRIDGE"), + + RESIZE("RESIZE"), + + DATA_CLASSIFICATION("DATA_CLASSIFICATION"), + + MALWARE_SCAN("MALWARE_SCAN"); private String value; diff --git a/src/main/java/com/formkiq/client/model/DocumentAttribute.java b/src/main/java/com/formkiq/client/model/DocumentAttribute.java index 2a8203dd9..b35115d81 100644 --- a/src/main/java/com/formkiq/client/model/DocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AttributeValueType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * DocumentAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -366,19 +368,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("stringValue"); - openapiFields.add("stringValues"); - openapiFields.add("numberValue"); - openapiFields.add("numberValues"); - openapiFields.add("booleanValue"); - openapiFields.add("insertedDate"); - openapiFields.add("userId"); - openapiFields.add("valueType"); + openapiFields = new HashSet(Arrays.asList("key", "stringValue", "stringValues", + "numberValue", "numberValues", "booleanValue", "insertedDate", "userId", "valueType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -391,7 +385,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentAttribute is not found in the empty JSON string", DocumentAttribute.openapiRequiredFields.toString())); } @@ -401,7 +395,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -409,39 +403,39 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() && !jsonObj.get("stringValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValues` to be an array in the JSON string but got `%s`", jsonObj.get("stringValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() && !jsonObj.get("numberValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberValues` to be an array in the JSON string but got `%s`", jsonObj.get("numberValues").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java b/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java index 2c975bf7e..62969687f 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentFulltextAttributeEq; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocumentFulltextAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentFulltextAttribute { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -195,14 +197,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("eq"); - openapiFields.add("eqOr"); - openapiFields.add("key"); + openapiFields = new HashSet(Arrays.asList("eq", "eqOr", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -215,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextAttribute.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentFulltextAttribute is not found in the empty JSON string", DocumentFulltextAttribute.openapiRequiredFields.toString())); } @@ -225,7 +223,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentFulltextAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentFulltextAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -234,9 +232,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentFulltextAttribute.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -249,7 +247,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayeqOr != null) { // ensure the json data is an array if (!jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eqOr` to be an array in the JSON string but got `%s`", jsonObj.get("eqOr").toString())); } @@ -261,7 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java b/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java index 72f782a24..df6695988 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentFulltextAttributeEq */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentFulltextAttributeEq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -185,13 +187,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stringValue"); - openapiFields.add("numberValue"); - openapiFields.add("booleanValue"); + openapiFields = + new HashSet(Arrays.asList("stringValue", "numberValue", "booleanValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -204,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextAttributeEq.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentFulltextAttributeEq is not found in the empty JSON string", DocumentFulltextAttributeEq.openapiRequiredFields.toString())); } @@ -214,7 +214,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentFulltextAttributeEq.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentFulltextAttributeEq` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java index 3c9d0c24b..e08f96267 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentFulltextSearch; import com.formkiq.client.model.SearchResponseFields; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Document full text search */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentFulltextRequest { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) @@ -159,13 +161,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("query"); - openapiFields.add("responseFields"); + openapiFields = new HashSet(Arrays.asList("query", "responseFields")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("query"); + openapiRequiredFields = new HashSet(Arrays.asList("query")); } /** @@ -178,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentFulltextRequest is not found in the empty JSON string", DocumentFulltextRequest.openapiRequiredFields.toString())); } @@ -188,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentFulltextRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentFulltextRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,9 +196,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentFulltextRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java index bb2d0c702..ebdd8314a 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.FulltextSearchItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocumentFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentFulltextResponse { public static final String SERIALIZED_NAME_DOCUMENTS = "documents"; @SerializedName(SERIALIZED_NAME_DOCUMENTS) @@ -141,11 +143,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentFulltextResponse is not found in the empty JSON string", DocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -168,7 +169,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +180,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java b/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java index 9daafc474..94eaadbf3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentFulltextAttribute; import com.formkiq.client.model.DocumentFulltextTag; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * Document full text search criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentFulltextSearch { public static final String SERIALIZED_NAME_PAGE = "page"; @SerializedName(SERIALIZED_NAME_PAGE) @@ -231,14 +233,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("page"); - openapiFields.add("text"); - openapiFields.add("tags"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("page", "text", "tags", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -251,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextSearch.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentFulltextSearch is not found in the empty JSON string", DocumentFulltextSearch.openapiRequiredFields.toString())); } @@ -261,7 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentFulltextSearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentFulltextSearch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -269,7 +267,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } @@ -278,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -294,7 +292,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java b/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java index 6c84fc4ed..20272c5c1 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * DocumentFulltextTag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentFulltextTag { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -193,14 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("eq"); - openapiFields.add("eqOr"); - openapiFields.add("key"); + openapiFields = new HashSet(Arrays.asList("eq", "eqOr", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentFulltextTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentFulltextTag is not found in the empty JSON string", DocumentFulltextTag.openapiRequiredFields.toString())); } @@ -223,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentFulltextTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentFulltextTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,27 +230,27 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentFulltextTag.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("eqOr") != null && !jsonObj.get("eqOr").isJsonNull() && !jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `eqOr` to be an array in the JSON string but got `%s`", - jsonObj.get("eqOr").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `eqOr` to be an array in the JSON string but got `%s`", + jsonObj.get("eqOr").toString())); } if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java b/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java index 526da18e1..557037c0c 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocumentGenerateDataSource */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentGenerateDataSource { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -183,14 +185,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("documentId"); - openapiFields.add("dataRoot"); + openapiFields = new HashSet(Arrays.asList("name", "documentId", "dataRoot")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("documentId"); + openapiRequiredFields = new HashSet(Arrays.asList("documentId")); } /** @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentGenerateDataSource.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentGenerateDataSource is not found in the empty JSON string", DocumentGenerateDataSource.openapiRequiredFields.toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentGenerateDataSource.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentGenerateDataSource` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,26 +220,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentGenerateDataSource.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if (!jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("dataRoot") != null && !jsonObj.get("dataRoot").isJsonNull()) && !jsonObj.get("dataRoot").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dataRoot` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dataRoot").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java index 9a578a598..f68976560 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentGenerateInsertDocumentPosition; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentGenerateInsertDocument */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentGenerateInsertDocument { public static final String SERIALIZED_NAME_POSITION = "position"; @SerializedName(SERIALIZED_NAME_POSITION) @@ -160,14 +162,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("position"); - openapiFields.add("documentId"); + openapiFields = new HashSet(Arrays.asList("position", "documentId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("position"); - openapiRequiredFields.add("documentId"); + openapiRequiredFields = new HashSet(Arrays.asList("position", "documentId")); } /** @@ -182,7 +180,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocumentGenerateInsertDocument.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentGenerateInsertDocument is not found in the empty JSON string", DocumentGenerateInsertDocument.openapiRequiredFields.toString())); } @@ -192,7 +190,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentGenerateInsertDocument.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentGenerateInsertDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -201,16 +199,16 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentGenerateInsertDocument.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the required field `position` DocumentGenerateInsertDocumentPosition.validateJsonElement(jsonObj.get("position")); if (!jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java index 8d164a84a..36d509ff6 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java b/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java index 3e797f521..23a967388 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocumentId.java b/src/main/java/com/formkiq/client/model/DocumentId.java index b9151f3c0..0892b89fa 100644 --- a/src/main/java/com/formkiq/client/model/DocumentId.java +++ b/src/main/java/com/formkiq/client/model/DocumentId.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocumentId */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentId { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -156,13 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("siteId"); + openapiFields = new HashSet(Arrays.asList("documentId", "siteId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("documentId"); + openapiRequiredFields = new HashSet(Arrays.asList("documentId")); } /** @@ -175,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentId.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentId is not found in the empty JSON string", DocumentId.openapiRequiredFields.toString())); } @@ -185,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentId.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentId` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -194,20 +193,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentId.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentMetadata.java b/src/main/java/com/formkiq/client/model/DocumentMetadata.java index 60f1b5760..f8aa7a4d0 100644 --- a/src/main/java/com/formkiq/client/model/DocumentMetadata.java +++ b/src/main/java/com/formkiq/client/model/DocumentMetadata.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Document Metadata (use either 'value' or 'values' not both) */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentMetadata { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -193,13 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("value"); - openapiFields.add("values"); + openapiFields = new HashSet(Arrays.asList("key", "value", "values")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -212,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentMetadata.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentMetadata is not found in the empty JSON string", DocumentMetadata.openapiRequiredFields.toString())); } @@ -222,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentMetadata.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentMetadata` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,20 +229,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java b/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java index 48a8a491f..4e160720f 100644 --- a/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java +++ b/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocumentSearch.java b/src/main/java/com/formkiq/client/model/DocumentSearch.java index 26a86719c..d990800b3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearch.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearch.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSearchAttribute; import com.formkiq.client.model.DocumentSearchMeta; import com.formkiq.client.model.DocumentSearchTag; @@ -55,6 +56,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +64,8 @@ * Document tag search criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearch { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) @@ -322,17 +324,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("text"); - openapiFields.add("meta"); - openapiFields.add("attribute"); - openapiFields.add("attributes"); - openapiFields.add("tag"); - openapiFields.add("tags"); - openapiFields.add("documentIds"); + openapiFields = new HashSet( + Arrays.asList("text", "meta", "attribute", "attributes", "tag", "tags", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -345,7 +341,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearch.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearch is not found in the empty JSON string", DocumentSearch.openapiRequiredFields.toString())); } @@ -355,7 +351,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -363,7 +359,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } @@ -380,7 +376,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } @@ -400,7 +396,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -414,7 +410,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java b/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java index 916c85148..c441b7473 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSearchRange; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocumentSearchAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchAttribute { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -248,16 +250,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("eq"); - openapiFields.add("eqOr"); - openapiFields.add("beginsWith"); - openapiFields.add("range"); - openapiFields.add("key"); + openapiFields = new HashSet(Arrays.asList("eq", "eqOr", "beginsWith", "range", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -270,7 +266,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchAttribute.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchAttribute is not found in the empty JSON string", DocumentSearchAttribute.openapiRequiredFields.toString())); } @@ -280,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -289,28 +285,28 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentSearchAttribute.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("eqOr") != null && !jsonObj.get("eqOr").isJsonNull() && !jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `eqOr` to be an array in the JSON string but got `%s`", - jsonObj.get("eqOr").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `eqOr` to be an array in the JSON string but got `%s`", + jsonObj.get("eqOr").toString())); } if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } @@ -319,7 +315,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti DocumentSearchRange.validateJsonElement(jsonObj.get("range")); } if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java b/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java index cf98b7974..78f9c0fec 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentSearchMatchAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchMatchAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -213,14 +215,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("stringValue"); - openapiFields.add("numberValue"); - openapiFields.add("booleanValue"); + openapiFields = + new HashSet(Arrays.asList("key", "stringValue", "numberValue", "booleanValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -234,7 +233,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocumentSearchMatchAttribute.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchMatchAttribute is not found in the empty JSON string", DocumentSearchMatchAttribute.openapiRequiredFields.toString())); } @@ -244,7 +243,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchMatchAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchMatchAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -252,13 +251,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java b/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java index f8c96d840..ac0b13a41 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocumentSearchMatchTag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchMatchTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -183,13 +185,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("value"); - openapiFields.add("type"); + openapiFields = new HashSet(Arrays.asList("key", "value", "type")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -202,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchMatchTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchMatchTag is not found in the empty JSON string", DocumentSearchMatchTag.openapiRequiredFields.toString())); } @@ -212,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchMatchTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchMatchTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -220,19 +219,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java b/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java index 4646cc004..4f11fdff3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocumentSearchMeta */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchMeta { public static final String SERIALIZED_NAME_FOLDER = "folder"; @SerializedName(SERIALIZED_NAME_FOLDER) @@ -290,15 +292,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("folder"); - openapiFields.add("path"); - openapiFields.add("eq"); - openapiFields.add("indexType"); - openapiFields.add("indexFilterBeginsWith"); + openapiFields = new HashSet( + Arrays.asList("folder", "path", "eq", "indexType", "indexFilterBeginsWith")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -311,7 +309,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchMeta.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchMeta is not found in the empty JSON string", DocumentSearchMeta.openapiRequiredFields.toString())); } @@ -321,7 +319,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchMeta.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchMeta` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -329,25 +327,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("folder") != null && !jsonObj.get("folder").isJsonNull()) && !jsonObj.get("folder").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `folder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("folder").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } if ((jsonObj.get("indexType") != null && !jsonObj.get("indexType").isJsonNull()) && !jsonObj.get("indexType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `indexType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexType").toString())); } @@ -358,7 +356,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("indexFilterBeginsWith") != null && !jsonObj.get("indexFilterBeginsWith").isJsonNull()) && !jsonObj.get("indexFilterBeginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `indexFilterBeginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexFilterBeginsWith").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchRange.java b/src/main/java/com/formkiq/client/model/DocumentSearchRange.java index 8757d6c1e..e1845168a 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchRange.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchRange.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SearchRangeDataType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentSearchRange */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchRange { public static final String SERIALIZED_NAME_START = "start"; @SerializedName(SERIALIZED_NAME_START) @@ -184,15 +186,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("start"); - openapiFields.add("end"); - openapiFields.add("type"); + openapiFields = new HashSet(Arrays.asList("start", "end", "type")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("start"); - openapiRequiredFields.add("end"); + openapiRequiredFields = new HashSet(Arrays.asList("start", "end")); } /** @@ -205,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchRange.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchRange is not found in the empty JSON string", DocumentSearchRange.openapiRequiredFields.toString())); } @@ -215,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchRange.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchRange` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -224,19 +221,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentSearchRange.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("start").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `start` to be a primitive type in the JSON string but got `%s`", jsonObj.get("start").toString())); } if (!jsonObj.get("end").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `end` to be a primitive type in the JSON string but got `%s`", jsonObj.get("end").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java b/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java index 48ef59c31..8db642247 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSearch; import com.formkiq.client.model.SearchResponseFields; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Document search tag criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchRequest { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) @@ -159,13 +161,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("query"); - openapiFields.add("responseFields"); + openapiFields = new HashSet(Arrays.asList("query", "responseFields")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("query"); + openapiRequiredFields = new HashSet(Arrays.asList("query")); } /** @@ -178,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchRequest is not found in the empty JSON string", DocumentSearchRequest.openapiRequiredFields.toString())); } @@ -188,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,9 +196,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentSearchRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java b/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java index 0c2da80d2..528d70868 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SearchResultDocument; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocumentSearchResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -195,13 +197,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("previous"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "previous", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -214,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchResponse is not found in the empty JSON string", DocumentSearchResponse.openapiRequiredFields.toString())); } @@ -224,7 +223,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,13 +231,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -247,7 +246,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchTag.java b/src/main/java/com/formkiq/client/model/DocumentSearchTag.java index f54b0fe45..e3a7c6e89 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSearchRange; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocumentSearchTag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchTag { public static final String SERIALIZED_NAME_BEGINS_WITH = "beginsWith"; @SerializedName(SERIALIZED_NAME_BEGINS_WITH) @@ -248,16 +250,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("beginsWith"); - openapiFields.add("eq"); - openapiFields.add("eqOr"); - openapiFields.add("range"); - openapiFields.add("key"); + openapiFields = new HashSet(Arrays.asList("beginsWith", "eq", "eqOr", "range", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -270,7 +266,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchTag is not found in the empty JSON string", DocumentSearchTag.openapiRequiredFields.toString())); } @@ -280,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -289,37 +285,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentSearchTag.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("eqOr") != null && !jsonObj.get("eqOr").isJsonNull() && !jsonObj.get("eqOr").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `eqOr` to be an array in the JSON string but got `%s`", - jsonObj.get("eqOr").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `eqOr` to be an array in the JSON string but got `%s`", + jsonObj.get("eqOr").toString())); } // validate the optional field `range` if (jsonObj.get("range") != null && !jsonObj.get("range").isJsonNull()) { DocumentSearchRange.validateJsonElement(jsonObj.get("range")); } if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchTags.java b/src/main/java/com/formkiq/client/model/DocumentSearchTags.java index 684342626..89fb3cc18 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchTags.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchTags.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSearchRange; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentSearchTags */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSearchTags { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -211,15 +213,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("eq"); - openapiFields.add("beginsWith"); - openapiFields.add("range"); - openapiFields.add("key"); + openapiFields = new HashSet(Arrays.asList("eq", "beginsWith", "range", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -232,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSearchTags.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSearchTags is not found in the empty JSON string", DocumentSearchTags.openapiRequiredFields.toString())); } @@ -242,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSearchTags.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSearchTags` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -251,21 +248,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentSearchTags.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } @@ -274,7 +271,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti DocumentSearchRange.validateJsonElement(jsonObj.get("range")); } if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSync.java b/src/main/java/com/formkiq/client/model/DocumentSync.java index 1614a1234..28ea1d37c 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSync.java +++ b/src/main/java/com/formkiq/client/model/DocumentSync.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSyncService; import com.formkiq.client.model.DocumentSyncStatus; import com.formkiq.client.model.DocumentSyncType; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocumentSync */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentSync { public static final String SERIALIZED_NAME_SERVICE = "service"; @SerializedName(SERIALIZED_NAME_SERVICE) @@ -294,17 +296,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("service"); - openapiFields.add("status"); - openapiFields.add("type"); - openapiFields.add("insertedDate"); - openapiFields.add("syncDate"); - openapiFields.add("userId"); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("service", "status", "type", "insertedDate", + "syncDate", "userId", "message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -317,7 +313,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentSync.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentSync is not found in the empty JSON string", DocumentSync.openapiRequiredFields.toString())); } @@ -327,7 +323,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentSync.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentSync` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -347,25 +343,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("syncDate") != null && !jsonObj.get("syncDate").isJsonNull()) && !jsonObj.get("syncDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `syncDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("syncDate").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentSyncService.java b/src/main/java/com/formkiq/client/model/DocumentSyncService.java index 42189838e..e059372cc 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncService.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncService.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -38,9 +40,7 @@ public enum DocumentSyncService { TYPESENSE("TYPESENSE"), - OPENSEARCH("OPENSEARCH"), - - EVENTBRIDGE("EVENTBRIDGE"); + OPENSEARCH("OPENSEARCH"); private String value; diff --git a/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java b/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java index 9a6545cb4..d44988808 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocumentSyncType.java b/src/main/java/com/formkiq/client/model/DocumentSyncType.java index ccabdd676..5705b59d5 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncType.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocumentTag.java b/src/main/java/com/formkiq/client/model/DocumentTag.java index b844867f3..8e4a9314c 100644 --- a/src/main/java/com/formkiq/client/model/DocumentTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * DocumentTag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentTag { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -301,17 +303,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("insertedDate"); - openapiFields.add("documentId"); - openapiFields.add("type"); - openapiFields.add("userId"); - openapiFields.add("value"); - openapiFields.add("values"); - openapiFields.add("key"); + openapiFields = new HashSet( + Arrays.asList("insertedDate", "documentId", "type", "userId", "value", "values", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -324,7 +320,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentTag is not found in the empty JSON string", DocumentTag.openapiRequiredFields.toString())); } @@ -334,7 +330,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -342,44 +338,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentVersion.java b/src/main/java/com/formkiq/client/model/DocumentVersion.java index 3578c0ad7..17795544b 100644 --- a/src/main/java/com/formkiq/client/model/DocumentVersion.java +++ b/src/main/java/com/formkiq/client/model/DocumentVersion.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentVersion */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentVersion { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -320,18 +322,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("insertedDate"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("contentType"); - openapiFields.add("userId"); - openapiFields.add("contentLength"); - openapiFields.add("versionKey"); - openapiFields.add("s3version"); + openapiFields = new HashSet(Arrays.asList("insertedDate", "checksum", "checksumType", + "contentType", "userId", "contentLength", "versionKey", "s3version")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -344,7 +339,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentVersion.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentVersion is not found in the empty JSON string", DocumentVersion.openapiRequiredFields.toString())); } @@ -354,7 +349,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentVersion.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentVersion` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -362,13 +357,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -378,25 +373,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("versionKey") != null && !jsonObj.get("versionKey").isJsonNull()) && !jsonObj.get("versionKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `versionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionKey").toString())); } if ((jsonObj.get("s3version") != null && !jsonObj.get("s3version").isJsonNull()) && !jsonObj.get("s3version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `s3version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("s3version").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentWorkflow.java b/src/main/java/com/formkiq/client/model/DocumentWorkflow.java index b1f6d41f8..0dc1c2a98 100644 --- a/src/main/java/com/formkiq/client/model/DocumentWorkflow.java +++ b/src/main/java/com/formkiq/client/model/DocumentWorkflow.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentWorkflowStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocumentWorkflow */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentWorkflow { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -265,16 +267,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workflowId"); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("currentStepId"); - openapiFields.add("status"); - openapiFields.add("insertedDate"); + openapiFields = new HashSet(Arrays.asList("workflowId", "name", "description", + "currentStepId", "status", "insertedDate")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -287,7 +284,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentWorkflow.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentWorkflow is not found in the empty JSON string", DocumentWorkflow.openapiRequiredFields.toString())); } @@ -297,7 +294,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentWorkflow.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentWorkflow` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -305,25 +302,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("currentStepId") != null && !jsonObj.get("currentStepId").isJsonNull()) && !jsonObj.get("currentStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `currentStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currentStepId").toString())); } @@ -333,7 +330,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java b/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java index dce8396cb..3277c0b11 100644 --- a/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java b/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java index 2c45b9bde..65d800673 100644 --- a/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * DocumentsCompressRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentsCompressRequest { public static final String SERIALIZED_NAME_DOCUMENT_IDS = "documentIds"; @SerializedName(SERIALIZED_NAME_DOCUMENT_IDS) @@ -139,12 +141,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentIds"); + openapiFields = new HashSet(Arrays.asList("documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("documentIds"); + openapiRequiredFields = new HashSet(Arrays.asList("documentIds")); } /** @@ -157,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentsCompressRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentsCompressRequest is not found in the empty JSON string", DocumentsCompressRequest.openapiRequiredFields.toString())); } @@ -167,7 +167,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentsCompressRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentsCompressRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -176,9 +176,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocumentsCompressRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); @@ -187,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti throw new IllegalArgumentException( "Expected the field `linkedContent` to be an array in the JSON string but got `null`"); } else if (!jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java b/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java index 0b2ef7d7d..aa7fdd437 100644 --- a/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocumentsCompressResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocumentsCompressResponse { public static final String SERIALIZED_NAME_DOWNLOAD_URL = "downloadUrl"; @SerializedName(SERIALIZED_NAME_DOWNLOAD_URL) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("downloadUrl"); + openapiFields = new HashSet(Arrays.asList("downloadUrl")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocumentsCompressResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocumentsCompressResponse is not found in the empty JSON string", DocumentsCompressResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocumentsCompressResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocumentsCompressResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("downloadUrl") != null && !jsonObj.get("downloadUrl").isJsonNull()) && !jsonObj.get("downloadUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `downloadUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("downloadUrl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignConfig.java b/src/main/java/com/formkiq/client/model/DocusignConfig.java index 00ffd05c4..5c113e583 100644 --- a/src/main/java/com/formkiq/client/model/DocusignConfig.java +++ b/src/main/java/com/formkiq/client/model/DocusignConfig.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocusignConfig */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignConfig { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) @@ -212,14 +214,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("userId"); - openapiFields.add("integrationKey"); - openapiFields.add("rsaPrivateKey"); - openapiFields.add("hmacSignature"); + openapiFields = new HashSet( + Arrays.asList("userId", "integrationKey", "rsaPrivateKey", "hmacSignature")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -232,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignConfig is not found in the empty JSON string", DocusignConfig.openapiRequiredFields.toString())); } @@ -242,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignConfig.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -250,25 +249,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("integrationKey") != null && !jsonObj.get("integrationKey").isJsonNull()) && !jsonObj.get("integrationKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `integrationKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("integrationKey").toString())); } if ((jsonObj.get("rsaPrivateKey") != null && !jsonObj.get("rsaPrivateKey").isJsonNull()) && !jsonObj.get("rsaPrivateKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `rsaPrivateKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rsaPrivateKey").toString())); } if ((jsonObj.get("hmacSignature") != null && !jsonObj.get("hmacSignature").isJsonNull()) && !jsonObj.get("hmacSignature").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `hmacSignature` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hmacSignature").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignEnvironment.java b/src/main/java/com/formkiq/client/model/DocusignEnvironment.java index 23f1e7f3f..7e7f17ca9 100644 --- a/src/main/java/com/formkiq/client/model/DocusignEnvironment.java +++ b/src/main/java/com/formkiq/client/model/DocusignEnvironment.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java b/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java index 22c45be68..e30e2ca9d 100644 --- a/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java +++ b/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignSigningTabs; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocusignInpersonSigner */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignInpersonSigner { public static final String SERIALIZED_NAME_HOST_EMAIL = "hostEmail"; @SerializedName(SERIALIZED_NAME_HOST_EMAIL) @@ -321,21 +323,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("hostEmail"); - openapiFields.add("hostName"); - openapiFields.add("signerName"); - openapiFields.add("signerEmail"); - openapiFields.add("recipientId"); - openapiFields.add("routingOrder"); - openapiFields.add("suppressEmails"); - openapiFields.add("tabs"); + openapiFields = new HashSet(Arrays.asList("hostEmail", "hostName", "signerName", + "signerEmail", "recipientId", "routingOrder", "suppressEmails", "tabs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("hostEmail"); - openapiRequiredFields.add("hostName"); - openapiRequiredFields.add("signerName"); + openapiRequiredFields = + new HashSet(Arrays.asList("hostEmail", "hostName", "signerName")); } /** @@ -348,7 +341,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignInpersonSigner.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignInpersonSigner is not found in the empty JSON string", DocusignInpersonSigner.openapiRequiredFields.toString())); } @@ -358,7 +351,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignInpersonSigner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignInpersonSigner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -367,48 +360,48 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocusignInpersonSigner.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("hostEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `hostEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostEmail").toString())); } if (!jsonObj.get("hostName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `hostName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("hostName").toString())); } if (!jsonObj.get("signerName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `signerName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signerName").toString())); } if ((jsonObj.get("signerEmail") != null && !jsonObj.get("signerEmail").isJsonNull()) && !jsonObj.get("signerEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `signerEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("signerEmail").toString())); } if ((jsonObj.get("recipientId") != null && !jsonObj.get("recipientId").isJsonNull()) && !jsonObj.get("recipientId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `recipientId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientId").toString())); } if ((jsonObj.get("routingOrder") != null && !jsonObj.get("routingOrder").isJsonNull()) && !jsonObj.get("routingOrder").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `routingOrder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("routingOrder").toString())); } if ((jsonObj.get("suppressEmails") != null && !jsonObj.get("suppressEmails").isJsonNull()) && !jsonObj.get("suppressEmails").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `suppressEmails` to be a primitive type in the JSON string but got `%s`", jsonObj.get("suppressEmails").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignNotification.java b/src/main/java/com/formkiq/client/model/DocusignNotification.java index 8452fe9ad..840355b95 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotification.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotification.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignNotificationExpirations; import com.formkiq.client.model.DocusignNotificationReminders; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * DocusignNotification */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignNotification { public static final String SERIALIZED_NAME_USE_ACCOUNT_DEFAULTS = "useAccountDefaults"; @SerializedName(SERIALIZED_NAME_USE_ACCOUNT_DEFAULTS) @@ -191,13 +193,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("useAccountDefaults"); - openapiFields.add("expirations"); - openapiFields.add("reminders"); + openapiFields = + new HashSet(Arrays.asList("useAccountDefaults", "expirations", "reminders")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -210,7 +210,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignNotification.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignNotification is not found in the empty JSON string", DocusignNotification.openapiRequiredFields.toString())); } @@ -220,7 +220,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignNotification.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignNotification` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -229,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("useAccountDefaults") != null && !jsonObj.get("useAccountDefaults").isJsonNull()) && !jsonObj.get("useAccountDefaults").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `useAccountDefaults` to be a primitive type in the JSON string but got `%s`", jsonObj.get("useAccountDefaults").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java b/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java index da2768a9e..0b3211507 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocusignNotificationExpirations */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignNotificationExpirations { public static final String SERIALIZED_NAME_EXPIRE_AFTER = "expireAfter"; @SerializedName(SERIALIZED_NAME_EXPIRE_AFTER) @@ -188,13 +190,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("expireAfter"); - openapiFields.add("expireEnabled"); - openapiFields.add("expireWarn"); + openapiFields = + new HashSet(Arrays.asList("expireAfter", "expireEnabled", "expireWarn")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -209,7 +209,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocusignNotificationExpirations.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignNotificationExpirations is not found in the empty JSON string", DocusignNotificationExpirations.openapiRequiredFields.toString())); } @@ -219,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignNotificationExpirations.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignNotificationExpirations` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -227,19 +227,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("expireAfter") != null && !jsonObj.get("expireAfter").isJsonNull()) && !jsonObj.get("expireAfter").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `expireAfter` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expireAfter").toString())); } if ((jsonObj.get("expireEnabled") != null && !jsonObj.get("expireEnabled").isJsonNull()) && !jsonObj.get("expireEnabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `expireEnabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expireEnabled").toString())); } if ((jsonObj.get("expireWarn") != null && !jsonObj.get("expireWarn").isJsonNull()) && !jsonObj.get("expireWarn").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `expireWarn` to be a primitive type in the JSON string but got `%s`", jsonObj.get("expireWarn").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java b/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java index 11c25e021..e5e0a1b01 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocusignNotificationReminders */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignNotificationReminders { public static final String SERIALIZED_NAME_REMINDER_DELAY = "reminderDelay"; @SerializedName(SERIALIZED_NAME_REMINDER_DELAY) @@ -187,13 +189,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("reminderDelay"); - openapiFields.add("reminderEnabled"); - openapiFields.add("reminderFrequency"); + openapiFields = + new HashSet(Arrays.asList("reminderDelay", "reminderEnabled", "reminderFrequency")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -208,7 +208,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!DocusignNotificationReminders.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignNotificationReminders is not found in the empty JSON string", DocusignNotificationReminders.openapiRequiredFields.toString())); } @@ -218,7 +218,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignNotificationReminders.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignNotificationReminders` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -226,19 +226,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("reminderDelay") != null && !jsonObj.get("reminderDelay").isJsonNull()) && !jsonObj.get("reminderDelay").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `reminderDelay` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reminderDelay").toString())); } if ((jsonObj.get("reminderEnabled") != null && !jsonObj.get("reminderEnabled").isJsonNull()) && !jsonObj.get("reminderEnabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `reminderEnabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reminderEnabled").toString())); } if ((jsonObj.get("reminderFrequency") != null && !jsonObj.get("reminderFrequency").isJsonNull()) && !jsonObj.get("reminderFrequency").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `reminderFrequency` to be a primitive type in the JSON string but got `%s`", jsonObj.get("reminderFrequency").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignRecipientView.java b/src/main/java/com/formkiq/client/model/DocusignRecipientView.java index bc2b33c43..f4660a45e 100644 --- a/src/main/java/com/formkiq/client/model/DocusignRecipientView.java +++ b/src/main/java/com/formkiq/client/model/DocusignRecipientView.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * DocusignRecipientView */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignRecipientView { public static final String SERIALIZED_NAME_RETURN_URL = "returnUrl"; @SerializedName(SERIALIZED_NAME_RETURN_URL) @@ -313,17 +315,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("returnUrl"); - openapiFields.add("recipientId"); - openapiFields.add("userName"); - openapiFields.add("clientUserId"); - openapiFields.add("email"); - openapiFields.add("frameAncestors"); - openapiFields.add("messageOrigins"); + openapiFields = new HashSet(Arrays.asList("returnUrl", "recipientId", "userName", + "clientUserId", "email", "frameAncestors", "messageOrigins")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -336,7 +332,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignRecipientView.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignRecipientView is not found in the empty JSON string", DocusignRecipientView.openapiRequiredFields.toString())); } @@ -346,7 +342,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignRecipientView.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignRecipientView` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -354,45 +350,45 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("returnUrl") != null && !jsonObj.get("returnUrl").isJsonNull()) && !jsonObj.get("returnUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `returnUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("returnUrl").toString())); } if ((jsonObj.get("recipientId") != null && !jsonObj.get("recipientId").isJsonNull()) && !jsonObj.get("recipientId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `recipientId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientId").toString())); } if ((jsonObj.get("userName") != null && !jsonObj.get("userName").isJsonNull()) && !jsonObj.get("userName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userName").toString())); } if ((jsonObj.get("clientUserId") != null && !jsonObj.get("clientUserId").isJsonNull()) && !jsonObj.get("clientUserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `clientUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("clientUserId").toString())); } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("frameAncestors") != null && !jsonObj.get("frameAncestors").isJsonNull() && !jsonObj.get("frameAncestors").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `frameAncestors` to be an array in the JSON string but got `%s`", jsonObj.get("frameAncestors").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("messageOrigins") != null && !jsonObj.get("messageOrigins").isJsonNull() && !jsonObj.get("messageOrigins").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `messageOrigins` to be an array in the JSON string but got `%s`", jsonObj.get("messageOrigins").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java b/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java index 7c7bf5b59..9706eb220 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java +++ b/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * DocusignSignHereTabs */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignSignHereTabs { public static final String SERIALIZED_NAME_ANCHOR_STRING = "anchorString"; @SerializedName(SERIALIZED_NAME_ANCHOR_STRING) @@ -324,18 +326,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("anchorString"); - openapiFields.add("anchorXOffset"); - openapiFields.add("anchorYOffset"); - openapiFields.add("anchorIgnoreIfNotPresent"); - openapiFields.add("anchorUnits"); - openapiFields.add("xPosition"); - openapiFields.add("yPosition"); - openapiFields.add("pageNumber"); + openapiFields = + new HashSet(Arrays.asList("anchorString", "anchorXOffset", "anchorYOffset", + "anchorIgnoreIfNotPresent", "anchorUnits", "xPosition", "yPosition", "pageNumber")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -348,7 +344,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignSignHereTabs.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignSignHereTabs is not found in the empty JSON string", DocusignSignHereTabs.openapiRequiredFields.toString())); } @@ -358,7 +354,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignSignHereTabs.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignSignHereTabs` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -366,50 +362,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("anchorString") != null && !jsonObj.get("anchorString").isJsonNull()) && !jsonObj.get("anchorString").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `anchorString` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorString").toString())); } if ((jsonObj.get("anchorXOffset") != null && !jsonObj.get("anchorXOffset").isJsonNull()) && !jsonObj.get("anchorXOffset").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `anchorXOffset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorXOffset").toString())); } if ((jsonObj.get("anchorYOffset") != null && !jsonObj.get("anchorYOffset").isJsonNull()) && !jsonObj.get("anchorYOffset").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `anchorYOffset` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorYOffset").toString())); } if ((jsonObj.get("anchorIgnoreIfNotPresent") != null && !jsonObj.get("anchorIgnoreIfNotPresent").isJsonNull()) && !jsonObj.get("anchorIgnoreIfNotPresent").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `anchorIgnoreIfNotPresent` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorIgnoreIfNotPresent").toString())); } if ((jsonObj.get("anchorUnits") != null && !jsonObj.get("anchorUnits").isJsonNull()) && !jsonObj.get("anchorUnits").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `anchorUnits` to be a primitive type in the JSON string but got `%s`", jsonObj.get("anchorUnits").toString())); } if ((jsonObj.get("xPosition") != null && !jsonObj.get("xPosition").isJsonNull()) && !jsonObj.get("xPosition").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `xPosition` to be a primitive type in the JSON string but got `%s`", jsonObj.get("xPosition").toString())); } if ((jsonObj.get("yPosition") != null && !jsonObj.get("yPosition").isJsonNull()) && !jsonObj.get("yPosition").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `yPosition` to be a primitive type in the JSON string but got `%s`", jsonObj.get("yPosition").toString())); } if ((jsonObj.get("pageNumber") != null && !jsonObj.get("pageNumber").isJsonNull()) && !jsonObj.get("pageNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `pageNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("pageNumber").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignSigner.java b/src/main/java/com/formkiq/client/model/DocusignSigner.java index a83f1a479..b53338f09 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSigner.java +++ b/src/main/java/com/formkiq/client/model/DocusignSigner.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignSigningTabs; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * DocusignSigner */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignSigner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -293,18 +295,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("email"); - openapiFields.add("clientUserId"); - openapiFields.add("recipientId"); - openapiFields.add("routingOrder"); - openapiFields.add("suppressEmails"); - openapiFields.add("tabs"); + openapiFields = new HashSet(Arrays.asList("name", "email", "clientUserId", + "recipientId", "routingOrder", "suppressEmails", "tabs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); + openapiRequiredFields = new HashSet(Arrays.asList("name")); } /** @@ -317,7 +312,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignSigner.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignSigner is not found in the empty JSON string", DocusignSigner.openapiRequiredFields.toString())); } @@ -327,7 +322,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignSigner.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignSigner` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -336,44 +331,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : DocusignSigner.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } if ((jsonObj.get("clientUserId") != null && !jsonObj.get("clientUserId").isJsonNull()) && !jsonObj.get("clientUserId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `clientUserId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("clientUserId").toString())); } if ((jsonObj.get("recipientId") != null && !jsonObj.get("recipientId").isJsonNull()) && !jsonObj.get("recipientId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `recipientId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("recipientId").toString())); } if ((jsonObj.get("routingOrder") != null && !jsonObj.get("routingOrder").isJsonNull()) && !jsonObj.get("routingOrder").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `routingOrder` to be a primitive type in the JSON string but got `%s`", jsonObj.get("routingOrder").toString())); } if ((jsonObj.get("suppressEmails") != null && !jsonObj.get("suppressEmails").isJsonNull()) && !jsonObj.get("suppressEmails").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `suppressEmails` to be a primitive type in the JSON string but got `%s`", jsonObj.get("suppressEmails").toString())); } diff --git a/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java b/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java index 1454a277f..2628329ed 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java +++ b/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignSignHereTabs; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * DocusignSigningTabs */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class DocusignSigningTabs { public static final String SERIALIZED_NAME_SIGN_HERE_TABS = "signHereTabs"; @SerializedName(SERIALIZED_NAME_SIGN_HERE_TABS) @@ -141,11 +143,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("signHereTabs"); + openapiFields = new HashSet(Arrays.asList("signHereTabs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!DocusignSigningTabs.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in DocusignSigningTabs is not found in the empty JSON string", DocusignSigningTabs.openapiRequiredFields.toString())); } @@ -168,7 +169,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!DocusignSigningTabs.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `DocusignSigningTabs` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -179,7 +180,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysignHereTabs != null) { // ensure the json data is an array if (!jsonObj.get("signHereTabs").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `signHereTabs` to be an array in the JSON string but got `%s`", jsonObj.get("signHereTabs").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Entity.java b/src/main/java/com/formkiq/client/model/Entity.java new file mode 100644 index 000000000..dfe6b644a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/Entity.java @@ -0,0 +1,376 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.EntityAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * Entity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class Entity { + public static final String SERIALIZED_NAME_ENTITY_ID = "entityId"; + @SerializedName(SERIALIZED_NAME_ENTITY_ID) + @javax.annotation.Nullable + private String entityId; + + public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) + @javax.annotation.Nullable + private String entityTypeId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; + @SerializedName(SERIALIZED_NAME_INSERTED_DATE) + @javax.annotation.Nullable + private String insertedDate; + + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTES) + @javax.annotation.Nullable + private List attributes = new ArrayList<>(); + + public Entity() {} + + public Entity entityId(@javax.annotation.Nullable String entityId) { + this.entityId = entityId; + return this; + } + + /** + * Entity identifier + * + * @return entityId + */ + @javax.annotation.Nullable + public String getEntityId() { + return entityId; + } + + public void setEntityId(@javax.annotation.Nullable String entityId) { + this.entityId = entityId; + } + + + public Entity entityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + return this; + } + + /** + * Entity Type identifier + * + * @return entityTypeId + */ + @javax.annotation.Nullable + public String getEntityTypeId() { + return entityTypeId; + } + + public void setEntityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + } + + + public Entity name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Entity Name + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public Entity insertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + return this; + } + + /** + * Inserted Timestamp + * + * @return insertedDate + */ + @javax.annotation.Nullable + public String getInsertedDate() { + return insertedDate; + } + + public void setInsertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + } + + + public Entity attributes(@javax.annotation.Nullable List attributes) { + this.attributes = attributes; + return this; + } + + public Entity addAttributesItem(EntityAttribute attributesItem) { + if (this.attributes == null) { + this.attributes = new ArrayList<>(); + } + this.attributes.add(attributesItem); + return this; + } + + /** + * List of Entity Attributes + * + * @return attributes + */ + @javax.annotation.Nullable + public List getAttributes() { + return attributes; + } + + public void setAttributes(@javax.annotation.Nullable List attributes) { + this.attributes = attributes; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + Entity entity = (Entity) o; + return Objects.equals(this.entityId, entity.entityId) + && Objects.equals(this.entityTypeId, entity.entityTypeId) + && Objects.equals(this.name, entity.name) + && Objects.equals(this.insertedDate, entity.insertedDate) + && Objects.equals(this.attributes, entity.attributes); + } + + @Override + public int hashCode() { + return Objects.hash(entityId, entityTypeId, name, insertedDate, attributes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class Entity {\n"); + sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n"); + sb.append(" entityTypeId: ").append(toIndentedString(entityTypeId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" insertedDate: ").append(toIndentedString(insertedDate)).append("\n"); + sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet( + Arrays.asList("entityId", "entityTypeId", "name", "insertedDate", "attributes")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to Entity + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!Entity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Entity is not found in the empty JSON string", + Entity.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!Entity.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `Entity` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("entityId") != null && !jsonObj.get("entityId").isJsonNull()) + && !jsonObj.get("entityId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityId").toString())); + } + if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) + && !jsonObj.get("entityTypeId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityTypeId").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) + && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `name` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("name").toString())); + } + if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) + && !jsonObj.get("insertedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("insertedDate").toString())); + } + if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull()) { + JsonArray jsonArrayattributes = jsonObj.getAsJsonArray("attributes"); + if (jsonArrayattributes != null) { + // ensure the json data is an array + if (!jsonObj.get("attributes").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `attributes` to be an array in the JSON string but got `%s`", + jsonObj.get("attributes").toString())); + } + + // validate the optional field `attributes` (array) + for (int i = 0; i < jsonArrayattributes.size(); i++) { + EntityAttribute.validateJsonElement(jsonArrayattributes.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!Entity.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'Entity' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(Entity.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, Entity value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public Entity read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of Entity given an JSON string + * + * @param jsonString JSON string + * @return An instance of Entity + * @throws IOException if the JSON string is invalid with respect to Entity + */ + public static Entity fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, Entity.class); + } + + /** + * Convert an instance of Entity to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/EntityAttribute.java b/src/main/java/com/formkiq/client/model/EntityAttribute.java new file mode 100644 index 000000000..6caab5946 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/EntityAttribute.java @@ -0,0 +1,431 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AttributeValueType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * EntityAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class EntityAttribute { + public static final String SERIALIZED_NAME_KEY = "key"; + @SerializedName(SERIALIZED_NAME_KEY) + @javax.annotation.Nullable + private String key; + + public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; + @SerializedName(SERIALIZED_NAME_STRING_VALUE) + @javax.annotation.Nullable + private String stringValue; + + public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; + @SerializedName(SERIALIZED_NAME_STRING_VALUES) + @javax.annotation.Nullable + private List stringValues = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; + @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) + @javax.annotation.Nullable + private BigDecimal numberValue; + + public static final String SERIALIZED_NAME_NUMBER_VALUES = "numberValues"; + @SerializedName(SERIALIZED_NAME_NUMBER_VALUES) + @javax.annotation.Nullable + private List numberValues = new ArrayList<>(); + + public static final String SERIALIZED_NAME_BOOLEAN_VALUE = "booleanValue"; + @SerializedName(SERIALIZED_NAME_BOOLEAN_VALUE) + @javax.annotation.Nullable + private Boolean booleanValue; + + public static final String SERIALIZED_NAME_VALUE_TYPE = "valueType"; + @SerializedName(SERIALIZED_NAME_VALUE_TYPE) + @javax.annotation.Nullable + private AttributeValueType valueType; + + public EntityAttribute() {} + + public EntityAttribute key(@javax.annotation.Nullable String key) { + this.key = key; + return this; + } + + /** + * Attribute key + * + * @return key + */ + @javax.annotation.Nullable + public String getKey() { + return key; + } + + public void setKey(@javax.annotation.Nullable String key) { + this.key = key; + } + + + public EntityAttribute stringValue(@javax.annotation.Nullable String stringValue) { + this.stringValue = stringValue; + return this; + } + + /** + * Attribute with string value + * + * @return stringValue + */ + @javax.annotation.Nullable + public String getStringValue() { + return stringValue; + } + + public void setStringValue(@javax.annotation.Nullable String stringValue) { + this.stringValue = stringValue; + } + + + public EntityAttribute stringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + return this; + } + + public EntityAttribute addStringValuesItem(String stringValuesItem) { + if (this.stringValues == null) { + this.stringValues = new ArrayList<>(); + } + this.stringValues.add(stringValuesItem); + return this; + } + + /** + * Attribute with string values + * + * @return stringValues + */ + @javax.annotation.Nullable + public List getStringValues() { + return stringValues; + } + + public void setStringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + } + + + public EntityAttribute numberValue(@javax.annotation.Nullable BigDecimal numberValue) { + this.numberValue = numberValue; + return this; + } + + /** + * Attribute with number value + * + * @return numberValue + */ + @javax.annotation.Nullable + public BigDecimal getNumberValue() { + return numberValue; + } + + public void setNumberValue(@javax.annotation.Nullable BigDecimal numberValue) { + this.numberValue = numberValue; + } + + + public EntityAttribute numberValues(@javax.annotation.Nullable List numberValues) { + this.numberValues = numberValues; + return this; + } + + public EntityAttribute addNumberValuesItem(BigDecimal numberValuesItem) { + if (this.numberValues == null) { + this.numberValues = new ArrayList<>(); + } + this.numberValues.add(numberValuesItem); + return this; + } + + /** + * Attribute with number values + * + * @return numberValues + */ + @javax.annotation.Nullable + public List getNumberValues() { + return numberValues; + } + + public void setNumberValues(@javax.annotation.Nullable List numberValues) { + this.numberValues = numberValues; + } + + + public EntityAttribute booleanValue(@javax.annotation.Nullable Boolean booleanValue) { + this.booleanValue = booleanValue; + return this; + } + + /** + * Attribute with boolean value + * + * @return booleanValue + */ + @javax.annotation.Nullable + public Boolean getBooleanValue() { + return booleanValue; + } + + public void setBooleanValue(@javax.annotation.Nullable Boolean booleanValue) { + this.booleanValue = booleanValue; + } + + + public EntityAttribute valueType(@javax.annotation.Nullable AttributeValueType valueType) { + this.valueType = valueType; + return this; + } + + /** + * Get valueType + * + * @return valueType + */ + @javax.annotation.Nullable + public AttributeValueType getValueType() { + return valueType; + } + + public void setValueType(@javax.annotation.Nullable AttributeValueType valueType) { + this.valueType = valueType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EntityAttribute entityAttribute = (EntityAttribute) o; + return Objects.equals(this.key, entityAttribute.key) + && Objects.equals(this.stringValue, entityAttribute.stringValue) + && Objects.equals(this.stringValues, entityAttribute.stringValues) + && Objects.equals(this.numberValue, entityAttribute.numberValue) + && Objects.equals(this.numberValues, entityAttribute.numberValues) + && Objects.equals(this.booleanValue, entityAttribute.booleanValue) + && Objects.equals(this.valueType, entityAttribute.valueType); + } + + @Override + public int hashCode() { + return Objects.hash(key, stringValue, stringValues, numberValue, numberValues, booleanValue, + valueType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EntityAttribute {\n"); + sb.append(" key: ").append(toIndentedString(key)).append("\n"); + sb.append(" stringValue: ").append(toIndentedString(stringValue)).append("\n"); + sb.append(" stringValues: ").append(toIndentedString(stringValues)).append("\n"); + sb.append(" numberValue: ").append(toIndentedString(numberValue)).append("\n"); + sb.append(" numberValues: ").append(toIndentedString(numberValues)).append("\n"); + sb.append(" booleanValue: ").append(toIndentedString(booleanValue)).append("\n"); + sb.append(" valueType: ").append(toIndentedString(valueType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("key", "stringValue", "stringValues", + "numberValue", "numberValues", "booleanValue", "valueType")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to EntityAttribute + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!EntityAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in EntityAttribute is not found in the empty JSON string", + EntityAttribute.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!EntityAttribute.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `EntityAttribute` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) + && !jsonObj.get("key").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `key` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("key").toString())); + } + if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) + && !jsonObj.get("stringValue").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("stringValue").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() + && !jsonObj.get("stringValues").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `stringValues` to be an array in the JSON string but got `%s`", + jsonObj.get("stringValues").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() + && !jsonObj.get("numberValues").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `numberValues` to be an array in the JSON string but got `%s`", + jsonObj.get("numberValues").toString())); + } + // validate the optional field `valueType` + if (jsonObj.get("valueType") != null && !jsonObj.get("valueType").isJsonNull()) { + AttributeValueType.validateJsonElement(jsonObj.get("valueType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EntityAttribute.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EntityAttribute' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(EntityAttribute.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EntityAttribute value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EntityAttribute read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EntityAttribute given an JSON string + * + * @param jsonString JSON string + * @return An instance of EntityAttribute + * @throws IOException if the JSON string is invalid with respect to EntityAttribute + */ + public static EntityAttribute fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EntityAttribute.class); + } + + /** + * Convert an instance of EntityAttribute to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/EntityType.java b/src/main/java/com/formkiq/client/model/EntityType.java new file mode 100644 index 000000000..c4b107b3d --- /dev/null +++ b/src/main/java/com/formkiq/client/model/EntityType.java @@ -0,0 +1,322 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.EntityTypeNamespace; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * EntityType + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class EntityType { + public static final String SERIALIZED_NAME_ENTITY_TYPE_ID = "entityTypeId"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE_ID) + @javax.annotation.Nullable + private String entityTypeId; + + public static final String SERIALIZED_NAME_NAMESPACE = "namespace"; + @SerializedName(SERIALIZED_NAME_NAMESPACE) + @javax.annotation.Nullable + private EntityTypeNamespace namespace; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; + @SerializedName(SERIALIZED_NAME_INSERTED_DATE) + @javax.annotation.Nullable + private String insertedDate; + + public EntityType() {} + + public EntityType entityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + return this; + } + + /** + * Entity Type identifier + * + * @return entityTypeId + */ + @javax.annotation.Nullable + public String getEntityTypeId() { + return entityTypeId; + } + + public void setEntityTypeId(@javax.annotation.Nullable String entityTypeId) { + this.entityTypeId = entityTypeId; + } + + + public EntityType namespace(@javax.annotation.Nullable EntityTypeNamespace namespace) { + this.namespace = namespace; + return this; + } + + /** + * Get namespace + * + * @return namespace + */ + @javax.annotation.Nullable + public EntityTypeNamespace getNamespace() { + return namespace; + } + + public void setNamespace(@javax.annotation.Nullable EntityTypeNamespace namespace) { + this.namespace = namespace; + } + + + public EntityType name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Entity Type Name + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public EntityType insertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + return this; + } + + /** + * Inserted Timestamp + * + * @return insertedDate + */ + @javax.annotation.Nullable + public String getInsertedDate() { + return insertedDate; + } + + public void setInsertedDate(@javax.annotation.Nullable String insertedDate) { + this.insertedDate = insertedDate; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + EntityType entityType = (EntityType) o; + return Objects.equals(this.entityTypeId, entityType.entityTypeId) + && Objects.equals(this.namespace, entityType.namespace) + && Objects.equals(this.name, entityType.name) + && Objects.equals(this.insertedDate, entityType.insertedDate); + } + + @Override + public int hashCode() { + return Objects.hash(entityTypeId, namespace, name, insertedDate); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class EntityType {\n"); + sb.append(" entityTypeId: ").append(toIndentedString(entityTypeId)).append("\n"); + sb.append(" namespace: ").append(toIndentedString(namespace)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" insertedDate: ").append(toIndentedString(insertedDate)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = + new HashSet(Arrays.asList("entityTypeId", "namespace", "name", "insertedDate")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to EntityType + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!EntityType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in EntityType is not found in the empty JSON string", + EntityType.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!EntityType.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `EntityType` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) + && !jsonObj.get("entityTypeId").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityTypeId` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("entityTypeId").toString())); + } + // validate the optional field `namespace` + if (jsonObj.get("namespace") != null && !jsonObj.get("namespace").isJsonNull()) { + EntityTypeNamespace.validateJsonElement(jsonObj.get("namespace")); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) + && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `name` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("name").toString())); + } + if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) + && !jsonObj.get("insertedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("insertedDate").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!EntityType.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'EntityType' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(EntityType.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, EntityType value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public EntityType read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of EntityType given an JSON string + * + * @param jsonString JSON string + * @return An instance of EntityType + * @throws IOException if the JSON string is invalid with respect to EntityType + */ + public static EntityType fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, EntityType.class); + } + + /** + * Convert an instance of EntityType to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java new file mode 100644 index 000000000..8cbf3002f --- /dev/null +++ b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java @@ -0,0 +1,88 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Entity Type namespace + */ +@JsonAdapter(EntityTypeNamespace.Adapter.class) +public enum EntityTypeNamespace { + + PRESET("PRESET"), + + CUSTOM("CUSTOM"); + + private String value; + + EntityTypeNamespace(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static EntityTypeNamespace fromValue(String value) { + for (EntityTypeNamespace b : EntityTypeNamespace.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final EntityTypeNamespace enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public EntityTypeNamespace read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return EntityTypeNamespace.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + EntityTypeNamespace.fromValue(value); + } +} + diff --git a/src/main/java/com/formkiq/client/model/Error.java b/src/main/java/com/formkiq/client/model/Error.java index 667f28fc2..41e059e6d 100644 --- a/src/main/java/com/formkiq/client/model/Error.java +++ b/src/main/java/com/formkiq/client/model/Error.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * Error */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Error { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -155,12 +157,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("error"); + openapiFields = new HashSet(Arrays.asList("key", "error")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -172,9 +172,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Error.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Error is not found in the empty JSON string", - Error.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Error is not found in the empty JSON string", + Error.openapiRequiredFields.toString())); } } @@ -182,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Error.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Error` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -190,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("error") != null && !jsonObj.get("error").isJsonNull()) && !jsonObj.get("error").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("error").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ErrorsResponse.java b/src/main/java/com/formkiq/client/model/ErrorsResponse.java index 14877a5e4..ec413231e 100644 --- a/src/main/java/com/formkiq/client/model/ErrorsResponse.java +++ b/src/main/java/com/formkiq/client/model/ErrorsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Error; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * ErrorsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ErrorsResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("errors"); + openapiFields = new HashSet(Arrays.asList("errors")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ErrorsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ErrorsResponse is not found in the empty JSON string", ErrorsResponse.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ErrorsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ErrorsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayerrors != null) { // ensure the json data is an array if (!jsonObj.get("errors").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `errors` to be an array in the JSON string but got `%s`", jsonObj.get("errors").toString())); } diff --git a/src/main/java/com/formkiq/client/model/FolderPermission.java b/src/main/java/com/formkiq/client/model/FolderPermission.java new file mode 100644 index 000000000..582721b45 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/FolderPermission.java @@ -0,0 +1,269 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.FolderPermissionType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * FolderPermission + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class FolderPermission { + public static final String SERIALIZED_NAME_ROLE_NAME = "roleName"; + @SerializedName(SERIALIZED_NAME_ROLE_NAME) + @javax.annotation.Nullable + private String roleName; + + public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; + @SerializedName(SERIALIZED_NAME_PERMISSIONS) + @javax.annotation.Nullable + private List permissions = new ArrayList<>(); + + public FolderPermission() {} + + public FolderPermission roleName(@javax.annotation.Nullable String roleName) { + this.roleName = roleName; + return this; + } + + /** + * Name of Role + * + * @return roleName + */ + @javax.annotation.Nullable + public String getRoleName() { + return roleName; + } + + public void setRoleName(@javax.annotation.Nullable String roleName) { + this.roleName = roleName; + } + + + public FolderPermission permissions( + @javax.annotation.Nullable List permissions) { + this.permissions = permissions; + return this; + } + + public FolderPermission addPermissionsItem(FolderPermissionType permissionsItem) { + if (this.permissions == null) { + this.permissions = new ArrayList<>(); + } + this.permissions.add(permissionsItem); + return this; + } + + /** + * Get permissions + * + * @return permissions + */ + @javax.annotation.Nullable + public List getPermissions() { + return permissions; + } + + public void setPermissions(@javax.annotation.Nullable List permissions) { + this.permissions = permissions; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + FolderPermission folderPermission = (FolderPermission) o; + return Objects.equals(this.roleName, folderPermission.roleName) + && Objects.equals(this.permissions, folderPermission.permissions); + } + + @Override + public int hashCode() { + return Objects.hash(roleName, permissions); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class FolderPermission {\n"); + sb.append(" roleName: ").append(toIndentedString(roleName)).append("\n"); + sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("roleName", "permissions")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to FolderPermission + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!FolderPermission.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in FolderPermission is not found in the empty JSON string", + FolderPermission.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!FolderPermission.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `FolderPermission` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("roleName") != null && !jsonObj.get("roleName").isJsonNull()) + && !jsonObj.get("roleName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `roleName` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("roleName").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() + && !jsonObj.get("permissions").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `permissions` to be an array in the JSON string but got `%s`", + jsonObj.get("permissions").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!FolderPermission.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'FolderPermission' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(FolderPermission.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, FolderPermission value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public FolderPermission read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of FolderPermission given an JSON string + * + * @param jsonString JSON string + * @return An instance of FolderPermission + * @throws IOException if the JSON string is invalid with respect to FolderPermission + */ + public static FolderPermission fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, FolderPermission.class); + } + + /** + * Convert an instance of FolderPermission to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/FolderPermissionType.java b/src/main/java/com/formkiq/client/model/FolderPermissionType.java new file mode 100644 index 000000000..9604d0a2a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/FolderPermissionType.java @@ -0,0 +1,90 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Folder Permission Type + */ +@JsonAdapter(FolderPermissionType.Adapter.class) +public enum FolderPermissionType { + + READ("READ"), + + WRITE("WRITE"), + + DELETE("DELETE"); + + private String value; + + FolderPermissionType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static FolderPermissionType fromValue(String value) { + for (FolderPermissionType b : FolderPermissionType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final FolderPermissionType enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public FolderPermissionType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return FolderPermissionType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + FolderPermissionType.fromValue(value); + } +} + diff --git a/src/main/java/com/formkiq/client/model/FulltextAttribute.java b/src/main/java/com/formkiq/client/model/FulltextAttribute.java index dfc674eb8..76af53bc8 100644 --- a/src/main/java/com/formkiq/client/model/FulltextAttribute.java +++ b/src/main/java/com/formkiq/client/model/FulltextAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AttributeValueType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * FulltextAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class FulltextAttribute { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -230,14 +232,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stringValues"); - openapiFields.add("numberValues"); - openapiFields.add("booleanValue"); - openapiFields.add("valueType"); + openapiFields = new HashSet( + Arrays.asList("stringValues", "numberValues", "booleanValue", "valueType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -250,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!FulltextAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in FulltextAttribute is not found in the empty JSON string", FulltextAttribute.openapiRequiredFields.toString())); } @@ -260,7 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!FulltextAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `FulltextAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -269,14 +268,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() && !jsonObj.get("stringValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValues` to be an array in the JSON string but got `%s`", jsonObj.get("stringValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() && !jsonObj.get("numberValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberValues` to be an array in the JSON string but got `%s`", jsonObj.get("numberValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/FulltextSearchItem.java b/src/main/java/com/formkiq/client/model/FulltextSearchItem.java index d649e7b77..a60f83117 100644 --- a/src/main/java/com/formkiq/client/model/FulltextSearchItem.java +++ b/src/main/java/com/formkiq/client/model/FulltextSearchItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.FulltextAttribute; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * FulltextSearchItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class FulltextSearchItem { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -565,26 +567,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("path"); - openapiFields.add("contentType"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("documentId"); - openapiFields.add("contentLength"); - openapiFields.add("createdBy"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("siteId", "path", "contentType", "width", + "height", "deepLinkPath", "insertedDate", "lastModifiedDate", "checksum", "checksumType", + "documentId", "contentLength", "createdBy", "tags", "metadata", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -597,7 +585,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!FulltextSearchItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in FulltextSearchItem is not found in the empty JSON string", FulltextSearchItem.openapiRequiredFields.toString())); } @@ -607,7 +595,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!FulltextSearchItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `FulltextSearchItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -615,55 +603,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -673,13 +661,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("createdBy") != null && !jsonObj.get("createdBy").isJsonNull()) && !jsonObj.get("createdBy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `createdBy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("createdBy").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetActivitesResponse.java b/src/main/java/com/formkiq/client/model/GetActivitesResponse.java new file mode 100644 index 000000000..805573338 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetActivitesResponse.java @@ -0,0 +1,277 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.Activity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetActivitesResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetActivitesResponse { + public static final String SERIALIZED_NAME_NEXT = "next"; + @SerializedName(SERIALIZED_NAME_NEXT) + @javax.annotation.Nullable + private String next; + + public static final String SERIALIZED_NAME_ACTIVITIES = "activities"; + @SerializedName(SERIALIZED_NAME_ACTIVITIES) + @javax.annotation.Nullable + private List activities = new ArrayList<>(); + + public GetActivitesResponse() {} + + public GetActivitesResponse next(@javax.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Next page of results token + * + * @return next + */ + @javax.annotation.Nullable + public String getNext() { + return next; + } + + public void setNext(@javax.annotation.Nullable String next) { + this.next = next; + } + + + public GetActivitesResponse activities(@javax.annotation.Nullable List activities) { + this.activities = activities; + return this; + } + + public GetActivitesResponse addActivitiesItem(Activity activitiesItem) { + if (this.activities == null) { + this.activities = new ArrayList<>(); + } + this.activities.add(activitiesItem); + return this; + } + + /** + * List of Entity Type activities + * + * @return activities + */ + @javax.annotation.Nullable + public List getActivities() { + return activities; + } + + public void setActivities(@javax.annotation.Nullable List activities) { + this.activities = activities; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetActivitesResponse getActivitesResponse = (GetActivitesResponse) o; + return Objects.equals(this.next, getActivitesResponse.next) + && Objects.equals(this.activities, getActivitesResponse.activities); + } + + @Override + public int hashCode() { + return Objects.hash(next, activities); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetActivitesResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" activities: ").append(toIndentedString(activities)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("next", "activities")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetActivitesResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetActivitesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetActivitesResponse is not found in the empty JSON string", + GetActivitesResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetActivitesResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetActivitesResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) + && !jsonObj.get("next").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `next` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("next").toString())); + } + if (jsonObj.get("activities") != null && !jsonObj.get("activities").isJsonNull()) { + JsonArray jsonArrayactivities = jsonObj.getAsJsonArray("activities"); + if (jsonArrayactivities != null) { + // ensure the json data is an array + if (!jsonObj.get("activities").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `activities` to be an array in the JSON string but got `%s`", + jsonObj.get("activities").toString())); + } + + // validate the optional field `activities` (array) + for (int i = 0; i < jsonArrayactivities.size(); i++) { + Activity.validateJsonElement(jsonArrayactivities.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetActivitesResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetActivitesResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetActivitesResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetActivitesResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetActivitesResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetActivitesResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetActivitesResponse + * @throws IOException if the JSON string is invalid with respect to GetActivitesResponse + */ + public static GetActivitesResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetActivitesResponse.class); + } + + /** + * Convert an instance of GetActivitesResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java b/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java index 508f97b1f..2589e8dba 100644 --- a/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java +++ b/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ApiKey; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetApiKeysResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetApiKeysResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("apiKeys"); + openapiFields = new HashSet(Arrays.asList("next", "apiKeys")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetApiKeysResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetApiKeysResponse is not found in the empty JSON string", GetApiKeysResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetApiKeysResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetApiKeysResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayapiKeys != null) { // ensure the json data is an array if (!jsonObj.get("apiKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `apiKeys` to be an array in the JSON string but got `%s`", jsonObj.get("apiKeys").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java b/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java index 96d97d829..49aa4fd24 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * GetAttributeAllowedValuesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetAttributeAllowedValuesResponse { public static final String SERIALIZED_NAME_ALLOWED_VALUES = "allowedValues"; @SerializedName(SERIALIZED_NAME_ALLOWED_VALUES) @@ -183,12 +185,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("allowedValues"); - openapiFields.add("localizedAllowedValues"); + openapiFields = new HashSet(Arrays.asList("allowedValues", "localizedAllowedValues")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetAttributeAllowedValuesResponse.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetAttributeAllowedValuesResponse is not found in the empty JSON string", GetAttributeAllowedValuesResponse.openapiRequiredFields.toString())); } @@ -213,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetAttributeAllowedValuesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetAttributeAllowedValuesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("allowedValues") != null && !jsonObj.get("allowedValues").isJsonNull() && !jsonObj.get("allowedValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValues` to be an array in the JSON string but got `%s`", jsonObj.get("allowedValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetAttributeResponse.java index f71837dbc..616601d7b 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributeResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Attribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetAttributeResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetAttributeResponse { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attribute"); + openapiFields = new HashSet(Arrays.asList("attribute")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetAttributeResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetAttributeResponse is not found in the empty JSON string", GetAttributeResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetAttributeResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetAttributeResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetAttributesResponse.java b/src/main/java/com/formkiq/client/model/GetAttributesResponse.java index 5e3ca90bc..e78e29e99 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Attribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetAttributesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetAttributesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("next", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetAttributesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetAttributesResponse is not found in the empty JSON string", GetAttributesResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetAttributesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetAttributesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java index b6151535a..032152c2b 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Document; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetCaseDocumentsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCaseDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseDocumentsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCaseDocumentsResponse is not found in the empty JSON string", GetCaseDocumentsResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCaseDocumentsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCaseDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java b/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java index 99d66d54c..7314ccdde 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Nigo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetCaseNigoResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCaseNigoResponse { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("nigo"); + openapiFields = new HashSet(Arrays.asList("nigo")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseNigoResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCaseNigoResponse is not found in the empty JSON string", GetCaseNigoResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCaseNigoResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCaseNigoResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java b/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java index 17b04d424..118878a32 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Nigo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetCaseNigosResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCaseNigosResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("nigos"); + openapiFields = new HashSet(Arrays.asList("next", "nigos")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseNigosResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCaseNigosResponse is not found in the empty JSON string", GetCaseNigosResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCaseNigosResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCaseNigosResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraynigos != null) { // ensure the json data is an array if (!jsonObj.get("nigos").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nigos` to be an array in the JSON string but got `%s`", jsonObj.get("nigos").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseResponse.java b/src/main/java/com/formkiq/client/model/GetCaseResponse.java index 00c0ae21a..acf2665da 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ModelCase; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetCaseResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCaseResponse { public static final String SERIALIZED_NAME_CASE = "case"; @SerializedName(SERIALIZED_NAME_CASE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("case"); + openapiFields = new HashSet(Arrays.asList("case")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCaseResponse is not found in the empty JSON string", GetCaseResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCaseResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCaseResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java b/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java index 34be1fcf6..4eaba3981 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Task; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetCaseTaskResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCaseTaskResponse { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("task"); + openapiFields = new HashSet(Arrays.asList("task")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseTaskResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCaseTaskResponse is not found in the empty JSON string", GetCaseTaskResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCaseTaskResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCaseTaskResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java b/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java index fc3cb9a86..d8875a438 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Task; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetCaseTasksResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCaseTasksResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("tasks"); + openapiFields = new HashSet(Arrays.asList("next", "tasks")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCaseTasksResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCaseTasksResponse is not found in the empty JSON string", GetCaseTasksResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCaseTasksResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCaseTasksResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytasks != null) { // ensure the json data is an array if (!jsonObj.get("tasks").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tasks` to be an array in the JSON string but got `%s`", jsonObj.get("tasks").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetCasesResponse.java b/src/main/java/com/formkiq/client/model/GetCasesResponse.java index 32599ed00..2b04ae6a2 100644 --- a/src/main/java/com/formkiq/client/model/GetCasesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCasesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ModelCase; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetCasesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetCasesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("cases"); + openapiFields = new HashSet(Arrays.asList("next", "cases")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetCasesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetCasesResponse is not found in the empty JSON string", GetCasesResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetCasesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetCasesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycases != null) { // ensure the json data is an array if (!jsonObj.get("cases").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `cases` to be an array in the JSON string but got `%s`", jsonObj.get("cases").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetClassificationResponse.java b/src/main/java/com/formkiq/client/model/GetClassificationResponse.java index 7899ece7b..a40a24c22 100644 --- a/src/main/java/com/formkiq/client/model/GetClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetClassificationResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Classification; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetClassificationResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetClassificationResponse { public static final String SERIALIZED_NAME_CLASSIFICATION = "classification"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("classification"); + openapiFields = new HashSet(Arrays.asList("classification")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetClassificationResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetClassificationResponse is not found in the empty JSON string", GetClassificationResponse.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetClassificationResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetClassificationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java b/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java index bc80cdc18..d067aa4ab 100644 --- a/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ClassificationSummary; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetClassificationsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetClassificationsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -170,12 +172,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("classifications"); + openapiFields = new HashSet(Arrays.asList("next", "classifications")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -188,7 +188,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetClassificationsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetClassificationsResponse is not found in the empty JSON string", GetClassificationsResponse.openapiRequiredFields.toString())); } @@ -198,7 +198,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetClassificationsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetClassificationsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +206,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -215,7 +215,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayclassifications != null) { // ensure the json data is an array if (!jsonObj.get("classifications").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `classifications` to be an array in the JSON string but got `%s`", jsonObj.get("classifications").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java b/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java index 29bde5f02..a626bda29 100644 --- a/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignConfig; import com.formkiq.client.model.GoogleConfig; import com.formkiq.client.model.OcrConfig; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetConfigurationResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetConfigurationResponse { public static final String SERIALIZED_NAME_CHAT_GPT_API_KEY = "chatGptApiKey"; @SerializedName(SERIALIZED_NAME_CHAT_GPT_API_KEY) @@ -326,18 +328,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("chatGptApiKey"); - openapiFields.add("maxContentLengthBytes"); - openapiFields.add("maxDocuments"); - openapiFields.add("maxWebhooks"); - openapiFields.add("notificationEmail"); - openapiFields.add("ocr"); - openapiFields.add("google"); - openapiFields.add("docusign"); + openapiFields = new HashSet(Arrays.asList("chatGptApiKey", "maxContentLengthBytes", + "maxDocuments", "maxWebhooks", "notificationEmail", "ocr", "google", "docusign")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -350,7 +345,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetConfigurationResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetConfigurationResponse is not found in the empty JSON string", GetConfigurationResponse.openapiRequiredFields.toString())); } @@ -360,7 +355,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetConfigurationResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetConfigurationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -368,32 +363,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("chatGptApiKey") != null && !jsonObj.get("chatGptApiKey").isJsonNull()) && !jsonObj.get("chatGptApiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `chatGptApiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chatGptApiKey").toString())); } if ((jsonObj.get("maxContentLengthBytes") != null && !jsonObj.get("maxContentLengthBytes").isJsonNull()) && !jsonObj.get("maxContentLengthBytes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxContentLengthBytes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxContentLengthBytes").toString())); } if ((jsonObj.get("maxDocuments") != null && !jsonObj.get("maxDocuments").isJsonNull()) && !jsonObj.get("maxDocuments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxDocuments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxDocuments").toString())); } if ((jsonObj.get("maxWebhooks") != null && !jsonObj.get("maxWebhooks").isJsonNull()) && !jsonObj.get("maxWebhooks").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxWebhooks` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxWebhooks").toString())); } if ((jsonObj.get("notificationEmail") != null && !jsonObj.get("notificationEmail").isJsonNull()) && !jsonObj.get("notificationEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationEmail").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java index b658b38f4..2758bdc68 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentAction; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentActionsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentActionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("actions"); + openapiFields = new HashSet(Arrays.asList("next", "actions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentActionsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentActionsResponse is not found in the empty JSON string", GetDocumentActionsResponse.openapiRequiredFields.toString())); } @@ -196,7 +196,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentActionsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentActionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactions != null) { // ensure the json data is an array if (!jsonObj.get("actions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `actions` to be an array in the JSON string but got `%s`", jsonObj.get("actions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java index 021b53dab..970e4e797 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetDocumentAttributeResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentAttributeResponse { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attribute"); + openapiFields = new HashSet(Arrays.asList("attribute")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetDocumentAttributeResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentAttributeResponse is not found in the empty JSON string", GetDocumentAttributeResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentAttributeResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentAttributeResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java index ae361a552..7e00c4bdd 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentAttributesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentAttributesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("next", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -188,7 +188,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetDocumentAttributesResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentAttributesResponse is not found in the empty JSON string", GetDocumentAttributesResponse.openapiRequiredFields.toString())); } @@ -198,7 +198,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentAttributesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentAttributesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +206,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -215,7 +215,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java index 0120dec93..89a243891 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * GetDocumentContentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentContentResponse { public static final String SERIALIZED_NAME_CONTENT = "content"; @SerializedName(SERIALIZED_NAME_CONTENT) @@ -210,14 +212,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("content"); - openapiFields.add("contentUrl"); - openapiFields.add("contentType"); - openapiFields.add("isBase64"); + openapiFields = + new HashSet(Arrays.asList("content", "contentUrl", "contentType", "isBase64")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -230,7 +229,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentContentResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentContentResponse is not found in the empty JSON string", GetDocumentContentResponse.openapiRequiredFields.toString())); } @@ -240,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentContentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentContentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -248,19 +247,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) && !jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } if ((jsonObj.get("contentUrl") != null && !jsonObj.get("contentUrl").isJsonNull()) && !jsonObj.get("contentUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentUrl").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java new file mode 100644 index 000000000..4dd808835 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java @@ -0,0 +1,290 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.DataClassification; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetDocumentDataClassificationResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetDocumentDataClassificationResponse { + public static final String SERIALIZED_NAME_NEXT = "next"; + @SerializedName(SERIALIZED_NAME_NEXT) + @javax.annotation.Nullable + private String next; + + public static final String SERIALIZED_NAME_DATA_CLASSIFICATIONS = "dataClassifications"; + @SerializedName(SERIALIZED_NAME_DATA_CLASSIFICATIONS) + @javax.annotation.Nullable + private List dataClassifications = new ArrayList<>(); + + public GetDocumentDataClassificationResponse() {} + + public GetDocumentDataClassificationResponse next(@javax.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Next page of results token + * + * @return next + */ + @javax.annotation.Nullable + public String getNext() { + return next; + } + + public void setNext(@javax.annotation.Nullable String next) { + this.next = next; + } + + + public GetDocumentDataClassificationResponse dataClassifications( + @javax.annotation.Nullable List dataClassifications) { + this.dataClassifications = dataClassifications; + return this; + } + + public GetDocumentDataClassificationResponse addDataClassificationsItem( + DataClassification dataClassificationsItem) { + if (this.dataClassifications == null) { + this.dataClassifications = new ArrayList<>(); + } + this.dataClassifications.add(dataClassificationsItem); + return this; + } + + /** + * List of Data Classifications + * + * @return dataClassifications + */ + @javax.annotation.Nullable + public List getDataClassifications() { + return dataClassifications; + } + + public void setDataClassifications( + @javax.annotation.Nullable List dataClassifications) { + this.dataClassifications = dataClassifications; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetDocumentDataClassificationResponse getDocumentDataClassificationResponse = + (GetDocumentDataClassificationResponse) o; + return Objects.equals(this.next, getDocumentDataClassificationResponse.next) && Objects.equals( + this.dataClassifications, getDocumentDataClassificationResponse.dataClassifications); + } + + @Override + public int hashCode() { + return Objects.hash(next, dataClassifications); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetDocumentDataClassificationResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" dataClassifications: ").append(toIndentedString(dataClassifications)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("next", "dataClassifications")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to + * GetDocumentDataClassificationResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetDocumentDataClassificationResponse.openapiRequiredFields.isEmpty()) { // has required + // fields but + // JSON element + // is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetDocumentDataClassificationResponse is not found in the empty JSON string", + GetDocumentDataClassificationResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetDocumentDataClassificationResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetDocumentDataClassificationResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) + && !jsonObj.get("next").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `next` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("next").toString())); + } + if (jsonObj.get("dataClassifications") != null + && !jsonObj.get("dataClassifications").isJsonNull()) { + JsonArray jsonArraydataClassifications = jsonObj.getAsJsonArray("dataClassifications"); + if (jsonArraydataClassifications != null) { + // ensure the json data is an array + if (!jsonObj.get("dataClassifications").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `dataClassifications` to be an array in the JSON string but got `%s`", + jsonObj.get("dataClassifications").toString())); + } + + // validate the optional field `dataClassifications` (array) + for (int i = 0; i < jsonArraydataClassifications.size(); i++) { + DataClassification.validateJsonElement(jsonArraydataClassifications.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetDocumentDataClassificationResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetDocumentDataClassificationResponse' and its + // subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetDocumentDataClassificationResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetDocumentDataClassificationResponse value) + throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetDocumentDataClassificationResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetDocumentDataClassificationResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetDocumentDataClassificationResponse + * @throws IOException if the JSON string is invalid with respect to + * GetDocumentDataClassificationResponse + */ + public static GetDocumentDataClassificationResponse fromJson(String jsonString) + throws IOException { + return JSON.getGson().fromJson(jsonString, GetDocumentDataClassificationResponse.class); + } + + /** + * Convert an instance of GetDocumentDataClassificationResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java index 18b376c28..1b59cfbca 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.FulltextAttribute; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * GetDocumentFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentFulltextResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -597,27 +599,13 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("content"); - openapiFields.add("contentType"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("documentId"); - openapiFields.add("createdBy"); - openapiFields.add("contentLength"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("attributes"); + openapiFields = + new HashSet(Arrays.asList("siteId", "content", "contentType", "path", "width", + "height", "deepLinkPath", "insertedDate", "lastModifiedDate", "documentId", "createdBy", + "contentLength", "checksum", "checksumType", "tags", "metadata", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -630,7 +618,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentFulltextResponse is not found in the empty JSON string", GetDocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -640,7 +628,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -648,73 +636,73 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) && !jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("createdBy") != null && !jsonObj.get("createdBy").isJsonNull()) && !jsonObj.get("createdBy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `createdBy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("createdBy").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java index ea3bee2c3..c3181fc2b 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OcrKeyValues; import com.formkiq.client.model.OcrTable; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * GetDocumentOcrResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentOcrResponse { public static final String SERIALIZED_NAME_CONTENT_URLS = "contentUrls"; @SerializedName(SERIALIZED_NAME_CONTENT_URLS) @@ -428,21 +430,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("contentUrls"); - openapiFields.add("keyValues"); - openapiFields.add("tables"); - openapiFields.add("data"); - openapiFields.add("ocrEngine"); - openapiFields.add("ocrStatus"); - openapiFields.add("contentType"); - openapiFields.add("isBase64"); - openapiFields.add("userId"); - openapiFields.add("documentId"); - openapiFields.add("insertedDate"); + openapiFields = + new HashSet(Arrays.asList("contentUrls", "keyValues", "tables", "data", "ocrEngine", + "ocrStatus", "contentType", "isBase64", "userId", "documentId", "insertedDate")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -455,7 +448,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentOcrResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentOcrResponse is not found in the empty JSON string", GetDocumentOcrResponse.openapiRequiredFields.toString())); } @@ -465,7 +458,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentOcrResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentOcrResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -474,7 +467,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("contentUrls") != null && !jsonObj.get("contentUrls").isJsonNull() && !jsonObj.get("contentUrls").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentUrls` to be an array in the JSON string but got `%s`", jsonObj.get("contentUrls").toString())); } @@ -483,7 +476,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraykeyValues != null) { // ensure the json data is an array if (!jsonObj.get("keyValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `keyValues` to be an array in the JSON string but got `%s`", jsonObj.get("keyValues").toString())); } @@ -499,7 +492,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytables != null) { // ensure the json data is an array if (!jsonObj.get("tables").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tables` to be an array in the JSON string but got `%s`", jsonObj.get("tables").toString())); } @@ -512,43 +505,43 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull()) && !jsonObj.get("data").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `data` to be a primitive type in the JSON string but got `%s`", jsonObj.get("data").toString())); } if ((jsonObj.get("ocrEngine") != null && !jsonObj.get("ocrEngine").isJsonNull()) && !jsonObj.get("ocrEngine").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ocrEngine` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrEngine").toString())); } if ((jsonObj.get("ocrStatus") != null && !jsonObj.get("ocrStatus").isJsonNull()) && !jsonObj.get("ocrStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ocrStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ocrStatus").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentResponse.java index 98effd651..3d0b3e18d 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.ChildDocument; import com.formkiq.client.model.DocumentMetadata; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * GetDocumentResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -586,28 +588,13 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("documentId"); - openapiFields.add("contentType"); - openapiFields.add("userId"); - openapiFields.add("contentLength"); - openapiFields.add("versionId"); - openapiFields.add("documents"); - openapiFields.add("belongsToDocumentId"); - openapiFields.add("metadata"); + openapiFields = new HashSet( + Arrays.asList("siteId", "path", "width", "height", "deepLinkPath", "insertedDate", + "lastModifiedDate", "checksum", "checksumType", "documentId", "contentType", "userId", + "contentLength", "versionId", "documents", "belongsToDocumentId", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("documentId"); + openapiRequiredFields = new HashSet(Arrays.asList("documentId")); } /** @@ -620,7 +607,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentResponse is not found in the empty JSON string", GetDocumentResponse.openapiRequiredFields.toString())); } @@ -630,7 +617,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -639,57 +626,57 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : GetDocumentResponse.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -698,25 +685,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ChecksumType.validateJsonElement(jsonObj.get("checksumType")); } if (!jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("versionId") != null && !jsonObj.get("versionId").isJsonNull()) && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); } @@ -725,7 +712,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } @@ -739,7 +726,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } @@ -748,7 +735,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java index 9cb065b36..89d060f46 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentSync; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentSyncResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentSyncResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("syncs"); + openapiFields = new HashSet(Arrays.asList("next", "syncs")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentSyncResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentSyncResponse is not found in the empty JSON string", GetDocumentSyncResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentSyncResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentSyncResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysyncs != null) { // ensure the json data is an array if (!jsonObj.get("syncs").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `syncs` to be an array in the JSON string but got `%s`", jsonObj.get("syncs").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java index 750e99e5c..9e703db4e 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * GetDocumentTagResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentTagResponse { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -301,17 +303,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("insertedDate"); - openapiFields.add("documentId"); - openapiFields.add("type"); - openapiFields.add("userId"); - openapiFields.add("value"); - openapiFields.add("values"); - openapiFields.add("key"); + openapiFields = new HashSet( + Arrays.asList("insertedDate", "documentId", "type", "userId", "value", "values", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -324,7 +320,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentTagResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentTagResponse is not found in the empty JSON string", GetDocumentTagResponse.openapiRequiredFields.toString())); } @@ -334,7 +330,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentTagResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentTagResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -342,44 +338,44 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java index c784844f4..f3967f453 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentTag; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentTagsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentTagsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +196,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("previous"); - openapiFields.add("tags"); + openapiFields = new HashSet(Arrays.asList("next", "previous", "tags")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentTagsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentTagsResponse is not found in the empty JSON string", GetDocumentTagsResponse.openapiRequiredFields.toString())); } @@ -223,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentTagsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentTagsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +230,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -246,7 +245,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java index 9bb57e24e..54975804f 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * GetDocumentUrlResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentUrlResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -193,13 +195,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentId"); - openapiFields.add("url"); - openapiFields.add("headers"); + openapiFields = new HashSet(Arrays.asList("documentId", "url", "headers")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -212,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentUrlResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentUrlResponse is not found in the empty JSON string", GetDocumentUrlResponse.openapiRequiredFields.toString())); } @@ -222,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentUrlResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentUrlResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -230,13 +229,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull()) && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java index dbb012355..e7d6afb7c 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentVersion; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentVersionsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentVersionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentVersionsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentVersionsResponse is not found in the empty JSON string", GetDocumentVersionsResponse.openapiRequiredFields.toString())); } @@ -196,7 +196,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentVersionsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentVersionsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java index 8ad697d71..8600b6f81 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentWorkflow; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetDocumentWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentWorkflowResponse { public static final String SERIALIZED_NAME_WORKFLOW = "workflow"; @SerializedName(SERIALIZED_NAME_WORKFLOW) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workflow"); + openapiFields = new HashSet(Arrays.asList("workflow")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentWorkflowResponse is not found in the empty JSON string", GetDocumentWorkflowResponse.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java index f2bd4d79a..e4d7e3d90 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentWorkflow; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentWorkflowsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentWorkflowsResponse { public static final String SERIALIZED_NAME_WORKFLOWS = "workflows"; @SerializedName(SERIALIZED_NAME_WORKFLOWS) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workflows"); - openapiFields.add("next"); + openapiFields = new HashSet(Arrays.asList("workflows", "next")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -187,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetDocumentWorkflowsResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentWorkflowsResponse is not found in the empty JSON string", GetDocumentWorkflowsResponse.openapiRequiredFields.toString())); } @@ -197,7 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentWorkflowsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentWorkflowsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -208,7 +208,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayworkflows != null) { // ensure the json data is an array if (!jsonObj.get("workflows").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflows` to be an array in the JSON string but got `%s`", jsonObj.get("workflows").toString())); } @@ -221,7 +221,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java index 7dae673d4..1762f6ade 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Document; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetDocumentsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +196,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("previous"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "previous", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetDocumentsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetDocumentsResponse is not found in the empty JSON string", GetDocumentsResponse.openapiRequiredFields.toString())); } @@ -223,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetDocumentsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +230,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -246,7 +245,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java b/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java new file mode 100644 index 000000000..aa90e9e42 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java @@ -0,0 +1,277 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.Entity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetEntitiesResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetEntitiesResponse { + public static final String SERIALIZED_NAME_NEXT = "next"; + @SerializedName(SERIALIZED_NAME_NEXT) + @javax.annotation.Nullable + private String next; + + public static final String SERIALIZED_NAME_ENTITIES = "entities"; + @SerializedName(SERIALIZED_NAME_ENTITIES) + @javax.annotation.Nullable + private List entities = new ArrayList<>(); + + public GetEntitiesResponse() {} + + public GetEntitiesResponse next(@javax.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Next page of results token + * + * @return next + */ + @javax.annotation.Nullable + public String getNext() { + return next; + } + + public void setNext(@javax.annotation.Nullable String next) { + this.next = next; + } + + + public GetEntitiesResponse entities(@javax.annotation.Nullable List entities) { + this.entities = entities; + return this; + } + + public GetEntitiesResponse addEntitiesItem(Entity entitiesItem) { + if (this.entities == null) { + this.entities = new ArrayList<>(); + } + this.entities.add(entitiesItem); + return this; + } + + /** + * List of Entities + * + * @return entities + */ + @javax.annotation.Nullable + public List getEntities() { + return entities; + } + + public void setEntities(@javax.annotation.Nullable List entities) { + this.entities = entities; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetEntitiesResponse getEntitiesResponse = (GetEntitiesResponse) o; + return Objects.equals(this.next, getEntitiesResponse.next) + && Objects.equals(this.entities, getEntitiesResponse.entities); + } + + @Override + public int hashCode() { + return Objects.hash(next, entities); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetEntitiesResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" entities: ").append(toIndentedString(entities)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("next", "entities")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetEntitiesResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetEntitiesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetEntitiesResponse is not found in the empty JSON string", + GetEntitiesResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetEntitiesResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetEntitiesResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) + && !jsonObj.get("next").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `next` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("next").toString())); + } + if (jsonObj.get("entities") != null && !jsonObj.get("entities").isJsonNull()) { + JsonArray jsonArrayentities = jsonObj.getAsJsonArray("entities"); + if (jsonArrayentities != null) { + // ensure the json data is an array + if (!jsonObj.get("entities").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entities` to be an array in the JSON string but got `%s`", + jsonObj.get("entities").toString())); + } + + // validate the optional field `entities` (array) + for (int i = 0; i < jsonArrayentities.size(); i++) { + Entity.validateJsonElement(jsonArrayentities.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetEntitiesResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetEntitiesResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetEntitiesResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetEntitiesResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetEntitiesResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetEntitiesResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetEntitiesResponse + * @throws IOException if the JSON string is invalid with respect to GetEntitiesResponse + */ + public static GetEntitiesResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetEntitiesResponse.class); + } + + /** + * Convert an instance of GetEntitiesResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetEntityResponse.java similarity index 62% rename from src/main/java/com/formkiq/client/model/AddAttributeResponse.java rename to src/main/java/com/formkiq/client/model/GetEntityResponse.java index 80474cea8..568d65d5b 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.Entity; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,40 +51,41 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** - * AddAttributeResponse + * GetEntityResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") -public class AddAttributeResponse { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetEntityResponse { + public static final String SERIALIZED_NAME_ENTITY = "entity"; + @SerializedName(SERIALIZED_NAME_ENTITY) @javax.annotation.Nullable - private String message; + private Entity entity; - public AddAttributeResponse() {} + public GetEntityResponse() {} - public AddAttributeResponse message(@javax.annotation.Nullable String message) { - this.message = message; + public GetEntityResponse entity(@javax.annotation.Nullable Entity entity) { + this.entity = entity; return this; } /** - * Response Message + * Get entity * - * @return message + * @return entity */ @javax.annotation.Nullable - public String getMessage() { - return message; + public Entity getEntity() { + return entity; } - public void setMessage(@javax.annotation.Nullable String message) { - this.message = message; + public void setEntity(@javax.annotation.Nullable Entity entity) { + this.entity = entity; } @@ -95,20 +98,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - AddAttributeResponse addAttributeResponse = (AddAttributeResponse) o; - return Objects.equals(this.message, addAttributeResponse.message); + GetEntityResponse getEntityResponse = (GetEntityResponse) o; + return Objects.equals(this.entity, getEntityResponse.entity); } @Override public int hashCode() { - return Objects.hash(message); + return Objects.hash(entity); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class AddAttributeResponse {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("class GetEntityResponse {\n"); + sb.append(" entity: ").append(toIndentedString(entity)).append("\n"); sb.append("}"); return sb.toString(); } @@ -129,44 +132,41 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("entity")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to AddAttributeResponse + * @throws IOException if the JSON Element is invalid with respect to GetEntityResponse */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!AddAttributeResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON - // element is null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in AddAttributeResponse is not found in the empty JSON string", - AddAttributeResponse.openapiRequiredFields.toString())); + if (!GetEntityResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetEntityResponse is not found in the empty JSON string", + GetEntityResponse.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!AddAttributeResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `AddAttributeResponse` properties. JSON: %s", + if (!GetEntityResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetEntityResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) - && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `message` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("message").toString())); + // validate the optional field `entity` + if (jsonObj.get("entity") != null && !jsonObj.get("entity").isJsonNull()) { + Entity.validateJsonElement(jsonObj.get("entity")); } } @@ -174,22 +174,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!AddAttributeResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AddAttributeResponse' and its subtypes + if (!GetEntityResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetEntityResponse' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(AddAttributeResponse.class)); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetEntityResponse.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, AddAttributeResponse value) throws IOException { + public void write(JsonWriter out, GetEntityResponse value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public AddAttributeResponse read(JsonReader in) throws IOException { + public GetEntityResponse read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -200,18 +200,18 @@ public AddAttributeResponse read(JsonReader in) throws IOException { } /** - * Create an instance of AddAttributeResponse given an JSON string + * Create an instance of GetEntityResponse given an JSON string * * @param jsonString JSON string - * @return An instance of AddAttributeResponse - * @throws IOException if the JSON string is invalid with respect to AddAttributeResponse + * @return An instance of GetEntityResponse + * @throws IOException if the JSON string is invalid with respect to GetEntityResponse */ - public static AddAttributeResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AddAttributeResponse.class); + public static GetEntityResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetEntityResponse.class); } /** - * Convert an instance of AddAttributeResponse to an JSON string + * Convert an instance of GetEntityResponse to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java b/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java new file mode 100644 index 000000000..6b59b7a94 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java @@ -0,0 +1,222 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.EntityType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetEntityTypeResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetEntityTypeResponse { + public static final String SERIALIZED_NAME_ENTITY_TYPE = "entityType"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPE) + @javax.annotation.Nullable + private EntityType entityType; + + public GetEntityTypeResponse() {} + + public GetEntityTypeResponse entityType(@javax.annotation.Nullable EntityType entityType) { + this.entityType = entityType; + return this; + } + + /** + * Get entityType + * + * @return entityType + */ + @javax.annotation.Nullable + public EntityType getEntityType() { + return entityType; + } + + public void setEntityType(@javax.annotation.Nullable EntityType entityType) { + this.entityType = entityType; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetEntityTypeResponse getEntityTypeResponse = (GetEntityTypeResponse) o; + return Objects.equals(this.entityType, getEntityTypeResponse.entityType); + } + + @Override + public int hashCode() { + return Objects.hash(entityType); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetEntityTypeResponse {\n"); + sb.append(" entityType: ").append(toIndentedString(entityType)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("entityType")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetEntityTypeResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetEntityTypeResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetEntityTypeResponse is not found in the empty JSON string", + GetEntityTypeResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetEntityTypeResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetEntityTypeResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `entityType` + if (jsonObj.get("entityType") != null && !jsonObj.get("entityType").isJsonNull()) { + EntityType.validateJsonElement(jsonObj.get("entityType")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetEntityTypeResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetEntityTypeResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetEntityTypeResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetEntityTypeResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetEntityTypeResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetEntityTypeResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetEntityTypeResponse + * @throws IOException if the JSON string is invalid with respect to GetEntityTypeResponse + */ + public static GetEntityTypeResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetEntityTypeResponse.class); + } + + /** + * Convert an instance of GetEntityTypeResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java new file mode 100644 index 000000000..2f2a27990 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java @@ -0,0 +1,278 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.EntityType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetEntityTypesResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetEntityTypesResponse { + public static final String SERIALIZED_NAME_NEXT = "next"; + @SerializedName(SERIALIZED_NAME_NEXT) + @javax.annotation.Nullable + private String next; + + public static final String SERIALIZED_NAME_ENTITY_TYPES = "entityTypes"; + @SerializedName(SERIALIZED_NAME_ENTITY_TYPES) + @javax.annotation.Nullable + private List entityTypes = new ArrayList<>(); + + public GetEntityTypesResponse() {} + + public GetEntityTypesResponse next(@javax.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Next page of results token + * + * @return next + */ + @javax.annotation.Nullable + public String getNext() { + return next; + } + + public void setNext(@javax.annotation.Nullable String next) { + this.next = next; + } + + + public GetEntityTypesResponse entityTypes( + @javax.annotation.Nullable List entityTypes) { + this.entityTypes = entityTypes; + return this; + } + + public GetEntityTypesResponse addEntityTypesItem(EntityType entityTypesItem) { + if (this.entityTypes == null) { + this.entityTypes = new ArrayList<>(); + } + this.entityTypes.add(entityTypesItem); + return this; + } + + /** + * List of Entity Types + * + * @return entityTypes + */ + @javax.annotation.Nullable + public List getEntityTypes() { + return entityTypes; + } + + public void setEntityTypes(@javax.annotation.Nullable List entityTypes) { + this.entityTypes = entityTypes; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetEntityTypesResponse getEntityTypesResponse = (GetEntityTypesResponse) o; + return Objects.equals(this.next, getEntityTypesResponse.next) + && Objects.equals(this.entityTypes, getEntityTypesResponse.entityTypes); + } + + @Override + public int hashCode() { + return Objects.hash(next, entityTypes); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetEntityTypesResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" entityTypes: ").append(toIndentedString(entityTypes)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("next", "entityTypes")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetEntityTypesResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetEntityTypesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetEntityTypesResponse is not found in the empty JSON string", + GetEntityTypesResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetEntityTypesResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetEntityTypesResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) + && !jsonObj.get("next").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `next` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("next").toString())); + } + if (jsonObj.get("entityTypes") != null && !jsonObj.get("entityTypes").isJsonNull()) { + JsonArray jsonArrayentityTypes = jsonObj.getAsJsonArray("entityTypes"); + if (jsonArrayentityTypes != null) { + // ensure the json data is an array + if (!jsonObj.get("entityTypes").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `entityTypes` to be an array in the JSON string but got `%s`", + jsonObj.get("entityTypes").toString())); + } + + // validate the optional field `entityTypes` (array) + for (int i = 0; i < jsonArrayentityTypes.size(); i++) { + EntityType.validateJsonElement(jsonArrayentityTypes.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetEntityTypesResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetEntityTypesResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetEntityTypesResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetEntityTypesResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetEntityTypesResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetEntityTypesResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetEntityTypesResponse + * @throws IOException if the JSON string is invalid with respect to GetEntityTypesResponse + */ + public static GetEntityTypesResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetEntityTypesResponse.class); + } + + /** + * Convert an instance of GetEntityTypesResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java b/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java index 07eb8ff25..3da53cdce 100644 --- a/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java +++ b/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.PdfDocument; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetExaminePdfResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetExaminePdfResponse { public static final String SERIALIZED_NAME_FILEINFO = "fileinfo"; @SerializedName(SERIALIZED_NAME_FILEINFO) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("fileinfo"); + openapiFields = new HashSet(Arrays.asList("fileinfo")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetExaminePdfResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetExaminePdfResponse is not found in the empty JSON string", GetExaminePdfResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetExaminePdfResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetExaminePdfResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java b/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java index 4ebab863b..7cecc7eae 100644 --- a/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java +++ b/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * GetExaminePdfUrlResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetExaminePdfUrlResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("id"); - openapiFields.add("uploadUrl"); + openapiFields = new HashSet(Arrays.asList("id", "uploadUrl")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetExaminePdfUrlResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetExaminePdfUrlResponse is not found in the empty JSON string", GetExaminePdfUrlResponse.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetExaminePdfUrlResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetExaminePdfUrlResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } if ((jsonObj.get("uploadUrl") != null && !jsonObj.get("uploadUrl").isJsonNull()) && !jsonObj.get("uploadUrl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `uploadUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uploadUrl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java b/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java new file mode 100644 index 000000000..e26c2c936 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java @@ -0,0 +1,246 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.FolderPermission; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetFolderPermissionsResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetFolderPermissionsResponse { + public static final String SERIALIZED_NAME_ROLES = "roles"; + @SerializedName(SERIALIZED_NAME_ROLES) + @javax.annotation.Nullable + private List roles = new ArrayList<>(); + + public GetFolderPermissionsResponse() {} + + public GetFolderPermissionsResponse roles( + @javax.annotation.Nullable List roles) { + this.roles = roles; + return this; + } + + public GetFolderPermissionsResponse addRolesItem(FolderPermission rolesItem) { + if (this.roles == null) { + this.roles = new ArrayList<>(); + } + this.roles.add(rolesItem); + return this; + } + + /** + * Get roles + * + * @return roles + */ + @javax.annotation.Nullable + public List getRoles() { + return roles; + } + + public void setRoles(@javax.annotation.Nullable List roles) { + this.roles = roles; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetFolderPermissionsResponse getFolderPermissionsResponse = (GetFolderPermissionsResponse) o; + return Objects.equals(this.roles, getFolderPermissionsResponse.roles); + } + + @Override + public int hashCode() { + return Objects.hash(roles); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetFolderPermissionsResponse {\n"); + sb.append(" roles: ").append(toIndentedString(roles)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("roles")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetFolderPermissionsResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetFolderPermissionsResponse.openapiRequiredFields.isEmpty()) { // has required fields + // but JSON element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetFolderPermissionsResponse is not found in the empty JSON string", + GetFolderPermissionsResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetFolderPermissionsResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetFolderPermissionsResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("roles") != null && !jsonObj.get("roles").isJsonNull()) { + JsonArray jsonArrayroles = jsonObj.getAsJsonArray("roles"); + if (jsonArrayroles != null) { + // ensure the json data is an array + if (!jsonObj.get("roles").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `roles` to be an array in the JSON string but got `%s`", + jsonObj.get("roles").toString())); + } + + // validate the optional field `roles` (array) + for (int i = 0; i < jsonArrayroles.size(); i++) { + FolderPermission.validateJsonElement(jsonArrayroles.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetFolderPermissionsResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetFolderPermissionsResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetFolderPermissionsResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetFolderPermissionsResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetFolderPermissionsResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetFolderPermissionsResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetFolderPermissionsResponse + * @throws IOException if the JSON string is invalid with respect to GetFolderPermissionsResponse + */ + public static GetFolderPermissionsResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetFolderPermissionsResponse.class); + } + + /** + * Convert an instance of GetFolderPermissionsResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetFoldersResponse.java b/src/main/java/com/formkiq/client/model/GetFoldersResponse.java index 29d79ea85..0f8ae3178 100644 --- a/src/main/java/com/formkiq/client/model/GetFoldersResponse.java +++ b/src/main/java/com/formkiq/client/model/GetFoldersResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SearchResultDocument; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetFoldersResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetFoldersResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -195,13 +197,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("previous"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "previous", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -214,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetFoldersResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetFoldersResponse is not found in the empty JSON string", GetFoldersResponse.openapiRequiredFields.toString())); } @@ -224,7 +223,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetFoldersResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetFoldersResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -232,13 +231,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -247,7 +246,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetGroupResponse.java b/src/main/java/com/formkiq/client/model/GetGroupResponse.java index 5a2aeaf42..7173ef4f5 100644 --- a/src/main/java/com/formkiq/client/model/GetGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetGroupResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Group; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetGroupResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetGroupResponse { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("group"); + openapiFields = new HashSet(Arrays.asList("group")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetGroupResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetGroupResponse is not found in the empty JSON string", GetGroupResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetGroupResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetGroupResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetGroupsResponse.java index e537cbe0d..77eae3457 100644 --- a/src/main/java/com/formkiq/client/model/GetGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetGroupsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Group; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetGroupsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetGroupsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("groups"); + openapiFields = new HashSet(Arrays.asList("next", "groups")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetGroupsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetGroupsResponse is not found in the empty JSON string", GetGroupsResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetGroupsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetGroupsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraygroups != null) { // ensure the json data is an array if (!jsonObj.get("groups").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `groups` to be an array in the JSON string but got `%s`", jsonObj.get("groups").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java index 133638f91..816ab9954 100644 --- a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ResourceItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetLocaleResourceItemResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetLocaleResourceItemResponse { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("resourceItem"); + openapiFields = new HashSet(Arrays.asList("resourceItem")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -150,7 +151,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetLocaleResourceItemResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetLocaleResourceItemResponse is not found in the empty JSON string", GetLocaleResourceItemResponse.openapiRequiredFields.toString())); } @@ -160,7 +161,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetLocaleResourceItemResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetLocaleResourceItemResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java index 7d8dc607b..ec83f4673 100644 --- a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ResourceItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetLocaleResourceItemsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetLocaleResourceItemsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -169,12 +171,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("resourceItems"); + openapiFields = new HashSet(Arrays.asList("next", "resourceItems")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -189,7 +189,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetLocaleResourceItemsResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetLocaleResourceItemsResponse is not found in the empty JSON string", GetLocaleResourceItemsResponse.openapiRequiredFields.toString())); } @@ -199,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetLocaleResourceItemsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetLocaleResourceItemsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -207,7 +207,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -216,7 +216,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayresourceItems != null) { // ensure the json data is an array if (!jsonObj.get("resourceItems").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `resourceItems` to be an array in the JSON string but got `%s`", jsonObj.get("resourceItems").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetLocalesResponse.java b/src/main/java/com/formkiq/client/model/GetLocalesResponse.java index 96001914a..73e5a0d8b 100644 --- a/src/main/java/com/formkiq/client/model/GetLocalesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocalesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -import com.formkiq.client.model.Locale; +import java.util.Locale; +import com.formkiq.client.model.LocaleInfo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetLocalesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetLocalesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -70,7 +72,7 @@ public class GetLocalesResponse { public static final String SERIALIZED_NAME_LOCALES = "locales"; @SerializedName(SERIALIZED_NAME_LOCALES) @javax.annotation.Nullable - private List locales = new ArrayList<>(); + private List locales = new ArrayList<>(); public GetLocalesResponse() {} @@ -94,12 +96,12 @@ public void setNext(@javax.annotation.Nullable String next) { } - public GetLocalesResponse locales(@javax.annotation.Nullable List locales) { + public GetLocalesResponse locales(@javax.annotation.Nullable List locales) { this.locales = locales; return this; } - public GetLocalesResponse addLocalesItem(Locale localesItem) { + public GetLocalesResponse addLocalesItem(LocaleInfo localesItem) { if (this.locales == null) { this.locales = new ArrayList<>(); } @@ -113,11 +115,11 @@ public GetLocalesResponse addLocalesItem(Locale localesItem) { * @return locales */ @javax.annotation.Nullable - public List getLocales() { + public List getLocales() { return locales; } - public void setLocales(@javax.annotation.Nullable List locales) { + public void setLocales(@javax.annotation.Nullable List locales) { this.locales = locales; } @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("locales"); + openapiFields = new HashSet(Arrays.asList("next", "locales")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetLocalesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetLocalesResponse is not found in the empty JSON string", GetLocalesResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetLocalesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetLocalesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,14 +212,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraylocales != null) { // ensure the json data is an array if (!jsonObj.get("locales").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `locales` to be an array in the JSON string but got `%s`", jsonObj.get("locales").toString())); } // validate the optional field `locales` (array) for (int i = 0; i < jsonArraylocales.size(); i++) { - Locale.validateJsonElement(jsonArraylocales.get(i)); + LocaleInfo.validateJsonElement(jsonArraylocales.get(i)); } ; } } diff --git a/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java b/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java new file mode 100644 index 000000000..4f0951d85 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java @@ -0,0 +1,281 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.MalwareScanResult; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetMalwareScanResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetMalwareScanResponse { + public static final String SERIALIZED_NAME_NEXT = "next"; + @SerializedName(SERIALIZED_NAME_NEXT) + @javax.annotation.Nullable + private String next; + + public static final String SERIALIZED_NAME_MALWARE_SCAN_RESULTS = "malwareScanResults"; + @SerializedName(SERIALIZED_NAME_MALWARE_SCAN_RESULTS) + @javax.annotation.Nullable + private List malwareScanResults = new ArrayList<>(); + + public GetMalwareScanResponse() {} + + public GetMalwareScanResponse next(@javax.annotation.Nullable String next) { + this.next = next; + return this; + } + + /** + * Next page of results token + * + * @return next + */ + @javax.annotation.Nullable + public String getNext() { + return next; + } + + public void setNext(@javax.annotation.Nullable String next) { + this.next = next; + } + + + public GetMalwareScanResponse malwareScanResults( + @javax.annotation.Nullable List malwareScanResults) { + this.malwareScanResults = malwareScanResults; + return this; + } + + public GetMalwareScanResponse addMalwareScanResultsItem( + MalwareScanResult malwareScanResultsItem) { + if (this.malwareScanResults == null) { + this.malwareScanResults = new ArrayList<>(); + } + this.malwareScanResults.add(malwareScanResultsItem); + return this; + } + + /** + * List of Malware Scan Results + * + * @return malwareScanResults + */ + @javax.annotation.Nullable + public List getMalwareScanResults() { + return malwareScanResults; + } + + public void setMalwareScanResults( + @javax.annotation.Nullable List malwareScanResults) { + this.malwareScanResults = malwareScanResults; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetMalwareScanResponse getMalwareScanResponse = (GetMalwareScanResponse) o; + return Objects.equals(this.next, getMalwareScanResponse.next) + && Objects.equals(this.malwareScanResults, getMalwareScanResponse.malwareScanResults); + } + + @Override + public int hashCode() { + return Objects.hash(next, malwareScanResults); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetMalwareScanResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" malwareScanResults: ").append(toIndentedString(malwareScanResults)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("next", "malwareScanResults")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetMalwareScanResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetMalwareScanResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetMalwareScanResponse is not found in the empty JSON string", + GetMalwareScanResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetMalwareScanResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetMalwareScanResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) + && !jsonObj.get("next").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `next` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("next").toString())); + } + if (jsonObj.get("malwareScanResults") != null + && !jsonObj.get("malwareScanResults").isJsonNull()) { + JsonArray jsonArraymalwareScanResults = jsonObj.getAsJsonArray("malwareScanResults"); + if (jsonArraymalwareScanResults != null) { + // ensure the json data is an array + if (!jsonObj.get("malwareScanResults").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `malwareScanResults` to be an array in the JSON string but got `%s`", + jsonObj.get("malwareScanResults").toString())); + } + + // validate the optional field `malwareScanResults` (array) + for (int i = 0; i < jsonArraymalwareScanResults.size(); i++) { + MalwareScanResult.validateJsonElement(jsonArraymalwareScanResults.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetMalwareScanResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetMalwareScanResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetMalwareScanResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetMalwareScanResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetMalwareScanResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetMalwareScanResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetMalwareScanResponse + * @throws IOException if the JSON string is invalid with respect to GetMalwareScanResponse + */ + public static GetMalwareScanResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetMalwareScanResponse.class); + } + + /** + * Convert an instance of GetMalwareScanResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetMappingResponse.java b/src/main/java/com/formkiq/client/model/GetMappingResponse.java index d36556d25..9dc380655 100644 --- a/src/main/java/com/formkiq/client/model/GetMappingResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMappingResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Mapping; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetMappingResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetMappingResponse { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("mapping"); + openapiFields = new HashSet(Arrays.asList("mapping")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetMappingResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetMappingResponse is not found in the empty JSON string", GetMappingResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetMappingResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetMappingResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetMappingsResponse.java b/src/main/java/com/formkiq/client/model/GetMappingsResponse.java index 1cf6f0d08..b44c88cbc 100644 --- a/src/main/java/com/formkiq/client/model/GetMappingsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMappingsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Mapping; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetMappingsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetMappingsResponse { public static final String SERIALIZED_NAME_MAPPINGS = "mappings"; @SerializedName(SERIALIZED_NAME_MAPPINGS) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("mappings"); - openapiFields.add("next"); + openapiFields = new HashSet(Arrays.asList("mappings", "next")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetMappingsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetMappingsResponse is not found in the empty JSON string", GetMappingsResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetMappingsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetMappingsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -206,7 +206,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymappings != null) { // ensure the json data is an array if (!jsonObj.get("mappings").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `mappings` to be an array in the JSON string but got `%s`", jsonObj.get("mappings").toString())); } @@ -219,7 +219,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java index 0825eeed6..1bd1474a8 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OpaPolicy; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetOpaAccessPoliciesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetOpaAccessPoliciesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("opaPolicies"); + openapiFields = new HashSet(Arrays.asList("next", "opaPolicies")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -187,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetOpaAccessPoliciesResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetOpaAccessPoliciesResponse is not found in the empty JSON string", GetOpaAccessPoliciesResponse.openapiRequiredFields.toString())); } @@ -197,7 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetOpaAccessPoliciesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetOpaAccessPoliciesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -205,7 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -214,7 +214,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayopaPolicies != null) { // ensure the json data is an array if (!jsonObj.get("opaPolicies").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `opaPolicies` to be an array in the JSON string but got `%s`", jsonObj.get("opaPolicies").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java index 5b5e1e6b1..821b2fc87 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OpaPolicyItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetOpaAccessPolicyItemsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetOpaAccessPolicyItemsResponse { public static final String SERIALIZED_NAME_POLICY_ITEMS = "policyItems"; @SerializedName(SERIALIZED_NAME_POLICY_ITEMS) @@ -142,11 +144,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("policyItems"); + openapiFields = new HashSet(Arrays.asList("policyItems")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -161,7 +162,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetOpaAccessPolicyItemsResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetOpaAccessPolicyItemsResponse is not found in the empty JSON string", GetOpaAccessPolicyItemsResponse.openapiRequiredFields.toString())); } @@ -171,7 +172,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetOpaAccessPolicyItemsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetOpaAccessPolicyItemsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -182,7 +183,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraypolicyItems != null) { // ensure the json data is an array if (!jsonObj.get("policyItems").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `policyItems` to be an array in the JSON string but got `%s`", jsonObj.get("policyItems").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java index 3614134d5..b927c7fb9 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * GetOpaAccessPolicyResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetOpaAccessPolicyResponse { public static final String SERIALIZED_NAME_OPA_POLICY = "opaPolicy"; @SerializedName(SERIALIZED_NAME_OPA_POLICY) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("opaPolicy"); + openapiFields = new HashSet(Arrays.asList("opaPolicy")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetOpaAccessPolicyResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetOpaAccessPolicyResponse is not found in the empty JSON string", GetOpaAccessPolicyResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetOpaAccessPolicyResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetOpaAccessPolicyResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("opaPolicy") != null && !jsonObj.get("opaPolicy").isJsonNull()) && !jsonObj.get("opaPolicy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `opaPolicy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("opaPolicy").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java index 1d8e9a41e..23f66f3ab 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -import com.formkiq.client.model.OpenSearchIndex; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchIndexSetting; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,18 +59,18 @@ * GetOpenSearchIndexResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetOpenSearchIndexResponse { public static final String SERIALIZED_NAME_INDEX_SETTINGS = "indexSettings"; @SerializedName(SERIALIZED_NAME_INDEX_SETTINGS) @javax.annotation.Nullable - private OpenSearchIndex indexSettings; + private OpenSearchIndexSetting indexSettings; public GetOpenSearchIndexResponse() {} public GetOpenSearchIndexResponse indexSettings( - @javax.annotation.Nullable OpenSearchIndex indexSettings) { + @javax.annotation.Nullable OpenSearchIndexSetting indexSettings) { this.indexSettings = indexSettings; return this; } @@ -79,11 +81,11 @@ public GetOpenSearchIndexResponse indexSettings( * @return indexSettings */ @javax.annotation.Nullable - public OpenSearchIndex getIndexSettings() { + public OpenSearchIndexSetting getIndexSettings() { return indexSettings; } - public void setIndexSettings(@javax.annotation.Nullable OpenSearchIndex indexSettings) { + public void setIndexSettings(@javax.annotation.Nullable OpenSearchIndexSetting indexSettings) { this.indexSettings = indexSettings; } @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("indexSettings"); + openapiFields = new HashSet(Arrays.asList("indexSettings")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetOpenSearchIndexResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetOpenSearchIndexResponse is not found in the empty JSON string", GetOpenSearchIndexResponse.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetOpenSearchIndexResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetOpenSearchIndexResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,7 +167,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `indexSettings` if (jsonObj.get("indexSettings") != null && !jsonObj.get("indexSettings").isJsonNull()) { - OpenSearchIndex.validateJsonElement(jsonObj.get("indexSettings")); + OpenSearchIndexSetting.validateJsonElement(jsonObj.get("indexSettings")); } } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java new file mode 100644 index 000000000..ba7bbd475 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java @@ -0,0 +1,245 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchIndex; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetOpenSearchIndiceResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetOpenSearchIndiceResponse { + public static final String SERIALIZED_NAME_INDICES = "indices"; + @SerializedName(SERIALIZED_NAME_INDICES) + @javax.annotation.Nullable + private List indices = new ArrayList<>(); + + public GetOpenSearchIndiceResponse() {} + + public GetOpenSearchIndiceResponse indices( + @javax.annotation.Nullable List indices) { + this.indices = indices; + return this; + } + + public GetOpenSearchIndiceResponse addIndicesItem(OpenSearchIndex indicesItem) { + if (this.indices == null) { + this.indices = new ArrayList<>(); + } + this.indices.add(indicesItem); + return this; + } + + /** + * OpenSearch Indices + * + * @return indices + */ + @javax.annotation.Nullable + public List getIndices() { + return indices; + } + + public void setIndices(@javax.annotation.Nullable List indices) { + this.indices = indices; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetOpenSearchIndiceResponse getOpenSearchIndiceResponse = (GetOpenSearchIndiceResponse) o; + return Objects.equals(this.indices, getOpenSearchIndiceResponse.indices); + } + + @Override + public int hashCode() { + return Objects.hash(indices); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetOpenSearchIndiceResponse {\n"); + sb.append(" indices: ").append(toIndentedString(indices)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("indices")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to GetOpenSearchIndiceResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetOpenSearchIndiceResponse.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetOpenSearchIndiceResponse is not found in the empty JSON string", + GetOpenSearchIndiceResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetOpenSearchIndiceResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetOpenSearchIndiceResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("indices") != null && !jsonObj.get("indices").isJsonNull()) { + JsonArray jsonArrayindices = jsonObj.getAsJsonArray("indices"); + if (jsonArrayindices != null) { + // ensure the json data is an array + if (!jsonObj.get("indices").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `indices` to be an array in the JSON string but got `%s`", + jsonObj.get("indices").toString())); + } + + // validate the optional field `indices` (array) + for (int i = 0; i < jsonArrayindices.size(); i++) { + OpenSearchIndex.validateJsonElement(jsonArrayindices.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetOpenSearchIndiceResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetOpenSearchIndiceResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetOpenSearchIndiceResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetOpenSearchIndiceResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetOpenSearchIndiceResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetOpenSearchIndiceResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetOpenSearchIndiceResponse + * @throws IOException if the JSON string is invalid with respect to GetOpenSearchIndiceResponse + */ + public static GetOpenSearchIndiceResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetOpenSearchIndiceResponse.class); + } + + /** + * Convert an instance of GetOpenSearchIndiceResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java new file mode 100644 index 000000000..95cb173f1 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java @@ -0,0 +1,258 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchS3Repository; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetOpenSearchSnapshotRepositoryResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetOpenSearchSnapshotRepositoryResponse { + public static final String SERIALIZED_NAME_S3_REPOSITORIES = "s3Repositories"; + @SerializedName(SERIALIZED_NAME_S3_REPOSITORIES) + @javax.annotation.Nullable + private List s3Repositories = new ArrayList<>(); + + public GetOpenSearchSnapshotRepositoryResponse() {} + + public GetOpenSearchSnapshotRepositoryResponse s3Repositories( + @javax.annotation.Nullable List s3Repositories) { + this.s3Repositories = s3Repositories; + return this; + } + + public GetOpenSearchSnapshotRepositoryResponse addS3RepositoriesItem( + OpenSearchS3Repository s3RepositoriesItem) { + if (this.s3Repositories == null) { + this.s3Repositories = new ArrayList<>(); + } + this.s3Repositories.add(s3RepositoriesItem); + return this; + } + + /** + * Get s3Repositories + * + * @return s3Repositories + */ + @javax.annotation.Nullable + public List getS3Repositories() { + return s3Repositories; + } + + public void setS3Repositories( + @javax.annotation.Nullable List s3Repositories) { + this.s3Repositories = s3Repositories; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositoryResponse = + (GetOpenSearchSnapshotRepositoryResponse) o; + return Objects.equals(this.s3Repositories, + getOpenSearchSnapshotRepositoryResponse.s3Repositories); + } + + @Override + public int hashCode() { + return Objects.hash(s3Repositories); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetOpenSearchSnapshotRepositoryResponse {\n"); + sb.append(" s3Repositories: ").append(toIndentedString(s3Repositories)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("s3Repositories")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to + * GetOpenSearchSnapshotRepositoryResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.isEmpty()) { // has + // required + // fields but + // JSON + // element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetOpenSearchSnapshotRepositoryResponse is not found in the empty JSON string", + GetOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetOpenSearchSnapshotRepositoryResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetOpenSearchSnapshotRepositoryResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("s3Repositories") != null && !jsonObj.get("s3Repositories").isJsonNull()) { + JsonArray jsonArrays3Repositories = jsonObj.getAsJsonArray("s3Repositories"); + if (jsonArrays3Repositories != null) { + // ensure the json data is an array + if (!jsonObj.get("s3Repositories").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `s3Repositories` to be an array in the JSON string but got `%s`", + jsonObj.get("s3Repositories").toString())); + } + + // validate the optional field `s3Repositories` (array) + for (int i = 0; i < jsonArrays3Repositories.size(); i++) { + OpenSearchS3Repository.validateJsonElement(jsonArrays3Repositories.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetOpenSearchSnapshotRepositoryResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetOpenSearchSnapshotRepositoryResponse' and its + // subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = gson + .getDelegateAdapter(this, TypeToken.get(GetOpenSearchSnapshotRepositoryResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetOpenSearchSnapshotRepositoryResponse value) + throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetOpenSearchSnapshotRepositoryResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetOpenSearchSnapshotRepositoryResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetOpenSearchSnapshotRepositoryResponse + * @throws IOException if the JSON string is invalid with respect to + * GetOpenSearchSnapshotRepositoryResponse + */ + public static GetOpenSearchSnapshotRepositoryResponse fromJson(String jsonString) + throws IOException { + return JSON.getGson().fromJson(jsonString, GetOpenSearchSnapshotRepositoryResponse.class); + } + + /** + * Convert an instance of GetOpenSearchSnapshotRepositoryResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java new file mode 100644 index 000000000..fb838c0c2 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java @@ -0,0 +1,247 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchSnapshot; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * GetOpenSearchSnapshotResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class GetOpenSearchSnapshotResponse { + public static final String SERIALIZED_NAME_SNAPSHOTS = "snapshots"; + @SerializedName(SERIALIZED_NAME_SNAPSHOTS) + @javax.annotation.Nullable + private List snapshots = new ArrayList<>(); + + public GetOpenSearchSnapshotResponse() {} + + public GetOpenSearchSnapshotResponse snapshots( + @javax.annotation.Nullable List snapshots) { + this.snapshots = snapshots; + return this; + } + + public GetOpenSearchSnapshotResponse addSnapshotsItem(OpenSearchSnapshot snapshotsItem) { + if (this.snapshots == null) { + this.snapshots = new ArrayList<>(); + } + this.snapshots.add(snapshotsItem); + return this; + } + + /** + * Get snapshots + * + * @return snapshots + */ + @javax.annotation.Nullable + public List getSnapshots() { + return snapshots; + } + + public void setSnapshots(@javax.annotation.Nullable List snapshots) { + this.snapshots = snapshots; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + GetOpenSearchSnapshotResponse getOpenSearchSnapshotResponse = (GetOpenSearchSnapshotResponse) o; + return Objects.equals(this.snapshots, getOpenSearchSnapshotResponse.snapshots); + } + + @Override + public int hashCode() { + return Objects.hash(snapshots); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class GetOpenSearchSnapshotResponse {\n"); + sb.append(" snapshots: ").append(toIndentedString(snapshots)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("snapshots")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to + * GetOpenSearchSnapshotResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetOpenSearchSnapshotResponse.openapiRequiredFields.isEmpty()) { // has required fields + // but JSON element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in GetOpenSearchSnapshotResponse is not found in the empty JSON string", + GetOpenSearchSnapshotResponse.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!GetOpenSearchSnapshotResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `GetOpenSearchSnapshotResponse` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (jsonObj.get("snapshots") != null && !jsonObj.get("snapshots").isJsonNull()) { + JsonArray jsonArraysnapshots = jsonObj.getAsJsonArray("snapshots"); + if (jsonArraysnapshots != null) { + // ensure the json data is an array + if (!jsonObj.get("snapshots").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `snapshots` to be an array in the JSON string but got `%s`", + jsonObj.get("snapshots").toString())); + } + + // validate the optional field `snapshots` (array) + for (int i = 0; i < jsonArraysnapshots.size(); i++) { + OpenSearchSnapshot.validateJsonElement(jsonArraysnapshots.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!GetOpenSearchSnapshotResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'GetOpenSearchSnapshotResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(GetOpenSearchSnapshotResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetOpenSearchSnapshotResponse value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public GetOpenSearchSnapshotResponse read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of GetOpenSearchSnapshotResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetOpenSearchSnapshotResponse + * @throws IOException if the JSON string is invalid with respect to GetOpenSearchSnapshotResponse + */ + public static GetOpenSearchSnapshotResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetOpenSearchSnapshotResponse.class); + } + + /** + * Convert an instance of GetOpenSearchSnapshotResponse to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetQueueResponse.java b/src/main/java/com/formkiq/client/model/GetQueueResponse.java index b857441ea..4d2f55971 100644 --- a/src/main/java/com/formkiq/client/model/GetQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/GetQueueResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * GetQueueResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetQueueResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); + openapiFields = new HashSet(Arrays.asList("name")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetQueueResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetQueueResponse is not found in the empty JSON string", GetQueueResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetQueueResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetQueueResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetQueuesResponse.java b/src/main/java/com/formkiq/client/model/GetQueuesResponse.java index d6c7fe4c9..bd59a5dae 100644 --- a/src/main/java/com/formkiq/client/model/GetQueuesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetQueuesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Queue; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetQueuesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetQueuesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("queues"); + openapiFields = new HashSet(Arrays.asList("next", "queues")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetQueuesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetQueuesResponse is not found in the empty JSON string", GetQueuesResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetQueuesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetQueuesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayqueues != null) { // ensure the json data is an array if (!jsonObj.get("queues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queues` to be an array in the JSON string but got `%s`", jsonObj.get("queues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRuleResponse.java b/src/main/java/com/formkiq/client/model/GetRuleResponse.java index a47e7649f..b591f202a 100644 --- a/src/main/java/com/formkiq/client/model/GetRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRuleResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Rule; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetRuleResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetRuleResponse { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("rule"); + openapiFields = new HashSet(Arrays.asList("rule")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRuleResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetRuleResponse is not found in the empty JSON string", GetRuleResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetRuleResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetRuleResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRulesResponse.java b/src/main/java/com/formkiq/client/model/GetRulesResponse.java index c0eb27fd9..99af9d4a2 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Rule; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetRulesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetRulesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("rules"); + openapiFields = new HashSet(Arrays.asList("next", "rules")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRulesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetRulesResponse is not found in the empty JSON string", GetRulesResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetRulesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetRulesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrules != null) { // ensure the json data is an array if (!jsonObj.get("rules").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `rules` to be an array in the JSON string but got `%s`", jsonObj.get("rules").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRulesetResponse.java b/src/main/java/com/formkiq/client/model/GetRulesetResponse.java index 9609bca30..fdfd71a10 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesetResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Ruleset; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetRulesetResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetRulesetResponse { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ruleset"); + openapiFields = new HashSet(Arrays.asList("ruleset")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRulesetResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetRulesetResponse is not found in the empty JSON string", GetRulesetResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetRulesetResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetRulesetResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java b/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java index 04686c7ed..762a47639 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Ruleset; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetRulesetsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetRulesetsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("rulesets"); + openapiFields = new HashSet(Arrays.asList("next", "rulesets")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetRulesetsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetRulesetsResponse is not found in the empty JSON string", GetRulesetsResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetRulesetsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetRulesetsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrulesets != null) { // ensure the json data is an array if (!jsonObj.get("rulesets").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `rulesets` to be an array in the JSON string but got `%s`", jsonObj.get("rulesets").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java b/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java index b738ceef5..04e4bf896 100644 --- a/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SiteGroup; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetSiteGroupResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetSiteGroupResponse { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("group"); + openapiFields = new HashSet(Arrays.asList("group")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSiteGroupResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetSiteGroupResponse is not found in the empty JSON string", GetSiteGroupResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetSiteGroupResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetSiteGroupResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java index 32f8f6f02..43baf01ae 100644 --- a/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * GetSiteGroupsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetSiteGroupsResponse { public static final String SERIALIZED_NAME_GROUP_NAMES = "groupNames"; @SerializedName(SERIALIZED_NAME_GROUP_NAMES) @@ -139,11 +141,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("groupNames"); + openapiFields = new HashSet(Arrays.asList("groupNames")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSiteGroupsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetSiteGroupsResponse is not found in the empty JSON string", GetSiteGroupsResponse.openapiRequiredFields.toString())); } @@ -166,7 +167,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetSiteGroupsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetSiteGroupsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -175,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("groupNames") != null && !jsonObj.get("groupNames").isJsonNull() && !jsonObj.get("groupNames").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `groupNames` to be an array in the JSON string but got `%s`", jsonObj.get("groupNames").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSitesResponse.java b/src/main/java/com/formkiq/client/model/GetSitesResponse.java index 8d13b6021..af9d44cc4 100644 --- a/src/main/java/com/formkiq/client/model/GetSitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSitesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Site; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,14 +61,19 @@ * GetSitesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetSitesResponse { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @javax.annotation.Nullable private String username; + public static final String SERIALIZED_NAME_ROLES = "roles"; + @SerializedName(SERIALIZED_NAME_ROLES) + @javax.annotation.Nullable + private List roles = new ArrayList<>(); + public static final String SERIALIZED_NAME_SITES = "sites"; @SerializedName(SERIALIZED_NAME_SITES) @javax.annotation.Nullable @@ -94,6 +101,34 @@ public void setUsername(@javax.annotation.Nullable String username) { } + public GetSitesResponse roles(@javax.annotation.Nullable List roles) { + this.roles = roles; + return this; + } + + public GetSitesResponse addRolesItem(String rolesItem) { + if (this.roles == null) { + this.roles = new ArrayList<>(); + } + this.roles.add(rolesItem); + return this; + } + + /** + * Get roles + * + * @return roles + */ + @javax.annotation.Nullable + public List getRoles() { + return roles; + } + + public void setRoles(@javax.annotation.Nullable List roles) { + this.roles = roles; + } + + public GetSitesResponse sites(@javax.annotation.Nullable List sites) { this.sites = sites; return this; @@ -133,12 +168,13 @@ public boolean equals(Object o) { } GetSitesResponse getSitesResponse = (GetSitesResponse) o; return Objects.equals(this.username, getSitesResponse.username) + && Objects.equals(this.roles, getSitesResponse.roles) && Objects.equals(this.sites, getSitesResponse.sites); } @Override public int hashCode() { - return Objects.hash(username, sites); + return Objects.hash(username, roles, sites); } @Override @@ -146,6 +182,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetSitesResponse {\n"); sb.append(" username: ").append(toIndentedString(username)).append("\n"); + sb.append(" roles: ").append(toIndentedString(roles)).append("\n"); sb.append(" sites: ").append(toIndentedString(sites)).append("\n"); sb.append("}"); return sb.toString(); @@ -167,12 +204,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("username"); - openapiFields.add("sites"); + openapiFields = new HashSet(Arrays.asList("username", "roles", "sites")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +220,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSitesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetSitesResponse is not found in the empty JSON string", GetSitesResponse.openapiRequiredFields.toString())); } @@ -195,7 +230,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetSitesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetSitesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,16 +238,23 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull()) && !jsonObj.get("username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("roles") != null && !jsonObj.get("roles").isJsonNull() + && !jsonObj.get("roles").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `roles` to be an array in the JSON string but got `%s`", + jsonObj.get("roles").toString())); + } if (jsonObj.get("sites") != null && !jsonObj.get("sites").isJsonNull()) { JsonArray jsonArraysites = jsonObj.getAsJsonArray("sites"); if (jsonArraysites != null) { // ensure the json data is an array if (!jsonObj.get("sites").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `sites` to be an array in the JSON string but got `%s`", jsonObj.get("sites").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java b/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java index 7e4e98f1e..2b6b4ea5a 100644 --- a/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SchemaAttributes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetSitesSchemaResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetSitesSchemaResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -157,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -175,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetSitesSchemaResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetSitesSchemaResponse is not found in the empty JSON string", GetSitesSchemaResponse.openapiRequiredFields.toString())); } @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetSitesSchemaResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetSitesSchemaResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -193,7 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java b/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java index d15c94411..62ea6deb1 100644 --- a/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UserActivity; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetUserActivitesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetUserActivitesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -109,7 +111,7 @@ public GetUserActivitesResponse addUserActivitiesItem(UserActivity userActivitie } /** - * List of user activities syncs + * List of user activities * * @return userActivities */ @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("userActivities"); + openapiFields = new HashSet(Arrays.asList("next", "userActivities")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserActivitesResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetUserActivitesResponse is not found in the empty JSON string", GetUserActivitesResponse.openapiRequiredFields.toString())); } @@ -196,7 +196,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetUserActivitesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetUserActivitesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayuserActivities != null) { // ensure the json data is an array if (!jsonObj.get("userActivities").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userActivities` to be an array in the JSON string but got `%s`", jsonObj.get("userActivities").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java index d4e5547aa..33973c6ce 100644 --- a/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Group; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetUserGroupsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetUserGroupsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("groups"); + openapiFields = new HashSet(Arrays.asList("next", "groups")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserGroupsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetUserGroupsResponse is not found in the empty JSON string", GetUserGroupsResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetUserGroupsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetUserGroupsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraygroups != null) { // ensure the json data is an array if (!jsonObj.get("groups").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `groups` to be an array in the JSON string but got `%s`", jsonObj.get("groups").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserResponse.java b/src/main/java/com/formkiq/client/model/GetUserResponse.java index 2f683298c..01aeebdfa 100644 --- a/src/main/java/com/formkiq/client/model/GetUserResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.User; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * GetUserResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetUserResponse { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("user"); + openapiFields = new HashSet(Arrays.asList("user")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetUserResponse is not found in the empty JSON string", GetUserResponse.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetUserResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetUserResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java b/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java index 595459347..3ee37a6e0 100644 --- a/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UserShare; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetUserSharesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetUserSharesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("shares"); + openapiFields = new HashSet(Arrays.asList("next", "shares")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUserSharesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetUserSharesResponse is not found in the empty JSON string", GetUserSharesResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetUserSharesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetUserSharesResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayshares != null) { // ensure the json data is an array if (!jsonObj.get("shares").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `shares` to be an array in the JSON string but got `%s`", jsonObj.get("shares").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java b/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java index 17ccd712a..da37e6e08 100644 --- a/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.User; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetUsersInGroupResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetUsersInGroupResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("users"); + openapiFields = new HashSet(Arrays.asList("next", "users")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUsersInGroupResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetUsersInGroupResponse is not found in the empty JSON string", GetUsersInGroupResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetUsersInGroupResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetUsersInGroupResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayusers != null) { // ensure the json data is an array if (!jsonObj.get("users").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `users` to be an array in the JSON string but got `%s`", jsonObj.get("users").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetUsersResponse.java b/src/main/java/com/formkiq/client/model/GetUsersResponse.java index bde8b96f8..309e1e805 100644 --- a/src/main/java/com/formkiq/client/model/GetUsersResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUsersResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.User; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetUsersResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetUsersResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +169,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("users"); + openapiFields = new HashSet(Arrays.asList("next", "users")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetUsersResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetUsersResponse is not found in the empty JSON string", GetUsersResponse.openapiRequiredFields.toString())); } @@ -195,7 +195,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetUsersResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetUsersResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -212,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayusers != null) { // ensure the json data is an array if (!jsonObj.get("users").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `users` to be an array in the JSON string but got `%s`", jsonObj.get("users").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetVersionResponse.java b/src/main/java/com/formkiq/client/model/GetVersionResponse.java index 13c95e3af..6c5fbaf6a 100644 --- a/src/main/java/com/formkiq/client/model/GetVersionResponse.java +++ b/src/main/java/com/formkiq/client/model/GetVersionResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * GetVersionResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetVersionResponse { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) @@ -220,14 +222,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("version"); - openapiFields.add("type"); - openapiFields.add("appEnvironment"); - openapiFields.add("modules"); + openapiFields = + new HashSet(Arrays.asList("version", "type", "appEnvironment", "modules")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -240,7 +239,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetVersionResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetVersionResponse is not found in the empty JSON string", GetVersionResponse.openapiRequiredFields.toString())); } @@ -250,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetVersionResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetVersionResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -258,26 +257,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("version") != null && !jsonObj.get("version").isJsonNull()) && !jsonObj.get("version").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `version` to be a primitive type in the JSON string but got `%s`", jsonObj.get("version").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } if ((jsonObj.get("appEnvironment") != null && !jsonObj.get("appEnvironment").isJsonNull()) && !jsonObj.get("appEnvironment").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `appEnvironment` to be a primitive type in the JSON string but got `%s`", jsonObj.get("appEnvironment").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("modules") != null && !jsonObj.get("modules").isJsonNull() && !jsonObj.get("modules").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `modules` to be an array in the JSON string but got `%s`", jsonObj.get("modules").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWebhookResponse.java b/src/main/java/com/formkiq/client/model/GetWebhookResponse.java index ad51f3e1f..f29465544 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhookResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhookResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * GetWebhookResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWebhookResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -318,18 +320,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("name"); - openapiFields.add("url"); - openapiFields.add("insertedDate"); - openapiFields.add("webhookId"); - openapiFields.add("userId"); - openapiFields.add("enabled"); - openapiFields.add("ttl"); + openapiFields = new HashSet(Arrays.asList("siteId", "name", "url", "insertedDate", + "webhookId", "userId", "enabled", "ttl")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -342,7 +337,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWebhookResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWebhookResponse is not found in the empty JSON string", GetWebhookResponse.openapiRequiredFields.toString())); } @@ -352,7 +347,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWebhookResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWebhookResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -360,49 +355,49 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("url") != null && !jsonObj.get("url").isJsonNull()) && !jsonObj.get("url").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("url").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("webhookId") != null && !jsonObj.get("webhookId").isJsonNull()) && !jsonObj.get("webhookId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("enabled") != null && !jsonObj.get("enabled").isJsonNull()) && !jsonObj.get("enabled").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `enabled` to be a primitive type in the JSON string but got `%s`", jsonObj.get("enabled").toString())); } if ((jsonObj.get("ttl") != null && !jsonObj.get("ttl").isJsonNull()) && !jsonObj.get("ttl").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ttl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ttl").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java b/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java index 78a15e3ae..e46183ac0 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WebhookTag; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetWebhookTagsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWebhookTagsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +196,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("previous"); - openapiFields.add("tags"); + openapiFields = new HashSet(Arrays.asList("next", "previous", "tags")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWebhookTagsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWebhookTagsResponse is not found in the empty JSON string", GetWebhookTagsResponse.openapiRequiredFields.toString())); } @@ -223,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWebhookTagsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWebhookTagsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +230,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -246,7 +245,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java b/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java index 08a538d99..c2c833f38 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.GetWebhookResponse; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetWebhooksResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWebhooksResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("webhooks"); + openapiFields = new HashSet(Arrays.asList("next", "webhooks")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWebhooksResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWebhooksResponse is not found in the empty JSON string", GetWebhooksResponse.openapiRequiredFields.toString())); } @@ -196,7 +196,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWebhooksResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWebhooksResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraywebhooks != null) { // ensure the json data is an array if (!jsonObj.get("webhooks").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `webhooks` to be an array in the JSON string but got `%s`", jsonObj.get("webhooks").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java index 8ad62888c..33a872e57 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Document; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetWorkflowDocumentsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWorkflowDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -187,7 +187,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetWorkflowDocumentsResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWorkflowDocumentsResponse is not found in the empty JSON string", GetWorkflowDocumentsResponse.openapiRequiredFields.toString())); } @@ -197,7 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWorkflowDocumentsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWorkflowDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -205,7 +205,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -214,7 +214,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java index 94983be5b..389398705 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowDocument; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetWorkflowQueueDocumentsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWorkflowQueueDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -169,12 +171,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("next", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -189,7 +189,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetWorkflowQueueDocumentsResponse.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWorkflowQueueDocumentsResponse is not found in the empty JSON string", GetWorkflowQueueDocumentsResponse.openapiRequiredFields.toString())); } @@ -199,7 +199,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWorkflowQueueDocumentsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWorkflowQueueDocumentsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -207,7 +207,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -216,7 +216,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java index ed3e06631..86ca87974 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowStatus; import com.formkiq.client.model.WorkflowStep; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * GetWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWorkflowResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -249,15 +251,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("inUse"); - openapiFields.add("status"); - openapiFields.add("steps"); + openapiFields = + new HashSet(Arrays.asList("name", "description", "inUse", "status", "steps")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -270,7 +268,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWorkflowResponse is not found in the empty JSON string", GetWorkflowResponse.openapiRequiredFields.toString())); } @@ -280,7 +278,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -288,13 +286,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -307,7 +305,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysteps != null) { // ensure the json data is an array if (!jsonObj.get("steps").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `steps` to be an array in the JSON string but got `%s`", jsonObj.get("steps").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java index 079a5fe4b..d6f3fbbe4 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowSummary; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * GetWorkflowsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GetWorkflowsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +170,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("workflows"); + openapiFields = new HashSet(Arrays.asList("next", "workflows")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetWorkflowsResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GetWorkflowsResponse is not found in the empty JSON string", GetWorkflowsResponse.openapiRequiredFields.toString())); } @@ -196,7 +196,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GetWorkflowsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetWorkflowsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -204,7 +204,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } @@ -213,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayworkflows != null) { // ensure the json data is an array if (!jsonObj.get("workflows").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflows` to be an array in the JSON string but got `%s`", jsonObj.get("workflows").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GoogleConfig.java b/src/main/java/com/formkiq/client/model/GoogleConfig.java index b064f54e0..4c620740a 100644 --- a/src/main/java/com/formkiq/client/model/GoogleConfig.java +++ b/src/main/java/com/formkiq/client/model/GoogleConfig.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * GoogleConfig */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class GoogleConfig { public static final String SERIALIZED_NAME_WORKLOAD_IDENTITY_AUDIENCE = "workloadIdentityAudience"; @@ -165,12 +167,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workloadIdentityAudience"); - openapiFields.add("workloadIdentityServiceAccount"); + openapiFields = new HashSet( + Arrays.asList("workloadIdentityAudience", "workloadIdentityServiceAccount")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -183,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GoogleConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in GoogleConfig is not found in the empty JSON string", GoogleConfig.openapiRequiredFields.toString())); } @@ -193,7 +194,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!GoogleConfig.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GoogleConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +203,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("workloadIdentityAudience") != null && !jsonObj.get("workloadIdentityAudience").isJsonNull()) && !jsonObj.get("workloadIdentityAudience").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workloadIdentityAudience` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workloadIdentityAudience").toString())); } if ((jsonObj.get("workloadIdentityServiceAccount") != null && !jsonObj.get("workloadIdentityServiceAccount").isJsonNull()) && !jsonObj.get("workloadIdentityServiceAccount").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workloadIdentityServiceAccount` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workloadIdentityServiceAccount").toString())); } diff --git a/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java b/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java index c0434a1ce..1ed85fafb 100644 --- a/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java +++ b/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/Group.java b/src/main/java/com/formkiq/client/model/Group.java index be78acb3c..2641b49b4 100644 --- a/src/main/java/com/formkiq/client/model/Group.java +++ b/src/main/java/com/formkiq/client/model/Group.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * Group */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Group { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -210,14 +212,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); + openapiFields = new HashSet( + Arrays.asList("name", "description", "insertedDate", "lastModifiedDate")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -229,9 +228,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Group.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Group is not found in the empty JSON string", - Group.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Group is not found in the empty JSON string", + Group.openapiRequiredFields.toString())); } } @@ -239,7 +238,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Group.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Group` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -247,25 +246,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java b/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java index a554628d0..1d76498e8 100644 --- a/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java +++ b/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * IndexFolderMoveRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class IndexFolderMoveRequest { public static final String SERIALIZED_NAME_SOURCE = "source"; @SerializedName(SERIALIZED_NAME_SOURCE) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("source"); - openapiFields.add("target"); + openapiFields = new HashSet(Arrays.asList("source", "target")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexFolderMoveRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in IndexFolderMoveRequest is not found in the empty JSON string", IndexFolderMoveRequest.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!IndexFolderMoveRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `IndexFolderMoveRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("source") != null && !jsonObj.get("source").isJsonNull()) && !jsonObj.get("source").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `source` to be a primitive type in the JSON string but got `%s`", jsonObj.get("source").toString())); } if ((jsonObj.get("target") != null && !jsonObj.get("target").isJsonNull()) && !jsonObj.get("target").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `target` to be a primitive type in the JSON string but got `%s`", jsonObj.get("target").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java b/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java index ccdb182bb..aa3cc5a5a 100644 --- a/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java +++ b/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * IndexFolderMoveResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class IndexFolderMoveResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexFolderMoveResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in IndexFolderMoveResponse is not found in the empty JSON string", IndexFolderMoveResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!IndexFolderMoveResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `IndexFolderMoveResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexSearch.java b/src/main/java/com/formkiq/client/model/IndexSearch.java index 7b9c5bd0c..c54ae9b2e 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearch.java +++ b/src/main/java/com/formkiq/client/model/IndexSearch.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * IndexSearch */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class IndexSearch { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("value"); + openapiFields = new HashSet(Arrays.asList("value")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexSearch.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in IndexSearch is not found in the empty JSON string", IndexSearch.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!IndexSearch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `IndexSearch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexSearchRequest.java b/src/main/java/com/formkiq/client/model/IndexSearchRequest.java index 6511bde78..9dad70a9b 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearchRequest.java +++ b/src/main/java/com/formkiq/client/model/IndexSearchRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * IndexSearchRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class IndexSearchRequest { public static final String SERIALIZED_NAME_INDEX_TYPE = "indexType"; @SerializedName(SERIALIZED_NAME_INDEX_TYPE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("indexType"); + openapiFields = new HashSet(Arrays.asList("indexType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexSearchRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in IndexSearchRequest is not found in the empty JSON string", IndexSearchRequest.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!IndexSearchRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `IndexSearchRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("indexType") != null && !jsonObj.get("indexType").isJsonNull()) && !jsonObj.get("indexType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `indexType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexType").toString())); } diff --git a/src/main/java/com/formkiq/client/model/IndexSearchResponse.java b/src/main/java/com/formkiq/client/model/IndexSearchResponse.java index 818fa3729..9ce8f7269 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearchResponse.java +++ b/src/main/java/com/formkiq/client/model/IndexSearchResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.IndexSearch; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * IndexSearchResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class IndexSearchResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +196,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("previous"); - openapiFields.add("values"); + openapiFields = new HashSet(Arrays.asList("next", "previous", "values")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!IndexSearchResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in IndexSearchResponse is not found in the empty JSON string", IndexSearchResponse.openapiRequiredFields.toString())); } @@ -223,7 +222,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!IndexSearchResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `IndexSearchResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -231,13 +230,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `next` to be a primitive type in the JSON string but got `%s`", jsonObj.get("next").toString())); } if ((jsonObj.get("previous") != null && !jsonObj.get("previous").isJsonNull()) && !jsonObj.get("previous").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `previous` to be a primitive type in the JSON string but got `%s`", jsonObj.get("previous").toString())); } @@ -246,7 +245,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayvalues != null) { // ensure the json data is an array if (!jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Locale.java b/src/main/java/com/formkiq/client/model/LocaleInfo.java similarity index 73% rename from src/main/java/com/formkiq/client/model/Locale.java rename to src/main/java/com/formkiq/client/model/LocaleInfo.java index d9d067fe0..8347e373d 100644 --- a/src/main/java/com/formkiq/client/model/Locale.java +++ b/src/main/java/com/formkiq/client/model/LocaleInfo.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,24 +50,25 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** - * Locale + * LocaleInfo */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") -public class Locale { + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class LocaleInfo { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @javax.annotation.Nullable private String locale; - public Locale() {} + public LocaleInfo() {} - public Locale locale(@javax.annotation.Nullable String locale) { + public LocaleInfo locale(@javax.annotation.Nullable String locale) { this.locale = locale; return this; } @@ -95,8 +97,8 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - Locale locale = (Locale) o; - return Objects.equals(this.locale, locale.locale); + LocaleInfo localeInfo = (LocaleInfo) o; + return Objects.equals(this.locale, localeInfo.locale); } @Override @@ -107,7 +109,7 @@ public int hashCode() { @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class Locale {\n"); + sb.append("class LocaleInfo {\n"); sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); sb.append("}"); return sb.toString(); @@ -129,41 +131,41 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("locale"); + openapiFields = new HashSet(Arrays.asList("locale")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element - * @throws IOException if the JSON Element is invalid with respect to Locale + * @throws IOException if the JSON Element is invalid with respect to LocaleInfo */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!Locale.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in Locale is not found in the empty JSON string", - Locale.openapiRequiredFields.toString())); + if (!LocaleInfo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is + // null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in LocaleInfo is not found in the empty JSON string", + LocaleInfo.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!Locale.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `Locale` properties. JSON: %s", + if (!LocaleInfo.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `LocaleInfo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locale").toString())); } @@ -173,22 +175,22 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!Locale.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'Locale' and its subtypes + if (!LocaleInfo.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'LocaleInfo' and its subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(Locale.class)); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(LocaleInfo.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, Locale value) throws IOException { + public void write(JsonWriter out, LocaleInfo value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public Locale read(JsonReader in) throws IOException { + public LocaleInfo read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -199,18 +201,18 @@ public Locale read(JsonReader in) throws IOException { } /** - * Create an instance of Locale given an JSON string + * Create an instance of LocaleInfo given an JSON string * * @param jsonString JSON string - * @return An instance of Locale - * @throws IOException if the JSON string is invalid with respect to Locale + * @return An instance of LocaleInfo + * @throws IOException if the JSON string is invalid with respect to LocaleInfo */ - public static Locale fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, Locale.class); + public static LocaleInfo fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, LocaleInfo.class); } /** - * Convert an instance of Locale to an JSON string + * Convert an instance of LocaleInfo to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/formkiq/client/model/LocaleResourceType.java b/src/main/java/com/formkiq/client/model/LocaleResourceType.java index 03220bf61..24f3c75c3 100644 --- a/src/main/java/com/formkiq/client/model/LocaleResourceType.java +++ b/src/main/java/com/formkiq/client/model/LocaleResourceType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java b/src/main/java/com/formkiq/client/model/MalwareEngine.java similarity index 75% rename from src/main/java/com/formkiq/client/model/OpaPolicyItemType.java rename to src/main/java/com/formkiq/client/model/MalwareEngine.java index afe6a019e..708c3dc7a 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java +++ b/src/main/java/com/formkiq/client/model/MalwareEngine.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -31,16 +33,16 @@ import com.google.gson.stream.JsonWriter; /** - * Type of Opa Policy Item + * Type of Malware Engine used */ -@JsonAdapter(OpaPolicyItemType.Adapter.class) -public enum OpaPolicyItemType { +@JsonAdapter(MalwareEngine.Adapter.class) +public enum MalwareEngine { - ALLOW("ALLOW"); + CLAM_AV("CLAM_AV"); private String value; - OpaPolicyItemType(String value) { + MalwareEngine(String value) { this.value = value; } @@ -53,8 +55,8 @@ public String toString() { return String.valueOf(value); } - public static OpaPolicyItemType fromValue(String value) { - for (OpaPolicyItemType b : OpaPolicyItemType.values()) { + public static MalwareEngine fromValue(String value) { + for (MalwareEngine b : MalwareEngine.values()) { if (b.value.equals(value)) { return b; } @@ -62,23 +64,23 @@ public static OpaPolicyItemType fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - public static class Adapter extends TypeAdapter { + public static class Adapter extends TypeAdapter { @Override - public void write(final JsonWriter jsonWriter, final OpaPolicyItemType enumeration) + public void write(final JsonWriter jsonWriter, final MalwareEngine enumeration) throws IOException { jsonWriter.value(enumeration.getValue()); } @Override - public OpaPolicyItemType read(final JsonReader jsonReader) throws IOException { + public MalwareEngine read(final JsonReader jsonReader) throws IOException { String value = jsonReader.nextString(); - return OpaPolicyItemType.fromValue(value); + return MalwareEngine.fromValue(value); } } public static void validateJsonElement(JsonElement jsonElement) throws IOException { String value = jsonElement.getAsString(); - OpaPolicyItemType.fromValue(value); + MalwareEngine.fromValue(value); } } diff --git a/src/main/java/com/formkiq/client/model/MalwareScanResult.java b/src/main/java/com/formkiq/client/model/MalwareScanResult.java new file mode 100644 index 000000000..4cb89109a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/MalwareScanResult.java @@ -0,0 +1,354 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.MalwareEngine; +import com.formkiq.client.model.MalwareScanStatus; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * MalwareScanResult + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class MalwareScanResult { + public static final String SERIALIZED_NAME_SCAN_STATUS = "scanStatus"; + @SerializedName(SERIALIZED_NAME_SCAN_STATUS) + @javax.annotation.Nullable + private MalwareScanStatus scanStatus; + + public static final String SERIALIZED_NAME_SCAN_ENGINE = "scanEngine"; + @SerializedName(SERIALIZED_NAME_SCAN_ENGINE) + @javax.annotation.Nullable + private MalwareEngine scanEngine; + + public static final String SERIALIZED_NAME_S3VERSION = "s3version"; + @SerializedName(SERIALIZED_NAME_S3VERSION) + @javax.annotation.Nullable + private String s3version; + + public static final String SERIALIZED_NAME_SCAN_MESSAGE = "scanMessage"; + @SerializedName(SERIALIZED_NAME_SCAN_MESSAGE) + @javax.annotation.Nullable + private String scanMessage; + + public static final String SERIALIZED_NAME_SCANNED_DATE = "scannedDate"; + @SerializedName(SERIALIZED_NAME_SCANNED_DATE) + @javax.annotation.Nullable + private String scannedDate; + + public MalwareScanResult() {} + + public MalwareScanResult scanStatus(@javax.annotation.Nullable MalwareScanStatus scanStatus) { + this.scanStatus = scanStatus; + return this; + } + + /** + * Get scanStatus + * + * @return scanStatus + */ + @javax.annotation.Nullable + public MalwareScanStatus getScanStatus() { + return scanStatus; + } + + public void setScanStatus(@javax.annotation.Nullable MalwareScanStatus scanStatus) { + this.scanStatus = scanStatus; + } + + + public MalwareScanResult scanEngine(@javax.annotation.Nullable MalwareEngine scanEngine) { + this.scanEngine = scanEngine; + return this; + } + + /** + * Get scanEngine + * + * @return scanEngine + */ + @javax.annotation.Nullable + public MalwareEngine getScanEngine() { + return scanEngine; + } + + public void setScanEngine(@javax.annotation.Nullable MalwareEngine scanEngine) { + this.scanEngine = scanEngine; + } + + + public MalwareScanResult s3version(@javax.annotation.Nullable String s3version) { + this.s3version = s3version; + return this; + } + + /** + * Document storage version + * + * @return s3version + */ + @javax.annotation.Nullable + public String getS3version() { + return s3version; + } + + public void setS3version(@javax.annotation.Nullable String s3version) { + this.s3version = s3version; + } + + + public MalwareScanResult scanMessage(@javax.annotation.Nullable String scanMessage) { + this.scanMessage = scanMessage; + return this; + } + + /** + * Document Malware scan message + * + * @return scanMessage + */ + @javax.annotation.Nullable + public String getScanMessage() { + return scanMessage; + } + + public void setScanMessage(@javax.annotation.Nullable String scanMessage) { + this.scanMessage = scanMessage; + } + + + public MalwareScanResult scannedDate(@javax.annotation.Nullable String scannedDate) { + this.scannedDate = scannedDate; + return this; + } + + /** + * Scanned Timestamp + * + * @return scannedDate + */ + @javax.annotation.Nullable + public String getScannedDate() { + return scannedDate; + } + + public void setScannedDate(@javax.annotation.Nullable String scannedDate) { + this.scannedDate = scannedDate; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + MalwareScanResult malwareScanResult = (MalwareScanResult) o; + return Objects.equals(this.scanStatus, malwareScanResult.scanStatus) + && Objects.equals(this.scanEngine, malwareScanResult.scanEngine) + && Objects.equals(this.s3version, malwareScanResult.s3version) + && Objects.equals(this.scanMessage, malwareScanResult.scanMessage) + && Objects.equals(this.scannedDate, malwareScanResult.scannedDate); + } + + @Override + public int hashCode() { + return Objects.hash(scanStatus, scanEngine, s3version, scanMessage, scannedDate); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class MalwareScanResult {\n"); + sb.append(" scanStatus: ").append(toIndentedString(scanStatus)).append("\n"); + sb.append(" scanEngine: ").append(toIndentedString(scanEngine)).append("\n"); + sb.append(" s3version: ").append(toIndentedString(s3version)).append("\n"); + sb.append(" scanMessage: ").append(toIndentedString(scanMessage)).append("\n"); + sb.append(" scannedDate: ").append(toIndentedString(scannedDate)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet( + Arrays.asList("scanStatus", "scanEngine", "s3version", "scanMessage", "scannedDate")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to MalwareScanResult + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!MalwareScanResult.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in MalwareScanResult is not found in the empty JSON string", + MalwareScanResult.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!MalwareScanResult.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `MalwareScanResult` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `scanStatus` + if (jsonObj.get("scanStatus") != null && !jsonObj.get("scanStatus").isJsonNull()) { + MalwareScanStatus.validateJsonElement(jsonObj.get("scanStatus")); + } + // validate the optional field `scanEngine` + if (jsonObj.get("scanEngine") != null && !jsonObj.get("scanEngine").isJsonNull()) { + MalwareEngine.validateJsonElement(jsonObj.get("scanEngine")); + } + if ((jsonObj.get("s3version") != null && !jsonObj.get("s3version").isJsonNull()) + && !jsonObj.get("s3version").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `s3version` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("s3version").toString())); + } + if ((jsonObj.get("scanMessage") != null && !jsonObj.get("scanMessage").isJsonNull()) + && !jsonObj.get("scanMessage").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `scanMessage` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("scanMessage").toString())); + } + if ((jsonObj.get("scannedDate") != null && !jsonObj.get("scannedDate").isJsonNull()) + && !jsonObj.get("scannedDate").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `scannedDate` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("scannedDate").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!MalwareScanResult.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'MalwareScanResult' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(MalwareScanResult.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, MalwareScanResult value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public MalwareScanResult read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of MalwareScanResult given an JSON string + * + * @param jsonString JSON string + * @return An instance of MalwareScanResult + * @throws IOException if the JSON string is invalid with respect to MalwareScanResult + */ + public static MalwareScanResult fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, MalwareScanResult.class); + } + + /** + * Convert an instance of MalwareScanResult to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/MalwareScanStatus.java b/src/main/java/com/formkiq/client/model/MalwareScanStatus.java new file mode 100644 index 000000000..ce72c35d0 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/MalwareScanStatus.java @@ -0,0 +1,90 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Document Malware scan result + */ +@JsonAdapter(MalwareScanStatus.Adapter.class) +public enum MalwareScanStatus { + + MALICIOUS("MALICIOUS"), + + ERROR("ERROR"), + + CLEAN("CLEAN"); + + private String value; + + MalwareScanStatus(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static MalwareScanStatus fromValue(String value) { + for (MalwareScanStatus b : MalwareScanStatus.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final MalwareScanStatus enumeration) + throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public MalwareScanStatus read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return MalwareScanStatus.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + MalwareScanStatus.fromValue(value); + } +} + diff --git a/src/main/java/com/formkiq/client/model/Mapping.java b/src/main/java/com/formkiq/client/model/Mapping.java index e1f263a0c..de1f5b6f4 100644 --- a/src/main/java/com/formkiq/client/model/Mapping.java +++ b/src/main/java/com/formkiq/client/model/Mapping.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.MappingAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Mapping */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Mapping { public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId"; @SerializedName(SERIALIZED_NAME_MAPPING_ID) @@ -221,14 +223,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("mappingId"); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("attributes"); + openapiFields = + new HashSet(Arrays.asList("mappingId", "name", "description", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -241,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Mapping.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in Mapping is not found in the empty JSON string", Mapping.openapiRequiredFields.toString())); } @@ -251,7 +250,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Mapping.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Mapping` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -259,19 +258,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("mappingId") != null && !jsonObj.get("mappingId").isJsonNull()) && !jsonObj.get("mappingId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `mappingId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("mappingId").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -280,7 +279,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/MappingAttribute.java b/src/main/java/com/formkiq/client/model/MappingAttribute.java index dfd0148db..59d354c16 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttribute.java +++ b/src/main/java/com/formkiq/client/model/MappingAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.MappingAttributeLabelMatchingType; import com.formkiq.client.model.MappingAttributeMetadataField; import com.formkiq.client.model.MappingAttributeSourceType; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * MappingAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class MappingAttribute { public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) @@ -345,18 +347,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attributeKey"); - openapiFields.add("sourceType"); - openapiFields.add("defaultValue"); - openapiFields.add("defaultValues"); - openapiFields.add("labelTexts"); - openapiFields.add("labelMatchingType"); - openapiFields.add("metadataField"); - openapiFields.add("validationRegex"); + openapiFields = new HashSet(Arrays.asList("attributeKey", "sourceType", "defaultValue", + "defaultValues", "labelTexts", "labelMatchingType", "metadataField", "validationRegex")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -369,7 +364,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!MappingAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in MappingAttribute is not found in the empty JSON string", MappingAttribute.openapiRequiredFields.toString())); } @@ -379,7 +374,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!MappingAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `MappingAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -387,7 +382,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } @@ -397,21 +392,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("defaultValue") != null && !jsonObj.get("defaultValue").isJsonNull()) && !jsonObj.get("defaultValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `defaultValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("defaultValue").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("defaultValues") != null && !jsonObj.get("defaultValues").isJsonNull() && !jsonObj.get("defaultValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `defaultValues` to be an array in the JSON string but got `%s`", jsonObj.get("defaultValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("labelTexts") != null && !jsonObj.get("labelTexts").isJsonNull() && !jsonObj.get("labelTexts").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `labelTexts` to be an array in the JSON string but got `%s`", jsonObj.get("labelTexts").toString())); } @@ -426,7 +421,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("validationRegex") != null && !jsonObj.get("validationRegex").isJsonNull()) && !jsonObj.get("validationRegex").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `validationRegex` to be a primitive type in the JSON string but got `%s`", jsonObj.get("validationRegex").toString())); } diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java b/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java index a9138df82..0c9d62d2d 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java b/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java index e0cc6563e..f54234878 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java b/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java index 483ffb5e9..c7064ed79 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; @@ -42,7 +44,11 @@ public enum MappingAttributeSourceType { METADATA("METADATA"), - MANUAL("MANUAL"); + MANUAL("MANUAL"), + + DATA_CLASSIFICATION("DATA_CLASSIFICATION"), + + MALWARE_SCAN("MALWARE_SCAN"); private String value; diff --git a/src/main/java/com/formkiq/client/model/MatchDocumentTag.java b/src/main/java/com/formkiq/client/model/MatchDocumentTag.java index e6d9e125a..a37965b3a 100644 --- a/src/main/java/com/formkiq/client/model/MatchDocumentTag.java +++ b/src/main/java/com/formkiq/client/model/MatchDocumentTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * Match Document Tag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class MatchDocumentTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -183,14 +185,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("beginsWith"); - openapiFields.add("eq"); + openapiFields = new HashSet(Arrays.asList("key", "beginsWith", "eq")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("key")); } /** @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!MatchDocumentTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in MatchDocumentTag is not found in the empty JSON string", MatchDocumentTag.openapiRequiredFields.toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!MatchDocumentTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `MatchDocumentTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,26 +220,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : MatchDocumentTag.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("beginsWith") != null && !jsonObj.get("beginsWith").isJsonNull()) && !jsonObj.get("beginsWith").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `beginsWith` to be a primitive type in the JSON string but got `%s`", jsonObj.get("beginsWith").toString())); } if ((jsonObj.get("eq") != null && !jsonObj.get("eq").isJsonNull()) && !jsonObj.get("eq").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `eq` to be a primitive type in the JSON string but got `%s`", jsonObj.get("eq").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ModelCase.java b/src/main/java/com/formkiq/client/model/ModelCase.java index 0f8f307be..40fed61d2 100644 --- a/src/main/java/com/formkiq/client/model/ModelCase.java +++ b/src/main/java/com/formkiq/client/model/ModelCase.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.CaseStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * ModelCase */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ModelCase { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -464,23 +466,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("caseId"); - openapiFields.add("caseNumber"); - openapiFields.add("documentNumber"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("insertedDate"); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("metadata"); - openapiFields.add("status"); - openapiFields.add("userId"); + openapiFields = new HashSet(Arrays.asList("caseId", "caseNumber", "documentNumber", + "plannedStartDate", "startDate", "endDate", "dueDate", "insertedDate", "name", + "description", "metadata", "status", "userId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -493,7 +484,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ModelCase.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ModelCase is not found in the empty JSON string", ModelCase.openapiRequiredFields.toString())); } @@ -503,7 +494,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ModelCase.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ModelCase` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -511,61 +502,61 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("caseId") != null && !jsonObj.get("caseId").isJsonNull()) && !jsonObj.get("caseId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `caseId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("caseId").toString())); } if ((jsonObj.get("caseNumber") != null && !jsonObj.get("caseNumber").isJsonNull()) && !jsonObj.get("caseNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `caseNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("caseNumber").toString())); } if ((jsonObj.get("documentNumber") != null && !jsonObj.get("documentNumber").isJsonNull()) && !jsonObj.get("documentNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentNumber").toString())); } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -575,7 +566,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Nigo.java b/src/main/java/com/formkiq/client/model/Nigo.java index b40a85806..50787403f 100644 --- a/src/main/java/com/formkiq/client/model/Nigo.java +++ b/src/main/java/com/formkiq/client/model/Nigo.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.NigoStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Nigo */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Nigo { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -409,21 +411,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("nigoId"); - openapiFields.add("insertedDate"); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("userId"); - openapiFields.add("status"); - openapiFields.add("metadata"); + openapiFields = + new HashSet(Arrays.asList("nigoId", "insertedDate", "name", "description", + "plannedStartDate", "startDate", "endDate", "dueDate", "userId", "status", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -435,9 +428,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Nigo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Nigo is not found in the empty JSON string", - Nigo.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Nigo is not found in the empty JSON string", + Nigo.openapiRequiredFields.toString())); } } @@ -445,7 +438,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Nigo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Nigo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -453,55 +446,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("nigoId") != null && !jsonObj.get("nigoId").isJsonNull()) && !jsonObj.get("nigoId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nigoId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nigoId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/NigoStatus.java b/src/main/java/com/formkiq/client/model/NigoStatus.java index 3ff914cbb..de6cc7d7e 100644 --- a/src/main/java/com/formkiq/client/model/NigoStatus.java +++ b/src/main/java/com/formkiq/client/model/NigoStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/OcrConfig.java b/src/main/java/com/formkiq/client/model/OcrConfig.java index 2bf1036e9..a16897f0b 100644 --- a/src/main/java/com/formkiq/client/model/OcrConfig.java +++ b/src/main/java/com/formkiq/client/model/OcrConfig.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * OcrConfig */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OcrConfig { public static final String SERIALIZED_NAME_MAX_PAGES_PER_TRANSACTION = "maxPagesPerTransaction"; @SerializedName(SERIALIZED_NAME_MAX_PAGES_PER_TRANSACTION) @@ -160,12 +162,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("maxPagesPerTransaction"); - openapiFields.add("maxTransactions"); + openapiFields = new HashSet(Arrays.asList("maxPagesPerTransaction", "maxTransactions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -178,7 +178,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OcrConfig is not found in the empty JSON string", OcrConfig.openapiRequiredFields.toString())); } @@ -188,7 +188,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OcrConfig.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OcrConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OcrEngine.java b/src/main/java/com/formkiq/client/model/OcrEngine.java index 89b38fbae..7f010bac6 100644 --- a/src/main/java/com/formkiq/client/model/OcrEngine.java +++ b/src/main/java/com/formkiq/client/model/OcrEngine.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/OcrKeyValues.java b/src/main/java/com/formkiq/client/model/OcrKeyValues.java index f417d4812..1f15ec850 100644 --- a/src/main/java/com/formkiq/client/model/OcrKeyValues.java +++ b/src/main/java/com/formkiq/client/model/OcrKeyValues.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * OcrKeyValues */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OcrKeyValues { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -166,12 +168,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("values"); + openapiFields = new HashSet(Arrays.asList("key", "values")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrKeyValues.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OcrKeyValues is not found in the empty JSON string", OcrKeyValues.openapiRequiredFields.toString())); } @@ -194,7 +194,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OcrKeyValues.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OcrKeyValues` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +202,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OcrOutputType.java b/src/main/java/com/formkiq/client/model/OcrOutputType.java index c557f392a..e552b5a9d 100644 --- a/src/main/java/com/formkiq/client/model/OcrOutputType.java +++ b/src/main/java/com/formkiq/client/model/OcrOutputType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/OcrTable.java b/src/main/java/com/formkiq/client/model/OcrTable.java index 256f7f360..9121e3611 100644 --- a/src/main/java/com/formkiq/client/model/OcrTable.java +++ b/src/main/java/com/formkiq/client/model/OcrTable.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OcrTableData; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * OcrTable */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OcrTable { public static final String SERIALIZED_NAME_HEADERS = "headers"; @SerializedName(SERIALIZED_NAME_HEADERS) @@ -175,12 +177,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("headers"); - openapiFields.add("data"); + openapiFields = new HashSet(Arrays.asList("headers", "data")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -193,7 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrTable.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OcrTable is not found in the empty JSON string", OcrTable.openapiRequiredFields.toString())); } @@ -203,7 +203,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OcrTable.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OcrTable` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -212,16 +212,16 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("headers") != null && !jsonObj.get("headers").isJsonNull() && !jsonObj.get("headers").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `headers` to be an array in the JSON string but got `%s`", jsonObj.get("headers").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("data") != null && !jsonObj.get("data").isJsonNull() && !jsonObj.get("data").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `data` to be an array in the JSON string but got `%s`", - jsonObj.get("data").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `data` to be an array in the JSON string but got `%s`", + jsonObj.get("data").toString())); } } diff --git a/src/main/java/com/formkiq/client/model/OcrTableData.java b/src/main/java/com/formkiq/client/model/OcrTableData.java index 458a2d65c..8fafd704b 100644 --- a/src/main/java/com/formkiq/client/model/OcrTableData.java +++ b/src/main/java/com/formkiq/client/model/OcrTableData.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * OcrTableData */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OcrTableData { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("value"); + openapiFields = new HashSet(Arrays.asList("value")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OcrTableData.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OcrTableData is not found in the empty JSON string", OcrTableData.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OcrTableData.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OcrTableData` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicy.java b/src/main/java/com/formkiq/client/model/OpaPolicy.java index fee414ecb..e74895e95 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicy.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicy.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * OpaPolicy */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicy { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("policy"); + openapiFields = new HashSet(Arrays.asList("siteId", "policy")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicy.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicy is not found in the empty JSON string", OpaPolicy.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicy.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicy` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("policy") != null && !jsonObj.get("policy").isJsonNull()) && !jsonObj.get("policy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `policy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("policy").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java index dd283fef4..a111f042a 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,12 +21,15 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OpaPolicyAttributeEq; import com.formkiq.client.model.OpaPolicyAttributeGt; import com.formkiq.client.model.OpaPolicyAttributeGte; +import com.formkiq.client.model.OpaPolicyAttributeIn; import com.formkiq.client.model.OpaPolicyAttributeLt; import com.formkiq.client.model.OpaPolicyAttributeLte; import com.formkiq.client.model.OpaPolicyAttributeNeq; +import com.formkiq.client.model.OpaPolicyAttributeNotIn; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -55,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +66,8 @@ * OpaPolicyAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -100,6 +104,16 @@ public class OpaPolicyAttribute { @javax.annotation.Nullable private OpaPolicyAttributeNeq neq; + public static final String SERIALIZED_NAME_IN = "in"; + @SerializedName(SERIALIZED_NAME_IN) + @javax.annotation.Nullable + private OpaPolicyAttributeIn in; + + public static final String SERIALIZED_NAME_NOT_IN = "notIn"; + @SerializedName(SERIALIZED_NAME_NOT_IN) + @javax.annotation.Nullable + private OpaPolicyAttributeNotIn notIn; + public OpaPolicyAttribute() {} public OpaPolicyAttribute key(@javax.annotation.Nullable String key) { @@ -242,6 +256,46 @@ public void setNeq(@javax.annotation.Nullable OpaPolicyAttributeNeq neq) { } + public OpaPolicyAttribute in(@javax.annotation.Nullable OpaPolicyAttributeIn in) { + this.in = in; + return this; + } + + /** + * Get in + * + * @return in + */ + @javax.annotation.Nullable + public OpaPolicyAttributeIn getIn() { + return in; + } + + public void setIn(@javax.annotation.Nullable OpaPolicyAttributeIn in) { + this.in = in; + } + + + public OpaPolicyAttribute notIn(@javax.annotation.Nullable OpaPolicyAttributeNotIn notIn) { + this.notIn = notIn; + return this; + } + + /** + * Get notIn + * + * @return notIn + */ + @javax.annotation.Nullable + public OpaPolicyAttributeNotIn getNotIn() { + return notIn; + } + + public void setNotIn(@javax.annotation.Nullable OpaPolicyAttributeNotIn notIn) { + this.notIn = notIn; + } + + @Override public boolean equals(Object o) { @@ -258,12 +312,14 @@ public boolean equals(Object o) { && Objects.equals(this.gte, opaPolicyAttribute.gte) && Objects.equals(this.lt, opaPolicyAttribute.lt) && Objects.equals(this.lte, opaPolicyAttribute.lte) - && Objects.equals(this.neq, opaPolicyAttribute.neq); + && Objects.equals(this.neq, opaPolicyAttribute.neq) + && Objects.equals(this.in, opaPolicyAttribute.in) + && Objects.equals(this.notIn, opaPolicyAttribute.notIn); } @Override public int hashCode() { - return Objects.hash(key, eq, gt, gte, lt, lte, neq); + return Objects.hash(key, eq, gt, gte, lt, lte, neq, in, notIn); } @Override @@ -277,6 +333,8 @@ public String toString() { sb.append(" lt: ").append(toIndentedString(lt)).append("\n"); sb.append(" lte: ").append(toIndentedString(lte)).append("\n"); sb.append(" neq: ").append(toIndentedString(neq)).append("\n"); + sb.append(" in: ").append(toIndentedString(in)).append("\n"); + sb.append(" notIn: ").append(toIndentedString(notIn)).append("\n"); sb.append("}"); return sb.toString(); } @@ -297,17 +355,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("eq"); - openapiFields.add("gt"); - openapiFields.add("gte"); - openapiFields.add("lt"); - openapiFields.add("lte"); - openapiFields.add("neq"); + openapiFields = new HashSet( + Arrays.asList("key", "eq", "gt", "gte", "lt", "lte", "neq", "in", "notIn")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -320,7 +372,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttribute is not found in the empty JSON string", OpaPolicyAttribute.openapiRequiredFields.toString())); } @@ -330,7 +382,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -338,7 +390,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } @@ -366,6 +418,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonObj.get("neq") != null && !jsonObj.get("neq").isJsonNull()) { OpaPolicyAttributeNeq.validateJsonElement(jsonObj.get("neq")); } + // validate the optional field `in` + if (jsonObj.get("in") != null && !jsonObj.get("in").isJsonNull()) { + OpaPolicyAttributeIn.validateJsonElement(jsonObj.get("in")); + } + // validate the optional field `notIn` + if (jsonObj.get("notIn") != null && !jsonObj.get("notIn").isJsonNull()) { + OpaPolicyAttributeNotIn.validateJsonElement(jsonObj.get("notIn")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java index 8896a52d0..2f065d1c1 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OpaPolicyAttributeInput; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Attribute EQ criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeEq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -212,14 +214,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stringValue"); - openapiFields.add("numberValue"); - openapiFields.add("booleanValue"); - openapiFields.add("input"); + openapiFields = + new HashSet(Arrays.asList("stringValue", "numberValue", "booleanValue", "input")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -232,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeEq.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeEq is not found in the empty JSON string", OpaPolicyAttributeEq.openapiRequiredFields.toString())); } @@ -242,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeEq.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeEq` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -250,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java index 22cc4a356..7d082ac8c 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Attribute greater than criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeGt { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("numberValue"); + openapiFields = new HashSet(Arrays.asList("numberValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeGt.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeGt is not found in the empty JSON string", OpaPolicyAttributeGt.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeGt.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeGt` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java index 94a41e3ff..d37ff4bbe 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Attribute greater than and equals to criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeGte { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("numberValue"); + openapiFields = new HashSet(Arrays.asList("numberValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeGte.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeGte is not found in the empty JSON string", OpaPolicyAttributeGte.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeGte.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeGte` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java new file mode 100644 index 000000000..5edb955ac --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java @@ -0,0 +1,234 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * Attribute In to criteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpaPolicyAttributeIn { + public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; + @SerializedName(SERIALIZED_NAME_STRING_VALUES) + @javax.annotation.Nullable + private List stringValues = new ArrayList<>(); + + public OpaPolicyAttributeIn() {} + + public OpaPolicyAttributeIn stringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + return this; + } + + public OpaPolicyAttributeIn addStringValuesItem(String stringValuesItem) { + if (this.stringValues == null) { + this.stringValues = new ArrayList<>(); + } + this.stringValues.add(stringValuesItem); + return this; + } + + /** + * The value to compare the Attribute Key value to + * + * @return stringValues + */ + @javax.annotation.Nullable + public List getStringValues() { + return stringValues; + } + + public void setStringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpaPolicyAttributeIn opaPolicyAttributeIn = (OpaPolicyAttributeIn) o; + return Objects.equals(this.stringValues, opaPolicyAttributeIn.stringValues); + } + + @Override + public int hashCode() { + return Objects.hash(stringValues); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpaPolicyAttributeIn {\n"); + sb.append(" stringValues: ").append(toIndentedString(stringValues)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("stringValues")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpaPolicyAttributeIn + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpaPolicyAttributeIn.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpaPolicyAttributeIn is not found in the empty JSON string", + OpaPolicyAttributeIn.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpaPolicyAttributeIn.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeIn` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() + && !jsonObj.get("stringValues").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `stringValues` to be an array in the JSON string but got `%s`", + jsonObj.get("stringValues").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpaPolicyAttributeIn.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpaPolicyAttributeIn' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpaPolicyAttributeIn.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpaPolicyAttributeIn value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpaPolicyAttributeIn read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpaPolicyAttributeIn given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpaPolicyAttributeIn + * @throws IOException if the JSON string is invalid with respect to OpaPolicyAttributeIn + */ + public static OpaPolicyAttributeIn fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpaPolicyAttributeIn.class); + } + + /** + * Convert an instance of OpaPolicyAttributeIn to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java index b5e720117..b97735225 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * OpaPolicyAttributeInput */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeInput { public static final String SERIALIZED_NAME_MATCH_USERNAME = "matchUsername"; @SerializedName(SERIALIZED_NAME_MATCH_USERNAME) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("matchUsername"); + openapiFields = new HashSet(Arrays.asList("matchUsername")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeInput.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeInput is not found in the empty JSON string", OpaPolicyAttributeInput.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeInput.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeInput` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java index a184057e8..77c50d023 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Attribute less than criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeLt { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("numberValue"); + openapiFields = new HashSet(Arrays.asList("numberValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeLt.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeLt is not found in the empty JSON string", OpaPolicyAttributeLt.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeLt.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeLt` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java index c50df6d3a..00c4abecf 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Attribute less than and equals to criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeLte { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("numberValue"); + openapiFields = new HashSet(Arrays.asList("numberValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeLte.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeLte is not found in the empty JSON string", OpaPolicyAttributeLte.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeLte.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeLte` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java index 06f9b187f..c2c9b3162 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * Attribute not equal to criteria */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyAttributeNeq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stringValue"); + openapiFields = new HashSet(Arrays.asList("stringValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyAttributeNeq.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyAttributeNeq is not found in the empty JSON string", OpaPolicyAttributeNeq.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyAttributeNeq.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeNeq` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stringValue") != null && !jsonObj.get("stringValue").isJsonNull()) && !jsonObj.get("stringValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stringValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java new file mode 100644 index 000000000..a22d62838 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java @@ -0,0 +1,235 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * Attribute Not In to criteria + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpaPolicyAttributeNotIn { + public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; + @SerializedName(SERIALIZED_NAME_STRING_VALUES) + @javax.annotation.Nullable + private List stringValues = new ArrayList<>(); + + public OpaPolicyAttributeNotIn() {} + + public OpaPolicyAttributeNotIn stringValues( + @javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + return this; + } + + public OpaPolicyAttributeNotIn addStringValuesItem(String stringValuesItem) { + if (this.stringValues == null) { + this.stringValues = new ArrayList<>(); + } + this.stringValues.add(stringValuesItem); + return this; + } + + /** + * The value to compare the Attribute Key value to + * + * @return stringValues + */ + @javax.annotation.Nullable + public List getStringValues() { + return stringValues; + } + + public void setStringValues(@javax.annotation.Nullable List stringValues) { + this.stringValues = stringValues; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpaPolicyAttributeNotIn opaPolicyAttributeNotIn = (OpaPolicyAttributeNotIn) o; + return Objects.equals(this.stringValues, opaPolicyAttributeNotIn.stringValues); + } + + @Override + public int hashCode() { + return Objects.hash(stringValues); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpaPolicyAttributeNotIn {\n"); + sb.append(" stringValues: ").append(toIndentedString(stringValues)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("stringValues")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpaPolicyAttributeNotIn + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpaPolicyAttributeNotIn.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpaPolicyAttributeNotIn is not found in the empty JSON string", + OpaPolicyAttributeNotIn.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpaPolicyAttributeNotIn.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpaPolicyAttributeNotIn` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() + && !jsonObj.get("stringValues").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `stringValues` to be an array in the JSON string but got `%s`", + jsonObj.get("stringValues").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpaPolicyAttributeNotIn.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpaPolicyAttributeNotIn' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpaPolicyAttributeNotIn.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpaPolicyAttributeNotIn value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpaPolicyAttributeNotIn read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpaPolicyAttributeNotIn given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpaPolicyAttributeNotIn + * @throws IOException if the JSON string is invalid with respect to OpaPolicyAttributeNotIn + */ + public static OpaPolicyAttributeNotIn fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpaPolicyAttributeNotIn.class); + } + + /** + * Convert an instance of OpaPolicyAttributeNotIn to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyInput.java b/src/main/java/com/formkiq/client/model/OpaPolicyInput.java new file mode 100644 index 000000000..ee13b3e6a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpaPolicyInput.java @@ -0,0 +1,254 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.OpaPolicyInputMethod; +import com.formkiq.client.model.OpaPolicyInputResource; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpaPolicyInput + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpaPolicyInput { + public static final String SERIALIZED_NAME_HTTP_METHOD = "httpMethod"; + @SerializedName(SERIALIZED_NAME_HTTP_METHOD) + @javax.annotation.Nullable + private OpaPolicyInputMethod httpMethod; + + public static final String SERIALIZED_NAME_RESOURCE = "resource"; + @SerializedName(SERIALIZED_NAME_RESOURCE) + @javax.annotation.Nullable + private OpaPolicyInputResource resource; + + public OpaPolicyInput() {} + + public OpaPolicyInput httpMethod(@javax.annotation.Nullable OpaPolicyInputMethod httpMethod) { + this.httpMethod = httpMethod; + return this; + } + + /** + * Get httpMethod + * + * @return httpMethod + */ + @javax.annotation.Nullable + public OpaPolicyInputMethod getHttpMethod() { + return httpMethod; + } + + public void setHttpMethod(@javax.annotation.Nullable OpaPolicyInputMethod httpMethod) { + this.httpMethod = httpMethod; + } + + + public OpaPolicyInput resource(@javax.annotation.Nullable OpaPolicyInputResource resource) { + this.resource = resource; + return this; + } + + /** + * Get resource + * + * @return resource + */ + @javax.annotation.Nullable + public OpaPolicyInputResource getResource() { + return resource; + } + + public void setResource(@javax.annotation.Nullable OpaPolicyInputResource resource) { + this.resource = resource; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpaPolicyInput opaPolicyInput = (OpaPolicyInput) o; + return Objects.equals(this.httpMethod, opaPolicyInput.httpMethod) + && Objects.equals(this.resource, opaPolicyInput.resource); + } + + @Override + public int hashCode() { + return Objects.hash(httpMethod, resource); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpaPolicyInput {\n"); + sb.append(" httpMethod: ").append(toIndentedString(httpMethod)).append("\n"); + sb.append(" resource: ").append(toIndentedString(resource)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("httpMethod", "resource")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpaPolicyInput + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpaPolicyInput.openapiRequiredFields.isEmpty()) { // has required fields but JSON element + // is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpaPolicyInput is not found in the empty JSON string", + OpaPolicyInput.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpaPolicyInput.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpaPolicyInput` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `httpMethod` + if (jsonObj.get("httpMethod") != null && !jsonObj.get("httpMethod").isJsonNull()) { + OpaPolicyInputMethod.validateJsonElement(jsonObj.get("httpMethod")); + } + // validate the optional field `resource` + if (jsonObj.get("resource") != null && !jsonObj.get("resource").isJsonNull()) { + OpaPolicyInputResource.validateJsonElement(jsonObj.get("resource")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpaPolicyInput.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpaPolicyInput' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpaPolicyInput.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpaPolicyInput value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpaPolicyInput read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpaPolicyInput given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpaPolicyInput + * @throws IOException if the JSON string is invalid with respect to OpaPolicyInput + */ + public static OpaPolicyInput fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpaPolicyInput.class); + } + + /** + * Convert an instance of OpaPolicyInput to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java b/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java new file mode 100644 index 000000000..78ad98619 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java @@ -0,0 +1,276 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpaPolicyInputMethod + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpaPolicyInputMethod { + public static final String SERIALIZED_NAME_IN = "in"; + @SerializedName(SERIALIZED_NAME_IN) + @javax.annotation.Nullable + private List in = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NOT_IN = "notIn"; + @SerializedName(SERIALIZED_NAME_NOT_IN) + @javax.annotation.Nullable + private List notIn = new ArrayList<>(); + + public OpaPolicyInputMethod() {} + + public OpaPolicyInputMethod in(@javax.annotation.Nullable List in) { + this.in = in; + return this; + } + + public OpaPolicyInputMethod addInItem(String inItem) { + if (this.in == null) { + this.in = new ArrayList<>(); + } + this.in.add(inItem); + return this; + } + + /** + * List of HTTP Methods + * + * @return in + */ + @javax.annotation.Nullable + public List getIn() { + return in; + } + + public void setIn(@javax.annotation.Nullable List in) { + this.in = in; + } + + + public OpaPolicyInputMethod notIn(@javax.annotation.Nullable List notIn) { + this.notIn = notIn; + return this; + } + + public OpaPolicyInputMethod addNotInItem(String notInItem) { + if (this.notIn == null) { + this.notIn = new ArrayList<>(); + } + this.notIn.add(notInItem); + return this; + } + + /** + * List of HTTP Methods + * + * @return notIn + */ + @javax.annotation.Nullable + public List getNotIn() { + return notIn; + } + + public void setNotIn(@javax.annotation.Nullable List notIn) { + this.notIn = notIn; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpaPolicyInputMethod opaPolicyInputMethod = (OpaPolicyInputMethod) o; + return Objects.equals(this.in, opaPolicyInputMethod.in) + && Objects.equals(this.notIn, opaPolicyInputMethod.notIn); + } + + @Override + public int hashCode() { + return Objects.hash(in, notIn); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpaPolicyInputMethod {\n"); + sb.append(" in: ").append(toIndentedString(in)).append("\n"); + sb.append(" notIn: ").append(toIndentedString(notIn)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("in", "notIn")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpaPolicyInputMethod + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpaPolicyInputMethod.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpaPolicyInputMethod is not found in the empty JSON string", + OpaPolicyInputMethod.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpaPolicyInputMethod.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpaPolicyInputMethod` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("in") != null && !jsonObj.get("in").isJsonNull() + && !jsonObj.get("in").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `in` to be an array in the JSON string but got `%s`", + jsonObj.get("in").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("notIn") != null && !jsonObj.get("notIn").isJsonNull() + && !jsonObj.get("notIn").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `notIn` to be an array in the JSON string but got `%s`", + jsonObj.get("notIn").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpaPolicyInputMethod.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpaPolicyInputMethod' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpaPolicyInputMethod.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpaPolicyInputMethod value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpaPolicyInputMethod read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpaPolicyInputMethod given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpaPolicyInputMethod + * @throws IOException if the JSON string is invalid with respect to OpaPolicyInputMethod + */ + public static OpaPolicyInputMethod fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpaPolicyInputMethod.class); + } + + /** + * Convert an instance of OpaPolicyInputMethod to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java b/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java new file mode 100644 index 000000000..784caf57b --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java @@ -0,0 +1,276 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpaPolicyInputResource + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpaPolicyInputResource { + public static final String SERIALIZED_NAME_IN = "in"; + @SerializedName(SERIALIZED_NAME_IN) + @javax.annotation.Nullable + private List in = new ArrayList<>(); + + public static final String SERIALIZED_NAME_NOT_IN = "notIn"; + @SerializedName(SERIALIZED_NAME_NOT_IN) + @javax.annotation.Nullable + private List notIn = new ArrayList<>(); + + public OpaPolicyInputResource() {} + + public OpaPolicyInputResource in(@javax.annotation.Nullable List in) { + this.in = in; + return this; + } + + public OpaPolicyInputResource addInItem(String inItem) { + if (this.in == null) { + this.in = new ArrayList<>(); + } + this.in.add(inItem); + return this; + } + + /** + * List of Resources + * + * @return in + */ + @javax.annotation.Nullable + public List getIn() { + return in; + } + + public void setIn(@javax.annotation.Nullable List in) { + this.in = in; + } + + + public OpaPolicyInputResource notIn(@javax.annotation.Nullable List notIn) { + this.notIn = notIn; + return this; + } + + public OpaPolicyInputResource addNotInItem(String notInItem) { + if (this.notIn == null) { + this.notIn = new ArrayList<>(); + } + this.notIn.add(notInItem); + return this; + } + + /** + * List of Resources + * + * @return notIn + */ + @javax.annotation.Nullable + public List getNotIn() { + return notIn; + } + + public void setNotIn(@javax.annotation.Nullable List notIn) { + this.notIn = notIn; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpaPolicyInputResource opaPolicyInputResource = (OpaPolicyInputResource) o; + return Objects.equals(this.in, opaPolicyInputResource.in) + && Objects.equals(this.notIn, opaPolicyInputResource.notIn); + } + + @Override + public int hashCode() { + return Objects.hash(in, notIn); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpaPolicyInputResource {\n"); + sb.append(" in: ").append(toIndentedString(in)).append("\n"); + sb.append(" notIn: ").append(toIndentedString(notIn)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("in", "notIn")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpaPolicyInputResource + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpaPolicyInputResource.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpaPolicyInputResource is not found in the empty JSON string", + OpaPolicyInputResource.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpaPolicyInputResource.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpaPolicyInputResource` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the optional json data is an array if present + if (jsonObj.get("in") != null && !jsonObj.get("in").isJsonNull() + && !jsonObj.get("in").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `in` to be an array in the JSON string but got `%s`", + jsonObj.get("in").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("notIn") != null && !jsonObj.get("notIn").isJsonNull() + && !jsonObj.get("notIn").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `notIn` to be an array in the JSON string but got `%s`", + jsonObj.get("notIn").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpaPolicyInputResource.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpaPolicyInputResource' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpaPolicyInputResource.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpaPolicyInputResource value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpaPolicyInputResource read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpaPolicyInputResource given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpaPolicyInputResource + * @throws IOException if the JSON string is invalid with respect to OpaPolicyInputResource + */ + public static OpaPolicyInputResource fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpaPolicyInputResource.class); + } + + /** + * Convert an instance of OpaPolicyInputResource to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyItem.java b/src/main/java/com/formkiq/client/model/OpaPolicyItem.java index b12e6fc14..cea078c5e 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyItem.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,8 +21,9 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OpaPolicyAttribute; -import com.formkiq.client.model.OpaPolicyItemType; +import com.formkiq.client.model.OpaPolicyInput; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,14 +62,9 @@ * OpaPolicyItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpaPolicyItem { - public static final String SERIALIZED_NAME_TYPE = "type"; - @SerializedName(SERIALIZED_NAME_TYPE) - @javax.annotation.Nullable - private OpaPolicyItemType type; - public static final String SERIALIZED_NAME_POLICY = "policy"; @SerializedName(SERIALIZED_NAME_POLICY) @javax.annotation.Nullable @@ -83,32 +80,22 @@ public class OpaPolicyItem { @javax.annotation.Nullable private List anyRoles = new ArrayList<>(); + public static final String SERIALIZED_NAME_EXCLUDED_ROLES = "excludedRoles"; + @SerializedName(SERIALIZED_NAME_EXCLUDED_ROLES) + @javax.annotation.Nullable + private List excludedRoles = new ArrayList<>(); + public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @javax.annotation.Nullable private List attributes = new ArrayList<>(); - public OpaPolicyItem() {} - - public OpaPolicyItem type(@javax.annotation.Nullable OpaPolicyItemType type) { - this.type = type; - return this; - } - - /** - * Get type - * - * @return type - */ + public static final String SERIALIZED_NAME_INPUT = "input"; + @SerializedName(SERIALIZED_NAME_INPUT) @javax.annotation.Nullable - public OpaPolicyItemType getType() { - return type; - } - - public void setType(@javax.annotation.Nullable OpaPolicyItemType type) { - this.type = type; - } + private OpaPolicyInput input; + public OpaPolicyItem() {} public OpaPolicyItem policy(@javax.annotation.Nullable String policy) { this.policy = policy; @@ -186,6 +173,34 @@ public void setAnyRoles(@javax.annotation.Nullable List anyRoles) { } + public OpaPolicyItem excludedRoles(@javax.annotation.Nullable List excludedRoles) { + this.excludedRoles = excludedRoles; + return this; + } + + public OpaPolicyItem addExcludedRolesItem(String excludedRolesItem) { + if (this.excludedRoles == null) { + this.excludedRoles = new ArrayList<>(); + } + this.excludedRoles.add(excludedRolesItem); + return this; + } + + /** + * User must NOT have these roles + * + * @return excludedRoles + */ + @javax.annotation.Nullable + public List getExcludedRoles() { + return excludedRoles; + } + + public void setExcludedRoles(@javax.annotation.Nullable List excludedRoles) { + this.excludedRoles = excludedRoles; + } + + public OpaPolicyItem attributes(@javax.annotation.Nullable List attributes) { this.attributes = attributes; return this; @@ -214,6 +229,26 @@ public void setAttributes(@javax.annotation.Nullable List at } + public OpaPolicyItem input(@javax.annotation.Nullable OpaPolicyInput input) { + this.input = input; + return this; + } + + /** + * Get input + * + * @return input + */ + @javax.annotation.Nullable + public OpaPolicyInput getInput() { + return input; + } + + public void setInput(@javax.annotation.Nullable OpaPolicyInput input) { + this.input = input; + } + + @Override public boolean equals(Object o) { @@ -224,27 +259,29 @@ public boolean equals(Object o) { return false; } OpaPolicyItem opaPolicyItem = (OpaPolicyItem) o; - return Objects.equals(this.type, opaPolicyItem.type) - && Objects.equals(this.policy, opaPolicyItem.policy) + return Objects.equals(this.policy, opaPolicyItem.policy) && Objects.equals(this.allRoles, opaPolicyItem.allRoles) && Objects.equals(this.anyRoles, opaPolicyItem.anyRoles) - && Objects.equals(this.attributes, opaPolicyItem.attributes); + && Objects.equals(this.excludedRoles, opaPolicyItem.excludedRoles) + && Objects.equals(this.attributes, opaPolicyItem.attributes) + && Objects.equals(this.input, opaPolicyItem.input); } @Override public int hashCode() { - return Objects.hash(type, policy, allRoles, anyRoles, attributes); + return Objects.hash(policy, allRoles, anyRoles, excludedRoles, attributes, input); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class OpaPolicyItem {\n"); - sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" policy: ").append(toIndentedString(policy)).append("\n"); sb.append(" allRoles: ").append(toIndentedString(allRoles)).append("\n"); sb.append(" anyRoles: ").append(toIndentedString(anyRoles)).append("\n"); + sb.append(" excludedRoles: ").append(toIndentedString(excludedRoles)).append("\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" input: ").append(toIndentedString(input)).append("\n"); sb.append("}"); return sb.toString(); } @@ -265,15 +302,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("policy"); - openapiFields.add("allRoles"); - openapiFields.add("anyRoles"); - openapiFields.add("attributes"); + openapiFields = new HashSet( + Arrays.asList("policy", "allRoles", "anyRoles", "excludedRoles", "attributes", "input")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -286,7 +319,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpaPolicyItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpaPolicyItem is not found in the empty JSON string", OpaPolicyItem.openapiRequiredFields.toString())); } @@ -296,42 +329,45 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpaPolicyItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpaPolicyItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - // validate the optional field `type` - if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) { - OpaPolicyItemType.validateJsonElement(jsonObj.get("type")); - } if ((jsonObj.get("policy") != null && !jsonObj.get("policy").isJsonNull()) && !jsonObj.get("policy").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `policy` to be a primitive type in the JSON string but got `%s`", jsonObj.get("policy").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("allRoles") != null && !jsonObj.get("allRoles").isJsonNull() && !jsonObj.get("allRoles").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allRoles` to be an array in the JSON string but got `%s`", jsonObj.get("allRoles").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("anyRoles") != null && !jsonObj.get("anyRoles").isJsonNull() && !jsonObj.get("anyRoles").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `anyRoles` to be an array in the JSON string but got `%s`", jsonObj.get("anyRoles").toString())); } + // ensure the optional json data is an array if present + if (jsonObj.get("excludedRoles") != null && !jsonObj.get("excludedRoles").isJsonNull() + && !jsonObj.get("excludedRoles").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `excludedRoles` to be an array in the JSON string but got `%s`", + jsonObj.get("excludedRoles").toString())); + } if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull()) { JsonArray jsonArrayattributes = jsonObj.getAsJsonArray("attributes"); if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } @@ -342,6 +378,10 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } ; } } + // validate the optional field `input` + if (jsonObj.get("input") != null && !jsonObj.get("input").isJsonNull()) { + OpaPolicyInput.validateJsonElement(jsonObj.get("input")); + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/OpenSearchAlias.java b/src/main/java/com/formkiq/client/model/OpenSearchAlias.java new file mode 100644 index 000000000..47934af86 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchAlias.java @@ -0,0 +1,223 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpenSearchAlias + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpenSearchAlias { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public OpenSearchAlias() {} + + public OpenSearchAlias name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Name of Alias + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpenSearchAlias openSearchAlias = (OpenSearchAlias) o; + return Objects.equals(this.name, openSearchAlias.name); + } + + @Override + public int hashCode() { + return Objects.hash(name); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpenSearchAlias {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("name")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpenSearchAlias + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpenSearchAlias.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpenSearchAlias is not found in the empty JSON string", + OpenSearchAlias.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpenSearchAlias.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpenSearchAlias` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) + && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `name` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpenSearchAlias.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpenSearchAlias' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchAlias.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpenSearchAlias value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpenSearchAlias read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpenSearchAlias given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpenSearchAlias + * @throws IOException if the JSON string is invalid with respect to OpenSearchAlias + */ + public static OpenSearchAlias fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchAlias.class); + } + + /** + * Convert an instance of OpenSearchAlias to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpenSearchIndex.java b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java index 90453898e..e0ae8c75d 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchIndex.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,13 +21,17 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchAlias; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -49,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +61,8 @@ * OpenSearchIndex */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class OpenSearchIndex { public static final String SERIALIZED_NAME_NUMBER_OF_REPLICAS = "numberOfReplicas"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_REPLICAS) @@ -69,6 +74,26 @@ public class OpenSearchIndex { @javax.annotation.Nullable private String numberOfShards; + public static final String SERIALIZED_NAME_DOCUMENT_COUNT = "documentCount"; + @SerializedName(SERIALIZED_NAME_DOCUMENT_COUNT) + @javax.annotation.Nullable + private String documentCount; + + public static final String SERIALIZED_NAME_STORE_SIZE = "storeSize"; + @SerializedName(SERIALIZED_NAME_STORE_SIZE) + @javax.annotation.Nullable + private String storeSize; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_ALIASES = "aliases"; + @SerializedName(SERIALIZED_NAME_ALIASES) + @javax.annotation.Nullable + private List aliases = new ArrayList<>(); + public OpenSearchIndex() {} public OpenSearchIndex numberOfReplicas(@javax.annotation.Nullable String numberOfReplicas) { @@ -111,6 +136,94 @@ public void setNumberOfShards(@javax.annotation.Nullable String numberOfShards) } + public OpenSearchIndex documentCount(@javax.annotation.Nullable String documentCount) { + this.documentCount = documentCount; + return this; + } + + /** + * The number of documents in index + * + * @return documentCount + */ + @javax.annotation.Nullable + public String getDocumentCount() { + return documentCount; + } + + public void setDocumentCount(@javax.annotation.Nullable String documentCount) { + this.documentCount = documentCount; + } + + + public OpenSearchIndex storeSize(@javax.annotation.Nullable String storeSize) { + this.storeSize = storeSize; + return this; + } + + /** + * The store size of the index + * + * @return storeSize + */ + @javax.annotation.Nullable + public String getStoreSize() { + return storeSize; + } + + public void setStoreSize(@javax.annotation.Nullable String storeSize) { + this.storeSize = storeSize; + } + + + public OpenSearchIndex name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Name of Index + * + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public OpenSearchIndex aliases(@javax.annotation.Nullable List aliases) { + this.aliases = aliases; + return this; + } + + public OpenSearchIndex addAliasesItem(OpenSearchAlias aliasesItem) { + if (this.aliases == null) { + this.aliases = new ArrayList<>(); + } + this.aliases.add(aliasesItem); + return this; + } + + /** + * Get aliases + * + * @return aliases + */ + @javax.annotation.Nullable + public List getAliases() { + return aliases; + } + + public void setAliases(@javax.annotation.Nullable List aliases) { + this.aliases = aliases; + } + + @Override public boolean equals(Object o) { @@ -122,12 +235,16 @@ public boolean equals(Object o) { } OpenSearchIndex openSearchIndex = (OpenSearchIndex) o; return Objects.equals(this.numberOfReplicas, openSearchIndex.numberOfReplicas) - && Objects.equals(this.numberOfShards, openSearchIndex.numberOfShards); + && Objects.equals(this.numberOfShards, openSearchIndex.numberOfShards) + && Objects.equals(this.documentCount, openSearchIndex.documentCount) + && Objects.equals(this.storeSize, openSearchIndex.storeSize) + && Objects.equals(this.name, openSearchIndex.name) + && Objects.equals(this.aliases, openSearchIndex.aliases); } @Override public int hashCode() { - return Objects.hash(numberOfReplicas, numberOfShards); + return Objects.hash(numberOfReplicas, numberOfShards, documentCount, storeSize, name, aliases); } @Override @@ -136,6 +253,10 @@ public String toString() { sb.append("class OpenSearchIndex {\n"); sb.append(" numberOfReplicas: ").append(toIndentedString(numberOfReplicas)).append("\n"); sb.append(" numberOfShards: ").append(toIndentedString(numberOfShards)).append("\n"); + sb.append(" documentCount: ").append(toIndentedString(documentCount)).append("\n"); + sb.append(" storeSize: ").append(toIndentedString(storeSize)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" aliases: ").append(toIndentedString(aliases)).append("\n"); sb.append("}"); return sb.toString(); } @@ -156,12 +277,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("numberOfReplicas"); - openapiFields.add("numberOfShards"); + openapiFields = new HashSet(Arrays.asList("numberOfReplicas", "numberOfShards", + "documentCount", "storeSize", "name", "aliases")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +294,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchIndex.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in OpenSearchIndex is not found in the empty JSON string", OpenSearchIndex.openapiRequiredFields.toString())); } @@ -184,7 +304,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!OpenSearchIndex.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `OpenSearchIndex` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,16 +312,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("numberOfReplicas") != null && !jsonObj.get("numberOfReplicas").isJsonNull()) && !jsonObj.get("numberOfReplicas").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberOfReplicas` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberOfReplicas").toString())); } if ((jsonObj.get("numberOfShards") != null && !jsonObj.get("numberOfShards").isJsonNull()) && !jsonObj.get("numberOfShards").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberOfShards` to be a primitive type in the JSON string but got `%s`", jsonObj.get("numberOfShards").toString())); } + if ((jsonObj.get("documentCount") != null && !jsonObj.get("documentCount").isJsonNull()) + && !jsonObj.get("documentCount").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `documentCount` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("documentCount").toString())); + } + if ((jsonObj.get("storeSize") != null && !jsonObj.get("storeSize").isJsonNull()) + && !jsonObj.get("storeSize").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `storeSize` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("storeSize").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) + && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `name` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("name").toString())); + } + if (jsonObj.get("aliases") != null && !jsonObj.get("aliases").isJsonNull()) { + JsonArray jsonArrayaliases = jsonObj.getAsJsonArray("aliases"); + if (jsonArrayaliases != null) { + // ensure the json data is an array + if (!jsonObj.get("aliases").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `aliases` to be an array in the JSON string but got `%s`", + jsonObj.get("aliases").toString())); + } + + // validate the optional field `aliases` (array) + for (int i = 0; i < jsonArrayaliases.size(); i++) { + OpenSearchAlias.validateJsonElement(jsonArrayaliases.get(i)); + } ; + } + } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java b/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java new file mode 100644 index 000000000..191251b6d --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java @@ -0,0 +1,257 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpenSearchIndexSetting + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpenSearchIndexSetting { + public static final String SERIALIZED_NAME_NUMBER_OF_REPLICAS = "numberOfReplicas"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_REPLICAS) + @javax.annotation.Nullable + private String numberOfReplicas; + + public static final String SERIALIZED_NAME_NUMBER_OF_SHARDS = "numberOfShards"; + @SerializedName(SERIALIZED_NAME_NUMBER_OF_SHARDS) + @javax.annotation.Nullable + private String numberOfShards; + + public OpenSearchIndexSetting() {} + + public OpenSearchIndexSetting numberOfReplicas( + @javax.annotation.Nullable String numberOfReplicas) { + this.numberOfReplicas = numberOfReplicas; + return this; + } + + /** + * The number of replicas per shard + * + * @return numberOfReplicas + */ + @javax.annotation.Nullable + public String getNumberOfReplicas() { + return numberOfReplicas; + } + + public void setNumberOfReplicas(@javax.annotation.Nullable String numberOfReplicas) { + this.numberOfReplicas = numberOfReplicas; + } + + + public OpenSearchIndexSetting numberOfShards(@javax.annotation.Nullable String numberOfShards) { + this.numberOfShards = numberOfShards; + return this; + } + + /** + * The number of shards in index + * + * @return numberOfShards + */ + @javax.annotation.Nullable + public String getNumberOfShards() { + return numberOfShards; + } + + public void setNumberOfShards(@javax.annotation.Nullable String numberOfShards) { + this.numberOfShards = numberOfShards; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpenSearchIndexSetting openSearchIndexSetting = (OpenSearchIndexSetting) o; + return Objects.equals(this.numberOfReplicas, openSearchIndexSetting.numberOfReplicas) + && Objects.equals(this.numberOfShards, openSearchIndexSetting.numberOfShards); + } + + @Override + public int hashCode() { + return Objects.hash(numberOfReplicas, numberOfShards); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpenSearchIndexSetting {\n"); + sb.append(" numberOfReplicas: ").append(toIndentedString(numberOfReplicas)).append("\n"); + sb.append(" numberOfShards: ").append(toIndentedString(numberOfShards)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("numberOfReplicas", "numberOfShards")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpenSearchIndexSetting + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpenSearchIndexSetting.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpenSearchIndexSetting is not found in the empty JSON string", + OpenSearchIndexSetting.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpenSearchIndexSetting.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpenSearchIndexSetting` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("numberOfReplicas") != null && !jsonObj.get("numberOfReplicas").isJsonNull()) + && !jsonObj.get("numberOfReplicas").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `numberOfReplicas` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("numberOfReplicas").toString())); + } + if ((jsonObj.get("numberOfShards") != null && !jsonObj.get("numberOfShards").isJsonNull()) + && !jsonObj.get("numberOfShards").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `numberOfShards` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("numberOfShards").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpenSearchIndexSetting.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpenSearchIndexSetting' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchIndexSetting.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpenSearchIndexSetting value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpenSearchIndexSetting read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpenSearchIndexSetting given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpenSearchIndexSetting + * @throws IOException if the JSON string is invalid with respect to OpenSearchIndexSetting + */ + public static OpenSearchIndexSetting fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchIndexSetting.class); + } + + /** + * Convert an instance of OpenSearchIndexSetting to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java b/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java new file mode 100644 index 000000000..daae72df1 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java @@ -0,0 +1,256 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpenSearchS3Repository + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpenSearchS3Repository { + public static final String SERIALIZED_NAME_REPOSITORY = "repository"; + @SerializedName(SERIALIZED_NAME_REPOSITORY) + @javax.annotation.Nullable + private String repository; + + public static final String SERIALIZED_NAME_BUCKET = "bucket"; + @SerializedName(SERIALIZED_NAME_BUCKET) + @javax.annotation.Nullable + private String bucket; + + public OpenSearchS3Repository() {} + + public OpenSearchS3Repository repository(@javax.annotation.Nullable String repository) { + this.repository = repository; + return this; + } + + /** + * Name of the Repository + * + * @return repository + */ + @javax.annotation.Nullable + public String getRepository() { + return repository; + } + + public void setRepository(@javax.annotation.Nullable String repository) { + this.repository = repository; + } + + + public OpenSearchS3Repository bucket(@javax.annotation.Nullable String bucket) { + this.bucket = bucket; + return this; + } + + /** + * Name of the S3 bucket + * + * @return bucket + */ + @javax.annotation.Nullable + public String getBucket() { + return bucket; + } + + public void setBucket(@javax.annotation.Nullable String bucket) { + this.bucket = bucket; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpenSearchS3Repository openSearchS3Repository = (OpenSearchS3Repository) o; + return Objects.equals(this.repository, openSearchS3Repository.repository) + && Objects.equals(this.bucket, openSearchS3Repository.bucket); + } + + @Override + public int hashCode() { + return Objects.hash(repository, bucket); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpenSearchS3Repository {\n"); + sb.append(" repository: ").append(toIndentedString(repository)).append("\n"); + sb.append(" bucket: ").append(toIndentedString(bucket)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("repository", "bucket")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpenSearchS3Repository + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpenSearchS3Repository.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpenSearchS3Repository is not found in the empty JSON string", + OpenSearchS3Repository.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpenSearchS3Repository.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpenSearchS3Repository` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("repository") != null && !jsonObj.get("repository").isJsonNull()) + && !jsonObj.get("repository").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `repository` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("repository").toString())); + } + if ((jsonObj.get("bucket") != null && !jsonObj.get("bucket").isJsonNull()) + && !jsonObj.get("bucket").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `bucket` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("bucket").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpenSearchS3Repository.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpenSearchS3Repository' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchS3Repository.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpenSearchS3Repository value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpenSearchS3Repository read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpenSearchS3Repository given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpenSearchS3Repository + * @throws IOException if the JSON string is invalid with respect to OpenSearchS3Repository + */ + public static OpenSearchS3Repository fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchS3Repository.class); + } + + /** + * Convert an instance of OpenSearchS3Repository to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java new file mode 100644 index 000000000..e7bb9c875 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java @@ -0,0 +1,604 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchSnapshotFailure; +import com.formkiq.client.model.OpenSearchSnapshotShard; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpenSearchSnapshot + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpenSearchSnapshot { + public static final String SERIALIZED_NAME_SNAPSHOT = "snapshot"; + @SerializedName(SERIALIZED_NAME_SNAPSHOT) + @javax.annotation.Nullable + private String snapshot; + + public static final String SERIALIZED_NAME_UUID = "uuid"; + @SerializedName(SERIALIZED_NAME_UUID) + @javax.annotation.Nullable + private String uuid; + + public static final String SERIALIZED_NAME_VERSION = "version"; + @SerializedName(SERIALIZED_NAME_VERSION) + @javax.annotation.Nullable + private String version; + + public static final String SERIALIZED_NAME_INDICES = "indices"; + @SerializedName(SERIALIZED_NAME_INDICES) + @javax.annotation.Nullable + private List indices = new ArrayList<>(); + + public static final String SERIALIZED_NAME_SHARDS = "shards"; + @SerializedName(SERIALIZED_NAME_SHARDS) + @javax.annotation.Nullable + private OpenSearchSnapshotShard shards; + + public static final String SERIALIZED_NAME_FAILURES = "failures"; + @SerializedName(SERIALIZED_NAME_FAILURES) + @javax.annotation.Nullable + private List failures = new ArrayList<>(); + + public static final String SERIALIZED_NAME_STATE = "state"; + @SerializedName(SERIALIZED_NAME_STATE) + @javax.annotation.Nullable + private String state; + + public static final String SERIALIZED_NAME_START_TIME = "start_time"; + @SerializedName(SERIALIZED_NAME_START_TIME) + @javax.annotation.Nullable + private String startTime; + + public static final String SERIALIZED_NAME_START_TIME_IN_MILLIS = "start_time_in_millis"; + @SerializedName(SERIALIZED_NAME_START_TIME_IN_MILLIS) + @javax.annotation.Nullable + private BigDecimal startTimeInMillis; + + public static final String SERIALIZED_NAME_END_TIME = "end_time"; + @SerializedName(SERIALIZED_NAME_END_TIME) + @javax.annotation.Nullable + private String endTime; + + public static final String SERIALIZED_NAME_END_TIME_IN_MILLIS = "end_time_in_millis"; + @SerializedName(SERIALIZED_NAME_END_TIME_IN_MILLIS) + @javax.annotation.Nullable + private BigDecimal endTimeInMillis; + + public static final String SERIALIZED_NAME_DURATION_IN_MILLIS = "duration_in_millis"; + @SerializedName(SERIALIZED_NAME_DURATION_IN_MILLIS) + @javax.annotation.Nullable + private BigDecimal durationInMillis; + + public OpenSearchSnapshot() {} + + public OpenSearchSnapshot snapshot(@javax.annotation.Nullable String snapshot) { + this.snapshot = snapshot; + return this; + } + + /** + * Snapshot name + * + * @return snapshot + */ + @javax.annotation.Nullable + public String getSnapshot() { + return snapshot; + } + + public void setSnapshot(@javax.annotation.Nullable String snapshot) { + this.snapshot = snapshot; + } + + + public OpenSearchSnapshot uuid(@javax.annotation.Nullable String uuid) { + this.uuid = uuid; + return this; + } + + /** + * Snapshot’s universally unique identifier (UUID) + * + * @return uuid + */ + @javax.annotation.Nullable + public String getUuid() { + return uuid; + } + + public void setUuid(@javax.annotation.Nullable String uuid) { + this.uuid = uuid; + } + + + public OpenSearchSnapshot version(@javax.annotation.Nullable String version) { + this.version = version; + return this; + } + + /** + * Open Search version that created the snapshot + * + * @return version + */ + @javax.annotation.Nullable + public String getVersion() { + return version; + } + + public void setVersion(@javax.annotation.Nullable String version) { + this.version = version; + } + + + public OpenSearchSnapshot indices(@javax.annotation.Nullable List indices) { + this.indices = indices; + return this; + } + + public OpenSearchSnapshot addIndicesItem(String indicesItem) { + if (this.indices == null) { + this.indices = new ArrayList<>(); + } + this.indices.add(indicesItem); + return this; + } + + /** + * Indices in the snapshot + * + * @return indices + */ + @javax.annotation.Nullable + public List getIndices() { + return indices; + } + + public void setIndices(@javax.annotation.Nullable List indices) { + this.indices = indices; + } + + + public OpenSearchSnapshot shards(@javax.annotation.Nullable OpenSearchSnapshotShard shards) { + this.shards = shards; + return this; + } + + /** + * Get shards + * + * @return shards + */ + @javax.annotation.Nullable + public OpenSearchSnapshotShard getShards() { + return shards; + } + + public void setShards(@javax.annotation.Nullable OpenSearchSnapshotShard shards) { + this.shards = shards; + } + + + public OpenSearchSnapshot failures( + @javax.annotation.Nullable List failures) { + this.failures = failures; + return this; + } + + public OpenSearchSnapshot addFailuresItem(OpenSearchSnapshotFailure failuresItem) { + if (this.failures == null) { + this.failures = new ArrayList<>(); + } + this.failures.add(failuresItem); + return this; + } + + /** + * Get failures + * + * @return failures + */ + @javax.annotation.Nullable + public List getFailures() { + return failures; + } + + public void setFailures(@javax.annotation.Nullable List failures) { + this.failures = failures; + } + + + public OpenSearchSnapshot state(@javax.annotation.Nullable String state) { + this.state = state; + return this; + } + + /** + * Snapshot status. Possible values: IN_PROGRESS, SUCCESS, FAILED, PARTIAL + * + * @return state + */ + @javax.annotation.Nullable + public String getState() { + return state; + } + + public void setState(@javax.annotation.Nullable String state) { + this.state = state; + } + + + public OpenSearchSnapshot startTime(@javax.annotation.Nullable String startTime) { + this.startTime = startTime; + return this; + } + + /** + * Date/time when the snapshot creation process began + * + * @return startTime + */ + @javax.annotation.Nullable + public String getStartTime() { + return startTime; + } + + public void setStartTime(@javax.annotation.Nullable String startTime) { + this.startTime = startTime; + } + + + public OpenSearchSnapshot startTimeInMillis( + @javax.annotation.Nullable BigDecimal startTimeInMillis) { + this.startTimeInMillis = startTimeInMillis; + return this; + } + + /** + * Time (in milliseconds) when the snapshot creation process began + * + * @return startTimeInMillis + */ + @javax.annotation.Nullable + public BigDecimal getStartTimeInMillis() { + return startTimeInMillis; + } + + public void setStartTimeInMillis(@javax.annotation.Nullable BigDecimal startTimeInMillis) { + this.startTimeInMillis = startTimeInMillis; + } + + + public OpenSearchSnapshot endTime(@javax.annotation.Nullable String endTime) { + this.endTime = endTime; + return this; + } + + /** + * Date/time when the snapshot creation process ended + * + * @return endTime + */ + @javax.annotation.Nullable + public String getEndTime() { + return endTime; + } + + public void setEndTime(@javax.annotation.Nullable String endTime) { + this.endTime = endTime; + } + + + public OpenSearchSnapshot endTimeInMillis(@javax.annotation.Nullable BigDecimal endTimeInMillis) { + this.endTimeInMillis = endTimeInMillis; + return this; + } + + /** + * Time (in milliseconds) when the snapshot creation process ended + * + * @return endTimeInMillis + */ + @javax.annotation.Nullable + public BigDecimal getEndTimeInMillis() { + return endTimeInMillis; + } + + public void setEndTimeInMillis(@javax.annotation.Nullable BigDecimal endTimeInMillis) { + this.endTimeInMillis = endTimeInMillis; + } + + + public OpenSearchSnapshot durationInMillis( + @javax.annotation.Nullable BigDecimal durationInMillis) { + this.durationInMillis = durationInMillis; + return this; + } + + /** + * Total time (in milliseconds) that the snapshot creation process lasted + * + * @return durationInMillis + */ + @javax.annotation.Nullable + public BigDecimal getDurationInMillis() { + return durationInMillis; + } + + public void setDurationInMillis(@javax.annotation.Nullable BigDecimal durationInMillis) { + this.durationInMillis = durationInMillis; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpenSearchSnapshot openSearchSnapshot = (OpenSearchSnapshot) o; + return Objects.equals(this.snapshot, openSearchSnapshot.snapshot) + && Objects.equals(this.uuid, openSearchSnapshot.uuid) + && Objects.equals(this.version, openSearchSnapshot.version) + && Objects.equals(this.indices, openSearchSnapshot.indices) + && Objects.equals(this.shards, openSearchSnapshot.shards) + && Objects.equals(this.failures, openSearchSnapshot.failures) + && Objects.equals(this.state, openSearchSnapshot.state) + && Objects.equals(this.startTime, openSearchSnapshot.startTime) + && Objects.equals(this.startTimeInMillis, openSearchSnapshot.startTimeInMillis) + && Objects.equals(this.endTime, openSearchSnapshot.endTime) + && Objects.equals(this.endTimeInMillis, openSearchSnapshot.endTimeInMillis) + && Objects.equals(this.durationInMillis, openSearchSnapshot.durationInMillis); + } + + @Override + public int hashCode() { + return Objects.hash(snapshot, uuid, version, indices, shards, failures, state, startTime, + startTimeInMillis, endTime, endTimeInMillis, durationInMillis); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpenSearchSnapshot {\n"); + sb.append(" snapshot: ").append(toIndentedString(snapshot)).append("\n"); + sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); + sb.append(" version: ").append(toIndentedString(version)).append("\n"); + sb.append(" indices: ").append(toIndentedString(indices)).append("\n"); + sb.append(" shards: ").append(toIndentedString(shards)).append("\n"); + sb.append(" failures: ").append(toIndentedString(failures)).append("\n"); + sb.append(" state: ").append(toIndentedString(state)).append("\n"); + sb.append(" startTime: ").append(toIndentedString(startTime)).append("\n"); + sb.append(" startTimeInMillis: ").append(toIndentedString(startTimeInMillis)).append("\n"); + sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n"); + sb.append(" endTimeInMillis: ").append(toIndentedString(endTimeInMillis)).append("\n"); + sb.append(" durationInMillis: ").append(toIndentedString(durationInMillis)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("snapshot", "uuid", "version", "indices", + "shards", "failures", "state", "start_time", "start_time_in_millis", "end_time", + "end_time_in_millis", "duration_in_millis")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpenSearchSnapshot + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpenSearchSnapshot.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpenSearchSnapshot is not found in the empty JSON string", + OpenSearchSnapshot.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpenSearchSnapshot.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpenSearchSnapshot` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("snapshot") != null && !jsonObj.get("snapshot").isJsonNull()) + && !jsonObj.get("snapshot").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `snapshot` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("snapshot").toString())); + } + if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) + && !jsonObj.get("uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("uuid").toString())); + } + if ((jsonObj.get("version") != null && !jsonObj.get("version").isJsonNull()) + && !jsonObj.get("version").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `version` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("version").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("indices") != null && !jsonObj.get("indices").isJsonNull() + && !jsonObj.get("indices").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `indices` to be an array in the JSON string but got `%s`", + jsonObj.get("indices").toString())); + } + // validate the optional field `shards` + if (jsonObj.get("shards") != null && !jsonObj.get("shards").isJsonNull()) { + OpenSearchSnapshotShard.validateJsonElement(jsonObj.get("shards")); + } + if (jsonObj.get("failures") != null && !jsonObj.get("failures").isJsonNull()) { + JsonArray jsonArrayfailures = jsonObj.getAsJsonArray("failures"); + if (jsonArrayfailures != null) { + // ensure the json data is an array + if (!jsonObj.get("failures").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `failures` to be an array in the JSON string but got `%s`", + jsonObj.get("failures").toString())); + } + + // validate the optional field `failures` (array) + for (int i = 0; i < jsonArrayfailures.size(); i++) { + OpenSearchSnapshotFailure.validateJsonElement(jsonArrayfailures.get(i)); + } ; + } + } + if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) + && !jsonObj.get("state").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `state` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("state").toString())); + } + if ((jsonObj.get("start_time") != null && !jsonObj.get("start_time").isJsonNull()) + && !jsonObj.get("start_time").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `start_time` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("start_time").toString())); + } + if ((jsonObj.get("end_time") != null && !jsonObj.get("end_time").isJsonNull()) + && !jsonObj.get("end_time").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `end_time` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("end_time").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpenSearchSnapshot.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpenSearchSnapshot' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchSnapshot.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpenSearchSnapshot value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpenSearchSnapshot read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpenSearchSnapshot given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpenSearchSnapshot + * @throws IOException if the JSON string is invalid with respect to OpenSearchSnapshot + */ + public static OpenSearchSnapshot fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchSnapshot.class); + } + + /** + * Convert an instance of OpenSearchSnapshot to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java new file mode 100644 index 000000000..234a7e0bf --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java @@ -0,0 +1,383 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * Details about a failure for a specific shard in a snapshot. + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpenSearchSnapshotFailure { + public static final String SERIALIZED_NAME_INDEX = "index"; + @SerializedName(SERIALIZED_NAME_INDEX) + @javax.annotation.Nullable + private String index; + + public static final String SERIALIZED_NAME_INDEX_UUID = "index_uuid"; + @SerializedName(SERIALIZED_NAME_INDEX_UUID) + @javax.annotation.Nullable + private String indexUuid; + + public static final String SERIALIZED_NAME_SHARD_ID = "shard_id"; + @SerializedName(SERIALIZED_NAME_SHARD_ID) + @javax.annotation.Nullable + private Integer shardId; + + public static final String SERIALIZED_NAME_REASON = "reason"; + @SerializedName(SERIALIZED_NAME_REASON) + @javax.annotation.Nullable + private String reason; + + public static final String SERIALIZED_NAME_NODE_ID = "node_id"; + @SerializedName(SERIALIZED_NAME_NODE_ID) + @javax.annotation.Nullable + private String nodeId; + + public static final String SERIALIZED_NAME_STATUS = "status"; + @SerializedName(SERIALIZED_NAME_STATUS) + @javax.annotation.Nullable + private String status; + + public OpenSearchSnapshotFailure() {} + + public OpenSearchSnapshotFailure index(@javax.annotation.Nullable String index) { + this.index = index; + return this; + } + + /** + * The index name. + * + * @return index + */ + @javax.annotation.Nullable + public String getIndex() { + return index; + } + + public void setIndex(@javax.annotation.Nullable String index) { + this.index = index; + } + + + public OpenSearchSnapshotFailure indexUuid(@javax.annotation.Nullable String indexUuid) { + this.indexUuid = indexUuid; + return this; + } + + /** + * UUID of the index. + * + * @return indexUuid + */ + @javax.annotation.Nullable + public String getIndexUuid() { + return indexUuid; + } + + public void setIndexUuid(@javax.annotation.Nullable String indexUuid) { + this.indexUuid = indexUuid; + } + + + public OpenSearchSnapshotFailure shardId(@javax.annotation.Nullable Integer shardId) { + this.shardId = shardId; + return this; + } + + /** + * Shard identifier. + * + * @return shardId + */ + @javax.annotation.Nullable + public Integer getShardId() { + return shardId; + } + + public void setShardId(@javax.annotation.Nullable Integer shardId) { + this.shardId = shardId; + } + + + public OpenSearchSnapshotFailure reason(@javax.annotation.Nullable String reason) { + this.reason = reason; + return this; + } + + /** + * Full exception/message explaining why the failure occurred. + * + * @return reason + */ + @javax.annotation.Nullable + public String getReason() { + return reason; + } + + public void setReason(@javax.annotation.Nullable String reason) { + this.reason = reason; + } + + + public OpenSearchSnapshotFailure nodeId(@javax.annotation.Nullable String nodeId) { + this.nodeId = nodeId; + return this; + } + + /** + * ID of the node handling that shard. + * + * @return nodeId + */ + @javax.annotation.Nullable + public String getNodeId() { + return nodeId; + } + + public void setNodeId(@javax.annotation.Nullable String nodeId) { + this.nodeId = nodeId; + } + + + public OpenSearchSnapshotFailure status(@javax.annotation.Nullable String status) { + this.status = status; + return this; + } + + /** + * Status of the failure (e.g., INTERNAL_SERVER_ERROR). + * + * @return status + */ + @javax.annotation.Nullable + public String getStatus() { + return status; + } + + public void setStatus(@javax.annotation.Nullable String status) { + this.status = status; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpenSearchSnapshotFailure openSearchSnapshotFailure = (OpenSearchSnapshotFailure) o; + return Objects.equals(this.index, openSearchSnapshotFailure.index) + && Objects.equals(this.indexUuid, openSearchSnapshotFailure.indexUuid) + && Objects.equals(this.shardId, openSearchSnapshotFailure.shardId) + && Objects.equals(this.reason, openSearchSnapshotFailure.reason) + && Objects.equals(this.nodeId, openSearchSnapshotFailure.nodeId) + && Objects.equals(this.status, openSearchSnapshotFailure.status); + } + + @Override + public int hashCode() { + return Objects.hash(index, indexUuid, shardId, reason, nodeId, status); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpenSearchSnapshotFailure {\n"); + sb.append(" index: ").append(toIndentedString(index)).append("\n"); + sb.append(" indexUuid: ").append(toIndentedString(indexUuid)).append("\n"); + sb.append(" shardId: ").append(toIndentedString(shardId)).append("\n"); + sb.append(" reason: ").append(toIndentedString(reason)).append("\n"); + sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n"); + sb.append(" status: ").append(toIndentedString(status)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet( + Arrays.asList("index", "index_uuid", "shard_id", "reason", "node_id", "status")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpenSearchSnapshotFailure + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpenSearchSnapshotFailure.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpenSearchSnapshotFailure is not found in the empty JSON string", + OpenSearchSnapshotFailure.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpenSearchSnapshotFailure.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpenSearchSnapshotFailure` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("index") != null && !jsonObj.get("index").isJsonNull()) + && !jsonObj.get("index").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `index` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("index").toString())); + } + if ((jsonObj.get("index_uuid") != null && !jsonObj.get("index_uuid").isJsonNull()) + && !jsonObj.get("index_uuid").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `index_uuid` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("index_uuid").toString())); + } + if ((jsonObj.get("reason") != null && !jsonObj.get("reason").isJsonNull()) + && !jsonObj.get("reason").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `reason` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("reason").toString())); + } + if ((jsonObj.get("node_id") != null && !jsonObj.get("node_id").isJsonNull()) + && !jsonObj.get("node_id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `node_id` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("node_id").toString())); + } + if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull()) + && !jsonObj.get("status").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `status` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("status").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpenSearchSnapshotFailure.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpenSearchSnapshotFailure' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchSnapshotFailure.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpenSearchSnapshotFailure value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpenSearchSnapshotFailure read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpenSearchSnapshotFailure given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpenSearchSnapshotFailure + * @throws IOException if the JSON string is invalid with respect to OpenSearchSnapshotFailure + */ + public static OpenSearchSnapshotFailure fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchSnapshotFailure.class); + } + + /** + * Convert an instance of OpenSearchSnapshotFailure to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java new file mode 100644 index 000000000..588094b4b --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java @@ -0,0 +1,272 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * OpenSearchSnapshotShard + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class OpenSearchSnapshotShard { + public static final String SERIALIZED_NAME_TOTAL = "total"; + @SerializedName(SERIALIZED_NAME_TOTAL) + @javax.annotation.Nullable + private BigDecimal total; + + public static final String SERIALIZED_NAME_FAILED = "failed"; + @SerializedName(SERIALIZED_NAME_FAILED) + @javax.annotation.Nullable + private BigDecimal failed; + + public static final String SERIALIZED_NAME_SUCCESSFUL = "successful"; + @SerializedName(SERIALIZED_NAME_SUCCESSFUL) + @javax.annotation.Nullable + private BigDecimal successful; + + public OpenSearchSnapshotShard() {} + + public OpenSearchSnapshotShard total(@javax.annotation.Nullable BigDecimal total) { + this.total = total; + return this; + } + + /** + * Total number of shards + * + * @return total + */ + @javax.annotation.Nullable + public BigDecimal getTotal() { + return total; + } + + public void setTotal(@javax.annotation.Nullable BigDecimal total) { + this.total = total; + } + + + public OpenSearchSnapshotShard failed(@javax.annotation.Nullable BigDecimal failed) { + this.failed = failed; + return this; + } + + /** + * Failed number of shards + * + * @return failed + */ + @javax.annotation.Nullable + public BigDecimal getFailed() { + return failed; + } + + public void setFailed(@javax.annotation.Nullable BigDecimal failed) { + this.failed = failed; + } + + + public OpenSearchSnapshotShard successful(@javax.annotation.Nullable BigDecimal successful) { + this.successful = successful; + return this; + } + + /** + * Successful number of shards + * + * @return successful + */ + @javax.annotation.Nullable + public BigDecimal getSuccessful() { + return successful; + } + + public void setSuccessful(@javax.annotation.Nullable BigDecimal successful) { + this.successful = successful; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + OpenSearchSnapshotShard openSearchSnapshotShard = (OpenSearchSnapshotShard) o; + return Objects.equals(this.total, openSearchSnapshotShard.total) + && Objects.equals(this.failed, openSearchSnapshotShard.failed) + && Objects.equals(this.successful, openSearchSnapshotShard.successful); + } + + @Override + public int hashCode() { + return Objects.hash(total, failed, successful); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class OpenSearchSnapshotShard {\n"); + sb.append(" total: ").append(toIndentedString(total)).append("\n"); + sb.append(" failed: ").append(toIndentedString(failed)).append("\n"); + sb.append(" successful: ").append(toIndentedString(successful)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("total", "failed", "successful")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to OpenSearchSnapshotShard + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!OpenSearchSnapshotShard.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in OpenSearchSnapshotShard is not found in the empty JSON string", + OpenSearchSnapshotShard.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!OpenSearchSnapshotShard.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `OpenSearchSnapshotShard` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!OpenSearchSnapshotShard.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'OpenSearchSnapshotShard' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchSnapshotShard.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, OpenSearchSnapshotShard value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public OpenSearchSnapshotShard read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of OpenSearchSnapshotShard given an JSON string + * + * @param jsonString JSON string + * @return An instance of OpenSearchSnapshotShard + * @throws IOException if the JSON string is invalid with respect to OpenSearchSnapshotShard + */ + public static OpenSearchSnapshotShard fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchSnapshotShard.class); + } + + /** + * Convert an instance of OpenSearchSnapshotShard to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/PdfDocument.java b/src/main/java/com/formkiq/client/model/PdfDocument.java index ed8b6436b..995b0906f 100644 --- a/src/main/java/com/formkiq/client/model/PdfDocument.java +++ b/src/main/java/com/formkiq/client/model/PdfDocument.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.PdfDocumentField; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * PdfDocument */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class PdfDocument { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("fields"); + openapiFields = new HashSet(Arrays.asList("fields")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!PdfDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in PdfDocument is not found in the empty JSON string", PdfDocument.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!PdfDocument.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `PdfDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayfields != null) { // ensure the json data is an array if (!jsonObj.get("fields").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `fields` to be an array in the JSON string but got `%s`", jsonObj.get("fields").toString())); } diff --git a/src/main/java/com/formkiq/client/model/PdfDocumentField.java b/src/main/java/com/formkiq/client/model/PdfDocumentField.java index d5bec3f48..b7e4be605 100644 --- a/src/main/java/com/formkiq/client/model/PdfDocumentField.java +++ b/src/main/java/com/formkiq/client/model/PdfDocumentField.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * PdfDocumentField */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class PdfDocumentField { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("field"); - openapiFields.add("value"); + openapiFields = new HashSet(Arrays.asList("field", "value")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!PdfDocumentField.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in PdfDocumentField is not found in the empty JSON string", PdfDocumentField.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!PdfDocumentField.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `PdfDocumentField` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("field") != null && !jsonObj.get("field").isJsonNull()) && !jsonObj.get("field").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `field` to be a primitive type in the JSON string but got `%s`", jsonObj.get("field").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } diff --git a/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java b/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java index 15e01988c..9c5a9bc2e 100644 --- a/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * QueryFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class QueryFulltextResponse { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("result"); + openapiFields = new HashSet(Arrays.asList("result")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!QueryFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in QueryFulltextResponse is not found in the empty JSON string", QueryFulltextResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!QueryFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `QueryFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/Queue.java b/src/main/java/com/formkiq/client/model/Queue.java index 3721a673f..79bdf0730 100644 --- a/src/main/java/com/formkiq/client/model/Queue.java +++ b/src/main/java/com/formkiq/client/model/Queue.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * Queue */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Queue { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -155,12 +157,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("queueId"); + openapiFields = new HashSet(Arrays.asList("name", "queueId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -172,9 +172,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Queue.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Queue is not found in the empty JSON string", - Queue.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Queue is not found in the empty JSON string", + Queue.openapiRequiredFields.toString())); } } @@ -182,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Queue.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Queue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -190,13 +190,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("queueId") != null && !jsonObj.get("queueId").isJsonNull()) && !jsonObj.get("queueId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queueId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("queueId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ReindexTarget.java b/src/main/java/com/formkiq/client/model/ReindexTarget.java index 8efc5c734..8592cb0ec 100644 --- a/src/main/java/com/formkiq/client/model/ReindexTarget.java +++ b/src/main/java/com/formkiq/client/model/ReindexTarget.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/ResourceItem.java b/src/main/java/com/formkiq/client/model/ResourceItem.java index 4315fc54a..ec6a9df83 100644 --- a/src/main/java/com/formkiq/client/model/ResourceItem.java +++ b/src/main/java/com/formkiq/client/model/ResourceItem.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.LocaleResourceType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * ResourceItem */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ResourceItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -293,17 +295,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("itemType"); - openapiFields.add("localizedValue"); - openapiFields.add("interfaceKey"); - openapiFields.add("itemKey"); - openapiFields.add("attributeKey"); - openapiFields.add("allowedValue"); - openapiFields.add("classificationId"); + openapiFields = new HashSet(Arrays.asList("itemType", "localizedValue", "interfaceKey", + "itemKey", "attributeKey", "allowedValue", "classificationId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -316,7 +312,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ResourceItem.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ResourceItem is not found in the empty JSON string", ResourceItem.openapiRequiredFields.toString())); } @@ -326,7 +322,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ResourceItem.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ResourceItem` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -338,37 +334,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("localizedValue") != null && !jsonObj.get("localizedValue").isJsonNull()) && !jsonObj.get("localizedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `localizedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("localizedValue").toString())); } if ((jsonObj.get("interfaceKey") != null && !jsonObj.get("interfaceKey").isJsonNull()) && !jsonObj.get("interfaceKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `interfaceKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("interfaceKey").toString())); } if ((jsonObj.get("itemKey") != null && !jsonObj.get("itemKey").isJsonNull()) && !jsonObj.get("itemKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `itemKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("itemKey").toString())); } if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } if ((jsonObj.get("allowedValue") != null && !jsonObj.get("allowedValue").isJsonNull()) && !jsonObj.get("allowedValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `allowedValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("allowedValue").toString())); } if ((jsonObj.get("classificationId") != null && !jsonObj.get("classificationId").isJsonNull()) && !jsonObj.get("classificationId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `classificationId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("classificationId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Rule.java b/src/main/java/com/formkiq/client/model/Rule.java index decd96109..fe5333ec3 100644 --- a/src/main/java/com/formkiq/client/model/Rule.java +++ b/src/main/java/com/formkiq/client/model/Rule.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RuleCondition; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Rule */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Rule { public static final String SERIALIZED_NAME_RULE_ID = "ruleId"; @SerializedName(SERIALIZED_NAME_RULE_ID) @@ -266,16 +268,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ruleId"); - openapiFields.add("priority"); - openapiFields.add("description"); - openapiFields.add("workflowId"); - openapiFields.add("status"); - openapiFields.add("conditions"); + openapiFields = new HashSet( + Arrays.asList("ruleId", "priority", "description", "workflowId", "status", "conditions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -287,9 +284,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Rule.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Rule is not found in the empty JSON string", - Rule.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Rule is not found in the empty JSON string", + Rule.openapiRequiredFields.toString())); } } @@ -297,7 +294,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Rule.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Rule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -305,19 +302,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("ruleId") != null && !jsonObj.get("ruleId").isJsonNull()) && !jsonObj.get("ruleId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `ruleId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("ruleId").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/RuleCondition.java b/src/main/java/com/formkiq/client/model/RuleCondition.java index 60db203f6..1894b9b36 100644 --- a/src/main/java/com/formkiq/client/model/RuleCondition.java +++ b/src/main/java/com/formkiq/client/model/RuleCondition.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RuleConditionMust; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * RuleCondition */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class RuleCondition { public static final String SERIALIZED_NAME_MUST = "must"; @SerializedName(SERIALIZED_NAME_MUST) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("must"); + openapiFields = new HashSet(Arrays.asList("must")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!RuleCondition.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in RuleCondition is not found in the empty JSON string", RuleCondition.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!RuleCondition.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `RuleCondition` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymust != null) { // ensure the json data is an array if (!jsonObj.get("must").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `must` to be an array in the JSON string but got `%s`", jsonObj.get("must").toString())); } diff --git a/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java b/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java index 80c3082c2..d646fd903 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java b/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java index eb9fcd58d..70a2eb146 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/RuleConditionMust.java b/src/main/java/com/formkiq/client/model/RuleConditionMust.java index f6d55d974..6d7bbb5c0 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionMust.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionMust.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RuleConditionAttribute; import com.formkiq.client.model.RuleConditionCriterion; import com.formkiq.client.model.RuleConditionOperation; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * RuleConditionMust */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class RuleConditionMust { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -267,16 +269,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attribute"); - openapiFields.add("criterion"); - openapiFields.add("attributeKey"); - openapiFields.add("fieldName"); - openapiFields.add("value"); - openapiFields.add("operation"); + openapiFields = new HashSet( + Arrays.asList("attribute", "criterion", "attributeKey", "fieldName", "value", "operation")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -289,7 +286,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!RuleConditionMust.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in RuleConditionMust is not found in the empty JSON string", RuleConditionMust.openapiRequiredFields.toString())); } @@ -299,7 +296,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!RuleConditionMust.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `RuleConditionMust` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -315,19 +312,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("attributeKey") != null && !jsonObj.get("attributeKey").isJsonNull()) && !jsonObj.get("attributeKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributeKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("attributeKey").toString())); } if ((jsonObj.get("fieldName") != null && !jsonObj.get("fieldName").isJsonNull()) && !jsonObj.get("fieldName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `fieldName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("fieldName").toString())); } if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } diff --git a/src/main/java/com/formkiq/client/model/RuleConditionOperation.java b/src/main/java/com/formkiq/client/model/RuleConditionOperation.java index 2e292689f..d630b3639 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionOperation.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionOperation.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/Ruleset.java b/src/main/java/com/formkiq/client/model/Ruleset.java index 6674490f8..97d530c8b 100644 --- a/src/main/java/com/formkiq/client/model/Ruleset.java +++ b/src/main/java/com/formkiq/client/model/Ruleset.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Ruleset */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Ruleset { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) @@ -266,16 +268,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("rulesetId"); - openapiFields.add("description"); - openapiFields.add("priority"); - openapiFields.add("version"); - openapiFields.add("insertedDate"); - openapiFields.add("status"); + openapiFields = new HashSet( + Arrays.asList("rulesetId", "description", "priority", "version", "insertedDate", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -288,7 +285,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Ruleset.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in Ruleset is not found in the empty JSON string", Ruleset.openapiRequiredFields.toString())); } @@ -298,7 +295,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Ruleset.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Ruleset` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -306,19 +303,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("rulesetId") != null && !jsonObj.get("rulesetId").isJsonNull()) && !jsonObj.get("rulesetId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `rulesetId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("rulesetId").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/RulesetStatus.java b/src/main/java/com/formkiq/client/model/RulesetStatus.java index e8af17f34..09c1759b9 100644 --- a/src/main/java/com/formkiq/client/model/RulesetStatus.java +++ b/src/main/java/com/formkiq/client/model/RulesetStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/SchemaAttributes.java b/src/main/java/com/formkiq/client/model/SchemaAttributes.java index 2a53f096d..64283b7e6 100644 --- a/src/main/java/com/formkiq/client/model/SchemaAttributes.java +++ b/src/main/java/com/formkiq/client/model/SchemaAttributes.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AttributeSchemaCompositeKey; import com.formkiq.client.model.AttributeSchemaOptional; import com.formkiq.client.model.AttributeSchemaRequired; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * SchemaAttributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SchemaAttributes { public static final String SERIALIZED_NAME_COMPOSITE_KEYS = "compositeKeys"; @SerializedName(SERIALIZED_NAME_COMPOSITE_KEYS) @@ -247,14 +249,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("compositeKeys"); - openapiFields.add("required"); - openapiFields.add("optional"); - openapiFields.add("allowAdditionalAttributes"); + openapiFields = new HashSet( + Arrays.asList("compositeKeys", "required", "optional", "allowAdditionalAttributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -267,7 +266,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SchemaAttributes.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SchemaAttributes is not found in the empty JSON string", SchemaAttributes.openapiRequiredFields.toString())); } @@ -277,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SchemaAttributes.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SchemaAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -288,7 +287,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycompositeKeys != null) { // ensure the json data is an array if (!jsonObj.get("compositeKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `compositeKeys` to be an array in the JSON string but got `%s`", jsonObj.get("compositeKeys").toString())); } @@ -304,7 +303,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrequired != null) { // ensure the json data is an array if (!jsonObj.get("required").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `required` to be an array in the JSON string but got `%s`", jsonObj.get("required").toString())); } @@ -320,7 +319,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayoptional != null) { // ensure the json data is an array if (!jsonObj.get("optional").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `optional` to be an array in the JSON string but got `%s`", jsonObj.get("optional").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SearchRangeDataType.java b/src/main/java/com/formkiq/client/model/SearchRangeDataType.java index 35165fc26..656945bd5 100644 --- a/src/main/java/com/formkiq/client/model/SearchRangeDataType.java +++ b/src/main/java/com/formkiq/client/model/SearchRangeDataType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/SearchResponseFields.java b/src/main/java/com/formkiq/client/model/SearchResponseFields.java index 77ed72626..a837df24d 100644 --- a/src/main/java/com/formkiq/client/model/SearchResponseFields.java +++ b/src/main/java/com/formkiq/client/model/SearchResponseFields.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * SearchResponseFields */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SearchResponseFields { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -174,12 +176,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attributes"); - openapiFields.add("tags"); + openapiFields = new HashSet(Arrays.asList("attributes", "tags")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -192,7 +192,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SearchResponseFields.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SearchResponseFields is not found in the empty JSON string", SearchResponseFields.openapiRequiredFields.toString())); } @@ -202,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SearchResponseFields.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SearchResponseFields` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -211,16 +211,16 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull() && !jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonNull() && !jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", - jsonObj.get("tags").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `tags` to be an array in the JSON string but got `%s`", + jsonObj.get("tags").toString())); } } diff --git a/src/main/java/com/formkiq/client/model/SearchResultDocument.java b/src/main/java/com/formkiq/client/model/SearchResultDocument.java index 49e91a3b7..3cd5081ae 100644 --- a/src/main/java/com/formkiq/client/model/SearchResultDocument.java +++ b/src/main/java/com/formkiq/client/model/SearchResultDocument.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ChecksumType; import com.formkiq.client.model.DocumentMetadata; import com.formkiq.client.model.DocumentSearchMatchAttribute; @@ -58,6 +59,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -65,8 +67,8 @@ * SearchResultDocument */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SearchResultDocument { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -776,33 +778,14 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("folder"); - openapiFields.add("indexKey"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("documentId"); - openapiFields.add("contentType"); - openapiFields.add("userId"); - openapiFields.add("contentLength"); - openapiFields.add("versionId"); - openapiFields.add("belongsToDocumentId"); - openapiFields.add("matchedAttribute"); - openapiFields.add("matchedTag"); - openapiFields.add("matchedTags"); - openapiFields.add("tags"); - openapiFields.add("attributes"); - openapiFields.add("metadata"); + openapiFields = new HashSet( + Arrays.asList("siteId", "path", "width", "height", "deepLinkPath", "insertedDate", + "lastModifiedDate", "folder", "indexKey", "checksum", "checksumType", "documentId", + "contentType", "userId", "contentLength", "versionId", "belongsToDocumentId", + "matchedAttribute", "matchedTag", "matchedTags", "tags", "attributes", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -815,7 +798,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SearchResultDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SearchResultDocument is not found in the empty JSON string", SearchResultDocument.openapiRequiredFields.toString())); } @@ -825,7 +808,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SearchResultDocument.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SearchResultDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -833,55 +816,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } if ((jsonObj.get("indexKey") != null && !jsonObj.get("indexKey").isJsonNull()) && !jsonObj.get("indexKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `indexKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("indexKey").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -891,32 +874,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("documentId") != null && !jsonObj.get("documentId").isJsonNull()) && !jsonObj.get("documentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("documentId").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if ((jsonObj.get("versionId") != null && !jsonObj.get("versionId").isJsonNull()) && !jsonObj.get("versionId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `versionId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionId").toString())); } if ((jsonObj.get("belongsToDocumentId") != null && !jsonObj.get("belongsToDocumentId").isJsonNull()) && !jsonObj.get("belongsToDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `belongsToDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("belongsToDocumentId").toString())); } @@ -933,7 +916,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymatchedTags != null) { // ensure the json data is an array if (!jsonObj.get("matchedTags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `matchedTags` to be an array in the JSON string but got `%s`", jsonObj.get("matchedTags").toString())); } @@ -949,7 +932,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java b/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java index 4751c5520..14c1c5247 100644 --- a/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AttributeValueType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * SearchResultDocumentAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SearchResultDocumentAttribute { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -234,14 +236,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stringValues"); - openapiFields.add("numberValues"); - openapiFields.add("booleanValue"); - openapiFields.add("valueType"); + openapiFields = new HashSet( + Arrays.asList("stringValues", "numberValues", "booleanValue", "valueType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -256,7 +255,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SearchResultDocumentAttribute.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SearchResultDocumentAttribute is not found in the empty JSON string", SearchResultDocumentAttribute.openapiRequiredFields.toString())); } @@ -266,7 +265,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SearchResultDocumentAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SearchResultDocumentAttribute` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -275,14 +274,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("stringValues") != null && !jsonObj.get("stringValues").isJsonNull() && !jsonObj.get("stringValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stringValues` to be an array in the JSON string but got `%s`", jsonObj.get("stringValues").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("numberValues") != null && !jsonObj.get("numberValues").isJsonNull() && !jsonObj.get("numberValues").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `numberValues` to be an array in the JSON string but got `%s`", jsonObj.get("numberValues").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetClassificationRequest.java b/src/main/java/com/formkiq/client/model/SetClassificationRequest.java index 5e53367b1..caf6ce67a 100644 --- a/src/main/java/com/formkiq/client/model/SetClassificationRequest.java +++ b/src/main/java/com/formkiq/client/model/SetClassificationRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddClassification; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * SetClassificationRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetClassificationRequest { public static final String SERIALIZED_NAME_CLASSIFICATION = "classification"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("classification"); + openapiFields = new HashSet(Arrays.asList("classification")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetClassificationRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetClassificationRequest is not found in the empty JSON string", SetClassificationRequest.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetClassificationRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetClassificationRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java index 2f621de29..9f735e99f 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentAttributeValue; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * Set List of document attributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentAttributeRequest { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attribute"); + openapiFields = new HashSet(Arrays.asList("attribute")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentAttributeRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentAttributeRequest is not found in the empty JSON string", SetDocumentAttributeRequest.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentAttributeRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentAttributeRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java index f5f223088..59b454feb 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Set List of document attributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentAttributesRequest { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -141,11 +143,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SetDocumentAttributesRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentAttributesRequest is not found in the empty JSON string", SetDocumentAttributesRequest.openapiRequiredFields.toString())); } @@ -169,7 +170,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentAttributesRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentAttributesRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -180,7 +181,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java new file mode 100644 index 000000000..0b650a34d --- /dev/null +++ b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java @@ -0,0 +1,242 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * SetDocumentDataClassificationRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class SetDocumentDataClassificationRequest { + public static final String SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME = "llmPromptEntityName"; + @SerializedName(SERIALIZED_NAME_LLM_PROMPT_ENTITY_NAME) + @javax.annotation.Nonnull + private String llmPromptEntityName; + + public SetDocumentDataClassificationRequest() {} + + public SetDocumentDataClassificationRequest llmPromptEntityName( + @javax.annotation.Nonnull String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + return this; + } + + /** + * Name of the LLM Prompt Entity + * + * @return llmPromptEntityName + */ + @javax.annotation.Nonnull + public String getLlmPromptEntityName() { + return llmPromptEntityName; + } + + public void setLlmPromptEntityName(@javax.annotation.Nonnull String llmPromptEntityName) { + this.llmPromptEntityName = llmPromptEntityName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetDocumentDataClassificationRequest setDocumentDataClassificationRequest = + (SetDocumentDataClassificationRequest) o; + return Objects.equals(this.llmPromptEntityName, + setDocumentDataClassificationRequest.llmPromptEntityName); + } + + @Override + public int hashCode() { + return Objects.hash(llmPromptEntityName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetDocumentDataClassificationRequest {\n"); + sb.append(" llmPromptEntityName: ").append(toIndentedString(llmPromptEntityName)) + .append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("llmPromptEntityName")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(Arrays.asList("llmPromptEntityName")); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to + * SetDocumentDataClassificationRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SetDocumentDataClassificationRequest.openapiRequiredFields.isEmpty()) { // has required + // fields but + // JSON element + // is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in SetDocumentDataClassificationRequest is not found in the empty JSON string", + SetDocumentDataClassificationRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SetDocumentDataClassificationRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `SetDocumentDataClassificationRequest` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SetDocumentDataClassificationRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("llmPromptEntityName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `llmPromptEntityName` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("llmPromptEntityName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SetDocumentDataClassificationRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SetDocumentDataClassificationRequest' and its + // subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(SetDocumentDataClassificationRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SetDocumentDataClassificationRequest value) + throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SetDocumentDataClassificationRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SetDocumentDataClassificationRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of SetDocumentDataClassificationRequest + * @throws IOException if the JSON string is invalid with respect to + * SetDocumentDataClassificationRequest + */ + public static SetDocumentDataClassificationRequest fromJson(String jsonString) + throws IOException { + return JSON.getGson().fromJson(jsonString, SetDocumentDataClassificationRequest.class); + } + + /** + * Convert an instance of SetDocumentDataClassificationRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java similarity index 59% rename from src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java rename to src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java index 417bc4240..0587a4f99 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -import com.formkiq.client.model.DocumentAttribute; +import java.util.Locale; +import com.formkiq.client.model.DataClassificationAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -52,55 +53,57 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** - * GetDocumentAttributeVersionsResponse + * SetDocumentDataClassificationResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") -public class GetDocumentAttributeVersionsResponse { - public static final String SERIALIZED_NAME_NEXT = "next"; - @SerializedName(SERIALIZED_NAME_NEXT) + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class SetDocumentDataClassificationResponse { + public static final String SERIALIZED_NAME_CONTENT = "content"; + @SerializedName(SERIALIZED_NAME_CONTENT) @javax.annotation.Nullable - private String next; + private String content; public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @javax.annotation.Nullable - private List attributes = new ArrayList<>(); + private List attributes = new ArrayList<>(); - public GetDocumentAttributeVersionsResponse() {} + public SetDocumentDataClassificationResponse() {} - public GetDocumentAttributeVersionsResponse next(@javax.annotation.Nullable String next) { - this.next = next; + public SetDocumentDataClassificationResponse content(@javax.annotation.Nullable String content) { + this.content = content; return this; } /** - * Next page of results token + * Result content * - * @return next + * @return content */ @javax.annotation.Nullable - public String getNext() { - return next; + public String getContent() { + return content; } - public void setNext(@javax.annotation.Nullable String next) { - this.next = next; + public void setContent(@javax.annotation.Nullable String content) { + this.content = content; } - public GetDocumentAttributeVersionsResponse attributes( - @javax.annotation.Nullable List attributes) { + public SetDocumentDataClassificationResponse attributes( + @javax.annotation.Nullable List attributes) { this.attributes = attributes; return this; } - public GetDocumentAttributeVersionsResponse addAttributesItem(DocumentAttribute attributesItem) { + public SetDocumentDataClassificationResponse addAttributesItem( + DataClassificationAttribute attributesItem) { if (this.attributes == null) { this.attributes = new ArrayList<>(); } @@ -109,16 +112,17 @@ public GetDocumentAttributeVersionsResponse addAttributesItem(DocumentAttribute } /** - * List of document attribute versions + * Attributes extracted from result content * * @return attributes */ @javax.annotation.Nullable - public List getAttributes() { + public List getAttributes() { return attributes; } - public void setAttributes(@javax.annotation.Nullable List attributes) { + public void setAttributes( + @javax.annotation.Nullable List attributes) { this.attributes = attributes; } @@ -132,22 +136,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } - GetDocumentAttributeVersionsResponse getDocumentAttributeVersionsResponse = - (GetDocumentAttributeVersionsResponse) o; - return Objects.equals(this.next, getDocumentAttributeVersionsResponse.next) - && Objects.equals(this.attributes, getDocumentAttributeVersionsResponse.attributes); + SetDocumentDataClassificationResponse setDocumentDataClassificationResponse = + (SetDocumentDataClassificationResponse) o; + return Objects.equals(this.content, setDocumentDataClassificationResponse.content) + && Objects.equals(this.attributes, setDocumentDataClassificationResponse.attributes); } @Override public int hashCode() { - return Objects.hash(next, attributes); + return Objects.hash(content, attributes); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class GetDocumentAttributeVersionsResponse {\n"); - sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append("class SetDocumentDataClassificationResponse {\n"); + sb.append(" content: ").append(toIndentedString(content)).append("\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); sb.append("}"); return sb.toString(); @@ -169,12 +173,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("next"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("content", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -182,49 +184,49 @@ private String toIndentedString(Object o) { * * @param jsonElement JSON Element * @throws IOException if the JSON Element is invalid with respect to - * GetDocumentAttributeVersionsResponse + * SetDocumentDataClassificationResponse */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!GetDocumentAttributeVersionsResponse.openapiRequiredFields.isEmpty()) { // has required - // fields but - // JSON element - // is null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in GetDocumentAttributeVersionsResponse is not found in the empty JSON string", - GetDocumentAttributeVersionsResponse.openapiRequiredFields.toString())); + if (!SetDocumentDataClassificationResponse.openapiRequiredFields.isEmpty()) { // has required + // fields but + // JSON element + // is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in SetDocumentDataClassificationResponse is not found in the empty JSON string", + SetDocumentDataClassificationResponse.openapiRequiredFields.toString())); } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { - if (!GetDocumentAttributeVersionsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `GetDocumentAttributeVersionsResponse` properties. JSON: %s", + if (!SetDocumentDataClassificationResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `SetDocumentDataClassificationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("next") != null && !jsonObj.get("next").isJsonNull()) - && !jsonObj.get("next").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `next` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("next").toString())); + if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) + && !jsonObj.get("content").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `content` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("content").toString())); } if (jsonObj.get("attributes") != null && !jsonObj.get("attributes").isJsonNull()) { JsonArray jsonArrayattributes = jsonObj.getAsJsonArray("attributes"); if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } // validate the optional field `attributes` (array) for (int i = 0; i < jsonArrayattributes.size(); i++) { - DocumentAttribute.validateJsonElement(jsonArrayattributes.get(i)); + DataClassificationAttribute.validateJsonElement(jsonArrayattributes.get(i)); } ; } } @@ -234,24 +236,24 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { - if (!GetDocumentAttributeVersionsResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'GetDocumentAttributeVersionsResponse' and its + if (!SetDocumentDataClassificationResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SetDocumentDataClassificationResponse' and its // subtypes } final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(GetDocumentAttributeVersionsResponse.class)); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(SetDocumentDataClassificationResponse.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, GetDocumentAttributeVersionsResponse value) + public void write(JsonWriter out, SetDocumentDataClassificationResponse value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public GetDocumentAttributeVersionsResponse read(JsonReader in) throws IOException { + public SetDocumentDataClassificationResponse read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -262,20 +264,20 @@ public GetDocumentAttributeVersionsResponse read(JsonReader in) throws IOExcepti } /** - * Create an instance of GetDocumentAttributeVersionsResponse given an JSON string + * Create an instance of SetDocumentDataClassificationResponse given an JSON string * * @param jsonString JSON string - * @return An instance of GetDocumentAttributeVersionsResponse + * @return An instance of SetDocumentDataClassificationResponse * @throws IOException if the JSON string is invalid with respect to - * GetDocumentAttributeVersionsResponse + * SetDocumentDataClassificationResponse */ - public static GetDocumentAttributeVersionsResponse fromJson(String jsonString) + public static SetDocumentDataClassificationResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, GetDocumentAttributeVersionsResponse.class); + return JSON.getGson().fromJson(jsonString, SetDocumentDataClassificationResponse.class); } /** - * Convert an instance of GetDocumentAttributeVersionsResponse to an JSON string + * Convert an instance of SetDocumentDataClassificationResponse to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java index de0dbd900..3173ac9ee 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentMetadata; import com.formkiq.client.model.AddDocumentTag; import com.formkiq.client.model.ChecksumType; @@ -57,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -64,8 +66,8 @@ * SetDocumentFulltextRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -472,22 +474,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("contentType"); - openapiFields.add("content"); - openapiFields.add("contentUrls"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("attributes"); + openapiFields = new HashSet( + Arrays.asList("contentType", "content", "contentUrls", "path", "width", "height", + "deepLinkPath", "checksum", "checksumType", "tags", "metadata", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -500,7 +492,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentFulltextRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentFulltextRequest is not found in the empty JSON string", SetDocumentFulltextRequest.openapiRequiredFields.toString())); } @@ -510,7 +502,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentFulltextRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentFulltextRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -518,50 +510,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) && !jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("contentUrls") != null && !jsonObj.get("contentUrls").isJsonNull() && !jsonObj.get("contentUrls").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentUrls` to be an array in the JSON string but got `%s`", jsonObj.get("contentUrls").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -574,7 +566,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -590,7 +582,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java index 72715fedb..fd5e557c8 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetDocumentFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentFulltextResponse is not found in the empty JSON string", SetDocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java index 1a8f0cf74..01b631fbd 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetDocumentOcrRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentOcrRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -183,14 +185,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("contentType"); - openapiFields.add("isBase64"); - openapiFields.add("content"); + openapiFields = new HashSet(Arrays.asList("contentType", "isBase64", "content")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("content"); + openapiRequiredFields = new HashSet(Arrays.asList("content")); } /** @@ -203,7 +201,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentOcrRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentOcrRequest is not found in the empty JSON string", SetDocumentOcrRequest.openapiRequiredFields.toString())); } @@ -213,7 +211,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentOcrRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentOcrRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -222,20 +220,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : SetDocumentOcrRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if (!jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java index a2f22ea02..38de3e845 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetDocumentRestoreResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentRestoreResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentRestoreResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentRestoreResponse is not found in the empty JSON string", SetDocumentRestoreResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentRestoreResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentRestoreResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java index 32e8960f2..a43f7d67b 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * SetDocumentTagKeyRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentTagKeyRequest { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -166,12 +168,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("value"); - openapiFields.add("values"); + openapiFields = new HashSet(Arrays.asList("value", "values")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentTagKeyRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentTagKeyRequest is not found in the empty JSON string", SetDocumentTagKeyRequest.openapiRequiredFields.toString())); } @@ -194,7 +194,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentTagKeyRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentTagKeyRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +202,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("value") != null && !jsonObj.get("value").isJsonNull()) && !jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("values") != null && !jsonObj.get("values").isJsonNull() && !jsonObj.get("values").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `values` to be an array in the JSON string but got `%s`", jsonObj.get("values").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java index 9a2638bf0..5b0be08ac 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetDocumentVersionRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentVersionRequest { public static final String SERIALIZED_NAME_VERSION_KEY = "versionKey"; @SerializedName(SERIALIZED_NAME_VERSION_KEY) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("versionKey"); + openapiFields = new HashSet(Arrays.asList("versionKey")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentVersionRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentVersionRequest is not found in the empty JSON string", SetDocumentVersionRequest.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentVersionRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentVersionRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("versionKey") != null && !jsonObj.get("versionKey").isJsonNull()) && !jsonObj.get("versionKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `versionKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("versionKey").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java index 6add4cb24..b9b846b52 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetDocumentVersionResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetDocumentVersionResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetDocumentVersionResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetDocumentVersionResponse is not found in the empty JSON string", SetDocumentVersionResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetDocumentVersionResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetDocumentVersionResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java b/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java new file mode 100644 index 000000000..3d69aac44 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java @@ -0,0 +1,278 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AddFolderPermission; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * SetFolderPermissionsRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class SetFolderPermissionsRequest { + public static final String SERIALIZED_NAME_PATH = "path"; + @SerializedName(SERIALIZED_NAME_PATH) + @javax.annotation.Nullable + private String path; + + public static final String SERIALIZED_NAME_ROLES = "roles"; + @SerializedName(SERIALIZED_NAME_ROLES) + @javax.annotation.Nullable + private List roles = new ArrayList<>(); + + public SetFolderPermissionsRequest() {} + + public SetFolderPermissionsRequest path(@javax.annotation.Nullable String path) { + this.path = path; + return this; + } + + /** + * Path of Folder + * + * @return path + */ + @javax.annotation.Nullable + public String getPath() { + return path; + } + + public void setPath(@javax.annotation.Nullable String path) { + this.path = path; + } + + + public SetFolderPermissionsRequest roles( + @javax.annotation.Nullable List roles) { + this.roles = roles; + return this; + } + + public SetFolderPermissionsRequest addRolesItem(AddFolderPermission rolesItem) { + if (this.roles == null) { + this.roles = new ArrayList<>(); + } + this.roles.add(rolesItem); + return this; + } + + /** + * Get roles + * + * @return roles + */ + @javax.annotation.Nullable + public List getRoles() { + return roles; + } + + public void setRoles(@javax.annotation.Nullable List roles) { + this.roles = roles; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetFolderPermissionsRequest setFolderPermissionsRequest = (SetFolderPermissionsRequest) o; + return Objects.equals(this.path, setFolderPermissionsRequest.path) + && Objects.equals(this.roles, setFolderPermissionsRequest.roles); + } + + @Override + public int hashCode() { + return Objects.hash(path, roles); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetFolderPermissionsRequest {\n"); + sb.append(" path: ").append(toIndentedString(path)).append("\n"); + sb.append(" roles: ").append(toIndentedString(roles)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("path", "roles")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SetFolderPermissionsRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SetFolderPermissionsRequest.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in SetFolderPermissionsRequest is not found in the empty JSON string", + SetFolderPermissionsRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SetFolderPermissionsRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `SetFolderPermissionsRequest` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) + && !jsonObj.get("path").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `path` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("path").toString())); + } + if (jsonObj.get("roles") != null && !jsonObj.get("roles").isJsonNull()) { + JsonArray jsonArrayroles = jsonObj.getAsJsonArray("roles"); + if (jsonArrayroles != null) { + // ensure the json data is an array + if (!jsonObj.get("roles").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `roles` to be an array in the JSON string but got `%s`", + jsonObj.get("roles").toString())); + } + + // validate the optional field `roles` (array) + for (int i = 0; i < jsonArrayroles.size(); i++) { + AddFolderPermission.validateJsonElement(jsonArrayroles.get(i)); + } ; + } + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SetFolderPermissionsRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SetFolderPermissionsRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(SetFolderPermissionsRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SetFolderPermissionsRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SetFolderPermissionsRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SetFolderPermissionsRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of SetFolderPermissionsRequest + * @throws IOException if the JSON string is invalid with respect to SetFolderPermissionsRequest + */ + public static SetFolderPermissionsRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SetFolderPermissionsRequest.class); + } + + /** + * Convert an instance of SetFolderPermissionsRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java b/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java index dcabeb676..a2c8fedb4 100644 --- a/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SiteGroupPermissions; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * SetGroupPermissionsRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetGroupPermissionsRequest { public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) @@ -141,11 +143,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("permissions"); + openapiFields = new HashSet(Arrays.asList("permissions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetGroupPermissionsRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetGroupPermissionsRequest is not found in the empty JSON string", SetGroupPermissionsRequest.openapiRequiredFields.toString())); } @@ -168,7 +169,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetGroupPermissionsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetGroupPermissionsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -177,7 +178,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java b/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java index fbb4b8ac7..b0e454110 100644 --- a/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java +++ b/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddResourceItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * SetLocaleResourceItemRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetLocaleResourceItemRequest { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("resourceItem"); + openapiFields = new HashSet(Arrays.asList("resourceItem")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SetLocaleResourceItemRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetLocaleResourceItemRequest is not found in the empty JSON string", SetLocaleResourceItemRequest.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetLocaleResourceItemRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetLocaleResourceItemRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetMappingRequest.java b/src/main/java/com/formkiq/client/model/SetMappingRequest.java index eae6123de..0ed44b7df 100644 --- a/src/main/java/com/formkiq/client/model/SetMappingRequest.java +++ b/src/main/java/com/formkiq/client/model/SetMappingRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddMapping; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * SetMappingRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetMappingRequest { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("mapping"); + openapiFields = new HashSet(Arrays.asList("mapping")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetMappingRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetMappingRequest is not found in the empty JSON string", SetMappingRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetMappingRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetMappingRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java b/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java index a1b976c45..e584aec60 100644 --- a/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OpaPolicyItem; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,18 +61,18 @@ * SetOpaAccessPolicyItemsRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetOpaAccessPolicyItemsRequest { public static final String SERIALIZED_NAME_POLICY_ITEMS = "policyItems"; @SerializedName(SERIALIZED_NAME_POLICY_ITEMS) - @javax.annotation.Nullable + @javax.annotation.Nonnull private List policyItems = new ArrayList<>(); public SetOpaAccessPolicyItemsRequest() {} public SetOpaAccessPolicyItemsRequest policyItems( - @javax.annotation.Nullable List policyItems) { + @javax.annotation.Nonnull List policyItems) { this.policyItems = policyItems; return this; } @@ -88,12 +90,12 @@ public SetOpaAccessPolicyItemsRequest addPolicyItemsItem(OpaPolicyItem policyIte * * @return policyItems */ - @javax.annotation.Nullable + @javax.annotation.Nonnull public List getPolicyItems() { return policyItems; } - public void setPolicyItems(@javax.annotation.Nullable List policyItems) { + public void setPolicyItems(@javax.annotation.Nonnull List policyItems) { this.policyItems = policyItems; } @@ -142,11 +144,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("policyItems"); + openapiFields = new HashSet(Arrays.asList("policyItems")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(Arrays.asList("policyItems")); } /** @@ -161,7 +162,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!SetOpaAccessPolicyItemsRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetOpaAccessPolicyItemsRequest is not found in the empty JSON string", SetOpaAccessPolicyItemsRequest.openapiRequiredFields.toString())); } @@ -171,28 +172,33 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetOpaAccessPolicyItemsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetOpaAccessPolicyItemsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (jsonObj.get("policyItems") != null && !jsonObj.get("policyItems").isJsonNull()) { - JsonArray jsonArraypolicyItems = jsonObj.getAsJsonArray("policyItems"); - if (jsonArraypolicyItems != null) { - // ensure the json data is an array - if (!jsonObj.get("policyItems").isJsonArray()) { - throw new IllegalArgumentException(String.format( - "Expected the field `policyItems` to be an array in the JSON string but got `%s`", - jsonObj.get("policyItems").toString())); - } - // validate the optional field `policyItems` (array) - for (int i = 0; i < jsonArraypolicyItems.size(); i++) { - OpaPolicyItem.validateJsonElement(jsonArraypolicyItems.get(i)); - } ; + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : SetOpaAccessPolicyItemsRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // ensure the json data is an array + if (!jsonObj.get("policyItems").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `policyItems` to be an array in the JSON string but got `%s`", + jsonObj.get("policyItems").toString())); + } + + JsonArray jsonArraypolicyItems = jsonObj.getAsJsonArray("policyItems"); + // validate the required field `policyItems` (array) + for (int i = 0; i < jsonArraypolicyItems.size(); i++) { + OpaPolicyItem.validateJsonElement(jsonArraypolicyItems.get(i)); + } ; } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java index 77979fd6f..4c4316c71 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -import com.formkiq.client.model.OpenSearchIndex; +import java.util.Locale; +import com.formkiq.client.model.OpenSearchIndexSetting; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,18 +59,18 @@ * SetOpenSearchIndexRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetOpenSearchIndexRequest { public static final String SERIALIZED_NAME_INDEX_SETTINGS = "indexSettings"; @SerializedName(SERIALIZED_NAME_INDEX_SETTINGS) @javax.annotation.Nullable - private OpenSearchIndex indexSettings; + private OpenSearchIndexSetting indexSettings; public SetOpenSearchIndexRequest() {} public SetOpenSearchIndexRequest indexSettings( - @javax.annotation.Nullable OpenSearchIndex indexSettings) { + @javax.annotation.Nullable OpenSearchIndexSetting indexSettings) { this.indexSettings = indexSettings; return this; } @@ -79,11 +81,11 @@ public SetOpenSearchIndexRequest indexSettings( * @return indexSettings */ @javax.annotation.Nullable - public OpenSearchIndex getIndexSettings() { + public OpenSearchIndexSetting getIndexSettings() { return indexSettings; } - public void setIndexSettings(@javax.annotation.Nullable OpenSearchIndex indexSettings) { + public void setIndexSettings(@javax.annotation.Nullable OpenSearchIndexSetting indexSettings) { this.indexSettings = indexSettings; } @@ -131,11 +133,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("indexSettings"); + openapiFields = new HashSet(Arrays.asList("indexSettings")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -148,7 +149,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetOpenSearchIndexRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetOpenSearchIndexRequest is not found in the empty JSON string", SetOpenSearchIndexRequest.openapiRequiredFields.toString())); } @@ -158,7 +159,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetOpenSearchIndexRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetOpenSearchIndexRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -166,7 +167,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); // validate the optional field `indexSettings` if (jsonObj.get("indexSettings") != null && !jsonObj.get("indexSettings").isJsonNull()) { - OpenSearchIndex.validateJsonElement(jsonObj.get("indexSettings")); + OpenSearchIndexSetting.validateJsonElement(jsonObj.get("indexSettings")); } } diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java index afca925a4..f9cfd0cd4 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetOpenSearchIndexResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetOpenSearchIndexResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetOpenSearchIndexResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetOpenSearchIndexResponse is not found in the empty JSON string", SetOpenSearchIndexResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetOpenSearchIndexResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetOpenSearchIndexResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java new file mode 100644 index 000000000..6cd36822c --- /dev/null +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java @@ -0,0 +1,223 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * SetOpenSearchIndiceRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class SetOpenSearchIndiceRequest { + public static final String SERIALIZED_NAME_INDEX_NAME = "indexName"; + @SerializedName(SERIALIZED_NAME_INDEX_NAME) + @javax.annotation.Nullable + private String indexName; + + public SetOpenSearchIndiceRequest() {} + + public SetOpenSearchIndiceRequest indexName(@javax.annotation.Nullable String indexName) { + this.indexName = indexName; + return this; + } + + /** + * The name of the index to set for SiteId + * + * @return indexName + */ + @javax.annotation.Nullable + public String getIndexName() { + return indexName; + } + + public void setIndexName(@javax.annotation.Nullable String indexName) { + this.indexName = indexName; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SetOpenSearchIndiceRequest setOpenSearchIndiceRequest = (SetOpenSearchIndiceRequest) o; + return Objects.equals(this.indexName, setOpenSearchIndiceRequest.indexName); + } + + @Override + public int hashCode() { + return Objects.hash(indexName); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SetOpenSearchIndiceRequest {\n"); + sb.append(" indexName: ").append(toIndentedString(indexName)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("indexName")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to SetOpenSearchIndiceRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!SetOpenSearchIndiceRequest.openapiRequiredFields.isEmpty()) { // has required fields but + // JSON element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in SetOpenSearchIndiceRequest is not found in the empty JSON string", + SetOpenSearchIndiceRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!SetOpenSearchIndiceRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `SetOpenSearchIndiceRequest` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("indexName") != null && !jsonObj.get("indexName").isJsonNull()) + && !jsonObj.get("indexName").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `indexName` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("indexName").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!SetOpenSearchIndiceRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'SetOpenSearchIndiceRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(SetOpenSearchIndiceRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, SetOpenSearchIndiceRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public SetOpenSearchIndiceRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of SetOpenSearchIndiceRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of SetOpenSearchIndiceRequest + * @throws IOException if the JSON string is invalid with respect to SetOpenSearchIndiceRequest + */ + public static SetOpenSearchIndiceRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, SetOpenSearchIndiceRequest.class); + } + + /** + * Convert an instance of SetOpenSearchIndiceRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/SetResponse.java b/src/main/java/com/formkiq/client/model/SetResponse.java index 8b80aa071..664628809 100644 --- a/src/main/java/com/formkiq/client/model/SetResponse.java +++ b/src/main/java/com/formkiq/client/model/SetResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetResponse is not found in the empty JSON string", SetResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java b/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java index 1e62ef461..b34c4a70c 100644 --- a/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java +++ b/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAttributeSchemaOptional; import com.formkiq.client.model.AddAttributeSchemaRequired; import com.formkiq.client.model.AttributeSchemaCompositeKey; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * SetSchemaAttributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetSchemaAttributes { public static final String SERIALIZED_NAME_COMPOSITE_KEYS = "compositeKeys"; @SerializedName(SERIALIZED_NAME_COMPOSITE_KEYS) @@ -247,14 +249,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("compositeKeys"); - openapiFields.add("required"); - openapiFields.add("optional"); - openapiFields.add("allowAdditionalAttributes"); + openapiFields = new HashSet( + Arrays.asList("compositeKeys", "required", "optional", "allowAdditionalAttributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -267,7 +266,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetSchemaAttributes.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetSchemaAttributes is not found in the empty JSON string", SetSchemaAttributes.openapiRequiredFields.toString())); } @@ -277,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetSchemaAttributes.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetSchemaAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -288,7 +287,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraycompositeKeys != null) { // ensure the json data is an array if (!jsonObj.get("compositeKeys").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `compositeKeys` to be an array in the JSON string but got `%s`", jsonObj.get("compositeKeys").toString())); } @@ -304,7 +303,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayrequired != null) { // ensure the json data is an array if (!jsonObj.get("required").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `required` to be an array in the JSON string but got `%s`", jsonObj.get("required").toString())); } @@ -320,7 +319,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayoptional != null) { // ensure the json data is an array if (!jsonObj.get("optional").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `optional` to be an array in the JSON string but got `%s`", jsonObj.get("optional").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java b/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java index 15f616797..f46836c30 100644 --- a/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java +++ b/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SetSchemaAttributes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * SetSitesSchemaRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetSitesSchemaRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -158,12 +160,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -176,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetSitesSchemaRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetSitesSchemaRequest is not found in the empty JSON string", SetSitesSchemaRequest.openapiRequiredFields.toString())); } @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetSitesSchemaRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetSitesSchemaRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -194,7 +194,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java b/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java index bd8988b5e..5d1f42890 100644 --- a/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddWorkflowStep; import com.formkiq.client.model.WorkflowStatus; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * SetWorkflowRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -222,17 +224,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("status"); - openapiFields.add("steps"); + openapiFields = new HashSet(Arrays.asList("name", "description", "status", "steps")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("name"); - openapiRequiredFields.add("status"); - openapiRequiredFields.add("steps"); + openapiRequiredFields = new HashSet(Arrays.asList("name", "status", "steps")); } /** @@ -245,7 +240,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetWorkflowRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetWorkflowRequest is not found in the empty JSON string", SetWorkflowRequest.openapiRequiredFields.toString())); } @@ -255,7 +250,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetWorkflowRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -264,20 +259,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : SetWorkflowRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if (!jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -285,9 +280,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti WorkflowStatus.validateJsonElement(jsonObj.get("status")); // ensure the json data is an array if (!jsonObj.get("steps").isJsonArray()) { - throw new IllegalArgumentException( - String.format("Expected the field `steps` to be an array in the JSON string but got `%s`", - jsonObj.get("steps").toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `steps` to be an array in the JSON string but got `%s`", + jsonObj.get("steps").toString())); } JsonArray jsonArraysteps = jsonObj.getAsJsonArray("steps"); diff --git a/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java b/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java index aa82953c4..ae5138e15 100644 --- a/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * SetWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SetWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SetWorkflowResponse is not found in the empty JSON string", SetWorkflowResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SetWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SetWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Site.java b/src/main/java/com/formkiq/client/model/Site.java index 9732770f7..0d0e28689 100644 --- a/src/main/java/com/formkiq/client/model/Site.java +++ b/src/main/java/com/formkiq/client/model/Site.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SiteConfig; import com.formkiq.client.model.SiteGroupPermissions; import com.formkiq.client.model.SiteStatus; @@ -55,6 +56,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -62,8 +64,8 @@ * Site */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Site { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -383,18 +385,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("siteId"); - openapiFields.add("title"); - openapiFields.add("status"); - openapiFields.add("permission"); - openapiFields.add("permissions"); - openapiFields.add("uploadEmail"); - openapiFields.add("config"); - openapiFields.add("usage"); + openapiFields = new HashSet(Arrays.asList("siteId", "title", "status", "permission", + "permissions", "uploadEmail", "config", "usage")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -406,9 +401,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Site.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Site is not found in the empty JSON string", - Site.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Site is not found in the empty JSON string", + Site.openapiRequiredFields.toString())); } } @@ -416,7 +411,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Site.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Site` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -424,13 +419,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("title") != null && !jsonObj.get("title").isJsonNull()) && !jsonObj.get("title").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("title").toString())); } @@ -440,7 +435,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("permission") != null && !jsonObj.get("permission").isJsonNull()) && !jsonObj.get("permission").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permission` to be a primitive type in the JSON string but got `%s`", jsonObj.get("permission").toString())); } @@ -451,13 +446,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } if ((jsonObj.get("uploadEmail") != null && !jsonObj.get("uploadEmail").isJsonNull()) && !jsonObj.get("uploadEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `uploadEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uploadEmail").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SiteConfig.java b/src/main/java/com/formkiq/client/model/SiteConfig.java index 58506ce88..be5520e44 100644 --- a/src/main/java/com/formkiq/client/model/SiteConfig.java +++ b/src/main/java/com/formkiq/client/model/SiteConfig.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.OcrConfig; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * SiteConfig */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SiteConfig { public static final String SERIALIZED_NAME_MAX_CONTENT_LENGTH_BYTES = "maxContentLengthBytes"; @SerializedName(SERIALIZED_NAME_MAX_CONTENT_LENGTH_BYTES) @@ -212,14 +214,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("maxContentLengthBytes"); - openapiFields.add("maxDocuments"); - openapiFields.add("maxWebhooks"); - openapiFields.add("ocr"); + openapiFields = new HashSet( + Arrays.asList("maxContentLengthBytes", "maxDocuments", "maxWebhooks", "ocr")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -232,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SiteConfig.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SiteConfig is not found in the empty JSON string", SiteConfig.openapiRequiredFields.toString())); } @@ -242,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SiteConfig.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SiteConfig` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -251,19 +250,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if ((jsonObj.get("maxContentLengthBytes") != null && !jsonObj.get("maxContentLengthBytes").isJsonNull()) && !jsonObj.get("maxContentLengthBytes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxContentLengthBytes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxContentLengthBytes").toString())); } if ((jsonObj.get("maxDocuments") != null && !jsonObj.get("maxDocuments").isJsonNull()) && !jsonObj.get("maxDocuments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxDocuments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxDocuments").toString())); } if ((jsonObj.get("maxWebhooks") != null && !jsonObj.get("maxWebhooks").isJsonNull()) && !jsonObj.get("maxWebhooks").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxWebhooks` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxWebhooks").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SiteGroup.java b/src/main/java/com/formkiq/client/model/SiteGroup.java index b165427c2..d89de6510 100644 --- a/src/main/java/com/formkiq/client/model/SiteGroup.java +++ b/src/main/java/com/formkiq/client/model/SiteGroup.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SiteGroupPermissions; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * SiteGroup */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SiteGroup { public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("permissions"); + openapiFields = new HashSet(Arrays.asList("permissions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SiteGroup.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SiteGroup is not found in the empty JSON string", SiteGroup.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SiteGroup.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SiteGroup` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -176,7 +177,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java b/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java index bc0ae7937..f52954d1e 100644 --- a/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java +++ b/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/SiteStatus.java b/src/main/java/com/formkiq/client/model/SiteStatus.java index 517b44e33..b3535f939 100644 --- a/src/main/java/com/formkiq/client/model/SiteStatus.java +++ b/src/main/java/com/formkiq/client/model/SiteStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/SiteUsage.java b/src/main/java/com/formkiq/client/model/SiteUsage.java index 80d67d827..b39f20f70 100644 --- a/src/main/java/com/formkiq/client/model/SiteUsage.java +++ b/src/main/java/com/formkiq/client/model/SiteUsage.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * SiteUsage */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class SiteUsage { public static final String SERIALIZED_NAME_DOCUMENT_COUNT = "documentCount"; @SerializedName(SERIALIZED_NAME_DOCUMENT_COUNT) @@ -158,12 +160,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("documentCount"); - openapiFields.add("ocrTransactionCount"); + openapiFields = new HashSet(Arrays.asList("documentCount", "ocrTransactionCount")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -176,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SiteUsage.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in SiteUsage is not found in the empty JSON string", SiteUsage.openapiRequiredFields.toString())); } @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!SiteUsage.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `SiteUsage` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/StringFormat.java b/src/main/java/com/formkiq/client/model/StringFormat.java index 48baea1a1..9ccf1edff 100644 --- a/src/main/java/com/formkiq/client/model/StringFormat.java +++ b/src/main/java/com/formkiq/client/model/StringFormat.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.StringGeneratorType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * StringFormat */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class StringFormat { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -184,13 +186,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("staticValue"); - openapiFields.add("padding"); + openapiFields = new HashSet(Arrays.asList("type", "staticValue", "padding")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -203,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!StringFormat.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in StringFormat is not found in the empty JSON string", StringFormat.openapiRequiredFields.toString())); } @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!StringFormat.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `StringFormat` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -225,7 +224,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("staticValue") != null && !jsonObj.get("staticValue").isJsonNull()) && !jsonObj.get("staticValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `staticValue` to be a primitive type in the JSON string but got `%s`", jsonObj.get("staticValue").toString())); } diff --git a/src/main/java/com/formkiq/client/model/StringGeneratorType.java b/src/main/java/com/formkiq/client/model/StringGeneratorType.java index b5e5964a2..effcbdab9 100644 --- a/src/main/java/com/formkiq/client/model/StringGeneratorType.java +++ b/src/main/java/com/formkiq/client/model/StringGeneratorType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/Task.java b/src/main/java/com/formkiq/client/model/Task.java index a9fe92c77..8b63a61c8 100644 --- a/src/main/java/com/formkiq/client/model/Task.java +++ b/src/main/java/com/formkiq/client/model/Task.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.TaskStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Task */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Task { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -409,21 +411,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("taskId"); - openapiFields.add("insertedDate"); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("userId"); - openapiFields.add("status"); - openapiFields.add("metadata"); + openapiFields = + new HashSet(Arrays.asList("taskId", "insertedDate", "name", "description", + "plannedStartDate", "startDate", "endDate", "dueDate", "userId", "status", "metadata")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -435,9 +428,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!Task.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in Task is not found in the empty JSON string", - Task.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in Task is not found in the empty JSON string", + Task.openapiRequiredFields.toString())); } } @@ -445,7 +438,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Task.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Task` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -453,55 +446,55 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("taskId") != null && !jsonObj.get("taskId").isJsonNull()) && !jsonObj.get("taskId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `taskId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taskId").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/TaskStatus.java b/src/main/java/com/formkiq/client/model/TaskStatus.java index f52af1baa..6b7fb7a11 100644 --- a/src/main/java/com/formkiq/client/model/TaskStatus.java +++ b/src/main/java/com/formkiq/client/model/TaskStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/TextractQuery.java b/src/main/java/com/formkiq/client/model/TextractQuery.java new file mode 100644 index 000000000..e32157610 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/TextractQuery.java @@ -0,0 +1,300 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * A question to ask Textract + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class TextractQuery { + public static final String SERIALIZED_NAME_TEXT = "text"; + @SerializedName(SERIALIZED_NAME_TEXT) + @javax.annotation.Nullable + private String text; + + public static final String SERIALIZED_NAME_ALIAS = "alias"; + @SerializedName(SERIALIZED_NAME_ALIAS) + @javax.annotation.Nullable + private String alias; + + public static final String SERIALIZED_NAME_PAGES = "pages"; + @SerializedName(SERIALIZED_NAME_PAGES) + @javax.annotation.Nullable + private List pages = new ArrayList<>(); + + public TextractQuery() {} + + public TextractQuery text(@javax.annotation.Nullable String text) { + this.text = text; + return this; + } + + /** + * Natural-language question + * + * @return text + */ + @javax.annotation.Nullable + public String getText() { + return text; + } + + public void setText(@javax.annotation.Nullable String text) { + this.text = text; + } + + + public TextractQuery alias(@javax.annotation.Nullable String alias) { + this.alias = alias; + return this; + } + + /** + * Label to identify this query in the result + * + * @return alias + */ + @javax.annotation.Nullable + public String getAlias() { + return alias; + } + + public void setAlias(@javax.annotation.Nullable String alias) { + this.alias = alias; + } + + + public TextractQuery pages(@javax.annotation.Nullable List pages) { + this.pages = pages; + return this; + } + + public TextractQuery addPagesItem(String pagesItem) { + if (this.pages == null) { + this.pages = new ArrayList<>(); + } + this.pages.add(pagesItem); + return this; + } + + /** + * Page selection + * + * @return pages + */ + @javax.annotation.Nullable + public List getPages() { + return pages; + } + + public void setPages(@javax.annotation.Nullable List pages) { + this.pages = pages; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + TextractQuery textractQuery = (TextractQuery) o; + return Objects.equals(this.text, textractQuery.text) + && Objects.equals(this.alias, textractQuery.alias) + && Objects.equals(this.pages, textractQuery.pages); + } + + @Override + public int hashCode() { + return Objects.hash(text, alias, pages); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class TextractQuery {\n"); + sb.append(" text: ").append(toIndentedString(text)).append("\n"); + sb.append(" alias: ").append(toIndentedString(alias)).append("\n"); + sb.append(" pages: ").append(toIndentedString(pages)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("text", "alias", "pages")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to TextractQuery + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!TextractQuery.openapiRequiredFields.isEmpty()) { // has required fields but JSON element + // is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in TextractQuery is not found in the empty JSON string", + TextractQuery.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!TextractQuery.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `TextractQuery` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) + && !jsonObj.get("text").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `text` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("text").toString())); + } + if ((jsonObj.get("alias") != null && !jsonObj.get("alias").isJsonNull()) + && !jsonObj.get("alias").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `alias` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("alias").toString())); + } + // ensure the optional json data is an array if present + if (jsonObj.get("pages") != null && !jsonObj.get("pages").isJsonNull() + && !jsonObj.get("pages").isJsonArray()) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "Expected the field `pages` to be an array in the JSON string but got `%s`", + jsonObj.get("pages").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!TextractQuery.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'TextractQuery' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(TextractQuery.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, TextractQuery value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public TextractQuery read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of TextractQuery given an JSON string + * + * @param jsonString JSON string + * @return An instance of TextractQuery + * @throws IOException if the JSON string is invalid with respect to TextractQuery + */ + public static TextractQuery fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, TextractQuery.class); + } + + /** + * Convert an instance of TextractQuery to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/UpdateAttribute.java b/src/main/java/com/formkiq/client/model/UpdateAttribute.java new file mode 100644 index 000000000..f6a4bd955 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/UpdateAttribute.java @@ -0,0 +1,254 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AttributeType; +import com.formkiq.client.model.Watermark; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * UpdateAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class UpdateAttribute { + public static final String SERIALIZED_NAME_TYPE = "type"; + @SerializedName(SERIALIZED_NAME_TYPE) + @javax.annotation.Nullable + private AttributeType type = AttributeType.STANDARD; + + public static final String SERIALIZED_NAME_WATERMARK = "watermark"; + @SerializedName(SERIALIZED_NAME_WATERMARK) + @javax.annotation.Nullable + private Watermark watermark; + + public UpdateAttribute() {} + + public UpdateAttribute type(@javax.annotation.Nullable AttributeType type) { + this.type = type; + return this; + } + + /** + * Get type + * + * @return type + */ + @javax.annotation.Nullable + public AttributeType getType() { + return type; + } + + public void setType(@javax.annotation.Nullable AttributeType type) { + this.type = type; + } + + + public UpdateAttribute watermark(@javax.annotation.Nullable Watermark watermark) { + this.watermark = watermark; + return this; + } + + /** + * Get watermark + * + * @return watermark + */ + @javax.annotation.Nullable + public Watermark getWatermark() { + return watermark; + } + + public void setWatermark(@javax.annotation.Nullable Watermark watermark) { + this.watermark = watermark; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateAttribute updateAttribute = (UpdateAttribute) o; + return Objects.equals(this.type, updateAttribute.type) + && Objects.equals(this.watermark, updateAttribute.watermark); + } + + @Override + public int hashCode() { + return Objects.hash(type, watermark); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateAttribute {\n"); + sb.append(" type: ").append(toIndentedString(type)).append("\n"); + sb.append(" watermark: ").append(toIndentedString(watermark)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("type", "watermark")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UpdateAttribute + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UpdateAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in UpdateAttribute is not found in the empty JSON string", + UpdateAttribute.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UpdateAttribute.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `UpdateAttribute` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `type` + if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) { + AttributeType.validateJsonElement(jsonObj.get("type")); + } + // validate the optional field `watermark` + if (jsonObj.get("watermark") != null && !jsonObj.get("watermark").isJsonNull()) { + Watermark.validateJsonElement(jsonObj.get("watermark")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateAttribute.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateAttribute' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(UpdateAttribute.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateAttribute value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateAttribute read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateAttribute given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateAttribute + * @throws IOException if the JSON string is invalid with respect to UpdateAttribute + */ + public static UpdateAttribute fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateAttribute.class); + } + + /** + * Convert an instance of UpdateAttribute to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java new file mode 100644 index 000000000..26eafa6f1 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java @@ -0,0 +1,229 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.UpdateAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * UpdateAttributeRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class UpdateAttributeRequest { + public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; + @SerializedName(SERIALIZED_NAME_ATTRIBUTE) + @javax.annotation.Nonnull + private UpdateAttribute attribute; + + public UpdateAttributeRequest() {} + + public UpdateAttributeRequest attribute(@javax.annotation.Nonnull UpdateAttribute attribute) { + this.attribute = attribute; + return this; + } + + /** + * Get attribute + * + * @return attribute + */ + @javax.annotation.Nonnull + public UpdateAttribute getAttribute() { + return attribute; + } + + public void setAttribute(@javax.annotation.Nonnull UpdateAttribute attribute) { + this.attribute = attribute; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateAttributeRequest updateAttributeRequest = (UpdateAttributeRequest) o; + return Objects.equals(this.attribute, updateAttributeRequest.attribute); + } + + @Override + public int hashCode() { + return Objects.hash(attribute); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateAttributeRequest {\n"); + sb.append(" attribute: ").append(toIndentedString(attribute)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("attribute")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(Arrays.asList("attribute")); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UpdateAttributeRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UpdateAttributeRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in UpdateAttributeRequest is not found in the empty JSON string", + UpdateAttributeRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UpdateAttributeRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `UpdateAttributeRequest` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : UpdateAttributeRequest.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the required field `attribute` + UpdateAttribute.validateJsonElement(jsonObj.get("attribute")); + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateAttributeRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateAttributeRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(UpdateAttributeRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateAttributeRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateAttributeRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateAttributeRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateAttributeRequest + * @throws IOException if the JSON string is invalid with respect to UpdateAttributeRequest + */ + public static UpdateAttributeRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateAttributeRequest.class); + } + + /** + * Convert an instance of UpdateAttributeRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/UpdateCase.java b/src/main/java/com/formkiq/client/model/UpdateCase.java index 079d0b542..cc800da0f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCase.java +++ b/src/main/java/com/formkiq/client/model/UpdateCase.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.CaseStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * UpdateCase */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateCase { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,19 +369,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("status"); - openapiFields.add("description"); - openapiFields.add("metadata"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("documentIds"); + openapiFields = new HashSet(Arrays.asList("name", "status", "description", "metadata", + "plannedStartDate", "startDate", "endDate", "dueDate", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -392,7 +386,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateCase.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateCase is not found in the empty JSON string", UpdateCase.openapiRequiredFields.toString())); } @@ -402,7 +396,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateCase.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateCase` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -410,7 +404,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } @@ -420,38 +414,38 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java b/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java index 4d256be4e..dd29e1948 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateCase; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateCaseRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateCaseRequest { public static final String SERIALIZED_NAME_CASE = "case"; @SerializedName(SERIALIZED_NAME_CASE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("case"); + openapiFields = new HashSet(Arrays.asList("case")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateCaseRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateCaseRequest is not found in the empty JSON string", UpdateCaseRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateCaseRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateCaseRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java b/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java index 6292d7f91..2cde72dd8 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateCaseResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateCaseResponse { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("caseId"); + openapiFields = new HashSet(Arrays.asList("caseId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateCaseResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateCaseResponse is not found in the empty JSON string", UpdateCaseResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateCaseResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateCaseResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("caseId") != null && !jsonObj.get("caseId").isJsonNull()) && !jsonObj.get("caseId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `caseId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("caseId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java b/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java index 14997cc80..161f7871d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocusignConfig; import com.formkiq.client.model.GoogleConfig; import com.formkiq.client.model.OcrConfig; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * UpdateConfigurationRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateConfigurationRequest { public static final String SERIALIZED_NAME_CHAT_GPT_API_KEY = "chatGptApiKey"; @SerializedName(SERIALIZED_NAME_CHAT_GPT_API_KEY) @@ -326,18 +328,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("chatGptApiKey"); - openapiFields.add("maxContentLengthBytes"); - openapiFields.add("maxDocuments"); - openapiFields.add("maxWebhooks"); - openapiFields.add("notificationEmail"); - openapiFields.add("ocr"); - openapiFields.add("google"); - openapiFields.add("docusign"); + openapiFields = new HashSet(Arrays.asList("chatGptApiKey", "maxContentLengthBytes", + "maxDocuments", "maxWebhooks", "notificationEmail", "ocr", "google", "docusign")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -350,7 +345,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateConfigurationRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateConfigurationRequest is not found in the empty JSON string", UpdateConfigurationRequest.openapiRequiredFields.toString())); } @@ -360,7 +355,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateConfigurationRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateConfigurationRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -368,32 +363,32 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("chatGptApiKey") != null && !jsonObj.get("chatGptApiKey").isJsonNull()) && !jsonObj.get("chatGptApiKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `chatGptApiKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("chatGptApiKey").toString())); } if ((jsonObj.get("maxContentLengthBytes") != null && !jsonObj.get("maxContentLengthBytes").isJsonNull()) && !jsonObj.get("maxContentLengthBytes").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxContentLengthBytes` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxContentLengthBytes").toString())); } if ((jsonObj.get("maxDocuments") != null && !jsonObj.get("maxDocuments").isJsonNull()) && !jsonObj.get("maxDocuments").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxDocuments` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxDocuments").toString())); } if ((jsonObj.get("maxWebhooks") != null && !jsonObj.get("maxWebhooks").isJsonNull()) && !jsonObj.get("maxWebhooks").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `maxWebhooks` to be a primitive type in the JSON string but got `%s`", jsonObj.get("maxWebhooks").toString())); } if ((jsonObj.get("notificationEmail") != null && !jsonObj.get("notificationEmail").isJsonNull()) && !jsonObj.get("notificationEmail").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `notificationEmail` to be a primitive type in the JSON string but got `%s`", jsonObj.get("notificationEmail").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java b/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java index 0a5b3eeed..f6da773d2 100644 --- a/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateConfigurationResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateConfigurationResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateConfigurationResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateConfigurationResponse is not found in the empty JSON string", UpdateConfigurationResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateConfigurationResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateConfigurationResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java index 1234fd70a..4b19b7f79 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentMetadata; import com.formkiq.client.model.AddDocumentTag; import com.formkiq.client.model.ChecksumType; @@ -57,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -64,8 +66,8 @@ * UpdateDocumentFulltextRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -473,22 +475,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("contentType"); - openapiFields.add("content"); - openapiFields.add("contentUrls"); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("attributes"); + openapiFields = new HashSet( + Arrays.asList("contentType", "content", "contentUrls", "path", "width", "height", + "deepLinkPath", "checksum", "checksumType", "tags", "metadata", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -503,7 +495,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateDocumentFulltextRequest.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateDocumentFulltextRequest is not found in the empty JSON string", UpdateDocumentFulltextRequest.openapiRequiredFields.toString())); } @@ -513,7 +505,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateDocumentFulltextRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateDocumentFulltextRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -521,50 +513,50 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) && !jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("contentUrls") != null && !jsonObj.get("contentUrls").isJsonNull() && !jsonObj.get("contentUrls").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentUrls` to be an array in the JSON string but got `%s`", jsonObj.get("contentUrls").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -577,7 +569,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -593,7 +585,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java index 314471a09..ef1050303 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateDocumentFulltextResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateDocumentFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateDocumentFulltextResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateDocumentFulltextResponse is not found in the empty JSON string", UpdateDocumentFulltextResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateDocumentFulltextResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateDocumentFulltextResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java b/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java index 5bbacf12e..759e8021b 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddAction; import com.formkiq.client.model.AddChildDocument; import com.formkiq.client.model.AddDocumentAttribute; @@ -57,6 +58,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -64,8 +66,8 @@ * UpdateDocumentRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateDocumentRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -532,24 +534,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("path"); - openapiFields.add("width"); - openapiFields.add("height"); - openapiFields.add("deepLinkPath"); - openapiFields.add("contentType"); - openapiFields.add("isBase64"); - openapiFields.add("content"); - openapiFields.add("checksum"); - openapiFields.add("checksumType"); - openapiFields.add("tags"); - openapiFields.add("metadata"); - openapiFields.add("attributes"); - openapiFields.add("actions"); - openapiFields.add("documents"); + openapiFields = new HashSet(Arrays.asList("path", "width", "height", "deepLinkPath", + "contentType", "isBase64", "content", "checksum", "checksumType", "tags", "metadata", + "attributes", "actions", "documents")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -562,7 +552,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateDocumentRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateDocumentRequest is not found in the empty JSON string", UpdateDocumentRequest.openapiRequiredFields.toString())); } @@ -572,7 +562,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateDocumentRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateDocumentRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -580,43 +570,43 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("width") != null && !jsonObj.get("width").isJsonNull()) && !jsonObj.get("width").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `width` to be a primitive type in the JSON string but got `%s`", jsonObj.get("width").toString())); } if ((jsonObj.get("height") != null && !jsonObj.get("height").isJsonNull()) && !jsonObj.get("height").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `height` to be a primitive type in the JSON string but got `%s`", jsonObj.get("height").toString())); } if ((jsonObj.get("deepLinkPath") != null && !jsonObj.get("deepLinkPath").isJsonNull()) && !jsonObj.get("deepLinkPath").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `deepLinkPath` to be a primitive type in the JSON string but got `%s`", jsonObj.get("deepLinkPath").toString())); } if ((jsonObj.get("contentType") != null && !jsonObj.get("contentType").isJsonNull()) && !jsonObj.get("contentType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `contentType` to be a primitive type in the JSON string but got `%s`", jsonObj.get("contentType").toString())); } if ((jsonObj.get("content") != null && !jsonObj.get("content").isJsonNull()) && !jsonObj.get("content").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `content` to be a primitive type in the JSON string but got `%s`", jsonObj.get("content").toString())); } if ((jsonObj.get("checksum") != null && !jsonObj.get("checksum").isJsonNull()) && !jsonObj.get("checksum").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `checksum` to be a primitive type in the JSON string but got `%s`", jsonObj.get("checksum").toString())); } @@ -629,7 +619,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } @@ -645,7 +635,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraymetadata != null) { // ensure the json data is an array if (!jsonObj.get("metadata").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `metadata` to be an array in the JSON string but got `%s`", jsonObj.get("metadata").toString())); } @@ -661,7 +651,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayattributes != null) { // ensure the json data is an array if (!jsonObj.get("attributes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `attributes` to be an array in the JSON string but got `%s`", jsonObj.get("attributes").toString())); } @@ -677,7 +667,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactions != null) { // ensure the json data is an array if (!jsonObj.get("actions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `actions` to be an array in the JSON string but got `%s`", jsonObj.get("actions").toString())); } @@ -693,7 +683,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydocuments != null) { // ensure the json data is an array if (!jsonObj.get("documents").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documents` to be an array in the JSON string but got `%s`", jsonObj.get("documents").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java b/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java new file mode 100644 index 000000000..8ff3ce927 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java @@ -0,0 +1,222 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import java.util.Objects; +import java.util.Locale; +import com.formkiq.client.model.AddEntity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import java.util.Locale; + +import com.formkiq.client.invoker.JSON; + +/** + * UpdateEntityRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") +public class UpdateEntityRequest { + public static final String SERIALIZED_NAME_ENTITY = "entity"; + @SerializedName(SERIALIZED_NAME_ENTITY) + @javax.annotation.Nullable + private AddEntity entity; + + public UpdateEntityRequest() {} + + public UpdateEntityRequest entity(@javax.annotation.Nullable AddEntity entity) { + this.entity = entity; + return this; + } + + /** + * Get entity + * + * @return entity + */ + @javax.annotation.Nullable + public AddEntity getEntity() { + return entity; + } + + public void setEntity(@javax.annotation.Nullable AddEntity entity) { + this.entity = entity; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + UpdateEntityRequest updateEntityRequest = (UpdateEntityRequest) o; + return Objects.equals(this.entity, updateEntityRequest.entity); + } + + @Override + public int hashCode() { + return Objects.hash(entity); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class UpdateEntityRequest {\n"); + sb.append(" entity: ").append(toIndentedString(entity)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(Arrays.asList("entity")); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(0); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to UpdateEntityRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!UpdateEntityRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in UpdateEntityRequest is not found in the empty JSON string", + UpdateEntityRequest.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!UpdateEntityRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The field `%s` in the JSON string is not defined in the `UpdateEntityRequest` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + // validate the optional field `entity` + if (jsonObj.get("entity") != null && !jsonObj.get("entity").isJsonNull()) { + AddEntity.validateJsonElement(jsonObj.get("entity")); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!UpdateEntityRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'UpdateEntityRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(UpdateEntityRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, UpdateEntityRequest value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public UpdateEntityRequest read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of UpdateEntityRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of UpdateEntityRequest + * @throws IOException if the JSON string is invalid with respect to UpdateEntityRequest + */ + public static UpdateEntityRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, UpdateEntityRequest.class); + } + + /** + * Convert an instance of UpdateEntityRequest to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java index 1775f6a6e..fb002176f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateMatchingDocumentTagsRequestMatch; import com.formkiq.client.model.UpdateMatchingDocumentTagsRequestUpdate; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * Add/Update of multiple document tag(s) based on document(s) that have the matching tag. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateMatchingDocumentTagsRequest { public static final String SERIALIZED_NAME_MATCH = "match"; @SerializedName(SERIALIZED_NAME_MATCH) @@ -161,14 +163,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("match"); - openapiFields.add("update"); + openapiFields = new HashSet(Arrays.asList("match", "update")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("match"); - openapiRequiredFields.add("update"); + openapiRequiredFields = new HashSet(Arrays.asList("match", "update")); } /** @@ -183,7 +181,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateMatchingDocumentTagsRequest.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateMatchingDocumentTagsRequest is not found in the empty JSON string", UpdateMatchingDocumentTagsRequest.openapiRequiredFields.toString())); } @@ -193,7 +191,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateMatchingDocumentTagsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateMatchingDocumentTagsRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,9 +200,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : UpdateMatchingDocumentTagsRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java index 927c16def..c6e040c77 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.MatchDocumentTag; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateMatchingDocumentTagsRequestMatch */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateMatchingDocumentTagsRequestMatch { public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) @@ -132,11 +134,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("tag"); + openapiFields = new HashSet(Arrays.asList("tag")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -152,7 +153,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // fields but // JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateMatchingDocumentTagsRequestMatch is not found in the empty JSON string", UpdateMatchingDocumentTagsRequestMatch.openapiRequiredFields.toString())); } @@ -162,7 +163,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateMatchingDocumentTagsRequestMatch.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateMatchingDocumentTagsRequestMatch` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java index 561a38bc6..20e383dcb 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.AddDocumentTag; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * Data to update */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateMatchingDocumentTagsRequestUpdate { public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -142,11 +144,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("tags"); + openapiFields = new HashSet(Arrays.asList("tags")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // JSON // element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateMatchingDocumentTagsRequestUpdate is not found in the empty JSON string", UpdateMatchingDocumentTagsRequestUpdate.openapiRequiredFields.toString())); } @@ -174,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateMatchingDocumentTagsRequestUpdate.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateMatchingDocumentTagsRequestUpdate` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -185,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraytags != null) { // ensure the json data is an array if (!jsonObj.get("tags").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java index 21c624be5..258419d74 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateMatchingDocumentTagsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateMatchingDocumentTagsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -149,7 +150,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!UpdateMatchingDocumentTagsResponse.openapiRequiredFields.isEmpty()) { // has required // fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateMatchingDocumentTagsResponse is not found in the empty JSON string", UpdateMatchingDocumentTagsResponse.openapiRequiredFields.toString())); } @@ -159,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateMatchingDocumentTagsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateMatchingDocumentTagsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateNigo.java b/src/main/java/com/formkiq/client/model/UpdateNigo.java index 7499641b5..ab5c9d5e2 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigo.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigo.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.NigoStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * UpdateNigo */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateNigo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,19 +369,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("status"); - openapiFields.add("metadata"); - openapiFields.add("documentIds"); + openapiFields = new HashSet(Arrays.asList("name", "description", "plannedStartDate", + "startDate", "endDate", "dueDate", "status", "metadata", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -392,7 +386,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateNigo.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateNigo is not found in the empty JSON string", UpdateNigo.openapiRequiredFields.toString())); } @@ -402,7 +396,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateNigo.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateNigo` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -410,37 +404,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } @@ -451,7 +445,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java b/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java index dd8806113..40f3a57d6 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateNigo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateNigoRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateNigoRequest { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("nigo"); + openapiFields = new HashSet(Arrays.asList("nigo")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateNigoRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateNigoRequest is not found in the empty JSON string", UpdateNigoRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateNigoRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateNigoRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java b/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java index 150ca21f1..8f86fbea0 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateNigoResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateNigoResponse { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("nigoId"); + openapiFields = new HashSet(Arrays.asList("nigoId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateNigoResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateNigoResponse is not found in the empty JSON string", UpdateNigoResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateNigoResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateNigoResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("nigoId") != null && !jsonObj.get("nigoId").isJsonNull()) && !jsonObj.get("nigoId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nigoId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nigoId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateResponse.java b/src/main/java/com/formkiq/client/model/UpdateResponse.java index b64fde922..c7debdf54 100644 --- a/src/main/java/com/formkiq/client/model/UpdateResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateResponse is not found in the empty JSON string", UpdateResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRule.java b/src/main/java/com/formkiq/client/model/UpdateRule.java index 90798df7e..798f9c133 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRule.java +++ b/src/main/java/com/formkiq/client/model/UpdateRule.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RuleCondition; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * UpdateRule */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateRule { public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) @@ -240,15 +242,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("priority"); - openapiFields.add("description"); - openapiFields.add("status"); - openapiFields.add("workflowId"); - openapiFields.add("conditions"); + openapiFields = new HashSet( + Arrays.asList("priority", "description", "status", "workflowId", "conditions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -261,7 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRule.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateRule is not found in the empty JSON string", UpdateRule.openapiRequiredFields.toString())); } @@ -271,7 +269,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateRule.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateRule` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -279,7 +277,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } @@ -289,7 +287,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java b/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java index 2100f5d6a..0389ba359 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateRule; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateRuleRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateRuleRequest { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("rule"); + openapiFields = new HashSet(Arrays.asList("rule")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRuleRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateRuleRequest is not found in the empty JSON string", UpdateRuleRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateRuleRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateRuleRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java b/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java index da4966b8e..4238dd057 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateRuleResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateRuleResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRuleResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateRuleResponse is not found in the empty JSON string", UpdateRuleResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateRuleResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateRuleResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleset.java b/src/main/java/com/formkiq/client/model/UpdateRuleset.java index 3f0a41e89..ff0843363 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleset.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleset.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.RulesetStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * UpdateRuleset */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateRuleset { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -212,14 +214,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("description"); - openapiFields.add("priority"); - openapiFields.add("version"); - openapiFields.add("status"); + openapiFields = + new HashSet(Arrays.asList("description", "priority", "version", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -232,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRuleset.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateRuleset is not found in the empty JSON string", UpdateRuleset.openapiRequiredFields.toString())); } @@ -242,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateRuleset.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateRuleset` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -250,7 +249,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java b/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java index 37dc988ee..0550b5cc8 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateRuleset; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateRulesetRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateRulesetRequest { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -130,12 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("ruleset"); + openapiFields = new HashSet(Arrays.asList("ruleset")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("ruleset"); + openapiRequiredFields = new HashSet(Arrays.asList("ruleset")); } /** @@ -148,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRulesetRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateRulesetRequest is not found in the empty JSON string", UpdateRulesetRequest.openapiRequiredFields.toString())); } @@ -158,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateRulesetRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateRulesetRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -167,9 +167,9 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : UpdateRulesetRequest.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); diff --git a/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java b/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java index 9c0e569f9..9e72b218f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateRulesetResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateRulesetResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateRulesetResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateRulesetResponse is not found in the empty JSON string", UpdateRulesetResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateRulesetResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateRulesetResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateSite.java b/src/main/java/com/formkiq/client/model/UpdateSite.java index 2a7a56a99..a54e16887 100644 --- a/src/main/java/com/formkiq/client/model/UpdateSite.java +++ b/src/main/java/com/formkiq/client/model/UpdateSite.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.SiteStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateSite */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateSite { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -157,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("title"); - openapiFields.add("status"); + openapiFields = new HashSet(Arrays.asList("title", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -175,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateSite.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateSite is not found in the empty JSON string", UpdateSite.openapiRequiredFields.toString())); } @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateSite.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateSite` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -193,7 +193,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("title") != null && !jsonObj.get("title").isJsonNull()) && !jsonObj.get("title").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `title` to be a primitive type in the JSON string but got `%s`", jsonObj.get("title").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java b/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java index 65037500f..ffb1e28be 100644 --- a/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateSite; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateSiteRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateSiteRequest { public static final String SERIALIZED_NAME_SITE = "site"; @SerializedName(SERIALIZED_NAME_SITE) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("site"); + openapiFields = new HashSet(Arrays.asList("site")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateSiteRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateSiteRequest is not found in the empty JSON string", UpdateSiteRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateSiteRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateSiteRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateTask.java b/src/main/java/com/formkiq/client/model/UpdateTask.java index 79b8d4262..e873bd7e3 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTask.java +++ b/src/main/java/com/formkiq/client/model/UpdateTask.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.TaskStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * UpdateTask */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateTask { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,19 +369,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("plannedStartDate"); - openapiFields.add("startDate"); - openapiFields.add("endDate"); - openapiFields.add("dueDate"); - openapiFields.add("status"); - openapiFields.add("metadata"); - openapiFields.add("documentIds"); + openapiFields = new HashSet(Arrays.asList("name", "description", "plannedStartDate", + "startDate", "endDate", "dueDate", "status", "metadata", "documentIds")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -392,7 +386,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateTask.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateTask is not found in the empty JSON string", UpdateTask.openapiRequiredFields.toString())); } @@ -402,7 +396,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateTask.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateTask` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -410,37 +404,37 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("plannedStartDate") != null && !jsonObj.get("plannedStartDate").isJsonNull()) && !jsonObj.get("plannedStartDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `plannedStartDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("plannedStartDate").toString())); } if ((jsonObj.get("startDate") != null && !jsonObj.get("startDate").isJsonNull()) && !jsonObj.get("startDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `startDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("startDate").toString())); } if ((jsonObj.get("endDate") != null && !jsonObj.get("endDate").isJsonNull()) && !jsonObj.get("endDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `endDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("endDate").toString())); } if ((jsonObj.get("dueDate") != null && !jsonObj.get("dueDate").isJsonNull()) && !jsonObj.get("dueDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `dueDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("dueDate").toString())); } @@ -451,7 +445,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("documentIds") != null && !jsonObj.get("documentIds").isJsonNull() && !jsonObj.get("documentIds").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `documentIds` to be an array in the JSON string but got `%s`", jsonObj.get("documentIds").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java b/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java index 8810c53bd..80c813851 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UpdateTask; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateTaskRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateTaskRequest { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -130,11 +132,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("task"); + openapiFields = new HashSet(Arrays.asList("task")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -147,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateTaskRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateTaskRequest is not found in the empty JSON string", UpdateTaskRequest.openapiRequiredFields.toString())); } @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateTaskRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateTaskRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java b/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java index 710e1022a..a366fea62 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateTaskResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateTaskResponse { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("taskId"); + openapiFields = new HashSet(Arrays.asList("taskId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateTaskResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateTaskResponse is not found in the empty JSON string", UpdateTaskResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateTaskResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateTaskResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("taskId") != null && !jsonObj.get("taskId").isJsonNull()) && !jsonObj.get("taskId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `taskId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("taskId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java b/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java index e74e81772..5f484ea3f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * UpdateWorkflowRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -184,13 +186,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("description"); - openapiFields.add("status"); + openapiFields = new HashSet(Arrays.asList("name", "description", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -203,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateWorkflowRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateWorkflowRequest is not found in the empty JSON string", UpdateWorkflowRequest.openapiRequiredFields.toString())); } @@ -213,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateWorkflowRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateWorkflowRequest` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -221,13 +220,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java b/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java index b8f72da0e..70b5b51b2 100644 --- a/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UpdateWorkflowResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UpdateWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +131,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("message"); + openapiFields = new HashSet(Arrays.asList("message")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -146,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateWorkflowResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UpdateWorkflowResponse is not found in the empty JSON string", UpdateWorkflowResponse.openapiRequiredFields.toString())); } @@ -156,7 +157,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UpdateWorkflowResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UpdateWorkflowResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -164,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("message") != null && !jsonObj.get("message").isJsonNull()) && !jsonObj.get("message").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `message` to be a primitive type in the JSON string but got `%s`", jsonObj.get("message").toString())); } diff --git a/src/main/java/com/formkiq/client/model/User.java b/src/main/java/com/formkiq/client/model/User.java index f8145962a..761e8454c 100644 --- a/src/main/java/com/formkiq/client/model/User.java +++ b/src/main/java/com/formkiq/client/model/User.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UserAttributes; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * User */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class User { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -292,17 +294,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("username"); - openapiFields.add("email"); - openapiFields.add("enabled"); - openapiFields.add("userStatus"); - openapiFields.add("insertedDate"); - openapiFields.add("lastModifiedDate"); - openapiFields.add("attributes"); + openapiFields = new HashSet(Arrays.asList("username", "email", "enabled", "userStatus", + "insertedDate", "lastModifiedDate", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -314,9 +310,9 @@ private String toIndentedString(Object o) { public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!User.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null - throw new IllegalArgumentException( - String.format("The required field(s) %s in User is not found in the empty JSON string", - User.openapiRequiredFields.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field(s) %s in User is not found in the empty JSON string", + User.openapiRequiredFields.toString())); } } @@ -324,7 +320,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!User.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `User` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -332,31 +328,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("username") != null && !jsonObj.get("username").isJsonNull()) && !jsonObj.get("username").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `username` to be a primitive type in the JSON string but got `%s`", jsonObj.get("username").toString())); } if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); } if ((jsonObj.get("userStatus") != null && !jsonObj.get("userStatus").isJsonNull()) && !jsonObj.get("userStatus").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userStatus` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userStatus").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("lastModifiedDate") != null && !jsonObj.get("lastModifiedDate").isJsonNull()) && !jsonObj.get("lastModifiedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `lastModifiedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("lastModifiedDate").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserActivity.java b/src/main/java/com/formkiq/client/model/UserActivity.java index 925e0b557..698d75302 100644 --- a/src/main/java/com/formkiq/client/model/UserActivity.java +++ b/src/main/java/com/formkiq/client/model/UserActivity.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Document; import com.formkiq.client.model.UserActivityChanges; import com.formkiq.client.model.UserActivityType; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * UserActivity */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UserActivity { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -250,15 +252,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("insertedDate"); - openapiFields.add("userId"); - openapiFields.add("document"); - openapiFields.add("changes"); + openapiFields = + new HashSet(Arrays.asList("type", "insertedDate", "userId", "document", "changes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -271,7 +269,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserActivity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UserActivity is not found in the empty JSON string", UserActivity.openapiRequiredFields.toString())); } @@ -281,7 +279,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UserActivity.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UserActivity` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -293,13 +291,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserActivityChanges.java b/src/main/java/com/formkiq/client/model/UserActivityChanges.java index 1d4a62ba3..dc61dbe7a 100644 --- a/src/main/java/com/formkiq/client/model/UserActivityChanges.java +++ b/src/main/java/com/formkiq/client/model/UserActivityChanges.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,22 +58,22 @@ * UserActivityChanges */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UserActivityChanges { public static final String SERIALIZED_NAME_OLD_VALUE = "oldValue"; @SerializedName(SERIALIZED_NAME_OLD_VALUE) @javax.annotation.Nullable - private String oldValue; + private Object oldValue; public static final String SERIALIZED_NAME_NEW_VALUE = "newValue"; @SerializedName(SERIALIZED_NAME_NEW_VALUE) @javax.annotation.Nullable - private String newValue; + private Object newValue; public UserActivityChanges() {} - public UserActivityChanges oldValue(@javax.annotation.Nullable String oldValue) { + public UserActivityChanges oldValue(@javax.annotation.Nullable Object oldValue) { this.oldValue = oldValue; return this; } @@ -82,16 +84,16 @@ public UserActivityChanges oldValue(@javax.annotation.Nullable String oldValue) * @return oldValue */ @javax.annotation.Nullable - public String getOldValue() { + public Object getOldValue() { return oldValue; } - public void setOldValue(@javax.annotation.Nullable String oldValue) { + public void setOldValue(@javax.annotation.Nullable Object oldValue) { this.oldValue = oldValue; } - public UserActivityChanges newValue(@javax.annotation.Nullable String newValue) { + public UserActivityChanges newValue(@javax.annotation.Nullable Object newValue) { this.newValue = newValue; return this; } @@ -102,11 +104,11 @@ public UserActivityChanges newValue(@javax.annotation.Nullable String newValue) * @return newValue */ @javax.annotation.Nullable - public String getNewValue() { + public Object getNewValue() { return newValue; } - public void setNewValue(@javax.annotation.Nullable String newValue) { + public void setNewValue(@javax.annotation.Nullable Object newValue) { this.newValue = newValue; } @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("oldValue"); - openapiFields.add("newValue"); + openapiFields = new HashSet(Arrays.asList("oldValue", "newValue")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserActivityChanges.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UserActivityChanges is not found in the empty JSON string", UserActivityChanges.openapiRequiredFields.toString())); } @@ -184,24 +184,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UserActivityChanges.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UserActivityChanges` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("oldValue") != null && !jsonObj.get("oldValue").isJsonNull()) - && !jsonObj.get("oldValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `oldValue` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("oldValue").toString())); - } - if ((jsonObj.get("newValue") != null && !jsonObj.get("newValue").isJsonNull()) - && !jsonObj.get("newValue").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `newValue` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("newValue").toString())); - } } public static class CustomTypeAdapterFactory implements TypeAdapterFactory { diff --git a/src/main/java/com/formkiq/client/model/UserActivityType.java b/src/main/java/com/formkiq/client/model/UserActivityType.java index 935e6048e..dab60a6b9 100644 --- a/src/main/java/com/formkiq/client/model/UserActivityType.java +++ b/src/main/java/com/formkiq/client/model/UserActivityType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/UserAttributes.java b/src/main/java/com/formkiq/client/model/UserAttributes.java index 0837068ce..fbc6f38ae 100644 --- a/src/main/java/com/formkiq/client/model/UserAttributes.java +++ b/src/main/java/com/formkiq/client/model/UserAttributes.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * UserAttributes */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UserAttributes { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -535,26 +537,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("address"); - openapiFields.add("birthdate"); - openapiFields.add("familyName"); - openapiFields.add("gender"); - openapiFields.add("givenName"); - openapiFields.add("locale"); - openapiFields.add("middleName"); - openapiFields.add("name"); - openapiFields.add("nickname"); - openapiFields.add("phoneNumber"); - openapiFields.add("picture"); - openapiFields.add("preferredUsername"); - openapiFields.add("profile"); - openapiFields.add("zoneinfo"); - openapiFields.add("updatedAt"); - openapiFields.add("website"); + openapiFields = new HashSet(Arrays.asList("address", "birthdate", "familyName", + "gender", "givenName", "locale", "middleName", "name", "nickname", "phoneNumber", "picture", + "preferredUsername", "profile", "zoneinfo", "updatedAt", "website")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -567,7 +555,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserAttributes.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UserAttributes is not found in the empty JSON string", UserAttributes.openapiRequiredFields.toString())); } @@ -577,7 +565,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UserAttributes.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UserAttributes` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -585,97 +573,97 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("address") != null && !jsonObj.get("address").isJsonNull()) && !jsonObj.get("address").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("address").toString())); } if ((jsonObj.get("birthdate") != null && !jsonObj.get("birthdate").isJsonNull()) && !jsonObj.get("birthdate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `birthdate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("birthdate").toString())); } if ((jsonObj.get("familyName") != null && !jsonObj.get("familyName").isJsonNull()) && !jsonObj.get("familyName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `familyName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("familyName").toString())); } if ((jsonObj.get("gender") != null && !jsonObj.get("gender").isJsonNull()) && !jsonObj.get("gender").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `gender` to be a primitive type in the JSON string but got `%s`", jsonObj.get("gender").toString())); } if ((jsonObj.get("givenName") != null && !jsonObj.get("givenName").isJsonNull()) && !jsonObj.get("givenName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `givenName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("givenName").toString())); } if ((jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", jsonObj.get("locale").toString())); } if ((jsonObj.get("middleName") != null && !jsonObj.get("middleName").isJsonNull()) && !jsonObj.get("middleName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `middleName` to be a primitive type in the JSON string but got `%s`", jsonObj.get("middleName").toString())); } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("nickname") != null && !jsonObj.get("nickname").isJsonNull()) && !jsonObj.get("nickname").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nickname` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nickname").toString())); } if ((jsonObj.get("phoneNumber") != null && !jsonObj.get("phoneNumber").isJsonNull()) && !jsonObj.get("phoneNumber").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `phoneNumber` to be a primitive type in the JSON string but got `%s`", jsonObj.get("phoneNumber").toString())); } if ((jsonObj.get("picture") != null && !jsonObj.get("picture").isJsonNull()) && !jsonObj.get("picture").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `picture` to be a primitive type in the JSON string but got `%s`", jsonObj.get("picture").toString())); } if ((jsonObj.get("preferredUsername") != null && !jsonObj.get("preferredUsername").isJsonNull()) && !jsonObj.get("preferredUsername").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `preferredUsername` to be a primitive type in the JSON string but got `%s`", jsonObj.get("preferredUsername").toString())); } if ((jsonObj.get("profile") != null && !jsonObj.get("profile").isJsonNull()) && !jsonObj.get("profile").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `profile` to be a primitive type in the JSON string but got `%s`", jsonObj.get("profile").toString())); } if ((jsonObj.get("zoneinfo") != null && !jsonObj.get("zoneinfo").isJsonNull()) && !jsonObj.get("zoneinfo").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `zoneinfo` to be a primitive type in the JSON string but got `%s`", jsonObj.get("zoneinfo").toString())); } if ((jsonObj.get("updatedAt") != null && !jsonObj.get("updatedAt").isJsonNull()) && !jsonObj.get("updatedAt").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `updatedAt` to be a primitive type in the JSON string but got `%s`", jsonObj.get("updatedAt").toString())); } if ((jsonObj.get("website") != null && !jsonObj.get("website").isJsonNull()) && !jsonObj.get("website").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `website` to be a primitive type in the JSON string but got `%s`", jsonObj.get("website").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserShare.java b/src/main/java/com/formkiq/client/model/UserShare.java index ef34098b5..802cdc0d4 100644 --- a/src/main/java/com/formkiq/client/model/UserShare.java +++ b/src/main/java/com/formkiq/client/model/UserShare.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.UserSharePermission; import com.formkiq.client.model.UserSharePermissionType; import com.google.gson.TypeAdapter; @@ -53,6 +54,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -60,8 +62,8 @@ * UserShare */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class UserShare { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -382,18 +384,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("group"); - openapiFields.add("shareKey"); - openapiFields.add("type"); - openapiFields.add("permissions"); - openapiFields.add("siteId"); - openapiFields.add("path"); - openapiFields.add("userId"); - openapiFields.add("permissionType"); + openapiFields = new HashSet(Arrays.asList("group", "shareKey", "type", "permissions", + "siteId", "path", "userId", "permissionType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -406,7 +401,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UserShare.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in UserShare is not found in the empty JSON string", UserShare.openapiRequiredFields.toString())); } @@ -416,7 +411,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!UserShare.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `UserShare` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -424,19 +419,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("group") != null && !jsonObj.get("group").isJsonNull()) && !jsonObj.get("group").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `group` to be a primitive type in the JSON string but got `%s`", jsonObj.get("group").toString())); } if ((jsonObj.get("shareKey") != null && !jsonObj.get("shareKey").isJsonNull()) && !jsonObj.get("shareKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `shareKey` to be a primitive type in the JSON string but got `%s`", jsonObj.get("shareKey").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } @@ -447,25 +442,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // ensure the optional json data is an array if present if (jsonObj.get("permissions") != null && !jsonObj.get("permissions").isJsonNull() && !jsonObj.get("permissions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `permissions` to be an array in the JSON string but got `%s`", jsonObj.get("permissions").toString())); } if ((jsonObj.get("siteId") != null && !jsonObj.get("siteId").isJsonNull()) && !jsonObj.get("siteId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `siteId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("siteId").toString())); } if ((jsonObj.get("path") != null && !jsonObj.get("path").isJsonNull()) && !jsonObj.get("path").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `path` to be a primitive type in the JSON string but got `%s`", jsonObj.get("path").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/UserSharePermission.java b/src/main/java/com/formkiq/client/model/UserSharePermission.java index f83623407..aede03db4 100644 --- a/src/main/java/com/formkiq/client/model/UserSharePermission.java +++ b/src/main/java/com/formkiq/client/model/UserSharePermission.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/UserSharePermissionType.java b/src/main/java/com/formkiq/client/model/UserSharePermissionType.java index 3e4927e36..9155b1f52 100644 --- a/src/main/java/com/formkiq/client/model/UserSharePermissionType.java +++ b/src/main/java/com/formkiq/client/model/UserSharePermissionType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/ValidationError.java b/src/main/java/com/formkiq/client/model/ValidationError.java index 1354ec7a6..17bd5e34d 100644 --- a/src/main/java/com/formkiq/client/model/ValidationError.java +++ b/src/main/java/com/formkiq/client/model/ValidationError.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * ValidationError */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ValidationError { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -156,12 +158,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("key"); - openapiFields.add("error"); + openapiFields = new HashSet(Arrays.asList("key", "error")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -174,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ValidationError.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ValidationError is not found in the empty JSON string", ValidationError.openapiRequiredFields.toString())); } @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ValidationError.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ValidationError` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -192,13 +192,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("key") != null && !jsonObj.get("key").isJsonNull()) && !jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } if ((jsonObj.get("error") != null && !jsonObj.get("error").isJsonNull()) && !jsonObj.get("error").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `error` to be a primitive type in the JSON string but got `%s`", jsonObj.get("error").toString())); } diff --git a/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java b/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java index 9f842569a..5d5186f26 100644 --- a/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java +++ b/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.ValidationError; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * ValidationErrorsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class ValidationErrorsResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -140,11 +142,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("errors"); + openapiFields = new HashSet(Arrays.asList("errors")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -157,7 +158,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!ValidationErrorsResponse.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in ValidationErrorsResponse is not found in the empty JSON string", ValidationErrorsResponse.openapiRequiredFields.toString())); } @@ -167,7 +168,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!ValidationErrorsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `ValidationErrorsResponse` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -178,7 +179,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayerrors != null) { // ensure the json data is an array if (!jsonObj.get("errors").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `errors` to be an array in the JSON string but got `%s`", jsonObj.get("errors").toString())); } diff --git a/src/main/java/com/formkiq/client/model/Watermark.java b/src/main/java/com/formkiq/client/model/Watermark.java index 50bf074e9..25da10fee 100644 --- a/src/main/java/com/formkiq/client/model/Watermark.java +++ b/src/main/java/com/formkiq/client/model/Watermark.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WatermarkPosition; import com.formkiq.client.model.WatermarkScale; import com.google.gson.TypeAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,9 +61,14 @@ * Watermark */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class Watermark { + public static final String SERIALIZED_NAME_FONT_SIZE = "fontSize"; + @SerializedName(SERIALIZED_NAME_FONT_SIZE) + @javax.annotation.Nullable + private BigDecimal fontSize; + public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) @javax.annotation.Nullable @@ -89,6 +96,26 @@ public class Watermark { public Watermark() {} + public Watermark fontSize(@javax.annotation.Nullable BigDecimal fontSize) { + this.fontSize = fontSize; + return this; + } + + /** + * Watermark Font Size + * + * @return fontSize + */ + @javax.annotation.Nullable + public BigDecimal getFontSize() { + return fontSize; + } + + public void setFontSize(@javax.annotation.Nullable BigDecimal fontSize) { + this.fontSize = fontSize; + } + + public Watermark text(@javax.annotation.Nullable String text) { this.text = text; return this; @@ -199,7 +226,8 @@ public boolean equals(Object o) { return false; } Watermark watermark = (Watermark) o; - return Objects.equals(this.text, watermark.text) + return Objects.equals(this.fontSize, watermark.fontSize) + && Objects.equals(this.text, watermark.text) && Objects.equals(this.rotation, watermark.rotation) && Objects.equals(this.imageDocumentId, watermark.imageDocumentId) && Objects.equals(this.scale, watermark.scale) @@ -208,13 +236,14 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(text, rotation, imageDocumentId, scale, position); + return Objects.hash(fontSize, text, rotation, imageDocumentId, scale, position); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class Watermark {\n"); + sb.append(" fontSize: ").append(toIndentedString(fontSize)).append("\n"); sb.append(" text: ").append(toIndentedString(text)).append("\n"); sb.append(" rotation: ").append(toIndentedString(rotation)).append("\n"); sb.append(" imageDocumentId: ").append(toIndentedString(imageDocumentId)).append("\n"); @@ -240,15 +269,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("text"); - openapiFields.add("rotation"); - openapiFields.add("imageDocumentId"); - openapiFields.add("scale"); - openapiFields.add("position"); + openapiFields = new HashSet( + Arrays.asList("fontSize", "text", "rotation", "imageDocumentId", "scale", "position")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -261,7 +286,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Watermark.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in Watermark is not found in the empty JSON string", Watermark.openapiRequiredFields.toString())); } @@ -271,7 +296,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!Watermark.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `Watermark` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -279,13 +304,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("text") != null && !jsonObj.get("text").isJsonNull()) && !jsonObj.get("text").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("text").toString())); } if ((jsonObj.get("imageDocumentId") != null && !jsonObj.get("imageDocumentId").isJsonNull()) && !jsonObj.get("imageDocumentId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `imageDocumentId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("imageDocumentId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WatermarkPosition.java b/src/main/java/com/formkiq/client/model/WatermarkPosition.java index 8c1436ffc..3673b3b24 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPosition.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPosition.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WatermarkPositionXAnchor; import com.formkiq.client.model.WatermarkPositionYAnchor; import com.google.gson.TypeAdapter; @@ -52,6 +53,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -59,8 +61,8 @@ * WatermarkPosition */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WatermarkPosition { public static final String SERIALIZED_NAME_X_ANCHOR = "xAnchor"; @SerializedName(SERIALIZED_NAME_X_ANCHOR) @@ -213,14 +215,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("xAnchor"); - openapiFields.add("yAnchor"); - openapiFields.add("xOffset"); - openapiFields.add("yOffset"); + openapiFields = new HashSet(Arrays.asList("xAnchor", "yAnchor", "xOffset", "yOffset")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -233,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WatermarkPosition.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WatermarkPosition is not found in the empty JSON string", WatermarkPosition.openapiRequiredFields.toString())); } @@ -243,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WatermarkPosition.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WatermarkPosition` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java b/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java index 8221ec353..daed49a80 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java b/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java index 9198e9161..d73f8247a 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/WatermarkScale.java b/src/main/java/com/formkiq/client/model/WatermarkScale.java index 16a17a460..ab9655435 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkScale.java +++ b/src/main/java/com/formkiq/client/model/WatermarkScale.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/WebhookTag.java b/src/main/java/com/formkiq/client/model/WebhookTag.java index 1393ec374..554c18984 100644 --- a/src/main/java/com/formkiq/client/model/WebhookTag.java +++ b/src/main/java/com/formkiq/client/model/WebhookTag.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -49,6 +50,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -56,8 +58,8 @@ * WebhookTag */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WebhookTag { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -263,18 +265,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("insertedDate"); - openapiFields.add("webhookId"); - openapiFields.add("type"); - openapiFields.add("userId"); - openapiFields.add("value"); - openapiFields.add("key"); + openapiFields = new HashSet( + Arrays.asList("insertedDate", "webhookId", "type", "userId", "value", "key")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); - openapiRequiredFields.add("value"); - openapiRequiredFields.add("key"); + openapiRequiredFields = new HashSet(Arrays.asList("value", "key")); } /** @@ -287,7 +282,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WebhookTag.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WebhookTag is not found in the empty JSON string", WebhookTag.openapiRequiredFields.toString())); } @@ -297,7 +292,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WebhookTag.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WebhookTag` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -306,43 +301,43 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to make sure all required properties/fields are present in the JSON string for (String requiredField : WebhookTag.openapiRequiredFields) { if (jsonElement.getAsJsonObject().get(requiredField) == null) { - throw new IllegalArgumentException( - String.format("The required field `%s` is not found in the JSON string: %s", - requiredField, jsonElement.toString())); + throw new IllegalArgumentException(String.format(Locale.ROOT, + "The required field `%s` is not found in the JSON string: %s", requiredField, + jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("webhookId") != null && !jsonObj.get("webhookId").isJsonNull()) && !jsonObj.get("webhookId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `webhookId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("webhookId").toString())); } if ((jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) && !jsonObj.get("type").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `type` to be a primitive type in the JSON string but got `%s`", jsonObj.get("type").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } if (!jsonObj.get("value").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `value` to be a primitive type in the JSON string but got `%s`", jsonObj.get("value").toString())); } if (!jsonObj.get("key").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `key` to be a primitive type in the JSON string but got `%s`", jsonObj.get("key").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowDocument.java b/src/main/java/com/formkiq/client/model/WorkflowDocument.java index 4ed14cdb2..ec98002d2 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowDocument.java +++ b/src/main/java/com/formkiq/client/model/WorkflowDocument.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.Document; import com.formkiq.client.model.WorkflowSummary; import com.google.gson.TypeAdapter; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * WorkflowDocument */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WorkflowDocument { public static final String SERIALIZED_NAME_WORKFLOW = "workflow"; @SerializedName(SERIALIZED_NAME_WORKFLOW) @@ -158,12 +160,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("workflow"); - openapiFields.add("document"); + openapiFields = new HashSet(Arrays.asList("workflow", "document")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -176,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowDocument.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WorkflowDocument is not found in the empty JSON string", WorkflowDocument.openapiRequiredFields.toString())); } @@ -186,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WorkflowDocument.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WorkflowDocument` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowQueue.java b/src/main/java/com/formkiq/client/model/WorkflowQueue.java index 8c7eb5972..fe8646075 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowQueue.java +++ b/src/main/java/com/formkiq/client/model/WorkflowQueue.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -51,6 +52,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -58,8 +60,8 @@ * WorkflowQueue */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WorkflowQueue { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -166,12 +168,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("queueId"); - openapiFields.add("approvalGroups"); + openapiFields = new HashSet(Arrays.asList("queueId", "approvalGroups")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -184,7 +184,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowQueue.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WorkflowQueue is not found in the empty JSON string", WorkflowQueue.openapiRequiredFields.toString())); } @@ -194,7 +194,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WorkflowQueue.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WorkflowQueue` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -202,14 +202,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("queueId") != null && !jsonObj.get("queueId").isJsonNull()) && !jsonObj.get("queueId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `queueId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("queueId").toString())); } // ensure the optional json data is an array if present if (jsonObj.get("approvalGroups") != null && !jsonObj.get("approvalGroups").isJsonNull() && !jsonObj.get("approvalGroups").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `approvalGroups` to be an array in the JSON string but got `%s`", jsonObj.get("approvalGroups").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowStatus.java b/src/main/java/com/formkiq/client/model/WorkflowStatus.java index 278693543..bcb6de3c0 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStatus.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStatus.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/WorkflowStep.java b/src/main/java/com/formkiq/client/model/WorkflowStep.java index b14fe5085..ac2820eba 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStep.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStep.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.DocumentAction; import com.formkiq.client.model.WorkflowQueue; import com.formkiq.client.model.WorkflowStepDecision; @@ -54,6 +55,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -61,8 +63,8 @@ * WorkflowStep */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WorkflowStep { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -223,14 +225,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("stepId"); - openapiFields.add("action"); - openapiFields.add("queue"); - openapiFields.add("decisions"); + openapiFields = new HashSet(Arrays.asList("stepId", "action", "queue", "decisions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -243,7 +241,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowStep.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WorkflowStep is not found in the empty JSON string", WorkflowStep.openapiRequiredFields.toString())); } @@ -253,7 +251,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WorkflowStep.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WorkflowStep` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -261,7 +259,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("stepId") != null && !jsonObj.get("stepId").isJsonNull()) && !jsonObj.get("stepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `stepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("stepId").toString())); } @@ -278,7 +276,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraydecisions != null) { // ensure the json data is an array if (!jsonObj.get("decisions").isJsonArray()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `decisions` to be an array in the JSON string but got `%s`", jsonObj.get("decisions").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java b/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java index ed813221f..467cee2c2 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowStepDecisionType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * WorkflowStepDecision */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WorkflowStepDecision { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -157,12 +159,10 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("type"); - openapiFields.add("nextStepId"); + openapiFields = new HashSet(Arrays.asList("type", "nextStepId")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -175,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowStepDecision.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WorkflowStepDecision is not found in the empty JSON string", WorkflowStepDecision.openapiRequiredFields.toString())); } @@ -185,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WorkflowStepDecision.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WorkflowStepDecision` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -197,7 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("nextStepId") != null && !jsonObj.get("nextStepId").isJsonNull()) && !jsonObj.get("nextStepId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `nextStepId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("nextStepId").toString())); } diff --git a/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java b/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java index 8aa169530..080be7cd0 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.google.gson.annotations.SerializedName; import java.io.IOException; +import java.util.Locale; import com.google.gson.TypeAdapter; import com.google.gson.JsonElement; import com.google.gson.annotations.JsonAdapter; diff --git a/src/main/java/com/formkiq/client/model/WorkflowSummary.java b/src/main/java/com/formkiq/client/model/WorkflowSummary.java index f8b41aea7..9efcd6e14 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowSummary.java +++ b/src/main/java/com/formkiq/client/model/WorkflowSummary.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,6 +21,7 @@ package com.formkiq.client.model; import java.util.Objects; +import java.util.Locale; import com.formkiq.client.model.WorkflowStatus; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; @@ -50,6 +51,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; @@ -57,8 +59,8 @@ * WorkflowSummary */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-11-02T10:43:50.522026-06:00[America/Winnipeg]", + comments = "Generator version: 7.17.0") public class WorkflowSummary { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -292,17 +294,11 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(); - openapiFields.add("name"); - openapiFields.add("workflowId"); - openapiFields.add("description"); - openapiFields.add("insertedDate"); - openapiFields.add("userId"); - openapiFields.add("inUse"); - openapiFields.add("status"); + openapiFields = new HashSet(Arrays.asList("name", "workflowId", "description", + "insertedDate", "userId", "inUse", "status")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** @@ -315,7 +311,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!WorkflowSummary.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The required field(s) %s in WorkflowSummary is not found in the empty JSON string", WorkflowSummary.openapiRequiredFields.toString())); } @@ -325,7 +321,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { if (!WorkflowSummary.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `WorkflowSummary` properties. JSON: %s", entry.getKey(), jsonElement.toString())); } @@ -333,31 +329,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("workflowId") != null && !jsonObj.get("workflowId").isJsonNull()) && !jsonObj.get("workflowId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `workflowId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("workflowId").toString())); } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } if ((jsonObj.get("insertedDate") != null && !jsonObj.get("insertedDate").isJsonNull()) && !jsonObj.get("insertedDate").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `insertedDate` to be a primitive type in the JSON string but got `%s`", jsonObj.get("insertedDate").toString())); } if ((jsonObj.get("userId") != null && !jsonObj.get("userId").isJsonNull()) && !jsonObj.get("userId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "Expected the field `userId` to be a primitive type in the JSON string but got `%s`", jsonObj.get("userId").toString())); } diff --git a/src/test/java/com/formkiq/client/api/AccessControlApiTest.java b/src/test/java/com/formkiq/client/api/AccessControlApiTest.java index 8561d62f0..ffd58992c 100644 --- a/src/test/java/com/formkiq/client/api/AccessControlApiTest.java +++ b/src/test/java/com/formkiq/client/api/AccessControlApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java b/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java index 0f17b7b8d..f98f003c5 100644 --- a/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java +++ b/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -145,7 +145,8 @@ public void getDocumentFulltextTest() throws ApiException { public void queryFulltextTest() throws ApiException { Object body = null; String siteId = null; - QueryFulltextResponse response = api.queryFulltext(body, siteId); + String indexName = null; + QueryFulltextResponse response = api.queryFulltext(body, siteId, indexName); // TODO: test validations } @@ -161,8 +162,10 @@ public void queryFulltextTest() throws ApiException { public void searchFulltextTest() throws ApiException { DocumentFulltextRequest documentFulltextRequest = null; String siteId = null; + String indexName = null; String limit = null; - DocumentFulltextResponse response = api.searchFulltext(documentFulltextRequest, siteId, limit); + DocumentFulltextResponse response = + api.searchFulltext(documentFulltextRequest, siteId, indexName, limit); // TODO: test validations } diff --git a/src/test/java/com/formkiq/client/api/AttributesApiTest.java b/src/test/java/com/formkiq/client/api/AttributesApiTest.java index 7be768c57..25f0cc06d 100644 --- a/src/test/java/com/formkiq/client/api/AttributesApiTest.java +++ b/src/test/java/com/formkiq/client/api/AttributesApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -22,11 +22,13 @@ import com.formkiq.client.invoker.ApiException; import com.formkiq.client.model.AddAttributeRequest; -import com.formkiq.client.model.AddAttributeResponse; +import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.DeleteResponse; import com.formkiq.client.model.GetAttributeAllowedValuesResponse; import com.formkiq.client.model.GetAttributeResponse; import com.formkiq.client.model.GetAttributesResponse; +import com.formkiq.client.model.UpdateAttributeRequest; +import com.formkiq.client.model.UpdateResponse; import com.formkiq.client.model.ValidationErrorsResponse; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -55,7 +57,7 @@ public class AttributesApiTest { public void addAttributeTest() throws ApiException { AddAttributeRequest addAttributeRequest = null; String siteId = null; - AddAttributeResponse response = api.addAttribute(addAttributeRequest, siteId); + AddResponse response = api.addAttribute(addAttributeRequest, siteId); // TODO: test validations } @@ -120,4 +122,20 @@ public void getAttributesTest() throws ApiException { // TODO: test validations } + /** + * Update existing attribute + * + * Updates existing attribute + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateAttributeTest() throws ApiException { + String key = null; + UpdateAttributeRequest updateAttributeRequest = null; + String siteId = null; + UpdateResponse response = api.updateAttribute(key, updateAttributeRequest, siteId); + // TODO: test validations + } + } diff --git a/src/test/java/com/formkiq/client/api/CaseManagementApiTest.java b/src/test/java/com/formkiq/client/api/CaseManagementApiTest.java index cbb13322e..153b3d2d6 100644 --- a/src/test/java/com/formkiq/client/api/CaseManagementApiTest.java +++ b/src/test/java/com/formkiq/client/api/CaseManagementApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/CustomIndexApiTest.java b/src/test/java/com/formkiq/client/api/CustomIndexApiTest.java index 1b2733512..cc84296bb 100644 --- a/src/test/java/com/formkiq/client/api/CustomIndexApiTest.java +++ b/src/test/java/com/formkiq/client/api/CustomIndexApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java index f7ba06656..780218c2b 100644 --- a/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -48,14 +48,16 @@ public class DocumentActionsApiTest { * Add one or more actions to a document; this appends actions and does not replace previous * actions Each action type supports a different set of parameters as shown in the table below: * ### Action Parameters | ActionType | Parameter | Description | Example | | -------- | ------- | - * ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES | - * | OCR | ocrEngine | Ocr Engine to use | tesseract or textract | | OCR | ocrOutputType | Convert - * OCR result to an Output format (textract table only) | true | | OCR | ocrNumberOfPages | Number - * of pages to OCR (from start) | -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents - * convert images to text | true or false | | FULLTEXT | characterMax | Maximum number of - * characters to add to Fulltext destination | -1 | | DOCUMENTTAGGING | engine | Tagging Engine to - * use | chatgpt | | DOCUMENTTAGGING | tags | Comma-deliminted list of keywords | - * author,title,description | | WEBHOOK | url | Webhook URL | + * ------- | ------- | | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES, + * QUERIES (requires 'ocrTextractQueries') | | OCR | ocrTextractQueries | Required for + * \"QUERIES\", questions to ask Textract | | OCR | ocrEngine | Ocr Engine to use | + * tesseract or textract | | OCR | ocrOutputType | Convert OCR result to an Output format + * (textract table only) | true | | OCR | ocrNumberOfPages | Number of pages to OCR (from start) | + * -1 | | OCR | addPdfDetectedCharactersAsText | PDF Documents convert images to text | true or + * false | | DATA_CLASSIFICATION | llmPromptEntityName | LLM Prompt Entity Name | | FULLTEXT | + * characterMax | Maximum number of characters to add to Fulltext destination | -1 | | + * DOCUMENTTAGGING | engine | Tagging Engine to use | chatgpt | | DOCUMENTTAGGING | tags | + * Comma-deliminted list of keywords | author,title,description | | WEBHOOK | url | Webhook URL | * https://yourdomain.com/webhook-endpoint | | NOTIFICATION | notificationType | Type of * Notification | email | | NOTIFICATION | notificationToCc | Notification Carbon Copy | * email@yourdomain.com | | NOTIFICATION | notificationToBcc | Notification Blind Carbon Copy | @@ -63,7 +65,10 @@ public class DocumentActionsApiTest { * Subject | | NOTIFICATION | notificationText | Notification as Text | Email Text | | * NOTIFICATION | notificationHtml | Notification as Html | Email HTML Text | | QUEUE | queueId | * Id of Queue | | | IDP | mappingId | Id of Mapping | | | EVENTBRIDGE | eventBusName | The name - * or ARN of the Amazon EventBridge to receive the event. | | + * or ARN of the Amazon EventBridge to receive the event. | | | RESIZE | width | The width of the + * image to resize (or 'auto'). | | | RESIZE | height | The height of the image to resize + * (or 'auto'). | | | RESIZE | outputType | The output type of the image (optional). | | | + * RESIZE | path | The path to use when creating resized document (optional). | | * * @throws ApiException if the Api call fails */ diff --git a/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java b/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java index 9f971d598..16df76bf7 100644 --- a/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -25,7 +25,6 @@ import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.DeleteResponse; import com.formkiq.client.model.GetDocumentAttributeResponse; -import com.formkiq.client.model.GetDocumentAttributeVersionsResponse; import com.formkiq.client.model.GetDocumentAttributesResponse; import com.formkiq.client.model.SetDocumentAttributeRequest; import com.formkiq.client.model.SetDocumentAttributesRequest; @@ -116,25 +115,6 @@ public void getDocumentAttributeTest() throws ApiException { // TODO: test validations } - /** - * Get document attribute's versions - * - * Get a listing of a document's attribute versions; available as an Add-On Module - * - * @throws ApiException if the Api call fails - */ - @Test - public void getDocumentAttributeVersionsTest() throws ApiException { - String documentId = null; - String attributeKey = null; - String siteId = null; - String limit = null; - String next = null; - GetDocumentAttributeVersionsResponse response = - api.getDocumentAttributeVersions(documentId, attributeKey, siteId, limit, next); - // TODO: test validations - } - /** * Get document's attributes * diff --git a/src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java b/src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java new file mode 100644 index 000000000..52ad8abcd --- /dev/null +++ b/src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java @@ -0,0 +1,78 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.api; + +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.model.GetDocumentDataClassificationResponse; +import com.formkiq.client.model.SetDocumentDataClassificationRequest; +import com.formkiq.client.model.SetDocumentDataClassificationResponse; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for DocumentDataClassificationApi + */ +@Disabled +public class DocumentDataClassificationApiTest { + + private final DocumentDataClassificationApi api = new DocumentDataClassificationApi(); + + /** + * Get document's data classification + * + * Retrieve an document's data classification; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void getDocumentDataClassificationTest() throws ApiException { + String documentId = null; + String siteId = null; + String limit = null; + String next = null; + GetDocumentDataClassificationResponse response = + api.getDocumentDataClassification(documentId, siteId, limit, next); + // TODO: test validations + } + + /** + * Set document's data classification + * + * Generate Data Classfication attributes within a document; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void setDocumentDataClassificationTest() throws ApiException { + String documentId = null; + String siteId = null; + SetDocumentDataClassificationRequest setDocumentDataClassificationRequest = null; + SetDocumentDataClassificationResponse response = + api.setDocumentDataClassification(documentId, siteId, setDocumentDataClassificationRequest); + // TODO: test validations + } + +} diff --git a/src/test/java/com/formkiq/client/api/DocumentFoldersApiTest.java b/src/test/java/com/formkiq/client/api/DocumentFoldersApiTest.java index 38b855018..ca0011f35 100644 --- a/src/test/java/com/formkiq/client/api/DocumentFoldersApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentFoldersApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,7 +24,10 @@ import com.formkiq.client.model.AddFolderRequest; import com.formkiq.client.model.AddFolderResponse; import com.formkiq.client.model.DeleteFolderResponse; +import com.formkiq.client.model.GetFolderPermissionsResponse; import com.formkiq.client.model.GetFoldersResponse; +import com.formkiq.client.model.SetFolderPermissionsRequest; +import com.formkiq.client.model.SetResponse; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -93,4 +96,34 @@ public void getFolderDocumentsTest() throws ApiException { // TODO: test validations } + /** + * Get folder permissions + * + * Get list of permissions for a folder + * + * @throws ApiException if the Api call fails + */ + @Test + public void getFolderPermissionsTest() throws ApiException { + String indexKey = null; + String siteId = null; + GetFolderPermissionsResponse response = api.getFolderPermissions(indexKey, siteId); + // TODO: test validations + } + + /** + * Sets Folder Permissions + * + * Sets a folders permissions NOTE: Can only be called be ADMIN or GOVERN. + * + * @throws ApiException if the Api call fails + */ + @Test + public void setFolderPermissionsTest() throws ApiException { + SetFolderPermissionsRequest setFolderPermissionsRequest = null; + String siteId = null; + SetResponse response = api.setFolderPermissions(setFolderPermissionsRequest, siteId); + // TODO: test validations + } + } diff --git a/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java b/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java index a9e0f5b57..4355a9bab 100644 --- a/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java b/src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java index f9b4f9c03..c9d78defe 100644 --- a/src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentSearchApiTest.java b/src/test/java/com/formkiq/client/api/DocumentSearchApiTest.java index 2d2e8f148..25dc1df83 100644 --- a/src/test/java/com/formkiq/client/api/DocumentSearchApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentSearchApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentSharesApiTest.java b/src/test/java/com/formkiq/client/api/DocumentSharesApiTest.java index 718cb8860..16926c8fa 100644 --- a/src/test/java/com/formkiq/client/api/DocumentSharesApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentSharesApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java index 21a5c2a1a..5fb28c865 100644 --- a/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -22,6 +22,7 @@ import com.formkiq.client.invoker.ApiException; import com.formkiq.client.model.AddDocumentTagsRequest; +import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.DeleteResponse; import com.formkiq.client.model.GetDocumentTagResponse; import com.formkiq.client.model.GetDocumentTagsResponse; @@ -57,7 +58,7 @@ public void addDocumentTagsTest() throws ApiException { String documentId = null; AddDocumentTagsRequest addDocumentTagsRequest = null; String siteId = null; - api.addDocumentTags(documentId, addDocumentTagsRequest, siteId); + AddResponse response = api.addDocumentTags(documentId, addDocumentTagsRequest, siteId); // TODO: test validations } diff --git a/src/test/java/com/formkiq/client/api/DocumentVersionsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentVersionsApiTest.java index f7a5b9c82..29eb8b495 100644 --- a/src/test/java/com/formkiq/client/api/DocumentVersionsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentVersionsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentWorkflowsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentWorkflowsApiTest.java index 60548b77a..935e0c3a0 100644 --- a/src/test/java/com/formkiq/client/api/DocumentWorkflowsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentWorkflowsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/DocumentsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentsApiTest.java index 9663b8c3e..d93011927 100644 --- a/src/test/java/com/formkiq/client/api/DocumentsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -35,6 +35,7 @@ import com.formkiq.client.model.GetDocumentUrlResponse; import com.formkiq.client.model.GetDocumentsResponse; import com.formkiq.client.model.SetDocumentRestoreResponse; +import com.formkiq.client.model.SetResponse; import com.formkiq.client.model.UpdateDocumentRequest; import com.formkiq.client.model.ValidationErrorsResponse; import org.junit.jupiter.api.Disabled; @@ -148,6 +149,21 @@ public void deleteDocumentTest() throws ApiException { // TODO: test validations } + /** + * Delete document legal hold checkout + * + * Removes a legal hold checkout for the document; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteDocumentCheckoutLegalHoldTest() throws ApiException { + String documentId = null; + String siteId = null; + DeleteResponse response = api.deleteDocumentCheckoutLegalHold(documentId, siteId); + // TODO: test validations + } + /** * Delete published document's contents * @@ -346,6 +362,38 @@ public void purgeDocumentTest() throws ApiException { // TODO: test validations } + /** + * Perform document checkout + * + * Creates a checkout for the document. Fails with **409 Conflict** if the document is already + * checkedout by another user; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void setDocumentCheckoutTest() throws ApiException { + String documentId = null; + String siteId = null; + SetResponse response = api.setDocumentCheckout(documentId, siteId); + // TODO: test validations + } + + /** + * Perform document legal hold checkout + * + * Creates a legal hold checkout for the document. Fails with **409 Conflict** if the document is + * already checkedout by another user; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void setDocumentCheckoutLegalHoldTest() throws ApiException { + String documentId = null; + String siteId = null; + SetResponse response = api.setDocumentCheckoutLegalHold(documentId, siteId); + // TODO: test validations + } + /** * Restore soft deleted document * diff --git a/src/test/java/com/formkiq/client/api/ESignatureApiTest.java b/src/test/java/com/formkiq/client/api/ESignatureApiTest.java index 5a6a84744..75a8d7366 100644 --- a/src/test/java/com/formkiq/client/api/ESignatureApiTest.java +++ b/src/test/java/com/formkiq/client/api/ESignatureApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/EntityApiTest.java b/src/test/java/com/formkiq/client/api/EntityApiTest.java new file mode 100644 index 000000000..cb39f8e12 --- /dev/null +++ b/src/test/java/com/formkiq/client/api/EntityApiTest.java @@ -0,0 +1,202 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.api; + +import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.model.AddEntityRequest; +import com.formkiq.client.model.AddEntityResponse; +import com.formkiq.client.model.AddEntityTypeRequest; +import com.formkiq.client.model.AddEntityTypeResponse; +import com.formkiq.client.model.DeleteResponse; +import com.formkiq.client.model.GetEntitiesResponse; +import com.formkiq.client.model.GetEntityResponse; +import com.formkiq.client.model.GetEntityTypeResponse; +import com.formkiq.client.model.GetEntityTypesResponse; +import com.formkiq.client.model.UpdateEntityRequest; +import com.formkiq.client.model.UpdateResponse; +import com.formkiq.client.model.ValidationErrorsResponse; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for EntityApi + */ +@Disabled +public class EntityApiTest { + + private final EntityApi api = new EntityApi(); + + /** + * Add New Entity + * + * Creates a Entity + * + * @throws ApiException if the Api call fails + */ + @Test + public void addEntityTest() throws ApiException { + String entityTypeId = null; + AddEntityRequest addEntityRequest = null; + String siteId = null; + String namespace = null; + AddEntityResponse response = api.addEntity(entityTypeId, addEntityRequest, siteId, namespace); + // TODO: test validations + } + + /** + * Add New EntityType + * + * Creates a Entity Type + * + * @throws ApiException if the Api call fails + */ + @Test + public void addEntityTypeTest() throws ApiException { + AddEntityTypeRequest addEntityTypeRequest = null; + String siteId = null; + AddEntityTypeResponse response = api.addEntityType(addEntityTypeRequest, siteId); + // TODO: test validations + } + + /** + * Deletes Entity + * + * Deletes Entity + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteEntityTest() throws ApiException { + String entityTypeId = null; + String entityId = null; + String siteId = null; + DeleteResponse response = api.deleteEntity(entityTypeId, entityId, siteId); + // TODO: test validations + } + + /** + * Deletes Entity Type + * + * Deletes Entity Type + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteEntityTypeTest() throws ApiException { + String entityTypeId = null; + String siteId = null; + DeleteResponse response = api.deleteEntityType(entityTypeId, siteId); + // TODO: test validations + } + + /** + * Get Entities + * + * Returns a list of entities + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEntitiesTest() throws ApiException { + String entityTypeId = null; + String siteId = null; + String namespace = null; + String next = null; + String limit = null; + GetEntitiesResponse response = api.getEntities(entityTypeId, siteId, namespace, next, limit); + // TODO: test validations + } + + /** + * Get Entity + * + * Returns a entity + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEntityTest() throws ApiException { + String entityTypeId = null; + String entityId = null; + String siteId = null; + String namespace = null; + GetEntityResponse response = api.getEntity(entityTypeId, entityId, siteId, namespace); + // TODO: test validations + } + + /** + * Get EntityType + * + * Returns a entity type + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEntityTypeTest() throws ApiException { + String entityTypeId = null; + String siteId = null; + String namespace = null; + GetEntityTypeResponse response = api.getEntityType(entityTypeId, siteId, namespace); + // TODO: test validations + } + + /** + * Get EntityTypes + * + * Returns a list of entity types + * + * @throws ApiException if the Api call fails + */ + @Test + public void getEntityTypesTest() throws ApiException { + String siteId = null; + String namespace = null; + String next = null; + String limit = null; + GetEntityTypesResponse response = api.getEntityTypes(siteId, namespace, next, limit); + // TODO: test validations + } + + /** + * Update Entity + * + * Updates a Entity + * + * @throws ApiException if the Api call fails + */ + @Test + public void updateEntityTest() throws ApiException { + String entityTypeId = null; + String entityId = null; + UpdateEntityRequest updateEntityRequest = null; + String siteId = null; + String namespace = null; + UpdateResponse response = + api.updateEntity(entityTypeId, entityId, updateEntityRequest, siteId, namespace); + // TODO: test validations + } + +} diff --git a/src/test/java/com/formkiq/client/api/ExamineObjectsApiTest.java b/src/test/java/com/formkiq/client/api/ExamineObjectsApiTest.java index d63f22db0..08dc04f41 100644 --- a/src/test/java/com/formkiq/client/api/ExamineObjectsApiTest.java +++ b/src/test/java/com/formkiq/client/api/ExamineObjectsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java b/src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java index 84abcc2ba..2d33e2e79 100644 --- a/src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java +++ b/src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/AntivirusApiTest.java b/src/test/java/com/formkiq/client/api/MalwareScanApiTest.java similarity index 54% rename from src/test/java/com/formkiq/client/api/AntivirusApiTest.java rename to src/test/java/com/formkiq/client/api/MalwareScanApiTest.java index 33c42278c..f4e4edb07 100644 --- a/src/test/java/com/formkiq/client/api/AntivirusApiTest.java +++ b/src/test/java/com/formkiq/client/api/MalwareScanApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,9 @@ package com.formkiq.client.api; import com.formkiq.client.invoker.ApiException; -import com.formkiq.client.model.SetAntivirusResponse; +import com.formkiq.client.model.ErrorsResponse; +import com.formkiq.client.model.GetMalwareScanResponse; +import com.formkiq.client.model.SetResponse; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -31,17 +33,36 @@ import java.util.Map; /** - * API tests for AntivirusApi + * API tests for MalwareScanApi */ @Disabled -public class AntivirusApiTest { +public class MalwareScanApiTest { - private final AntivirusApi api = new AntivirusApi(); + private final MalwareScanApi api = new MalwareScanApi(); + + /** + * Get Malware Scan results + * + * Gets a Malware Scan results; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void getMalwareScanResultsTest() throws ApiException { + String documentId = null; + String siteId = null; + String next = null; + String limit = null; + GetMalwareScanResponse response = api.getMalwareScanResults(documentId, siteId, next, limit); + // TODO: test validations + } /** * Antivirus document scan * * Perform an Anti-Malware / Antivirus scan on a document; available as an Add-On Module + * **Deprecated**. This endpoint is no longer recommended. Please use the + * **`/documents/{document}/malwareScan`** endpoint instead. * * @throws ApiException if the Api call fails */ @@ -51,7 +72,23 @@ public void setAntivirusTest() throws ApiException { String siteId = null; String shareKey = null; Object body = null; - SetAntivirusResponse response = api.setAntivirus(documentId, siteId, shareKey, body); + SetResponse response = api.setAntivirus(documentId, siteId, shareKey, body); + // TODO: test validations + } + + /** + * MalwareScan document scan + * + * Perform an Anti-Malware / Antivirus scan on a document; available as an Add-On Module + * + * @throws ApiException if the Api call fails + */ + @Test + public void setMalwareScanTest() throws ApiException { + String documentId = null; + String siteId = null; + Object body = null; + SetResponse response = api.setMalwareScan(documentId, siteId, body); // TODO: test validations } diff --git a/src/test/java/com/formkiq/client/api/MappingsApiTest.java b/src/test/java/com/formkiq/client/api/MappingsApiTest.java index 09e19081c..11758bbab 100644 --- a/src/test/java/com/formkiq/client/api/MappingsApiTest.java +++ b/src/test/java/com/formkiq/client/api/MappingsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/PublicApiTest.java b/src/test/java/com/formkiq/client/api/PublicApiTest.java index b6ca7947c..c49f7b84c 100644 --- a/src/test/java/com/formkiq/client/api/PublicApiTest.java +++ b/src/test/java/com/formkiq/client/api/PublicApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/ReindexApiTest.java b/src/test/java/com/formkiq/client/api/ReindexApiTest.java index 7830c1712..ae1dea675 100644 --- a/src/test/java/com/formkiq/client/api/ReindexApiTest.java +++ b/src/test/java/com/formkiq/client/api/ReindexApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/RulesetsApiTest.java b/src/test/java/com/formkiq/client/api/RulesetsApiTest.java index 4060244de..39103d8a4 100644 --- a/src/test/java/com/formkiq/client/api/RulesetsApiTest.java +++ b/src/test/java/com/formkiq/client/api/RulesetsApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/SchemasApiTest.java b/src/test/java/com/formkiq/client/api/SchemasApiTest.java index 7588c0161..432f017ae 100644 --- a/src/test/java/com/formkiq/client/api/SchemasApiTest.java +++ b/src/test/java/com/formkiq/client/api/SchemasApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java b/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java index ee9dcb7b3..daaad1a90 100644 --- a/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java +++ b/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -36,6 +36,9 @@ import com.formkiq.client.model.GetLocaleResourceItemsResponse; import com.formkiq.client.model.GetLocalesResponse; import com.formkiq.client.model.GetOpenSearchIndexResponse; +import com.formkiq.client.model.GetOpenSearchIndiceResponse; +import com.formkiq.client.model.GetOpenSearchSnapshotRepositoryResponse; +import com.formkiq.client.model.GetOpenSearchSnapshotResponse; import com.formkiq.client.model.GetSiteGroupResponse; import com.formkiq.client.model.GetSiteGroupsResponse; import com.formkiq.client.model.GetSitesResponse; @@ -44,6 +47,7 @@ import com.formkiq.client.model.SetLocaleResourceItemRequest; import com.formkiq.client.model.SetOpenSearchIndexRequest; import com.formkiq.client.model.SetOpenSearchIndexResponse; +import com.formkiq.client.model.SetOpenSearchIndiceRequest; import com.formkiq.client.model.SetResponse; import com.formkiq.client.model.SiteStatus; import com.formkiq.client.model.UpdateConfigurationRequest; @@ -114,6 +118,36 @@ public void addLocaleResourceItemTest() throws ApiException { // TODO: test validations } + /** + * Add an OpenSearch Restore Snapshot + * + * Add an OpenSearch Restore Snapshot + * + * @throws ApiException if the Api call fails + */ + @Test + public void addOpenSearchRestoreSnapshotTest() throws ApiException { + String siteId = null; + String snapshotName = null; + AddResponse response = api.addOpenSearchRestoreSnapshot(siteId, snapshotName); + // TODO: test validations + } + + /** + * Add an OpenSearch Snapshot + * + * Add an OpenSearch Snapshot + * + * @throws ApiException if the Api call fails + */ + @Test + public void addOpenSearchSnapshotTest() throws ApiException { + String siteId = null; + String snapshotName = null; + AddResponse response = api.addOpenSearchSnapshot(siteId, snapshotName); + // TODO: test validations + } + /** * Add Site * @@ -182,9 +216,67 @@ public void deleteLocaleResourceItemTest() throws ApiException { * @throws ApiException if the Api call fails */ @Test - public void deleteOpensearchIndexTest() throws ApiException { + public void deleteOpenSearchIndexTest() throws ApiException { + String siteId = null; + DeleteResponse response = api.deleteOpenSearchIndex(siteId); + // TODO: test validations + } + + /** + * Deletes OpenSearch index by name + * + * Deletes the OpenSearch index by name + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteOpenSearchIndexByNameTest() throws ApiException { + String indexName = null; + DeleteResponse response = api.deleteOpenSearchIndexByName(indexName); + // TODO: test validations + } + + /** + * Deletes site(s) OpenSearch Restore Snapshot + * + * Deletes the OpenSearch Restore Snapshot + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteOpenSearchRestoreSnapshotTest() throws ApiException { + String siteId = null; + String snapshotName = null; + DeleteResponse response = api.deleteOpenSearchRestoreSnapshot(siteId, snapshotName); + // TODO: test validations + } + + /** + * Deletes site(s) OpenSearch Snapshot + * + * Deletes the OpenSearch Snapshot + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteOpenSearchSnapshotTest() throws ApiException { + String siteId = null; + String snapshotName = null; + DeleteResponse response = api.deleteOpenSearchSnapshot(siteId, snapshotName); + // TODO: test validations + } + + /** + * Deletes site(s) OpenSearch Snapshot Repository + * + * Deletes the OpenSearch Snapshot Repository + * + * @throws ApiException if the Api call fails + */ + @Test + public void deleteOpenSearchSnapshotRepositoryTest() throws ApiException { String siteId = null; - DeleteResponse response = api.deleteOpensearchIndex(siteId); + DeleteResponse response = api.deleteOpenSearchSnapshotRepository(siteId); // TODO: test validations } @@ -203,6 +295,19 @@ public void deleteSiteGroupTest() throws ApiException { // TODO: test validations } + /** + * Get all OpenSearch indices + * + * Returns all OpenSearch indices + * + * @throws ApiException if the Api call fails + */ + @Test + public void getAllOpenSearchIndicesTest() throws ApiException { + GetOpenSearchIndiceResponse response = api.getAllOpenSearchIndices(); + // TODO: test validations + } + /** * Get API Keys * @@ -286,14 +391,84 @@ public void getLocalesTest() throws ApiException { /** * Get site(s) OpenSearch index settings * - * Returns the OpenSearch index settings + * Returns the OpenSearch index settings (Deprecated use /sites/{siteId}/opensearch/indices) + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOpenSearchIndexTest() throws ApiException { + String siteId = null; + GetOpenSearchIndexResponse response = api.getOpenSearchIndex(siteId); + // TODO: test validations + } + + /** + * Get site(s) OpenSearch indices + * + * Returns the OpenSearch indices + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOpenSearchIndicesTest() throws ApiException { + String siteId = null; + GetOpenSearchIndiceResponse response = api.getOpenSearchIndices(siteId); + // TODO: test validations + } + + /** + * Get site(s) OpenSearch snapshot + * + * Returns the OpenSearch Snapshot * * @throws ApiException if the Api call fails */ @Test - public void getOpensearchIndexTest() throws ApiException { + public void getOpenSearchSnapshotTest() throws ApiException { String siteId = null; - GetOpenSearchIndexResponse response = api.getOpensearchIndex(siteId); + String snapshotName = null; + GetOpenSearchSnapshotResponse response = api.getOpenSearchSnapshot(siteId, snapshotName); + // TODO: test validations + } + + /** + * Get site(s) OpenSearch snapshot repositories + * + * Returns the OpenSearch Snapshot Repositories + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOpenSearchSnapshotRepositoriesTest() throws ApiException { + GetOpenSearchSnapshotRepositoryResponse response = api.getOpenSearchSnapshotRepositories(); + // TODO: test validations + } + + /** + * Get site(s) OpenSearch snapshot repository + * + * Returns the OpenSearch Snapshot Repository + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOpenSearchSnapshotRepositoryTest() throws ApiException { + String siteId = null; + GetOpenSearchSnapshotRepositoryResponse response = api.getOpenSearchSnapshotRepository(siteId); + // TODO: test validations + } + + /** + * Get site(s) OpenSearch snapshots + * + * Returns the OpenSearch Snapshots + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOpenSearchSnapshotsTest() throws ApiException { + String siteId = null; + GetOpenSearchSnapshotResponse response = api.getOpenSearchSnapshots(siteId); // TODO: test validations } @@ -379,10 +554,25 @@ public void setLocaleResourceItemTest() throws ApiException { * @throws ApiException if the Api call fails */ @Test - public void setOpensearchIndexTest() throws ApiException { + public void setOpenSearchIndexTest() throws ApiException { String siteId = null; SetOpenSearchIndexRequest setOpenSearchIndexRequest = null; - SetOpenSearchIndexResponse response = api.setOpensearchIndex(siteId, setOpenSearchIndexRequest); + SetOpenSearchIndexResponse response = api.setOpenSearchIndex(siteId, setOpenSearchIndexRequest); + // TODO: test validations + } + + /** + * Set site(s) OpenSearch index to use for a SiteId + * + * Sets the OpenSearch index to use for a SiteId + * + * @throws ApiException if the Api call fails + */ + @Test + public void setOpenSearchIndicesTest() throws ApiException { + String siteId = null; + SetOpenSearchIndiceRequest setOpenSearchIndiceRequest = null; + SetResponse response = api.setOpenSearchIndices(siteId, setOpenSearchIndiceRequest); // TODO: test validations } diff --git a/src/test/java/com/formkiq/client/api/TagIndexApiTest.java b/src/test/java/com/formkiq/client/api/TagIndexApiTest.java index fabfad621..168c0279a 100644 --- a/src/test/java/com/formkiq/client/api/TagIndexApiTest.java +++ b/src/test/java/com/formkiq/client/api/TagIndexApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java b/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java index 96a6c2b5a..9c5690903 100644 --- a/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java +++ b/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,9 @@ package com.formkiq.client.api; import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.model.GetActivitesResponse; import com.formkiq.client.model.GetUserActivitesResponse; +import java.time.OffsetDateTime; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -56,6 +58,31 @@ public void getDocumentUserActivitiesTest() throws ApiException { // TODO: test validations } + /** + * Get resource activities + * + * Retrieve an resource activities + * + * @throws ApiException if the Api call fails + */ + @Test + public void getResourceActivitiesTest() throws ApiException { + String siteId = null; + String documentId = null; + String entityTypeId = null; + String namespace = null; + String entityId = null; + OffsetDateTime start = null; + OffsetDateTime end = null; + String sort = null; + String next = null; + String limit = null; + String userId = null; + GetActivitesResponse response = api.getResourceActivities(siteId, documentId, entityTypeId, + namespace, entityId, start, end, sort, next, limit, userId); + // TODO: test validations + } + /** * Get user activities * diff --git a/src/test/java/com/formkiq/client/api/UserManagementApiTest.java b/src/test/java/com/formkiq/client/api/UserManagementApiTest.java index 769dfb5a9..f51d037f9 100644 --- a/src/test/java/com/formkiq/client/api/UserManagementApiTest.java +++ b/src/test/java/com/formkiq/client/api/UserManagementApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/api/WebhooksApiTest.java b/src/test/java/com/formkiq/client/api/WebhooksApiTest.java index 4629114ae..13c0bb1ec 100644 --- a/src/test/java/com/formkiq/client/api/WebhooksApiTest.java +++ b/src/test/java/com/formkiq/client/api/WebhooksApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java b/src/test/java/com/formkiq/client/model/ActivityStatusTest.java similarity index 83% rename from src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java rename to src/test/java/com/formkiq/client/model/ActivityStatusTest.java index 93e379790..0eea3599d 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java +++ b/src/test/java/com/formkiq/client/model/ActivityStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -25,15 +25,15 @@ import org.junit.jupiter.api.Test; /** - * Model tests for OpaPolicyItemType + * Model tests for ActivityStatus */ -public class OpaPolicyItemTypeTest { +public class ActivityStatusTest { /** - * Model tests for OpaPolicyItemType + * Model tests for ActivityStatus */ @Test - public void testOpaPolicyItemType() { - // TODO: test OpaPolicyItemType + public void testActivityStatus() { + // TODO: test ActivityStatus } } diff --git a/src/test/java/com/formkiq/client/model/ActivityTest.java b/src/test/java/com/formkiq/client/model/ActivityTest.java new file mode 100644 index 000000000..e09029b22 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/ActivityTest.java @@ -0,0 +1,156 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.ActivityStatus; +import com.formkiq.client.model.UserActivityChanges; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for Activity + */ +public class ActivityTest { + private final Activity model = new Activity(); + + /** + * Model tests for Activity + */ + @Test + public void testActivity() { + // TODO: test Activity + } + + /** + * Test the property 'resource' + */ + @Test + public void resourceTest() { + // TODO: test resource + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'source' + */ + @Test + public void sourceTest() { + // TODO: test source + } + + /** + * Test the property 'sourceIpAddress' + */ + @Test + public void sourceIpAddressTest() { + // TODO: test sourceIpAddress + } + + /** + * Test the property 'message' + */ + @Test + public void messageTest() { + // TODO: test message + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + + /** + * Test the property 'insertedDate' + */ + @Test + public void insertedDateTest() { + // TODO: test insertedDate + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'documentId' + */ + @Test + public void documentIdTest() { + // TODO: test documentId + } + + /** + * Test the property 'attributeKey' + */ + @Test + public void attributeKeyTest() { + // TODO: test attributeKey + } + + /** + * Test the property 'entityTypeId' + */ + @Test + public void entityTypeIdTest() { + // TODO: test entityTypeId + } + + /** + * Test the property 'entityId' + */ + @Test + public void entityIdTest() { + // TODO: test entityId + } + + /** + * Test the property 'changes' + */ + @Test + public void changesTest() { + // TODO: test changes + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddActionParametersTest.java b/src/test/java/com/formkiq/client/model/AddActionParametersTest.java index c6e606ecb..d17e3f7a3 100644 --- a/src/test/java/com/formkiq/client/model/AddActionParametersTest.java +++ b/src/test/java/com/formkiq/client/model/AddActionParametersTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -22,13 +22,16 @@ import com.formkiq.client.model.OcrEngine; import com.formkiq.client.model.OcrOutputType; +import com.formkiq.client.model.TextractQuery; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -46,6 +49,14 @@ public void testAddActionParameters() { // TODO: test AddActionParameters } + /** + * Test the property 'ocrTextractQueries' + */ + @Test + public void ocrTextractQueriesTest() { + // TODO: test ocrTextractQueries + } + /** * Test the property 'ocrParseTypes' */ @@ -86,6 +97,14 @@ public void addPdfDetectedCharactersAsTextTest() { // TODO: test addPdfDetectedCharactersAsText } + /** + * Test the property 'llmPromptEntityName' + */ + @Test + public void llmPromptEntityNameTest() { + // TODO: test llmPromptEntityName + } + /** * Test the property 'url' */ @@ -182,4 +201,36 @@ public void eventBusNameTest() { // TODO: test eventBusName } + /** + * Test the property 'width' + */ + @Test + public void widthTest() { + // TODO: test width + } + + /** + * Test the property 'height' + */ + @Test + public void heightTest() { + // TODO: test height + } + + /** + * Test the property 'path' + */ + @Test + public void pathTest() { + // TODO: test path + } + + /** + * Test the property 'outputType' + */ + @Test + public void outputTypeTest() { + // TODO: test outputType + } + } diff --git a/src/test/java/com/formkiq/client/model/AddActionTest.java b/src/test/java/com/formkiq/client/model/AddActionTest.java index 6d478ea5c..d818244e9 100644 --- a/src/test/java/com/formkiq/client/model/AddActionTest.java +++ b/src/test/java/com/formkiq/client/model/AddActionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddApiKeyRequestTest.java b/src/test/java/com/formkiq/client/model/AddApiKeyRequestTest.java index 99a4cd228..1079b0dfd 100644 --- a/src/test/java/com/formkiq/client/model/AddApiKeyRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddApiKeyRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddApiKeyResponseTest.java b/src/test/java/com/formkiq/client/model/AddApiKeyResponseTest.java index 108cae3f6..2b62cc904 100644 --- a/src/test/java/com/formkiq/client/model/AddApiKeyResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddApiKeyResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddAttributeRequestTest.java b/src/test/java/com/formkiq/client/model/AddAttributeRequestTest.java index f931b54e0..5c8e8f81d 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddAttributeRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java b/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java index 5d5e3c35b..926308c07 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java +++ b/src/test/java/com/formkiq/client/model/AddAttributeSchemaOptionalTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java b/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java index fae3061ba..2b8396961 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java +++ b/src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddAttributeTest.java b/src/test/java/com/formkiq/client/model/AddAttributeTest.java index 4de21b334..eb4477548 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/AddAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddCaseRequestTest.java b/src/test/java/com/formkiq/client/model/AddCaseRequestTest.java index ccc8ce49a..348fd2fa2 100644 --- a/src/test/java/com/formkiq/client/model/AddCaseRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddCaseRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddCaseResponseTest.java b/src/test/java/com/formkiq/client/model/AddCaseResponseTest.java index 1d6a33f96..3a647fdab 100644 --- a/src/test/java/com/formkiq/client/model/AddCaseResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddCaseResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddCaseTest.java b/src/test/java/com/formkiq/client/model/AddCaseTest.java index beb8898a6..3af70dfa7 100644 --- a/src/test/java/com/formkiq/client/model/AddCaseTest.java +++ b/src/test/java/com/formkiq/client/model/AddCaseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddChildDocumentResponseTest.java b/src/test/java/com/formkiq/client/model/AddChildDocumentResponseTest.java index 0a25013bf..3df767422 100644 --- a/src/test/java/com/formkiq/client/model/AddChildDocumentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddChildDocumentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddChildDocumentTest.java b/src/test/java/com/formkiq/client/model/AddChildDocumentTest.java index 19f4865a1..aec1ded7d 100644 --- a/src/test/java/com/formkiq/client/model/AddChildDocumentTest.java +++ b/src/test/java/com/formkiq/client/model/AddChildDocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddClassificationRequestTest.java b/src/test/java/com/formkiq/client/model/AddClassificationRequestTest.java index 2b7dd032f..d3bad3425 100644 --- a/src/test/java/com/formkiq/client/model/AddClassificationRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddClassificationRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddClassificationResponseTest.java b/src/test/java/com/formkiq/client/model/AddClassificationResponseTest.java index 17c740d91..c21bc39c3 100644 --- a/src/test/java/com/formkiq/client/model/AddClassificationResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddClassificationResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddClassificationTest.java b/src/test/java/com/formkiq/client/model/AddClassificationTest.java index 49e38f5e6..831601a4c 100644 --- a/src/test/java/com/formkiq/client/model/AddClassificationTest.java +++ b/src/test/java/com/formkiq/client/model/AddClassificationTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentActionsRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentActionsRequestTest.java index f72d87918..fd23c3357 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentActionsRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentActionsRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentActionsResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentActionsResponseTest.java index fd881c864..5e5cef879 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentActionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentActionsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentActionsRetryResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentActionsRetryResponseTest.java index 3b913fb05..2ea481b9e 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentActionsRetryResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentActionsRetryResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeClassificationTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeClassificationTest.java index 536891be4..264f7708d 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributeClassificationTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeClassificationTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java new file mode 100644 index 000000000..65c3c1435 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java @@ -0,0 +1,80 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.EntityTypeNamespace; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddDocumentAttributeEntity + */ +public class AddDocumentAttributeEntityTest { + private final AddDocumentAttributeEntity model = new AddDocumentAttributeEntity(); + + /** + * Model tests for AddDocumentAttributeEntity + */ + @Test + public void testAddDocumentAttributeEntity() { + // TODO: test AddDocumentAttributeEntity + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'entityTypeId' + */ + @Test + public void entityTypeIdTest() { + // TODO: test entityTypeId + } + + /** + * Test the property 'entityId' + */ + @Test + public void entityIdTest() { + // TODO: test entityId + } + + /** + * Test the property 'namespace' + */ + @Test + public void namespaceTest() { + // TODO: test namespace + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeRelationshipTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeRelationshipTest.java index ebaa0d93b..7e7554d59 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributeRelationshipTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeRelationshipTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeStandardTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeStandardTest.java index 4e1a494f5..a2731fd47 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributeStandardTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeStandardTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeTest.java index 30a8e4b43..3eed67456 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,9 +21,11 @@ package com.formkiq.client.model; import com.formkiq.client.model.AddDocumentAttributeClassification; +import com.formkiq.client.model.AddDocumentAttributeEntity; import com.formkiq.client.model.AddDocumentAttributeRelationship; import com.formkiq.client.model.AddDocumentAttributeStandard; import com.formkiq.client.model.DocumentRelationshipType; +import com.formkiq.client.model.EntityTypeNamespace; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -131,4 +133,28 @@ public void inverseRelationshipTest() { // TODO: test inverseRelationship } + /** + * Test the property 'entityTypeId' + */ + @Test + public void entityTypeIdTest() { + // TODO: test entityTypeId + } + + /** + * Test the property 'entityId' + */ + @Test + public void entityIdTest() { + // TODO: test entityId + } + + /** + * Test the property 'namespace' + */ + @Test + public void namespaceTest() { + // TODO: test namespace + } + } diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeValueTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeValueTest.java index bae41ce66..5648b8369 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributeValueTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeValueTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributesRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributesRequestTest.java index f643de75b..d9586280b 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributesRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributesRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentFulltextRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentFulltextRequestTest.java index 3eaeace64..e5b630ede 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentFulltextRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentFulltextRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentFulltextResponseTest.java index 4732dd786..3c17408b3 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java index f20b0c64d..d595303db 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -23,7 +23,7 @@ import com.formkiq.client.model.DocumentGenerateDataSource; import com.formkiq.client.model.DocumentGenerateInsertDocument; import com.formkiq.client.model.DocumentGenerateOutputType; -import com.formkiq.client.model.Locale; +import com.formkiq.client.model.LocaleInfo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; diff --git a/src/test/java/com/formkiq/client/model/AddDocumentGenerateResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentGenerateResponseTest.java index 77cdfdfd1..208397573 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentGenerateResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentGenerateResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentMetadataTest.java b/src/test/java/com/formkiq/client/model/AddDocumentMetadataTest.java index 933eb0fc8..8d9475f6a 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentMetadataTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentMetadataTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java index 87a0c19ff..c53ca47f7 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -22,6 +22,7 @@ import com.formkiq.client.model.OcrEngine; import com.formkiq.client.model.OcrOutputType; +import com.formkiq.client.model.TextractQuery; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -48,6 +49,14 @@ public void testAddDocumentOcrRequest() { // TODO: test AddDocumentOcrRequest } + /** + * Test the property 'textractQueries' + */ + @Test + public void textractQueriesTest() { + // TODO: test textractQueries + } + /** * Test the property 'parseTypes' */ diff --git a/src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java index 1976bd1ad..995f36f47 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentRequestTest.java index 4b42b0f78..66f23920c 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentResponseTest.java index f00ba6d29..0c59f5f01 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentSyncRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentSyncRequestTest.java index dc863c0d2..261de0340 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentSyncRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentSyncRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentSyncServiceTest.java b/src/test/java/com/formkiq/client/model/AddDocumentSyncServiceTest.java index d4bfb7117..c8ff36c0f 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentSyncServiceTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentSyncServiceTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentSyncTest.java b/src/test/java/com/formkiq/client/model/AddDocumentSyncTest.java index 9859f32b4..505be3656 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentSyncTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentSyncTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentTagTest.java b/src/test/java/com/formkiq/client/model/AddDocumentTagTest.java index 74f0222de..2d4bcd047 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentTagTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentTagsRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentTagsRequestTest.java index ec4fe1c82..f89aa0a86 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentTagsRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentTagsRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentUploadRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentUploadRequestTest.java index 10d216292..c8da5122e 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentUploadRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentUploadRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequestTest.java index 5c2c41817..b6d88caba 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponseTest.java index 4ce9eef65..70791a7ae 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowRequestTest.java index e18a43568..ea9a05677 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowResponseTest.java index 60836324f..3a8547921 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesRequestTest.java index 3c8421057..741a38c2d 100644 --- a/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesResponseTest.java index 4a37b3fa2..4f4db85ec 100644 --- a/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocusignEnvelopesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewRequestTest.java index 1df23f22c..744bd71c8 100644 --- a/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewResponseTest.java b/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewResponseTest.java index acd682cc6..60c608fec 100644 --- a/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocusignRecipientViewResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddEntityAttributeTest.java b/src/test/java/com/formkiq/client/model/AddEntityAttributeTest.java new file mode 100644 index 000000000..35f9eb0ff --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityAttributeTest.java @@ -0,0 +1,98 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddEntityAttribute + */ +public class AddEntityAttributeTest { + private final AddEntityAttribute model = new AddEntityAttribute(); + + /** + * Model tests for AddEntityAttribute + */ + @Test + public void testAddEntityAttribute() { + // TODO: test AddEntityAttribute + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'stringValue' + */ + @Test + public void stringValueTest() { + // TODO: test stringValue + } + + /** + * Test the property 'stringValues' + */ + @Test + public void stringValuesTest() { + // TODO: test stringValues + } + + /** + * Test the property 'numberValue' + */ + @Test + public void numberValueTest() { + // TODO: test numberValue + } + + /** + * Test the property 'numberValues' + */ + @Test + public void numberValuesTest() { + // TODO: test numberValues + } + + /** + * Test the property 'booleanValue' + */ + @Test + public void booleanValueTest() { + // TODO: test booleanValue + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java b/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java new file mode 100644 index 000000000..d97d5f88e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.AddEntity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddEntityRequest + */ +public class AddEntityRequestTest { + private final AddEntityRequest model = new AddEntityRequest(); + + /** + * Model tests for AddEntityRequest + */ + @Test + public void testAddEntityRequest() { + // TODO: test AddEntityRequest + } + + /** + * Test the property 'entity' + */ + @Test + public void entityTest() { + // TODO: test entity + } + +} diff --git a/src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java b/src/test/java/com/formkiq/client/model/AddEntityResponseTest.java similarity index 78% rename from src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java rename to src/test/java/com/formkiq/client/model/AddEntityResponseTest.java index f24c54bdc..a21c9288a 100644 --- a/src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddEntityResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -31,25 +31,25 @@ import org.junit.jupiter.api.Test; /** - * Model tests for SetAntivirusResponse + * Model tests for AddEntityResponse */ -public class SetAntivirusResponseTest { - private final SetAntivirusResponse model = new SetAntivirusResponse(); +public class AddEntityResponseTest { + private final AddEntityResponse model = new AddEntityResponse(); /** - * Model tests for SetAntivirusResponse + * Model tests for AddEntityResponse */ @Test - public void testSetAntivirusResponse() { - // TODO: test SetAntivirusResponse + public void testAddEntityResponse() { + // TODO: test AddEntityResponse } /** - * Test the property 'message' + * Test the property 'entityId' */ @Test - public void messageTest() { - // TODO: test message + public void entityIdTest() { + // TODO: test entityId } } diff --git a/src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java b/src/test/java/com/formkiq/client/model/AddEntityTest.java similarity index 74% rename from src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java rename to src/test/java/com/formkiq/client/model/AddEntityTest.java index 4705bdd8e..e79f57975 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddEntityTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -20,7 +20,7 @@ package com.formkiq.client.model; -import com.formkiq.client.model.DocumentAttribute; +import com.formkiq.client.model.AddEntityAttribute; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,26 +34,25 @@ import org.junit.jupiter.api.Test; /** - * Model tests for GetDocumentAttributeVersionsResponse + * Model tests for AddEntity */ -public class GetDocumentAttributeVersionsResponseTest { - private final GetDocumentAttributeVersionsResponse model = - new GetDocumentAttributeVersionsResponse(); +public class AddEntityTest { + private final AddEntity model = new AddEntity(); /** - * Model tests for GetDocumentAttributeVersionsResponse + * Model tests for AddEntity */ @Test - public void testGetDocumentAttributeVersionsResponse() { - // TODO: test GetDocumentAttributeVersionsResponse + public void testAddEntity() { + // TODO: test AddEntity } /** - * Test the property 'next' + * Test the property 'name' */ @Test - public void nextTest() { - // TODO: test next + public void nameTest() { + // TODO: test name } /** diff --git a/src/test/java/com/formkiq/client/model/AddEntityTypeRequestTest.java b/src/test/java/com/formkiq/client/model/AddEntityTypeRequestTest.java new file mode 100644 index 000000000..46f393126 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityTypeRequestTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.AddEntityType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddEntityTypeRequest + */ +public class AddEntityTypeRequestTest { + private final AddEntityTypeRequest model = new AddEntityTypeRequest(); + + /** + * Model tests for AddEntityTypeRequest + */ + @Test + public void testAddEntityTypeRequest() { + // TODO: test AddEntityTypeRequest + } + + /** + * Test the property 'entityType' + */ + @Test + public void entityTypeTest() { + // TODO: test entityType + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddEntityTypeResponseTest.java b/src/test/java/com/formkiq/client/model/AddEntityTypeResponseTest.java new file mode 100644 index 000000000..22b2d641a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityTypeResponseTest.java @@ -0,0 +1,55 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddEntityTypeResponse + */ +public class AddEntityTypeResponseTest { + private final AddEntityTypeResponse model = new AddEntityTypeResponse(); + + /** + * Model tests for AddEntityTypeResponse + */ + @Test + public void testAddEntityTypeResponse() { + // TODO: test AddEntityTypeResponse + } + + /** + * Test the property 'entityTypeId' + */ + @Test + public void entityTypeIdTest() { + // TODO: test entityTypeId + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java b/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java new file mode 100644 index 000000000..4bf1e5ace --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java @@ -0,0 +1,64 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.EntityTypeNamespace; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddEntityType + */ +public class AddEntityTypeTest { + private final AddEntityType model = new AddEntityType(); + + /** + * Model tests for AddEntityType + */ + @Test + public void testAddEntityType() { + // TODO: test AddEntityType + } + + /** + * Test the property 'namespace' + */ + @Test + public void namespaceTest() { + // TODO: test namespace + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddFolderPermissionTest.java b/src/test/java/com/formkiq/client/model/AddFolderPermissionTest.java new file mode 100644 index 000000000..148d0c62a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddFolderPermissionTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.FolderPermissionType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddFolderPermission + */ +public class AddFolderPermissionTest { + private final AddFolderPermission model = new AddFolderPermission(); + + /** + * Model tests for AddFolderPermission + */ + @Test + public void testAddFolderPermission() { + // TODO: test AddFolderPermission + } + + /** + * Test the property 'roleName' + */ + @Test + public void roleNameTest() { + // TODO: test roleName + } + + /** + * Test the property 'permissions' + */ + @Test + public void permissionsTest() { + // TODO: test permissions + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddFolderRequestTest.java b/src/test/java/com/formkiq/client/model/AddFolderRequestTest.java index cff8547f5..c94161655 100644 --- a/src/test/java/com/formkiq/client/model/AddFolderRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddFolderRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddFolderResponseTest.java b/src/test/java/com/formkiq/client/model/AddFolderResponseTest.java index 1650eab2c..bc858f2e1 100644 --- a/src/test/java/com/formkiq/client/model/AddFolderResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddFolderResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddFolderShareRequestTest.java b/src/test/java/com/formkiq/client/model/AddFolderShareRequestTest.java index 96aad6be0..c09b664dd 100644 --- a/src/test/java/com/formkiq/client/model/AddFolderShareRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddFolderShareRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddFolderShareResponseTest.java b/src/test/java/com/formkiq/client/model/AddFolderShareResponseTest.java index cfdb02171..3502350d3 100644 --- a/src/test/java/com/formkiq/client/model/AddFolderShareResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddFolderShareResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportRequestTest.java b/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportRequestTest.java index 319f7bb3e..f1d0c86bc 100644 --- a/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportResponseTest.java b/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportResponseTest.java index de98a3b19..521781808 100644 --- a/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddGoogleDocumentExportResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddGroupRequestTest.java b/src/test/java/com/formkiq/client/model/AddGroupRequestTest.java index 5bea0e18e..a01cc363e 100644 --- a/src/test/java/com/formkiq/client/model/AddGroupRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddGroupRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddGroupTest.java b/src/test/java/com/formkiq/client/model/AddGroupTest.java index 8dea0d000..ef14ce273 100644 --- a/src/test/java/com/formkiq/client/model/AddGroupTest.java +++ b/src/test/java/com/formkiq/client/model/AddGroupTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java b/src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java index 329eee604..d72215c3e 100644 --- a/src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddLocaleResourceClassificationItemTest.java b/src/test/java/com/formkiq/client/model/AddLocaleResourceClassificationItemTest.java index 5c4d2c469..8128332cf 100644 --- a/src/test/java/com/formkiq/client/model/AddLocaleResourceClassificationItemTest.java +++ b/src/test/java/com/formkiq/client/model/AddLocaleResourceClassificationItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java b/src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java index 8529ab4a3..9c36f73f5 100644 --- a/src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java +++ b/src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java b/src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java index dd61b492c..0a7a86dd2 100644 --- a/src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java b/src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java index d14783406..38022de23 100644 --- a/src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddLocaleResourceSchemaItemTest.java b/src/test/java/com/formkiq/client/model/AddLocaleResourceSchemaItemTest.java index acb8d3c30..07088a360 100644 --- a/src/test/java/com/formkiq/client/model/AddLocaleResourceSchemaItemTest.java +++ b/src/test/java/com/formkiq/client/model/AddLocaleResourceSchemaItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddMappingRequestTest.java b/src/test/java/com/formkiq/client/model/AddMappingRequestTest.java index 979958622..65f633816 100644 --- a/src/test/java/com/formkiq/client/model/AddMappingRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddMappingRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddMappingResponseTest.java b/src/test/java/com/formkiq/client/model/AddMappingResponseTest.java index aeaa92f3a..9b9c9a553 100644 --- a/src/test/java/com/formkiq/client/model/AddMappingResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddMappingResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddMappingTest.java b/src/test/java/com/formkiq/client/model/AddMappingTest.java index 584701ab5..21efb54e0 100644 --- a/src/test/java/com/formkiq/client/model/AddMappingTest.java +++ b/src/test/java/com/formkiq/client/model/AddMappingTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddNigoRequestTest.java b/src/test/java/com/formkiq/client/model/AddNigoRequestTest.java index cc4a82b57..bff1cf55a 100644 --- a/src/test/java/com/formkiq/client/model/AddNigoRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddNigoRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddNigoResponseTest.java b/src/test/java/com/formkiq/client/model/AddNigoResponseTest.java index 46783b2ea..320f28406 100644 --- a/src/test/java/com/formkiq/client/model/AddNigoResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddNigoResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddNigoTest.java b/src/test/java/com/formkiq/client/model/AddNigoTest.java index 8e28e3cb3..3522ba0a4 100644 --- a/src/test/java/com/formkiq/client/model/AddNigoTest.java +++ b/src/test/java/com/formkiq/client/model/AddNigoTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddQueueRequestTest.java b/src/test/java/com/formkiq/client/model/AddQueueRequestTest.java index d66395394..255fb7894 100644 --- a/src/test/java/com/formkiq/client/model/AddQueueRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddQueueRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddQueueResponseTest.java b/src/test/java/com/formkiq/client/model/AddQueueResponseTest.java index 6214eb548..695db0f88 100644 --- a/src/test/java/com/formkiq/client/model/AddQueueResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddQueueResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java b/src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java index 091b126ff..0d72ace1c 100644 --- a/src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddResourceItemTest.java b/src/test/java/com/formkiq/client/model/AddResourceItemTest.java index a8897a43e..b78279d2a 100644 --- a/src/test/java/com/formkiq/client/model/AddResourceItemTest.java +++ b/src/test/java/com/formkiq/client/model/AddResourceItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddResponseTest.java b/src/test/java/com/formkiq/client/model/AddResponseTest.java index 8cd62d47b..962b95f51 100644 --- a/src/test/java/com/formkiq/client/model/AddResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddRuleRequestTest.java b/src/test/java/com/formkiq/client/model/AddRuleRequestTest.java index fb4f89a07..6953bbca4 100644 --- a/src/test/java/com/formkiq/client/model/AddRuleRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddRuleRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddRuleResponseTest.java b/src/test/java/com/formkiq/client/model/AddRuleResponseTest.java index 7e6be07a7..c5f94ed41 100644 --- a/src/test/java/com/formkiq/client/model/AddRuleResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddRuleResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddRuleTest.java b/src/test/java/com/formkiq/client/model/AddRuleTest.java index ef436d993..cd46dcc82 100644 --- a/src/test/java/com/formkiq/client/model/AddRuleTest.java +++ b/src/test/java/com/formkiq/client/model/AddRuleTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddRulesetRequestTest.java b/src/test/java/com/formkiq/client/model/AddRulesetRequestTest.java index a11260a2a..7834101f7 100644 --- a/src/test/java/com/formkiq/client/model/AddRulesetRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddRulesetRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddRulesetResponseTest.java b/src/test/java/com/formkiq/client/model/AddRulesetResponseTest.java index df388fc96..35f069796 100644 --- a/src/test/java/com/formkiq/client/model/AddRulesetResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddRulesetResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddRulesetTest.java b/src/test/java/com/formkiq/client/model/AddRulesetTest.java index 91dbfb3c3..8a07caca6 100644 --- a/src/test/java/com/formkiq/client/model/AddRulesetTest.java +++ b/src/test/java/com/formkiq/client/model/AddRulesetTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddShareTest.java b/src/test/java/com/formkiq/client/model/AddShareTest.java index 0fe378960..cecd21b9c 100644 --- a/src/test/java/com/formkiq/client/model/AddShareTest.java +++ b/src/test/java/com/formkiq/client/model/AddShareTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddSiteRequestTest.java b/src/test/java/com/formkiq/client/model/AddSiteRequestTest.java index b0fd8183c..99f7ef2c1 100644 --- a/src/test/java/com/formkiq/client/model/AddSiteRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddSiteRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddSiteTest.java b/src/test/java/com/formkiq/client/model/AddSiteTest.java index 92781e809..3401c1ec1 100644 --- a/src/test/java/com/formkiq/client/model/AddSiteTest.java +++ b/src/test/java/com/formkiq/client/model/AddSiteTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddTaskRequestTest.java b/src/test/java/com/formkiq/client/model/AddTaskRequestTest.java index 1879ca7a0..3270a2e35 100644 --- a/src/test/java/com/formkiq/client/model/AddTaskRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddTaskRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddTaskResponseTest.java b/src/test/java/com/formkiq/client/model/AddTaskResponseTest.java index 10d4eb9bc..2b3159d1c 100644 --- a/src/test/java/com/formkiq/client/model/AddTaskResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddTaskResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddTaskTest.java b/src/test/java/com/formkiq/client/model/AddTaskTest.java index 28f7c9feb..70075bbd4 100644 --- a/src/test/java/com/formkiq/client/model/AddTaskTest.java +++ b/src/test/java/com/formkiq/client/model/AddTaskTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddUserRequestTest.java b/src/test/java/com/formkiq/client/model/AddUserRequestTest.java index ccbd3183a..3e5a16c41 100644 --- a/src/test/java/com/formkiq/client/model/AddUserRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddUserRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddUserTest.java b/src/test/java/com/formkiq/client/model/AddUserTest.java index 6b93fb782..88f04d70f 100644 --- a/src/test/java/com/formkiq/client/model/AddUserTest.java +++ b/src/test/java/com/formkiq/client/model/AddUserTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWebhookRequestTest.java b/src/test/java/com/formkiq/client/model/AddWebhookRequestTest.java index 13c21f85a..94ceab71d 100644 --- a/src/test/java/com/formkiq/client/model/AddWebhookRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddWebhookRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWebhookResponseTest.java b/src/test/java/com/formkiq/client/model/AddWebhookResponseTest.java index 65ff87d8f..99c2cfbc1 100644 --- a/src/test/java/com/formkiq/client/model/AddWebhookResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddWebhookResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWebhookTagRequestTest.java b/src/test/java/com/formkiq/client/model/AddWebhookTagRequestTest.java index 535b4ffd4..cc8a33fdd 100644 --- a/src/test/java/com/formkiq/client/model/AddWebhookTagRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddWebhookTagRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWorkflowRequestTest.java b/src/test/java/com/formkiq/client/model/AddWorkflowRequestTest.java index 10d899ca0..cf732110e 100644 --- a/src/test/java/com/formkiq/client/model/AddWorkflowRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddWorkflowRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/AddWorkflowResponseTest.java index fc2d9ff59..892ae9aa8 100644 --- a/src/test/java/com/formkiq/client/model/AddWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/AddWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWorkflowStepDecisionTest.java b/src/test/java/com/formkiq/client/model/AddWorkflowStepDecisionTest.java index 6aaace1e5..72aef926b 100644 --- a/src/test/java/com/formkiq/client/model/AddWorkflowStepDecisionTest.java +++ b/src/test/java/com/formkiq/client/model/AddWorkflowStepDecisionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWorkflowStepQueueTest.java b/src/test/java/com/formkiq/client/model/AddWorkflowStepQueueTest.java index 06f4da962..35784d123 100644 --- a/src/test/java/com/formkiq/client/model/AddWorkflowStepQueueTest.java +++ b/src/test/java/com/formkiq/client/model/AddWorkflowStepQueueTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddWorkflowStepTest.java b/src/test/java/com/formkiq/client/model/AddWorkflowStepTest.java index 985ad21f1..51e6d064d 100644 --- a/src/test/java/com/formkiq/client/model/AddWorkflowStepTest.java +++ b/src/test/java/com/formkiq/client/model/AddWorkflowStepTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ApiKeyTest.java b/src/test/java/com/formkiq/client/model/ApiKeyTest.java index 6ea78e98f..457bfd3f9 100644 --- a/src/test/java/com/formkiq/client/model/ApiKeyTest.java +++ b/src/test/java/com/formkiq/client/model/ApiKeyTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeDataTypeTest.java b/src/test/java/com/formkiq/client/model/AttributeDataTypeTest.java index 820051610..514d170ec 100644 --- a/src/test/java/com/formkiq/client/model/AttributeDataTypeTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeDataTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeSchemaCompositeKeyTest.java b/src/test/java/com/formkiq/client/model/AttributeSchemaCompositeKeyTest.java index e07cf832c..22b3accfc 100644 --- a/src/test/java/com/formkiq/client/model/AttributeSchemaCompositeKeyTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeSchemaCompositeKeyTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeSchemaOptionalTest.java b/src/test/java/com/formkiq/client/model/AttributeSchemaOptionalTest.java index 02f7dc491..f94da8333 100644 --- a/src/test/java/com/formkiq/client/model/AttributeSchemaOptionalTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeSchemaOptionalTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeSchemaRequiredTest.java b/src/test/java/com/formkiq/client/model/AttributeSchemaRequiredTest.java index 31706b3cc..d65f8f8a6 100644 --- a/src/test/java/com/formkiq/client/model/AttributeSchemaRequiredTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeSchemaRequiredTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeTest.java b/src/test/java/com/formkiq/client/model/AttributeTest.java index 6a600ece3..286953aba 100644 --- a/src/test/java/com/formkiq/client/model/AttributeTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeTypeTest.java b/src/test/java/com/formkiq/client/model/AttributeTypeTest.java index c7c9895d3..433224cc2 100644 --- a/src/test/java/com/formkiq/client/model/AttributeTypeTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AttributeValueTypeTest.java b/src/test/java/com/formkiq/client/model/AttributeValueTypeTest.java index 1fd7535e3..e1941dec1 100644 --- a/src/test/java/com/formkiq/client/model/AttributeValueTypeTest.java +++ b/src/test/java/com/formkiq/client/model/AttributeValueTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/CaseStatusTest.java b/src/test/java/com/formkiq/client/model/CaseStatusTest.java index 7c9bea411..8762909d7 100644 --- a/src/test/java/com/formkiq/client/model/CaseStatusTest.java +++ b/src/test/java/com/formkiq/client/model/CaseStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ChecksumTypeTest.java b/src/test/java/com/formkiq/client/model/ChecksumTypeTest.java index 3b644d7ef..6cc85fc7d 100644 --- a/src/test/java/com/formkiq/client/model/ChecksumTypeTest.java +++ b/src/test/java/com/formkiq/client/model/ChecksumTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ChildDocumentTest.java b/src/test/java/com/formkiq/client/model/ChildDocumentTest.java index ba8815b15..d3ba068d9 100644 --- a/src/test/java/com/formkiq/client/model/ChildDocumentTest.java +++ b/src/test/java/com/formkiq/client/model/ChildDocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ClassificationSummaryTest.java b/src/test/java/com/formkiq/client/model/ClassificationSummaryTest.java index 4bd24ab28..90db384fd 100644 --- a/src/test/java/com/formkiq/client/model/ClassificationSummaryTest.java +++ b/src/test/java/com/formkiq/client/model/ClassificationSummaryTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ClassificationTest.java b/src/test/java/com/formkiq/client/model/ClassificationTest.java index 968cfac9c..bc70639a4 100644 --- a/src/test/java/com/formkiq/client/model/ClassificationTest.java +++ b/src/test/java/com/formkiq/client/model/ClassificationTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DataClassificationAttributeTest.java b/src/test/java/com/formkiq/client/model/DataClassificationAttributeTest.java new file mode 100644 index 000000000..db75df040 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/DataClassificationAttributeTest.java @@ -0,0 +1,63 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for DataClassificationAttribute + */ +public class DataClassificationAttributeTest { + private final DataClassificationAttribute model = new DataClassificationAttribute(); + + /** + * Model tests for DataClassificationAttribute + */ + @Test + public void testDataClassificationAttribute() { + // TODO: test DataClassificationAttribute + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'value' + */ + @Test + public void valueTest() { + // TODO: test value + } + +} diff --git a/src/test/java/com/formkiq/client/model/DataClassificationTest.java b/src/test/java/com/formkiq/client/model/DataClassificationTest.java new file mode 100644 index 000000000..52350b4f8 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/DataClassificationTest.java @@ -0,0 +1,90 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.DataClassificationAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for DataClassification + */ +public class DataClassificationTest { + private final DataClassification model = new DataClassification(); + + /** + * Model tests for DataClassification + */ + @Test + public void testDataClassification() { + // TODO: test DataClassification + } + + /** + * Test the property 'llmPromptEntityName' + */ + @Test + public void llmPromptEntityNameTest() { + // TODO: test llmPromptEntityName + } + + /** + * Test the property 'insertedDate' + */ + @Test + public void insertedDateTest() { + // TODO: test insertedDate + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'userId' + */ + @Test + public void userIdTest() { + // TODO: test userId + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + +} diff --git a/src/test/java/com/formkiq/client/model/DeleteApiKeyResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteApiKeyResponseTest.java index b1d5c6f2e..d311b90d2 100644 --- a/src/test/java/com/formkiq/client/model/DeleteApiKeyResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteApiKeyResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteCaseDocumentResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteCaseDocumentResponseTest.java index 2db55159c..a64c9ab5a 100644 --- a/src/test/java/com/formkiq/client/model/DeleteCaseDocumentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteCaseDocumentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponseTest.java index 326dfcae7..c3cad60bd 100644 --- a/src/test/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteCaseNigoResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteCaseNigoResponseTest.java index 385d7bd4a..1ff63ec5e 100644 --- a/src/test/java/com/formkiq/client/model/DeleteCaseNigoResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteCaseNigoResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteCaseResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteCaseResponseTest.java index 663d06cba..f93709baa 100644 --- a/src/test/java/com/formkiq/client/model/DeleteCaseResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteCaseResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponseTest.java index 21a0e179c..2a7807701 100644 --- a/src/test/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteCaseTaskResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteCaseTaskResponseTest.java index e13b1b771..aca9197f6 100644 --- a/src/test/java/com/formkiq/client/model/DeleteCaseTaskResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteCaseTaskResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteFolderResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteFolderResponseTest.java index 7ca313450..76e5fa11f 100644 --- a/src/test/java/com/formkiq/client/model/DeleteFolderResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteFolderResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteFulltextResponseTest.java index 979612279..8ee7e2b0e 100644 --- a/src/test/java/com/formkiq/client/model/DeleteFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteIndicesResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteIndicesResponseTest.java index 8558f7618..cef2add26 100644 --- a/src/test/java/com/formkiq/client/model/DeleteIndicesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteIndicesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteQueueResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteQueueResponseTest.java index 626e5b0ca..b308de23d 100644 --- a/src/test/java/com/formkiq/client/model/DeleteQueueResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteQueueResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteResponseTest.java index cc4ee18ed..89a3309ab 100644 --- a/src/test/java/com/formkiq/client/model/DeleteResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteRuleResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteRuleResponseTest.java index d5713d093..b9851ad08 100644 --- a/src/test/java/com/formkiq/client/model/DeleteRuleResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteRuleResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteRulesetResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteRulesetResponseTest.java index f6f6bc287..d67e2e77b 100644 --- a/src/test/java/com/formkiq/client/model/DeleteRulesetResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteRulesetResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteShareResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteShareResponseTest.java index 006aec606..bf7a3df07 100644 --- a/src/test/java/com/formkiq/client/model/DeleteShareResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteShareResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DeleteWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/DeleteWorkflowResponseTest.java index 28a4a0530..5d4fbfe45 100644 --- a/src/test/java/com/formkiq/client/model/DeleteWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DeleteWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentActionStatusTest.java b/src/test/java/com/formkiq/client/model/DocumentActionStatusTest.java index bdce54df4..ab713ea6b 100644 --- a/src/test/java/com/formkiq/client/model/DocumentActionStatusTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentActionStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentActionTest.java b/src/test/java/com/formkiq/client/model/DocumentActionTest.java index 679e3656c..ebee79d5d 100644 --- a/src/test/java/com/formkiq/client/model/DocumentActionTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentActionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -28,6 +28,7 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.math.BigDecimal; import java.util.Arrays; import java.util.HashMap; import java.util.Map; @@ -64,6 +65,22 @@ public void typeTest() { // TODO: test type } + /** + * Test the property 'retryCount' + */ + @Test + public void retryCountTest() { + // TODO: test retryCount + } + + /** + * Test the property 'maxRetries' + */ + @Test + public void maxRetriesTest() { + // TODO: test maxRetries + } + /** * Test the property 'queueId' */ diff --git a/src/test/java/com/formkiq/client/model/DocumentActionTypeTest.java b/src/test/java/com/formkiq/client/model/DocumentActionTypeTest.java index 1122b6800..04f58db71 100644 --- a/src/test/java/com/formkiq/client/model/DocumentActionTypeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentActionTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java b/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java index 1c107dc7d..38cf366be 100644 --- a/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeEqTest.java b/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeEqTest.java index 05c5def5d..e78366d87 100644 --- a/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeEqTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeEqTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeTest.java b/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeTest.java index 851dabbbb..a859d68c0 100644 --- a/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentFulltextAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentFulltextRequestTest.java b/src/test/java/com/formkiq/client/model/DocumentFulltextRequestTest.java index bca547b52..420a04679 100644 --- a/src/test/java/com/formkiq/client/model/DocumentFulltextRequestTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentFulltextRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/DocumentFulltextResponseTest.java index 99881e9d9..eecec4174 100644 --- a/src/test/java/com/formkiq/client/model/DocumentFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentFulltextSearchTest.java b/src/test/java/com/formkiq/client/model/DocumentFulltextSearchTest.java index 22721d8cc..e067676e7 100644 --- a/src/test/java/com/formkiq/client/model/DocumentFulltextSearchTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentFulltextSearchTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentFulltextTagTest.java b/src/test/java/com/formkiq/client/model/DocumentFulltextTagTest.java index 43d8afaeb..0f7bbadfa 100644 --- a/src/test/java/com/formkiq/client/model/DocumentFulltextTagTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentFulltextTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentGenerateDataSourceTest.java b/src/test/java/com/formkiq/client/model/DocumentGenerateDataSourceTest.java index f8dec34e6..b713e205b 100644 --- a/src/test/java/com/formkiq/client/model/DocumentGenerateDataSourceTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentGenerateDataSourceTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPositionTest.java b/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPositionTest.java index a2195d910..8dc97b1d4 100644 --- a/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPositionTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPositionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentTest.java b/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentTest.java index b7804ecd2..2611b911e 100644 --- a/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentGenerateOutputTypeTest.java b/src/test/java/com/formkiq/client/model/DocumentGenerateOutputTypeTest.java index 5eb075c05..c4923f102 100644 --- a/src/test/java/com/formkiq/client/model/DocumentGenerateOutputTypeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentGenerateOutputTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentIdTest.java b/src/test/java/com/formkiq/client/model/DocumentIdTest.java index 725e39d21..720d2fe3b 100644 --- a/src/test/java/com/formkiq/client/model/DocumentIdTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentIdTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentMetadataTest.java b/src/test/java/com/formkiq/client/model/DocumentMetadataTest.java index 0c75563d2..d066367b4 100644 --- a/src/test/java/com/formkiq/client/model/DocumentMetadataTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentMetadataTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentRelationshipTypeTest.java b/src/test/java/com/formkiq/client/model/DocumentRelationshipTypeTest.java index 9e0e5cc09..69e27df07 100644 --- a/src/test/java/com/formkiq/client/model/DocumentRelationshipTypeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentRelationshipTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchAttributeTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchAttributeTest.java index 65ecd8674..d73e7afe4 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchMatchAttributeTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchMatchAttributeTest.java index b6ae73d44..f6ff90392 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchMatchAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchMatchAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchMatchTagTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchMatchTagTest.java index 5520754f8..5973797f4 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchMatchTagTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchMatchTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchMetaTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchMetaTest.java index 2b8a2d033..3de584b2a 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchMetaTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchMetaTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchRangeTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchRangeTest.java index 4b6807626..418418cd6 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchRangeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchRangeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchRequestTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchRequestTest.java index 6a7f8fcc0..d06e403b8 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchRequestTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchResponseTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchResponseTest.java index 105ef64be..1749c6745 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchTagTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchTagTest.java index 1187a52a5..1eb6d04cc 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchTagTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchTagsTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchTagsTest.java index 9c12fbf70..a019ca91b 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchTagsTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchTagsTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSearchTest.java b/src/test/java/com/formkiq/client/model/DocumentSearchTest.java index 263ad5677..9b8a57ca3 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSearchTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSearchTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSyncServiceTest.java b/src/test/java/com/formkiq/client/model/DocumentSyncServiceTest.java index dcdd7a3a3..75d6d1467 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSyncServiceTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSyncServiceTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSyncStatusTest.java b/src/test/java/com/formkiq/client/model/DocumentSyncStatusTest.java index ef08689b9..d62f6bf88 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSyncStatusTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSyncStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSyncTest.java b/src/test/java/com/formkiq/client/model/DocumentSyncTest.java index f7a465fba..0213cfb1e 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSyncTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSyncTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentSyncTypeTest.java b/src/test/java/com/formkiq/client/model/DocumentSyncTypeTest.java index 91d7f4c5d..c5438deb2 100644 --- a/src/test/java/com/formkiq/client/model/DocumentSyncTypeTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentSyncTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentTagTest.java b/src/test/java/com/formkiq/client/model/DocumentTagTest.java index 74d7c4552..e47776885 100644 --- a/src/test/java/com/formkiq/client/model/DocumentTagTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentTest.java b/src/test/java/com/formkiq/client/model/DocumentTest.java index d1ca61d69..4fc372bed 100644 --- a/src/test/java/com/formkiq/client/model/DocumentTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentVersionTest.java b/src/test/java/com/formkiq/client/model/DocumentVersionTest.java index d8db9955c..c2cda40ea 100644 --- a/src/test/java/com/formkiq/client/model/DocumentVersionTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentVersionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentWorkflowStatusTest.java b/src/test/java/com/formkiq/client/model/DocumentWorkflowStatusTest.java index 372df0003..3891f8866 100644 --- a/src/test/java/com/formkiq/client/model/DocumentWorkflowStatusTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentWorkflowStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentWorkflowTest.java b/src/test/java/com/formkiq/client/model/DocumentWorkflowTest.java index 88bf3116b..66933965d 100644 --- a/src/test/java/com/formkiq/client/model/DocumentWorkflowTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentWorkflowTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentsCompressRequestTest.java b/src/test/java/com/formkiq/client/model/DocumentsCompressRequestTest.java index 9a21d9290..edab0fe4a 100644 --- a/src/test/java/com/formkiq/client/model/DocumentsCompressRequestTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentsCompressRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocumentsCompressResponseTest.java b/src/test/java/com/formkiq/client/model/DocumentsCompressResponseTest.java index 5ac3aa58e..d7135d47b 100644 --- a/src/test/java/com/formkiq/client/model/DocumentsCompressResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentsCompressResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignConfigTest.java b/src/test/java/com/formkiq/client/model/DocusignConfigTest.java index 5d1687236..36c271e13 100644 --- a/src/test/java/com/formkiq/client/model/DocusignConfigTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignConfigTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignEnvironmentTest.java b/src/test/java/com/formkiq/client/model/DocusignEnvironmentTest.java index 85d195af7..b9efdbae5 100644 --- a/src/test/java/com/formkiq/client/model/DocusignEnvironmentTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignEnvironmentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignInpersonSignerTest.java b/src/test/java/com/formkiq/client/model/DocusignInpersonSignerTest.java index f67a5303a..7d7eae389 100644 --- a/src/test/java/com/formkiq/client/model/DocusignInpersonSignerTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignInpersonSignerTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignNotificationExpirationsTest.java b/src/test/java/com/formkiq/client/model/DocusignNotificationExpirationsTest.java index 06c4c1bce..35fe2282e 100644 --- a/src/test/java/com/formkiq/client/model/DocusignNotificationExpirationsTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignNotificationExpirationsTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignNotificationRemindersTest.java b/src/test/java/com/formkiq/client/model/DocusignNotificationRemindersTest.java index cf3b61008..eef2799ff 100644 --- a/src/test/java/com/formkiq/client/model/DocusignNotificationRemindersTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignNotificationRemindersTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignNotificationTest.java b/src/test/java/com/formkiq/client/model/DocusignNotificationTest.java index e1ef2886b..7715198a1 100644 --- a/src/test/java/com/formkiq/client/model/DocusignNotificationTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignNotificationTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignRecipientViewTest.java b/src/test/java/com/formkiq/client/model/DocusignRecipientViewTest.java index 348794549..f134ff558 100644 --- a/src/test/java/com/formkiq/client/model/DocusignRecipientViewTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignRecipientViewTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignSignHereTabsTest.java b/src/test/java/com/formkiq/client/model/DocusignSignHereTabsTest.java index 86766a294..aa92635a5 100644 --- a/src/test/java/com/formkiq/client/model/DocusignSignHereTabsTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignSignHereTabsTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignSignerTest.java b/src/test/java/com/formkiq/client/model/DocusignSignerTest.java index 77e95d0ac..852255694 100644 --- a/src/test/java/com/formkiq/client/model/DocusignSignerTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignSignerTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/DocusignSigningTabsTest.java b/src/test/java/com/formkiq/client/model/DocusignSigningTabsTest.java index ff676a578..64c6d28fe 100644 --- a/src/test/java/com/formkiq/client/model/DocusignSigningTabsTest.java +++ b/src/test/java/com/formkiq/client/model/DocusignSigningTabsTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/EntityAttributeTest.java b/src/test/java/com/formkiq/client/model/EntityAttributeTest.java new file mode 100644 index 000000000..f57c76b07 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/EntityAttributeTest.java @@ -0,0 +1,107 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.AttributeValueType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for EntityAttribute + */ +public class EntityAttributeTest { + private final EntityAttribute model = new EntityAttribute(); + + /** + * Model tests for EntityAttribute + */ + @Test + public void testEntityAttribute() { + // TODO: test EntityAttribute + } + + /** + * Test the property 'key' + */ + @Test + public void keyTest() { + // TODO: test key + } + + /** + * Test the property 'stringValue' + */ + @Test + public void stringValueTest() { + // TODO: test stringValue + } + + /** + * Test the property 'stringValues' + */ + @Test + public void stringValuesTest() { + // TODO: test stringValues + } + + /** + * Test the property 'numberValue' + */ + @Test + public void numberValueTest() { + // TODO: test numberValue + } + + /** + * Test the property 'numberValues' + */ + @Test + public void numberValuesTest() { + // TODO: test numberValues + } + + /** + * Test the property 'booleanValue' + */ + @Test + public void booleanValueTest() { + // TODO: test booleanValue + } + + /** + * Test the property 'valueType' + */ + @Test + public void valueTypeTest() { + // TODO: test valueType + } + +} diff --git a/src/test/java/com/formkiq/client/model/EntityTest.java b/src/test/java/com/formkiq/client/model/EntityTest.java new file mode 100644 index 000000000..77b395acb --- /dev/null +++ b/src/test/java/com/formkiq/client/model/EntityTest.java @@ -0,0 +1,90 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.EntityAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for Entity + */ +public class EntityTest { + private final Entity model = new Entity(); + + /** + * Model tests for Entity + */ + @Test + public void testEntity() { + // TODO: test Entity + } + + /** + * Test the property 'entityId' + */ + @Test + public void entityIdTest() { + // TODO: test entityId + } + + /** + * Test the property 'entityTypeId' + */ + @Test + public void entityTypeIdTest() { + // TODO: test entityTypeId + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'insertedDate' + */ + @Test + public void insertedDateTest() { + // TODO: test insertedDate + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + +} diff --git a/src/test/java/com/formkiq/client/model/EntityTypeNamespaceTest.java b/src/test/java/com/formkiq/client/model/EntityTypeNamespaceTest.java new file mode 100644 index 000000000..009f9dd3a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/EntityTypeNamespaceTest.java @@ -0,0 +1,39 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for EntityTypeNamespace + */ +public class EntityTypeNamespaceTest { + /** + * Model tests for EntityTypeNamespace + */ + @Test + public void testEntityTypeNamespace() { + // TODO: test EntityTypeNamespace + } + +} diff --git a/src/test/java/com/formkiq/client/model/EntityTypeTest.java b/src/test/java/com/formkiq/client/model/EntityTypeTest.java new file mode 100644 index 000000000..302253101 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/EntityTypeTest.java @@ -0,0 +1,80 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.EntityTypeNamespace; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for EntityType + */ +public class EntityTypeTest { + private final EntityType model = new EntityType(); + + /** + * Model tests for EntityType + */ + @Test + public void testEntityType() { + // TODO: test EntityType + } + + /** + * Test the property 'entityTypeId' + */ + @Test + public void entityTypeIdTest() { + // TODO: test entityTypeId + } + + /** + * Test the property 'namespace' + */ + @Test + public void namespaceTest() { + // TODO: test namespace + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'insertedDate' + */ + @Test + public void insertedDateTest() { + // TODO: test insertedDate + } + +} diff --git a/src/test/java/com/formkiq/client/model/ErrorTest.java b/src/test/java/com/formkiq/client/model/ErrorTest.java index b4e3969a1..ef291fae5 100644 --- a/src/test/java/com/formkiq/client/model/ErrorTest.java +++ b/src/test/java/com/formkiq/client/model/ErrorTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ErrorsResponseTest.java b/src/test/java/com/formkiq/client/model/ErrorsResponseTest.java index 6d18a0f9b..a058dd28b 100644 --- a/src/test/java/com/formkiq/client/model/ErrorsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/ErrorsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/FolderPermissionTest.java b/src/test/java/com/formkiq/client/model/FolderPermissionTest.java new file mode 100644 index 000000000..1a4b1e9a0 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/FolderPermissionTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.FolderPermissionType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for FolderPermission + */ +public class FolderPermissionTest { + private final FolderPermission model = new FolderPermission(); + + /** + * Model tests for FolderPermission + */ + @Test + public void testFolderPermission() { + // TODO: test FolderPermission + } + + /** + * Test the property 'roleName' + */ + @Test + public void roleNameTest() { + // TODO: test roleName + } + + /** + * Test the property 'permissions' + */ + @Test + public void permissionsTest() { + // TODO: test permissions + } + +} diff --git a/src/test/java/com/formkiq/client/model/FolderPermissionTypeTest.java b/src/test/java/com/formkiq/client/model/FolderPermissionTypeTest.java new file mode 100644 index 000000000..a2d20b809 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/FolderPermissionTypeTest.java @@ -0,0 +1,39 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for FolderPermissionType + */ +public class FolderPermissionTypeTest { + /** + * Model tests for FolderPermissionType + */ + @Test + public void testFolderPermissionType() { + // TODO: test FolderPermissionType + } + +} diff --git a/src/test/java/com/formkiq/client/model/FulltextAttributeTest.java b/src/test/java/com/formkiq/client/model/FulltextAttributeTest.java index 59c85f4e9..bbd3a5ae3 100644 --- a/src/test/java/com/formkiq/client/model/FulltextAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/FulltextAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/FulltextSearchItemTest.java b/src/test/java/com/formkiq/client/model/FulltextSearchItemTest.java index 40ee39b78..439c4b663 100644 --- a/src/test/java/com/formkiq/client/model/FulltextSearchItemTest.java +++ b/src/test/java/com/formkiq/client/model/FulltextSearchItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetActivitesResponseTest.java b/src/test/java/com/formkiq/client/model/GetActivitesResponseTest.java new file mode 100644 index 000000000..20c26308a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetActivitesResponseTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.Activity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetActivitesResponse + */ +public class GetActivitesResponseTest { + private final GetActivitesResponse model = new GetActivitesResponse(); + + /** + * Model tests for GetActivitesResponse + */ + @Test + public void testGetActivitesResponse() { + // TODO: test GetActivitesResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'activities' + */ + @Test + public void activitiesTest() { + // TODO: test activities + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetApiKeysResponseTest.java b/src/test/java/com/formkiq/client/model/GetApiKeysResponseTest.java index 3e0aecc65..0fc7bef16 100644 --- a/src/test/java/com/formkiq/client/model/GetApiKeysResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetApiKeysResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetAttributeAllowedValuesResponseTest.java b/src/test/java/com/formkiq/client/model/GetAttributeAllowedValuesResponseTest.java index 75a3bda4a..f5f245e42 100644 --- a/src/test/java/com/formkiq/client/model/GetAttributeAllowedValuesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetAttributeAllowedValuesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetAttributeResponseTest.java b/src/test/java/com/formkiq/client/model/GetAttributeResponseTest.java index 21de7203b..d61324f83 100644 --- a/src/test/java/com/formkiq/client/model/GetAttributeResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetAttributeResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetAttributesResponseTest.java b/src/test/java/com/formkiq/client/model/GetAttributesResponseTest.java index edfef46c2..37edbea00 100644 --- a/src/test/java/com/formkiq/client/model/GetAttributesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetAttributesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCaseDocumentsResponseTest.java b/src/test/java/com/formkiq/client/model/GetCaseDocumentsResponseTest.java index ee10d83d9..26242c861 100644 --- a/src/test/java/com/formkiq/client/model/GetCaseDocumentsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCaseDocumentsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCaseNigoResponseTest.java b/src/test/java/com/formkiq/client/model/GetCaseNigoResponseTest.java index c0f89cacb..e8f35d5ad 100644 --- a/src/test/java/com/formkiq/client/model/GetCaseNigoResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCaseNigoResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCaseNigosResponseTest.java b/src/test/java/com/formkiq/client/model/GetCaseNigosResponseTest.java index 4432500a1..adbee95aa 100644 --- a/src/test/java/com/formkiq/client/model/GetCaseNigosResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCaseNigosResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCaseResponseTest.java b/src/test/java/com/formkiq/client/model/GetCaseResponseTest.java index 9cf158095..6b8e99ffd 100644 --- a/src/test/java/com/formkiq/client/model/GetCaseResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCaseResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCaseTaskResponseTest.java b/src/test/java/com/formkiq/client/model/GetCaseTaskResponseTest.java index d4654b40d..b25c26f61 100644 --- a/src/test/java/com/formkiq/client/model/GetCaseTaskResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCaseTaskResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCaseTasksResponseTest.java b/src/test/java/com/formkiq/client/model/GetCaseTasksResponseTest.java index c9294d769..c91a47a64 100644 --- a/src/test/java/com/formkiq/client/model/GetCaseTasksResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCaseTasksResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetCasesResponseTest.java b/src/test/java/com/formkiq/client/model/GetCasesResponseTest.java index 2956db322..4bec22706 100644 --- a/src/test/java/com/formkiq/client/model/GetCasesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetCasesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetClassificationResponseTest.java b/src/test/java/com/formkiq/client/model/GetClassificationResponseTest.java index 029bad832..81ea372ab 100644 --- a/src/test/java/com/formkiq/client/model/GetClassificationResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetClassificationResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetClassificationsResponseTest.java b/src/test/java/com/formkiq/client/model/GetClassificationsResponseTest.java index ca7c6f939..66851dff4 100644 --- a/src/test/java/com/formkiq/client/model/GetClassificationsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetClassificationsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetConfigurationResponseTest.java b/src/test/java/com/formkiq/client/model/GetConfigurationResponseTest.java index c6b6da1f3..acd2e985e 100644 --- a/src/test/java/com/formkiq/client/model/GetConfigurationResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetConfigurationResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentActionsResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentActionsResponseTest.java index 82d20a36a..288220270 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentActionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentActionsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentAttributeResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentAttributeResponseTest.java index a59e06c23..494dc8eb1 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentAttributeResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentAttributeResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentAttributesResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentAttributesResponseTest.java index c17bac479..74edca4cc 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentAttributesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentAttributesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentContentResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentContentResponseTest.java index 976b485c2..8fbf2621f 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentContentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentContentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentDataClassificationResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentDataClassificationResponseTest.java new file mode 100644 index 000000000..2c4280a66 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetDocumentDataClassificationResponseTest.java @@ -0,0 +1,67 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.DataClassification; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetDocumentDataClassificationResponse + */ +public class GetDocumentDataClassificationResponseTest { + private final GetDocumentDataClassificationResponse model = + new GetDocumentDataClassificationResponse(); + + /** + * Model tests for GetDocumentDataClassificationResponse + */ + @Test + public void testGetDocumentDataClassificationResponse() { + // TODO: test GetDocumentDataClassificationResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'dataClassifications' + */ + @Test + public void dataClassificationsTest() { + // TODO: test dataClassifications + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetDocumentFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentFulltextResponseTest.java index b29738db9..d66eca38f 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java index ac8cd72c7..da1701632 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java index 1251a3b61..81b5fe32f 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentSyncResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentSyncResponseTest.java index c2e478790..efff0fa5b 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentSyncResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentSyncResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentTagResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentTagResponseTest.java index 31ce97507..3d5215cd2 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentTagResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentTagResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentTagsResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentTagsResponseTest.java index 19f1adf77..b6fc1b1cd 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentTagsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentTagsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentUrlResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentUrlResponseTest.java index d97704d84..4c5ce8fe0 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentUrlResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentUrlResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentVersionsResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentVersionsResponseTest.java index b906078ff..741073968 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentVersionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentVersionsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentWorkflowResponseTest.java index 5c5496fd4..09b41584c 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentWorkflowsResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentWorkflowsResponseTest.java index 76d31fccb..9cbd239a1 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentWorkflowsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentWorkflowsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetDocumentsResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentsResponseTest.java index d88fe590e..4cca791dd 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetEntitiesResponseTest.java b/src/test/java/com/formkiq/client/model/GetEntitiesResponseTest.java new file mode 100644 index 000000000..76e03d4c5 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetEntitiesResponseTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.Entity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetEntitiesResponse + */ +public class GetEntitiesResponseTest { + private final GetEntitiesResponse model = new GetEntitiesResponse(); + + /** + * Model tests for GetEntitiesResponse + */ + @Test + public void testGetEntitiesResponse() { + // TODO: test GetEntitiesResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'entities' + */ + @Test + public void entitiesTest() { + // TODO: test entities + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetEntityResponseTest.java b/src/test/java/com/formkiq/client/model/GetEntityResponseTest.java new file mode 100644 index 000000000..2a0fac7b8 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetEntityResponseTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.Entity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetEntityResponse + */ +public class GetEntityResponseTest { + private final GetEntityResponse model = new GetEntityResponse(); + + /** + * Model tests for GetEntityResponse + */ + @Test + public void testGetEntityResponse() { + // TODO: test GetEntityResponse + } + + /** + * Test the property 'entity' + */ + @Test + public void entityTest() { + // TODO: test entity + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetEntityTypeResponseTest.java b/src/test/java/com/formkiq/client/model/GetEntityTypeResponseTest.java new file mode 100644 index 000000000..5ee50f175 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetEntityTypeResponseTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.EntityType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetEntityTypeResponse + */ +public class GetEntityTypeResponseTest { + private final GetEntityTypeResponse model = new GetEntityTypeResponse(); + + /** + * Model tests for GetEntityTypeResponse + */ + @Test + public void testGetEntityTypeResponse() { + // TODO: test GetEntityTypeResponse + } + + /** + * Test the property 'entityType' + */ + @Test + public void entityTypeTest() { + // TODO: test entityType + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetEntityTypesResponseTest.java b/src/test/java/com/formkiq/client/model/GetEntityTypesResponseTest.java new file mode 100644 index 000000000..a9893a48e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetEntityTypesResponseTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.EntityType; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetEntityTypesResponse + */ +public class GetEntityTypesResponseTest { + private final GetEntityTypesResponse model = new GetEntityTypesResponse(); + + /** + * Model tests for GetEntityTypesResponse + */ + @Test + public void testGetEntityTypesResponse() { + // TODO: test GetEntityTypesResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'entityTypes' + */ + @Test + public void entityTypesTest() { + // TODO: test entityTypes + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetExaminePdfResponseTest.java b/src/test/java/com/formkiq/client/model/GetExaminePdfResponseTest.java index 5821a6b45..5af0f3860 100644 --- a/src/test/java/com/formkiq/client/model/GetExaminePdfResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetExaminePdfResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetExaminePdfUrlResponseTest.java b/src/test/java/com/formkiq/client/model/GetExaminePdfUrlResponseTest.java index 3e319ad1e..3d8c04fc1 100644 --- a/src/test/java/com/formkiq/client/model/GetExaminePdfUrlResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetExaminePdfUrlResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetFolderPermissionsResponseTest.java b/src/test/java/com/formkiq/client/model/GetFolderPermissionsResponseTest.java new file mode 100644 index 000000000..ff2451fe4 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetFolderPermissionsResponseTest.java @@ -0,0 +1,58 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.FolderPermission; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetFolderPermissionsResponse + */ +public class GetFolderPermissionsResponseTest { + private final GetFolderPermissionsResponse model = new GetFolderPermissionsResponse(); + + /** + * Model tests for GetFolderPermissionsResponse + */ + @Test + public void testGetFolderPermissionsResponse() { + // TODO: test GetFolderPermissionsResponse + } + + /** + * Test the property 'roles' + */ + @Test + public void rolesTest() { + // TODO: test roles + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetFoldersResponseTest.java b/src/test/java/com/formkiq/client/model/GetFoldersResponseTest.java index 14ae3e349..992a6e3a5 100644 --- a/src/test/java/com/formkiq/client/model/GetFoldersResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetFoldersResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetGroupResponseTest.java b/src/test/java/com/formkiq/client/model/GetGroupResponseTest.java index 04106cca5..5d261160d 100644 --- a/src/test/java/com/formkiq/client/model/GetGroupResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetGroupResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetGroupsResponseTest.java b/src/test/java/com/formkiq/client/model/GetGroupsResponseTest.java index 0937ef843..81aafc4e9 100644 --- a/src/test/java/com/formkiq/client/model/GetGroupsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetGroupsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetLocaleResourceItemResponseTest.java b/src/test/java/com/formkiq/client/model/GetLocaleResourceItemResponseTest.java index ede91301c..9f3ce4404 100644 --- a/src/test/java/com/formkiq/client/model/GetLocaleResourceItemResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetLocaleResourceItemResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetLocaleResourceItemsResponseTest.java b/src/test/java/com/formkiq/client/model/GetLocaleResourceItemsResponseTest.java index 7bb825c69..32050458a 100644 --- a/src/test/java/com/formkiq/client/model/GetLocaleResourceItemsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetLocaleResourceItemsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java b/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java index 9ed4ba5ff..265a31739 100644 --- a/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -20,7 +20,7 @@ package com.formkiq.client.model; -import com.formkiq.client.model.Locale; +import com.formkiq.client.model.LocaleInfo; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; diff --git a/src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java b/src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java new file mode 100644 index 000000000..985c4be15 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.MalwareScanResult; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetMalwareScanResponse + */ +public class GetMalwareScanResponseTest { + private final GetMalwareScanResponse model = new GetMalwareScanResponse(); + + /** + * Model tests for GetMalwareScanResponse + */ + @Test + public void testGetMalwareScanResponse() { + // TODO: test GetMalwareScanResponse + } + + /** + * Test the property 'next' + */ + @Test + public void nextTest() { + // TODO: test next + } + + /** + * Test the property 'malwareScanResults' + */ + @Test + public void malwareScanResultsTest() { + // TODO: test malwareScanResults + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetMappingResponseTest.java b/src/test/java/com/formkiq/client/model/GetMappingResponseTest.java index eb316bef1..c4321db4c 100644 --- a/src/test/java/com/formkiq/client/model/GetMappingResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetMappingResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetMappingsResponseTest.java b/src/test/java/com/formkiq/client/model/GetMappingsResponseTest.java index 8d7844729..4c781624c 100644 --- a/src/test/java/com/formkiq/client/model/GetMappingsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetMappingsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetOpaAccessPoliciesResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpaAccessPoliciesResponseTest.java index 738671ce3..6e5e7b795 100644 --- a/src/test/java/com/formkiq/client/model/GetOpaAccessPoliciesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetOpaAccessPoliciesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponseTest.java index 8d1dfb135..ce465fd46 100644 --- a/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyResponseTest.java index 1d30c9d33..c95bb720f 100644 --- a/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetOpaAccessPolicyResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java index 6628c5c3b..3af40ecae 100644 --- a/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -20,7 +20,7 @@ package com.formkiq.client.model; -import com.formkiq.client.model.OpenSearchIndex; +import com.formkiq.client.model.OpenSearchIndexSetting; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; diff --git a/src/test/java/com/formkiq/client/model/GetOpenSearchIndiceResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpenSearchIndiceResponseTest.java new file mode 100644 index 000000000..ace0232a1 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetOpenSearchIndiceResponseTest.java @@ -0,0 +1,58 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.OpenSearchIndex; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetOpenSearchIndiceResponse + */ +public class GetOpenSearchIndiceResponseTest { + private final GetOpenSearchIndiceResponse model = new GetOpenSearchIndiceResponse(); + + /** + * Model tests for GetOpenSearchIndiceResponse + */ + @Test + public void testGetOpenSearchIndiceResponse() { + // TODO: test GetOpenSearchIndiceResponse + } + + /** + * Test the property 'indices' + */ + @Test + public void indicesTest() { + // TODO: test indices + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponseTest.java new file mode 100644 index 000000000..5e4d87e03 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponseTest.java @@ -0,0 +1,59 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.OpenSearchS3Repository; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetOpenSearchSnapshotRepositoryResponse + */ +public class GetOpenSearchSnapshotRepositoryResponseTest { + private final GetOpenSearchSnapshotRepositoryResponse model = + new GetOpenSearchSnapshotRepositoryResponse(); + + /** + * Model tests for GetOpenSearchSnapshotRepositoryResponse + */ + @Test + public void testGetOpenSearchSnapshotRepositoryResponse() { + // TODO: test GetOpenSearchSnapshotRepositoryResponse + } + + /** + * Test the property 's3Repositories' + */ + @Test + public void s3RepositoriesTest() { + // TODO: test s3Repositories + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotResponseTest.java new file mode 100644 index 000000000..4ac195a9c --- /dev/null +++ b/src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotResponseTest.java @@ -0,0 +1,58 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.OpenSearchSnapshot; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for GetOpenSearchSnapshotResponse + */ +public class GetOpenSearchSnapshotResponseTest { + private final GetOpenSearchSnapshotResponse model = new GetOpenSearchSnapshotResponse(); + + /** + * Model tests for GetOpenSearchSnapshotResponse + */ + @Test + public void testGetOpenSearchSnapshotResponse() { + // TODO: test GetOpenSearchSnapshotResponse + } + + /** + * Test the property 'snapshots' + */ + @Test + public void snapshotsTest() { + // TODO: test snapshots + } + +} diff --git a/src/test/java/com/formkiq/client/model/GetQueueResponseTest.java b/src/test/java/com/formkiq/client/model/GetQueueResponseTest.java index 9b5cc39d7..e815af7a8 100644 --- a/src/test/java/com/formkiq/client/model/GetQueueResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetQueueResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetQueuesResponseTest.java b/src/test/java/com/formkiq/client/model/GetQueuesResponseTest.java index 252aebd9a..54d3c35ee 100644 --- a/src/test/java/com/formkiq/client/model/GetQueuesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetQueuesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetRuleResponseTest.java b/src/test/java/com/formkiq/client/model/GetRuleResponseTest.java index c8d3a60bf..d3ddafa95 100644 --- a/src/test/java/com/formkiq/client/model/GetRuleResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetRuleResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetRulesResponseTest.java b/src/test/java/com/formkiq/client/model/GetRulesResponseTest.java index 44f15d540..917b0817e 100644 --- a/src/test/java/com/formkiq/client/model/GetRulesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetRulesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetRulesetResponseTest.java b/src/test/java/com/formkiq/client/model/GetRulesetResponseTest.java index 8757a6204..d55f083d2 100644 --- a/src/test/java/com/formkiq/client/model/GetRulesetResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetRulesetResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetRulesetsResponseTest.java b/src/test/java/com/formkiq/client/model/GetRulesetsResponseTest.java index e10f79fcf..b469c92eb 100644 --- a/src/test/java/com/formkiq/client/model/GetRulesetsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetRulesetsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetSiteGroupResponseTest.java b/src/test/java/com/formkiq/client/model/GetSiteGroupResponseTest.java index d2c56ff4f..76f4d759d 100644 --- a/src/test/java/com/formkiq/client/model/GetSiteGroupResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetSiteGroupResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetSiteGroupsResponseTest.java b/src/test/java/com/formkiq/client/model/GetSiteGroupsResponseTest.java index 7454f0823..b88f2eb4c 100644 --- a/src/test/java/com/formkiq/client/model/GetSiteGroupsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetSiteGroupsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java b/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java index 427196b92..e66327318 100644 --- a/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -55,6 +55,14 @@ public void usernameTest() { // TODO: test username } + /** + * Test the property 'roles' + */ + @Test + public void rolesTest() { + // TODO: test roles + } + /** * Test the property 'sites' */ diff --git a/src/test/java/com/formkiq/client/model/GetSitesSchemaResponseTest.java b/src/test/java/com/formkiq/client/model/GetSitesSchemaResponseTest.java index f73b80b1e..ef7b69be1 100644 --- a/src/test/java/com/formkiq/client/model/GetSitesSchemaResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetSitesSchemaResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetUserActivitesResponseTest.java b/src/test/java/com/formkiq/client/model/GetUserActivitesResponseTest.java index dffaca59c..78e2a2ffa 100644 --- a/src/test/java/com/formkiq/client/model/GetUserActivitesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetUserActivitesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetUserGroupsResponseTest.java b/src/test/java/com/formkiq/client/model/GetUserGroupsResponseTest.java index d536cde18..39462c20b 100644 --- a/src/test/java/com/formkiq/client/model/GetUserGroupsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetUserGroupsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetUserResponseTest.java b/src/test/java/com/formkiq/client/model/GetUserResponseTest.java index 3f0755974..002aa44b7 100644 --- a/src/test/java/com/formkiq/client/model/GetUserResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetUserResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetUserSharesResponseTest.java b/src/test/java/com/formkiq/client/model/GetUserSharesResponseTest.java index 38e445280..d51837cf0 100644 --- a/src/test/java/com/formkiq/client/model/GetUserSharesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetUserSharesResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetUsersInGroupResponseTest.java b/src/test/java/com/formkiq/client/model/GetUsersInGroupResponseTest.java index 4f731c12d..82af3e7ea 100644 --- a/src/test/java/com/formkiq/client/model/GetUsersInGroupResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetUsersInGroupResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetUsersResponseTest.java b/src/test/java/com/formkiq/client/model/GetUsersResponseTest.java index c55779cdb..d91c6627c 100644 --- a/src/test/java/com/formkiq/client/model/GetUsersResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetUsersResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetVersionResponseTest.java b/src/test/java/com/formkiq/client/model/GetVersionResponseTest.java index d161d0589..b19b8175c 100644 --- a/src/test/java/com/formkiq/client/model/GetVersionResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetVersionResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWebhookResponseTest.java b/src/test/java/com/formkiq/client/model/GetWebhookResponseTest.java index b72d5046f..0fc6977a9 100644 --- a/src/test/java/com/formkiq/client/model/GetWebhookResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWebhookResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWebhookTagsResponseTest.java b/src/test/java/com/formkiq/client/model/GetWebhookTagsResponseTest.java index c17c8caab..090a79991 100644 --- a/src/test/java/com/formkiq/client/model/GetWebhookTagsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWebhookTagsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWebhooksResponseTest.java b/src/test/java/com/formkiq/client/model/GetWebhooksResponseTest.java index fbf8f06bc..bb637fab8 100644 --- a/src/test/java/com/formkiq/client/model/GetWebhooksResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWebhooksResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWorkflowDocumentsResponseTest.java b/src/test/java/com/formkiq/client/model/GetWorkflowDocumentsResponseTest.java index cef6837dd..416c62578 100644 --- a/src/test/java/com/formkiq/client/model/GetWorkflowDocumentsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWorkflowDocumentsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponseTest.java b/src/test/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponseTest.java index 3fc00bbfa..b7241d5a0 100644 --- a/src/test/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/GetWorkflowResponseTest.java index d52699acd..6331411ae 100644 --- a/src/test/java/com/formkiq/client/model/GetWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GetWorkflowsResponseTest.java b/src/test/java/com/formkiq/client/model/GetWorkflowsResponseTest.java index cfba74385..a7d5977b1 100644 --- a/src/test/java/com/formkiq/client/model/GetWorkflowsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetWorkflowsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GoogleConfigTest.java b/src/test/java/com/formkiq/client/model/GoogleConfigTest.java index 177c0922a..77264c900 100644 --- a/src/test/java/com/formkiq/client/model/GoogleConfigTest.java +++ b/src/test/java/com/formkiq/client/model/GoogleConfigTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GoogleExportOutputTypeTest.java b/src/test/java/com/formkiq/client/model/GoogleExportOutputTypeTest.java index 32b09bd5f..f2343a1e4 100644 --- a/src/test/java/com/formkiq/client/model/GoogleExportOutputTypeTest.java +++ b/src/test/java/com/formkiq/client/model/GoogleExportOutputTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/GroupTest.java b/src/test/java/com/formkiq/client/model/GroupTest.java index a52c9757c..f47ea531a 100644 --- a/src/test/java/com/formkiq/client/model/GroupTest.java +++ b/src/test/java/com/formkiq/client/model/GroupTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/IndexFolderMoveRequestTest.java b/src/test/java/com/formkiq/client/model/IndexFolderMoveRequestTest.java index 02d988537..b5a49b49d 100644 --- a/src/test/java/com/formkiq/client/model/IndexFolderMoveRequestTest.java +++ b/src/test/java/com/formkiq/client/model/IndexFolderMoveRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java b/src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java index 5f7c51f0a..9989e9252 100644 --- a/src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java +++ b/src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/IndexSearchRequestTest.java b/src/test/java/com/formkiq/client/model/IndexSearchRequestTest.java index 26fbfad71..967319ac7 100644 --- a/src/test/java/com/formkiq/client/model/IndexSearchRequestTest.java +++ b/src/test/java/com/formkiq/client/model/IndexSearchRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/IndexSearchResponseTest.java b/src/test/java/com/formkiq/client/model/IndexSearchResponseTest.java index fa1d9ae3d..6f61f8de9 100644 --- a/src/test/java/com/formkiq/client/model/IndexSearchResponseTest.java +++ b/src/test/java/com/formkiq/client/model/IndexSearchResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/IndexSearchTest.java b/src/test/java/com/formkiq/client/model/IndexSearchTest.java index e07ee5d42..07092aa02 100644 --- a/src/test/java/com/formkiq/client/model/IndexSearchTest.java +++ b/src/test/java/com/formkiq/client/model/IndexSearchTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/LocaleTest.java b/src/test/java/com/formkiq/client/model/LocaleInfoTest.java similarity index 85% rename from src/test/java/com/formkiq/client/model/LocaleTest.java rename to src/test/java/com/formkiq/client/model/LocaleInfoTest.java index 53fde4ecd..c0d48204d 100644 --- a/src/test/java/com/formkiq/client/model/LocaleTest.java +++ b/src/test/java/com/formkiq/client/model/LocaleInfoTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -31,17 +31,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for Locale + * Model tests for LocaleInfo */ -public class LocaleTest { - private final Locale model = new Locale(); +public class LocaleInfoTest { + private final LocaleInfo model = new LocaleInfo(); /** - * Model tests for Locale + * Model tests for LocaleInfo */ @Test - public void testLocale() { - // TODO: test Locale + public void testLocaleInfo() { + // TODO: test LocaleInfo } /** diff --git a/src/test/java/com/formkiq/client/model/LocaleResourceTypeTest.java b/src/test/java/com/formkiq/client/model/LocaleResourceTypeTest.java index 308897858..d23d205df 100644 --- a/src/test/java/com/formkiq/client/model/LocaleResourceTypeTest.java +++ b/src/test/java/com/formkiq/client/model/LocaleResourceTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/MalwareEngineTest.java b/src/test/java/com/formkiq/client/model/MalwareEngineTest.java new file mode 100644 index 000000000..db1072530 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/MalwareEngineTest.java @@ -0,0 +1,39 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for MalwareEngine + */ +public class MalwareEngineTest { + /** + * Model tests for MalwareEngine + */ + @Test + public void testMalwareEngine() { + // TODO: test MalwareEngine + } + +} diff --git a/src/test/java/com/formkiq/client/model/MalwareScanResultTest.java b/src/test/java/com/formkiq/client/model/MalwareScanResultTest.java new file mode 100644 index 000000000..f8b00a3e8 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/MalwareScanResultTest.java @@ -0,0 +1,89 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.MalwareEngine; +import com.formkiq.client.model.MalwareScanStatus; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for MalwareScanResult + */ +public class MalwareScanResultTest { + private final MalwareScanResult model = new MalwareScanResult(); + + /** + * Model tests for MalwareScanResult + */ + @Test + public void testMalwareScanResult() { + // TODO: test MalwareScanResult + } + + /** + * Test the property 'scanStatus' + */ + @Test + public void scanStatusTest() { + // TODO: test scanStatus + } + + /** + * Test the property 'scanEngine' + */ + @Test + public void scanEngineTest() { + // TODO: test scanEngine + } + + /** + * Test the property 's3version' + */ + @Test + public void s3versionTest() { + // TODO: test s3version + } + + /** + * Test the property 'scanMessage' + */ + @Test + public void scanMessageTest() { + // TODO: test scanMessage + } + + /** + * Test the property 'scannedDate' + */ + @Test + public void scannedDateTest() { + // TODO: test scannedDate + } + +} diff --git a/src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java b/src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java new file mode 100644 index 000000000..173486af1 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java @@ -0,0 +1,39 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.annotations.SerializedName; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for MalwareScanStatus + */ +public class MalwareScanStatusTest { + /** + * Model tests for MalwareScanStatus + */ + @Test + public void testMalwareScanStatus() { + // TODO: test MalwareScanStatus + } + +} diff --git a/src/test/java/com/formkiq/client/model/MappingAttributeLabelMatchingTypeTest.java b/src/test/java/com/formkiq/client/model/MappingAttributeLabelMatchingTypeTest.java index 07470ebac..1f84166a4 100644 --- a/src/test/java/com/formkiq/client/model/MappingAttributeLabelMatchingTypeTest.java +++ b/src/test/java/com/formkiq/client/model/MappingAttributeLabelMatchingTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/MappingAttributeMetadataFieldTest.java b/src/test/java/com/formkiq/client/model/MappingAttributeMetadataFieldTest.java index 97e7d7ccf..0d3c32cdd 100644 --- a/src/test/java/com/formkiq/client/model/MappingAttributeMetadataFieldTest.java +++ b/src/test/java/com/formkiq/client/model/MappingAttributeMetadataFieldTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/MappingAttributeSourceTypeTest.java b/src/test/java/com/formkiq/client/model/MappingAttributeSourceTypeTest.java index c220c3d63..120c03a95 100644 --- a/src/test/java/com/formkiq/client/model/MappingAttributeSourceTypeTest.java +++ b/src/test/java/com/formkiq/client/model/MappingAttributeSourceTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/MappingAttributeTest.java b/src/test/java/com/formkiq/client/model/MappingAttributeTest.java index c8fa7db32..d433bc777 100644 --- a/src/test/java/com/formkiq/client/model/MappingAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/MappingAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/MappingTest.java b/src/test/java/com/formkiq/client/model/MappingTest.java index 0f26664e5..bcc6b5145 100644 --- a/src/test/java/com/formkiq/client/model/MappingTest.java +++ b/src/test/java/com/formkiq/client/model/MappingTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/MatchDocumentTagTest.java b/src/test/java/com/formkiq/client/model/MatchDocumentTagTest.java index 6b500f24f..5a000f6c3 100644 --- a/src/test/java/com/formkiq/client/model/MatchDocumentTagTest.java +++ b/src/test/java/com/formkiq/client/model/MatchDocumentTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ModelCaseTest.java b/src/test/java/com/formkiq/client/model/ModelCaseTest.java index eb49dbf43..46c56cde6 100644 --- a/src/test/java/com/formkiq/client/model/ModelCaseTest.java +++ b/src/test/java/com/formkiq/client/model/ModelCaseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/NigoStatusTest.java b/src/test/java/com/formkiq/client/model/NigoStatusTest.java index 316d1016c..304f72388 100644 --- a/src/test/java/com/formkiq/client/model/NigoStatusTest.java +++ b/src/test/java/com/formkiq/client/model/NigoStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/NigoTest.java b/src/test/java/com/formkiq/client/model/NigoTest.java index 8ee8412d6..69c97fa33 100644 --- a/src/test/java/com/formkiq/client/model/NigoTest.java +++ b/src/test/java/com/formkiq/client/model/NigoTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OcrConfigTest.java b/src/test/java/com/formkiq/client/model/OcrConfigTest.java index 56592c3d3..647f04dc5 100644 --- a/src/test/java/com/formkiq/client/model/OcrConfigTest.java +++ b/src/test/java/com/formkiq/client/model/OcrConfigTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OcrEngineTest.java b/src/test/java/com/formkiq/client/model/OcrEngineTest.java index 1b4db89f7..8ae96dec0 100644 --- a/src/test/java/com/formkiq/client/model/OcrEngineTest.java +++ b/src/test/java/com/formkiq/client/model/OcrEngineTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OcrKeyValuesTest.java b/src/test/java/com/formkiq/client/model/OcrKeyValuesTest.java index 7abb48091..2174e6395 100644 --- a/src/test/java/com/formkiq/client/model/OcrKeyValuesTest.java +++ b/src/test/java/com/formkiq/client/model/OcrKeyValuesTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OcrOutputTypeTest.java b/src/test/java/com/formkiq/client/model/OcrOutputTypeTest.java index 70b3227e7..4b5da89f6 100644 --- a/src/test/java/com/formkiq/client/model/OcrOutputTypeTest.java +++ b/src/test/java/com/formkiq/client/model/OcrOutputTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OcrTableDataTest.java b/src/test/java/com/formkiq/client/model/OcrTableDataTest.java index 272878620..2f71cbf6c 100644 --- a/src/test/java/com/formkiq/client/model/OcrTableDataTest.java +++ b/src/test/java/com/formkiq/client/model/OcrTableDataTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OcrTableTest.java b/src/test/java/com/formkiq/client/model/OcrTableTest.java index 1696a0067..7e59af696 100644 --- a/src/test/java/com/formkiq/client/model/OcrTableTest.java +++ b/src/test/java/com/formkiq/client/model/OcrTableTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeEqTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeEqTest.java index 01f5637dc..14f037247 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeEqTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeEqTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGtTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGtTest.java index e35af84cd..8d20d7e1a 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGtTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGtTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGteTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGteTest.java index 028fc43bf..679f9ebed 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGteTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeGteTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInTest.java new file mode 100644 index 000000000..cf9d8e042 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInTest.java @@ -0,0 +1,57 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpaPolicyAttributeIn + */ +public class OpaPolicyAttributeInTest { + private final OpaPolicyAttributeIn model = new OpaPolicyAttributeIn(); + + /** + * Model tests for OpaPolicyAttributeIn + */ + @Test + public void testOpaPolicyAttributeIn() { + // TODO: test OpaPolicyAttributeIn + } + + /** + * Test the property 'stringValues' + */ + @Test + public void stringValuesTest() { + // TODO: test stringValues + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInputTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInputTest.java index f9ec2aa28..b44e35dd9 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInputTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeInputTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLtTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLtTest.java index 0aba584b3..cad57962f 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLtTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLtTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLteTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLteTest.java index b53bf5105..1cbced507 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLteTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeLteTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNeqTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNeqTest.java index 446d82ae6..8b1426d7b 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNeqTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNeqTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNotInTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNotInTest.java new file mode 100644 index 000000000..99de7edbc --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeNotInTest.java @@ -0,0 +1,57 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpaPolicyAttributeNotIn + */ +public class OpaPolicyAttributeNotInTest { + private final OpaPolicyAttributeNotIn model = new OpaPolicyAttributeNotIn(); + + /** + * Model tests for OpaPolicyAttributeNotIn + */ + @Test + public void testOpaPolicyAttributeNotIn() { + // TODO: test OpaPolicyAttributeNotIn + } + + /** + * Test the property 'stringValues' + */ + @Test + public void stringValuesTest() { + // TODO: test stringValues + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java index e9eaedd41..ce58b9e66 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -23,9 +23,11 @@ import com.formkiq.client.model.OpaPolicyAttributeEq; import com.formkiq.client.model.OpaPolicyAttributeGt; import com.formkiq.client.model.OpaPolicyAttributeGte; +import com.formkiq.client.model.OpaPolicyAttributeIn; import com.formkiq.client.model.OpaPolicyAttributeLt; import com.formkiq.client.model.OpaPolicyAttributeLte; import com.formkiq.client.model.OpaPolicyAttributeNeq; +import com.formkiq.client.model.OpaPolicyAttributeNotIn; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -106,4 +108,20 @@ public void neqTest() { // TODO: test neq } + /** + * Test the property 'in' + */ + @Test + public void inTest() { + // TODO: test in + } + + /** + * Test the property 'notIn' + */ + @Test + public void notInTest() { + // TODO: test notIn + } + } diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyInputMethodTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyInputMethodTest.java new file mode 100644 index 000000000..18fd2e55a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpaPolicyInputMethodTest.java @@ -0,0 +1,65 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpaPolicyInputMethod + */ +public class OpaPolicyInputMethodTest { + private final OpaPolicyInputMethod model = new OpaPolicyInputMethod(); + + /** + * Model tests for OpaPolicyInputMethod + */ + @Test + public void testOpaPolicyInputMethod() { + // TODO: test OpaPolicyInputMethod + } + + /** + * Test the property 'in' + */ + @Test + public void inTest() { + // TODO: test in + } + + /** + * Test the property 'notIn' + */ + @Test + public void notInTest() { + // TODO: test notIn + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyInputResourceTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyInputResourceTest.java new file mode 100644 index 000000000..1d36c0c8e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpaPolicyInputResourceTest.java @@ -0,0 +1,65 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpaPolicyInputResource + */ +public class OpaPolicyInputResourceTest { + private final OpaPolicyInputResource model = new OpaPolicyInputResource(); + + /** + * Model tests for OpaPolicyInputResource + */ + @Test + public void testOpaPolicyInputResource() { + // TODO: test OpaPolicyInputResource + } + + /** + * Test the property 'in' + */ + @Test + public void inTest() { + // TODO: test in + } + + /** + * Test the property 'notIn' + */ + @Test + public void notInTest() { + // TODO: test notIn + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyInputTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyInputTest.java new file mode 100644 index 000000000..e2ef0b27c --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpaPolicyInputTest.java @@ -0,0 +1,65 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.OpaPolicyInputMethod; +import com.formkiq.client.model.OpaPolicyInputResource; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpaPolicyInput + */ +public class OpaPolicyInputTest { + private final OpaPolicyInput model = new OpaPolicyInput(); + + /** + * Model tests for OpaPolicyInput + */ + @Test + public void testOpaPolicyInput() { + // TODO: test OpaPolicyInput + } + + /** + * Test the property 'httpMethod' + */ + @Test + public void httpMethodTest() { + // TODO: test httpMethod + } + + /** + * Test the property 'resource' + */ + @Test + public void resourceTest() { + // TODO: test resource + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java index 7c5291921..57a3bb5ab 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -21,7 +21,7 @@ package com.formkiq.client.model; import com.formkiq.client.model.OpaPolicyAttribute; -import com.formkiq.client.model.OpaPolicyItemType; +import com.formkiq.client.model.OpaPolicyInput; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -48,14 +48,6 @@ public void testOpaPolicyItem() { // TODO: test OpaPolicyItem } - /** - * Test the property 'type' - */ - @Test - public void typeTest() { - // TODO: test type - } - /** * Test the property 'policy' */ @@ -80,6 +72,14 @@ public void anyRolesTest() { // TODO: test anyRoles } + /** + * Test the property 'excludedRoles' + */ + @Test + public void excludedRolesTest() { + // TODO: test excludedRoles + } + /** * Test the property 'attributes' */ @@ -88,4 +88,12 @@ public void attributesTest() { // TODO: test attributes } + /** + * Test the property 'input' + */ + @Test + public void inputTest() { + // TODO: test input + } + } diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyTest.java index 935eb2961..d70b7e432 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/AddAttributeResponseTest.java b/src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java similarity index 78% rename from src/test/java/com/formkiq/client/model/AddAttributeResponseTest.java rename to src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java index a07c3f9f2..06e2c9bc6 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeResponseTest.java +++ b/src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -31,25 +31,25 @@ import org.junit.jupiter.api.Test; /** - * Model tests for AddAttributeResponse + * Model tests for OpenSearchAlias */ -public class AddAttributeResponseTest { - private final AddAttributeResponse model = new AddAttributeResponse(); +public class OpenSearchAliasTest { + private final OpenSearchAlias model = new OpenSearchAlias(); /** - * Model tests for AddAttributeResponse + * Model tests for OpenSearchAlias */ @Test - public void testAddAttributeResponse() { - // TODO: test AddAttributeResponse + public void testOpenSearchAlias() { + // TODO: test OpenSearchAlias } /** - * Test the property 'message' + * Test the property 'name' */ @Test - public void messageTest() { - // TODO: test message + public void nameTest() { + // TODO: test name } } diff --git a/src/test/java/com/formkiq/client/model/OpenSearchIndexSettingTest.java b/src/test/java/com/formkiq/client/model/OpenSearchIndexSettingTest.java new file mode 100644 index 000000000..6af9bd5ab --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpenSearchIndexSettingTest.java @@ -0,0 +1,63 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpenSearchIndexSetting + */ +public class OpenSearchIndexSettingTest { + private final OpenSearchIndexSetting model = new OpenSearchIndexSetting(); + + /** + * Model tests for OpenSearchIndexSetting + */ + @Test + public void testOpenSearchIndexSetting() { + // TODO: test OpenSearchIndexSetting + } + + /** + * Test the property 'numberOfReplicas' + */ + @Test + public void numberOfReplicasTest() { + // TODO: test numberOfReplicas + } + + /** + * Test the property 'numberOfShards' + */ + @Test + public void numberOfShardsTest() { + // TODO: test numberOfShards + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java b/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java index 5346378b4..6e4ac2793 100644 --- a/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java +++ b/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -20,13 +20,16 @@ package com.formkiq.client.model; +import com.formkiq.client.model.OpenSearchAlias; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -60,4 +63,36 @@ public void numberOfShardsTest() { // TODO: test numberOfShards } + /** + * Test the property 'documentCount' + */ + @Test + public void documentCountTest() { + // TODO: test documentCount + } + + /** + * Test the property 'storeSize' + */ + @Test + public void storeSizeTest() { + // TODO: test storeSize + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'aliases' + */ + @Test + public void aliasesTest() { + // TODO: test aliases + } + } diff --git a/src/test/java/com/formkiq/client/model/OpenSearchS3RepositoryTest.java b/src/test/java/com/formkiq/client/model/OpenSearchS3RepositoryTest.java new file mode 100644 index 000000000..19b226bd2 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpenSearchS3RepositoryTest.java @@ -0,0 +1,63 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpenSearchS3Repository + */ +public class OpenSearchS3RepositoryTest { + private final OpenSearchS3Repository model = new OpenSearchS3Repository(); + + /** + * Model tests for OpenSearchS3Repository + */ + @Test + public void testOpenSearchS3Repository() { + // TODO: test OpenSearchS3Repository + } + + /** + * Test the property 'repository' + */ + @Test + public void repositoryTest() { + // TODO: test repository + } + + /** + * Test the property 'bucket' + */ + @Test + public void bucketTest() { + // TODO: test bucket + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpenSearchSnapshotFailureTest.java b/src/test/java/com/formkiq/client/model/OpenSearchSnapshotFailureTest.java new file mode 100644 index 000000000..d98a00a1d --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpenSearchSnapshotFailureTest.java @@ -0,0 +1,95 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpenSearchSnapshotFailure + */ +public class OpenSearchSnapshotFailureTest { + private final OpenSearchSnapshotFailure model = new OpenSearchSnapshotFailure(); + + /** + * Model tests for OpenSearchSnapshotFailure + */ + @Test + public void testOpenSearchSnapshotFailure() { + // TODO: test OpenSearchSnapshotFailure + } + + /** + * Test the property 'index' + */ + @Test + public void indexTest() { + // TODO: test index + } + + /** + * Test the property 'indexUuid' + */ + @Test + public void indexUuidTest() { + // TODO: test indexUuid + } + + /** + * Test the property 'shardId' + */ + @Test + public void shardIdTest() { + // TODO: test shardId + } + + /** + * Test the property 'reason' + */ + @Test + public void reasonTest() { + // TODO: test reason + } + + /** + * Test the property 'nodeId' + */ + @Test + public void nodeIdTest() { + // TODO: test nodeId + } + + /** + * Test the property 'status' + */ + @Test + public void statusTest() { + // TODO: test status + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpenSearchSnapshotShardTest.java b/src/test/java/com/formkiq/client/model/OpenSearchSnapshotShardTest.java new file mode 100644 index 000000000..186065b51 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpenSearchSnapshotShardTest.java @@ -0,0 +1,72 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpenSearchSnapshotShard + */ +public class OpenSearchSnapshotShardTest { + private final OpenSearchSnapshotShard model = new OpenSearchSnapshotShard(); + + /** + * Model tests for OpenSearchSnapshotShard + */ + @Test + public void testOpenSearchSnapshotShard() { + // TODO: test OpenSearchSnapshotShard + } + + /** + * Test the property 'total' + */ + @Test + public void totalTest() { + // TODO: test total + } + + /** + * Test the property 'failed' + */ + @Test + public void failedTest() { + // TODO: test failed + } + + /** + * Test the property 'successful' + */ + @Test + public void successfulTest() { + // TODO: test successful + } + +} diff --git a/src/test/java/com/formkiq/client/model/OpenSearchSnapshotTest.java b/src/test/java/com/formkiq/client/model/OpenSearchSnapshotTest.java new file mode 100644 index 000000000..e59db9ea9 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/OpenSearchSnapshotTest.java @@ -0,0 +1,148 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.OpenSearchSnapshotFailure; +import com.formkiq.client.model.OpenSearchSnapshotShard; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for OpenSearchSnapshot + */ +public class OpenSearchSnapshotTest { + private final OpenSearchSnapshot model = new OpenSearchSnapshot(); + + /** + * Model tests for OpenSearchSnapshot + */ + @Test + public void testOpenSearchSnapshot() { + // TODO: test OpenSearchSnapshot + } + + /** + * Test the property 'snapshot' + */ + @Test + public void snapshotTest() { + // TODO: test snapshot + } + + /** + * Test the property 'uuid' + */ + @Test + public void uuidTest() { + // TODO: test uuid + } + + /** + * Test the property 'version' + */ + @Test + public void versionTest() { + // TODO: test version + } + + /** + * Test the property 'indices' + */ + @Test + public void indicesTest() { + // TODO: test indices + } + + /** + * Test the property 'shards' + */ + @Test + public void shardsTest() { + // TODO: test shards + } + + /** + * Test the property 'failures' + */ + @Test + public void failuresTest() { + // TODO: test failures + } + + /** + * Test the property 'state' + */ + @Test + public void stateTest() { + // TODO: test state + } + + /** + * Test the property 'startTime' + */ + @Test + public void startTimeTest() { + // TODO: test startTime + } + + /** + * Test the property 'startTimeInMillis' + */ + @Test + public void startTimeInMillisTest() { + // TODO: test startTimeInMillis + } + + /** + * Test the property 'endTime' + */ + @Test + public void endTimeTest() { + // TODO: test endTime + } + + /** + * Test the property 'endTimeInMillis' + */ + @Test + public void endTimeInMillisTest() { + // TODO: test endTimeInMillis + } + + /** + * Test the property 'durationInMillis' + */ + @Test + public void durationInMillisTest() { + // TODO: test durationInMillis + } + +} diff --git a/src/test/java/com/formkiq/client/model/PdfDocumentFieldTest.java b/src/test/java/com/formkiq/client/model/PdfDocumentFieldTest.java index b85cf088c..85d8f8334 100644 --- a/src/test/java/com/formkiq/client/model/PdfDocumentFieldTest.java +++ b/src/test/java/com/formkiq/client/model/PdfDocumentFieldTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/PdfDocumentTest.java b/src/test/java/com/formkiq/client/model/PdfDocumentTest.java index 666ff0154..b9334c4d5 100644 --- a/src/test/java/com/formkiq/client/model/PdfDocumentTest.java +++ b/src/test/java/com/formkiq/client/model/PdfDocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/QueryFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/QueryFulltextResponseTest.java index 8f3ad6f59..918d9fa8e 100644 --- a/src/test/java/com/formkiq/client/model/QueryFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/QueryFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/QueueTest.java b/src/test/java/com/formkiq/client/model/QueueTest.java index 9e1220d2d..3ee647e7c 100644 --- a/src/test/java/com/formkiq/client/model/QueueTest.java +++ b/src/test/java/com/formkiq/client/model/QueueTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ReindexTargetTest.java b/src/test/java/com/formkiq/client/model/ReindexTargetTest.java index f0158cb84..61866d11f 100644 --- a/src/test/java/com/formkiq/client/model/ReindexTargetTest.java +++ b/src/test/java/com/formkiq/client/model/ReindexTargetTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ResourceItemTest.java b/src/test/java/com/formkiq/client/model/ResourceItemTest.java index d608f1d13..dff308b28 100644 --- a/src/test/java/com/formkiq/client/model/ResourceItemTest.java +++ b/src/test/java/com/formkiq/client/model/ResourceItemTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RuleConditionAttributeTest.java b/src/test/java/com/formkiq/client/model/RuleConditionAttributeTest.java index 331052a8c..190faf9c1 100644 --- a/src/test/java/com/formkiq/client/model/RuleConditionAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/RuleConditionAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RuleConditionCriterionTest.java b/src/test/java/com/formkiq/client/model/RuleConditionCriterionTest.java index 61d5944bd..d719a44ad 100644 --- a/src/test/java/com/formkiq/client/model/RuleConditionCriterionTest.java +++ b/src/test/java/com/formkiq/client/model/RuleConditionCriterionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RuleConditionMustTest.java b/src/test/java/com/formkiq/client/model/RuleConditionMustTest.java index 80a6f345a..f7e50e3e1 100644 --- a/src/test/java/com/formkiq/client/model/RuleConditionMustTest.java +++ b/src/test/java/com/formkiq/client/model/RuleConditionMustTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RuleConditionOperationTest.java b/src/test/java/com/formkiq/client/model/RuleConditionOperationTest.java index 4e11ebeb9..4040c7a3f 100644 --- a/src/test/java/com/formkiq/client/model/RuleConditionOperationTest.java +++ b/src/test/java/com/formkiq/client/model/RuleConditionOperationTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RuleConditionTest.java b/src/test/java/com/formkiq/client/model/RuleConditionTest.java index 7e7f61bf2..d02c7d601 100644 --- a/src/test/java/com/formkiq/client/model/RuleConditionTest.java +++ b/src/test/java/com/formkiq/client/model/RuleConditionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RuleTest.java b/src/test/java/com/formkiq/client/model/RuleTest.java index 4de314d4c..271f97c7e 100644 --- a/src/test/java/com/formkiq/client/model/RuleTest.java +++ b/src/test/java/com/formkiq/client/model/RuleTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RulesetStatusTest.java b/src/test/java/com/formkiq/client/model/RulesetStatusTest.java index 4a0a04c51..4cd22eff1 100644 --- a/src/test/java/com/formkiq/client/model/RulesetStatusTest.java +++ b/src/test/java/com/formkiq/client/model/RulesetStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/RulesetTest.java b/src/test/java/com/formkiq/client/model/RulesetTest.java index 5d34a849a..5bb043f7e 100644 --- a/src/test/java/com/formkiq/client/model/RulesetTest.java +++ b/src/test/java/com/formkiq/client/model/RulesetTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SchemaAttributesTest.java b/src/test/java/com/formkiq/client/model/SchemaAttributesTest.java index c8116a5c7..55010bb57 100644 --- a/src/test/java/com/formkiq/client/model/SchemaAttributesTest.java +++ b/src/test/java/com/formkiq/client/model/SchemaAttributesTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SearchRangeDataTypeTest.java b/src/test/java/com/formkiq/client/model/SearchRangeDataTypeTest.java index 19d7e83bf..006789a80 100644 --- a/src/test/java/com/formkiq/client/model/SearchRangeDataTypeTest.java +++ b/src/test/java/com/formkiq/client/model/SearchRangeDataTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SearchResponseFieldsTest.java b/src/test/java/com/formkiq/client/model/SearchResponseFieldsTest.java index a3106228a..bbec81d8b 100644 --- a/src/test/java/com/formkiq/client/model/SearchResponseFieldsTest.java +++ b/src/test/java/com/formkiq/client/model/SearchResponseFieldsTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SearchResultDocumentAttributeTest.java b/src/test/java/com/formkiq/client/model/SearchResultDocumentAttributeTest.java index 9baba4cd5..ca1efcfa5 100644 --- a/src/test/java/com/formkiq/client/model/SearchResultDocumentAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/SearchResultDocumentAttributeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SearchResultDocumentTest.java b/src/test/java/com/formkiq/client/model/SearchResultDocumentTest.java index f2e1bcde2..e8996910d 100644 --- a/src/test/java/com/formkiq/client/model/SearchResultDocumentTest.java +++ b/src/test/java/com/formkiq/client/model/SearchResultDocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetClassificationRequestTest.java b/src/test/java/com/formkiq/client/model/SetClassificationRequestTest.java index 9b38b18de..b5ba8abc2 100644 --- a/src/test/java/com/formkiq/client/model/SetClassificationRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetClassificationRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentAttributeRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentAttributeRequestTest.java index 3ba2e6016..772a59991 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentAttributeRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentAttributeRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentAttributesRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentAttributesRequestTest.java index 85a6d2f0d..6220b9d31 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentAttributesRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentAttributesRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentDataClassificationRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentDataClassificationRequestTest.java new file mode 100644 index 000000000..58c1f19f6 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/SetDocumentDataClassificationRequestTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SetDocumentDataClassificationRequest + */ +public class SetDocumentDataClassificationRequestTest { + private final SetDocumentDataClassificationRequest model = + new SetDocumentDataClassificationRequest(); + + /** + * Model tests for SetDocumentDataClassificationRequest + */ + @Test + public void testSetDocumentDataClassificationRequest() { + // TODO: test SetDocumentDataClassificationRequest + } + + /** + * Test the property 'llmPromptEntityName' + */ + @Test + public void llmPromptEntityNameTest() { + // TODO: test llmPromptEntityName + } + +} diff --git a/src/test/java/com/formkiq/client/model/SetDocumentDataClassificationResponseTest.java b/src/test/java/com/formkiq/client/model/SetDocumentDataClassificationResponseTest.java new file mode 100644 index 000000000..d2e0b8818 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/SetDocumentDataClassificationResponseTest.java @@ -0,0 +1,67 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.DataClassificationAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SetDocumentDataClassificationResponse + */ +public class SetDocumentDataClassificationResponseTest { + private final SetDocumentDataClassificationResponse model = + new SetDocumentDataClassificationResponse(); + + /** + * Model tests for SetDocumentDataClassificationResponse + */ + @Test + public void testSetDocumentDataClassificationResponse() { + // TODO: test SetDocumentDataClassificationResponse + } + + /** + * Test the property 'content' + */ + @Test + public void contentTest() { + // TODO: test content + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + +} diff --git a/src/test/java/com/formkiq/client/model/SetDocumentFulltextRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentFulltextRequestTest.java index 6e0e0280a..213e125b2 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentFulltextRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentFulltextRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/SetDocumentFulltextResponseTest.java index 73ee3f963..586921577 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentOcrRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentOcrRequestTest.java index 5135d5340..78d30a345 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentOcrRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentOcrRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentRestoreResponseTest.java b/src/test/java/com/formkiq/client/model/SetDocumentRestoreResponseTest.java index 10b73d027..3a1721938 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentRestoreResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentRestoreResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentTagKeyRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentTagKeyRequestTest.java index 112eafa36..86952f0b6 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentTagKeyRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentTagKeyRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentVersionRequestTest.java b/src/test/java/com/formkiq/client/model/SetDocumentVersionRequestTest.java index d6b8a8a81..9561f8f22 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentVersionRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentVersionRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetDocumentVersionResponseTest.java b/src/test/java/com/formkiq/client/model/SetDocumentVersionResponseTest.java index f858ec0c0..f56b7f06c 100644 --- a/src/test/java/com/formkiq/client/model/SetDocumentVersionResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetDocumentVersionResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetFolderPermissionsRequestTest.java b/src/test/java/com/formkiq/client/model/SetFolderPermissionsRequestTest.java new file mode 100644 index 000000000..029bfc604 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/SetFolderPermissionsRequestTest.java @@ -0,0 +1,66 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.AddFolderPermission; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SetFolderPermissionsRequest + */ +public class SetFolderPermissionsRequestTest { + private final SetFolderPermissionsRequest model = new SetFolderPermissionsRequest(); + + /** + * Model tests for SetFolderPermissionsRequest + */ + @Test + public void testSetFolderPermissionsRequest() { + // TODO: test SetFolderPermissionsRequest + } + + /** + * Test the property 'path' + */ + @Test + public void pathTest() { + // TODO: test path + } + + /** + * Test the property 'roles' + */ + @Test + public void rolesTest() { + // TODO: test roles + } + +} diff --git a/src/test/java/com/formkiq/client/model/SetGroupPermissionsRequestTest.java b/src/test/java/com/formkiq/client/model/SetGroupPermissionsRequestTest.java index 03ae94693..c7c0861d3 100644 --- a/src/test/java/com/formkiq/client/model/SetGroupPermissionsRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetGroupPermissionsRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetLocaleResourceItemRequestTest.java b/src/test/java/com/formkiq/client/model/SetLocaleResourceItemRequestTest.java index 99a328fe7..4931a5b74 100644 --- a/src/test/java/com/formkiq/client/model/SetLocaleResourceItemRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetLocaleResourceItemRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetMappingRequestTest.java b/src/test/java/com/formkiq/client/model/SetMappingRequestTest.java index 30c48ef99..b4c13188f 100644 --- a/src/test/java/com/formkiq/client/model/SetMappingRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetMappingRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequestTest.java b/src/test/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequestTest.java index 7a15bb185..313c7cb2d 100644 --- a/src/test/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java b/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java index b2b04a694..0f656445a 100644 --- a/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -20,7 +20,7 @@ package com.formkiq.client.model; -import com.formkiq.client.model.OpenSearchIndex; +import com.formkiq.client.model.OpenSearchIndexSetting; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; diff --git a/src/test/java/com/formkiq/client/model/SetOpenSearchIndexResponseTest.java b/src/test/java/com/formkiq/client/model/SetOpenSearchIndexResponseTest.java index 8faa686b8..2945f5a8b 100644 --- a/src/test/java/com/formkiq/client/model/SetOpenSearchIndexResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetOpenSearchIndexResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetOpenSearchIndiceRequestTest.java b/src/test/java/com/formkiq/client/model/SetOpenSearchIndiceRequestTest.java new file mode 100644 index 000000000..2dc773ce8 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/SetOpenSearchIndiceRequestTest.java @@ -0,0 +1,55 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for SetOpenSearchIndiceRequest + */ +public class SetOpenSearchIndiceRequestTest { + private final SetOpenSearchIndiceRequest model = new SetOpenSearchIndiceRequest(); + + /** + * Model tests for SetOpenSearchIndiceRequest + */ + @Test + public void testSetOpenSearchIndiceRequest() { + // TODO: test SetOpenSearchIndiceRequest + } + + /** + * Test the property 'indexName' + */ + @Test + public void indexNameTest() { + // TODO: test indexName + } + +} diff --git a/src/test/java/com/formkiq/client/model/SetResponseTest.java b/src/test/java/com/formkiq/client/model/SetResponseTest.java index 6960ddd57..7c01c2bab 100644 --- a/src/test/java/com/formkiq/client/model/SetResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetSchemaAttributesTest.java b/src/test/java/com/formkiq/client/model/SetSchemaAttributesTest.java index f31e7089e..3d454c79b 100644 --- a/src/test/java/com/formkiq/client/model/SetSchemaAttributesTest.java +++ b/src/test/java/com/formkiq/client/model/SetSchemaAttributesTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetSitesSchemaRequestTest.java b/src/test/java/com/formkiq/client/model/SetSitesSchemaRequestTest.java index 4885ca602..eb76cc51a 100644 --- a/src/test/java/com/formkiq/client/model/SetSitesSchemaRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetSitesSchemaRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetWorkflowRequestTest.java b/src/test/java/com/formkiq/client/model/SetWorkflowRequestTest.java index 768502d6a..eaf0585be 100644 --- a/src/test/java/com/formkiq/client/model/SetWorkflowRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetWorkflowRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SetWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/SetWorkflowResponseTest.java index 0dd86e98c..6706fa8d6 100644 --- a/src/test/java/com/formkiq/client/model/SetWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SiteConfigTest.java b/src/test/java/com/formkiq/client/model/SiteConfigTest.java index 545e2c925..fe6f80e5a 100644 --- a/src/test/java/com/formkiq/client/model/SiteConfigTest.java +++ b/src/test/java/com/formkiq/client/model/SiteConfigTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SiteGroupPermissionsTest.java b/src/test/java/com/formkiq/client/model/SiteGroupPermissionsTest.java index 82b49464a..562a5ac05 100644 --- a/src/test/java/com/formkiq/client/model/SiteGroupPermissionsTest.java +++ b/src/test/java/com/formkiq/client/model/SiteGroupPermissionsTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SiteGroupTest.java b/src/test/java/com/formkiq/client/model/SiteGroupTest.java index fbdae8d92..0baa0745b 100644 --- a/src/test/java/com/formkiq/client/model/SiteGroupTest.java +++ b/src/test/java/com/formkiq/client/model/SiteGroupTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SiteStatusTest.java b/src/test/java/com/formkiq/client/model/SiteStatusTest.java index c76e52d7a..ffe7f800e 100644 --- a/src/test/java/com/formkiq/client/model/SiteStatusTest.java +++ b/src/test/java/com/formkiq/client/model/SiteStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SiteTest.java b/src/test/java/com/formkiq/client/model/SiteTest.java index 7ca5e44f5..cf867426c 100644 --- a/src/test/java/com/formkiq/client/model/SiteTest.java +++ b/src/test/java/com/formkiq/client/model/SiteTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/SiteUsageTest.java b/src/test/java/com/formkiq/client/model/SiteUsageTest.java index f0719f79d..56b4ef6ba 100644 --- a/src/test/java/com/formkiq/client/model/SiteUsageTest.java +++ b/src/test/java/com/formkiq/client/model/SiteUsageTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/StringFormatTest.java b/src/test/java/com/formkiq/client/model/StringFormatTest.java index 1c5b95d54..dbc24a94b 100644 --- a/src/test/java/com/formkiq/client/model/StringFormatTest.java +++ b/src/test/java/com/formkiq/client/model/StringFormatTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/StringGeneratorTypeTest.java b/src/test/java/com/formkiq/client/model/StringGeneratorTypeTest.java index 63637f6c0..d4894544e 100644 --- a/src/test/java/com/formkiq/client/model/StringGeneratorTypeTest.java +++ b/src/test/java/com/formkiq/client/model/StringGeneratorTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/TaskStatusTest.java b/src/test/java/com/formkiq/client/model/TaskStatusTest.java index 963ff7fee..159da3624 100644 --- a/src/test/java/com/formkiq/client/model/TaskStatusTest.java +++ b/src/test/java/com/formkiq/client/model/TaskStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/TaskTest.java b/src/test/java/com/formkiq/client/model/TaskTest.java index f3cc20b9f..5e4765dd6 100644 --- a/src/test/java/com/formkiq/client/model/TaskTest.java +++ b/src/test/java/com/formkiq/client/model/TaskTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/TextractQueryTest.java b/src/test/java/com/formkiq/client/model/TextractQueryTest.java new file mode 100644 index 000000000..64523d346 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/TextractQueryTest.java @@ -0,0 +1,73 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for TextractQuery + */ +public class TextractQueryTest { + private final TextractQuery model = new TextractQuery(); + + /** + * Model tests for TextractQuery + */ + @Test + public void testTextractQuery() { + // TODO: test TextractQuery + } + + /** + * Test the property 'text' + */ + @Test + public void textTest() { + // TODO: test text + } + + /** + * Test the property 'alias' + */ + @Test + public void aliasTest() { + // TODO: test alias + } + + /** + * Test the property 'pages' + */ + @Test + public void pagesTest() { + // TODO: test pages + } + +} diff --git a/src/test/java/com/formkiq/client/model/UpdateAttributeRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateAttributeRequestTest.java new file mode 100644 index 000000000..01e29470c --- /dev/null +++ b/src/test/java/com/formkiq/client/model/UpdateAttributeRequestTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.UpdateAttribute; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for UpdateAttributeRequest + */ +public class UpdateAttributeRequestTest { + private final UpdateAttributeRequest model = new UpdateAttributeRequest(); + + /** + * Model tests for UpdateAttributeRequest + */ + @Test + public void testUpdateAttributeRequest() { + // TODO: test UpdateAttributeRequest + } + + /** + * Test the property 'attribute' + */ + @Test + public void attributeTest() { + // TODO: test attribute + } + +} diff --git a/src/test/java/com/formkiq/client/model/UpdateAttributeTest.java b/src/test/java/com/formkiq/client/model/UpdateAttributeTest.java new file mode 100644 index 000000000..0fc3fd36e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/UpdateAttributeTest.java @@ -0,0 +1,65 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.AttributeType; +import com.formkiq.client.model.Watermark; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for UpdateAttribute + */ +public class UpdateAttributeTest { + private final UpdateAttribute model = new UpdateAttribute(); + + /** + * Model tests for UpdateAttribute + */ + @Test + public void testUpdateAttribute() { + // TODO: test UpdateAttribute + } + + /** + * Test the property 'type' + */ + @Test + public void typeTest() { + // TODO: test type + } + + /** + * Test the property 'watermark' + */ + @Test + public void watermarkTest() { + // TODO: test watermark + } + +} diff --git a/src/test/java/com/formkiq/client/model/UpdateCaseRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateCaseRequestTest.java index e019fb0d7..e6c339c6a 100644 --- a/src/test/java/com/formkiq/client/model/UpdateCaseRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateCaseRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateCaseResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateCaseResponseTest.java index 97575c456..57f5fba83 100644 --- a/src/test/java/com/formkiq/client/model/UpdateCaseResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateCaseResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateCaseTest.java b/src/test/java/com/formkiq/client/model/UpdateCaseTest.java index ac0a5c3b8..09ef6d0f8 100644 --- a/src/test/java/com/formkiq/client/model/UpdateCaseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateCaseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateConfigurationRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateConfigurationRequestTest.java index ba4cf1017..1fbf4b2b6 100644 --- a/src/test/java/com/formkiq/client/model/UpdateConfigurationRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateConfigurationRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateConfigurationResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateConfigurationResponseTest.java index cd0d7d19c..75ecb2ce4 100644 --- a/src/test/java/com/formkiq/client/model/UpdateConfigurationResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateConfigurationResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextRequestTest.java index ef63e4cfc..aa8c3e3b9 100644 --- a/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextResponseTest.java index e22b10ef1..c5e4e7563 100644 --- a/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateDocumentFulltextResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateDocumentRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateDocumentRequestTest.java index 25f90abdd..00676debe 100644 --- a/src/test/java/com/formkiq/client/model/UpdateDocumentRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateDocumentRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateEntityRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateEntityRequestTest.java new file mode 100644 index 000000000..c0e78882e --- /dev/null +++ b/src/test/java/com/formkiq/client/model/UpdateEntityRequestTest.java @@ -0,0 +1,56 @@ +/* + * FormKiQ API JWT Formkiq API: Document Management Platform API using OAuth(JWT) Authentication You + * can find out more about FormKiQ at [https://formkiq.com](http://formkiq.com). ## Introduction + * FormKiQ is an API-first (head-less), battle-tested document management API. The FormKiQ API + * provides all the API endpoints to build your Perfect Document Management Platform. FormKiQ API + * was built on top of [OpenAPI specification](https://www.openapis.org), so it is easy to use the + * API spec file with any application that supports the OpenAPI specification. Open API OAuth + * Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-jwt.yaml Open + * API IAM Specification - + * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## + * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key + * + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech Do not edit the class manually. + */ + + +package com.formkiq.client.model; + +import com.formkiq.client.model.AddEntity; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; +import java.util.Arrays; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for UpdateEntityRequest + */ +public class UpdateEntityRequestTest { + private final UpdateEntityRequest model = new UpdateEntityRequest(); + + /** + * Model tests for UpdateEntityRequest + */ + @Test + public void testUpdateEntityRequest() { + // TODO: test UpdateEntityRequest + } + + /** + * Test the property 'entity' + */ + @Test + public void entityTest() { + // TODO: test entity + } + +} diff --git a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatchTest.java b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatchTest.java index dda61c5fc..761164933 100644 --- a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatchTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatchTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestTest.java index c8a12398d..8b1b6a6b1 100644 --- a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdateTest.java b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdateTest.java index e1d286b96..2fdd9ae19 100644 --- a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdateTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdateTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponseTest.java index 3edcf66ac..6ad988589 100644 --- a/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateNigoRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateNigoRequestTest.java index 3a0e1d64d..a7ff2d886 100644 --- a/src/test/java/com/formkiq/client/model/UpdateNigoRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateNigoRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateNigoResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateNigoResponseTest.java index 67cd1ca18..bf084d7e6 100644 --- a/src/test/java/com/formkiq/client/model/UpdateNigoResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateNigoResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateNigoTest.java b/src/test/java/com/formkiq/client/model/UpdateNigoTest.java index 1b70bb889..2fa0cfeb8 100644 --- a/src/test/java/com/formkiq/client/model/UpdateNigoTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateNigoTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateResponseTest.java index 8c7d35997..480644232 100644 --- a/src/test/java/com/formkiq/client/model/UpdateResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateRuleRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateRuleRequestTest.java index aba92c98e..f0b379534 100644 --- a/src/test/java/com/formkiq/client/model/UpdateRuleRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateRuleRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateRuleResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateRuleResponseTest.java index 3fc655e85..76beaef43 100644 --- a/src/test/java/com/formkiq/client/model/UpdateRuleResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateRuleResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateRuleTest.java b/src/test/java/com/formkiq/client/model/UpdateRuleTest.java index bef22035d..b1179381b 100644 --- a/src/test/java/com/formkiq/client/model/UpdateRuleTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateRuleTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateRulesetRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateRulesetRequestTest.java index 47df5715b..d9a037e06 100644 --- a/src/test/java/com/formkiq/client/model/UpdateRulesetRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateRulesetRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateRulesetResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateRulesetResponseTest.java index adb86b046..4dc1a18e2 100644 --- a/src/test/java/com/formkiq/client/model/UpdateRulesetResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateRulesetResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateRulesetTest.java b/src/test/java/com/formkiq/client/model/UpdateRulesetTest.java index 7833f53d5..41c50b94c 100644 --- a/src/test/java/com/formkiq/client/model/UpdateRulesetTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateRulesetTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateSiteRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateSiteRequestTest.java index fda98c917..294e6d14b 100644 --- a/src/test/java/com/formkiq/client/model/UpdateSiteRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateSiteRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateSiteTest.java b/src/test/java/com/formkiq/client/model/UpdateSiteTest.java index 7b753c3f7..c7ec69814 100644 --- a/src/test/java/com/formkiq/client/model/UpdateSiteTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateSiteTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateTaskRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateTaskRequestTest.java index f6be6824d..9f40f4411 100644 --- a/src/test/java/com/formkiq/client/model/UpdateTaskRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateTaskRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateTaskResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateTaskResponseTest.java index 401d5d4e9..3bd4a618a 100644 --- a/src/test/java/com/formkiq/client/model/UpdateTaskResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateTaskResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateTaskTest.java b/src/test/java/com/formkiq/client/model/UpdateTaskTest.java index 1ad76d2bc..5f6de72fc 100644 --- a/src/test/java/com/formkiq/client/model/UpdateTaskTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateTaskTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateWorkflowRequestTest.java b/src/test/java/com/formkiq/client/model/UpdateWorkflowRequestTest.java index 92f04cc26..780f60b0f 100644 --- a/src/test/java/com/formkiq/client/model/UpdateWorkflowRequestTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateWorkflowRequestTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UpdateWorkflowResponseTest.java b/src/test/java/com/formkiq/client/model/UpdateWorkflowResponseTest.java index 865a5a66b..6cb7b3fa6 100644 --- a/src/test/java/com/formkiq/client/model/UpdateWorkflowResponseTest.java +++ b/src/test/java/com/formkiq/client/model/UpdateWorkflowResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserActivityChangesTest.java b/src/test/java/com/formkiq/client/model/UserActivityChangesTest.java index 2b1ac32d6..3314580e5 100644 --- a/src/test/java/com/formkiq/client/model/UserActivityChangesTest.java +++ b/src/test/java/com/formkiq/client/model/UserActivityChangesTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserActivityTest.java b/src/test/java/com/formkiq/client/model/UserActivityTest.java index 462868ab4..911e40039 100644 --- a/src/test/java/com/formkiq/client/model/UserActivityTest.java +++ b/src/test/java/com/formkiq/client/model/UserActivityTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserActivityTypeTest.java b/src/test/java/com/formkiq/client/model/UserActivityTypeTest.java index cabd11525..071e4cbb2 100644 --- a/src/test/java/com/formkiq/client/model/UserActivityTypeTest.java +++ b/src/test/java/com/formkiq/client/model/UserActivityTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserAttributesTest.java b/src/test/java/com/formkiq/client/model/UserAttributesTest.java index afa79d0b4..6bc58309f 100644 --- a/src/test/java/com/formkiq/client/model/UserAttributesTest.java +++ b/src/test/java/com/formkiq/client/model/UserAttributesTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserSharePermissionTest.java b/src/test/java/com/formkiq/client/model/UserSharePermissionTest.java index c0e264722..e33ac3c25 100644 --- a/src/test/java/com/formkiq/client/model/UserSharePermissionTest.java +++ b/src/test/java/com/formkiq/client/model/UserSharePermissionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserSharePermissionTypeTest.java b/src/test/java/com/formkiq/client/model/UserSharePermissionTypeTest.java index 27265cb86..5a1ce8270 100644 --- a/src/test/java/com/formkiq/client/model/UserSharePermissionTypeTest.java +++ b/src/test/java/com/formkiq/client/model/UserSharePermissionTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserShareTest.java b/src/test/java/com/formkiq/client/model/UserShareTest.java index 9adc1c3fa..0b4102873 100644 --- a/src/test/java/com/formkiq/client/model/UserShareTest.java +++ b/src/test/java/com/formkiq/client/model/UserShareTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/UserTest.java b/src/test/java/com/formkiq/client/model/UserTest.java index dd1b96132..78ce402a6 100644 --- a/src/test/java/com/formkiq/client/model/UserTest.java +++ b/src/test/java/com/formkiq/client/model/UserTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ValidationErrorTest.java b/src/test/java/com/formkiq/client/model/ValidationErrorTest.java index 4fd0ba19f..39d4200c0 100644 --- a/src/test/java/com/formkiq/client/model/ValidationErrorTest.java +++ b/src/test/java/com/formkiq/client/model/ValidationErrorTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/ValidationErrorsResponseTest.java b/src/test/java/com/formkiq/client/model/ValidationErrorsResponseTest.java index d78e776cd..6837e66d7 100644 --- a/src/test/java/com/formkiq/client/model/ValidationErrorsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/ValidationErrorsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WatermarkPositionTest.java b/src/test/java/com/formkiq/client/model/WatermarkPositionTest.java index 617537d11..3b5142d27 100644 --- a/src/test/java/com/formkiq/client/model/WatermarkPositionTest.java +++ b/src/test/java/com/formkiq/client/model/WatermarkPositionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WatermarkPositionXAnchorTest.java b/src/test/java/com/formkiq/client/model/WatermarkPositionXAnchorTest.java index f2ac1b0de..1f3aff9f1 100644 --- a/src/test/java/com/formkiq/client/model/WatermarkPositionXAnchorTest.java +++ b/src/test/java/com/formkiq/client/model/WatermarkPositionXAnchorTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WatermarkPositionYAnchorTest.java b/src/test/java/com/formkiq/client/model/WatermarkPositionYAnchorTest.java index a01497077..3270a9c40 100644 --- a/src/test/java/com/formkiq/client/model/WatermarkPositionYAnchorTest.java +++ b/src/test/java/com/formkiq/client/model/WatermarkPositionYAnchorTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WatermarkScaleTest.java b/src/test/java/com/formkiq/client/model/WatermarkScaleTest.java index ca244296f..be9af3788 100644 --- a/src/test/java/com/formkiq/client/model/WatermarkScaleTest.java +++ b/src/test/java/com/formkiq/client/model/WatermarkScaleTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WatermarkTest.java b/src/test/java/com/formkiq/client/model/WatermarkTest.java index 230ecc2df..cc2a03fb2 100644 --- a/src/test/java/com/formkiq/client/model/WatermarkTest.java +++ b/src/test/java/com/formkiq/client/model/WatermarkTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -47,6 +47,14 @@ public void testWatermark() { // TODO: test Watermark } + /** + * Test the property 'fontSize' + */ + @Test + public void fontSizeTest() { + // TODO: test fontSize + } + /** * Test the property 'text' */ diff --git a/src/test/java/com/formkiq/client/model/WebhookTagTest.java b/src/test/java/com/formkiq/client/model/WebhookTagTest.java index 9d4177ab0..bcbd2ad78 100644 --- a/src/test/java/com/formkiq/client/model/WebhookTagTest.java +++ b/src/test/java/com/formkiq/client/model/WebhookTagTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowDocumentTest.java b/src/test/java/com/formkiq/client/model/WorkflowDocumentTest.java index 5bec0d0b8..4b364110f 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowDocumentTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowDocumentTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowQueueTest.java b/src/test/java/com/formkiq/client/model/WorkflowQueueTest.java index 403cd6279..75311cd70 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowQueueTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowQueueTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowStatusTest.java b/src/test/java/com/formkiq/client/model/WorkflowStatusTest.java index ffc987f00..cb6ffdc99 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowStatusTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowStatusTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTest.java b/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTest.java index 66a67292a..bba57216c 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTypeTest.java b/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTypeTest.java index fca24f8df..004b0d181 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTypeTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowStepDecisionTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowStepTest.java b/src/test/java/com/formkiq/client/model/WorkflowStepTest.java index 5c7528d1d..c0d421f1b 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowStepTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowStepTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. diff --git a/src/test/java/com/formkiq/client/model/WorkflowSummaryTest.java b/src/test/java/com/formkiq/client/model/WorkflowSummaryTest.java index bea0c7c65..c0cba5907 100644 --- a/src/test/java/com/formkiq/client/model/WorkflowSummaryTest.java +++ b/src/test/java/com/formkiq/client/model/WorkflowSummaryTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually.