@managespace/sdk 0.0.135 → 0.0.137

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 (49) hide show
  1. package/dist/extensibility/functions/project/billing.d.ts +4 -4
  2. package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
  3. package/dist/extensibility/functions/project/billing.js +2 -2
  4. package/dist/extensibility/functions/project/document.d.ts +14 -1
  5. package/dist/extensibility/functions/project/document.d.ts.map +1 -1
  6. package/dist/extensibility/functions/project/document.js +10 -0
  7. package/dist/generated/apis/default-api.d.ts +61 -11
  8. package/dist/generated/apis/default-api.d.ts.map +1 -1
  9. package/dist/generated/apis/default-api.js +195 -33
  10. package/dist/generated/models/document-signed.d.ts +6 -0
  11. package/dist/generated/models/document-signed.d.ts.map +1 -1
  12. package/dist/generated/models/document-signed.js +4 -0
  13. package/dist/generated/models/document-url.d.ts +39 -0
  14. package/dist/generated/models/document-url.d.ts.map +1 -0
  15. package/dist/generated/models/document-url.js +55 -0
  16. package/dist/generated/models/document.d.ts +39 -0
  17. package/dist/generated/models/document.d.ts.map +1 -0
  18. package/dist/generated/models/document.js +55 -0
  19. package/dist/generated/models/get-documents200-response.d.ts +41 -0
  20. package/dist/generated/models/get-documents200-response.d.ts.map +1 -0
  21. package/dist/generated/models/get-documents200-response.js +55 -0
  22. package/dist/generated/models/index.d.ts +8 -0
  23. package/dist/generated/models/index.d.ts.map +1 -1
  24. package/dist/generated/models/index.js +8 -0
  25. package/dist/generated/models/upload-document.d.ts +45 -0
  26. package/dist/generated/models/upload-document.d.ts.map +1 -0
  27. package/dist/generated/models/upload-document.js +55 -0
  28. package/dist/generated/models/uploaded-document.d.ts +33 -0
  29. package/dist/generated/models/uploaded-document.d.ts.map +1 -0
  30. package/dist/generated/models/uploaded-document.js +51 -0
  31. package/dist/generated/models/uploaded-documents.d.ts +45 -0
  32. package/dist/generated/models/uploaded-documents.d.ts.map +1 -0
  33. package/dist/generated/models/uploaded-documents.js +59 -0
  34. package/package.json +1 -1
  35. package/src/extensibility/functions/project/billing.ts +5 -3
  36. package/src/extensibility/functions/project/document.ts +9 -0
  37. package/src/generated/.openapi-generator/FILES +8 -0
  38. package/src/generated/apis/default-api.ts +316 -52
  39. package/src/generated/models/document-signed.ts +9 -0
  40. package/src/generated/models/document-url.ts +75 -0
  41. package/src/generated/models/document.ts +75 -0
  42. package/src/generated/models/get-documents200-response.ts +89 -0
  43. package/src/generated/models/index.ts +8 -0
  44. package/src/generated/models/subscription-invoice-line.ts +192 -0
  45. package/src/generated/models/subscription-invoice.ts +110 -0
  46. package/src/generated/models/subscription-preview.ts +440 -0
  47. package/src/generated/models/upload-document.ts +82 -0
  48. package/src/generated/models/uploaded-document.ts +66 -0
  49. package/src/generated/models/uploaded-documents.ts +84 -0
@@ -43,38 +43,6 @@ const index_1 = require("../models/index");
43
43
  *
44
44
  */
45
45
  class DefaultApi extends runtime.BaseAPI {
46
- /**
47
- */
48
- async activateSubscriptionRaw(requestParameters, initOverrides) {
49
- if (requestParameters['siteId'] == null) {
50
- throw new runtime.RequiredError('siteId', 'Required parameter "siteId" was null or undefined when calling activateSubscription().');
51
- }
52
- if (requestParameters['subscriptionId'] == null) {
53
- throw new runtime.RequiredError('subscriptionId', 'Required parameter "subscriptionId" was null or undefined when calling activateSubscription().');
54
- }
55
- const queryParameters = {};
56
- const headerParameters = {};
57
- if (this.configuration && this.configuration.accessToken) {
58
- const token = this.configuration.accessToken;
59
- const tokenString = await token("bearer", []);
60
- if (tokenString) {
61
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
62
- }
63
- }
64
- const response = await this.request({
65
- path: `/api/sites/{siteId}/subscriptions/{subscriptionId}/activate`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"subscriptionId"}}`, encodeURIComponent(String(requestParameters['subscriptionId']))),
66
- method: 'PUT',
67
- headers: headerParameters,
68
- query: queryParameters,
69
- }, initOverrides);
70
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetSubscriptions200ResponseFromJSON)(jsonValue));
71
- }
72
- /**
73
- */
74
- async activateSubscription(requestParameters, initOverrides) {
75
- const response = await this.activateSubscriptionRaw(requestParameters, initOverrides);
76
- return await response.value();
77
- }
78
46
  /**
79
47
  */
80
48
  async adminSignUpRaw(requestParameters, initOverrides) {
@@ -1335,6 +1303,9 @@ class DefaultApi extends runtime.BaseAPI {
1335
1303
  if (requestParameters['siteId'] == null) {
1336
1304
  throw new runtime.RequiredError('siteId', 'Required parameter "siteId" was null or undefined when calling documentSigned().');
1337
1305
  }
1306
+ if (requestParameters['documentId'] == null) {
1307
+ throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling documentSigned().');
1308
+ }
1338
1309
  if (requestParameters['documentSigned'] == null) {
1339
1310
  throw new runtime.RequiredError('documentSigned', 'Required parameter "documentSigned" was null or undefined when calling documentSigned().');
1340
1311
  }
@@ -1349,7 +1320,7 @@ class DefaultApi extends runtime.BaseAPI {
1349
1320
  }
1350
1321
  }
1351
1322
  const response = await this.request({
1352
- path: `/api/sites/{siteId}/documents/signed`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))),
1323
+ path: `/api/sites/{siteId}/documents/{documentId}/signed`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters['documentId']))),
1353
1324
  method: 'POST',
1354
1325
  headers: headerParameters,
1355
1326
  query: queryParameters,
@@ -2235,6 +2206,73 @@ class DefaultApi extends runtime.BaseAPI {
2235
2206
  const response = await this.getCustomersRaw(requestParameters, initOverrides);
2236
2207
  return await response.value();
2237
2208
  }
2209
+ /**
2210
+ */
2211
+ async getDocumentRaw(requestParameters, initOverrides) {
2212
+ if (requestParameters['siteId'] == null) {
2213
+ throw new runtime.RequiredError('siteId', 'Required parameter "siteId" was null or undefined when calling getDocument().');
2214
+ }
2215
+ if (requestParameters['documentId'] == null) {
2216
+ throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling getDocument().');
2217
+ }
2218
+ const queryParameters = {};
2219
+ const headerParameters = {};
2220
+ if (this.configuration && this.configuration.accessToken) {
2221
+ const token = this.configuration.accessToken;
2222
+ const tokenString = await token("bearer", []);
2223
+ if (tokenString) {
2224
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2225
+ }
2226
+ }
2227
+ const response = await this.request({
2228
+ path: `/api/sites/{siteId}/documents/{documentId}`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters['documentId']))),
2229
+ method: 'GET',
2230
+ headers: headerParameters,
2231
+ query: queryParameters,
2232
+ }, initOverrides);
2233
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DocumentUrlFromJSON)(jsonValue));
2234
+ }
2235
+ /**
2236
+ */
2237
+ async getDocument(requestParameters, initOverrides) {
2238
+ const response = await this.getDocumentRaw(requestParameters, initOverrides);
2239
+ return await response.value();
2240
+ }
2241
+ /**
2242
+ */
2243
+ async getDocumentsRaw(requestParameters, initOverrides) {
2244
+ if (requestParameters['siteId'] == null) {
2245
+ throw new runtime.RequiredError('siteId', 'Required parameter "siteId" was null or undefined when calling getDocuments().');
2246
+ }
2247
+ const queryParameters = {};
2248
+ if (requestParameters['offset'] != null) {
2249
+ queryParameters['offset'] = requestParameters['offset'];
2250
+ }
2251
+ if (requestParameters['limit'] != null) {
2252
+ queryParameters['limit'] = requestParameters['limit'];
2253
+ }
2254
+ const headerParameters = {};
2255
+ if (this.configuration && this.configuration.accessToken) {
2256
+ const token = this.configuration.accessToken;
2257
+ const tokenString = await token("bearer", []);
2258
+ if (tokenString) {
2259
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
2260
+ }
2261
+ }
2262
+ const response = await this.request({
2263
+ path: `/api/sites/{siteId}/documents`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))),
2264
+ method: 'GET',
2265
+ headers: headerParameters,
2266
+ query: queryParameters,
2267
+ }, initOverrides);
2268
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetDocuments200ResponseFromJSON)(jsonValue));
2269
+ }
2270
+ /**
2271
+ */
2272
+ async getDocuments(requestParameters, initOverrides) {
2273
+ const response = await this.getDocumentsRaw(requestParameters, initOverrides);
2274
+ return await response.value();
2275
+ }
2238
2276
  /**
2239
2277
  */
2240
2278
  async getExtensibilityRepoRaw(initOverrides) {
@@ -3197,6 +3235,38 @@ class DefaultApi extends runtime.BaseAPI {
3197
3235
  const response = await this.getSubscriptionRaw(requestParameters, initOverrides);
3198
3236
  return await response.value();
3199
3237
  }
3238
+ /**
3239
+ */
3240
+ async getSubscriptionPreviewRaw(requestParameters, initOverrides) {
3241
+ if (requestParameters['siteId'] == null) {
3242
+ throw new runtime.RequiredError('siteId', 'Required parameter "siteId" was null or undefined when calling getSubscriptionPreview().');
3243
+ }
3244
+ if (requestParameters['subscriptionId'] == null) {
3245
+ throw new runtime.RequiredError('subscriptionId', 'Required parameter "subscriptionId" was null or undefined when calling getSubscriptionPreview().');
3246
+ }
3247
+ const queryParameters = {};
3248
+ const headerParameters = {};
3249
+ if (this.configuration && this.configuration.accessToken) {
3250
+ const token = this.configuration.accessToken;
3251
+ const tokenString = await token("bearer", []);
3252
+ if (tokenString) {
3253
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3254
+ }
3255
+ }
3256
+ const response = await this.request({
3257
+ path: `/api/sites/{siteId}/subscriptions/{subscriptionId}/preview`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))).replace(`{${"subscriptionId"}}`, encodeURIComponent(String(requestParameters['subscriptionId']))),
3258
+ method: 'GET',
3259
+ headers: headerParameters,
3260
+ query: queryParameters,
3261
+ }, initOverrides);
3262
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SubscriptionPreviewFromJSON)(jsonValue));
3263
+ }
3264
+ /**
3265
+ */
3266
+ async getSubscriptionPreview(requestParameters, initOverrides) {
3267
+ const response = await this.getSubscriptionPreviewRaw(requestParameters, initOverrides);
3268
+ return await response.value();
3269
+ }
3200
3270
  /**
3201
3271
  */
3202
3272
  async getSubscriptionsRaw(requestParameters, initOverrides) {
@@ -3457,6 +3527,67 @@ class DefaultApi extends runtime.BaseAPI {
3457
3527
  const response = await this.getTemplatesRaw(requestParameters, initOverrides);
3458
3528
  return await response.value();
3459
3529
  }
3530
+ /**
3531
+ */
3532
+ async getUploadedDocumentRaw(requestParameters, initOverrides) {
3533
+ if (requestParameters['documentId'] == null) {
3534
+ throw new runtime.RequiredError('documentId', 'Required parameter "documentId" was null or undefined when calling getUploadedDocument().');
3535
+ }
3536
+ const queryParameters = {};
3537
+ if (requestParameters['siteId'] != null) {
3538
+ queryParameters['siteId'] = requestParameters['siteId'];
3539
+ }
3540
+ const headerParameters = {};
3541
+ if (this.configuration && this.configuration.accessToken) {
3542
+ const token = this.configuration.accessToken;
3543
+ const tokenString = await token("bearer", []);
3544
+ if (tokenString) {
3545
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3546
+ }
3547
+ }
3548
+ const response = await this.request({
3549
+ path: `/api/documents/{documentId}/upload`.replace(`{${"documentId"}}`, encodeURIComponent(String(requestParameters['documentId']))),
3550
+ method: 'GET',
3551
+ headers: headerParameters,
3552
+ query: queryParameters,
3553
+ }, initOverrides);
3554
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadedDocumentFromJSON)(jsonValue));
3555
+ }
3556
+ /**
3557
+ */
3558
+ async getUploadedDocument(requestParameters, initOverrides) {
3559
+ const response = await this.getUploadedDocumentRaw(requestParameters, initOverrides);
3560
+ return await response.value();
3561
+ }
3562
+ /**
3563
+ */
3564
+ async getUploadedDocumentsRaw(requestParameters, initOverrides) {
3565
+ const queryParameters = {};
3566
+ if (requestParameters['siteId'] != null) {
3567
+ queryParameters['siteId'] = requestParameters['siteId'];
3568
+ }
3569
+ const headerParameters = {};
3570
+ if (this.configuration && this.configuration.accessToken) {
3571
+ const token = this.configuration.accessToken;
3572
+ const tokenString = await token("bearer", []);
3573
+ if (tokenString) {
3574
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3575
+ }
3576
+ }
3577
+ const response = await this.request({
3578
+ path: `/api/documents/upload`,
3579
+ method: 'GET',
3580
+ headers: headerParameters,
3581
+ query: queryParameters,
3582
+ }, initOverrides);
3583
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadedDocumentsFromJSON)(jsonValue));
3584
+ }
3585
+ /**
3586
+ */
3587
+ async getUploadedDocuments(requestParameters = {}, initOverrides) {
3588
+ const response = await this.getUploadedDocumentsRaw(requestParameters, initOverrides);
3589
+ return await response.value();
3590
+ }
3460
3591
  /**
3461
3592
  */
3462
3593
  async getUserRaw(requestParameters, initOverrides) {
@@ -4662,6 +4793,37 @@ class DefaultApi extends runtime.BaseAPI {
4662
4793
  const response = await this.updateUserPropertiesRaw(requestParameters, initOverrides);
4663
4794
  return await response.value();
4664
4795
  }
4796
+ /**
4797
+ */
4798
+ async uploadDocumentRaw(requestParameters, initOverrides) {
4799
+ if (requestParameters['uploadDocument'] == null) {
4800
+ throw new runtime.RequiredError('uploadDocument', 'Required parameter "uploadDocument" was null or undefined when calling uploadDocument().');
4801
+ }
4802
+ const queryParameters = {};
4803
+ const headerParameters = {};
4804
+ headerParameters['Content-Type'] = 'application/json';
4805
+ if (this.configuration && this.configuration.accessToken) {
4806
+ const token = this.configuration.accessToken;
4807
+ const tokenString = await token("bearer", []);
4808
+ if (tokenString) {
4809
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
4810
+ }
4811
+ }
4812
+ const response = await this.request({
4813
+ path: `/api/documents/upload`,
4814
+ method: 'POST',
4815
+ headers: headerParameters,
4816
+ query: queryParameters,
4817
+ body: (0, index_1.UploadDocumentToJSON)(requestParameters['uploadDocument']),
4818
+ }, initOverrides);
4819
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SuccessFromJSON)(jsonValue));
4820
+ }
4821
+ /**
4822
+ */
4823
+ async uploadDocument(requestParameters, initOverrides) {
4824
+ const response = await this.uploadDocumentRaw(requestParameters, initOverrides);
4825
+ return await response.value();
4826
+ }
4665
4827
  /**
4666
4828
  */
4667
4829
  async uploadPluginRaw(requestParameters, initOverrides) {
@@ -33,6 +33,12 @@ export interface DocumentSigned {
33
33
  * @memberof DocumentSigned
34
34
  */
35
35
  allSignaturesGathered: boolean;
36
+ /**
37
+ * Base64 encoded signed document
38
+ * @type {string}
39
+ * @memberof DocumentSigned
40
+ */
41
+ file: string;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the DocumentSigned interface.
@@ -1 +1 @@
1
- {"version":3,"file":"document-signed.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-signed.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,qBAAqB,EAAE,OAAO,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAG/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAUnG;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,CAWlH"}
1
+ {"version":3,"file":"document-signed.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-signed.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,qBAAqB,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAI/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"}
@@ -20,6 +20,8 @@ exports.DocumentSignedToJSONTyped = exports.DocumentSignedToJSON = exports.Docum
20
20
  function instanceOfDocumentSigned(value) {
21
21
  if (!('allSignaturesGathered' in value) || value['allSignaturesGathered'] === undefined)
22
22
  return false;
23
+ if (!('file' in value) || value['file'] === undefined)
24
+ return false;
23
25
  return true;
24
26
  }
25
27
  exports.instanceOfDocumentSigned = instanceOfDocumentSigned;
@@ -35,6 +37,7 @@ function DocumentSignedFromJSONTyped(json, ignoreDiscriminator) {
35
37
  'workflowId': json['workflowId'] == null ? undefined : json['workflowId'],
36
38
  'workflowStepId': json['workflowStepId'] == null ? undefined : json['workflowStepId'],
37
39
  'allSignaturesGathered': json['allSignaturesGathered'],
40
+ 'file': json['file'],
38
41
  };
39
42
  }
40
43
  exports.DocumentSignedFromJSONTyped = DocumentSignedFromJSONTyped;
@@ -50,6 +53,7 @@ function DocumentSignedToJSONTyped(value, ignoreDiscriminator = false) {
50
53
  'workflowId': value['workflowId'],
51
54
  'workflowStepId': value['workflowStepId'],
52
55
  'allSignaturesGathered': value['allSignaturesGathered'],
56
+ 'file': value['file'],
53
57
  };
54
58
  }
55
59
  exports.DocumentSignedToJSONTyped = DocumentSignedToJSONTyped;
@@ -0,0 +1,39 @@
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 DocumentUrl
16
+ */
17
+ export interface DocumentUrl {
18
+ /**
19
+ * The ID of the document.
20
+ * @type {string}
21
+ * @memberof DocumentUrl
22
+ */
23
+ id: string;
24
+ /**
25
+ * The URL of the document.
26
+ * @type {string}
27
+ * @memberof DocumentUrl
28
+ */
29
+ url: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the DocumentUrl interface.
33
+ */
34
+ export declare function instanceOfDocumentUrl(value: object): value is DocumentUrl;
35
+ export declare function DocumentUrlFromJSON(json: any): DocumentUrl;
36
+ export declare function DocumentUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentUrl;
37
+ export declare function DocumentUrlToJSON(json: any): DocumentUrl;
38
+ export declare function DocumentUrlToJSONTyped(value?: DocumentUrl | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=document-url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document-url.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document-url.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAIzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAS7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5G"}
@@ -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.DocumentUrlToJSONTyped = exports.DocumentUrlToJSON = exports.DocumentUrlFromJSONTyped = exports.DocumentUrlFromJSON = exports.instanceOfDocumentUrl = void 0;
17
+ /**
18
+ * Check if a given object implements the DocumentUrl interface.
19
+ */
20
+ function instanceOfDocumentUrl(value) {
21
+ if (!('id' in value) || value['id'] === undefined)
22
+ return false;
23
+ if (!('url' in value) || value['url'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ exports.instanceOfDocumentUrl = instanceOfDocumentUrl;
28
+ function DocumentUrlFromJSON(json) {
29
+ return DocumentUrlFromJSONTyped(json, false);
30
+ }
31
+ exports.DocumentUrlFromJSON = DocumentUrlFromJSON;
32
+ function DocumentUrlFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'id': json['id'],
38
+ 'url': json['url'],
39
+ };
40
+ }
41
+ exports.DocumentUrlFromJSONTyped = DocumentUrlFromJSONTyped;
42
+ function DocumentUrlToJSON(json) {
43
+ return DocumentUrlToJSONTyped(json, false);
44
+ }
45
+ exports.DocumentUrlToJSON = DocumentUrlToJSON;
46
+ function DocumentUrlToJSONTyped(value, ignoreDiscriminator = false) {
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'id': value['id'],
52
+ 'url': value['url'],
53
+ };
54
+ }
55
+ exports.DocumentUrlToJSONTyped = DocumentUrlToJSONTyped;
@@ -0,0 +1,39 @@
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 Document
16
+ */
17
+ export interface Document {
18
+ /**
19
+ * The ID of the document.
20
+ * @type {string}
21
+ * @memberof Document
22
+ */
23
+ documentId: string;
24
+ /**
25
+ * The URL of the document.
26
+ * @type {string}
27
+ * @memberof Document
28
+ */
29
+ documentUrl: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Document interface.
33
+ */
34
+ export declare function instanceOfDocument(value: object): value is Document;
35
+ export declare function DocumentFromJSON(json: any): Document;
36
+ export declare function DocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Document;
37
+ export declare function DocumentToJSON(json: any): Document;
38
+ export declare function DocumentToJSONTyped(value?: Document | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=document.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/generated/models/document.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACrB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,QAAQ,CAInE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,QAAQ,CASvF;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,QAAQ,CAElD;AAED,wBAAgB,mBAAmB,CAAC,KAAK,CAAC,EAAE,QAAQ,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtG"}
@@ -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';
@@ -161,6 +163,9 @@ export * from './step-data';
161
163
  export * from './sub-total';
162
164
  export * from './subscription';
163
165
  export * from './subscription-charge';
166
+ export * from './subscription-invoice';
167
+ export * from './subscription-invoice-line';
168
+ export * from './subscription-preview';
164
169
  export * from './success';
165
170
  export * from './task';
166
171
  export * from './task-completion-status';
@@ -181,6 +186,9 @@ export * from './update-note';
181
186
  export * from './update-org';
182
187
  export * from './update-smart-bar-prompt';
183
188
  export * from './update-user-properties';
189
+ export * from './upload-document';
190
+ export * from './uploaded-document';
191
+ export * from './uploaded-documents';
184
192
  export * from './user';
185
193
  export * from './user-id';
186
194
  export * from './workflow-definition';