From fb700cab9ece0336a2688cac6d9884ba96fa5bf7 Mon Sep 17 00:00:00 2001 From: Mike Friesen Date: Wed, 12 Mar 2025 17:19:31 -0500 Subject: [PATCH 1/2] V1.17.0 (#43) update update update update update added "GOVERNANCE" attribute type update update update update update # Conflicts: # .openapi-generator/FILES # .openapi-generator/VERSION # README.md # api/openapi.yaml # build.gradle # build.sbt # docs/AttributeDataType.md # docs/AttributeValueType.md # docs/SystemManagementApi.md # 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/DocumentFoldersApi.java # src/main/java/com/formkiq/client/api/DocumentGenerationApi.java # src/main/java/com/formkiq/client/api/DocumentOcrApi.java # src/main/java/com/formkiq/client/api/DocumentSearchApi.java # src/main/java/com/formkiq/client/api/DocumentSharesApi.java # src/main/java/com/formkiq/client/api/DocumentTagsApi.java # 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/ExamineObjectsApi.java # src/main/java/com/formkiq/client/api/GoogleIntegrationApi.java # src/main/java/com/formkiq/client/api/MappingsApi.java # src/main/java/com/formkiq/client/api/PublicApi.java # src/main/java/com/formkiq/client/api/ReindexApi.java # src/main/java/com/formkiq/client/api/RulesetsApi.java # src/main/java/com/formkiq/client/api/SchemasApi.java # src/main/java/com/formkiq/client/api/SystemManagementApi.java # src/main/java/com/formkiq/client/api/TagIndexApi.java # src/main/java/com/formkiq/client/api/UserActivitiesApi.java # src/main/java/com/formkiq/client/api/UserManagementApi.java # src/main/java/com/formkiq/client/api/WebhooksApi.java # src/main/java/com/formkiq/client/invoker/ApiCallback.java # src/main/java/com/formkiq/client/invoker/ApiClient.java # src/main/java/com/formkiq/client/invoker/ApiException.java # src/main/java/com/formkiq/client/invoker/ApiResponse.java # src/main/java/com/formkiq/client/invoker/Configuration.java # src/main/java/com/formkiq/client/invoker/GzipRequestInterceptor.java # src/main/java/com/formkiq/client/invoker/JSON.java # src/main/java/com/formkiq/client/invoker/Pair.java # src/main/java/com/formkiq/client/invoker/ProgressRequestBody.java # src/main/java/com/formkiq/client/invoker/ProgressResponseBody.java # src/main/java/com/formkiq/client/invoker/ServerConfiguration.java # src/main/java/com/formkiq/client/invoker/ServerVariable.java # src/main/java/com/formkiq/client/invoker/StringUtil.java # src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java # src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java # src/main/java/com/formkiq/client/invoker/auth/Authentication.java # src/main/java/com/formkiq/client/invoker/auth/HttpBasicAuth.java # src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java # src/main/java/com/formkiq/client/invoker/auth/OAuth.java # 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/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/AddAttributeSchemaOptional.java # src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java # src/main/java/com/formkiq/client/model/AddCase.java # src/main/java/com/formkiq/client/model/AddCaseRequest.java # src/main/java/com/formkiq/client/model/AddCaseResponse.java # src/main/java/com/formkiq/client/model/AddChildDocument.java # src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java # src/main/java/com/formkiq/client/model/AddClassification.java # src/main/java/com/formkiq/client/model/AddClassificationRequest.java # src/main/java/com/formkiq/client/model/AddClassificationResponse.java # src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java # 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 # src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java # src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java # src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java # src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java # src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java # src/main/java/com/formkiq/client/model/AddDocumentMetadata.java # src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java # src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java # src/main/java/com/formkiq/client/model/AddDocumentRequest.java # src/main/java/com/formkiq/client/model/AddDocumentResponse.java # src/main/java/com/formkiq/client/model/AddDocumentSync.java # src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java # src/main/java/com/formkiq/client/model/AddDocumentSyncService.java # src/main/java/com/formkiq/client/model/AddDocumentTag.java # src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java # src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java # src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java # src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java # src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java # src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java # 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/AddEntityTypeRequest.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 # src/main/java/com/formkiq/client/model/AddFolderShareResponse.java # src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java # src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java # src/main/java/com/formkiq/client/model/AddGroup.java # src/main/java/com/formkiq/client/model/AddGroupRequest.java # src/main/java/com/formkiq/client/model/AddLocaleRequest.java # src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java # src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java # src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java # src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java # src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java # src/main/java/com/formkiq/client/model/AddMapping.java # src/main/java/com/formkiq/client/model/AddMappingRequest.java # src/main/java/com/formkiq/client/model/AddMappingResponse.java # src/main/java/com/formkiq/client/model/AddNigo.java # src/main/java/com/formkiq/client/model/AddNigoRequest.java # src/main/java/com/formkiq/client/model/AddNigoResponse.java # src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java # src/main/java/com/formkiq/client/model/AddQueueRequest.java # src/main/java/com/formkiq/client/model/AddQueueResponse.java # src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java # src/main/java/com/formkiq/client/model/AddResourceItem.java # src/main/java/com/formkiq/client/model/AddResponse.java # src/main/java/com/formkiq/client/model/AddRule.java # src/main/java/com/formkiq/client/model/AddRuleRequest.java # src/main/java/com/formkiq/client/model/AddRuleResponse.java # src/main/java/com/formkiq/client/model/AddRuleset.java # src/main/java/com/formkiq/client/model/AddRulesetRequest.java # src/main/java/com/formkiq/client/model/AddRulesetResponse.java # src/main/java/com/formkiq/client/model/AddShare.java # src/main/java/com/formkiq/client/model/AddSite.java # src/main/java/com/formkiq/client/model/AddSiteRequest.java # src/main/java/com/formkiq/client/model/AddTask.java # src/main/java/com/formkiq/client/model/AddTaskRequest.java # src/main/java/com/formkiq/client/model/AddTaskResponse.java # src/main/java/com/formkiq/client/model/AddUser.java # src/main/java/com/formkiq/client/model/AddUserRequest.java # src/main/java/com/formkiq/client/model/AddWebhookRequest.java # src/main/java/com/formkiq/client/model/AddWebhookResponse.java # src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java # src/main/java/com/formkiq/client/model/AddWorkflowRequest.java # src/main/java/com/formkiq/client/model/AddWorkflowResponse.java # src/main/java/com/formkiq/client/model/AddWorkflowStep.java # src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java # src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java # src/main/java/com/formkiq/client/model/ApiKey.java # src/main/java/com/formkiq/client/model/Attribute.java # src/main/java/com/formkiq/client/model/AttributeDataType.java # src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java # src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java # src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java # src/main/java/com/formkiq/client/model/AttributeType.java # src/main/java/com/formkiq/client/model/AttributeValueType.java # src/main/java/com/formkiq/client/model/CaseStatus.java # 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/DeleteApiKeyResponse.java # src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java # src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java # src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java # src/main/java/com/formkiq/client/model/DeleteCaseResponse.java # src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java # src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java # src/main/java/com/formkiq/client/model/DeleteFolderResponse.java # src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java # src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java # src/main/java/com/formkiq/client/model/DeleteQueueResponse.java # src/main/java/com/formkiq/client/model/DeleteResponse.java # src/main/java/com/formkiq/client/model/DeleteRuleResponse.java # src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java # src/main/java/com/formkiq/client/model/DeleteShareResponse.java # src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java # src/main/java/com/formkiq/client/model/Document.java # src/main/java/com/formkiq/client/model/DocumentAction.java # src/main/java/com/formkiq/client/model/DocumentActionStatus.java # src/main/java/com/formkiq/client/model/DocumentActionType.java # src/main/java/com/formkiq/client/model/DocumentAttribute.java # src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java # src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java # src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java # src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java # src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java # src/main/java/com/formkiq/client/model/DocumentFulltextTag.java # src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java # src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java # src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java # src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java # src/main/java/com/formkiq/client/model/DocumentId.java # src/main/java/com/formkiq/client/model/DocumentMetadata.java # src/main/java/com/formkiq/client/model/DocumentRelationshipType.java # src/main/java/com/formkiq/client/model/DocumentSearch.java # src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java # src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java # src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java # src/main/java/com/formkiq/client/model/DocumentSearchMeta.java # src/main/java/com/formkiq/client/model/DocumentSearchRange.java # src/main/java/com/formkiq/client/model/DocumentSearchRequest.java # src/main/java/com/formkiq/client/model/DocumentSearchResponse.java # src/main/java/com/formkiq/client/model/DocumentSearchTag.java # src/main/java/com/formkiq/client/model/DocumentSearchTags.java # src/main/java/com/formkiq/client/model/DocumentSync.java # src/main/java/com/formkiq/client/model/DocumentSyncService.java # src/main/java/com/formkiq/client/model/DocumentSyncStatus.java # src/main/java/com/formkiq/client/model/DocumentSyncType.java # src/main/java/com/formkiq/client/model/DocumentTag.java # src/main/java/com/formkiq/client/model/DocumentVersion.java # src/main/java/com/formkiq/client/model/DocumentWorkflow.java # src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java # src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java # src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java # src/main/java/com/formkiq/client/model/DocusignConfig.java # src/main/java/com/formkiq/client/model/DocusignEnvironment.java # src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java # src/main/java/com/formkiq/client/model/DocusignNotification.java # src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java # src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java # 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/Error.java # src/main/java/com/formkiq/client/model/ErrorsResponse.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/GetApiKeysResponse.java # src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java # src/main/java/com/formkiq/client/model/GetAttributeResponse.java # src/main/java/com/formkiq/client/model/GetAttributesResponse.java # src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java # src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java # src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java # src/main/java/com/formkiq/client/model/GetCaseResponse.java # src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java # src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java # src/main/java/com/formkiq/client/model/GetCasesResponse.java # src/main/java/com/formkiq/client/model/GetClassificationResponse.java # 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/GetDocumentFulltextResponse.java # src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java # src/main/java/com/formkiq/client/model/GetDocumentResponse.java # src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java # src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java # src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java # src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java # 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/GetEntityResponse.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/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/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/GetQueueResponse.java # src/main/java/com/formkiq/client/model/GetQueuesResponse.java # src/main/java/com/formkiq/client/model/GetRuleResponse.java # src/main/java/com/formkiq/client/model/GetRulesResponse.java # src/main/java/com/formkiq/client/model/GetRulesetResponse.java # src/main/java/com/formkiq/client/model/GetRulesetsResponse.java # src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java # src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java # src/main/java/com/formkiq/client/model/GetSitesResponse.java # src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java # src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java # src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java # src/main/java/com/formkiq/client/model/GetUserResponse.java # src/main/java/com/formkiq/client/model/GetUserSharesResponse.java # src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java # src/main/java/com/formkiq/client/model/GetUsersResponse.java # src/main/java/com/formkiq/client/model/GetVersionResponse.java # src/main/java/com/formkiq/client/model/GetWebhookResponse.java # src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java # src/main/java/com/formkiq/client/model/GetWebhooksResponse.java # src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java # src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java # src/main/java/com/formkiq/client/model/GetWorkflowResponse.java # src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java # src/main/java/com/formkiq/client/model/GoogleConfig.java # src/main/java/com/formkiq/client/model/GoogleExportOutputType.java # src/main/java/com/formkiq/client/model/Group.java # src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java # src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java # 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/LocaleResourceType.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 # src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java # src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java # src/main/java/com/formkiq/client/model/MatchDocumentTag.java # src/main/java/com/formkiq/client/model/ModelCase.java # src/main/java/com/formkiq/client/model/Nigo.java # src/main/java/com/formkiq/client/model/NigoStatus.java # src/main/java/com/formkiq/client/model/OcrConfig.java # src/main/java/com/formkiq/client/model/OcrEngine.java # src/main/java/com/formkiq/client/model/OcrKeyValues.java # src/main/java/com/formkiq/client/model/OcrOutputType.java # src/main/java/com/formkiq/client/model/OcrTable.java # src/main/java/com/formkiq/client/model/OcrTableData.java # src/main/java/com/formkiq/client/model/OnlyOfficeDocumentNewRequest.java # src/main/java/com/formkiq/client/model/OnlyOfficeDocumentResponse.java # src/main/java/com/formkiq/client/model/OnlyOfficeDocumentSaveResponse.java # src/main/java/com/formkiq/client/model/OpaPolicy.java # 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/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/OpaPolicyItem.java # src/main/java/com/formkiq/client/model/OpaPolicyItemType.java # src/main/java/com/formkiq/client/model/OpenSearchIndex.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 # src/main/java/com/formkiq/client/model/Queue.java # src/main/java/com/formkiq/client/model/ReindexTarget.java # src/main/java/com/formkiq/client/model/ResourceItem.java # src/main/java/com/formkiq/client/model/Rule.java # src/main/java/com/formkiq/client/model/RuleCondition.java # src/main/java/com/formkiq/client/model/RuleConditionAttribute.java # src/main/java/com/formkiq/client/model/RuleConditionCriterion.java # src/main/java/com/formkiq/client/model/RuleConditionMust.java # src/main/java/com/formkiq/client/model/RuleConditionOperation.java # src/main/java/com/formkiq/client/model/Ruleset.java # src/main/java/com/formkiq/client/model/RulesetStatus.java # src/main/java/com/formkiq/client/model/SchemaAttributes.java # 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/SetDocumentFulltextRequest.java # src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java # src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java # 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/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/SetResponse.java # src/main/java/com/formkiq/client/model/SetSchemaAttributes.java # src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java # src/main/java/com/formkiq/client/model/SetWorkflowRequest.java # src/main/java/com/formkiq/client/model/SetWorkflowResponse.java # src/main/java/com/formkiq/client/model/Site.java # src/main/java/com/formkiq/client/model/SiteConfig.java # src/main/java/com/formkiq/client/model/SiteGroup.java # src/main/java/com/formkiq/client/model/SiteGroupPermissions.java # src/main/java/com/formkiq/client/model/SiteStatus.java # src/main/java/com/formkiq/client/model/SiteUsage.java # 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/UpdateCase.java # src/main/java/com/formkiq/client/model/UpdateCaseRequest.java # src/main/java/com/formkiq/client/model/UpdateCaseResponse.java # src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java # 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/UpdateMatchingDocumentTagsRequest.java # src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java # src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java # src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java # src/main/java/com/formkiq/client/model/UpdateNigo.java # src/main/java/com/formkiq/client/model/UpdateNigoRequest.java # src/main/java/com/formkiq/client/model/UpdateNigoResponse.java # src/main/java/com/formkiq/client/model/UpdateResponse.java # src/main/java/com/formkiq/client/model/UpdateRule.java # src/main/java/com/formkiq/client/model/UpdateRuleRequest.java # src/main/java/com/formkiq/client/model/UpdateRuleResponse.java # src/main/java/com/formkiq/client/model/UpdateRuleset.java # src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java # src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java # src/main/java/com/formkiq/client/model/UpdateSite.java # src/main/java/com/formkiq/client/model/UpdateSiteRequest.java # src/main/java/com/formkiq/client/model/UpdateTask.java # src/main/java/com/formkiq/client/model/UpdateTaskRequest.java # src/main/java/com/formkiq/client/model/UpdateTaskResponse.java # src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java # src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java # src/main/java/com/formkiq/client/model/User.java # src/main/java/com/formkiq/client/model/UserActivity.java # src/main/java/com/formkiq/client/model/UserActivityChanges.java # src/main/java/com/formkiq/client/model/UserActivityType.java # src/main/java/com/formkiq/client/model/UserAttributes.java # src/main/java/com/formkiq/client/model/UserShare.java # src/main/java/com/formkiq/client/model/UserSharePermission.java # src/main/java/com/formkiq/client/model/UserSharePermissionType.java # src/main/java/com/formkiq/client/model/ValidationError.java # src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java # src/main/java/com/formkiq/client/model/Watermark.java # src/main/java/com/formkiq/client/model/WatermarkPosition.java # src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java # src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java # src/main/java/com/formkiq/client/model/WatermarkScale.java # src/main/java/com/formkiq/client/model/WebhookTag.java # src/main/java/com/formkiq/client/model/WorkflowDocument.java # src/main/java/com/formkiq/client/model/WorkflowQueue.java # src/main/java/com/formkiq/client/model/WorkflowStatus.java # src/main/java/com/formkiq/client/model/WorkflowStep.java # src/main/java/com/formkiq/client/model/WorkflowStepDecision.java # 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/DocumentFoldersApiTest.java # src/test/java/com/formkiq/client/api/DocumentGenerationApiTest.java # src/test/java/com/formkiq/client/api/DocumentOcrApiTest.java # src/test/java/com/formkiq/client/api/DocumentSearchApiTest.java # src/test/java/com/formkiq/client/api/DocumentSharesApiTest.java # src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java # 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/ExamineObjectsApiTest.java # src/test/java/com/formkiq/client/api/GoogleIntegrationApiTest.java # src/test/java/com/formkiq/client/api/MappingsApiTest.java # src/test/java/com/formkiq/client/api/PublicApiTest.java # src/test/java/com/formkiq/client/api/ReindexApiTest.java # src/test/java/com/formkiq/client/api/RulesetsApiTest.java # src/test/java/com/formkiq/client/api/SchemasApiTest.java # src/test/java/com/formkiq/client/api/SystemManagementApiTest.java # 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/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/AddAttributeSchemaOptionalTest.java # src/test/java/com/formkiq/client/model/AddAttributeSchemaRequiredTest.java # src/test/java/com/formkiq/client/model/AddAttributeTest.java # src/test/java/com/formkiq/client/model/AddCaseRequestTest.java # src/test/java/com/formkiq/client/model/AddCaseResponseTest.java # src/test/java/com/formkiq/client/model/AddCaseTest.java # src/test/java/com/formkiq/client/model/AddChildDocumentResponseTest.java # src/test/java/com/formkiq/client/model/AddChildDocumentTest.java # src/test/java/com/formkiq/client/model/AddClassificationRequestTest.java # src/test/java/com/formkiq/client/model/AddClassificationResponseTest.java # src/test/java/com/formkiq/client/model/AddClassificationTest.java # 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 # src/test/java/com/formkiq/client/model/AddDocumentAttributeValueTest.java # src/test/java/com/formkiq/client/model/AddDocumentAttributesRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentFulltextRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentFulltextResponseTest.java # src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentGenerateResponseTest.java # src/test/java/com/formkiq/client/model/AddDocumentMetadataTest.java # src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java # src/test/java/com/formkiq/client/model/AddDocumentRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentResponseTest.java # src/test/java/com/formkiq/client/model/AddDocumentSyncRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentSyncServiceTest.java # src/test/java/com/formkiq/client/model/AddDocumentSyncTest.java # src/test/java/com/formkiq/client/model/AddDocumentTagTest.java # src/test/java/com/formkiq/client/model/AddDocumentTagsRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentUploadRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponseTest.java # src/test/java/com/formkiq/client/model/AddDocumentWorkflowRequestTest.java # src/test/java/com/formkiq/client/model/AddDocumentWorkflowResponseTest.java # 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/AddEntityRequestTest.java # src/test/java/com/formkiq/client/model/AddEntityResponseTest.java # src/test/java/com/formkiq/client/model/AddEntityTypeTest.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 # src/test/java/com/formkiq/client/model/AddFolderShareResponseTest.java # src/test/java/com/formkiq/client/model/AddGoogleDocumentExportRequestTest.java # src/test/java/com/formkiq/client/model/AddGoogleDocumentExportResponseTest.java # src/test/java/com/formkiq/client/model/AddGroupRequestTest.java # src/test/java/com/formkiq/client/model/AddGroupTest.java # src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java # src/test/java/com/formkiq/client/model/AddLocaleResourceClassificationItemTest.java # src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java # src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java # src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java # src/test/java/com/formkiq/client/model/AddLocaleResourceSchemaItemTest.java # src/test/java/com/formkiq/client/model/AddMappingRequestTest.java # src/test/java/com/formkiq/client/model/AddMappingResponseTest.java # src/test/java/com/formkiq/client/model/AddMappingTest.java # src/test/java/com/formkiq/client/model/AddNigoRequestTest.java # src/test/java/com/formkiq/client/model/AddNigoResponseTest.java # src/test/java/com/formkiq/client/model/AddNigoTest.java # src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java # src/test/java/com/formkiq/client/model/AddQueueRequestTest.java # src/test/java/com/formkiq/client/model/AddQueueResponseTest.java # src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java # src/test/java/com/formkiq/client/model/AddResourceItemTest.java # src/test/java/com/formkiq/client/model/AddResponseTest.java # src/test/java/com/formkiq/client/model/AddRuleRequestTest.java # src/test/java/com/formkiq/client/model/AddRuleResponseTest.java # src/test/java/com/formkiq/client/model/AddRuleTest.java # src/test/java/com/formkiq/client/model/AddRulesetRequestTest.java # src/test/java/com/formkiq/client/model/AddRulesetResponseTest.java # src/test/java/com/formkiq/client/model/AddRulesetTest.java # src/test/java/com/formkiq/client/model/AddShareTest.java # src/test/java/com/formkiq/client/model/AddSiteRequestTest.java # src/test/java/com/formkiq/client/model/AddSiteTest.java # src/test/java/com/formkiq/client/model/AddTaskRequestTest.java # src/test/java/com/formkiq/client/model/AddTaskResponseTest.java # src/test/java/com/formkiq/client/model/AddTaskTest.java # src/test/java/com/formkiq/client/model/AddUserRequestTest.java # src/test/java/com/formkiq/client/model/AddUserTest.java # src/test/java/com/formkiq/client/model/AddWebhookRequestTest.java # src/test/java/com/formkiq/client/model/AddWebhookResponseTest.java # src/test/java/com/formkiq/client/model/AddWebhookTagRequestTest.java # src/test/java/com/formkiq/client/model/AddWorkflowRequestTest.java # src/test/java/com/formkiq/client/model/AddWorkflowResponseTest.java # src/test/java/com/formkiq/client/model/AddWorkflowStepDecisionTest.java # src/test/java/com/formkiq/client/model/AddWorkflowStepQueueTest.java # src/test/java/com/formkiq/client/model/AddWorkflowStepTest.java # src/test/java/com/formkiq/client/model/ApiKeyTest.java # src/test/java/com/formkiq/client/model/AttributeDataTypeTest.java # src/test/java/com/formkiq/client/model/AttributeSchemaCompositeKeyTest.java # src/test/java/com/formkiq/client/model/AttributeSchemaOptionalTest.java # src/test/java/com/formkiq/client/model/AttributeSchemaRequiredTest.java # src/test/java/com/formkiq/client/model/AttributeTest.java # src/test/java/com/formkiq/client/model/AttributeTypeTest.java # src/test/java/com/formkiq/client/model/AttributeValueTypeTest.java # src/test/java/com/formkiq/client/model/CaseStatusTest.java # 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/DeleteApiKeyResponseTest.java # src/test/java/com/formkiq/client/model/DeleteCaseDocumentResponseTest.java # src/test/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponseTest.java # src/test/java/com/formkiq/client/model/DeleteCaseNigoResponseTest.java # src/test/java/com/formkiq/client/model/DeleteCaseResponseTest.java # src/test/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponseTest.java # src/test/java/com/formkiq/client/model/DeleteCaseTaskResponseTest.java # src/test/java/com/formkiq/client/model/DeleteFolderResponseTest.java # src/test/java/com/formkiq/client/model/DeleteFulltextResponseTest.java # src/test/java/com/formkiq/client/model/DeleteIndicesResponseTest.java # src/test/java/com/formkiq/client/model/DeleteQueueResponseTest.java # src/test/java/com/formkiq/client/model/DeleteResponseTest.java # src/test/java/com/formkiq/client/model/DeleteRuleResponseTest.java # src/test/java/com/formkiq/client/model/DeleteRulesetResponseTest.java # src/test/java/com/formkiq/client/model/DeleteShareResponseTest.java # src/test/java/com/formkiq/client/model/DeleteWorkflowResponseTest.java # src/test/java/com/formkiq/client/model/DocumentActionStatusTest.java # src/test/java/com/formkiq/client/model/DocumentActionTest.java # src/test/java/com/formkiq/client/model/DocumentActionTypeTest.java # src/test/java/com/formkiq/client/model/DocumentAttributeTest.java # src/test/java/com/formkiq/client/model/DocumentFulltextAttributeEqTest.java # src/test/java/com/formkiq/client/model/DocumentFulltextAttributeTest.java # src/test/java/com/formkiq/client/model/DocumentFulltextRequestTest.java # src/test/java/com/formkiq/client/model/DocumentFulltextResponseTest.java # src/test/java/com/formkiq/client/model/DocumentFulltextSearchTest.java # src/test/java/com/formkiq/client/model/DocumentFulltextTagTest.java # src/test/java/com/formkiq/client/model/DocumentGenerateDataSourceTest.java # src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPositionTest.java # src/test/java/com/formkiq/client/model/DocumentGenerateInsertDocumentTest.java # src/test/java/com/formkiq/client/model/DocumentGenerateOutputTypeTest.java # src/test/java/com/formkiq/client/model/DocumentIdTest.java # src/test/java/com/formkiq/client/model/DocumentMetadataTest.java # src/test/java/com/formkiq/client/model/DocumentRelationshipTypeTest.java # src/test/java/com/formkiq/client/model/DocumentSearchAttributeTest.java # src/test/java/com/formkiq/client/model/DocumentSearchMatchAttributeTest.java # src/test/java/com/formkiq/client/model/DocumentSearchMatchTagTest.java # src/test/java/com/formkiq/client/model/DocumentSearchMetaTest.java # src/test/java/com/formkiq/client/model/DocumentSearchRangeTest.java # src/test/java/com/formkiq/client/model/DocumentSearchRequestTest.java # src/test/java/com/formkiq/client/model/DocumentSearchResponseTest.java # src/test/java/com/formkiq/client/model/DocumentSearchTagTest.java # src/test/java/com/formkiq/client/model/DocumentSearchTagsTest.java # src/test/java/com/formkiq/client/model/DocumentSearchTest.java # src/test/java/com/formkiq/client/model/DocumentSyncServiceTest.java # src/test/java/com/formkiq/client/model/DocumentSyncStatusTest.java # src/test/java/com/formkiq/client/model/DocumentSyncTest.java # src/test/java/com/formkiq/client/model/DocumentSyncTypeTest.java # src/test/java/com/formkiq/client/model/DocumentTagTest.java # src/test/java/com/formkiq/client/model/DocumentTest.java # src/test/java/com/formkiq/client/model/DocumentVersionTest.java # src/test/java/com/formkiq/client/model/DocumentWorkflowStatusTest.java # src/test/java/com/formkiq/client/model/DocumentWorkflowTest.java # src/test/java/com/formkiq/client/model/DocumentsCompressRequestTest.java # src/test/java/com/formkiq/client/model/DocumentsCompressResponseTest.java # src/test/java/com/formkiq/client/model/DocusignConfigTest.java # src/test/java/com/formkiq/client/model/DocusignEnvironmentTest.java # src/test/java/com/formkiq/client/model/DocusignInpersonSignerTest.java # src/test/java/com/formkiq/client/model/DocusignNotificationExpirationsTest.java # src/test/java/com/formkiq/client/model/DocusignNotificationRemindersTest.java # src/test/java/com/formkiq/client/model/DocusignNotificationTest.java # 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/EntityTest.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/FulltextAttributeTest.java # src/test/java/com/formkiq/client/model/FulltextSearchItemTest.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 # src/test/java/com/formkiq/client/model/GetAttributesResponseTest.java # src/test/java/com/formkiq/client/model/GetCaseDocumentsResponseTest.java # src/test/java/com/formkiq/client/model/GetCaseNigoResponseTest.java # src/test/java/com/formkiq/client/model/GetCaseNigosResponseTest.java # src/test/java/com/formkiq/client/model/GetCaseResponseTest.java # src/test/java/com/formkiq/client/model/GetCaseTaskResponseTest.java # src/test/java/com/formkiq/client/model/GetCaseTasksResponseTest.java # src/test/java/com/formkiq/client/model/GetCasesResponseTest.java # src/test/java/com/formkiq/client/model/GetClassificationResponseTest.java # 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/GetDocumentFulltextResponseTest.java # src/test/java/com/formkiq/client/model/GetDocumentOcrResponseTest.java # src/test/java/com/formkiq/client/model/GetDocumentResponseTest.java # src/test/java/com/formkiq/client/model/GetDocumentSyncResponseTest.java # src/test/java/com/formkiq/client/model/GetDocumentTagResponseTest.java # src/test/java/com/formkiq/client/model/GetDocumentTagsResponseTest.java # src/test/java/com/formkiq/client/model/GetDocumentUrlResponseTest.java # 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/GetExaminePdfResponseTest.java # src/test/java/com/formkiq/client/model/GetExaminePdfUrlResponseTest.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/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/GetQueueResponseTest.java # src/test/java/com/formkiq/client/model/GetQueuesResponseTest.java # src/test/java/com/formkiq/client/model/GetRuleResponseTest.java # src/test/java/com/formkiq/client/model/GetRulesResponseTest.java # src/test/java/com/formkiq/client/model/GetRulesetResponseTest.java # src/test/java/com/formkiq/client/model/GetRulesetsResponseTest.java # src/test/java/com/formkiq/client/model/GetSiteGroupResponseTest.java # src/test/java/com/formkiq/client/model/GetSiteGroupsResponseTest.java # src/test/java/com/formkiq/client/model/GetSitesResponseTest.java # src/test/java/com/formkiq/client/model/GetSitesSchemaResponseTest.java # src/test/java/com/formkiq/client/model/GetUserActivitesResponseTest.java # src/test/java/com/formkiq/client/model/GetUserGroupsResponseTest.java # src/test/java/com/formkiq/client/model/GetUserResponseTest.java # src/test/java/com/formkiq/client/model/GetUserSharesResponseTest.java # src/test/java/com/formkiq/client/model/GetUsersInGroupResponseTest.java # src/test/java/com/formkiq/client/model/GetUsersResponseTest.java # src/test/java/com/formkiq/client/model/GetVersionResponseTest.java # src/test/java/com/formkiq/client/model/GetWebhookResponseTest.java # src/test/java/com/formkiq/client/model/GetWebhookTagsResponseTest.java # src/test/java/com/formkiq/client/model/GetWebhooksResponseTest.java # src/test/java/com/formkiq/client/model/GetWorkflowDocumentsResponseTest.java # src/test/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponseTest.java # src/test/java/com/formkiq/client/model/GetWorkflowResponseTest.java # src/test/java/com/formkiq/client/model/GetWorkflowsResponseTest.java # src/test/java/com/formkiq/client/model/GoogleConfigTest.java # src/test/java/com/formkiq/client/model/GoogleExportOutputTypeTest.java # src/test/java/com/formkiq/client/model/GroupTest.java # src/test/java/com/formkiq/client/model/IndexFolderMoveRequestTest.java # src/test/java/com/formkiq/client/model/IndexFolderMoveResponseTest.java # 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/LocaleResourceTypeTest.java # src/test/java/com/formkiq/client/model/LocaleTest.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 # src/test/java/com/formkiq/client/model/MappingAttributeTest.java # src/test/java/com/formkiq/client/model/MappingTest.java # src/test/java/com/formkiq/client/model/MatchDocumentTagTest.java # src/test/java/com/formkiq/client/model/ModelCaseTest.java # src/test/java/com/formkiq/client/model/NigoStatusTest.java # src/test/java/com/formkiq/client/model/NigoTest.java # src/test/java/com/formkiq/client/model/OcrConfigTest.java # src/test/java/com/formkiq/client/model/OcrEngineTest.java # src/test/java/com/formkiq/client/model/OcrKeyValuesTest.java # src/test/java/com/formkiq/client/model/OcrOutputTypeTest.java # src/test/java/com/formkiq/client/model/OcrTableDataTest.java # src/test/java/com/formkiq/client/model/OcrTableTest.java # src/test/java/com/formkiq/client/model/OnlyOfficeConfigDocumentTest.java # src/test/java/com/formkiq/client/model/OnlyOfficeConfigTest.java # src/test/java/com/formkiq/client/model/OnlyOfficeDocumentResponseTest.java # src/test/java/com/formkiq/client/model/OnlyOfficeDocumentSaveResponseTest.java # src/test/java/com/formkiq/client/model/OnlyOfficeEditorConfigTest.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/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/OpaPolicyAttributeTest.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/OpenSearchIndexTest.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 # src/test/java/com/formkiq/client/model/QueueTest.java # src/test/java/com/formkiq/client/model/ReindexTargetTest.java # src/test/java/com/formkiq/client/model/ResourceItemTest.java # src/test/java/com/formkiq/client/model/RuleConditionAttributeTest.java # src/test/java/com/formkiq/client/model/RuleConditionCriterionTest.java # src/test/java/com/formkiq/client/model/RuleConditionMustTest.java # src/test/java/com/formkiq/client/model/RuleConditionOperationTest.java # src/test/java/com/formkiq/client/model/RuleConditionTest.java # src/test/java/com/formkiq/client/model/RuleTest.java # src/test/java/com/formkiq/client/model/RulesetStatusTest.java # src/test/java/com/formkiq/client/model/RulesetTest.java # src/test/java/com/formkiq/client/model/SchemaAttributesTest.java # 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/SetDocumentFulltextRequestTest.java # src/test/java/com/formkiq/client/model/SetDocumentFulltextResponseTest.java # src/test/java/com/formkiq/client/model/SetDocumentOcrRequestTest.java # 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/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/SetResponseTest.java # src/test/java/com/formkiq/client/model/SetSchemaAttributesTest.java # src/test/java/com/formkiq/client/model/SetSitesSchemaRequestTest.java # src/test/java/com/formkiq/client/model/SetWorkflowRequestTest.java # src/test/java/com/formkiq/client/model/SetWorkflowResponseTest.java # src/test/java/com/formkiq/client/model/SiteConfigTest.java # src/test/java/com/formkiq/client/model/SiteGroupPermissionsTest.java # src/test/java/com/formkiq/client/model/SiteGroupTest.java # src/test/java/com/formkiq/client/model/SiteStatusTest.java # src/test/java/com/formkiq/client/model/SiteTest.java # src/test/java/com/formkiq/client/model/SiteUsageTest.java # 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/UpdateCaseRequestTest.java # src/test/java/com/formkiq/client/model/UpdateCaseResponseTest.java # src/test/java/com/formkiq/client/model/UpdateCaseTest.java # src/test/java/com/formkiq/client/model/UpdateConfigurationRequestTest.java # 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/UpdateMatchingDocumentTagsRequestMatchTest.java # src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestTest.java # src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdateTest.java # src/test/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponseTest.java # src/test/java/com/formkiq/client/model/UpdateNigoRequestTest.java # src/test/java/com/formkiq/client/model/UpdateNigoResponseTest.java # src/test/java/com/formkiq/client/model/UpdateNigoTest.java # src/test/java/com/formkiq/client/model/UpdateResponseTest.java # src/test/java/com/formkiq/client/model/UpdateRuleRequestTest.java # src/test/java/com/formkiq/client/model/UpdateRuleResponseTest.java # src/test/java/com/formkiq/client/model/UpdateRuleTest.java # src/test/java/com/formkiq/client/model/UpdateRulesetRequestTest.java # src/test/java/com/formkiq/client/model/UpdateRulesetResponseTest.java # src/test/java/com/formkiq/client/model/UpdateRulesetTest.java # src/test/java/com/formkiq/client/model/UpdateSiteRequestTest.java # src/test/java/com/formkiq/client/model/UpdateSiteTest.java # src/test/java/com/formkiq/client/model/UpdateTaskRequestTest.java # src/test/java/com/formkiq/client/model/UpdateTaskResponseTest.java # src/test/java/com/formkiq/client/model/UpdateTaskTest.java # src/test/java/com/formkiq/client/model/UpdateWorkflowRequestTest.java # src/test/java/com/formkiq/client/model/UpdateWorkflowResponseTest.java # src/test/java/com/formkiq/client/model/UserActivityChangesTest.java # src/test/java/com/formkiq/client/model/UserActivityTest.java # src/test/java/com/formkiq/client/model/UserActivityTypeTest.java # src/test/java/com/formkiq/client/model/UserAttributesTest.java # src/test/java/com/formkiq/client/model/UserSharePermissionTest.java # src/test/java/com/formkiq/client/model/UserSharePermissionTypeTest.java # src/test/java/com/formkiq/client/model/UserShareTest.java # src/test/java/com/formkiq/client/model/UserTest.java # src/test/java/com/formkiq/client/model/ValidationErrorTest.java # src/test/java/com/formkiq/client/model/ValidationErrorsResponseTest.java # src/test/java/com/formkiq/client/model/WatermarkPositionTest.java # src/test/java/com/formkiq/client/model/WatermarkPositionXAnchorTest.java # src/test/java/com/formkiq/client/model/WatermarkPositionYAnchorTest.java # src/test/java/com/formkiq/client/model/WatermarkScaleTest.java # src/test/java/com/formkiq/client/model/WatermarkTest.java # src/test/java/com/formkiq/client/model/WebhookTagTest.java # src/test/java/com/formkiq/client/model/WorkflowDocumentTest.java # src/test/java/com/formkiq/client/model/WorkflowQueueTest.java # src/test/java/com/formkiq/client/model/WorkflowStatusTest.java # src/test/java/com/formkiq/client/model/WorkflowStepDecisionTest.java # src/test/java/com/formkiq/client/model/WorkflowStepDecisionTypeTest.java # src/test/java/com/formkiq/client/model/WorkflowStepTest.java # src/test/java/com/formkiq/client/model/WorkflowSummaryTest.java --- .gitignore | 1 + .openapi-generator/FILES | 108 +- .openapi-generator/VERSION | 2 +- README.md | 75 +- api/openapi.yaml | 10729 +++++++++------- build.gradle | 2 +- build.sbt | 2 +- docs/Activity.md | 24 + docs/ActivityStatus.md | 15 + docs/AddActionParameters.md | 4 + docs/AddActionResizeOutputType.md | 19 + docs/AddDocumentAttribute.md | 3 + docs/AddDocumentAttributeEntity.md | 17 + docs/AddEntity.md | 14 + docs/AddEntityAttribute.md | 18 + docs/AddEntityRequest.md | 13 + docs/AddEntityResponse.md | 13 + docs/AddEntityType.md | 14 + docs/AddEntityTypeRequest.md | 13 + docs/AddEntityTypeResponse.md | 13 + docs/AddFolderPermission.md | 14 + .../AddOpenSearchSnapshotRepositoryRequest.md | 14 + ...AddOpenSearchSnapshotRepositoryResponse.md | 13 + docs/AttributeDataType.md | 2 + docs/AttributeType.md | 2 + docs/AttributeValueType.md | 2 + docs/AttributesApi.md | 77 +- docs/DocumentActionType.md | 2 + docs/DocumentActionsApi.md | 2 +- docs/DocumentFoldersApi.md | 136 + docs/EntitiesApi.md | 151 + docs/Entity.md | 17 + docs/EntityApi.md | 651 + docs/EntityAttribute.md | 19 + docs/EntityType.md | 16 + docs/EntityTypeNamespace.md | 13 + docs/FolderPermission.md | 14 + docs/FolderPermissionType.md | 15 + docs/GetActivitesResponse.md | 14 + docs/GetEntitiesResponse.md | 14 + docs/GetEntityResponse.md | 13 + docs/GetEntityTypeResponse.md | 13 + docs/GetEntityTypesResponse.md | 14 + docs/GetFolderPermissionsResponse.md | 13 + docs/GetOpenSearchSnapshot.md | 13 + docs/GetOpenSearchSnapshotRepository.md | 13 + ...GetOpenSearchSnapshotRepositoryResponse.md | 13 + docs/GetOpenSearchSnapshotResponse.md | 13 + docs/GetUserActivitesResponse.md | 2 +- docs/OpenSearchS3Repository.md | 14 + docs/OpenSearchSnapshot.md | 24 + docs/OpenSearchSnapshotFailure.md | 19 + docs/OpenSearchSnapshotShard.md | 15 + docs/SetFolderPermissionsRequest.md | 14 + docs/SystemManagementApi.md | 878 +- docs/UpdateAttribute.md | 14 + docs/UpdateAttributeRequest.md | 13 + docs/UpdateEntityRequest.md | 13 + docs/UserActivitiesApi.md | 80 + docs/UserActivityChanges.md | 4 +- .../formkiq/client/api/AccessControlApi.java | 2 +- .../client/api/AdvancedDocumentSearchApi.java | 2 +- .../com/formkiq/client/api/AntivirusApi.java | 2 +- .../com/formkiq/client/api/AttributesApi.java | 253 +- .../formkiq/client/api/CaseManagementApi.java | 2 +- .../formkiq/client/api/CustomIndexApi.java | 2 +- .../client/api/DocumentActionsApi.java | 17 +- .../client/api/DocumentAttributesApi.java | 2 +- .../client/api/DocumentFoldersApi.java | 397 +- .../client/api/DocumentGenerationApi.java | 2 +- .../formkiq/client/api/DocumentOcrApi.java | 2 +- .../formkiq/client/api/DocumentSearchApi.java | 2 +- .../formkiq/client/api/DocumentSharesApi.java | 2 +- .../formkiq/client/api/DocumentTagsApi.java | 2 +- .../client/api/DocumentVersionsApi.java | 2 +- .../client/api/DocumentWorkflowsApi.java | 2 +- .../com/formkiq/client/api/DocumentsApi.java | 2 +- .../com/formkiq/client/api/ESignatureApi.java | 2 +- .../com/formkiq/client/api/EntityApi.java | 2073 +++ .../formkiq/client/api/ExamineObjectsApi.java | 2 +- .../client/api/GoogleIntegrationApi.java | 2 +- .../com/formkiq/client/api/MappingsApi.java | 2 +- .../com/formkiq/client/api/PublicApi.java | 2 +- .../com/formkiq/client/api/ReindexApi.java | 2 +- .../com/formkiq/client/api/RulesetsApi.java | 2 +- .../com/formkiq/client/api/SchemasApi.java | 2 +- .../client/api/SystemManagementApi.java | 2818 +++- .../com/formkiq/client/api/TagIndexApi.java | 2 +- .../formkiq/client/api/UserActivitiesApi.java | 259 +- .../formkiq/client/api/UserManagementApi.java | 2 +- .../com/formkiq/client/api/WebhooksApi.java | 2 +- .../formkiq/client/invoker/ApiCallback.java | 2 +- .../com/formkiq/client/invoker/ApiClient.java | 57 +- .../formkiq/client/invoker/ApiException.java | 6 +- .../formkiq/client/invoker/ApiResponse.java | 2 +- .../formkiq/client/invoker/Configuration.java | 8 +- .../invoker/GzipRequestInterceptor.java | 2 +- .../java/com/formkiq/client/invoker/JSON.java | 66 +- .../java/com/formkiq/client/invoker/Pair.java | 6 +- .../client/invoker/ProgressRequestBody.java | 2 +- .../client/invoker/ProgressResponseBody.java | 2 +- .../client/invoker/ServerConfiguration.java | 6 +- .../client/invoker/ServerVariable.java | 6 +- .../formkiq/client/invoker/StringUtil.java | 6 +- .../formkiq/client/invoker/auth/AWS4Auth.java | 6 +- .../client/invoker/auth/ApiKeyAuth.java | 6 +- .../client/invoker/auth/Authentication.java | 6 +- .../client/invoker/auth/HttpBasicAuth.java | 2 +- .../client/invoker/auth/HttpBearerAuth.java | 6 +- .../formkiq/client/invoker/auth/OAuth.java | 6 +- .../client/invoker/auth/OAuthFlow.java | 6 +- .../invoker/auth/OAuthOkHttpClient.java | 2 +- .../client/invoker/auth/RetryingOAuth.java | 2 +- .../client/model/AbstractOpenApiSchema.java | 6 +- .../com/formkiq/client/model/Activity.java | 597 + .../formkiq/client/model/ActivityStatus.java | 88 + .../com/formkiq/client/model/AddAction.java | 14 +- .../client/model/AddActionParameters.java | 167 +- .../client/model/AddApiKeyRequest.java | 12 +- .../client/model/AddApiKeyResponse.java | 11 +- .../formkiq/client/model/AddAttribute.java | 15 +- .../client/model/AddAttributeRequest.java | 12 +- .../model/AddAttributeSchemaOptional.java | 15 +- .../model/AddAttributeSchemaRequired.java | 17 +- .../com/formkiq/client/model/AddCase.java | 24 +- .../formkiq/client/model/AddCaseRequest.java | 12 +- .../formkiq/client/model/AddCaseResponse.java | 11 +- .../client/model/AddChildDocument.java | 23 +- .../model/AddChildDocumentResponse.java | 13 +- .../client/model/AddClassification.java | 12 +- .../model/AddClassificationRequest.java | 11 +- .../model/AddClassificationResponse.java | 11 +- .../model/AddDocumentActionsRequest.java | 11 +- .../model/AddDocumentActionsResponse.java | 11 +- .../AddDocumentActionsRetryResponse.java | 11 +- .../client/model/AddDocumentAttribute.java | 70 +- .../AddDocumentAttributeClassification.java | 12 +- .../model/AddDocumentAttributeEntity.java | 327 + .../AddDocumentAttributeRelationship.java | 16 +- .../model/AddDocumentAttributeStandard.java | 18 +- .../model/AddDocumentAttributeValue.java | 16 +- .../model/AddDocumentAttributesRequest.java | 11 +- .../model/AddDocumentFulltextRequest.java | 24 +- .../model/AddDocumentFulltextResponse.java | 11 +- .../model/AddDocumentGenerateRequest.java | 17 +- .../model/AddDocumentGenerateResponse.java | 11 +- .../client/model/AddDocumentMetadata.java | 14 +- .../client/model/AddDocumentOcrRequest.java | 16 +- .../client/model/AddDocumentOcrResponse.java | 11 +- .../client/model/AddDocumentRequest.java | 28 +- .../client/model/AddDocumentResponse.java | 16 +- .../formkiq/client/model/AddDocumentSync.java | 12 +- .../client/model/AddDocumentSyncRequest.java | 11 +- .../client/model/AddDocumentSyncService.java | 2 +- .../formkiq/client/model/AddDocumentTag.java | 14 +- .../client/model/AddDocumentTagsRequest.java | 11 +- .../model/AddDocumentUploadRequest.java | 22 +- .../AddDocumentWorkflowDecisionsRequest.java | 14 +- .../AddDocumentWorkflowDecisionsResponse.java | 11 +- .../model/AddDocumentWorkflowRequest.java | 12 +- .../model/AddDocumentWorkflowResponse.java | 11 +- .../model/AddDocusignEnvelopesRequest.java | 17 +- .../model/AddDocusignEnvelopesResponse.java | 11 +- .../AddDocusignRecipientViewRequest.java | 14 +- .../AddDocusignRecipientViewResponse.java | 11 +- .../com/formkiq/client/model/AddEntity.java | 275 + .../client/model/AddEntityAttribute.java | 396 + .../client/model/AddEntityRequest.java | 220 + .../client/model/AddEntityResponse.java | 221 + .../formkiq/client/model/AddEntityType.java | 253 + ...esponse.java => AddEntityTypeRequest.java} | 96 +- .../client/model/AddEntityTypeResponse.java | 221 + .../client/model/AddFolderPermission.java | 267 + .../client/model/AddFolderRequest.java | 11 +- .../client/model/AddFolderResponse.java | 12 +- .../client/model/AddFolderShareRequest.java | 11 +- .../client/model/AddFolderShareResponse.java | 12 +- .../model/AddGoogleDocumentExportRequest.java | 12 +- .../AddGoogleDocumentExportResponse.java | 11 +- .../com/formkiq/client/model/AddGroup.java | 12 +- .../formkiq/client/model/AddGroupRequest.java | 12 +- .../client/model/AddLocaleRequest.java | 11 +- .../AddLocaleResourceClassificationItem.java | 22 +- .../model/AddLocaleResourceInterfaceItem.java | 18 +- .../model/AddLocaleResourceItemRequest.java | 11 +- .../model/AddLocaleResourceItemResponse.java | 11 +- .../model/AddLocaleResourceSchemaItem.java | 20 +- .../com/formkiq/client/model/AddMapping.java | 13 +- .../client/model/AddMappingRequest.java | 11 +- .../client/model/AddMappingResponse.java | 11 +- .../com/formkiq/client/model/AddNigo.java | 21 +- .../formkiq/client/model/AddNigoRequest.java | 12 +- .../formkiq/client/model/AddNigoResponse.java | 11 +- ...dOpenSearchSnapshotRepositoryResponse.java | 324 + .../formkiq/client/model/AddQueueRequest.java | 12 +- .../client/model/AddQueueResponse.java | 11 +- .../model/AddReindexDocumentRequest.java | 11 +- .../formkiq/client/model/AddResourceItem.java | 6 +- .../com/formkiq/client/model/AddResponse.java | 11 +- .../com/formkiq/client/model/AddRule.java | 16 +- .../formkiq/client/model/AddRuleRequest.java | 11 +- .../formkiq/client/model/AddRuleResponse.java | 11 +- .../com/formkiq/client/model/AddRuleset.java | 15 +- .../client/model/AddRulesetRequest.java | 12 +- .../client/model/AddRulesetResponse.java | 11 +- .../com/formkiq/client/model/AddShare.java | 12 +- .../com/formkiq/client/model/AddSite.java | 13 +- .../formkiq/client/model/AddSiteRequest.java | 11 +- .../com/formkiq/client/model/AddTask.java | 21 +- .../formkiq/client/model/AddTaskRequest.java | 12 +- .../formkiq/client/model/AddTaskResponse.java | 11 +- .../com/formkiq/client/model/AddUser.java | 12 +- .../formkiq/client/model/AddUserRequest.java | 12 +- .../client/model/AddWebhookRequest.java | 15 +- .../client/model/AddWebhookResponse.java | 12 +- .../client/model/AddWebhookTagRequest.java | 13 +- .../client/model/AddWorkflowRequest.java | 17 +- .../client/model/AddWorkflowResponse.java | 11 +- .../formkiq/client/model/AddWorkflowStep.java | 14 +- .../client/model/AddWorkflowStepDecision.java | 14 +- .../client/model/AddWorkflowStepQueue.java | 13 +- .../java/com/formkiq/client/model/ApiKey.java | 17 +- .../com/formkiq/client/model/Attribute.java | 14 +- .../client/model/AttributeDataType.java | 6 +- .../model/AttributeSchemaCompositeKey.java | 11 +- .../client/model/AttributeSchemaOptional.java | 16 +- .../client/model/AttributeSchemaRequired.java | 19 +- .../formkiq/client/model/AttributeType.java | 6 +- .../client/model/AttributeValueType.java | 6 +- .../com/formkiq/client/model/CaseStatus.java | 2 +- .../formkiq/client/model/ChecksumType.java | 2 +- .../formkiq/client/model/ChildDocument.java | 26 +- .../formkiq/client/model/Classification.java | 15 +- .../client/model/ClassificationSummary.java | 15 +- .../client/model/DeleteApiKeyResponse.java | 11 +- .../model/DeleteCaseDocumentResponse.java | 11 +- .../model/DeleteCaseNigoDocumentResponse.java | 11 +- .../client/model/DeleteCaseNigoResponse.java | 11 +- .../client/model/DeleteCaseResponse.java | 11 +- .../model/DeleteCaseTaskDocumentResponse.java | 11 +- .../client/model/DeleteCaseTaskResponse.java | 11 +- .../client/model/DeleteFolderResponse.java | 11 +- .../client/model/DeleteFulltextResponse.java | 11 +- .../client/model/DeleteIndicesResponse.java | 11 +- .../client/model/DeleteQueueResponse.java | 11 +- .../formkiq/client/model/DeleteResponse.java | 11 +- .../client/model/DeleteRuleResponse.java | 11 +- .../client/model/DeleteRulesetResponse.java | 11 +- .../client/model/DeleteShareResponse.java | 11 +- .../client/model/DeleteWorkflowResponse.java | 11 +- .../com/formkiq/client/model/Document.java | 31 +- .../formkiq/client/model/DocumentAction.java | 24 +- .../client/model/DocumentActionStatus.java | 2 +- .../client/model/DocumentActionType.java | 6 +- .../client/model/DocumentAttribute.java | 20 +- .../model/DocumentFulltextAttribute.java | 14 +- .../model/DocumentFulltextAttributeEq.java | 14 +- .../client/model/DocumentFulltextRequest.java | 13 +- .../model/DocumentFulltextResponse.java | 11 +- .../client/model/DocumentFulltextSearch.java | 14 +- .../client/model/DocumentFulltextTag.java | 14 +- .../model/DocumentGenerateDataSource.java | 14 +- .../model/DocumentGenerateInsertDocument.java | 14 +- ...ocumentGenerateInsertDocumentPosition.java | 2 +- .../model/DocumentGenerateOutputType.java | 2 +- .../com/formkiq/client/model/DocumentId.java | 13 +- .../client/model/DocumentMetadata.java | 13 +- .../model/DocumentRelationshipType.java | 2 +- .../formkiq/client/model/DocumentSearch.java | 18 +- .../client/model/DocumentSearchAttribute.java | 16 +- .../model/DocumentSearchMatchAttribute.java | 15 +- .../client/model/DocumentSearchMatchTag.java | 13 +- .../client/model/DocumentSearchMeta.java | 16 +- .../client/model/DocumentSearchRange.java | 15 +- .../client/model/DocumentSearchRequest.java | 13 +- .../client/model/DocumentSearchResponse.java | 13 +- .../client/model/DocumentSearchTag.java | 16 +- .../client/model/DocumentSearchTags.java | 15 +- .../formkiq/client/model/DocumentSync.java | 18 +- .../client/model/DocumentSyncService.java | 2 +- .../client/model/DocumentSyncStatus.java | 2 +- .../client/model/DocumentSyncType.java | 2 +- .../com/formkiq/client/model/DocumentTag.java | 18 +- .../formkiq/client/model/DocumentVersion.java | 19 +- .../client/model/DocumentWorkflow.java | 17 +- .../client/model/DocumentWorkflowStatus.java | 2 +- .../model/DocumentsCompressRequest.java | 12 +- .../model/DocumentsCompressResponse.java | 11 +- .../formkiq/client/model/DocusignConfig.java | 15 +- .../client/model/DocusignEnvironment.java | 2 +- .../client/model/DocusignInpersonSigner.java | 23 +- .../client/model/DocusignNotification.java | 14 +- .../DocusignNotificationExpirations.java | 14 +- .../model/DocusignNotificationReminders.java | 14 +- .../client/model/DocusignRecipientView.java | 18 +- .../client/model/DocusignSignHereTabs.java | 20 +- .../formkiq/client/model/DocusignSigner.java | 19 +- .../client/model/DocusignSigningTabs.java | 11 +- .../java/com/formkiq/client/model/Entity.java | 374 + .../formkiq/client/model/EntityAttribute.java | 429 + .../com/formkiq/client/model/EntityType.java | 320 + .../client/model/EntityTypeNamespace.java | 86 + .../java/com/formkiq/client/model/Error.java | 12 +- .../formkiq/client/model/ErrorsResponse.java | 11 +- .../client/model/FolderPermission.java | 267 + .../client/model/FolderPermissionType.java | 88 + .../client/model/FulltextAttribute.java | 15 +- .../client/model/FulltextSearchItem.java | 28 +- .../client/model/GetActivitesResponse.java | 275 + .../client/model/GetApiKeysResponse.java | 12 +- .../GetAttributeAllowedValuesResponse.java | 12 +- .../client/model/GetAttributeResponse.java | 11 +- .../client/model/GetAttributesResponse.java | 12 +- .../model/GetCaseDocumentsResponse.java | 12 +- .../client/model/GetCaseNigoResponse.java | 11 +- .../client/model/GetCaseNigosResponse.java | 12 +- .../formkiq/client/model/GetCaseResponse.java | 11 +- .../client/model/GetCaseTaskResponse.java | 11 +- .../client/model/GetCaseTasksResponse.java | 12 +- .../client/model/GetCasesResponse.java | 12 +- .../model/GetClassificationResponse.java | 11 +- .../model/GetClassificationsResponse.java | 12 +- .../model/GetConfigurationResponse.java | 19 +- .../model/GetDocumentActionsResponse.java | 12 +- .../model/GetDocumentAttributeResponse.java | 11 +- .../GetDocumentAttributeVersionsResponse.java | 12 +- .../model/GetDocumentAttributesResponse.java | 12 +- .../model/GetDocumentContentResponse.java | 15 +- .../model/GetDocumentFulltextResponse.java | 30 +- .../client/model/GetDocumentOcrResponse.java | 23 +- .../client/model/GetDocumentResponse.java | 31 +- .../client/model/GetDocumentSyncResponse.java | 12 +- .../client/model/GetDocumentTagResponse.java | 18 +- .../client/model/GetDocumentTagsResponse.java | 13 +- .../client/model/GetDocumentUrlResponse.java | 13 +- .../model/GetDocumentVersionsResponse.java | 12 +- .../model/GetDocumentWorkflowResponse.java | 11 +- .../model/GetDocumentWorkflowsResponse.java | 12 +- .../client/model/GetDocumentsResponse.java | 13 +- .../client/model/GetEntitiesResponse.java | 275 + .../client/model/GetEntityResponse.java | 336 + .../client/model/GetEntityTypeResponse.java | 220 + .../client/model/GetEntityTypesResponse.java | 393 + .../client/model/GetExaminePdfResponse.java | 11 +- .../model/GetExaminePdfUrlResponse.java | 12 +- .../model/GetFolderPermissionsResponse.java | 244 + .../client/model/GetFoldersResponse.java | 13 +- .../client/model/GetGroupResponse.java | 11 +- .../client/model/GetGroupsResponse.java | 12 +- .../model/GetLocaleResourceItemResponse.java | 11 +- .../model/GetLocaleResourceItemsResponse.java | 12 +- .../client/model/GetLocalesResponse.java | 12 +- .../client/model/GetMappingResponse.java | 11 +- .../client/model/GetMappingsResponse.java | 12 +- .../model/GetOpaAccessPoliciesResponse.java | 12 +- .../GetOpaAccessPolicyItemsResponse.java | 11 +- .../model/GetOpaAccessPolicyResponse.java | 11 +- .../model/GetOpenSearchIndexResponse.java | 11 +- ...tOpenSearchSnapshotRepositoryResponse.java | 256 + .../model/GetOpenSearchSnapshotResponse.java | 245 + .../client/model/GetQueueResponse.java | 11 +- .../client/model/GetQueuesResponse.java | 12 +- .../formkiq/client/model/GetRuleResponse.java | 11 +- .../client/model/GetRulesResponse.java | 12 +- .../client/model/GetRulesetResponse.java | 11 +- .../client/model/GetRulesetsResponse.java | 12 +- .../client/model/GetSiteGroupResponse.java | 11 +- .../client/model/GetSiteGroupsResponse.java | 11 +- .../client/model/GetSitesResponse.java | 12 +- .../client/model/GetSitesSchemaResponse.java | 12 +- .../model/GetUserActivitesResponse.java | 14 +- .../client/model/GetUserGroupsResponse.java | 12 +- .../formkiq/client/model/GetUserResponse.java | 11 +- .../client/model/GetUserSharesResponse.java | 12 +- .../client/model/GetUsersInGroupResponse.java | 12 +- .../client/model/GetUsersResponse.java | 12 +- .../client/model/GetVersionResponse.java | 15 +- .../client/model/GetWebhookResponse.java | 19 +- .../client/model/GetWebhookTagsResponse.java | 13 +- .../client/model/GetWebhooksResponse.java | 12 +- .../model/GetWorkflowDocumentsResponse.java | 12 +- .../GetWorkflowQueueDocumentsResponse.java | 12 +- .../client/model/GetWorkflowResponse.java | 16 +- .../client/model/GetWorkflowsResponse.java | 12 +- .../formkiq/client/model/GoogleConfig.java | 13 +- .../client/model/GoogleExportOutputType.java | 2 +- .../java/com/formkiq/client/model/Group.java | 15 +- .../client/model/IndexFolderMoveRequest.java | 12 +- .../client/model/IndexFolderMoveResponse.java | 11 +- .../com/formkiq/client/model/IndexSearch.java | 11 +- .../client/model/IndexSearchRequest.java | 11 +- .../client/model/IndexSearchResponse.java | 13 +- .../java/com/formkiq/client/model/Locale.java | 11 +- .../client/model/LocaleResourceType.java | 2 +- .../com/formkiq/client/model/Mapping.java | 15 +- .../client/model/MappingAttribute.java | 19 +- .../MappingAttributeLabelMatchingType.java | 2 +- .../model/MappingAttributeMetadataField.java | 2 +- .../model/MappingAttributeSourceType.java | 2 +- .../client/model/MatchDocumentTag.java | 14 +- .../com/formkiq/client/model/ModelCase.java | 25 +- .../java/com/formkiq/client/model/Nigo.java | 23 +- .../com/formkiq/client/model/NigoStatus.java | 2 +- .../com/formkiq/client/model/OcrConfig.java | 12 +- .../com/formkiq/client/model/OcrEngine.java | 2 +- .../formkiq/client/model/OcrKeyValues.java | 12 +- .../formkiq/client/model/OcrOutputType.java | 2 +- .../com/formkiq/client/model/OcrTable.java | 12 +- .../formkiq/client/model/OcrTableData.java | 11 +- .../com/formkiq/client/model/OpaPolicy.java | 12 +- .../client/model/OpaPolicyAttribute.java | 18 +- .../client/model/OpaPolicyAttributeEq.java | 15 +- .../client/model/OpaPolicyAttributeGt.java | 11 +- .../client/model/OpaPolicyAttributeGte.java | 11 +- .../client/model/OpaPolicyAttributeInput.java | 11 +- .../client/model/OpaPolicyAttributeLt.java | 11 +- .../client/model/OpaPolicyAttributeLte.java | 11 +- .../client/model/OpaPolicyAttributeNeq.java | 11 +- .../formkiq/client/model/OpaPolicyItem.java | 16 +- .../client/model/OpaPolicyItemType.java | 2 +- .../formkiq/client/model/OpenSearchIndex.java | 12 +- .../client/model/OpenSearchS3Repository.java | 261 + .../client/model/OpenSearchSnapshot.java | 602 + .../model/OpenSearchSnapshotFailure.java | 381 + .../client/model/OpenSearchSnapshotShard.java | 270 + .../com/formkiq/client/model/PdfDocument.java | 11 +- .../client/model/PdfDocumentField.java | 12 +- .../client/model/QueryFulltextResponse.java | 11 +- .../java/com/formkiq/client/model/Queue.java | 12 +- .../formkiq/client/model/ReindexTarget.java | 2 +- .../formkiq/client/model/ResourceItem.java | 18 +- .../java/com/formkiq/client/model/Rule.java | 17 +- .../formkiq/client/model/RuleCondition.java | 11 +- .../client/model/RuleConditionAttribute.java | 2 +- .../client/model/RuleConditionCriterion.java | 2 +- .../client/model/RuleConditionMust.java | 17 +- .../client/model/RuleConditionOperation.java | 2 +- .../com/formkiq/client/model/Ruleset.java | 17 +- .../formkiq/client/model/RulesetStatus.java | 2 +- .../client/model/SchemaAttributes.java | 15 +- .../client/model/SearchRangeDataType.java | 2 +- .../client/model/SearchResponseFields.java | 12 +- .../client/model/SearchResultDocument.java | 37 +- .../model/SearchResultDocumentAttribute.java | 15 +- .../client/model/SetAntivirusResponse.java | 11 +- .../model/SetClassificationRequest.java | 11 +- .../model/SetDocumentAttributeRequest.java | 11 +- .../model/SetDocumentAttributesRequest.java | 11 +- .../model/SetDocumentFulltextRequest.java | 24 +- .../model/SetDocumentFulltextResponse.java | 11 +- .../client/model/SetDocumentOcrRequest.java | 14 +- .../model/SetDocumentRestoreResponse.java | 11 +- .../model/SetDocumentTagKeyRequest.java | 12 +- .../model/SetDocumentVersionRequest.java | 11 +- .../model/SetDocumentVersionResponse.java | 11 +- .../model/SetFolderPermissionsRequest.java | 276 + .../model/SetGroupPermissionsRequest.java | 11 +- .../model/SetLocaleResourceItemRequest.java | 11 +- .../client/model/SetMappingRequest.java | 11 +- .../model/SetOpaAccessPolicyItemsRequest.java | 11 +- .../model/SetOpenSearchIndexRequest.java | 11 +- .../model/SetOpenSearchIndexResponse.java | 11 +- .../com/formkiq/client/model/SetResponse.java | 11 +- .../client/model/SetSchemaAttributes.java | 15 +- .../client/model/SetSitesSchemaRequest.java | 12 +- .../client/model/SetWorkflowRequest.java | 17 +- .../client/model/SetWorkflowResponse.java | 11 +- .../java/com/formkiq/client/model/Site.java | 19 +- .../com/formkiq/client/model/SiteConfig.java | 15 +- .../com/formkiq/client/model/SiteGroup.java | 11 +- .../client/model/SiteGroupPermissions.java | 2 +- .../com/formkiq/client/model/SiteStatus.java | 2 +- .../com/formkiq/client/model/SiteUsage.java | 12 +- .../formkiq/client/model/StringFormat.java | 13 +- .../client/model/StringGeneratorType.java | 2 +- .../java/com/formkiq/client/model/Task.java | 23 +- .../com/formkiq/client/model/TaskStatus.java | 2 +- .../formkiq/client/model/UpdateAttribute.java | 252 + .../client/model/UpdateAttributeRequest.java | 227 + .../com/formkiq/client/model/UpdateCase.java | 20 +- .../client/model/UpdateCaseRequest.java | 11 +- .../client/model/UpdateCaseResponse.java | 11 +- .../model/UpdateConfigurationRequest.java | 19 +- .../model/UpdateConfigurationResponse.java | 11 +- .../model/UpdateDocumentFulltextRequest.java | 24 +- .../model/UpdateDocumentFulltextResponse.java | 11 +- .../client/model/UpdateDocumentRequest.java | 26 +- .../client/model/UpdateEntityRequest.java | 220 + .../UpdateMatchingDocumentTagsRequest.java | 14 +- ...pdateMatchingDocumentTagsRequestMatch.java | 11 +- ...dateMatchingDocumentTagsRequestUpdate.java | 11 +- .../UpdateMatchingDocumentTagsResponse.java | 11 +- .../com/formkiq/client/model/UpdateNigo.java | 20 +- .../client/model/UpdateNigoRequest.java | 11 +- .../client/model/UpdateNigoResponse.java | 11 +- .../formkiq/client/model/UpdateResponse.java | 11 +- .../com/formkiq/client/model/UpdateRule.java | 16 +- .../client/model/UpdateRuleRequest.java | 11 +- .../client/model/UpdateRuleResponse.java | 11 +- .../formkiq/client/model/UpdateRuleset.java | 15 +- .../client/model/UpdateRulesetRequest.java | 12 +- .../client/model/UpdateRulesetResponse.java | 11 +- .../com/formkiq/client/model/UpdateSite.java | 12 +- .../client/model/UpdateSiteRequest.java | 11 +- .../com/formkiq/client/model/UpdateTask.java | 20 +- .../client/model/UpdateTaskRequest.java | 11 +- .../client/model/UpdateTaskResponse.java | 11 +- .../client/model/UpdateWorkflowRequest.java | 13 +- .../client/model/UpdateWorkflowResponse.java | 11 +- .../java/com/formkiq/client/model/User.java | 18 +- .../formkiq/client/model/UserActivity.java | 16 +- .../client/model/UserActivityChanges.java | 40 +- .../client/model/UserActivityType.java | 2 +- .../formkiq/client/model/UserAttributes.java | 28 +- .../com/formkiq/client/model/UserShare.java | 19 +- .../client/model/UserSharePermission.java | 2 +- .../client/model/UserSharePermissionType.java | 2 +- .../formkiq/client/model/ValidationError.java | 12 +- .../model/ValidationErrorsResponse.java | 11 +- .../com/formkiq/client/model/Watermark.java | 16 +- .../client/model/WatermarkPosition.java | 14 +- .../model/WatermarkPositionXAnchor.java | 2 +- .../model/WatermarkPositionYAnchor.java | 2 +- .../formkiq/client/model/WatermarkScale.java | 2 +- .../com/formkiq/client/model/WebhookTag.java | 19 +- .../client/model/WorkflowDocument.java | 12 +- .../formkiq/client/model/WorkflowQueue.java | 12 +- .../formkiq/client/model/WorkflowStatus.java | 2 +- .../formkiq/client/model/WorkflowStep.java | 14 +- .../client/model/WorkflowStepDecision.java | 12 +- .../model/WorkflowStepDecisionType.java | 2 +- .../formkiq/client/model/WorkflowSummary.java | 18 +- .../client/api/AccessControlApiTest.java | 2 +- .../api/AdvancedDocumentSearchApiTest.java | 2 +- .../formkiq/client/api/AntivirusApiTest.java | 2 +- .../formkiq/client/api/AttributesApiTest.java | 24 +- .../client/api/CaseManagementApiTest.java | 2 +- .../client/api/CustomIndexApiTest.java | 2 +- .../client/api/DocumentActionsApiTest.java | 7 +- .../client/api/DocumentAttributesApiTest.java | 2 +- .../client/api/DocumentFoldersApiTest.java | 35 +- .../client/api/DocumentGenerationApiTest.java | 2 +- .../client/api/DocumentOcrApiTest.java | 2 +- .../client/api/DocumentSearchApiTest.java | 2 +- .../client/api/DocumentSharesApiTest.java | 2 +- .../client/api/DocumentTagsApiTest.java | 2 +- .../client/api/DocumentVersionsApiTest.java | 2 +- .../client/api/DocumentWorkflowsApiTest.java | 2 +- .../formkiq/client/api/DocumentsApiTest.java | 2 +- .../formkiq/client/api/ESignatureApiTest.java | 2 +- .../com/formkiq/client/api/EntityApiTest.java | 202 + .../client/api/ExamineObjectsApiTest.java | 2 +- .../client/api/GoogleIntegrationApiTest.java | 2 +- .../formkiq/client/api/MappingsApiTest.java | 2 +- .../com/formkiq/client/api/PublicApiTest.java | 2 +- .../formkiq/client/api/ReindexApiTest.java | 2 +- .../formkiq/client/api/RulesetsApiTest.java | 2 +- .../formkiq/client/api/SchemasApiTest.java | 2 +- .../client/api/SystemManagementApiTest.java | 159 +- .../formkiq/client/api/TagIndexApiTest.java | 2 +- .../client/api/UserActivitiesApiTest.java | 25 +- .../client/api/UserManagementApiTest.java | 2 +- .../formkiq/client/api/WebhooksApiTest.java | 2 +- .../client/model/ActivityStatusTest.java | 39 + .../formkiq/client/model/ActivityTest.java | 148 + .../client/model/AddActionParametersTest.java | 34 +- .../formkiq/client/model/AddActionTest.java | 2 +- .../client/model/AddApiKeyRequestTest.java | 2 +- .../client/model/AddApiKeyResponseTest.java | 2 +- .../client/model/AddAttributeRequestTest.java | 2 +- .../model/AddAttributeSchemaOptionalTest.java | 2 +- .../model/AddAttributeSchemaRequiredTest.java | 2 +- .../client/model/AddAttributeTest.java | 2 +- .../client/model/AddCaseRequestTest.java | 2 +- .../client/model/AddCaseResponseTest.java | 2 +- .../com/formkiq/client/model/AddCaseTest.java | 2 +- .../model/AddChildDocumentResponseTest.java | 2 +- .../client/model/AddChildDocumentTest.java | 2 +- .../model/AddClassificationRequestTest.java | 2 +- .../model/AddClassificationResponseTest.java | 2 +- .../client/model/AddClassificationTest.java | 2 +- .../model/AddDocumentActionsRequestTest.java | 2 +- .../model/AddDocumentActionsResponseTest.java | 2 +- .../AddDocumentActionsRetryResponseTest.java | 2 +- ...ddDocumentAttributeClassificationTest.java | 2 +- .../model/AddDocumentAttributeEntityTest.java | 123 + .../AddDocumentAttributeRelationshipTest.java | 2 +- .../AddDocumentAttributeStandardTest.java | 2 +- .../model/AddDocumentAttributeTest.java | 28 +- .../model/AddDocumentAttributeValueTest.java | 2 +- .../AddDocumentAttributesRequestTest.java | 2 +- .../model/AddDocumentFulltextRequestTest.java | 2 +- .../AddDocumentFulltextResponseTest.java | 2 +- .../model/AddDocumentGenerateRequestTest.java | 2 +- .../AddDocumentGenerateResponseTest.java | 2 +- .../client/model/AddDocumentMetadataTest.java | 2 +- .../model/AddDocumentOcrRequestTest.java | 2 +- .../model/AddDocumentOcrResponseTest.java | 2 +- .../client/model/AddDocumentRequestTest.java | 2 +- .../client/model/AddDocumentResponseTest.java | 2 +- .../model/AddDocumentSyncRequestTest.java | 2 +- .../model/AddDocumentSyncServiceTest.java | 2 +- .../client/model/AddDocumentSyncTest.java | 2 +- .../client/model/AddDocumentTagTest.java | 2 +- .../model/AddDocumentTagsRequestTest.java | 2 +- .../model/AddDocumentUploadRequestTest.java | 2 +- ...dDocumentWorkflowDecisionsRequestTest.java | 2 +- ...DocumentWorkflowDecisionsResponseTest.java | 2 +- .../model/AddDocumentWorkflowRequestTest.java | 2 +- .../AddDocumentWorkflowResponseTest.java | 2 +- .../AddDocusignEnvelopesRequestTest.java | 2 +- .../AddDocusignEnvelopesResponseTest.java | 2 +- .../AddDocusignRecipientViewRequestTest.java | 2 +- .../AddDocusignRecipientViewResponseTest.java | 2 +- .../client/model/AddEntityAttributeTest.java | 98 + .../client/model/AddEntityRequestTest.java | 82 + ...seTest.java => AddEntityResponseTest.java} | 20 +- .../formkiq/client/model/AddEntityTest.java | 66 + .../model/AddEntityTypeRequestTest.java | 56 + .../model/AddEntityTypeResponseTest.java | 55 + .../client/model/AddEntityTypeTest.java | 94 + .../client/model/AddFolderPermissionTest.java | 66 + .../client/model/AddFolderRequestTest.java | 2 +- .../client/model/AddFolderResponseTest.java | 2 +- .../model/AddFolderShareRequestTest.java | 2 +- .../model/AddFolderShareResponseTest.java | 2 +- .../AddGoogleDocumentExportRequestTest.java | 2 +- .../AddGoogleDocumentExportResponseTest.java | 2 +- .../client/model/AddGroupRequestTest.java | 2 +- .../formkiq/client/model/AddGroupTest.java | 2 +- .../client/model/AddLocaleRequestTest.java | 2 +- ...dLocaleResourceClassificationItemTest.java | 2 +- .../AddLocaleResourceInterfaceItemTest.java | 2 +- .../AddLocaleResourceItemRequestTest.java | 2 +- .../AddLocaleResourceItemResponseTest.java | 2 +- .../AddLocaleResourceSchemaItemTest.java | 2 +- .../client/model/AddMappingRequestTest.java | 2 +- .../client/model/AddMappingResponseTest.java | 2 +- .../formkiq/client/model/AddMappingTest.java | 2 +- .../client/model/AddNigoRequestTest.java | 2 +- .../client/model/AddNigoResponseTest.java | 2 +- .../com/formkiq/client/model/AddNigoTest.java | 2 +- ...nSearchSnapshotRepositoryResponseTest.java | 74 + .../client/model/AddQueueRequestTest.java | 2 +- .../client/model/AddQueueResponseTest.java | 2 +- .../model/AddReindexDocumentRequestTest.java | 2 +- .../client/model/AddResourceItemTest.java | 2 +- .../formkiq/client/model/AddResponseTest.java | 2 +- .../client/model/AddRuleRequestTest.java | 2 +- .../client/model/AddRuleResponseTest.java | 2 +- .../com/formkiq/client/model/AddRuleTest.java | 2 +- .../client/model/AddRulesetRequestTest.java | 2 +- .../client/model/AddRulesetResponseTest.java | 2 +- .../formkiq/client/model/AddRulesetTest.java | 2 +- .../formkiq/client/model/AddShareTest.java | 2 +- .../client/model/AddSiteRequestTest.java | 2 +- .../com/formkiq/client/model/AddSiteTest.java | 2 +- .../client/model/AddTaskRequestTest.java | 2 +- .../client/model/AddTaskResponseTest.java | 2 +- .../com/formkiq/client/model/AddTaskTest.java | 2 +- .../client/model/AddUserRequestTest.java | 2 +- .../com/formkiq/client/model/AddUserTest.java | 2 +- .../client/model/AddWebhookRequestTest.java | 2 +- .../client/model/AddWebhookResponseTest.java | 2 +- .../model/AddWebhookTagRequestTest.java | 2 +- .../client/model/AddWorkflowRequestTest.java | 2 +- .../client/model/AddWorkflowResponseTest.java | 2 +- .../model/AddWorkflowStepDecisionTest.java | 2 +- .../model/AddWorkflowStepQueueTest.java | 2 +- .../client/model/AddWorkflowStepTest.java | 2 +- .../com/formkiq/client/model/ApiKeyTest.java | 2 +- .../client/model/AttributeDataTypeTest.java | 2 +- .../AttributeSchemaCompositeKeyTest.java | 2 +- .../model/AttributeSchemaOptionalTest.java | 2 +- .../model/AttributeSchemaRequiredTest.java | 2 +- .../formkiq/client/model/AttributeTest.java | 2 +- .../client/model/AttributeTypeTest.java | 2 +- .../client/model/AttributeValueTypeTest.java | 2 +- .../formkiq/client/model/CaseStatusTest.java | 2 +- .../client/model/ChecksumTypeTest.java | 2 +- .../client/model/ChildDocumentTest.java | 2 +- .../model/ClassificationSummaryTest.java | 2 +- .../client/model/ClassificationTest.java | 2 +- .../model/DeleteApiKeyResponseTest.java | 2 +- .../model/DeleteCaseDocumentResponseTest.java | 2 +- .../DeleteCaseNigoDocumentResponseTest.java | 2 +- .../model/DeleteCaseNigoResponseTest.java | 2 +- .../client/model/DeleteCaseResponseTest.java | 2 +- .../DeleteCaseTaskDocumentResponseTest.java | 2 +- .../model/DeleteCaseTaskResponseTest.java | 2 +- .../model/DeleteFolderResponseTest.java | 2 +- .../model/DeleteFulltextResponseTest.java | 2 +- .../model/DeleteIndicesResponseTest.java | 2 +- .../client/model/DeleteQueueResponseTest.java | 2 +- .../client/model/DeleteResponseTest.java | 2 +- .../client/model/DeleteRuleResponseTest.java | 2 +- .../model/DeleteRulesetResponseTest.java | 2 +- .../client/model/DeleteShareResponseTest.java | 2 +- .../model/DeleteWorkflowResponseTest.java | 2 +- .../model/DocumentActionStatusTest.java | 2 +- .../client/model/DocumentActionTest.java | 2 +- .../client/model/DocumentActionTypeTest.java | 2 +- .../client/model/DocumentAttributeTest.java | 2 +- .../DocumentFulltextAttributeEqTest.java | 2 +- .../model/DocumentFulltextAttributeTest.java | 2 +- .../model/DocumentFulltextRequestTest.java | 2 +- .../model/DocumentFulltextResponseTest.java | 2 +- .../model/DocumentFulltextSearchTest.java | 2 +- .../client/model/DocumentFulltextTagTest.java | 2 +- .../model/DocumentGenerateDataSourceTest.java | 2 +- ...entGenerateInsertDocumentPositionTest.java | 2 +- .../DocumentGenerateInsertDocumentTest.java | 2 +- .../model/DocumentGenerateOutputTypeTest.java | 2 +- .../formkiq/client/model/DocumentIdTest.java | 2 +- .../client/model/DocumentMetadataTest.java | 2 +- .../model/DocumentRelationshipTypeTest.java | 2 +- .../model/DocumentSearchAttributeTest.java | 2 +- .../DocumentSearchMatchAttributeTest.java | 2 +- .../model/DocumentSearchMatchTagTest.java | 2 +- .../client/model/DocumentSearchMetaTest.java | 2 +- .../client/model/DocumentSearchRangeTest.java | 2 +- .../model/DocumentSearchRequestTest.java | 2 +- .../model/DocumentSearchResponseTest.java | 2 +- .../client/model/DocumentSearchTagTest.java | 2 +- .../client/model/DocumentSearchTagsTest.java | 2 +- .../client/model/DocumentSearchTest.java | 2 +- .../client/model/DocumentSyncServiceTest.java | 2 +- .../client/model/DocumentSyncStatusTest.java | 2 +- .../client/model/DocumentSyncTest.java | 2 +- .../client/model/DocumentSyncTypeTest.java | 2 +- .../formkiq/client/model/DocumentTagTest.java | 2 +- .../formkiq/client/model/DocumentTest.java | 2 +- .../client/model/DocumentVersionTest.java | 2 +- .../model/DocumentWorkflowStatusTest.java | 2 +- .../client/model/DocumentWorkflowTest.java | 2 +- .../model/DocumentsCompressRequestTest.java | 2 +- .../model/DocumentsCompressResponseTest.java | 2 +- .../client/model/DocusignConfigTest.java | 2 +- .../client/model/DocusignEnvironmentTest.java | 2 +- .../model/DocusignInpersonSignerTest.java | 2 +- .../DocusignNotificationExpirationsTest.java | 2 +- .../DocusignNotificationRemindersTest.java | 2 +- .../model/DocusignNotificationTest.java | 2 +- .../model/DocusignRecipientViewTest.java | 2 +- .../model/DocusignSignHereTabsTest.java | 2 +- .../client/model/DocusignSignerTest.java | 2 +- .../client/model/DocusignSigningTabsTest.java | 2 +- .../client/model/EntityAttributeTest.java | 107 + .../com/formkiq/client/model/EntityTest.java | 157 + .../client/model/EntityTypeNamespaceTest.java | 39 + .../formkiq/client/model/EntityTypeTest.java | 80 + .../com/formkiq/client/model/ErrorTest.java | 2 +- .../client/model/ErrorsResponseTest.java | 2 +- .../client/model/FolderPermissionTest.java | 66 + .../model/FolderPermissionTypeTest.java | 39 + .../client/model/FulltextAttributeTest.java | 2 +- .../client/model/FulltextSearchItemTest.java | 2 +- .../model/GetActivitesResponseTest.java | 66 + .../client/model/GetApiKeysResponseTest.java | 2 +- ...GetAttributeAllowedValuesResponseTest.java | 2 +- .../model/GetAttributeResponseTest.java | 2 +- .../model/GetAttributesResponseTest.java | 2 +- .../model/GetCaseDocumentsResponseTest.java | 2 +- .../client/model/GetCaseNigoResponseTest.java | 2 +- .../model/GetCaseNigosResponseTest.java | 2 +- .../client/model/GetCaseResponseTest.java | 2 +- .../client/model/GetCaseTaskResponseTest.java | 2 +- .../model/GetCaseTasksResponseTest.java | 2 +- .../client/model/GetCasesResponseTest.java | 2 +- .../model/GetClassificationResponseTest.java | 2 +- .../model/GetClassificationsResponseTest.java | 2 +- .../model/GetConfigurationResponseTest.java | 2 +- .../model/GetDocumentActionsResponseTest.java | 2 +- .../GetDocumentAttributeResponseTest.java | 2 +- ...DocumentAttributeVersionsResponseTest.java | 2 +- .../GetDocumentAttributesResponseTest.java | 2 +- .../model/GetDocumentContentResponseTest.java | 2 +- .../GetDocumentFulltextResponseTest.java | 2 +- .../model/GetDocumentOcrResponseTest.java | 2 +- .../client/model/GetDocumentResponseTest.java | 2 +- .../model/GetDocumentSyncResponseTest.java | 2 +- .../model/GetDocumentTagResponseTest.java | 2 +- .../model/GetDocumentTagsResponseTest.java | 2 +- .../model/GetDocumentUrlResponseTest.java | 2 +- .../GetDocumentVersionsResponseTest.java | 2 +- .../GetDocumentWorkflowResponseTest.java | 2 +- .../GetDocumentWorkflowsResponseTest.java | 2 +- .../model/GetDocumentsResponseTest.java | 2 +- .../client/model/GetEntitiesResponseTest.java | 66 + .../client/model/GetEntityResponseTest.java | 56 + .../model/GetEntityTypeResponseTest.java | 56 + .../model/GetEntityTypesResponseTest.java | 66 + .../model/GetExaminePdfResponseTest.java | 2 +- .../model/GetExaminePdfUrlResponseTest.java | 2 +- .../GetFolderPermissionsResponseTest.java | 58 + .../client/model/GetFoldersResponseTest.java | 2 +- .../client/model/GetGroupResponseTest.java | 2 +- .../client/model/GetGroupsResponseTest.java | 2 +- .../GetLocaleResourceItemResponseTest.java | 2 +- .../GetLocaleResourceItemsResponseTest.java | 2 +- .../client/model/GetLocalesResponseTest.java | 2 +- .../client/model/GetMappingResponseTest.java | 2 +- .../client/model/GetMappingsResponseTest.java | 2 +- .../GetOpaAccessPoliciesResponseTest.java | 2 +- .../GetOpaAccessPolicyItemsResponseTest.java | 2 +- .../model/GetOpaAccessPolicyResponseTest.java | 2 +- .../model/GetOpenSearchIndexResponseTest.java | 2 +- ...nSearchSnapshotRepositoryResponseTest.java | 59 + .../GetOpenSearchSnapshotResponseTest.java | 58 + .../client/model/GetQueueResponseTest.java | 2 +- .../client/model/GetQueuesResponseTest.java | 2 +- .../client/model/GetRuleResponseTest.java | 2 +- .../client/model/GetRulesResponseTest.java | 2 +- .../client/model/GetRulesetResponseTest.java | 2 +- .../client/model/GetRulesetsResponseTest.java | 2 +- .../model/GetSiteGroupResponseTest.java | 2 +- .../model/GetSiteGroupsResponseTest.java | 2 +- .../client/model/GetSitesResponseTest.java | 2 +- .../model/GetSitesSchemaResponseTest.java | 2 +- .../model/GetUserActivitesResponseTest.java | 2 +- .../model/GetUserGroupsResponseTest.java | 2 +- .../client/model/GetUserResponseTest.java | 2 +- .../model/GetUserSharesResponseTest.java | 2 +- .../model/GetUsersInGroupResponseTest.java | 2 +- .../client/model/GetUsersResponseTest.java | 2 +- .../client/model/GetVersionResponseTest.java | 2 +- .../client/model/GetWebhookResponseTest.java | 2 +- .../model/GetWebhookTagsResponseTest.java | 2 +- .../client/model/GetWebhooksResponseTest.java | 2 +- .../GetWorkflowDocumentsResponseTest.java | 2 +- ...GetWorkflowQueueDocumentsResponseTest.java | 2 +- .../client/model/GetWorkflowResponseTest.java | 2 +- .../model/GetWorkflowsResponseTest.java | 2 +- .../client/model/GoogleConfigTest.java | 2 +- .../model/GoogleExportOutputTypeTest.java | 2 +- .../com/formkiq/client/model/GroupTest.java | 2 +- .../model/IndexFolderMoveRequestTest.java | 2 +- .../model/IndexFolderMoveResponseTest.java | 2 +- .../client/model/IndexSearchRequestTest.java | 2 +- .../client/model/IndexSearchResponseTest.java | 2 +- .../formkiq/client/model/IndexSearchTest.java | 2 +- .../client/model/LocaleResourceTypeTest.java | 2 +- .../com/formkiq/client/model/LocaleTest.java | 2 +- ...MappingAttributeLabelMatchingTypeTest.java | 2 +- .../MappingAttributeMetadataFieldTest.java | 2 +- .../model/MappingAttributeSourceTypeTest.java | 2 +- .../client/model/MappingAttributeTest.java | 2 +- .../com/formkiq/client/model/MappingTest.java | 2 +- .../client/model/MatchDocumentTagTest.java | 2 +- .../formkiq/client/model/ModelCaseTest.java | 2 +- .../formkiq/client/model/NigoStatusTest.java | 2 +- .../com/formkiq/client/model/NigoTest.java | 2 +- .../formkiq/client/model/OcrConfigTest.java | 2 +- .../formkiq/client/model/OcrEngineTest.java | 2 +- .../client/model/OcrKeyValuesTest.java | 2 +- .../client/model/OcrOutputTypeTest.java | 2 +- .../client/model/OcrTableDataTest.java | 2 +- .../formkiq/client/model/OcrTableTest.java | 2 +- .../model/OpaPolicyAttributeEqTest.java | 2 +- .../model/OpaPolicyAttributeGtTest.java | 2 +- .../model/OpaPolicyAttributeGteTest.java | 2 +- .../model/OpaPolicyAttributeInputTest.java | 2 +- .../model/OpaPolicyAttributeLtTest.java | 2 +- .../model/OpaPolicyAttributeLteTest.java | 2 +- .../model/OpaPolicyAttributeNeqTest.java | 2 +- .../client/model/OpaPolicyAttributeTest.java | 2 +- .../client/model/OpaPolicyItemTest.java | 2 +- .../client/model/OpaPolicyItemTypeTest.java | 2 +- .../formkiq/client/model/OpaPolicyTest.java | 2 +- .../client/model/OpenSearchIndexTest.java | 2 +- .../model/OpenSearchS3RepositoryTest.java | 63 + .../model/OpenSearchSnapshotFailureTest.java | 95 + .../model/OpenSearchSnapshotShardTest.java | 72 + .../client/model/OpenSearchSnapshotTest.java | 148 + .../client/model/PdfDocumentFieldTest.java | 2 +- .../formkiq/client/model/PdfDocumentTest.java | 2 +- .../model/QueryFulltextResponseTest.java | 2 +- .../com/formkiq/client/model/QueueTest.java | 2 +- .../client/model/ReindexTargetTest.java | 2 +- .../client/model/ResourceItemTest.java | 2 +- .../model/RuleConditionAttributeTest.java | 2 +- .../model/RuleConditionCriterionTest.java | 2 +- .../client/model/RuleConditionMustTest.java | 2 +- .../model/RuleConditionOperationTest.java | 2 +- .../client/model/RuleConditionTest.java | 2 +- .../com/formkiq/client/model/RuleTest.java | 2 +- .../client/model/RulesetStatusTest.java | 2 +- .../com/formkiq/client/model/RulesetTest.java | 2 +- .../client/model/SchemaAttributesTest.java | 2 +- .../client/model/SearchRangeDataTypeTest.java | 2 +- .../model/SearchResponseFieldsTest.java | 2 +- .../SearchResultDocumentAttributeTest.java | 2 +- .../model/SearchResultDocumentTest.java | 2 +- .../model/SetAntivirusResponseTest.java | 2 +- .../model/SetClassificationRequestTest.java | 2 +- .../SetDocumentAttributeRequestTest.java | 2 +- .../SetDocumentAttributesRequestTest.java | 2 +- .../model/SetDocumentFulltextRequestTest.java | 2 +- .../SetDocumentFulltextResponseTest.java | 2 +- .../model/SetDocumentOcrRequestTest.java | 2 +- .../model/SetDocumentRestoreResponseTest.java | 2 +- .../model/SetDocumentTagKeyRequestTest.java | 2 +- .../model/SetDocumentVersionRequestTest.java | 2 +- .../model/SetDocumentVersionResponseTest.java | 2 +- .../SetFolderPermissionsRequestTest.java | 66 + .../model/SetGroupPermissionsRequestTest.java | 2 +- .../SetLocaleResourceItemRequestTest.java | 2 +- .../client/model/SetMappingRequestTest.java | 2 +- .../SetOpaAccessPolicyItemsRequestTest.java | 2 +- .../model/SetOpenSearchIndexRequestTest.java | 2 +- .../model/SetOpenSearchIndexResponseTest.java | 2 +- .../formkiq/client/model/SetResponseTest.java | 2 +- .../client/model/SetSchemaAttributesTest.java | 2 +- .../model/SetSitesSchemaRequestTest.java | 2 +- .../client/model/SetWorkflowRequestTest.java | 2 +- .../client/model/SetWorkflowResponseTest.java | 2 +- .../formkiq/client/model/SiteConfigTest.java | 2 +- .../model/SiteGroupPermissionsTest.java | 2 +- .../formkiq/client/model/SiteGroupTest.java | 2 +- .../formkiq/client/model/SiteStatusTest.java | 2 +- .../com/formkiq/client/model/SiteTest.java | 2 +- .../formkiq/client/model/SiteUsageTest.java | 2 +- .../client/model/StringFormatTest.java | 2 +- .../client/model/StringGeneratorTypeTest.java | 2 +- .../formkiq/client/model/TaskStatusTest.java | 2 +- .../com/formkiq/client/model/TaskTest.java | 2 +- .../model/UpdateAttributeRequestTest.java | 56 + .../client/model/UpdateAttributeTest.java | 65 + .../client/model/UpdateCaseRequestTest.java | 2 +- .../client/model/UpdateCaseResponseTest.java | 2 +- .../formkiq/client/model/UpdateCaseTest.java | 2 +- .../model/UpdateConfigurationRequestTest.java | 2 +- .../UpdateConfigurationResponseTest.java | 2 +- .../UpdateDocumentFulltextRequestTest.java | 2 +- .../UpdateDocumentFulltextResponseTest.java | 2 +- .../model/UpdateDocumentRequestTest.java | 2 +- .../client/model/UpdateEntityRequestTest.java | 56 + ...eMatchingDocumentTagsRequestMatchTest.java | 2 +- ...UpdateMatchingDocumentTagsRequestTest.java | 2 +- ...MatchingDocumentTagsRequestUpdateTest.java | 2 +- ...pdateMatchingDocumentTagsResponseTest.java | 2 +- .../client/model/UpdateNigoRequestTest.java | 2 +- .../client/model/UpdateNigoResponseTest.java | 2 +- .../formkiq/client/model/UpdateNigoTest.java | 2 +- .../client/model/UpdateResponseTest.java | 2 +- .../client/model/UpdateRuleRequestTest.java | 2 +- .../client/model/UpdateRuleResponseTest.java | 2 +- .../formkiq/client/model/UpdateRuleTest.java | 2 +- .../model/UpdateRulesetRequestTest.java | 2 +- .../model/UpdateRulesetResponseTest.java | 2 +- .../client/model/UpdateRulesetTest.java | 2 +- .../client/model/UpdateSiteRequestTest.java | 2 +- .../formkiq/client/model/UpdateSiteTest.java | 2 +- .../client/model/UpdateTaskRequestTest.java | 2 +- .../client/model/UpdateTaskResponseTest.java | 2 +- .../formkiq/client/model/UpdateTaskTest.java | 2 +- .../model/UpdateWorkflowRequestTest.java | 2 +- .../model/UpdateWorkflowResponseTest.java | 2 +- .../client/model/UserActivityChangesTest.java | 2 +- .../client/model/UserActivityTest.java | 2 +- .../client/model/UserActivityTypeTest.java | 2 +- .../client/model/UserAttributesTest.java | 2 +- .../client/model/UserSharePermissionTest.java | 2 +- .../model/UserSharePermissionTypeTest.java | 2 +- .../formkiq/client/model/UserShareTest.java | 2 +- .../com/formkiq/client/model/UserTest.java | 2 +- .../client/model/ValidationErrorTest.java | 2 +- .../model/ValidationErrorsResponseTest.java | 2 +- .../client/model/WatermarkPositionTest.java | 2 +- .../model/WatermarkPositionXAnchorTest.java | 2 +- .../model/WatermarkPositionYAnchorTest.java | 2 +- .../client/model/WatermarkScaleTest.java | 2 +- .../formkiq/client/model/WatermarkTest.java | 2 +- .../formkiq/client/model/WebhookTagTest.java | 2 +- .../client/model/WorkflowDocumentTest.java | 2 +- .../client/model/WorkflowQueueTest.java | 2 +- .../client/model/WorkflowStatusTest.java | 2 +- .../model/WorkflowStepDecisionTest.java | 2 +- .../model/WorkflowStepDecisionTypeTest.java | 2 +- .../client/model/WorkflowStepTest.java | 2 +- .../client/model/WorkflowSummaryTest.java | 2 +- 981 files changed, 29443 insertions(+), 8596 deletions(-) create mode 100644 docs/Activity.md create mode 100644 docs/ActivityStatus.md create mode 100644 docs/AddActionResizeOutputType.md create mode 100644 docs/AddDocumentAttributeEntity.md create mode 100644 docs/AddEntity.md create mode 100644 docs/AddEntityAttribute.md create mode 100644 docs/AddEntityRequest.md create mode 100644 docs/AddEntityResponse.md create mode 100644 docs/AddEntityType.md create mode 100644 docs/AddEntityTypeRequest.md create mode 100644 docs/AddEntityTypeResponse.md create mode 100644 docs/AddFolderPermission.md create mode 100644 docs/AddOpenSearchSnapshotRepositoryRequest.md create mode 100644 docs/AddOpenSearchSnapshotRepositoryResponse.md create mode 100644 docs/EntitiesApi.md create mode 100644 docs/Entity.md create mode 100644 docs/EntityApi.md create mode 100644 docs/EntityAttribute.md create mode 100644 docs/EntityType.md create mode 100644 docs/EntityTypeNamespace.md create mode 100644 docs/FolderPermission.md create mode 100644 docs/FolderPermissionType.md create mode 100644 docs/GetActivitesResponse.md create mode 100644 docs/GetEntitiesResponse.md create mode 100644 docs/GetEntityResponse.md create mode 100644 docs/GetEntityTypeResponse.md create mode 100644 docs/GetEntityTypesResponse.md create mode 100644 docs/GetFolderPermissionsResponse.md create mode 100644 docs/GetOpenSearchSnapshot.md create mode 100644 docs/GetOpenSearchSnapshotRepository.md create mode 100644 docs/GetOpenSearchSnapshotRepositoryResponse.md create mode 100644 docs/GetOpenSearchSnapshotResponse.md create mode 100644 docs/OpenSearchS3Repository.md create mode 100644 docs/OpenSearchSnapshot.md create mode 100644 docs/OpenSearchSnapshotFailure.md create mode 100644 docs/OpenSearchSnapshotShard.md create mode 100644 docs/SetFolderPermissionsRequest.md create mode 100644 docs/UpdateAttribute.md create mode 100644 docs/UpdateAttributeRequest.md create mode 100644 docs/UpdateEntityRequest.md create mode 100644 src/main/java/com/formkiq/client/api/EntityApi.java create mode 100644 src/main/java/com/formkiq/client/model/Activity.java create mode 100644 src/main/java/com/formkiq/client/model/ActivityStatus.java create mode 100644 src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java create mode 100644 src/main/java/com/formkiq/client/model/AddEntity.java create mode 100644 src/main/java/com/formkiq/client/model/AddEntityAttribute.java create mode 100644 src/main/java/com/formkiq/client/model/AddEntityRequest.java create mode 100644 src/main/java/com/formkiq/client/model/AddEntityResponse.java create mode 100644 src/main/java/com/formkiq/client/model/AddEntityType.java rename src/main/java/com/formkiq/client/model/{AddAttributeResponse.java => AddEntityTypeRequest.java} (66%) create mode 100644 src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java create mode 100644 src/main/java/com/formkiq/client/model/AddFolderPermission.java create mode 100644 src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java create mode 100644 src/main/java/com/formkiq/client/model/Entity.java create mode 100644 src/main/java/com/formkiq/client/model/EntityAttribute.java create mode 100644 src/main/java/com/formkiq/client/model/EntityType.java create mode 100644 src/main/java/com/formkiq/client/model/EntityTypeNamespace.java create mode 100644 src/main/java/com/formkiq/client/model/FolderPermission.java create mode 100644 src/main/java/com/formkiq/client/model/FolderPermissionType.java create mode 100644 src/main/java/com/formkiq/client/model/GetActivitesResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetEntitiesResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetEntityResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java create mode 100644 src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java create mode 100644 src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java create mode 100644 src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java create mode 100644 src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java create mode 100644 src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java create mode 100644 src/main/java/com/formkiq/client/model/UpdateAttribute.java create mode 100644 src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java create mode 100644 src/main/java/com/formkiq/client/model/UpdateEntityRequest.java create mode 100644 src/test/java/com/formkiq/client/api/EntityApiTest.java create mode 100644 src/test/java/com/formkiq/client/model/ActivityStatusTest.java create mode 100644 src/test/java/com/formkiq/client/model/ActivityTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddEntityAttributeTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddEntityRequestTest.java rename src/test/java/com/formkiq/client/model/{AddAttributeResponseTest.java => AddEntityResponseTest.java} (78%) create mode 100644 src/test/java/com/formkiq/client/model/AddEntityTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddEntityTypeRequestTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddEntityTypeResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddEntityTypeTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddFolderPermissionTest.java create mode 100644 src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/EntityAttributeTest.java create mode 100644 src/test/java/com/formkiq/client/model/EntityTest.java create mode 100644 src/test/java/com/formkiq/client/model/EntityTypeNamespaceTest.java create mode 100644 src/test/java/com/formkiq/client/model/EntityTypeTest.java create mode 100644 src/test/java/com/formkiq/client/model/FolderPermissionTest.java create mode 100644 src/test/java/com/formkiq/client/model/FolderPermissionTypeTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetActivitesResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetEntitiesResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetEntityResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetEntityTypeResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetEntityTypesResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetFolderPermissionsResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/GetOpenSearchSnapshotResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpenSearchS3RepositoryTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpenSearchSnapshotFailureTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpenSearchSnapshotShardTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpenSearchSnapshotTest.java create mode 100644 src/test/java/com/formkiq/client/model/SetFolderPermissionsRequestTest.java create mode 100644 src/test/java/com/formkiq/client/model/UpdateAttributeRequestTest.java create mode 100644 src/test/java/com/formkiq/client/model/UpdateAttributeTest.java create mode 100644 src/test/java/com/formkiq/client/model/UpdateEntityRequestTest.java 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..f9a5b8760 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 @@ -75,6 +85,7 @@ docs/AddMappingResponse.md docs/AddNigo.md docs/AddNigoRequest.md docs/AddNigoResponse.md +docs/AddOpenSearchSnapshotRepositoryResponse.md docs/AddQueueRequest.md docs/AddQueueResponse.md docs/AddReindexDocumentRequest.md @@ -196,11 +207,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 @@ -231,8 +250,13 @@ 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 @@ -245,6 +269,8 @@ docs/GetOpaAccessPoliciesResponse.md docs/GetOpaAccessPolicyItemsResponse.md docs/GetOpaAccessPolicyResponse.md docs/GetOpenSearchIndexResponse.md +docs/GetOpenSearchSnapshotRepositoryResponse.md +docs/GetOpenSearchSnapshotResponse.md docs/GetQueueResponse.md docs/GetQueuesResponse.md docs/GetRuleResponse.md @@ -308,6 +334,10 @@ docs/OpaPolicyAttributeNeq.md docs/OpaPolicyItem.md docs/OpaPolicyItemType.md docs/OpenSearchIndex.md +docs/OpenSearchS3Repository.md +docs/OpenSearchSnapshot.md +docs/OpenSearchSnapshotFailure.md +docs/OpenSearchSnapshotShard.md docs/PdfDocument.md docs/PdfDocumentField.md docs/PublicApi.md @@ -342,6 +372,7 @@ docs/SetDocumentRestoreResponse.md docs/SetDocumentTagKeyRequest.md docs/SetDocumentVersionRequest.md docs/SetDocumentVersionResponse.md +docs/SetFolderPermissionsRequest.md docs/SetGroupPermissionsRequest.md docs/SetLocaleResourceItemRequest.md docs/SetMappingRequest.md @@ -365,6 +396,8 @@ docs/SystemManagementApi.md docs/TagIndexApi.md docs/Task.md docs/TaskStatus.md +docs/UpdateAttribute.md +docs/UpdateAttributeRequest.md docs/UpdateCase.md docs/UpdateCaseRequest.md docs/UpdateCaseResponse.md @@ -373,6 +406,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 @@ -447,6 +481,7 @@ 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/MappingsApi.java @@ -482,13 +517,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 +540,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 +568,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 @@ -551,6 +596,7 @@ src/main/java/com/formkiq/client/model/AddMappingResponse.java src/main/java/com/formkiq/client/model/AddNigo.java src/main/java/com/formkiq/client/model/AddNigoRequest.java src/main/java/com/formkiq/client/model/AddNigoResponse.java +src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java src/main/java/com/formkiq/client/model/AddQueueRequest.java src/main/java/com/formkiq/client/model/AddQueueResponse.java src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java @@ -655,10 +701,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 @@ -689,8 +742,13 @@ 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 @@ -703,6 +761,8 @@ 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/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 @@ -764,6 +824,10 @@ src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.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/OpenSearchIndex.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 @@ -794,6 +858,7 @@ 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 @@ -815,6 +880,8 @@ 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/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 +890,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 @@ -885,6 +953,7 @@ 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/MappingsApiTest.java @@ -897,12 +966,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 +988,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 +1017,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 @@ -966,6 +1045,7 @@ src/test/java/com/formkiq/client/model/AddMappingTest.java src/test/java/com/formkiq/client/model/AddNigoRequestTest.java src/test/java/com/formkiq/client/model/AddNigoResponseTest.java src/test/java/com/formkiq/client/model/AddNigoTest.java +src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java src/test/java/com/formkiq/client/model/AddQueueRequestTest.java src/test/java/com/formkiq/client/model/AddQueueResponseTest.java src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java @@ -1070,10 +1150,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 @@ -1104,8 +1191,13 @@ 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 @@ -1118,6 +1210,8 @@ 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/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 @@ -1179,6 +1273,10 @@ 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/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 @@ -1209,6 +1307,7 @@ 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 @@ -1230,6 +1329,8 @@ 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/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 +1339,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..e465da431 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.13.0 +7.14.0 diff --git a/README.md b/README.md index c2c70d1cb..86e658ad3 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ 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-06-21T14:21:22.314584-05:00[America/Winnipeg] + - Generator version: 7.13.0 Formkiq API: Document Management Platform API using OAuth(JWT) Authentication @@ -63,7 +63,7 @@ Add this dependency to your project's POM: com.formkiq client - 1.17.1 + 1.18.0 compile ``` @@ -79,7 +79,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 +93,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 @@ -196,6 +196,7 @@ Class | Method | HTTP request | Description *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 @@ -234,6 +235,8 @@ Class | Method | HTTP request | Description *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 @@ -291,6 +294,15 @@ Class | Method | HTTP request | Description *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 @@ -324,29 +336,39 @@ 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/snapshot/{repositoryName}/{snapshotName}/restore | Add an OpenSearch Restore Snapshot +*SystemManagementApi* | [**addOpenSearchSnapshot**](docs/SystemManagementApi.md#addOpenSearchSnapshot) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Add an OpenSearch Snapshot +*SystemManagementApi* | [**addOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#addOpenSearchSnapshotRepository) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Add OpenSearch Snapshot Repository *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* | [**deleteOpenSearchSnapshot**](docs/SystemManagementApi.md#deleteOpenSearchSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Deletes site(s) OpenSearch Snapshot +*SystemManagementApi* | [**deleteOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#deleteOpenSearchSnapshotRepository) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Deletes site(s) OpenSearch Snapshot Repository *SystemManagementApi* | [**deleteSiteGroup**](docs/SystemManagementApi.md#deleteSiteGroup) | **DELETE** /sites/{siteId}/groups/{groupName} | Deletes Site Group and permissions *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* | [**getOpenSearchSnapshot**](docs/SystemManagementApi.md#getOpenSearchSnapshot) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Get site(s) OpenSearch snapshot +*SystemManagementApi* | [**getOpenSearchSnapshotRepositories**](docs/SystemManagementApi.md#getOpenSearchSnapshotRepositories) | **GET** /sites/{siteId}/opensearch/snapshotRepositories | Get site(s) OpenSearch snapshot repositories +*SystemManagementApi* | [**getOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#getOpenSearchSnapshotRepository) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Get site(s) OpenSearch snapshot repository +*SystemManagementApi* | [**getOpenSearchSnapshots**](docs/SystemManagementApi.md#getOpenSearchSnapshots) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/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* | [**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 +395,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 +418,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 +446,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) @@ -442,6 +474,7 @@ Class | Method | HTTP request | Description - [AddNigo](docs/AddNigo.md) - [AddNigoRequest](docs/AddNigoRequest.md) - [AddNigoResponse](docs/AddNigoResponse.md) + - [AddOpenSearchSnapshotRepositoryResponse](docs/AddOpenSearchSnapshotRepositoryResponse.md) - [AddQueueRequest](docs/AddQueueRequest.md) - [AddQueueResponse](docs/AddQueueResponse.md) - [AddReindexDocumentRequest](docs/AddReindexDocumentRequest.md) @@ -546,10 +579,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) @@ -580,8 +620,13 @@ 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) @@ -594,6 +639,8 @@ Class | Method | HTTP request | Description - [GetOpaAccessPolicyItemsResponse](docs/GetOpaAccessPolicyItemsResponse.md) - [GetOpaAccessPolicyResponse](docs/GetOpaAccessPolicyResponse.md) - [GetOpenSearchIndexResponse](docs/GetOpenSearchIndexResponse.md) + - [GetOpenSearchSnapshotRepositoryResponse](docs/GetOpenSearchSnapshotRepositoryResponse.md) + - [GetOpenSearchSnapshotResponse](docs/GetOpenSearchSnapshotResponse.md) - [GetQueueResponse](docs/GetQueueResponse.md) - [GetQueuesResponse](docs/GetQueuesResponse.md) - [GetRuleResponse](docs/GetRuleResponse.md) @@ -655,6 +702,10 @@ Class | Method | HTTP request | Description - [OpaPolicyItem](docs/OpaPolicyItem.md) - [OpaPolicyItemType](docs/OpaPolicyItemType.md) - [OpenSearchIndex](docs/OpenSearchIndex.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) @@ -685,6 +736,7 @@ 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) @@ -706,6 +758,8 @@ Class | Method | HTTP request | Description - [StringGeneratorType](docs/StringGeneratorType.md) - [Task](docs/Task.md) - [TaskStatus](docs/TaskStatus.md) + - [UpdateAttribute](docs/UpdateAttribute.md) + - [UpdateAttributeRequest](docs/UpdateAttributeRequest.md) - [UpdateCase](docs/UpdateCase.md) - [UpdateCaseRequest](docs/UpdateCaseRequest.md) - [UpdateCaseResponse](docs/UpdateCaseResponse.md) @@ -714,6 +768,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..33ae43d75 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 @@ -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}: @@ -322,25 +326,14 @@ paths: 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' + $ref: "#/components/responses/200CorsDeleteResponse" 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 +361,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 +404,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 @@ -452,30 +445,19 @@ paths: 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' + $ref: "#/components/responses/200CorsDeleteResponse" 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 + operationId: GetOpenSearchIndex parameters: - description: Site Identifier explode: false @@ -490,27 +472,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,36 +506,36 @@ 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/{siteId}/opensearch/snapshotRepositories: get: - description: Gets Sites schema - operationId: GetSitesSchema + description: Returns the OpenSearch Snapshot Repositories + operationId: GetOpenSearchSnapshotRepositories parameters: - description: Site Identifier explode: false @@ -563,40 +545,33 @@ paths: 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/GetSitesSchemaResponse' + $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 Schema + summary: Get site(s) OpenSearch snapshot repositories 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 + /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}: + delete: + description: Deletes the OpenSearch Snapshot Repository + operationId: DeleteOpenSearchSnapshotRepository parameters: - description: Site Identifier explode: false @@ -606,46 +581,29 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetSitesSchemaRequest' + - description: Snapshot Repository Name + explode: false + in: path + name: repositoryName required: true + schema: + 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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] - summary: Set Sites Schema + summary: Deletes site(s) OpenSearch Snapshot Repository 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 + description: Returns the OpenSearch Snapshot Repository + operationId: GetOpenSearchSnapshotRepository parameters: - description: Site Identifier explode: false @@ -655,49 +613,40 @@ paths: schema: type: string style: simple - - description: Key Identifier + - description: Snapshot Repository Name explode: false in: path - name: key + name: repositoryName 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/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 Attribute Allowed Values + 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 - /sites/{siteId}/classifications: - get: - description: Gets Sites Classifications - operationId: GetSitesClassifications + post: + description: Add an OpenSearch Snapshot Repository + operationId: AddOpenSearchSnapshotRepository parameters: - description: Site Identifier explode: false @@ -707,49 +656,41 @@ 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 + - description: Snapshot Repository Name + explode: false + in: path + name: repositoryName + required: true schema: type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetClassificationsResponse' + $ref: "#/components/schemas/AddOpenSearchSnapshotRepositoryResponse" 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: Add 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/snapshotRepositories/{repositoryName}/snapshots: + get: + description: Returns the OpenSearch Snapshots + operationId: GetOpenSearchSnapshots parameters: - description: Site Identifier explode: false @@ -759,46 +700,41 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddClassificationRequest' + - description: Snapshot Repository Name + explode: false + in: path + name: repositoryName required: true + schema: + type: string + style: simple 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/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}: delete: - description: Delete Classification - operationId: DeleteClassification + description: Deletes the OpenSearch Snapshot + operationId: DeleteOpenSearchSnapshot parameters: - description: Site Identifier explode: false @@ -808,40 +744,37 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Repository Name explode: false in: path - name: classificationId + name: repositoryName + required: true + 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/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' + $ref: "#/components/responses/200CorsDeleteResponse" 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 +784,48 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Repository Name explode: false in: path - name: classificationId + name: repositoryName required: true schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) - explode: true - in: query - name: locale - required: false + - description: Snapshot Name + explode: false + in: path + name: snapshotName + required: true schema: type: string - style: form + style: simple 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 +835,49 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Repository Name explode: false in: path - name: classificationId + name: repositoryName required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetClassificationRequest' + - 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/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/snapshot/{repositoryName}/{snapshotName}/restore: + post: + description: Add an OpenSearch Restore Snapshot + operationId: AddOpenSearchRestoreSnapshot parameters: - description: Site Identifier explode: false @@ -960,57 +887,49 @@ paths: schema: type: string style: simple - - description: Classification Identifier + - description: Snapshot Repository Name explode: false in: path - name: classificationId + name: repositoryName 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/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 Classification's Attribute Allowed Values + summary: Add an 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: + /sites/{siteId}/schema/document: get: - description: Returns the list of sites that the user has access to - operationId: GetConfiguration + description: Gets Sites schema + operationId: GetSitesSchema parameters: - description: Site Identifier explode: false @@ -1020,32 +939,40 @@ paths: 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/GetConfigurationResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get site configuration + summary: Get 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-accepts: - application/json - patch: - description: Update the System Management configuration - operationId: UpdateConfiguration + put: + description: Sets Sites schema + operationId: SetSitesSchema parameters: - description: Site Identifier explode: false @@ -1059,42 +986,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateConfigurationRequest' + $ref: "#/components/schemas/SetSitesSchemaRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateConfigurationResponse' + $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: Update site configuration + 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: + /sites/{siteId}/schema/document/attributes/{key}/allowedValues: get: - description: Returns the list of ApiKeys - operationId: GetApiKeys + description: Returns an attribute's allowed values from the site schema + operationId: GetSitesSchemaAttributeAllowedValues parameters: - description: Site Identifier explode: false @@ -1104,15 +1031,59 @@ paths: schema: type: string style: simple - - description: Next page of results token + - 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: next + name: locale required: false schema: type: string style: form - - description: Limit Results + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetAttributeAllowedValuesResponse" + 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 Attribute Allowed Values + tags: + - Schemas + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /sites/{siteId}/classifications: + get: + 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 @@ -1121,32 +1092,40 @@ paths: 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/GetApiKeysResponse' + $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 API Keys + summary: Get Sites Classifications 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 + description: Add Classification + operationId: AddClassification parameters: - description: Site Identifier explode: false @@ -1159,41 +1138,43 @@ paths: requestBody: content: application/json: - examples: - AddApiKey: - value: - name: My API Key schema: - $ref: '#/components/schemas/AddApiKeyRequest' + $ref: "#/components/schemas/AddClassificationRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddApiKeyResponse' + $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: Add API Key + summary: Add Classification 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}: + /sites/{siteId}/classifications/{classificationId}: delete: - description: Adds a new API Key - operationId: DeleteApiKey + description: Delete Classification + operationId: DeleteClassification parameters: - description: Site Identifier explode: false @@ -1203,10 +1184,10 @@ paths: schema: type: string style: simple - - description: API Key + - description: Classification Identifier explode: false in: path - name: apiKey + name: classificationId required: true schema: type: string @@ -1216,56 +1197,78 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteApiKeyResponse' + $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 API Key + summary: Delete Classification 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: get: - description: "Returns a list of OPA Access Policies, can only be requested with\ - \ ADMIN privileges" - operationId: GetOpaAccessPolicies + description: Get Classification + operationId: GetClassification + parameters: + - description: Site Identifier + explode: false + in: path + name: siteId + required: true + 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/GetOpaAccessPoliciesResponse' + $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 OPAs Access Policies + 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 - /sites/{siteId}/opa/accessPolicy: - get: - description: "Returns OPA Access Policy, can only be requested with ADMIN privileges" - operationId: GetOpaAccessPolicy + put: + description: Sets Classification + operationId: SetClassification parameters: - description: Site Identifier explode: false @@ -1275,33 +1278,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/SetClassificationRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetOpaAccessPolicyResponse' + $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: Get OPA Access Policy + summary: Set 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: - delete: - description: Delete OPA Access Policy Items - operationId: DeleteOpaAccessPolicyItems + /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 parameters: - description: Site Identifier explode: false @@ -1311,33 +1336,57 @@ 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 + 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/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 OPA Access Policy Items + summary: Get Classification's Attribute Allowed Values 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}/configuration: get: - description: "Returns OPA Access Policy Items, can only be requested with ADMIN\ - \ privileges" - operationId: GetOpaAccessPolicyItems + description: Returns the list of sites that the user has access to + operationId: GetConfiguration parameters: - description: Site Identifier explode: false @@ -1352,27 +1401,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetOpaAccessPolicyItemsResponse' + $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: Get OPA Access Policy Items + summary: Get site configuration tags: - - Access Control + - System 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 opa access policy items - operationId: SetOpaAccessPolicyItems + patch: + description: Update the System Management configuration + operationId: UpdateConfiguration parameters: - description: Site Identifier explode: false @@ -1386,42 +1435,42 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetOpaAccessPolicyItemsRequest' + $ref: "#/components/schemas/UpdateConfigurationRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' - description: 200 CREATED + $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' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] - summary: "Set opa access policy items, can only be requested with ADMIN privileges" + summary: Update site configuration tags: - - Access Control + - 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 - /sites/{siteId}/locales: + /sites/{siteId}/apiKeys: get: - description: Returns a list of locale(s) in a specified site - operationId: GetLocales + description: Returns the list of ApiKeys + operationId: GetApiKeys parameters: - description: Site Identifier explode: false @@ -1453,27 +1502,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetLocalesResponse' + $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 Locales + 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 locale to the specified site - operationId: AddLocale + description: Adds a new API Key + operationId: AddApiKey parameters: - description: Site Identifier explode: false @@ -1486,37 +1535,41 @@ paths: requestBody: content: application/json: + examples: + AddApiKey: + value: + name: My API Key schema: - $ref: '#/components/schemas/AddLocaleRequest' + $ref: "#/components/schemas/AddApiKeyRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' - 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 + 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}: + /sites/{siteId}/apiKeys/{apiKey}: delete: - description: Delete Locale - operationId: DeleteLocale + description: Adds a new API Key + operationId: DeleteApiKey parameters: - description: Site Identifier explode: false @@ -1526,10 +1579,10 @@ paths: schema: type: string style: simple - - description: Site Locale (ISO 639 / ISO 3166) + - description: API Key explode: false in: path - name: locale + name: apiKey required: true schema: type: string @@ -1539,88 +1592,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 Locale + 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/{siteId}/locales/{locale}/resourceItems: + /sites/opa/accessPolicies: get: - description: Returns the list resource items - operationId: GetLocaleResourceItems - parameters: - - description: Site Identifier - explode: false - in: path - name: siteId - required: true - 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 - 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: "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/GetLocaleResourceItemsResponse' + $ref: "#/components/schemas/GetOpaAccessPoliciesResponse" 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 OPAs Access Policies 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 - post: - description: Adds a new localized resource item for a given locale - operationId: AddLocaleResourceItem + /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 @@ -1630,73 +1651,33 @@ 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 - value: - resourceItem: - itemType: CLASSIFICATION - attributeKey: usageRegistrariat - allowedValue: ID - localizedValue: Gestion identitaire - classificationId: 219a7dd6-5fb2-4556-ad71-0ab4312fe577 - schema: - $ref: '#/components/schemas/AddLocaleResourceItemRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddLocaleResourceItemResponse' - description: 201 CREATED + $ref: "#/components/schemas/GetOpaAccessPolicyResponse" + 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: Get OPA Access Policy tags: - - System Management + - Access Control 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}/resourceItems/{itemKey}: + /sites/{siteId}/opa/accessPolicy/policyItems: delete: - description: Delete Local Resource Item - operationId: DeleteLocaleResourceItem + description: Delete OPA Access Policy Items + operationId: DeleteOpaAccessPolicyItems parameters: - description: Site Identifier explode: false @@ -1706,48 +1687,33 @@ 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 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 Local Resource Item + summary: Delete 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 get: - description: Returns the resource item - operationId: GetLocaleResourceItem + description: "Returns OPA Access Policy Items, can only be requested with ADMIN\ + \ privileges" + operationId: GetOpaAccessPolicyItems parameters: - description: Site Identifier explode: false @@ -1757,48 +1723,32 @@ 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 responses: "200": 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,116 +1758,55 @@ 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: true - in: query + explode: false + in: path name: siteId - required: false - schema: - type: string - style: form - - 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: 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 + required: true schema: type: string - style: form + style: simple - description: Next page of results token explode: true in: query @@ -1926,14 +1815,6 @@ paths: 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 @@ -1948,217 +1829,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 + required: true schema: type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false - 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,131 +1976,124 @@ 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 + - description: Item Key (MUST be URL‑encoded) + explode: false + in: path + name: itemKey required: true schema: type: string @@ -2300,99 +2103,138 @@ 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: Purge document + 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}/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: 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: Version Key (version key required URL encoding) - explode: true - in: query - name: versionKey - required: false + - description: Item Key (MUST be URL‑encoded) + explode: false + in: path + name: itemKey + required: true schema: type: string - style: form - - description: Share Identifier - explode: true - in: query - name: shareKey - required: false + style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/GetLocaleResourceItemResponse" + 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 Resource Item by Locale + tags: + - System Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + put: + description: Set a new Locale Resource Item + operationId: SetLocaleResourceItem + parameters: + - description: Site Identifier + explode: false + in: path + name: siteId + required: true schema: type: string - style: form + 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" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentContentResponse' + $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' - Location: - $ref: '#/components/headers/Location' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document's contents + summary: Set 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}/attributes: + /documents: get: - description: Get a listing of a document's attributes - operationId: GetDocumentAttributes + description: "Returns a list of the most recent documents added, ordered by\ + \ inserted, descending" + operationId: GetDocuments parameters: - description: Site Identifier explode: true @@ -2402,21 +2244,54 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - 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 - - description: Limit Results + style: form + - description: Fetch documents with an sync status explode: true in: query - name: limit + 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: - default: "10" type: string style: form - description: Next page of results token @@ -2427,33 +2302,56 @@ paths: 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/GetDocumentAttributesResponse' + $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's attributes + 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 post: - description: Add multiple attributes to a document; this endpoint also accepts - a different body parameter for adding a single attribute - operationId: AddDocumentAttributes + 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 @@ -2463,54 +2361,109 @@ 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: + 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/AddDocumentAttributesRequest' + $ref: "#/components/schemas/AddDocumentRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' - 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: Add attribute to document + summary: Add new document tags: - - Document Attributes + - Documents 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 - put: + /documents/{documentId}: + delete: description: |- - Set multiple attributes to a document; this endpoint also accepts a different body parameter for setting a single attribute + Delete a document's details, i.e., metadata, contents, etc - Note: - - attributes in the request will overwrite existing attributes. - operationId: SetDocumentAttributes - parameters: - - description: Site Identifier - explode: true + 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 in: query name: siteId required: false @@ -2525,40 +2478,29 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetDocumentAttributesRequest' - required: true + - 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/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' + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] - summary: Set document's attributes + summary: Delete document tags: - - Document Attributes + - 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}/attributes/{attributeKey}: - delete: - description: Delete a document attribute by using its key - operationId: DeleteDocumentAttribute + get: + description: "Retrieves a document's details, i.e., metadata" + operationId: GetDocument parameters: - description: Site Identifier explode: true @@ -2576,40 +2518,44 @@ paths: 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 responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $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: Delete document attribute + summary: Get 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 - get: - description: Get a document attribute by using its key - operationId: GetDocumentAttribute + 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 parameters: - description: Site Identifier explode: true @@ -2627,40 +2573,76 @@ paths: 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." + schema: + $ref: "#/components/schemas/UpdateDocumentRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentAttributeResponse' + $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: Get document attribute by key + summary: Update document tags: - - Document Attributes + - 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 - put: - description: Set attributes value to a document - operationId: SetDocumentAttributeValue + /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 @@ -2678,49 +2660,31 @@ paths: 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/SetDocumentAttributeRequest' - required: true 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' + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] - summary: Set document's attributes value + summary: Purge document tags: - - Document Attributes + - 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}/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 + /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 @@ -2738,49 +2702,51 @@ paths: schema: type: string style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true + - description: Version Key (version key required URL encoding) + explode: true + in: query + name: versionKey + required: false schema: type: string - style: simple - - description: Attribute Value - explode: false - in: path - name: attributeValue - required: true + style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false schema: type: string - style: simple + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $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: Delete document's attribute value + summary: Get document's contents 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: + /documents/{documentId}/attributes: get: - description: Get a listing of a document's tags - operationId: GetDocumentTags + description: Get a listing of a document's attributes + operationId: GetDocumentAttributes parameters: - description: Site Identifier explode: true @@ -2807,14 +2773,6 @@ 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 @@ -2823,41 +2781,33 @@ paths: 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/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: Get document's tags + 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 - patch: - description: Updates multiple tags to a document; this endpoint also accepts - a different body parameter for updating a single tag - operationId: UpdateDocumentTags + 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 @@ -2878,113 +2828,29 @@ paths: 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: {} - 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: Update document tags - tags: - - Document Tags - x-amazon-apigateway-integration: - $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 - 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: - 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' + $ref: "#/components/schemas/AddDocumentAttributesRequest" required: true responses: "201": - content: {} - 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' + $ref: "#/components/responses/201CorsAddResponse" security: - ApiAuthorization: [] - summary: Add tag to document + summary: Add attribute to document tags: - - Document Tags + - Document Attributes 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 put: - description: Set multiple tags to a document; this endpoint also accepts a different - body parameter for setting a single tag - operationId: SetDocumentTags + 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 @@ -3005,51 +2871,26 @@ paths: 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' + $ref: "#/components/schemas/SetDocumentAttributesRequest" required: true responses: "200": - content: {} - 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' + $ref: "#/components/responses/200CorsSetResponse" security: - ApiAuthorization: [] - summary: Set document's tags + 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}: + /documents/{documentId}/attributes/{attributeKey}: delete: - description: Delete a document tag by using its key - operationId: DeleteDocumentTag + description: Delete a document attribute by using its key + operationId: DeleteDocumentAttribute parameters: - description: Site Identifier explode: true @@ -3067,40 +2908,29 @@ 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 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' + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] - summary: Delete document tag + summary: Delete document attribute 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 + description: Get a document attribute by using its key + operationId: GetDocumentAttribute parameters: - description: Site Identifier explode: true @@ -3118,49 +2948,40 @@ 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: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentTagResponse' + $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: Get document tag by key + 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 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 attributes value to a document + operationId: SetDocumentAttributeValue parameters: - description: Site Identifier explode: true @@ -3178,10 +2999,10 @@ 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 @@ -3190,34 +3011,26 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetDocumentTagKeyRequest' + $ref: "#/components/schemas/SetDocumentAttributeRequest" required: true responses: "200": - content: {} - 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' + $ref: "#/components/responses/200CorsSetResponse" security: - ApiAuthorization: [] - summary: Update document tag value(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}/tags/{tagKey}/{tagValue}: + /documents/{documentId}/attributes/{attributeKey}/{attributeValue}: 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 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 @@ -3235,58 +3048,38 @@ 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 + - description: Attribute Value explode: false in: path - name: tagValue + name: attributeValue 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' - 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' + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] - summary: Delete document's tag value + summary: Delete document's attribute 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-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 + /documents/{documentId}/tags: + get: + description: Get a listing of a document's tags + operationId: GetDocumentTags parameters: - description: Site Identifier explode: true @@ -3296,41 +3089,74 @@ paths: schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateMatchingDocumentTagsRequest' + - description: Document Identifier + explode: false + in: path + name: documentId 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 + - 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/UpdateMatchingDocumentTagsResponse' + $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: Mass Update document tag(s) + summary: Get document's tags tags: - Document Tags 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}/url: - get: - description: Returns a URL for the document's contents; this URL will expire - (the default is 48 hours) - operationId: GetDocumentUrl + 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 @@ -3348,87 +3174,47 @@ paths: 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 + 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/GetDocumentUrlResponse' - 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' + $ref: "#/components/responses/200Cors" security: - ApiAuthorization: [] - summary: Get document content url + summary: Update document 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/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 + 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: 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,79 +3223,51 @@ paths: schema: type: string style: form - - 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 + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: type: string - style: form + 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: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetDocumentUrlResponse' - 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' + "201": + $ref: "#/components/responses/200Cors" security: - ApiAuthorization: [] - summary: Get url to add 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 - 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 + put: + 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 @@ -3519,84 +3277,54 @@ 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 - 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' + "200": + $ref: "#/components/responses/200Cors" security: - ApiAuthorization: [] - summary: Add large document + summary: Set document's 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 + /documents/{documentId}/tags/{tagKey}: + delete: + description: Delete a document tag by using its key + operationId: DeleteDocumentTag parameters: - description: Site Identifier explode: true @@ -3614,41 +3342,54 @@ paths: schema: type: string style: simple - - description: Checksum Type - explode: true - in: query - name: checksumType - required: false + - description: Tag Key + explode: false + in: path + name: tagKey + required: true schema: - enum: - - SHA1 - - SHA256 type: string - style: form - - description: Checksum value + style: simple + responses: + "200": + $ref: "#/components/responses/200CorsDeleteResponse" + security: + - ApiAuthorization: [] + summary: Delete document tag + tags: + - Document Tags + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: Get a document tag by using its key + operationId: GetDocumentTag + parameters: + - description: Site Identifier explode: true in: query - name: checksum + name: siteId required: false schema: type: string style: form - - description: Indicates the size of the entity-body - explode: true - in: query - name: contentLength - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: - type: integer - style: form - - description: Indicates the number of hours request is valid for - explode: true - in: query - name: duration - required: false + type: string + style: simple + - description: Tag Key + explode: false + in: path + name: tagKey + required: true schema: - type: integer - style: form + type: string + style: simple - description: Share Identifier explode: true in: query @@ -3662,28 +3403,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentUrlResponse' + $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 url to update large document + summary: Get document tag by key 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 - /documents/{documentId}/restore: put: - description: Restores a soft deleted document - operationId: SetDocumentRestore + 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 @@ -3701,79 +3442,38 @@ paths: schema: type: string style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/SetDocumentRestoreResponse' - 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: Restore soft deleted document - tags: - - Documents - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - 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 - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false + - description: Tag Key + explode: false + in: path + name: tagKey + required: true schema: type: string - style: form + style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/DocumentsCompressRequest' + $ref: "#/components/schemas/SetDocumentTagKeyRequest" required: true responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/DocumentsCompressResponse' - 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' + "200": + $ref: "#/components/responses/200Cors" security: - ApiAuthorization: [] - summary: Compress multiple documents into a .zip file + summary: Update document tag value(s) 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 - /attributes: - get: - description: Returns a list of attributes - operationId: GetAttributes + /documents/{documentId}/tags/{tagKey}/{tagValue}: + 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 parameters: - description: Site Identifier explode: true @@ -3783,49 +3483,55 @@ 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: Tag Key Value + explode: false + in: path + name: tagValue + 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: "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetAttributesResponse' - 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' + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] - summary: Get Attributes listing + 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 - post: - description: Creates a new attribute - operationId: AddAttribute + /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 @@ -3839,42 +3545,37 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddAttributeRequest' + $ref: "#/components/schemas/UpdateMatchingDocumentTagsRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddAttributeResponse' - description: 201 CREATED + $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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add new attribute + summary: Mass Update document tag(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}: - delete: - description: Delete a attribute - operationId: DeleteAttribute + /documents/{documentId}/url: + get: + 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 @@ -3884,92 +3585,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/DeleteResponse' + $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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Delete attribute + 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 + /documents/upload: get: - description: Returns a attribute - operationId: GetAttribute + 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: Site Identifier + - description: The upload file's path explode: true in: query - name: siteId + name: path required: false schema: type: string style: form - - description: Key Identifier - explode: false - in: path - name: key - required: true - schema: - type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetAttributeResponse' - 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 Attribute - tags: - - Attributes - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-accepts: - - application/json - /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 in: query @@ -3978,167 +3682,79 @@ paths: schema: type: string style: form - - description: Key Identifier - explode: false - in: path - name: key - required: true + - description: Checksum Type + explode: true + in: query + name: checksumType + required: false schema: + enum: + - SHA1 + - SHA256 type: string - style: simple - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/GetAttributeAllowedValuesResponse' - 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 Attribute Allowed Values - tags: - - Attributes - x-amazon-apigateway-integration: - $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 - parameters: - - description: Site Identifier + style: form + - description: Checksum value explode: true in: query - name: siteId + name: checksum 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 - - description: Next page of results token + - description: Indicates the number of hours request is valid for explode: true in: query - name: next + name: duration required: false schema: - type: string + type: integer style: form - - description: Previous page of results token + - description: Share Identifier explode: true in: query - name: previous + 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 + 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 @@ -4148,58 +3764,84 @@ paths: 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: + 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: - default: "10" type: string style: form 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/DocumentFulltextRequest' + $ref: "#/components/schemas/AddDocumentUploadRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/DocumentFulltextResponse' - 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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Document full-text search + 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 - /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 + /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 parameters: - description: Site Identifier explode: true @@ -4209,40 +3851,84 @@ paths: schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/QueryFulltextRequest' - required: true + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + 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 responses: "200": content: application/json: schema: - $ref: '#/components/schemas/QueryFulltextResponse' + $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: Direct opensearch search API + summary: Get url to update large document tags: - - Advanced Document Search + - Documents 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 - /documents/{documentId}/actions: - get: - description: Get document actions and their status - operationId: GetDocumentActions + /documents/{documentId}/restore: + put: + description: Restores a soft deleted document + operationId: SetDocumentRestore parameters: - description: Site Identifier explode: true @@ -4260,19 +3946,84 @@ paths: schema: type: string style: simple - - description: Limit Results + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentRestoreResponse" + 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: Restore soft deleted document + tags: + - Documents + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + 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 + parameters: + - description: Site Identifier explode: true in: query - name: limit + name: siteId required: false schema: - default: "10" type: string style: form - - description: Share Identifier + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/DocumentsCompressRequest" + required: true + responses: + "201": + content: + application/json: + schema: + $ref: "#/components/schemas/DocumentsCompressResponse" + 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" + security: + - ApiAuthorization: [] + summary: Compress multiple documents into a .zip file + tags: + - Documents + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + x-content-type: application/json + x-accepts: + - application/json + /attributes: + get: + description: Returns a list of attributes + operationId: GetAttributes + parameters: + - description: Site Identifier explode: true in: query - name: shareKey + name: siteId required: false schema: type: string @@ -4285,58 +4036,41 @@ 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/GetDocumentActionsResponse' + $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: Get document actions + summary: Get Attributes listing tags: - - Document Actions + - Attributes 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 + description: Creates a new attribute + operationId: AddAttribute parameters: - description: Site Identifier explode: true @@ -4346,55 +4080,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/AddDocumentActionsRequest' - required: false + $ref: "#/components/schemas/AddAttributeRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentActionsResponse' - 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' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] - summary: Add document action + summary: Add new attribute tags: - - Document Actions + - 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 - /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 + /attributes/{key}: + delete: + description: Delete a attribute + operationId: DeleteAttribute parameters: - description: Site Identifier explode: true @@ -4404,49 +4129,35 @@ 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 responses: "200": - content: - application/json: - schema: - $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' + $ref: "#/components/responses/200CorsDeleteResponse" "400": content: application/json: schema: - $ref: '#/components/schemas/ValidationErrorsResponse' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] - summary: Retries failed document action(s) + summary: Delete attribute tags: - - Document Actions + - 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}/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 + get: + description: Returns a attribute + operationId: GetAttribute parameters: - description: Site Identifier explode: true @@ -4456,10 +4167,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 @@ -4469,29 +4180,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $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: Delete document ocr + summary: Get Attribute tags: - - Document OCR + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" 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 + patch: + description: Updates existing attribute + operationId: UpdateAttribute parameters: - description: Site Identifier explode: true @@ -4501,81 +4210,55 @@ 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: 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 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateAttributeRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentOcrResponse' + $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" + description: 400 OK security: - ApiAuthorization: [] - summary: Get document ocr content + summary: Update existing attribute tags: - - Document OCR + - Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json 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 + /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 @@ -4585,49 +4268,50 @@ 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/AddDocumentOcrRequest' - required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentOcrResponse' + $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: Perform document ocr + summary: Get Attribute Allowed Values 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 - 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 + /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 @@ -4637,49 +4321,114 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - 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 + - 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/SetDocumentOcrRequest' - required: false + $ref: "#/components/schemas/DocumentSearchRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentOcrResponse' + $ref: "#/components/schemas/DocumentSearchResponse" 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 ocr result + summary: Document search tags: - - Document OCR + - Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" x-content-type: application/json 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 + /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 @@ -4689,14 +4438,6 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true - schema: - type: string - style: simple - description: Limit Results explode: true in: query @@ -4706,49 +4447,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/GetDocumentVersionsResponse' + $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's versions + summary: Document full-text search tags: - - Document Versions + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-content-type: application/json x-accepts: - application/json - put: - description: Set document to a previous document version; available as an Add-On - Module - operationId: SetDocumentVersion + /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 explode: true @@ -4758,55 +4499,40 @@ 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/SetDocumentVersionRequest' + $ref: "#/components/schemas/QueryFulltextRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetDocumentVersionResponse' + $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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Set version of document + summary: Direct opensearch search API tags: - - Document Versions + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" 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 + /documents/{documentId}/actions: + get: + description: Get document actions and their status + operationId: GetDocumentActions parameters: - description: Site Identifier explode: true @@ -4824,14 +4550,15 @@ paths: 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: Limit Results + explode: true + in: query + name: limit + required: false + schema: + default: "10" + type: string + style: form - description: Share Identifier explode: true in: query @@ -4840,34 +4567,70 @@ 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 responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $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: Delete document version + summary: Get document actions tags: - - Document Versions + - Document Actions 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 + 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. | | + | 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 @@ -4885,58 +4648,99 @@ paths: schema: type: string style: simple - - description: Attribute Key - explode: false - in: path - name: attributeKey - required: true - schema: - type: string - style: simple - - description: Limit Results + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentActionsRequest" + required: false + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentActionsResponse" + 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: Add document action + tags: + - Document Actions + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /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 in: query - name: limit + name: siteId 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 + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentAttributeVersionsResponse' + $ref: "#/components/schemas/AddDocumentActionsRetryResponse" 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 attribute's versions + summary: Retries failed document action(s) tags: - - Document Attributes + - Document Actions x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /folders: - get: - description: Get list of documents in a folder - operationId: GetFolderDocuments + /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 parameters: - description: Site Identifier explode: true @@ -4946,43 +4750,82 @@ paths: schema: type: string style: form - - description: Index Key Identifier + - description: Document Identifier + explode: false + in: path + name: documentId + required: true + schema: + type: string + style: simple + responses: + "200": + $ref: "#/components/responses/200CorsDeleteResponse" + security: + - ApiAuthorization: [] + summary: Delete document ocr + tags: + - Document OCR + 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: indexKey + name: siteId required: false schema: type: string style: form - - description: Path query parameter (must be URL Encoded) + - 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: path + name: outputType required: false schema: + enum: + - TEXT + - KEY_VALUE + - CONTENT_URL + - TABLES type: string style: form - - description: Limit Results + - description: "Whether to return a \"contentUrl\", set value to 'true' (deprecated)" explode: true in: query - name: limit + name: contentUrl required: false schema: - default: "10" type: string style: form - - description: Share Identifier + - 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: shareKey + name: text required: false schema: 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 @@ -4992,27 +4835,30 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetFoldersResponse' + $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 document folders + summary: Get document ocr content tags: - - Document Folders + - Document OCR x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/searchLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrLambdaApi200" x-accepts: - application/json post: - description: Creates a new folder - operationId: AddFolder + 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 @@ -5022,48 +4868,49 @@ paths: schema: type: string 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: schema: - $ref: '#/components/schemas/AddFolderRequest' - required: true + $ref: "#/components/schemas/AddDocumentOcrRequest" + required: false responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddFolderResponse' - description: 201 CREATED + $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: Add document folder + summary: Perform document ocr tags: - - Document Folders + - Document OCR x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/ocrLambdaApi200" x-content-type: application/json x-accepts: - application/json - /folders/{indexKey}: - delete: - description: Delete a specific folder; folder must be empty - operationId: DeleteFolder + 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 parameters: - description: Site Identifier explode: true @@ -5073,59 +4920,66 @@ 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 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentOcrRequest" required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteFolderResponse' + $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: Delete document folder + summary: Set document ocr result tags: - - Document Folders + - 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 - /shares: + /documents/{documentId}/versions: get: - description: Get a listing of user folder/document shares; available as an Add-On - Module - operationId: GetUserShares + description: Get a listing of document content and metadata versions; available + as an Add-On Module + operationId: GetDocumentVersions parameters: - - description: Group Identifier + - description: Site Identifier explode: true in: query - name: group + 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: Limit Results explode: true in: query @@ -5135,6 +4989,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 @@ -5148,28 +5010,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserSharesResponse' + $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 user shared folders + summary: Get document's versions tags: - - Document Shares + - Document Versions 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 + put: + description: Set document to a previous document version; available as an Add-On + Module + operationId: SetDocumentVersion parameters: - description: Site Identifier explode: true @@ -5179,10 +5041,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 +5053,162 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddFolderShareRequest' + $ref: "#/components/schemas/SetDocumentVersionRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddFolderShareResponse' - description: 201 CREATED + $ref: "#/components/schemas/SetDocumentVersionResponse" + 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: Set version of document tags: - - Document Shares + - Document Versions 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}: + /documents/{documentId}/versions/{versionKey}: delete: - description: Delete a specific document share; available as an Add-On Module - operationId: DeleteShare + description: Delete a specific previous document version; available as an Add-On + Module + operationId: DeleteDocumentVersion parameters: - - description: Share Identifier + - 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: 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: shareKey + required: false + schema: + type: string + style: form + responses: + "200": + $ref: "#/components/responses/200CorsDeleteResponse" + security: + - ApiAuthorization: [] + summary: Delete document version + tags: + - Document Versions + x-amazon-apigateway-integration: + $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 + 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: Attribute Key + explode: false + in: path + name: attributeKey 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/DeleteShareResponse' + $ref: "#/components/schemas/GetDocumentAttributeVersionsResponse" 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 folder share + summary: Get document attribute's versions tags: - - Document Shares + - Document Attributes x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /workflows: + /folders: get: - description: Get a listing of workflows; available as an Add-On Module - operationId: GetWorkflows + description: Get list of documents in a folder + operationId: GetFolderDocuments parameters: - description: Site Identifier explode: true @@ -5272,10 +5218,18 @@ paths: schema: type: string style: form - - description: Next page of results token + - description: Index Key Identifier explode: true in: query - name: next + name: indexKey + required: false + schema: + type: string + style: form + - description: Path query parameter (must be URL Encoded) + explode: true + in: query + name: path required: false schema: type: string @@ -5289,15 +5243,20 @@ paths: default: "10" type: string style: form - - description: Filters Status + - description: Share Identifier explode: true in: query - name: status + name: shareKey + required: false + schema: + type: string + style: form + - description: Next page of results token + explode: true + in: query + name: next required: false schema: - enum: - - ACTIVE - - INACTIVE type: string style: form responses: @@ -5305,27 +5264,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWorkflowsResponse' + $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 workflows + summary: Get document folders 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 post: - description: Creates a new Workflow; available as an Add-On Module - operationId: AddWorkflow + description: Creates a new folder + operationId: AddFolder parameters: - description: Site Identifier explode: true @@ -5335,53 +5294,48 @@ paths: schema: type: string style: form + - description: Share Identifier + explode: true + in: query + name: shareKey + required: false + schema: + type: string + style: form requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddWorkflowRequest' + $ref: "#/components/schemas/AddFolderRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddWorkflowResponse' + $ref: "#/components/schemas/AddFolderResponse" 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: Add workflow + summary: Add document folder tags: - - Document Workflows + - Document Folders 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 - /workflows/{workflowId}: + /folders/{indexKey}: delete: - description: Delete a Workflow; available as an Add-On Module - operationId: DeleteWorkflow + description: Delete a specific folder; folder must be empty + operationId: DeleteFolder parameters: - description: Site Identifier explode: true @@ -5391,40 +5345,49 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Index Key Identifier explode: false in: path - name: workflowId + 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 responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteWorkflowResponse' + $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: Delete workflow + summary: Delete document folder tags: - - Document Workflows + - Document Folders x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /folders/{indexKey}/permissions: get: - description: Get a workflow; available as an Add-On Module - operationId: GetWorkflow + description: Get list of permissions for a folder + operationId: GetFolderPermissions parameters: - description: Site Identifier explode: true @@ -5434,10 +5397,10 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Index Key Identifier explode: false in: path - name: workflowId + name: indexKey required: true schema: type: string @@ -5447,27 +5410,31 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWorkflowResponse' + $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 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 - patch: - description: Update a Workflow details; available as an Add-On Module - operationId: UpdateWorkflow + /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 @@ -5477,60 +5444,94 @@ paths: schema: type: string style: form - - description: Workflow Identifier - explode: false - in: path - name: workflowId - required: true - schema: - type: string - style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/UpdateWorkflowRequest' + $ref: "#/components/schemas/SetFolderPermissionsRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateWorkflowResponse' - description: 20) OK + $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: Update workflow + summary: Get user shared folders tags: - - Document Workflows + - Document Shares 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 - put: - description: Set a Workflow details; available as an Add-On Module - operationId: SetWorkflow + /shares/folders/{indexKey}: + post: + description: Creates a new folder share; available as an Add-On Module + operationId: AddFolderShare parameters: - description: Site Identifier explode: true @@ -5540,10 +5541,10 @@ paths: schema: type: string style: form - - description: Workflow Identifier + - description: Index Key Identifier explode: false in: path - name: workflowId + name: indexKey required: true schema: type: string @@ -5552,110 +5553,78 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetWorkflowRequest' + $ref: "#/components/schemas/AddFolderShareRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/SetWorkflowResponse' - description: 20) 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/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: Set workflow + summary: Add folder share tags: - - Document Workflows + - Document Shares 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 - /workflows/{workflowId}/documents: - get: - description: List documents in Workflow; available as an Add-On Module - operationId: GetWorkflowDocuments + /shares/{shareKey}: + delete: + 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: Workflow Identifier + - description: Share Identifier explode: false in: path - name: workflowId + name: shareKey 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/GetWorkflowDocumentsResponse' + $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: Get list of documents in workflow + summary: Delete folder share tags: - - Document Workflows + - Document Shares x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/searchLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /queues: + /workflows: get: - description: Get a listing of queues; available as an Add-On Module - operationId: GetQueues + description: Get a listing of workflows; available as an Add-On Module + operationId: GetWorkflows parameters: - description: Site Identifier explode: true @@ -5682,32 +5651,43 @@ paths: 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: "200": content: application/json: schema: - $ref: '#/components/schemas/GetQueuesResponse' + $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 queues + summary: Get workflows tags: - Document Workflows 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 + description: Creates a new Workflow; available as an Add-On Module + operationId: AddWorkflow parameters: - description: Site Identifier explode: true @@ -5721,49 +5701,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddQueueRequest' + $ref: "#/components/schemas/AddWorkflowRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddQueueResponse' + $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' + $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 queue + summary: Add workflow 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 - /queues/{queueId}: + /workflows/{workflowId}: delete: - description: Delete a Queue; available as an Add-On Module - operationId: DeleteQueue + description: Delete a Workflow; available as an Add-On Module + operationId: DeleteWorkflow parameters: - description: Site Identifier explode: true @@ -5773,10 +5753,10 @@ paths: schema: type: string style: form - - description: Queue Id + - description: Workflow Identifier explode: false in: path - name: queueId + name: workflowId required: true schema: type: string @@ -5786,27 +5766,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteQueueResponse' + $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: Delete queue + summary: Delete workflow tags: - Document Workflows 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 + description: Get a workflow; available as an Add-On Module + operationId: GetWorkflow parameters: - description: Site Identifier explode: true @@ -5816,10 +5796,10 @@ paths: schema: type: string style: form - - description: Queue Id + - description: Workflow Identifier explode: false in: path - name: queueId + name: workflowId required: true schema: type: string @@ -5829,28 +5809,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetQueueResponse' + $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: Get queue + summary: Get workflow tags: - Document Workflows 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: - get: - description: List documents in Workflow Queue; available as an Add-On Module - operationId: GetWorkflowQueueDocuments + patch: + description: Update a Workflow details; available as an Add-On Module + operationId: UpdateWorkflow parameters: - description: Site Identifier explode: true @@ -5860,114 +5839,60 @@ paths: schema: type: string style: form - - description: Queue Id + - description: Workflow Identifier explode: false in: path - name: queueId + name: workflowId 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/GetWorkflowQueueDocumentsResponse' - 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 documents in queue - tags: - - Document Workflows - x-amazon-apigateway-integration: - $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 - 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 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/UpdateWorkflowRequest" required: true - schema: - type: string - style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetDocumentWorkflowsResponse' - description: 200 CREATED + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' + $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 workflows + summary: Update workflow tags: - 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: Creates a document workflow; available as an Add-On Module - operationId: AddDocumentWorkflow + put: + description: Set a Workflow details; available as an Add-On Module + operationId: SetWorkflow parameters: - description: Site Identifier explode: true @@ -5977,10 +5902,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 @@ -5989,49 +5914,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentWorkflowRequest' + $ref: "#/components/schemas/SetWorkflowRequest" required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentWorkflowResponse' - description: 201 CREATED + $ref: "#/components/schemas/SetWorkflowResponse" + 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' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' + $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 workflow + summary: Set workflow tags: - Document Workflows 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}/workflows/{workflowId}: + /workflows/{workflowId}/documents: get: - description: Gets a document workflow; available as an Add-On Module - operationId: GetDocumentWorkflow + description: List documents in Workflow; available as an Add-On Module + operationId: GetWorkflowDocuments parameters: - description: Site Identifier explode: true @@ -6041,14 +5966,6 @@ 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 @@ -6057,47 +5974,102 @@ 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/GetDocumentWorkflowResponse' - description: 200 CREATED + $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' - "400": + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Get list of documents in workflow + tags: + - Document Workflows + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" + x-accepts: + - application/json + /queues: + get: + description: Get a listing of queues; available as an Add-On Module + operationId: GetQueues + 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/ErrorsResponse' - description: 400 BAD REQUEST + $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 document workflow + summary: Get queues tags: - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" 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 + description: Creates a new Queue; available as an Add-On Module + operationId: AddQueue parameters: - description: Site Identifier explode: true @@ -6107,70 +6079,53 @@ 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/AddQueueRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentWorkflowDecisionsResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" "400": content: application/json: schema: - $ref: '#/components/schemas/ErrorsResponse' + $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: Approve/Reject document in approval queue + 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 - /documents/{documentId}/antivirus: - put: - description: Perform an Anti-Malware / Antivirus scan on a document; available - as an Add-On Module - operationId: SetAntivirus + /queues/{queueId}: + delete: + description: Delete a Queue; available as an Add-On Module + operationId: DeleteQueue parameters: - description: Site Identifier explode: true @@ -6180,57 +6135,40 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Queue Id explode: false in: path - name: documentId + name: queueId 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/SetAntivirusResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Antivirus document scan + summary: Delete queue tags: - - Antivirus + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /documents/{documentId}/fulltext: - delete: - description: Remove full text search for a document from OpenSearch; available - as an Add-On Module - operationId: DeleteDocumentFulltext + get: + description: Get a queue; available as an Add-On Module + operationId: GetQueue parameters: - description: Site Identifier explode: true @@ -6240,10 +6178,10 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Queue Id explode: false in: path - name: documentId + name: queueId required: true schema: type: string @@ -6253,27 +6191,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteFulltextResponse' + $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: Delete document full-text + summary: Get queue 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 + /queues/{queueId}/documents: get: - description: "Retrieve an OpenSearch document's details, i.e., metadata" - operationId: GetDocumentFulltext + description: List documents in Workflow Queue; available as an Add-On Module + operationId: GetWorkflowQueueDocuments parameters: - description: Site Identifier explode: true @@ -6283,18 +6222,27 @@ paths: schema: type: string style: form - - description: Document Identifier + - description: Queue Id explode: false in: path - name: documentId + name: queueId required: true schema: type: string style: simple - - description: Share Identifier + - description: Limit Results explode: true in: query - name: shareKey + 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 @@ -6304,27 +6252,28 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentFulltextResponse' + $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 document's full-text + summary: Get list of documents in queue tags: - - Advanced Document Search + - Document Workflows x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/searchLambdaApi200" x-accepts: - application/json - patch: - description: Update a document in OpenSearch; available as an Add-On Module - operationId: UpdateDocumentFulltext + /documents/{documentId}/workflows: + get: + description: Gets a document workflows; available as an Add-On Module + operationId: GetDocumentWorkflows parameters: - description: Site Identifier explode: true @@ -6342,39 +6291,45 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateDocumentFulltextRequest' - required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateDocumentFulltextResponse' - description: 200 OK + $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: Update document's full-text + summary: Get document workflows 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 post: - description: Add a document to OpenSearch; available as an Add-On Module - operationId: AddDocumentFulltext + description: Creates a document workflow; available as an Add-On Module + operationId: AddDocumentWorkflow parameters: - description: Site Identifier explode: true @@ -6396,36 +6351,49 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentFulltextRequest' - required: false + $ref: "#/components/schemas/AddDocumentWorkflowRequest" + required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentFulltextResponse' - 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: Add document's full-text + summary: Add document 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 - put: - description: Set all text/tags found within a document to OpenSearch; available - as an Add-On Module - operationId: SetDocumentFulltext + /documents/{documentId}/workflows/{workflowId}: + get: + description: Gets a document workflow; available as an Add-On Module + operationId: GetDocumentWorkflow parameters: - description: Site Identifier explode: true @@ -6443,40 +6411,55 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/SetDocumentFulltextRequest' - required: false + - description: Workflow Identifier + explode: false + in: path + name: workflowId + required: true + schema: + type: string + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetDocumentFulltextResponse' - 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: Set document's full-text + summary: Get document 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 - /documents/{documentId}/fulltext/tags/{tagKey}: - delete: - description: Remove document tags from OpenSearch; available as an Add-On Module - operationId: DeleteDocumentFulltextTag + /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 @@ -6494,47 +6477,62 @@ paths: 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: Share Identifier - explode: true - in: query - name: shareKey - required: false - schema: - type: string - style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentWorkflowDecisionsRequest" + required: true responses: - "200": - content: {} - description: 200 OK + "201": + content: + application/json: + schema: + $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: Delete document full-text tag + summary: Approve/Reject document in approval queue 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 - /documents/{documentId}/fulltext/tags/{tagKey}/{tagValue}: - delete: - description: Remove document tag/value from OpenSearch; available as an Add-On - Module - operationId: DeleteDocumentFulltextTagAndValue + /documents/{documentId}/antivirus: + put: + description: Perform an Anti-Malware / Antivirus scan on a document; available + as an Add-On Module + operationId: SetAntivirus parameters: - description: Site Identifier explode: true @@ -6552,22 +6550,6 @@ paths: 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 @@ -6576,31 +6558,50 @@ paths: schema: type: string style: form + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetAntivirusRequest" + required: false responses: "200": - content: {} + content: + application/json: + schema: + $ref: "#/components/schemas/SetAntivirusResponse" 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/value + summary: Antivirus document scan tags: - - Advanced Document Search + - Antivirus x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/syncs: - get: - description: Retrieve the document syncs with external services status - operationId: GetDocumentSyncs + /documents/{documentId}/fulltext: + delete: + description: Remove full text search for a document from OpenSearch; available + as an Add-On Module + operationId: DeleteDocumentFulltext parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form - description: Document Identifier explode: false in: path @@ -6609,6 +6610,33 @@ paths: schema: type: string style: simple + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/DeleteFulltextResponse" + 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 full-text + tags: + - Advanced Document Search + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-accepts: + - application/json + get: + description: "Retrieve an OpenSearch document's details, i.e., metadata" + operationId: GetDocumentFulltext + parameters: - description: Site Identifier explode: true in: query @@ -6617,15 +6645,14 @@ paths: schema: type: string style: form - - description: Limit Results - explode: true - in: query - name: limit - required: false + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: - default: "10" type: string - style: form + style: simple - description: Share Identifier explode: true in: query @@ -6639,27 +6666,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetDocumentSyncResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document syncs + summary: Get document's full-text tags: - - Documents + - 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 - post: - description: Add a document to a service - operationId: AddDocumentSync + patch: + description: Update a document in OpenSearch; available as an Add-On Module + operationId: UpdateDocumentFulltext parameters: - description: Site Identifier explode: true @@ -6681,36 +6708,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentSyncRequest' + $ref: "#/components/schemas/UpdateDocumentFulltextRequest" required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add document sync to service + summary: Update document's full-text tags: - - Documents + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-content-type: application/json x-accepts: - application/json - /userActivities: - get: - description: Retrieve a user's activities - operationId: GetUserActivities + post: + description: Add a document to OpenSearch; available as an Add-On Module + operationId: AddDocumentFulltext parameters: - description: Site Identifier explode: true @@ -6720,58 +6746,48 @@ 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 + - description: Document Identifier + explode: false + in: path + name: documentId + required: true schema: - default: "10" type: string - style: form - - description: Fetch specific user activities - explode: true - in: query - name: userId + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocumentFulltextRequest" required: false - schema: - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetUserActivitesResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get user activities + summary: Add document's full-text tags: - - User Activities + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /documents/{documentId}/userActivities: - get: - description: Retrieve a user's activities for a document - operationId: GetDocumentUserActivities + 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 @@ -6789,55 +6805,40 @@ paths: 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 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentFulltextRequest" required: false - schema: - default: "10" - type: string - style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetUserActivitesResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get user activities for a document + summary: Set document's full-text tags: - - User Activities + - Advanced Document Search x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-content-type: application/json 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 + /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 @@ -6847,90 +6848,47 @@ paths: schema: type: string style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentRequest' + - description: Document Identifier + explode: false + in: path + name: documentId required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocumentResponse' - 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' - summary: Public add document - tags: - - Public - x-amazon-apigateway-integration: - $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 - parameters: - - description: Site Identifier - explode: true - in: query - name: siteId - required: false schema: type: string - style: form - - description: Web Hook Param + style: simple + - description: Tag Key explode: false in: path - name: webhooks+ + name: tagKey required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - type: object - required: true + - 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/DocumentId' - 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: Public add webhook + $ref: "#/components/responses/200Cors" + security: + - ApiAuthorization: [] + summary: Delete document full-text tag tags: - - Public + - 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 - /private/webhooks/{webhooks+}: - post: - description: Receive an incoming private webhook and creates a document based - on the webhook's body; requires authentication - operationId: AddWebhookDocument + /documents/{documentId}/fulltext/tags/{tagKey}/{tagValue}: + delete: + description: Remove document tag/value from OpenSearch; available as an Add-On + Module + operationId: DeleteDocumentFulltextTagAndValue parameters: - description: Site Identifier explode: true @@ -6940,51 +6898,63 @@ paths: schema: type: string style: form - - description: Web Hook Param + - description: Document Identifier explode: false in: path - name: webhooks+ + name: documentId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - type: object + - 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/DocumentId' - 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' + $ref: "#/components/responses/200Cors" security: - ApiAuthorization: [] - summary: Add webhook + summary: Delete document full-text tag/value tags: - - Webhooks + - 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 - /webhooks: + /documents/{documentId}/syncs: 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: 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 @@ -6993,21 +6963,21 @@ paths: schema: type: string style: form - - description: Next page of results token + - description: Limit Results explode: true in: query - name: next + 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 responses: @@ -7015,29 +6985,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetWebhooksResponse' + $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 webhooks + summary: Get document syncs tags: - - Webhooks + - 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: "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 + description: Add a document to a service + operationId: AddDocumentSync parameters: - description: Site Identifier explode: true @@ -7047,50 +7015,49 @@ 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/AddWebhookRequest' - required: true + $ref: "#/components/schemas/AddDocumentSyncRequest" + required: false responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/AddWebhookResponse' - 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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add webhook + summary: Add document sync to service tags: - - Webhooks + - Documents 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 - /webhooks/{webhookId}: - delete: - description: "Delete a webhook; this will disable sending, receiving, or processing\ - \ of data from external services to this webhook" - operationId: DeleteWebhook + /userActivities: + get: + description: Retrieve a user's activities + operationId: GetUserActivities 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 +7066,58 @@ 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: 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/DeleteResponse' + $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: Delete webhook + summary: Get user activities tags: - - Webhooks + - User Activities x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json + /documents/{documentId}/userActivities: get: - description: "Return a webhook's details, i.e., its metadata" - operationId: GetWebhook + description: Retrieve a user's activities for a document + operationId: GetDocumentUserActivities parameters: - description: Site Identifier explode: true @@ -7134,40 +7127,58 @@ 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: 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/GetWebhookResponse' + $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: Get webhook + summary: Get user activities for a document tags: - - Webhooks + - User Activities 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 + /activities: + get: + description: Retrieve an resource activities + operationId: GetResourceActivities parameters: - description: Site Identifier explode: true @@ -7177,100 +7188,99 @@ paths: schema: type: string style: form - - description: Web Hook Param - explode: false - in: path - name: webhookId - required: true - schema: + - description: Document Identifier + explode: true + in: query + name: documentId + required: false + schema: type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddWebhookRequest' - 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' - security: - - ApiAuthorization: [] - summary: Update webhook - tags: - - Webhooks - x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' - x-content-type: application/json - x-accepts: - - application/json - /webhooks/{webhookId}/tags: - get: - description: Get a webhook's tags - operationId: GetWebhookTags - parameters: - - description: Site Identifier + style: form + - description: EntityType Identifier explode: true in: query - name: siteId + name: entityTypeId required: false schema: type: string style: form - - description: Web Hook Param - explode: false - in: path - name: webhookId - required: true + - 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: 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 + name: limit + required: false + schema: + 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/GetWebhookTagsResponse' + $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 webhook tags + summary: Get resource activities tags: - - Webhooks + - User Activities 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: Add a tag to a webhook - operationId: AddWebhookTag + 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: Web Hook Param - explode: false - in: path - name: webhookId - required: true - schema: - type: string - style: simple - description: Site Identifier explode: true in: query @@ -7282,42 +7292,37 @@ paths: 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' + $ref: "#/components/schemas/AddDocumentRequest" required: true responses: "201": - content: {} - description: 200 OK + content: + application/json: + schema: + $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 webhook tag + $ref: "#/components/headers/AccessControlAllowHeaders" + summary: Public add document tags: - - Webhooks + - Public 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 - /indices/{indexType}/move: + /public/webhooks/{webhooks+}: post: - description: Perform an Folder Index Move - operationId: IndexFolderMove + 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 @@ -7327,10 +7332,10 @@ paths: schema: type: string style: form - - description: Index Type + - description: Web Hook Param explode: false in: path - name: indexType + name: webhooks+ required: true schema: type: string @@ -7339,44 +7344,35 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/IndexFolderMoveRequest' + type: object required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/IndexFolderMoveResponse' + $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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK - security: - - ApiAuthorization: [] + $ref: "#/components/headers/AccessControlAllowHeaders" + summary: Public add webhook tags: - - Custom Index + - Public 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 - /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 + /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 @@ -7386,55 +7382,50 @@ paths: schema: type: string style: form - - description: Index Key Identifier + - description: Web Hook Param explode: false in: path - name: indexKey + name: webhooks+ required: true schema: type: string style: simple - - description: Index Type - explode: false - in: path - name: indexType + requestBody: + content: + application/json: + schema: + type: object required: true - schema: - type: string - style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteIndicesResponse' + $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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] + summary: Add webhook tags: - - Custom Index + - Webhooks 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 - /indices/search: - post: - description: Perform a search on a index; this is currently available for both - folder and tag indices - operationId: IndexSearch + /webhooks: + 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 parameters: - description: Site Identifier explode: true @@ -7444,15 +7435,6 @@ 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 @@ -7461,55 +7443,43 @@ paths: schema: type: string style: form - - description: Previous page of results token + - description: Limit Results explode: true in: query - name: previous + name: limit required: false schema: + default: "10" 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/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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] + summary: Get webhooks tags: - - Custom Index - - Tag Index + - Webhooks 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 - /esignature/docusign/{documentId}/envelopes: post: - description: DocuSign create Docusign Envelope request; available as an Add-On - Module - operationId: AddDocusignEnvelopes + 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 @@ -7519,56 +7489,50 @@ 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/AddDocusignEnvelopesRequest' + $ref: "#/components/schemas/AddWebhookRequest" required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocusignEnvelopesResponse' - 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' - "400": - content: - application/json: - schema: - $ref: '#/components/schemas/ValidationErrorsResponse' - description: 400 OK + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Create Docusign Envelope request + summary: Add webhook tags: - - E-Signature + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" 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 - parameters: + /webhooks/{webhookId}: + delete: + description: "Delete a webhook; this will disable sending, receiving, or processing\ + \ of data from external services to this webhook" + operationId: DeleteWebhook + 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 @@ -7577,205 +7541,275 @@ paths: schema: type: string style: form - - description: Document Identifier - explode: false - in: path - name: documentId - required: true + responses: + "200": + $ref: "#/components/responses/200CorsDeleteResponse" + security: + - ApiAuthorization: [] + summary: Delete webhook + tags: + - Webhooks + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + get: + description: "Return a webhook's details, i.e., its metadata" + operationId: GetWebhook + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false schema: type: string - style: simple - - description: Docusign Envelope Id + style: form + - description: Web Hook Param explode: false in: path - name: envelopeId + name: webhookId required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/AddDocusignRecipientViewRequest' - required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddDocusignRecipientViewResponse' + $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' - "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: Get webhook tags: - - E-Signature + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200' - x-content-type: application/json + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /esignature/docusign/events: - post: - description: DocuSign callback URL handler; available as an Add-On Module - operationId: AddEsignatureDocusignEvents + patch: + description: "Updates a webhook's details, i.e., its metadata" + operationId: UpdateWebhook + parameters: + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Web Hook Param + explode: false + in: path + name: webhookId + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddWebhookRequest" + 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' - summary: Add E-signature event + $ref: "#/components/responses/200CorsUpdateResponse" + security: + - ApiAuthorization: [] + summary: Update webhook tags: - - E-Signature + - Webhooks x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-content-type: application/json x-accepts: - application/json - /groups: + /webhooks/{webhookId}/tags: get: - description: Returns the list of user groups - operationId: GetGroups + description: Get a webhook's tags + operationId: GetWebhookTags 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 - explode: true - in: query - name: next - required: false + - description: Web Hook Param + explode: false + in: path + name: webhookId + required: true schema: type: string - style: form + style: simple responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetGroupsResponse' + $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 user group(s) + summary: Get webhook tags tags: - - User Management + - Webhooks 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 a new group - operationId: AddGroup + 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 + name: siteId + 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/AddGroupRequest' + $ref: "#/components/schemas/AddWebhookTagRequest" 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' + "201": + $ref: "#/components/responses/200Cors" security: - ApiAuthorization: [] - summary: Add a group + summary: Add webhook tag tags: - - User Management + - Webhooks 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 - /groups/{groupName}: - delete: - description: Delete Group - operationId: DeleteGroup + /indices/{indexType}/move: + post: + description: Perform an Folder Index Move + operationId: IndexFolderMove parameters: - - description: Group Name + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Index Type explode: false in: path - name: groupName + name: indexType required: true schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/IndexFolderMoveRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $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 Group tags: - - User Management + - Custom Index 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 - get: - description: Returns a user group - operationId: GetGroup + /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: Group Name + - description: Site Identifier + explode: true + in: query + name: siteId + required: false + schema: + type: string + style: form + - description: Index Key Identifier explode: false in: path - name: groupName + name: indexKey + required: true + schema: + type: string + style: simple + - description: Index Type + explode: false + in: path + name: indexType required: true schema: type: string @@ -7785,37 +7819,43 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetGroupResponse' + $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 a user group tags: - - User Management + - Custom Index x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /groups/{groupName}/users: - get: - description: Returns the list of users in a group - operationId: GetUsersInGroup + /indices/search: + post: + description: Perform a search on a index; this is currently available for both + folder and tag indices + operationId: IndexSearch 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 + style: form - description: Limit Results explode: true in: query @@ -7833,37 +7873,68 @@ paths: schema: type: string 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/IndexSearchRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GetUsersInGroupResponse' + $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: Get users in a group tags: - - User Management + - Custom Index + - Tag Index 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 + /esignature/docusign/{documentId}/envelopes: post: - description: Adds a user to a group - operationId: AddUserToGroup + description: DocuSign create Docusign Envelope request; available as an Add-On + Module + operationId: AddDocusignEnvelopes 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,80 +7943,133 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddUserRequest' + $ref: "#/components/schemas/AddDocusignEnvelopesRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddResponse' + $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: Add User to a group + summary: Create Docusign Envelope request tags: - - User Management + - E-Signature x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200" x-content-type: application/json x-accepts: - application/json - /groups/{groupName}/users/{username}: - delete: - description: Remove Username From Group - operationId: RemoveUsernameFromGroup + /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: 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 - - description: Username + - description: Docusign Envelope Id explode: false in: path - name: username + name: envelopeId required: true schema: type: string style: simple + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/AddDocusignRecipientViewRequest" + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/DeleteResponse' + $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: Remove Username From Group + summary: Create Docusign Recipient View request tags: - - User Management + - E-Signature x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/esignatureLambdaApi200" + x-content-type: application/json x-accepts: - application/json - /users: + /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 the list of users - operationId: GetUsers + description: Returns the list of user groups + operationId: GetGroups parameters: - description: Limit Results explode: true @@ -7969,66 +8093,66 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUsersResponse' + $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 user(s) + summary: Get list of user group(s) tags: - 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: Adds a user - operationId: AddUser + description: Add a new group + operationId: AddGroup requestBody: content: application/json: schema: - $ref: '#/components/schemas/AddUserRequest' + $ref: "#/components/schemas/AddGroupRequest" required: true 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 + summary: Add a group tags: - User 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 - /users/{username}: + /groups/{groupName}: delete: - description: Delete Username - operationId: DeleteUsername + description: Delete Group + operationId: DeleteGroup parameters: - - description: Username + - description: Group Name explode: false in: path - name: username + name: groupName required: true schema: type: string @@ -8038,32 +8162,32 @@ 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 Username + summary: Delete Group tags: - User Management 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 user - operationId: GetUser + description: Returns a user group + operationId: GetGroup parameters: - - description: Username + - description: Group Name explode: false in: path - name: username + name: groupName required: true schema: type: string @@ -8073,33 +8197,33 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserResponse' + $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: Get a user + summary: Get a user group tags: - 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/{username}/groups: + /groups/{groupName}/users: get: - description: Returns a list of group user belongs to - operationId: GetListOfUserGroups + description: Returns the list of users in a group + operationId: GetUsersInGroup parameters: - - description: Username + - description: Group Name explode: false in: path - name: username + name: groupName required: true schema: type: string @@ -8126,47 +8250,85 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetUserGroupsResponse' + $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: Returns a list of group user belongs to + summary: Get users in a group tags: - 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/{username}/{userOperation}: - put: - description: "Set User Operation (disable, enable, reset-password)" - operationId: SetUserOperation + post: + description: Adds a user to a group + operationId: AddUserToGroup parameters: - - description: Username + - description: Group Name explode: false in: path - name: username + name: groupName required: true schema: type: string style: simple - - description: Username Operation + 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 to a group + tags: + - User Management + x-amazon-apigateway-integration: + $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 + parameters: + - description: Group Name explode: false in: path - name: userOperation + name: groupName + required: true + schema: + type: string + style: simple + - description: Username + explode: false + in: path + name: username required: true schema: - enum: - - DISABLE - - ENABLE - - RESET_PASSWORD type: string style: simple responses: @@ -8174,35 +8336,36 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $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: Set User Operation + summary: Remove Username From Group tags: - User Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json - /cases: + /users: get: - description: Returns a list of the Cases; available as an Add-On Module - operationId: GetCases + 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: Next page of results token @@ -8213,45 +8376,294 @@ 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/GetCasesResponse' + $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 Case listing + summary: Get list of user(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 case; available as an Add-On Module - operationId: AddCase - parameters: - - description: Site Identifier - explode: true - in: query + 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 + 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/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 + 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/GetCasesResponse" + 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 listing + tags: + - Case Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" + x-accepts: + - application/json + post: + description: Adds new case; available as an Add-On Module + operationId: AddCase + parameters: + - description: Site Identifier + explode: true + in: query name: siteId required: false schema: @@ -8261,29 +8673,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddCaseRequest' + $ref: "#/components/schemas/AddCaseRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddCaseResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Add New Case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -8313,22 +8725,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseResponse' + $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 Case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json get: @@ -8356,22 +8768,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseResponse' + $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 Case details tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json patch: @@ -8398,29 +8810,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateCaseRequest' + $ref: "#/components/schemas/UpdateCaseRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateCaseResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Update existing Case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -8467,22 +8879,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseDocumentsResponse' + $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 list of document in a case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json /cases/{caseId}/documents/{documentId}: @@ -8519,22 +8931,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseDocumentResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Delete Document from Case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json /cases/{caseId}/tasks/{taskId}: @@ -8571,22 +8983,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseTaskResponse' + $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 Task tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json get: @@ -8622,22 +9034,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseTaskResponse' + $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 task in a case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json patch: @@ -8672,29 +9084,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateTaskRequest' + $ref: "#/components/schemas/UpdateTaskRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateTaskResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Update existing Task tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -8749,22 +9161,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseDocumentsResponse' + $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 list of document in a task tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json /cases/{caseId}/tasks/{taskId}/documents/{documentId}: @@ -8809,22 +9221,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseTaskDocumentResponse' + $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: Delete Document from Task tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json /cases/{caseId}/nigos/{nigoId}: @@ -8861,22 +9273,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseNigoResponse' + $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 Nigo tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json get: @@ -8912,22 +9324,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseNigoResponse' + $ref: "#/components/schemas/GetCaseNigoResponse" 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 nigo in a case tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json patch: @@ -8962,29 +9374,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateNigoRequest' + $ref: "#/components/schemas/UpdateNigoRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateNigoResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Update existing Nigo tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -9039,22 +9451,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseDocumentsResponse' + $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 list of document in a task tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json /cases/{caseId}/nigos/{nigoId}/documents/{documentId}: @@ -9099,22 +9511,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteCaseNigoDocumentResponse' + $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' + $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' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json /cases/{caseId}/tasks: @@ -9160,22 +9572,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseTasksResponse' + $ref: "#/components/schemas/GetCaseTasksResponse" 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 tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json post: @@ -9202,29 +9614,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddTaskRequest' + $ref: "#/components/schemas/AddTaskRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddTaskResponse' + $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' + $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] summary: Add New Task tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -9271,22 +9683,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetCaseNigosResponse' + $ref: "#/components/schemas/GetCaseNigosResponse" 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 tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-accepts: - application/json post: @@ -9313,29 +9725,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddNigoRequest' + $ref: "#/components/schemas/AddNigoRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/AddNigoResponse' + $ref: "#/components/schemas/AddNigoResponse" 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 tags: - Case Management x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/caseManagementLambdaApi200" x-content-type: application/json x-accepts: - application/json @@ -9374,22 +9786,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetMappingsResponse' + $ref: "#/components/schemas/GetMappingsResponse" 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 tags: - Mappings x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: @@ -9408,27 +9820,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddMappingRequest' + $ref: "#/components/schemas/AddMappingRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddMappingResponse' + $ref: "#/components/schemas/AddMappingResponse" 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: [] @@ -9436,7 +9848,7 @@ paths: tags: - Mappings 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 @@ -9466,22 +9878,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: Delete Mapping tags: - Mappings x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: @@ -9509,22 +9921,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetMappingResponse' + $ref: "#/components/schemas/GetMappingResponse" 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 tags: - Mappings x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json put: @@ -9551,27 +9963,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SetMappingRequest' + $ref: "#/components/schemas/SetMappingRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/SetResponse' + $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' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] @@ -9579,7 +9991,7 @@ paths: tags: - Mappings 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 @@ -9618,22 +10030,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRulesetsResponse' + $ref: "#/components/schemas/GetRulesetsResponse" 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 tags: - Rulesets x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: @@ -9652,27 +10064,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddRulesetRequest' + $ref: "#/components/schemas/AddRulesetRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddRulesetResponse' + $ref: "#/components/schemas/AddRulesetResponse" 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: [] @@ -9680,7 +10092,7 @@ paths: tags: - Rulesets 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 @@ -9710,22 +10122,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteRulesetResponse' + $ref: "#/components/schemas/DeleteRulesetResponse" 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 tags: - Rulesets x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: @@ -9753,22 +10165,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRulesetResponse' + $ref: "#/components/schemas/GetRulesetResponse" 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 tags: - Rulesets x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json patch: @@ -9795,27 +10207,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateRulesetRequest' + $ref: "#/components/schemas/UpdateRulesetRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateRulesetResponse' + $ref: "#/components/schemas/UpdateRulesetResponse" 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: [] @@ -9823,7 +10235,7 @@ paths: tags: - Rulesets 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 @@ -9870,22 +10282,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRulesResponse' + $ref: "#/components/schemas/GetRulesResponse" 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 tags: - Rulesets x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json post: @@ -9912,27 +10324,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddRuleRequest' + $ref: "#/components/schemas/AddRuleRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddRuleResponse' + $ref: "#/components/schemas/AddRuleResponse" 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: [] @@ -9940,7 +10352,7 @@ paths: tags: - Rulesets 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 @@ -9978,22 +10390,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/DeleteRuleResponse' + $ref: "#/components/schemas/DeleteRuleResponse" 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 tags: - Rulesets x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: @@ -10029,22 +10441,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetRuleResponse' + $ref: "#/components/schemas/GetRuleResponse" 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 tags: - Rulesets x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json patch: @@ -10079,27 +10491,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/UpdateRuleRequest' + $ref: "#/components/schemas/UpdateRuleRequest" required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/UpdateRuleResponse' + $ref: "#/components/schemas/UpdateRuleResponse" 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' + $ref: "#/components/schemas/ValidationErrorsResponse" description: 400 OK security: - ApiAuthorization: [] @@ -10107,7 +10519,7 @@ paths: tags: - Rulesets 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 @@ -10130,22 +10542,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetExaminePdfUrlResponse' + $ref: "#/components/schemas/GetExaminePdfUrlResponse" 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 tags: - Examine Objects x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200" x-accepts: - application/json /objects/examine/{id}/pdf: @@ -10177,22 +10589,22 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GetExaminePdfResponse' + $ref: "#/components/schemas/GetExaminePdfResponse" description: 201 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 tags: - Examine Objects x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/ocrObjectsLambdaApi200" x-accepts: - application/json /publications/{documentId}: @@ -10221,25 +10633,14 @@ paths: 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' + $ref: "#/components/responses/200CorsDeleteResponse" security: - ApiAuthorization: [] summary: Delete published document's contents tags: - Documents x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200' + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: - application/json get: @@ -10280,7 +10681,7 @@ paths: tags: - 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}/generate: @@ -10313,27 +10714,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddDocumentGenerateRequest' + $ref: "#/components/schemas/AddDocumentGenerateRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddDocumentGenerateResponse' + $ref: "#/components/schemas/AddDocumentGenerateResponse" 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: [] @@ -10341,7 +10742,7 @@ paths: tags: - Document Generation x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/documentGenerationLambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/documentGenerationLambdaApi201" x-content-type: application/json x-accepts: - application/json @@ -10370,27 +10771,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddGoogleDocumentExportRequest' + $ref: "#/components/schemas/AddGoogleDocumentExportRequest" required: true responses: "201": content: application/json: schema: - $ref: '#/components/schemas/AddGoogleDocumentExportResponse' + $ref: "#/components/schemas/AddGoogleDocumentExportResponse" 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: [] @@ -10398,7 +10799,7 @@ paths: tags: - Google Integration x-amazon-apigateway-integration: - $ref: '#/components/x-amazon-apigateway-integrations/googleLambdaApi201' + $ref: "#/components/x-amazon-apigateway-integrations/googleLambdaApi201" x-content-type: application/json x-accepts: - application/json @@ -10430,27 +10831,27 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/AddReindexDocumentRequest' + $ref: "#/components/schemas/AddReindexDocumentRequest" 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: [] @@ -10458,25 +10859,541 @@ paths: tags: - Reindex 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 -components: - headers: - AccessControlAllowOrigin: - explode: false - schema: - type: string - style: simple - AccessControlAllowMethods: - explode: false - schema: - type: string - style: simple - AccessControlAllowHeaders: - explode: false - schema: + /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": + $ref: "#/components/responses/200CorsDeleteResponse" + 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": + $ref: "#/components/responses/200CorsDeleteResponse" + 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: @@ -10570,6 +11487,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 +11550,18 @@ components: 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 +11580,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 @@ -10807,6 +11790,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 +11976,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 +12046,7 @@ components: errors: description: List of errors items: - $ref: '#/components/schemas/ValidationError' + $ref: "#/components/schemas/ValidationError" type: array type: object ValidationError: @@ -11146,7 +12138,7 @@ components: values: description: List of search results items: - $ref: '#/components/schemas/IndexSearch' + $ref: "#/components/schemas/IndexSearch" type: array type: object IndexSearch: @@ -11214,7 +12206,7 @@ components: attributes: description: List of document attribute versions items: - $ref: '#/components/schemas/DocumentAttribute' + $ref: "#/components/schemas/DocumentAttribute" type: array type: object GetDocumentVersionsResponse: @@ -11244,7 +12236,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 +12350,7 @@ components: queues: description: List of queues items: - $ref: '#/components/schemas/Queue' + $ref: "#/components/schemas/Queue" type: array type: object Queue: @@ -11322,7 +12390,7 @@ components: workflows: description: List of workflows items: - $ref: '#/components/schemas/WorkflowSummary' + $ref: "#/components/schemas/WorkflowSummary" type: array type: object GetQueueResponse: @@ -11409,11 +12477,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: @@ -11449,13 +12517,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 +12570,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 +12603,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 +12645,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 +12657,7 @@ components: description: User who created share type: string permissionType: - $ref: '#/components/schemas/UserSharePermissionType' + $ref: "#/components/schemas/UserSharePermissionType" type: object GetDocumentAttributeResponse: example: @@ -11609,7 +12677,7 @@ components: key: key properties: attribute: - $ref: '#/components/schemas/DocumentAttribute' + $ref: "#/components/schemas/DocumentAttribute" type: object GetDocumentAttributesResponse: example: @@ -11648,7 +12716,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/DocumentAttribute' + $ref: "#/components/schemas/DocumentAttribute" type: array type: object GetDocumentTagsResponse: @@ -11684,7 +12752,7 @@ components: tags: description: List of tags items: - $ref: '#/components/schemas/DocumentTag' + $ref: "#/components/schemas/DocumentTag" type: array type: object SetDocumentVersionRequest: @@ -11780,20 +12848,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 +12927,7 @@ components: documents: description: List of child documents items: - $ref: '#/components/schemas/AddChildDocumentResponse' + $ref: "#/components/schemas/AddChildDocumentResponse" type: array type: object AddChildDocumentResponse: @@ -11979,7 +13047,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 +13066,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 +13074,7 @@ components: metadata: description: List of document Metadata items: - $ref: '#/components/schemas/DocumentMetadata' + $ref: "#/components/schemas/DocumentMetadata" type: array required: - documentId @@ -12142,9 +13210,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 +13267,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 +13291,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 +13421,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 +13469,7 @@ components: description: Attribute with boolean value type: boolean valueType: - $ref: '#/components/schemas/AttributeValueType' + $ref: "#/components/schemas/AttributeValueType" DocumentSearchMeta: example: path: path @@ -12453,7 +13521,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 +13548,7 @@ components: description: End of range query type: string type: - $ref: '#/components/schemas/SearchRangeDataType' + $ref: "#/components/schemas/SearchRangeDataType" required: - end - start @@ -12502,7 +13570,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 +13602,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 +13638,7 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array required: - name @@ -12615,17 +13683,21 @@ components: 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 notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: @@ -12635,17 +13707,21 @@ components: 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 notificationHtml: notificationHtml + height: height height: height tags: - values: @@ -12678,24 +13754,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: @@ -12831,17 +13907,21 @@ components: 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 notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: @@ -12851,17 +13931,21 @@ components: 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 notificationHtml: notificationHtml + height: height height: height properties: documentId: @@ -12872,7 +13956,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 +13981,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 @@ -13048,17 +14132,21 @@ components: 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 notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: @@ -13068,17 +14156,21 @@ components: 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 notificationHtml: notificationHtml + height: height height: height properties: path: @@ -13106,31 +14198,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 +14234,7 @@ components: group: group properties: share: - $ref: '#/components/schemas/AddShare' + $ref: "#/components/schemas/AddShare" type: object AddShare: example: @@ -13157,7 +14249,7 @@ components: permissions: description: List of share permissions items: - $ref: '#/components/schemas/UserSharePermission' + $ref: "#/components/schemas/UserSharePermission" type: array type: object SetDocumentRestoreResponse: @@ -13238,9 +14330,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 +14352,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 +14382,7 @@ components: attributes: description: List of document attributes items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array type: object AddDocumentAttributesRequest: @@ -13321,7 +14413,7 @@ components: attributes: description: List of document attributes items: - $ref: '#/components/schemas/AddDocumentAttribute' + $ref: "#/components/schemas/AddDocumentAttribute" type: array type: object AddDocumentTagsRequest: @@ -13342,7 +14434,7 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array type: object DocumentMetadata: @@ -13426,9 +14518,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 +14539,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 +14594,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 +14688,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 +14701,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 +14729,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 +14791,7 @@ components: description: User who added attribute type: string valueType: - $ref: '#/components/schemas/AttributeValueType' + $ref: "#/components/schemas/AttributeValueType" type: object DocumentTag: example: @@ -13858,7 +14970,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 +15031,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 +15051,7 @@ components: type: object attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object AttributeValueType: @@ -13954,6 +15066,7 @@ components: - COMPOSITE_STRING - RELATIONSHIPS - WATERMARK + - ENTITY type: string FulltextAttribute: example: @@ -13980,7 +15093,7 @@ components: description: Attribute with boolean value type: boolean valueType: - $ref: '#/components/schemas/AttributeValueType' + $ref: "#/components/schemas/AttributeValueType" type: object GetDocumentFulltextResponse: example: @@ -14053,7 +15166,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 +15177,7 @@ components: type: object attributes: additionalProperties: - $ref: '#/components/schemas/FulltextAttribute' + $ref: "#/components/schemas/FulltextAttribute" type: object type: object AddDocumentSyncRequest: @@ -14074,7 +15187,7 @@ components: type: METADATA properties: sync: - $ref: '#/components/schemas/AddDocumentSync' + $ref: "#/components/schemas/AddDocumentSync" type: object GetDocumentSyncResponse: example: @@ -14101,7 +15214,7 @@ components: syncs: description: List of document syncs items: - $ref: '#/components/schemas/DocumentSync' + $ref: "#/components/schemas/DocumentSync" type: array type: object AddDocumentSyncService: @@ -14139,9 +15252,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 +15267,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 +15285,50 @@ components: description: Document sync message type: string type: object + GetActivitesResponse: + example: + next: next + activities: + - resource: resource + insertedDate: insertedDate + changes: + key: + newValue: "{}" + oldValue: "{}" + sourceIpAddress: sourceIpAddress + documentId: "" + entityTypeId: entityTypeId + entityId: entityId + source: source + type: type + message: message + userId: userId + status: COMPLETE + - resource: resource + insertedDate: insertedDate + changes: + key: + newValue: "{}" + oldValue: "{}" + sourceIpAddress: sourceIpAddress + documentId: "" + entityTypeId: entityTypeId + entityId: entityId + source: source + type: type + message: message + userId: userId + 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 +15365,8 @@ components: height: height changes: key: - newValue: newValue - oldValue: oldValue + newValue: "{}" + oldValue: "{}" type: VIEW userId: userId - insertedDate: insertedDate @@ -14244,8 +15401,8 @@ components: height: height changes: key: - newValue: newValue - oldValue: oldValue + newValue: "{}" + oldValue: "{}" type: VIEW userId: userId properties: @@ -14253,9 +15410,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,38 +15460,99 @@ 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 + userId: + description: User who added document + type: string + document: + $ref: "#/components/schemas/Document" + changes: + additionalProperties: + $ref: "#/components/schemas/UserActivityChanges" + type: object + type: object + UserActivityChanges: + example: + 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 + insertedDate: insertedDate + changes: + key: + newValue: "{}" + oldValue: "{}" + sourceIpAddress: sourceIpAddress + documentId: "" + entityTypeId: entityTypeId + entityId: entityId + source: source + type: type + message: message + userId: userId + 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 - document: - $ref: '#/components/schemas/Document' + documentId: + description: Document Identifier + entityTypeId: + description: Entity Type Identifier + type: string + entityId: + description: Entity Identifier + type: string changes: additionalProperties: - $ref: '#/components/schemas/UserActivityChanges' + $ref: "#/components/schemas/UserActivityChanges" type: object type: object - UserActivityChanges: - example: - newValue: newValue - oldValue: oldValue - properties: - oldValue: - description: Previous key value - type: string - newValue: - description: New key value - type: string - type: object GetFoldersResponse: example: next: next @@ -14462,7 +15680,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 +15768,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 +15838,7 @@ components: documents: description: List of workflow documents items: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: array type: object WorkflowDocument: @@ -14664,9 +15882,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 +15942,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 +15970,7 @@ components: metadata: description: List of document Metadata items: - $ref: '#/components/schemas/DocumentMetadata' + $ref: "#/components/schemas/DocumentMetadata" type: array type: object DocumentSearchResponse: @@ -14882,7 +16100,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 +16193,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 +16213,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 +16324,7 @@ components: - documentIds properties: case: - $ref: '#/components/schemas/AddCase' + $ref: "#/components/schemas/AddCase" required: - case type: object @@ -15143,7 +16361,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 +16380,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 +16405,7 @@ components: type: AUTO_INCREMENT properties: type: - $ref: '#/components/schemas/StringGeneratorType' + $ref: "#/components/schemas/StringGeneratorType" staticValue: description: Static Value type: string @@ -15220,7 +16438,7 @@ components: - documentIds properties: case: - $ref: '#/components/schemas/UpdateCase' + $ref: "#/components/schemas/UpdateCase" type: object UpdateCase: example: @@ -15241,7 +16459,7 @@ components: description: Case Name type: string status: - $ref: '#/components/schemas/CaseStatus' + $ref: "#/components/schemas/CaseStatus" description: description: Case Description type: string @@ -15337,7 +16555,7 @@ components: - documentIds properties: task: - $ref: '#/components/schemas/UpdateTask' + $ref: "#/components/schemas/UpdateTask" type: object UpdateTask: example: @@ -15373,7 +16591,7 @@ components: description: Due Date type: string status: - $ref: '#/components/schemas/TaskStatus' + $ref: "#/components/schemas/TaskStatus" metadata: additionalProperties: type: object @@ -15400,7 +16618,7 @@ components: - documentIds properties: task: - $ref: '#/components/schemas/AddTask' + $ref: "#/components/schemas/AddTask" required: - task type: object @@ -15426,7 +16644,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 +16693,7 @@ components: - documentIds properties: nigo: - $ref: '#/components/schemas/UpdateNigo' + $ref: "#/components/schemas/UpdateNigo" type: object UpdateNigo: example: @@ -15511,7 +16729,7 @@ components: description: Due Date type: string status: - $ref: '#/components/schemas/NigoStatus' + $ref: "#/components/schemas/NigoStatus" metadata: additionalProperties: type: object @@ -15538,7 +16756,7 @@ components: - documentIds properties: nigo: - $ref: '#/components/schemas/AddNigo' + $ref: "#/components/schemas/AddNigo" required: - nigo type: object @@ -15564,7 +16782,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 +16849,7 @@ components: description: User who added Task type: string status: - $ref: '#/components/schemas/TaskStatus' + $ref: "#/components/schemas/TaskStatus" metadata: additionalProperties: type: object @@ -15680,7 +16898,7 @@ components: description: User who added Nigo type: string status: - $ref: '#/components/schemas/NigoStatus' + $ref: "#/components/schemas/NigoStatus" metadata: additionalProperties: type: object @@ -15725,7 +16943,7 @@ components: cases: description: List of cases items: - $ref: '#/components/schemas/Case' + $ref: "#/components/schemas/Case" type: array type: object GetCaseNigosResponse: @@ -15763,7 +16981,7 @@ components: nigos: description: List of Nigos items: - $ref: '#/components/schemas/Nigo' + $ref: "#/components/schemas/Nigo" type: array type: object GetCaseNigoResponse: @@ -15783,7 +17001,7 @@ components: status: NEW properties: nigo: - $ref: '#/components/schemas/Nigo' + $ref: "#/components/schemas/Nigo" type: object GetCaseTaskResponse: example: @@ -15802,7 +17020,7 @@ components: status: NEW properties: task: - $ref: '#/components/schemas/Task' + $ref: "#/components/schemas/Task" type: object GetCaseTasksResponse: example: @@ -15839,7 +17057,7 @@ components: tasks: description: List of tasks items: - $ref: '#/components/schemas/Task' + $ref: "#/components/schemas/Task" type: array type: object GetCaseDocumentsResponse: @@ -15909,7 +17127,7 @@ components: documents: description: List of documents items: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: array type: object GetCaseResponse: @@ -15931,7 +17149,7 @@ components: status: NEW properties: case: - $ref: '#/components/schemas/Case' + $ref: "#/components/schemas/Case" type: object Case: example: @@ -15985,7 +17203,7 @@ components: type: object type: object status: - $ref: '#/components/schemas/CaseStatus' + $ref: "#/components/schemas/CaseStatus" userId: description: User who added document type: string @@ -16051,7 +17269,7 @@ components: status: ACTIVE properties: rule: - $ref: '#/components/schemas/AddRule' + $ref: "#/components/schemas/AddRule" required: - case type: object @@ -16077,49 +17295,293 @@ components: workflowId: workflowId status: ACTIVE properties: - rule: - $ref: '#/components/schemas/UpdateRule' - required: - - case + rule: + $ref: "#/components/schemas/UpdateRule" + required: + - case + type: object + 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: + ruleset: + rulesetId: rulesetId + insertedDate: insertedDate + description: description + priority: 0.8008281904610115 + version: 6.027456183070403 + status: ACTIVE + properties: + ruleset: + $ref: "#/components/schemas/Ruleset" type: object - AddRule: + Ruleset: example: + 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: - priority: - description: Rule priority - type: number + rulesetId: + description: Ruleset identifier + type: string description: - description: Rule description + description: Ruleset description type: string - workflowId: - description: Workflow to start on matching of conditions + priority: + description: Ruleset priority + type: number + version: + description: Ruleset version + type: number + insertedDate: + description: Inserted Timestamp type: string status: - $ref: '#/components/schemas/RulesetStatus' - conditions: - $ref: '#/components/schemas/RuleCondition' + $ref: "#/components/schemas/RulesetStatus" type: object - UpdateRule: + Rule: example: description: description + ruleId: ruleId priority: 0.8008281904610115 conditions: must: @@ -16138,338 +17600,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 - status: - $ref: '#/components/schemas/RulesetStatus' workflowId: description: Workflow to start on matching of conditions type: string + status: + $ref: "#/components/schemas/RulesetStatus" conditions: - $ref: '#/components/schemas/RuleCondition' + $ref: "#/components/schemas/RuleCondition" type: object - AddRulesetRequest: + RuleCondition: + 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 + 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: + entityId: + description: Entity identifier + type: string + entityTypeId: + description: Entity Type identifier + type: string + 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 + 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 + 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 - status: - $ref: '#/components/schemas/RulesetStatus' + numberValues: + description: Attribute with number values + items: + type: number + type: array + booleanValue: + description: Attribute with boolean value + type: boolean type: object - GetRulesResponse: + EntityAttribute: 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 + 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 + key: + description: Attribute key type: string - rules: - description: List of rules + stringValue: + description: Attribute with string value + type: string + stringValues: + description: Attribute with string values items: - $ref: '#/components/schemas/Rule' + 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 - 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: + 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 +18113,7 @@ components: description: Path of exported file type: string outputType: - $ref: '#/components/schemas/GoogleExportOutputType' + $ref: "#/components/schemas/GoogleExportOutputType" type: object AddGoogleDocumentExportResponse: example: @@ -16504,7 +18133,7 @@ components: target: ATTRIBUTES properties: target: - $ref: '#/components/schemas/ReindexTarget' + $ref: "#/components/schemas/ReindexTarget" type: object AddDocumentGenerateRequest: example: @@ -16527,19 +18156,19 @@ components: locale: locale properties: locale: - $ref: '#/components/schemas/Locale' + $ref: "#/components/schemas/Locale" 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 +18187,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 +18250,7 @@ components: value: value properties: fileinfo: - $ref: '#/components/schemas/PdfDocument' + $ref: "#/components/schemas/PdfDocument" type: object PdfDocument: example: @@ -16634,7 +18263,7 @@ components: fields: description: List of document fields items: - $ref: '#/components/schemas/PdfDocumentField' + $ref: "#/components/schemas/PdfDocumentField" type: array type: object PdfDocumentField: @@ -16689,7 +18318,7 @@ components: - labelTexts properties: mapping: - $ref: '#/components/schemas/AddMapping' + $ref: "#/components/schemas/AddMapping" type: object AddMappingRequest: example: @@ -16723,7 +18352,7 @@ components: - labelTexts properties: mapping: - $ref: '#/components/schemas/AddMapping' + $ref: "#/components/schemas/AddMapping" type: object AddMapping: example: @@ -16764,7 +18393,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/MappingAttribute' + $ref: "#/components/schemas/MappingAttribute" type: array type: object GetMappingsResponse: @@ -16830,7 +18459,7 @@ components: properties: mappings: items: - $ref: '#/components/schemas/Mapping' + $ref: "#/components/schemas/Mapping" type: array next: description: Next page of results token @@ -16869,7 +18498,7 @@ components: - labelTexts properties: mapping: - $ref: '#/components/schemas/Mapping' + $ref: "#/components/schemas/Mapping" type: object Mapping: example: @@ -16914,7 +18543,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/MappingAttribute' + $ref: "#/components/schemas/MappingAttribute" type: array type: object MappingAttribute: @@ -16936,7 +18565,7 @@ components: description: Attribute Key type: string sourceType: - $ref: '#/components/schemas/MappingAttributeSourceType' + $ref: "#/components/schemas/MappingAttributeSourceType" defaultValue: description: Default value type: string @@ -16951,9 +18580,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 @@ -17017,7 +18646,7 @@ components: key: key properties: attribute: - $ref: '#/components/schemas/Attribute' + $ref: "#/components/schemas/Attribute" type: object GetAttributesResponse: example: @@ -17056,7 +18685,7 @@ components: attributes: description: List of attributes items: - $ref: '#/components/schemas/Attribute' + $ref: "#/components/schemas/Attribute" type: array type: object Attribute: @@ -17076,14 +18705,14 @@ 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: @@ -17107,9 +18736,9 @@ 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: @@ -17119,9 +18748,9 @@ components: 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 +18784,7 @@ components: enum: - STANDARD - OPA + - GOVERNANCE type: string AttributeDataType: default: STRING @@ -17166,7 +18796,47 @@ components: - KEY_ONLY - PUBLICATION - WATERMARK + - ENTITY type: string + UpdateAttributeRequest: + example: + attribute: + watermark: + imageDocumentId: imageDocumentId + rotation: 0.8008281904610115 + scale: FIT_BEST + text: text + position: + yOffset: 1.4658129805029452 + xOffset: 6.027456183070403 + yAnchor: TOP + xAnchor: LEFT + type: STANDARD + properties: + attribute: + $ref: "#/components/schemas/UpdateAttribute" + required: + - attribute + type: object + UpdateAttribute: + example: + watermark: + imageDocumentId: imageDocumentId + rotation: 0.8008281904610115 + scale: FIT_BEST + text: text + position: + yOffset: 1.4658129805029452 + xOffset: 6.027456183070403 + yAnchor: TOP + xAnchor: LEFT + type: STANDARD + properties: + type: + $ref: "#/components/schemas/AttributeType" + watermark: + $ref: "#/components/schemas/Watermark" + type: object AddAttributeRequest: example: attribute: @@ -17185,7 +18855,7 @@ components: key: key properties: attribute: - $ref: '#/components/schemas/AddAttribute' + $ref: "#/components/schemas/AddAttribute" required: - attribute type: object @@ -17209,22 +18879,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 +18958,7 @@ components: documents: description: List of documents items: - $ref: '#/components/schemas/Document' + $ref: "#/components/schemas/Document" type: array type: object GetWebhooksResponse: @@ -17326,7 +18988,7 @@ components: webhooks: description: List of webhooks items: - $ref: '#/components/schemas/GetWebhookResponse' + $ref: "#/components/schemas/GetWebhookResponse" type: array type: object GetWebhookResponse: @@ -17392,7 +19054,7 @@ components: tags: description: List of webhook tags items: - $ref: '#/components/schemas/WebhookTag' + $ref: "#/components/schemas/WebhookTag" type: array type: object WebhookTag: @@ -17465,7 +19127,7 @@ components: actions: description: List of document actions items: - $ref: '#/components/schemas/DocumentAction' + $ref: "#/components/schemas/DocumentAction" type: array type: object DocumentActionStatus: @@ -17493,6 +19155,7 @@ components: - PUBLISH - PDFEXPORT - EVENTBRIDGE + - RESIZE type: string DocumentAction: example: @@ -17512,9 +19175,9 @@ components: workflowStepId: workflowStepId properties: status: - $ref: '#/components/schemas/DocumentActionStatus' + $ref: "#/components/schemas/DocumentActionStatus" type: - $ref: '#/components/schemas/DocumentActionType' + $ref: "#/components/schemas/DocumentActionType" queueId: description: Queue Id type: string @@ -17568,7 +19231,7 @@ components: data: items: items: - $ref: '#/components/schemas/OcrTableData' + $ref: "#/components/schemas/OcrTableData" type: array type: array type: object @@ -17643,11 +19306,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 +19458,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 +19547,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,20 +19636,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 SetAntivirusRequest: @@ -18011,17 +19674,21 @@ components: 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 notificationHtml: notificationHtml + height: height - queueId: queueId type: ANTIVIRUS parameters: @@ -18031,22 +19698,26 @@ components: 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 notificationHtml: notificationHtml + height: height properties: actions: description: List of Actions items: - $ref: '#/components/schemas/AddAction' + $ref: "#/components/schemas/AddAction" type: array type: object AddAction: @@ -18060,22 +19731,26 @@ components: 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 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 @@ -18101,25 +19776,29 @@ components: 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 notificationHtml: notificationHtml + height: height properties: ocrParseTypes: description: "OCR: Parse types - TEXT, FORMS, TABLES" 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 @@ -18171,6 +19850,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: @@ -18189,12 +19880,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 +19964,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 +19980,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 +19994,7 @@ components: itemKey: itemKey properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" localizedValue: description: Localized Value type: string @@ -18337,7 +20028,7 @@ components: localizedValue: localizedValue properties: resourceItem: - $ref: '#/components/schemas/AddResourceItem' + $ref: "#/components/schemas/AddResourceItem" type: object AddLocaleResourceItemRequest: example: @@ -18347,7 +20038,7 @@ components: localizedValue: localizedValue properties: resourceItem: - $ref: '#/components/schemas/AddResourceItem' + $ref: "#/components/schemas/AddResourceItem" type: object AddLocaleResourceInterfaceItem: example: @@ -18356,7 +20047,7 @@ components: localizedValue: localizedValue properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" localizedValue: description: Localized Value type: string @@ -18371,7 +20062,7 @@ components: AddLocaleResourceSchemaItem: properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" attributeKey: description: Attribute Key type: string @@ -18390,7 +20081,7 @@ components: AddLocaleResourceClassificationItem: properties: itemType: - $ref: '#/components/schemas/LocaleResourceType' + $ref: "#/components/schemas/LocaleResourceType" classificationId: description: Classification Id type: string @@ -18447,7 +20138,7 @@ components: locales: description: List of Locale items: - $ref: '#/components/schemas/Locale' + $ref: "#/components/schemas/Locale" type: array type: object GetLocaleResourceItemsResponse: @@ -18475,7 +20166,7 @@ components: resourceItems: description: List of permissions items: - $ref: '#/components/schemas/ResourceItem' + $ref: "#/components/schemas/ResourceItem" type: array type: object GetLocaleResourceItemResponse: @@ -18490,7 +20181,7 @@ components: itemKey: itemKey properties: resourceItem: - $ref: '#/components/schemas/ResourceItem' + $ref: "#/components/schemas/ResourceItem" type: object AddApiKeyRequest: example: @@ -18584,7 +20275,7 @@ components: opaPolicies: description: List of OPA policies items: - $ref: '#/components/schemas/OpaPolicy' + $ref: "#/components/schemas/OpaPolicy" type: array type: object OpaPolicy: @@ -18623,17 +20314,17 @@ 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" type: object OpaPolicyAttributeEq: description: Attribute EQ criteria @@ -18654,7 +20345,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 @@ -18761,7 +20452,7 @@ components: policy: policy properties: type: - $ref: '#/components/schemas/OpaPolicyItemType' + $ref: "#/components/schemas/OpaPolicyItemType" policy: description: OPA Policy in REGO format type: string @@ -18777,7 +20468,7 @@ components: type: array attributes: items: - $ref: '#/components/schemas/OpaPolicyAttribute' + $ref: "#/components/schemas/OpaPolicyAttribute" type: array type: object SetOpaAccessPolicyItemsRequest: @@ -18873,7 +20564,7 @@ components: policyItems: description: List of OPA policy items items: - $ref: '#/components/schemas/OpaPolicyItem' + $ref: "#/components/schemas/OpaPolicyItem" type: array type: object GetOpaAccessPolicyResponse: @@ -18976,7 +20667,7 @@ components: properties: policyItems: items: - $ref: '#/components/schemas/OpaPolicyItem' + $ref: "#/components/schemas/OpaPolicyItem" type: array type: object DeleteCaseResponse: @@ -19054,7 +20745,7 @@ components: apiKeys: description: List of ApiKeys items: - $ref: '#/components/schemas/ApiKey' + $ref: "#/components/schemas/ApiKey" type: array type: object ApiKey: @@ -19128,11 +20819,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 +20844,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 +20964,7 @@ components: users: description: List of users items: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" type: array type: object AddGroupRequest: @@ -19283,7 +20974,7 @@ components: description: description properties: group: - $ref: '#/components/schemas/AddGroup' + $ref: "#/components/schemas/AddGroup" required: - group type: object @@ -19322,7 +21013,7 @@ components: username: username properties: user: - $ref: '#/components/schemas/AddUser' + $ref: "#/components/schemas/AddUser" required: - user type: object @@ -19351,7 +21042,7 @@ components: description: Email address of user type: string attributes: - $ref: '#/components/schemas/UserAttributes' + $ref: "#/components/schemas/UserAttributes" type: object User: example: @@ -19398,7 +21089,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 +21178,7 @@ components: groups: description: List of groups items: - $ref: '#/components/schemas/Group' + $ref: "#/components/schemas/Group" type: array type: object GetGroupResponse: @@ -19499,7 +21190,7 @@ components: description: description properties: group: - $ref: '#/components/schemas/Group' + $ref: "#/components/schemas/Group" type: object GetUserResponse: example: @@ -19529,7 +21220,7 @@ components: username: username properties: user: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" type: object GetUserGroupsResponse: example: @@ -19550,7 +21241,7 @@ components: groups: description: List of groups items: - $ref: '#/components/schemas/Group' + $ref: "#/components/schemas/Group" type: array type: object GetUsersResponse: @@ -19610,7 +21301,7 @@ components: users: description: List of users items: - $ref: '#/components/schemas/User' + $ref: "#/components/schemas/User" type: array type: object Group: @@ -19641,8 +21332,230 @@ 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 + required: + - bucket + - repository + type: object + AddOpenSearchSnapshotRepositoryResponse: + example: + message: message + properties: + message: + description: Result message + type: string type: object SetOpenSearchIndexRequest: example: @@ -19651,7 +21564,7 @@ components: numberOfShards: numberOfShards properties: indexSettings: - $ref: '#/components/schemas/OpenSearchIndex' + $ref: "#/components/schemas/OpenSearchIndex" type: object SetOpenSearchIndexResponse: example: @@ -19712,7 +21625,7 @@ components: - ADMIN properties: group: - $ref: '#/components/schemas/SiteGroup' + $ref: "#/components/schemas/SiteGroup" type: object SiteGroup: example: @@ -19722,7 +21635,7 @@ components: properties: permissions: items: - $ref: '#/components/schemas/SiteGroupPermissions' + $ref: "#/components/schemas/SiteGroupPermissions" type: array type: object GetOpenSearchIndexResponse: @@ -19732,7 +21645,7 @@ components: numberOfShards: numberOfShards properties: indexSettings: - $ref: '#/components/schemas/OpenSearchIndex' + $ref: "#/components/schemas/OpenSearchIndex" type: object OpenSearchIndex: example: @@ -19793,7 +21706,7 @@ components: sites: description: List of sites items: - $ref: '#/components/schemas/Site' + $ref: "#/components/schemas/Site" type: array type: object Site: @@ -19824,7 +21737,7 @@ components: description: Site Title type: string status: - $ref: '#/components/schemas/SiteStatus' + $ref: "#/components/schemas/SiteStatus" permission: description: SiteId permission level enum: @@ -19833,15 +21746,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 +21775,7 @@ components: errors: description: List of errors items: - $ref: '#/components/schemas/Error' + $ref: "#/components/schemas/Error" type: array type: object Error: @@ -19900,7 +21813,7 @@ components: description: Workflow description type: string status: - $ref: '#/components/schemas/WorkflowStatus' + $ref: "#/components/schemas/WorkflowStatus" type: object SetWorkflowRequest: example: @@ -19918,17 +21831,21 @@ components: 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 notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -19950,17 +21867,21 @@ components: 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 notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -19980,11 +21901,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 @@ -20007,17 +21928,21 @@ components: 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 notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -20039,17 +21964,21 @@ components: 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 notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -20069,11 +21998,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 @@ -20093,17 +22022,21 @@ components: 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 notificationHtml: notificationHtml + height: height decisions: - nextStepId: nextStepId type: APPROVE @@ -20119,13 +22052,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 +22073,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 +22087,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 +22171,7 @@ components: workflows: description: List of Document Workflows items: - $ref: '#/components/schemas/DocumentWorkflow' + $ref: "#/components/schemas/DocumentWorkflow" type: array next: type: string @@ -20254,7 +22187,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 +22218,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 +22319,7 @@ components: description: Name of schema type: string attributes: - $ref: '#/components/schemas/SchemaAttributes' + $ref: "#/components/schemas/SchemaAttributes" type: object GetClassificationResponse: example: @@ -20447,7 +22380,7 @@ components: userId: userId properties: classification: - $ref: '#/components/schemas/Classification' + $ref: "#/components/schemas/Classification" type: object GetClassificationsResponse: example: @@ -20468,7 +22401,7 @@ components: classifications: description: List of classifications items: - $ref: '#/components/schemas/ClassificationSummary' + $ref: "#/components/schemas/ClassificationSummary" type: array type: object ClassificationSummary: @@ -20556,7 +22489,7 @@ components: description: Inserted Timestamp type: string attributes: - $ref: '#/components/schemas/SchemaAttributes' + $ref: "#/components/schemas/SchemaAttributes" type: object AddClassification: example: @@ -20609,7 +22542,7 @@ components: description: Name of Classification type: string attributes: - $ref: '#/components/schemas/SetSchemaAttributes' + $ref: "#/components/schemas/SetSchemaAttributes" type: object SetClassificationRequest: example: @@ -20660,7 +22593,7 @@ components: minNumberOfValues: 0.8008281904610115 properties: classification: - $ref: '#/components/schemas/AddClassification' + $ref: "#/components/schemas/AddClassification" type: object AddSiteRequest: example: @@ -20670,7 +22603,7 @@ components: status: ACTIVE properties: site: - $ref: '#/components/schemas/AddSite' + $ref: "#/components/schemas/AddSite" type: object AddSite: example: @@ -20685,7 +22618,7 @@ components: description: Title of Site type: string status: - $ref: '#/components/schemas/SiteStatus' + $ref: "#/components/schemas/SiteStatus" type: object UpdateSiteRequest: example: @@ -20694,7 +22627,7 @@ components: status: ACTIVE properties: site: - $ref: '#/components/schemas/UpdateSite' + $ref: "#/components/schemas/UpdateSite" type: object UpdateSite: example: @@ -20705,7 +22638,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 +22704,7 @@ components: minNumberOfValues: 0.8008281904610115 properties: classification: - $ref: '#/components/schemas/AddClassification' + $ref: "#/components/schemas/AddClassification" type: object SetSitesSchemaRequest: example: @@ -20824,7 +22757,7 @@ components: description: Name of schema type: string attributes: - $ref: '#/components/schemas/SetSchemaAttributes' + $ref: "#/components/schemas/SetSchemaAttributes" type: object SetSchemaAttributes: example: @@ -20874,17 +22807,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 +22879,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 +23202,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 +23237,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 +23323,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 +23350,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 +23447,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 +23478,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 +23501,7 @@ components: key: key properties: tag: - $ref: '#/components/schemas/MatchDocumentTag' + $ref: "#/components/schemas/MatchDocumentTag" type: object UpdateMatchingDocumentTagsRequest_update: description: Data to update @@ -21588,7 +23521,7 @@ components: tags: description: List of document tags items: - $ref: '#/components/schemas/AddDocumentTag' + $ref: "#/components/schemas/AddDocumentTag" type: array type: object securitySchemes: 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..dbe962e44 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"), diff --git a/docs/Activity.md b/docs/Activity.md new file mode 100644 index 000000000..34c0978fa --- /dev/null +++ b/docs/Activity.md @@ -0,0 +1,24 @@ + + +# 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] | +|**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..93f01ea19 100644 --- a/docs/AddActionParameters.md +++ b/docs/AddActionParameters.md @@ -24,6 +24,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/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/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/DocumentActionType.md b/docs/DocumentActionType.md index 473839ad6..620603bc3 100644 --- a/docs/DocumentActionType.md +++ b/docs/DocumentActionType.md @@ -27,5 +27,7 @@ * `EVENTBRIDGE` (value: `"EVENTBRIDGE"`) +* `RESIZE` (value: `"RESIZE"`) + diff --git a/docs/DocumentActionsApi.md b/docs/DocumentActionsApi.md index 4be241004..dca35fed3 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 | | 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. | | | 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/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/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/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/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/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/OpenSearchS3Repository.md b/docs/OpenSearchS3Repository.md new file mode 100644 index 000000000..bd8fe27fe --- /dev/null +++ b/docs/OpenSearchS3Repository.md @@ -0,0 +1,14 @@ + + +# OpenSearchS3Repository + + +## Properties + +| Name | Type | Description | Notes | +|------------ | ------------- | ------------- | -------------| +|**repository** | **String** | Name of the Repository | | +|**bucket** | **String** | Name of the S3 bucket | | + + + 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/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/SystemManagementApi.md b/docs/SystemManagementApi.md index a5412dc20..1b45c7a57 100644 --- a/docs/SystemManagementApi.md +++ b/docs/SystemManagementApi.md @@ -7,24 +7,33 @@ 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/snapshot/{repositoryName}/{snapshotName}/restore | Add an OpenSearch Restore Snapshot | +| [**addOpenSearchSnapshot**](SystemManagementApi.md#addOpenSearchSnapshot) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Add an OpenSearch Snapshot | +| [**addOpenSearchSnapshotRepository**](SystemManagementApi.md#addOpenSearchSnapshotRepository) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Add OpenSearch Snapshot Repository | | [**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 | +| [**deleteOpenSearchSnapshot**](SystemManagementApi.md#deleteOpenSearchSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Deletes site(s) OpenSearch Snapshot | +| [**deleteOpenSearchSnapshotRepository**](SystemManagementApi.md#deleteOpenSearchSnapshotRepository) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Deletes site(s) OpenSearch Snapshot Repository | | [**deleteSiteGroup**](SystemManagementApi.md#deleteSiteGroup) | **DELETE** /sites/{siteId}/groups/{groupName} | Deletes Site Group and permissions | | [**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 | +| [**getOpenSearchSnapshot**](SystemManagementApi.md#getOpenSearchSnapshot) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Get site(s) OpenSearch snapshot | +| [**getOpenSearchSnapshotRepositories**](SystemManagementApi.md#getOpenSearchSnapshotRepositories) | **GET** /sites/{siteId}/opensearch/snapshotRepositories | Get site(s) OpenSearch snapshot repositories | +| [**getOpenSearchSnapshotRepository**](SystemManagementApi.md#getOpenSearchSnapshotRepository) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Get site(s) OpenSearch snapshot repository | +| [**getOpenSearchSnapshots**](SystemManagementApi.md#getOpenSearchSnapshots) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/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 | | [**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 +242,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **addSite** -> AddResponse addSite(addSiteRequest) + +# **addOpenSearchRestoreSnapshot** +> AddResponse addOpenSearchRestoreSnapshot(siteId, repositoryName, snapshotName) -Add Site +Add an OpenSearch Restore Snapshot -Add Site +Add an OpenSearch Restore Snapshot ### Example ```java @@ -259,12 +268,14 @@ public class Example { defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); - AddSiteRequest addSiteRequest = new AddSiteRequest(); // AddSiteRequest | + String siteId = "siteId_example"; // String | Site Identifier + String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - AddResponse result = apiInstance.addSite(addSiteRequest); + AddResponse result = apiInstance.addOpenSearchRestoreSnapshot(siteId, repositoryName, snapshotName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#addSite"); + 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()); @@ -278,7 +289,9 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **addSiteRequest** | [**AddSiteRequest**](AddSiteRequest.md)| | | +| **siteId** | **String**| Site Identifier | | +| **repositoryName** | **String**| Snapshot Repository Name | | +| **snapshotName** | **String**| Snapshot Name | | ### Return type @@ -290,22 +303,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) + +# **addOpenSearchSnapshot** +> AddResponse addOpenSearchSnapshot(siteId, repositoryName, snapshotName) -Delete API Key +Add an OpenSearch Snapshot -Adds a new API Key +Add an OpenSearch Snapshot ### Example ```java @@ -326,12 +338,13 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String apiKey = "apiKey_example"; // String | API Key + String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - DeleteApiKeyResponse result = apiInstance.deleteApiKey(siteId, apiKey); + AddResponse result = apiInstance.addOpenSearchSnapshot(siteId, repositoryName, snapshotName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteApiKey"); + 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()); @@ -346,11 +359,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **apiKey** | **String**| API Key | | +| **repositoryName** | **String**| Snapshot Repository Name | | +| **snapshotName** | **String**| Snapshot Name | | ### Return type -[**DeleteApiKeyResponse**](DeleteApiKeyResponse.md) +[**AddResponse**](AddResponse.md) ### Authorization @@ -366,13 +380,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteLocale** -> DeleteResponse deleteLocale(siteId, locale) + +# **addOpenSearchSnapshotRepository** +> AddOpenSearchSnapshotRepositoryResponse addOpenSearchSnapshotRepository(siteId, repositoryName) -Delete Locale +Add OpenSearch Snapshot Repository -Delete Locale +Add an OpenSearch Snapshot Repository ### Example ```java @@ -393,12 +407,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 repositoryName = "repositoryName_example"; // String | Snapshot Repository Name try { - DeleteResponse result = apiInstance.deleteLocale(siteId, locale); + AddOpenSearchSnapshotRepositoryResponse result = apiInstance.addOpenSearchSnapshotRepository(siteId, repositoryName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteLocale"); + System.err.println("Exception when calling SystemManagementApi#addOpenSearchSnapshotRepository"); System.err.println("Status code: " + e.getCode()); System.err.println("Reason: " + e.getResponseBody()); System.err.println("Response headers: " + e.getResponseHeaders()); @@ -413,11 +427,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | +| **repositoryName** | **String**| Snapshot Repository Name | | ### Return type -[**DeleteResponse**](DeleteResponse.md) +[**AddOpenSearchSnapshotRepositoryResponse**](AddOpenSearchSnapshotRepositoryResponse.md) ### Authorization @@ -433,13 +447,79 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteLocaleResourceItem** -> DeleteResponse deleteLocaleResourceItem(siteId, locale, itemKey) + +# **addSite** +> AddResponse addSite(addSiteRequest) -Delete Local Resource Item +Add Site -Delete Local Resource Item +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 @@ -460,13 +540,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 apiKey = "apiKey_example"; // String | API Key try { - DeleteResponse result = apiInstance.deleteLocaleResourceItem(siteId, locale, itemKey); + DeleteApiKeyResponse result = apiInstance.deleteApiKey(siteId, apiKey); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteLocaleResourceItem"); + 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()); @@ -481,12 +560,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) | | +| **apiKey** | **String**| API Key | | ### Return type -[**DeleteResponse**](DeleteResponse.md) +[**DeleteApiKeyResponse**](DeleteApiKeyResponse.md) ### Authorization @@ -502,13 +580,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteOpensearchIndex** -> DeleteResponse deleteOpensearchIndex(siteId) + +# **deleteLocale** +> DeleteResponse deleteLocale(siteId, locale) -Deletes site(s) OpenSearch index +Delete Locale -Deletes the OpenSearch index +Delete Locale ### Example ```java @@ -529,11 +607,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) try { - DeleteResponse result = apiInstance.deleteOpensearchIndex(siteId); + DeleteResponse result = apiInstance.deleteLocale(siteId, locale); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteOpensearchIndex"); + 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()); @@ -548,6 +627,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | +| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | ### Return type @@ -567,13 +647,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteSiteGroup** -> DeleteResponse deleteSiteGroup(siteId, groupName) + +# **deleteLocaleResourceItem** +> DeleteResponse deleteLocaleResourceItem(siteId, locale, itemKey) -Deletes Site Group and permissions +Delete Local Resource Item -Deletes Site Group and permissions +Delete Local Resource Item ### Example ```java @@ -594,12 +674,13 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String groupName = "groupName_example"; // String | Group Name + 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.deleteSiteGroup(siteId, groupName); + DeleteResponse result = apiInstance.deleteLocaleResourceItem(siteId, locale, itemKey); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteSiteGroup"); + 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()); @@ -614,7 +695,8 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **groupName** | **String**| Group Name | | +| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | +| **itemKey** | **String**| Item Key (MUST be URL‑encoded) | | ### Return type @@ -634,13 +716,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) + +# **deleteOpenSearchIndex** +> DeleteResponse deleteOpenSearchIndex(siteId) -Get API Keys +Deletes site(s) OpenSearch index -Returns the list of ApiKeys +Deletes the OpenSearch index ### Example ```java @@ -661,13 +743,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); + DeleteResponse result = apiInstance.deleteOpenSearchIndex(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getApiKeys"); + 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()); @@ -682,12 +762,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) +[**DeleteResponse**](DeleteResponse.md) ### Authorization @@ -703,13 +781,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getConfiguration** -> GetConfigurationResponse getConfiguration(siteId) + +# **deleteOpenSearchSnapshot** +> DeleteResponse deleteOpenSearchSnapshot(siteId, repositoryName, snapshotName) -Get site configuration +Deletes site(s) OpenSearch Snapshot -Returns the list of sites that the user has access to +Deletes the OpenSearch Snapshot ### Example ```java @@ -730,11 +808,13 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier + String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - GetConfigurationResponse result = apiInstance.getConfiguration(siteId); + DeleteResponse result = apiInstance.deleteOpenSearchSnapshot(siteId, repositoryName, snapshotName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getConfiguration"); + 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()); @@ -749,10 +829,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | +| **repositoryName** | **String**| Snapshot Repository Name | | +| **snapshotName** | **String**| Snapshot Name | | ### Return type -[**GetConfigurationResponse**](GetConfigurationResponse.md) +[**DeleteResponse**](DeleteResponse.md) ### Authorization @@ -768,13 +850,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) + +# **deleteOpenSearchSnapshotRepository** +> DeleteResponse deleteOpenSearchSnapshotRepository(siteId, repositoryName) -Get Resource Item by Locale +Deletes site(s) OpenSearch Snapshot Repository -Returns the resource item +Deletes the OpenSearch Snapshot Repository ### Example ```java @@ -795,13 +877,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 repositoryName = "repositoryName_example"; // String | Snapshot Repository Name try { - GetLocaleResourceItemResponse result = apiInstance.getLocaleResourceItem(siteId, locale, itemKey); + DeleteResponse result = apiInstance.deleteOpenSearchSnapshotRepository(siteId, repositoryName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getLocaleResourceItem"); + 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()); @@ -816,12 +897,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) | | +| **repositoryName** | **String**| Snapshot Repository Name | | ### Return type -[**GetLocaleResourceItemResponse**](GetLocaleResourceItemResponse.md) +[**DeleteResponse**](DeleteResponse.md) ### Authorization @@ -837,13 +917,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) + +# **deleteSiteGroup** +> DeleteResponse deleteSiteGroup(siteId, groupName) -Get Resource Items by Locale +Deletes Site Group and permissions -Returns the list resource items +Deletes Site Group and permissions ### Example ```java @@ -864,14 +944,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 next = "next_example"; // String | Next page of results token - String limit = "10"; // String | Limit Results + String groupName = "groupName_example"; // String | Group Name try { - GetLocaleResourceItemsResponse result = apiInstance.getLocaleResourceItems(siteId, locale, next, limit); + DeleteResponse result = apiInstance.deleteSiteGroup(siteId, groupName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getLocaleResourceItems"); + 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()); @@ -886,13 +964,11 @@ 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] | +| **groupName** | **String**| Group Name | | ### Return type -[**GetLocaleResourceItemsResponse**](GetLocaleResourceItemsResponse.md) +[**DeleteResponse**](DeleteResponse.md) ### Authorization @@ -908,13 +984,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) + +# **getApiKeys** +> GetApiKeysResponse getApiKeys(siteId, next, limit) -Get Locales +Get API Keys -Returns a list of locale(s) in a specified site +Returns the list of ApiKeys ### Example ```java @@ -938,10 +1014,10 @@ public class Example { String next = "next_example"; // String | Next page of results token String limit = "10"; // String | Limit Results try { - GetLocalesResponse result = apiInstance.getLocales(siteId, next, limit); + GetApiKeysResponse result = apiInstance.getApiKeys(siteId, next, limit); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getLocales"); + 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()); @@ -961,7 +1037,7 @@ public class Example { ### Return type -[**GetLocalesResponse**](GetLocalesResponse.md) +[**GetApiKeysResponse**](GetApiKeysResponse.md) ### Authorization @@ -977,13 +1053,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **getOpensearchIndex** -> GetOpenSearchIndexResponse getOpensearchIndex(siteId) + +# **getConfiguration** +> GetConfigurationResponse getConfiguration(siteId) -Get site(s) OpenSearch index settings +Get site configuration -Returns the OpenSearch index settings +Returns the list of sites that the user has access to ### Example ```java @@ -1005,10 +1081,10 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier try { - GetOpenSearchIndexResponse result = apiInstance.getOpensearchIndex(siteId); + GetConfigurationResponse result = apiInstance.getConfiguration(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#getOpensearchIndex"); + 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()); @@ -1026,7 +1102,549 @@ public class Example { ### Return type -[**GetOpenSearchIndexResponse**](GetOpenSearchIndexResponse.md) +[**GetConfigurationResponse**](GetConfigurationResponse.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 -
| + + +# **getLocaleResourceItem** +> GetLocaleResourceItemResponse getLocaleResourceItem(siteId, locale, itemKey) + +Get Resource Item by Locale + +Returns the 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 { + GetLocaleResourceItemResponse result = apiInstance.getLocaleResourceItem(siteId, locale, itemKey); + System.out.println(result); + } catch (ApiException e) { + 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()); + 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 + +[**GetLocaleResourceItemResponse**](GetLocaleResourceItemResponse.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 -
| + + +# **getLocaleResourceItems** +> GetLocaleResourceItemsResponse getLocaleResourceItems(siteId, locale, next, limit) + +Get Resource Items by Locale + +Returns the list resource items + +### 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 next = "next_example"; // String | Next page of results token + String limit = "10"; // String | Limit Results + try { + GetLocaleResourceItemsResponse result = apiInstance.getLocaleResourceItems(siteId, locale, next, limit); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### 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] | + +### Return type + +[**GetLocaleResourceItemsResponse**](GetLocaleResourceItemsResponse.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 -
| + + +# **getLocales** +> GetLocalesResponse getLocales(siteId, next, limit) + +Get Locales + +Returns a list of locale(s) in a specified 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); + 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); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| 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) + +### 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 -
| + + +# **getOpenSearchIndex** +> GetOpenSearchIndexResponse getOpenSearchIndex(siteId) + +Get site(s) OpenSearch index settings + +Returns the OpenSearch index settings + +### 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 { + GetOpenSearchIndexResponse result = apiInstance.getOpenSearchIndex(siteId); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | + +### Return type + +[**GetOpenSearchIndexResponse**](GetOpenSearchIndexResponse.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 -
| + + +# **getOpenSearchSnapshot** +> GetOpenSearchSnapshotResponse getOpenSearchSnapshot(siteId, repositoryName, snapshotName) + +Get site(s) OpenSearch snapshot + +Returns 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 repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + String snapshotName = "snapshotName_example"; // String | Snapshot Name + try { + GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshot(siteId, repositoryName, snapshotName); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **repositoryName** | **String**| Snapshot Repository Name | | +| **snapshotName** | **String**| Snapshot Name | | + +### Return type + +[**GetOpenSearchSnapshotResponse**](GetOpenSearchSnapshotResponse.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 -
| + + +# **getOpenSearchSnapshotRepositories** +> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories(siteId) + +Get site(s) OpenSearch snapshot repositories + +Returns the OpenSearch Snapshot Repositories + +### 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 { + GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepositories(siteId); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | + +### Return type + +[**GetOpenSearchSnapshotRepositoryResponse**](GetOpenSearchSnapshotRepositoryResponse.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 -
| + + +# **getOpenSearchSnapshotRepository** +> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository(siteId, repositoryName) + +Get site(s) OpenSearch snapshot repository + +Returns 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 + String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + try { + GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepository(siteId, repositoryName); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **repositoryName** | **String**| Snapshot Repository Name | | + +### Return type + +[**GetOpenSearchSnapshotRepositoryResponse**](GetOpenSearchSnapshotRepositoryResponse.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 -
| + + +# **getOpenSearchSnapshots** +> GetOpenSearchSnapshotResponse getOpenSearchSnapshots(siteId, repositoryName) + +Get site(s) OpenSearch snapshots + +Returns the OpenSearch Snapshots + +### 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 repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + try { + GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshots(siteId, repositoryName); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | +| **repositoryName** | **String**| Snapshot Repository Name | | + +### Return type + +[**GetOpenSearchSnapshotResponse**](GetOpenSearchSnapshotResponse.md) ### Authorization @@ -1371,9 +1989,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 +2018,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()); 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..66b51dd41 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,85 @@ 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, 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 + 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, 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] | +| **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/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..46d0eca62 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. diff --git a/src/main/java/com/formkiq/client/api/AntivirusApi.java b/src/main/java/com/formkiq/client/api/AntivirusApi.java index 7b8c9b070..b128e51e5 100644 --- a/src/main/java/com/formkiq/client/api/AntivirusApi.java +++ b/src/main/java/com/formkiq/client/api/AntivirusApi.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class 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/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..d516473ff 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. @@ -201,7 +201,10 @@ private okhttp3.Call addDocumentActionsValidateBeforeCall( * 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). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) @@ -260,7 +263,10 @@ public AddDocumentActionsResponse addDocumentActions(@javax.annotation.Nonnull S * 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). | | * * @param documentId Document Identifier (required) * @param siteId Site Identifier (optional) @@ -320,7 +326,10 @@ public ApiResponse addDocumentActionsWithHttpInfo( * 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). | | * * @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..159ed0fdc 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. 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..03852275c 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. 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..7f1bda4e2 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. 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/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..ad68521fa 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. @@ -39,6 +39,7 @@ import com.formkiq.client.model.AddLocaleRequest; import com.formkiq.client.model.AddLocaleResourceItemRequest; import com.formkiq.client.model.AddLocaleResourceItemResponse; +import com.formkiq.client.model.AddOpenSearchSnapshotRepositoryResponse; import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.AddSiteRequest; import com.formkiq.client.model.DeleteApiKeyResponse; @@ -49,6 +50,8 @@ import com.formkiq.client.model.GetLocaleResourceItemsResponse; import com.formkiq.client.model.GetLocalesResponse; import com.formkiq.client.model.GetOpenSearchIndexResponse; +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; @@ -713,9 +716,11 @@ 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 repositoryName Snapshot Repository Name (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,19 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -757,10 +759,16 @@ 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/snapshot/{repositoryName}/{snapshotName}/restore" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.toString())) + .replace("{" + "snapshotName" + "}", + localVarApiClient.escapeString(snapshotName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -774,7 +782,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 +796,38 @@ public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSite } @SuppressWarnings("rawtypes") - private okhttp3.Call addSiteValidateBeforeCall( - @javax.annotation.Nonnull AddSiteRequest addSiteRequest, final ApiCallback _callback) + private okhttp3.Call addOpenSearchRestoreSnapshotValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'addSiteRequest' is set - if (addSiteRequest == null) { + // 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 'repositoryName' is set + if (repositoryName == null) { + throw new ApiException( + "Missing the required parameter 'repositoryName' when calling addOpenSearchRestoreSnapshot(Async)"); + } + + // 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, repositoryName, 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 repositoryName Snapshot Repository Name (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 +840,29 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + addOpenSearchRestoreSnapshotWithHttpInfo(siteId, repositoryName, 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 repositoryName Snapshot Repository Name (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 +875,30 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + okhttp3.Call localVarCall = + addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, repositoryName, 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 repositoryName Snapshot Repository Name (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 +911,33 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { - okhttp3.Call localVarCall = addSiteValidateBeforeCall(addSiteRequest, _callback); + okhttp3.Call localVarCall = addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, + repositoryName, 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 repositoryName Snapshot Repository Name (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 +959,10 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -957,9 +979,13 @@ 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/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.toString())) + .replace("{" + "snapshotName" + "}", + localVarApiClient.escapeString(snapshotName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -981,36 +1007,45 @@ 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 repositoryName, + @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 deleteApiKey(Async)"); + "Missing the required parameter 'siteId' when calling addOpenSearchSnapshot(Async)"); } - // verify the required parameter 'apiKey' is set - if (apiKey == null) { + // verify the required parameter 'repositoryName' is set + if (repositoryName == null) { throw new ApiException( - "Missing the required parameter 'apiKey' when calling deleteApiKey(Async)"); + "Missing the required parameter 'repositoryName' when calling addOpenSearchSnapshot(Async)"); } - return deleteApiKeyCall(siteId, apiKey, _callback); + // 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, repositoryName, snapshotName, _callback); } /** - * Delete API Key Adds a new API Key + * Add an OpenSearch Snapshot Add an OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) - * @return DeleteApiKeyResponse + * @param repositoryName Snapshot Repository Name (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 @@ -1031,18 +1066,21 @@ 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 AddResponse addOpenSearchSnapshot(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + addOpenSearchSnapshotWithHttpInfo(siteId, repositoryName, snapshotName); return localVarResp.getData(); } /** - * Delete API Key Adds a new API Key + * Add an OpenSearch Snapshot Add an OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) - * @return ApiResponse<DeleteApiKeyResponse> + * @param repositoryName Snapshot Repository Name (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 @@ -1063,19 +1101,21 @@ 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 addOpenSearchSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + okhttp3.Call localVarCall = + addOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Delete API Key (asynchronously) Adds a new API Key + * Add an OpenSearch Snapshot (asynchronously) Add an OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param apiKey API Key (required) + * @param repositoryName Snapshot Repository Name (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 @@ -1097,21 +1137,23 @@ public ApiResponse deleteApiKeyWithHttpInfo( * * */ - public okhttp3.Call deleteApiKeyAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) + public okhttp3.Call addOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(siteId, apiKey, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + addOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteLocale + * Build call for addOpenSearchSnapshotRepository * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param repositoryName Snapshot Repository Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1133,8 +1175,9 @@ 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 addOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -1151,9 +1194,10 @@ public okhttp3.Call deleteLocaleCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/locales/{locale}" + String localVarPath = "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}" .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())); + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1175,36 +1219,37 @@ 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, "POST", 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 addOpenSearchSnapshotRepositoryValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + 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)"); + "Missing the required parameter 'siteId' when calling addOpenSearchSnapshotRepository(Async)"); } - // verify the required parameter 'locale' is set - if (locale == null) { + // verify the required parameter 'repositoryName' is set + if (repositoryName == null) { throw new ApiException( - "Missing the required parameter 'locale' when calling deleteLocale(Async)"); + "Missing the required parameter 'repositoryName' when calling addOpenSearchSnapshotRepository(Async)"); } - return deleteLocaleCall(siteId, locale, _callback); + return addOpenSearchSnapshotRepositoryCall(siteId, repositoryName, _callback); } /** - * Delete Locale Delete Locale + * Add OpenSearch Snapshot Repository Add an OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @return DeleteResponse + * @param repositoryName Snapshot Repository Name (required) + * @return AddOpenSearchSnapshotRepositoryResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1225,18 +1270,20 @@ 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 AddOpenSearchSnapshotRepositoryResponse addOpenSearchSnapshotRepository( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) + throws ApiException { + ApiResponse localVarResp = + addOpenSearchSnapshotRepositoryWithHttpInfo(siteId, repositoryName); return localVarResp.getData(); } /** - * Delete Locale Delete Locale + * Add OpenSearch Snapshot Repository Add an OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @return ApiResponse<DeleteResponse> + * @param repositoryName Snapshot Repository Name (required) + * @return ApiResponse<AddOpenSearchSnapshotRepositoryResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -1257,19 +1304,20 @@ public DeleteResponse deleteLocale(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse deleteLocaleWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale) + public ApiResponse addOpenSearchSnapshotRepositoryWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) throws ApiException { - okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, null); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + addOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Delete Locale (asynchronously) Delete Locale + * Add OpenSearch Snapshot Repository (asynchronously) Add an OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) + * @param repositoryName Snapshot Repository 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 @@ -1291,22 +1339,21 @@ 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 addOpenSearchSnapshotRepositoryAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + addOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteLocaleResourceItem + * Build call for addSite * - * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @param addSiteRequest (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1319,17 +1366,21 @@ public okhttp3.Call deleteLocaleAsync(@javax.annotation.Nonnull String siteId, * Response Headers * * - * 200 - * 200 OK + * 201 + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * + * + * 400 + * 400 OK + * - + * * */ - public okhttp3.Call deleteLocaleResourceItemCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, + public okhttp3.Call addSiteCall(@javax.annotation.Nonnull AddSiteRequest addSiteRequest, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -1344,13 +1395,10 @@ public okhttp3.Call deleteLocaleResourceItemCall(@javax.annotation.Nonnull Strin basePath = null; } - Object localVarPostBody = null; + Object localVarPostBody = addSiteRequest; // 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"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1364,7 +1412,7 @@ public okhttp3.Call deleteLocaleResourceItemCall(@javax.annotation.Nonnull Strin localVarHeaderParams.put("Accept", localVarAccept); } - final String[] localVarContentTypes = {}; + final String[] localVarContentTypes = {"application/json"}; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { @@ -1372,44 +1420,30 @@ 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, "POST", 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) { + 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 'itemKey' when calling deleteLocaleResourceItem(Async)"); + "Missing the required parameter 'addSiteRequest' when calling addSite(Async)"); } - return deleteLocaleResourceItemCall(siteId, locale, itemKey, _callback); + return addSiteCall(addSiteRequest, _callback); } /** - * Delete Local Resource Item Delete Local Resource Item + * Add Site Add Site * - * @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 + * @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 @@ -1421,30 +1455,31 @@ private okhttp3.Call deleteLocaleResourceItemValidateBeforeCall( * Response Headers * * - * 200 - * 200 OK + * 201 + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * + * + * 400 + * 400 OK + * - + * * */ - public DeleteResponse deleteLocaleResourceItem(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey) + public AddResponse addSite(@javax.annotation.Nonnull AddSiteRequest addSiteRequest) throws ApiException { - ApiResponse localVarResp = - deleteLocaleResourceItemWithHttpInfo(siteId, locale, itemKey); + ApiResponse localVarResp = addSiteWithHttpInfo(addSiteRequest); return localVarResp.getData(); } /** - * Delete Local Resource Item Delete Local Resource Item + * Add Site Add Site * - * @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> + * @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 @@ -1456,30 +1491,31 @@ public DeleteResponse deleteLocaleResourceItem(@javax.annotation.Nonnull String * Response Headers * * - * 200 - * 200 OK + * 201 + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * + * + * 400 + * 400 OK + * - + * * */ - 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(); + 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); } /** - * Delete Local Resource Item (asynchronously) Delete Local Resource Item + * Add Site (asynchronously) Add Site * - * @param siteId Site Identifier (required) - * @param locale Site Locale (ISO 639 / ISO 3166) (required) - * @param itemKey Item Key (MUST be URL‑encoded) (required) + * @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 @@ -1492,30 +1528,34 @@ public ApiResponse deleteLocaleResourceItemWithHttpInfo( * Response Headers * * - * 200 - * 200 OK + * 201 + * 201 CREATED * * Access-Control-Allow-Origin -
* * Access-Control-Allow-Methods -
* * Access-Control-Allow-Headers -
* * + * + * 400 + * 400 OK + * - + * * */ - public okhttp3.Call deleteLocaleResourceItemAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call addSiteAsync(@javax.annotation.Nonnull AddSiteRequest addSiteRequest, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - deleteLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = addSiteValidateBeforeCall(addSiteRequest, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteOpensearchIndex + * 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 @@ -1537,8 +1577,8 @@ 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 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[] {}; @@ -1555,8 +1595,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}/apiKeys/{apiKey}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "apiKey" + "}", localVarApiClient.escapeString(apiKey.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1584,23 +1625,30 @@ public okhttp3.Call deleteOpensearchIndexCall(@javax.annotation.Nonnull String s } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteOpensearchIndexValidateBeforeCall( - @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { + 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 deleteOpensearchIndex(Async)"); + "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 deleteOpensearchIndexCall(siteId, _callback); + return deleteApiKeyCall(siteId, apiKey, _callback); } /** - * Deletes site(s) OpenSearch index Deletes the OpenSearch index + * Delete API Key Adds a new API Key * * @param siteId Site Identifier (required) - * @return DeleteResponse + * @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 @@ -1621,17 +1669,18 @@ private okhttp3.Call deleteOpensearchIndexValidateBeforeCall( * * */ - public DeleteResponse deleteOpensearchIndex(@javax.annotation.Nonnull String siteId) - throws ApiException { - ApiResponse localVarResp = deleteOpensearchIndexWithHttpInfo(siteId); + public DeleteApiKeyResponse deleteApiKey(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String apiKey) throws ApiException { + ApiResponse localVarResp = deleteApiKeyWithHttpInfo(siteId, apiKey); return localVarResp.getData(); } /** - * Deletes site(s) OpenSearch index Deletes the OpenSearch index + * Delete API Key Adds a new API Key * * @param siteId Site Identifier (required) - * @return ApiResponse<DeleteResponse> + * @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 @@ -1652,17 +1701,19 @@ 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 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); } /** - * Deletes site(s) OpenSearch index (asynchronously) Deletes the OpenSearch index + * 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 @@ -1684,20 +1735,21 @@ public ApiResponse deleteOpensearchIndexWithHttpInfo( * * */ - public okhttp3.Call deleteOpensearchIndexAsync(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteApiKeyAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String apiKey, final ApiCallback _callback) + throws ApiException { - okhttp3.Call localVarCall = deleteOpensearchIndexValidateBeforeCall(siteId, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = deleteApiKeyValidateBeforeCall(siteId, apiKey, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteSiteGroup + * Build call for deleteLocale * * @param siteId Site Identifier (required) - * @param groupName Group Name (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 @@ -1719,8 +1771,8 @@ 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 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[] {}; @@ -1737,9 +1789,9 @@ public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/groups/{groupName}" + String localVarPath = "/sites/{siteId}/locales/{locale}" .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "groupName" + "}", localVarApiClient.escapeString(groupName.toString())); + .replace("{" + "locale" + "}", localVarApiClient.escapeString(locale.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -1767,29 +1819,29 @@ public okhttp3.Call deleteSiteGroupCall(@javax.annotation.Nonnull String siteId, } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteSiteGroupValidateBeforeCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String groupName, final ApiCallback _callback) throws ApiException { + 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 deleteSiteGroup(Async)"); + "Missing the required parameter 'siteId' when calling deleteLocale(Async)"); } - // verify the required parameter 'groupName' is set - if (groupName == null) { + // verify the required parameter 'locale' is set + if (locale == null) { throw new ApiException( - "Missing the required parameter 'groupName' when calling deleteSiteGroup(Async)"); + "Missing the required parameter 'locale' when calling deleteLocale(Async)"); } - return deleteSiteGroupCall(siteId, groupName, _callback); + return deleteLocaleCall(siteId, locale, _callback); } /** - * Deletes Site Group and permissions Deletes Site Group and permissions + * Delete Locale Delete Locale * * @param siteId Site Identifier (required) - * @param groupName Group Name (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 @@ -1811,17 +1863,17 @@ 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 DeleteResponse deleteLocale(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale) throws ApiException { + ApiResponse localVarResp = deleteLocaleWithHttpInfo(siteId, locale); return localVarResp.getData(); } /** - * Deletes Site Group and permissions Deletes Site Group and permissions + * Delete Locale Delete Locale * * @param siteId Site Identifier (required) - * @param groupName Group Name (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 @@ -1843,19 +1895,19 @@ public DeleteResponse deleteSiteGroup(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse deleteSiteGroupWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String groupName) + public ApiResponse deleteLocaleWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale) throws ApiException { - okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, null); + okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Deletes Site Group and permissions (asynchronously) Deletes Site Group and permissions + * Delete Locale (asynchronously) Delete Locale * * @param siteId Site Identifier (required) - * @param groupName Group Name (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 @@ -1877,18 +1929,1836 @@ public ApiResponse deleteSiteGroupWithHttpInfo( * * */ - public okhttp3.Call deleteSiteGroupAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String groupName, final ApiCallback _callback) + public okhttp3.Call deleteLocaleAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, _callback); + okhttp3.Call localVarCall = deleteLocaleValidateBeforeCall(siteId, locale, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getApiKeys + * 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 deleteOpenSearchSnapshot + * + * @param siteId Site Identifier (required) + * @param repositoryName Snapshot Repository Name (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 repositoryName, + @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/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.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 repositoryName, + @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 'repositoryName' is set + if (repositoryName == null) { + throw new ApiException( + "Missing the required parameter 'repositoryName' 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, repositoryName, snapshotName, _callback); + + } + + /** + * Deletes site(s) OpenSearch Snapshot Deletes the OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param repositoryName Snapshot Repository Name (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 repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + deleteOpenSearchSnapshotWithHttpInfo(siteId, repositoryName, snapshotName); + return localVarResp.getData(); + } + + /** + * Deletes site(s) OpenSearch Snapshot Deletes the OpenSearch Snapshot + * + * @param siteId Site Identifier (required) + * @param repositoryName Snapshot Repository Name (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 repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, 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 repositoryName Snapshot Repository Name (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 repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { + + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for deleteOpenSearchSnapshotRepository + * + * @param siteId Site Identifier (required) + * @param repositoryName Snapshot Repository 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 deleteOpenSearchSnapshotRepositoryCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + 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/snapshotRepositories/{repositoryName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.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, @javax.annotation.Nonnull String repositoryName, + 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)"); + } + + // verify the required parameter 'repositoryName' is set + if (repositoryName == null) { + throw new ApiException( + "Missing the required parameter 'repositoryName' when calling deleteOpenSearchSnapshotRepository(Async)"); + } + + return deleteOpenSearchSnapshotRepositoryCall(siteId, repositoryName, _callback); + + } + + /** + * Deletes site(s) OpenSearch Snapshot Repository Deletes the OpenSearch Snapshot Repository + * + * @param siteId Site Identifier (required) + * @param repositoryName Snapshot Repository 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 deleteOpenSearchSnapshotRepository(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName) throws ApiException { + ApiResponse localVarResp = + deleteOpenSearchSnapshotRepositoryWithHttpInfo(siteId, repositoryName); + return localVarResp.getData(); + } + + /** + * Deletes site(s) OpenSearch Snapshot Repository Deletes the OpenSearch Snapshot Repository + * + * @param siteId Site Identifier (required) + * @param repositoryName Snapshot Repository 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 deleteOpenSearchSnapshotRepositoryWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) + throws ApiException { + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, 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 repositoryName Snapshot Repository 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 deleteOpenSearchSnapshotRepositoryAsync( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + deleteOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, _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 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 getApiKeys(Async)"); + } + + return getApiKeysCall(siteId, next, limit, _callback); + + } + + /** + * Get API Keys Returns the list of ApiKeys + * + * @param siteId Site Identifier (required) + * @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 + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + 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(); + } + + /** + * Get API Keys Returns the list of ApiKeys + * + * @param siteId Site Identifier (required) + * @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 + * + * + * + * + * + * + * + * + * + * + * + * + *
Response Details
Status CodeDescriptionResponse Headers
200200 OK* Access-Control-Allow-Origin -
+ * * Access-Control-Allow-Methods -
+ * * Access-Control-Allow-Headers -
+ *
+ */ + 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); + } + + /** + * Get API Keys (asynchronously) Returns the list of ApiKeys + * + * @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 + * @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 getApiKeysAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getApiKeysValidateBeforeCall(siteId, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getConfiguration + * + * @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 getConfigurationCall(@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}/configuration".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, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + 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 getConfiguration(Async)"); + } + + return getConfigurationCall(siteId, _callback); + + } + + /** + * Get site configuration Returns the list of sites that the user has access to + * + * @param siteId Site Identifier (required) + * @return GetConfigurationResponse + * @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 GetConfigurationResponse getConfiguration(@javax.annotation.Nonnull String siteId) + throws ApiException { + ApiResponse localVarResp = getConfigurationWithHttpInfo(siteId); + return localVarResp.getData(); + } + + /** + * Get site configuration Returns the list of sites that the user has access to + * + * @param siteId Site Identifier (required) + * @return ApiResponse<GetConfigurationResponse> + * @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 getConfigurationWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(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 + * + * @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 getConfigurationAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getLocaleResourceItem + * + * @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 getLocaleResourceItemCall(@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, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @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 { + // 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)"); + } + + // verify the required parameter 'itemKey' is set + if (itemKey == null) { + throw new ApiException( + "Missing the required parameter 'itemKey' when calling getLocaleResourceItem(Async)"); + } + + return getLocaleResourceItemCall(siteId, locale, itemKey, _callback); + + } + + /** + * 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 GetLocaleResourceItemResponse + * @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 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(); + } + + /** + * 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<GetLocaleResourceItemResponse> + * @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 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(); + return localVarApiClient.execute(localVarCall, localVarReturnType); + } + + /** + * Get Resource Item by Locale (asynchronously) 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) + * @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 getLocaleResourceItemAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String locale, @javax.annotation.Nonnull String itemKey, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = + getLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * 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 + * @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 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[] {}; + + // 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" + .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(); + + 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 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 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); + + } + + /** + * Get Resource Items by Locale 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) + * @return GetLocaleResourceItemsResponse + * @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 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 = + getLocaleResourceItemsWithHttpInfo(siteId, locale, next, limit); + return localVarResp.getData(); + } + + /** + * Get Resource Items by Locale 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) + * @return ApiResponse<GetLocaleResourceItemsResponse> + * @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 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); + } + + /** + * 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 + * @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 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 = + getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); + localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + return localVarCall; + } + + /** + * Build call for getLocales * * @param siteId Site Identifier (required) * @param next Next page of results token (optional) @@ -1914,7 +3784,7 @@ public okhttp3.Call deleteSiteGroupAsync(@javax.annotation.Nonnull String siteId * * */ - public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, + 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; @@ -1933,7 +3803,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}/locales".replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); @@ -1970,26 +3840,26 @@ public okhttp3.Call getApiKeysCall(@javax.annotation.Nonnull String siteId, } @SuppressWarnings("rawtypes") - private okhttp3.Call getApiKeysValidateBeforeCall(@javax.annotation.Nonnull String siteId, + 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 getApiKeys(Async)"); + "Missing the required parameter 'siteId' when calling getLocales(Async)"); } - return getApiKeysCall(siteId, next, limit, _callback); + return getLocalesCall(siteId, next, limit, _callback); } /** - * Get API Keys Returns the list of ApiKeys + * Get Locales Returns a list of locale(s) in a specified site * * @param siteId Site Identifier (required) * @param next Next page of results token (optional) * @param limit Limit Results (optional, default to 10) - * @return GetApiKeysResponse + * @return GetLocalesResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2010,20 +3880,20 @@ private okhttp3.Call getApiKeysValidateBeforeCall(@javax.annotation.Nonnull Stri * * */ - public GetApiKeysResponse getApiKeys(@javax.annotation.Nonnull String siteId, + public GetLocalesResponse getLocales(@javax.annotation.Nonnull String siteId, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit) throws ApiException { - ApiResponse localVarResp = getApiKeysWithHttpInfo(siteId, next, limit); + ApiResponse localVarResp = getLocalesWithHttpInfo(siteId, next, limit); return localVarResp.getData(); } /** - * Get API Keys Returns the list of ApiKeys + * Get Locales Returns a list of locale(s) in a specified site * * @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<GetLocalesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2044,16 +3914,16 @@ public GetApiKeysResponse getApiKeys(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse getApiKeysWithHttpInfo( + public ApiResponse getLocalesWithHttpInfo( @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(); + okhttp3.Call localVarCall = getLocalesValidateBeforeCall(siteId, next, limit, null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Get API Keys (asynchronously) Returns the list of ApiKeys + * Get Locales (asynchronously) Returns a list of locale(s) in a specified site * * @param siteId Site Identifier (required) * @param next Next page of results token (optional) @@ -2079,18 +3949,18 @@ public ApiResponse getApiKeysWithHttpInfo( * * */ - public okhttp3.Call getApiKeysAsync(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getLocalesAsync(@javax.annotation.Nonnull String siteId, @javax.annotation.Nullable String next, @javax.annotation.Nullable String limit, - final ApiCallback _callback) throws ApiException { + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getApiKeysValidateBeforeCall(siteId, next, limit, _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 getConfiguration + * Build call for getOpenSearchIndex * * @param siteId Site Identifier (required) * @param _callback Callback for upload/download progress @@ -2114,7 +3984,7 @@ public okhttp3.Call getApiKeysAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call getConfigurationCall(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getOpenSearchIndexCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -2132,7 +4002,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/index".replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); @@ -2161,23 +4031,23 @@ public okhttp3.Call getConfigurationCall(@javax.annotation.Nonnull String siteId } @SuppressWarnings("rawtypes") - private okhttp3.Call getConfigurationValidateBeforeCall(@javax.annotation.Nonnull String siteId, + 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 getConfiguration(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchIndex(Async)"); } - return getConfigurationCall(siteId, _callback); + return getOpenSearchIndexCall(siteId, _callback); } /** - * Get site configuration Returns the list of sites that the user has access to + * Get site(s) OpenSearch index settings Returns the OpenSearch index settings * * @param siteId Site Identifier (required) - * @return GetConfigurationResponse + * @return GetOpenSearchIndexResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2198,17 +4068,17 @@ private okhttp3.Call getConfigurationValidateBeforeCall(@javax.annotation.Nonnul * * */ - public GetConfigurationResponse getConfiguration(@javax.annotation.Nonnull String siteId) + public GetOpenSearchIndexResponse getOpenSearchIndex(@javax.annotation.Nonnull String siteId) throws ApiException { - ApiResponse localVarResp = getConfigurationWithHttpInfo(siteId); + ApiResponse localVarResp = getOpenSearchIndexWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Get site configuration Returns the list of sites that the user has access to + * Get site(s) OpenSearch index settings Returns the OpenSearch index settings * * @param siteId Site Identifier (required) - * @return ApiResponse<GetConfigurationResponse> + * @return ApiResponse<GetOpenSearchIndexResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2229,15 +4099,15 @@ public GetConfigurationResponse getConfiguration(@javax.annotation.Nonnull Strin * * */ - public ApiResponse getConfigurationWithHttpInfo( + public ApiResponse getOpenSearchIndexWithHttpInfo( @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, null); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getOpenSearchIndexValidateBeforeCall(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 index settings (asynchronously) Returns the OpenSearch index settings * * @param siteId Site Identifier (required) * @param _callback The callback to be executed when the API call finishes @@ -2261,21 +4131,21 @@ public ApiResponse getConfigurationWithHttpInfo( * * */ - public okhttp3.Call getConfigurationAsync(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchIndexAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getConfigurationValidateBeforeCall(siteId, _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 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 repositoryName Snapshot Repository Name (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 +4167,10 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2316,10 +4187,13 @@ 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/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.toString())) + .replace("{" + "snapshotName" + "}", + localVarApiClient.escapeString(snapshotName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2347,38 +4221,39 @@ 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 repositoryName, + @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)"); + "Missing the required parameter 'siteId' when calling getOpenSearchSnapshot(Async)"); } - // verify the required parameter 'locale' is set - if (locale == null) { + // verify the required parameter 'repositoryName' is set + if (repositoryName == null) { throw new ApiException( - "Missing the required parameter 'locale' when calling getLocaleResourceItem(Async)"); + "Missing the required parameter 'repositoryName' 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, repositoryName, 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 repositoryName Snapshot Repository Name (required) + * @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 +4274,21 @@ 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 repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { + ApiResponse localVarResp = + getOpenSearchSnapshotWithHttpInfo(siteId, repositoryName, 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 repositoryName Snapshot Repository Name (required) + * @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 +4309,21 @@ public GetLocaleResourceItemResponse getLocaleResourceItem( * * */ - public ApiResponse getLocaleResourceItemWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String locale, - @javax.annotation.Nonnull String itemKey) throws ApiException { + public ApiResponse getOpenSearchSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + @javax.annotation.Nonnull String snapshotName) throws ApiException { okhttp3.Call localVarCall = - getLocaleResourceItemValidateBeforeCall(siteId, locale, itemKey, null); - Type localVarReturnType = new TypeToken() {}.getType(); + getOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, 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 repositoryName Snapshot Repository Name (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 +4345,22 @@ 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 repositoryName, + @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, repositoryName, 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 +4382,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(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2528,9 +4400,8 @@ 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/{siteId}/opensearch/snapshotRepositories" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2538,14 +4409,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 +4429,23 @@ 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, - final ApiCallback _callback) throws ApiException { + private okhttp3.Call getOpenSearchSnapshotRepositoriesValidateBeforeCall( + @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 getLocaleResourceItems(Async)"); - } - - // verify the required parameter 'locale' is set - if (locale == null) { - throw new ApiException( - "Missing the required parameter 'locale' when calling getLocaleResourceItems(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchSnapshotRepositories(Async)"); } - return getLocaleResourceItemsCall(siteId, locale, next, limit, _callback); + return getOpenSearchSnapshotRepositoriesCall(siteId, _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 +4466,18 @@ 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) - throws ApiException { - ApiResponse localVarResp = - getLocaleResourceItemsWithHttpInfo(siteId, locale, next, limit); + public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories( + @javax.annotation.Nonnull String siteId) throws ApiException { + ApiResponse localVarResp = + getOpenSearchSnapshotRepositoriesWithHttpInfo(siteId); 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 +4498,18 @@ 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) - throws ApiException { - okhttp3.Call localVarCall = - getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getOpenSearchSnapshotRepositoriesWithHttpInfo( + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoriesValidateBeforeCall(siteId, 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 +4531,22 @@ 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( + @javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - getLocaleResourceItemsValidateBeforeCall(siteId, locale, next, limit, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + getOpenSearchSnapshotRepositoriesValidateBeforeCall(siteId, _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 repositoryName Snapshot Repository Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2728,9 +4568,9 @@ 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, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2747,8 +4587,10 @@ 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/snapshotRepositories/{repositoryName}" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2756,14 +4598,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 +4618,31 @@ 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, + private okhttp3.Call getOpenSearchSnapshotRepositoryValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, 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); + // verify the required parameter 'repositoryName' is set + if (repositoryName == null) { + throw new ApiException( + "Missing the required parameter 'repositoryName' when calling getOpenSearchSnapshotRepository(Async)"); + } + + return getOpenSearchSnapshotRepositoryCall(siteId, repositoryName, _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 + * @param repositoryName Snapshot Repository Name (required) + * @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 +4663,20 @@ 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) + public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) throws ApiException { - ApiResponse localVarResp = getLocalesWithHttpInfo(siteId, next, limit); + ApiResponse localVarResp = + getOpenSearchSnapshotRepositoryWithHttpInfo(siteId, repositoryName); 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> + * @param repositoryName Snapshot Repository Name (required) + * @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 +4697,21 @@ 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, @javax.annotation.Nonnull String repositoryName) + throws ApiException { + okhttp3.Call localVarCall = + getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, 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 repositoryName Snapshot Repository 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 @@ -2893,20 +4733,22 @@ 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, + @javax.annotation.Nonnull String repositoryName, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getLocalesValidateBeforeCall(siteId, next, limit, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, _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 repositoryName Snapshot Repository Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -2928,8 +4770,9 @@ public okhttp3.Call getLocalesAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call getOpensearchIndexCall(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotsCall(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2946,8 +4789,11 @@ 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" + "}", - localVarApiClient.escapeString(siteId.toString())); + String localVarPath = + "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) + .replace("{" + "repositoryName" + "}", + localVarApiClient.escapeString(repositoryName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2975,23 +4821,31 @@ public okhttp3.Call getOpensearchIndexCall(@javax.annotation.Nonnull String site } @SuppressWarnings("rawtypes") - private okhttp3.Call getOpensearchIndexValidateBeforeCall(@javax.annotation.Nonnull String siteId, + private okhttp3.Call getOpenSearchSnapshotsValidateBeforeCall( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, 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)"); + } + + // verify the required parameter 'repositoryName' is set + if (repositoryName == null) { + throw new ApiException( + "Missing the required parameter 'repositoryName' when calling getOpenSearchSnapshots(Async)"); } - return getOpensearchIndexCall(siteId, _callback); + return getOpenSearchSnapshotsCall(siteId, repositoryName, _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 + * @param repositoryName Snapshot Repository 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 @@ -3012,17 +4866,20 @@ private okhttp3.Call getOpensearchIndexValidateBeforeCall(@javax.annotation.Nonn * * */ - public GetOpenSearchIndexResponse getOpensearchIndex(@javax.annotation.Nonnull String siteId) + public GetOpenSearchSnapshotResponse getOpenSearchSnapshots( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) throws ApiException { - ApiResponse localVarResp = getOpensearchIndexWithHttpInfo(siteId); + ApiResponse localVarResp = + getOpenSearchSnapshotsWithHttpInfo(siteId, repositoryName); 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> + * @param repositoryName Snapshot Repository 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 @@ -3043,17 +4900,20 @@ public GetOpenSearchIndexResponse getOpensearchIndex(@javax.annotation.Nonnull S * * */ - public ApiResponse getOpensearchIndexWithHttpInfo( - @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = getOpensearchIndexValidateBeforeCall(siteId, null); - Type localVarReturnType = new TypeToken() {}.getType(); + public ApiResponse getOpenSearchSnapshotsWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) + throws ApiException { + okhttp3.Call localVarCall = + getOpenSearchSnapshotsValidateBeforeCall(siteId, repositoryName, 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 repositoryName Snapshot Repository 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 @@ -3075,11 +4935,13 @@ 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, + @javax.annotation.Nonnull String repositoryName, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = getOpensearchIndexValidateBeforeCall(siteId, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = + getOpenSearchSnapshotsValidateBeforeCall(siteId, repositoryName, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -4044,7 +5906,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 +5931,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 +5979,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 +6024,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 +6058,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,12 +6094,12 @@ 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; 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..6ad08cc50 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,6 +34,7 @@ import java.io.IOException; +import com.formkiq.client.model.GetActivitesResponse; import com.formkiq.client.model.GetUserActivitesResponse; import java.lang.reflect.Type; @@ -297,6 +298,262 @@ 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 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 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 (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 String next, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId, + final ApiCallback _callback) throws ApiException { + return getResourceActivitiesCall(siteId, documentId, entityTypeId, namespace, entityId, 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 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 String next, @javax.annotation.Nullable String limit, + @javax.annotation.Nullable String userId) throws ApiException { + ApiResponse localVarResp = getResourceActivitiesWithHttpInfo(siteId, + documentId, entityTypeId, namespace, entityId, 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 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 String next, + @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId) + throws ApiException { + okhttp3.Call localVarCall = getResourceActivitiesValidateBeforeCall(siteId, documentId, + entityTypeId, namespace, entityId, 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 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 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, 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..4e8541161 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(); } @@ -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("^.*[/\\\\]", ""); } /** @@ -1479,7 +1479,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 +1494,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 +1517,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 +1537,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 +1598,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 +1616,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..1e50fb6b0 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. @@ -31,8 +31,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; 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..239e56d03 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..e586013c4 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( @@ -243,6 +261,8 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.AddNigoRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddNigoResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.AddOpenSearchSnapshotRepositoryResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddQueueRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -421,14 +441,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( @@ -489,10 +519,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( @@ -517,6 +557,10 @@ 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.GetOpenSearchSnapshotRepositoryResponse.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.GetOpenSearchSnapshotResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.GetQueueResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -621,6 +665,14 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.OpaPolicyItem.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.OpenSearchIndex.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( @@ -669,6 +721,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( @@ -703,6 +757,10 @@ 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.UpdateAttribute.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory( + new com.formkiq.client.model.UpdateAttributeRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.UpdateCase.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -719,6 +777,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..6ae8c6deb 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,8 +21,8 @@ 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Pair { private String name = ""; private String value = ""; 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..f15aff5ac 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..6c01b96cb 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..4279fad16 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..c077d4211 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..9bc5c8c3b 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..8bef42d58 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..18613f9b9 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..668c1849c 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..6e26234fc 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..61d930abe 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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..6ec74e2a7 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/Activity.java @@ -0,0 +1,597 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * Activity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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_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 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.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, 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(" 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", "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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..78578a5fd --- /dev/null +++ b/src/main/java/com/formkiq/client/model/ActivityStatus.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 com.google.gson.annotations.SerializedName; + +import java.io.IOException; +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..4c8a2bc2e 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddAction { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -185,14 +185,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddActionParameters.java b/src/main/java/com/formkiq/client/model/AddActionParameters.java index 0cf6b8808..1daf5c9c7 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. @@ -58,8 +58,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddActionParameters { public static final String SERIALIZED_NAME_OCR_PARSE_TYPES = "ocrParseTypes"; @SerializedName(SERIALIZED_NAME_OCR_PARSE_TYPES) @@ -249,6 +249,26 @@ 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 ocrParseTypes(@javax.annotation.Nullable String ocrParseTypes) { @@ -597,6 +617,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) { @@ -624,7 +724,11 @@ 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 @@ -632,7 +736,7 @@ public int hashCode() { return Objects.hash(ocrParseTypes, ocrEngine, ocrOutputType, ocrNumberOfPages, addPdfDetectedCharactersAsText, url, characterMax, engine, notificationType, notificationToCc, notificationToBcc, notificationSubject, notificationText, - notificationHtml, tags, mappingId, eventBusName); + notificationHtml, tags, mappingId, eventBusName, width, height, path, outputType); } @Override @@ -658,6 +762,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 +786,14 @@ 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("ocrParseTypes", "ocrEngine", "ocrOutputType", + "ocrNumberOfPages", "addPdfDetectedCharactersAsText", "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); } /** @@ -835,6 +930,30 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti "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( + "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( + "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( + "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( + "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..b268c92c4 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddApiKeyRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -224,12 +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("permissions"); + openapiFields = new HashSet(Arrays.asList("name", "permissions")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java b/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java index 3a98321b0..ae6fbb405 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddApiKeyResponse { public static final String SERIALIZED_NAME_API_KEY = "apiKey"; @SerializedName(SERIALIZED_NAME_API_KEY) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddAttribute.java b/src/main/java/com/formkiq/client/model/AddAttribute.java index 5b043740c..70fef9afd 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -213,15 +213,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddAttributeRequest.java b/src/main/java/com/formkiq/client/model/AddAttributeRequest.java index 0d006f04e..6f885a144 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddAttributeRequest { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java b/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java index e346b7c6d..d6d6653c8 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddAttributeSchemaOptional { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -224,14 +224,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java b/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java index 3d024b6ff..d04b29bce 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddAttributeSchemaRequired { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -288,16 +288,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddCase.java b/src/main/java/com/formkiq/client/model/AddCase.java index edc936edf..f69dbf98f 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. @@ -62,8 +62,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddCase { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -440,22 +440,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddCaseRequest.java b/src/main/java/com/formkiq/client/model/AddCaseRequest.java index 38a101627..4b89b8377 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddCaseRequest { public static final String SERIALIZED_NAME_CASE = "case"; @SerializedName(SERIALIZED_NAME_CASE) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddCaseResponse.java b/src/main/java/com/formkiq/client/model/AddCaseResponse.java index c005c78eb..5f2f274aa 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddCaseResponse { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddChildDocument.java b/src/main/java/com/formkiq/client/model/AddChildDocument.java index 07ed5bc59..98543923d 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddChildDocument { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -421,22 +421,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java b/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java index 4aa1352e5..8035a8d01 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddChildDocumentResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -193,13 +193,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddClassification.java b/src/main/java/com/formkiq/client/model/AddClassification.java index c92927318..d42135204 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddClassification { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -157,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("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/AddClassificationRequest.java b/src/main/java/com/formkiq/client/model/AddClassificationRequest.java index 509f42c8f..a98fe0b2e 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddClassificationRequest { public static final String SERIALIZED_NAME_CLASSIFICATION = "classification"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddClassificationResponse.java b/src/main/java/com/formkiq/client/model/AddClassificationResponse.java index 31b912d4b..2c9570e6b 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddClassificationResponse { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java index 5050c461c..8992a2af6 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentActionsRequest { public static final String SERIALIZED_NAME_ACTIONS = "actions"; @SerializedName(SERIALIZED_NAME_ACTIONS) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java index ac29a5f98..b6a018595 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentActionsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java index d56900a67..55999b443 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentActionsRetryResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java b/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java index d60e2990b..2c681912a 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. @@ -22,9 +22,11 @@ import java.util.Objects; 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; @@ -72,8 +74,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentAttribute extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AddDocumentAttribute.class.getName()); @@ -91,6 +93,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 +125,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 @@ -179,6 +190,21 @@ public AddDocumentAttribute read(JsonReader in) throws IOException { 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("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(); @@ -210,6 +236,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 +247,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 +268,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 +325,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 * @@ -332,9 +375,18 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti 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( + "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", + "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..cad8de77f 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentAttributeClassification { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -132,12 +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.add("classificationId"); + openapiRequiredFields = new HashSet(Arrays.asList("classificationId")); } /** 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..5cf210c6f --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java @@ -0,0 +1,327 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * Document Entity Attribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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("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( + "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( + "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( + "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..ff78caa99 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentAttributeRelationship { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -190,15 +190,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java index c8b9d0b9f..b77dddb82 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentAttributeStandard { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -287,17 +287,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java index a64cb5f1c..7b080a3cf 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentAttributeValue { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -258,15 +258,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java index fc60dddd1..000373a70 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentAttributesRequest { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -141,11 +141,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java index 314a1489a..e6455a084 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. @@ -64,8 +64,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -472,22 +472,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java index 27f72eab6..bbfde6d49 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java index 141d8048f..0bd353bb4 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. @@ -62,8 +62,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentGenerateRequest { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @@ -293,16 +293,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java index 822d5c8b2..17fa7e596 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentGenerateResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java b/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java index 8836a6ed2..654276ea1 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentMetadata { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -193,14 +193,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java index a139fee5e..1edd54c31 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. @@ -60,8 +60,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentOcrRequest { public static final String SERIALIZED_NAME_PARSE_TYPES = "parseTypes"; @SerializedName(SERIALIZED_NAME_PARSE_TYPES) @@ -257,15 +257,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("parseTypes", + "addPdfDetectedCharactersAsText", "ocrEngine", "ocrNumberOfPages", "ocrOutputType")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java index d951a711c..9bc327a57 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentOcrResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentRequest.java index d99fd5f7b..47e23313d 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. @@ -64,8 +64,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentRequest { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -558,26 +558,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentResponse.java index 8de7e036c..5c9b20167 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -259,15 +259,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSync.java b/src/main/java/com/formkiq/client/model/AddDocumentSync.java index 744e92fca..4465c590d 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentSync { public static final String SERIALIZED_NAME_SERVICE = "service"; @SerializedName(SERIALIZED_NAME_SERVICE) @@ -158,12 +158,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java index 516506855..a6a188f08 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentSyncRequest { public static final String SERIALIZED_NAME_SYNC = "sync"; @SerializedName(SERIALIZED_NAME_SYNC) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java b/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java index e2534bb70..1af4da224 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. diff --git a/src/main/java/com/formkiq/client/model/AddDocumentTag.java b/src/main/java/com/formkiq/client/model/AddDocumentTag.java index 765750f67..f9bcc1adc 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -193,14 +193,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java index 49970554e..5f760793c 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentTagsRequest { public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java index c4da56eee..02e77b846 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. @@ -62,8 +62,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentUploadRequest { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -432,21 +432,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java index 03788f768..b8c01d527 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentWorkflowDecisionsRequest { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -238,14 +238,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java index a475d909f..31ba2c5a2 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentWorkflowDecisionsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java index b90fec194..6b5a55955 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentWorkflowRequest { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -129,12 +129,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java index aa8fe4dbe..db72b21bf 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocumentWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java index d89bdca3a..1a62663d1 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. @@ -62,8 +62,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocusignEnvelopesRequest { public static final String SERIALIZED_NAME_EMAIL_SUBJECT = "emailSubject"; @SerializedName(SERIALIZED_NAME_EMAIL_SUBJECT) @@ -265,16 +265,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java index cc8786aba..3ef39107c 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocusignEnvelopesResponse { public static final String SERIALIZED_NAME_ENVELOPE_ID = "envelopeId"; @SerializedName(SERIALIZED_NAME_ENVELOPE_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java index 8b726e6b1..f7e6fc51b 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocusignRecipientViewRequest { public static final String SERIALIZED_NAME_ENVIRONMENT = "environment"; @SerializedName(SERIALIZED_NAME_ENVIRONMENT) @@ -161,14 +161,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java index 1b973d8bc..603880ff6 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddDocusignRecipientViewResponse { public static final String SERIALIZED_NAME_VIEW_URL = "viewUrl"; @SerializedName(SERIALIZED_NAME_VIEW_URL) @@ -130,11 +130,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); } /** 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..7941b55e7 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntity.java @@ -0,0 +1,275 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddEntity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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..5f79e7f52 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityAttribute.java @@ -0,0 +1,396 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddEntityAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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( + "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( + "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..7bbd063d7 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityRequest.java @@ -0,0 +1,220 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddEntityRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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..03977b477 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityResponse.java @@ -0,0 +1,221 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddEntityResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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..15fb1c81f --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityType.java @@ -0,0 +1,253 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddEntityType + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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/AddAttributeResponse.java b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java similarity index 66% rename from src/main/java/com/formkiq/client/model/AddAttributeResponse.java rename to src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java index 80474cea8..5e870792a 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeResponse.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,7 @@ package com.formkiq.client.model; import java.util.Objects; +import com.formkiq.client.model.AddEntityType; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -53,36 +54,36 @@ import com.formkiq.client.invoker.JSON; /** - * AddAttributeResponse + * 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 AddAttributeResponse { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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 AddAttributeResponse() {} + public AddEntityTypeRequest() {} - public AddAttributeResponse message(@javax.annotation.Nullable String message) { - this.message = message; + public AddEntityTypeRequest entityType(@javax.annotation.Nullable AddEntityType entityType) { + this.entityType = entityType; return this; } /** - * Response 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 +96,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); + 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 AddAttributeResponse {\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 +130,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 AddAttributeResponse + * @throws IOException if the JSON Element is invalid with respect to AddEntityTypeRequest */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!AddAttributeResponse.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 AddAttributeResponse is not found in the empty JSON string", - AddAttributeResponse.openapiRequiredFields.toString())); + "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 (!AddAttributeResponse.openapiFields.contains(entry.getKey())) { + if (!AddEntityTypeRequest.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", + "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 +172,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 (!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(AddAttributeResponse.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, AddAttributeResponse value) throws IOException { + public void write(JsonWriter out, AddEntityTypeRequest value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public AddAttributeResponse 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 +198,18 @@ public AddAttributeResponse read(JsonReader in) throws IOException { } /** - * Create an instance of AddAttributeResponse given an JSON string + * Create an instance of AddEntityTypeRequest 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 AddEntityTypeRequest + * @throws IOException if the JSON string is invalid with respect to AddEntityTypeRequest */ - public static AddAttributeResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AddAttributeResponse.class); + public static AddEntityTypeRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddEntityTypeRequest.class); } /** - * Convert an instance of AddAttributeResponse 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..ae9d0f0b4 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java @@ -0,0 +1,221 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddEntityTypeResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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..8928cebce --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddFolderPermission.java @@ -0,0 +1,267 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * AddFolderPermission + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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..51a0bae7a 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddFolderRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddFolderResponse.java b/src/main/java/com/formkiq/client/model/AddFolderResponse.java index 552969816..ae47f4f9f 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddFolderResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java b/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java index 1f5e6db1c..d1ac1d65a 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddFolderShareRequest { public static final String SERIALIZED_NAME_SHARE = "share"; @SerializedName(SERIALIZED_NAME_SHARE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java b/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java index 1f2632fa7..54b850dd3 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddFolderShareResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java index ecccc3099..75d5dfa95 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddGoogleDocumentExportRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -159,12 +159,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java index fd9cd3285..8a0d28f32 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddGoogleDocumentExportResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddGroup.java b/src/main/java/com/formkiq/client/model/AddGroup.java index 1708600f1..5c7b9d203 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddGroup { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddGroupRequest.java b/src/main/java/com/formkiq/client/model/AddGroupRequest.java index 70812b8fd..a5cad7a7a 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddGroupRequest { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddLocaleRequest.java b/src/main/java/com/formkiq/client/model/AddLocaleRequest.java index 83ebf2d0d..27cf27913 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddLocaleRequest { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java index 1b960faca..dac984e78 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddLocaleResourceClassificationItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -245,20 +245,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java index fda26b0ab..d2b18bc97 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddLocaleResourceInterfaceItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -188,16 +188,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java index 314f18dd1..3c0722f71 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddLocaleResourceItemRequest { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java index fff17bc59..62ecff8cd 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddLocaleResourceItemResponse { public static final String SERIALIZED_NAME_ITEM_KEY = "itemKey"; @SerializedName(SERIALIZED_NAME_ITEM_KEY) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java b/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java index 38dd7fc2b..1d4739250 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddLocaleResourceSchemaItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -213,18 +213,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddMapping.java b/src/main/java/com/formkiq/client/model/AddMapping.java index 83dd86b67..5e2beace6 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddMapping { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -194,13 +194,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddMappingRequest.java b/src/main/java/com/formkiq/client/model/AddMappingRequest.java index 78c5c86bf..bf3c798f9 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddMappingRequest { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddMappingResponse.java b/src/main/java/com/formkiq/client/model/AddMappingResponse.java index 9bed3cdc1..abd72ceb1 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddMappingResponse { public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId"; @SerializedName(SERIALIZED_NAME_MAPPING_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddNigo.java b/src/main/java/com/formkiq/client/model/AddNigo.java index 38c240618..e6a81cc12 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddNigo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,20 +367,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddNigoRequest.java b/src/main/java/com/formkiq/client/model/AddNigoRequest.java index 31c219ddc..ecd1a9297 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddNigoRequest { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddNigoResponse.java b/src/main/java/com/formkiq/client/model/AddNigoResponse.java index 4640e5d36..32f63b9a5 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddNigoResponse { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java b/src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java new file mode 100644 index 000000000..9dc0ece48 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java @@ -0,0 +1,324 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + * + * 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 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 com.formkiq.client.invoker.JSON; + +/** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + * 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") +public class AddLocaleResourceItemResponse { + public static final String SERIALIZED_NAME_ITEM_KEY = "itemKey"; + @SerializedName(SERIALIZED_NAME_ITEM_KEY) +======== + * AddOpenSearchSnapshotRepositoryResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") +public class AddOpenSearchSnapshotRepositoryResponse { + public static final String SERIALIZED_NAME_MESSAGE = "message"; + @SerializedName(SERIALIZED_NAME_MESSAGE) +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + @javax.annotation.Nullable + private String itemKey; + +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + public AddLocaleResourceItemResponse() {} + + public AddLocaleResourceItemResponse itemKey(@javax.annotation.Nullable String itemKey) { + this.itemKey = itemKey; +======== + public AddOpenSearchSnapshotRepositoryResponse() {} + + public AddOpenSearchSnapshotRepositoryResponse message( + @javax.annotation.Nullable String message) { + this.message = message; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + return this; + } + + /** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + * Item Key of resource +======== + * Result message +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + * + * @return itemKey + */ + @javax.annotation.Nullable + public String getItemKey() { + return itemKey; + } + + public void setItemKey(@javax.annotation.Nullable String itemKey) { + this.itemKey = itemKey; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + AddLocaleResourceItemResponse addLocaleResourceItemResponse = (AddLocaleResourceItemResponse) o; + return Objects.equals(this.itemKey, addLocaleResourceItemResponse.itemKey); +======== + AddOpenSearchSnapshotRepositoryResponse addOpenSearchSnapshotRepositoryResponse = + (AddOpenSearchSnapshotRepositoryResponse) o; + return Objects.equals(this.message, addOpenSearchSnapshotRepositoryResponse.message); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + } + + @Override + public int hashCode() { + return Objects.hash(itemKey); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + sb.append("class AddLocaleResourceItemResponse {\n"); + sb.append(" itemKey: ").append(toIndentedString(itemKey)).append("\n"); +======== + sb.append("class AddOpenSearchSnapshotRepositoryResponse {\n"); + sb.append(" message: ").append(toIndentedString(message)).append("\n"); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + 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) +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + openapiFields = new HashSet(); + openapiFields.add("itemKey"); +======== + openapiFields = new HashSet(Arrays.asList("message")); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + + // 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 +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + * AddLocaleResourceItemResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddLocaleResourceItemResponse.openapiRequiredFields.isEmpty()) { // has required fields + // but JSON element is + // null + throw new IllegalArgumentException(String.format( + "The required field(s) %s in AddLocaleResourceItemResponse is not found in the empty JSON string", + AddLocaleResourceItemResponse.openapiRequiredFields.toString())); +======== + * AddOpenSearchSnapshotRepositoryResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.isEmpty()) { // has + // required + // fields but + // JSON + // element is + // null + throw new IllegalArgumentException(String.format( + "The required field(s) %s in AddOpenSearchSnapshotRepositoryResponse is not found in the empty JSON string", + AddOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.toString())); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + if (!AddLocaleResourceItemResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format( + "The field `%s` in the JSON string is not defined in the `AddLocaleResourceItemResponse` properties. JSON: %s", +======== + if (!AddOpenSearchSnapshotRepositoryResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format( + "The field `%s` in the JSON string is not defined in the `AddOpenSearchSnapshotRepositoryResponse` properties. JSON: %s", +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("itemKey") != null && !jsonObj.get("itemKey").isJsonNull()) + && !jsonObj.get("itemKey").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format( + "Expected the field `itemKey` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("itemKey").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + if (!AddLocaleResourceItemResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddLocaleResourceItemResponse' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddLocaleResourceItemResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddLocaleResourceItemResponse value) throws IOException { +======== + if (!AddOpenSearchSnapshotRepositoryResponse.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddOpenSearchSnapshotRepositoryResponse' and its + // subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = gson + .getDelegateAdapter(this, TypeToken.get(AddOpenSearchSnapshotRepositoryResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddOpenSearchSnapshotRepositoryResponse value) + throws IOException { +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + public AddLocaleResourceItemResponse read(JsonReader in) throws IOException { +======== + public AddOpenSearchSnapshotRepositoryResponse read(JsonReader in) throws IOException { +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java + * Create an instance of AddLocaleResourceItemResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddLocaleResourceItemResponse + * @throws IOException if the JSON string is invalid with respect to AddLocaleResourceItemResponse + */ + public static AddLocaleResourceItemResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddLocaleResourceItemResponse.class); + } + + /** + * Convert an instance of AddLocaleResourceItemResponse to an JSON string +======== + * Create an instance of AddOpenSearchSnapshotRepositoryResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddOpenSearchSnapshotRepositoryResponse + * @throws IOException if the JSON string is invalid with respect to + * AddOpenSearchSnapshotRepositoryResponse + */ + public static AddOpenSearchSnapshotRepositoryResponse fromJson(String jsonString) + throws IOException { + return JSON.getGson().fromJson(jsonString, AddOpenSearchSnapshotRepositoryResponse.class); + } + + /** + * Convert an instance of AddOpenSearchSnapshotRepositoryResponse to an JSON string +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/formkiq/client/model/AddQueueRequest.java b/src/main/java/com/formkiq/client/model/AddQueueRequest.java index 744cbbfac..d69018ca2 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddQueueRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -129,12 +129,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddQueueResponse.java b/src/main/java/com/formkiq/client/model/AddQueueResponse.java index 697b6a45c..6eaec5301 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddQueueResponse { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java b/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java index 1c8fe4125..29275ff3e 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddReindexDocumentRequest { public static final String SERIALIZED_NAME_TARGET = "target"; @SerializedName(SERIALIZED_NAME_TARGET) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddResourceItem.java b/src/main/java/com/formkiq/client/model/AddResourceItem.java index 8050986ba..d2b51cb00 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. @@ -69,8 +69,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddResourceItem extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(AddResourceItem.class.getName()); diff --git a/src/main/java/com/formkiq/client/model/AddResponse.java b/src/main/java/com/formkiq/client/model/AddResponse.java index 0795bffb0..fc847cfeb 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddRule.java b/src/main/java/com/formkiq/client/model/AddRule.java index 56e73805e..bd7bbc5d4 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddRule { public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) @@ -240,15 +240,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddRuleRequest.java b/src/main/java/com/formkiq/client/model/AddRuleRequest.java index 3a8d3b9ad..01b77fbe0 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddRuleRequest { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddRuleResponse.java b/src/main/java/com/formkiq/client/model/AddRuleResponse.java index bdd9ea1a6..f2691c283 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddRuleResponse { public static final String SERIALIZED_NAME_RULE_ID = "ruleId"; @SerializedName(SERIALIZED_NAME_RULE_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddRuleset.java b/src/main/java/com/formkiq/client/model/AddRuleset.java index e4dca7745..cb310bb07 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddRuleset { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -212,14 +212,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddRulesetRequest.java b/src/main/java/com/formkiq/client/model/AddRulesetRequest.java index 5ed6a66b7..93d9047fd 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddRulesetRequest { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddRulesetResponse.java b/src/main/java/com/formkiq/client/model/AddRulesetResponse.java index fbc9a6452..55e49a92a 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddRulesetResponse { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddShare.java b/src/main/java/com/formkiq/client/model/AddShare.java index 5397d6878..1cd56eaf4 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddShare { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddSite.java b/src/main/java/com/formkiq/client/model/AddSite.java index d55b3c244..858d288be 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddSite { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -183,13 +183,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddSiteRequest.java b/src/main/java/com/formkiq/client/model/AddSiteRequest.java index 9c9b5dc35..52f343386 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddSiteRequest { public static final String SERIALIZED_NAME_SITE = "site"; @SerializedName(SERIALIZED_NAME_SITE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddTask.java b/src/main/java/com/formkiq/client/model/AddTask.java index 584832740..b695be0a7 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddTask { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,20 +367,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddTaskRequest.java b/src/main/java/com/formkiq/client/model/AddTaskRequest.java index 1c81b0d32..5d8ecc3b2 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddTaskRequest { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddTaskResponse.java b/src/main/java/com/formkiq/client/model/AddTaskResponse.java index 624ffc197..e541beed7 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddTaskResponse { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddUser.java b/src/main/java/com/formkiq/client/model/AddUser.java index 2cc7d98d8..cbdbaeaee 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddUser { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -157,12 +157,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddUserRequest.java b/src/main/java/com/formkiq/client/model/AddUserRequest.java index 4a765d898..5e301dcd3 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddUserRequest { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWebhookRequest.java b/src/main/java/com/formkiq/client/model/AddWebhookRequest.java index bd103ffed..3fac9bfbe 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWebhookRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -221,15 +221,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWebhookResponse.java b/src/main/java/com/formkiq/client/model/AddWebhookResponse.java index 45fc62dc6..9c4ceab2b 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWebhookResponse { public static final String SERIALIZED_NAME_WEBHOOK_ID = "webhookId"; @SerializedName(SERIALIZED_NAME_WEBHOOK_ID) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java b/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java index e88fcc264..6ed3ce436 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWebhookTagRequest { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -193,13 +193,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java b/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java index 13e4a378f..a7f129ec9 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -222,17 +222,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java b/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java index 89d4df558..d589f8a07 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWorkflowResponse { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStep.java b/src/main/java/com/formkiq/client/model/AddWorkflowStep.java index 721e87a7c..3e695a820 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWorkflowStep { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -224,14 +224,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java b/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java index 142613406..21fc00457 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWorkflowStepDecision { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -157,14 +157,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java b/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java index f6e38f0e1..bb4446373 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AddWorkflowStepQueue { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -167,13 +167,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/ApiKey.java b/src/main/java/com/formkiq/client/model/ApiKey.java index 6ef9e8b81..e7a9bc226 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ApiKey { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -329,16 +329,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Attribute.java b/src/main/java/com/formkiq/client/model/Attribute.java index faecdf069..57d08a8c9 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Attribute { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -212,14 +212,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AttributeDataType.java b/src/main/java/com/formkiq/client/model/AttributeDataType.java index ea3e74cdc..9a2c7ab21 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. @@ -46,7 +46,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..a1b9dceb8 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AttributeSchemaCompositeKey { public static final String SERIALIZED_NAME_ATTRIBUTE_KEYS = "attributeKeys"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEYS) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java b/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java index e1dc50172..13950ff37 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AttributeSchemaOptional { public static final String SERIALIZED_NAME_MIN_NUMBER_OF_VALUES = "minNumberOfValues"; @SerializedName(SERIALIZED_NAME_MIN_NUMBER_OF_VALUES) @@ -266,15 +266,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java b/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java index 7e2a9d3c5..cf810f76e 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class AttributeSchemaRequired { public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) @@ -329,17 +329,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); } /** diff --git a/src/main/java/com/formkiq/client/model/AttributeType.java b/src/main/java/com/formkiq/client/model/AttributeType.java index 7f734824d..4991158f8 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. @@ -38,7 +38,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..db7b02187 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. @@ -52,7 +52,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..81005fbab 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. diff --git a/src/main/java/com/formkiq/client/model/ChecksumType.java b/src/main/java/com/formkiq/client/model/ChecksumType.java index ddd26bfcd..9e98a08b9 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. diff --git a/src/main/java/com/formkiq/client/model/ChildDocument.java b/src/main/java/com/formkiq/client/model/ChildDocument.java index 81a190a28..274ba409c 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ChildDocument { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -455,24 +455,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/Classification.java b/src/main/java/com/formkiq/client/model/Classification.java index c0898aeae..79d9b32f4 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Classification { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -211,14 +211,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); } /** diff --git a/src/main/java/com/formkiq/client/model/ClassificationSummary.java b/src/main/java/com/formkiq/client/model/ClassificationSummary.java index 62c43d1c9..f48b45771 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ClassificationSummary { public static final String SERIALIZED_NAME_CLASSIFICATION_ID = "classificationId"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION_ID) @@ -211,14 +211,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java b/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java index 97c80ae84..2010fb0ef 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteApiKeyResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java index 6142d8ace..228371164 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteCaseDocumentResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java index fa57a70a5..76419cd60 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteCaseNigoDocumentResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java index e6a303c72..e1d7eff46 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteCaseNigoResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java index 56e1ae800..c309d59f5 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteCaseResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java index 77c187cd6..adf8d6bc1 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteCaseTaskDocumentResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java b/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java index b8fa4f27b..ad4319ed2 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteCaseTaskResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java b/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java index cd9799332..8edcbc845 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteFolderResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java b/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java index 3375b3fdf..6d4910c20 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java b/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java index 15d93d42b..014b22cc8 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteIndicesResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java b/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java index d377d1633..f30ca9b99 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteQueueResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteResponse.java b/src/main/java/com/formkiq/client/model/DeleteResponse.java index aea3947d1..dc9905ebe 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java b/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java index 934cf31bf..6f8783f34 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteRuleResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java b/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java index 3c88fe03f..f5580dce6 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteRulesetResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteShareResponse.java b/src/main/java/com/formkiq/client/model/DeleteShareResponse.java index 5ddd6a2da..cca92f3ff 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteShareResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java b/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java index 4beced1b8..70381903d 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DeleteWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Document.java b/src/main/java/com/formkiq/client/model/Document.java index a939b624f..50a39892a 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Document { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -602,28 +602,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentAction.java b/src/main/java/com/formkiq/client/model/DocumentAction.java index c1a6c8eca..24c4c0715 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentAction { public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) @@ -447,22 +447,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", "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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentActionStatus.java b/src/main/java/com/formkiq/client/model/DocumentActionStatus.java index 6976d6f26..98aad84c1 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentActionType.java b/src/main/java/com/formkiq/client/model/DocumentActionType.java index 76cec218d..8b6946aac 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. @@ -56,7 +56,9 @@ public enum DocumentActionType { PDFEXPORT("PDFEXPORT"), - EVENTBRIDGE("EVENTBRIDGE"); + EVENTBRIDGE("EVENTBRIDGE"), + + RESIZE("RESIZE"); 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..ea88ba889 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -366,19 +366,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java b/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java index 2c975bf7e..89a611db8 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentFulltextAttribute { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -195,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java b/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java index 72f782a24..1c0cf2b6b 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentFulltextAttributeEq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -185,13 +185,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java index 3c9d0c24b..19d43405d 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentFulltextRequest { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) @@ -159,13 +159,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java index bb2d0c702..3f52eb3f6 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentFulltextResponse { public static final String SERIALIZED_NAME_DOCUMENTS = "documents"; @SerializedName(SERIALIZED_NAME_DOCUMENTS) @@ -141,11 +141,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java b/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java index 9daafc474..b9a698aa5 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentFulltextSearch { public static final String SERIALIZED_NAME_PAGE = "page"; @SerializedName(SERIALIZED_NAME_PAGE) @@ -231,14 +231,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java b/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java index 6c84fc4ed..aa22a7162 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentFulltextTag { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -193,14 +193,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java b/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java index 526da18e1..58907aa67 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentGenerateDataSource { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -183,14 +183,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java index 9a578a598..e7d930b2d 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentGenerateInsertDocument { public static final String SERIALIZED_NAME_POSITION = "position"; @SerializedName(SERIALIZED_NAME_POSITION) @@ -160,14 +160,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java index 8d164a84a..8e9b67eef 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java b/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java index 3e797f521..0ede0b85f 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentId.java b/src/main/java/com/formkiq/client/model/DocumentId.java index b9151f3c0..4fe4e2e54 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentId { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -156,13 +156,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentMetadata.java b/src/main/java/com/formkiq/client/model/DocumentMetadata.java index 60f1b5760..359113ab6 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentMetadata { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -193,13 +193,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java b/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java index 48a8a491f..dbfdfc537 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentSearch.java b/src/main/java/com/formkiq/client/model/DocumentSearch.java index 26a86719c..64d7dd3b4 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. @@ -62,8 +62,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearch { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) @@ -322,17 +322,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java b/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java index 916c85148..02987f4bf 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchAttribute { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -248,16 +248,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java b/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java index cf98b7974..4fb179444 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchMatchAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -213,14 +213,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java b/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java index f8c96d840..2a2edbcb3 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchMatchTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -183,13 +183,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java b/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java index 4646cc004..672243718 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchMeta { public static final String SERIALIZED_NAME_FOLDER = "folder"; @SerializedName(SERIALIZED_NAME_FOLDER) @@ -290,15 +290,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchRange.java b/src/main/java/com/formkiq/client/model/DocumentSearchRange.java index 8757d6c1e..be400f986 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchRange { public static final String SERIALIZED_NAME_START = "start"; @SerializedName(SERIALIZED_NAME_START) @@ -184,15 +184,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java b/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java index 48ef59c31..60ca10cad 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchRequest { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) @@ -159,13 +159,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java b/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java index 0c2da80d2..b7ac4c85d 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -195,13 +195,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchTag.java b/src/main/java/com/formkiq/client/model/DocumentSearchTag.java index f54b0fe45..9373a03ff 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchTag { public static final String SERIALIZED_NAME_BEGINS_WITH = "beginsWith"; @SerializedName(SERIALIZED_NAME_BEGINS_WITH) @@ -248,16 +248,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSearchTags.java b/src/main/java/com/formkiq/client/model/DocumentSearchTags.java index 684342626..340fd150c 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSearchTags { public static final String SERIALIZED_NAME_EQ = "eq"; @SerializedName(SERIALIZED_NAME_EQ) @@ -211,15 +211,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSync.java b/src/main/java/com/formkiq/client/model/DocumentSync.java index 1614a1234..bda552b8c 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentSync { public static final String SERIALIZED_NAME_SERVICE = "service"; @SerializedName(SERIALIZED_NAME_SERVICE) @@ -294,17 +294,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentSyncService.java b/src/main/java/com/formkiq/client/model/DocumentSyncService.java index 42189838e..d91229c03 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java b/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java index 9a6545cb4..8c6d699b2 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentSyncType.java b/src/main/java/com/formkiq/client/model/DocumentSyncType.java index ccabdd676..0101bed20 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentTag.java b/src/main/java/com/formkiq/client/model/DocumentTag.java index b844867f3..ed68f56cf 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentTag { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -301,17 +301,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentVersion.java b/src/main/java/com/formkiq/client/model/DocumentVersion.java index 3578c0ad7..339191f3d 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentVersion { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -320,18 +320,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentWorkflow.java b/src/main/java/com/formkiq/client/model/DocumentWorkflow.java index b1f6d41f8..0bdcddfb6 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentWorkflow { public static final String SERIALIZED_NAME_WORKFLOW_ID = "workflowId"; @SerializedName(SERIALIZED_NAME_WORKFLOW_ID) @@ -265,16 +265,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java b/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java index dce8396cb..3062065e4 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. diff --git a/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java b/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java index 2c45b9bde..bcbeef164 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentsCompressRequest { public static final String SERIALIZED_NAME_DOCUMENT_IDS = "documentIds"; @SerializedName(SERIALIZED_NAME_DOCUMENT_IDS) @@ -139,12 +139,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java b/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java index 0b2ef7d7d..cefe50e8c 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocumentsCompressResponse { public static final String SERIALIZED_NAME_DOWNLOAD_URL = "downloadUrl"; @SerializedName(SERIALIZED_NAME_DOWNLOAD_URL) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignConfig.java b/src/main/java/com/formkiq/client/model/DocusignConfig.java index 00ffd05c4..da613b7fe 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignConfig { public static final String SERIALIZED_NAME_USER_ID = "userId"; @SerializedName(SERIALIZED_NAME_USER_ID) @@ -212,14 +212,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignEnvironment.java b/src/main/java/com/formkiq/client/model/DocusignEnvironment.java index 23f1e7f3f..05bd37ec0 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. diff --git a/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java b/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java index 22c45be68..919231238 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignInpersonSigner { public static final String SERIALIZED_NAME_HOST_EMAIL = "hostEmail"; @SerializedName(SERIALIZED_NAME_HOST_EMAIL) @@ -321,21 +321,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignNotification.java b/src/main/java/com/formkiq/client/model/DocusignNotification.java index 8452fe9ad..a13fe5f68 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignNotification { public static final String SERIALIZED_NAME_USE_ACCOUNT_DEFAULTS = "useAccountDefaults"; @SerializedName(SERIALIZED_NAME_USE_ACCOUNT_DEFAULTS) @@ -191,13 +191,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java b/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java index da2768a9e..73ec27d55 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignNotificationExpirations { public static final String SERIALIZED_NAME_EXPIRE_AFTER = "expireAfter"; @SerializedName(SERIALIZED_NAME_EXPIRE_AFTER) @@ -188,13 +188,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java b/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java index 11c25e021..14fa1bc19 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignNotificationReminders { public static final String SERIALIZED_NAME_REMINDER_DELAY = "reminderDelay"; @SerializedName(SERIALIZED_NAME_REMINDER_DELAY) @@ -187,13 +187,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignRecipientView.java b/src/main/java/com/formkiq/client/model/DocusignRecipientView.java index bc2b33c43..af56c98d6 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignRecipientView { public static final String SERIALIZED_NAME_RETURN_URL = "returnUrl"; @SerializedName(SERIALIZED_NAME_RETURN_URL) @@ -313,17 +313,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java b/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java index 7c7bf5b59..17942bd94 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignSignHereTabs { public static final String SERIALIZED_NAME_ANCHOR_STRING = "anchorString"; @SerializedName(SERIALIZED_NAME_ANCHOR_STRING) @@ -324,18 +324,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); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignSigner.java b/src/main/java/com/formkiq/client/model/DocusignSigner.java index a83f1a479..90c3142dc 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignSigner { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -293,18 +293,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java b/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java index 1454a277f..9f2245c29 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class DocusignSigningTabs { public static final String SERIALIZED_NAME_SIGN_HERE_TABS = "signHereTabs"; @SerializedName(SERIALIZED_NAME_SIGN_HERE_TABS) @@ -141,11 +141,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); } /** 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..9b40f7699 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/Entity.java @@ -0,0 +1,374 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * Entity + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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( + "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( + "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( + "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..828789af8 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/EntityAttribute.java @@ -0,0 +1,429 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * EntityAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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( + "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( + "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..dac4b716f --- /dev/null +++ b/src/main/java/com/formkiq/client/model/EntityType.java @@ -0,0 +1,320 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * EntityType + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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( + "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..0e1d1ce6b --- /dev/null +++ b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java @@ -0,0 +1,86 @@ +/* + * 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 com.google.gson.annotations.SerializedName; + +import java.io.IOException; +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..e2b5de62d 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Error { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -155,12 +155,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); } /** diff --git a/src/main/java/com/formkiq/client/model/ErrorsResponse.java b/src/main/java/com/formkiq/client/model/ErrorsResponse.java index 14877a5e4..5a7577913 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ErrorsResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -140,11 +140,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); } /** 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..8d78e86d8 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/FolderPermission.java @@ -0,0 +1,267 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * FolderPermission + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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..4c1d579e1 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/FolderPermissionType.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 com.google.gson.annotations.SerializedName; + +import java.io.IOException; +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..08efded80 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class FulltextAttribute { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -230,14 +230,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); } /** diff --git a/src/main/java/com/formkiq/client/model/FulltextSearchItem.java b/src/main/java/com/formkiq/client/model/FulltextSearchItem.java index d649e7b77..61c03eef1 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class FulltextSearchItem { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -565,26 +565,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); } /** 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..c41e79035 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetActivitesResponse.java @@ -0,0 +1,275 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * GetActivitesResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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..b15d6a8fa 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetApiKeysResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java b/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java index 96d97d829..0ce9c2cfd 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetAttributeAllowedValuesResponse { public static final String SERIALIZED_NAME_ALLOWED_VALUES = "allowedValues"; @SerializedName(SERIALIZED_NAME_ALLOWED_VALUES) @@ -183,12 +183,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetAttributeResponse.java index f71837dbc..acd46b982 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetAttributeResponse { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetAttributesResponse.java b/src/main/java/com/formkiq/client/model/GetAttributesResponse.java index 5e3ca90bc..c22741bad 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetAttributesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java index b6151535a..a5fe42372 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCaseDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java b/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java index 99d66d54c..a555141e7 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCaseNigoResponse { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java b/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java index 17b04d424..db3b13ef5 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCaseNigosResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCaseResponse.java b/src/main/java/com/formkiq/client/model/GetCaseResponse.java index 00c0ae21a..c4b879b2c 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCaseResponse { public static final String SERIALIZED_NAME_CASE = "case"; @SerializedName(SERIALIZED_NAME_CASE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java b/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java index 34be1fcf6..8cea079f8 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCaseTaskResponse { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java b/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java index fc3cb9a86..db42c546b 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCaseTasksResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetCasesResponse.java b/src/main/java/com/formkiq/client/model/GetCasesResponse.java index 32599ed00..cdb7eba76 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetCasesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetClassificationResponse.java b/src/main/java/com/formkiq/client/model/GetClassificationResponse.java index 7899ece7b..e5c03250a 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetClassificationResponse { public static final String SERIALIZED_NAME_CLASSIFICATION = "classification"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java b/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java index bc80cdc18..148deddbe 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetClassificationsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -170,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("classifications"); + openapiFields = new HashSet(Arrays.asList("next", "classifications")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java b/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java index 29bde5f02..bb07139ac 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetConfigurationResponse { public static final String SERIALIZED_NAME_CHAT_GPT_API_KEY = "chatGptApiKey"; @SerializedName(SERIALIZED_NAME_CHAT_GPT_API_KEY) @@ -326,18 +326,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java index b658b38f4..fd630be4c 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentActionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java index 021b53dab..9143761e9 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentAttributeResponse { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java index 417bc4240..4f3c399de 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -59,8 +59,8 @@ * GetDocumentAttributeVersionsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentAttributeVersionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -169,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java index ae361a552..caedce223 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentAttributesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java index 0120dec93..c385b27a1 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentContentResponse { public static final String SERIALIZED_NAME_CONTENT = "content"; @SerializedName(SERIALIZED_NAME_CONTENT) @@ -210,14 +210,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java index 18b376c28..d98b16862 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentFulltextResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -597,27 +597,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java index ea3bee2c3..7122a5542 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentOcrResponse { public static final String SERIALIZED_NAME_CONTENT_URLS = "contentUrls"; @SerializedName(SERIALIZED_NAME_CONTENT_URLS) @@ -428,21 +428,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentResponse.java index 98effd651..bec73bbb5 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -586,28 +586,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java index 9cb065b36..51053656f 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentSyncResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java index 750e99e5c..243ec0dc0 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentTagResponse { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -301,17 +301,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java index c784844f4..615979d30 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentTagsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +194,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java index 9bb57e24e..6c2c5d626 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentUrlResponse { public static final String SERIALIZED_NAME_DOCUMENT_ID = "documentId"; @SerializedName(SERIALIZED_NAME_DOCUMENT_ID) @@ -193,13 +193,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java index dbb012355..18f184360 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentVersionsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java index 8ad697d71..04ec0421e 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentWorkflowResponse { public static final String SERIALIZED_NAME_WORKFLOW = "workflow"; @SerializedName(SERIALIZED_NAME_WORKFLOW) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java index f2bd4d79a..aaf8739cf 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentWorkflowsResponse { public static final String SERIALIZED_NAME_WORKFLOWS = "workflows"; @SerializedName(SERIALIZED_NAME_WORKFLOWS) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java index 7dae673d4..0259ef3c3 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +194,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); } /** 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..d981bb469 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java @@ -0,0 +1,275 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * GetEntitiesResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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/GetEntityResponse.java b/src/main/java/com/formkiq/client/model/GetEntityResponse.java new file mode 100644 index 000000000..6e25e6caa --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntityResponse.java @@ -0,0 +1,336 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + * + * 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; +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java +======== +import com.formkiq.client.model.Entity; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java +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 com.formkiq.client.invoker.JSON; + +/** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + * 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") +public class AddLocaleRequest { + public static final String SERIALIZED_NAME_LOCALE = "locale"; + @SerializedName(SERIALIZED_NAME_LOCALE) + @javax.annotation.Nullable + private String locale; + + public AddLocaleRequest() {} + + public AddLocaleRequest locale(@javax.annotation.Nullable String locale) { + this.locale = locale; +======== + * GetEntityResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") +public class GetEntityResponse { + public static final String SERIALIZED_NAME_ENTITY = "entity"; + @SerializedName(SERIALIZED_NAME_ENTITY) + @javax.annotation.Nullable + private Entity entity; + + public GetEntityResponse() {} + + public GetEntityResponse entity(@javax.annotation.Nullable Entity entity) { + this.entity = entity; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + return this; + } + + /** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + * Name of Locale + * + * @return locale + */ + @javax.annotation.Nullable + public String getLocale() { + return locale; + } + + public void setLocale(@javax.annotation.Nullable String locale) { + this.locale = locale; +======== + * Get entity + * + * @return entity + */ + @javax.annotation.Nullable + public Entity getEntity() { + return entity; + } + + public void setEntity(@javax.annotation.Nullable Entity entity) { + this.entity = entity; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + AddLocaleRequest addLocaleRequest = (AddLocaleRequest) o; + return Objects.equals(this.locale, addLocaleRequest.locale); +======== + GetEntityResponse getEntityResponse = (GetEntityResponse) o; + return Objects.equals(this.entity, getEntityResponse.entity); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + } + + @Override + public int hashCode() { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + return Objects.hash(locale); +======== + return Objects.hash(entity); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + sb.append("class AddLocaleRequest {\n"); + sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); +======== + sb.append("class GetEntityResponse {\n"); + sb.append(" entity: ").append(toIndentedString(entity)).append("\n"); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + 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) +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + openapiFields = new HashSet(); + openapiFields.add("locale"); +======== + openapiFields = new HashSet(Arrays.asList("entity")); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + + // 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 +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + * @throws IOException if the JSON Element is invalid with respect to AddLocaleRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddLocaleRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format( + "The required field(s) %s in AddLocaleRequest is not found in the empty JSON string", + AddLocaleRequest.openapiRequiredFields.toString())); +======== + * @throws IOException if the JSON Element is invalid with respect to GetEntityResponse + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!GetEntityResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON + // element is null + throw new IllegalArgumentException(String.format( + "The required field(s) %s in GetEntityResponse is not found in the empty JSON string", + GetEntityResponse.openapiRequiredFields.toString())); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + if (!AddLocaleRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format( + "The field `%s` in the JSON string is not defined in the `AddLocaleRequest` properties. JSON: %s", +======== + if (!GetEntityResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format( + "The field `%s` in the JSON string is not defined in the `GetEntityResponse` properties. JSON: %s", +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + if ((jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) + && !jsonObj.get("locale").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format( + "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("locale").toString())); +======== + // validate the optional field `entity` + if (jsonObj.get("entity") != null && !jsonObj.get("entity").isJsonNull()) { + Entity.validateJsonElement(jsonObj.get("entity")); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + if (!AddLocaleRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddLocaleRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddLocaleRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddLocaleRequest value) throws IOException { +======== + 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(GetEntityResponse.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, GetEntityResponse value) throws IOException { +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + public AddLocaleRequest read(JsonReader in) throws IOException { +======== + public GetEntityResponse read(JsonReader in) throws IOException { +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java + * Create an instance of AddLocaleRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddLocaleRequest + * @throws IOException if the JSON string is invalid with respect to AddLocaleRequest + */ + public static AddLocaleRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddLocaleRequest.class); + } + + /** + * Convert an instance of AddLocaleRequest to an JSON string +======== + * Create an instance of GetEntityResponse given an JSON string + * + * @param jsonString JSON string + * @return An instance of GetEntityResponse + * @throws IOException if the JSON string is invalid with respect to GetEntityResponse + */ + public static GetEntityResponse fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, GetEntityResponse.class); + } + + /** + * Convert an instance of GetEntityResponse to an JSON string +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + 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..1e7a0b588 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java @@ -0,0 +1,220 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * GetEntityTypeResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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..a865e1a5c --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java @@ -0,0 +1,393 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + * + * 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; +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java +import com.formkiq.client.model.AddResourceItem; +======== +import com.formkiq.client.model.EntityType; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java +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 com.formkiq.client.invoker.JSON; + +/** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + * 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") +public class AddLocaleResourceItemRequest { + public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; + @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) + @javax.annotation.Nullable + private AddResourceItem resourceItem; + + public AddLocaleResourceItemRequest() {} + + public AddLocaleResourceItemRequest resourceItem( + @javax.annotation.Nullable AddResourceItem resourceItem) { + this.resourceItem = resourceItem; +======== + * GetEntityTypesResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + return this; + } + + /** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + * Get resourceItem + * + * @return resourceItem + */ + @javax.annotation.Nullable + public AddResourceItem getResourceItem() { + return resourceItem; + } + + public void setResourceItem(@javax.annotation.Nullable AddResourceItem resourceItem) { + this.resourceItem = resourceItem; +======== + * 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; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + AddLocaleResourceItemRequest addLocaleResourceItemRequest = (AddLocaleResourceItemRequest) o; + return Objects.equals(this.resourceItem, addLocaleResourceItemRequest.resourceItem); +======== + GetEntityTypesResponse getEntityTypesResponse = (GetEntityTypesResponse) o; + return Objects.equals(this.next, getEntityTypesResponse.next) + && Objects.equals(this.entityTypes, getEntityTypesResponse.entityTypes); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + } + + @Override + public int hashCode() { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + return Objects.hash(resourceItem); +======== + return Objects.hash(next, entityTypes); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + sb.append("class AddLocaleResourceItemRequest {\n"); + sb.append(" resourceItem: ").append(toIndentedString(resourceItem)).append("\n"); +======== + sb.append("class GetEntityTypesResponse {\n"); + sb.append(" next: ").append(toIndentedString(next)).append("\n"); + sb.append(" entityTypes: ").append(toIndentedString(entityTypes)).append("\n"); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + 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) +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + openapiFields = new HashSet(); + openapiFields.add("resourceItem"); +======== + openapiFields = new HashSet(Arrays.asList("next", "entityTypes")); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + + // 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 +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + * @throws IOException if the JSON Element is invalid with respect to AddLocaleResourceItemRequest + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!AddLocaleResourceItemRequest.openapiRequiredFields.isEmpty()) { // has required fields + // but JSON element is + // null + throw new IllegalArgumentException(String.format( + "The required field(s) %s in AddLocaleResourceItemRequest is not found in the empty JSON string", + AddLocaleResourceItemRequest.openapiRequiredFields.toString())); +======== + * @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( + "The required field(s) %s in GetEntityTypesResponse is not found in the empty JSON string", + GetEntityTypesResponse.openapiRequiredFields.toString())); +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + if (!AddLocaleResourceItemRequest.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format( + "The field `%s` in the JSON string is not defined in the `AddLocaleResourceItemRequest` properties. JSON: %s", +======== + if (!GetEntityTypesResponse.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format( + "The field `%s` in the JSON string is not defined in the `GetEntityTypesResponse` properties. JSON: %s", +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + entry.getKey(), jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + // validate the optional field `resourceItem` + if (jsonObj.get("resourceItem") != null && !jsonObj.get("resourceItem").isJsonNull()) { + AddResourceItem.validateJsonElement(jsonObj.get("resourceItem")); +======== + 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("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( + "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)); + } ; + } +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + if (!AddLocaleResourceItemRequest.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'AddLocaleResourceItemRequest' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(AddLocaleResourceItemRequest.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, AddLocaleResourceItemRequest value) throws IOException { +======== + 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 { +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + public AddLocaleResourceItemRequest read(JsonReader in) throws IOException { +======== + public GetEntityTypesResponse read(JsonReader in) throws IOException { +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** +<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java + * Create an instance of AddLocaleResourceItemRequest given an JSON string + * + * @param jsonString JSON string + * @return An instance of AddLocaleResourceItemRequest + * @throws IOException if the JSON string is invalid with respect to AddLocaleResourceItemRequest + */ + public static AddLocaleResourceItemRequest fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, AddLocaleResourceItemRequest.class); + } + + /** + * Convert an instance of AddLocaleResourceItemRequest to an JSON string +======== + * 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 +>>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java + * + * @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..06d5789e3 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetExaminePdfResponse { public static final String SERIALIZED_NAME_FILEINFO = "fileinfo"; @SerializedName(SERIALIZED_NAME_FILEINFO) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java b/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java index 4ebab863b..b320dbff1 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetExaminePdfUrlResponse { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -156,12 +156,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); } /** 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..c26dd2a24 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java @@ -0,0 +1,244 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * GetFolderPermissionsResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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..a999aea2f 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetFoldersResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -195,13 +195,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetGroupResponse.java b/src/main/java/com/formkiq/client/model/GetGroupResponse.java index 5a2aeaf42..7ef13c7a4 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetGroupResponse { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetGroupsResponse.java index e537cbe0d..bce57c526 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetGroupsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java index 133638f91..b620af825 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetLocaleResourceItemResponse { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java index 7d8dc607b..6642281a7 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetLocaleResourceItemsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -169,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("resourceItems"); + openapiFields = new HashSet(Arrays.asList("next", "resourceItems")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/GetLocalesResponse.java b/src/main/java/com/formkiq/client/model/GetLocalesResponse.java index 96001914a..8b3477386 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetLocalesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetMappingResponse.java b/src/main/java/com/formkiq/client/model/GetMappingResponse.java index d36556d25..436b23866 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetMappingResponse { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetMappingsResponse.java b/src/main/java/com/formkiq/client/model/GetMappingsResponse.java index 1cf6f0d08..354869829 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetMappingsResponse { public static final String SERIALIZED_NAME_MAPPINGS = "mappings"; @SerializedName(SERIALIZED_NAME_MAPPINGS) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java index 0825eeed6..c80fe8afe 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetOpaAccessPoliciesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java index 5b5e1e6b1..6c6f5a4cf 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetOpaAccessPolicyItemsResponse { public static final String SERIALIZED_NAME_POLICY_ITEMS = "policyItems"; @SerializedName(SERIALIZED_NAME_POLICY_ITEMS) @@ -142,11 +142,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java index 3614134d5..de7fe74ff 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetOpaAccessPolicyResponse { public static final String SERIALIZED_NAME_OPA_POLICY = "opaPolicy"; @SerializedName(SERIALIZED_NAME_OPA_POLICY) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java index 1d8e9a41e..85f3ed61a 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. @@ -57,8 +57,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetOpenSearchIndexResponse { public static final String SERIALIZED_NAME_INDEX_SETTINGS = "indexSettings"; @SerializedName(SERIALIZED_NAME_INDEX_SETTINGS) @@ -131,11 +131,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); } /** 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..09735595e --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.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 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 com.formkiq.client.invoker.JSON; + +/** + * GetOpenSearchSnapshotRepositoryResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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..15480fd57 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.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 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 com.formkiq.client.invoker.JSON; + +/** + * GetOpenSearchSnapshotResponse + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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..afcae95e5 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetQueueResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetQueuesResponse.java b/src/main/java/com/formkiq/client/model/GetQueuesResponse.java index d6c7fe4c9..692ca0715 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetQueuesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetRuleResponse.java b/src/main/java/com/formkiq/client/model/GetRuleResponse.java index a47e7649f..b9a828359 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetRuleResponse { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetRulesResponse.java b/src/main/java/com/formkiq/client/model/GetRulesResponse.java index c0eb27fd9..c653430e9 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetRulesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetRulesetResponse.java b/src/main/java/com/formkiq/client/model/GetRulesetResponse.java index 9609bca30..d5396836e 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetRulesetResponse { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java b/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java index 04686c7ed..c11bde9a5 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetRulesetsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java b/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java index b738ceef5..c9e5b74b4 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetSiteGroupResponse { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java index 32f8f6f02..f5e588900 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetSiteGroupsResponse { public static final String SERIALIZED_NAME_GROUP_NAMES = "groupNames"; @SerializedName(SERIALIZED_NAME_GROUP_NAMES) @@ -139,11 +139,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetSitesResponse.java b/src/main/java/com/formkiq/client/model/GetSitesResponse.java index 8d13b6021..0fe9ca426 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. @@ -59,8 +59,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetSitesResponse { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -167,12 +167,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", "sites")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java b/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java index 7e4e98f1e..07b62896f 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetSitesSchemaResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -157,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("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java b/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java index d15c94411..443a0ea6a 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetUserActivitesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -109,7 +109,7 @@ public GetUserActivitesResponse addUserActivitiesItem(UserActivity userActivitie } /** - * List of user activities syncs + * List of user activities * * @return userActivities */ @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java b/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java index d4e5547aa..fc549f65d 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetUserGroupsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetUserResponse.java b/src/main/java/com/formkiq/client/model/GetUserResponse.java index 2f683298c..74f60b22d 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetUserResponse { public static final String SERIALIZED_NAME_USER = "user"; @SerializedName(SERIALIZED_NAME_USER) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java b/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java index 595459347..40ef067b8 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetUserSharesResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java b/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java index 17ccd712a..f44f21cfe 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetUsersInGroupResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetUsersResponse.java b/src/main/java/com/formkiq/client/model/GetUsersResponse.java index bde8b96f8..ac35797eb 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetUsersResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -167,12 +167,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetVersionResponse.java b/src/main/java/com/formkiq/client/model/GetVersionResponse.java index 13c95e3af..48c5f8ce4 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetVersionResponse { public static final String SERIALIZED_NAME_VERSION = "version"; @SerializedName(SERIALIZED_NAME_VERSION) @@ -220,14 +220,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWebhookResponse.java b/src/main/java/com/formkiq/client/model/GetWebhookResponse.java index ad51f3e1f..b6673d05b 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWebhookResponse { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -318,18 +318,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java b/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java index 78a15e3ae..15c5cebba 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWebhookTagsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +194,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java b/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java index 08a538d99..78eb8cf79 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWebhooksResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java index 8ad62888c..d9af88407 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWorkflowDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java index 94983be5b..f1f1737cd 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWorkflowQueueDocumentsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -169,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java index ed3e06631..2c158f773 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWorkflowResponse { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -249,15 +249,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java b/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java index 079a5fe4b..d63bb61de 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GetWorkflowsResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -168,12 +168,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GoogleConfig.java b/src/main/java/com/formkiq/client/model/GoogleConfig.java index b064f54e0..7439fc01f 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class GoogleConfig { public static final String SERIALIZED_NAME_WORKLOAD_IDENTITY_AUDIENCE = "workloadIdentityAudience"; @@ -165,12 +165,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); } /** diff --git a/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java b/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java index c0434a1ce..9db598e66 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. diff --git a/src/main/java/com/formkiq/client/model/Group.java b/src/main/java/com/formkiq/client/model/Group.java index be78acb3c..c62100f9a 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Group { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -210,14 +210,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); } /** diff --git a/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java b/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java index a554628d0..b996cfd1e 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class IndexFolderMoveRequest { public static final String SERIALIZED_NAME_SOURCE = "source"; @SerializedName(SERIALIZED_NAME_SOURCE) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java b/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java index ccdb182bb..edf9659f1 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class IndexFolderMoveResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/IndexSearch.java b/src/main/java/com/formkiq/client/model/IndexSearch.java index 7b9c5bd0c..ab8e46275 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class IndexSearch { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/IndexSearchRequest.java b/src/main/java/com/formkiq/client/model/IndexSearchRequest.java index 6511bde78..d5640d87b 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class IndexSearchRequest { public static final String SERIALIZED_NAME_INDEX_TYPE = "indexType"; @SerializedName(SERIALIZED_NAME_INDEX_TYPE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/IndexSearchResponse.java b/src/main/java/com/formkiq/client/model/IndexSearchResponse.java index 818fa3729..8434da789 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class IndexSearchResponse { public static final String SERIALIZED_NAME_NEXT = "next"; @SerializedName(SERIALIZED_NAME_NEXT) @@ -194,13 +194,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Locale.java b/src/main/java/com/formkiq/client/model/Locale.java index d9d067fe0..09fd7d3b6 100644 --- a/src/main/java/com/formkiq/client/model/Locale.java +++ b/src/main/java/com/formkiq/client/model/Locale.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -56,8 +56,8 @@ * Locale */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Locale { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/LocaleResourceType.java b/src/main/java/com/formkiq/client/model/LocaleResourceType.java index 03220bf61..6492f0abc 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. diff --git a/src/main/java/com/formkiq/client/model/Mapping.java b/src/main/java/com/formkiq/client/model/Mapping.java index e1f263a0c..9f0955aab 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Mapping { public static final String SERIALIZED_NAME_MAPPING_ID = "mappingId"; @SerializedName(SERIALIZED_NAME_MAPPING_ID) @@ -221,14 +221,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); } /** diff --git a/src/main/java/com/formkiq/client/model/MappingAttribute.java b/src/main/java/com/formkiq/client/model/MappingAttribute.java index dfd0148db..637d7194f 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class MappingAttribute { public static final String SERIALIZED_NAME_ATTRIBUTE_KEY = "attributeKey"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE_KEY) @@ -345,18 +345,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); } /** diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java b/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java index a9138df82..e5666cfc5 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. diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java b/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java index e0cc6563e..cddc2160d 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. diff --git a/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java b/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java index 483ffb5e9..2e0dee0fa 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. diff --git a/src/main/java/com/formkiq/client/model/MatchDocumentTag.java b/src/main/java/com/formkiq/client/model/MatchDocumentTag.java index e6d9e125a..df647c167 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class MatchDocumentTag { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -183,14 +183,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/ModelCase.java b/src/main/java/com/formkiq/client/model/ModelCase.java index 0f8f307be..f89a70d02 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ModelCase { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -464,23 +464,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Nigo.java b/src/main/java/com/formkiq/client/model/Nigo.java index b40a85806..a20c987af 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Nigo { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -409,21 +409,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); } /** diff --git a/src/main/java/com/formkiq/client/model/NigoStatus.java b/src/main/java/com/formkiq/client/model/NigoStatus.java index 3ff914cbb..c3cc9a24f 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. diff --git a/src/main/java/com/formkiq/client/model/OcrConfig.java b/src/main/java/com/formkiq/client/model/OcrConfig.java index 2bf1036e9..340708e43 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OcrConfig { public static final String SERIALIZED_NAME_MAX_PAGES_PER_TRANSACTION = "maxPagesPerTransaction"; @SerializedName(SERIALIZED_NAME_MAX_PAGES_PER_TRANSACTION) @@ -160,12 +160,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OcrEngine.java b/src/main/java/com/formkiq/client/model/OcrEngine.java index 89b38fbae..8d9b58fc2 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. diff --git a/src/main/java/com/formkiq/client/model/OcrKeyValues.java b/src/main/java/com/formkiq/client/model/OcrKeyValues.java index f417d4812..34be045b8 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OcrKeyValues { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -166,12 +166,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OcrOutputType.java b/src/main/java/com/formkiq/client/model/OcrOutputType.java index c557f392a..85644e69a 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. diff --git a/src/main/java/com/formkiq/client/model/OcrTable.java b/src/main/java/com/formkiq/client/model/OcrTable.java index 256f7f360..ecc6181cc 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OcrTable { public static final String SERIALIZED_NAME_HEADERS = "headers"; @SerializedName(SERIALIZED_NAME_HEADERS) @@ -175,12 +175,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OcrTableData.java b/src/main/java/com/formkiq/client/model/OcrTableData.java index 458a2d65c..d69d8abf6 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OcrTableData { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicy.java b/src/main/java/com/formkiq/client/model/OpaPolicy.java index fee414ecb..9605ac6ad 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicy { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java index dd283fef4..726f81979 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. @@ -62,8 +62,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttribute { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -297,17 +297,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")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java index 8896a52d0..4bf3c1c80 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeEq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -212,14 +212,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java index 22cc4a356..273172e49 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeGt { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java index 94a41e3ff..cad56ebd7 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeGte { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java index b5e720117..a182d32e9 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeInput { public static final String SERIALIZED_NAME_MATCH_USERNAME = "matchUsername"; @SerializedName(SERIALIZED_NAME_MATCH_USERNAME) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java index a184057e8..5448b0a8c 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeLt { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java index c50df6d3a..c80c372d2 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeLte { public static final String SERIALIZED_NAME_NUMBER_VALUE = "numberValue"; @SerializedName(SERIALIZED_NAME_NUMBER_VALUE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java index 06f9b187f..d8a6bfa1d 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyAttributeNeq { public static final String SERIALIZED_NAME_STRING_VALUE = "stringValue"; @SerializedName(SERIALIZED_NAME_STRING_VALUE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyItem.java b/src/main/java/com/formkiq/client/model/OpaPolicyItem.java index b12e6fc14..8dfb0164e 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. @@ -60,8 +60,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpaPolicyItem { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -265,15 +265,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("type", "policy", "allRoles", "anyRoles", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java b/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java index afe6a019e..2de9cf1d1 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class 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/OpenSearchIndex.java b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java index 90453898e..6063bb3b3 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class OpenSearchIndex { public static final String SERIALIZED_NAME_NUMBER_OF_REPLICAS = "numberOfReplicas"; @SerializedName(SERIALIZED_NAME_NUMBER_OF_REPLICAS) @@ -156,12 +156,10 @@ 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")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** 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..533de519a --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java @@ -0,0 +1,261 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * OpenSearchS3Repository + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") +public class OpenSearchS3Repository { + public static final String SERIALIZED_NAME_REPOSITORY = "repository"; + @SerializedName(SERIALIZED_NAME_REPOSITORY) + @javax.annotation.Nonnull + private String repository; + + public static final String SERIALIZED_NAME_BUCKET = "bucket"; + @SerializedName(SERIALIZED_NAME_BUCKET) + @javax.annotation.Nonnull + private String bucket; + + public OpenSearchS3Repository() {} + + public OpenSearchS3Repository repository(@javax.annotation.Nonnull String repository) { + this.repository = repository; + return this; + } + + /** + * Name of the Repository + * + * @return repository + */ + @javax.annotation.Nonnull + public String getRepository() { + return repository; + } + + public void setRepository(@javax.annotation.Nonnull String repository) { + this.repository = repository; + } + + + public OpenSearchS3Repository bucket(@javax.annotation.Nonnull String bucket) { + this.bucket = bucket; + return this; + } + + /** + * Name of the S3 bucket + * + * @return bucket + */ + @javax.annotation.Nonnull + public String getBucket() { + return bucket; + } + + public void setBucket(@javax.annotation.Nonnull 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(Arrays.asList("repository", "bucket")); + } + + /** + * 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( + "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( + "The field `%s` in the JSON string is not defined in the `OpenSearchS3Repository` properties. JSON: %s", + entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : OpenSearchS3Repository.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())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if (!jsonObj.get("repository").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format( + "Expected the field `repository` to be a primitive type in the JSON string but got `%s`", + jsonObj.get("repository").toString())); + } + if (!jsonObj.get("bucket").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format( + "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..9a71df32d --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java @@ -0,0 +1,602 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * OpenSearchSnapshot + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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( + "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..ffd654c83 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java @@ -0,0 +1,381 @@ +/* + * 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 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 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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( + "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( + "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( + "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..d8c5bd637 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java @@ -0,0 +1,270 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * OpenSearchSnapshotShard + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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..bfeafbdf5 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class PdfDocument { public static final String SERIALIZED_NAME_FIELDS = "fields"; @SerializedName(SERIALIZED_NAME_FIELDS) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/PdfDocumentField.java b/src/main/java/com/formkiq/client/model/PdfDocumentField.java index d5bec3f48..90470e652 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class PdfDocumentField { public static final String SERIALIZED_NAME_FIELD = "field"; @SerializedName(SERIALIZED_NAME_FIELD) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java b/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java index 15e01988c..88de7a36a 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class QueryFulltextResponse { public static final String SERIALIZED_NAME_RESULT = "result"; @SerializedName(SERIALIZED_NAME_RESULT) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Queue.java b/src/main/java/com/formkiq/client/model/Queue.java index 3721a673f..f53b917ce 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Queue { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -155,12 +155,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); } /** diff --git a/src/main/java/com/formkiq/client/model/ReindexTarget.java b/src/main/java/com/formkiq/client/model/ReindexTarget.java index 8efc5c734..82f154680 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. diff --git a/src/main/java/com/formkiq/client/model/ResourceItem.java b/src/main/java/com/formkiq/client/model/ResourceItem.java index 4315fc54a..e08a12ba2 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ResourceItem { public static final String SERIALIZED_NAME_ITEM_TYPE = "itemType"; @SerializedName(SERIALIZED_NAME_ITEM_TYPE) @@ -293,17 +293,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Rule.java b/src/main/java/com/formkiq/client/model/Rule.java index decd96109..cfbddd454 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Rule { public static final String SERIALIZED_NAME_RULE_ID = "ruleId"; @SerializedName(SERIALIZED_NAME_RULE_ID) @@ -266,16 +266,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); } /** diff --git a/src/main/java/com/formkiq/client/model/RuleCondition.java b/src/main/java/com/formkiq/client/model/RuleCondition.java index 60db203f6..a95c5b672 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class RuleCondition { public static final String SERIALIZED_NAME_MUST = "must"; @SerializedName(SERIALIZED_NAME_MUST) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java b/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java index 80c3082c2..f98830160 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. diff --git a/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java b/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java index eb9fcd58d..f2541a0fc 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. diff --git a/src/main/java/com/formkiq/client/model/RuleConditionMust.java b/src/main/java/com/formkiq/client/model/RuleConditionMust.java index f6d55d974..92c48b4f7 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class RuleConditionMust { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -267,16 +267,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); } /** diff --git a/src/main/java/com/formkiq/client/model/RuleConditionOperation.java b/src/main/java/com/formkiq/client/model/RuleConditionOperation.java index 2e292689f..a2ec48a2f 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. diff --git a/src/main/java/com/formkiq/client/model/Ruleset.java b/src/main/java/com/formkiq/client/model/Ruleset.java index 6674490f8..03ee361d8 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Ruleset { public static final String SERIALIZED_NAME_RULESET_ID = "rulesetId"; @SerializedName(SERIALIZED_NAME_RULESET_ID) @@ -266,16 +266,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); } /** diff --git a/src/main/java/com/formkiq/client/model/RulesetStatus.java b/src/main/java/com/formkiq/client/model/RulesetStatus.java index e8af17f34..5f58807de 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. diff --git a/src/main/java/com/formkiq/client/model/SchemaAttributes.java b/src/main/java/com/formkiq/client/model/SchemaAttributes.java index 2a53f096d..4983998de 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SchemaAttributes { public static final String SERIALIZED_NAME_COMPOSITE_KEYS = "compositeKeys"; @SerializedName(SERIALIZED_NAME_COMPOSITE_KEYS) @@ -247,14 +247,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SearchRangeDataType.java b/src/main/java/com/formkiq/client/model/SearchRangeDataType.java index 35165fc26..7991017f3 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. diff --git a/src/main/java/com/formkiq/client/model/SearchResponseFields.java b/src/main/java/com/formkiq/client/model/SearchResponseFields.java index 77ed72626..fda7d0dbd 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SearchResponseFields { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -174,12 +174,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SearchResultDocument.java b/src/main/java/com/formkiq/client/model/SearchResultDocument.java index 49e91a3b7..836572ac4 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. @@ -65,8 +65,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SearchResultDocument { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -776,33 +776,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java b/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java index 4751c5520..3bf47c32d 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SearchResultDocumentAttribute { public static final String SERIALIZED_NAME_STRING_VALUES = "stringValues"; @SerializedName(SERIALIZED_NAME_STRING_VALUES) @@ -234,14 +234,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java b/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java index d22853c2e..c59e04668 100644 --- a/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java +++ b/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -56,8 +56,8 @@ * SetAntivirusResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-05-20T14:44:33.741519-05:00[America/Winnipeg]", - comments = "Generator version: 7.13.0") + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetAntivirusResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetClassificationRequest.java b/src/main/java/com/formkiq/client/model/SetClassificationRequest.java index 5e53367b1..a7a9b9177 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetClassificationRequest { public static final String SERIALIZED_NAME_CLASSIFICATION = "classification"; @SerializedName(SERIALIZED_NAME_CLASSIFICATION) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java index 2f621de29..4aab87aa5 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentAttributeRequest { public static final String SERIALIZED_NAME_ATTRIBUTE = "attribute"; @SerializedName(SERIALIZED_NAME_ATTRIBUTE) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java index f5f223088..0fcac9a75 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. @@ -59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentAttributesRequest { public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes"; @SerializedName(SERIALIZED_NAME_ATTRIBUTES) @@ -141,11 +141,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java index de0dbd900..d874eda4c 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. @@ -64,8 +64,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -472,22 +472,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java index 72715fedb..5e5220e09 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java index 1a8f0cf74..8671e36ce 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentOcrRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -183,14 +183,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java index a2f22ea02..6b408c84f 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentRestoreResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java index 32e8960f2..fe09b38b0 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentTagKeyRequest { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) @@ -166,12 +166,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java b/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java index 9a2638bf0..f1fc7cf0c 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentVersionRequest { public static final String SERIALIZED_NAME_VERSION_KEY = "versionKey"; @SerializedName(SERIALIZED_NAME_VERSION_KEY) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java b/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java index 6add4cb24..a52ff460d 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetDocumentVersionResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** 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..e46287b66 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.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 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 com.formkiq.client.invoker.JSON; + +/** + * SetFolderPermissionsRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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( + "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( + "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..92e30e944 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetGroupPermissionsRequest { public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) @@ -141,11 +141,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java b/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java index fbb4b8ac7..ac05d305e 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetLocaleResourceItemRequest { public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetMappingRequest.java b/src/main/java/com/formkiq/client/model/SetMappingRequest.java index eae6123de..f15dedc99 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetMappingRequest { public static final String SERIALIZED_NAME_MAPPING = "mapping"; @SerializedName(SERIALIZED_NAME_MAPPING) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java b/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java index a1b976c45..3c170d31b 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. @@ -59,8 +59,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetOpaAccessPolicyItemsRequest { public static final String SERIALIZED_NAME_POLICY_ITEMS = "policyItems"; @SerializedName(SERIALIZED_NAME_POLICY_ITEMS) @@ -142,11 +142,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java index 77979fd6f..41bb3636c 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. @@ -57,8 +57,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetOpenSearchIndexRequest { public static final String SERIALIZED_NAME_INDEX_SETTINGS = "indexSettings"; @SerializedName(SERIALIZED_NAME_INDEX_SETTINGS) @@ -131,11 +131,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java index afca925a4..70985d259 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetOpenSearchIndexResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetResponse.java b/src/main/java/com/formkiq/client/model/SetResponse.java index 8b80aa071..1f1f37863 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java b/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java index 1e62ef461..1f298a66e 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetSchemaAttributes { public static final String SERIALIZED_NAME_COMPOSITE_KEYS = "compositeKeys"; @SerializedName(SERIALIZED_NAME_COMPOSITE_KEYS) @@ -247,14 +247,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java b/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java index 15f616797..8e7901649 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetSitesSchemaRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -158,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("attributes"); + openapiFields = new HashSet(Arrays.asList("name", "attributes")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java b/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java index bd8988b5e..1a67d7ce8 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -222,17 +222,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java b/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java index aa82953c4..5682b8856 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SetWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Site.java b/src/main/java/com/formkiq/client/model/Site.java index 9732770f7..3d37db58b 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. @@ -62,8 +62,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Site { public static final String SERIALIZED_NAME_SITE_ID = "siteId"; @SerializedName(SERIALIZED_NAME_SITE_ID) @@ -383,18 +383,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SiteConfig.java b/src/main/java/com/formkiq/client/model/SiteConfig.java index 58506ce88..b4a871d81 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SiteConfig { public static final String SERIALIZED_NAME_MAX_CONTENT_LENGTH_BYTES = "maxContentLengthBytes"; @SerializedName(SERIALIZED_NAME_MAX_CONTENT_LENGTH_BYTES) @@ -212,14 +212,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SiteGroup.java b/src/main/java/com/formkiq/client/model/SiteGroup.java index b165427c2..16eb580dd 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SiteGroup { public static final String SERIALIZED_NAME_PERMISSIONS = "permissions"; @SerializedName(SERIALIZED_NAME_PERMISSIONS) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java b/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java index bc0ae7937..73fe8d891 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. diff --git a/src/main/java/com/formkiq/client/model/SiteStatus.java b/src/main/java/com/formkiq/client/model/SiteStatus.java index 517b44e33..7909b12c5 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. diff --git a/src/main/java/com/formkiq/client/model/SiteUsage.java b/src/main/java/com/formkiq/client/model/SiteUsage.java index 80d67d827..f30cf6c79 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class SiteUsage { public static final String SERIALIZED_NAME_DOCUMENT_COUNT = "documentCount"; @SerializedName(SERIALIZED_NAME_DOCUMENT_COUNT) @@ -158,12 +158,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); } /** diff --git a/src/main/java/com/formkiq/client/model/StringFormat.java b/src/main/java/com/formkiq/client/model/StringFormat.java index 48baea1a1..3fe2d9a2f 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class StringFormat { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -184,13 +184,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); } /** diff --git a/src/main/java/com/formkiq/client/model/StringGeneratorType.java b/src/main/java/com/formkiq/client/model/StringGeneratorType.java index b5e5964a2..87f383027 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. diff --git a/src/main/java/com/formkiq/client/model/Task.java b/src/main/java/com/formkiq/client/model/Task.java index a9fe92c77..9bcb123a8 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Task { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -409,21 +409,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); } /** diff --git a/src/main/java/com/formkiq/client/model/TaskStatus.java b/src/main/java/com/formkiq/client/model/TaskStatus.java index f52af1baa..0fa8fd998 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. 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..4a8b0c21f --- /dev/null +++ b/src/main/java/com/formkiq/client/model/UpdateAttribute.java @@ -0,0 +1,252 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * UpdateAttribute + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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..0b2a34537 --- /dev/null +++ b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java @@ -0,0 +1,227 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * UpdateAttributeRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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("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..7c346037c 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateCase { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,19 +367,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java b/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java index 4d256be4e..f80eb8274 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateCaseRequest { public static final String SERIALIZED_NAME_CASE = "case"; @SerializedName(SERIALIZED_NAME_CASE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java b/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java index 6292d7f91..2bf11be1c 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateCaseResponse { public static final String SERIALIZED_NAME_CASE_ID = "caseId"; @SerializedName(SERIALIZED_NAME_CASE_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java b/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java index 14997cc80..1b4d8aed0 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateConfigurationRequest { public static final String SERIALIZED_NAME_CHAT_GPT_API_KEY = "chatGptApiKey"; @SerializedName(SERIALIZED_NAME_CHAT_GPT_API_KEY) @@ -326,18 +326,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java b/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java index 0a5b3eeed..c5baf524f 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateConfigurationResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java index 1234fd70a..8be2b4de3 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. @@ -64,8 +64,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateDocumentFulltextRequest { public static final String SERIALIZED_NAME_CONTENT_TYPE = "contentType"; @SerializedName(SERIALIZED_NAME_CONTENT_TYPE) @@ -473,22 +473,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java index 314471a09..56669feb9 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateDocumentFulltextResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java b/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java index 5bbacf12e..bd91ec85c 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. @@ -64,8 +64,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateDocumentRequest { public static final String SERIALIZED_NAME_PATH = "path"; @SerializedName(SERIALIZED_NAME_PATH) @@ -532,24 +532,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); } /** 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..b4886939c --- /dev/null +++ b/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java @@ -0,0 +1,220 @@ +/* + * 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 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 com.formkiq.client.invoker.JSON; + +/** + * UpdateEntityRequest + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", + date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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( + "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( + "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..785529a91 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateMatchingDocumentTagsRequest { public static final String SERIALIZED_NAME_MATCH = "match"; @SerializedName(SERIALIZED_NAME_MATCH) @@ -161,14 +161,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java index 927c16def..0fc1719bf 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateMatchingDocumentTagsRequestMatch { public static final String SERIALIZED_NAME_TAG = "tag"; @SerializedName(SERIALIZED_NAME_TAG) @@ -132,11 +132,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java index 561a38bc6..913c6dd35 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateMatchingDocumentTagsRequestUpdate { public static final String SERIALIZED_NAME_TAGS = "tags"; @SerializedName(SERIALIZED_NAME_TAGS) @@ -142,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java index 21c624be5..2be868cad 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateMatchingDocumentTagsResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateNigo.java b/src/main/java/com/formkiq/client/model/UpdateNigo.java index 7499641b5..8f0d9cd89 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateNigo { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,19 +367,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java b/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java index dd8806113..5191e510b 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateNigoRequest { public static final String SERIALIZED_NAME_NIGO = "nigo"; @SerializedName(SERIALIZED_NAME_NIGO) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java b/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java index 150ca21f1..57ec91711 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateNigoResponse { public static final String SERIALIZED_NAME_NIGO_ID = "nigoId"; @SerializedName(SERIALIZED_NAME_NIGO_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateResponse.java b/src/main/java/com/formkiq/client/model/UpdateResponse.java index b64fde922..3cf5c0b33 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateRule.java b/src/main/java/com/formkiq/client/model/UpdateRule.java index 90798df7e..40db42326 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateRule { public static final String SERIALIZED_NAME_PRIORITY = "priority"; @SerializedName(SERIALIZED_NAME_PRIORITY) @@ -240,15 +240,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java b/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java index 2100f5d6a..d8000834a 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateRuleRequest { public static final String SERIALIZED_NAME_RULE = "rule"; @SerializedName(SERIALIZED_NAME_RULE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java b/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java index da4966b8e..d9bd1108e 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateRuleResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateRuleset.java b/src/main/java/com/formkiq/client/model/UpdateRuleset.java index 3f0a41e89..0382afdbf 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateRuleset { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @@ -212,14 +212,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java b/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java index 37dc988ee..c8945e284 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateRulesetRequest { public static final String SERIALIZED_NAME_RULESET = "ruleset"; @SerializedName(SERIALIZED_NAME_RULESET) @@ -130,12 +130,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java b/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java index 9c0e569f9..1dce5b35d 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateRulesetResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateSite.java b/src/main/java/com/formkiq/client/model/UpdateSite.java index 2a7a56a99..58929aa86 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateSite { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) @@ -157,12 +157,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java b/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java index 65037500f..91a4cd39c 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateSiteRequest { public static final String SERIALIZED_NAME_SITE = "site"; @SerializedName(SERIALIZED_NAME_SITE) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateTask.java b/src/main/java/com/formkiq/client/model/UpdateTask.java index 79b8d4262..98c5227e3 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateTask { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -367,19 +367,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java b/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java index 8810c53bd..08a7e9a3f 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateTaskRequest { public static final String SERIALIZED_NAME_TASK = "task"; @SerializedName(SERIALIZED_NAME_TASK) @@ -130,11 +130,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java b/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java index 710e1022a..9dbcb7672 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateTaskResponse { public static final String SERIALIZED_NAME_TASK_ID = "taskId"; @SerializedName(SERIALIZED_NAME_TASK_ID) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java b/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java index e74e81772..92887680b 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateWorkflowRequest { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -184,13 +184,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java b/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java index b8f72da0e..5f6c28033 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UpdateWorkflowResponse { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) @@ -129,11 +129,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); } /** diff --git a/src/main/java/com/formkiq/client/model/User.java b/src/main/java/com/formkiq/client/model/User.java index f8145962a..9e725d53b 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class User { public static final String SERIALIZED_NAME_USERNAME = "username"; @SerializedName(SERIALIZED_NAME_USERNAME) @@ -292,17 +292,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UserActivity.java b/src/main/java/com/formkiq/client/model/UserActivity.java index 925e0b557..38956722d 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UserActivity { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -250,15 +250,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UserActivityChanges.java b/src/main/java/com/formkiq/client/model/UserActivityChanges.java index 1d4a62ba3..860e8158b 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. @@ -56,22 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.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 +82,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 +102,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 +156,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); } /** @@ -190,18 +188,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } } 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..d863f10e5 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. diff --git a/src/main/java/com/formkiq/client/model/UserAttributes.java b/src/main/java/com/formkiq/client/model/UserAttributes.java index 0837068ce..484cee5db 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UserAttributes { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) @@ -535,26 +535,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UserShare.java b/src/main/java/com/formkiq/client/model/UserShare.java index ef34098b5..be9c925a9 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. @@ -60,8 +60,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class UserShare { public static final String SERIALIZED_NAME_GROUP = "group"; @SerializedName(SERIALIZED_NAME_GROUP) @@ -382,18 +382,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); } /** diff --git a/src/main/java/com/formkiq/client/model/UserSharePermission.java b/src/main/java/com/formkiq/client/model/UserSharePermission.java index f83623407..d45334e2c 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. diff --git a/src/main/java/com/formkiq/client/model/UserSharePermissionType.java b/src/main/java/com/formkiq/client/model/UserSharePermissionType.java index 3e4927e36..ccfb22a46 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. diff --git a/src/main/java/com/formkiq/client/model/ValidationError.java b/src/main/java/com/formkiq/client/model/ValidationError.java index 1354ec7a6..eb6364b17 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ValidationError { public static final String SERIALIZED_NAME_KEY = "key"; @SerializedName(SERIALIZED_NAME_KEY) @@ -156,12 +156,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); } /** diff --git a/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java b/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java index 9f842569a..aec9e0489 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class ValidationErrorsResponse { public static final String SERIALIZED_NAME_ERRORS = "errors"; @SerializedName(SERIALIZED_NAME_ERRORS) @@ -140,11 +140,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); } /** diff --git a/src/main/java/com/formkiq/client/model/Watermark.java b/src/main/java/com/formkiq/client/model/Watermark.java index 50bf074e9..ee3897a0f 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. @@ -59,8 +59,8 @@ * 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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class Watermark { public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) @@ -240,15 +240,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("text", "rotation", "imageDocumentId", "scale", "position")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(); + openapiRequiredFields = new HashSet(0); } /** diff --git a/src/main/java/com/formkiq/client/model/WatermarkPosition.java b/src/main/java/com/formkiq/client/model/WatermarkPosition.java index 8c1436ffc..df89cef5d 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. @@ -59,8 +59,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WatermarkPosition { public static final String SERIALIZED_NAME_X_ANCHOR = "xAnchor"; @SerializedName(SERIALIZED_NAME_X_ANCHOR) @@ -213,14 +213,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); } /** diff --git a/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java b/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java index 8221ec353..b6f619f59 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. diff --git a/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java b/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java index 9198e9161..eb5ec0b23 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. diff --git a/src/main/java/com/formkiq/client/model/WatermarkScale.java b/src/main/java/com/formkiq/client/model/WatermarkScale.java index 16a17a460..5f9494449 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. diff --git a/src/main/java/com/formkiq/client/model/WebhookTag.java b/src/main/java/com/formkiq/client/model/WebhookTag.java index 1393ec374..b8cf1bb9c 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. @@ -56,8 +56,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WebhookTag { public static final String SERIALIZED_NAME_INSERTED_DATE = "insertedDate"; @SerializedName(SERIALIZED_NAME_INSERTED_DATE) @@ -263,18 +263,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")); } /** diff --git a/src/main/java/com/formkiq/client/model/WorkflowDocument.java b/src/main/java/com/formkiq/client/model/WorkflowDocument.java index 4ed14cdb2..440426a41 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WorkflowDocument { public static final String SERIALIZED_NAME_WORKFLOW = "workflow"; @SerializedName(SERIALIZED_NAME_WORKFLOW) @@ -158,12 +158,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); } /** diff --git a/src/main/java/com/formkiq/client/model/WorkflowQueue.java b/src/main/java/com/formkiq/client/model/WorkflowQueue.java index 8c7eb5972..7a1a1b4cb 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. @@ -58,8 +58,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WorkflowQueue { public static final String SERIALIZED_NAME_QUEUE_ID = "queueId"; @SerializedName(SERIALIZED_NAME_QUEUE_ID) @@ -166,12 +166,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); } /** diff --git a/src/main/java/com/formkiq/client/model/WorkflowStatus.java b/src/main/java/com/formkiq/client/model/WorkflowStatus.java index 278693543..31b5b1691 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. diff --git a/src/main/java/com/formkiq/client/model/WorkflowStep.java b/src/main/java/com/formkiq/client/model/WorkflowStep.java index b14fe5085..da91865a8 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. @@ -61,8 +61,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WorkflowStep { public static final String SERIALIZED_NAME_STEP_ID = "stepId"; @SerializedName(SERIALIZED_NAME_STEP_ID) @@ -223,14 +223,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); } /** diff --git a/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java b/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java index ed813221f..ac4121502 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WorkflowStepDecision { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) @@ -157,12 +157,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); } /** diff --git a/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java b/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java index 8aa169530..803616fb5 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. diff --git a/src/main/java/com/formkiq/client/model/WorkflowSummary.java b/src/main/java/com/formkiq/client/model/WorkflowSummary.java index f8b41aea7..0ef1bd7c3 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. @@ -57,8 +57,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-08-01T10:06:13.310314-05:00[America/Winnipeg]", + comments = "Generator version: 7.14.0") public class WorkflowSummary { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -292,17 +292,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); } /** 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..e7426056b 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. diff --git a/src/test/java/com/formkiq/client/api/AntivirusApiTest.java b/src/test/java/com/formkiq/client/api/AntivirusApiTest.java index 33c42278c..540984c6f 100644 --- a/src/test/java/com/formkiq/client/api/AntivirusApiTest.java +++ b/src/test/java/com/formkiq/client/api/AntivirusApiTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI 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/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..e1289f1a3 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. @@ -63,7 +63,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..fa0ee2a4f 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. 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..04b28ed3d 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. 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..2745cc3eb 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. 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/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..723bb54c8 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. @@ -26,6 +26,7 @@ import com.formkiq.client.model.AddLocaleRequest; import com.formkiq.client.model.AddLocaleResourceItemRequest; import com.formkiq.client.model.AddLocaleResourceItemResponse; +import com.formkiq.client.model.AddOpenSearchSnapshotRepositoryResponse; import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.AddSiteRequest; import com.formkiq.client.model.DeleteApiKeyResponse; @@ -36,6 +37,8 @@ import com.formkiq.client.model.GetLocaleResourceItemsResponse; import com.formkiq.client.model.GetLocalesResponse; import com.formkiq.client.model.GetOpenSearchIndexResponse; +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; @@ -114,6 +117,54 @@ 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 repositoryName = null; + String snapshotName = null; + AddResponse response = api.addOpenSearchRestoreSnapshot(siteId, repositoryName, 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 repositoryName = null; + String snapshotName = null; + AddResponse response = api.addOpenSearchSnapshot(siteId, repositoryName, snapshotName); + // TODO: test validations + } + + /** + * Add OpenSearch Snapshot Repository + * + * Add an OpenSearch Snapshot Repository + * + * @throws ApiException if the Api call fails + */ + @Test + public void addOpenSearchSnapshotRepositoryTest() throws ApiException { + String siteId = null; + String repositoryName = null; + AddOpenSearchSnapshotRepositoryResponse response = + api.addOpenSearchSnapshotRepository(siteId, repositoryName); + // TODO: test validations + } + /** * Add Site * @@ -182,9 +233,40 @@ 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 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 repositoryName = null; + String snapshotName = null; + DeleteResponse response = api.deleteOpenSearchSnapshot(siteId, repositoryName, 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); + String repositoryName = null; + DeleteResponse response = api.deleteOpenSearchSnapshotRepository(siteId, repositoryName); // TODO: test validations } @@ -291,9 +373,72 @@ public void getLocalesTest() throws ApiException { * @throws ApiException if the Api call fails */ @Test - public void getOpensearchIndexTest() throws ApiException { + public void getOpenSearchIndexTest() throws ApiException { + String siteId = null; + GetOpenSearchIndexResponse response = api.getOpenSearchIndex(siteId); + // TODO: test validations + } + + /** + * Get site(s) OpenSearch snapshot + * + * Returns the OpenSearch Snapshot + * + * @throws ApiException if the Api call fails + */ + @Test + public void getOpenSearchSnapshotTest() throws ApiException { + String siteId = null; + String repositoryName = null; + String snapshotName = null; + GetOpenSearchSnapshotResponse response = + api.getOpenSearchSnapshot(siteId, repositoryName, 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 { + String siteId = null; + GetOpenSearchSnapshotRepositoryResponse response = + api.getOpenSearchSnapshotRepositories(siteId); + // 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; + String repositoryName = null; + GetOpenSearchSnapshotRepositoryResponse response = + api.getOpenSearchSnapshotRepository(siteId, repositoryName); + // 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; - GetOpenSearchIndexResponse response = api.getOpensearchIndex(siteId); + String repositoryName = null; + GetOpenSearchSnapshotResponse response = api.getOpenSearchSnapshots(siteId, repositoryName); // TODO: test validations } @@ -379,10 +524,10 @@ 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 } 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..47dd7070c 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,6 +21,7 @@ package com.formkiq.client.api; import com.formkiq.client.invoker.ApiException; +import com.formkiq.client.model.GetActivitesResponse; import com.formkiq.client.model.GetUserActivitesResponse; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; @@ -56,6 +57,28 @@ 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; + String next = null; + String limit = null; + String userId = null; + GetActivitesResponse response = api.getResourceActivities(siteId, documentId, entityTypeId, + namespace, entityId, 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/ActivityStatusTest.java b/src/test/java/com/formkiq/client/model/ActivityStatusTest.java new file mode 100644 index 000000000..0eea3599d --- /dev/null +++ b/src/test/java/com/formkiq/client/model/ActivityStatusTest.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 ActivityStatus + */ +public class ActivityStatusTest { + /** + * Model tests for ActivityStatus + */ + @Test + 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..dc4be7c5a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/ActivityTest.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.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 '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..c774738b7 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. @@ -182,4 +182,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..9850cf54a --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java @@ -0,0 +1,123 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java + * + * 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; + +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java +import com.formkiq.client.model.LocaleResourceType; +======== +import com.formkiq.client.model.EntityTypeNamespace; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java +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; + +/** +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java + * Model tests for AddLocaleResourceInterfaceItem + */ +public class AddLocaleResourceInterfaceItemTest { + private final AddLocaleResourceInterfaceItem model = new AddLocaleResourceInterfaceItem(); + + /** + * Model tests for AddLocaleResourceInterfaceItem + */ + @Test + public void testAddLocaleResourceInterfaceItem() { + // TODO: test AddLocaleResourceInterfaceItem + } + + /** + * Test the property 'itemType' + */ + @Test + public void itemTypeTest() { + // TODO: test itemType + } + + /** + * Test the property 'localizedValue' + */ + @Test + public void localizedValueTest() { + // TODO: test localizedValue +======== + * Model tests for AddDocumentAttributeEntity + */ +public class AddDocumentAttributeEntityTest { + private final AddDocumentAttributeEntity model = new AddDocumentAttributeEntity(); + + /** + * Model tests for AddDocumentAttributeEntity + */ + @Test + public void testAddDocumentAttributeEntity() { + // TODO: test AddDocumentAttributeEntity +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java + } + + /** + * Test the property 'interfaceKey' + */ + @Test +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java + public void interfaceKeyTest() { + // TODO: test interfaceKey +======== + 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 +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java + } + +} 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..1383be23d 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. 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..1b6ca1a7c 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. 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..b73def1e5 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java @@ -0,0 +1,82 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityRequestTest.java + * + * 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; + +/** +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java + * Model tests for AddLocaleRequest + */ +public class AddLocaleRequestTest { + private final AddLocaleRequest model = new AddLocaleRequest(); + + /** + * Model tests for AddLocaleRequest + */ + @Test + public void testAddLocaleRequest() { + // TODO: test AddLocaleRequest + } + + /** + * Test the property 'locale' + */ + @Test + public void localeTest() { + // TODO: test locale +======== + * 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 +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityRequestTest.java + } + +} diff --git a/src/test/java/com/formkiq/client/model/AddAttributeResponseTest.java b/src/test/java/com/formkiq/client/model/AddEntityResponseTest.java similarity index 78% rename from src/test/java/com/formkiq/client/model/AddAttributeResponseTest.java rename to src/test/java/com/formkiq/client/model/AddEntityResponseTest.java index a07c3f9f2..a21c9288a 100644 --- a/src/test/java/com/formkiq/client/model/AddAttributeResponseTest.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 AddAttributeResponse + * Model tests for AddEntityResponse */ -public class AddAttributeResponseTest { - private final AddAttributeResponse model = new AddAttributeResponse(); +public class AddEntityResponseTest { + private final AddEntityResponse model = new AddEntityResponse(); /** - * Model tests for AddAttributeResponse + * Model tests for AddEntityResponse */ @Test - public void testAddAttributeResponse() { - // TODO: test AddAttributeResponse + 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/AddEntityTest.java b/src/test/java/com/formkiq/client/model/AddEntityTest.java new file mode 100644 index 000000000..e79f57975 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityTest.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.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 org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Model tests for AddEntity + */ +public class AddEntityTest { + private final AddEntity model = new AddEntity(); + + /** + * Model tests for AddEntity + */ + @Test + public void testAddEntity() { + // TODO: test AddEntity + } + + /** + * Test the property 'name' + */ + @Test + public void nameTest() { + // TODO: test name + } + + /** + * Test the property 'attributes' + */ + @Test + public void attributesTest() { + // TODO: test attributes + } + +} 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..b5194c119 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java @@ -0,0 +1,94 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityTypeTest.java + * + * 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; + +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java +import com.formkiq.client.model.AddResourceItem; +======== +import com.formkiq.client.model.EntityTypeNamespace; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityTypeTest.java +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; + +/** +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java + * Model tests for AddLocaleResourceItemRequest + */ +public class AddLocaleResourceItemRequestTest { + private final AddLocaleResourceItemRequest model = new AddLocaleResourceItemRequest(); + + /** + * Model tests for AddLocaleResourceItemRequest + */ + @Test + public void testAddLocaleResourceItemRequest() { + // TODO: test AddLocaleResourceItemRequest + } + + /** + * Test the property 'resourceItem' + */ + @Test + public void resourceItemTest() { + // TODO: test resourceItem +======== + * 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 +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityTypeTest.java + } + +} 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/AddOpenSearchSnapshotRepositoryResponseTest.java b/src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java new file mode 100644 index 000000000..547f63748 --- /dev/null +++ b/src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java @@ -0,0 +1,74 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java + * + * 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; + +/** +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java + * Model tests for AddLocaleResourceItemResponse + */ +public class AddLocaleResourceItemResponseTest { + private final AddLocaleResourceItemResponse model = new AddLocaleResourceItemResponse(); + + /** + * Model tests for AddLocaleResourceItemResponse + */ + @Test + public void testAddLocaleResourceItemResponse() { + // TODO: test AddLocaleResourceItemResponse +======== + * Model tests for AddOpenSearchSnapshotRepositoryResponse + */ +public class AddOpenSearchSnapshotRepositoryResponseTest { + private final AddOpenSearchSnapshotRepositoryResponse model = + new AddOpenSearchSnapshotRepositoryResponse(); + + /** + * Model tests for AddOpenSearchSnapshotRepositoryResponse + */ + @Test + public void testAddOpenSearchSnapshotRepositoryResponse() { + // TODO: test AddOpenSearchSnapshotRepositoryResponse +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java + } + + /** + * Test the property 'itemKey' + */ + @Test + public void itemKeyTest() { + // TODO: test itemKey + } + +} 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/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..7745a34ac 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. 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..79003b05c --- /dev/null +++ b/src/test/java/com/formkiq/client/model/EntityTest.java @@ -0,0 +1,157 @@ +/* + * 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 + * +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java + * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com +======== + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java + * + * 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; + +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java +import com.formkiq.client.model.WatermarkPosition; +import com.formkiq.client.model.WatermarkScale; +======== +import com.formkiq.client.model.EntityAttribute; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java +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; +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java +import java.math.BigDecimal; +======== +import java.util.ArrayList; +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java +import java.util.Arrays; +import java.util.List; +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** +<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java + * Model tests for Watermark + */ +public class WatermarkTest { + private final Watermark model = new Watermark(); + + /** + * Model tests for Watermark + */ + @Test + public void testWatermark() { + // TODO: test Watermark + } + + /** + * Test the property 'text' + */ + @Test + public void textTest() { + // TODO: test text + } + + /** + * Test the property 'rotation' + */ + @Test + public void rotationTest() { + // TODO: test rotation + } + + /** + * Test the property 'imageDocumentId' + */ + @Test + public void imageDocumentIdTest() { + // TODO: test imageDocumentId + } + + /** + * Test the property 'scale' + */ + @Test + public void scaleTest() { + // TODO: test scale + } + + /** + * Test the property 'position' + */ + @Test + public void positionTest() { + // TODO: test position +======== + * 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 +>>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java + } + +} 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/GetDocumentAttributeVersionsResponseTest.java b/src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java index 4705bdd8e..82a071915 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (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/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..1ff530584 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. 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..c10d1c244 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. 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..71fa8a662 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. 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/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/LocaleTest.java b/src/test/java/com/formkiq/client/model/LocaleTest.java index 53fde4ecd..d58184497 100644 --- a/src/test/java/com/formkiq/client/model/LocaleTest.java +++ b/src/test/java/com/formkiq/client/model/LocaleTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. 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/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/OpaPolicyAttributeTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java index e9eaedd41..465e966f6 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. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java index 7c5291921..19d6a5bd8 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. diff --git a/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java b/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java index 93e379790..5decc13c0 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. 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/OpenSearchIndexTest.java b/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java index 5346378b4..d972a70ef 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. 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/SetAntivirusResponseTest.java b/src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java index f24c54bdc..0bdb76d2a 100644 --- a/src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java +++ b/src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java @@ -11,7 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com + * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com * * NOTE: This class is auto generated by OpenAPI Generator (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/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..e86251464 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. 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/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/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..e13d8a731 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. 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. From b41b710323647675d7d0748fe69b7c6e09f25c7e Mon Sep 17 00:00:00 2001 From: Mike Friesen Date: Sun, 2 Nov 2025 09:44:46 -0600 Subject: [PATCH 2/2] update --- .openapi-generator/FILES | 84 +- .openapi-generator/VERSION | 2 +- README.md | 62 +- api/openapi.yaml | 2065 ++++++++++++++--- build.sbt | 4 +- docs/Activity.md | 1 + docs/AddActionParameters.md | 4 +- docs/AddDocumentGenerateRequest.md | 2 +- docs/AddDocumentOcrRequest.md | 3 +- docs/AddDocumentSyncService.md | 2 - docs/AdvancedDocumentSearchApi.md | 12 +- docs/AwsTextractQuery.md | 16 + docs/AwsTextraxctQuery.md | 16 + docs/DataClassification.md | 17 + docs/DataClassificationAttribute.md | 14 + docs/DocumentAction.md | 4 +- docs/DocumentActionStatus.md | 4 + docs/DocumentActionType.md | 4 + docs/DocumentActionsApi.md | 2 +- docs/DocumentAttributesApi.md | 74 - docs/DocumentDataClassificationApi.md | 150 ++ docs/DocumentSyncService.md | 2 - docs/DocumentTagsApi.md | 11 +- docs/DocumentsApi.md | 204 ++ docs/GetDocumentDataClassificationResponse.md | 14 + docs/GetLocalesResponse.md | 2 +- docs/GetMalwareScanResponse.md | 14 + docs/GetOpenSearchIndexResponse.md | 2 +- docs/GetOpenSearchIndiceResponse.md | 13 + docs/GetSitesResponse.md | 1 + docs/LocaleInfo.md | 13 + docs/MalwareEngine.md | 11 + docs/MalwareScanApi.md | 223 ++ docs/MalwareScanResult.md | 17 + docs/MalwareScanStatus.md | 15 + docs/MappingAttributeSourceType.md | 4 + docs/OpaImplicitAccess.md | 13 + docs/OpaPolicyAttribute.md | 2 + docs/OpaPolicyAttributeIn.md | 14 + docs/OpaPolicyAttributeNotIn.md | 14 + docs/OpaPolicyInput.md | 14 + docs/OpaPolicyInputMethod.md | 14 + docs/OpaPolicyInputResource.md | 14 + docs/OpaPolicyItem.md | 3 +- docs/OpaPolicyItemType.md | 2 + docs/OpenSearchAlias.md | 13 + docs/OpenSearchIndex.md | 4 + docs/OpenSearchIndexSetting.md | 14 + docs/OpenSearchS3Repository.md | 4 +- docs/SetDocumentDataClassificationRequest.md | 13 + docs/SetDocumentDataClassificationResponse.md | 14 + docs/SetOpaAccessPolicyItemsRequest.md | 2 +- docs/SetOpenSearchIndexRequest.md | 2 +- docs/SetOpenSearchIndiceRequest.md | 13 + docs/SystemManagementApi.md | 458 +++- docs/TextractQuery.md | 16 + docs/UserActivitiesApi.md | 10 +- docs/Watermark.md | 1 + .../client/api/AdvancedDocumentSearchApi.java | 71 +- .../com/formkiq/client/api/AntivirusApi.java | 295 --- .../client/api/DocumentActionsApi.java | 117 +- .../client/api/DocumentAttributesApi.java | 235 -- .../api/DocumentDataClassificationApi.java | 514 ++++ .../formkiq/client/api/DocumentTagsApi.java | 31 +- .../com/formkiq/client/api/DocumentsApi.java | 598 +++++ .../formkiq/client/api/MalwareScanApi.java | 751 ++++++ .../client/api/SystemManagementApi.java | 1675 ++++++++----- .../formkiq/client/api/UserActivitiesApi.java | 55 +- .../com/formkiq/client/invoker/ApiClient.java | 16 +- .../formkiq/client/invoker/ApiException.java | 7 +- .../formkiq/client/invoker/Configuration.java | 4 +- .../java/com/formkiq/client/invoker/JSON.java | 44 +- .../java/com/formkiq/client/invoker/Pair.java | 36 +- .../client/invoker/ServerConfiguration.java | 4 +- .../client/invoker/ServerVariable.java | 4 +- .../formkiq/client/invoker/StringUtil.java | 4 +- .../formkiq/client/invoker/auth/AWS4Auth.java | 4 +- .../client/invoker/auth/ApiKeyAuth.java | 4 +- .../client/invoker/auth/Authentication.java | 4 +- .../client/invoker/auth/HttpBearerAuth.java | 4 +- .../formkiq/client/invoker/auth/OAuth.java | 4 +- .../client/invoker/auth/OAuthFlow.java | 4 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../com/formkiq/client/model/Activity.java | 63 +- .../formkiq/client/model/ActivityStatus.java | 2 + .../com/formkiq/client/model/AddAction.java | 18 +- .../client/model/AddActionParameters.java | 165 +- .../client/model/AddApiKeyRequest.java | 14 +- .../client/model/AddApiKeyResponse.java | 12 +- .../formkiq/client/model/AddAttribute.java | 18 +- .../client/model/AddAttributeRequest.java | 16 +- .../model/AddAttributeSchemaOptional.java | 14 +- .../model/AddAttributeSchemaRequired.java | 18 +- .../com/formkiq/client/model/AddCase.java | 34 +- .../formkiq/client/model/AddCaseRequest.java | 16 +- .../formkiq/client/model/AddCaseResponse.java | 12 +- .../client/model/AddChildDocument.java | 34 +- .../model/AddChildDocumentResponse.java | 14 +- .../client/model/AddClassification.java | 12 +- .../model/AddClassificationRequest.java | 10 +- .../model/AddClassificationResponse.java | 12 +- .../model/AddDocumentActionsRequest.java | 12 +- .../model/AddDocumentActionsResponse.java | 12 +- .../AddDocumentActionsRetryResponse.java | 12 +- .../client/model/AddDocumentAttribute.java | 42 +- .../AddDocumentAttributeClassification.java | 18 +- .../model/AddDocumentAttributeEntity.java | 22 +- .../AddDocumentAttributeRelationship.java | 18 +- .../model/AddDocumentAttributeStandard.java | 24 +- .../model/AddDocumentAttributeValue.java | 16 +- .../model/AddDocumentAttributesRequest.java | 12 +- .../model/AddDocumentFulltextRequest.java | 30 +- .../model/AddDocumentFulltextResponse.java | 12 +- .../model/AddDocumentGenerateRequest.java | 30 +- .../model/AddDocumentGenerateResponse.java | 12 +- .../client/model/AddDocumentMetadata.java | 22 +- .../client/model/AddDocumentOcrRequest.java | 77 +- .../client/model/AddDocumentOcrResponse.java | 12 +- .../client/model/AddDocumentRequest.java | 42 +- .../client/model/AddDocumentResponse.java | 18 +- .../formkiq/client/model/AddDocumentSync.java | 10 +- .../client/model/AddDocumentSyncRequest.java | 10 +- .../client/model/AddDocumentSyncService.java | 6 +- .../formkiq/client/model/AddDocumentTag.java | 22 +- .../client/model/AddDocumentTagsRequest.java | 12 +- .../model/AddDocumentUploadRequest.java | 30 +- .../AddDocumentWorkflowDecisionsRequest.java | 22 +- .../AddDocumentWorkflowDecisionsResponse.java | 12 +- .../model/AddDocumentWorkflowRequest.java | 18 +- .../model/AddDocumentWorkflowResponse.java | 12 +- .../model/AddDocusignEnvelopesRequest.java | 22 +- .../model/AddDocusignEnvelopesResponse.java | 12 +- .../AddDocusignRecipientViewRequest.java | 16 +- .../AddDocusignRecipientViewResponse.java | 12 +- .../com/formkiq/client/model/AddEntity.java | 14 +- .../client/model/AddEntityAttribute.java | 18 +- .../client/model/AddEntityRequest.java | 10 +- .../client/model/AddEntityResponse.java | 12 +- .../formkiq/client/model/AddEntityType.java | 12 +- .../client/model/AddEntityTypeRequest.java | 10 +- .../client/model/AddEntityTypeResponse.java | 12 +- .../client/model/AddFolderPermission.java | 14 +- .../client/model/AddFolderRequest.java | 12 +- .../client/model/AddFolderResponse.java | 14 +- .../client/model/AddFolderShareRequest.java | 10 +- .../client/model/AddFolderShareResponse.java | 14 +- .../model/AddGoogleDocumentExportRequest.java | 12 +- .../AddGoogleDocumentExportResponse.java | 12 +- .../com/formkiq/client/model/AddGroup.java | 14 +- .../formkiq/client/model/AddGroupRequest.java | 16 +- .../client/model/AddLocaleRequest.java | 12 +- .../AddLocaleResourceClassificationItem.java | 24 +- .../model/AddLocaleResourceInterfaceItem.java | 20 +- .../model/AddLocaleResourceItemRequest.java | 10 +- .../model/AddLocaleResourceItemResponse.java | 12 +- .../model/AddLocaleResourceSchemaItem.java | 22 +- .../com/formkiq/client/model/AddMapping.java | 16 +- .../client/model/AddMappingRequest.java | 10 +- .../client/model/AddMappingResponse.java | 12 +- .../com/formkiq/client/model/AddNigo.java | 30 +- .../formkiq/client/model/AddNigoRequest.java | 16 +- .../formkiq/client/model/AddNigoResponse.java | 12 +- ...dOpenSearchSnapshotRepositoryResponse.java | 324 --- .../formkiq/client/model/AddQueueRequest.java | 18 +- .../client/model/AddQueueResponse.java | 12 +- .../model/AddReindexDocumentRequest.java | 10 +- .../formkiq/client/model/AddResourceItem.java | 30 +- .../com/formkiq/client/model/AddResponse.java | 12 +- .../com/formkiq/client/model/AddRule.java | 14 +- .../formkiq/client/model/AddRuleRequest.java | 10 +- .../formkiq/client/model/AddRuleResponse.java | 12 +- .../com/formkiq/client/model/AddRuleset.java | 12 +- .../client/model/AddRulesetRequest.java | 16 +- .../client/model/AddRulesetResponse.java | 12 +- .../com/formkiq/client/model/AddShare.java | 14 +- .../com/formkiq/client/model/AddSite.java | 14 +- .../formkiq/client/model/AddSiteRequest.java | 10 +- .../com/formkiq/client/model/AddTask.java | 30 +- .../formkiq/client/model/AddTaskRequest.java | 16 +- .../formkiq/client/model/AddTaskResponse.java | 12 +- .../com/formkiq/client/model/AddUser.java | 12 +- .../formkiq/client/model/AddUserRequest.java | 16 +- .../client/model/AddWebhookRequest.java | 24 +- .../client/model/AddWebhookResponse.java | 14 +- .../client/model/AddWebhookTagRequest.java | 16 +- .../client/model/AddWorkflowRequest.java | 26 +- .../client/model/AddWorkflowResponse.java | 12 +- .../formkiq/client/model/AddWorkflowStep.java | 14 +- .../client/model/AddWorkflowStepDecision.java | 18 +- .../client/model/AddWorkflowStepQueue.java | 20 +- .../java/com/formkiq/client/model/ApiKey.java | 22 +- .../com/formkiq/client/model/Attribute.java | 12 +- .../client/model/AttributeDataType.java | 2 + .../model/AttributeSchemaCompositeKey.java | 12 +- .../client/model/AttributeSchemaOptional.java | 14 +- .../client/model/AttributeSchemaRequired.java | 18 +- .../formkiq/client/model/AttributeType.java | 2 + .../client/model/AttributeValueType.java | 2 + .../com/formkiq/client/model/CaseStatus.java | 2 + .../formkiq/client/model/ChecksumType.java | 2 + .../formkiq/client/model/ChildDocument.java | 40 +- .../formkiq/client/model/Classification.java | 16 +- .../client/model/ClassificationSummary.java | 18 +- .../client/model/DataClassification.java | 382 +++ .../model/DataClassificationAttribute.java | 256 ++ .../client/model/DeleteApiKeyResponse.java | 12 +- .../model/DeleteCaseDocumentResponse.java | 12 +- .../model/DeleteCaseNigoDocumentResponse.java | 12 +- .../client/model/DeleteCaseNigoResponse.java | 12 +- .../client/model/DeleteCaseResponse.java | 12 +- .../model/DeleteCaseTaskDocumentResponse.java | 12 +- .../client/model/DeleteCaseTaskResponse.java | 12 +- .../client/model/DeleteFolderResponse.java | 12 +- .../client/model/DeleteFulltextResponse.java | 12 +- .../client/model/DeleteIndicesResponse.java | 12 +- .../client/model/DeleteQueueResponse.java | 12 +- .../formkiq/client/model/DeleteResponse.java | 12 +- .../client/model/DeleteRuleResponse.java | 12 +- .../client/model/DeleteRulesetResponse.java | 12 +- .../client/model/DeleteShareResponse.java | 12 +- .../client/model/DeleteWorkflowResponse.java | 12 +- .../com/formkiq/client/model/Document.java | 42 +- .../formkiq/client/model/DocumentAction.java | 101 +- .../client/model/DocumentActionStatus.java | 8 +- .../client/model/DocumentActionType.java | 8 +- .../client/model/DocumentAttribute.java | 22 +- .../model/DocumentFulltextAttribute.java | 20 +- .../model/DocumentFulltextAttributeEq.java | 12 +- .../client/model/DocumentFulltextRequest.java | 16 +- .../model/DocumentFulltextResponse.java | 12 +- .../client/model/DocumentFulltextSearch.java | 16 +- .../client/model/DocumentFulltextTag.java | 26 +- .../model/DocumentGenerateDataSource.java | 22 +- .../model/DocumentGenerateInsertDocument.java | 18 +- ...ocumentGenerateInsertDocumentPosition.java | 2 + .../model/DocumentGenerateOutputType.java | 2 + .../com/formkiq/client/model/DocumentId.java | 20 +- .../client/model/DocumentMetadata.java | 16 +- .../model/DocumentRelationshipType.java | 2 + .../formkiq/client/model/DocumentSearch.java | 18 +- .../client/model/DocumentSearchAttribute.java | 28 +- .../model/DocumentSearchMatchAttribute.java | 14 +- .../client/model/DocumentSearchMatchTag.java | 16 +- .../client/model/DocumentSearchMeta.java | 20 +- .../client/model/DocumentSearchRange.java | 20 +- .../client/model/DocumentSearchRequest.java | 16 +- .../client/model/DocumentSearchResponse.java | 16 +- .../client/model/DocumentSearchTag.java | 28 +- .../client/model/DocumentSearchTags.java | 22 +- .../formkiq/client/model/DocumentSync.java | 18 +- .../client/model/DocumentSyncService.java | 6 +- .../client/model/DocumentSyncStatus.java | 2 + .../client/model/DocumentSyncType.java | 2 + .../com/formkiq/client/model/DocumentTag.java | 24 +- .../formkiq/client/model/DocumentVersion.java | 22 +- .../client/model/DocumentWorkflow.java | 20 +- .../client/model/DocumentWorkflowStatus.java | 2 + .../model/DocumentsCompressRequest.java | 18 +- .../model/DocumentsCompressResponse.java | 12 +- .../formkiq/client/model/DocusignConfig.java | 18 +- .../client/model/DocusignEnvironment.java | 2 + .../client/model/DocusignInpersonSigner.java | 30 +- .../client/model/DocusignNotification.java | 12 +- .../DocusignNotificationExpirations.java | 16 +- .../model/DocusignNotificationReminders.java | 16 +- .../client/model/DocusignRecipientView.java | 24 +- .../client/model/DocusignSignHereTabs.java | 26 +- .../formkiq/client/model/DocusignSigner.java | 28 +- .../client/model/DocusignSigningTabs.java | 12 +- .../java/com/formkiq/client/model/Entity.java | 20 +- .../formkiq/client/model/EntityAttribute.java | 18 +- .../com/formkiq/client/model/EntityType.java | 16 +- .../client/model/EntityTypeNamespace.java | 2 + .../java/com/formkiq/client/model/Error.java | 18 +- .../formkiq/client/model/ErrorsResponse.java | 12 +- .../client/model/FolderPermission.java | 14 +- .../client/model/FolderPermissionType.java | 2 + .../client/model/FulltextAttribute.java | 14 +- .../client/model/FulltextSearchItem.java | 32 +- .../client/model/GetActivitesResponse.java | 14 +- .../client/model/GetApiKeysResponse.java | 14 +- .../GetAttributeAllowedValuesResponse.java | 12 +- .../client/model/GetAttributeResponse.java | 10 +- .../client/model/GetAttributesResponse.java | 14 +- .../model/GetCaseDocumentsResponse.java | 14 +- .../client/model/GetCaseNigoResponse.java | 10 +- .../client/model/GetCaseNigosResponse.java | 14 +- .../formkiq/client/model/GetCaseResponse.java | 10 +- .../client/model/GetCaseTaskResponse.java | 10 +- .../client/model/GetCaseTasksResponse.java | 14 +- .../client/model/GetCasesResponse.java | 14 +- .../model/GetClassificationResponse.java | 10 +- .../model/GetClassificationsResponse.java | 14 +- .../model/GetConfigurationResponse.java | 20 +- .../model/GetDocumentActionsResponse.java | 14 +- .../model/GetDocumentAttributeResponse.java | 10 +- .../model/GetDocumentAttributesResponse.java | 14 +- .../model/GetDocumentContentResponse.java | 16 +- ...GetDocumentDataClassificationResponse.java | 290 +++ .../model/GetDocumentFulltextResponse.java | 34 +- .../client/model/GetDocumentOcrResponse.java | 30 +- .../client/model/GetDocumentResponse.java | 46 +- .../client/model/GetDocumentSyncResponse.java | 14 +- .../client/model/GetDocumentTagResponse.java | 24 +- .../client/model/GetDocumentTagsResponse.java | 16 +- .../client/model/GetDocumentUrlResponse.java | 14 +- .../model/GetDocumentVersionsResponse.java | 14 +- .../model/GetDocumentWorkflowResponse.java | 10 +- .../model/GetDocumentWorkflowsResponse.java | 14 +- .../client/model/GetDocumentsResponse.java | 16 +- .../client/model/GetEntitiesResponse.java | 14 +- .../client/model/GetEntityResponse.java | 126 +- .../client/model/GetEntityTypeResponse.java | 10 +- .../client/model/GetEntityTypesResponse.java | 131 +- .../client/model/GetExaminePdfResponse.java | 10 +- .../model/GetExaminePdfUrlResponse.java | 14 +- .../model/GetFolderPermissionsResponse.java | 12 +- .../client/model/GetFoldersResponse.java | 16 +- .../client/model/GetGroupResponse.java | 10 +- .../client/model/GetGroupsResponse.java | 14 +- .../model/GetLocaleResourceItemResponse.java | 10 +- .../model/GetLocaleResourceItemsResponse.java | 14 +- .../client/model/GetLocalesResponse.java | 28 +- .../client/model/GetMalwareScanResponse.java | 281 +++ .../client/model/GetMappingResponse.java | 10 +- .../client/model/GetMappingsResponse.java | 14 +- .../model/GetOpaAccessPoliciesResponse.java | 14 +- .../GetOpaAccessPolicyItemsResponse.java | 12 +- .../model/GetOpaAccessPolicyResponse.java | 12 +- .../model/GetOpenSearchIndexResponse.java | 22 +- .../model/GetOpenSearchIndiceResponse.java | 245 ++ ...tOpenSearchSnapshotRepositoryResponse.java | 12 +- .../model/GetOpenSearchSnapshotResponse.java | 12 +- .../client/model/GetQueueResponse.java | 12 +- .../client/model/GetQueuesResponse.java | 14 +- .../formkiq/client/model/GetRuleResponse.java | 10 +- .../client/model/GetRulesResponse.java | 14 +- .../client/model/GetRulesetResponse.java | 10 +- .../client/model/GetRulesetsResponse.java | 14 +- .../client/model/GetSiteGroupResponse.java | 10 +- .../client/model/GetSiteGroupsResponse.java | 12 +- .../client/model/GetSitesResponse.java | 60 +- .../client/model/GetSitesSchemaResponse.java | 12 +- .../model/GetUserActivitesResponse.java | 14 +- .../client/model/GetUserGroupsResponse.java | 14 +- .../formkiq/client/model/GetUserResponse.java | 10 +- .../client/model/GetUserSharesResponse.java | 14 +- .../client/model/GetUsersInGroupResponse.java | 14 +- .../client/model/GetUsersResponse.java | 14 +- .../client/model/GetVersionResponse.java | 18 +- .../client/model/GetWebhookResponse.java | 26 +- .../client/model/GetWebhookTagsResponse.java | 16 +- .../client/model/GetWebhooksResponse.java | 14 +- .../model/GetWorkflowDocumentsResponse.java | 14 +- .../GetWorkflowQueueDocumentsResponse.java | 14 +- .../client/model/GetWorkflowResponse.java | 16 +- .../client/model/GetWorkflowsResponse.java | 14 +- .../formkiq/client/model/GoogleConfig.java | 14 +- .../client/model/GoogleExportOutputType.java | 2 + .../java/com/formkiq/client/model/Group.java | 22 +- .../client/model/IndexFolderMoveRequest.java | 14 +- .../client/model/IndexFolderMoveResponse.java | 12 +- .../com/formkiq/client/model/IndexSearch.java | 12 +- .../client/model/IndexSearchRequest.java | 12 +- .../client/model/IndexSearchResponse.java | 16 +- .../model/{Locale.java => LocaleInfo.java} | 65 +- .../client/model/LocaleResourceType.java | 2 + ...PolicyItemType.java => MalwareEngine.java} | 26 +- .../client/model/MalwareScanResult.java | 354 +++ .../client/model/MalwareScanStatus.java | 90 + .../com/formkiq/client/model/Mapping.java | 18 +- .../client/model/MappingAttribute.java | 20 +- .../MappingAttributeLabelMatchingType.java | 2 + .../model/MappingAttributeMetadataField.java | 2 + .../model/MappingAttributeSourceType.java | 8 +- .../client/model/MatchDocumentTag.java | 22 +- .../com/formkiq/client/model/ModelCase.java | 32 +- .../java/com/formkiq/client/model/Nigo.java | 32 +- .../com/formkiq/client/model/NigoStatus.java | 2 + .../com/formkiq/client/model/OcrConfig.java | 10 +- .../com/formkiq/client/model/OcrEngine.java | 2 + .../formkiq/client/model/OcrKeyValues.java | 14 +- .../formkiq/client/model/OcrOutputType.java | 2 + .../com/formkiq/client/model/OcrTable.java | 18 +- .../formkiq/client/model/OcrTableData.java | 12 +- .../com/formkiq/client/model/OpaPolicy.java | 14 +- .../client/model/OpaPolicyAttribute.java | 84 +- .../client/model/OpaPolicyAttributeEq.java | 12 +- .../client/model/OpaPolicyAttributeGt.java | 10 +- .../client/model/OpaPolicyAttributeGte.java | 10 +- .../client/model/OpaPolicyAttributeIn.java | 234 ++ .../client/model/OpaPolicyAttributeInput.java | 10 +- .../client/model/OpaPolicyAttributeLt.java | 10 +- .../client/model/OpaPolicyAttributeLte.java | 10 +- .../client/model/OpaPolicyAttributeNeq.java | 12 +- .../client/model/OpaPolicyAttributeNotIn.java | 235 ++ .../formkiq/client/model/OpaPolicyInput.java | 254 ++ .../client/model/OpaPolicyInputMethod.java | 276 +++ .../client/model/OpaPolicyInputResource.java | 276 +++ .../formkiq/client/model/OpaPolicyItem.java | 132 +- ...irusResponse.java => OpenSearchAlias.java} | 100 +- .../formkiq/client/model/OpenSearchIndex.java | 174 +- .../client/model/OpenSearchIndexSetting.java | 257 ++ .../client/model/OpenSearchS3Repository.java | 47 +- .../client/model/OpenSearchSnapshot.java | 26 +- .../model/OpenSearchSnapshotFailure.java | 20 +- .../client/model/OpenSearchSnapshotShard.java | 10 +- .../com/formkiq/client/model/PdfDocument.java | 12 +- .../client/model/PdfDocumentField.java | 14 +- .../client/model/QueryFulltextResponse.java | 10 +- .../java/com/formkiq/client/model/Queue.java | 18 +- .../formkiq/client/model/ReindexTarget.java | 2 + .../formkiq/client/model/ResourceItem.java | 22 +- .../java/com/formkiq/client/model/Rule.java | 20 +- .../formkiq/client/model/RuleCondition.java | 12 +- .../client/model/RuleConditionAttribute.java | 2 + .../client/model/RuleConditionCriterion.java | 2 + .../client/model/RuleConditionMust.java | 16 +- .../client/model/RuleConditionOperation.java | 2 + .../com/formkiq/client/model/Ruleset.java | 16 +- .../formkiq/client/model/RulesetStatus.java | 2 + .../client/model/SchemaAttributes.java | 16 +- .../client/model/SearchRangeDataType.java | 2 + .../client/model/SearchResponseFields.java | 18 +- .../client/model/SearchResultDocument.java | 42 +- .../model/SearchResultDocumentAttribute.java | 14 +- .../model/SetClassificationRequest.java | 10 +- .../model/SetDocumentAttributeRequest.java | 10 +- .../model/SetDocumentAttributesRequest.java | 12 +- .../SetDocumentDataClassificationRequest.java | 242 ++ ...etDocumentDataClassificationResponse.java} | 130 +- .../model/SetDocumentFulltextRequest.java | 30 +- .../model/SetDocumentFulltextResponse.java | 12 +- .../client/model/SetDocumentOcrRequest.java | 20 +- .../model/SetDocumentRestoreResponse.java | 12 +- .../model/SetDocumentTagKeyRequest.java | 14 +- .../model/SetDocumentVersionRequest.java | 12 +- .../model/SetDocumentVersionResponse.java | 12 +- .../model/SetFolderPermissionsRequest.java | 14 +- .../model/SetGroupPermissionsRequest.java | 12 +- .../model/SetLocaleResourceItemRequest.java | 10 +- .../client/model/SetMappingRequest.java | 10 +- .../model/SetOpaAccessPolicyItemsRequest.java | 53 +- .../model/SetOpenSearchIndexRequest.java | 22 +- .../model/SetOpenSearchIndexResponse.java | 12 +- .../model/SetOpenSearchIndiceRequest.java | 223 ++ .../com/formkiq/client/model/SetResponse.java | 12 +- .../client/model/SetSchemaAttributes.java | 16 +- .../client/model/SetSitesSchemaRequest.java | 12 +- .../client/model/SetWorkflowRequest.java | 26 +- .../client/model/SetWorkflowResponse.java | 12 +- .../java/com/formkiq/client/model/Site.java | 24 +- .../com/formkiq/client/model/SiteConfig.java | 16 +- .../com/formkiq/client/model/SiteGroup.java | 12 +- .../client/model/SiteGroupPermissions.java | 2 + .../com/formkiq/client/model/SiteStatus.java | 2 + .../com/formkiq/client/model/SiteUsage.java | 10 +- .../formkiq/client/model/StringFormat.java | 12 +- .../client/model/StringGeneratorType.java | 2 + .../java/com/formkiq/client/model/Task.java | 32 +- .../com/formkiq/client/model/TaskStatus.java | 2 + .../formkiq/client/model/TextractQuery.java | 300 +++ .../formkiq/client/model/UpdateAttribute.java | 10 +- .../client/model/UpdateAttributeRequest.java | 16 +- .../com/formkiq/client/model/UpdateCase.java | 24 +- .../client/model/UpdateCaseRequest.java | 10 +- .../client/model/UpdateCaseResponse.java | 12 +- .../model/UpdateConfigurationRequest.java | 20 +- .../model/UpdateConfigurationResponse.java | 12 +- .../model/UpdateDocumentFulltextRequest.java | 30 +- .../model/UpdateDocumentFulltextResponse.java | 12 +- .../client/model/UpdateDocumentRequest.java | 34 +- .../client/model/UpdateEntityRequest.java | 10 +- .../UpdateMatchingDocumentTagsRequest.java | 16 +- ...pdateMatchingDocumentTagsRequestMatch.java | 10 +- ...dateMatchingDocumentTagsRequestUpdate.java | 12 +- .../UpdateMatchingDocumentTagsResponse.java | 12 +- .../com/formkiq/client/model/UpdateNigo.java | 24 +- .../client/model/UpdateNigoRequest.java | 10 +- .../client/model/UpdateNigoResponse.java | 12 +- .../formkiq/client/model/UpdateResponse.java | 12 +- .../com/formkiq/client/model/UpdateRule.java | 14 +- .../client/model/UpdateRuleRequest.java | 10 +- .../client/model/UpdateRuleResponse.java | 12 +- .../formkiq/client/model/UpdateRuleset.java | 12 +- .../client/model/UpdateRulesetRequest.java | 16 +- .../client/model/UpdateRulesetResponse.java | 12 +- .../com/formkiq/client/model/UpdateSite.java | 12 +- .../client/model/UpdateSiteRequest.java | 10 +- .../com/formkiq/client/model/UpdateTask.java | 24 +- .../client/model/UpdateTaskRequest.java | 10 +- .../client/model/UpdateTaskResponse.java | 12 +- .../client/model/UpdateWorkflowRequest.java | 14 +- .../client/model/UpdateWorkflowResponse.java | 12 +- .../java/com/formkiq/client/model/User.java | 24 +- .../formkiq/client/model/UserActivity.java | 14 +- .../client/model/UserActivityChanges.java | 10 +- .../client/model/UserActivityType.java | 2 + .../formkiq/client/model/UserAttributes.java | 42 +- .../com/formkiq/client/model/UserShare.java | 24 +- .../client/model/UserSharePermission.java | 2 + .../client/model/UserSharePermissionType.java | 2 + .../formkiq/client/model/ValidationError.java | 14 +- .../model/ValidationErrorsResponse.java | 12 +- .../com/formkiq/client/model/Watermark.java | 47 +- .../client/model/WatermarkPosition.java | 10 +- .../model/WatermarkPositionXAnchor.java | 2 + .../model/WatermarkPositionYAnchor.java | 2 + .../formkiq/client/model/WatermarkScale.java | 2 + .../com/formkiq/client/model/WebhookTag.java | 28 +- .../client/model/WorkflowDocument.java | 10 +- .../formkiq/client/model/WorkflowQueue.java | 14 +- .../formkiq/client/model/WorkflowStatus.java | 2 + .../formkiq/client/model/WorkflowStep.java | 14 +- .../client/model/WorkflowStepDecision.java | 12 +- .../model/WorkflowStepDecisionType.java | 2 + .../formkiq/client/model/WorkflowSummary.java | 20 +- .../api/AdvancedDocumentSearchApiTest.java | 7 +- .../client/api/DocumentActionsApiTest.java | 18 +- .../client/api/DocumentAttributesApiTest.java | 20 - .../DocumentDataClassificationApiTest.java | 78 + .../client/api/DocumentTagsApiTest.java | 3 +- .../formkiq/client/api/DocumentsApiTest.java | 48 + .../client/api/MalwareScanApiTest.java | 95 + .../client/api/SystemManagementApiTest.java | 119 +- .../client/api/UserActivitiesApiTest.java | 6 +- .../formkiq/client/model/ActivityTest.java | 8 + .../client/model/AddActionParametersTest.java | 19 + .../model/AddDocumentAttributeEntityTest.java | 45 +- .../model/AddDocumentGenerateRequestTest.java | 2 +- .../model/AddDocumentOcrRequestTest.java | 9 + .../client/model/AddEntityRequestTest.java | 26 - .../client/model/AddEntityTypeTest.java | 30 - .../DataClassificationAttributeTest.java | 63 + ...eTest.java => DataClassificationTest.java} | 64 +- .../client/model/DocumentActionTest.java | 17 + .../com/formkiq/client/model/EntityTest.java | 67 - ...ocumentDataClassificationResponseTest.java | 67 + .../client/model/GetLocalesResponseTest.java | 2 +- ...t.java => GetMalwareScanResponseTest.java} | 21 +- .../model/GetOpenSearchIndexResponseTest.java | 2 +- .../GetOpenSearchIndiceResponseTest.java | 58 + .../client/model/GetSitesResponseTest.java | 8 + .../{LocaleTest.java => LocaleInfoTest.java} | 12 +- ...emTypeTest.java => MalwareEngineTest.java} | 10 +- .../client/model/MalwareScanResultTest.java | 89 + .../MalwareScanStatusTest.java} | 33 +- .../model/OpaPolicyAttributeInTest.java | 57 + .../model/OpaPolicyAttributeNotInTest.java | 57 + .../client/model/OpaPolicyAttributeTest.java | 18 + .../model/OpaPolicyInputMethodTest.java | 65 + .../model/OpaPolicyInputResourceTest.java | 65 + .../client/model/OpaPolicyInputTest.java | 65 + .../client/model/OpaPolicyItemTest.java | 26 +- ...onseTest.java => OpenSearchAliasTest.java} | 18 +- .../model/OpenSearchIndexSettingTest.java | 63 + .../client/model/OpenSearchIndexTest.java | 35 + ...DocumentDataClassificationRequestTest.java | 56 + ...ocumentDataClassificationResponseTest.java | 67 + .../model/SetOpenSearchIndexRequestTest.java | 2 +- .../model/SetOpenSearchIndiceRequestTest.java | 55 + .../client/model/TextractQueryTest.java | 73 + .../formkiq/client/model/WatermarkTest.java | 8 + 563 files changed, 16387 insertions(+), 5556 deletions(-) create mode 100644 docs/AwsTextractQuery.md create mode 100644 docs/AwsTextraxctQuery.md create mode 100644 docs/DataClassification.md create mode 100644 docs/DataClassificationAttribute.md create mode 100644 docs/DocumentDataClassificationApi.md create mode 100644 docs/GetDocumentDataClassificationResponse.md create mode 100644 docs/GetMalwareScanResponse.md create mode 100644 docs/GetOpenSearchIndiceResponse.md create mode 100644 docs/LocaleInfo.md create mode 100644 docs/MalwareEngine.md create mode 100644 docs/MalwareScanApi.md create mode 100644 docs/MalwareScanResult.md create mode 100644 docs/MalwareScanStatus.md create mode 100644 docs/OpaImplicitAccess.md create mode 100644 docs/OpaPolicyAttributeIn.md create mode 100644 docs/OpaPolicyAttributeNotIn.md create mode 100644 docs/OpaPolicyInput.md create mode 100644 docs/OpaPolicyInputMethod.md create mode 100644 docs/OpaPolicyInputResource.md create mode 100644 docs/OpenSearchAlias.md create mode 100644 docs/OpenSearchIndexSetting.md create mode 100644 docs/SetDocumentDataClassificationRequest.md create mode 100644 docs/SetDocumentDataClassificationResponse.md create mode 100644 docs/SetOpenSearchIndiceRequest.md create mode 100644 docs/TextractQuery.md delete mode 100644 src/main/java/com/formkiq/client/api/AntivirusApi.java create mode 100644 src/main/java/com/formkiq/client/api/DocumentDataClassificationApi.java create mode 100644 src/main/java/com/formkiq/client/api/MalwareScanApi.java delete mode 100644 src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java create mode 100644 src/main/java/com/formkiq/client/model/DataClassification.java create mode 100644 src/main/java/com/formkiq/client/model/DataClassificationAttribute.java create mode 100644 src/main/java/com/formkiq/client/model/GetDocumentDataClassificationResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetMalwareScanResponse.java create mode 100644 src/main/java/com/formkiq/client/model/GetOpenSearchIndiceResponse.java rename src/main/java/com/formkiq/client/model/{Locale.java => LocaleInfo.java} (75%) rename src/main/java/com/formkiq/client/model/{OpaPolicyItemType.java => MalwareEngine.java} (77%) create mode 100644 src/main/java/com/formkiq/client/model/MalwareScanResult.java create mode 100644 src/main/java/com/formkiq/client/model/MalwareScanStatus.java create mode 100644 src/main/java/com/formkiq/client/model/OpaPolicyAttributeIn.java create mode 100644 src/main/java/com/formkiq/client/model/OpaPolicyAttributeNotIn.java create mode 100644 src/main/java/com/formkiq/client/model/OpaPolicyInput.java create mode 100644 src/main/java/com/formkiq/client/model/OpaPolicyInputMethod.java create mode 100644 src/main/java/com/formkiq/client/model/OpaPolicyInputResource.java rename src/main/java/com/formkiq/client/model/{SetAntivirusResponse.java => OpenSearchAlias.java} (63%) create mode 100644 src/main/java/com/formkiq/client/model/OpenSearchIndexSetting.java create mode 100644 src/main/java/com/formkiq/client/model/SetDocumentDataClassificationRequest.java rename src/main/java/com/formkiq/client/model/{GetDocumentAttributeVersionsResponse.java => SetDocumentDataClassificationResponse.java} (60%) create mode 100644 src/main/java/com/formkiq/client/model/SetOpenSearchIndiceRequest.java create mode 100644 src/main/java/com/formkiq/client/model/TextractQuery.java create mode 100644 src/test/java/com/formkiq/client/api/DocumentDataClassificationApiTest.java create mode 100644 src/test/java/com/formkiq/client/api/MalwareScanApiTest.java create mode 100644 src/test/java/com/formkiq/client/model/DataClassificationAttributeTest.java rename src/test/java/com/formkiq/client/model/{AddOpenSearchSnapshotRepositoryResponseTest.java => DataClassificationTest.java} (54%) create mode 100644 src/test/java/com/formkiq/client/model/GetDocumentDataClassificationResponseTest.java rename src/test/java/com/formkiq/client/model/{GetDocumentAttributeVersionsResponseTest.java => GetMalwareScanResponseTest.java} (76%) create mode 100644 src/test/java/com/formkiq/client/model/GetOpenSearchIndiceResponseTest.java rename src/test/java/com/formkiq/client/model/{LocaleTest.java => LocaleInfoTest.java} (89%) rename src/test/java/com/formkiq/client/model/{OpaPolicyItemTypeTest.java => MalwareEngineTest.java} (87%) create mode 100644 src/test/java/com/formkiq/client/model/MalwareScanResultTest.java rename src/test/java/com/formkiq/client/{api/AntivirusApiTest.java => model/MalwareScanStatusTest.java} (60%) create mode 100644 src/test/java/com/formkiq/client/model/OpaPolicyAttributeInTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpaPolicyAttributeNotInTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpaPolicyInputMethodTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpaPolicyInputResourceTest.java create mode 100644 src/test/java/com/formkiq/client/model/OpaPolicyInputTest.java rename src/test/java/com/formkiq/client/model/{SetAntivirusResponseTest.java => OpenSearchAliasTest.java} (81%) create mode 100644 src/test/java/com/formkiq/client/model/OpenSearchIndexSettingTest.java create mode 100644 src/test/java/com/formkiq/client/model/SetDocumentDataClassificationRequestTest.java create mode 100644 src/test/java/com/formkiq/client/model/SetDocumentDataClassificationResponseTest.java create mode 100644 src/test/java/com/formkiq/client/model/SetOpenSearchIndiceRequestTest.java create mode 100644 src/test/java/com/formkiq/client/model/TextractQueryTest.java diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index f9a5b8760..0c4f5871b 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -85,7 +85,6 @@ docs/AddMappingResponse.md docs/AddNigo.md docs/AddNigoRequest.md docs/AddNigoResponse.md -docs/AddOpenSearchSnapshotRepositoryResponse.md docs/AddQueueRequest.md docs/AddQueueResponse.md docs/AddReindexDocumentRequest.md @@ -114,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 @@ -131,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 @@ -154,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 @@ -236,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 @@ -263,12 +264,14 @@ 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 @@ -304,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 @@ -327,13 +334,19 @@ 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 @@ -361,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 @@ -379,6 +393,7 @@ docs/SetMappingRequest.md docs/SetOpaAccessPolicyItemsRequest.md docs/SetOpenSearchIndexRequest.md docs/SetOpenSearchIndexResponse.md +docs/SetOpenSearchIndiceRequest.md docs/SetResponse.md docs/SetSchemaAttributes.md docs/SetSitesSchemaRequest.md @@ -396,6 +411,7 @@ docs/SystemManagementApi.md docs/TagIndexApi.md docs/Task.md docs/TaskStatus.md +docs/TextractQuery.md docs/UpdateAttribute.md docs/UpdateAttributeRequest.md docs/UpdateCase.md @@ -465,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 @@ -484,6 +500,7 @@ 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 @@ -596,7 +613,6 @@ src/main/java/com/formkiq/client/model/AddMappingResponse.java src/main/java/com/formkiq/client/model/AddNigo.java src/main/java/com/formkiq/client/model/AddNigoRequest.java src/main/java/com/formkiq/client/model/AddNigoResponse.java -src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java src/main/java/com/formkiq/client/model/AddQueueRequest.java src/main/java/com/formkiq/client/model/AddQueueResponse.java src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java @@ -637,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 @@ -728,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 @@ -755,12 +773,14 @@ 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 @@ -795,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 @@ -817,13 +840,19 @@ 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 @@ -847,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 @@ -865,6 +895,7 @@ 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 @@ -880,6 +911,7 @@ 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 @@ -937,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 @@ -956,6 +988,7 @@ 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 @@ -1045,7 +1078,6 @@ src/test/java/com/formkiq/client/model/AddMappingTest.java src/test/java/com/formkiq/client/model/AddNigoRequestTest.java src/test/java/com/formkiq/client/model/AddNigoResponseTest.java src/test/java/com/formkiq/client/model/AddNigoTest.java -src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java src/test/java/com/formkiq/client/model/AddQueueRequestTest.java src/test/java/com/formkiq/client/model/AddQueueResponseTest.java src/test/java/com/formkiq/client/model/AddReindexDocumentRequestTest.java @@ -1086,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 @@ -1177,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 @@ -1204,12 +1238,14 @@ 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 @@ -1244,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 @@ -1264,14 +1303,20 @@ 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 @@ -1296,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 @@ -1314,6 +1360,7 @@ 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 @@ -1329,6 +1376,7 @@ 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 diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index e465da431..6328c5424 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.14.0 +7.17.0 diff --git a/README.md b/README.md index 86e658ad3..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.18.0 - - Build date: 2025-06-21T14:21:22.314584-05:00[America/Winnipeg] - - Generator version: 7.13.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 @@ -190,7 +191,6 @@ 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 @@ -228,10 +228,11 @@ 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 @@ -279,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 @@ -289,6 +291,8 @@ 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 @@ -306,6 +310,9 @@ Class | Method | HTTP request | Description *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 @@ -336,33 +343,37 @@ 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/snapshot/{repositoryName}/{snapshotName}/restore | Add an OpenSearch Restore Snapshot -*SystemManagementApi* | [**addOpenSearchSnapshot**](docs/SystemManagementApi.md#addOpenSearchSnapshot) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Add an OpenSearch Snapshot -*SystemManagementApi* | [**addOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#addOpenSearchSnapshotRepository) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Add OpenSearch Snapshot Repository +*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* | [**deleteOpenSearchSnapshot**](docs/SystemManagementApi.md#deleteOpenSearchSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Deletes site(s) OpenSearch Snapshot -*SystemManagementApi* | [**deleteOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#deleteOpenSearchSnapshotRepository) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Deletes site(s) OpenSearch Snapshot Repository +*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* | [**getOpenSearchSnapshot**](docs/SystemManagementApi.md#getOpenSearchSnapshot) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Get site(s) OpenSearch snapshot -*SystemManagementApi* | [**getOpenSearchSnapshotRepositories**](docs/SystemManagementApi.md#getOpenSearchSnapshotRepositories) | **GET** /sites/{siteId}/opensearch/snapshotRepositories | Get site(s) OpenSearch snapshot repositories -*SystemManagementApi* | [**getOpenSearchSnapshotRepository**](docs/SystemManagementApi.md#getOpenSearchSnapshotRepository) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Get site(s) OpenSearch snapshot repository -*SystemManagementApi* | [**getOpenSearchSnapshots**](docs/SystemManagementApi.md#getOpenSearchSnapshots) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots | Get site(s) OpenSearch snapshots +*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* | [**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 @@ -474,7 +485,6 @@ Class | Method | HTTP request | Description - [AddNigo](docs/AddNigo.md) - [AddNigoRequest](docs/AddNigoRequest.md) - [AddNigoResponse](docs/AddNigoResponse.md) - - [AddOpenSearchSnapshotRepositoryResponse](docs/AddOpenSearchSnapshotRepositoryResponse.md) - [AddQueueRequest](docs/AddQueueRequest.md) - [AddQueueResponse](docs/AddQueueResponse.md) - [AddReindexDocumentRequest](docs/AddReindexDocumentRequest.md) @@ -515,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) @@ -606,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) @@ -633,12 +645,14 @@ Class | Method | HTTP request | Description - [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) @@ -673,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) @@ -695,13 +712,19 @@ 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) @@ -725,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) @@ -743,6 +767,7 @@ Class | Method | HTTP request | Description - [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) @@ -758,6 +783,7 @@ 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) diff --git a/api/openapi.yaml b/api/openapi.yaml index 33ae43d75..7e30fe4aa 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -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 @@ -326,7 +326,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 Site Group and permissions @@ -445,7 +456,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 site(s) OpenSearch index @@ -456,7 +478,7 @@ paths: x-accepts: - application/json get: - description: Returns the OpenSearch index settings + description: "Returns the OpenSearch index settings \n\n(Deprecated use /sites/{siteId}/opensearch/indices)" operationId: GetOpenSearchIndex parameters: - description: Site Identifier @@ -532,15 +554,42 @@ paths: x-content-type: application/json x-accepts: - application/json - /sites/{siteId}/opensearch/snapshotRepositories: + /sites/global/opensearch/indices: get: - description: Returns the OpenSearch Snapshot Repositories - operationId: GetOpenSearchSnapshotRepositories + 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 @@ -550,7 +599,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/GetOpenSearchSnapshotRepositoryResponse" + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: @@ -561,17 +610,17 @@ paths: $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get site(s) OpenSearch snapshot repositories + 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/snapshotRepositories/{repositoryName}: - delete: - description: Deletes the OpenSearch Snapshot Repository - operationId: DeleteOpenSearchSnapshotRepository + /sites/{siteId}/opensearch/indices: + get: + description: Returns the OpenSearch indices + operationId: GetOpenSearchIndices parameters: - description: Site Identifier explode: false @@ -581,29 +630,32 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name - explode: false - in: path - name: repositoryName - required: true - schema: - type: string - style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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: Deletes site(s) OpenSearch Snapshot Repository + summary: Get site(s) OpenSearch indices tags: - System Management x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - get: - description: Returns the OpenSearch Snapshot Repository - operationId: GetOpenSearchSnapshotRepository + put: + description: Sets the OpenSearch index to use for a SiteId + operationId: SetOpenSearchIndices parameters: - description: Site Identifier explode: false @@ -613,14 +665,40 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name - explode: false - in: path - name: repositoryName + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/SetOpenSearchIndiceRequest" required: true - schema: - 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 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: @@ -637,16 +715,17 @@ paths: $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get site(s) OpenSearch snapshot repository + summary: Get site(s) OpenSearch snapshot repositories tags: - System Management x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - post: - description: Add an OpenSearch Snapshot Repository - operationId: AddOpenSearchSnapshotRepository + /sites/{siteId}/opensearch/snapshotRepository: + delete: + description: Deletes the OpenSearch Snapshot Repository + operationId: DeleteOpenSearchSnapshotRepository parameters: - description: Site Identifier explode: false @@ -656,10 +735,37 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name + 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 site(s) OpenSearch Snapshot Repository + tags: + - System Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-accepts: + - application/json + get: + description: Returns the OpenSearch Snapshot Repository + operationId: GetOpenSearchSnapshotRepository + parameters: + - description: Site Identifier explode: false in: path - name: repositoryName + name: siteId required: true schema: type: string @@ -669,7 +775,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AddOpenSearchSnapshotRepositoryResponse" + $ref: "#/components/schemas/GetOpenSearchSnapshotRepositoryResponse" description: 200 OK headers: Access-Control-Allow-Origin: @@ -680,14 +786,14 @@ paths: $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add OpenSearch Snapshot Repository + summary: Get site(s) OpenSearch snapshot repository tags: - System Management x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots: + /sites/{siteId}/opensearch/snapshots: get: description: Returns the OpenSearch Snapshots operationId: GetOpenSearchSnapshots @@ -700,14 +806,6 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name - explode: false - in: path - name: repositoryName - required: true - schema: - type: string - style: simple responses: "200": content: @@ -731,7 +829,7 @@ paths: $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}: + /sites/{siteId}/opensearch/snapshots/{snapshotName}: delete: description: Deletes the OpenSearch Snapshot operationId: DeleteOpenSearchSnapshot @@ -744,14 +842,6 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name - explode: false - in: path - name: repositoryName - required: true - schema: - type: string - style: simple - description: Snapshot Name explode: false in: path @@ -762,7 +852,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 site(s) OpenSearch Snapshot @@ -784,14 +885,6 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name - explode: false - in: path - name: repositoryName - required: true - schema: - type: string - style: simple - description: Snapshot Name explode: false in: path @@ -835,10 +928,46 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name + - 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/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 an OpenSearch Snapshot + tags: + - System Management + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" + x-accepts: + - application/json + /sites/{siteId}/opensearch/snapshots/{snapshotName}/restore: + delete: + description: Deletes the OpenSearch Restore Snapshot + operationId: DeleteOpenSearchRestoreSnapshot + parameters: + - description: Site Identifier explode: false in: path - name: repositoryName + name: siteId required: true schema: type: string @@ -856,7 +985,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/AddResponse" + $ref: "#/components/schemas/DeleteResponse" description: 200 OK headers: Access-Control-Allow-Origin: @@ -867,14 +996,13 @@ paths: $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Add an OpenSearch Snapshot + summary: Deletes site(s) OpenSearch Restore Snapshot tags: - System Management x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/fulltextLambdaApi200" x-accepts: - application/json - /sites/{siteId}/opensearch/snapshot/{repositoryName}/{snapshotName}/restore: post: description: Add an OpenSearch Restore Snapshot operationId: AddOpenSearchRestoreSnapshot @@ -887,14 +1015,6 @@ paths: schema: type: string style: simple - - description: Snapshot Repository Name - explode: false - in: path - name: repositoryName - required: true - schema: - type: string - style: simple - description: Snapshot Name explode: false in: path @@ -2488,7 +2608,18 @@ paths: style: form responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 @@ -2662,7 +2793,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 @@ -2833,14 +2975,25 @@ paths: required: true responses: "201": - $ref: "#/components/responses/201CorsAddResponse" - security: - - ApiAuthorization: [] - summary: Add attribute to document - tags: - - Document Attributes - x-amazon-apigateway-integration: - $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi201" + 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 @@ -2876,7 +3029,18 @@ paths: required: true responses: "200": - $ref: "#/components/responses/200CorsSetResponse" + 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 document's attributes @@ -2918,7 +3082,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 @@ -3015,7 +3190,18 @@ paths: required: true responses: "200": - $ref: "#/components/responses/200CorsSetResponse" + 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 document's attributes value @@ -3066,7 +3252,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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's attribute value @@ -3199,7 +3396,15 @@ paths: required: true responses: "200": - $ref: "#/components/responses/200Cors" + content: {} + 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: Update document tags @@ -3253,7 +3458,18 @@ paths: required: true responses: "201": - $ref: "#/components/responses/200Cors" + 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" security: - ApiAuthorization: [] summary: Add tag to document @@ -3310,7 +3526,15 @@ paths: required: true responses: "200": - $ref: "#/components/responses/200Cors" + content: {} + 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 tags @@ -3352,7 +3576,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 tag @@ -3458,7 +3693,15 @@ paths: required: true responses: "200": - $ref: "#/components/responses/200Cors" + content: {} + 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: Update document tag value(s) @@ -3517,7 +3760,18 @@ paths: style: form responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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's tag value @@ -4139,7 +4393,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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" "400": content: application/json: @@ -4438,6 +4703,14 @@ paths: schema: type: string style: form + - description: IndexName to query + explode: true + in: query + name: indexName + required: false + schema: + type: string + style: form - description: Limit Results explode: true in: query @@ -4499,6 +4772,14 @@ paths: schema: type: string style: form + - description: IndexName to query + explode: true + in: query + name: indexName + required: false + schema: + type: string + style: form requestBody: content: application/json: @@ -4608,11 +4889,13 @@ paths: | ActionType | Parameter | Description | Example | | -------- | ------- | ------- | ------- | - | OCR | ocrParseTypes | Ocr Parsing strategy to use | TEXT, FORMS, TABLES | + | 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 | @@ -4760,7 +5043,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 ocr @@ -5125,7 +5419,18 @@ paths: style: form responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 version @@ -5135,11 +5440,11 @@ paths: $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 + /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 @@ -5157,37 +5462,101 @@ paths: schema: type: string style: simple - - description: Attribute Key + 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: Perform document checkout + tags: + - Documents + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + /documents/{documentId}/legalHold: + delete: + description: | + Removes a legal hold checkout for the document; available as an Add-On Module + operationId: DeleteDocumentCheckoutLegalHold + 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: attributeKey + name: documentId required: true schema: type: string style: simple - - description: Limit Results + 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 legal hold checkout + tags: + - Documents + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" + x-accepts: + - application/json + 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 in: query - name: limit + name: siteId 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 + style: simple responses: "200": content: application/json: schema: - $ref: "#/components/schemas/GetDocumentAttributeVersionsResponse" + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: @@ -5198,9 +5567,9 @@ paths: $ref: "#/components/headers/AccessControlAllowHeaders" security: - ApiAuthorization: [] - summary: Get document attribute's versions + summary: Perform document legal hold checkout tags: - - Document Attributes + - Documents x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/lambdaApi200" x-accepts: @@ -6530,8 +6899,9 @@ paths: - application/json /documents/{documentId}/antivirus: put: - description: Perform an Anti-Malware / Antivirus scan on a document; available - as an Add-On Module + 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 @@ -6569,7 +6939,7 @@ paths: content: application/json: schema: - $ref: "#/components/schemas/SetAntivirusResponse" + $ref: "#/components/schemas/SetResponse" description: 200 OK headers: Access-Control-Allow-Origin: @@ -6582,7 +6952,132 @@ paths: - ApiAuthorization: [] summary: Antivirus document scan tags: - - Antivirus + - MalwareScan + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" + x-content-type: application/json + x-accepts: + - application/json + /documents/{documentId}/malwareScan: + get: + description: Gets a Malware Scan results; available as an Add-On Module + operationId: GetMalwareScanResults + 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: 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/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" + Access-Control-Allow-Methods: + $ref: "#/components/headers/AccessControlAllowMethods" + Access-Control-Allow-Headers: + $ref: "#/components/headers/AccessControlAllowHeaders" + security: + - ApiAuthorization: [] + summary: Get Malware Scan results + tags: + - MalwareScan + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" + x-accepts: + - application/json + 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 + 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/SetMalwareScanRequest" + required: false + 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: MalwareScan document scan + tags: + - MalwareScan x-amazon-apigateway-integration: $ref: "#/components/x-amazon-apigateway-integrations/antivirusLambdaApi200" x-content-type: application/json @@ -6874,7 +7369,15 @@ paths: style: form responses: "200": - $ref: "#/components/responses/200Cors" + content: {} + 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 full-text tag @@ -6932,7 +7435,15 @@ paths: style: form responses: "200": - $ref: "#/components/responses/200Cors" + content: {} + 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 full-text tag/value @@ -7053,6 +7564,119 @@ paths: x-content-type: application/json x-accepts: - application/json + /documents/{documentId}/dataClassification: + get: + description: Retrieve an document's data classification; available as an Add-On + Module + operationId: GetDocumentDataClassification + 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: 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/GetDocumentDataClassificationResponse" + 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's data classification + tags: + - Document Data Classification + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" + x-accepts: + - application/json + put: + description: Generate Data Classfication attributes within a document; available + as an Add-On Module + operationId: SetDocumentDataClassification + 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/SetDocumentDataClassificationRequest" + required: false + responses: + "200": + content: + application/json: + schema: + $ref: "#/components/schemas/SetDocumentDataClassificationResponse" + 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 data classification + tags: + - Document Data Classification + x-amazon-apigateway-integration: + $ref: "#/components/x-amazon-apigateway-integrations/dataClassificationLambdaApi200" + x-content-type: application/json + x-accepts: + - application/json /userActivities: get: description: Retrieve a user's activities @@ -7188,39 +7812,68 @@ paths: schema: type: string style: form - - description: Document Identifier + - 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: documentId + name: entityId required: false schema: type: string style: form - - description: EntityType Identifier + - description: Start of date-time range (UTC) explode: true in: query - name: entityTypeId + name: start required: false schema: + format: date-time type: string style: form - - description: Namespace Identifier + - description: End of date-time range (UTC) explode: true in: query - name: namespace + name: end required: false schema: - enum: - - PRESET - - CUSTOM + format: date-time type: string style: form - - description: Entity Identifier + - description: Sort order (default DESC) explode: true in: query - name: entityId + name: sort required: false schema: + enum: + - ASC + - DESC type: string style: form - description: Next page of results token @@ -7543,7 +8196,18 @@ paths: style: form responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 webhook @@ -7624,7 +8288,18 @@ paths: required: true responses: "200": - $ref: "#/components/responses/200CorsUpdateResponse" + 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" security: - ApiAuthorization: [] summary: Update webhook @@ -7715,7 +8390,15 @@ paths: required: true responses: "201": - $ref: "#/components/responses/200Cors" + content: {} + 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 webhook tag @@ -10633,7 +11316,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 @@ -10998,7 +11692,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 @@ -11232,7 +11937,18 @@ paths: style: simple responses: "200": - $ref: "#/components/responses/200CorsDeleteResponse" + 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 @@ -11550,6 +12266,24 @@ 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 @@ -11733,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 @@ -12169,46 +12935,6 @@ components: 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 - items: - $ref: "#/components/schemas/DocumentAttribute" - type: array - type: object GetDocumentVersionsResponse: example: next: next @@ -12418,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: @@ -12444,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: @@ -12491,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: @@ -13680,6 +14412,17 @@ 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 @@ -13696,6 +14439,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height - queueId: queueId @@ -13704,6 +14448,17 @@ 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 @@ -13720,6 +14475,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height height: height @@ -13904,6 +14660,17 @@ 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 @@ -13920,6 +14687,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height - queueId: queueId @@ -13928,6 +14696,17 @@ 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 @@ -13944,6 +14723,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height height: height @@ -14129,6 +14909,17 @@ 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 @@ -14145,6 +14936,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height - queueId: queueId @@ -14153,6 +14945,17 @@ 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 @@ -14169,6 +14972,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height height: height @@ -15221,14 +16025,12 @@ components: 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 @@ -15285,39 +16087,143 @@ 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 - insertedDate: insertedDate changes: key: newValue: "{}" oldValue: "{}" sourceIpAddress: sourceIpAddress - documentId: "" - entityTypeId: entityTypeId entityId: entityId source: source + attributeKey: "" type: type message: message userId: userId + insertedDate: insertedDate + documentId: "" + entityTypeId: entityTypeId status: COMPLETE - resource: resource - insertedDate: insertedDate changes: key: newValue: "{}" oldValue: "{}" sourceIpAddress: sourceIpAddress - documentId: "" - entityTypeId: entityTypeId entityId: entityId source: source + attributeKey: "" type: type message: message userId: userId + insertedDate: insertedDate + documentId: "" + entityTypeId: entityTypeId status: COMPLETE properties: next: @@ -15502,19 +16408,20 @@ components: Activity: example: resource: resource - insertedDate: insertedDate changes: key: newValue: "{}" oldValue: "{}" sourceIpAddress: sourceIpAddress - documentId: "" - entityTypeId: entityTypeId entityId: entityId source: source + attributeKey: "" type: type message: message userId: userId + insertedDate: insertedDate + documentId: "" + entityTypeId: entityTypeId status: COMPLETE properties: resource: @@ -15542,6 +16449,8 @@ components: type: string documentId: description: Document Identifier + attributeKey: + description: Document Attribute Key entityTypeId: description: Entity Type Identifier type: string @@ -18156,7 +19065,7 @@ components: locale: locale properties: locale: - $ref: "#/components/schemas/Locale" + $ref: "#/components/schemas/LocaleInfo" insertDocuments: description: List of documents to insert items: @@ -18609,6 +19518,8 @@ components: - CONTENT_KEY_VALUE - METADATA - MANUAL + - DATA_CLASSIFICATION + - MALWARE_SCAN type: string GetAttributeAllowedValuesResponse: example: @@ -18633,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 @@ -18654,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 @@ -18667,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 @@ -18692,12 +19606,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 @@ -18717,15 +19632,19 @@ components: 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 @@ -18742,8 +19661,8 @@ components: type: object WatermarkPosition: example: - yOffset: 1.4658129805029452 - xOffset: 6.027456183070403 + yOffset: 5.962133916683182 + xOffset: 1.4658129805029452 yAnchor: TOP xAnchor: LEFT properties: @@ -18803,12 +19722,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 type: STANDARD @@ -18822,12 +19742,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 type: STANDARD @@ -18842,12 +19763,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 @@ -18863,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 @@ -19095,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: @@ -19140,6 +20067,8 @@ components: - RUNNING - SKIPPED - FAILED_RETRY + - MAX_RETRIES_REACHED + - WAITING_FOR_RETRY type: string DocumentActionType: description: Type of the Document Action @@ -19156,21 +20085,25 @@ components: - 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: @@ -19178,6 +20111,12 @@ components: $ref: "#/components/schemas/DocumentActionStatus" type: $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 @@ -19204,7 +20143,7 @@ components: type: string parameters: additionalProperties: - type: string + type: object description: Action parameters type: object metadata: @@ -19654,14 +20593,66 @@ components: 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: @@ -19671,6 +20662,17 @@ 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 @@ -19687,6 +20689,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height - queueId: queueId @@ -19695,6 +20698,17 @@ 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 @@ -19711,6 +20725,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height properties: @@ -19728,6 +20743,17 @@ 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 @@ -19744,6 +20770,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height properties: @@ -19768,11 +20795,43 @@ 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 @@ -19789,11 +20848,17 @@ components: 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" @@ -19806,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 @@ -19869,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 @@ -20109,7 +21182,7 @@ components: description: Item Key of resource type: string type: object - Locale: + LocaleInfo: example: locale: locale properties: @@ -20138,7 +21211,7 @@ components: locales: description: List of Locale items: - $ref: "#/components/schemas/Locale" + $ref: "#/components/schemas/LocaleInfo" type: array type: object GetLocaleResourceItemsResponse: @@ -20292,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: @@ -20325,6 +21406,10 @@ components: $ref: "#/components/schemas/OpaPolicyAttributeLte" neq: $ref: "#/components/schemas/OpaPolicyAttributeNeq" + in: + $ref: "#/components/schemas/OpaPolicyAttributeIn" + notIn: + $ref: "#/components/schemas/OpaPolicyAttributeNotIn" type: object OpaPolicyAttributeEq: description: Attribute EQ criteria @@ -20392,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 @@ -20400,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: @@ -20431,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: @@ -20448,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 @@ -20466,10 +21603,79 @@ 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" 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: example: @@ -20477,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: @@ -20498,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: @@ -20515,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: @@ -20541,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: @@ -20558,7 +21831,6 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy properties: policyItems: @@ -20566,6 +21838,8 @@ components: items: $ref: "#/components/schemas/OpaPolicyItem" type: array + required: + - policyItems type: object GetOpaAccessPolicyResponse: example: @@ -20581,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: @@ -20602,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: @@ -20619,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: @@ -20645,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: @@ -20662,7 +22003,6 @@ components: gt: numberValue: 6.027456183070403 key: key - type: ALLOW policy: policy properties: policyItems: @@ -21545,16 +22885,13 @@ components: bucket: description: Name of the S3 bucket type: string - required: - - bucket - - repository type: object - AddOpenSearchSnapshotRepositoryResponse: + SetOpenSearchIndiceRequest: example: - message: message + indexName: indexName properties: - message: - description: Result message + indexName: + description: The name of the index to set for SiteId type: string type: object SetOpenSearchIndexRequest: @@ -21564,7 +22901,7 @@ components: numberOfShards: numberOfShards properties: indexSettings: - $ref: "#/components/schemas/OpenSearchIndex" + $ref: "#/components/schemas/OpenSearchIndexSetting" type: object SetOpenSearchIndexResponse: example: @@ -21638,6 +22975,63 @@ components: $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: example: indexSettings: @@ -21645,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 @@ -21659,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: @@ -21703,6 +23108,10 @@ components: username: description: Username of request caller type: string + roles: + items: + type: string + type: array sites: description: List of sites items: @@ -21828,6 +23237,17 @@ 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 @@ -21844,6 +23264,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height decisions: @@ -21864,6 +23285,17 @@ 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 @@ -21880,6 +23312,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height decisions: @@ -21925,6 +23358,17 @@ 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 @@ -21941,6 +23385,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height decisions: @@ -21961,6 +23406,17 @@ 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 @@ -21977,6 +23433,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height decisions: @@ -22019,6 +23476,17 @@ 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 @@ -22035,6 +23503,7 @@ components: notificationText: notificationText eventBusName: eventBusName width: width + llmPromptEntityName: llmPromptEntityName notificationHtml: notificationHtml height: height decisions: @@ -23677,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.sbt b/build.sbt index dbe962e44..7be2c71fa 100644 --- a/build.sbt +++ b/build.sbt @@ -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 index 34c0978fa..8f811ddbf 100644 --- a/docs/Activity.md +++ b/docs/Activity.md @@ -16,6 +16,7 @@ |**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/AddActionParameters.md b/docs/AddActionParameters.md index 93f01ea19..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] | 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/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/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 620603bc3..ff67acb70 100644 --- a/docs/DocumentActionType.md +++ b/docs/DocumentActionType.md @@ -29,5 +29,9 @@ * `RESIZE` (value: `"RESIZE"`) +* `DATA_CLASSIFICATION` (value: `"DATA_CLASSIFICATION"`) + +* `MALWARE_SCAN` (value: `"MALWARE_SCAN"`) + diff --git a/docs/DocumentActionsApi.md b/docs/DocumentActionsApi.md index dca35fed3..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. | | | 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). | | +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/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/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/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/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/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 index bd8fe27fe..db49b46a3 100644 --- a/docs/OpenSearchS3Repository.md +++ b/docs/OpenSearchS3Repository.md @@ -7,8 +7,8 @@ | Name | Type | Description | Notes | |------------ | ------------- | ------------- | -------------| -|**repository** | **String** | Name of the Repository | | -|**bucket** | **String** | Name of the S3 bucket | | +|**repository** | **String** | Name of the Repository | [optional] | +|**bucket** | **String** | Name of the S3 bucket | [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/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 1b45c7a57..b9623c3ee 100644 --- a/docs/SystemManagementApi.md +++ b/docs/SystemManagementApi.md @@ -7,33 +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/snapshot/{repositoryName}/{snapshotName}/restore | Add an OpenSearch Restore Snapshot | -| [**addOpenSearchSnapshot**](SystemManagementApi.md#addOpenSearchSnapshot) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Add an OpenSearch Snapshot | -| [**addOpenSearchSnapshotRepository**](SystemManagementApi.md#addOpenSearchSnapshotRepository) | **POST** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Add OpenSearch Snapshot Repository | +| [**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 | -| [**deleteOpenSearchSnapshot**](SystemManagementApi.md#deleteOpenSearchSnapshot) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Deletes site(s) OpenSearch Snapshot | -| [**deleteOpenSearchSnapshotRepository**](SystemManagementApi.md#deleteOpenSearchSnapshotRepository) | **DELETE** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Deletes site(s) OpenSearch Snapshot Repository | +| [**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 | -| [**getOpenSearchSnapshot**](SystemManagementApi.md#getOpenSearchSnapshot) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName} | Get site(s) OpenSearch snapshot | -| [**getOpenSearchSnapshotRepositories**](SystemManagementApi.md#getOpenSearchSnapshotRepositories) | **GET** /sites/{siteId}/opensearch/snapshotRepositories | Get site(s) OpenSearch snapshot repositories | -| [**getOpenSearchSnapshotRepository**](SystemManagementApi.md#getOpenSearchSnapshotRepository) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName} | Get site(s) OpenSearch snapshot repository | -| [**getOpenSearchSnapshots**](SystemManagementApi.md#getOpenSearchSnapshots) | **GET** /sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots | Get site(s) OpenSearch snapshots | +| [**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 | +| [**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 | @@ -244,7 +248,7 @@ No authorization required # **addOpenSearchRestoreSnapshot** -> AddResponse addOpenSearchRestoreSnapshot(siteId, repositoryName, snapshotName) +> AddResponse addOpenSearchRestoreSnapshot(siteId, snapshotName) Add an OpenSearch Restore Snapshot @@ -269,10 +273,9 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - AddResponse result = apiInstance.addOpenSearchRestoreSnapshot(siteId, repositoryName, snapshotName); + AddResponse result = apiInstance.addOpenSearchRestoreSnapshot(siteId, snapshotName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#addOpenSearchRestoreSnapshot"); @@ -290,7 +293,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | | **snapshotName** | **String**| Snapshot Name | | ### Return type @@ -313,7 +315,7 @@ No authorization required # **addOpenSearchSnapshot** -> AddResponse addOpenSearchSnapshot(siteId, repositoryName, snapshotName) +> AddResponse addOpenSearchSnapshot(siteId, snapshotName) Add an OpenSearch Snapshot @@ -338,10 +340,9 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - AddResponse result = apiInstance.addOpenSearchSnapshot(siteId, repositoryName, snapshotName); + AddResponse result = apiInstance.addOpenSearchSnapshot(siteId, snapshotName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#addOpenSearchSnapshot"); @@ -359,7 +360,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | | **snapshotName** | **String**| Snapshot Name | | ### Return type @@ -380,13 +380,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **addOpenSearchSnapshotRepository** -> AddOpenSearchSnapshotRepositoryResponse addOpenSearchSnapshotRepository(siteId, repositoryName) + +# **addSite** +> AddResponse addSite(addSiteRequest) -Add OpenSearch Snapshot Repository +Add Site -Add an OpenSearch Snapshot Repository +Add Site ### Example ```java @@ -406,13 +406,12 @@ 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 repositoryName = "repositoryName_example"; // String | Snapshot Repository Name + AddSiteRequest addSiteRequest = new AddSiteRequest(); // AddSiteRequest | try { - AddOpenSearchSnapshotRepositoryResponse result = apiInstance.addOpenSearchSnapshotRepository(siteId, repositoryName); + AddResponse result = apiInstance.addSite(addSiteRequest); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#addOpenSearchSnapshotRepository"); + 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()); @@ -426,12 +425,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | +| **addSiteRequest** | [**AddSiteRequest**](AddSiteRequest.md)| | | ### Return type -[**AddOpenSearchSnapshotRepositoryResponse**](AddOpenSearchSnapshotRepositoryResponse.md) +[**AddResponse**](AddResponse.md) ### Authorization @@ -439,21 +437,22 @@ No authorization required ### HTTP request headers - - **Content-Type**: Not defined + - **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 -
| +| **201** | 201 CREATED | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| +| **400** | 400 OK | - | - -# **addSite** -> AddResponse addSite(addSiteRequest) + +# **deleteApiKey** +> DeleteApiKeyResponse deleteApiKey(siteId, apiKey) -Add Site +Delete API Key -Add Site +Adds a new API Key ### Example ```java @@ -473,12 +472,13 @@ public class Example { defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE") SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); - AddSiteRequest addSiteRequest = new AddSiteRequest(); // AddSiteRequest | + String siteId = "siteId_example"; // String | Site Identifier + String apiKey = "apiKey_example"; // String | API Key try { - AddResponse result = apiInstance.addSite(addSiteRequest); + DeleteApiKeyResponse result = apiInstance.deleteApiKey(siteId, apiKey); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#addSite"); + 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()); @@ -492,11 +492,12 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| -| **addSiteRequest** | [**AddSiteRequest**](AddSiteRequest.md)| | | +| **siteId** | **String**| Site Identifier | | +| **apiKey** | **String**| API Key | | ### Return type -[**AddResponse**](AddResponse.md) +[**DeleteApiKeyResponse**](DeleteApiKeyResponse.md) ### Authorization @@ -504,22 +505,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) + +# **deleteLocale** +> DeleteResponse deleteLocale(siteId, locale) -Delete API Key +Delete Locale -Adds a new API Key +Delete Locale ### Example ```java @@ -540,12 +540,12 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String apiKey = "apiKey_example"; // String | API Key + String locale = "locale_example"; // String | Site Locale (ISO 639 / ISO 3166) try { - DeleteApiKeyResponse result = apiInstance.deleteApiKey(siteId, apiKey); + DeleteResponse result = apiInstance.deleteLocale(siteId, locale); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteApiKey"); + 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()); @@ -560,11 +560,11 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **apiKey** | **String**| API Key | | +| **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | ### Return type -[**DeleteApiKeyResponse**](DeleteApiKeyResponse.md) +[**DeleteResponse**](DeleteResponse.md) ### Authorization @@ -580,13 +580,13 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteLocale** -> DeleteResponse deleteLocale(siteId, locale) + +# **deleteLocaleResourceItem** +> DeleteResponse deleteLocaleResourceItem(siteId, locale, itemKey) -Delete Locale +Delete Local Resource Item -Delete Locale +Delete Local Resource Item ### Example ```java @@ -608,11 +608,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) try { - DeleteResponse result = apiInstance.deleteLocale(siteId, locale); + DeleteResponse result = apiInstance.deleteLocaleResourceItem(siteId, locale, itemKey); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteLocale"); + 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()); @@ -628,6 +629,7 @@ public class Example { |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | | **locale** | **String**| Site Locale (ISO 639 / ISO 3166) | | +| **itemKey** | **String**| Item Key (MUST be URL‑encoded) | | ### Return type @@ -647,13 +649,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) + +# **deleteOpenSearchIndex** +> DeleteResponse deleteOpenSearchIndex(siteId) -Delete Local Resource Item +Deletes site(s) OpenSearch index -Delete Local Resource Item +Deletes the OpenSearch index ### Example ```java @@ -674,13 +676,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) - String itemKey = "itemKey_example"; // String | Item Key (MUST be URL‑encoded) try { - DeleteResponse result = apiInstance.deleteLocaleResourceItem(siteId, locale, itemKey); + DeleteResponse result = apiInstance.deleteOpenSearchIndex(siteId); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteLocaleResourceItem"); + 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()); @@ -695,8 +695,6 @@ 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) | | ### Return type @@ -716,13 +714,78 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| - -# **deleteOpenSearchIndex** -> DeleteResponse deleteOpenSearchIndex(siteId) + +# **deleteOpenSearchIndexByName** +> DeleteResponse deleteOpenSearchIndexByName(indexName) -Deletes site(s) OpenSearch index +Deletes OpenSearch index by name -Deletes the OpenSearch index +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 @@ -743,11 +806,12 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier + String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - DeleteResponse result = apiInstance.deleteOpenSearchIndex(siteId); + DeleteResponse result = apiInstance.deleteOpenSearchRestoreSnapshot(siteId, snapshotName); System.out.println(result); } catch (ApiException e) { - System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchIndex"); + 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()); @@ -762,6 +826,7 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | +| **snapshotName** | **String**| Snapshot Name | | ### Return type @@ -783,7 +848,7 @@ No authorization required # **deleteOpenSearchSnapshot** -> DeleteResponse deleteOpenSearchSnapshot(siteId, repositoryName, snapshotName) +> DeleteResponse deleteOpenSearchSnapshot(siteId, snapshotName) Deletes site(s) OpenSearch Snapshot @@ -808,10 +873,9 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - DeleteResponse result = apiInstance.deleteOpenSearchSnapshot(siteId, repositoryName, snapshotName); + DeleteResponse result = apiInstance.deleteOpenSearchSnapshot(siteId, snapshotName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchSnapshot"); @@ -829,7 +893,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | | **snapshotName** | **String**| Snapshot Name | | ### Return type @@ -852,7 +915,7 @@ No authorization required # **deleteOpenSearchSnapshotRepository** -> DeleteResponse deleteOpenSearchSnapshotRepository(siteId, repositoryName) +> DeleteResponse deleteOpenSearchSnapshotRepository(siteId) Deletes site(s) OpenSearch Snapshot Repository @@ -877,9 +940,8 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name try { - DeleteResponse result = apiInstance.deleteOpenSearchSnapshotRepository(siteId, repositoryName); + DeleteResponse result = apiInstance.deleteOpenSearchSnapshotRepository(siteId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#deleteOpenSearchSnapshotRepository"); @@ -897,7 +959,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | ### Return type @@ -984,6 +1045,67 @@ No authorization required |-------------|-------------|------------------| | **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 +// 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); + try { + GetOpenSearchIndiceResponse result = apiInstance.getAllOpenSearchIndices(); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GetOpenSearchIndiceResponse**](GetOpenSearchIndiceResponse.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 -
| + # **getApiKeys** > GetApiKeysResponse getApiKeys(siteId, next, limit) @@ -1333,7 +1455,7 @@ No authorization required Get site(s) OpenSearch index settings -Returns the OpenSearch index settings +Returns the OpenSearch index settings (Deprecated use /sites/{siteId}/opensearch/indices) ### Example ```java @@ -1392,9 +1514,74 @@ No authorization required |-------------|-------------|------------------| | **200** | 200 OK | * Access-Control-Allow-Origin -
* Access-Control-Allow-Methods -
* Access-Control-Allow-Headers -
| + +# **getOpenSearchIndices** +> GetOpenSearchIndiceResponse getOpenSearchIndices(siteId) + +Get site(s) OpenSearch indices + +Returns the OpenSearch indices + +### 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 { + GetOpenSearchIndiceResponse result = apiInstance.getOpenSearchIndices(siteId); + System.out.println(result); + } catch (ApiException e) { + 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()); + e.printStackTrace(); + } + } +} +``` + +### Parameters + +| Name | Type | Description | Notes | +|------------- | ------------- | ------------- | -------------| +| **siteId** | **String**| Site Identifier | | + +### Return type + +[**GetOpenSearchIndiceResponse**](GetOpenSearchIndiceResponse.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 -
| + # **getOpenSearchSnapshot** -> GetOpenSearchSnapshotResponse getOpenSearchSnapshot(siteId, repositoryName, snapshotName) +> GetOpenSearchSnapshotResponse getOpenSearchSnapshot(siteId, snapshotName) Get site(s) OpenSearch snapshot @@ -1419,10 +1606,9 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name String snapshotName = "snapshotName_example"; // String | Snapshot Name try { - GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshot(siteId, repositoryName, snapshotName); + GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshot(siteId, snapshotName); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshot"); @@ -1440,7 +1626,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | | **snapshotName** | **String**| Snapshot Name | | ### Return type @@ -1463,7 +1648,7 @@ No authorization required # **getOpenSearchSnapshotRepositories** -> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories(siteId) +> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories() Get site(s) OpenSearch snapshot repositories @@ -1487,9 +1672,8 @@ 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 try { - GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepositories(siteId); + GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepositories(); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshotRepositories"); @@ -1503,10 +1687,7 @@ public class Example { ``` ### Parameters - -| Name | Type | Description | Notes | -|------------- | ------------- | ------------- | -------------| -| **siteId** | **String**| Site Identifier | | +This endpoint does not need any parameter. ### Return type @@ -1528,7 +1709,7 @@ No authorization required # **getOpenSearchSnapshotRepository** -> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository(siteId, repositoryName) +> GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository(siteId) Get site(s) OpenSearch snapshot repository @@ -1553,9 +1734,8 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name try { - GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepository(siteId, repositoryName); + GetOpenSearchSnapshotRepositoryResponse result = apiInstance.getOpenSearchSnapshotRepository(siteId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshotRepository"); @@ -1573,7 +1753,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | ### Return type @@ -1595,7 +1774,7 @@ No authorization required # **getOpenSearchSnapshots** -> GetOpenSearchSnapshotResponse getOpenSearchSnapshots(siteId, repositoryName) +> GetOpenSearchSnapshotResponse getOpenSearchSnapshots(siteId) Get site(s) OpenSearch snapshots @@ -1620,9 +1799,8 @@ public class Example { SystemManagementApi apiInstance = new SystemManagementApi(defaultClient); String siteId = "siteId_example"; // String | Site Identifier - String repositoryName = "repositoryName_example"; // String | Snapshot Repository Name try { - GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshots(siteId, repositoryName); + GetOpenSearchSnapshotResponse result = apiInstance.getOpenSearchSnapshots(siteId); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling SystemManagementApi#getOpenSearchSnapshots"); @@ -1640,7 +1818,6 @@ public class Example { | Name | Type | Description | Notes | |------------- | ------------- | ------------- | -------------| | **siteId** | **String**| Site Identifier | | -| **repositoryName** | **String**| Snapshot Repository Name | | ### Return type @@ -2056,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/UserActivitiesApi.md b/docs/UserActivitiesApi.md index 66b51dd41..aa0362486 100644 --- a/docs/UserActivitiesApi.md +++ b/docs/UserActivitiesApi.md @@ -82,7 +82,7 @@ No authorization required # **getResourceActivities** -> GetActivitesResponse getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, next, limit, userId) +> GetActivitesResponse getResourceActivities(siteId, documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId) Get resource activities @@ -111,11 +111,14 @@ public class Example { 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, next, limit, userId); + 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"); @@ -137,6 +140,9 @@ public class Example { | **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] | 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/AdvancedDocumentSearchApi.java b/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java index 46d0eca62..aec803cee 100644 --- a/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java +++ b/src/main/java/com/formkiq/client/api/AdvancedDocumentSearchApi.java @@ -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 b128e51e5..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.18.0 Contact: support@formkiq.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/DocumentActionsApi.java b/src/main/java/com/formkiq/client/api/DocumentActionsApi.java index d516473ff..60fd97e24 100644 --- a/src/main/java/com/formkiq/client/api/DocumentActionsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentActionsApi.java @@ -187,24 +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. | | | 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). | | + * 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) @@ -249,24 +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. | | | 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). | | + * 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) @@ -312,24 +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. | | | 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). | | + * 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 159ed0fdc..c9b10e477 100644 --- a/src/main/java/com/formkiq/client/api/DocumentAttributesApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentAttributesApi.java @@ -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/DocumentTagsApi.java b/src/main/java/com/formkiq/client/api/DocumentTagsApi.java index 03852275c..a505de2ca 100644 --- a/src/main/java/com/formkiq/client/api/DocumentTagsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentTagsApi.java @@ -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/DocumentsApi.java b/src/main/java/com/formkiq/client/api/DocumentsApi.java index 7f1bda4e2..a0dd7b0e5 100644 --- a/src/main/java/com/formkiq/client/api/DocumentsApi.java +++ b/src/main/java/com/formkiq/client/api/DocumentsApi.java @@ -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/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/SystemManagementApi.java b/src/main/java/com/formkiq/client/api/SystemManagementApi.java index ad68521fa..f85f216a3 100644 --- a/src/main/java/com/formkiq/client/api/SystemManagementApi.java +++ b/src/main/java/com/formkiq/client/api/SystemManagementApi.java @@ -39,7 +39,6 @@ import com.formkiq.client.model.AddLocaleRequest; import com.formkiq.client.model.AddLocaleResourceItemRequest; import com.formkiq.client.model.AddLocaleResourceItemResponse; -import com.formkiq.client.model.AddOpenSearchSnapshotRepositoryResponse; import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.AddSiteRequest; import com.formkiq.client.model.DeleteApiKeyResponse; @@ -50,6 +49,7 @@ 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; @@ -60,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; @@ -719,7 +720,6 @@ public okhttp3.Call addLocaleResourceItemAsync(@javax.annotation.Nonnull String * Build call for addOpenSearchRestoreSnapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -743,7 +743,6 @@ public okhttp3.Call addLocaleResourceItemAsync(@javax.annotation.Nonnull String * */ public okhttp3.Call addOpenSearchRestoreSnapshotCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -762,13 +761,9 @@ public okhttp3.Call addOpenSearchRestoreSnapshotCall(@javax.annotation.Nonnull S Object localVarPostBody = null; // create path and map variables - String localVarPath = - "/sites/{siteId}/opensearch/snapshot/{repositoryName}/{snapshotName}/restore" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())) - .replace("{" + "snapshotName" + "}", - localVarApiClient.escapeString(snapshotName.toString())); + 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(); @@ -797,28 +792,21 @@ public okhttp3.Call addOpenSearchRestoreSnapshotCall(@javax.annotation.Nonnull S @SuppressWarnings("rawtypes") private okhttp3.Call addOpenSearchRestoreSnapshotValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) - throws ApiException { + @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 addOpenSearchRestoreSnapshot(Async)"); } - // verify the required parameter 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' when calling addOpenSearchRestoreSnapshot(Async)"); - } - // 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, repositoryName, snapshotName, _callback); + return addOpenSearchRestoreSnapshotCall(siteId, snapshotName, _callback); } @@ -826,7 +814,6 @@ private okhttp3.Call addOpenSearchRestoreSnapshotValidateBeforeCall( * Add an OpenSearch Restore Snapshot Add an OpenSearch Restore Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @return AddResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the @@ -850,10 +837,9 @@ private okhttp3.Call addOpenSearchRestoreSnapshotValidateBeforeCall( * */ public AddResponse addOpenSearchRestoreSnapshot(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName) throws ApiException { ApiResponse localVarResp = - addOpenSearchRestoreSnapshotWithHttpInfo(siteId, repositoryName, snapshotName); + addOpenSearchRestoreSnapshotWithHttpInfo(siteId, snapshotName); return localVarResp.getData(); } @@ -861,7 +847,6 @@ public AddResponse addOpenSearchRestoreSnapshot(@javax.annotation.Nonnull String * Add an OpenSearch Restore Snapshot Add an OpenSearch Restore Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (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 @@ -885,10 +870,10 @@ public AddResponse addOpenSearchRestoreSnapshot(@javax.annotation.Nonnull String * */ public ApiResponse addOpenSearchRestoreSnapshotWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName) throws ApiException { + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { okhttp3.Call localVarCall = - addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, null); + addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -897,7 +882,6 @@ public ApiResponse addOpenSearchRestoreSnapshotWithHttpInfo( * Add an OpenSearch Restore Snapshot (asynchronously) Add an OpenSearch Restore Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -921,12 +905,11 @@ public ApiResponse addOpenSearchRestoreSnapshotWithHttpInfo( * */ public okhttp3.Call addOpenSearchRestoreSnapshotAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, - repositoryName, snapshotName, _callback); + okhttp3.Call localVarCall = + addOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -936,7 +919,6 @@ public okhttp3.Call addOpenSearchRestoreSnapshotAsync(@javax.annotation.Nonnull * Build call for addOpenSearchSnapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -960,7 +942,6 @@ public okhttp3.Call addOpenSearchRestoreSnapshotAsync(@javax.annotation.Nonnull * */ public okhttp3.Call addOpenSearchSnapshotCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -979,13 +960,9 @@ public okhttp3.Call addOpenSearchSnapshotCall(@javax.annotation.Nonnull String s Object localVarPostBody = null; // create path and map variables - String localVarPath = - "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())) - .replace("{" + "snapshotName" + "}", - localVarApiClient.escapeString(snapshotName.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(); @@ -1014,28 +991,21 @@ public okhttp3.Call addOpenSearchSnapshotCall(@javax.annotation.Nonnull String s @SuppressWarnings("rawtypes") private okhttp3.Call addOpenSearchSnapshotValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) - throws ApiException { + @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 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' 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, repositoryName, snapshotName, _callback); + return addOpenSearchSnapshotCall(siteId, snapshotName, _callback); } @@ -1043,7 +1013,6 @@ private okhttp3.Call addOpenSearchSnapshotValidateBeforeCall( * Add an OpenSearch Snapshot Add an OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @return AddResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the @@ -1067,10 +1036,8 @@ private okhttp3.Call addOpenSearchSnapshotValidateBeforeCall( * */ public AddResponse addOpenSearchSnapshot(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName) throws ApiException { - ApiResponse localVarResp = - addOpenSearchSnapshotWithHttpInfo(siteId, repositoryName, snapshotName); + ApiResponse localVarResp = addOpenSearchSnapshotWithHttpInfo(siteId, snapshotName); return localVarResp.getData(); } @@ -1078,7 +1045,6 @@ public AddResponse addOpenSearchSnapshot(@javax.annotation.Nonnull String siteId * Add an OpenSearch Snapshot Add an OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (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 @@ -1102,10 +1068,9 @@ public AddResponse addOpenSearchSnapshot(@javax.annotation.Nonnull String siteId * */ public ApiResponse addOpenSearchSnapshotWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName) throws ApiException { - okhttp3.Call localVarCall = - addOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, null); + @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); } @@ -1114,7 +1079,6 @@ public ApiResponse addOpenSearchSnapshotWithHttpInfo( * Add an OpenSearch Snapshot (asynchronously) Add an OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1138,218 +1102,16 @@ public ApiResponse addOpenSearchSnapshotWithHttpInfo( * */ public okhttp3.Call addOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - addOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, _callback); + addOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } - /** - * Build call for addOpenSearchSnapshotRepository - * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository 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 addOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, 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/snapshotRepositories/{repositoryName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.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, "POST", localVarQueryParams, - localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, - localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call addOpenSearchSnapshotRepositoryValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - 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 addOpenSearchSnapshotRepository(Async)"); - } - - // verify the required parameter 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' when calling addOpenSearchSnapshotRepository(Async)"); - } - - return addOpenSearchSnapshotRepositoryCall(siteId, repositoryName, _callback); - - } - - /** - * Add OpenSearch Snapshot Repository Add an OpenSearch Snapshot Repository - * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) - * @return AddOpenSearchSnapshotRepositoryResponse - * @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 AddOpenSearchSnapshotRepositoryResponse addOpenSearchSnapshotRepository( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) - throws ApiException { - ApiResponse localVarResp = - addOpenSearchSnapshotRepositoryWithHttpInfo(siteId, repositoryName); - return localVarResp.getData(); - } - - /** - * Add OpenSearch Snapshot Repository Add an OpenSearch Snapshot Repository - * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) - * @return ApiResponse<AddOpenSearchSnapshotRepositoryResponse> - * @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 addOpenSearchSnapshotRepositoryWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) - throws ApiException { - okhttp3.Call localVarCall = - addOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, null); - Type localVarReturnType = new TypeToken() {}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Add OpenSearch Snapshot Repository (asynchronously) Add an OpenSearch Snapshot Repository - * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository 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 addOpenSearchSnapshotRepositoryAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, - final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = - addOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** * Build call for addSite * @@ -2332,11 +2094,9 @@ public okhttp3.Call deleteOpenSearchIndexAsync(@javax.annotation.Nonnull String } /** - * Build call for deleteOpenSearchSnapshot + * Build call for deleteOpenSearchIndexByName * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) - * @param snapshotName Snapshot Name (required) + * @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 @@ -2358,10 +2118,8 @@ public okhttp3.Call deleteOpenSearchIndexAsync(@javax.annotation.Nonnull String * * */ - public okhttp3.Call deleteOpenSearchSnapshotCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) - throws ApiException { + public okhttp3.Call deleteOpenSearchIndexByNameCall(@javax.annotation.Nonnull String indexName, + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -2378,13 +2136,8 @@ public okhttp3.Call deleteOpenSearchSnapshotCall(@javax.annotation.Nonnull Strin Object localVarPostBody = null; // create path and map variables - String localVarPath = - "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())) - .replace("{" + "snapshotName" + "}", - localVarApiClient.escapeString(snapshotName.toString())); + String localVarPath = "/sites/global/opensearch/indices/{indexName}" + .replace("{" + "indexName" + "}", localVarApiClient.escapeString(indexName.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -2412,38 +2165,22 @@ public okhttp3.Call deleteOpenSearchSnapshotCall(@javax.annotation.Nonnull Strin } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteOpenSearchSnapshotValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @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 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' when calling deleteOpenSearchSnapshot(Async)"); - } - - // verify the required parameter 'snapshotName' is set - if (snapshotName == null) { + 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 'snapshotName' when calling deleteOpenSearchSnapshot(Async)"); + "Missing the required parameter 'indexName' when calling deleteOpenSearchIndexByName(Async)"); } - return deleteOpenSearchSnapshotCall(siteId, repositoryName, snapshotName, _callback); + return deleteOpenSearchIndexByNameCall(indexName, _callback); } /** - * Deletes site(s) OpenSearch Snapshot Deletes the OpenSearch Snapshot + * Deletes OpenSearch index by name Deletes the OpenSearch index by name * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) - * @param snapshotName Snapshot Name (required) + * @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 @@ -2465,20 +2202,16 @@ private okhttp3.Call deleteOpenSearchSnapshotValidateBeforeCall( * * */ - public DeleteResponse deleteOpenSearchSnapshot(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName) throws ApiException { - ApiResponse localVarResp = - deleteOpenSearchSnapshotWithHttpInfo(siteId, repositoryName, snapshotName); + public DeleteResponse deleteOpenSearchIndexByName(@javax.annotation.Nonnull String indexName) + throws ApiException { + ApiResponse localVarResp = deleteOpenSearchIndexByNameWithHttpInfo(indexName); return localVarResp.getData(); } /** - * Deletes site(s) OpenSearch Snapshot Deletes the OpenSearch Snapshot + * Deletes OpenSearch index by name Deletes the OpenSearch index by name * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) - * @param snapshotName Snapshot Name (required) + * @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 @@ -2500,21 +2233,17 @@ public DeleteResponse deleteOpenSearchSnapshot(@javax.annotation.Nonnull String * * */ - public ApiResponse deleteOpenSearchSnapshotWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName) throws ApiException { - okhttp3.Call localVarCall = - deleteOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, null); + 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 site(s) OpenSearch Snapshot (asynchronously) Deletes the OpenSearch Snapshot + * Deletes OpenSearch index by name (asynchronously) Deletes the OpenSearch index by name * - * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) - * @param snapshotName Snapshot Name (required) + * @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 @@ -2536,23 +2265,20 @@ public ApiResponse deleteOpenSearchSnapshotWithHttpInfo( * * */ - public okhttp3.Call deleteOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) - throws ApiException { + public okhttp3.Call deleteOpenSearchIndexByNameAsync(@javax.annotation.Nonnull String indexName, + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - deleteOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, _callback); + okhttp3.Call localVarCall = deleteOpenSearchIndexByNameValidateBeforeCall(indexName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteOpenSearchSnapshotRepository + * Build call for deleteOpenSearchRestoreSnapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (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 @@ -2574,9 +2300,9 @@ public okhttp3.Call deleteOpenSearchSnapshotAsync(@javax.annotation.Nonnull Stri * * */ - public okhttp3.Call deleteOpenSearchSnapshotRepositoryCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - final ApiCallback _callback) throws ApiException { + 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[] {}; @@ -2593,10 +2319,9 @@ public okhttp3.Call deleteOpenSearchSnapshotRepositoryCall( Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())); + 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(); @@ -2624,30 +2349,30 @@ public okhttp3.Call deleteOpenSearchSnapshotRepositoryCall( } @SuppressWarnings("rawtypes") - private okhttp3.Call deleteOpenSearchSnapshotRepositoryValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, + 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 deleteOpenSearchSnapshotRepository(Async)"); + "Missing the required parameter 'siteId' when calling deleteOpenSearchRestoreSnapshot(Async)"); } - // verify the required parameter 'repositoryName' is set - if (repositoryName == null) { + // verify the required parameter 'snapshotName' is set + if (snapshotName == null) { throw new ApiException( - "Missing the required parameter 'repositoryName' when calling deleteOpenSearchSnapshotRepository(Async)"); + "Missing the required parameter 'snapshotName' when calling deleteOpenSearchRestoreSnapshot(Async)"); } - return deleteOpenSearchSnapshotRepositoryCall(siteId, repositoryName, _callback); + return deleteOpenSearchRestoreSnapshotCall(siteId, snapshotName, _callback); } /** - * Deletes site(s) OpenSearch Snapshot Repository Deletes the OpenSearch Snapshot Repository + * Deletes site(s) OpenSearch Restore Snapshot Deletes the OpenSearch Restore Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (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 @@ -2669,18 +2394,18 @@ private okhttp3.Call deleteOpenSearchSnapshotRepositoryValidateBeforeCall( * * */ - public DeleteResponse deleteOpenSearchSnapshotRepository(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName) throws ApiException { + public DeleteResponse deleteOpenSearchRestoreSnapshot(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName) throws ApiException { ApiResponse localVarResp = - deleteOpenSearchSnapshotRepositoryWithHttpInfo(siteId, repositoryName); + deleteOpenSearchRestoreSnapshotWithHttpInfo(siteId, snapshotName); return localVarResp.getData(); } /** - * Deletes site(s) OpenSearch Snapshot Repository Deletes the OpenSearch Snapshot Repository + * Deletes site(s) OpenSearch Restore Snapshot Deletes the OpenSearch Restore Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (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 @@ -2702,21 +2427,21 @@ public DeleteResponse deleteOpenSearchSnapshotRepository(@javax.annotation.Nonnu * * */ - public ApiResponse deleteOpenSearchSnapshotRepositoryWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) + public ApiResponse deleteOpenSearchRestoreSnapshotWithHttpInfo( + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) throws ApiException { okhttp3.Call localVarCall = - deleteOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, null); + deleteOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Deletes site(s) OpenSearch Snapshot Repository (asynchronously) Deletes the OpenSearch Snapshot - * Repository + * Deletes site(s) OpenSearch Restore Snapshot (asynchronously) Deletes the OpenSearch Restore + * Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (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 @@ -2738,22 +2463,406 @@ public ApiResponse deleteOpenSearchSnapshotRepositoryWithHttpInf * * */ - public okhttp3.Call deleteOpenSearchSnapshotRepositoryAsync( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call deleteOpenSearchRestoreSnapshotAsync(@javax.annotation.Nonnull String siteId, + @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) + throws ApiException { okhttp3.Call localVarCall = - deleteOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, _callback); + deleteOpenSearchRestoreSnapshotValidateBeforeCall(siteId, snapshotName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for deleteSiteGroup + * Build call for deleteOpenSearchSnapshot * * @param siteId Site Identifier (required) - * @param groupName Group Name (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 @@ -2793,9 +2902,198 @@ 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}/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(); @@ -2817,36 +3115,22 @@ 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 { - // 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); + private okhttp3.Call getAllOpenSearchIndicesValidateBeforeCall(final ApiCallback _callback) + throws ApiException { + return getAllOpenSearchIndicesCall(_callback); } /** - * Deletes Site Group and permissions Deletes Site Group and permissions + * Get all OpenSearch indices Returns all OpenSearch indices * - * @param siteId Site Identifier (required) - * @param groupName Group Name (required) - * @return DeleteResponse + * @return GetOpenSearchIndiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2867,18 +3151,15 @@ 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 GetOpenSearchIndiceResponse getAllOpenSearchIndices() throws ApiException { + ApiResponse localVarResp = getAllOpenSearchIndicesWithHttpInfo(); return localVarResp.getData(); } /** - * Deletes Site Group and permissions Deletes Site Group and permissions + * Get all OpenSearch indices Returns all OpenSearch indices * - * @param siteId Site Identifier (required) - * @param groupName Group Name (required) - * @return ApiResponse<DeleteResponse> + * @return ApiResponse<GetOpenSearchIndiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -2899,19 +3180,16 @@ public DeleteResponse deleteSiteGroup(@javax.annotation.Nonnull String siteId, * * */ - public ApiResponse deleteSiteGroupWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String groupName) + public ApiResponse getAllOpenSearchIndicesWithHttpInfo() throws ApiException { - okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, null); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getAllOpenSearchIndicesValidateBeforeCall(null); + Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } /** - * Deletes Site Group and permissions (asynchronously) Deletes Site Group and permissions + * Get all OpenSearch indices (asynchronously) Returns all OpenSearch indices * - * @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 @@ -2933,12 +3211,11 @@ 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 getAllOpenSearchIndicesAsync( + final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = deleteSiteGroupValidateBeforeCall(siteId, groupName, _callback); - Type localVarReturnType = new TypeToken() {}.getType(); + okhttp3.Call localVarCall = getAllOpenSearchIndicesValidateBeforeCall(_callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -3953,14 +4230,198 @@ 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 = getLocalesValidateBeforeCall(siteId, next, limit, _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 getOpenSearchIndex + * + * @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 getOpenSearchIndexCall(@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, "GET", localVarQueryParams, + localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, + localVarFormParams, localVarAuthNames, _callback); + } + + @SuppressWarnings("rawtypes") + 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 getOpenSearchIndex(Async)"); + } + + return getOpenSearchIndexCall(siteId, _callback); + + } + + /** + * Get site(s) OpenSearch index settings Returns the OpenSearch index settings (Deprecated use + * /sites/{siteId}/opensearch/indices) + * + * @param siteId Site Identifier (required) + * @return GetOpenSearchIndexResponse + * @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 GetOpenSearchIndexResponse getOpenSearchIndex(@javax.annotation.Nonnull String siteId) + throws ApiException { + ApiResponse localVarResp = getOpenSearchIndexWithHttpInfo(siteId); + return localVarResp.getData(); + } + + /** + * Get site(s) OpenSearch index settings Returns the OpenSearch index settings (Deprecated use + * /sites/{siteId}/opensearch/indices) + * + * @param siteId Site Identifier (required) + * @return ApiResponse<GetOpenSearchIndexResponse> + * @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 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 site(s) OpenSearch index settings (asynchronously) Returns the OpenSearch index settings + * (Deprecated use /sites/{siteId}/opensearch/indices) + * + * @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 getOpenSearchIndexAsync(@javax.annotation.Nonnull String siteId, + final ApiCallback _callback) throws ApiException { + + okhttp3.Call localVarCall = getOpenSearchIndexValidateBeforeCall(siteId, _callback); + Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } /** - * Build call for getOpenSearchIndex + * Build call for getOpenSearchIndices * * @param siteId Site Identifier (required) * @param _callback Callback for upload/download progress @@ -3984,7 +4445,7 @@ public okhttp3.Call getLocalesAsync(@javax.annotation.Nonnull String siteId, * * */ - public okhttp3.Call getOpenSearchIndexCall(@javax.annotation.Nonnull String siteId, + public okhttp3.Call getOpenSearchIndicesCall(@javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers @@ -4002,7 +4463,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/indices".replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); @@ -4031,23 +4492,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 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 getOpenSearchIndex(Async)"); + "Missing the required parameter 'siteId' when calling getOpenSearchIndices(Async)"); } - return getOpenSearchIndexCall(siteId, _callback); + return getOpenSearchIndicesCall(siteId, _callback); } /** - * Get site(s) OpenSearch index settings Returns the OpenSearch index settings + * Get site(s) OpenSearch indices Returns the OpenSearch indices * * @param siteId Site Identifier (required) - * @return GetOpenSearchIndexResponse + * @return GetOpenSearchIndiceResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -4068,17 +4529,18 @@ private okhttp3.Call getOpenSearchIndexValidateBeforeCall(@javax.annotation.Nonn * * */ - public GetOpenSearchIndexResponse getOpenSearchIndex(@javax.annotation.Nonnull String siteId) + public GetOpenSearchIndiceResponse getOpenSearchIndices(@javax.annotation.Nonnull String siteId) throws ApiException { - ApiResponse localVarResp = getOpenSearchIndexWithHttpInfo(siteId); + ApiResponse localVarResp = + getOpenSearchIndicesWithHttpInfo(siteId); return localVarResp.getData(); } /** - * Get site(s) OpenSearch index settings Returns the OpenSearch index settings + * Get site(s) OpenSearch indices Returns the OpenSearch indices * * @param siteId Site Identifier (required) - * @return ApiResponse<GetOpenSearchIndexResponse> + * @return ApiResponse<GetOpenSearchIndiceResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body * @http.response.details @@ -4099,15 +4561,15 @@ public GetOpenSearchIndexResponse getOpenSearchIndex(@javax.annotation.Nonnull S * * */ - public ApiResponse getOpenSearchIndexWithHttpInfo( + public ApiResponse getOpenSearchIndicesWithHttpInfo( @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = getOpenSearchIndexValidateBeforeCall(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(s) OpenSearch index settings (asynchronously) Returns the OpenSearch index settings + * 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 @@ -4131,11 +4593,11 @@ public ApiResponse getOpenSearchIndexWithHttpInfo( * * */ - public okhttp3.Call getOpenSearchIndexAsync(@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 = getOpenSearchIndexValidateBeforeCall(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; } @@ -4144,7 +4606,6 @@ public okhttp3.Call getOpenSearchIndexAsync(@javax.annotation.Nonnull String sit * Build call for getOpenSearchSnapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -4168,7 +4629,6 @@ public okhttp3.Call getOpenSearchIndexAsync(@javax.annotation.Nonnull String sit * */ public okhttp3.Call getOpenSearchSnapshotCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { String basePath = null; @@ -4187,13 +4647,9 @@ public okhttp3.Call getOpenSearchSnapshotCall(@javax.annotation.Nonnull String s Object localVarPostBody = null; // create path and map variables - String localVarPath = - "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots/{snapshotName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())) - .replace("{" + "snapshotName" + "}", - localVarApiClient.escapeString(snapshotName.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(); @@ -4222,28 +4678,21 @@ public okhttp3.Call getOpenSearchSnapshotCall(@javax.annotation.Nonnull String s @SuppressWarnings("rawtypes") private okhttp3.Call getOpenSearchSnapshotValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) - throws ApiException { + @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 getOpenSearchSnapshot(Async)"); } - // verify the required parameter 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' when calling getOpenSearchSnapshot(Async)"); - } - // verify the required parameter 'snapshotName' is set if (snapshotName == null) { throw new ApiException( "Missing the required parameter 'snapshotName' when calling getOpenSearchSnapshot(Async)"); } - return getOpenSearchSnapshotCall(siteId, repositoryName, snapshotName, _callback); + return getOpenSearchSnapshotCall(siteId, snapshotName, _callback); } @@ -4251,7 +4700,6 @@ private okhttp3.Call getOpenSearchSnapshotValidateBeforeCall( * Get site(s) OpenSearch snapshot Returns the OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @return GetOpenSearchSnapshotResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the @@ -4275,10 +4723,10 @@ private okhttp3.Call getOpenSearchSnapshotValidateBeforeCall( * */ public GetOpenSearchSnapshotResponse getOpenSearchSnapshot( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName) throws ApiException { + @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String snapshotName) + throws ApiException { ApiResponse localVarResp = - getOpenSearchSnapshotWithHttpInfo(siteId, repositoryName, snapshotName); + getOpenSearchSnapshotWithHttpInfo(siteId, snapshotName); return localVarResp.getData(); } @@ -4286,7 +4734,6 @@ public GetOpenSearchSnapshotResponse getOpenSearchSnapshot( * Get site(s) OpenSearch snapshot Returns the OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @return ApiResponse<GetOpenSearchSnapshotResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the @@ -4310,10 +4757,9 @@ public GetOpenSearchSnapshotResponse getOpenSearchSnapshot( * */ public ApiResponse getOpenSearchSnapshotWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - @javax.annotation.Nonnull String snapshotName) throws ApiException { - okhttp3.Call localVarCall = - getOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, null); + @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); } @@ -4322,7 +4768,6 @@ public ApiResponse getOpenSearchSnapshotWithHttpI * Get site(s) OpenSearch snapshot (asynchronously) Returns the OpenSearch Snapshot * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param snapshotName Snapshot Name (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -4346,12 +4791,11 @@ public ApiResponse getOpenSearchSnapshotWithHttpI * */ public okhttp3.Call getOpenSearchSnapshotAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, @javax.annotation.Nonnull String snapshotName, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - getOpenSearchSnapshotValidateBeforeCall(siteId, repositoryName, snapshotName, _callback); + getOpenSearchSnapshotValidateBeforeCall(siteId, snapshotName, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -4360,7 +4804,6 @@ public okhttp3.Call getOpenSearchSnapshotAsync(@javax.annotation.Nonnull String /** * Build call for getOpenSearchSnapshotRepositories * - * @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 @@ -4382,8 +4825,8 @@ public okhttp3.Call getOpenSearchSnapshotAsync(@javax.annotation.Nonnull String * * */ - public okhttp3.Call getOpenSearchSnapshotRepositoriesCall(@javax.annotation.Nonnull String siteId, - final ApiCallback _callback) throws ApiException { + public okhttp3.Call getOpenSearchSnapshotRepositoriesCall(final ApiCallback _callback) + throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -4400,8 +4843,7 @@ public okhttp3.Call getOpenSearchSnapshotRepositoriesCall(@javax.annotation.Nonn Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/opensearch/snapshotRepositories" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); + String localVarPath = "/sites/global/opensearch/snapshotRepositories"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4430,21 +4872,14 @@ public okhttp3.Call getOpenSearchSnapshotRepositoriesCall(@javax.annotation.Nonn @SuppressWarnings("rawtypes") private okhttp3.Call getOpenSearchSnapshotRepositoriesValidateBeforeCall( - @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 getOpenSearchSnapshotRepositories(Async)"); - } - - return getOpenSearchSnapshotRepositoriesCall(siteId, _callback); + final ApiCallback _callback) throws ApiException { + return getOpenSearchSnapshotRepositoriesCall(_callback); } /** * Get site(s) OpenSearch snapshot repositories Returns the OpenSearch Snapshot Repositories * - * @param siteId Site Identifier (required) * @return GetOpenSearchSnapshotRepositoryResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -4466,17 +4901,16 @@ private okhttp3.Call getOpenSearchSnapshotRepositoriesValidateBeforeCall( * * */ - public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories( - @javax.annotation.Nonnull String siteId) throws ApiException { + public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories() + throws ApiException { ApiResponse localVarResp = - getOpenSearchSnapshotRepositoriesWithHttpInfo(siteId); + getOpenSearchSnapshotRepositoriesWithHttpInfo(); return localVarResp.getData(); } /** * Get site(s) OpenSearch snapshot repositories Returns the OpenSearch Snapshot Repositories * - * @param siteId Site Identifier (required) * @return ApiResponse<GetOpenSearchSnapshotRepositoryResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -4498,9 +4932,9 @@ public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepositories * * */ - public ApiResponse getOpenSearchSnapshotRepositoriesWithHttpInfo( - @javax.annotation.Nonnull String siteId) throws ApiException { - okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoriesValidateBeforeCall(siteId, null); + public ApiResponse getOpenSearchSnapshotRepositoriesWithHttpInfo() + throws ApiException { + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoriesValidateBeforeCall(null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4509,7 +4943,6 @@ public ApiResponse getOpenSearchSnapsho * Get site(s) OpenSearch snapshot repositories (asynchronously) Returns the OpenSearch Snapshot * Repositories * - * @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 @@ -4532,11 +4965,9 @@ public ApiResponse getOpenSearchSnapsho * */ public okhttp3.Call getOpenSearchSnapshotRepositoriesAsync( - @javax.annotation.Nonnull String siteId, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - getOpenSearchSnapshotRepositoriesValidateBeforeCall(siteId, _callback); + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoriesValidateBeforeCall(_callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -4546,7 +4977,6 @@ public okhttp3.Call getOpenSearchSnapshotRepositoriesAsync( * Build call for getOpenSearchSnapshotRepository * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4569,8 +4999,7 @@ public okhttp3.Call getOpenSearchSnapshotRepositoriesAsync( * */ public okhttp3.Call getOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) - throws ApiException { + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -4587,10 +5016,8 @@ public okhttp3.Call getOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnul Object localVarPostBody = null; // create path and map variables - String localVarPath = "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())); + String localVarPath = "/sites/{siteId}/opensearch/snapshotRepository" + .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4619,21 +5046,14 @@ public okhttp3.Call getOpenSearchSnapshotRepositoryCall(@javax.annotation.Nonnul @SuppressWarnings("rawtypes") private okhttp3.Call getOpenSearchSnapshotRepositoryValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - final ApiCallback _callback) throws ApiException { + @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 getOpenSearchSnapshotRepository(Async)"); } - // verify the required parameter 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' when calling getOpenSearchSnapshotRepository(Async)"); - } - - return getOpenSearchSnapshotRepositoryCall(siteId, repositoryName, _callback); + return getOpenSearchSnapshotRepositoryCall(siteId, _callback); } @@ -4641,7 +5061,6 @@ private okhttp3.Call getOpenSearchSnapshotRepositoryValidateBeforeCall( * Get site(s) OpenSearch snapshot repository Returns the OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @return GetOpenSearchSnapshotRepositoryResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -4664,10 +5083,9 @@ private okhttp3.Call getOpenSearchSnapshotRepositoryValidateBeforeCall( * */ public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) - throws ApiException { + @javax.annotation.Nonnull String siteId) throws ApiException { ApiResponse localVarResp = - getOpenSearchSnapshotRepositoryWithHttpInfo(siteId, repositoryName); + getOpenSearchSnapshotRepositoryWithHttpInfo(siteId); return localVarResp.getData(); } @@ -4675,7 +5093,6 @@ public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository( * Get site(s) OpenSearch snapshot repository Returns the OpenSearch Snapshot Repository * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @return ApiResponse<GetOpenSearchSnapshotRepositoryResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -4698,10 +5115,8 @@ public GetOpenSearchSnapshotRepositoryResponse getOpenSearchSnapshotRepository( * */ public ApiResponse getOpenSearchSnapshotRepositoryWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) - throws ApiException { - okhttp3.Call localVarCall = - getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, null); + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4711,7 +5126,6 @@ public ApiResponse getOpenSearchSnapsho * Repository * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository 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 @@ -4734,11 +5148,10 @@ public ApiResponse getOpenSearchSnapsho * */ public okhttp3.Call getOpenSearchSnapshotRepositoryAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = - getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, repositoryName, _callback); + getOpenSearchSnapshotRepositoryValidateBeforeCall(siteId, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -4748,7 +5161,6 @@ public okhttp3.Call getOpenSearchSnapshotRepositoryAsync(@javax.annotation.Nonnu * Build call for getOpenSearchSnapshots * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4771,8 +5183,7 @@ public okhttp3.Call getOpenSearchSnapshotRepositoryAsync(@javax.annotation.Nonnu * */ public okhttp3.Call getOpenSearchSnapshotsCall(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) - throws ApiException { + final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] {}; @@ -4789,11 +5200,8 @@ public okhttp3.Call getOpenSearchSnapshotsCall(@javax.annotation.Nonnull String Object localVarPostBody = null; // create path and map variables - String localVarPath = - "/sites/{siteId}/opensearch/snapshotRepositories/{repositoryName}/snapshots" - .replace("{" + "siteId" + "}", localVarApiClient.escapeString(siteId.toString())) - .replace("{" + "repositoryName" + "}", - localVarApiClient.escapeString(repositoryName.toString())); + String localVarPath = "/sites/{siteId}/opensearch/snapshots".replace("{" + "siteId" + "}", + localVarApiClient.escapeString(siteId.toString())); List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); @@ -4822,21 +5230,14 @@ public okhttp3.Call getOpenSearchSnapshotsCall(@javax.annotation.Nonnull String @SuppressWarnings("rawtypes") private okhttp3.Call getOpenSearchSnapshotsValidateBeforeCall( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName, - final ApiCallback _callback) throws ApiException { + @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 getOpenSearchSnapshots(Async)"); } - // verify the required parameter 'repositoryName' is set - if (repositoryName == null) { - throw new ApiException( - "Missing the required parameter 'repositoryName' when calling getOpenSearchSnapshots(Async)"); - } - - return getOpenSearchSnapshotsCall(siteId, repositoryName, _callback); + return getOpenSearchSnapshotsCall(siteId, _callback); } @@ -4844,7 +5245,6 @@ private okhttp3.Call getOpenSearchSnapshotsValidateBeforeCall( * Get site(s) OpenSearch snapshots Returns the OpenSearch Snapshots * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @return GetOpenSearchSnapshotResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -4867,10 +5267,9 @@ private okhttp3.Call getOpenSearchSnapshotsValidateBeforeCall( * */ public GetOpenSearchSnapshotResponse getOpenSearchSnapshots( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) - throws ApiException { + @javax.annotation.Nonnull String siteId) throws ApiException { ApiResponse localVarResp = - getOpenSearchSnapshotsWithHttpInfo(siteId, repositoryName); + getOpenSearchSnapshotsWithHttpInfo(siteId); return localVarResp.getData(); } @@ -4878,7 +5277,6 @@ public GetOpenSearchSnapshotResponse getOpenSearchSnapshots( * Get site(s) OpenSearch snapshots Returns the OpenSearch Snapshots * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository Name (required) * @return ApiResponse<GetOpenSearchSnapshotResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the * response body @@ -4901,10 +5299,8 @@ public GetOpenSearchSnapshotResponse getOpenSearchSnapshots( * */ public ApiResponse getOpenSearchSnapshotsWithHttpInfo( - @javax.annotation.Nonnull String siteId, @javax.annotation.Nonnull String repositoryName) - throws ApiException { - okhttp3.Call localVarCall = - getOpenSearchSnapshotsValidateBeforeCall(siteId, repositoryName, null); + @javax.annotation.Nonnull String siteId) throws ApiException { + okhttp3.Call localVarCall = getOpenSearchSnapshotsValidateBeforeCall(siteId, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -4913,7 +5309,6 @@ public ApiResponse getOpenSearchSnapshotsWithHttp * Get site(s) OpenSearch snapshots (asynchronously) Returns the OpenSearch Snapshots * * @param siteId Site Identifier (required) - * @param repositoryName Snapshot Repository 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 @@ -4936,11 +5331,9 @@ public ApiResponse getOpenSearchSnapshotsWithHttp * */ public okhttp3.Call getOpenSearchSnapshotsAsync(@javax.annotation.Nonnull String siteId, - @javax.annotation.Nonnull String repositoryName, final ApiCallback _callback) throws ApiException { - okhttp3.Call localVarCall = - getOpenSearchSnapshotsValidateBeforeCall(siteId, repositoryName, _callback); + okhttp3.Call localVarCall = getOpenSearchSnapshotsValidateBeforeCall(siteId, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; @@ -6105,6 +6498,208 @@ public okhttp3.Call setOpenSearchIndexAsync(@javax.annotation.Nonnull String sit 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/UserActivitiesApi.java b/src/main/java/com/formkiq/client/api/UserActivitiesApi.java index 6ad08cc50..99db6492f 100644 --- a/src/main/java/com/formkiq/client/api/UserActivitiesApi.java +++ b/src/main/java/com/formkiq/client/api/UserActivitiesApi.java @@ -36,6 +36,7 @@ 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; @@ -306,6 +307,9 @@ public okhttp3.Call getDocumentUserActivitiesAsync(@javax.annotation.Nonnull Str * @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) @@ -333,6 +337,8 @@ public okhttp3.Call getDocumentUserActivitiesAsync(@javax.annotation.Nonnull Str 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; @@ -379,6 +385,18 @@ public okhttp3.Call getResourceActivitiesCall(@javax.annotation.Nullable String 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)); } @@ -414,11 +432,12 @@ public okhttp3.Call getResourceActivitiesCall(@javax.annotation.Nullable String 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 String next, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId, - final ApiCallback _callback) throws ApiException { - return getResourceActivitiesCall(siteId, documentId, entityTypeId, namespace, entityId, next, - limit, userId, _callback); + @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); } @@ -430,6 +449,9 @@ private okhttp3.Call getResourceActivitiesValidateBeforeCall( * @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) @@ -457,10 +479,12 @@ private okhttp3.Call getResourceActivitiesValidateBeforeCall( 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, next, limit, userId); + documentId, entityTypeId, namespace, entityId, start, end, sort, next, limit, userId); return localVarResp.getData(); } @@ -472,6 +496,9 @@ public GetActivitesResponse getResourceActivities(@javax.annotation.Nullable Str * @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) @@ -499,11 +526,12 @@ public GetActivitesResponse getResourceActivities(@javax.annotation.Nullable Str 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 String next, - @javax.annotation.Nullable String limit, @javax.annotation.Nullable String userId) - throws ApiException { + @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, next, limit, userId, null); + entityTypeId, namespace, entityId, start, end, sort, next, limit, userId, null); Type localVarReturnType = new TypeToken() {}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -516,6 +544,9 @@ public ApiResponse getResourceActivitiesWithHttpInfo( * @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) @@ -543,12 +574,14 @@ public ApiResponse getResourceActivitiesWithHttpInfo( 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, next, limit, userId, _callback); + entityTypeId, namespace, entityId, start, end, sort, next, limit, userId, _callback); Type localVarReturnType = new TypeToken() {}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; diff --git a/src/main/java/com/formkiq/client/invoker/ApiClient.java b/src/main/java/com/formkiq/client/invoker/ApiClient.java index 4e8541161..19b435611 100644 --- a/src/main/java/com/formkiq/client/invoker/ApiClient.java +++ b/src/main/java/com/formkiq/client/invoker/ApiClient.java @@ -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 @@ -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())); } } } diff --git a/src/main/java/com/formkiq/client/invoker/ApiException.java b/src/main/java/com/formkiq/client/invoker/ApiException.java index 1e50fb6b0..e73fe4a7a 100644 --- a/src/main/java/com/formkiq/client/invoker/ApiException.java +++ b/src/main/java/com/formkiq/client/invoker/ApiException.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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/Configuration.java b/src/main/java/com/formkiq/client/invoker/Configuration.java index 239e56d03..ee91dfdf2 100644 --- a/src/main/java/com/formkiq/client/invoker/Configuration.java +++ b/src/main/java/com/formkiq/client/invoker/Configuration.java @@ -25,8 +25,8 @@ import java.util.function.Supplier; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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.18.0"; diff --git a/src/main/java/com/formkiq/client/invoker/JSON.java b/src/main/java/com/formkiq/client/invoker/JSON.java index e586013c4..a8714a1d2 100644 --- a/src/main/java/com/formkiq/client/invoker/JSON.java +++ b/src/main/java/com/formkiq/client/invoker/JSON.java @@ -261,8 +261,6 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, new com.formkiq.client.model.AddNigoRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddNigoResponse.CustomTypeAdapterFactory()); - gsonBuilder.registerTypeAdapterFactory( - new com.formkiq.client.model.AddOpenSearchSnapshotRepositoryResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( new com.formkiq.client.model.AddQueueRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory( @@ -333,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( @@ -491,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( @@ -545,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( @@ -557,6 +561,8 @@ 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( @@ -623,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( @@ -653,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( @@ -661,10 +671,22 @@ 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( @@ -699,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( @@ -735,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( @@ -757,6 +783,8 @@ 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( diff --git a/src/main/java/com/formkiq/client/invoker/Pair.java b/src/main/java/com/formkiq/client/invoker/Pair.java index 6ae8c6deb..a13f4452b 100644 --- a/src/main/java/com/formkiq/client/invoker/Pair.java +++ b/src/main/java/com/formkiq/client/invoker/Pair.java @@ -21,31 +21,15 @@ package com.formkiq.client.invoker; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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/ServerConfiguration.java b/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java index f15aff5ac..4df362c59 100644 --- a/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java +++ b/src/main/java/com/formkiq/client/invoker/ServerConfiguration.java @@ -26,8 +26,8 @@ * Representing a Server configuration. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 6c01b96cb..0d1233ffd 100644 --- a/src/main/java/com/formkiq/client/invoker/ServerVariable.java +++ b/src/main/java/com/formkiq/client/invoker/ServerVariable.java @@ -26,8 +26,8 @@ * Representing a Server Variable for server URL template substitution. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 4279fad16..9779b6c8f 100644 --- a/src/main/java/com/formkiq/client/invoker/StringUtil.java +++ b/src/main/java/com/formkiq/client/invoker/StringUtil.java @@ -24,8 +24,8 @@ import java.util.Iterator; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 c077d4211..ae8b78b6e 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/AWS4Auth.java @@ -46,8 +46,8 @@ import okio.Buffer; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 9bc5c8c3b..731296f85 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/ApiKeyAuth.java @@ -28,8 +28,8 @@ import java.util.List; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 8bef42d58..ccb4f9aa7 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/Authentication.java +++ b/src/main/java/com/formkiq/client/invoker/auth/Authentication.java @@ -28,8 +28,8 @@ import java.util.List; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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/HttpBearerAuth.java b/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java index 18613f9b9..c4b858731 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/HttpBearerAuth.java @@ -30,8 +30,8 @@ import java.util.function.Supplier; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 668c1849c..ad1fefa03 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/OAuth.java +++ b/src/main/java/com/formkiq/client/invoker/auth/OAuth.java @@ -28,8 +28,8 @@ import java.util.List; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 6e26234fc..6091d04de 100644 --- a/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java +++ b/src/main/java/com/formkiq/client/invoker/auth/OAuthFlow.java @@ -24,8 +24,8 @@ * OAuth flows that are supported by this client */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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/model/AbstractOpenApiSchema.java b/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java index 61d930abe..1a4a6ac90 100644 --- a/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/formkiq/client/model/AbstractOpenApiSchema.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 index 6ec74e2a7..cafd88cee 100644 --- a/src/main/java/com/formkiq/client/model/Activity.java +++ b/src/main/java/com/formkiq/client/model/Activity.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * Activity */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -109,6 +111,11 @@ public class Activity { @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 @@ -306,6 +313,26 @@ public void setDocumentId(@javax.annotation.Nullable Object 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; @@ -392,6 +419,7 @@ public boolean equals(Object o) { && 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); @@ -405,7 +433,7 @@ private static boolean equalsNullable(JsonNullable a, JsonNullable b) @Override public int hashCode() { return Objects.hash(resource, type, source, sourceIpAddress, message, status, insertedDate, - userId, documentId, entityTypeId, entityId, changes); + userId, documentId, attributeKey, entityTypeId, entityId, changes); } private static int hashCodeNullable(JsonNullable a) { @@ -428,6 +456,7 @@ public String toString() { 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"); @@ -451,9 +480,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet( - Arrays.asList("resource", "type", "source", "sourceIpAddress", "message", "status", - "insertedDate", "userId", "documentId", "entityTypeId", "entityId", "changes")); + 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); @@ -469,7 +498,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!Activity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + 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())); } @@ -479,7 +508,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -487,31 +516,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("resource") != null && !jsonObj.get("resource").isJsonNull()) && !jsonObj.get("resource").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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( + 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( + 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( + 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())); } @@ -521,25 +550,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("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("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) && !jsonObj.get("entityTypeId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/ActivityStatus.java b/src/main/java/com/formkiq/client/model/ActivityStatus.java index 78578a5fd..6ff5a593b 100644 --- a/src/main/java/com/formkiq/client/model/ActivityStatus.java +++ b/src/main/java/com/formkiq/client/model/ActivityStatus.java @@ -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/AddAction.java b/src/main/java/com/formkiq/client/model/AddAction.java index 4c8a2bc2e..a5e00c489 100644 --- a/src/main/java/com/formkiq/client/model/AddAction.java +++ b/src/main/java/com/formkiq/client/model/AddAction.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -201,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())); } @@ -211,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())); } @@ -220,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(); @@ -234,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 1daf5c9c7..5b8572544 100644 --- a/src/main/java/com/formkiq/client/model/AddActionParameters.java +++ b/src/main/java/com/formkiq/client/model/AddActionParameters.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 @@ -271,13 +286,43 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti 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 */ @@ -373,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; @@ -707,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) @@ -733,22 +801,26 @@ public boolean equals(Object o) { @Override public int hashCode() { - return Objects.hash(ocrParseTypes, ocrEngine, ocrOutputType, ocrNumberOfPages, - addPdfDetectedCharactersAsText, url, characterMax, engine, notificationType, - notificationToCc, notificationToBcc, notificationSubject, notificationText, - notificationHtml, tags, mappingId, eventBusName, width, height, path, outputType); + 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"); @@ -786,11 +858,12 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("ocrParseTypes", "ocrEngine", "ocrOutputType", - "ocrNumberOfPages", "addPdfDetectedCharactersAsText", "url", "characterMax", "engine", - "notificationType", "notificationToCc", "notificationToBcc", "notificationSubject", - "notificationText", "notificationHtml", "tags", "mappingId", "eventBusName", "width", - "height", "path", "outputType")); + 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(0); @@ -806,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())); } @@ -816,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())); } @@ -838,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())); } @@ -873,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())); } @@ -883,74 +980,74 @@ 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( + 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("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("outputType") != null && !jsonObj.get("outputType").isJsonNull()) && !jsonObj.get("outputType").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java b/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java index b268c92c4..34aef89df 100644 --- a/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java +++ b/src/main/java/com/formkiq/client/model/AddApiKeyRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -240,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())); } @@ -250,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())); } @@ -258,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 ae6fbb405..ca6038781 100644 --- a/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java +++ b/src/main/java/com/formkiq/client/model/AddApiKeyResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 70fef9afd..542fb992b 100644 --- a/src/main/java/com/formkiq/client/model/AddAttribute.java +++ b/src/main/java/com/formkiq/client/model/AddAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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())); } @@ -248,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 6f885a144..dfec4fc0d 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/AddAttributeRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 d6d6653c8..9a592cc18 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java +++ b/src/main/java/com/formkiq/client/model/AddAttributeSchemaOptional.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -241,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())); } @@ -251,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())); } @@ -259,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 d04b29bce..53158bbc6 100644 --- a/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java +++ b/src/main/java/com/formkiq/client/model/AddAttributeSchemaRequired.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -305,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())); } @@ -315,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())); } @@ -323,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 f69dbf98f..73a75506a 100644 --- a/src/main/java/com/formkiq/client/model/AddCase.java +++ b/src/main/java/com/formkiq/client/model/AddCase.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -458,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())); } @@ -468,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())); } @@ -477,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())); } @@ -494,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())); } @@ -528,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())); } @@ -544,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())); } @@ -558,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 4b89b8377..769a01c53 100644 --- a/src/main/java/com/formkiq/client/model/AddCaseRequest.java +++ b/src/main/java/com/formkiq/client/model/AddCaseRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 5f2f274aa..19a9313cc 100644 --- a/src/main/java/com/formkiq/client/model/AddCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/AddCaseResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 98543923d..3f3235224 100644 --- a/src/main/java/com/formkiq/client/model/AddChildDocument.java +++ b/src/main/java/com/formkiq/client/model/AddChildDocument.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -438,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())); } @@ -448,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())); } @@ -457,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())); } @@ -499,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())); } @@ -513,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())); } @@ -529,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 8035a8d01..bdb7bd742 100644 --- a/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/AddChildDocumentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -227,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 d42135204..d2d386ffb 100644 --- a/src/main/java/com/formkiq/client/model/AddClassification.java +++ b/src/main/java/com/formkiq/client/model/AddClassification.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -173,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())); } @@ -183,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())); } @@ -191,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 a98fe0b2e..c40ef6214 100644 --- a/src/main/java/com/formkiq/client/model/AddClassificationRequest.java +++ b/src/main/java/com/formkiq/client/model/AddClassificationRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -147,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())); } @@ -157,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 2c9570e6b..5370bf733 100644 --- a/src/main/java/com/formkiq/client/model/AddClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/AddClassificationResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -164,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 8992a2af6..054bd501b 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -177,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 b6a018595..b0c412cb3 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 55999b443..2b4a3ecb5 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentActionsRetryResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 2c681912a..c9a004e40 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttribute.java @@ -21,6 +21,7 @@ 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; @@ -50,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; @@ -74,8 +76,8 @@ import com.formkiq.client.invoker.JSON; @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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()); @@ -154,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); } @@ -169,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, @@ -184,7 +186,7 @@ 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, @@ -199,9 +201,9 @@ public AddDocumentAttribute read(JsonReader in) throws IOException { log.log(Level.FINER, "Input data matches schema 'AddDocumentAttributeEntity'"); } catch (Exception e) { // deserialization failed, continue - errorMessages.add( - String.format("Deserialization for AddDocumentAttributeEntity failed with `%s`.", - e.getMessage())); + 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); } @@ -212,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())); } @@ -351,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 } @@ -360,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 @@ -370,9 +372,9 @@ 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 @@ -380,12 +382,12 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti AddDocumentAttributeEntity.validateJsonElement(jsonElement); validCount++; } catch (Exception e) { - errorMessages.add(String.format( + 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( + 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 cad8de77f..51d642ed9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeClassification.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -150,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())); } @@ -160,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())); } @@ -169,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 index 5cf210c6f..817156617 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeEntity.java @@ -21,6 +21,7 @@ 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; @@ -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 Entity Attribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -229,7 +231,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddDocumentAttributeEntity.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -239,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 (!AddDocumentAttributeEntity.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -248,24 +250,24 @@ 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 : AddDocumentAttributeEntity.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("entityTypeId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java b/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java index ff78caa99..a59139bd0 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeRelationship.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -228,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 b77dddb82..30445ecdc 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeStandard.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -305,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())); } @@ -315,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())); } @@ -324,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 7b080a3cf..8196866c2 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributeValue.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -275,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())); } @@ -285,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())); } @@ -293,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 000373a70..6ad742b1d 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentAttributesRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -158,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())); } @@ -168,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())); } @@ -179,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 e6455a084..070a5e59c 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentFulltextRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -490,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())); } @@ -500,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())); } @@ -508,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())); } @@ -564,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())); } @@ -580,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 bbfde6d49..a10a49f06 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 0bd353bb4..608d114c1 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentGenerateRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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; } @@ -310,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())); } @@ -320,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())); } @@ -328,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())); } @@ -351,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())); } @@ -368,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 17fa7e596..cc602cede 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentGenerateResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 654276ea1..ed1d81627 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentMetadata.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -228,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 1edd54c31..c84f1a48f 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,7 +296,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("parseTypes", + openapiFields = new HashSet(Arrays.asList("textractQueries", "parseTypes", "addPdfDetectedCharactersAsText", "ocrEngine", "ocrNumberOfPages", "ocrOutputType")); // a set of required properties/fields (JSON key names) @@ -274,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())); } @@ -284,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())); } @@ -303,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 9bc327a57..84c4887d9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 47e23313d..4ef21c6a8 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -576,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())); } @@ -586,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())); } @@ -595,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())); } @@ -619,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())); } @@ -657,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())); } @@ -673,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())); } @@ -689,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())); } @@ -705,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())); } @@ -721,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 5c9b20167..500688a91 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -276,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())); } @@ -286,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())); } @@ -294,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())); } @@ -315,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 4465c590d..87f867dee 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentSync.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentSync.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -174,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())); } @@ -184,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 a6a188f08..8539aebb9 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 1af4da224..dc9bf1e73 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentSyncService.java @@ -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 f9bcc1adc..6c07c06b6 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentTag.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -228,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 5f760793c..d3da02414 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -177,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 02e77b846..91d0c07dd 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -449,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())); } @@ -459,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())); } @@ -467,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())); } @@ -507,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())); } @@ -516,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())); } @@ -532,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())); } @@ -548,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 b8c01d527..377372104 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -256,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())); } @@ -266,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())); } @@ -275,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 31ba2c5a2..5959e0b80 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowDecisionsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -149,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())); } @@ -159,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())); } @@ -167,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 6b5a55955..b13062fe3 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -164,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 db72b21bf..f87d123be 100644 --- a/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocumentWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 1a62663d1..c62f52659 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -282,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())); } @@ -292,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())); } @@ -301,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())); } @@ -320,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())); } @@ -336,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 3ef39107c..a119d49a1 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignEnvelopesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -164,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 f7e6fc51b..b64ca40cd 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -179,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())); } @@ -189,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())); } @@ -198,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 603880ff6..3e584d2cd 100644 --- a/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java +++ b/src/main/java/com/formkiq/client/model/AddDocusignRecipientViewResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 index 7941b55e7..44f00e0ba 100644 --- a/src/main/java/com/formkiq/client/model/AddEntity.java +++ b/src/main/java/com/formkiq/client/model/AddEntity.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * AddEntity */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -183,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntity.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + 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())); } @@ -193,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 (!AddEntity.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -201,7 +203,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())); } @@ -210,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/AddEntityAttribute.java b/src/main/java/com/formkiq/client/model/AddEntityAttribute.java index 5f79e7f52..a6f0dcbda 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityAttribute.java +++ b/src/main/java/com/formkiq/client/model/AddEntityAttribute.java @@ -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 @@ * AddEntityAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -300,7 +302,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -310,7 +312,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -318,27 +320,27 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityRequest.java b/src/main/java/com/formkiq/client/model/AddEntityRequest.java index 7bbd063d7..26c455669 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityRequest.java +++ b/src/main/java/com/formkiq/client/model/AddEntityRequest.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * AddEntityRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -146,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -156,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 (!AddEntityRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityResponse.java b/src/main/java/com/formkiq/client/model/AddEntityResponse.java index 03977b477..a56fa5d45 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityResponse.java +++ b/src/main/java/com/formkiq/client/model/AddEntityResponse.java @@ -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 @@ * AddEntityResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -145,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -155,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 (!AddEntityResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -163,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("entityId") != null && !jsonObj.get("entityId").isJsonNull()) && !jsonObj.get("entityId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityType.java b/src/main/java/com/formkiq/client/model/AddEntityType.java index 15fb1c81f..b720e6ec7 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityType.java +++ b/src/main/java/com/formkiq/client/model/AddEntityType.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * AddEntityType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -173,7 +175,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element // is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -183,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 (!AddEntityType.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -195,7 +197,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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/AddEntityTypeRequest.java b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java index 5e870792a..7f4d2b3a7 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeRequest.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * AddEntityTypeRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -146,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityTypeRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -156,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 (!AddEntityTypeRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java index ae9d0f0b4..8e0802181 100644 --- a/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java +++ b/src/main/java/com/formkiq/client/model/AddEntityTypeResponse.java @@ -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 @@ * AddEntityTypeResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -145,7 +147,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddEntityTypeResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -155,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 (!AddEntityTypeResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -163,7 +165,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) && !jsonObj.get("entityTypeId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/AddFolderPermission.java b/src/main/java/com/formkiq/client/model/AddFolderPermission.java index 8928cebce..5f9a9ed2a 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderPermission.java +++ b/src/main/java/com/formkiq/client/model/AddFolderPermission.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * AddFolderPermission */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -184,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!AddFolderPermission.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -194,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 (!AddFolderPermission.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -202,14 +204,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("roleName") != null && !jsonObj.get("roleName").isJsonNull()) && !jsonObj.get("roleName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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/AddFolderRequest.java b/src/main/java/com/formkiq/client/model/AddFolderRequest.java index 51a0bae7a..b5aa7c672 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderRequest.java +++ b/src/main/java/com/formkiq/client/model/AddFolderRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 ae47f4f9f..d7186479f 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderResponse.java +++ b/src/main/java/com/formkiq/client/model/AddFolderResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 d1ac1d65a..02a4a211b 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java +++ b/src/main/java/com/formkiq/client/model/AddFolderShareRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 54b850dd3..8e9eefb9a 100644 --- a/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java +++ b/src/main/java/com/formkiq/client/model/AddFolderShareResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 75d5dfa95..91855ee45 100644 --- a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java +++ b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -177,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())); } @@ -187,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())); } @@ -195,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 8a0d28f32..5991a2a33 100644 --- a/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java +++ b/src/main/java/com/formkiq/client/model/AddGoogleDocumentExportResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 5c7b9d203..deb5a6983 100644 --- a/src/main/java/com/formkiq/client/model/AddGroup.java +++ b/src/main/java/com/formkiq/client/model/AddGroup.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 a5cad7a7a..b6d9707fa 100644 --- a/src/main/java/com/formkiq/client/model/AddGroupRequest.java +++ b/src/main/java/com/formkiq/client/model/AddGroupRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 27cf27913..d223d18aa 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleRequest.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 dac984e78..a0e18b6e7 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceClassificationItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -265,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())); } @@ -275,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())); } @@ -284,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 d2b18bc97..88a22b4e3 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceInterfaceItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -208,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())); } @@ -218,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())); } @@ -227,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 3c0722f71..7313f331f 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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 62ecff8cd..6c6737b71 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -147,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())); } @@ -157,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())); } @@ -165,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 1d4739250..c0a7994cb 100644 --- a/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java +++ b/src/main/java/com/formkiq/client/model/AddLocaleResourceSchemaItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -231,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())); } @@ -241,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())); } @@ -250,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 5e2beace6..9b21a02f7 100644 --- a/src/main/java/com/formkiq/client/model/AddMapping.java +++ b/src/main/java/com/formkiq/client/model/AddMapping.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -210,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())); } @@ -220,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())); } @@ -228,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())); } @@ -243,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 bf3c798f9..a816936cd 100644 --- a/src/main/java/com/formkiq/client/model/AddMappingRequest.java +++ b/src/main/java/com/formkiq/client/model/AddMappingRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 abd72ceb1..1223f4366 100644 --- a/src/main/java/com/formkiq/client/model/AddMappingResponse.java +++ b/src/main/java/com/formkiq/client/model/AddMappingResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 e6a81cc12..e6f851f1b 100644 --- a/src/main/java/com/formkiq/client/model/AddNigo.java +++ b/src/main/java/com/formkiq/client/model/AddNigo.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -384,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())); } @@ -394,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())); } @@ -403,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())); } @@ -426,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 ecd1a9297..b9e37220b 100644 --- a/src/main/java/com/formkiq/client/model/AddNigoRequest.java +++ b/src/main/java/com/formkiq/client/model/AddNigoRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 32f63b9a5..2447ec4b1 100644 --- a/src/main/java/com/formkiq/client/model/AddNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/AddNigoResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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/AddOpenSearchSnapshotRepositoryResponse.java b/src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java deleted file mode 100644 index 9dc0ece48..000000000 --- a/src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java +++ /dev/null @@ -1,324 +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 - * -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== - * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - * - * 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 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 com.formkiq.client.invoker.JSON; - -/** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - * 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") -public class AddLocaleResourceItemResponse { - public static final String SERIALIZED_NAME_ITEM_KEY = "itemKey"; - @SerializedName(SERIALIZED_NAME_ITEM_KEY) -======== - * AddOpenSearchSnapshotRepositoryResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") -public class AddOpenSearchSnapshotRepositoryResponse { - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - @javax.annotation.Nullable - private String itemKey; - -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - public AddLocaleResourceItemResponse() {} - - public AddLocaleResourceItemResponse itemKey(@javax.annotation.Nullable String itemKey) { - this.itemKey = itemKey; -======== - public AddOpenSearchSnapshotRepositoryResponse() {} - - public AddOpenSearchSnapshotRepositoryResponse message( - @javax.annotation.Nullable String message) { - this.message = message; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - return this; - } - - /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - * Item Key of resource -======== - * Result message ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - * - * @return itemKey - */ - @javax.annotation.Nullable - public String getItemKey() { - return itemKey; - } - - public void setItemKey(@javax.annotation.Nullable String itemKey) { - this.itemKey = itemKey; - } - - - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - AddLocaleResourceItemResponse addLocaleResourceItemResponse = (AddLocaleResourceItemResponse) o; - return Objects.equals(this.itemKey, addLocaleResourceItemResponse.itemKey); -======== - AddOpenSearchSnapshotRepositoryResponse addOpenSearchSnapshotRepositoryResponse = - (AddOpenSearchSnapshotRepositoryResponse) o; - return Objects.equals(this.message, addOpenSearchSnapshotRepositoryResponse.message); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - } - - @Override - public int hashCode() { - return Objects.hash(itemKey); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - sb.append("class AddLocaleResourceItemResponse {\n"); - sb.append(" itemKey: ").append(toIndentedString(itemKey)).append("\n"); -======== - sb.append("class AddOpenSearchSnapshotRepositoryResponse {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - 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) -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - openapiFields = new HashSet(); - openapiFields.add("itemKey"); -======== - openapiFields = new HashSet(Arrays.asList("message")); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - - // 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 -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - * AddLocaleResourceItemResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!AddLocaleResourceItemResponse.openapiRequiredFields.isEmpty()) { // has required fields - // but JSON element is - // null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in AddLocaleResourceItemResponse is not found in the empty JSON string", - AddLocaleResourceItemResponse.openapiRequiredFields.toString())); -======== - * AddOpenSearchSnapshotRepositoryResponse - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!AddOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.isEmpty()) { // has - // required - // fields but - // JSON - // element is - // null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in AddOpenSearchSnapshotRepositoryResponse is not found in the empty JSON string", - AddOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.toString())); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - } - } - - Set> entries = jsonElement.getAsJsonObject().entrySet(); - // check to see if the JSON string contains additional fields - for (Map.Entry entry : entries) { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - if (!AddLocaleResourceItemResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `AddLocaleResourceItemResponse` properties. JSON: %s", -======== - if (!AddOpenSearchSnapshotRepositoryResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `AddOpenSearchSnapshotRepositoryResponse` properties. JSON: %s", ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - entry.getKey(), jsonElement.toString())); - } - } - JsonObject jsonObj = jsonElement.getAsJsonObject(); - if ((jsonObj.get("itemKey") != null && !jsonObj.get("itemKey").isJsonNull()) - && !jsonObj.get("itemKey").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `itemKey` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("itemKey").toString())); - } - } - - public static class CustomTypeAdapterFactory implements TypeAdapterFactory { - @SuppressWarnings("unchecked") - @Override - public TypeAdapter create(Gson gson, TypeToken type) { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - if (!AddLocaleResourceItemResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AddLocaleResourceItemResponse' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(AddLocaleResourceItemResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AddLocaleResourceItemResponse value) throws IOException { -======== - if (!AddOpenSearchSnapshotRepositoryResponse.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AddOpenSearchSnapshotRepositoryResponse' and its - // subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = gson - .getDelegateAdapter(this, TypeToken.get(AddOpenSearchSnapshotRepositoryResponse.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AddOpenSearchSnapshotRepositoryResponse value) - throws IOException { ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); - elementAdapter.write(out, obj); - } - - @Override -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - public AddLocaleResourceItemResponse read(JsonReader in) throws IOException { -======== - public AddOpenSearchSnapshotRepositoryResponse read(JsonReader in) throws IOException { ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - JsonElement jsonElement = elementAdapter.read(in); - validateJsonElement(jsonElement); - return thisAdapter.fromJsonTree(jsonElement); - } - - }.nullSafe(); - } - } - - /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemResponse.java - * Create an instance of AddLocaleResourceItemResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddLocaleResourceItemResponse - * @throws IOException if the JSON string is invalid with respect to AddLocaleResourceItemResponse - */ - public static AddLocaleResourceItemResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AddLocaleResourceItemResponse.class); - } - - /** - * Convert an instance of AddLocaleResourceItemResponse to an JSON string -======== - * Create an instance of AddOpenSearchSnapshotRepositoryResponse given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddOpenSearchSnapshotRepositoryResponse - * @throws IOException if the JSON string is invalid with respect to - * AddOpenSearchSnapshotRepositoryResponse - */ - public static AddOpenSearchSnapshotRepositoryResponse fromJson(String jsonString) - throws IOException { - return JSON.getGson().fromJson(jsonString, AddOpenSearchSnapshotRepositoryResponse.class); - } - - /** - * Convert an instance of AddOpenSearchSnapshotRepositoryResponse to an JSON string ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponse.java - * - * @return JSON string - */ - public String toJson() { - return JSON.getGson().toJson(this); - } -} - diff --git a/src/main/java/com/formkiq/client/model/AddQueueRequest.java b/src/main/java/com/formkiq/client/model/AddQueueRequest.java index d69018ca2..39fea8eb3 100644 --- a/src/main/java/com/formkiq/client/model/AddQueueRequest.java +++ b/src/main/java/com/formkiq/client/model/AddQueueRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -164,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 6eaec5301..a93928ac1 100644 --- a/src/main/java/com/formkiq/client/model/AddQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/AddQueueResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 29275ff3e..57372a45a 100644 --- a/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/AddReindexDocumentRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 d2b51cb00..db2ee366d 100644 --- a/src/main/java/com/formkiq/client/model/AddResourceItem.java +++ b/src/main/java/com/formkiq/client/model/AddResourceItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 fc847cfeb..1a62bfc5d 100644 --- a/src/main/java/com/formkiq/client/model/AddResponse.java +++ b/src/main/java/com/formkiq/client/model/AddResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 bd7bbc5d4..c1b79efbc 100644 --- a/src/main/java/com/formkiq/client/model/AddRule.java +++ b/src/main/java/com/formkiq/client/model/AddRule.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -257,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())); } @@ -267,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())); } @@ -275,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 01b77fbe0..2a9b0f7d4 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleRequest.java +++ b/src/main/java/com/formkiq/client/model/AddRuleRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 f2691c283..cb840e8e5 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/AddRuleResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 cb310bb07..41d227022 100644 --- a/src/main/java/com/formkiq/client/model/AddRuleset.java +++ b/src/main/java/com/formkiq/client/model/AddRuleset.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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())); } @@ -247,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 93d9047fd..6d2dd2b23 100644 --- a/src/main/java/com/formkiq/client/model/AddRulesetRequest.java +++ b/src/main/java/com/formkiq/client/model/AddRulesetRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 55e49a92a..9646c45f0 100644 --- a/src/main/java/com/formkiq/client/model/AddRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/AddRulesetResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 1cd56eaf4..5838dc3c3 100644 --- a/src/main/java/com/formkiq/client/model/AddShare.java +++ b/src/main/java/com/formkiq/client/model/AddShare.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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 858d288be..d150c507b 100644 --- a/src/main/java/com/formkiq/client/model/AddSite.java +++ b/src/main/java/com/formkiq/client/model/AddSite.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -199,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())); } @@ -209,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())); } @@ -217,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 52f343386..c88aadf5a 100644 --- a/src/main/java/com/formkiq/client/model/AddSiteRequest.java +++ b/src/main/java/com/formkiq/client/model/AddSiteRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 b695be0a7..e87648f92 100644 --- a/src/main/java/com/formkiq/client/model/AddTask.java +++ b/src/main/java/com/formkiq/client/model/AddTask.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -384,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())); } @@ -394,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())); } @@ -403,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())); } @@ -426,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 5d8ecc3b2..3cbaaf23b 100644 --- a/src/main/java/com/formkiq/client/model/AddTaskRequest.java +++ b/src/main/java/com/formkiq/client/model/AddTaskRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 e541beed7..1aabf2d9e 100644 --- a/src/main/java/com/formkiq/client/model/AddTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/AddTaskResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 cbdbaeaee..65c561cdd 100644 --- a/src/main/java/com/formkiq/client/model/AddUser.java +++ b/src/main/java/com/formkiq/client/model/AddUser.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -173,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())); } @@ -183,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())); } @@ -191,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 5e301dcd3..57d63e19d 100644 --- a/src/main/java/com/formkiq/client/model/AddUserRequest.java +++ b/src/main/java/com/formkiq/client/model/AddUserRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 3fac9bfbe..e282e609a 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -237,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())); } @@ -247,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())); } @@ -256,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())); } @@ -284,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 9c4ceab2b..650eaa059 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookResponse.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 6ed3ce436..3a0052cdd 100644 --- a/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWebhookTagRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -227,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 a7f129ec9..b96716a0f 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -238,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())); } @@ -248,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())); } @@ -257,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())); } @@ -278,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 d589f8a07..0621e4b06 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 3e695a820..fb6743f57 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStep.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStep.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -240,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())); } @@ -250,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())); } @@ -258,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())); } @@ -275,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 21fc00457..2202a4f67 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStepDecision.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -173,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())); } @@ -183,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())); } @@ -192,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 bb4446373..6b7c99339 100644 --- a/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java +++ b/src/main/java/com/formkiq/client/model/AddWorkflowStepQueue.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -202,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 e7a9bc226..b64653050 100644 --- a/src/main/java/com/formkiq/client/model/ApiKey.java +++ b/src/main/java/com/formkiq/client/model/ApiKey.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -345,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())); } @@ -355,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())); } @@ -363,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 57d08a8c9..5ed4dc45f 100644 --- a/src/main/java/com/formkiq/client/model/Attribute.java +++ b/src/main/java/com/formkiq/client/model/Attribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -228,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())); } @@ -238,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())); } @@ -250,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 9a2c7ab21..bf01467f0 100644 --- a/src/main/java/com/formkiq/client/model/AttributeDataType.java +++ b/src/main/java/com/formkiq/client/model/AttributeDataType.java @@ -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/AttributeSchemaCompositeKey.java b/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java index a1b9dceb8..af01d9086 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaCompositeKey.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -175,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 13950ff37..bb7997b86 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaOptional.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -283,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())); } @@ -293,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())); } @@ -301,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 cf810f76e..12d7932ca 100644 --- a/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java +++ b/src/main/java/com/formkiq/client/model/AttributeSchemaRequired.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -347,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())); } @@ -357,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())); } @@ -365,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 4991158f8..ab669690a 100644 --- a/src/main/java/com/formkiq/client/model/AttributeType.java +++ b/src/main/java/com/formkiq/client/model/AttributeType.java @@ -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/AttributeValueType.java b/src/main/java/com/formkiq/client/model/AttributeValueType.java index db7b02187..1a80be5f4 100644 --- a/src/main/java/com/formkiq/client/model/AttributeValueType.java +++ b/src/main/java/com/formkiq/client/model/AttributeValueType.java @@ -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/CaseStatus.java b/src/main/java/com/formkiq/client/model/CaseStatus.java index 81005fbab..fd7d982df 100644 --- a/src/main/java/com/formkiq/client/model/CaseStatus.java +++ b/src/main/java/com/formkiq/client/model/CaseStatus.java @@ -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 9e98a08b9..19e3e97e6 100644 --- a/src/main/java/com/formkiq/client/model/ChecksumType.java +++ b/src/main/java/com/formkiq/client/model/ChecksumType.java @@ -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 274ba409c..060aa1039 100644 --- a/src/main/java/com/formkiq/client/model/ChildDocument.java +++ b/src/main/java/com/formkiq/client/model/ChildDocument.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -473,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())); } @@ -483,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())); } @@ -492,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 79d9b32f4..bc27ff661 100644 --- a/src/main/java/com/formkiq/client/model/Classification.java +++ b/src/main/java/com/formkiq/client/model/Classification.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -228,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())); } @@ -238,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())); } @@ -246,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 f48b45771..43f2a46d6 100644 --- a/src/main/java/com/formkiq/client/model/ClassificationSummary.java +++ b/src/main/java/com/formkiq/client/model/ClassificationSummary.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -228,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())); } @@ -238,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())); } @@ -246,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 2010fb0ef..85997f0a1 100644 --- a/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteApiKeyResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 228371164..b8c1d2a51 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseDocumentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 76419cd60..2f889aa1e 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseNigoDocumentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 e1d7eff46..9ca033741 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseNigoResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 c309d59f5..7dac16a8b 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 adf8d6bc1..1adfba64d 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseTaskDocumentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 ad4319ed2..f25d96804 100644 --- a/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteCaseTaskResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 8edcbc845..94d57fc26 100644 --- a/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteFolderResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 6d4910c20..a74f53a0b 100644 --- a/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 014b22cc8..208fb8854 100644 --- a/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteIndicesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 f30ca9b99..64e997978 100644 --- a/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteQueueResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 dc9905ebe..3fe551643 100644 --- a/src/main/java/com/formkiq/client/model/DeleteResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 6f8783f34..9d66baa4e 100644 --- a/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteRuleResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 f5580dce6..4396539fd 100644 --- a/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteRulesetResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 cca92f3ff..502b1da97 100644 --- a/src/main/java/com/formkiq/client/model/DeleteShareResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteShareResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 70381903d..aaa2202b1 100644 --- a/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/DeleteWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 50a39892a..0e1b56d73 100644 --- a/src/main/java/com/formkiq/client/model/Document.java +++ b/src/main/java/com/formkiq/client/model/Document.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -621,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())); } @@ -631,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())); } @@ -639,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())); } @@ -691,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())); } @@ -737,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 24c4c0715..5dc2c9304 100644 --- a/src/main/java/com/formkiq/client/model/DocumentAction.java +++ b/src/main/java/com/formkiq/client/model/DocumentAction.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,9 +504,9 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet( - Arrays.asList("status", "type", "queueId", "workflowId", "workflowStepId", "message", - "userId", "insertedDate", "startDate", "completedDate", "parameters", "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(0); @@ -465,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())); } @@ -475,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())); } @@ -491,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 98aad84c1..d4d99dea4 100644 --- a/src/main/java/com/formkiq/client/model/DocumentActionStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentActionStatus.java @@ -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 8b6946aac..4cae89888 100644 --- a/src/main/java/com/formkiq/client/model/DocumentActionType.java +++ b/src/main/java/com/formkiq/client/model/DocumentActionType.java @@ -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; @@ -58,7 +60,11 @@ public enum DocumentActionType { EVENTBRIDGE("EVENTBRIDGE"), - RESIZE("RESIZE"); + 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 ea88ba889..b35115d81 100644 --- a/src/main/java/com/formkiq/client/model/DocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -383,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())); } @@ -393,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())); } @@ -401,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 89a611db8..62969687f 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -211,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())); } @@ -221,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())); } @@ -230,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(); @@ -245,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())); } @@ -257,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 1c0cf2b6b..df6695988 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextAttributeEq.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -202,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())); } @@ -212,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())); } @@ -220,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 19d43405d..e08f96267 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -175,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())); } @@ -185,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())); } @@ -194,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 3f52eb3f6..ebdd8314a 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -157,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())); } @@ -167,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())); } @@ -178,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 b9a698aa5..94eaadbf3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextSearch.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -247,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())); } @@ -257,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())); } @@ -265,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())); } @@ -274,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())); } @@ -290,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 aa22a7162..20272c5c1 100644 --- a/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentFulltextTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -228,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 58907aa67..557037c0c 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateDataSource.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -199,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())); } @@ -209,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())); } @@ -218,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 e7d930b2d..f68976560 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocument.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -178,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())); } @@ -188,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())); } @@ -197,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 8e9b67eef..36d509ff6 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateInsertDocumentPosition.java @@ -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 0ede0b85f..23a967388 100644 --- a/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java +++ b/src/main/java/com/formkiq/client/model/DocumentGenerateOutputType.java @@ -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 4fe4e2e54..0892b89fa 100644 --- a/src/main/java/com/formkiq/client/model/DocumentId.java +++ b/src/main/java/com/formkiq/client/model/DocumentId.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -191,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 359113ab6..f8aa7a4d0 100644 --- a/src/main/java/com/formkiq/client/model/DocumentMetadata.java +++ b/src/main/java/com/formkiq/client/model/DocumentMetadata.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -227,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 dbfdfc537..4e160720f 100644 --- a/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java +++ b/src/main/java/com/formkiq/client/model/DocumentRelationshipType.java @@ -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 64d7dd3b4..d990800b3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearch.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearch.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -339,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())); } @@ -349,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())); } @@ -357,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())); } @@ -374,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())); } @@ -394,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())); } @@ -408,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 02987f4bf..c441b7473 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -264,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())); } @@ -274,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())); } @@ -283,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())); } @@ -313,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 4fb179444..78f9c0fec 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMatchAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -231,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())); } @@ -241,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())); } @@ -249,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 2a2edbcb3..ac0b13a41 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMatchTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -199,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())); } @@ -209,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())); } @@ -217,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 672243718..4f11fdff3 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchMeta.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -307,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())); } @@ -317,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())); } @@ -325,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())); } @@ -354,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 be400f986..e1845168a 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchRange.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchRange.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -200,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())); } @@ -210,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())); } @@ -219,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 60ca10cad..8db642247 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -175,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())); } @@ -185,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())); } @@ -194,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 b7ac4c85d..528d70868 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -211,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())); } @@ -221,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())); } @@ -229,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())); } @@ -244,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 9373a03ff..e3a7c6e89 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -264,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())); } @@ -274,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())); } @@ -283,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 340fd150c..89fb3cc18 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSearchTags.java +++ b/src/main/java/com/formkiq/client/model/DocumentSearchTags.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -227,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())); } @@ -237,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())); } @@ -246,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())); } @@ -269,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 bda552b8c..28ea1d37c 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSync.java +++ b/src/main/java/com/formkiq/client/model/DocumentSync.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -311,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())); } @@ -321,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())); } @@ -341,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 d91229c03..e059372cc 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncService.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncService.java @@ -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 8c6d699b2..d44988808 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncStatus.java @@ -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 0101bed20..5705b59d5 100644 --- a/src/main/java/com/formkiq/client/model/DocumentSyncType.java +++ b/src/main/java/com/formkiq/client/model/DocumentSyncType.java @@ -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 ed68f56cf..8e4a9314c 100644 --- a/src/main/java/com/formkiq/client/model/DocumentTag.java +++ b/src/main/java/com/formkiq/client/model/DocumentTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -318,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())); } @@ -328,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())); } @@ -336,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 339191f3d..17795544b 100644 --- a/src/main/java/com/formkiq/client/model/DocumentVersion.java +++ b/src/main/java/com/formkiq/client/model/DocumentVersion.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -337,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())); } @@ -347,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())); } @@ -355,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())); } @@ -371,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 0bdcddfb6..0dc1c2a98 100644 --- a/src/main/java/com/formkiq/client/model/DocumentWorkflow.java +++ b/src/main/java/com/formkiq/client/model/DocumentWorkflow.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -282,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())); } @@ -292,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())); } @@ -300,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())); } @@ -328,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 3062065e4..3277c0b11 100644 --- a/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java +++ b/src/main/java/com/formkiq/client/model/DocumentWorkflowStatus.java @@ -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 bcbeef164..65d800673 100644 --- a/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java +++ b/src/main/java/com/formkiq/client/model/DocumentsCompressRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -155,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())); } @@ -165,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())); } @@ -174,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(); @@ -185,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 cefe50e8c..aa7fdd437 100644 --- a/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java +++ b/src/main/java/com/formkiq/client/model/DocumentsCompressResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 da613b7fe..5c113e583 100644 --- a/src/main/java/com/formkiq/client/model/DocusignConfig.java +++ b/src/main/java/com/formkiq/client/model/DocusignConfig.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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())); } @@ -247,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 05bd37ec0..7e7f17ca9 100644 --- a/src/main/java/com/formkiq/client/model/DocusignEnvironment.java +++ b/src/main/java/com/formkiq/client/model/DocusignEnvironment.java @@ -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 919231238..e30e2ca9d 100644 --- a/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java +++ b/src/main/java/com/formkiq/client/model/DocusignInpersonSigner.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -339,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())); } @@ -349,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())); } @@ -358,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 a13fe5f68..840355b95 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotification.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotification.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -208,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())); } @@ -218,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())); } @@ -227,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 73ec27d55..0b3211507 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotificationExpirations.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -207,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())); } @@ -217,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())); } @@ -225,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 14fa1bc19..e5e0a1b01 100644 --- a/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java +++ b/src/main/java/com/formkiq/client/model/DocusignNotificationReminders.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -206,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())); } @@ -216,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())); } @@ -224,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 af56c98d6..f4660a45e 100644 --- a/src/main/java/com/formkiq/client/model/DocusignRecipientView.java +++ b/src/main/java/com/formkiq/client/model/DocusignRecipientView.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -330,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())); } @@ -340,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())); } @@ -348,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 17942bd94..9706eb220 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java +++ b/src/main/java/com/formkiq/client/model/DocusignSignHereTabs.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -342,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())); } @@ -352,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())); } @@ -360,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 90c3142dc..b53338f09 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSigner.java +++ b/src/main/java/com/formkiq/client/model/DocusignSigner.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -310,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())); } @@ -320,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())); } @@ -329,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 9f2245c29..2628329ed 100644 --- a/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java +++ b/src/main/java/com/formkiq/client/model/DocusignSigningTabs.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -157,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())); } @@ -167,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())); } @@ -178,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 index 9b40f7699..dfe6b644a 100644 --- a/src/main/java/com/formkiq/client/model/Entity.java +++ b/src/main/java/com/formkiq/client/model/Entity.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * Entity */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -264,7 +266,7 @@ private String toIndentedString(Object o) { 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( + 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())); } @@ -274,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 (!Entity.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -282,25 +284,25 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("entityId") != null && !jsonObj.get("entityId").isJsonNull()) && !jsonObj.get("entityId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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( + 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( + 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())); } @@ -309,7 +311,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/EntityAttribute.java b/src/main/java/com/formkiq/client/model/EntityAttribute.java index 828789af8..6caab5946 100644 --- a/src/main/java/com/formkiq/client/model/EntityAttribute.java +++ b/src/main/java/com/formkiq/client/model/EntityAttribute.java @@ -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 @@ * EntityAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -329,7 +331,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!EntityAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -339,7 +341,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -347,27 +349,27 @@ 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())); } diff --git a/src/main/java/com/formkiq/client/model/EntityType.java b/src/main/java/com/formkiq/client/model/EntityType.java index dac4b716f..c4b107b3d 100644 --- a/src/main/java/com/formkiq/client/model/EntityType.java +++ b/src/main/java/com/formkiq/client/model/EntityType.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * EntityType */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -228,7 +230,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!EntityType.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is // null - throw new IllegalArgumentException(String.format( + 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())); } @@ -238,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 (!EntityType.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -246,7 +248,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("entityTypeId") != null && !jsonObj.get("entityTypeId").isJsonNull()) && !jsonObj.get("entityTypeId").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -256,13 +258,13 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } 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("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/EntityTypeNamespace.java b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java index 0e1d1ce6b..8cbf3002f 100644 --- a/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java +++ b/src/main/java/com/formkiq/client/model/EntityTypeNamespace.java @@ -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/Error.java b/src/main/java/com/formkiq/client/model/Error.java index e2b5de62d..41e059e6d 100644 --- a/src/main/java/com/formkiq/client/model/Error.java +++ b/src/main/java/com/formkiq/client/model/Error.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -170,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())); } } @@ -180,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())); } @@ -188,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 5a7577913..ec413231e 100644 --- a/src/main/java/com/formkiq/client/model/ErrorsResponse.java +++ b/src/main/java/com/formkiq/client/model/ErrorsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -177,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 index 8d78e86d8..582721b45 100644 --- a/src/main/java/com/formkiq/client/model/FolderPermission.java +++ b/src/main/java/com/formkiq/client/model/FolderPermission.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * FolderPermission */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -184,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!FolderPermission.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -194,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 (!FolderPermission.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -202,14 +204,14 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("roleName") != null && !jsonObj.get("roleName").isJsonNull()) && !jsonObj.get("roleName").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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/FolderPermissionType.java b/src/main/java/com/formkiq/client/model/FolderPermissionType.java index 4c1d579e1..9604d0a2a 100644 --- a/src/main/java/com/formkiq/client/model/FolderPermissionType.java +++ b/src/main/java/com/formkiq/client/model/FolderPermissionType.java @@ -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/FulltextAttribute.java b/src/main/java/com/formkiq/client/model/FulltextAttribute.java index 08efded80..76af53bc8 100644 --- a/src/main/java/com/formkiq/client/model/FulltextAttribute.java +++ b/src/main/java/com/formkiq/client/model/FulltextAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -247,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())); } @@ -257,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())); } @@ -266,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 61c03eef1..a60f83117 100644 --- a/src/main/java/com/formkiq/client/model/FulltextSearchItem.java +++ b/src/main/java/com/formkiq/client/model/FulltextSearchItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -583,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())); } @@ -593,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())); } @@ -601,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())); } @@ -659,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 index c41e79035..805573338 100644 --- a/src/main/java/com/formkiq/client/model/GetActivitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetActivitesResponse.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * GetActivitesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -183,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetActivitesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -193,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 (!GetActivitesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -201,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())); } @@ -210,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayactivities != null) { // ensure the json data is an array if (!jsonObj.get("activities").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java b/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java index b15d6a8fa..2589e8dba 100644 --- a/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java +++ b/src/main/java/com/formkiq/client/model/GetApiKeysResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 0ce9c2cfd..49aa4fd24 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributeAllowedValuesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -201,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())); } @@ -211,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())); } @@ -220,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 acd46b982..616601d7b 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributeResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 c22741bad..e78e29e99 100644 --- a/src/main/java/com/formkiq/client/model/GetAttributesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetAttributesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 a5fe42372..032152c2b 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseDocumentsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 a555141e7..7314ccdde 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseNigoResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 db3b13ef5..118878a32 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseNigosResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 c4b879b2c..acf2665da 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 8cea079f8..4eaba3981 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseTaskResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 db42c546b..d8875a438 100644 --- a/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCaseTasksResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 cdb7eba76..2b04ae6a2 100644 --- a/src/main/java/com/formkiq/client/model/GetCasesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetCasesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 e5c03250a..a40a24c22 100644 --- a/src/main/java/com/formkiq/client/model/GetClassificationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetClassificationResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -147,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())); } @@ -157,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 148deddbe..d067aa4ab 100644 --- a/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetClassificationsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -186,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())); } @@ -196,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())); } @@ -204,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())); } @@ -213,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 bb07139ac..a626bda29 100644 --- a/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java +++ b/src/main/java/com/formkiq/client/model/GetConfigurationResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -343,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())); } @@ -353,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())); } @@ -361,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 fd630be4c..2758bdc68 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentActionsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -184,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())); } @@ -194,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())); } @@ -202,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())); } @@ -211,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 9143761e9..970e4e797 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributeResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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 caedce223..7e00c4bdd 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentAttributesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -186,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())); } @@ -196,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())); } @@ -204,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())); } @@ -213,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 c385b27a1..89a243891 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentContentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -227,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())); } @@ -237,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())); } @@ -245,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 d98b16862..1b59cfbca 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -616,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())); } @@ -626,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())); } @@ -634,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 7122a5542..c3181fc2b 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentOcrResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -446,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())); } @@ -456,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())); } @@ -465,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())); } @@ -474,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())); } @@ -490,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())); } @@ -503,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 bec73bbb5..3d0b3e18d 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -605,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())); } @@ -615,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())); } @@ -624,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())); } @@ -683,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())); } @@ -710,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())); } @@ -724,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())); } @@ -733,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 51053656f..89d060f46 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentSyncResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 243ec0dc0..9e703db4e 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentTagResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -318,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())); } @@ -328,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())); } @@ -336,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 615979d30..f3967f453 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentTagsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -210,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())); } @@ -220,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())); } @@ -228,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())); } @@ -243,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 6c2c5d626..54975804f 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentUrlResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -209,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())); } @@ -219,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())); } @@ -227,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 18f184360..e7d6afb7c 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentVersionsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -184,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())); } @@ -194,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())); } @@ -202,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())); } @@ -211,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 04ec0421e..8600b6f81 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -147,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())); } @@ -157,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 aaf8739cf..e4d7e3d90 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentWorkflowsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -185,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())); } @@ -195,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())); } @@ -206,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())); } @@ -219,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 0259ef3c3..1762f6ade 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetDocumentsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -210,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())); } @@ -220,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())); } @@ -228,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())); } @@ -243,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 index d981bb469..aa90e9e42 100644 --- a/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntitiesResponse.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * GetEntitiesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -183,7 +185,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetEntitiesResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -193,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 (!GetEntitiesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -201,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())); } @@ -210,7 +212,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayentities != null) { // ensure the json data is an array if (!jsonObj.get("entities").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/GetEntityResponse.java b/src/main/java/com/formkiq/client/model/GetEntityResponse.java index 6e25e6caa..568d65d5b 100644 --- a/src/main/java/com/formkiq/client/model/GetEntityResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityResponse.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java * * 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 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java -======== +import java.util.Locale; import com.formkiq.client.model.Entity; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -57,32 +51,16 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - * 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") -public class AddLocaleRequest { - public static final String SERIALIZED_NAME_LOCALE = "locale"; - @SerializedName(SERIALIZED_NAME_LOCALE) - @javax.annotation.Nullable - private String locale; - - public AddLocaleRequest() {} - - public AddLocaleRequest locale(@javax.annotation.Nullable String locale) { - this.locale = locale; -======== * GetEntityResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -93,24 +71,10 @@ public GetEntityResponse() {} public GetEntityResponse entity(@javax.annotation.Nullable Entity entity) { this.entity = entity; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java return this; } /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - * Name of Locale - * - * @return locale - */ - @javax.annotation.Nullable - public String getLocale() { - return locale; - } - - public void setLocale(@javax.annotation.Nullable String locale) { - this.locale = locale; -======== * Get entity * * @return entity @@ -122,7 +86,6 @@ public Entity getEntity() { public void setEntity(@javax.annotation.Nullable Entity entity) { this.entity = entity; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java } @@ -135,34 +98,20 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - AddLocaleRequest addLocaleRequest = (AddLocaleRequest) o; - return Objects.equals(this.locale, addLocaleRequest.locale); -======== GetEntityResponse getEntityResponse = (GetEntityResponse) o; return Objects.equals(this.entity, getEntityResponse.entity); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java } @Override public int hashCode() { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - return Objects.hash(locale); -======== return Objects.hash(entity); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java } @Override public String toString() { StringBuilder sb = new StringBuilder(); -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - sb.append("class AddLocaleRequest {\n"); - sb.append(" locale: ").append(toIndentedString(locale)).append("\n"); -======== sb.append("class GetEntityResponse {\n"); sb.append(" entity: ").append(toIndentedString(entity)).append("\n"); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java sb.append("}"); return sb.toString(); } @@ -183,12 +132,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - openapiFields = new HashSet(); - openapiFields.add("locale"); -======== openapiFields = new HashSet(Arrays.asList("entity")); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -198,57 +142,31 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - * @throws IOException if the JSON Element is invalid with respect to AddLocaleRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!AddLocaleRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON - // element is null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in AddLocaleRequest is not found in the empty JSON string", - AddLocaleRequest.openapiRequiredFields.toString())); -======== * @throws IOException if the JSON Element is invalid with respect to GetEntityResponse */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { if (!GetEntityResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - if (!AddLocaleRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `AddLocaleRequest` properties. JSON: %s", -======== if (!GetEntityResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetEntityResponse` properties. JSON: %s", ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - if ((jsonObj.get("locale") != null && !jsonObj.get("locale").isJsonNull()) - && !jsonObj.get("locale").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( - "Expected the field `locale` to be a primitive type in the JSON string but got `%s`", - jsonObj.get("locale").toString())); -======== // validate the optional field `entity` if (jsonObj.get("entity") != null && !jsonObj.get("entity").isJsonNull()) { Entity.validateJsonElement(jsonObj.get("entity")); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java } } @@ -256,18 +174,6 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - if (!AddLocaleRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AddLocaleRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(AddLocaleRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AddLocaleRequest value) throws IOException { -======== if (!GetEntityResponse.class.isAssignableFrom(type.getRawType())) { return null; // this class only serializes 'GetEntityResponse' and its subtypes } @@ -278,17 +184,12 @@ public void write(JsonWriter out, AddLocaleRequest value) throws IOException { return (TypeAdapter) new TypeAdapter() { @Override public void write(JsonWriter out, GetEntityResponse value) throws IOException { ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - public AddLocaleRequest read(JsonReader in) throws IOException { -======== public GetEntityResponse read(JsonReader in) throws IOException { ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -299,20 +200,6 @@ public GetEntityResponse read(JsonReader in) throws IOException { } /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleRequest.java - * Create an instance of AddLocaleRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddLocaleRequest - * @throws IOException if the JSON string is invalid with respect to AddLocaleRequest - */ - public static AddLocaleRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AddLocaleRequest.class); - } - - /** - * Convert an instance of AddLocaleRequest to an JSON string -======== * Create an instance of GetEntityResponse given an JSON string * * @param jsonString JSON string @@ -325,7 +212,6 @@ public static GetEntityResponse fromJson(String jsonString) throws IOException { /** * Convert an instance of GetEntityResponse to an JSON string ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityResponse.java * * @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 index 1e7a0b588..6b59b7a94 100644 --- a/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityTypeResponse.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * GetEntityTypeResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -146,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!GetEntityTypeResponse.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -156,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 (!GetEntityTypeResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java index a865e1a5c..2f2a27990 100644 --- a/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -25,11 +21,8 @@ package com.formkiq.client.model; import java.util.Objects; -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java -import com.formkiq.client.model.AddResourceItem; -======== +import java.util.Locale; import com.formkiq.client.model.EntityType; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -60,33 +53,16 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - * 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") -public class AddLocaleResourceItemRequest { - public static final String SERIALIZED_NAME_RESOURCE_ITEM = "resourceItem"; - @SerializedName(SERIALIZED_NAME_RESOURCE_ITEM) - @javax.annotation.Nullable - private AddResourceItem resourceItem; - - public AddLocaleResourceItemRequest() {} - - public AddLocaleResourceItemRequest resourceItem( - @javax.annotation.Nullable AddResourceItem resourceItem) { - this.resourceItem = resourceItem; -======== * GetEntityTypesResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -102,24 +78,10 @@ public GetEntityTypesResponse() {} public GetEntityTypesResponse next(@javax.annotation.Nullable String next) { this.next = next; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java return this; } /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - * Get resourceItem - * - * @return resourceItem - */ - @javax.annotation.Nullable - public AddResourceItem getResourceItem() { - return resourceItem; - } - - public void setResourceItem(@javax.annotation.Nullable AddResourceItem resourceItem) { - this.resourceItem = resourceItem; -======== * Next page of results token * * @return next @@ -160,7 +122,6 @@ public List getEntityTypes() { public void setEntityTypes(@javax.annotation.Nullable List entityTypes) { this.entityTypes = entityTypes; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java } @@ -173,36 +134,22 @@ public boolean equals(Object o) { if (o == null || getClass() != o.getClass()) { return false; } -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - AddLocaleResourceItemRequest addLocaleResourceItemRequest = (AddLocaleResourceItemRequest) o; - return Objects.equals(this.resourceItem, addLocaleResourceItemRequest.resourceItem); -======== GetEntityTypesResponse getEntityTypesResponse = (GetEntityTypesResponse) o; return Objects.equals(this.next, getEntityTypesResponse.next) && Objects.equals(this.entityTypes, getEntityTypesResponse.entityTypes); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java } @Override public int hashCode() { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - return Objects.hash(resourceItem); -======== return Objects.hash(next, entityTypes); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java } @Override public String toString() { StringBuilder sb = new StringBuilder(); -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - sb.append("class AddLocaleResourceItemRequest {\n"); - sb.append(" resourceItem: ").append(toIndentedString(resourceItem)).append("\n"); -======== sb.append("class GetEntityTypesResponse {\n"); sb.append(" next: ").append(toIndentedString(next)).append("\n"); sb.append(" entityTypes: ").append(toIndentedString(entityTypes)).append("\n"); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java sb.append("}"); return sb.toString(); } @@ -223,12 +170,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - openapiFields = new HashSet(); - openapiFields.add("resourceItem"); -======== openapiFields = new HashSet(Arrays.asList("next", "entityTypes")); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -238,55 +180,31 @@ private String toIndentedString(Object o) { * Validates the JSON Element and throws an exception if issues found * * @param jsonElement JSON Element -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - * @throws IOException if the JSON Element is invalid with respect to AddLocaleResourceItemRequest - */ - public static void validateJsonElement(JsonElement jsonElement) throws IOException { - if (jsonElement == null) { - if (!AddLocaleResourceItemRequest.openapiRequiredFields.isEmpty()) { // has required fields - // but JSON element is - // null - throw new IllegalArgumentException(String.format( - "The required field(s) %s in AddLocaleResourceItemRequest is not found in the empty JSON string", - AddLocaleResourceItemRequest.openapiRequiredFields.toString())); -======== * @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( + 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())); ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java } } Set> entries = jsonElement.getAsJsonObject().entrySet(); // check to see if the JSON string contains additional fields for (Map.Entry entry : entries) { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - if (!AddLocaleResourceItemRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( - "The field `%s` in the JSON string is not defined in the `AddLocaleResourceItemRequest` properties. JSON: %s", -======== if (!GetEntityTypesResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + throw new IllegalArgumentException(String.format(Locale.ROOT, "The field `%s` in the JSON string is not defined in the `GetEntityTypesResponse` properties. JSON: %s", ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java entry.getKey(), jsonElement.toString())); } } JsonObject jsonObj = jsonElement.getAsJsonObject(); -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - // validate the optional field `resourceItem` - if (jsonObj.get("resourceItem") != null && !jsonObj.get("resourceItem").isJsonNull()) { - AddResourceItem.validateJsonElement(jsonObj.get("resourceItem")); -======== 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())); } @@ -295,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayentityTypes != null) { // ensure the json data is an array if (!jsonObj.get("entityTypes").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -305,7 +223,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EntityType.validateJsonElement(jsonArrayentityTypes.get(i)); } ; } ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java } } @@ -313,18 +230,6 @@ public static class CustomTypeAdapterFactory implements TypeAdapterFactory { @SuppressWarnings("unchecked") @Override public TypeAdapter create(Gson gson, TypeToken type) { -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - if (!AddLocaleResourceItemRequest.class.isAssignableFrom(type.getRawType())) { - return null; // this class only serializes 'AddLocaleResourceItemRequest' and its subtypes - } - final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); - final TypeAdapter thisAdapter = - gson.getDelegateAdapter(this, TypeToken.get(AddLocaleResourceItemRequest.class)); - - return (TypeAdapter) new TypeAdapter() { - @Override - public void write(JsonWriter out, AddLocaleResourceItemRequest value) throws IOException { -======== if (!GetEntityTypesResponse.class.isAssignableFrom(type.getRawType())) { return null; // this class only serializes 'GetEntityTypesResponse' and its subtypes } @@ -335,17 +240,12 @@ public void write(JsonWriter out, AddLocaleResourceItemRequest value) throws IOE return (TypeAdapter) new TypeAdapter() { @Override public void write(JsonWriter out, GetEntityTypesResponse value) throws IOException { ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - public AddLocaleResourceItemRequest read(JsonReader in) throws IOException { -======== public GetEntityTypesResponse read(JsonReader in) throws IOException { ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -356,20 +256,6 @@ public GetEntityTypesResponse read(JsonReader in) throws IOException { } /** -<<<<<<<< HEAD:src/main/java/com/formkiq/client/model/AddLocaleResourceItemRequest.java - * Create an instance of AddLocaleResourceItemRequest given an JSON string - * - * @param jsonString JSON string - * @return An instance of AddLocaleResourceItemRequest - * @throws IOException if the JSON string is invalid with respect to AddLocaleResourceItemRequest - */ - public static AddLocaleResourceItemRequest fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, AddLocaleResourceItemRequest.class); - } - - /** - * Convert an instance of AddLocaleResourceItemRequest to an JSON string -======== * Create an instance of GetEntityTypesResponse given an JSON string * * @param jsonString JSON string @@ -382,7 +268,6 @@ public static GetEntityTypesResponse fromJson(String jsonString) throws IOExcept /** * Convert an instance of GetEntityTypesResponse to an JSON string ->>>>>>>> 481d60de (V1.17.0 (#43)):src/main/java/com/formkiq/client/model/GetEntityTypesResponse.java * * @return JSON string */ diff --git a/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java b/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java index 06d5789e3..3da53cdce 100644 --- a/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java +++ b/src/main/java/com/formkiq/client/model/GetExaminePdfResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 b320dbff1..7cecc7eae 100644 --- a/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java +++ b/src/main/java/com/formkiq/client/model/GetExaminePdfUrlResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 index c26dd2a24..e26c2c936 100644 --- a/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetFolderPermissionsResponse.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * GetFolderPermissionsResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -158,7 +160,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetFolderPermissionsResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + 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())); } @@ -168,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 (!GetFolderPermissionsResponse.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -179,7 +181,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayroles != null) { // ensure the json data is an array if (!jsonObj.get("roles").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/GetFoldersResponse.java b/src/main/java/com/formkiq/client/model/GetFoldersResponse.java index a999aea2f..0f8ae3178 100644 --- a/src/main/java/com/formkiq/client/model/GetFoldersResponse.java +++ b/src/main/java/com/formkiq/client/model/GetFoldersResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -211,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())); } @@ -221,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())); } @@ -229,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())); } @@ -244,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 7ef13c7a4..7173ef4f5 100644 --- a/src/main/java/com/formkiq/client/model/GetGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetGroupResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 bce57c526..77eae3457 100644 --- a/src/main/java/com/formkiq/client/model/GetGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetGroupsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 b620af825..816ab9954 100644 --- a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -149,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())); } @@ -159,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 6642281a7..ec83f4673 100644 --- a/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocaleResourceItemsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -187,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())); } @@ -197,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())); } @@ -205,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())); } @@ -214,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 8b3477386..73e5a0d8b 100644 --- a/src/main/java/com/formkiq/client/model/GetLocalesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetLocalesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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; } @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 436b23866..9dc380655 100644 --- a/src/main/java/com/formkiq/client/model/GetMappingResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMappingResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 354869829..b44c88cbc 100644 --- a/src/main/java/com/formkiq/client/model/GetMappingsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetMappingsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -204,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())); } @@ -217,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 c80fe8afe..1bd1474a8 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPoliciesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -185,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())); } @@ -195,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())); } @@ -203,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())); } @@ -212,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 6c6f5a4cf..821b2fc87 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyItemsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -160,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())); } @@ -170,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())); } @@ -181,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 de7fe74ff..b927c7fb9 100644 --- a/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpaAccessPolicyResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 85f3ed61a..23f66f3ab 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchIndexResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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; } @@ -147,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())); } @@ -157,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())); } @@ -165,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 index 09735595e..95cb173f1 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotRepositoryResponse.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * GetOpenSearchSnapshotRepositoryResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -166,7 +168,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 GetOpenSearchSnapshotRepositoryResponse is not found in the empty JSON string", GetOpenSearchSnapshotRepositoryResponse.openapiRequiredFields.toString())); } @@ -176,7 +178,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -187,7 +189,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrays3Repositories != null) { // ensure the json data is an array if (!jsonObj.get("s3Repositories").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java index 15480fd57..fb838c0c2 100644 --- a/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java +++ b/src/main/java/com/formkiq/client/model/GetOpenSearchSnapshotResponse.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * GetOpenSearchSnapshotResponse */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -159,7 +161,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (!GetOpenSearchSnapshotResponse.openapiRequiredFields.isEmpty()) { // has required fields // but JSON element is // null - throw new IllegalArgumentException(String.format( + 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())); } @@ -169,7 +171,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -180,7 +182,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArraysnapshots != null) { // ensure the json data is an array if (!jsonObj.get("snapshots").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/GetQueueResponse.java b/src/main/java/com/formkiq/client/model/GetQueueResponse.java index afcae95e5..4d2f55971 100644 --- a/src/main/java/com/formkiq/client/model/GetQueueResponse.java +++ b/src/main/java/com/formkiq/client/model/GetQueueResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 692ca0715..bd59a5dae 100644 --- a/src/main/java/com/formkiq/client/model/GetQueuesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetQueuesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 b9a828359..b591f202a 100644 --- a/src/main/java/com/formkiq/client/model/GetRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRuleResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 c653430e9..99af9d4a2 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 d5396836e..fdfd71a10 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesetResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 c11bde9a5..762a47639 100644 --- a/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetRulesetsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 c9e5b74b4..04e4bf896 100644 --- a/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSiteGroupResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 f5e588900..43baf01ae 100644 --- a/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSiteGroupsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -155,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())); } @@ -165,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())); } @@ -174,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 0fe9ca426..af9d44cc4 100644 --- a/src/main/java/com/formkiq/client/model/GetSitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSitesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,7 +204,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("username", "sites")); + openapiFields = new HashSet(Arrays.asList("username", "roles", "sites")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -183,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())); } @@ -193,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())); } @@ -201,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 07b62896f..2b6b4ea5a 100644 --- a/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java +++ b/src/main/java/com/formkiq/client/model/GetSitesSchemaResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -173,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())); } @@ -183,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())); } @@ -191,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 443a0ea6a..62ea6deb1 100644 --- a/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserActivitesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -184,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())); } @@ -194,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())); } @@ -202,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())); } @@ -211,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 fc549f65d..33973c6ce 100644 --- a/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserGroupsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 74f60b22d..01aeebdfa 100644 --- a/src/main/java/com/formkiq/client/model/GetUserResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 40ef067b8..3ee37a6e0 100644 --- a/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUserSharesResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 f44f21cfe..da37e6e08 100644 --- a/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUsersInGroupResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 ac35797eb..309e1e805 100644 --- a/src/main/java/com/formkiq/client/model/GetUsersResponse.java +++ b/src/main/java/com/formkiq/client/model/GetUsersResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -183,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())); } @@ -193,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())); } @@ -201,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())); } @@ -210,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 48c5f8ce4..6c5fbaf6a 100644 --- a/src/main/java/com/formkiq/client/model/GetVersionResponse.java +++ b/src/main/java/com/formkiq/client/model/GetVersionResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -237,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())); } @@ -247,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())); } @@ -255,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 b6673d05b..f29465544 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhookResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhookResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -335,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())); } @@ -345,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())); } @@ -353,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 15c5cebba..e46183ac0 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhookTagsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -210,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())); } @@ -220,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())); } @@ -228,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())); } @@ -243,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 78eb8cf79..c2c833f38 100644 --- a/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWebhooksResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -184,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())); } @@ -194,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())); } @@ -202,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())); } @@ -211,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 d9af88407..33a872e57 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowDocumentsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -185,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())); } @@ -195,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())); } @@ -203,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())); } @@ -212,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 f1f1737cd..389398705 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowQueueDocumentsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -187,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())); } @@ -197,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())); } @@ -205,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())); } @@ -214,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 2c158f773..86ca87974 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -266,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())); } @@ -276,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())); } @@ -284,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())); } @@ -303,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 d63bb61de..d6f3fbbe4 100644 --- a/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java +++ b/src/main/java/com/formkiq/client/model/GetWorkflowsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -184,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())); } @@ -194,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())); } @@ -202,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())); } @@ -211,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 7439fc01f..4c620740a 100644 --- a/src/main/java/com/formkiq/client/model/GoogleConfig.java +++ b/src/main/java/com/formkiq/client/model/GoogleConfig.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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"; @@ -182,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())); } @@ -192,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())); } @@ -201,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 9db598e66..1ed85fafb 100644 --- a/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java +++ b/src/main/java/com/formkiq/client/model/GoogleExportOutputType.java @@ -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 c62100f9a..2641b49b4 100644 --- a/src/main/java/com/formkiq/client/model/Group.java +++ b/src/main/java/com/formkiq/client/model/Group.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -226,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())); } } @@ -236,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())); } @@ -244,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 b996cfd1e..1d76498e8 100644 --- a/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java +++ b/src/main/java/com/formkiq/client/model/IndexFolderMoveRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 edf9659f1..aa3cc5a5a 100644 --- a/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java +++ b/src/main/java/com/formkiq/client/model/IndexFolderMoveResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 ab8e46275..c54ae9b2e 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearch.java +++ b/src/main/java/com/formkiq/client/model/IndexSearch.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 d5640d87b..9dad70a9b 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearchRequest.java +++ b/src/main/java/com/formkiq/client/model/IndexSearchRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 8434da789..9ce8f7269 100644 --- a/src/main/java/com/formkiq/client/model/IndexSearchResponse.java +++ b/src/main/java/com/formkiq/client/model/IndexSearchResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -210,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())); } @@ -220,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())); } @@ -228,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())); } @@ -243,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 75% rename from src/main/java/com/formkiq/client/model/Locale.java rename to src/main/java/com/formkiq/client/model/LocaleInfo.java index 09fd7d3b6..8347e373d 100644 --- a/src/main/java/com/formkiq/client/model/Locale.java +++ b/src/main/java/com/formkiq/client/model/LocaleInfo.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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(); @@ -139,30 +141,31 @@ private String toIndentedString(Object o) { * 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())); } @@ -172,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); @@ -198,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 6492f0abc..24f3c75c3 100644 --- a/src/main/java/com/formkiq/client/model/LocaleResourceType.java +++ b/src/main/java/com/formkiq/client/model/LocaleResourceType.java @@ -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 77% rename from src/main/java/com/formkiq/client/model/OpaPolicyItemType.java rename to src/main/java/com/formkiq/client/model/MalwareEngine.java index 2de9cf1d1..708c3dc7a 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyItemType.java +++ b/src/main/java/com/formkiq/client/model/MalwareEngine.java @@ -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 9f0955aab..de1f5b6f4 100644 --- a/src/main/java/com/formkiq/client/model/Mapping.java +++ b/src/main/java/com/formkiq/client/model/Mapping.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -238,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())); } @@ -248,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())); } @@ -256,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())); } @@ -277,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 637d7194f..59d354c16 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttribute.java +++ b/src/main/java/com/formkiq/client/model/MappingAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -362,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())); } @@ -372,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())); } @@ -380,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())); } @@ -390,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())); } @@ -419,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 e5666cfc5..0c9d62d2d 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeLabelMatchingType.java @@ -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 cddc2160d..f54234878 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeMetadataField.java @@ -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 2e0dee0fa..c7064ed79 100644 --- a/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java +++ b/src/main/java/com/formkiq/client/model/MappingAttributeSourceType.java @@ -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 df647c167..a37965b3a 100644 --- a/src/main/java/com/formkiq/client/model/MatchDocumentTag.java +++ b/src/main/java/com/formkiq/client/model/MatchDocumentTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -199,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())); } @@ -209,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())); } @@ -218,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 f89a70d02..40fed61d2 100644 --- a/src/main/java/com/formkiq/client/model/ModelCase.java +++ b/src/main/java/com/formkiq/client/model/ModelCase.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -482,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())); } @@ -492,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())); } @@ -500,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())); } @@ -564,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 a20c987af..50787403f 100644 --- a/src/main/java/com/formkiq/client/model/Nigo.java +++ b/src/main/java/com/formkiq/client/model/Nigo.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -426,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())); } } @@ -436,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())); } @@ -444,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 c3cc9a24f..de6cc7d7e 100644 --- a/src/main/java/com/formkiq/client/model/NigoStatus.java +++ b/src/main/java/com/formkiq/client/model/NigoStatus.java @@ -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 340708e43..a16897f0b 100644 --- a/src/main/java/com/formkiq/client/model/OcrConfig.java +++ b/src/main/java/com/formkiq/client/model/OcrConfig.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -176,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())); } @@ -186,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 8d9b58fc2..7f010bac6 100644 --- a/src/main/java/com/formkiq/client/model/OcrEngine.java +++ b/src/main/java/com/formkiq/client/model/OcrEngine.java @@ -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 34be045b8..1f15ec850 100644 --- a/src/main/java/com/formkiq/client/model/OcrKeyValues.java +++ b/src/main/java/com/formkiq/client/model/OcrKeyValues.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -182,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())); } @@ -192,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())); } @@ -200,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 85644e69a..e552b5a9d 100644 --- a/src/main/java/com/formkiq/client/model/OcrOutputType.java +++ b/src/main/java/com/formkiq/client/model/OcrOutputType.java @@ -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 ecc6181cc..9121e3611 100644 --- a/src/main/java/com/formkiq/client/model/OcrTable.java +++ b/src/main/java/com/formkiq/client/model/OcrTable.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -191,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())); } @@ -201,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())); } @@ -210,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 d69d8abf6..8fafd704b 100644 --- a/src/main/java/com/formkiq/client/model/OcrTableData.java +++ b/src/main/java/com/formkiq/client/model/OcrTableData.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 9605ac6ad..e74895e95 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicy.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicy.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 726f81979..a111f042a 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,8 +355,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = - new HashSet(Arrays.asList("key", "eq", "gt", "gte", "lt", "lte", "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(0); @@ -314,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())); } @@ -324,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())); } @@ -332,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())); } @@ -360,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 4bf3c1c80..2f065d1c1 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeEq.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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())); } @@ -247,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 273172e49..7d082ac8c 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGt.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 cad56ebd7..d37ff4bbe 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeGte.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 a182d32e9..b97735225 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeInput.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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 5448b0a8c..77c50d023 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLt.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 c80c372d2..00c4abecf 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeLte.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 d8a6bfa1d..c2c9b3162 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyAttributeNeq.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 8dfb0164e..cea078c5e 100644 --- a/src/main/java/com/formkiq/client/model/OpaPolicyItem.java +++ b/src/main/java/com/formkiq/client/model/OpaPolicyItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,8 +302,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = - new HashSet(Arrays.asList("type", "policy", "allRoles", "anyRoles", "attributes")); + openapiFields = new HashSet( + Arrays.asList("policy", "allRoles", "anyRoles", "excludedRoles", "attributes", "input")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -282,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())); } @@ -292,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())); } @@ -338,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/SetAntivirusResponse.java b/src/main/java/com/formkiq/client/model/OpenSearchAlias.java similarity index 63% rename from src/main/java/com/formkiq/client/model/SetAntivirusResponse.java rename to src/main/java/com/formkiq/client/model/OpenSearchAlias.java index c59e04668..47934af86 100644 --- a/src/main/java/com/formkiq/client/model/SetAntivirusResponse.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchAlias.java @@ -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,40 +50,41 @@ import java.util.List; import java.util.Map; import java.util.Set; +import java.util.Locale; import com.formkiq.client.invoker.JSON; /** - * SetAntivirusResponse + * OpenSearchAlias */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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 OpenSearchAlias { + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) @javax.annotation.Nullable - private String message; + private String name; - public SetAntivirusResponse() {} + public OpenSearchAlias() {} - public SetAntivirusResponse message(@javax.annotation.Nullable String message) { - this.message = message; + public OpenSearchAlias name(@javax.annotation.Nullable String name) { + this.name = name; return this; } /** - * Antivirus processing message + * Name of Alias * - * @return message + * @return name */ @javax.annotation.Nullable - public String getMessage() { - return message; + public String getName() { + return name; } - public void setMessage(@javax.annotation.Nullable String message) { - this.message = message; + public void setName(@javax.annotation.Nullable String name) { + this.name = name; } @@ -95,20 +97,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); + OpenSearchAlias openSearchAlias = (OpenSearchAlias) o; + return Objects.equals(this.name, openSearchAlias.name); } @Override public int hashCode() { - return Objects.hash(message); + return Objects.hash(name); } @Override public String toString() { StringBuilder sb = new StringBuilder(); - sb.append("class SetAntivirusResponse {\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); + sb.append("class OpenSearchAlias {\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append("}"); return sb.toString(); } @@ -129,7 +131,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("message")); + openapiFields = new HashSet(Arrays.asList("name")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -139,33 +141,33 @@ private String toIndentedString(Object o) { * 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 OpenSearchAlias */ public static void validateJsonElement(JsonElement jsonElement) throws IOException { if (jsonElement == null) { - if (!SetAntivirusResponse.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())); + 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 (!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 (!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("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())); + 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())); } } @@ -173,22 +175,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 (!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(SetAntivirusResponse.class)); + final TypeAdapter thisAdapter = + gson.getDelegateAdapter(this, TypeToken.get(OpenSearchAlias.class)); - return (TypeAdapter) new TypeAdapter() { + return (TypeAdapter) new TypeAdapter() { @Override - public void write(JsonWriter out, SetAntivirusResponse value) throws IOException { + public void write(JsonWriter out, OpenSearchAlias value) throws IOException { JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); elementAdapter.write(out, obj); } @Override - public SetAntivirusResponse read(JsonReader in) throws IOException { + public OpenSearchAlias read(JsonReader in) throws IOException { JsonElement jsonElement = elementAdapter.read(in); validateJsonElement(jsonElement); return thisAdapter.fromJsonTree(jsonElement); @@ -199,18 +201,18 @@ public SetAntivirusResponse read(JsonReader in) throws IOException { } /** - * Create an instance of SetAntivirusResponse given an JSON string + * Create an instance of OpenSearchAlias 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 OpenSearchAlias + * @throws IOException if the JSON string is invalid with respect to OpenSearchAlias */ - public static SetAntivirusResponse fromJson(String jsonString) throws IOException { - return JSON.getGson().fromJson(jsonString, SetAntivirusResponse.class); + public static OpenSearchAlias fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, OpenSearchAlias.class); } /** - * Convert an instance of SetAntivirusResponse to an JSON string + * Convert an instance of OpenSearchAlias to an JSON string * * @return JSON string */ diff --git a/src/main/java/com/formkiq/client/model/OpenSearchIndex.java b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java index 6063bb3b3..e0ae8c75d 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchIndex.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchIndex.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,7 +277,8 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("numberOfReplicas", "numberOfShards")); + openapiFields = new HashSet(Arrays.asList("numberOfReplicas", "numberOfShards", + "documentCount", "storeSize", "name", "aliases")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -172,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())); } @@ -182,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())); } @@ -190,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 index 533de519a..daae72df1 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchS3Repository.java @@ -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 @@ * OpenSearchS3Repository */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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.Nonnull + @javax.annotation.Nullable private String repository; public static final String SERIALIZED_NAME_BUCKET = "bucket"; @SerializedName(SERIALIZED_NAME_BUCKET) - @javax.annotation.Nonnull + @javax.annotation.Nullable private String bucket; public OpenSearchS3Repository() {} - public OpenSearchS3Repository repository(@javax.annotation.Nonnull String repository) { + public OpenSearchS3Repository repository(@javax.annotation.Nullable String repository) { this.repository = repository; return this; } @@ -81,17 +83,17 @@ public OpenSearchS3Repository repository(@javax.annotation.Nonnull String reposi * * @return repository */ - @javax.annotation.Nonnull + @javax.annotation.Nullable public String getRepository() { return repository; } - public void setRepository(@javax.annotation.Nonnull String repository) { + public void setRepository(@javax.annotation.Nullable String repository) { this.repository = repository; } - public OpenSearchS3Repository bucket(@javax.annotation.Nonnull String bucket) { + public OpenSearchS3Repository bucket(@javax.annotation.Nullable String bucket) { this.bucket = bucket; return this; } @@ -101,12 +103,12 @@ public OpenSearchS3Repository bucket(@javax.annotation.Nonnull String bucket) { * * @return bucket */ - @javax.annotation.Nonnull + @javax.annotation.Nullable public String getBucket() { return bucket; } - public void setBucket(@javax.annotation.Nonnull String bucket) { + public void setBucket(@javax.annotation.Nullable String bucket) { this.bucket = bucket; } @@ -159,7 +161,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(Arrays.asList("repository", "bucket")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(Arrays.asList("repository", "bucket")); + openapiRequiredFields = new HashSet(0); } /** @@ -172,7 +174,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchS3Repository.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -182,28 +184,21 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } } - - // check to make sure all required properties/fields are present in the JSON string - for (String requiredField : OpenSearchS3Repository.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())); - } - } JsonObject jsonObj = jsonElement.getAsJsonObject(); - if (!jsonObj.get("repository").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java index 9a71df32d..e7bb9c875 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshot.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * OpenSearchSnapshot */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -469,7 +471,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchSnapshot.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -479,7 +481,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -487,26 +489,26 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("snapshot") != null && !jsonObj.get("snapshot").isJsonNull()) && !jsonObj.get("snapshot").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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( + 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( + 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())); } @@ -519,7 +521,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayfailures != null) { // ensure the json data is an array if (!jsonObj.get("failures").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -532,19 +534,19 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti } if ((jsonObj.get("state") != null && !jsonObj.get("state").isJsonNull()) && !jsonObj.get("state").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java index ffd654c83..234a7e0bf 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotFailure.java @@ -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 @@ * Details about a failure for a specific shard in a snapshot. */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -281,7 +283,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchSnapshotFailure.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -291,7 +293,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti // 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( + 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())); } @@ -299,31 +301,31 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JsonObject jsonObj = jsonElement.getAsJsonObject(); if ((jsonObj.get("index") != null && !jsonObj.get("index").isJsonNull()) && !jsonObj.get("index").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format( + 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( + 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( + 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( + 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( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java index d8c5bd637..588094b4b 100644 --- a/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java +++ b/src/main/java/com/formkiq/client/model/OpenSearchSnapshotShard.java @@ -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 @@ * OpenSearchSnapshotShard */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -200,7 +202,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!OpenSearchSnapshotShard.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -210,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 (!OpenSearchSnapshotShard.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/PdfDocument.java b/src/main/java/com/formkiq/client/model/PdfDocument.java index bfeafbdf5..995b0906f 100644 --- a/src/main/java/com/formkiq/client/model/PdfDocument.java +++ b/src/main/java/com/formkiq/client/model/PdfDocument.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -177,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 90470e652..b7e4be605 100644 --- a/src/main/java/com/formkiq/client/model/PdfDocumentField.java +++ b/src/main/java/com/formkiq/client/model/PdfDocumentField.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 88de7a36a..9c5a9bc2e 100644 --- a/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/QueryFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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 f53b917ce..79bdf0730 100644 --- a/src/main/java/com/formkiq/client/model/Queue.java +++ b/src/main/java/com/formkiq/client/model/Queue.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -170,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())); } } @@ -180,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())); } @@ -188,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 82f154680..8592cb0ec 100644 --- a/src/main/java/com/formkiq/client/model/ReindexTarget.java +++ b/src/main/java/com/formkiq/client/model/ReindexTarget.java @@ -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 e08a12ba2..ec6a9df83 100644 --- a/src/main/java/com/formkiq/client/model/ResourceItem.java +++ b/src/main/java/com/formkiq/client/model/ResourceItem.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -310,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())); } @@ -320,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())); } @@ -332,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 cfbddd454..fe5333ec3 100644 --- a/src/main/java/com/formkiq/client/model/Rule.java +++ b/src/main/java/com/formkiq/client/model/Rule.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -282,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())); } } @@ -292,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())); } @@ -300,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 a95c5b672..1894b9b36 100644 --- a/src/main/java/com/formkiq/client/model/RuleCondition.java +++ b/src/main/java/com/formkiq/client/model/RuleCondition.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -177,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 f98830160..d646fd903 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionAttribute.java @@ -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 f2541a0fc..70a2eb146 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionCriterion.java @@ -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 92c48b4f7..6d7bbb5c0 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionMust.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionMust.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -284,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())); } @@ -294,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())); } @@ -310,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 a2ec48a2f..d630b3639 100644 --- a/src/main/java/com/formkiq/client/model/RuleConditionOperation.java +++ b/src/main/java/com/formkiq/client/model/RuleConditionOperation.java @@ -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 03ee361d8..97d530c8b 100644 --- a/src/main/java/com/formkiq/client/model/Ruleset.java +++ b/src/main/java/com/formkiq/client/model/Ruleset.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -283,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())); } @@ -293,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())); } @@ -301,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 5f58807de..09c1759b9 100644 --- a/src/main/java/com/formkiq/client/model/RulesetStatus.java +++ b/src/main/java/com/formkiq/client/model/RulesetStatus.java @@ -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 4983998de..64283b7e6 100644 --- a/src/main/java/com/formkiq/client/model/SchemaAttributes.java +++ b/src/main/java/com/formkiq/client/model/SchemaAttributes.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -264,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())); } @@ -274,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())); } @@ -285,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())); } @@ -301,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())); } @@ -317,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 7991017f3..656945bd5 100644 --- a/src/main/java/com/formkiq/client/model/SearchRangeDataType.java +++ b/src/main/java/com/formkiq/client/model/SearchRangeDataType.java @@ -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 fda7d0dbd..a837df24d 100644 --- a/src/main/java/com/formkiq/client/model/SearchResponseFields.java +++ b/src/main/java/com/formkiq/client/model/SearchResponseFields.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -190,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())); } @@ -200,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())); } @@ -209,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 836572ac4..3cd5081ae 100644 --- a/src/main/java/com/formkiq/client/model/SearchResultDocument.java +++ b/src/main/java/com/formkiq/client/model/SearchResultDocument.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -796,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())); } @@ -806,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())); } @@ -814,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())); } @@ -872,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())); } @@ -914,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())); } @@ -930,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 3bf47c32d..14c1c5247 100644 --- a/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java +++ b/src/main/java/com/formkiq/client/model/SearchResultDocumentAttribute.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -253,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())); } @@ -263,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())); } @@ -272,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 a7a9b9177..caf6ce67a 100644 --- a/src/main/java/com/formkiq/client/model/SetClassificationRequest.java +++ b/src/main/java/com/formkiq/client/model/SetClassificationRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -147,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())); } @@ -157,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 4aab87aa5..9f735e99f 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentAttributeRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -147,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())); } @@ -157,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 0fcac9a75..59b454feb 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentAttributesRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -158,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())); } @@ -168,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())); } @@ -179,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 60% rename from src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java rename to src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java index 4f3c399de..0587a4f99 100644 --- a/src/main/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentDataClassificationResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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,7 +173,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) - openapiFields = new HashSet(Arrays.asList("next", "attributes")); + openapiFields = new HashSet(Arrays.asList("content", "attributes")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -180,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)); } ; } } @@ -232,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); @@ -260,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 d874eda4c..3173ac9ee 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentFulltextRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -490,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())); } @@ -500,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())); } @@ -508,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())); } @@ -564,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())); } @@ -580,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 5e5220e09..fd5e557c8 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 8671e36ce..01b631fbd 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentOcrRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -199,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())); } @@ -209,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())); } @@ -218,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 6b408c84f..38de3e845 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentRestoreResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 fe09b38b0..a43f7d67b 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentTagKeyRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -182,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())); } @@ -192,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())); } @@ -200,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 f1fc7cf0c..5b0be08ac 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentVersionRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 a52ff460d..b9b846b52 100644 --- a/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java +++ b/src/main/java/com/formkiq/client/model/SetDocumentVersionResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 index e46287b66..3d69aac44 100644 --- a/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetFolderPermissionsRequest.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * SetFolderPermissionsRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -184,7 +186,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!SetFolderPermissionsRequest.openapiRequiredFields.isEmpty()) { // has required fields but // JSON element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -194,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 (!SetFolderPermissionsRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -202,7 +204,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())); } @@ -211,7 +213,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonArrayroles != null) { // ensure the json data is an array if (!jsonObj.get("roles").isJsonArray()) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java b/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java index 92e30e944..a2c8fedb4 100644 --- a/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetGroupPermissionsRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -157,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())); } @@ -167,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())); } @@ -176,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 ac05d305e..b0e454110 100644 --- a/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java +++ b/src/main/java/com/formkiq/client/model/SetLocaleResourceItemRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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 f15dedc99..0ed44b7df 100644 --- a/src/main/java/com/formkiq/client/model/SetMappingRequest.java +++ b/src/main/java/com/formkiq/client/model/SetMappingRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 3c170d31b..e584aec60 100644 --- a/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpaAccessPolicyItemsRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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; } @@ -145,7 +147,7 @@ private String toIndentedString(Object o) { openapiFields = new HashSet(Arrays.asList("policyItems")); // a set of required properties/fields (JSON key names) - openapiRequiredFields = new HashSet(0); + openapiRequiredFields = new HashSet(Arrays.asList("policyItems")); } /** @@ -160,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())); } @@ -170,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 41bb3636c..4c4316c71 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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; } @@ -147,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())); } @@ -157,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())); } @@ -165,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 70985d259..f9cfd0cd4 100644 --- a/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java +++ b/src/main/java/com/formkiq/client/model/SetOpenSearchIndexResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 1f1f37863..664628809 100644 --- a/src/main/java/com/formkiq/client/model/SetResponse.java +++ b/src/main/java/com/formkiq/client/model/SetResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 1f298a66e..b34c4a70c 100644 --- a/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java +++ b/src/main/java/com/formkiq/client/model/SetSchemaAttributes.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -264,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())); } @@ -274,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())); } @@ -285,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())); } @@ -301,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())); } @@ -317,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 8e7901649..f46836c30 100644 --- a/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java +++ b/src/main/java/com/formkiq/client/model/SetSitesSchemaRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -174,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())); } @@ -184,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())); } @@ -192,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 1a67d7ce8..5d1f42890 100644 --- a/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/SetWorkflowRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -238,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())); } @@ -248,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())); } @@ -257,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())); } @@ -278,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 5682b8856..ae5138e15 100644 --- a/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/SetWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 3d37db58b..0d0e28689 100644 --- a/src/main/java/com/formkiq/client/model/Site.java +++ b/src/main/java/com/formkiq/client/model/Site.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -399,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())); } } @@ -409,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())); } @@ -417,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())); } @@ -433,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())); } @@ -444,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 b4a871d81..be5520e44 100644 --- a/src/main/java/com/formkiq/client/model/SiteConfig.java +++ b/src/main/java/com/formkiq/client/model/SiteConfig.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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())); } @@ -248,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 16eb580dd..d89de6510 100644 --- a/src/main/java/com/formkiq/client/model/SiteGroup.java +++ b/src/main/java/com/formkiq/client/model/SiteGroup.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -175,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 73fe8d891..f52954d1e 100644 --- a/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java +++ b/src/main/java/com/formkiq/client/model/SiteGroupPermissions.java @@ -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 7909b12c5..b3535f939 100644 --- a/src/main/java/com/formkiq/client/model/SiteStatus.java +++ b/src/main/java/com/formkiq/client/model/SiteStatus.java @@ -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 f30cf6c79..b39f20f70 100644 --- a/src/main/java/com/formkiq/client/model/SiteUsage.java +++ b/src/main/java/com/formkiq/client/model/SiteUsage.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -174,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())); } @@ -184,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 3fe2d9a2f..9ccf1edff 100644 --- a/src/main/java/com/formkiq/client/model/StringFormat.java +++ b/src/main/java/com/formkiq/client/model/StringFormat.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -200,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())); } @@ -210,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())); } @@ -222,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 87f383027..effcbdab9 100644 --- a/src/main/java/com/formkiq/client/model/StringGeneratorType.java +++ b/src/main/java/com/formkiq/client/model/StringGeneratorType.java @@ -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 9bcb123a8..8b63a61c8 100644 --- a/src/main/java/com/formkiq/client/model/Task.java +++ b/src/main/java/com/formkiq/client/model/Task.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -426,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())); } } @@ -436,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())); } @@ -444,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 0fa8fd998..6b7fb7a11 100644 --- a/src/main/java/com/formkiq/client/model/TaskStatus.java +++ b/src/main/java/com/formkiq/client/model/TaskStatus.java @@ -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 index 4a8b0c21f..f6a4bd955 100644 --- a/src/main/java/com/formkiq/client/model/UpdateAttribute.java +++ b/src/main/java/com/formkiq/client/model/UpdateAttribute.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * UpdateAttribute */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -174,7 +176,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateAttribute.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -184,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 (!UpdateAttribute.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java index 0b2a34537..26eafa6f1 100644 --- a/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateAttributeRequest.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * UpdateAttributeRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -146,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateAttributeRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -156,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 (!UpdateAttributeRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } @@ -165,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 : UpdateAttributeRequest.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/UpdateCase.java b/src/main/java/com/formkiq/client/model/UpdateCase.java index 7c346037c..cc800da0f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCase.java +++ b/src/main/java/com/formkiq/client/model/UpdateCase.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -384,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())); } @@ -394,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())); } @@ -402,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())); } @@ -412,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 f80eb8274..dd29e1948 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateCaseRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 2bf11be1c..2cde72dd8 100644 --- a/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateCaseResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 1b4d8aed0..161f7871d 100644 --- a/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateConfigurationRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -343,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())); } @@ -353,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())); } @@ -361,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 c5baf524f..f6da773d2 100644 --- a/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateConfigurationResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 8be2b4de3..4b19b7f79 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -493,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())); } @@ -503,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())); } @@ -511,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())); } @@ -567,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())); } @@ -583,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 56669feb9..ef1050303 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentFulltextResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 bd91ec85c..759e8021b 100644 --- a/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateDocumentRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -550,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())); } @@ -560,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())); } @@ -568,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())); } @@ -617,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())); } @@ -633,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())); } @@ -649,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())); } @@ -665,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())); } @@ -681,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 index b4886939c..8ff3ce927 100644 --- a/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateEntityRequest.java @@ -21,6 +21,7 @@ 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; @@ -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 @@ * UpdateEntityRequest */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.0") + 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) @@ -146,7 +148,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti if (jsonElement == null) { if (!UpdateEntityRequest.openapiRequiredFields.isEmpty()) { // has required fields but JSON // element is null - throw new IllegalArgumentException(String.format( + 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())); } @@ -156,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 (!UpdateEntityRequest.openapiFields.contains(entry.getKey())) { - throw new IllegalArgumentException(String.format( + 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())); } diff --git a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java index 785529a91..fb002176f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -179,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())); } @@ -189,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())); } @@ -198,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 0fc1719bf..c6e040c77 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestMatch.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -151,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())); } @@ -161,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 913c6dd35..20e383dcb 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsRequestUpdate.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -163,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())); } @@ -173,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())); } @@ -184,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 2be868cad..258419d74 100644 --- a/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateMatchingDocumentTagsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -148,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())); } @@ -158,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())); } @@ -166,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 8f0d9cd89..ab5c9d5e2 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigo.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigo.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -384,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())); } @@ -394,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())); } @@ -402,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())); } @@ -443,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 5191e510b..40f3a57d6 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigoRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 57ec91711..8f86fbea0 100644 --- a/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateNigoResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 3cf5c0b33..c7debdf54 100644 --- a/src/main/java/com/formkiq/client/model/UpdateResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 40db42326..798f9c133 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRule.java +++ b/src/main/java/com/formkiq/client/model/UpdateRule.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -257,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())); } @@ -267,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())); } @@ -275,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())); } @@ -285,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 d8000834a..0389ba359 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 d9bd1108e..4238dd057 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 0382afdbf..ff0843363 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRuleset.java +++ b/src/main/java/com/formkiq/client/model/UpdateRuleset.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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())); } @@ -247,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 c8945e284..0550b5cc8 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateRulesetRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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())); } @@ -165,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 1dce5b35d..9e72b218f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateRulesetResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 58929aa86..a54e16887 100644 --- a/src/main/java/com/formkiq/client/model/UpdateSite.java +++ b/src/main/java/com/formkiq/client/model/UpdateSite.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -173,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())); } @@ -183,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())); } @@ -191,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 91a4cd39c..ffb1e28be 100644 --- a/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateSiteRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 98c5227e3..e873bd7e3 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTask.java +++ b/src/main/java/com/formkiq/client/model/UpdateTask.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -384,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())); } @@ -394,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())); } @@ -402,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())); } @@ -443,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 08a7e9a3f..80c813851 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateTaskRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -146,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())); } @@ -156,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 9dbcb7672..a366fea62 100644 --- a/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateTaskResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 92887680b..5f484ea3f 100644 --- a/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java +++ b/src/main/java/com/formkiq/client/model/UpdateWorkflowRequest.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -200,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())); } @@ -210,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())); } @@ -218,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 5f6c28033..70b5b51b2 100644 --- a/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java +++ b/src/main/java/com/formkiq/client/model/UpdateWorkflowResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -145,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())); } @@ -155,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())); } @@ -163,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 9e725d53b..761e8454c 100644 --- a/src/main/java/com/formkiq/client/model/User.java +++ b/src/main/java/com/formkiq/client/model/User.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -308,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())); } } @@ -318,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())); } @@ -326,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 38956722d..698d75302 100644 --- a/src/main/java/com/formkiq/client/model/UserActivity.java +++ b/src/main/java/com/formkiq/client/model/UserActivity.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -267,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())); } @@ -277,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())); } @@ -289,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 860e8158b..dc61dbe7a 100644 --- a/src/main/java/com/formkiq/client/model/UserActivityChanges.java +++ b/src/main/java/com/formkiq/client/model/UserActivityChanges.java @@ -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 @@ * UserActivityChanges */ @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", - date = "2025-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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 (!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())); } diff --git a/src/main/java/com/formkiq/client/model/UserActivityType.java b/src/main/java/com/formkiq/client/model/UserActivityType.java index d863f10e5..dab60a6b9 100644 --- a/src/main/java/com/formkiq/client/model/UserActivityType.java +++ b/src/main/java/com/formkiq/client/model/UserActivityType.java @@ -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 484cee5db..fbc6f38ae 100644 --- a/src/main/java/com/formkiq/client/model/UserAttributes.java +++ b/src/main/java/com/formkiq/client/model/UserAttributes.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -553,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())); } @@ -563,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())); } @@ -571,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 be9c925a9..802cdc0d4 100644 --- a/src/main/java/com/formkiq/client/model/UserShare.java +++ b/src/main/java/com/formkiq/client/model/UserShare.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -399,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())); } @@ -409,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())); } @@ -417,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())); } @@ -440,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 d45334e2c..aede03db4 100644 --- a/src/main/java/com/formkiq/client/model/UserSharePermission.java +++ b/src/main/java/com/formkiq/client/model/UserSharePermission.java @@ -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 ccfb22a46..9155b1f52 100644 --- a/src/main/java/com/formkiq/client/model/UserSharePermissionType.java +++ b/src/main/java/com/formkiq/client/model/UserSharePermissionType.java @@ -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 eb6364b17..17bd5e34d 100644 --- a/src/main/java/com/formkiq/client/model/ValidationError.java +++ b/src/main/java/com/formkiq/client/model/ValidationError.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -172,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())); } @@ -182,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())); } @@ -190,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 aec9e0489..5d5186f26 100644 --- a/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java +++ b/src/main/java/com/formkiq/client/model/ValidationErrorsResponse.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -156,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())); } @@ -166,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())); } @@ -177,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 ee3897a0f..25da10fee 100644 --- a/src/main/java/com/formkiq/client/model/Watermark.java +++ b/src/main/java/com/formkiq/client/model/Watermark.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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"); @@ -241,7 +270,7 @@ private String toIndentedString(Object o) { static { // a set of all properties/fields (JSON key names) openapiFields = new HashSet( - Arrays.asList("text", "rotation", "imageDocumentId", "scale", "position")); + Arrays.asList("fontSize", "text", "rotation", "imageDocumentId", "scale", "position")); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(0); @@ -257,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())); } @@ -267,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())); } @@ -275,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 df89cef5d..3673b3b24 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPosition.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPosition.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -229,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())); } @@ -239,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 b6f619f59..daed49a80 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPositionXAnchor.java @@ -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 eb5ec0b23..d73f8247a 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java +++ b/src/main/java/com/formkiq/client/model/WatermarkPositionYAnchor.java @@ -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 5f9494449..ab9655435 100644 --- a/src/main/java/com/formkiq/client/model/WatermarkScale.java +++ b/src/main/java/com/formkiq/client/model/WatermarkScale.java @@ -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 b8cf1bb9c..554c18984 100644 --- a/src/main/java/com/formkiq/client/model/WebhookTag.java +++ b/src/main/java/com/formkiq/client/model/WebhookTag.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -280,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())); } @@ -290,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())); } @@ -299,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 440426a41..ec98002d2 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowDocument.java +++ b/src/main/java/com/formkiq/client/model/WorkflowDocument.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -174,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())); } @@ -184,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 7a1a1b4cb..fe8646075 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowQueue.java +++ b/src/main/java/com/formkiq/client/model/WorkflowQueue.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -182,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())); } @@ -192,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())); } @@ -200,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 31b5b1691..bcb6de3c0 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStatus.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStatus.java @@ -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 da91865a8..ac2820eba 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStep.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStep.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -239,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())); } @@ -249,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())); } @@ -257,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())); } @@ -274,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 ac4121502..467cee2c2 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStepDecision.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -173,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())); } @@ -183,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())); } @@ -195,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 803616fb5..080be7cd0 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java +++ b/src/main/java/com/formkiq/client/model/WorkflowStepDecisionType.java @@ -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 0ef1bd7c3..9efcd6e14 100644 --- a/src/main/java/com/formkiq/client/model/WorkflowSummary.java +++ b/src/main/java/com/formkiq/client/model/WorkflowSummary.java @@ -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-08-01T10:06:13.310314-05:00[America/Winnipeg]", - comments = "Generator version: 7.14.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) @@ -309,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())); } @@ -319,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())); } @@ -327,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/AdvancedDocumentSearchApiTest.java b/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java index e7426056b..f98f003c5 100644 --- a/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java +++ b/src/test/java/com/formkiq/client/api/AdvancedDocumentSearchApiTest.java @@ -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/DocumentActionsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java index e1289f1a3..780218c2b 100644 --- a/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentActionsApiTest.java @@ -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 | diff --git a/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java b/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java index fa0ee2a4f..16df76bf7 100644 --- a/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentAttributesApiTest.java @@ -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/DocumentTagsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java index 04b28ed3d..5fb28c865 100644 --- a/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentTagsApiTest.java @@ -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/DocumentsApiTest.java b/src/test/java/com/formkiq/client/api/DocumentsApiTest.java index 2745cc3eb..d93011927 100644 --- a/src/test/java/com/formkiq/client/api/DocumentsApiTest.java +++ b/src/test/java/com/formkiq/client/api/DocumentsApiTest.java @@ -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/MalwareScanApiTest.java b/src/test/java/com/formkiq/client/api/MalwareScanApiTest.java new file mode 100644 index 000000000..f4e4edb07 --- /dev/null +++ b/src/test/java/com/formkiq/client/api/MalwareScanApiTest.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.api; + +import com.formkiq.client.invoker.ApiException; +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; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * API tests for MalwareScanApi + */ +@Disabled +public class MalwareScanApiTest { + + 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 + */ + @Test + public void setAntivirusTest() throws ApiException { + String documentId = null; + String siteId = null; + String shareKey = null; + Object body = null; + 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/SystemManagementApiTest.java b/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java index 723bb54c8..daaad1a90 100644 --- a/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java +++ b/src/test/java/com/formkiq/client/api/SystemManagementApiTest.java @@ -26,7 +26,6 @@ import com.formkiq.client.model.AddLocaleRequest; import com.formkiq.client.model.AddLocaleResourceItemRequest; import com.formkiq.client.model.AddLocaleResourceItemResponse; -import com.formkiq.client.model.AddOpenSearchSnapshotRepositoryResponse; import com.formkiq.client.model.AddResponse; import com.formkiq.client.model.AddSiteRequest; import com.formkiq.client.model.DeleteApiKeyResponse; @@ -37,6 +36,7 @@ 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; @@ -47,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; @@ -127,9 +128,8 @@ public void addLocaleResourceItemTest() throws ApiException { @Test public void addOpenSearchRestoreSnapshotTest() throws ApiException { String siteId = null; - String repositoryName = null; String snapshotName = null; - AddResponse response = api.addOpenSearchRestoreSnapshot(siteId, repositoryName, snapshotName); + AddResponse response = api.addOpenSearchRestoreSnapshot(siteId, snapshotName); // TODO: test validations } @@ -143,25 +143,8 @@ public void addOpenSearchRestoreSnapshotTest() throws ApiException { @Test public void addOpenSearchSnapshotTest() throws ApiException { String siteId = null; - String repositoryName = null; String snapshotName = null; - AddResponse response = api.addOpenSearchSnapshot(siteId, repositoryName, snapshotName); - // TODO: test validations - } - - /** - * Add OpenSearch Snapshot Repository - * - * Add an OpenSearch Snapshot Repository - * - * @throws ApiException if the Api call fails - */ - @Test - public void addOpenSearchSnapshotRepositoryTest() throws ApiException { - String siteId = null; - String repositoryName = null; - AddOpenSearchSnapshotRepositoryResponse response = - api.addOpenSearchSnapshotRepository(siteId, repositoryName); + AddResponse response = api.addOpenSearchSnapshot(siteId, snapshotName); // TODO: test validations } @@ -239,6 +222,35 @@ public void deleteOpenSearchIndexTest() throws ApiException { // 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 * @@ -249,9 +261,8 @@ public void deleteOpenSearchIndexTest() throws ApiException { @Test public void deleteOpenSearchSnapshotTest() throws ApiException { String siteId = null; - String repositoryName = null; String snapshotName = null; - DeleteResponse response = api.deleteOpenSearchSnapshot(siteId, repositoryName, snapshotName); + DeleteResponse response = api.deleteOpenSearchSnapshot(siteId, snapshotName); // TODO: test validations } @@ -265,8 +276,7 @@ public void deleteOpenSearchSnapshotTest() throws ApiException { @Test public void deleteOpenSearchSnapshotRepositoryTest() throws ApiException { String siteId = null; - String repositoryName = null; - DeleteResponse response = api.deleteOpenSearchSnapshotRepository(siteId, repositoryName); + DeleteResponse response = api.deleteOpenSearchSnapshotRepository(siteId); // TODO: test validations } @@ -285,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 * @@ -368,7 +391,7 @@ 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 */ @@ -379,6 +402,20 @@ public void getOpenSearchIndexTest() throws ApiException { // 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 * @@ -389,10 +426,8 @@ public void getOpenSearchIndexTest() throws ApiException { @Test public void getOpenSearchSnapshotTest() throws ApiException { String siteId = null; - String repositoryName = null; String snapshotName = null; - GetOpenSearchSnapshotResponse response = - api.getOpenSearchSnapshot(siteId, repositoryName, snapshotName); + GetOpenSearchSnapshotResponse response = api.getOpenSearchSnapshot(siteId, snapshotName); // TODO: test validations } @@ -405,9 +440,7 @@ public void getOpenSearchSnapshotTest() throws ApiException { */ @Test public void getOpenSearchSnapshotRepositoriesTest() throws ApiException { - String siteId = null; - GetOpenSearchSnapshotRepositoryResponse response = - api.getOpenSearchSnapshotRepositories(siteId); + GetOpenSearchSnapshotRepositoryResponse response = api.getOpenSearchSnapshotRepositories(); // TODO: test validations } @@ -421,9 +454,7 @@ public void getOpenSearchSnapshotRepositoriesTest() throws ApiException { @Test public void getOpenSearchSnapshotRepositoryTest() throws ApiException { String siteId = null; - String repositoryName = null; - GetOpenSearchSnapshotRepositoryResponse response = - api.getOpenSearchSnapshotRepository(siteId, repositoryName); + GetOpenSearchSnapshotRepositoryResponse response = api.getOpenSearchSnapshotRepository(siteId); // TODO: test validations } @@ -437,8 +468,7 @@ public void getOpenSearchSnapshotRepositoryTest() throws ApiException { @Test public void getOpenSearchSnapshotsTest() throws ApiException { String siteId = null; - String repositoryName = null; - GetOpenSearchSnapshotResponse response = api.getOpenSearchSnapshots(siteId, repositoryName); + GetOpenSearchSnapshotResponse response = api.getOpenSearchSnapshots(siteId); // TODO: test validations } @@ -531,6 +561,21 @@ public void setOpenSearchIndexTest() throws ApiException { // 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 + } + /** * Set Site's Group Permissions * diff --git a/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java b/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java index 47dd7070c..9c5690903 100644 --- a/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java +++ b/src/test/java/com/formkiq/client/api/UserActivitiesApiTest.java @@ -23,6 +23,7 @@ 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; @@ -71,11 +72,14 @@ public void getResourceActivitiesTest() throws ApiException { 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, next, limit, userId); + namespace, entityId, start, end, sort, next, limit, userId); // TODO: test validations } diff --git a/src/test/java/com/formkiq/client/model/ActivityTest.java b/src/test/java/com/formkiq/client/model/ActivityTest.java index dc4be7c5a..e09029b22 100644 --- a/src/test/java/com/formkiq/client/model/ActivityTest.java +++ b/src/test/java/com/formkiq/client/model/ActivityTest.java @@ -121,6 +121,14 @@ public void documentIdTest() { // TODO: test documentId } + /** + * Test the property 'attributeKey' + */ + @Test + public void attributeKeyTest() { + // TODO: test attributeKey + } + /** * Test the property 'entityTypeId' */ diff --git a/src/test/java/com/formkiq/client/model/AddActionParametersTest.java b/src/test/java/com/formkiq/client/model/AddActionParametersTest.java index c774738b7..d17e3f7a3 100644 --- a/src/test/java/com/formkiq/client/model/AddActionParametersTest.java +++ b/src/test/java/com/formkiq/client/model/AddActionParametersTest.java @@ -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' */ diff --git a/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java b/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java index 9850cf54a..65c3c1435 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,11 +20,7 @@ package com.formkiq.client.model; -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java -import com.formkiq.client.model.LocaleResourceType; -======== import com.formkiq.client.model.EntityTypeNamespace; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,35 +32,6 @@ import org.junit.jupiter.api.Test; /** -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java - * Model tests for AddLocaleResourceInterfaceItem - */ -public class AddLocaleResourceInterfaceItemTest { - private final AddLocaleResourceInterfaceItem model = new AddLocaleResourceInterfaceItem(); - - /** - * Model tests for AddLocaleResourceInterfaceItem - */ - @Test - public void testAddLocaleResourceInterfaceItem() { - // TODO: test AddLocaleResourceInterfaceItem - } - - /** - * Test the property 'itemType' - */ - @Test - public void itemTypeTest() { - // TODO: test itemType - } - - /** - * Test the property 'localizedValue' - */ - @Test - public void localizedValueTest() { - // TODO: test localizedValue -======== * Model tests for AddDocumentAttributeEntity */ public class AddDocumentAttributeEntityTest { @@ -80,17 +43,12 @@ public class AddDocumentAttributeEntityTest { @Test public void testAddDocumentAttributeEntity() { // TODO: test AddDocumentAttributeEntity ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java } /** - * Test the property 'interfaceKey' + * Test the property 'key' */ @Test -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceInterfaceItemTest.java - public void interfaceKeyTest() { - // TODO: test interfaceKey -======== public void keyTest() { // TODO: test key } @@ -117,7 +75,6 @@ public void entityIdTest() { @Test public void namespaceTest() { // TODO: test namespace ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddDocumentAttributeEntityTest.java } } diff --git a/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java index 1383be23d..d595303db 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentGenerateRequestTest.java @@ -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/AddDocumentOcrRequestTest.java b/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java index 1b6ca1a7c..c53ca47f7 100644 --- a/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java @@ -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/AddEntityRequestTest.java b/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java index b73def1e5..d97d5f88e 100644 --- a/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java +++ b/src/test/java/com/formkiq/client/model/AddEntityRequestTest.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityRequestTest.java * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -36,27 +32,6 @@ import org.junit.jupiter.api.Test; /** -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleRequestTest.java - * Model tests for AddLocaleRequest - */ -public class AddLocaleRequestTest { - private final AddLocaleRequest model = new AddLocaleRequest(); - - /** - * Model tests for AddLocaleRequest - */ - @Test - public void testAddLocaleRequest() { - // TODO: test AddLocaleRequest - } - - /** - * Test the property 'locale' - */ - @Test - public void localeTest() { - // TODO: test locale -======== * Model tests for AddEntityRequest */ public class AddEntityRequestTest { @@ -76,7 +51,6 @@ public void testAddEntityRequest() { @Test public void entityTest() { // TODO: test entity ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityRequestTest.java } } diff --git a/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java b/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java index b5194c119..4bf1e5ace 100644 --- a/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java +++ b/src/test/java/com/formkiq/client/model/AddEntityTypeTest.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityTypeTest.java * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,11 +20,7 @@ package com.formkiq.client.model; -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java -import com.formkiq.client.model.AddResourceItem; -======== import com.formkiq.client.model.EntityTypeNamespace; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityTypeTest.java import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -40,27 +32,6 @@ import org.junit.jupiter.api.Test; /** -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemRequestTest.java - * Model tests for AddLocaleResourceItemRequest - */ -public class AddLocaleResourceItemRequestTest { - private final AddLocaleResourceItemRequest model = new AddLocaleResourceItemRequest(); - - /** - * Model tests for AddLocaleResourceItemRequest - */ - @Test - public void testAddLocaleResourceItemRequest() { - // TODO: test AddLocaleResourceItemRequest - } - - /** - * Test the property 'resourceItem' - */ - @Test - public void resourceItemTest() { - // TODO: test resourceItem -======== * Model tests for AddEntityType */ public class AddEntityTypeTest { @@ -88,7 +59,6 @@ public void namespaceTest() { @Test public void nameTest() { // TODO: test name ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddEntityTypeTest.java } } 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/AddOpenSearchSnapshotRepositoryResponseTest.java b/src/test/java/com/formkiq/client/model/DataClassificationTest.java similarity index 54% rename from src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java rename to src/test/java/com/formkiq/client/model/DataClassificationTest.java index 547f63748..52350b4f8 100644 --- a/src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java +++ b/src/test/java/com/formkiq/client/model/DataClassificationTest.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,51 +20,71 @@ 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; /** -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/AddLocaleResourceItemResponseTest.java - * Model tests for AddLocaleResourceItemResponse + * Model tests for DataClassification */ -public class AddLocaleResourceItemResponseTest { - private final AddLocaleResourceItemResponse model = new AddLocaleResourceItemResponse(); +public class DataClassificationTest { + private final DataClassification model = new DataClassification(); /** - * Model tests for AddLocaleResourceItemResponse + * Model tests for DataClassification */ @Test - public void testAddLocaleResourceItemResponse() { - // TODO: test AddLocaleResourceItemResponse -======== - * Model tests for AddOpenSearchSnapshotRepositoryResponse - */ -public class AddOpenSearchSnapshotRepositoryResponseTest { - private final AddOpenSearchSnapshotRepositoryResponse model = - new AddOpenSearchSnapshotRepositoryResponse(); + 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 + } /** - * Model tests for AddOpenSearchSnapshotRepositoryResponse + * Test the property 'userId' */ @Test - public void testAddOpenSearchSnapshotRepositoryResponse() { - // TODO: test AddOpenSearchSnapshotRepositoryResponse ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/AddOpenSearchSnapshotRepositoryResponseTest.java + public void userIdTest() { + // TODO: test userId } /** - * Test the property 'itemKey' + * Test the property 'attributes' */ @Test - public void itemKeyTest() { - // TODO: test itemKey + public void attributesTest() { + // TODO: test attributes } } diff --git a/src/test/java/com/formkiq/client/model/DocumentActionTest.java b/src/test/java/com/formkiq/client/model/DocumentActionTest.java index 7745a34ac..ebee79d5d 100644 --- a/src/test/java/com/formkiq/client/model/DocumentActionTest.java +++ b/src/test/java/com/formkiq/client/model/DocumentActionTest.java @@ -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/EntityTest.java b/src/test/java/com/formkiq/client/model/EntityTest.java index 79003b05c..77b395acb 100644 --- a/src/test/java/com/formkiq/client/model/EntityTest.java +++ b/src/test/java/com/formkiq/client/model/EntityTest.java @@ -11,11 +11,7 @@ * https://raw.githubusercontent.com/formkiq/formkiq-core/master/docs/openapi/openapi-iam.yaml ## * Authentication FormKiQ offers three forms of authentication: - OAuth(JWT) - AWS IAM - API Key * -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java - * The version of the OpenAPI document: 1.17.1 Contact: support@formkiq.com -======== * The version of the OpenAPI document: 1.18.0 Contact: support@formkiq.com ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech Do not edit the class manually. @@ -24,82 +20,20 @@ package com.formkiq.client.model; -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java -import com.formkiq.client.model.WatermarkPosition; -import com.formkiq.client.model.WatermarkScale; -======== import com.formkiq.client.model.EntityAttribute; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java 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; -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java -import java.math.BigDecimal; -======== import java.util.ArrayList; ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java import java.util.Arrays; import java.util.List; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; /** -<<<<<<<< HEAD:src/test/java/com/formkiq/client/model/WatermarkTest.java - * Model tests for Watermark - */ -public class WatermarkTest { - private final Watermark model = new Watermark(); - - /** - * Model tests for Watermark - */ - @Test - public void testWatermark() { - // TODO: test Watermark - } - - /** - * Test the property 'text' - */ - @Test - public void textTest() { - // TODO: test text - } - - /** - * Test the property 'rotation' - */ - @Test - public void rotationTest() { - // TODO: test rotation - } - - /** - * Test the property 'imageDocumentId' - */ - @Test - public void imageDocumentIdTest() { - // TODO: test imageDocumentId - } - - /** - * Test the property 'scale' - */ - @Test - public void scaleTest() { - // TODO: test scale - } - - /** - * Test the property 'position' - */ - @Test - public void positionTest() { - // TODO: test position -======== * Model tests for Entity */ public class EntityTest { @@ -151,7 +85,6 @@ public void insertedDateTest() { @Test public void attributesTest() { // TODO: test attributes ->>>>>>>> 481d60de (V1.17.0 (#43)):src/test/java/com/formkiq/client/model/EntityTest.java } } 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/GetLocalesResponseTest.java b/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java index 1ff530584..265a31739 100644 --- a/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetLocalesResponseTest.java @@ -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/GetDocumentAttributeVersionsResponseTest.java b/src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java similarity index 76% rename from src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java rename to src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java index 82a071915..985c4be15 100644 --- a/src/test/java/com/formkiq/client/model/GetDocumentAttributeVersionsResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetMalwareScanResponseTest.java @@ -20,7 +20,7 @@ package com.formkiq.client.model; -import com.formkiq.client.model.DocumentAttribute; +import com.formkiq.client.model.MalwareScanResult; import com.google.gson.TypeAdapter; import com.google.gson.annotations.JsonAdapter; import com.google.gson.annotations.SerializedName; @@ -34,18 +34,17 @@ import org.junit.jupiter.api.Test; /** - * Model tests for GetDocumentAttributeVersionsResponse + * Model tests for GetMalwareScanResponse */ -public class GetDocumentAttributeVersionsResponseTest { - private final GetDocumentAttributeVersionsResponse model = - new GetDocumentAttributeVersionsResponse(); +public class GetMalwareScanResponseTest { + private final GetMalwareScanResponse model = new GetMalwareScanResponse(); /** - * Model tests for GetDocumentAttributeVersionsResponse + * Model tests for GetMalwareScanResponse */ @Test - public void testGetDocumentAttributeVersionsResponse() { - // TODO: test GetDocumentAttributeVersionsResponse + public void testGetMalwareScanResponse() { + // TODO: test GetMalwareScanResponse } /** @@ -57,11 +56,11 @@ public void nextTest() { } /** - * Test the property 'attributes' + * Test the property 'malwareScanResults' */ @Test - public void attributesTest() { - // TODO: test attributes + public void malwareScanResultsTest() { + // TODO: test malwareScanResults } } diff --git a/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java b/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java index c10d1c244..3af40ecae 100644 --- a/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetOpenSearchIndexResponseTest.java @@ -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/GetSitesResponseTest.java b/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java index 71fa8a662..e66327318 100644 --- a/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java +++ b/src/test/java/com/formkiq/client/model/GetSitesResponseTest.java @@ -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/LocaleTest.java b/src/test/java/com/formkiq/client/model/LocaleInfoTest.java similarity index 89% rename from src/test/java/com/formkiq/client/model/LocaleTest.java rename to src/test/java/com/formkiq/client/model/LocaleInfoTest.java index d58184497..c0d48204d 100644 --- a/src/test/java/com/formkiq/client/model/LocaleTest.java +++ b/src/test/java/com/formkiq/client/model/LocaleInfoTest.java @@ -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/OpaPolicyItemTypeTest.java b/src/test/java/com/formkiq/client/model/MalwareEngineTest.java similarity index 87% rename from src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java rename to src/test/java/com/formkiq/client/model/MalwareEngineTest.java index 5decc13c0..db1072530 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyItemTypeTest.java +++ b/src/test/java/com/formkiq/client/model/MalwareEngineTest.java @@ -25,15 +25,15 @@ import org.junit.jupiter.api.Test; /** - * Model tests for OpaPolicyItemType + * Model tests for MalwareEngine */ -public class OpaPolicyItemTypeTest { +public class MalwareEngineTest { /** - * Model tests for OpaPolicyItemType + * Model tests for MalwareEngine */ @Test - public void testOpaPolicyItemType() { - // TODO: test OpaPolicyItemType + 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/api/AntivirusApiTest.java b/src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java similarity index 60% rename from src/test/java/com/formkiq/client/api/AntivirusApiTest.java rename to src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java index 540984c6f..173486af1 100644 --- a/src/test/java/com/formkiq/client/api/AntivirusApiTest.java +++ b/src/test/java/com/formkiq/client/model/MalwareScanStatusTest.java @@ -18,41 +18,22 @@ */ -package com.formkiq.client.api; +package com.formkiq.client.model; -import com.formkiq.client.invoker.ApiException; -import com.formkiq.client.model.SetAntivirusResponse; +import com.google.gson.annotations.SerializedName; 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 AntivirusApi + * Model tests for MalwareScanStatus */ -@Disabled -public class AntivirusApiTest { - - private final AntivirusApi api = new AntivirusApi(); - +public class MalwareScanStatusTest { /** - * Antivirus document scan - * - * Perform an Anti-Malware / Antivirus scan on a document; available as an Add-On Module - * - * @throws ApiException if the Api call fails + * Model tests for MalwareScanStatus */ @Test - public void setAntivirusTest() throws ApiException { - String documentId = null; - String siteId = null; - String shareKey = null; - Object body = null; - SetAntivirusResponse response = api.setAntivirus(documentId, siteId, shareKey, body); - // TODO: test validations + public void testMalwareScanStatus() { + // TODO: test MalwareScanStatus } } 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/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 465e966f6..ce58b9e66 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyAttributeTest.java @@ -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 19d6a5bd8..57a3bb5ab 100644 --- a/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java +++ b/src/test/java/com/formkiq/client/model/OpaPolicyItemTest.java @@ -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/SetAntivirusResponseTest.java b/src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java similarity index 81% rename from src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java rename to src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java index 0bdb76d2a..06e2c9bc6 100644 --- a/src/test/java/com/formkiq/client/model/SetAntivirusResponseTest.java +++ b/src/test/java/com/formkiq/client/model/OpenSearchAliasTest.java @@ -31,25 +31,25 @@ import org.junit.jupiter.api.Test; /** - * Model tests for SetAntivirusResponse + * Model tests for OpenSearchAlias */ -public class SetAntivirusResponseTest { - private final SetAntivirusResponse model = new SetAntivirusResponse(); +public class OpenSearchAliasTest { + private final OpenSearchAlias model = new OpenSearchAlias(); /** - * Model tests for SetAntivirusResponse + * Model tests for OpenSearchAlias */ @Test - public void testSetAntivirusResponse() { - // TODO: test SetAntivirusResponse + 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 d972a70ef..6e4ac2793 100644 --- a/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java +++ b/src/test/java/com/formkiq/client/model/OpenSearchIndexTest.java @@ -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/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/SetOpenSearchIndexRequestTest.java b/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java index e86251464..0f656445a 100644 --- a/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java +++ b/src/test/java/com/formkiq/client/model/SetOpenSearchIndexRequestTest.java @@ -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/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/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/WatermarkTest.java b/src/test/java/com/formkiq/client/model/WatermarkTest.java index e13d8a731..cc2a03fb2 100644 --- a/src/test/java/com/formkiq/client/model/WatermarkTest.java +++ b/src/test/java/com/formkiq/client/model/WatermarkTest.java @@ -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' */