@emilgroup/document-sdk-node 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/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/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.
|
|
@@ -350,10 +350,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
350
350
|
* @param {string} [search] Search query
|
|
351
351
|
* @param {string} [order] Ordering criteria
|
|
352
352
|
* @param {string} [expand] Extra fields to fetch
|
|
353
|
+
* @param {string} [filters] List filters
|
|
353
354
|
* @param {*} [options] Override http request option.
|
|
354
355
|
* @throws {RequiredError}
|
|
355
356
|
*/
|
|
356
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
357
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
357
358
|
if (options === void 0) { options = {}; }
|
|
358
359
|
return __awaiter(_this, void 0, void 0, function () {
|
|
359
360
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -394,6 +395,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
394
395
|
if (expand !== undefined) {
|
|
395
396
|
localVarQueryParameter['expand'] = expand;
|
|
396
397
|
}
|
|
398
|
+
if (filters !== undefined) {
|
|
399
|
+
localVarQueryParameter['filters'] = filters;
|
|
400
|
+
}
|
|
397
401
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
398
402
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
399
403
|
}
|
|
@@ -586,15 +590,16 @@ var DocumentsApiFp = function (configuration) {
|
|
|
586
590
|
* @param {string} [search] Search query
|
|
587
591
|
* @param {string} [order] Ordering criteria
|
|
588
592
|
* @param {string} [expand] Extra fields to fetch
|
|
593
|
+
* @param {string} [filters] List filters
|
|
589
594
|
* @param {*} [options] Override http request option.
|
|
590
595
|
* @throws {RequiredError}
|
|
591
596
|
*/
|
|
592
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
597
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
593
598
|
return __awaiter(this, void 0, void 0, function () {
|
|
594
599
|
var localVarAxiosArgs;
|
|
595
600
|
return __generator(this, function (_a) {
|
|
596
601
|
switch (_a.label) {
|
|
597
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
602
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
598
603
|
case 1:
|
|
599
604
|
localVarAxiosArgs = _a.sent();
|
|
600
605
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -699,11 +704,12 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
699
704
|
* @param {string} [search] Search query
|
|
700
705
|
* @param {string} [order] Ordering criteria
|
|
701
706
|
* @param {string} [expand] Extra fields to fetch
|
|
707
|
+
* @param {string} [filters] List filters
|
|
702
708
|
* @param {*} [options] Override http request option.
|
|
703
709
|
* @throws {RequiredError}
|
|
704
710
|
*/
|
|
705
|
-
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
706
|
-
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
711
|
+
listDocuments: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
712
|
+
return localVarFp.listDocuments(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
707
713
|
},
|
|
708
714
|
/**
|
|
709
715
|
* Updates the specified document by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -802,7 +808,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
802
808
|
DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
|
|
803
809
|
var _this = this;
|
|
804
810
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
805
|
-
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); });
|
|
811
|
+
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); });
|
|
806
812
|
};
|
|
807
813
|
/**
|
|
808
814
|
* 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.
|
|
@@ -250,10 +250,11 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
* @param {string} [search] Search query
|
|
251
251
|
* @param {string} [order] Ordering criteria
|
|
252
252
|
* @param {string} [expand] Extra fields to fetch
|
|
253
|
+
* @param {string} [filters] List filters
|
|
253
254
|
* @param {*} [options] Override http request option.
|
|
254
255
|
* @throws {RequiredError}
|
|
255
256
|
*/
|
|
256
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
257
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
257
258
|
if (options === void 0) { options = {}; }
|
|
258
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
259
260
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -294,6 +295,9 @@ var DocxTemplatesApiAxiosParamCreator = function (configuration) {
|
|
|
294
295
|
if (expand !== undefined) {
|
|
295
296
|
localVarQueryParameter['expand'] = expand;
|
|
296
297
|
}
|
|
298
|
+
if (filters !== undefined) {
|
|
299
|
+
localVarQueryParameter['filters'] = filters;
|
|
300
|
+
}
|
|
297
301
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
298
302
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
299
303
|
}
|
|
@@ -493,15 +497,16 @@ var DocxTemplatesApiFp = function (configuration) {
|
|
|
493
497
|
* @param {string} [search] Search query
|
|
494
498
|
* @param {string} [order] Ordering criteria
|
|
495
499
|
* @param {string} [expand] Extra fields to fetch
|
|
500
|
+
* @param {string} [filters] List filters
|
|
496
501
|
* @param {*} [options] Override http request option.
|
|
497
502
|
* @throws {RequiredError}
|
|
498
503
|
*/
|
|
499
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
504
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
500
505
|
return __awaiter(this, void 0, void 0, function () {
|
|
501
506
|
var localVarAxiosArgs;
|
|
502
507
|
return __generator(this, function (_a) {
|
|
503
508
|
switch (_a.label) {
|
|
504
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
509
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
505
510
|
case 1:
|
|
506
511
|
localVarAxiosArgs = _a.sent();
|
|
507
512
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -605,11 +610,12 @@ var DocxTemplatesApiFactory = function (configuration, basePath, axios) {
|
|
|
605
610
|
* @param {string} [search] Search query
|
|
606
611
|
* @param {string} [order] Ordering criteria
|
|
607
612
|
* @param {string} [expand] Extra fields to fetch
|
|
613
|
+
* @param {string} [filters] List filters
|
|
608
614
|
* @param {*} [options] Override http request option.
|
|
609
615
|
* @throws {RequiredError}
|
|
610
616
|
*/
|
|
611
|
-
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
612
|
-
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
617
|
+
listDocxTemplates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
618
|
+
return localVarFp.listDocxTemplates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
613
619
|
},
|
|
614
620
|
/**
|
|
615
621
|
* Updates a docx template metadata.
|
|
@@ -695,7 +701,7 @@ var DocxTemplatesApi = /** @class */ (function (_super) {
|
|
|
695
701
|
DocxTemplatesApi.prototype.listDocxTemplates = function (requestParameters, options) {
|
|
696
702
|
var _this = this;
|
|
697
703
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
698
|
-
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); });
|
|
704
|
+
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); });
|
|
699
705
|
};
|
|
700
706
|
/**
|
|
701
707
|
* 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
|
@@ -257,10 +257,11 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
257
257
|
* @param {string} [search] Search query
|
|
258
258
|
* @param {string} [order] Ordering criteria
|
|
259
259
|
* @param {string} [expand] Extra fields to fetch
|
|
260
|
+
* @param {string} [filters] List filters
|
|
260
261
|
* @param {*} [options] Override http request option.
|
|
261
262
|
* @throws {RequiredError}
|
|
262
263
|
*/
|
|
263
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
264
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
264
265
|
if (options === void 0) { options = {}; }
|
|
265
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
266
267
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -301,6 +302,9 @@ var LayoutsApiAxiosParamCreator = function (configuration) {
|
|
|
301
302
|
if (expand !== undefined) {
|
|
302
303
|
localVarQueryParameter['expand'] = expand;
|
|
303
304
|
}
|
|
305
|
+
if (filters !== undefined) {
|
|
306
|
+
localVarQueryParameter['filters'] = filters;
|
|
307
|
+
}
|
|
304
308
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
305
309
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
306
310
|
}
|
|
@@ -452,15 +456,16 @@ var LayoutsApiFp = function (configuration) {
|
|
|
452
456
|
* @param {string} [search] Search query
|
|
453
457
|
* @param {string} [order] Ordering criteria
|
|
454
458
|
* @param {string} [expand] Extra fields to fetch
|
|
459
|
+
* @param {string} [filters] List filters
|
|
455
460
|
* @param {*} [options] Override http request option.
|
|
456
461
|
* @throws {RequiredError}
|
|
457
462
|
*/
|
|
458
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
463
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
459
464
|
return __awaiter(this, void 0, void 0, function () {
|
|
460
465
|
var localVarAxiosArgs;
|
|
461
466
|
return __generator(this, function (_a) {
|
|
462
467
|
switch (_a.label) {
|
|
463
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
468
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
464
469
|
case 1:
|
|
465
470
|
localVarAxiosArgs = _a.sent();
|
|
466
471
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -544,11 +549,12 @@ var LayoutsApiFactory = function (configuration, basePath, axios) {
|
|
|
544
549
|
* @param {string} [search] Search query
|
|
545
550
|
* @param {string} [order] Ordering criteria
|
|
546
551
|
* @param {string} [expand] Extra fields to fetch
|
|
552
|
+
* @param {string} [filters] List filters
|
|
547
553
|
* @param {*} [options] Override http request option.
|
|
548
554
|
* @throws {RequiredError}
|
|
549
555
|
*/
|
|
550
|
-
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
551
|
-
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
556
|
+
listLayouts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
557
|
+
return localVarFp.listLayouts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
552
558
|
},
|
|
553
559
|
/**
|
|
554
560
|
* Updates the specified layout by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -623,7 +629,7 @@ var LayoutsApi = /** @class */ (function (_super) {
|
|
|
623
629
|
LayoutsApi.prototype.listLayouts = function (requestParameters, options) {
|
|
624
630
|
var _this = this;
|
|
625
631
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
626
|
-
return (0, exports.LayoutsApiFp)(this.configuration).listLayouts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
632
|
+
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); });
|
|
627
633
|
};
|
|
628
634
|
/**
|
|
629
635
|
* 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
|