@managespace/sdk 0.1.172 → 0.1.174-documents
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/dist/extensibility/functions/project/document.d.ts +2 -8
- package/dist/extensibility/functions/project/document.d.ts.map +1 -1
- package/dist/extensibility/functions/project/document.js +0 -5
- package/dist/extensions/host-bridge.d.ts +166 -0
- package/dist/extensions/host-bridge.d.ts.map +1 -0
- package/dist/extensions/host-bridge.js +259 -0
- package/dist/extensions/index.d.ts +40 -0
- package/dist/extensions/index.d.ts.map +1 -0
- package/dist/extensions/index.js +55 -0
- package/dist/extensions/types.d.ts +111 -0
- package/dist/extensions/types.d.ts.map +1 -0
- package/dist/extensions/types.js +2 -0
- package/dist/generated/apis/default-api.d.ts +13 -12
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +35 -30
- package/dist/generated/apis/extensions-api.d.ts +98 -0
- package/dist/generated/apis/extensions-api.d.ts.map +1 -0
- package/dist/generated/apis/extensions-api.js +295 -0
- package/dist/generated/models/document-complete.d.ts +7 -19
- package/dist/generated/models/document-complete.d.ts.map +1 -1
- package/dist/generated/models/document-complete.js +5 -7
- package/dist/generated/models/extension-org.d.ts +64 -0
- package/dist/generated/models/extension-org.d.ts.map +1 -0
- package/dist/generated/models/extension-org.js +70 -0
- package/dist/generated/models/extension.d.ts +106 -0
- package/dist/generated/models/extension.d.ts.map +1 -0
- package/dist/generated/models/extension.js +98 -0
- package/dist/generated/models/index.d.ts +1 -4
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +1 -4
- package/dist/generated/models/update-document-type.d.ts +43 -0
- package/dist/generated/models/update-document-type.d.ts.map +1 -0
- package/dist/generated/models/update-document-type.js +61 -0
- package/package.deploy.json +8 -4
- package/package.json +24 -12
- package/src/extensibility/functions/project/document.ts +1 -8
- package/src/generated/.openapi-generator/FILES +1 -4
- package/src/generated/apis/default-api.ts +60 -52
- package/src/generated/models/document-complete.ts +11 -26
- package/src/generated/models/index.ts +1 -4
- package/src/generated/models/update-document-type.ts +80 -0
- package/dist/generated/models/document-created.d.ts +0 -54
- package/dist/generated/models/document-created.d.ts.map +0 -1
- package/dist/generated/models/document-created.js +0 -59
- package/dist/generated/models/document-status-signer.d.ts +0 -57
- package/dist/generated/models/document-status-signer.d.ts.map +0 -1
- package/dist/generated/models/document-status-signer.js +0 -65
- package/dist/generated/models/document-status.d.ts +0 -52
- package/dist/generated/models/document-status.d.ts.map +0 -1
- package/dist/generated/models/document-status.js +0 -64
- package/dist/generated/models/embed-config.d.ts +0 -53
- package/dist/generated/models/embed-config.d.ts.map +0 -1
- package/dist/generated/models/embed-config.js +0 -61
- package/src/generated/models/document-created.ts +0 -99
- package/src/generated/models/document-status-signer.ts +0 -102
- package/src/generated/models/document-status.ts +0 -102
- package/src/generated/models/embed-config.ts +0 -93
|
@@ -92,9 +92,7 @@ import type {
|
|
|
92
92
|
CustomerStatus,
|
|
93
93
|
DailyDepositsReportFilters,
|
|
94
94
|
DocumentComplete,
|
|
95
|
-
DocumentCreated,
|
|
96
95
|
DocumentHierarchy,
|
|
97
|
-
DocumentStatus,
|
|
98
96
|
DocumentUrl,
|
|
99
97
|
ExecuteBy,
|
|
100
98
|
ExtensibilityRepo,
|
|
@@ -206,6 +204,7 @@ import type {
|
|
|
206
204
|
UpdateAssetStockCount,
|
|
207
205
|
UpdateConfigurationSetting,
|
|
208
206
|
UpdateCustomerStatus,
|
|
207
|
+
UpdateDocumentType,
|
|
209
208
|
UpdateMapFeature,
|
|
210
209
|
UpdateNote,
|
|
211
210
|
UpdateOrder,
|
|
@@ -382,12 +381,8 @@ import {
|
|
|
382
381
|
DailyDepositsReportFiltersToJSON,
|
|
383
382
|
DocumentCompleteFromJSON,
|
|
384
383
|
DocumentCompleteToJSON,
|
|
385
|
-
DocumentCreatedFromJSON,
|
|
386
|
-
DocumentCreatedToJSON,
|
|
387
384
|
DocumentHierarchyFromJSON,
|
|
388
385
|
DocumentHierarchyToJSON,
|
|
389
|
-
DocumentStatusFromJSON,
|
|
390
|
-
DocumentStatusToJSON,
|
|
391
386
|
DocumentUrlFromJSON,
|
|
392
387
|
DocumentUrlToJSON,
|
|
393
388
|
ExecuteByFromJSON,
|
|
@@ -610,6 +605,8 @@ import {
|
|
|
610
605
|
UpdateConfigurationSettingToJSON,
|
|
611
606
|
UpdateCustomerStatusFromJSON,
|
|
612
607
|
UpdateCustomerStatusToJSON,
|
|
608
|
+
UpdateDocumentTypeFromJSON,
|
|
609
|
+
UpdateDocumentTypeToJSON,
|
|
613
610
|
UpdateMapFeatureFromJSON,
|
|
614
611
|
UpdateMapFeatureToJSON,
|
|
615
612
|
UpdateNoteFromJSON,
|
|
@@ -1158,10 +1155,6 @@ export interface GetDocumentHierarchyRequest {
|
|
|
1158
1155
|
siteId?: string;
|
|
1159
1156
|
}
|
|
1160
1157
|
|
|
1161
|
-
export interface GetDocumentStatusRequest {
|
|
1162
|
-
documentId: string;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
1158
|
export interface GetDocumentUrlRequest {
|
|
1166
1159
|
documentId: string;
|
|
1167
1160
|
}
|
|
@@ -1643,6 +1636,11 @@ export interface UpdateDefaultPaymentMethodRequest {
|
|
|
1643
1636
|
paymentMethodId: string;
|
|
1644
1637
|
}
|
|
1645
1638
|
|
|
1639
|
+
export interface UpdateDocumentTypeRequest {
|
|
1640
|
+
documentId: string;
|
|
1641
|
+
updateDocumentType: UpdateDocumentType;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1646
1644
|
export interface UpdateExtensibilityRepositoryRequest {
|
|
1647
1645
|
customUpdateExtensibilityRepo: CustomUpdateExtensibilityRepo;
|
|
1648
1646
|
}
|
|
@@ -2713,7 +2711,7 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2713
2711
|
|
|
2714
2712
|
/**
|
|
2715
2713
|
*/
|
|
2716
|
-
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
2714
|
+
async createDocumentRaw(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Success>> {
|
|
2717
2715
|
if (requestParameters['siteId'] == null) {
|
|
2718
2716
|
throw new runtime.RequiredError(
|
|
2719
2717
|
'siteId',
|
|
@@ -2750,12 +2748,12 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
2750
2748
|
body: CreateDocumentToJSON(requestParameters['createDocument']),
|
|
2751
2749
|
}, initOverrides);
|
|
2752
2750
|
|
|
2753
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
2751
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SuccessFromJSON(jsonValue));
|
|
2754
2752
|
}
|
|
2755
2753
|
|
|
2756
2754
|
/**
|
|
2757
2755
|
*/
|
|
2758
|
-
async createDocument(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
2756
|
+
async createDocument(requestParameters: CreateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Success> {
|
|
2759
2757
|
const response = await this.createDocumentRaw(requestParameters, initOverrides);
|
|
2760
2758
|
return await response.value();
|
|
2761
2759
|
}
|
|
@@ -6705,45 +6703,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
6705
6703
|
return await response.value();
|
|
6706
6704
|
}
|
|
6707
6705
|
|
|
6708
|
-
/**
|
|
6709
|
-
*/
|
|
6710
|
-
async getDocumentStatusRaw(requestParameters: GetDocumentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentStatus>> {
|
|
6711
|
-
if (requestParameters['documentId'] == null) {
|
|
6712
|
-
throw new runtime.RequiredError(
|
|
6713
|
-
'documentId',
|
|
6714
|
-
'Required parameter "documentId" was null or undefined when calling getDocumentStatus().'
|
|
6715
|
-
);
|
|
6716
|
-
}
|
|
6717
|
-
|
|
6718
|
-
const queryParameters: any = {};
|
|
6719
|
-
|
|
6720
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
6721
|
-
|
|
6722
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
6723
|
-
const token = this.configuration.accessToken;
|
|
6724
|
-
const tokenString = await token("bearer", []);
|
|
6725
|
-
|
|
6726
|
-
if (tokenString) {
|
|
6727
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
6728
|
-
}
|
|
6729
|
-
}
|
|
6730
|
-
const response = await this.request({
|
|
6731
|
-
path: `/api/object-store/documents/{documentId}/status`.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters['documentId']))),
|
|
6732
|
-
method: 'GET',
|
|
6733
|
-
headers: headerParameters,
|
|
6734
|
-
query: queryParameters,
|
|
6735
|
-
}, initOverrides);
|
|
6736
|
-
|
|
6737
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => DocumentStatusFromJSON(jsonValue));
|
|
6738
|
-
}
|
|
6739
|
-
|
|
6740
|
-
/**
|
|
6741
|
-
*/
|
|
6742
|
-
async getDocumentStatus(requestParameters: GetDocumentStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DocumentStatus> {
|
|
6743
|
-
const response = await this.getDocumentStatusRaw(requestParameters, initOverrides);
|
|
6744
|
-
return await response.value();
|
|
6745
|
-
}
|
|
6746
|
-
|
|
6747
6706
|
/**
|
|
6748
6707
|
*/
|
|
6749
6708
|
async getDocumentUrlRaw(requestParameters: GetDocumentUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DocumentUrl>> {
|
|
@@ -11161,6 +11120,55 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
11161
11120
|
return await response.value();
|
|
11162
11121
|
}
|
|
11163
11122
|
|
|
11123
|
+
/**
|
|
11124
|
+
*/
|
|
11125
|
+
async updateDocumentTypeRaw(requestParameters: UpdateDocumentTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadedDocument>> {
|
|
11126
|
+
if (requestParameters['documentId'] == null) {
|
|
11127
|
+
throw new runtime.RequiredError(
|
|
11128
|
+
'documentId',
|
|
11129
|
+
'Required parameter "documentId" was null or undefined when calling updateDocumentType().'
|
|
11130
|
+
);
|
|
11131
|
+
}
|
|
11132
|
+
|
|
11133
|
+
if (requestParameters['updateDocumentType'] == null) {
|
|
11134
|
+
throw new runtime.RequiredError(
|
|
11135
|
+
'updateDocumentType',
|
|
11136
|
+
'Required parameter "updateDocumentType" was null or undefined when calling updateDocumentType().'
|
|
11137
|
+
);
|
|
11138
|
+
}
|
|
11139
|
+
|
|
11140
|
+
const queryParameters: any = {};
|
|
11141
|
+
|
|
11142
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
11143
|
+
|
|
11144
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
11145
|
+
|
|
11146
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
11147
|
+
const token = this.configuration.accessToken;
|
|
11148
|
+
const tokenString = await token("bearer", []);
|
|
11149
|
+
|
|
11150
|
+
if (tokenString) {
|
|
11151
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
11152
|
+
}
|
|
11153
|
+
}
|
|
11154
|
+
const response = await this.request({
|
|
11155
|
+
path: `/api/object-store/documents/{documentId}`.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters['documentId']))),
|
|
11156
|
+
method: 'PATCH',
|
|
11157
|
+
headers: headerParameters,
|
|
11158
|
+
query: queryParameters,
|
|
11159
|
+
body: UpdateDocumentTypeToJSON(requestParameters['updateDocumentType']),
|
|
11160
|
+
}, initOverrides);
|
|
11161
|
+
|
|
11162
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UploadedDocumentFromJSON(jsonValue));
|
|
11163
|
+
}
|
|
11164
|
+
|
|
11165
|
+
/**
|
|
11166
|
+
*/
|
|
11167
|
+
async updateDocumentType(requestParameters: UpdateDocumentTypeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadedDocument> {
|
|
11168
|
+
const response = await this.updateDocumentTypeRaw(requestParameters, initOverrides);
|
|
11169
|
+
return await response.value();
|
|
11170
|
+
}
|
|
11171
|
+
|
|
11164
11172
|
/**
|
|
11165
11173
|
*/
|
|
11166
11174
|
async updateExtensibilityRepositoryRaw(requestParameters: UpdateExtensibilityRepositoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExtensibilityRepo>> {
|
|
@@ -51,35 +51,23 @@ export interface DocumentComplete {
|
|
|
51
51
|
*/
|
|
52
52
|
userId?: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {
|
|
56
|
-
* @memberof DocumentComplete
|
|
57
|
-
*/
|
|
58
|
-
signerEmail?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Name of the signer.
|
|
61
|
-
* @type {string}
|
|
54
|
+
* Whether all signatures have been gathered or not.
|
|
55
|
+
* @type {boolean}
|
|
62
56
|
* @memberof DocumentComplete
|
|
63
57
|
*/
|
|
64
|
-
|
|
58
|
+
allSignaturesGathered: boolean;
|
|
65
59
|
/**
|
|
66
|
-
*
|
|
60
|
+
* The type of the document (e.g. Lease, ID, Insurance).
|
|
67
61
|
* @type {string}
|
|
68
62
|
* @memberof DocumentComplete
|
|
69
63
|
*/
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Whether all signatures have been gathered or not.
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @memberof DocumentComplete
|
|
75
|
-
*/
|
|
76
|
-
allSignaturesGathered: boolean;
|
|
64
|
+
documentType?: string;
|
|
77
65
|
/**
|
|
78
|
-
* Downloadable URL of the document.
|
|
66
|
+
* Downloadable URL of the document.
|
|
79
67
|
* @type {string}
|
|
80
68
|
* @memberof DocumentComplete
|
|
81
69
|
*/
|
|
82
|
-
fileUrl
|
|
70
|
+
fileUrl: string;
|
|
83
71
|
}
|
|
84
72
|
|
|
85
73
|
/**
|
|
@@ -87,6 +75,7 @@ export interface DocumentComplete {
|
|
|
87
75
|
*/
|
|
88
76
|
export function instanceOfDocumentComplete(value: object): value is DocumentComplete {
|
|
89
77
|
if (!('allSignaturesGathered' in value) || value['allSignaturesGathered'] === undefined) return false;
|
|
78
|
+
if (!('fileUrl' in value) || value['fileUrl'] === undefined) return false;
|
|
90
79
|
return true;
|
|
91
80
|
}
|
|
92
81
|
|
|
@@ -105,11 +94,9 @@ export function DocumentCompleteFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
105
94
|
'customerId': json['customerId'] == null ? undefined : json['customerId'],
|
|
106
95
|
'contactId': json['contactId'] == null ? undefined : json['contactId'],
|
|
107
96
|
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
108
|
-
'signerEmail': json['signerEmail'] == null ? undefined : json['signerEmail'],
|
|
109
|
-
'signerName': json['signerName'] == null ? undefined : json['signerName'],
|
|
110
|
-
'signerRole': json['signerRole'] == null ? undefined : json['signerRole'],
|
|
111
97
|
'allSignaturesGathered': json['allSignaturesGathered'],
|
|
112
|
-
'
|
|
98
|
+
'documentType': json['documentType'] == null ? undefined : json['documentType'],
|
|
99
|
+
'fileUrl': json['fileUrl'],
|
|
113
100
|
};
|
|
114
101
|
}
|
|
115
102
|
|
|
@@ -129,10 +116,8 @@ export function DocumentCompleteToJSONTyped(value?: DocumentComplete | null, ign
|
|
|
129
116
|
'customerId': value['customerId'],
|
|
130
117
|
'contactId': value['contactId'],
|
|
131
118
|
'userId': value['userId'],
|
|
132
|
-
'signerEmail': value['signerEmail'],
|
|
133
|
-
'signerName': value['signerName'],
|
|
134
|
-
'signerRole': value['signerRole'],
|
|
135
119
|
'allSignaturesGathered': value['allSignaturesGathered'],
|
|
120
|
+
'documentType': value['documentType'],
|
|
136
121
|
'fileUrl': value['fileUrl'],
|
|
137
122
|
};
|
|
138
123
|
}
|
|
@@ -98,14 +98,10 @@ export * from './customer-payment-method';
|
|
|
98
98
|
export * from './customer-status';
|
|
99
99
|
export * from './daily-deposits-report-filters';
|
|
100
100
|
export * from './document-complete';
|
|
101
|
-
export * from './document-created';
|
|
102
101
|
export * from './document-field';
|
|
103
102
|
export * from './document-hierarchy';
|
|
104
103
|
export * from './document-signer';
|
|
105
|
-
export * from './document-status';
|
|
106
|
-
export * from './document-status-signer';
|
|
107
104
|
export * from './document-url';
|
|
108
|
-
export * from './embed-config';
|
|
109
105
|
export * from './execute-by';
|
|
110
106
|
export * from './extensibility-function-definition';
|
|
111
107
|
export * from './extensibility-function-instance';
|
|
@@ -266,6 +262,7 @@ export * from './update-asset-reservation';
|
|
|
266
262
|
export * from './update-asset-stock-count';
|
|
267
263
|
export * from './update-configuration-setting';
|
|
268
264
|
export * from './update-customer-status';
|
|
265
|
+
export * from './update-document-type';
|
|
269
266
|
export * from './update-map-feature';
|
|
270
267
|
export * from './update-note';
|
|
271
268
|
export * from './update-order';
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
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
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateDocumentType
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDocumentType {
|
|
23
|
+
/**
|
|
24
|
+
* The type of the document.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateDocumentType
|
|
27
|
+
*/
|
|
28
|
+
documentType: UpdateDocumentTypeDocumentType;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const UpdateDocumentTypeDocumentType = {
|
|
36
|
+
Lease: 'Lease',
|
|
37
|
+
ID: 'ID',
|
|
38
|
+
Insurance: 'Insurance',
|
|
39
|
+
AutoPay_Agreement: 'AutoPay Agreement'
|
|
40
|
+
} as const;
|
|
41
|
+
export type UpdateDocumentTypeDocumentType = typeof UpdateDocumentTypeDocumentType[keyof typeof UpdateDocumentTypeDocumentType];
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpdateDocumentType interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpdateDocumentType(value: object): value is UpdateDocumentType {
|
|
48
|
+
if (!('documentType' in value) || value['documentType'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateDocumentTypeFromJSON(json: any): UpdateDocumentType {
|
|
53
|
+
return UpdateDocumentTypeFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateDocumentTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDocumentType {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'documentType': json['documentType'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function UpdateDocumentTypeToJSON(json: any): UpdateDocumentType {
|
|
67
|
+
return UpdateDocumentTypeToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function UpdateDocumentTypeToJSONTyped(value?: UpdateDocumentType | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'documentType': value['documentType'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
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 { EmbedConfig } from './embed-config';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DocumentCreated
|
|
17
|
-
*/
|
|
18
|
-
export interface DocumentCreated {
|
|
19
|
-
/**
|
|
20
|
-
* The success status of the operation.
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof DocumentCreated
|
|
23
|
-
*/
|
|
24
|
-
success: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Provider-agnostic embed configuration for rendering the signing UI.
|
|
27
|
-
* @type {EmbedConfig}
|
|
28
|
-
* @memberof DocumentCreated
|
|
29
|
-
*/
|
|
30
|
-
embedConfig?: EmbedConfig;
|
|
31
|
-
/**
|
|
32
|
-
* Per-signer embed configurations keyed by role (e.g. operator, tenant).
|
|
33
|
-
* @type {{ [key: string]: EmbedConfig; }}
|
|
34
|
-
* @memberof DocumentCreated
|
|
35
|
-
*/
|
|
36
|
-
signerEmbedConfigs?: {
|
|
37
|
-
[key: string]: EmbedConfig;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* External document identifier from the signing provider.
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof DocumentCreated
|
|
43
|
-
*/
|
|
44
|
-
documentId?: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the DocumentCreated interface.
|
|
48
|
-
*/
|
|
49
|
-
export declare function instanceOfDocumentCreated(value: object): value is DocumentCreated;
|
|
50
|
-
export declare function DocumentCreatedFromJSON(json: any): DocumentCreated;
|
|
51
|
-
export declare function DocumentCreatedFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentCreated;
|
|
52
|
-
export declare function DocumentCreatedToJSON(json: any): DocumentCreated;
|
|
53
|
-
export declare function DocumentCreatedToJSONTyped(value?: DocumentCreated | null, ignoreDiscriminator?: boolean): any;
|
|
54
|
-
//# sourceMappingURL=document-created.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-created.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-created.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC;KAAE,CAAC;IACrD;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAWrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYpH"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* ManageSpace API
|
|
7
|
-
* ManageSpace API Documentation
|
|
8
|
-
*
|
|
9
|
-
* The version of the OpenAPI document: 1.0.0
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
-
* https://openapi-generator.tech
|
|
14
|
-
* Do not edit the class manually.
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.instanceOfDocumentCreated = instanceOfDocumentCreated;
|
|
18
|
-
exports.DocumentCreatedFromJSON = DocumentCreatedFromJSON;
|
|
19
|
-
exports.DocumentCreatedFromJSONTyped = DocumentCreatedFromJSONTyped;
|
|
20
|
-
exports.DocumentCreatedToJSON = DocumentCreatedToJSON;
|
|
21
|
-
exports.DocumentCreatedToJSONTyped = DocumentCreatedToJSONTyped;
|
|
22
|
-
const runtime_1 = require("../runtime");
|
|
23
|
-
const embed_config_1 = require("./embed-config");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the DocumentCreated interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfDocumentCreated(value) {
|
|
28
|
-
if (!('success' in value) || value['success'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
function DocumentCreatedFromJSON(json) {
|
|
33
|
-
return DocumentCreatedFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
function DocumentCreatedFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'success': json['success'],
|
|
41
|
-
'embedConfig': json['embedConfig'] == null ? undefined : (0, embed_config_1.EmbedConfigFromJSON)(json['embedConfig']),
|
|
42
|
-
'signerEmbedConfigs': json['signerEmbedConfigs'] == null ? undefined : ((0, runtime_1.mapValues)(json['signerEmbedConfigs'], embed_config_1.EmbedConfigFromJSON)),
|
|
43
|
-
'documentId': json['documentId'] == null ? undefined : json['documentId'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function DocumentCreatedToJSON(json) {
|
|
47
|
-
return DocumentCreatedToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function DocumentCreatedToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'success': value['success'],
|
|
55
|
-
'embedConfig': (0, embed_config_1.EmbedConfigToJSON)(value['embedConfig']),
|
|
56
|
-
'signerEmbedConfigs': value['signerEmbedConfigs'] == null ? undefined : ((0, runtime_1.mapValues)(value['signerEmbedConfigs'], embed_config_1.EmbedConfigToJSON)),
|
|
57
|
-
'documentId': value['documentId'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DocumentStatusSigner
|
|
16
|
-
*/
|
|
17
|
-
export interface DocumentStatusSigner {
|
|
18
|
-
/**
|
|
19
|
-
* Name of the signer.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DocumentStatusSigner
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
* Email address of the signer.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DocumentStatusSigner
|
|
28
|
-
*/
|
|
29
|
-
email: string;
|
|
30
|
-
/**
|
|
31
|
-
* Role of the signer.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DocumentStatusSigner
|
|
34
|
-
*/
|
|
35
|
-
role: string;
|
|
36
|
-
/**
|
|
37
|
-
* Signing status (e.g. pending, completed).
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof DocumentStatusSigner
|
|
40
|
-
*/
|
|
41
|
-
status: string;
|
|
42
|
-
/**
|
|
43
|
-
* Timestamp when the signer completed signing.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof DocumentStatusSigner
|
|
46
|
-
*/
|
|
47
|
-
completedAt?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the DocumentStatusSigner interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfDocumentStatusSigner(value: object): value is DocumentStatusSigner;
|
|
53
|
-
export declare function DocumentStatusSignerFromJSON(json: any): DocumentStatusSigner;
|
|
54
|
-
export declare function DocumentStatusSignerFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentStatusSigner;
|
|
55
|
-
export declare function DocumentStatusSignerToJSON(json: any): DocumentStatusSigner;
|
|
56
|
-
export declare function DocumentStatusSignerToJSONTyped(value?: DocumentStatusSigner | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
-
//# sourceMappingURL=document-status-signer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-status-signer.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-status-signer.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAM3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAY/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa9H"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
/**
|
|
6
|
-
* ManageSpace API
|
|
7
|
-
* ManageSpace API Documentation
|
|
8
|
-
*
|
|
9
|
-
* The version of the OpenAPI document: 1.0.0
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
-
* https://openapi-generator.tech
|
|
14
|
-
* Do not edit the class manually.
|
|
15
|
-
*/
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.instanceOfDocumentStatusSigner = instanceOfDocumentStatusSigner;
|
|
18
|
-
exports.DocumentStatusSignerFromJSON = DocumentStatusSignerFromJSON;
|
|
19
|
-
exports.DocumentStatusSignerFromJSONTyped = DocumentStatusSignerFromJSONTyped;
|
|
20
|
-
exports.DocumentStatusSignerToJSON = DocumentStatusSignerToJSON;
|
|
21
|
-
exports.DocumentStatusSignerToJSONTyped = DocumentStatusSignerToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the DocumentStatusSigner interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfDocumentStatusSigner(value) {
|
|
26
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('role' in value) || value['role'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function DocumentStatusSignerFromJSON(json) {
|
|
37
|
-
return DocumentStatusSignerFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
function DocumentStatusSignerFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
-
if (json == null) {
|
|
41
|
-
return json;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'name': json['name'],
|
|
45
|
-
'email': json['email'],
|
|
46
|
-
'role': json['role'],
|
|
47
|
-
'status': json['status'],
|
|
48
|
-
'completedAt': json['completedAt'] == null ? undefined : json['completedAt'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function DocumentStatusSignerToJSON(json) {
|
|
52
|
-
return DocumentStatusSignerToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function DocumentStatusSignerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'name': value['name'],
|
|
60
|
-
'email': value['email'],
|
|
61
|
-
'role': value['role'],
|
|
62
|
-
'status': value['status'],
|
|
63
|
-
'completedAt': value['completedAt'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ManageSpace API
|
|
3
|
-
* ManageSpace API Documentation
|
|
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 { DocumentStatusSigner } from './document-status-signer';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DocumentStatus
|
|
17
|
-
*/
|
|
18
|
-
export interface DocumentStatus {
|
|
19
|
-
/**
|
|
20
|
-
* External document identifier from the signing provider.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof DocumentStatus
|
|
23
|
-
*/
|
|
24
|
-
documentId: string;
|
|
25
|
-
/**
|
|
26
|
-
* Overall document status (e.g. pending, completed).
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof DocumentStatus
|
|
29
|
-
*/
|
|
30
|
-
status: string;
|
|
31
|
-
/**
|
|
32
|
-
* Whether all required signatures have been gathered.
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof DocumentStatus
|
|
35
|
-
*/
|
|
36
|
-
allSignaturesGathered: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Status of each individual signer.
|
|
39
|
-
* @type {Array<DocumentStatusSigner>}
|
|
40
|
-
* @memberof DocumentStatus
|
|
41
|
-
*/
|
|
42
|
-
signers: Array<DocumentStatusSigner>;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the DocumentStatus interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfDocumentStatus(value: object): value is DocumentStatus;
|
|
48
|
-
export declare function DocumentStatusFromJSON(json: any): DocumentStatus;
|
|
49
|
-
export declare function DocumentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentStatus;
|
|
50
|
-
export declare function DocumentStatusToJSON(json: any): DocumentStatus;
|
|
51
|
-
export declare function DocumentStatusToJSONTyped(value?: DocumentStatus | null, ignoreDiscriminator?: boolean): any;
|
|
52
|
-
//# sourceMappingURL=document-status.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document-status.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-status.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAM/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
|