Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mfriesen committed Sep 30, 2024
1 parent 3f77843 commit 3bf8289
Show file tree
Hide file tree
Showing 343 changed files with 458 additions and 406 deletions.
40 changes: 26 additions & 14 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1628,7 +1628,11 @@ paths:
x-accepts:
- application/json
patch:
description: "Update a document's details, i.e., metadata"
description: |-
Update a document's details, i.e., metadata

NOTE:
- 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
Expand Down Expand Up @@ -1896,8 +1900,11 @@ paths:
x-accepts:
- application/json
put:
description: Set multiple attributes to a document; this endpoint also accepts
a different body parameter for setting a single attribute
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
Expand Down Expand Up @@ -9671,8 +9678,12 @@ paths:
- application/json
/documents/{documentId}/generate:
post:
description: Generates a document based from a template file; ONLY available
with FormKiQ Enterprise
description: |-
Generates a new document using a specified template file and data sources. This operation allows users to merge data from multiple documents into a template to create a new document in the desired output format (e.g., DOCX).

By Default data source must include a `data` object, which contains key-value pairs that will be merged into the template. The value can be any valid JSON object. { "data":{}}. The data path can be adjusted via the "dataRoot" field.

; ONLY available with FormKiQ Enterprise
operationId: AddDocumentGenerate
parameters:
- description: Site Identifier
Expand Down Expand Up @@ -11628,7 +11639,6 @@ components:
stringValues:
- stringValues
- stringValues
insertedDate: insertedDate
valueType: BOOLEAN
booleanValue: true
properties:
Expand All @@ -11647,9 +11657,6 @@ components:
type: boolean
valueType:
$ref: '#/components/schemas/AttributeValueType'
insertedDate:
description: Inserted Timestamp
type: string
DocumentSearchMeta:
example:
path: path
Expand Down Expand Up @@ -13422,7 +13429,6 @@ components:
stringValues:
- stringValues
- stringValues
insertedDate: insertedDate
valueType: BOOLEAN
booleanValue: true
contentType: contentType
Expand Down Expand Up @@ -13476,7 +13482,6 @@ components:
stringValues:
- stringValues
- stringValues
insertedDate: insertedDate
valueType: BOOLEAN
booleanValue: true
contentType: contentType
Expand Down Expand Up @@ -13820,7 +13825,6 @@ components:
stringValues:
- stringValues
- stringValues
insertedDate: insertedDate
valueType: BOOLEAN
booleanValue: true
contentType: contentType
Expand Down Expand Up @@ -13874,7 +13878,6 @@ components:
stringValues:
- stringValues
- stringValues
insertedDate: insertedDate
valueType: BOOLEAN
booleanValue: true
contentType: contentType
Expand Down Expand Up @@ -13943,7 +13946,6 @@ components:
stringValues:
- stringValues
- stringValues
insertedDate: insertedDate
valueType: BOOLEAN
booleanValue: true
contentType: contentType
Expand Down Expand Up @@ -15365,8 +15367,10 @@ components:
datasources:
- name: name
documentId: documentId
dataRoot: data
- name: name
documentId: documentId
dataRoot: data
outputType: DOCX
properties:
datasources:
Expand All @@ -15381,13 +15385,18 @@ components:
example:
name: name
documentId: documentId
dataRoot: data
properties:
name:
description: The data source name
type: string
documentId:
description: Document Identifier of the data source document
type: string
dataRoot:
default: data
description: The default JSON object path for the data object
type: string
required:
- documentId
type: object
Expand Down Expand Up @@ -16815,6 +16824,7 @@ components:
- READ
- WRITE
- DELETE
- GOVERN
type: string
type: array
type: object
Expand Down Expand Up @@ -17389,6 +17399,7 @@ components:
- READ
- WRITE
- DELETE
- GOVERN
type: string
type: array
type: object
Expand Down Expand Up @@ -18850,6 +18861,7 @@ components:
- DELETE
- READ
- WRITE
- GOVERN
type: string
AddClassificationRequest:
example:
Expand Down
1 change: 1 addition & 0 deletions docs/AddApiKeyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
| READ | "READ" |
| WRITE | "WRITE" |
| DELETE | "DELETE" |
| GOVERN | "GOVERN" |



1 change: 1 addition & 0 deletions docs/ApiKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
| READ | "READ" |
| WRITE | "WRITE" |
| DELETE | "DELETE" |
| GOVERN | "GOVERN" |



2 changes: 1 addition & 1 deletion docs/DocumentAttributesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ No authorization required
Set document's attributes

Set multiple attributes to a document; this endpoint also accepts a different body parameter for setting a single attribute
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.

### Example
```java
Expand Down
1 change: 1 addition & 0 deletions docs/DocumentGenerateDataSource.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**name** | **String** | The data source name | [optional] |
|**documentId** | **String** | Document Identifier of the data source document | |
|**dataRoot** | **String** | The default JSON object path for the data object | [optional] |



2 changes: 1 addition & 1 deletion docs/DocumentGenerationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ All URIs are relative to *http://localhost*
Add Document Generate

Generates a document based from a template file; ONLY available with FormKiQ Enterprise
Generates a new document using a specified template file and data sources. This operation allows users to merge data from multiple documents into a template to create a new document in the desired output format (e.g., DOCX). By Default data source must include a `data` object, which contains key-value pairs that will be merged into the template. The value can be any valid JSON object. { \"data\":{}}. The data path can be adjusted via the \"dataRoot\" field. ; ONLY available with FormKiQ Enterprise

### Example
```java
Expand Down
2 changes: 1 addition & 1 deletion docs/DocumentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@ No authorization required
Update document

Update a document's details, i.e., metadata
Update a document's details, i.e., metadata NOTE: - provided attributes will overwrite existing matching attribute keys in the document. Attributes not included in the request body will remain unchanged.

### Example
```java
Expand Down
1 change: 0 additions & 1 deletion docs/SearchResultDocumentAttribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
|**numberValues** | **List<BigDecimal>** | Attribute with number values | [optional] |
|**booleanValue** | **Boolean** | Attribute with boolean value | [optional] |
|**valueType** | **AttributeValueType** | | [optional] |
|**insertedDate** | **String** | Inserted Timestamp | [optional] |



2 changes: 2 additions & 0 deletions docs/SiteGroupPermissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@

* `WRITE` (value: `"WRITE"`)

* `GOVERN` (value: `"GOVERN"`)



Original file line number Diff line number Diff line change
Expand Up @@ -1662,7 +1662,8 @@ private okhttp3.Call setDocumentAttributesValidateBeforeCall(String documentId,

/**
* Set document's attributes Set multiple attributes to a document; this endpoint also accepts
* a different body parameter for setting a single attribute
* a different body parameter for setting a single attribute Note: - attributes in the request
* will overwrite existing attributes.
*
* @param documentId Document Identifier (required)
* @param setDocumentAttributesRequest (required)
Expand Down Expand Up @@ -1697,7 +1698,8 @@ public SetResponse setDocumentAttributes(String documentId,

/**
* Set document's attributes Set multiple attributes to a document; this endpoint also accepts
* a different body parameter for setting a single attribute
* a different body parameter for setting a single attribute Note: - attributes in the request
* will overwrite existing attributes.
*
* @param documentId Document Identifier (required)
* @param setDocumentAttributesRequest (required)
Expand Down Expand Up @@ -1733,7 +1735,8 @@ public ApiResponse<SetResponse> setDocumentAttributesWithHttpInfo(String documen

/**
* Set document&#39;s attributes (asynchronously) Set multiple attributes to a document; this
* endpoint also accepts a different body parameter for setting a single attribute
* endpoint also accepts a different body parameter for setting a single attribute Note: -
* attributes in the request will overwrite existing attributes.
*
* @param documentId Document Identifier (required)
* @param setDocumentAttributesRequest (required)
Expand Down
25 changes: 19 additions & 6 deletions src/main/java/com/formkiq/client/api/DocumentGenerationApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,12 @@ private okhttp3.Call addDocumentGenerateValidateBeforeCall(String documentId,
}

/**
* Add Document Generate Generates a document based from a template file; ONLY available with
* FormKiQ Enterprise
* Add Document Generate Generates a new document using a specified template file and data
* sources. This operation allows users to merge data from multiple documents into a template to
* create a new document in the desired output format (e.g., DOCX). By Default data source must
* include a &#x60;data&#x60; object, which contains key-value pairs that will be merged into the
* template. The value can be any valid JSON object. { \&quot;data\&quot;:{}}. The data path can
* be adjusted via the \&quot;dataRoot\&quot; field. ; ONLY available with FormKiQ Enterprise
*
* @param documentId Document Identifier (required)
* @param addDocumentGenerateRequest (required)
Expand Down Expand Up @@ -222,8 +226,12 @@ public AddDocumentGenerateResponse addDocumentGenerate(String documentId,
}

/**
* Add Document Generate Generates a document based from a template file; ONLY available with
* FormKiQ Enterprise
* Add Document Generate Generates a new document using a specified template file and data
* sources. This operation allows users to merge data from multiple documents into a template to
* create a new document in the desired output format (e.g., DOCX). By Default data source must
* include a &#x60;data&#x60; object, which contains key-value pairs that will be merged into the
* template. The value can be any valid JSON object. { \&quot;data\&quot;:{}}. The data path can
* be adjusted via the \&quot;dataRoot\&quot; field. ; ONLY available with FormKiQ Enterprise
*
* @param documentId Document Identifier (required)
* @param addDocumentGenerateRequest (required)
Expand Down Expand Up @@ -262,8 +270,13 @@ public ApiResponse<AddDocumentGenerateResponse> addDocumentGenerateWithHttpInfo(
}

/**
* Add Document Generate (asynchronously) Generates a document based from a template file; ONLY
* available with FormKiQ Enterprise
* Add Document Generate (asynchronously) Generates a new document using a specified template file
* and data sources. This operation allows users to merge data from multiple documents into a
* template to create a new document in the desired output format (e.g., DOCX). By Default data
* source must include a &#x60;data&#x60; object, which contains key-value pairs that will be
* merged into the template. The value can be any valid JSON object. { \&quot;data\&quot;:{}}. The
* data path can be adjusted via the \&quot;dataRoot\&quot; field. ; ONLY available with FormKiQ
* Enterprise
*
* @param documentId Document Identifier (required)
* @param addDocumentGenerateRequest (required)
Expand Down
12 changes: 9 additions & 3 deletions src/main/java/com/formkiq/client/api/DocumentsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -3162,7 +3162,9 @@ private okhttp3.Call updateDocumentValidateBeforeCall(String documentId,
}

/**
* Update document Update a document&#39;s details, i.e., metadata
* Update document Update a document&#39;s details, i.e., metadata NOTE: - provided attributes
* will overwrite existing matching attribute keys in the document. Attributes not included in the
* request body will remain unchanged.
*
* @param documentId Document Identifier (required)
* @param updateDocumentRequest (required)
Expand Down Expand Up @@ -3202,7 +3204,9 @@ public AddDocumentResponse updateDocument(String documentId,
}

/**
* Update document Update a document&#39;s details, i.e., metadata
* Update document Update a document&#39;s details, i.e., metadata NOTE: - provided attributes
* will overwrite existing matching attribute keys in the document. Attributes not included in the
* request body will remain unchanged.
*
* @param documentId Document Identifier (required)
* @param updateDocumentRequest (required)
Expand Down Expand Up @@ -3243,7 +3247,9 @@ public ApiResponse<AddDocumentResponse> updateDocumentWithHttpInfo(String docume
}

/**
* Update document (asynchronously) Update a document&#39;s details, i.e., metadata
* Update document (asynchronously) Update a document&#39;s details, i.e., metadata NOTE: -
* provided attributes will overwrite existing matching attribute keys in the document. Attributes
* not included in the request body will remain unchanged.
*
* @param documentId Document Identifier (required)
* @param updateDocumentRequest (required)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/formkiq/client/invoker/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package com.formkiq.client.invoker;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class Configuration {
public static final String VERSION = "1.16.0";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/formkiq/client/invoker/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package com.formkiq.client.invoker;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class Pair {
private String name = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Representing a Server configuration.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class ServerConfiguration {
public String URL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Representing a Server Variable for server URL template substitution.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class ServerVariable {
public String description;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/formkiq/client/invoker/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class StringUtil {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
import okio.Buffer;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen",
date = "2024-09-20T20:52:06.379355-05:00[America/Winnipeg]",
date = "2024-09-30T12:37:05.696833-05:00[America/Chicago]",
comments = "Generator version: 7.8.0")
public class AWS4Auth implements Authentication {

Expand Down
Loading

0 comments on commit 3bf8289

Please sign in to comment.