Skip to content

Commit 8f464f6

Browse files
committed
update
1 parent 20d0dc6 commit 8f464f6

398 files changed

Lines changed: 1645 additions & 497 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*.class
22

3+
.DS_Store
4+
35
# Mobile Tools for Java (J2ME)
46
.mtj.tmp/
57

.openapi-generator/FILES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ docs/AddDocumentOcrRequest.md
4242
docs/AddDocumentOcrResponse.md
4343
docs/AddDocumentRequest.md
4444
docs/AddDocumentResponse.md
45+
docs/AddDocumentSync.md
46+
docs/AddDocumentSyncRequest.md
47+
docs/AddDocumentSyncService.md
4548
docs/AddDocumentTag.md
4649
docs/AddDocumentTagsRequest.md
4750
docs/AddDocumentUploadRequest.md
@@ -536,6 +539,9 @@ src/main/java/com/formkiq/client/model/AddDocumentOcrRequest.java
536539
src/main/java/com/formkiq/client/model/AddDocumentOcrResponse.java
537540
src/main/java/com/formkiq/client/model/AddDocumentRequest.java
538541
src/main/java/com/formkiq/client/model/AddDocumentResponse.java
542+
src/main/java/com/formkiq/client/model/AddDocumentSync.java
543+
src/main/java/com/formkiq/client/model/AddDocumentSyncRequest.java
544+
src/main/java/com/formkiq/client/model/AddDocumentSyncService.java
539545
src/main/java/com/formkiq/client/model/AddDocumentTag.java
540546
src/main/java/com/formkiq/client/model/AddDocumentTagsRequest.java
541547
src/main/java/com/formkiq/client/model/AddDocumentUploadRequest.java
@@ -968,6 +974,9 @@ src/test/java/com/formkiq/client/model/AddDocumentOcrRequestTest.java
968974
src/test/java/com/formkiq/client/model/AddDocumentOcrResponseTest.java
969975
src/test/java/com/formkiq/client/model/AddDocumentRequestTest.java
970976
src/test/java/com/formkiq/client/model/AddDocumentResponseTest.java
977+
src/test/java/com/formkiq/client/model/AddDocumentSyncRequestTest.java
978+
src/test/java/com/formkiq/client/model/AddDocumentSyncServiceTest.java
979+
src/test/java/com/formkiq/client/model/AddDocumentSyncTest.java
971980
src/test/java/com/formkiq/client/model/AddDocumentTagTest.java
972981
src/test/java/com/formkiq/client/model/AddDocumentTagsRequestTest.java
973982
src/test/java/com/formkiq/client/model/AddDocumentUploadRequestTest.java

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
This is the official supported Java library for the FormKiQ API.
55

66
FormKiQ HTTP API
7-
- API version: 1.17.0
8-
- Build date: 2025-03-12T17:17:25.165880-05:00[America/Winnipeg]
9-
- Generator version: 7.12.0
7+
- API version: 1.18.0
8+
- Build date: 2025-06-21T14:21:22.314584-05:00[America/Winnipeg]
9+
- Generator version: 7.13.0
1010

1111
Formkiq API: Document Management Platform API using OAuth(JWT) Authentication
1212

@@ -273,6 +273,7 @@ Class | Method | HTTP request | Description
273273
*DocumentWorkflowsApi* | [**setWorkflow**](docs/DocumentWorkflowsApi.md#setWorkflow) | **PUT** /workflows/{workflowId} | Set workflow
274274
*DocumentWorkflowsApi* | [**updateWorkflow**](docs/DocumentWorkflowsApi.md#updateWorkflow) | **PATCH** /workflows/{workflowId} | Update workflow
275275
*DocumentsApi* | [**addDocument**](docs/DocumentsApi.md#addDocument) | **POST** /documents | Add new document
276+
*DocumentsApi* | [**addDocumentSync**](docs/DocumentsApi.md#addDocumentSync) | **POST** /documents/{documentId}/syncs | Add document sync to service
276277
*DocumentsApi* | [**addDocumentUpload**](docs/DocumentsApi.md#addDocumentUpload) | **POST** /documents/upload | Add large document
277278
*DocumentsApi* | [**compressDocuments**](docs/DocumentsApi.md#compressDocuments) | **POST** /documents/compress | Compress multiple documents into a .zip file
278279
*DocumentsApi* | [**deleteDocument**](docs/DocumentsApi.md#deleteDocument) | **DELETE** /documents/{documentId} | Delete document
@@ -418,6 +419,9 @@ Class | Method | HTTP request | Description
418419
- [AddDocumentOcrResponse](docs/AddDocumentOcrResponse.md)
419420
- [AddDocumentRequest](docs/AddDocumentRequest.md)
420421
- [AddDocumentResponse](docs/AddDocumentResponse.md)
422+
- [AddDocumentSync](docs/AddDocumentSync.md)
423+
- [AddDocumentSyncRequest](docs/AddDocumentSyncRequest.md)
424+
- [AddDocumentSyncService](docs/AddDocumentSyncService.md)
421425
- [AddDocumentTag](docs/AddDocumentTag.md)
422426
- [AddDocumentTagsRequest](docs/AddDocumentTagsRequest.md)
423427
- [AddDocumentUploadRequest](docs/AddDocumentUploadRequest.md)

api/openapi.yaml

Lines changed: 113 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1645,6 +1645,31 @@ paths:
16451645
requestBody:
16461646
content:
16471647
application/json:
1648+
examples:
1649+
interfaceResourceItem:
1650+
summary: Interface Resource Item Example
1651+
value:
1652+
resourceItem:
1653+
itemType: INTERFACE
1654+
interfaceKey: mainMenuTitle
1655+
localizedValue: Main Menu
1656+
schemaResourceItem:
1657+
summary: Schema Resource Item Example
1658+
value:
1659+
resourceItem:
1660+
itemType: SCHEMA
1661+
attributeKey: documentCategory
1662+
allowedValue: invoice
1663+
localizedValue: Facture
1664+
classificationResourceItem:
1665+
summary: Classification Resource Item Example
1666+
value:
1667+
resourceItem:
1668+
itemType: CLASSIFICATION
1669+
attributeKey: usageRegistrariat
1670+
allowedValue: ID
1671+
localizedValue: Gestion identitaire
1672+
classificationId: 219a7dd6-5fb2-4556-ad71-0ab4312fe577
16481673
schema:
16491674
$ref: '#/components/schemas/AddLocaleResourceItemRequest'
16501675
required: true
@@ -1862,6 +1887,17 @@ paths:
18621887
- FAILED_RETRY
18631888
type: string
18641889
style: form
1890+
- description: Fetch documents with an sync status
1891+
explode: true
1892+
in: query
1893+
name: syncStatus
1894+
required: false
1895+
schema:
1896+
enum:
1897+
- FULLTEXT_METADATA_FAILED
1898+
- FULLTEXT_CONTENT_FAILED
1899+
type: string
1900+
style: form
18651901
- description: Fetch soft deleted documents
18661902
explode: true
18671903
in: query
@@ -2439,15 +2475,6 @@ paths:
24392475
schema:
24402476
type: string
24412477
style: simple
2442-
- description: Whether to enable WebSocket real-time communication with the
2443-
request
2444-
explode: true
2445-
in: query
2446-
name: ws
2447-
required: false
2448-
schema:
2449-
type: string
2450-
style: form
24512478
requestBody:
24522479
content:
24532480
application/json:
@@ -2917,15 +2944,6 @@ paths:
29172944
schema:
29182945
type: string
29192946
style: simple
2920-
- description: Whether to enable WebSocket real-time communication with the
2921-
request
2922-
explode: true
2923-
in: query
2924-
name: ws
2925-
required: false
2926-
schema:
2927-
type: string
2928-
style: form
29292947
requestBody:
29302948
content:
29312949
application/json:
@@ -6419,7 +6437,7 @@ paths:
64196437
x-accepts:
64206438
- application/json
64216439
post:
6422-
description: Adde a document to OpenSearch; available as an Add-On Module
6440+
description: Add a document to OpenSearch; available as an Add-On Module
64236441
operationId: AddDocumentFulltext
64246442
parameters:
64256443
- description: Site Identifier
@@ -6703,6 +6721,56 @@ paths:
67036721
$ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200'
67046722
x-accepts:
67056723
- application/json
6724+
post:
6725+
description: Add a document to a service
6726+
operationId: AddDocumentSync
6727+
parameters:
6728+
- description: Site Identifier
6729+
explode: true
6730+
in: query
6731+
name: siteId
6732+
required: false
6733+
schema:
6734+
type: string
6735+
style: form
6736+
- description: Document Identifier
6737+
explode: false
6738+
in: path
6739+
name: documentId
6740+
required: true
6741+
schema:
6742+
type: string
6743+
style: simple
6744+
requestBody:
6745+
content:
6746+
application/json:
6747+
schema:
6748+
$ref: '#/components/schemas/AddDocumentSyncRequest'
6749+
required: false
6750+
responses:
6751+
"200":
6752+
content:
6753+
application/json:
6754+
schema:
6755+
$ref: '#/components/schemas/AddResponse'
6756+
description: 200 OK
6757+
headers:
6758+
Access-Control-Allow-Origin:
6759+
$ref: '#/components/headers/AccessControlAllowOrigin'
6760+
Access-Control-Allow-Methods:
6761+
$ref: '#/components/headers/AccessControlAllowMethods'
6762+
Access-Control-Allow-Headers:
6763+
$ref: '#/components/headers/AccessControlAllowHeaders'
6764+
security:
6765+
- ApiAuthorization: []
6766+
summary: Add document sync to service
6767+
tags:
6768+
- Documents
6769+
x-amazon-apigateway-integration:
6770+
$ref: '#/components/x-amazon-apigateway-integrations/lambdaApi200'
6771+
x-content-type: application/json
6772+
x-accepts:
6773+
- application/json
67066774
/userActivities:
67076775
get:
67086776
description: Retrieve a user's activities
@@ -11251,15 +11319,6 @@ components:
1125111319
schema:
1125211320
type: boolean
1125311321
style: form
11254-
wsParam:
11255-
description: Whether to enable WebSocket real-time communication with the request
11256-
explode: true
11257-
in: query
11258-
name: ws
11259-
required: false
11260-
schema:
11261-
type: string
11262-
style: form
1126311322
groupParam:
1126411323
description: Group Identifier
1126511324
explode: true
@@ -14685,6 +14744,15 @@ components:
1468514744
$ref: '#/components/schemas/FulltextAttribute'
1468614745
type: object
1468714746
type: object
14747+
AddDocumentSyncRequest:
14748+
example:
14749+
sync:
14750+
service: FULLTEXT
14751+
type: METADATA
14752+
properties:
14753+
sync:
14754+
$ref: '#/components/schemas/AddDocumentSync'
14755+
type: object
1468814756
GetDocumentSyncResponse:
1468914757
example:
1469014758
next: next
@@ -14713,6 +14781,12 @@ components:
1471314781
$ref: '#/components/schemas/DocumentSync'
1471414782
type: array
1471514783
type: object
14784+
AddDocumentSyncService:
14785+
description: Add Document Sync Service
14786+
enum:
14787+
- FULLTEXT
14788+
- EVENTBRIDGE
14789+
type: string
1471614790
DocumentSyncService:
1471714791
description: Service of Document Sync
1471814792
enum:
@@ -14725,6 +14799,7 @@ components:
1472514799
enum:
1472614800
- COMPLETE
1472714801
- FAILED
14802+
- FAILED_RETRY
1472814803
- PENDING
1472914804
type: string
1473014805
DocumentSyncType:
@@ -14735,6 +14810,16 @@ components:
1473514810
- SOFT_DELETE
1473614811
- DELETE
1473714812
type: string
14813+
AddDocumentSync:
14814+
example:
14815+
service: FULLTEXT
14816+
type: METADATA
14817+
properties:
14818+
service:
14819+
$ref: '#/components/schemas/AddDocumentSyncService'
14820+
type:
14821+
$ref: '#/components/schemas/DocumentSyncType'
14822+
type: object
1473814823
DocumentSync:
1473914824
example:
1474014825
insertedDate: insertedDate

docs/AddDocumentSync.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# AddDocumentSync
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**service** | **AddDocumentSyncService** | | [optional] |
11+
|**type** | **DocumentSyncType** | | [optional] |
12+
13+
14+

docs/AddDocumentSyncRequest.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AddDocumentSyncRequest
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**sync** | [**AddDocumentSync**](AddDocumentSync.md) | | [optional] |
11+
12+
13+

docs/AddDocumentSyncService.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
# AddDocumentSyncService
4+
5+
## Enum
6+
7+
8+
* `FULLTEXT` (value: `"FULLTEXT"`)
9+
10+
* `EVENTBRIDGE` (value: `"EVENTBRIDGE"`)
11+
12+
13+

docs/AdvancedDocumentSearchApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ All URIs are relative to *http://localhost*
2121
2222
Add document's full-text
2323

24-
Adde a document to OpenSearch; available as an Add-On Module
24+
Add a document to OpenSearch; available as an Add-On Module
2525

2626
### Example
2727
```java

docs/DocumentAttributesApi.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost*
1616

1717
<a id="addDocumentAttributes"></a>
1818
# **addDocumentAttributes**
19-
> AddResponse addDocumentAttributes(documentId, addDocumentAttributesRequest, siteId, ws)
19+
> AddResponse addDocumentAttributes(documentId, addDocumentAttributesRequest, siteId)
2020
2121
Add attribute to document
2222

@@ -43,9 +43,8 @@ public class Example {
4343
String documentId = "documentId_example"; // String | Document Identifier
4444
AddDocumentAttributesRequest addDocumentAttributesRequest = new AddDocumentAttributesRequest(); // AddDocumentAttributesRequest |
4545
String siteId = "siteId_example"; // String | Site Identifier
46-
String ws = "ws_example"; // String | Whether to enable WebSocket real-time communication with the request
4746
try {
48-
AddResponse result = apiInstance.addDocumentAttributes(documentId, addDocumentAttributesRequest, siteId, ws);
47+
AddResponse result = apiInstance.addDocumentAttributes(documentId, addDocumentAttributesRequest, siteId);
4948
System.out.println(result);
5049
} catch (ApiException e) {
5150
System.err.println("Exception when calling DocumentAttributesApi#addDocumentAttributes");
@@ -65,7 +64,6 @@ public class Example {
6564
| **documentId** | **String**| Document Identifier | |
6665
| **addDocumentAttributesRequest** | [**AddDocumentAttributesRequest**](AddDocumentAttributesRequest.md)| | |
6766
| **siteId** | **String**| Site Identifier | [optional] |
68-
| **ws** | **String**| Whether to enable WebSocket real-time communication with the request | [optional] |
6967

7068
### Return type
7169

docs/DocumentSyncStatus.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
* `FAILED` (value: `"FAILED"`)
1111

12+
* `FAILED_RETRY` (value: `"FAILED_RETRY"`)
13+
1214
* `PENDING` (value: `"PENDING"`)
1315

1416

0 commit comments

Comments
 (0)