@emilgroup/commission-sdk 1.0.0-beta.2 → 1.0.0-beta.3
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/commission-agreement-versions-api.ts +67 -25
- package/api/commission-agreements-api.ts +55 -13
- package/dist/api/commission-agreement-versions-api.d.ts +47 -20
- package/dist/api/commission-agreement-versions-api.js +38 -20
- package/dist/api/commission-agreements-api.d.ts +35 -8
- package/dist/api/commission-agreements-api.js +29 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/commission-sdk@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@1.0.0-beta.3 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@1.0.0-beta.3
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -182,14 +182,17 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
182
182
|
* Retrieves a list of commission agreement versions.
|
|
183
183
|
* @summary List commission agreement versions
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {string} [
|
|
187
|
-
* @param {string} [
|
|
188
|
-
* @param {string} [
|
|
185
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
186
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
187
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
188
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
189
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
190
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
191
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
189
192
|
* @param {*} [options] Override http request option.
|
|
190
193
|
* @throws {RequiredError}
|
|
191
194
|
*/
|
|
192
|
-
listCommissionAgreementVersions: async (authorization?: string, filter?: string,
|
|
195
|
+
listCommissionAgreementVersions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
196
|
const localVarPath = `/commissionservice/v1/agreement-versions`;
|
|
194
197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -208,12 +211,20 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
208
211
|
// http bearer authentication required
|
|
209
212
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
210
213
|
|
|
214
|
+
if (pageSize !== undefined) {
|
|
215
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
if (pageToken !== undefined) {
|
|
219
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
220
|
+
}
|
|
221
|
+
|
|
211
222
|
if (filter !== undefined) {
|
|
212
223
|
localVarQueryParameter['filter'] = filter;
|
|
213
224
|
}
|
|
214
225
|
|
|
215
|
-
if (
|
|
216
|
-
localVarQueryParameter['
|
|
226
|
+
if (search !== undefined) {
|
|
227
|
+
localVarQueryParameter['search'] = search;
|
|
217
228
|
}
|
|
218
229
|
|
|
219
230
|
if (order !== undefined) {
|
|
@@ -224,6 +235,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
|
|
|
224
235
|
localVarQueryParameter['expand'] = expand;
|
|
225
236
|
}
|
|
226
237
|
|
|
238
|
+
if (filters !== undefined) {
|
|
239
|
+
localVarQueryParameter['filters'] = filters;
|
|
240
|
+
}
|
|
241
|
+
|
|
227
242
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
228
243
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
229
244
|
}
|
|
@@ -290,15 +305,18 @@ export const CommissionAgreementVersionsApiFp = function(configuration?: Configu
|
|
|
290
305
|
* Retrieves a list of commission agreement versions.
|
|
291
306
|
* @summary List commission agreement versions
|
|
292
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
293
|
-
* @param {
|
|
294
|
-
* @param {string} [
|
|
295
|
-
* @param {string} [
|
|
296
|
-
* @param {string} [
|
|
308
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
309
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
310
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
311
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
312
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
313
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
314
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
297
315
|
* @param {*} [options] Override http request option.
|
|
298
316
|
* @throws {RequiredError}
|
|
299
317
|
*/
|
|
300
|
-
async listCommissionAgreementVersions(authorization?: string, filter?: string,
|
|
301
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, filter,
|
|
318
|
+
async listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>> {
|
|
319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
302
320
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
303
321
|
},
|
|
304
322
|
}
|
|
@@ -349,15 +367,18 @@ export const CommissionAgreementVersionsApiFactory = function (configuration?: C
|
|
|
349
367
|
* Retrieves a list of commission agreement versions.
|
|
350
368
|
* @summary List commission agreement versions
|
|
351
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
|
-
* @param {
|
|
353
|
-
* @param {string} [
|
|
354
|
-
* @param {string} [
|
|
355
|
-
* @param {string} [
|
|
370
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
371
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
372
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
373
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
374
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
375
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
376
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
356
377
|
* @param {*} [options] Override http request option.
|
|
357
378
|
* @throws {RequiredError}
|
|
358
379
|
*/
|
|
359
|
-
listCommissionAgreementVersions(authorization?: string, filter?: string,
|
|
360
|
-
return localVarFp.listCommissionAgreementVersions(authorization, filter,
|
|
380
|
+
listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass> {
|
|
381
|
+
return localVarFp.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
361
382
|
},
|
|
362
383
|
};
|
|
363
384
|
};
|
|
@@ -446,32 +467,53 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
446
467
|
readonly authorization?: string
|
|
447
468
|
|
|
448
469
|
/**
|
|
449
|
-
*
|
|
470
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
471
|
+
* @type {number}
|
|
472
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
473
|
+
*/
|
|
474
|
+
readonly pageSize?: number
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
478
|
+
* @type {string}
|
|
479
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
480
|
+
*/
|
|
481
|
+
readonly pageToken?: string
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
450
485
|
* @type {string}
|
|
451
486
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
452
487
|
*/
|
|
453
488
|
readonly filter?: string
|
|
454
489
|
|
|
455
490
|
/**
|
|
456
|
-
*
|
|
491
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
457
492
|
* @type {string}
|
|
458
493
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
459
494
|
*/
|
|
460
|
-
readonly
|
|
495
|
+
readonly search?: string
|
|
461
496
|
|
|
462
497
|
/**
|
|
463
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, startDate, endDate</i>
|
|
498
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
464
499
|
* @type {string}
|
|
465
500
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
466
501
|
*/
|
|
467
502
|
readonly order?: string
|
|
468
503
|
|
|
469
504
|
/**
|
|
470
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
505
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
471
506
|
* @type {string}
|
|
472
507
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
473
508
|
*/
|
|
474
509
|
readonly expand?: string
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
513
|
+
* @type {string}
|
|
514
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
515
|
+
*/
|
|
516
|
+
readonly filters?: string
|
|
475
517
|
}
|
|
476
518
|
|
|
477
519
|
/**
|
|
@@ -526,6 +568,6 @@ export class CommissionAgreementVersionsApi extends BaseAPI {
|
|
|
526
568
|
* @memberof CommissionAgreementVersionsApi
|
|
527
569
|
*/
|
|
528
570
|
public listCommissionAgreementVersions(requestParameters: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest = {}, options?: AxiosRequestConfig) {
|
|
529
|
-
return CommissionAgreementVersionsApiFp(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
571
|
+
return CommissionAgreementVersionsApiFp(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
530
572
|
}
|
|
531
573
|
}
|
|
@@ -186,14 +186,17 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
186
186
|
* Retrieves a list of commission agreements.
|
|
187
187
|
* @summary List commission agreements
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
190
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
189
191
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
190
|
-
* @param {string} [
|
|
192
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
191
193
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
192
194
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
195
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
193
196
|
* @param {*} [options] Override http request option.
|
|
194
197
|
* @throws {RequiredError}
|
|
195
198
|
*/
|
|
196
|
-
listCommissionAgreements: async (authorization?: string, filter?: string,
|
|
199
|
+
listCommissionAgreements: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
200
|
const localVarPath = `/commissionservice/v1/agreements`;
|
|
198
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
202
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -212,12 +215,20 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
212
215
|
// http bearer authentication required
|
|
213
216
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
214
217
|
|
|
218
|
+
if (pageSize !== undefined) {
|
|
219
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (pageToken !== undefined) {
|
|
223
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
224
|
+
}
|
|
225
|
+
|
|
215
226
|
if (filter !== undefined) {
|
|
216
227
|
localVarQueryParameter['filter'] = filter;
|
|
217
228
|
}
|
|
218
229
|
|
|
219
|
-
if (
|
|
220
|
-
localVarQueryParameter['
|
|
230
|
+
if (search !== undefined) {
|
|
231
|
+
localVarQueryParameter['search'] = search;
|
|
221
232
|
}
|
|
222
233
|
|
|
223
234
|
if (order !== undefined) {
|
|
@@ -228,6 +239,10 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
|
|
|
228
239
|
localVarQueryParameter['expand'] = expand;
|
|
229
240
|
}
|
|
230
241
|
|
|
242
|
+
if (filters !== undefined) {
|
|
243
|
+
localVarQueryParameter['filters'] = filters;
|
|
244
|
+
}
|
|
245
|
+
|
|
231
246
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
247
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
233
248
|
}
|
|
@@ -341,15 +356,18 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
|
|
|
341
356
|
* Retrieves a list of commission agreements.
|
|
342
357
|
* @summary List commission agreements
|
|
343
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
360
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
344
361
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
345
|
-
* @param {string} [
|
|
362
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
346
363
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
347
364
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
365
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
348
366
|
* @param {*} [options] Override http request option.
|
|
349
367
|
* @throws {RequiredError}
|
|
350
368
|
*/
|
|
351
|
-
async listCommissionAgreements(authorization?: string, filter?: string,
|
|
352
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreements(authorization, filter,
|
|
369
|
+
async listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>> {
|
|
370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
353
371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
354
372
|
},
|
|
355
373
|
/**
|
|
@@ -412,15 +430,18 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
|
|
|
412
430
|
* Retrieves a list of commission agreements.
|
|
413
431
|
* @summary List commission agreements
|
|
414
432
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
434
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
415
435
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
416
|
-
* @param {string} [
|
|
436
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
417
437
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
418
438
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
439
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
419
440
|
* @param {*} [options] Override http request option.
|
|
420
441
|
* @throws {RequiredError}
|
|
421
442
|
*/
|
|
422
|
-
listCommissionAgreements(authorization?: string, filter?: string,
|
|
423
|
-
return localVarFp.listCommissionAgreements(authorization, filter,
|
|
443
|
+
listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass> {
|
|
444
|
+
return localVarFp.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
424
445
|
},
|
|
425
446
|
/**
|
|
426
447
|
* This will update commission agreement.
|
|
@@ -519,6 +540,20 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
519
540
|
*/
|
|
520
541
|
readonly authorization?: string
|
|
521
542
|
|
|
543
|
+
/**
|
|
544
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
545
|
+
* @type {number}
|
|
546
|
+
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
547
|
+
*/
|
|
548
|
+
readonly pageSize?: number
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
554
|
+
*/
|
|
555
|
+
readonly pageToken?: string
|
|
556
|
+
|
|
522
557
|
/**
|
|
523
558
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
524
559
|
* @type {string}
|
|
@@ -527,11 +562,11 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
527
562
|
readonly filter?: string
|
|
528
563
|
|
|
529
564
|
/**
|
|
530
|
-
*
|
|
565
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
531
566
|
* @type {string}
|
|
532
567
|
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
533
568
|
*/
|
|
534
|
-
readonly
|
|
569
|
+
readonly search?: string
|
|
535
570
|
|
|
536
571
|
/**
|
|
537
572
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
@@ -546,6 +581,13 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
546
581
|
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
547
582
|
*/
|
|
548
583
|
readonly expand?: string
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
589
|
+
*/
|
|
590
|
+
readonly filters?: string
|
|
549
591
|
}
|
|
550
592
|
|
|
551
593
|
/**
|
|
@@ -621,7 +663,7 @@ export class CommissionAgreementsApi extends BaseAPI {
|
|
|
621
663
|
* @memberof CommissionAgreementsApi
|
|
622
664
|
*/
|
|
623
665
|
public listCommissionAgreements(requestParameters: CommissionAgreementsApiListCommissionAgreementsRequest = {}, options?: AxiosRequestConfig) {
|
|
624
|
-
return CommissionAgreementsApiFp(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
666
|
+
return CommissionAgreementsApiFp(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
625
667
|
}
|
|
626
668
|
|
|
627
669
|
/**
|
|
@@ -53,14 +53,17 @@ export declare const CommissionAgreementVersionsApiAxiosParamCreator: (configura
|
|
|
53
53
|
* Retrieves a list of commission agreement versions.
|
|
54
54
|
* @summary List commission agreement versions
|
|
55
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
|
-
* @param {
|
|
57
|
-
* @param {string} [
|
|
58
|
-
* @param {string} [
|
|
59
|
-
* @param {string} [
|
|
56
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
58
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
59
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
60
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
61
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
62
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
60
63
|
* @param {*} [options] Override http request option.
|
|
61
64
|
* @throws {RequiredError}
|
|
62
65
|
*/
|
|
63
|
-
listCommissionAgreementVersions: (authorization?: string, filter?: string,
|
|
66
|
+
listCommissionAgreementVersions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
67
|
};
|
|
65
68
|
/**
|
|
66
69
|
* CommissionAgreementVersionsApi - functional programming interface
|
|
@@ -99,14 +102,17 @@ export declare const CommissionAgreementVersionsApiFp: (configuration?: Configur
|
|
|
99
102
|
* Retrieves a list of commission agreement versions.
|
|
100
103
|
* @summary List commission agreement versions
|
|
101
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {string} [
|
|
104
|
-
* @param {string} [
|
|
105
|
-
* @param {string} [
|
|
105
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
107
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
108
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
109
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
110
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
111
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
106
112
|
* @param {*} [options] Override http request option.
|
|
107
113
|
* @throws {RequiredError}
|
|
108
114
|
*/
|
|
109
|
-
listCommissionAgreementVersions(authorization?: string, filter?: string,
|
|
115
|
+
listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>>;
|
|
110
116
|
};
|
|
111
117
|
/**
|
|
112
118
|
* CommissionAgreementVersionsApi - factory interface
|
|
@@ -145,14 +151,17 @@ export declare const CommissionAgreementVersionsApiFactory: (configuration?: Con
|
|
|
145
151
|
* Retrieves a list of commission agreement versions.
|
|
146
152
|
* @summary List commission agreement versions
|
|
147
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
148
|
-
* @param {
|
|
149
|
-
* @param {string} [
|
|
150
|
-
* @param {string} [
|
|
151
|
-
* @param {string} [
|
|
154
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
156
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
157
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
158
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
159
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
160
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
152
161
|
* @param {*} [options] Override http request option.
|
|
153
162
|
* @throws {RequiredError}
|
|
154
163
|
*/
|
|
155
|
-
listCommissionAgreementVersions(authorization?: string, filter?: string,
|
|
164
|
+
listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass>;
|
|
156
165
|
};
|
|
157
166
|
/**
|
|
158
167
|
* Request parameters for createCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
@@ -230,29 +239,47 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
|
|
|
230
239
|
*/
|
|
231
240
|
readonly authorization?: string;
|
|
232
241
|
/**
|
|
233
|
-
*
|
|
242
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
243
|
+
* @type {number}
|
|
244
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
245
|
+
*/
|
|
246
|
+
readonly pageSize?: number;
|
|
247
|
+
/**
|
|
248
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
249
|
+
* @type {string}
|
|
250
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
251
|
+
*/
|
|
252
|
+
readonly pageToken?: string;
|
|
253
|
+
/**
|
|
254
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
234
255
|
* @type {string}
|
|
235
256
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
236
257
|
*/
|
|
237
258
|
readonly filter?: string;
|
|
238
259
|
/**
|
|
239
|
-
*
|
|
260
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
240
261
|
* @type {string}
|
|
241
262
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
242
263
|
*/
|
|
243
|
-
readonly
|
|
264
|
+
readonly search?: string;
|
|
244
265
|
/**
|
|
245
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, startDate, endDate</i>
|
|
266
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
246
267
|
* @type {string}
|
|
247
268
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
248
269
|
*/
|
|
249
270
|
readonly order?: string;
|
|
250
271
|
/**
|
|
251
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
272
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
252
273
|
* @type {string}
|
|
253
274
|
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
254
275
|
*/
|
|
255
276
|
readonly expand?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
281
|
+
*/
|
|
282
|
+
readonly filters?: string;
|
|
256
283
|
}
|
|
257
284
|
/**
|
|
258
285
|
* CommissionAgreementVersionsApi - object-oriented interface
|
|
@@ -247,14 +247,17 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* Retrieves a list of commission agreement versions.
|
|
248
248
|
* @summary List commission agreement versions
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {string} [
|
|
252
|
-
* @param {string} [
|
|
253
|
-
* @param {string} [
|
|
250
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
252
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
253
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
254
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
255
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
256
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
254
257
|
* @param {*} [options] Override http request option.
|
|
255
258
|
* @throws {RequiredError}
|
|
256
259
|
*/
|
|
257
|
-
listCommissionAgreementVersions: function (authorization, filter,
|
|
260
|
+
listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
261
|
if (options === void 0) { options = {}; }
|
|
259
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
260
263
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -277,11 +280,17 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
277
280
|
// authentication bearer required
|
|
278
281
|
// http bearer authentication required
|
|
279
282
|
_a.sent();
|
|
283
|
+
if (pageSize !== undefined) {
|
|
284
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
285
|
+
}
|
|
286
|
+
if (pageToken !== undefined) {
|
|
287
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
288
|
+
}
|
|
280
289
|
if (filter !== undefined) {
|
|
281
290
|
localVarQueryParameter['filter'] = filter;
|
|
282
291
|
}
|
|
283
|
-
if (
|
|
284
|
-
localVarQueryParameter['
|
|
292
|
+
if (search !== undefined) {
|
|
293
|
+
localVarQueryParameter['search'] = search;
|
|
285
294
|
}
|
|
286
295
|
if (order !== undefined) {
|
|
287
296
|
localVarQueryParameter['order'] = order;
|
|
@@ -289,6 +298,9 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
|
|
|
289
298
|
if (expand !== undefined) {
|
|
290
299
|
localVarQueryParameter['expand'] = expand;
|
|
291
300
|
}
|
|
301
|
+
if (filters !== undefined) {
|
|
302
|
+
localVarQueryParameter['filters'] = filters;
|
|
303
|
+
}
|
|
292
304
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
293
305
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
294
306
|
}
|
|
@@ -381,19 +393,22 @@ var CommissionAgreementVersionsApiFp = function (configuration) {
|
|
|
381
393
|
* Retrieves a list of commission agreement versions.
|
|
382
394
|
* @summary List commission agreement versions
|
|
383
395
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
|
-
* @param {
|
|
385
|
-
* @param {string} [
|
|
386
|
-
* @param {string} [
|
|
387
|
-
* @param {string} [
|
|
396
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
397
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
398
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
399
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
400
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
401
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
402
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
388
403
|
* @param {*} [options] Override http request option.
|
|
389
404
|
* @throws {RequiredError}
|
|
390
405
|
*/
|
|
391
|
-
listCommissionAgreementVersions: function (authorization, filter,
|
|
406
|
+
listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
392
407
|
return __awaiter(this, void 0, void 0, function () {
|
|
393
408
|
var localVarAxiosArgs;
|
|
394
409
|
return __generator(this, function (_a) {
|
|
395
410
|
switch (_a.label) {
|
|
396
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, filter,
|
|
411
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
397
412
|
case 1:
|
|
398
413
|
localVarAxiosArgs = _a.sent();
|
|
399
414
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -449,15 +464,18 @@ var CommissionAgreementVersionsApiFactory = function (configuration, basePath, a
|
|
|
449
464
|
* Retrieves a list of commission agreement versions.
|
|
450
465
|
* @summary List commission agreement versions
|
|
451
466
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
452
|
-
* @param {
|
|
453
|
-
* @param {string} [
|
|
454
|
-
* @param {string} [
|
|
455
|
-
* @param {string} [
|
|
467
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
468
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
469
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
470
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
471
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
|
|
472
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
|
|
473
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
|
|
456
474
|
* @param {*} [options] Override http request option.
|
|
457
475
|
* @throws {RequiredError}
|
|
458
476
|
*/
|
|
459
|
-
listCommissionAgreementVersions: function (authorization, filter,
|
|
460
|
-
return localVarFp.listCommissionAgreementVersions(authorization, filter,
|
|
477
|
+
listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
478
|
+
return localVarFp.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
461
479
|
},
|
|
462
480
|
};
|
|
463
481
|
};
|
|
@@ -520,7 +538,7 @@ var CommissionAgreementVersionsApi = /** @class */ (function (_super) {
|
|
|
520
538
|
CommissionAgreementVersionsApi.prototype.listCommissionAgreementVersions = function (requestParameters, options) {
|
|
521
539
|
var _this = this;
|
|
522
540
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
523
|
-
return (0, exports.CommissionAgreementVersionsApiFp)(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
541
|
+
return (0, exports.CommissionAgreementVersionsApiFp)(this.configuration).listCommissionAgreementVersions(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); });
|
|
524
542
|
};
|
|
525
543
|
return CommissionAgreementVersionsApi;
|
|
526
544
|
}(base_1.BaseAPI));
|
|
@@ -55,14 +55,17 @@ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?:
|
|
|
55
55
|
* Retrieves a list of commission agreements.
|
|
56
56
|
* @summary List commission agreements
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
59
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
58
60
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
59
|
-
* @param {string} [
|
|
61
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
60
62
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
61
63
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
64
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
62
65
|
* @param {*} [options] Override http request option.
|
|
63
66
|
* @throws {RequiredError}
|
|
64
67
|
*/
|
|
65
|
-
listCommissionAgreements: (authorization?: string, filter?: string,
|
|
68
|
+
listCommissionAgreements: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
69
|
/**
|
|
67
70
|
* This will update commission agreement.
|
|
68
71
|
* @summary Update the commission agreement
|
|
@@ -110,14 +113,17 @@ export declare const CommissionAgreementsApiFp: (configuration?: Configuration)
|
|
|
110
113
|
* Retrieves a list of commission agreements.
|
|
111
114
|
* @summary List commission agreements
|
|
112
115
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
116
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
117
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
113
118
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
114
|
-
* @param {string} [
|
|
119
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
115
120
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
116
121
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
122
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
117
123
|
* @param {*} [options] Override http request option.
|
|
118
124
|
* @throws {RequiredError}
|
|
119
125
|
*/
|
|
120
|
-
listCommissionAgreements(authorization?: string, filter?: string,
|
|
126
|
+
listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>>;
|
|
121
127
|
/**
|
|
122
128
|
* This will update commission agreement.
|
|
123
129
|
* @summary Update the commission agreement
|
|
@@ -165,14 +171,17 @@ export declare const CommissionAgreementsApiFactory: (configuration?: Configurat
|
|
|
165
171
|
* Retrieves a list of commission agreements.
|
|
166
172
|
* @summary List commission agreements
|
|
167
173
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
174
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
175
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
168
176
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
169
|
-
* @param {string} [
|
|
177
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
170
178
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
171
179
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
180
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
172
181
|
* @param {*} [options] Override http request option.
|
|
173
182
|
* @throws {RequiredError}
|
|
174
183
|
*/
|
|
175
|
-
listCommissionAgreements(authorization?: string, filter?: string,
|
|
184
|
+
listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass>;
|
|
176
185
|
/**
|
|
177
186
|
* This will update commission agreement.
|
|
178
187
|
* @summary Update the commission agreement
|
|
@@ -258,6 +267,18 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
258
267
|
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
259
268
|
*/
|
|
260
269
|
readonly authorization?: string;
|
|
270
|
+
/**
|
|
271
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
272
|
+
* @type {number}
|
|
273
|
+
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
274
|
+
*/
|
|
275
|
+
readonly pageSize?: number;
|
|
276
|
+
/**
|
|
277
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
280
|
+
*/
|
|
281
|
+
readonly pageToken?: string;
|
|
261
282
|
/**
|
|
262
283
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
263
284
|
* @type {string}
|
|
@@ -265,11 +286,11 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
265
286
|
*/
|
|
266
287
|
readonly filter?: string;
|
|
267
288
|
/**
|
|
268
|
-
*
|
|
289
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
269
290
|
* @type {string}
|
|
270
291
|
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
271
292
|
*/
|
|
272
|
-
readonly
|
|
293
|
+
readonly search?: string;
|
|
273
294
|
/**
|
|
274
295
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
275
296
|
* @type {string}
|
|
@@ -282,6 +303,12 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
|
|
|
282
303
|
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
283
304
|
*/
|
|
284
305
|
readonly expand?: string;
|
|
306
|
+
/**
|
|
307
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof CommissionAgreementsApiListCommissionAgreements
|
|
310
|
+
*/
|
|
311
|
+
readonly filters?: string;
|
|
285
312
|
}
|
|
286
313
|
/**
|
|
287
314
|
* Request parameters for updateCommissionAgreement operation in CommissionAgreementsApi.
|
|
@@ -247,14 +247,17 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* Retrieves a list of commission agreements.
|
|
248
248
|
* @summary List commission agreements
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
251
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
250
252
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
251
|
-
* @param {string} [
|
|
253
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
254
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
253
255
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
256
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
254
257
|
* @param {*} [options] Override http request option.
|
|
255
258
|
* @throws {RequiredError}
|
|
256
259
|
*/
|
|
257
|
-
listCommissionAgreements: function (authorization, filter,
|
|
260
|
+
listCommissionAgreements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
258
261
|
if (options === void 0) { options = {}; }
|
|
259
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
260
263
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -277,11 +280,17 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
|
|
|
277
280
|
// authentication bearer required
|
|
278
281
|
// http bearer authentication required
|
|
279
282
|
_a.sent();
|
|
283
|
+
if (pageSize !== undefined) {
|
|
284
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
285
|
+
}
|
|
286
|
+
if (pageToken !== undefined) {
|
|
287
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
288
|
+
}
|
|
280
289
|
if (filter !== undefined) {
|
|
281
290
|
localVarQueryParameter['filter'] = filter;
|
|
282
291
|
}
|
|
283
|
-
if (
|
|
284
|
-
localVarQueryParameter['
|
|
292
|
+
if (search !== undefined) {
|
|
293
|
+
localVarQueryParameter['search'] = search;
|
|
285
294
|
}
|
|
286
295
|
if (order !== undefined) {
|
|
287
296
|
localVarQueryParameter['order'] = order;
|
|
@@ -289,6 +298,9 @@ var CommissionAgreementsApiAxiosParamCreator = function (configuration) {
|
|
|
289
298
|
if (expand !== undefined) {
|
|
290
299
|
localVarQueryParameter['expand'] = expand;
|
|
291
300
|
}
|
|
301
|
+
if (filters !== undefined) {
|
|
302
|
+
localVarQueryParameter['filters'] = filters;
|
|
303
|
+
}
|
|
292
304
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
293
305
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
294
306
|
}
|
|
@@ -430,19 +442,22 @@ var CommissionAgreementsApiFp = function (configuration) {
|
|
|
430
442
|
* Retrieves a list of commission agreements.
|
|
431
443
|
* @summary List commission agreements
|
|
432
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
445
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
446
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
433
447
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
434
|
-
* @param {string} [
|
|
448
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
435
449
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
436
450
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
451
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
437
452
|
* @param {*} [options] Override http request option.
|
|
438
453
|
* @throws {RequiredError}
|
|
439
454
|
*/
|
|
440
|
-
listCommissionAgreements: function (authorization, filter,
|
|
455
|
+
listCommissionAgreements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
441
456
|
return __awaiter(this, void 0, void 0, function () {
|
|
442
457
|
var localVarAxiosArgs;
|
|
443
458
|
return __generator(this, function (_a) {
|
|
444
459
|
switch (_a.label) {
|
|
445
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreements(authorization, filter,
|
|
460
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
446
461
|
case 1:
|
|
447
462
|
localVarAxiosArgs = _a.sent();
|
|
448
463
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -519,15 +534,18 @@ var CommissionAgreementsApiFactory = function (configuration, basePath, axios) {
|
|
|
519
534
|
* Retrieves a list of commission agreements.
|
|
520
535
|
* @summary List commission agreements
|
|
521
536
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
537
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
538
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
522
539
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
523
|
-
* @param {string} [
|
|
540
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
524
541
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
525
542
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
543
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, createdAt</i>
|
|
526
544
|
* @param {*} [options] Override http request option.
|
|
527
545
|
* @throws {RequiredError}
|
|
528
546
|
*/
|
|
529
|
-
listCommissionAgreements: function (authorization, filter,
|
|
530
|
-
return localVarFp.listCommissionAgreements(authorization, filter,
|
|
547
|
+
listCommissionAgreements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
548
|
+
return localVarFp.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
531
549
|
},
|
|
532
550
|
/**
|
|
533
551
|
* This will update commission agreement.
|
|
@@ -601,7 +619,7 @@ var CommissionAgreementsApi = /** @class */ (function (_super) {
|
|
|
601
619
|
CommissionAgreementsApi.prototype.listCommissionAgreements = function (requestParameters, options) {
|
|
602
620
|
var _this = this;
|
|
603
621
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
604
|
-
return (0, exports.CommissionAgreementsApiFp)(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.filter, requestParameters.
|
|
622
|
+
return (0, exports.CommissionAgreementsApiFp)(this.configuration).listCommissionAgreements(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); });
|
|
605
623
|
};
|
|
606
624
|
/**
|
|
607
625
|
* This will update commission agreement.
|