@emilgroup/document-sdk 1.16.0 → 1.21.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.
- package/README.md +2 -2
- package/api/documents-api.ts +20 -6
- package/api/docx-templates-api.ts +20 -6
- package/api/layouts-api.ts +20 -6
- package/api/product-documents-api.ts +234 -8
- package/api/searchable-document-owners-api.ts +20 -6
- package/base.ts +1 -0
- package/dist/api/documents-api.d.ts +12 -3
- package/dist/api/documents-api.js +12 -6
- package/dist/api/docx-templates-api.d.ts +12 -3
- package/dist/api/docx-templates-api.js +12 -6
- package/dist/api/layouts-api.d.ts +12 -3
- package/dist/api/layouts-api.js +12 -6
- package/dist/api/product-documents-api.d.ts +140 -4
- package/dist/api/product-documents-api.js +153 -8
- package/dist/api/searchable-document-owners-api.d.ts +12 -3
- package/dist/api/searchable-document-owners-api.js +12 -6
- package/dist/base.js +1 -0
- package/dist/models/docx-template-class.d.ts +1 -1
- package/dist/models/inline-response200.d.ts +6 -6
- package/dist/models/inline-response503.d.ts +6 -6
- package/dist/models/list-request-dto.d.ts +6 -0
- package/dist/models/product-document-class.d.ts +1 -1
- package/models/docx-template-class.ts +1 -1
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/list-request-dto.ts +6 -0
- package/models/product-document-class.ts +1 -1
- package/package.json +1 -1
|
@@ -81,10 +81,11 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
81
81
|
* @param {string} [search] Search query
|
|
82
82
|
* @param {string} [order] Ordering criteria
|
|
83
83
|
* @param {string} [expand] Extra fields to fetch
|
|
84
|
+
* @param {string} [filters] List filters
|
|
84
85
|
* @param {*} [options] Override http request option.
|
|
85
86
|
* @throws {RequiredError}
|
|
86
87
|
*/
|
|
87
|
-
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
listDocuments: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
89
|
/**
|
|
89
90
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
90
91
|
* @summary Update the document
|
|
@@ -156,10 +157,11 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
|
|
|
156
157
|
* @param {string} [search] Search query
|
|
157
158
|
* @param {string} [order] Ordering criteria
|
|
158
159
|
* @param {string} [expand] Extra fields to fetch
|
|
160
|
+
* @param {string} [filters] List filters
|
|
159
161
|
* @param {*} [options] Override http request option.
|
|
160
162
|
* @throws {RequiredError}
|
|
161
163
|
*/
|
|
162
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
164
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
|
|
163
165
|
/**
|
|
164
166
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
165
167
|
* @summary Update the document
|
|
@@ -231,10 +233,11 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
|
|
|
231
233
|
* @param {string} [search] Search query
|
|
232
234
|
* @param {string} [order] Ordering criteria
|
|
233
235
|
* @param {string} [expand] Extra fields to fetch
|
|
236
|
+
* @param {string} [filters] List filters
|
|
234
237
|
* @param {*} [options] Override http request option.
|
|
235
238
|
* @throws {RequiredError}
|
|
236
239
|
*/
|
|
237
|
-
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
240
|
+
listDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
|
|
238
241
|
/**
|
|
239
242
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
240
243
|
* @summary Update the document
|
|
@@ -389,6 +392,12 @@ export interface DocumentsApiListDocumentsRequest {
|
|
|
389
392
|
* @memberof DocumentsApiListDocuments
|
|
390
393
|
*/
|
|
391
394
|
readonly expand?: string;
|
|
395
|
+
/**
|
|
396
|
+
* List filters
|
|
397
|
+
* @type {string}
|
|
398
|
+
* @memberof DocumentsApiListDocuments
|
|
399
|
+
*/
|
|
400
|
+
readonly filters?: string;
|
|
392
401
|
}
|
|
393
402
|
/**
|
|
394
403
|
* Request parameters for updateDocument operation in DocumentsApi.
|
|
@@ -346,10 +346,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
346
346
|
* @param {string} [search] Search query
|
|
347
347
|
* @param {string} [order] Ordering criteria
|
|
348
348
|
* @param {string} [expand] Extra fields to fetch
|
|
349
|
+
* @param {string} [filters] List filters
|
|
349
350
|
* @param {*} [options] Override http request option.
|
|
350
351
|
* @throws {RequiredError}
|
|
351
352
|
*/
|
|
352
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
353
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
353
354
|
if (options === void 0) { options = {}; }
|
|
354
355
|
return __awaiter(_this, void 0, void 0, function () {
|
|
355
356
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -390,6 +391,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
390
391
|
if (expand !== undefined) {
|
|
391
392
|
localVarQueryParameter['expand'] = expand;
|
|
392
393
|
}
|
|
394
|
+
if (filters !== undefined) {
|
|
395
|
+
localVarQueryParameter['filters'] = filters;
|
|
396
|
+
}
|
|
393
397
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
394
398
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
395
399
|
}
|
|
@@ -582,15 +586,16 @@ var DocumentsApiFp = function (configuration) {
|
|
|
582
586
|
* @param {string} [search] Search query
|
|
583
587
|
* @param {string} [order] Ordering criteria
|
|
584
588
|
* @param {string} [expand] Extra fields to fetch
|
|
589
|
+
* @param {string} [filters] List filters
|
|
585
590
|
* @param {*} [options] Override http request option.
|
|
586
591
|
* @throws {RequiredError}
|
|
587
592
|
*/
|
|
588
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
593
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
589
594
|
return __awaiter(this, void 0, void 0, function () {
|
|
590
595
|
var localVarAxiosArgs;
|
|
591
596
|
return __generator(this, function (_a) {
|
|
592
597
|
switch (_a.label) {
|
|
593
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
598
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
594
599
|
case 1:
|
|
595
600
|
localVarAxiosArgs = _a.sent();
|
|
596
601
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -695,11 +700,12 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
695
700
|
* @param {string} [search] Search query
|
|
696
701
|
* @param {string} [order] Ordering criteria
|
|
697
702
|
* @param {string} [expand] Extra fields to fetch
|
|
703
|
+
* @param {string} [filters] List filters
|
|
698
704
|
* @param {*} [options] Override http request option.
|
|
699
705
|
* @throws {RequiredError}
|
|
700
706
|
*/
|
|
701
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
702
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
707
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
708
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
703
709
|
},
|
|
704
710
|
/**
|
|
705
711
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -798,7 +804,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
798
804
|
DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
|
|
799
805
|
var _this = this;
|
|
800
806
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
801
|
-
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
807
|
+
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(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); });
|
|
802
808
|
};
|
|
803
809
|
/**
|
|
804
810
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -62,10 +62,11 @@ export declare const DocxTemplatesApiAxiosParamCreator: (configuration?: Configu
|
|
|
62
62
|
* @param {string} [search] Search query
|
|
63
63
|
* @param {string} [order] Ordering criteria
|
|
64
64
|
* @param {string} [expand] Extra fields to fetch
|
|
65
|
+
* @param {string} [filters] List filters
|
|
65
66
|
* @param {*} [options] Override http request option.
|
|
66
67
|
* @throws {RequiredError}
|
|
67
68
|
*/
|
|
68
|
-
listDocxTemplates: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
listDocxTemplates: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
70
|
/**
|
|
70
71
|
* Updates a docx template metadata.
|
|
71
72
|
* @summary Update the docx template
|
|
@@ -128,10 +129,11 @@ export declare const DocxTemplatesApiFp: (configuration?: Configuration) => {
|
|
|
128
129
|
* @param {string} [search] Search query
|
|
129
130
|
* @param {string} [order] Ordering criteria
|
|
130
131
|
* @param {string} [expand] Extra fields to fetch
|
|
132
|
+
* @param {string} [filters] List filters
|
|
131
133
|
* @param {*} [options] Override http request option.
|
|
132
134
|
* @throws {RequiredError}
|
|
133
135
|
*/
|
|
134
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>>;
|
|
136
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocxTemplatesResponseClass>>;
|
|
135
137
|
/**
|
|
136
138
|
* Updates a docx template metadata.
|
|
137
139
|
* @summary Update the docx template
|
|
@@ -194,10 +196,11 @@ export declare const DocxTemplatesApiFactory: (configuration?: Configuration, ba
|
|
|
194
196
|
* @param {string} [search] Search query
|
|
195
197
|
* @param {string} [order] Ordering criteria
|
|
196
198
|
* @param {string} [expand] Extra fields to fetch
|
|
199
|
+
* @param {string} [filters] List filters
|
|
197
200
|
* @param {*} [options] Override http request option.
|
|
198
201
|
* @throws {RequiredError}
|
|
199
202
|
*/
|
|
200
|
-
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass>;
|
|
203
|
+
listDocxTemplates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListDocxTemplatesResponseClass>;
|
|
201
204
|
/**
|
|
202
205
|
* Updates a docx template metadata.
|
|
203
206
|
* @summary Update the docx template
|
|
@@ -323,6 +326,12 @@ export interface DocxTemplatesApiListDocxTemplatesRequest {
|
|
|
323
326
|
* @memberof DocxTemplatesApiListDocxTemplates
|
|
324
327
|
*/
|
|
325
328
|
readonly expand?: string;
|
|
329
|
+
/**
|
|
330
|
+
* List filters
|
|
331
|
+
* @type {string}
|
|
332
|
+
* @memberof DocxTemplatesApiListDocxTemplates
|
|
333
|
+
*/
|
|
334
|
+
readonly filters?: string;
|
|
326
335
|
}
|
|
327
336
|
/**
|
|
328
337
|
* Request parameters for updateDocxTemplate operation in DocxTemplatesApi.
|
|
@@ -246,10 +246,11 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* @param {string} [search] Search query
|
|
247
247
|
* @param {string} [order] Ordering criteria
|
|
248
248
|
* @param {string} [expand] Extra fields to fetch
|
|
249
|
+
* @param {string} [filters] List filters
|
|
249
250
|
* @param {*} [options] Override http request option.
|
|
250
251
|
* @throws {RequiredError}
|
|
251
252
|
*/
|
|
252
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
253
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
253
254
|
if (options === void 0) { options = {}; }
|
|
254
255
|
return __awaiter(_this, void 0, void 0, function () {
|
|
255
256
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -290,6 +291,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
290
291
|
if (expand !== undefined) {
|
|
291
292
|
localVarQueryParameter['expand'] = expand;
|
|
292
293
|
}
|
|
294
|
+
if (filters !== undefined) {
|
|
295
|
+
localVarQueryParameter['filters'] = filters;
|
|
296
|
+
}
|
|
293
297
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
294
298
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
295
299
|
}
|
|
@@ -489,15 +493,16 @@ var DocxTemplatesApiFp = function (configuration) {
|
|
|
489
493
|
* @param {string} [search] Search query
|
|
490
494
|
* @param {string} [order] Ordering criteria
|
|
491
495
|
* @param {string} [expand] Extra fields to fetch
|
|
496
|
+
* @param {string} [filters] List filters
|
|
492
497
|
* @param {*} [options] Override http request option.
|
|
493
498
|
* @throws {RequiredError}
|
|
494
499
|
*/
|
|
495
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
500
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
496
501
|
return __awaiter(this, void 0, void 0, function () {
|
|
497
502
|
var localVarAxiosArgs;
|
|
498
503
|
return __generator(this, function (_a) {
|
|
499
504
|
switch (_a.label) {
|
|
500
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
505
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
501
506
|
case 1:
|
|
502
507
|
localVarAxiosArgs = _a.sent();
|
|
503
508
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -601,11 +606,12 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
601
606
|
* @param {string} [search] Search query
|
|
602
607
|
* @param {string} [order] Ordering criteria
|
|
603
608
|
* @param {string} [expand] Extra fields to fetch
|
|
609
|
+
* @param {string} [filters] List filters
|
|
604
610
|
* @param {*} [options] Override http request option.
|
|
605
611
|
* @throws {RequiredError}
|
|
606
612
|
*/
|
|
607
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
608
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
613
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
614
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
609
615
|
},
|
|
610
616
|
/**
|
|
611
617
|
* Updates a docx template metadata.
|
|
@@ -691,7 +697,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
691
697
|
DocxTemplatesApi.prototype.listDocxTemplates = function (requestParameters, options) {
|
|
692
698
|
var _this = this;
|
|
693
699
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
694
|
-
return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
700
|
+
return (0, exports.DocxTemplatesApiFp)(this.configuration).listDocxTemplates(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); });
|
|
695
701
|
};
|
|
696
702
|
/**
|
|
697
703
|
* Updates a docx template metadata.
|
|
@@ -62,10 +62,11 @@ export declare const LayoutsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
62
62
|
* @param {string} [search] Search query
|
|
63
63
|
* @param {string} [order] Ordering criteria
|
|
64
64
|
* @param {string} [expand] Extra fields to fetch
|
|
65
|
+
* @param {string} [filters] List filters
|
|
65
66
|
* @param {*} [options] Override http request option.
|
|
66
67
|
* @throws {RequiredError}
|
|
67
68
|
*/
|
|
68
|
-
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
listLayouts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
70
|
/**
|
|
70
71
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
71
72
|
* @summary Update the layout
|
|
@@ -120,10 +121,11 @@ export declare const LayoutsApiFp: (configuration?: Configuration) => {
|
|
|
120
121
|
* @param {string} [search] Search query
|
|
121
122
|
* @param {string} [order] Ordering criteria
|
|
122
123
|
* @param {string} [expand] Extra fields to fetch
|
|
124
|
+
* @param {string} [filters] List filters
|
|
123
125
|
* @param {*} [options] Override http request option.
|
|
124
126
|
* @throws {RequiredError}
|
|
125
127
|
*/
|
|
126
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>>;
|
|
128
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLayoutsResponseClass>>;
|
|
127
129
|
/**
|
|
128
130
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
129
131
|
* @summary Update the layout
|
|
@@ -178,10 +180,11 @@ export declare const LayoutsApiFactory: (configuration?: Configuration, basePath
|
|
|
178
180
|
* @param {string} [search] Search query
|
|
179
181
|
* @param {string} [order] Ordering criteria
|
|
180
182
|
* @param {string} [expand] Extra fields to fetch
|
|
183
|
+
* @param {string} [filters] List filters
|
|
181
184
|
* @param {*} [options] Override http request option.
|
|
182
185
|
* @throws {RequiredError}
|
|
183
186
|
*/
|
|
184
|
-
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
187
|
+
listLayouts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListLayoutsResponseClass>;
|
|
185
188
|
/**
|
|
186
189
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
187
190
|
* @summary Update the layout
|
|
@@ -304,6 +307,12 @@ export interface LayoutsApiListLayoutsRequest {
|
|
|
304
307
|
* @memberof LayoutsApiListLayouts
|
|
305
308
|
*/
|
|
306
309
|
readonly expand?: string;
|
|
310
|
+
/**
|
|
311
|
+
* List filters
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof LayoutsApiListLayouts
|
|
314
|
+
*/
|
|
315
|
+
readonly filters?: string;
|
|
307
316
|
}
|
|
308
317
|
/**
|
|
309
318
|
* Request parameters for updateLayout operation in LayoutsApi.
|
package/dist/api/layouts-api.js
CHANGED
|
@@ -253,10 +253,11 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* @param {string} [search] Search query
|
|
254
254
|
* @param {string} [order] Ordering criteria
|
|
255
255
|
* @param {string} [expand] Extra fields to fetch
|
|
256
|
+
* @param {string} [filters] List filters
|
|
256
257
|
* @param {*} [options] Override http request option.
|
|
257
258
|
* @throws {RequiredError}
|
|
258
259
|
*/
|
|
259
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
260
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
260
261
|
if (options === void 0) { options = {}; }
|
|
261
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
262
263
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -297,6 +298,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
297
298
|
if (expand !== undefined) {
|
|
298
299
|
localVarQueryParameter['expand'] = expand;
|
|
299
300
|
}
|
|
301
|
+
if (filters !== undefined) {
|
|
302
|
+
localVarQueryParameter['filters'] = filters;
|
|
303
|
+
}
|
|
300
304
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
301
305
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
302
306
|
}
|
|
@@ -448,15 +452,16 @@ var LayoutsApiFp = function (configuration) {
|
|
|
448
452
|
* @param {string} [search] Search query
|
|
449
453
|
* @param {string} [order] Ordering criteria
|
|
450
454
|
* @param {string} [expand] Extra fields to fetch
|
|
455
|
+
* @param {string} [filters] List filters
|
|
451
456
|
* @param {*} [options] Override http request option.
|
|
452
457
|
* @throws {RequiredError}
|
|
453
458
|
*/
|
|
454
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
459
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
455
460
|
return __awaiter(this, void 0, void 0, function () {
|
|
456
461
|
var localVarAxiosArgs;
|
|
457
462
|
return __generator(this, function (_a) {
|
|
458
463
|
switch (_a.label) {
|
|
459
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
464
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
460
465
|
case 1:
|
|
461
466
|
localVarAxiosArgs = _a.sent();
|
|
462
467
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -540,11 +545,12 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
540
545
|
* @param {string} [search] Search query
|
|
541
546
|
* @param {string} [order] Ordering criteria
|
|
542
547
|
* @param {string} [expand] Extra fields to fetch
|
|
548
|
+
* @param {string} [filters] List filters
|
|
543
549
|
* @param {*} [options] Override http request option.
|
|
544
550
|
* @throws {RequiredError}
|
|
545
551
|
*/
|
|
546
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
547
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
552
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
553
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
548
554
|
},
|
|
549
555
|
/**
|
|
550
556
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -619,7 +625,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
619
625
|
LayoutsApi.prototype.listLayouts = function (requestParameters, options) {
|
|
620
626
|
var _this = this;
|
|
621
627
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
622
|
-
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); });
|
|
628
|
+
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(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); });
|
|
623
629
|
};
|
|
624
630
|
/**
|
|
625
631
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -55,6 +55,23 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
55
55
|
/**
|
|
56
56
|
* 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.
|
|
57
57
|
* @summary List product documents
|
|
58
|
+
* @param {string} productSlug
|
|
59
|
+
* @param {string} [authorization] Bearer Token
|
|
60
|
+
* @param {number} [pageSize] Page size
|
|
61
|
+
* @param {string} [pageToken] Page token
|
|
62
|
+
* @param {string} [filter] List filter
|
|
63
|
+
* @param {string} [search] Search query
|
|
64
|
+
* @param {string} [order] Ordering criteria
|
|
65
|
+
* @param {string} [expand] Extra fields to fetch
|
|
66
|
+
* @param {string} [filters] List filters
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
listProductDocuments: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
* 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.
|
|
73
|
+
* @summary List product documents
|
|
74
|
+
* @param {string} productSlug
|
|
58
75
|
* @param {string} [authorization] Bearer Token
|
|
59
76
|
* @param {number} [pageSize] Page size
|
|
60
77
|
* @param {string} [pageToken] Page token
|
|
@@ -62,10 +79,11 @@ export declare const ProductDocumentsApiAxiosParamCreator: (configuration?: Conf
|
|
|
62
79
|
* @param {string} [search] Search query
|
|
63
80
|
* @param {string} [order] Ordering criteria
|
|
64
81
|
* @param {string} [expand] Extra fields to fetch
|
|
82
|
+
* @param {string} [filters] List filters
|
|
65
83
|
* @param {*} [options] Override http request option.
|
|
66
84
|
* @throws {RequiredError}
|
|
67
85
|
*/
|
|
68
|
-
|
|
86
|
+
listProductDocuments_1: (productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
87
|
/**
|
|
70
88
|
* Upload a product document.
|
|
71
89
|
* @summary Create the product document
|
|
@@ -115,6 +133,7 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
115
133
|
/**
|
|
116
134
|
* 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.
|
|
117
135
|
* @summary List product documents
|
|
136
|
+
* @param {string} productSlug
|
|
118
137
|
* @param {string} [authorization] Bearer Token
|
|
119
138
|
* @param {number} [pageSize] Page size
|
|
120
139
|
* @param {string} [pageToken] Page token
|
|
@@ -122,10 +141,27 @@ export declare const ProductDocumentsApiFp: (configuration?: Configuration) => {
|
|
|
122
141
|
* @param {string} [search] Search query
|
|
123
142
|
* @param {string} [order] Ordering criteria
|
|
124
143
|
* @param {string} [expand] Extra fields to fetch
|
|
144
|
+
* @param {string} [filters] List filters
|
|
125
145
|
* @param {*} [options] Override http request option.
|
|
126
146
|
* @throws {RequiredError}
|
|
127
147
|
*/
|
|
128
|
-
listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>>;
|
|
148
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>>;
|
|
149
|
+
/**
|
|
150
|
+
* 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.
|
|
151
|
+
* @summary List product documents
|
|
152
|
+
* @param {string} productSlug
|
|
153
|
+
* @param {string} [authorization] Bearer Token
|
|
154
|
+
* @param {number} [pageSize] Page size
|
|
155
|
+
* @param {string} [pageToken] Page token
|
|
156
|
+
* @param {string} [filter] List filter
|
|
157
|
+
* @param {string} [search] Search query
|
|
158
|
+
* @param {string} [order] Ordering criteria
|
|
159
|
+
* @param {string} [expand] Extra fields to fetch
|
|
160
|
+
* @param {string} [filters] List filters
|
|
161
|
+
* @param {*} [options] Override http request option.
|
|
162
|
+
* @throws {RequiredError}
|
|
163
|
+
*/
|
|
164
|
+
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductDocumentsResponseClass>>;
|
|
129
165
|
/**
|
|
130
166
|
* Upload a product document.
|
|
131
167
|
* @summary Create the product document
|
|
@@ -175,6 +211,7 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
175
211
|
/**
|
|
176
212
|
* 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.
|
|
177
213
|
* @summary List product documents
|
|
214
|
+
* @param {string} productSlug
|
|
178
215
|
* @param {string} [authorization] Bearer Token
|
|
179
216
|
* @param {number} [pageSize] Page size
|
|
180
217
|
* @param {string} [pageToken] Page token
|
|
@@ -182,10 +219,27 @@ export declare const ProductDocumentsApiFactory: (configuration?: Configuration,
|
|
|
182
219
|
* @param {string} [search] Search query
|
|
183
220
|
* @param {string} [order] Ordering criteria
|
|
184
221
|
* @param {string} [expand] Extra fields to fetch
|
|
222
|
+
* @param {string} [filters] List filters
|
|
185
223
|
* @param {*} [options] Override http request option.
|
|
186
224
|
* @throws {RequiredError}
|
|
187
225
|
*/
|
|
188
|
-
listProductDocuments(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
226
|
+
listProductDocuments(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
227
|
+
/**
|
|
228
|
+
* 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.
|
|
229
|
+
* @summary List product documents
|
|
230
|
+
* @param {string} productSlug
|
|
231
|
+
* @param {string} [authorization] Bearer Token
|
|
232
|
+
* @param {number} [pageSize] Page size
|
|
233
|
+
* @param {string} [pageToken] Page token
|
|
234
|
+
* @param {string} [filter] List filter
|
|
235
|
+
* @param {string} [search] Search query
|
|
236
|
+
* @param {string} [order] Ordering criteria
|
|
237
|
+
* @param {string} [expand] Extra fields to fetch
|
|
238
|
+
* @param {string} [filters] List filters
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
listProductDocuments_1(productSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListProductDocumentsResponseClass>;
|
|
189
243
|
/**
|
|
190
244
|
* Upload a product document.
|
|
191
245
|
* @summary Create the product document
|
|
@@ -278,6 +332,12 @@ export interface ProductDocumentsApiGetProductDocumentRequest {
|
|
|
278
332
|
* @interface ProductDocumentsApiListProductDocumentsRequest
|
|
279
333
|
*/
|
|
280
334
|
export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
339
|
+
*/
|
|
340
|
+
readonly productSlug: string;
|
|
281
341
|
/**
|
|
282
342
|
* Bearer Token
|
|
283
343
|
* @type {string}
|
|
@@ -320,6 +380,73 @@ export interface ProductDocumentsApiListProductDocumentsRequest {
|
|
|
320
380
|
* @memberof ProductDocumentsApiListProductDocuments
|
|
321
381
|
*/
|
|
322
382
|
readonly expand?: string;
|
|
383
|
+
/**
|
|
384
|
+
* List filters
|
|
385
|
+
* @type {string}
|
|
386
|
+
* @memberof ProductDocumentsApiListProductDocuments
|
|
387
|
+
*/
|
|
388
|
+
readonly filters?: string;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Request parameters for listProductDocuments_1 operation in ProductDocumentsApi.
|
|
392
|
+
* @export
|
|
393
|
+
* @interface ProductDocumentsApiListProductDocuments0Request
|
|
394
|
+
*/
|
|
395
|
+
export interface ProductDocumentsApiListProductDocuments0Request {
|
|
396
|
+
/**
|
|
397
|
+
*
|
|
398
|
+
* @type {string}
|
|
399
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
400
|
+
*/
|
|
401
|
+
readonly productSlug: string;
|
|
402
|
+
/**
|
|
403
|
+
* Bearer Token
|
|
404
|
+
* @type {string}
|
|
405
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
406
|
+
*/
|
|
407
|
+
readonly authorization?: string;
|
|
408
|
+
/**
|
|
409
|
+
* Page size
|
|
410
|
+
* @type {number}
|
|
411
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
412
|
+
*/
|
|
413
|
+
readonly pageSize?: number;
|
|
414
|
+
/**
|
|
415
|
+
* Page token
|
|
416
|
+
* @type {string}
|
|
417
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
418
|
+
*/
|
|
419
|
+
readonly pageToken?: string;
|
|
420
|
+
/**
|
|
421
|
+
* List filter
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
424
|
+
*/
|
|
425
|
+
readonly filter?: string;
|
|
426
|
+
/**
|
|
427
|
+
* Search query
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
430
|
+
*/
|
|
431
|
+
readonly search?: string;
|
|
432
|
+
/**
|
|
433
|
+
* Ordering criteria
|
|
434
|
+
* @type {string}
|
|
435
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
436
|
+
*/
|
|
437
|
+
readonly order?: string;
|
|
438
|
+
/**
|
|
439
|
+
* Extra fields to fetch
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
442
|
+
*/
|
|
443
|
+
readonly expand?: string;
|
|
444
|
+
/**
|
|
445
|
+
* List filters
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof ProductDocumentsApiListProductDocuments0
|
|
448
|
+
*/
|
|
449
|
+
readonly filters?: string;
|
|
323
450
|
}
|
|
324
451
|
/**
|
|
325
452
|
* Request parameters for uploadProductDocument operation in ProductDocumentsApi.
|
|
@@ -388,7 +515,16 @@ export declare class ProductDocumentsApi extends BaseAPI {
|
|
|
388
515
|
* @throws {RequiredError}
|
|
389
516
|
* @memberof ProductDocumentsApi
|
|
390
517
|
*/
|
|
391
|
-
listProductDocuments(requestParameters
|
|
518
|
+
listProductDocuments(requestParameters: ProductDocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
|
|
519
|
+
/**
|
|
520
|
+
* 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.
|
|
521
|
+
* @summary List product documents
|
|
522
|
+
* @param {ProductDocumentsApiListProductDocuments0Request} requestParameters Request parameters.
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
* @memberof ProductDocumentsApi
|
|
526
|
+
*/
|
|
527
|
+
listProductDocuments_1(requestParameters: ProductDocumentsApiListProductDocuments0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
|
|
392
528
|
/**
|
|
393
529
|
* Upload a product document.
|
|
394
530
|
* @summary Create the product document
|