@openfilz-sdk/typescript-ee 1.8.0 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +45 -4
- package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
- package/README.md +46 -13
- package/api/aisettings-api.ts +77 -0
- package/api/esign-api.ts +719 -0
- package/api/esign-enterprise-api.ts +286 -0
- package/api/{digital-signature-public-api.ts → esign-public-api.ts} +183 -24
- package/api/{digital-signature-api.ts → esign-templates-api.ts} +137 -113
- package/api.ts +4 -2
- package/dist/api/aisettings-api.d.ts +34 -0
- package/dist/api/aisettings-api.js +70 -0
- package/dist/api/esign-api.d.ts +334 -0
- package/dist/api/esign-api.js +693 -0
- package/dist/api/esign-enterprise-api.d.ts +138 -0
- package/dist/api/esign-enterprise-api.js +278 -0
- package/dist/{esm/api/digital-signature-public-api.d.ts → api/esign-public-api.d.ts} +81 -12
- package/dist/api/{digital-signature-public-api.js → esign-public-api.js} +178 -29
- package/dist/api/esign-templates-api.d.ts +234 -0
- package/dist/api/{digital-signature-api.js → esign-templates-api.js} +137 -115
- package/dist/api.d.ts +4 -2
- package/dist/api.js +4 -2
- package/dist/esm/api/aisettings-api.d.ts +34 -0
- package/dist/esm/api/aisettings-api.js +70 -0
- package/dist/esm/api/esign-api.d.ts +334 -0
- package/dist/esm/api/esign-api.js +686 -0
- package/dist/esm/api/esign-enterprise-api.d.ts +138 -0
- package/dist/esm/api/esign-enterprise-api.js +271 -0
- package/dist/{api/digital-signature-public-api.d.ts → esm/api/esign-public-api.d.ts} +81 -12
- package/dist/esm/api/{digital-signature-public-api.js → esign-public-api.js} +173 -24
- package/dist/esm/api/esign-templates-api.d.ts +234 -0
- package/dist/esm/api/{digital-signature-api.js → esign-templates-api.js} +132 -110
- package/dist/esm/api.d.ts +4 -2
- package/dist/esm/api.js +4 -2
- package/dist/esm/models/ai-models-response.d.ts +41 -0
- package/dist/esm/models/ai-models-response.js +23 -0
- package/dist/esm/models/apply-signature-request.d.ts +3 -0
- package/dist/esm/models/bulk-row-result.d.ts +17 -0
- package/dist/esm/models/bulk-row-result.js +14 -0
- package/dist/esm/models/bulk-row.d.ts +19 -0
- package/dist/esm/models/bulk-row.js +14 -0
- package/dist/esm/models/bulk-send-request.d.ts +19 -0
- package/dist/esm/models/bulk-send-request.js +14 -0
- package/dist/esm/models/bulk-send-response.d.ts +18 -0
- package/dist/esm/models/bulk-send-response.js +14 -0
- package/dist/esm/models/create-signature-envelope-request.d.ts +5 -0
- package/dist/esm/models/embed-url-response.d.ts +16 -0
- package/dist/esm/models/embed-url-response.js +14 -0
- package/dist/esm/models/enriched-audit-log.d.ts +3 -0
- package/dist/esm/models/enriched-audit-log.js +3 -0
- package/dist/esm/models/index.d.ts +18 -0
- package/dist/esm/models/index.js +18 -0
- package/dist/esm/models/instantiate-template-request.d.ts +22 -0
- package/dist/esm/models/instantiate-template-request.js +14 -0
- package/dist/esm/models/list-ai-models-request.d.ts +32 -0
- package/dist/esm/models/list-ai-models-request.js +19 -0
- package/dist/esm/models/public-signature-view.d.ts +13 -0
- package/dist/esm/models/public-signature-view.js +5 -0
- package/dist/esm/models/role-binding.d.ts +19 -0
- package/dist/esm/models/role-binding.js +14 -0
- package/dist/esm/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/esm/models/search-by-audit-log-request.js +3 -0
- package/dist/esm/models/settings.d.ts +3 -0
- package/dist/esm/models/signature-envelope-dto.d.ts +6 -0
- package/dist/esm/models/signature-event-dto.d.ts +33 -0
- package/dist/esm/models/signature-event-dto.js +26 -0
- package/dist/esm/models/signature-field-dto.d.ts +44 -0
- package/dist/esm/models/signature-field-dto.js +27 -0
- package/dist/esm/models/signature-field-input.d.ts +39 -0
- package/dist/esm/models/signature-field-input.js +27 -0
- package/dist/esm/models/signature-field-value.d.ts +16 -0
- package/dist/esm/models/signature-field-value.js +14 -0
- package/dist/esm/models/signature-recipient-dto.d.ts +16 -0
- package/dist/esm/models/signature-recipient-dto.js +9 -0
- package/dist/esm/models/signature-recipient-input.d.ts +19 -1
- package/dist/esm/models/signature-recipient-input.js +9 -1
- package/dist/esm/models/signature-template-dto.d.ts +27 -0
- package/dist/esm/models/signature-template-dto.js +14 -0
- package/dist/esm/models/signature-template-field.d.ts +40 -0
- package/dist/esm/models/signature-template-field.js +27 -0
- package/dist/esm/models/signature-template-request.d.ts +23 -0
- package/dist/esm/models/signature-template-request.js +14 -0
- package/dist/esm/models/signature-template-role.d.ts +28 -0
- package/dist/esm/models/signature-template-role.js +22 -0
- package/dist/esm/models/verify-otp-request.d.ts +14 -0
- package/dist/esm/models/verify-otp-request.js +14 -0
- package/dist/models/ai-models-response.d.ts +41 -0
- package/dist/models/ai-models-response.js +26 -0
- package/dist/models/apply-signature-request.d.ts +3 -0
- package/dist/models/bulk-row-result.d.ts +17 -0
- package/dist/models/bulk-row-result.js +15 -0
- package/dist/models/bulk-row.d.ts +19 -0
- package/dist/models/bulk-row.js +15 -0
- package/dist/models/bulk-send-request.d.ts +19 -0
- package/dist/models/bulk-send-request.js +15 -0
- package/dist/models/bulk-send-response.d.ts +18 -0
- package/dist/models/bulk-send-response.js +15 -0
- package/dist/models/create-signature-envelope-request.d.ts +5 -0
- package/dist/models/embed-url-response.d.ts +16 -0
- package/dist/models/embed-url-response.js +15 -0
- package/dist/models/enriched-audit-log.d.ts +3 -0
- package/dist/models/enriched-audit-log.js +3 -0
- package/dist/models/index.d.ts +18 -0
- package/dist/models/index.js +18 -0
- package/dist/models/instantiate-template-request.d.ts +22 -0
- package/dist/models/instantiate-template-request.js +15 -0
- package/dist/models/list-ai-models-request.d.ts +32 -0
- package/dist/models/list-ai-models-request.js +22 -0
- package/dist/models/public-signature-view.d.ts +13 -0
- package/dist/models/public-signature-view.js +6 -1
- package/dist/models/role-binding.d.ts +19 -0
- package/dist/models/role-binding.js +15 -0
- package/dist/models/search-by-audit-log-request.d.ts +3 -0
- package/dist/models/search-by-audit-log-request.js +3 -0
- package/dist/models/settings.d.ts +3 -0
- package/dist/models/signature-envelope-dto.d.ts +6 -0
- package/dist/models/signature-event-dto.d.ts +33 -0
- package/dist/models/signature-event-dto.js +29 -0
- package/dist/models/signature-field-dto.d.ts +44 -0
- package/dist/models/signature-field-dto.js +30 -0
- package/dist/models/signature-field-input.d.ts +39 -0
- package/dist/models/signature-field-input.js +30 -0
- package/dist/models/signature-field-value.d.ts +16 -0
- package/dist/models/signature-field-value.js +15 -0
- package/dist/models/signature-recipient-dto.d.ts +16 -0
- package/dist/models/signature-recipient-dto.js +10 -1
- package/dist/models/signature-recipient-input.d.ts +19 -1
- package/dist/models/signature-recipient-input.js +10 -0
- package/dist/models/signature-template-dto.d.ts +27 -0
- package/dist/models/signature-template-dto.js +15 -0
- package/dist/models/signature-template-field.d.ts +40 -0
- package/dist/models/signature-template-field.js +30 -0
- package/dist/models/signature-template-request.d.ts +23 -0
- package/dist/models/signature-template-request.js +15 -0
- package/dist/models/signature-template-role.d.ts +28 -0
- package/dist/models/signature-template-role.js +25 -0
- package/dist/models/verify-otp-request.d.ts +14 -0
- package/dist/models/verify-otp-request.js +15 -0
- package/docs/AISettingsApi.md +53 -0
- package/docs/AiModelsResponse.md +26 -0
- package/docs/ApplySignatureRequest.md +4 -0
- package/docs/BulkRow.md +28 -0
- package/docs/BulkRowResult.md +26 -0
- package/docs/BulkSendRequest.md +28 -0
- package/docs/BulkSendResponse.md +26 -0
- package/docs/CreateSignatureEnvelopeRequest.md +10 -0
- package/docs/ESignApi.md +463 -0
- package/docs/ESignEnterpriseApi.md +164 -0
- package/docs/{DigitalSignaturePublicApi.md → ESignPublicApi.md} +118 -12
- package/docs/{DigitalSignatureApi.md → ESignTemplatesApi.md} +76 -61
- package/docs/EmbedUrlResponse.md +24 -0
- package/docs/InstantiateTemplateRequest.md +34 -0
- package/docs/ListAiModelsRequest.md +24 -0
- package/docs/PublicSignatureView.md +12 -0
- package/docs/RoleBinding.md +30 -0
- package/docs/Settings.md +6 -0
- package/docs/SignatureEnvelopeDTO.md +12 -0
- package/docs/SignatureEventDTO.md +30 -0
- package/docs/SignatureFieldDTO.md +46 -0
- package/docs/SignatureFieldInput.md +36 -0
- package/docs/SignatureFieldValue.md +24 -0
- package/docs/SignatureRecipientDTO.md +8 -0
- package/docs/SignatureRecipientInput.md +13 -1
- package/docs/SignatureTemplateDTO.md +42 -0
- package/docs/SignatureTemplateField.md +38 -0
- package/docs/SignatureTemplateRequest.md +34 -0
- package/docs/SignatureTemplateRole.md +26 -0
- package/docs/VerifyOtpRequest.md +20 -0
- package/models/ai-models-response.ts +51 -0
- package/models/apply-signature-request.ts +5 -0
- package/models/bulk-row-result.ts +23 -0
- package/models/bulk-row.ts +27 -0
- package/models/bulk-send-request.ts +27 -0
- package/models/bulk-send-response.ts +26 -0
- package/models/create-signature-envelope-request.ts +5 -0
- package/models/embed-url-response.ts +22 -0
- package/models/enriched-audit-log.ts +3 -0
- package/models/index.ts +18 -0
- package/models/instantiate-template-request.ts +30 -0
- package/models/list-ai-models-request.ts +41 -0
- package/models/public-signature-view.ts +16 -0
- package/models/role-binding.ts +25 -0
- package/models/search-by-audit-log-request.ts +3 -0
- package/models/settings.ts +3 -0
- package/models/signature-envelope-dto.ts +6 -0
- package/models/signature-event-dto.ts +42 -0
- package/models/signature-field-dto.ts +51 -0
- package/models/signature-field-input.ts +46 -0
- package/models/signature-field-value.ts +22 -0
- package/models/signature-recipient-dto.ts +20 -0
- package/models/signature-recipient-input.ts +25 -1
- package/models/signature-template-dto.ts +37 -0
- package/models/signature-template-field.ts +47 -0
- package/models/signature-template-request.ts +33 -0
- package/models/signature-template-role.ts +38 -0
- package/models/verify-otp-request.ts +20 -0
- package/package.json +1 -1
- package/dist/api/digital-signature-api.d.ts +0 -221
- package/dist/esm/api/digital-signature-api.d.ts +0 -221
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SignatureFieldInput {
|
|
13
|
+
'type': SignatureFieldInputTypeEnum;
|
|
14
|
+
'page': number;
|
|
15
|
+
'x': number;
|
|
16
|
+
'y': number;
|
|
17
|
+
'w': number;
|
|
18
|
+
'h': number;
|
|
19
|
+
'required'?: boolean;
|
|
20
|
+
'label'?: string;
|
|
21
|
+
'options'?: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export declare const SignatureFieldInputTypeEnum: {
|
|
26
|
+
readonly Signature: "SIGNATURE";
|
|
27
|
+
readonly Initials: "INITIALS";
|
|
28
|
+
readonly DateSigned: "DATE_SIGNED";
|
|
29
|
+
readonly Text: "TEXT";
|
|
30
|
+
readonly Number: "NUMBER";
|
|
31
|
+
readonly Email: "EMAIL";
|
|
32
|
+
readonly Phone: "PHONE";
|
|
33
|
+
readonly Checkbox: "CHECKBOX";
|
|
34
|
+
readonly Radio: "RADIO";
|
|
35
|
+
readonly Select: "SELECT";
|
|
36
|
+
readonly Image: "IMAGE";
|
|
37
|
+
readonly Stamp: "STAMP";
|
|
38
|
+
};
|
|
39
|
+
export type SignatureFieldInputTypeEnum = typeof SignatureFieldInputTypeEnum[keyof typeof SignatureFieldInputTypeEnum];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SignatureFieldInputTypeEnum = void 0;
|
|
17
|
+
exports.SignatureFieldInputTypeEnum = {
|
|
18
|
+
Signature: 'SIGNATURE',
|
|
19
|
+
Initials: 'INITIALS',
|
|
20
|
+
DateSigned: 'DATE_SIGNED',
|
|
21
|
+
Text: 'TEXT',
|
|
22
|
+
Number: 'NUMBER',
|
|
23
|
+
Email: 'EMAIL',
|
|
24
|
+
Phone: 'PHONE',
|
|
25
|
+
Checkbox: 'CHECKBOX',
|
|
26
|
+
Radio: 'RADIO',
|
|
27
|
+
Select: 'SELECT',
|
|
28
|
+
Image: 'IMAGE',
|
|
29
|
+
Stamp: 'STAMP',
|
|
30
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SignatureFieldValue {
|
|
13
|
+
'fieldId': string;
|
|
14
|
+
'value'?: string;
|
|
15
|
+
'valueImage'?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,17 +9,33 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SignatureFieldDTO } from './signature-field-dto';
|
|
12
13
|
export interface SignatureRecipientDTO {
|
|
13
14
|
'id'?: string;
|
|
14
15
|
'userId'?: string;
|
|
15
16
|
'name'?: string;
|
|
16
17
|
'email'?: string;
|
|
17
18
|
'orderIndex'?: number;
|
|
19
|
+
'role'?: SignatureRecipientDTORoleEnum;
|
|
20
|
+
'authMethod'?: SignatureRecipientDTOAuthMethodEnum;
|
|
18
21
|
'status'?: SignatureRecipientDTOStatusEnum;
|
|
19
22
|
'viewedAt'?: string;
|
|
20
23
|
'signedAt'?: string;
|
|
21
24
|
'declineReason'?: string;
|
|
25
|
+
'reminderCount'?: number;
|
|
26
|
+
'fields'?: Array<SignatureFieldDTO>;
|
|
22
27
|
}
|
|
28
|
+
export declare const SignatureRecipientDTORoleEnum: {
|
|
29
|
+
readonly Signer: "SIGNER";
|
|
30
|
+
readonly Cc: "CC";
|
|
31
|
+
};
|
|
32
|
+
export type SignatureRecipientDTORoleEnum = typeof SignatureRecipientDTORoleEnum[keyof typeof SignatureRecipientDTORoleEnum];
|
|
33
|
+
export declare const SignatureRecipientDTOAuthMethodEnum: {
|
|
34
|
+
readonly None: "NONE";
|
|
35
|
+
readonly EmailOtp: "EMAIL_OTP";
|
|
36
|
+
readonly SmsOtp: "SMS_OTP";
|
|
37
|
+
};
|
|
38
|
+
export type SignatureRecipientDTOAuthMethodEnum = typeof SignatureRecipientDTOAuthMethodEnum[keyof typeof SignatureRecipientDTOAuthMethodEnum];
|
|
23
39
|
export declare const SignatureRecipientDTOStatusEnum: {
|
|
24
40
|
readonly Pending: "PENDING";
|
|
25
41
|
readonly Viewed: "VIEWED";
|
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SignatureRecipientDTOStatusEnum = void 0;
|
|
16
|
+
exports.SignatureRecipientDTOStatusEnum = exports.SignatureRecipientDTOAuthMethodEnum = exports.SignatureRecipientDTORoleEnum = void 0;
|
|
17
|
+
exports.SignatureRecipientDTORoleEnum = {
|
|
18
|
+
Signer: 'SIGNER',
|
|
19
|
+
Cc: 'CC',
|
|
20
|
+
};
|
|
21
|
+
exports.SignatureRecipientDTOAuthMethodEnum = {
|
|
22
|
+
None: 'NONE',
|
|
23
|
+
EmailOtp: 'EMAIL_OTP',
|
|
24
|
+
SmsOtp: 'SMS_OTP',
|
|
25
|
+
};
|
|
17
26
|
exports.SignatureRecipientDTOStatusEnum = {
|
|
18
27
|
Pending: 'PENDING',
|
|
19
28
|
Viewed: 'VIEWED',
|
|
@@ -9,10 +9,28 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SignatureFieldInput } from './signature-field-input';
|
|
12
13
|
import type { SignatureFieldPlacement } from './signature-field-placement';
|
|
13
14
|
export interface SignatureRecipientInput {
|
|
14
15
|
'userId'?: string;
|
|
15
16
|
'name'?: string;
|
|
16
17
|
'email': string;
|
|
17
|
-
'
|
|
18
|
+
'orderIndex'?: number;
|
|
19
|
+
'role'?: SignatureRecipientInputRoleEnum;
|
|
20
|
+
'authMethod'?: SignatureRecipientInputAuthMethodEnum;
|
|
21
|
+
'phone'?: string;
|
|
22
|
+
'locale'?: string;
|
|
23
|
+
'fields'?: Array<SignatureFieldInput>;
|
|
24
|
+
'field'?: SignatureFieldPlacement;
|
|
18
25
|
}
|
|
26
|
+
export declare const SignatureRecipientInputRoleEnum: {
|
|
27
|
+
readonly Signer: "SIGNER";
|
|
28
|
+
readonly Cc: "CC";
|
|
29
|
+
};
|
|
30
|
+
export type SignatureRecipientInputRoleEnum = typeof SignatureRecipientInputRoleEnum[keyof typeof SignatureRecipientInputRoleEnum];
|
|
31
|
+
export declare const SignatureRecipientInputAuthMethodEnum: {
|
|
32
|
+
readonly None: "NONE";
|
|
33
|
+
readonly EmailOtp: "EMAIL_OTP";
|
|
34
|
+
readonly SmsOtp: "SMS_OTP";
|
|
35
|
+
};
|
|
36
|
+
export type SignatureRecipientInputAuthMethodEnum = typeof SignatureRecipientInputAuthMethodEnum[keyof typeof SignatureRecipientInputAuthMethodEnum];
|
|
@@ -13,3 +13,13 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SignatureRecipientInputAuthMethodEnum = exports.SignatureRecipientInputRoleEnum = void 0;
|
|
17
|
+
exports.SignatureRecipientInputRoleEnum = {
|
|
18
|
+
Signer: 'SIGNER',
|
|
19
|
+
Cc: 'CC',
|
|
20
|
+
};
|
|
21
|
+
exports.SignatureRecipientInputAuthMethodEnum = {
|
|
22
|
+
None: 'NONE',
|
|
23
|
+
EmailOtp: 'EMAIL_OTP',
|
|
24
|
+
SmsOtp: 'SMS_OTP',
|
|
25
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SignatureTemplateField } from './signature-template-field';
|
|
13
|
+
import type { SignatureTemplateRole } from './signature-template-role';
|
|
14
|
+
export interface SignatureTemplateDTO {
|
|
15
|
+
'id'?: string;
|
|
16
|
+
'ownerEmail'?: string;
|
|
17
|
+
'name'?: string;
|
|
18
|
+
'description'?: string;
|
|
19
|
+
'sourceDocId'?: string;
|
|
20
|
+
'roles'?: Array<SignatureTemplateRole>;
|
|
21
|
+
'fields'?: Array<SignatureTemplateField>;
|
|
22
|
+
'message'?: string;
|
|
23
|
+
'expiresInDays'?: number;
|
|
24
|
+
'sequential'?: boolean;
|
|
25
|
+
'createdAt'?: string;
|
|
26
|
+
'updatedAt'?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SignatureTemplateField {
|
|
13
|
+
'role': string;
|
|
14
|
+
'type': SignatureTemplateFieldTypeEnum;
|
|
15
|
+
'page': number;
|
|
16
|
+
'x': number;
|
|
17
|
+
'y': number;
|
|
18
|
+
'w': number;
|
|
19
|
+
'h': number;
|
|
20
|
+
'required'?: boolean;
|
|
21
|
+
'label'?: string;
|
|
22
|
+
'options'?: {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export declare const SignatureTemplateFieldTypeEnum: {
|
|
27
|
+
readonly Signature: "SIGNATURE";
|
|
28
|
+
readonly Initials: "INITIALS";
|
|
29
|
+
readonly DateSigned: "DATE_SIGNED";
|
|
30
|
+
readonly Text: "TEXT";
|
|
31
|
+
readonly Number: "NUMBER";
|
|
32
|
+
readonly Email: "EMAIL";
|
|
33
|
+
readonly Phone: "PHONE";
|
|
34
|
+
readonly Checkbox: "CHECKBOX";
|
|
35
|
+
readonly Radio: "RADIO";
|
|
36
|
+
readonly Select: "SELECT";
|
|
37
|
+
readonly Image: "IMAGE";
|
|
38
|
+
readonly Stamp: "STAMP";
|
|
39
|
+
};
|
|
40
|
+
export type SignatureTemplateFieldTypeEnum = typeof SignatureTemplateFieldTypeEnum[keyof typeof SignatureTemplateFieldTypeEnum];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SignatureTemplateFieldTypeEnum = void 0;
|
|
17
|
+
exports.SignatureTemplateFieldTypeEnum = {
|
|
18
|
+
Signature: 'SIGNATURE',
|
|
19
|
+
Initials: 'INITIALS',
|
|
20
|
+
DateSigned: 'DATE_SIGNED',
|
|
21
|
+
Text: 'TEXT',
|
|
22
|
+
Number: 'NUMBER',
|
|
23
|
+
Email: 'EMAIL',
|
|
24
|
+
Phone: 'PHONE',
|
|
25
|
+
Checkbox: 'CHECKBOX',
|
|
26
|
+
Radio: 'RADIO',
|
|
27
|
+
Select: 'SELECT',
|
|
28
|
+
Image: 'IMAGE',
|
|
29
|
+
Stamp: 'STAMP',
|
|
30
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SignatureTemplateField } from './signature-template-field';
|
|
13
|
+
import type { SignatureTemplateRole } from './signature-template-role';
|
|
14
|
+
export interface SignatureTemplateRequest {
|
|
15
|
+
'name': string;
|
|
16
|
+
'description'?: string;
|
|
17
|
+
'sourceDocId'?: string;
|
|
18
|
+
'roles': Array<SignatureTemplateRole>;
|
|
19
|
+
'fields': Array<SignatureTemplateField>;
|
|
20
|
+
'message'?: string;
|
|
21
|
+
'expiresInDays'?: number;
|
|
22
|
+
'sequential'?: boolean;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SignatureTemplateRole {
|
|
13
|
+
'name': string;
|
|
14
|
+
'orderIndex'?: number;
|
|
15
|
+
'role'?: SignatureTemplateRoleRoleEnum;
|
|
16
|
+
'authMethod'?: SignatureTemplateRoleAuthMethodEnum;
|
|
17
|
+
}
|
|
18
|
+
export declare const SignatureTemplateRoleRoleEnum: {
|
|
19
|
+
readonly Signer: "SIGNER";
|
|
20
|
+
readonly Cc: "CC";
|
|
21
|
+
};
|
|
22
|
+
export type SignatureTemplateRoleRoleEnum = typeof SignatureTemplateRoleRoleEnum[keyof typeof SignatureTemplateRoleRoleEnum];
|
|
23
|
+
export declare const SignatureTemplateRoleAuthMethodEnum: {
|
|
24
|
+
readonly None: "NONE";
|
|
25
|
+
readonly EmailOtp: "EMAIL_OTP";
|
|
26
|
+
readonly SmsOtp: "SMS_OTP";
|
|
27
|
+
};
|
|
28
|
+
export type SignatureTemplateRoleAuthMethodEnum = typeof SignatureTemplateRoleAuthMethodEnum[keyof typeof SignatureTemplateRoleAuthMethodEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SignatureTemplateRoleAuthMethodEnum = exports.SignatureTemplateRoleRoleEnum = void 0;
|
|
17
|
+
exports.SignatureTemplateRoleRoleEnum = {
|
|
18
|
+
Signer: 'SIGNER',
|
|
19
|
+
Cc: 'CC',
|
|
20
|
+
};
|
|
21
|
+
exports.SignatureTemplateRoleAuthMethodEnum = {
|
|
22
|
+
None: 'NONE',
|
|
23
|
+
EmailOtp: 'EMAIL_OTP',
|
|
24
|
+
SmsOtp: 'SMS_OTP',
|
|
25
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* openfilz-api
|
|
3
|
+
* API for Document Management System
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface VerifyOtpRequest {
|
|
13
|
+
'code': string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* openfilz-api
|
|
6
|
+
* API for Document Management System
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/docs/AISettingsApi.md
CHANGED
|
@@ -6,6 +6,7 @@ All URIs are relative to *http://localhost:8081*
|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**deleteSettings**](#deletesettings) | **DELETE** /api/v1/settings/ai | Reset my AI settings|
|
|
8
8
|
|[**getSettings1**](#getsettings1) | **GET** /api/v1/settings/ai | Get my AI settings|
|
|
9
|
+
|[**listModels**](#listmodels) | **POST** /api/v1/settings/ai/models | List the provider\'s chat models|
|
|
9
10
|
|[**saveSettings1**](#savesettings1) | **PUT** /api/v1/settings/ai | Save my AI settings|
|
|
10
11
|
|[**testConnection**](#testconnection) | **POST** /api/v1/settings/ai/test | Test AI provider connection|
|
|
11
12
|
|
|
@@ -90,6 +91,58 @@ This endpoint does not have any parameters.
|
|
|
90
91
|
- **Accept**: application/json
|
|
91
92
|
|
|
92
93
|
|
|
94
|
+
### HTTP response details
|
|
95
|
+
| Status code | Description | Response headers |
|
|
96
|
+
|-------------|-------------|------------------|
|
|
97
|
+
|**200** | OK | - |
|
|
98
|
+
|
|
99
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
100
|
+
|
|
101
|
+
# **listModels**
|
|
102
|
+
> AiModelsResponse listModels(listAiModelsRequest)
|
|
103
|
+
|
|
104
|
+
Ask the provider which chat models this key can use, so the picker reflects what exists today rather than a list baked into a release. Falls back to a built-in list (source=FALLBACK) when the provider cannot be reached. POST rather than GET because the key travels in the body, never in a query string; omit apiKey to use the stored key.
|
|
105
|
+
|
|
106
|
+
### Example
|
|
107
|
+
|
|
108
|
+
```typescript
|
|
109
|
+
import {
|
|
110
|
+
AISettingsApi,
|
|
111
|
+
Configuration,
|
|
112
|
+
ListAiModelsRequest
|
|
113
|
+
} from '@openfilz-sdk/typescript-ee';
|
|
114
|
+
|
|
115
|
+
const configuration = new Configuration();
|
|
116
|
+
const apiInstance = new AISettingsApi(configuration);
|
|
117
|
+
|
|
118
|
+
let listAiModelsRequest: ListAiModelsRequest; //
|
|
119
|
+
|
|
120
|
+
const { status, data } = await apiInstance.listModels(
|
|
121
|
+
listAiModelsRequest
|
|
122
|
+
);
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Parameters
|
|
126
|
+
|
|
127
|
+
|Name | Type | Description | Notes|
|
|
128
|
+
|------------- | ------------- | ------------- | -------------|
|
|
129
|
+
| **listAiModelsRequest** | **ListAiModelsRequest**| | |
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
### Return type
|
|
133
|
+
|
|
134
|
+
**AiModelsResponse**
|
|
135
|
+
|
|
136
|
+
### Authorization
|
|
137
|
+
|
|
138
|
+
[keycloak_auth](../README.md#keycloak_auth)
|
|
139
|
+
|
|
140
|
+
### HTTP request headers
|
|
141
|
+
|
|
142
|
+
- **Content-Type**: application/json
|
|
143
|
+
- **Accept**: application/json
|
|
144
|
+
|
|
145
|
+
|
|
93
146
|
### HTTP response details
|
|
94
147
|
| Status code | Description | Response headers |
|
|
95
148
|
|-------------|-------------|------------------|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# AiModelsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**provider** | **string** | Provider the list belongs to | [optional] [default to undefined]
|
|
9
|
+
**models** | **Array<string>** | Model ids, best default first | [optional] [default to undefined]
|
|
10
|
+
**source** | **string** | LIVE or FALLBACK | [optional] [default to undefined]
|
|
11
|
+
**message** | **string** | Why the provider list is unavailable, when source is FALLBACK | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AiModelsResponse } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: AiModelsResponse = {
|
|
19
|
+
provider,
|
|
20
|
+
models,
|
|
21
|
+
source,
|
|
22
|
+
message,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -7,6 +7,8 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**signatureImage** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**typedName** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**fields** | [**Array<SignatureFieldValue>**](SignatureFieldValue.md) | | [optional] [default to undefined]
|
|
11
|
+
**legacy** | **boolean** | | [optional] [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -16,6 +18,8 @@ import { ApplySignatureRequest } from '@openfilz-sdk/typescript-ee';
|
|
|
16
18
|
const instance: ApplySignatureRequest = {
|
|
17
19
|
signatureImage,
|
|
18
20
|
typedName,
|
|
21
|
+
fields,
|
|
22
|
+
legacy,
|
|
19
23
|
};
|
|
20
24
|
```
|
|
21
25
|
|
package/docs/BulkRow.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# BulkRow
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**sourceDocId** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**message** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**recipients** | [**Array<RoleBinding>**](RoleBinding.md) | | [default to undefined]
|
|
12
|
+
**locale** | **string** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { BulkRow } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: BulkRow = {
|
|
20
|
+
sourceDocId,
|
|
21
|
+
title,
|
|
22
|
+
message,
|
|
23
|
+
recipients,
|
|
24
|
+
locale,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# BulkRowResult
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**row** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**envelopeId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**status** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**error** | **string** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { BulkRowResult } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: BulkRowResult = {
|
|
19
|
+
row,
|
|
20
|
+
envelopeId,
|
|
21
|
+
status,
|
|
22
|
+
error,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# BulkSendRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**templateId** | **string** | | [default to undefined]
|
|
9
|
+
**rows** | [**Array<BulkRow>**](BulkRow.md) | | [default to undefined]
|
|
10
|
+
**expiresInDays** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**reminderDays** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**send** | **boolean** | | [optional] [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { BulkSendRequest } from '@openfilz-sdk/typescript-ee';
|
|
18
|
+
|
|
19
|
+
const instance: BulkSendRequest = {
|
|
20
|
+
templateId,
|
|
21
|
+
rows,
|
|
22
|
+
expiresInDays,
|
|
23
|
+
reminderDays,
|
|
24
|
+
send,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# BulkSendResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**total** | **number** | | [optional] [default to undefined]
|
|
9
|
+
**created** | **number** | | [optional] [default to undefined]
|
|
10
|
+
**failed** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**results** | [**Array<BulkRowResult>**](BulkRowResult.md) | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { BulkSendResponse } from '@openfilz-sdk/typescript-ee';
|
|
17
|
+
|
|
18
|
+
const instance: BulkSendResponse = {
|
|
19
|
+
total,
|
|
20
|
+
created,
|
|
21
|
+
failed,
|
|
22
|
+
results,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|