@emilgroup/document-sdk-node 1.22.0 → 1.22.1-beta.1

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 (165) hide show
  1. package/.openapi-generator/FILES +0 -38
  2. package/README.md +2 -2
  3. package/api/default-api.ts +8 -4
  4. package/api/document-templates-api.ts +79 -75
  5. package/api/documents-api.ts +18 -30
  6. package/api/docx-templates-api.ts +16 -28
  7. package/api/layouts-api.ts +18 -28
  8. package/api/product-documents-api.ts +19 -226
  9. package/api/search-keywords-api.ts +2 -4
  10. package/api/searchable-document-owners-api.ts +2 -4
  11. package/api/searchable-documents-api.ts +20 -20
  12. package/dist/api/default-api.d.ts +8 -4
  13. package/dist/api/default-api.js +8 -4
  14. package/dist/api/document-templates-api.d.ts +62 -67
  15. package/dist/api/document-templates-api.js +55 -42
  16. package/dist/api/documents-api.d.ts +25 -31
  17. package/dist/api/documents-api.js +4 -4
  18. package/dist/api/docx-templates-api.d.ts +22 -28
  19. package/dist/api/docx-templates-api.js +4 -4
  20. package/dist/api/layouts-api.d.ts +23 -28
  21. package/dist/api/layouts-api.js +8 -8
  22. package/dist/api/product-documents-api.d.ts +19 -141
  23. package/dist/api/product-documents-api.js +9 -143
  24. package/dist/api/search-keywords-api.d.ts +3 -4
  25. package/dist/api/searchable-document-owners-api.d.ts +3 -4
  26. package/dist/api/searchable-documents-api.d.ts +16 -17
  27. package/dist/api/searchable-documents-api.js +15 -13
  28. package/dist/models/create-doc-template-request-dto.d.ts +2 -2
  29. package/dist/models/create-document-request-dto.d.ts +10 -10
  30. package/dist/models/create-presigned-post-request-dto.d.ts +4 -4
  31. package/dist/models/index.d.ts +0 -38
  32. package/dist/models/index.js +0 -38
  33. package/dist/models/list-searchable-document-owners-request-dto.d.ts +1 -8
  34. package/dist/models/list-searchable-document-owners-request-dto.js +0 -7
  35. package/dist/models/list-searchable-documents-request-dto.d.ts +1 -8
  36. package/dist/models/list-searchable-documents-request-dto.js +0 -7
  37. package/dist/models/update-doc-template-request-dto.d.ts +2 -2
  38. package/dist/models/update-document-request-dto.d.ts +5 -5
  39. package/dist/models/upload-docx-template-request-dto.d.ts +1 -1
  40. package/dist/models/upload-product-document-request-dto.d.ts +2 -2
  41. package/models/create-doc-template-request-dto.ts +2 -2
  42. package/models/create-document-request-dto.ts +10 -10
  43. package/models/create-presigned-post-request-dto.ts +4 -4
  44. package/models/index.ts +0 -38
  45. package/models/list-searchable-document-owners-request-dto.ts +1 -11
  46. package/models/list-searchable-documents-request-dto.ts +1 -11
  47. package/models/update-doc-template-request-dto.ts +2 -2
  48. package/models/update-document-request-dto.ts +5 -5
  49. package/models/upload-docx-template-request-dto.ts +1 -1
  50. package/models/upload-product-document-request-dto.ts +2 -2
  51. package/package.json +1 -1
  52. package/dist/models/create-doc-template-response-class.d.ts +0 -25
  53. package/dist/models/create-doc-template-response-class.js +0 -15
  54. package/dist/models/create-document-sync-response-class.d.ts +0 -25
  55. package/dist/models/create-document-sync-response-class.js +0 -15
  56. package/dist/models/create-layout-response-class.d.ts +0 -25
  57. package/dist/models/create-layout-response-class.js +0 -15
  58. package/dist/models/create-presigned-post-response-class.d.ts +0 -30
  59. package/dist/models/create-presigned-post-response-class.js +0 -15
  60. package/dist/models/delete-response-class.d.ts +0 -24
  61. package/dist/models/delete-response-class.js +0 -15
  62. package/dist/models/doc-template-class.d.ts +0 -92
  63. package/dist/models/doc-template-class.js +0 -15
  64. package/dist/models/document-class.d.ts +0 -165
  65. package/dist/models/document-class.js +0 -53
  66. package/dist/models/docx-template-class.d.ts +0 -90
  67. package/dist/models/docx-template-class.js +0 -15
  68. package/dist/models/download-document-request-dto.d.ts +0 -30
  69. package/dist/models/download-document-request-dto.js +0 -15
  70. package/dist/models/get-doc-template-request-dto.d.ts +0 -30
  71. package/dist/models/get-doc-template-request-dto.js +0 -15
  72. package/dist/models/get-doc-template-response-class.d.ts +0 -25
  73. package/dist/models/get-doc-template-response-class.js +0 -15
  74. package/dist/models/get-document-download-url-response-class.d.ts +0 -24
  75. package/dist/models/get-document-download-url-response-class.js +0 -15
  76. package/dist/models/get-docx-template-download-url-response-class.d.ts +0 -24
  77. package/dist/models/get-docx-template-download-url-response-class.js +0 -15
  78. package/dist/models/get-docx-template-response-class.d.ts +0 -25
  79. package/dist/models/get-docx-template-response-class.js +0 -15
  80. package/dist/models/get-layout-response-class.d.ts +0 -25
  81. package/dist/models/get-layout-response-class.js +0 -15
  82. package/dist/models/get-product-document-download-url-response-class.d.ts +0 -24
  83. package/dist/models/get-product-document-download-url-response-class.js +0 -15
  84. package/dist/models/get-product-document-response-class.d.ts +0 -25
  85. package/dist/models/get-product-document-response-class.js +0 -15
  86. package/dist/models/get-signed-s3-key-url-response-class.d.ts +0 -24
  87. package/dist/models/get-signed-s3-key-url-response-class.js +0 -15
  88. package/dist/models/grpc-create-doc-template-request-dto.d.ts +0 -55
  89. package/dist/models/grpc-create-doc-template-request-dto.js +0 -15
  90. package/dist/models/grpc-update-doc-template-request-dto.d.ts +0 -61
  91. package/dist/models/grpc-update-doc-template-request-dto.js +0 -15
  92. package/dist/models/html-template-class.d.ts +0 -66
  93. package/dist/models/html-template-class.js +0 -21
  94. package/dist/models/layout-class.d.ts +0 -79
  95. package/dist/models/layout-class.js +0 -15
  96. package/dist/models/list-doc-template-request-dto.d.ts +0 -54
  97. package/dist/models/list-doc-template-request-dto.js +0 -15
  98. package/dist/models/list-doc-templates-response-class.d.ts +0 -31
  99. package/dist/models/list-doc-templates-response-class.js +0 -15
  100. package/dist/models/list-documents-response-class.d.ts +0 -31
  101. package/dist/models/list-documents-response-class.js +0 -15
  102. package/dist/models/list-docx-templates-response-class.d.ts +0 -31
  103. package/dist/models/list-docx-templates-response-class.js +0 -15
  104. package/dist/models/list-layouts-response-class.d.ts +0 -31
  105. package/dist/models/list-layouts-response-class.js +0 -15
  106. package/dist/models/list-product-documents-response-class.d.ts +0 -31
  107. package/dist/models/list-product-documents-response-class.js +0 -15
  108. package/dist/models/list-search-keywords-response-class.d.ts +0 -24
  109. package/dist/models/list-search-keywords-response-class.js +0 -15
  110. package/dist/models/list-searchable-document-owners-response-class.d.ts +0 -25
  111. package/dist/models/list-searchable-document-owners-response-class.js +0 -15
  112. package/dist/models/list-searchable-documents-response-class.d.ts +0 -31
  113. package/dist/models/list-searchable-documents-response-class.js +0 -15
  114. package/dist/models/product-document-class.d.ts +0 -117
  115. package/dist/models/product-document-class.js +0 -24
  116. package/dist/models/searchable-document-class.d.ts +0 -66
  117. package/dist/models/searchable-document-class.js +0 -15
  118. package/dist/models/searchable-document-owner-class.d.ts +0 -30
  119. package/dist/models/searchable-document-owner-class.js +0 -15
  120. package/dist/models/update-doc-template-response-class.d.ts +0 -25
  121. package/dist/models/update-doc-template-response-class.js +0 -15
  122. package/dist/models/update-document-response-class.d.ts +0 -25
  123. package/dist/models/update-document-response-class.js +0 -15
  124. package/dist/models/update-docx-template-response-class.d.ts +0 -25
  125. package/dist/models/update-docx-template-response-class.js +0 -15
  126. package/dist/models/update-layout-response-class.d.ts +0 -25
  127. package/dist/models/update-layout-response-class.js +0 -15
  128. package/models/create-doc-template-response-class.ts +0 -31
  129. package/models/create-document-sync-response-class.ts +0 -31
  130. package/models/create-layout-response-class.ts +0 -31
  131. package/models/create-presigned-post-response-class.ts +0 -36
  132. package/models/delete-response-class.ts +0 -30
  133. package/models/doc-template-class.ts +0 -98
  134. package/models/document-class.ts +0 -175
  135. package/models/docx-template-class.ts +0 -96
  136. package/models/download-document-request-dto.ts +0 -36
  137. package/models/get-doc-template-request-dto.ts +0 -36
  138. package/models/get-doc-template-response-class.ts +0 -31
  139. package/models/get-document-download-url-response-class.ts +0 -30
  140. package/models/get-docx-template-download-url-response-class.ts +0 -30
  141. package/models/get-docx-template-response-class.ts +0 -31
  142. package/models/get-layout-response-class.ts +0 -31
  143. package/models/get-product-document-download-url-response-class.ts +0 -30
  144. package/models/get-product-document-response-class.ts +0 -31
  145. package/models/get-signed-s3-key-url-response-class.ts +0 -30
  146. package/models/grpc-create-doc-template-request-dto.ts +0 -61
  147. package/models/grpc-update-doc-template-request-dto.ts +0 -67
  148. package/models/html-template-class.ts +0 -75
  149. package/models/layout-class.ts +0 -85
  150. package/models/list-doc-template-request-dto.ts +0 -60
  151. package/models/list-doc-templates-response-class.ts +0 -37
  152. package/models/list-documents-response-class.ts +0 -37
  153. package/models/list-docx-templates-response-class.ts +0 -37
  154. package/models/list-layouts-response-class.ts +0 -37
  155. package/models/list-product-documents-response-class.ts +0 -37
  156. package/models/list-search-keywords-response-class.ts +0 -30
  157. package/models/list-searchable-document-owners-response-class.ts +0 -31
  158. package/models/list-searchable-documents-response-class.ts +0 -37
  159. package/models/product-document-class.ts +0 -126
  160. package/models/searchable-document-class.ts +0 -72
  161. package/models/searchable-document-owner-class.ts +0 -36
  162. package/models/update-doc-template-response-class.ts +0 -31
  163. package/models/update-document-response-class.ts +0 -31
  164. package/models/update-docx-template-response-class.ts +0 -31
  165. package/models/update-layout-response-class.ts +0 -31
@@ -116,7 +116,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
116
116
  (0, common_1.assertParamExists)('deleteProductDocument', 'code', code);
117
117
  // verify required parameter 'productSlug' is not null or undefined
118
118
  (0, common_1.assertParamExists)('deleteProductDocument', 'productSlug', productSlug);
119
- localVarPath = "/documentservice/v1/documents/product/{productSlug}/{code}"
119
+ localVarPath = "/documentservice/v1/product-documents/{productSlug}/{code}"
120
120
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
121
121
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
122
122
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -168,7 +168,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
168
168
  (0, common_1.assertParamExists)('downloadProductDocument', 'productSlug', productSlug);
169
169
  // verify required parameter 'code' is not null or undefined
170
170
  (0, common_1.assertParamExists)('downloadProductDocument', 'code', code);
171
- localVarPath = "/documentservice/v1/documents/product/{productSlug}/{code}/download-url"
171
+ localVarPath = "/documentservice/v1/product-documents/{productSlug}/{code}/download-url"
172
172
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)))
173
173
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
174
174
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -220,7 +220,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
220
220
  (0, common_1.assertParamExists)('getProductDocument', 'productSlug', productSlug);
221
221
  // verify required parameter 'code' is not null or undefined
222
222
  (0, common_1.assertParamExists)('getProductDocument', 'code', code);
223
- localVarPath = "/documentservice/v1/documents/product/{productSlug}/{code}"
223
+ localVarPath = "/documentservice/v1/product-documents/{productSlug}/{code}"
224
224
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)))
225
225
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
226
226
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -253,7 +253,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
253
253
  });
254
254
  },
255
255
  /**
256
- * 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.
256
+ * 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.
257
257
  * @summary List product documents
258
258
  * @param {string} productSlug
259
259
  * @param {string} [authorization] Bearer Token
@@ -276,83 +276,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
276
276
  case 0:
277
277
  // verify required parameter 'productSlug' is not null or undefined
278
278
  (0, common_1.assertParamExists)('listProductDocuments', 'productSlug', productSlug);
279
- localVarPath = "/documentservice/v1/documents/product/{productSlug}"
280
- .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
281
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
282
- if (configuration) {
283
- baseOptions = configuration.baseOptions;
284
- baseAccessToken = configuration.accessToken;
285
- }
286
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
287
- localVarHeaderParameter = {};
288
- localVarQueryParameter = {};
289
- // authentication bearer required
290
- // http bearer authentication required
291
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
292
- case 1:
293
- // authentication bearer required
294
- // http bearer authentication required
295
- _a.sent();
296
- if (pageSize !== undefined) {
297
- localVarQueryParameter['pageSize'] = pageSize;
298
- }
299
- if (pageToken !== undefined) {
300
- localVarQueryParameter['pageToken'] = pageToken;
301
- }
302
- if (filter !== undefined) {
303
- localVarQueryParameter['filter'] = filter;
304
- }
305
- if (search !== undefined) {
306
- localVarQueryParameter['search'] = search;
307
- }
308
- if (order !== undefined) {
309
- localVarQueryParameter['order'] = order;
310
- }
311
- if (expand !== undefined) {
312
- localVarQueryParameter['expand'] = expand;
313
- }
314
- if (filters !== undefined) {
315
- localVarQueryParameter['filters'] = filters;
316
- }
317
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
318
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
319
- }
320
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
321
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
322
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
323
- return [2 /*return*/, {
324
- url: (0, common_1.toPathString)(localVarUrlObj),
325
- options: localVarRequestOptions,
326
- }];
327
- }
328
- });
329
- });
330
- },
331
- /**
332
- * 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.
333
- * @summary List product documents
334
- * @param {string} productSlug
335
- * @param {string} [authorization] Bearer Token
336
- * @param {number} [pageSize] Page size
337
- * @param {string} [pageToken] Page token
338
- * @param {string} [filter] List filter
339
- * @param {string} [search] Search query
340
- * @param {string} [order] Ordering criteria
341
- * @param {string} [expand] Extra fields to fetch
342
- * @param {string} [filters] List filters
343
- * @param {*} [options] Override http request option.
344
- * @throws {RequiredError}
345
- */
346
- listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
347
- if (options === void 0) { options = {}; }
348
- return __awaiter(_this, void 0, void 0, function () {
349
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
350
- return __generator(this, function (_a) {
351
- switch (_a.label) {
352
- case 0:
353
- // verify required parameter 'productSlug' is not null or undefined
354
- (0, common_1.assertParamExists)('listProductDocuments_1', 'productSlug', productSlug);
355
- localVarPath = "/documentservice/v1/documents/product"
279
+ localVarPath = "/documentservice/v1/product-documents/{productSlug}"
356
280
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
357
281
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
358
282
  if (configuration) {
@@ -424,7 +348,7 @@ var ProductDocumentsApiAxiosParamCreator = function (configuration) {
424
348
  (0, common_1.assertParamExists)('uploadProductDocument', 'productSlug', productSlug);
425
349
  // verify required parameter 'uploadProductDocumentRequestDto' is not null or undefined
426
350
  (0, common_1.assertParamExists)('uploadProductDocument', 'uploadProductDocumentRequestDto', uploadProductDocumentRequestDto);
427
- localVarPath = "/documentservice/v1/documents/product/{productSlug}"
351
+ localVarPath = "/documentservice/v1/product-documents/{productSlug}"
428
352
  .replace("{".concat("productSlug", "}"), encodeURIComponent(String(productSlug)));
429
353
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
430
354
  if (configuration) {
@@ -534,7 +458,7 @@ var ProductDocumentsApiFp = function (configuration) {
534
458
  });
535
459
  },
536
460
  /**
537
- * 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.
461
+ * 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.
538
462
  * @summary List product documents
539
463
  * @param {string} productSlug
540
464
  * @param {string} [authorization] Bearer Token
@@ -561,34 +485,6 @@ var ProductDocumentsApiFp = function (configuration) {
561
485
  });
562
486
  });
563
487
  },
564
- /**
565
- * 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.
566
- * @summary List product documents
567
- * @param {string} productSlug
568
- * @param {string} [authorization] Bearer Token
569
- * @param {number} [pageSize] Page size
570
- * @param {string} [pageToken] Page token
571
- * @param {string} [filter] List filter
572
- * @param {string} [search] Search query
573
- * @param {string} [order] Ordering criteria
574
- * @param {string} [expand] Extra fields to fetch
575
- * @param {string} [filters] List filters
576
- * @param {*} [options] Override http request option.
577
- * @throws {RequiredError}
578
- */
579
- listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
580
- return __awaiter(this, void 0, void 0, function () {
581
- var localVarAxiosArgs;
582
- return __generator(this, function (_a) {
583
- switch (_a.label) {
584
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
585
- case 1:
586
- localVarAxiosArgs = _a.sent();
587
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
588
- }
589
- });
590
- });
591
- },
592
488
  /**
593
489
  * Upload a product document.
594
490
  * @summary Create the product document
@@ -658,7 +554,7 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
658
554
  return localVarFp.getProductDocument(productSlug, code, authorization, options).then(function (request) { return request(axios, basePath); });
659
555
  },
660
556
  /**
661
- * 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.
557
+ * 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.
662
558
  * @summary List product documents
663
559
  * @param {string} productSlug
664
560
  * @param {string} [authorization] Bearer Token
@@ -675,24 +571,6 @@ var ProductDocumentsApiFactory = function (configuration, basePath, axios) {
675
571
  listProductDocuments: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
676
572
  return localVarFp.listProductDocuments(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
677
573
  },
678
- /**
679
- * 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.
680
- * @summary List product documents
681
- * @param {string} productSlug
682
- * @param {string} [authorization] Bearer Token
683
- * @param {number} [pageSize] Page size
684
- * @param {string} [pageToken] Page token
685
- * @param {string} [filter] List filter
686
- * @param {string} [search] Search query
687
- * @param {string} [order] Ordering criteria
688
- * @param {string} [expand] Extra fields to fetch
689
- * @param {string} [filters] List filters
690
- * @param {*} [options] Override http request option.
691
- * @throws {RequiredError}
692
- */
693
- listProductDocuments_1: function (productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
694
- return localVarFp.listProductDocuments_1(productSlug, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
695
- },
696
574
  /**
697
575
  * Upload a product document.
698
576
  * @summary Create the product document
@@ -756,7 +634,7 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
756
634
  return (0, exports.ProductDocumentsApiFp)(this.configuration).getProductDocument(requestParameters.productSlug, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
757
635
  };
758
636
  /**
759
- * 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.
637
+ * 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.
760
638
  * @summary List product documents
761
639
  * @param {ProductDocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
762
640
  * @param {*} [options] Override http request option.
@@ -767,18 +645,6 @@ var ProductDocumentsApi = /** @class */ (function (_super) {
767
645
  var _this = this;
768
646
  return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
769
647
  };
770
- /**
771
- * 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.
772
- * @summary List product documents
773
- * @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
774
- * @param {*} [options] Override http request option.
775
- * @throws {RequiredError}
776
- * @memberof ProductDocumentsApi
777
- */
778
- ProductDocumentsApi.prototype.listProductDocuments_1 = function (requestParameters, options) {
779
- var _this = this;
780
- return (0, exports.ProductDocumentsApiFp)(this.configuration).listProductDocuments_1(requestParameters.productSlug, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
781
- };
782
648
  /**
783
649
  * Upload a product document.
784
650
  * @summary Create the product document
@@ -12,7 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { ListSearchKeywordsResponseClass } from '../models';
16
15
  /**
17
16
  * SearchKeywordsApi - axios parameter creator
18
17
  * @export
@@ -41,7 +40,7 @@ export declare const SearchKeywordsApiFp: (configuration?: Configuration) => {
41
40
  * @param {*} [options] Override http request option.
42
41
  * @throws {RequiredError}
43
42
  */
44
- listSearchKeywords(searchText: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchKeywordsResponseClass>>;
43
+ listSearchKeywords(searchText: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
45
44
  };
46
45
  /**
47
46
  * SearchKeywordsApi - factory interface
@@ -56,7 +55,7 @@ export declare const SearchKeywordsApiFactory: (configuration?: Configuration, b
56
55
  * @param {*} [options] Override http request option.
57
56
  * @throws {RequiredError}
58
57
  */
59
- listSearchKeywords(searchText: string, authorization?: string, options?: any): AxiosPromise<ListSearchKeywordsResponseClass>;
58
+ listSearchKeywords(searchText: string, authorization?: string, options?: any): AxiosPromise<void>;
60
59
  };
61
60
  /**
62
61
  * Request parameters for listSearchKeywords operation in SearchKeywordsApi.
@@ -92,5 +91,5 @@ export declare class SearchKeywordsApi extends BaseAPI {
92
91
  * @throws {RequiredError}
93
92
  * @memberof SearchKeywordsApi
94
93
  */
95
- listSearchKeywords(requestParameters: SearchKeywordsApiListSearchKeywordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchKeywordsResponseClass, any>>;
94
+ listSearchKeywords(requestParameters: SearchKeywordsApiListSearchKeywordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
96
95
  }
@@ -12,7 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { ListSearchableDocumentOwnersResponseClass } from '../models';
16
15
  /**
17
16
  * SearchableDocumentOwnersApi - axios parameter creator
18
17
  * @export
@@ -53,7 +52,7 @@ export declare const SearchableDocumentOwnersApiFp: (configuration?: Configurati
53
52
  * @param {*} [options] Override http request option.
54
53
  * @throws {RequiredError}
55
54
  */
56
- listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentOwnersResponseClass>>;
55
+ listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
57
56
  };
58
57
  /**
59
58
  * SearchableDocumentOwnersApi - factory interface
@@ -74,7 +73,7 @@ export declare const SearchableDocumentOwnersApiFactory: (configuration?: Config
74
73
  * @param {*} [options] Override http request option.
75
74
  * @throws {RequiredError}
76
75
  */
77
- listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSearchableDocumentOwnersResponseClass>;
76
+ listSearchableDocumentOwners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
78
77
  };
79
78
  /**
80
79
  * Request parameters for listSearchableDocumentOwners operation in SearchableDocumentOwnersApi.
@@ -146,5 +145,5 @@ export declare class SearchableDocumentOwnersApi extends BaseAPI {
146
145
  * @throws {RequiredError}
147
146
  * @memberof SearchableDocumentOwnersApi
148
147
  */
149
- listSearchableDocumentOwners(requestParameters?: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentOwnersResponseClass, any>>;
148
+ listSearchableDocumentOwners(requestParameters?: SearchableDocumentOwnersApiListSearchableDocumentOwnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
150
149
  }
@@ -12,23 +12,22 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { ListSearchableDocumentsResponseClass } from '../models';
16
15
  /**
17
16
  * SearchableDocumentsApi - axios parameter creator
18
17
  * @export
19
18
  */
20
19
  export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: Configuration) => {
21
20
  /**
22
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
21
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
23
22
  * @summary List searchable documents
24
23
  * @param {string} searchText Text to search in the documents.
25
24
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
25
+ * @param {string} product PBM product the documents belongs to.
26
26
  * @param {string} [authorization] Bearer Token
27
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
28
27
  * @param {*} [options] Override http request option.
29
28
  * @throws {RequiredError}
30
29
  */
31
- listSearchableDocuments: (searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig) => Promise<RequestArgs>;
30
+ listSearchableDocuments: (searchText: string, ownerIds: string, product: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
31
  };
33
32
  /**
34
33
  * SearchableDocumentsApi - functional programming interface
@@ -36,16 +35,16 @@ export declare const SearchableDocumentsApiAxiosParamCreator: (configuration?: C
36
35
  */
37
36
  export declare const SearchableDocumentsApiFp: (configuration?: Configuration) => {
38
37
  /**
39
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
38
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
40
39
  * @summary List searchable documents
41
40
  * @param {string} searchText Text to search in the documents.
42
41
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
42
+ * @param {string} product PBM product the documents belongs to.
43
43
  * @param {string} [authorization] Bearer Token
44
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
45
44
  * @param {*} [options] Override http request option.
46
45
  * @throws {RequiredError}
47
46
  */
48
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSearchableDocumentsResponseClass>>;
47
+ listSearchableDocuments(searchText: string, ownerIds: string, product: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
49
48
  };
50
49
  /**
51
50
  * SearchableDocumentsApi - factory interface
@@ -53,16 +52,16 @@ export declare const SearchableDocumentsApiFp: (configuration?: Configuration) =
53
52
  */
54
53
  export declare const SearchableDocumentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
55
54
  /**
56
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
57
56
  * @summary List searchable documents
58
57
  * @param {string} searchText Text to search in the documents.
59
58
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
59
+ * @param {string} product PBM product the documents belongs to.
60
60
  * @param {string} [authorization] Bearer Token
61
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
62
61
  * @param {*} [options] Override http request option.
63
62
  * @throws {RequiredError}
64
63
  */
65
- listSearchableDocuments(searchText: string, ownerIds: string, authorization?: string, product?: 'car' | 'homeowner' | 'household' | 'privateLiability', options?: any): AxiosPromise<ListSearchableDocumentsResponseClass>;
64
+ listSearchableDocuments(searchText: string, ownerIds: string, product: string, authorization?: string, options?: any): AxiosPromise<void>;
66
65
  };
67
66
  /**
68
67
  * Request parameters for listSearchableDocuments operation in SearchableDocumentsApi.
@@ -83,17 +82,17 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
83
82
  */
84
83
  readonly ownerIds: string;
85
84
  /**
86
- * Bearer Token
85
+ * PBM product the documents belongs to.
87
86
  * @type {string}
88
87
  * @memberof SearchableDocumentsApiListSearchableDocuments
89
88
  */
90
- readonly authorization?: string;
89
+ readonly product: string;
91
90
  /**
92
- * PBM product the documents belongs to.
93
- * @type {'car' | 'homeowner' | 'household' | 'privateLiability'}
91
+ * Bearer Token
92
+ * @type {string}
94
93
  * @memberof SearchableDocumentsApiListSearchableDocuments
95
94
  */
96
- readonly product?: 'car' | 'homeowner' | 'household' | 'privateLiability';
95
+ readonly authorization?: string;
97
96
  }
98
97
  /**
99
98
  * SearchableDocumentsApi - object-oriented interface
@@ -103,12 +102,12 @@ export interface SearchableDocumentsApiListSearchableDocumentsRequest {
103
102
  */
104
103
  export declare class SearchableDocumentsApi extends BaseAPI {
105
104
  /**
106
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
105
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
107
106
  * @summary List searchable documents
108
107
  * @param {SearchableDocumentsApiListSearchableDocumentsRequest} requestParameters Request parameters.
109
108
  * @param {*} [options] Override http request option.
110
109
  * @throws {RequiredError}
111
110
  * @memberof SearchableDocumentsApi
112
111
  */
113
- listSearchableDocuments(requestParameters: SearchableDocumentsApiListSearchableDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSearchableDocumentsResponseClass, any>>;
112
+ listSearchableDocuments(requestParameters: SearchableDocumentsApiListSearchableDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
114
113
  }
@@ -97,16 +97,16 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
100
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
101
101
  * @summary List searchable documents
102
102
  * @param {string} searchText Text to search in the documents.
103
103
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
104
+ * @param {string} product PBM product the documents belongs to.
104
105
  * @param {string} [authorization] Bearer Token
105
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
106
106
  * @param {*} [options] Override http request option.
107
107
  * @throws {RequiredError}
108
108
  */
109
- listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
109
+ listSearchableDocuments: function (searchText, ownerIds, product, authorization, options) {
110
110
  if (options === void 0) { options = {}; }
111
111
  return __awaiter(_this, void 0, void 0, function () {
112
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -117,6 +117,8 @@ var SearchableDocumentsApiAxiosParamCreator = function (configuration) {
117
117
  (0, common_1.assertParamExists)('listSearchableDocuments', 'searchText', searchText);
118
118
  // verify required parameter 'ownerIds' is not null or undefined
119
119
  (0, common_1.assertParamExists)('listSearchableDocuments', 'ownerIds', ownerIds);
120
+ // verify required parameter 'product' is not null or undefined
121
+ (0, common_1.assertParamExists)('listSearchableDocuments', 'product', product);
120
122
  localVarPath = "/documentservice/v1/searchable-documents";
121
123
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
122
124
  if (configuration) {
@@ -167,21 +169,21 @@ var SearchableDocumentsApiFp = function (configuration) {
167
169
  var localVarAxiosParamCreator = (0, exports.SearchableDocumentsApiAxiosParamCreator)(configuration);
168
170
  return {
169
171
  /**
170
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
172
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
171
173
  * @summary List searchable documents
172
174
  * @param {string} searchText Text to search in the documents.
173
175
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
176
+ * @param {string} product PBM product the documents belongs to.
174
177
  * @param {string} [authorization] Bearer Token
175
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
176
178
  * @param {*} [options] Override http request option.
177
179
  * @throws {RequiredError}
178
180
  */
179
- listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
181
+ listSearchableDocuments: function (searchText, ownerIds, product, authorization, options) {
180
182
  return __awaiter(this, void 0, void 0, function () {
181
183
  var localVarAxiosArgs;
182
184
  return __generator(this, function (_a) {
183
185
  switch (_a.label) {
184
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, authorization, product, options)];
186
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSearchableDocuments(searchText, ownerIds, product, authorization, options)];
185
187
  case 1:
186
188
  localVarAxiosArgs = _a.sent();
187
189
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -200,17 +202,17 @@ var SearchableDocumentsApiFactory = function (configuration, basePath, axios) {
200
202
  var localVarFp = (0, exports.SearchableDocumentsApiFp)(configuration);
201
203
  return {
202
204
  /**
203
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
205
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
204
206
  * @summary List searchable documents
205
207
  * @param {string} searchText Text to search in the documents.
206
208
  * @param {string} ownerIds List of searched document owner IDs separated with | (search in all documents if an \&#39;*\&#39; list provided).
209
+ * @param {string} product PBM product the documents belongs to.
207
210
  * @param {string} [authorization] Bearer Token
208
- * @param {'car' | 'homeowner' | 'household' | 'privateLiability'} [product] PBM product the documents belongs to.
209
211
  * @param {*} [options] Override http request option.
210
212
  * @throws {RequiredError}
211
213
  */
212
- listSearchableDocuments: function (searchText, ownerIds, authorization, product, options) {
213
- return localVarFp.listSearchableDocuments(searchText, ownerIds, authorization, product, options).then(function (request) { return request(axios, basePath); });
214
+ listSearchableDocuments: function (searchText, ownerIds, product, authorization, options) {
215
+ return localVarFp.listSearchableDocuments(searchText, ownerIds, product, authorization, options).then(function (request) { return request(axios, basePath); });
214
216
  },
215
217
  };
216
218
  };
@@ -227,7 +229,7 @@ var SearchableDocumentsApi = /** @class */ (function (_super) {
227
229
  return _super !== null && _super.apply(this, arguments) || this;
228
230
  }
229
231
  /**
230
- * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
232
+ * Returns a list of searchable documents you have previously created. The searchable documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
231
233
  * @summary List searchable documents
232
234
  * @param {SearchableDocumentsApiListSearchableDocumentsRequest} requestParameters Request parameters.
233
235
  * @param {*} [options] Override http request option.
@@ -236,7 +238,7 @@ var SearchableDocumentsApi = /** @class */ (function (_super) {
236
238
  */
237
239
  SearchableDocumentsApi.prototype.listSearchableDocuments = function (requestParameters, options) {
238
240
  var _this = this;
239
- return (0, exports.SearchableDocumentsApiFp)(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.authorization, requestParameters.product, options).then(function (request) { return request(_this.axios, _this.basePath); });
241
+ return (0, exports.SearchableDocumentsApiFp)(this.configuration).listSearchableDocuments(requestParameters.searchText, requestParameters.ownerIds, requestParameters.product, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
240
242
  };
241
243
  return SearchableDocumentsApi;
242
244
  }(base_1.BaseAPI));
@@ -45,11 +45,11 @@ export interface CreateDocTemplateRequestDto {
45
45
  * @type {string}
46
46
  * @memberof CreateDocTemplateRequestDto
47
47
  */
48
- 'productSlug'?: string;
48
+ 'productSlug': string;
49
49
  /**
50
50
  * The filename of the document template as it appears when sent to customers.
51
51
  * @type {string}
52
52
  * @memberof CreateDocTemplateRequestDto
53
53
  */
54
- 'label'?: string;
54
+ 'label': string;
55
55
  }
@@ -38,7 +38,7 @@ export interface CreateDocumentRequestDto {
38
38
  * @type {string}
39
39
  * @memberof CreateDocumentRequestDto
40
40
  */
41
- 'strategy'?: CreateDocumentRequestDtoStrategyEnum;
41
+ 'strategy': CreateDocumentRequestDtoStrategyEnum;
42
42
  /**
43
43
  * Description of the document. Usually a short summary about the context in which the document is being used.
44
44
  * @type {string}
@@ -50,25 +50,25 @@ export interface CreateDocumentRequestDto {
50
50
  * @type {string}
51
51
  * @memberof CreateDocumentRequestDto
52
52
  */
53
- 'policyCode'?: string;
53
+ 'policyCode': string;
54
54
  /**
55
55
  * Unique identifier of the account that this object belongs to.
56
56
  * @type {string}
57
57
  * @memberof CreateDocumentRequestDto
58
58
  */
59
- 'accountCode'?: string;
59
+ 'accountCode': string;
60
60
  /**
61
61
  * Unique identifier of the lead that this object belongs to.
62
62
  * @type {string}
63
63
  * @memberof CreateDocumentRequestDto
64
64
  */
65
- 'leadCode'?: string;
65
+ 'leadCode': string;
66
66
  /**
67
67
  * Unique identifier referencing the entity.
68
68
  * @type {number}
69
69
  * @memberof CreateDocumentRequestDto
70
70
  */
71
- 'entityId'?: number;
71
+ 'entityId': number;
72
72
  /**
73
73
  * Identifier of the service that requested the creation of this document.
74
74
  * @type {string}
@@ -80,7 +80,7 @@ export interface CreateDocumentRequestDto {
80
80
  * @type {object}
81
81
  * @memberof CreateDocumentRequestDto
82
82
  */
83
- 'metadata'?: object;
83
+ 'metadata': object;
84
84
  /**
85
85
  * Type of the document expressed with its file extension.
86
86
  * @type {string}
@@ -92,25 +92,25 @@ export interface CreateDocumentRequestDto {
92
92
  * @type {string}
93
93
  * @memberof CreateDocumentRequestDto
94
94
  */
95
- 'filename'?: string;
95
+ 'filename': string;
96
96
  /**
97
97
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
98
98
  * @type {string}
99
99
  * @memberof CreateDocumentRequestDto
100
100
  */
101
- 'productSlug'?: string;
101
+ 'productSlug': string;
102
102
  /**
103
103
  * If true, the default margins will be skipped when generating the document.
104
104
  * @type {boolean}
105
105
  * @memberof CreateDocumentRequestDto
106
106
  */
107
- 'shouldSkipDefaultMargins'?: boolean;
107
+ 'shouldSkipDefaultMargins': boolean;
108
108
  /**
109
109
  * Type of the document engine to use to generate the document. Defaults to HTML.
110
110
  * @type {string}
111
111
  * @memberof CreateDocumentRequestDto
112
112
  */
113
- 'engine'?: CreateDocumentRequestDtoEngineEnum;
113
+ 'engine': CreateDocumentRequestDtoEngineEnum;
114
114
  }
115
115
  export declare const CreateDocumentRequestDtoStrategyEnum: {
116
116
  readonly Sync: "Sync";
@@ -44,19 +44,19 @@ export interface CreatePresignedPostRequestDto {
44
44
  * @type {string}
45
45
  * @memberof CreatePresignedPostRequestDto
46
46
  */
47
- 'policyCode'?: string;
47
+ 'policyCode': string;
48
48
  /**
49
49
  * Unique identifier of the account that this object belongs to.
50
50
  * @type {string}
51
51
  * @memberof CreatePresignedPostRequestDto
52
52
  */
53
- 'accountCode'?: string;
53
+ 'accountCode': string;
54
54
  /**
55
55
  * Unique identifier of the lead that this object belongs to.
56
56
  * @type {string}
57
57
  * @memberof CreatePresignedPostRequestDto
58
58
  */
59
- 'leadCode'?: string;
59
+ 'leadCode': string;
60
60
  /**
61
61
  * Identifier of the service that requested the creation of this document.
62
62
  * @type {string}
@@ -86,7 +86,7 @@ export interface CreatePresignedPostRequestDto {
86
86
  * @type {string}
87
87
  * @memberof CreatePresignedPostRequestDto
88
88
  */
89
- 'productSlug'?: string;
89
+ 'productSlug': string;
90
90
  /**
91
91
  * ERN under which the document will be uploaded. This is useful when uploading documents on behalf of a child organization
92
92
  * @type {string}