@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20231122.1 → 1.20231206.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,20 +38,16 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
38
38
  * Creates a new CommissionAgencyRep
39
39
  * @summary Create CommissionAgencyRep
40
40
  * @param {string} vbasoftwareDatabase Target database
41
- * @param {number} commAgencyKey CommissionAgency Key
42
41
  * @param {CommissionAgencyRep} commissionAgencyRep
43
42
  * @param {*} [options] Override http request option.
44
43
  * @throws {RequiredError}
45
44
  */
46
- createCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: CommissionAgencyRep, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45
+ createCommissionAgencyRep: async (vbasoftwareDatabase: string, commissionAgencyRep: CommissionAgencyRep, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47
46
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
48
47
  assertParamExists('createCommissionAgencyRep', 'vbasoftwareDatabase', vbasoftwareDatabase)
49
- // verify required parameter 'commAgencyKey' is not null or undefined
50
- assertParamExists('createCommissionAgencyRep', 'commAgencyKey', commAgencyKey)
51
48
  // verify required parameter 'commissionAgencyRep' is not null or undefined
52
49
  assertParamExists('createCommissionAgencyRep', 'commissionAgencyRep', commissionAgencyRep)
53
- const localVarPath = `/commission-agencies/{commAgencyKey}/commission-agency-reps`
54
- .replace(`{${"commAgencyKey"}}`, encodeURIComponent(String(commAgencyKey)));
50
+ const localVarPath = `/commission-agency-reps`;
55
51
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
56
52
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57
53
  let baseOptions;
@@ -92,20 +88,16 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
92
88
  * Deletes an CommissionAgencyRep
93
89
  * @summary Delete CommissionAgencyRep
94
90
  * @param {string} vbasoftwareDatabase Target database
95
- * @param {number} commAgencyKey CommissionAgency Key
96
91
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
97
92
  * @param {*} [options] Override http request option.
98
93
  * @throws {RequiredError}
99
94
  */
100
- deleteCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
95
+ deleteCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyRepKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
96
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
102
97
  assertParamExists('deleteCommissionAgencyRep', 'vbasoftwareDatabase', vbasoftwareDatabase)
103
- // verify required parameter 'commAgencyKey' is not null or undefined
104
- assertParamExists('deleteCommissionAgencyRep', 'commAgencyKey', commAgencyKey)
105
98
  // verify required parameter 'commAgencyRepKey' is not null or undefined
106
99
  assertParamExists('deleteCommissionAgencyRep', 'commAgencyRepKey', commAgencyRepKey)
107
- const localVarPath = `/commission-agencies/{commAgencyKey}/commission-agency-reps/{commAgencyRepKey}`
108
- .replace(`{${"commAgencyKey"}}`, encodeURIComponent(String(commAgencyKey)))
100
+ const localVarPath = `/commission-agency-reps/{commAgencyRepKey}`
109
101
  .replace(`{${"commAgencyRepKey"}}`, encodeURIComponent(String(commAgencyRepKey)));
110
102
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
111
103
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -144,20 +136,16 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
144
136
  * Gets CommissionAgencyRep
145
137
  * @summary Get CommissionAgencyRep
146
138
  * @param {string} vbasoftwareDatabase Target database
147
- * @param {number} commAgencyKey CommissionAgency Key
148
139
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
149
140
  * @param {*} [options] Override http request option.
150
141
  * @throws {RequiredError}
151
142
  */
152
- getCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
143
+ getCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyRepKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
153
144
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
154
145
  assertParamExists('getCommissionAgencyRep', 'vbasoftwareDatabase', vbasoftwareDatabase)
155
- // verify required parameter 'commAgencyKey' is not null or undefined
156
- assertParamExists('getCommissionAgencyRep', 'commAgencyKey', commAgencyKey)
157
146
  // verify required parameter 'commAgencyRepKey' is not null or undefined
158
147
  assertParamExists('getCommissionAgencyRep', 'commAgencyRepKey', commAgencyRepKey)
159
- const localVarPath = `/commission-agencies/{commAgencyKey}/commission-agency-reps/{commAgencyRepKey}`
160
- .replace(`{${"commAgencyKey"}}`, encodeURIComponent(String(commAgencyKey)))
148
+ const localVarPath = `/commission-agency-reps/{commAgencyRepKey}`
161
149
  .replace(`{${"commAgencyRepKey"}}`, encodeURIComponent(String(commAgencyRepKey)));
162
150
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
163
151
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -193,22 +181,19 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
193
181
  };
194
182
  },
195
183
  /**
196
- * Lists all CommissionAgencyRep for the given commAgencyKey
197
- * @summary List CommissionAgencyRep
184
+ * Lists all Commission Agency Representatives for the optional Commission Agency key, with pagination.
185
+ * @summary List Commission Agency Representatives
198
186
  * @param {string} vbasoftwareDatabase Target database
199
- * @param {number} commAgencyKey CommissionAgency Key
187
+ * @param {number} [commAgencyKey] CommissionAgency Key
200
188
  * @param {number} [page] Page
201
189
  * @param {number} [pageSize] Page Size
202
190
  * @param {*} [options] Override http request option.
203
191
  * @throws {RequiredError}
204
192
  */
205
- listCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey: number, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
+ listCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey?: number, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
206
194
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
207
195
  assertParamExists('listCommissionAgencyRep', 'vbasoftwareDatabase', vbasoftwareDatabase)
208
- // verify required parameter 'commAgencyKey' is not null or undefined
209
- assertParamExists('listCommissionAgencyRep', 'commAgencyKey', commAgencyKey)
210
- const localVarPath = `/commission-agencies/{commAgencyKey}/commission-agency-reps`
211
- .replace(`{${"commAgencyKey"}}`, encodeURIComponent(String(commAgencyKey)));
196
+ const localVarPath = `/commission-agency-reps`;
212
197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
213
198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
214
199
  let baseOptions;
@@ -227,6 +212,10 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
227
212
  // http bearer authentication required
228
213
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
229
214
 
215
+ if (commAgencyKey !== undefined) {
216
+ localVarQueryParameter['commAgencyKey'] = commAgencyKey;
217
+ }
218
+
230
219
  if (page !== undefined) {
231
220
  localVarQueryParameter['page'] = page;
232
221
  }
@@ -254,20 +243,16 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
254
243
  * Create or Update multiple CommissionAgencyRep at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
255
244
  * @summary Create or Update Batch CommissionAgencyRep
256
245
  * @param {string} vbasoftwareDatabase Target database
257
- * @param {number} commAgencyKey CommissionAgency Key
258
246
  * @param {Array<CommissionAgencyRep>} commissionAgencyRep
259
247
  * @param {*} [options] Override http request option.
260
248
  * @throws {RequiredError}
261
249
  */
262
- updateBatchCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: Array<CommissionAgencyRep>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
250
+ updateBatchCommissionAgencyRep: async (vbasoftwareDatabase: string, commissionAgencyRep: Array<CommissionAgencyRep>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
263
251
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
264
252
  assertParamExists('updateBatchCommissionAgencyRep', 'vbasoftwareDatabase', vbasoftwareDatabase)
265
- // verify required parameter 'commAgencyKey' is not null or undefined
266
- assertParamExists('updateBatchCommissionAgencyRep', 'commAgencyKey', commAgencyKey)
267
253
  // verify required parameter 'commissionAgencyRep' is not null or undefined
268
254
  assertParamExists('updateBatchCommissionAgencyRep', 'commissionAgencyRep', commissionAgencyRep)
269
- const localVarPath = `/commission-agencies/{commAgencyKey}/commission-agency-reps-batch`
270
- .replace(`{${"commAgencyKey"}}`, encodeURIComponent(String(commAgencyKey)));
255
+ const localVarPath = `/commission-agency-reps-batch`;
271
256
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
272
257
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
273
258
  let baseOptions;
@@ -308,23 +293,19 @@ export const CommissionAgencyRepsApiAxiosParamCreator = function (configuration?
308
293
  * Updates a specific CommissionAgencyRep.
309
294
  * @summary Update CommissionAgencyRep
310
295
  * @param {string} vbasoftwareDatabase Target database
311
- * @param {number} commAgencyKey CommissionAgency Key
312
296
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
313
297
  * @param {CommissionAgencyRep} commissionAgencyRep
314
298
  * @param {*} [options] Override http request option.
315
299
  * @throws {RequiredError}
316
300
  */
317
- updateCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
301
+ updateCommissionAgencyRep: async (vbasoftwareDatabase: string, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
318
302
  // verify required parameter 'vbasoftwareDatabase' is not null or undefined
319
303
  assertParamExists('updateCommissionAgencyRep', 'vbasoftwareDatabase', vbasoftwareDatabase)
320
- // verify required parameter 'commAgencyKey' is not null or undefined
321
- assertParamExists('updateCommissionAgencyRep', 'commAgencyKey', commAgencyKey)
322
304
  // verify required parameter 'commAgencyRepKey' is not null or undefined
323
305
  assertParamExists('updateCommissionAgencyRep', 'commAgencyRepKey', commAgencyRepKey)
324
306
  // verify required parameter 'commissionAgencyRep' is not null or undefined
325
307
  assertParamExists('updateCommissionAgencyRep', 'commissionAgencyRep', commissionAgencyRep)
326
- const localVarPath = `/commission-agencies/{commAgencyKey}/commission-agency-reps/{commAgencyRepKey}`
327
- .replace(`{${"commAgencyKey"}}`, encodeURIComponent(String(commAgencyKey)))
308
+ const localVarPath = `/commission-agency-reps/{commAgencyRepKey}`
328
309
  .replace(`{${"commAgencyRepKey"}}`, encodeURIComponent(String(commAgencyRepKey)));
329
310
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
330
311
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -376,52 +357,49 @@ export const CommissionAgencyRepsApiFp = function(configuration?: Configuration)
376
357
  * Creates a new CommissionAgencyRep
377
358
  * @summary Create CommissionAgencyRep
378
359
  * @param {string} vbasoftwareDatabase Target database
379
- * @param {number} commAgencyKey CommissionAgency Key
380
360
  * @param {CommissionAgencyRep} commissionAgencyRep
381
361
  * @param {*} [options] Override http request option.
382
362
  * @throws {RequiredError}
383
363
  */
384
- async createCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepVBAResponse>> {
385
- const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commissionAgencyRep, options);
364
+ async createCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepVBAResponse>> {
365
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionAgencyRep(vbasoftwareDatabase, commissionAgencyRep, options);
386
366
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
387
367
  },
388
368
  /**
389
369
  * Deletes an CommissionAgencyRep
390
370
  * @summary Delete CommissionAgencyRep
391
371
  * @param {string} vbasoftwareDatabase Target database
392
- * @param {number} commAgencyKey CommissionAgency Key
393
372
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
394
373
  * @param {*} [options] Override http request option.
395
374
  * @throws {RequiredError}
396
375
  */
397
- async deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
398
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, options);
376
+ async deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
377
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, options);
399
378
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
400
379
  },
401
380
  /**
402
381
  * Gets CommissionAgencyRep
403
382
  * @summary Get CommissionAgencyRep
404
383
  * @param {string} vbasoftwareDatabase Target database
405
- * @param {number} commAgencyKey CommissionAgency Key
406
384
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
407
385
  * @param {*} [options] Override http request option.
408
386
  * @throws {RequiredError}
409
387
  */
410
- async getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepVBAResponse>> {
411
- const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, options);
388
+ async getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepVBAResponse>> {
389
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, options);
412
390
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
413
391
  },
414
392
  /**
415
- * Lists all CommissionAgencyRep for the given commAgencyKey
416
- * @summary List CommissionAgencyRep
393
+ * Lists all Commission Agency Representatives for the optional Commission Agency key, with pagination.
394
+ * @summary List Commission Agency Representatives
417
395
  * @param {string} vbasoftwareDatabase Target database
418
- * @param {number} commAgencyKey CommissionAgency Key
396
+ * @param {number} [commAgencyKey] CommissionAgency Key
419
397
  * @param {number} [page] Page
420
398
  * @param {number} [pageSize] Page Size
421
399
  * @param {*} [options] Override http request option.
422
400
  * @throws {RequiredError}
423
401
  */
424
- async listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepListVBAResponse>> {
402
+ async listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepListVBAResponse>> {
425
403
  const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, page, pageSize, options);
426
404
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
405
  },
@@ -429,27 +407,25 @@ export const CommissionAgencyRepsApiFp = function(configuration?: Configuration)
429
407
  * Create or Update multiple CommissionAgencyRep at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
430
408
  * @summary Create or Update Batch CommissionAgencyRep
431
409
  * @param {string} vbasoftwareDatabase Target database
432
- * @param {number} commAgencyKey CommissionAgency Key
433
410
  * @param {Array<CommissionAgencyRep>} commissionAgencyRep
434
411
  * @param {*} [options] Override http request option.
435
412
  * @throws {RequiredError}
436
413
  */
437
- async updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: Array<CommissionAgencyRep>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
438
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commissionAgencyRep, options);
414
+ async updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: Array<CommissionAgencyRep>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MultiCodeResponseListVBAResponse>> {
415
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBatchCommissionAgencyRep(vbasoftwareDatabase, commissionAgencyRep, options);
439
416
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
440
417
  },
441
418
  /**
442
419
  * Updates a specific CommissionAgencyRep.
443
420
  * @summary Update CommissionAgencyRep
444
421
  * @param {string} vbasoftwareDatabase Target database
445
- * @param {number} commAgencyKey CommissionAgency Key
446
422
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
447
423
  * @param {CommissionAgencyRep} commissionAgencyRep
448
424
  * @param {*} [options] Override http request option.
449
425
  * @throws {RequiredError}
450
426
  */
451
- async updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepVBAResponse>> {
452
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, commissionAgencyRep, options);
427
+ async updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommissionAgencyRepVBAResponse>> {
428
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, commissionAgencyRep, options);
453
429
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
454
430
  },
455
431
  }
@@ -466,75 +442,70 @@ export const CommissionAgencyRepsApiFactory = function (configuration?: Configur
466
442
  * Creates a new CommissionAgencyRep
467
443
  * @summary Create CommissionAgencyRep
468
444
  * @param {string} vbasoftwareDatabase Target database
469
- * @param {number} commAgencyKey CommissionAgency Key
470
445
  * @param {CommissionAgencyRep} commissionAgencyRep
471
446
  * @param {*} [options] Override http request option.
472
447
  * @throws {RequiredError}
473
448
  */
474
- createCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: CommissionAgencyRep, options?: any): AxiosPromise<CommissionAgencyRepVBAResponse> {
475
- return localVarFp.createCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commissionAgencyRep, options).then((request) => request(axios, basePath));
449
+ createCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: CommissionAgencyRep, options?: any): AxiosPromise<CommissionAgencyRepVBAResponse> {
450
+ return localVarFp.createCommissionAgencyRep(vbasoftwareDatabase, commissionAgencyRep, options).then((request) => request(axios, basePath));
476
451
  },
477
452
  /**
478
453
  * Deletes an CommissionAgencyRep
479
454
  * @summary Delete CommissionAgencyRep
480
455
  * @param {string} vbasoftwareDatabase Target database
481
- * @param {number} commAgencyKey CommissionAgency Key
482
456
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
483
457
  * @param {*} [options] Override http request option.
484
458
  * @throws {RequiredError}
485
459
  */
486
- deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: any): AxiosPromise<void> {
487
- return localVarFp.deleteCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, options).then((request) => request(axios, basePath));
460
+ deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: any): AxiosPromise<void> {
461
+ return localVarFp.deleteCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, options).then((request) => request(axios, basePath));
488
462
  },
489
463
  /**
490
464
  * Gets CommissionAgencyRep
491
465
  * @summary Get CommissionAgencyRep
492
466
  * @param {string} vbasoftwareDatabase Target database
493
- * @param {number} commAgencyKey CommissionAgency Key
494
467
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
495
468
  * @param {*} [options] Override http request option.
496
469
  * @throws {RequiredError}
497
470
  */
498
- getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: any): AxiosPromise<CommissionAgencyRepVBAResponse> {
499
- return localVarFp.getCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, options).then((request) => request(axios, basePath));
471
+ getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: any): AxiosPromise<CommissionAgencyRepVBAResponse> {
472
+ return localVarFp.getCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, options).then((request) => request(axios, basePath));
500
473
  },
501
474
  /**
502
- * Lists all CommissionAgencyRep for the given commAgencyKey
503
- * @summary List CommissionAgencyRep
475
+ * Lists all Commission Agency Representatives for the optional Commission Agency key, with pagination.
476
+ * @summary List Commission Agency Representatives
504
477
  * @param {string} vbasoftwareDatabase Target database
505
- * @param {number} commAgencyKey CommissionAgency Key
478
+ * @param {number} [commAgencyKey] CommissionAgency Key
506
479
  * @param {number} [page] Page
507
480
  * @param {number} [pageSize] Page Size
508
481
  * @param {*} [options] Override http request option.
509
482
  * @throws {RequiredError}
510
483
  */
511
- listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, page?: number, pageSize?: number, options?: any): AxiosPromise<CommissionAgencyRepListVBAResponse> {
484
+ listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey?: number, page?: number, pageSize?: number, options?: any): AxiosPromise<CommissionAgencyRepListVBAResponse> {
512
485
  return localVarFp.listCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, page, pageSize, options).then((request) => request(axios, basePath));
513
486
  },
514
487
  /**
515
488
  * Create or Update multiple CommissionAgencyRep at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
516
489
  * @summary Create or Update Batch CommissionAgencyRep
517
490
  * @param {string} vbasoftwareDatabase Target database
518
- * @param {number} commAgencyKey CommissionAgency Key
519
491
  * @param {Array<CommissionAgencyRep>} commissionAgencyRep
520
492
  * @param {*} [options] Override http request option.
521
493
  * @throws {RequiredError}
522
494
  */
523
- updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: Array<CommissionAgencyRep>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
524
- return localVarFp.updateBatchCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commissionAgencyRep, options).then((request) => request(axios, basePath));
495
+ updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: Array<CommissionAgencyRep>, options?: any): AxiosPromise<MultiCodeResponseListVBAResponse> {
496
+ return localVarFp.updateBatchCommissionAgencyRep(vbasoftwareDatabase, commissionAgencyRep, options).then((request) => request(axios, basePath));
525
497
  },
526
498
  /**
527
499
  * Updates a specific CommissionAgencyRep.
528
500
  * @summary Update CommissionAgencyRep
529
501
  * @param {string} vbasoftwareDatabase Target database
530
- * @param {number} commAgencyKey CommissionAgency Key
531
502
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
532
503
  * @param {CommissionAgencyRep} commissionAgencyRep
533
504
  * @param {*} [options] Override http request option.
534
505
  * @throws {RequiredError}
535
506
  */
536
- updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: any): AxiosPromise<CommissionAgencyRepVBAResponse> {
537
- return localVarFp.updateCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, commissionAgencyRep, options).then((request) => request(axios, basePath));
507
+ updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: any): AxiosPromise<CommissionAgencyRepVBAResponse> {
508
+ return localVarFp.updateCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, commissionAgencyRep, options).then((request) => request(axios, basePath));
538
509
  },
539
510
  };
540
511
  };
@@ -549,75 +520,70 @@ export interface CommissionAgencyRepsApiInterface {
549
520
  * Creates a new CommissionAgencyRep
550
521
  * @summary Create CommissionAgencyRep
551
522
  * @param {string} vbasoftwareDatabase Target database
552
- * @param {number} commAgencyKey CommissionAgency Key
553
523
  * @param {CommissionAgencyRep} commissionAgencyRep
554
524
  * @param {*} [options] Override http request option.
555
525
  * @throws {RequiredError}
556
526
  * @memberof CommissionAgencyRepsApiInterface
557
527
  */
558
- createCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepVBAResponse>;
528
+ createCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepVBAResponse>;
559
529
 
560
530
  /**
561
531
  * Deletes an CommissionAgencyRep
562
532
  * @summary Delete CommissionAgencyRep
563
533
  * @param {string} vbasoftwareDatabase Target database
564
- * @param {number} commAgencyKey CommissionAgency Key
565
534
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
566
535
  * @param {*} [options] Override http request option.
567
536
  * @throws {RequiredError}
568
537
  * @memberof CommissionAgencyRepsApiInterface
569
538
  */
570
- deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
539
+ deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
571
540
 
572
541
  /**
573
542
  * Gets CommissionAgencyRep
574
543
  * @summary Get CommissionAgencyRep
575
544
  * @param {string} vbasoftwareDatabase Target database
576
- * @param {number} commAgencyKey CommissionAgency Key
577
545
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
578
546
  * @param {*} [options] Override http request option.
579
547
  * @throws {RequiredError}
580
548
  * @memberof CommissionAgencyRepsApiInterface
581
549
  */
582
- getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepVBAResponse>;
550
+ getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepVBAResponse>;
583
551
 
584
552
  /**
585
- * Lists all CommissionAgencyRep for the given commAgencyKey
586
- * @summary List CommissionAgencyRep
553
+ * Lists all Commission Agency Representatives for the optional Commission Agency key, with pagination.
554
+ * @summary List Commission Agency Representatives
587
555
  * @param {string} vbasoftwareDatabase Target database
588
- * @param {number} commAgencyKey CommissionAgency Key
556
+ * @param {number} [commAgencyKey] CommissionAgency Key
589
557
  * @param {number} [page] Page
590
558
  * @param {number} [pageSize] Page Size
591
559
  * @param {*} [options] Override http request option.
592
560
  * @throws {RequiredError}
593
561
  * @memberof CommissionAgencyRepsApiInterface
594
562
  */
595
- listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepListVBAResponse>;
563
+ listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepListVBAResponse>;
596
564
 
597
565
  /**
598
566
  * Create or Update multiple CommissionAgencyRep at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
599
567
  * @summary Create or Update Batch CommissionAgencyRep
600
568
  * @param {string} vbasoftwareDatabase Target database
601
- * @param {number} commAgencyKey CommissionAgency Key
602
569
  * @param {Array<CommissionAgencyRep>} commissionAgencyRep
603
570
  * @param {*} [options] Override http request option.
604
571
  * @throws {RequiredError}
605
572
  * @memberof CommissionAgencyRepsApiInterface
606
573
  */
607
- updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: Array<CommissionAgencyRep>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
574
+ updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: Array<CommissionAgencyRep>, options?: AxiosRequestConfig): AxiosPromise<MultiCodeResponseListVBAResponse>;
608
575
 
609
576
  /**
610
577
  * Updates a specific CommissionAgencyRep.
611
578
  * @summary Update CommissionAgencyRep
612
579
  * @param {string} vbasoftwareDatabase Target database
613
- * @param {number} commAgencyKey CommissionAgency Key
614
580
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
615
581
  * @param {CommissionAgencyRep} commissionAgencyRep
616
582
  * @param {*} [options] Override http request option.
617
583
  * @throws {RequiredError}
618
584
  * @memberof CommissionAgencyRepsApiInterface
619
585
  */
620
- updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepVBAResponse>;
586
+ updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig): AxiosPromise<CommissionAgencyRepVBAResponse>;
621
587
 
622
588
  }
623
589
 
@@ -632,56 +598,53 @@ export class CommissionAgencyRepsApi extends BaseAPI implements CommissionAgency
632
598
  * Creates a new CommissionAgencyRep
633
599
  * @summary Create CommissionAgencyRep
634
600
  * @param {string} vbasoftwareDatabase Target database
635
- * @param {number} commAgencyKey CommissionAgency Key
636
601
  * @param {CommissionAgencyRep} commissionAgencyRep
637
602
  * @param {*} [options] Override http request option.
638
603
  * @throws {RequiredError}
639
604
  * @memberof CommissionAgencyRepsApi
640
605
  */
641
- public createCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig) {
642
- return CommissionAgencyRepsApiFp(this.configuration).createCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commissionAgencyRep, options).then((request) => request(this.axios, this.basePath));
606
+ public createCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig) {
607
+ return CommissionAgencyRepsApiFp(this.configuration).createCommissionAgencyRep(vbasoftwareDatabase, commissionAgencyRep, options).then((request) => request(this.axios, this.basePath));
643
608
  }
644
609
 
645
610
  /**
646
611
  * Deletes an CommissionAgencyRep
647
612
  * @summary Delete CommissionAgencyRep
648
613
  * @param {string} vbasoftwareDatabase Target database
649
- * @param {number} commAgencyKey CommissionAgency Key
650
614
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
651
615
  * @param {*} [options] Override http request option.
652
616
  * @throws {RequiredError}
653
617
  * @memberof CommissionAgencyRepsApi
654
618
  */
655
- public deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: AxiosRequestConfig) {
656
- return CommissionAgencyRepsApiFp(this.configuration).deleteCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, options).then((request) => request(this.axios, this.basePath));
619
+ public deleteCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: AxiosRequestConfig) {
620
+ return CommissionAgencyRepsApiFp(this.configuration).deleteCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, options).then((request) => request(this.axios, this.basePath));
657
621
  }
658
622
 
659
623
  /**
660
624
  * Gets CommissionAgencyRep
661
625
  * @summary Get CommissionAgencyRep
662
626
  * @param {string} vbasoftwareDatabase Target database
663
- * @param {number} commAgencyKey CommissionAgency Key
664
627
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
665
628
  * @param {*} [options] Override http request option.
666
629
  * @throws {RequiredError}
667
630
  * @memberof CommissionAgencyRepsApi
668
631
  */
669
- public getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, options?: AxiosRequestConfig) {
670
- return CommissionAgencyRepsApiFp(this.configuration).getCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, options).then((request) => request(this.axios, this.basePath));
632
+ public getCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, options?: AxiosRequestConfig) {
633
+ return CommissionAgencyRepsApiFp(this.configuration).getCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, options).then((request) => request(this.axios, this.basePath));
671
634
  }
672
635
 
673
636
  /**
674
- * Lists all CommissionAgencyRep for the given commAgencyKey
675
- * @summary List CommissionAgencyRep
637
+ * Lists all Commission Agency Representatives for the optional Commission Agency key, with pagination.
638
+ * @summary List Commission Agency Representatives
676
639
  * @param {string} vbasoftwareDatabase Target database
677
- * @param {number} commAgencyKey CommissionAgency Key
640
+ * @param {number} [commAgencyKey] CommissionAgency Key
678
641
  * @param {number} [page] Page
679
642
  * @param {number} [pageSize] Page Size
680
643
  * @param {*} [options] Override http request option.
681
644
  * @throws {RequiredError}
682
645
  * @memberof CommissionAgencyRepsApi
683
646
  */
684
- public listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
647
+ public listCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
685
648
  return CommissionAgencyRepsApiFp(this.configuration).listCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, page, pageSize, options).then((request) => request(this.axios, this.basePath));
686
649
  }
687
650
 
@@ -689,28 +652,26 @@ export class CommissionAgencyRepsApi extends BaseAPI implements CommissionAgency
689
652
  * Create or Update multiple CommissionAgencyRep at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
690
653
  * @summary Create or Update Batch CommissionAgencyRep
691
654
  * @param {string} vbasoftwareDatabase Target database
692
- * @param {number} commAgencyKey CommissionAgency Key
693
655
  * @param {Array<CommissionAgencyRep>} commissionAgencyRep
694
656
  * @param {*} [options] Override http request option.
695
657
  * @throws {RequiredError}
696
658
  * @memberof CommissionAgencyRepsApi
697
659
  */
698
- public updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commissionAgencyRep: Array<CommissionAgencyRep>, options?: AxiosRequestConfig) {
699
- return CommissionAgencyRepsApiFp(this.configuration).updateBatchCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commissionAgencyRep, options).then((request) => request(this.axios, this.basePath));
660
+ public updateBatchCommissionAgencyRep(vbasoftwareDatabase: string, commissionAgencyRep: Array<CommissionAgencyRep>, options?: AxiosRequestConfig) {
661
+ return CommissionAgencyRepsApiFp(this.configuration).updateBatchCommissionAgencyRep(vbasoftwareDatabase, commissionAgencyRep, options).then((request) => request(this.axios, this.basePath));
700
662
  }
701
663
 
702
664
  /**
703
665
  * Updates a specific CommissionAgencyRep.
704
666
  * @summary Update CommissionAgencyRep
705
667
  * @param {string} vbasoftwareDatabase Target database
706
- * @param {number} commAgencyKey CommissionAgency Key
707
668
  * @param {number} commAgencyRepKey CommissionAgencyRep Key
708
669
  * @param {CommissionAgencyRep} commissionAgencyRep
709
670
  * @param {*} [options] Override http request option.
710
671
  * @throws {RequiredError}
711
672
  * @memberof CommissionAgencyRepsApi
712
673
  */
713
- public updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyKey: number, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig) {
714
- return CommissionAgencyRepsApiFp(this.configuration).updateCommissionAgencyRep(vbasoftwareDatabase, commAgencyKey, commAgencyRepKey, commissionAgencyRep, options).then((request) => request(this.axios, this.basePath));
674
+ public updateCommissionAgencyRep(vbasoftwareDatabase: string, commAgencyRepKey: number, commissionAgencyRep: CommissionAgencyRep, options?: AxiosRequestConfig) {
675
+ return CommissionAgencyRepsApiFp(this.configuration).updateCommissionAgencyRep(vbasoftwareDatabase, commAgencyRepKey, commissionAgencyRep, options).then((request) => request(this.axios, this.basePath));
715
676
  }
716
677
  }