@openfilz-sdk/typescript 1.2.26 → 1.2.28

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.
Files changed (160) hide show
  1. package/.openapi-generator/FILES +44 -0
  2. package/.openapi-generator/openfilz-api-generate-typescript-sdk.sha256 +1 -1
  3. package/README.md +43 -2
  4. package/api/esign-api.ts +719 -0
  5. package/api/esign-public-api.ts +622 -0
  6. package/api/esign-templates-api.ts +503 -0
  7. package/api.ts +3 -0
  8. package/dist/api/esign-api.d.ts +334 -0
  9. package/dist/api/esign-api.js +693 -0
  10. package/dist/api/esign-public-api.d.ts +282 -0
  11. package/dist/api/esign-public-api.js +595 -0
  12. package/dist/api/esign-templates-api.d.ts +234 -0
  13. package/dist/api/esign-templates-api.js +486 -0
  14. package/dist/api.d.ts +3 -0
  15. package/dist/api.js +3 -0
  16. package/dist/esm/api/esign-api.d.ts +334 -0
  17. package/dist/esm/api/esign-api.js +686 -0
  18. package/dist/esm/api/esign-public-api.d.ts +282 -0
  19. package/dist/esm/api/esign-public-api.js +588 -0
  20. package/dist/esm/api/esign-templates-api.d.ts +234 -0
  21. package/dist/esm/api/esign-templates-api.js +479 -0
  22. package/dist/esm/api.d.ts +3 -0
  23. package/dist/esm/api.js +3 -0
  24. package/dist/esm/models/apply-signature-request.d.ts +18 -0
  25. package/dist/esm/models/apply-signature-request.js +14 -0
  26. package/dist/esm/models/audit-log.d.ts +10 -0
  27. package/dist/esm/models/audit-log.js +10 -0
  28. package/dist/esm/models/create-signature-envelope-request.d.ts +24 -0
  29. package/dist/esm/models/create-signature-envelope-request.js +14 -0
  30. package/dist/esm/models/decline-signature-request.d.ts +14 -0
  31. package/dist/esm/models/decline-signature-request.js +14 -0
  32. package/dist/esm/models/index.d.ts +19 -0
  33. package/dist/esm/models/index.js +19 -0
  34. package/dist/esm/models/instantiate-template-request.d.ts +22 -0
  35. package/dist/esm/models/instantiate-template-request.js +14 -0
  36. package/dist/esm/models/public-signature-view.d.ts +57 -0
  37. package/dist/esm/models/public-signature-view.js +32 -0
  38. package/dist/esm/models/role-binding.d.ts +19 -0
  39. package/dist/esm/models/role-binding.js +14 -0
  40. package/dist/esm/models/search-by-audit-log-request.d.ts +10 -0
  41. package/dist/esm/models/search-by-audit-log-request.js +10 -0
  42. package/dist/esm/models/settings.d.ts +3 -0
  43. package/dist/esm/models/signature-envelope-dto.d.ts +40 -0
  44. package/dist/esm/models/signature-envelope-dto.js +21 -0
  45. package/dist/esm/models/signature-event-dto.d.ts +33 -0
  46. package/dist/esm/models/signature-event-dto.js +26 -0
  47. package/dist/esm/models/signature-field-dto.d.ts +44 -0
  48. package/dist/esm/models/signature-field-dto.js +27 -0
  49. package/dist/esm/models/signature-field-input.d.ts +39 -0
  50. package/dist/esm/models/signature-field-input.js +27 -0
  51. package/dist/esm/models/signature-field-placement.d.ts +18 -0
  52. package/dist/esm/models/signature-field-placement.js +14 -0
  53. package/dist/esm/models/signature-field-value.d.ts +16 -0
  54. package/dist/esm/models/signature-field-value.js +14 -0
  55. package/dist/esm/models/signature-recipient-dto.d.ts +45 -0
  56. package/dist/esm/models/signature-recipient-dto.js +28 -0
  57. package/dist/esm/models/signature-recipient-input.d.ts +36 -0
  58. package/dist/esm/models/signature-recipient-input.js +22 -0
  59. package/dist/esm/models/signature-template-dto.d.ts +27 -0
  60. package/dist/esm/models/signature-template-dto.js +14 -0
  61. package/dist/esm/models/signature-template-field.d.ts +40 -0
  62. package/dist/esm/models/signature-template-field.js +27 -0
  63. package/dist/esm/models/signature-template-request.d.ts +23 -0
  64. package/dist/esm/models/signature-template-request.js +14 -0
  65. package/dist/esm/models/signature-template-role.d.ts +28 -0
  66. package/dist/esm/models/signature-template-role.js +22 -0
  67. package/dist/esm/models/verify-otp-request.d.ts +14 -0
  68. package/dist/esm/models/verify-otp-request.js +14 -0
  69. package/dist/models/apply-signature-request.d.ts +18 -0
  70. package/dist/models/apply-signature-request.js +15 -0
  71. package/dist/models/audit-log.d.ts +10 -0
  72. package/dist/models/audit-log.js +10 -0
  73. package/dist/models/create-signature-envelope-request.d.ts +24 -0
  74. package/dist/models/create-signature-envelope-request.js +15 -0
  75. package/dist/models/decline-signature-request.d.ts +14 -0
  76. package/dist/models/decline-signature-request.js +15 -0
  77. package/dist/models/index.d.ts +19 -0
  78. package/dist/models/index.js +19 -0
  79. package/dist/models/instantiate-template-request.d.ts +22 -0
  80. package/dist/models/instantiate-template-request.js +15 -0
  81. package/dist/models/public-signature-view.d.ts +57 -0
  82. package/dist/models/public-signature-view.js +35 -0
  83. package/dist/models/role-binding.d.ts +19 -0
  84. package/dist/models/role-binding.js +15 -0
  85. package/dist/models/search-by-audit-log-request.d.ts +10 -0
  86. package/dist/models/search-by-audit-log-request.js +10 -0
  87. package/dist/models/settings.d.ts +3 -0
  88. package/dist/models/signature-envelope-dto.d.ts +40 -0
  89. package/dist/models/signature-envelope-dto.js +24 -0
  90. package/dist/models/signature-event-dto.d.ts +33 -0
  91. package/dist/models/signature-event-dto.js +29 -0
  92. package/dist/models/signature-field-dto.d.ts +44 -0
  93. package/dist/models/signature-field-dto.js +30 -0
  94. package/dist/models/signature-field-input.d.ts +39 -0
  95. package/dist/models/signature-field-input.js +30 -0
  96. package/dist/models/signature-field-placement.d.ts +18 -0
  97. package/dist/models/signature-field-placement.js +15 -0
  98. package/dist/models/signature-field-value.d.ts +16 -0
  99. package/dist/models/signature-field-value.js +15 -0
  100. package/dist/models/signature-recipient-dto.d.ts +45 -0
  101. package/dist/models/signature-recipient-dto.js +31 -0
  102. package/dist/models/signature-recipient-input.d.ts +36 -0
  103. package/dist/models/signature-recipient-input.js +25 -0
  104. package/dist/models/signature-template-dto.d.ts +27 -0
  105. package/dist/models/signature-template-dto.js +15 -0
  106. package/dist/models/signature-template-field.d.ts +40 -0
  107. package/dist/models/signature-template-field.js +30 -0
  108. package/dist/models/signature-template-request.d.ts +23 -0
  109. package/dist/models/signature-template-request.js +15 -0
  110. package/dist/models/signature-template-role.d.ts +28 -0
  111. package/dist/models/signature-template-role.js +25 -0
  112. package/dist/models/verify-otp-request.d.ts +14 -0
  113. package/dist/models/verify-otp-request.js +15 -0
  114. package/docs/ApplySignatureRequest.md +26 -0
  115. package/docs/CreateSignatureEnvelopeRequest.md +38 -0
  116. package/docs/DeclineSignatureRequest.md +20 -0
  117. package/docs/ESignApi.md +463 -0
  118. package/docs/ESignPublicApi.md +382 -0
  119. package/docs/ESignTemplatesApi.md +315 -0
  120. package/docs/InstantiateTemplateRequest.md +34 -0
  121. package/docs/PublicSignatureView.md +60 -0
  122. package/docs/RoleBinding.md +30 -0
  123. package/docs/Settings.md +6 -0
  124. package/docs/SignatureEnvelopeDTO.md +52 -0
  125. package/docs/SignatureEventDTO.md +30 -0
  126. package/docs/SignatureFieldDTO.md +46 -0
  127. package/docs/SignatureFieldInput.md +36 -0
  128. package/docs/SignatureFieldPlacement.md +28 -0
  129. package/docs/SignatureFieldValue.md +24 -0
  130. package/docs/SignatureRecipientDTO.md +44 -0
  131. package/docs/SignatureRecipientInput.md +38 -0
  132. package/docs/SignatureTemplateDTO.md +42 -0
  133. package/docs/SignatureTemplateField.md +38 -0
  134. package/docs/SignatureTemplateRequest.md +34 -0
  135. package/docs/SignatureTemplateRole.md +26 -0
  136. package/docs/VerifyOtpRequest.md +20 -0
  137. package/models/apply-signature-request.ts +26 -0
  138. package/models/audit-log.ts +10 -0
  139. package/models/create-signature-envelope-request.ts +32 -0
  140. package/models/decline-signature-request.ts +20 -0
  141. package/models/index.ts +19 -0
  142. package/models/instantiate-template-request.ts +30 -0
  143. package/models/public-signature-view.ts +70 -0
  144. package/models/role-binding.ts +25 -0
  145. package/models/search-by-audit-log-request.ts +10 -0
  146. package/models/settings.ts +3 -0
  147. package/models/signature-envelope-dto.ts +51 -0
  148. package/models/signature-event-dto.ts +42 -0
  149. package/models/signature-field-dto.ts +51 -0
  150. package/models/signature-field-input.ts +46 -0
  151. package/models/signature-field-placement.ts +24 -0
  152. package/models/signature-field-value.ts +22 -0
  153. package/models/signature-recipient-dto.ts +58 -0
  154. package/models/signature-recipient-input.ts +50 -0
  155. package/models/signature-template-dto.ts +37 -0
  156. package/models/signature-template-field.ts +47 -0
  157. package/models/signature-template-request.ts +33 -0
  158. package/models/signature-template-role.ts +38 -0
  159. package/models/verify-otp-request.ts +20 -0
  160. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureRecipientInput } from './signature-recipient-input';
19
+
20
+ export interface CreateSignatureEnvelopeRequest {
21
+ 'sourceDocId': string;
22
+ 'title': string;
23
+ 'message'?: string;
24
+ 'recipients': Array<SignatureRecipientInput>;
25
+ 'expiresInDays'?: number;
26
+ 'sequential'?: boolean;
27
+ 'reminderDays'?: number;
28
+ 'locale'?: string;
29
+ 'send'?: boolean;
30
+ 'templateId'?: string;
31
+ }
32
+
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface DeclineSignatureRequest {
18
+ 'reason'?: string;
19
+ }
20
+
package/models/index.ts CHANGED
@@ -5,6 +5,7 @@ export * from './ai-connection-test-result';
5
5
  export * from './ai-models-response';
6
6
  export * from './ai-settings-response';
7
7
  export * from './ancestor-info';
8
+ export * from './apply-signature-request';
8
9
  export * from './audit-log';
9
10
  export * from './audit-log-details';
10
11
  export * from './audit-log-details-one-of';
@@ -16,7 +17,9 @@ export * from './copy-response';
16
17
  export * from './create-blank-document-request';
17
18
  export * from './create-folder-audit';
18
19
  export * from './create-folder-request';
20
+ export * from './create-signature-envelope-request';
19
21
  export * from './dashboard-statistics-response';
22
+ export * from './decline-signature-request';
20
23
  export * from './delete-audit';
21
24
  export * from './delete-metadata-audit';
22
25
  export * from './delete-metadata-request';
@@ -29,19 +32,34 @@ export * from './file-type-stats';
29
32
  export * from './filter-input';
30
33
  export * from './folder-element-info';
31
34
  export * from './folder-response';
35
+ export * from './instantiate-template-request';
32
36
  export * from './list-ai-models-request';
33
37
  export * from './move-audit';
34
38
  export * from './move-request';
39
+ export * from './public-signature-view';
35
40
  export * from './rename-audit';
36
41
  export * from './rename-request';
37
42
  export * from './replace-audit';
38
43
  export * from './restore-version-audit';
39
44
  export * from './restore-version-response';
45
+ export * from './role-binding';
40
46
  export * from './save-ai-settings-request';
41
47
  export * from './search-by-audit-log-request';
42
48
  export * from './search-by-metadata-request';
43
49
  export * from './search-metadata-request';
44
50
  export * from './settings';
51
+ export * from './signature-envelope-dto';
52
+ export * from './signature-event-dto';
53
+ export * from './signature-field-dto';
54
+ export * from './signature-field-input';
55
+ export * from './signature-field-placement';
56
+ export * from './signature-field-value';
57
+ export * from './signature-recipient-dto';
58
+ export * from './signature-recipient-input';
59
+ export * from './signature-template-dto';
60
+ export * from './signature-template-field';
61
+ export * from './signature-template-request';
62
+ export * from './signature-template-role';
45
63
  export * from './sort-input';
46
64
  export * from './storage-breakdown';
47
65
  export * from './suggest';
@@ -52,3 +70,4 @@ export * from './update-metadata-audit';
52
70
  export * from './update-metadata-request';
53
71
  export * from './upload-audit';
54
72
  export * from './upload-response';
73
+ export * from './verify-otp-request';
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { RoleBinding } from './role-binding';
19
+
20
+ export interface InstantiateTemplateRequest {
21
+ 'sourceDocId'?: string;
22
+ 'title'?: string;
23
+ 'message'?: string;
24
+ 'recipients': Array<RoleBinding>;
25
+ 'expiresInDays'?: number;
26
+ 'reminderDays'?: number;
27
+ 'locale'?: string;
28
+ 'send'?: boolean;
29
+ }
30
+
@@ -0,0 +1,70 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureFieldDTO } from './signature-field-dto';
19
+
20
+ export interface PublicSignatureView {
21
+ 'envelopeTitle'?: string;
22
+ 'message'?: string;
23
+ 'initiatorEmail'?: string;
24
+ 'documentName'?: string;
25
+ 'recipientName'?: string;
26
+ 'recipientEmail'?: string;
27
+ 'envelopeStatus'?: PublicSignatureViewEnvelopeStatusEnum;
28
+ 'recipientStatus'?: PublicSignatureViewRecipientStatusEnum;
29
+ 'myTurn'?: boolean;
30
+ 'authMethod'?: PublicSignatureViewAuthMethodEnum;
31
+ 'otpRequired'?: boolean;
32
+ 'otpVerified'?: boolean;
33
+ 'fields'?: Array<SignatureFieldDTO>;
34
+ 'otherFields'?: Array<SignatureFieldDTO>;
35
+ 'fieldPage'?: number;
36
+ 'fieldX'?: number;
37
+ 'fieldY'?: number;
38
+ 'fieldW'?: number;
39
+ 'fieldH'?: number;
40
+ 'signatureImage'?: string;
41
+ 'signatureTyped'?: string;
42
+ }
43
+
44
+ export const PublicSignatureViewEnvelopeStatusEnum = {
45
+ Draft: 'DRAFT',
46
+ Sent: 'SENT',
47
+ Completed: 'COMPLETED',
48
+ Declined: 'DECLINED',
49
+ Cancelled: 'CANCELLED',
50
+ Expired: 'EXPIRED',
51
+ } as const;
52
+
53
+ export type PublicSignatureViewEnvelopeStatusEnum = typeof PublicSignatureViewEnvelopeStatusEnum[keyof typeof PublicSignatureViewEnvelopeStatusEnum];
54
+ export const PublicSignatureViewRecipientStatusEnum = {
55
+ Pending: 'PENDING',
56
+ Viewed: 'VIEWED',
57
+ Signed: 'SIGNED',
58
+ Declined: 'DECLINED',
59
+ } as const;
60
+
61
+ export type PublicSignatureViewRecipientStatusEnum = typeof PublicSignatureViewRecipientStatusEnum[keyof typeof PublicSignatureViewRecipientStatusEnum];
62
+ export const PublicSignatureViewAuthMethodEnum = {
63
+ None: 'NONE',
64
+ EmailOtp: 'EMAIL_OTP',
65
+ SmsOtp: 'SMS_OTP',
66
+ } as const;
67
+
68
+ export type PublicSignatureViewAuthMethodEnum = typeof PublicSignatureViewAuthMethodEnum[keyof typeof PublicSignatureViewAuthMethodEnum];
69
+
70
+
@@ -0,0 +1,25 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface RoleBinding {
18
+ 'role': string;
19
+ 'userId'?: string;
20
+ 'name'?: string;
21
+ 'email': string;
22
+ 'phone'?: string;
23
+ 'locale'?: string;
24
+ }
25
+
@@ -70,6 +70,16 @@ export const SearchByAuditLogRequestActionEnum = {
70
70
  PermanentDeleteFile: 'PERMANENT_DELETE_FILE',
71
71
  PermanentDeleteFolder: 'PERMANENT_DELETE_FOLDER',
72
72
  EmptyRecycleBin: 'EMPTY_RECYCLE_BIN',
73
+ SignatureEnvelopeCreated: 'SIGNATURE_ENVELOPE_CREATED',
74
+ SignatureEnvelopeSent: 'SIGNATURE_ENVELOPE_SENT',
75
+ SignatureDocumentSigned: 'SIGNATURE_DOCUMENT_SIGNED',
76
+ SignatureEnvelopeCompleted: 'SIGNATURE_ENVELOPE_COMPLETED',
77
+ SignatureEnvelopeDeclined: 'SIGNATURE_ENVELOPE_DECLINED',
78
+ SignatureEnvelopeCancelled: 'SIGNATURE_ENVELOPE_CANCELLED',
79
+ SignatureEnvelopeExpired: 'SIGNATURE_ENVELOPE_EXPIRED',
80
+ SignatureReminderSent: 'SIGNATURE_REMINDER_SENT',
81
+ SignatureTemplateCreated: 'SIGNATURE_TEMPLATE_CREATED',
82
+ SignatureTemplateDeleted: 'SIGNATURE_TEMPLATE_DELETED',
73
83
  ChainGenesis: 'CHAIN_GENESIS',
74
84
  } as const;
75
85
 
@@ -23,5 +23,8 @@ export interface Settings {
23
23
  'thumbnailsActive'?: boolean;
24
24
  'aiActive'?: boolean;
25
25
  'aiUserSettingsEnabled'?: boolean;
26
+ 'signatureActive'?: boolean;
27
+ 'signatureAuthMethods'?: Array<string>;
28
+ 'signatureRemindersActive'?: boolean;
26
29
  }
27
30
 
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureRecipientDTO } from './signature-recipient-dto';
19
+
20
+ export interface SignatureEnvelopeDTO {
21
+ 'id'?: string;
22
+ 'title'?: string;
23
+ 'message'?: string;
24
+ 'sourceDocId'?: string;
25
+ 'signedDocId'?: string;
26
+ 'status'?: SignatureEnvelopeDTOStatusEnum;
27
+ 'initiatorEmail'?: string;
28
+ 'sequential'?: boolean;
29
+ 'currentOrder'?: number;
30
+ 'templateId'?: string;
31
+ 'reminderDays'?: number;
32
+ 'sealProvider'?: string;
33
+ 'createdAt'?: string;
34
+ 'sentAt'?: string;
35
+ 'completedAt'?: string;
36
+ 'expiresAt'?: string;
37
+ 'recipients'?: Array<SignatureRecipientDTO>;
38
+ }
39
+
40
+ export const SignatureEnvelopeDTOStatusEnum = {
41
+ Draft: 'DRAFT',
42
+ Sent: 'SENT',
43
+ Completed: 'COMPLETED',
44
+ Declined: 'DECLINED',
45
+ Cancelled: 'CANCELLED',
46
+ Expired: 'EXPIRED',
47
+ } as const;
48
+
49
+ export type SignatureEnvelopeDTOStatusEnum = typeof SignatureEnvelopeDTOStatusEnum[keyof typeof SignatureEnvelopeDTOStatusEnum];
50
+
51
+
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface SignatureEventDTO {
18
+ 'type'?: SignatureEventDTOTypeEnum;
19
+ 'actor'?: string;
20
+ 'docSha256'?: string;
21
+ 'signerIp'?: string;
22
+ 'details'?: string;
23
+ 'createdAt'?: string;
24
+ }
25
+
26
+ export const SignatureEventDTOTypeEnum = {
27
+ EnvelopeCreated: 'ENVELOPE_CREATED',
28
+ EnvelopeSent: 'ENVELOPE_SENT',
29
+ RecipientViewed: 'RECIPIENT_VIEWED',
30
+ RecipientOtpVerified: 'RECIPIENT_OTP_VERIFIED',
31
+ RecipientSigned: 'RECIPIENT_SIGNED',
32
+ RecipientDeclined: 'RECIPIENT_DECLINED',
33
+ RecipientReminded: 'RECIPIENT_REMINDED',
34
+ RecipientLinkResent: 'RECIPIENT_LINK_RESENT',
35
+ EnvelopeCompleted: 'ENVELOPE_COMPLETED',
36
+ EnvelopeCancelled: 'ENVELOPE_CANCELLED',
37
+ EnvelopeExpired: 'ENVELOPE_EXPIRED',
38
+ } as const;
39
+
40
+ export type SignatureEventDTOTypeEnum = typeof SignatureEventDTOTypeEnum[keyof typeof SignatureEventDTOTypeEnum];
41
+
42
+
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface SignatureFieldDTO {
18
+ 'id'?: string;
19
+ 'recipientId'?: string;
20
+ 'type'?: SignatureFieldDTOTypeEnum;
21
+ 'page'?: number;
22
+ 'x'?: number;
23
+ 'y'?: number;
24
+ 'w'?: number;
25
+ 'h'?: number;
26
+ 'required'?: boolean;
27
+ 'label'?: string;
28
+ 'options'?: { [key: string]: any; };
29
+ 'value'?: string;
30
+ 'valueImage'?: string;
31
+ 'filledAt'?: string;
32
+ }
33
+
34
+ export const SignatureFieldDTOTypeEnum = {
35
+ Signature: 'SIGNATURE',
36
+ Initials: 'INITIALS',
37
+ DateSigned: 'DATE_SIGNED',
38
+ Text: 'TEXT',
39
+ Number: 'NUMBER',
40
+ Email: 'EMAIL',
41
+ Phone: 'PHONE',
42
+ Checkbox: 'CHECKBOX',
43
+ Radio: 'RADIO',
44
+ Select: 'SELECT',
45
+ Image: 'IMAGE',
46
+ Stamp: 'STAMP',
47
+ } as const;
48
+
49
+ export type SignatureFieldDTOTypeEnum = typeof SignatureFieldDTOTypeEnum[keyof typeof SignatureFieldDTOTypeEnum];
50
+
51
+
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface SignatureFieldInput {
18
+ 'type': SignatureFieldInputTypeEnum;
19
+ 'page': number;
20
+ 'x': number;
21
+ 'y': number;
22
+ 'w': number;
23
+ 'h': number;
24
+ 'required'?: boolean;
25
+ 'label'?: string;
26
+ 'options'?: { [key: string]: any; };
27
+ }
28
+
29
+ export const SignatureFieldInputTypeEnum = {
30
+ Signature: 'SIGNATURE',
31
+ Initials: 'INITIALS',
32
+ DateSigned: 'DATE_SIGNED',
33
+ Text: 'TEXT',
34
+ Number: 'NUMBER',
35
+ Email: 'EMAIL',
36
+ Phone: 'PHONE',
37
+ Checkbox: 'CHECKBOX',
38
+ Radio: 'RADIO',
39
+ Select: 'SELECT',
40
+ Image: 'IMAGE',
41
+ Stamp: 'STAMP',
42
+ } as const;
43
+
44
+ export type SignatureFieldInputTypeEnum = typeof SignatureFieldInputTypeEnum[keyof typeof SignatureFieldInputTypeEnum];
45
+
46
+
@@ -0,0 +1,24 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface SignatureFieldPlacement {
18
+ 'page': number;
19
+ 'x': number;
20
+ 'y': number;
21
+ 'w': number;
22
+ 'h': number;
23
+ }
24
+
@@ -0,0 +1,22 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ export interface SignatureFieldValue {
18
+ 'fieldId': string;
19
+ 'value'?: string;
20
+ 'valueImage'?: string;
21
+ }
22
+
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureFieldDTO } from './signature-field-dto';
19
+
20
+ export interface SignatureRecipientDTO {
21
+ 'id'?: string;
22
+ 'userId'?: string;
23
+ 'name'?: string;
24
+ 'email'?: string;
25
+ 'orderIndex'?: number;
26
+ 'role'?: SignatureRecipientDTORoleEnum;
27
+ 'authMethod'?: SignatureRecipientDTOAuthMethodEnum;
28
+ 'status'?: SignatureRecipientDTOStatusEnum;
29
+ 'viewedAt'?: string;
30
+ 'signedAt'?: string;
31
+ 'declineReason'?: string;
32
+ 'reminderCount'?: number;
33
+ 'fields'?: Array<SignatureFieldDTO>;
34
+ }
35
+
36
+ export const SignatureRecipientDTORoleEnum = {
37
+ Signer: 'SIGNER',
38
+ Cc: 'CC',
39
+ } as const;
40
+
41
+ export type SignatureRecipientDTORoleEnum = typeof SignatureRecipientDTORoleEnum[keyof typeof SignatureRecipientDTORoleEnum];
42
+ export const SignatureRecipientDTOAuthMethodEnum = {
43
+ None: 'NONE',
44
+ EmailOtp: 'EMAIL_OTP',
45
+ SmsOtp: 'SMS_OTP',
46
+ } as const;
47
+
48
+ export type SignatureRecipientDTOAuthMethodEnum = typeof SignatureRecipientDTOAuthMethodEnum[keyof typeof SignatureRecipientDTOAuthMethodEnum];
49
+ export const SignatureRecipientDTOStatusEnum = {
50
+ Pending: 'PENDING',
51
+ Viewed: 'VIEWED',
52
+ Signed: 'SIGNED',
53
+ Declined: 'DECLINED',
54
+ } as const;
55
+
56
+ export type SignatureRecipientDTOStatusEnum = typeof SignatureRecipientDTOStatusEnum[keyof typeof SignatureRecipientDTOStatusEnum];
57
+
58
+
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureFieldInput } from './signature-field-input';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SignatureFieldPlacement } from './signature-field-placement';
22
+
23
+ export interface SignatureRecipientInput {
24
+ 'userId'?: string;
25
+ 'name'?: string;
26
+ 'email': string;
27
+ 'orderIndex'?: number;
28
+ 'role'?: SignatureRecipientInputRoleEnum;
29
+ 'authMethod'?: SignatureRecipientInputAuthMethodEnum;
30
+ 'phone'?: string;
31
+ 'locale'?: string;
32
+ 'fields'?: Array<SignatureFieldInput>;
33
+ 'field'?: SignatureFieldPlacement;
34
+ }
35
+
36
+ export const SignatureRecipientInputRoleEnum = {
37
+ Signer: 'SIGNER',
38
+ Cc: 'CC',
39
+ } as const;
40
+
41
+ export type SignatureRecipientInputRoleEnum = typeof SignatureRecipientInputRoleEnum[keyof typeof SignatureRecipientInputRoleEnum];
42
+ export const SignatureRecipientInputAuthMethodEnum = {
43
+ None: 'NONE',
44
+ EmailOtp: 'EMAIL_OTP',
45
+ SmsOtp: 'SMS_OTP',
46
+ } as const;
47
+
48
+ export type SignatureRecipientInputAuthMethodEnum = typeof SignatureRecipientInputAuthMethodEnum[keyof typeof SignatureRecipientInputAuthMethodEnum];
49
+
50
+
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * openfilz-api
5
+ * API for Document Management System
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { SignatureTemplateField } from './signature-template-field';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { SignatureTemplateRole } from './signature-template-role';
22
+
23
+ export interface SignatureTemplateDTO {
24
+ 'id'?: string;
25
+ 'ownerEmail'?: string;
26
+ 'name'?: string;
27
+ 'description'?: string;
28
+ 'sourceDocId'?: string;
29
+ 'roles'?: Array<SignatureTemplateRole>;
30
+ 'fields'?: Array<SignatureTemplateField>;
31
+ 'message'?: string;
32
+ 'expiresInDays'?: number;
33
+ 'sequential'?: boolean;
34
+ 'createdAt'?: string;
35
+ 'updatedAt'?: string;
36
+ }
37
+