@emilgroup/document-sdk-node 1.2.0 → 1.3.0

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 (141) hide show
  1. package/.openapi-generator/FILES +21 -0
  2. package/README.md +2 -2
  3. package/api/document-templates-api.ts +88 -94
  4. package/api/documents-api.ts +152 -34
  5. package/api/layouts-api.ts +52 -28
  6. package/api/product-documents-api.ts +599 -0
  7. package/api/search-keywords-api.ts +168 -0
  8. package/api/searchable-document-owners-api.ts +26 -22
  9. package/api/searchable-documents-api.ts +16 -12
  10. package/api.ts +4 -0
  11. package/dist/api/document-templates-api.d.ts +82 -78
  12. package/dist/api/document-templates-api.js +73 -67
  13. package/dist/api/documents-api.d.ts +93 -29
  14. package/dist/api/documents-api.js +121 -23
  15. package/dist/api/layouts-api.d.ts +52 -30
  16. package/dist/api/layouts-api.js +43 -23
  17. package/dist/api/product-documents-api.d.ts +345 -0
  18. package/dist/api/product-documents-api.js +558 -0
  19. package/dist/api/search-keywords-api.d.ts +96 -0
  20. package/dist/api/search-keywords-api.js +229 -0
  21. package/dist/api/searchable-document-owners-api.d.ts +23 -19
  22. package/dist/api/searchable-document-owners-api.js +16 -12
  23. package/dist/api/searchable-documents-api.d.ts +16 -12
  24. package/dist/api/searchable-documents-api.js +14 -10
  25. package/dist/api.d.ts +2 -0
  26. package/dist/api.js +2 -0
  27. package/dist/models/create-doc-template-request-dto.d.ts +10 -4
  28. package/dist/models/create-doc-template-response-class.d.ts +25 -0
  29. package/dist/models/create-doc-template-response-class.js +15 -0
  30. package/dist/models/create-document-request-dto.d.ts +21 -8
  31. package/dist/models/create-document-request-dto.js +2 -1
  32. package/dist/models/create-document-sync-response-class.d.ts +25 -0
  33. package/dist/models/create-document-sync-response-class.js +15 -0
  34. package/dist/models/create-html-template-dto.d.ts +1 -1
  35. package/dist/models/create-layout-request-dto.d.ts +10 -10
  36. package/dist/models/create-layout-response-class.d.ts +25 -0
  37. package/dist/models/create-layout-response-class.js +15 -0
  38. package/dist/models/create-presigned-post-request-dto.d.ts +128 -0
  39. package/dist/models/create-presigned-post-request-dto.js +52 -0
  40. package/dist/models/create-presigned-post-response-class.d.ts +30 -0
  41. package/dist/models/create-presigned-post-response-class.js +15 -0
  42. package/dist/models/delete-layout-request-dto.d.ts +1 -1
  43. package/dist/models/delete-product-document-request-dto.d.ts +30 -0
  44. package/dist/models/delete-product-document-request-dto.js +15 -0
  45. package/dist/models/delete-request-dto.d.ts +1 -1
  46. package/dist/models/delete-response-class.d.ts +24 -0
  47. package/dist/models/delete-response-class.js +15 -0
  48. package/dist/models/doc-template-class.d.ts +25 -19
  49. package/dist/models/document-class.d.ts +21 -8
  50. package/dist/models/document-class.js +2 -1
  51. package/dist/models/download-document-request-dto.d.ts +2 -2
  52. package/dist/models/get-doc-template-request-dto.d.ts +1 -1
  53. package/dist/models/get-doc-template-response-class.d.ts +1 -1
  54. package/dist/models/get-document-download-url-response-class.d.ts +1 -1
  55. package/dist/models/get-layout-request-dto.d.ts +1 -1
  56. package/dist/models/get-product-document-response-class.d.ts +25 -0
  57. package/dist/models/get-product-document-response-class.js +15 -0
  58. package/dist/models/get-signed-s3-key-url-response-class.d.ts +24 -0
  59. package/dist/models/get-signed-s3-key-url-response-class.js +15 -0
  60. package/dist/models/html-template-class.d.ts +7 -7
  61. package/dist/models/index.d.ts +19 -0
  62. package/dist/models/index.js +19 -0
  63. package/dist/models/layout-class.d.ts +11 -11
  64. package/dist/models/list-doc-template-request-dto.d.ts +48 -0
  65. package/dist/models/list-doc-template-request-dto.js +15 -0
  66. package/dist/models/list-doc-templates-response-class.d.ts +1 -1
  67. package/dist/models/list-documents-response-class.d.ts +1 -1
  68. package/dist/models/list-layouts-response-class.d.ts +1 -1
  69. package/dist/models/list-product-documents-response-class.d.ts +31 -0
  70. package/dist/models/list-product-documents-response-class.js +15 -0
  71. package/dist/models/list-search-keywords-request-dto.d.ts +24 -0
  72. package/dist/models/list-search-keywords-request-dto.js +15 -0
  73. package/dist/models/list-search-keywords-response-class.d.ts +24 -0
  74. package/dist/models/list-search-keywords-response-class.js +15 -0
  75. package/dist/models/list-searchable-document-owners-response-class.d.ts +3 -2
  76. package/dist/models/list-searchable-documents-request-dto.d.ts +2 -2
  77. package/dist/models/list-searchable-documents-response-class.d.ts +5 -4
  78. package/dist/models/product-document-class.d.ts +99 -0
  79. package/dist/models/product-document-class.js +36 -0
  80. package/dist/models/searchable-document-class.d.ts +66 -0
  81. package/dist/models/searchable-document-class.js +15 -0
  82. package/dist/models/searchable-document-owner-class.d.ts +30 -0
  83. package/dist/models/searchable-document-owner-class.js +15 -0
  84. package/dist/models/update-doc-template-request-dto.d.ts +16 -10
  85. package/dist/models/update-doc-template-response-class.d.ts +1 -1
  86. package/dist/models/update-document-request-dto.d.ts +10 -4
  87. package/dist/models/update-document-response-class.d.ts +25 -0
  88. package/dist/models/update-document-response-class.js +15 -0
  89. package/dist/models/update-html-template-dto.d.ts +42 -0
  90. package/dist/models/update-html-template-dto.js +21 -0
  91. package/dist/models/update-layout-request-dto.d.ts +15 -15
  92. package/dist/models/update-layout-response-class.d.ts +1 -1
  93. package/dist/models/upload-product-document-request-dto.d.ts +63 -0
  94. package/dist/models/upload-product-document-request-dto.js +24 -0
  95. package/models/create-doc-template-request-dto.ts +10 -4
  96. package/models/create-doc-template-response-class.ts +31 -0
  97. package/models/create-document-request-dto.ts +22 -9
  98. package/models/create-document-sync-response-class.ts +31 -0
  99. package/models/create-html-template-dto.ts +1 -1
  100. package/models/create-layout-request-dto.ts +10 -10
  101. package/models/create-layout-response-class.ts +31 -0
  102. package/models/create-presigned-post-request-dto.ts +138 -0
  103. package/models/create-presigned-post-response-class.ts +36 -0
  104. package/models/delete-layout-request-dto.ts +1 -1
  105. package/models/delete-product-document-request-dto.ts +36 -0
  106. package/models/delete-request-dto.ts +1 -1
  107. package/models/delete-response-class.ts +30 -0
  108. package/models/doc-template-class.ts +25 -19
  109. package/models/document-class.ts +22 -9
  110. package/models/download-document-request-dto.ts +2 -2
  111. package/models/get-doc-template-request-dto.ts +1 -1
  112. package/models/get-doc-template-response-class.ts +1 -1
  113. package/models/get-document-download-url-response-class.ts +1 -1
  114. package/models/get-layout-request-dto.ts +1 -1
  115. package/models/get-product-document-response-class.ts +31 -0
  116. package/models/get-signed-s3-key-url-response-class.ts +30 -0
  117. package/models/html-template-class.ts +7 -7
  118. package/models/index.ts +19 -0
  119. package/models/layout-class.ts +11 -11
  120. package/models/list-doc-template-request-dto.ts +54 -0
  121. package/models/list-doc-templates-response-class.ts +1 -1
  122. package/models/list-documents-response-class.ts +1 -1
  123. package/models/list-layouts-response-class.ts +1 -1
  124. package/models/list-product-documents-response-class.ts +37 -0
  125. package/models/list-search-keywords-request-dto.ts +30 -0
  126. package/models/list-search-keywords-response-class.ts +30 -0
  127. package/models/list-searchable-document-owners-response-class.ts +3 -2
  128. package/models/list-searchable-documents-request-dto.ts +2 -2
  129. package/models/list-searchable-documents-response-class.ts +5 -4
  130. package/models/product-document-class.ts +108 -0
  131. package/models/searchable-document-class.ts +72 -0
  132. package/models/searchable-document-owner-class.ts +36 -0
  133. package/models/update-doc-template-request-dto.ts +16 -10
  134. package/models/update-doc-template-response-class.ts +1 -1
  135. package/models/update-document-request-dto.ts +10 -4
  136. package/models/update-document-response-class.ts +31 -0
  137. package/models/update-html-template-dto.ts +51 -0
  138. package/models/update-layout-request-dto.ts +15 -15
  139. package/models/update-layout-response-class.ts +1 -1
  140. package/models/upload-product-document-request-dto.ts +72 -0
  141. package/package.json +2 -2
@@ -97,7 +97,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- *
100
+ * This will create a layout.
101
+ * @summary Create the layout
101
102
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
102
103
  * @param {string} [authorization] Bearer Token
103
104
  * @param {*} [options] Override http request option.
@@ -145,7 +146,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
145
146
  });
146
147
  },
147
148
  /**
148
- *
149
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
150
+ * @summary Delete the layout
149
151
  * @param {number} id
150
152
  * @param {string} [authorization] Bearer Token
151
153
  * @param {*} [options] Override http request option.
@@ -192,9 +194,10 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
192
194
  });
193
195
  },
194
196
  /**
195
- *
197
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
198
+ * @summary Retrieve the layout
196
199
  * @param {string} id
197
- * @param {number} id2 Layout id
200
+ * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
198
201
  * @param {string} [authorization] Bearer Token
199
202
  * @param {*} [options] Override http request option.
200
203
  * @throws {RequiredError}
@@ -245,7 +248,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
245
248
  });
246
249
  },
247
250
  /**
248
- *
251
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
252
+ * @summary List layouts
249
253
  * @param {string} [authorization] Bearer Token
250
254
  * @param {number} [pageSize] Page size
251
255
  * @param {string} [pageToken] Page token
@@ -312,7 +316,8 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
312
316
  });
313
317
  },
314
318
  /**
315
- *
319
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
320
+ * @summary Update the layout
316
321
  * @param {number} id
317
322
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
318
323
  * @param {string} [authorization] Bearer Token
@@ -374,7 +379,8 @@ var LayoutsApiFp = function (configuration) {
374
379
  var localVarAxiosParamCreator = (0, exports.LayoutsApiAxiosParamCreator)(configuration);
375
380
  return {
376
381
  /**
377
- *
382
+ * This will create a layout.
383
+ * @summary Create the layout
378
384
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
379
385
  * @param {string} [authorization] Bearer Token
380
386
  * @param {*} [options] Override http request option.
@@ -394,7 +400,8 @@ var LayoutsApiFp = function (configuration) {
394
400
  });
395
401
  },
396
402
  /**
397
- *
403
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
404
+ * @summary Delete the layout
398
405
  * @param {number} id
399
406
  * @param {string} [authorization] Bearer Token
400
407
  * @param {*} [options] Override http request option.
@@ -414,9 +421,10 @@ var LayoutsApiFp = function (configuration) {
414
421
  });
415
422
  },
416
423
  /**
417
- *
424
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
425
+ * @summary Retrieve the layout
418
426
  * @param {string} id
419
- * @param {number} id2 Layout id
427
+ * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
420
428
  * @param {string} [authorization] Bearer Token
421
429
  * @param {*} [options] Override http request option.
422
430
  * @throws {RequiredError}
@@ -435,7 +443,8 @@ var LayoutsApiFp = function (configuration) {
435
443
  });
436
444
  },
437
445
  /**
438
- *
446
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
447
+ * @summary List layouts
439
448
  * @param {string} [authorization] Bearer Token
440
449
  * @param {number} [pageSize] Page size
441
450
  * @param {string} [pageToken] Page token
@@ -460,7 +469,8 @@ var LayoutsApiFp = function (configuration) {
460
469
  });
461
470
  },
462
471
  /**
463
- *
472
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
473
+ * @summary Update the layout
464
474
  * @param {number} id
465
475
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
466
476
  * @param {string} [authorization] Bearer Token
@@ -491,7 +501,8 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
491
501
  var localVarFp = (0, exports.LayoutsApiFp)(configuration);
492
502
  return {
493
503
  /**
494
- *
504
+ * This will create a layout.
505
+ * @summary Create the layout
495
506
  * @param {CreateLayoutRequestDto} createLayoutRequestDto
496
507
  * @param {string} [authorization] Bearer Token
497
508
  * @param {*} [options] Override http request option.
@@ -501,7 +512,8 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
501
512
  return localVarFp.createLayout(createLayoutRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
502
513
  },
503
514
  /**
504
- *
515
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
516
+ * @summary Delete the layout
505
517
  * @param {number} id
506
518
  * @param {string} [authorization] Bearer Token
507
519
  * @param {*} [options] Override http request option.
@@ -511,9 +523,10 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
511
523
  return localVarFp.deleteLayout(id, authorization, options).then(function (request) { return request(axios, basePath); });
512
524
  },
513
525
  /**
514
- *
526
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
527
+ * @summary Retrieve the layout
515
528
  * @param {string} id
516
- * @param {number} id2 Layout id
529
+ * @param {number} id2 Internal unique identifier for the object. You should not have to use this, use code instead.
517
530
  * @param {string} [authorization] Bearer Token
518
531
  * @param {*} [options] Override http request option.
519
532
  * @throws {RequiredError}
@@ -522,7 +535,8 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
522
535
  return localVarFp.getLayout(id, id2, authorization, options).then(function (request) { return request(axios, basePath); });
523
536
  },
524
537
  /**
525
- *
538
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
539
+ * @summary List layouts
526
540
  * @param {string} [authorization] Bearer Token
527
541
  * @param {number} [pageSize] Page size
528
542
  * @param {string} [pageToken] Page token
@@ -537,7 +551,8 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
537
551
  return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
538
552
  },
539
553
  /**
540
- *
554
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
555
+ * @summary Update the layout
541
556
  * @param {number} id
542
557
  * @param {UpdateLayoutRequestDto} updateLayoutRequestDto
543
558
  * @param {string} [authorization] Bearer Token
@@ -562,7 +577,8 @@ var LayoutsApi = /** @class */ (function (_super) {
562
577
  return _super !== null && _super.apply(this, arguments) || this;
563
578
  }
564
579
  /**
565
- *
580
+ * This will create a layout.
581
+ * @summary Create the layout
566
582
  * @param {LayoutsApiCreateLayoutRequest} requestParameters Request parameters.
567
583
  * @param {*} [options] Override http request option.
568
584
  * @throws {RequiredError}
@@ -573,7 +589,8 @@ var LayoutsApi = /** @class */ (function (_super) {
573
589
  return (0, exports.LayoutsApiFp)(this.configuration).createLayout(requestParameters.createLayoutRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
574
590
  };
575
591
  /**
576
- *
592
+ * Permanently deletes the layout. Supply the unique code that was returned when you created the layout and this will delete it.
593
+ * @summary Delete the layout
577
594
  * @param {LayoutsApiDeleteLayoutRequest} requestParameters Request parameters.
578
595
  * @param {*} [options] Override http request option.
579
596
  * @throws {RequiredError}
@@ -584,7 +601,8 @@ var LayoutsApi = /** @class */ (function (_super) {
584
601
  return (0, exports.LayoutsApiFp)(this.configuration).deleteLayout(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
585
602
  };
586
603
  /**
587
- *
604
+ * Retrieves the details of the layout that was previously created. Supply the unique layout id that was returned when you created it and Emil Api will return the corresponding layout information.
605
+ * @summary Retrieve the layout
588
606
  * @param {LayoutsApiGetLayoutRequest} requestParameters Request parameters.
589
607
  * @param {*} [options] Override http request option.
590
608
  * @throws {RequiredError}
@@ -595,7 +613,8 @@ var LayoutsApi = /** @class */ (function (_super) {
595
613
  return (0, exports.LayoutsApiFp)(this.configuration).getLayout(requestParameters.id, requestParameters.id2, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
614
  };
597
615
  /**
598
- *
616
+ * Returns a list of layouts you have previously created. The layouts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
617
+ * @summary List layouts
599
618
  * @param {LayoutsApiListLayoutsRequest} requestParameters Request parameters.
600
619
  * @param {*} [options] Override http request option.
601
620
  * @throws {RequiredError}
@@ -607,7 +626,8 @@ var LayoutsApi = /** @class */ (function (_super) {
607
626
  return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
627
  };
609
628
  /**
610
- *
629
+ * Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
630
+ * @summary Update the layout
611
631
  * @param {LayoutsApiUpdateLayoutRequest} requestParameters Request parameters.
612
632
  * @param {*} [options] Override http request option.
613
633
  * @throws {RequiredError}
@@ -0,0 +1,345 @@
1
+ /**
2
+ * EMIL DocumentService
3
+ * The EMIL DocumentService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { GetProductDocumentResponseClass } from '../models';
16
+ import { ListProductDocumentsResponseClass } from '../models';
17
+ import { ProductDocumentClass } from '../models';
18
+ import { UploadProductDocumentRequestDto } from '../models';
19
+ /**
20
+ * ProductDocumentsApi - axios parameter creator
21
+ * @export
22
+ */
23
+ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
26
+ * @summary Delete the product document
27
+ * @param {string} code
28
+ * @param {string} productSlug
29
+ * @param {string} [authorization] Bearer Token
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ deleteProductDocument: (code: string, productSlug: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
+ /**
35
+ * Get a product document.
36
+ * @summary Retrieve the product document
37
+ * @param {string} productSlug
38
+ * @param {string} code
39
+ * @param {string} [authorization] Bearer Token
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ getProductDocument: (productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
46
+ * @summary List product documents
47
+ * @param {string} productSlug
48
+ * @param {string} [authorization] Bearer Token
49
+ * @param {number} [pageSize] Page size
50
+ * @param {string} [pageToken] Page token
51
+ * @param {string} [filter] List filter
52
+ * @param {string} [search] Search query
53
+ * @param {string} [order] Ordering criteria
54
+ * @param {string} [expand] Extra fields to fetch
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ listProductDocuments: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59
+ /**
60
+ * Upload a product document.
61
+ * @summary Create the product document
62
+ * @param {string} productSlug
63
+ * @param {UploadProductDocumentRequestDto} uploadProductDocumentRequestDto
64
+ * @param {string} [authorization] Bearer Token
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ uploadProductDocument: (productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ };
70
+ /**
71
+ * ProductDocumentsApi - functional programming interface
72
+ * @export
73
+ */
74
+ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
75
+ /**
76
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
77
+ * @summary Delete the product document
78
+ * @param {string} code
79
+ * @param {string} productSlug
80
+ * @param {string} [authorization] Bearer Token
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
85
+ /**
86
+ * Get a product document.
87
+ * @summary Retrieve the product document
88
+ * @param {string} productSlug
89
+ * @param {string} code
90
+ * @param {string} [authorization] Bearer Token
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ getProductDocument(productSlug: string, code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductDocumentResponseClass>>;
95
+ /**
96
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
97
+ * @summary List product documents
98
+ * @param {string} productSlug
99
+ * @param {string} [authorization] Bearer Token
100
+ * @param {number} [pageSize] Page size
101
+ * @param {string} [pageToken] Page token
102
+ * @param {string} [filter] List filter
103
+ * @param {string} [search] Search query
104
+ * @param {string} [order] Ordering criteria
105
+ * @param {string} [expand] Extra fields to fetch
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>>;
110
+ /**
111
+ * Upload a product document.
112
+ * @summary Create the product document
113
+ * @param {string} productSlug
114
+ * @param {UploadProductDocumentRequestDto} uploadProductDocumentRequestDto
115
+ * @param {string} [authorization] Bearer Token
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductDocumentClass>>;
120
+ };
121
+ /**
122
+ * ProductDocumentsApi - factory interface
123
+ * @export
124
+ */
125
+ export declare const ProductDocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
126
+ /**
127
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
128
+ * @summary Delete the product document
129
+ * @param {string} code
130
+ * @param {string} productSlug
131
+ * @param {string} [authorization] Bearer Token
132
+ * @param {*} [options] Override http request option.
133
+ * @throws {RequiredError}
134
+ */
135
+ deleteProductDocument(code: string, productSlug: string, authorization?: string, options?: any): AxiosPromise<object>;
136
+ /**
137
+ * Get a product document.
138
+ * @summary Retrieve the product document
139
+ * @param {string} productSlug
140
+ * @param {string} code
141
+ * @param {string} [authorization] Bearer Token
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ getProductDocument(productSlug: string, code: string, authorization?: string, options?: any): AxiosPromise<GetProductDocumentResponseClass>;
146
+ /**
147
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
148
+ * @summary List product documents
149
+ * @param {string} productSlug
150
+ * @param {string} [authorization] Bearer Token
151
+ * @param {number} [pageSize] Page size
152
+ * @param {string} [pageToken] Page token
153
+ * @param {string} [filter] List filter
154
+ * @param {string} [search] Search query
155
+ * @param {string} [order] Ordering criteria
156
+ * @param {string} [expand] Extra fields to fetch
157
+ * @param {*} [options] Override http request option.
158
+ * @throws {RequiredError}
159
+ */
160
+ listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
161
+ /**
162
+ * Upload a product document.
163
+ * @summary Create the product document
164
+ * @param {string} productSlug
165
+ * @param {UploadProductDocumentRequestDto} uploadProductDocumentRequestDto
166
+ * @param {string} [authorization] Bearer Token
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ uploadProductDocument(productSlug: string, uploadProductDocumentRequestDto: UploadProductDocumentRequestDto, authorization?: string, options?: any): AxiosPromise<ProductDocumentClass>;
171
+ };
172
+ /**
173
+ * Request parameters for deleteProductDocument operation in ProductDocumentsApi.
174
+ * @export
175
+ * @interface ProductDocumentsApiDeleteProductDocumentRequest
176
+ */
177
+ export interface ProductDocumentsApiDeleteProductDocumentRequest {
178
+ /**
179
+ *
180
+ * @type {string}
181
+ * @memberof ProductDocumentsApiDeleteProductDocument
182
+ */
183
+ readonly code: string;
184
+ /**
185
+ *
186
+ * @type {string}
187
+ * @memberof ProductDocumentsApiDeleteProductDocument
188
+ */
189
+ readonly productSlug: string;
190
+ /**
191
+ * Bearer Token
192
+ * @type {string}
193
+ * @memberof ProductDocumentsApiDeleteProductDocument
194
+ */
195
+ readonly authorization?: string;
196
+ }
197
+ /**
198
+ * Request parameters for getProductDocument operation in ProductDocumentsApi.
199
+ * @export
200
+ * @interface ProductDocumentsApiGetProductDocumentRequest
201
+ */
202
+ export interface ProductDocumentsApiGetProductDocumentRequest {
203
+ /**
204
+ *
205
+ * @type {string}
206
+ * @memberof ProductDocumentsApiGetProductDocument
207
+ */
208
+ readonly productSlug: string;
209
+ /**
210
+ *
211
+ * @type {string}
212
+ * @memberof ProductDocumentsApiGetProductDocument
213
+ */
214
+ readonly code: string;
215
+ /**
216
+ * Bearer Token
217
+ * @type {string}
218
+ * @memberof ProductDocumentsApiGetProductDocument
219
+ */
220
+ readonly authorization?: string;
221
+ }
222
+ /**
223
+ * Request parameters for listProductDocuments operation in ProductDocumentsApi.
224
+ * @export
225
+ * @interface ProductDocumentsApiListProductDocumentsRequest
226
+ */
227
+ export interface ProductDocumentsApiListProductDocumentsRequest {
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof ProductDocumentsApiListProductDocuments
232
+ */
233
+ readonly productSlug: string;
234
+ /**
235
+ * Bearer Token
236
+ * @type {string}
237
+ * @memberof ProductDocumentsApiListProductDocuments
238
+ */
239
+ readonly authorization?: string;
240
+ /**
241
+ * Page size
242
+ * @type {number}
243
+ * @memberof ProductDocumentsApiListProductDocuments
244
+ */
245
+ readonly pageSize?: number;
246
+ /**
247
+ * Page token
248
+ * @type {string}
249
+ * @memberof ProductDocumentsApiListProductDocuments
250
+ */
251
+ readonly pageToken?: string;
252
+ /**
253
+ * List filter
254
+ * @type {string}
255
+ * @memberof ProductDocumentsApiListProductDocuments
256
+ */
257
+ readonly filter?: string;
258
+ /**
259
+ * Search query
260
+ * @type {string}
261
+ * @memberof ProductDocumentsApiListProductDocuments
262
+ */
263
+ readonly search?: string;
264
+ /**
265
+ * Ordering criteria
266
+ * @type {string}
267
+ * @memberof ProductDocumentsApiListProductDocuments
268
+ */
269
+ readonly order?: string;
270
+ /**
271
+ * Extra fields to fetch
272
+ * @type {string}
273
+ * @memberof ProductDocumentsApiListProductDocuments
274
+ */
275
+ readonly expand?: string;
276
+ }
277
+ /**
278
+ * Request parameters for uploadProductDocument operation in ProductDocumentsApi.
279
+ * @export
280
+ * @interface ProductDocumentsApiUploadProductDocumentRequest
281
+ */
282
+ export interface ProductDocumentsApiUploadProductDocumentRequest {
283
+ /**
284
+ *
285
+ * @type {string}
286
+ * @memberof ProductDocumentsApiUploadProductDocument
287
+ */
288
+ readonly productSlug: string;
289
+ /**
290
+ *
291
+ * @type {UploadProductDocumentRequestDto}
292
+ * @memberof ProductDocumentsApiUploadProductDocument
293
+ */
294
+ readonly uploadProductDocumentRequestDto: UploadProductDocumentRequestDto;
295
+ /**
296
+ * Bearer Token
297
+ * @type {string}
298
+ * @memberof ProductDocumentsApiUploadProductDocument
299
+ */
300
+ readonly authorization?: string;
301
+ }
302
+ /**
303
+ * ProductDocumentsApi - object-oriented interface
304
+ * @export
305
+ * @class ProductDocumentsApi
306
+ * @extends {BaseAPI}
307
+ */
308
+ export declare class ProductDocumentsApi extends BaseAPI {
309
+ /**
310
+ * Permanently deletes the product document. Supply the unique code that was returned when you created the product document and this will delete it.
311
+ * @summary Delete the product document
312
+ * @param {ProductDocumentsApiDeleteProductDocumentRequest} requestParameters Request parameters.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof ProductDocumentsApi
316
+ */
317
+ deleteProductDocument(requestParameters: ProductDocumentsApiDeleteProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
318
+ /**
319
+ * Get a product document.
320
+ * @summary Retrieve the product document
321
+ * @param {ProductDocumentsApiGetProductDocumentRequest} requestParameters Request parameters.
322
+ * @param {*} [options] Override http request option.
323
+ * @throws {RequiredError}
324
+ * @memberof ProductDocumentsApi
325
+ */
326
+ getProductDocument(requestParameters: ProductDocumentsApiGetProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentResponseClass, any>>;
327
+ /**
328
+ * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
329
+ * @summary List product documents
330
+ * @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ * @memberof ProductDocumentsApi
334
+ */
335
+ listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
336
+ /**
337
+ * Upload a product document.
338
+ * @summary Create the product document
339
+ * @param {ProductDocumentsApiUploadProductDocumentRequest} requestParameters Request parameters.
340
+ * @param {*} [options] Override http request option.
341
+ * @throws {RequiredError}
342
+ * @memberof ProductDocumentsApi
343
+ */
344
+ uploadProductDocument(requestParameters: ProductDocumentsApiUploadProductDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductDocumentClass, any>>;
345
+ }