@managespace/sdk 0.0.132 → 0.0.134

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 (34) hide show
  1. package/dist/extensibility/functions/project/document.d.ts +4 -4
  2. package/dist/extensibility/functions/project/document.d.ts.map +1 -1
  3. package/dist/generated/apis/default-api.d.ts +26 -5
  4. package/dist/generated/apis/default-api.d.ts.map +1 -1
  5. package/dist/generated/apis/default-api.js +69 -2
  6. package/dist/generated/models/document-url.d.ts +39 -0
  7. package/dist/generated/models/document-url.d.ts.map +1 -0
  8. package/dist/generated/models/document-url.js +55 -0
  9. package/dist/generated/models/document.d.ts +39 -0
  10. package/dist/generated/models/document.d.ts.map +1 -0
  11. package/dist/generated/models/document.js +55 -0
  12. package/dist/generated/models/get-documents200-response.d.ts +41 -0
  13. package/dist/generated/models/get-documents200-response.d.ts.map +1 -0
  14. package/dist/generated/models/get-documents200-response.js +55 -0
  15. package/dist/generated/models/index.d.ts +4 -0
  16. package/dist/generated/models/index.d.ts.map +1 -1
  17. package/dist/generated/models/index.js +4 -0
  18. package/dist/generated/models/uploaded-document.d.ts +33 -0
  19. package/dist/generated/models/uploaded-document.d.ts.map +1 -0
  20. package/dist/generated/models/uploaded-document.js +51 -0
  21. package/dist/generated/models/uploaded-documents.d.ts +45 -0
  22. package/dist/generated/models/uploaded-documents.d.ts.map +1 -0
  23. package/dist/generated/models/uploaded-documents.js +59 -0
  24. package/package.deploy.json +1 -1
  25. package/package.json +1 -1
  26. package/src/extensibility/functions/project/document.ts +4 -3
  27. package/src/generated/.openapi-generator/FILES +4 -0
  28. package/src/generated/apis/default-api.ts +116 -6
  29. package/src/generated/models/document-url.ts +75 -0
  30. package/src/generated/models/document.ts +75 -0
  31. package/src/generated/models/get-documents200-response.ts +89 -0
  32. package/src/generated/models/index.ts +4 -0
  33. package/src/generated/models/uploaded-document.ts +66 -0
  34. package/src/generated/models/uploaded-documents.ts +84 -0
@@ -0,0 +1,55 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.DocumentToJSONTyped = exports.DocumentToJSON = exports.DocumentFromJSONTyped = exports.DocumentFromJSON = exports.instanceOfDocument = void 0;
17
+ /**
18
+ * Check if a given object implements the Document interface.
19
+ */
20
+ function instanceOfDocument(value) {
21
+ if (!('documentId' in value) || value['documentId'] === undefined)
22
+ return false;
23
+ if (!('documentUrl' in value) || value['documentUrl'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfDocument = instanceOfDocument;
28
+ function DocumentFromJSON(json) {
29
+ return DocumentFromJSONTyped(json, false);
30
+ }
31
+ exports.DocumentFromJSON = DocumentFromJSON;
32
+ function DocumentFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'documentId': json['documentId'],
38
+ 'documentUrl': json['documentUrl'],
39
+ };
40
+ }
41
+ exports.DocumentFromJSONTyped = DocumentFromJSONTyped;
42
+ function DocumentToJSON(json) {
43
+ return DocumentToJSONTyped(json, false);
44
+ }
45
+ exports.DocumentToJSON = DocumentToJSON;
46
+ function DocumentToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'documentId': value['documentId'],
52
+ 'documentUrl': value['documentUrl'],
53
+ };
54
+ }
55
+ exports.DocumentToJSONTyped = DocumentToJSONTyped;
@@ -0,0 +1,41 @@
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 { PageMeta } from './page-meta';
13
+ import type { DocumentUrl } from './document-url';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GetDocuments200Response
18
+ */
19
+ export interface GetDocuments200Response {
20
+ /**
21
+ * The pagination metadata
22
+ * @type {PageMeta}
23
+ * @memberof GetDocuments200Response
24
+ */
25
+ pageMeta: PageMeta;
26
+ /**
27
+ *
28
+ * @type {Array<DocumentUrl>}
29
+ * @memberof GetDocuments200Response
30
+ */
31
+ results?: Array<DocumentUrl>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the GetDocuments200Response interface.
35
+ */
36
+ export declare function instanceOfGetDocuments200Response(value: object): value is GetDocuments200Response;
37
+ export declare function GetDocuments200ResponseFromJSON(json: any): GetDocuments200Response;
38
+ export declare function GetDocuments200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDocuments200Response;
39
+ export declare function GetDocuments200ResponseToJSON(json: any): GetDocuments200Response;
40
+ export declare function GetDocuments200ResponseToJSONTyped(value?: GetDocuments200Response | null, ignoreDiscriminator?: boolean): any;
41
+ //# sourceMappingURL=get-documents200-response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-documents200-response.d.ts","sourceRoot":"","sources":["../../../src/generated/models/get-documents200-response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAO5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAQlD;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CASrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpI"}
@@ -0,0 +1,55 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.GetDocuments200ResponseToJSONTyped = exports.GetDocuments200ResponseToJSON = exports.GetDocuments200ResponseFromJSONTyped = exports.GetDocuments200ResponseFromJSON = exports.instanceOfGetDocuments200Response = void 0;
17
+ const page_meta_1 = require("./page-meta");
18
+ const document_url_1 = require("./document-url");
19
+ /**
20
+ * Check if a given object implements the GetDocuments200Response interface.
21
+ */
22
+ function instanceOfGetDocuments200Response(value) {
23
+ if (!('pageMeta' in value) || value['pageMeta'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfGetDocuments200Response = instanceOfGetDocuments200Response;
28
+ function GetDocuments200ResponseFromJSON(json) {
29
+ return GetDocuments200ResponseFromJSONTyped(json, false);
30
+ }
31
+ exports.GetDocuments200ResponseFromJSON = GetDocuments200ResponseFromJSON;
32
+ function GetDocuments200ResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'pageMeta': (0, page_meta_1.PageMetaFromJSON)(json['pageMeta']),
38
+ 'results': json['results'] == null ? undefined : (json['results'].map(document_url_1.DocumentUrlFromJSON)),
39
+ };
40
+ }
41
+ exports.GetDocuments200ResponseFromJSONTyped = GetDocuments200ResponseFromJSONTyped;
42
+ function GetDocuments200ResponseToJSON(json) {
43
+ return GetDocuments200ResponseToJSONTyped(json, false);
44
+ }
45
+ exports.GetDocuments200ResponseToJSON = GetDocuments200ResponseToJSON;
46
+ function GetDocuments200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'pageMeta': (0, page_meta_1.PageMetaToJSON)(value['pageMeta']),
52
+ 'results': value['results'] == null ? undefined : (value['results'].map(document_url_1.DocumentUrlToJSON)),
53
+ };
54
+ }
55
+ exports.GetDocuments200ResponseToJSONTyped = GetDocuments200ResponseToJSONTyped;
@@ -64,6 +64,7 @@ export * from './customer';
64
64
  export * from './document-field';
65
65
  export * from './document-signed';
66
66
  export * from './document-signer';
67
+ export * from './document-url';
67
68
  export * from './execute-by';
68
69
  export * from './extensibility-function-definition';
69
70
  export * from './extensibility-function-instance';
@@ -87,6 +88,7 @@ export * from './get-communications200-response';
87
88
  export * from './get-configuration-settings200-response';
88
89
  export * from './get-contacts200-response';
89
90
  export * from './get-customers200-response';
91
+ export * from './get-documents200-response';
90
92
  export * from './get-intent';
91
93
  export * from './get-invoices200-response';
92
94
  export * from './get-notes200-response';
@@ -182,6 +184,8 @@ export * from './update-org';
182
184
  export * from './update-smart-bar-prompt';
183
185
  export * from './update-user-properties';
184
186
  export * from './upload-document';
187
+ export * from './uploaded-document';
188
+ export * from './uploaded-documents';
185
189
  export * from './user';
186
190
  export * from './user-id';
187
191
  export * from './workflow-definition';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/models/index.ts"],"names":[],"mappings":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AAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
@@ -82,6 +82,7 @@ __exportStar(require("./customer"), exports);
82
82
  __exportStar(require("./document-field"), exports);
83
83
  __exportStar(require("./document-signed"), exports);
84
84
  __exportStar(require("./document-signer"), exports);
85
+ __exportStar(require("./document-url"), exports);
85
86
  __exportStar(require("./execute-by"), exports);
86
87
  __exportStar(require("./extensibility-function-definition"), exports);
87
88
  __exportStar(require("./extensibility-function-instance"), exports);
@@ -105,6 +106,7 @@ __exportStar(require("./get-communications200-response"), exports);
105
106
  __exportStar(require("./get-configuration-settings200-response"), exports);
106
107
  __exportStar(require("./get-contacts200-response"), exports);
107
108
  __exportStar(require("./get-customers200-response"), exports);
109
+ __exportStar(require("./get-documents200-response"), exports);
108
110
  __exportStar(require("./get-intent"), exports);
109
111
  __exportStar(require("./get-invoices200-response"), exports);
110
112
  __exportStar(require("./get-notes200-response"), exports);
@@ -200,6 +202,8 @@ __exportStar(require("./update-org"), exports);
200
202
  __exportStar(require("./update-smart-bar-prompt"), exports);
201
203
  __exportStar(require("./update-user-properties"), exports);
202
204
  __exportStar(require("./upload-document"), exports);
205
+ __exportStar(require("./uploaded-document"), exports);
206
+ __exportStar(require("./uploaded-documents"), exports);
203
207
  __exportStar(require("./user"), exports);
204
208
  __exportStar(require("./user-id"), exports);
205
209
  __exportStar(require("./workflow-definition"), exports);
@@ -0,0 +1,33 @@
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 UploadedDocument
16
+ */
17
+ export interface UploadedDocument {
18
+ /**
19
+ * Base64 encoded document
20
+ * @type {string}
21
+ * @memberof UploadedDocument
22
+ */
23
+ file: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the UploadedDocument interface.
27
+ */
28
+ export declare function instanceOfUploadedDocument(value: object): value is UploadedDocument;
29
+ export declare function UploadedDocumentFromJSON(json: any): UploadedDocument;
30
+ export declare function UploadedDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadedDocument;
31
+ export declare function UploadedDocumentToJSON(json: any): UploadedDocument;
32
+ export declare function UploadedDocumentToJSONTyped(value?: UploadedDocument | null, ignoreDiscriminator?: boolean): any;
33
+ //# sourceMappingURL=uploaded-document.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploaded-document.d.ts","sourceRoot":"","sources":["../../../src/generated/models/uploaded-document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAGnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAQvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStH"}
@@ -0,0 +1,51 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UploadedDocumentToJSONTyped = exports.UploadedDocumentToJSON = exports.UploadedDocumentFromJSONTyped = exports.UploadedDocumentFromJSON = exports.instanceOfUploadedDocument = void 0;
17
+ /**
18
+ * Check if a given object implements the UploadedDocument interface.
19
+ */
20
+ function instanceOfUploadedDocument(value) {
21
+ if (!('file' in value) || value['file'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfUploadedDocument = instanceOfUploadedDocument;
26
+ function UploadedDocumentFromJSON(json) {
27
+ return UploadedDocumentFromJSONTyped(json, false);
28
+ }
29
+ exports.UploadedDocumentFromJSON = UploadedDocumentFromJSON;
30
+ function UploadedDocumentFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'file': json['file'],
36
+ };
37
+ }
38
+ exports.UploadedDocumentFromJSONTyped = UploadedDocumentFromJSONTyped;
39
+ function UploadedDocumentToJSON(json) {
40
+ return UploadedDocumentToJSONTyped(json, false);
41
+ }
42
+ exports.UploadedDocumentToJSON = UploadedDocumentToJSON;
43
+ function UploadedDocumentToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'file': value['file'],
49
+ };
50
+ }
51
+ exports.UploadedDocumentToJSONTyped = UploadedDocumentToJSONTyped;
@@ -0,0 +1,45 @@
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 UploadedDocuments
16
+ */
17
+ export interface UploadedDocuments {
18
+ /**
19
+ * List of file names/IDs
20
+ * @type {Array<string>}
21
+ * @memberof UploadedDocuments
22
+ */
23
+ files: Array<string>;
24
+ /**
25
+ * List of folder names
26
+ * @type {Array<string>}
27
+ * @memberof UploadedDocuments
28
+ */
29
+ folders: Array<string>;
30
+ /**
31
+ * The current folder
32
+ * @type {string}
33
+ * @memberof UploadedDocuments
34
+ */
35
+ currentFolder: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the UploadedDocuments interface.
39
+ */
40
+ export declare function instanceOfUploadedDocuments(value: object): value is UploadedDocuments;
41
+ export declare function UploadedDocumentsFromJSON(json: any): UploadedDocuments;
42
+ export declare function UploadedDocumentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadedDocuments;
43
+ export declare function UploadedDocumentsToJSON(json: any): UploadedDocuments;
44
+ export declare function UploadedDocumentsToJSONTyped(value?: UploadedDocuments | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=uploaded-documents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploaded-documents.d.ts","sourceRoot":"","sources":["../../../src/generated/models/uploaded-documents.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAKrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CAUzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxH"}
@@ -0,0 +1,59 @@
1
+ "use strict";
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UploadedDocumentsToJSONTyped = exports.UploadedDocumentsToJSON = exports.UploadedDocumentsFromJSONTyped = exports.UploadedDocumentsFromJSON = exports.instanceOfUploadedDocuments = void 0;
17
+ /**
18
+ * Check if a given object implements the UploadedDocuments interface.
19
+ */
20
+ function instanceOfUploadedDocuments(value) {
21
+ if (!('files' in value) || value['files'] === undefined)
22
+ return false;
23
+ if (!('folders' in value) || value['folders'] === undefined)
24
+ return false;
25
+ if (!('currentFolder' in value) || value['currentFolder'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ exports.instanceOfUploadedDocuments = instanceOfUploadedDocuments;
30
+ function UploadedDocumentsFromJSON(json) {
31
+ return UploadedDocumentsFromJSONTyped(json, false);
32
+ }
33
+ exports.UploadedDocumentsFromJSON = UploadedDocumentsFromJSON;
34
+ function UploadedDocumentsFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'files': json['files'],
40
+ 'folders': json['folders'],
41
+ 'currentFolder': json['currentFolder'],
42
+ };
43
+ }
44
+ exports.UploadedDocumentsFromJSONTyped = UploadedDocumentsFromJSONTyped;
45
+ function UploadedDocumentsToJSON(json) {
46
+ return UploadedDocumentsToJSONTyped(json, false);
47
+ }
48
+ exports.UploadedDocumentsToJSON = UploadedDocumentsToJSON;
49
+ function UploadedDocumentsToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'files': value['files'],
55
+ 'folders': value['folders'],
56
+ 'currentFolder': value['currentFolder'],
57
+ };
58
+ }
59
+ exports.UploadedDocumentsToJSONTyped = UploadedDocumentsToJSONTyped;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.119",
3
+ "version": "0.0.132",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managespace/sdk",
3
- "version": "0.0.132",
3
+ "version": "0.0.134",
4
4
  "scripts": {
5
5
  "dev": "tsc -w --preserveWatchOutput",
6
6
  "build": "tsc",
@@ -4,6 +4,7 @@ import {
4
4
  DocumentSigned,
5
5
  Success,
6
6
  Template,
7
+ DocumentUrl,
7
8
  } from '../../../generated';
8
9
  import { CreateTemplate as CreateTemplatePayload } from '../../../generated/models/create-template';
9
10
  import { ExtPlugin } from '../../types';
@@ -15,11 +16,11 @@ export namespace Document {
15
16
  payload!: CreateDocument & { siteId: string };
16
17
  }
17
18
  export class GetDocuments implements ExtPlugin {
18
- responseType!: any;
19
- payload!: { siteId: string };
19
+ responseType!: DocumentUrl[];
20
+ payload!: { siteId: string } & BasePaginationQuery;
20
21
  }
21
22
  export class GetDocument implements ExtPlugin {
22
- responseType!: any;
23
+ responseType!: DocumentUrl;
23
24
  payload!: { siteId: string; documentId: string };
24
25
  }
25
26
  export class CreateTemplate implements ExtPlugin {
@@ -67,6 +67,7 @@ models/customer.ts
67
67
  models/document-field.ts
68
68
  models/document-signed.ts
69
69
  models/document-signer.ts
70
+ models/document-url.ts
70
71
  models/execute-by.ts
71
72
  models/extensibility-function-definition.ts
72
73
  models/extensibility-function-instance.ts
@@ -90,6 +91,7 @@ models/get-communications200-response.ts
90
91
  models/get-configuration-settings200-response.ts
91
92
  models/get-contacts200-response.ts
92
93
  models/get-customers200-response.ts
94
+ models/get-documents200-response.ts
93
95
  models/get-intent.ts
94
96
  models/get-invoices200-response.ts
95
97
  models/get-notes200-response.ts
@@ -186,6 +188,8 @@ models/update-org.ts
186
188
  models/update-smart-bar-prompt.ts
187
189
  models/update-user-properties.ts
188
190
  models/upload-document.ts
191
+ models/uploaded-document.ts
192
+ models/uploaded-documents.ts
189
193
  models/user-id.ts
190
194
  models/user.ts
191
195
  models/workflow-definition.ts