yellowgrid-api-ts 3.2.180 → 3.2.182

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.
@@ -86,6 +86,7 @@ docs/EventSubscriptionModel.md
86
86
  docs/EventUpdateDTO.md
87
87
  docs/EventUpdateEntity.md
88
88
  docs/EventUpdateRequestDTO.md
89
+ docs/ExpiringKeyDTO.md
89
90
  docs/FraudManagementModel.md
90
91
  docs/FreshdeskCompanyTicketsModel.md
91
92
  docs/FreshdeskTicketEntity.md
package/README.md CHANGED
@@ -103,7 +103,8 @@ Class | Method | HTTP request | Description
103
103
  *CRMApi* | [**postCreateCrmNote**](docs/CRMApi.md#postcreatecrmnote) | **POST** /admin/crm/{id}/activities/note |
104
104
  *Class3CXApi* | [**getGetLicenceDetails**](docs/Class3CXApi.md#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details
105
105
  *Class3CXApi* | [**getGetTcxCreditStatus**](docs/Class3CXApi.md#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status
106
- *Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys
106
+ *Class3CXApi* | [**getGetTcxExpiringKeys**](docs/Class3CXApi.md#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring | Get 3CX Expiring Keys
107
+ *Class3CXApi* | [**getGetTcxExpiringKeysCsv**](docs/Class3CXApi.md#getgettcxexpiringkeyscsv) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys
107
108
  *Class3CXApi* | [**getGetTcxPartners**](docs/Class3CXApi.md#getgettcxpartners) | **GET** /tcx/admin/partners | Get 3CX Partners
108
109
  *Class3CXApi* | [**postGetBulkLicenceDetails**](docs/Class3CXApi.md#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details
109
110
  *Class3CXInstallationWizardApi* | [**deleteAddExtensions**](docs/Class3CXInstallationWizardApi.md#deleteaddextensions) | **DELETE** /tcx/wizards/extensions | Delete 3CX Installation Wizard Extensions
@@ -390,6 +391,7 @@ Class | Method | HTTP request | Description
390
391
  - [EventUpdateDTO](docs/EventUpdateDTO.md)
391
392
  - [EventUpdateEntity](docs/EventUpdateEntity.md)
392
393
  - [EventUpdateRequestDTO](docs/EventUpdateRequestDTO.md)
394
+ - [ExpiringKeyDTO](docs/ExpiringKeyDTO.md)
393
395
  - [FraudManagementModel](docs/FraudManagementModel.md)
394
396
  - [FreshdeskCompanyTicketsModel](docs/FreshdeskCompanyTicketsModel.md)
395
397
  - [FreshdeskTicketEntity](docs/FreshdeskTicketEntity.md)
package/api.ts CHANGED
@@ -2488,6 +2488,28 @@ export interface EventUpdateRequestDTO {
2488
2488
  */
2489
2489
  'createdAt'?: string;
2490
2490
  }
2491
+ /**
2492
+ * 3CX Expiring Key
2493
+ */
2494
+ export interface ExpiringKeyDTO {
2495
+ /**
2496
+ * Date Time
2497
+ */
2498
+ 'expiryDate'?: string;
2499
+ /**
2500
+ * Licence Key
2501
+ */
2502
+ 'licenceKey'?: string;
2503
+ /**
2504
+ * Edition
2505
+ */
2506
+ 'edition'?: string;
2507
+ /**
2508
+ * Type
2509
+ */
2510
+ 'type'?: string;
2511
+ 'partner'?: PartnerDTO;
2512
+ }
2491
2513
  /**
2492
2514
  * Fraud Management
2493
2515
  */
@@ -12281,6 +12303,36 @@ export const Class3CXApiAxiosParamCreator = function (configuration?: Configurat
12281
12303
  * @throws {RequiredError}
12282
12304
  */
12283
12305
  getGetTcxExpiringKeys: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12306
+ const localVarPath = `/tcx/admin/keys/expiring`;
12307
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12308
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12309
+ let baseOptions;
12310
+ if (configuration) {
12311
+ baseOptions = configuration.baseOptions;
12312
+ }
12313
+
12314
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12315
+ const localVarHeaderParameter = {} as any;
12316
+ const localVarQueryParameter = {} as any;
12317
+
12318
+ localVarHeaderParameter['Accept'] = 'application/json';
12319
+
12320
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12321
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12322
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12323
+
12324
+ return {
12325
+ url: toPathString(localVarUrlObj),
12326
+ options: localVarRequestOptions,
12327
+ };
12328
+ },
12329
+ /**
12330
+ * Get 3CX Expiring Keys
12331
+ * @summary Get 3CX Expiring Keys
12332
+ * @param {*} [options] Override http request option.
12333
+ * @throws {RequiredError}
12334
+ */
12335
+ getGetTcxExpiringKeysCsv: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12284
12336
  const localVarPath = `/tcx/admin/keys/expiring/csv`;
12285
12337
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
12286
12338
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -12407,12 +12459,24 @@ export const Class3CXApiFp = function(configuration?: Configuration) {
12407
12459
  * @param {*} [options] Override http request option.
12408
12460
  * @throws {RequiredError}
12409
12461
  */
12410
- async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
12462
+ async getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>> {
12411
12463
  const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeys(options);
12412
12464
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12413
12465
  const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeys']?.[localVarOperationServerIndex]?.url;
12414
12466
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12415
12467
  },
12468
+ /**
12469
+ * Get 3CX Expiring Keys
12470
+ * @summary Get 3CX Expiring Keys
12471
+ * @param {*} [options] Override http request option.
12472
+ * @throws {RequiredError}
12473
+ */
12474
+ async getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
12475
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGetTcxExpiringKeysCsv(options);
12476
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12477
+ const localVarOperationServerBasePath = operationServerMap['Class3CXApi.getGetTcxExpiringKeysCsv']?.[localVarOperationServerIndex]?.url;
12478
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12479
+ },
12416
12480
  /**
12417
12481
  * Get 3CX Partners
12418
12482
  * @summary Get 3CX Partners
@@ -12472,9 +12536,18 @@ export const Class3CXApiFactory = function (configuration?: Configuration, baseP
12472
12536
  * @param {*} [options] Override http request option.
12473
12537
  * @throws {RequiredError}
12474
12538
  */
12475
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string> {
12539
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>> {
12476
12540
  return localVarFp.getGetTcxExpiringKeys(options).then((request) => request(axios, basePath));
12477
12541
  },
12542
+ /**
12543
+ * Get 3CX Expiring Keys
12544
+ * @summary Get 3CX Expiring Keys
12545
+ * @param {*} [options] Override http request option.
12546
+ * @throws {RequiredError}
12547
+ */
12548
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): AxiosPromise<string> {
12549
+ return localVarFp.getGetTcxExpiringKeysCsv(options).then((request) => request(axios, basePath));
12550
+ },
12478
12551
  /**
12479
12552
  * Get 3CX Partners
12480
12553
  * @summary Get 3CX Partners
@@ -12532,6 +12605,16 @@ export class Class3CXApi extends BaseAPI {
12532
12605
  return Class3CXApiFp(this.configuration).getGetTcxExpiringKeys(options).then((request) => request(this.axios, this.basePath));
12533
12606
  }
12534
12607
 
12608
+ /**
12609
+ * Get 3CX Expiring Keys
12610
+ * @summary Get 3CX Expiring Keys
12611
+ * @param {*} [options] Override http request option.
12612
+ * @throws {RequiredError}
12613
+ */
12614
+ public getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig) {
12615
+ return Class3CXApiFp(this.configuration).getGetTcxExpiringKeysCsv(options).then((request) => request(this.axios, this.basePath));
12616
+ }
12617
+
12535
12618
  /**
12536
12619
  * Get 3CX Partners
12537
12620
  * @summary Get 3CX Partners
@@ -20001,12 +20084,15 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
20001
20084
  * Mark Order As Complete (Admin)
20002
20085
  * @summary Mark Order As Complete (Admin)
20003
20086
  * @param {number} id Order ID
20087
+ * @param {boolean} complete Complete Status
20004
20088
  * @param {*} [options] Override http request option.
20005
20089
  * @throws {RequiredError}
20006
20090
  */
20007
- patchCompleteOrder: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20091
+ patchCompleteOrder: async (id: number, complete: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
20008
20092
  // verify required parameter 'id' is not null or undefined
20009
20093
  assertParamExists('patchCompleteOrder', 'id', id)
20094
+ // verify required parameter 'complete' is not null or undefined
20095
+ assertParamExists('patchCompleteOrder', 'complete', complete)
20010
20096
  const localVarPath = `/admin/orders/{id}/complete`
20011
20097
  .replace('{id}', encodeURIComponent(String(id)));
20012
20098
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -20020,6 +20106,10 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
20020
20106
  const localVarHeaderParameter = {} as any;
20021
20107
  const localVarQueryParameter = {} as any;
20022
20108
 
20109
+ if (complete !== undefined) {
20110
+ localVarQueryParameter['complete'] = complete;
20111
+ }
20112
+
20023
20113
  localVarHeaderParameter['Accept'] = 'application/json';
20024
20114
 
20025
20115
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -20967,11 +21057,12 @@ export const OrdersApiFp = function(configuration?: Configuration) {
20967
21057
  * Mark Order As Complete (Admin)
20968
21058
  * @summary Mark Order As Complete (Admin)
20969
21059
  * @param {number} id Order ID
21060
+ * @param {boolean} complete Complete Status
20970
21061
  * @param {*} [options] Override http request option.
20971
21062
  * @throws {RequiredError}
20972
21063
  */
20973
- async patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
20974
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchCompleteOrder(id, options);
21064
+ async patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>> {
21065
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchCompleteOrder(id, complete, options);
20975
21066
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20976
21067
  const localVarOperationServerBasePath = operationServerMap['OrdersApi.patchCompleteOrder']?.[localVarOperationServerIndex]?.url;
20977
21068
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -21387,11 +21478,12 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
21387
21478
  * Mark Order As Complete (Admin)
21388
21479
  * @summary Mark Order As Complete (Admin)
21389
21480
  * @param {number} id Order ID
21481
+ * @param {boolean} complete Complete Status
21390
21482
  * @param {*} [options] Override http request option.
21391
21483
  * @throws {RequiredError}
21392
21484
  */
21393
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
21394
- return localVarFp.patchCompleteOrder(id, options).then((request) => request(axios, basePath));
21485
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO> {
21486
+ return localVarFp.patchCompleteOrder(id, complete, options).then((request) => request(axios, basePath));
21395
21487
  },
21396
21488
  /**
21397
21489
  * Add Order Note
@@ -21756,11 +21848,12 @@ export class OrdersApi extends BaseAPI {
21756
21848
  * Mark Order As Complete (Admin)
21757
21849
  * @summary Mark Order As Complete (Admin)
21758
21850
  * @param {number} id Order ID
21851
+ * @param {boolean} complete Complete Status
21759
21852
  * @param {*} [options] Override http request option.
21760
21853
  * @throws {RequiredError}
21761
21854
  */
21762
- public patchCompleteOrder(id: number, options?: RawAxiosRequestConfig) {
21763
- return OrdersApiFp(this.configuration).patchCompleteOrder(id, options).then((request) => request(this.axios, this.basePath));
21855
+ public patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig) {
21856
+ return OrdersApiFp(this.configuration).patchCompleteOrder(id, complete, options).then((request) => request(this.axios, this.basePath));
21764
21857
  }
21765
21858
 
21766
21859
  /**
package/dist/api.d.ts CHANGED
@@ -2459,6 +2459,28 @@ export interface EventUpdateRequestDTO {
2459
2459
  */
2460
2460
  'createdAt'?: string;
2461
2461
  }
2462
+ /**
2463
+ * 3CX Expiring Key
2464
+ */
2465
+ export interface ExpiringKeyDTO {
2466
+ /**
2467
+ * Date Time
2468
+ */
2469
+ 'expiryDate'?: string;
2470
+ /**
2471
+ * Licence Key
2472
+ */
2473
+ 'licenceKey'?: string;
2474
+ /**
2475
+ * Edition
2476
+ */
2477
+ 'edition'?: string;
2478
+ /**
2479
+ * Type
2480
+ */
2481
+ 'type'?: string;
2482
+ 'partner'?: PartnerDTO;
2483
+ }
2462
2484
  /**
2463
2485
  * Fraud Management
2464
2486
  */
@@ -10232,6 +10254,13 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
10232
10254
  * @throws {RequiredError}
10233
10255
  */
10234
10256
  getGetTcxExpiringKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10257
+ /**
10258
+ * Get 3CX Expiring Keys
10259
+ * @summary Get 3CX Expiring Keys
10260
+ * @param {*} [options] Override http request option.
10261
+ * @throws {RequiredError}
10262
+ */
10263
+ getGetTcxExpiringKeysCsv: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10235
10264
  /**
10236
10265
  * Get 3CX Partners
10237
10266
  * @summary Get 3CX Partners
@@ -10273,7 +10302,14 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
10273
10302
  * @param {*} [options] Override http request option.
10274
10303
  * @throws {RequiredError}
10275
10304
  */
10276
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
10305
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>>;
10306
+ /**
10307
+ * Get 3CX Expiring Keys
10308
+ * @summary Get 3CX Expiring Keys
10309
+ * @param {*} [options] Override http request option.
10310
+ * @throws {RequiredError}
10311
+ */
10312
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
10277
10313
  /**
10278
10314
  * Get 3CX Partners
10279
10315
  * @summary Get 3CX Partners
@@ -10315,7 +10351,14 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
10315
10351
  * @param {*} [options] Override http request option.
10316
10352
  * @throws {RequiredError}
10317
10353
  */
10318
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string>;
10354
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>>;
10355
+ /**
10356
+ * Get 3CX Expiring Keys
10357
+ * @summary Get 3CX Expiring Keys
10358
+ * @param {*} [options] Override http request option.
10359
+ * @throws {RequiredError}
10360
+ */
10361
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): AxiosPromise<string>;
10319
10362
  /**
10320
10363
  * Get 3CX Partners
10321
10364
  * @summary Get 3CX Partners
@@ -10357,7 +10400,14 @@ export declare class Class3CXApi extends BaseAPI {
10357
10400
  * @param {*} [options] Override http request option.
10358
10401
  * @throws {RequiredError}
10359
10402
  */
10360
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
10403
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExpiringKeyDTO[], any, {}>>;
10404
+ /**
10405
+ * Get 3CX Expiring Keys
10406
+ * @summary Get 3CX Expiring Keys
10407
+ * @param {*} [options] Override http request option.
10408
+ * @throws {RequiredError}
10409
+ */
10410
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
10361
10411
  /**
10362
10412
  * Get 3CX Partners
10363
10413
  * @summary Get 3CX Partners
@@ -13837,10 +13887,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
13837
13887
  * Mark Order As Complete (Admin)
13838
13888
  * @summary Mark Order As Complete (Admin)
13839
13889
  * @param {number} id Order ID
13890
+ * @param {boolean} complete Complete Status
13840
13891
  * @param {*} [options] Override http request option.
13841
13892
  * @throws {RequiredError}
13842
13893
  */
13843
- patchCompleteOrder: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13894
+ patchCompleteOrder: (id: number, complete: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13844
13895
  /**
13845
13896
  * Add Order Note
13846
13897
  * @summary Add Order Note
@@ -14131,10 +14182,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14131
14182
  * Mark Order As Complete (Admin)
14132
14183
  * @summary Mark Order As Complete (Admin)
14133
14184
  * @param {number} id Order ID
14185
+ * @param {boolean} complete Complete Status
14134
14186
  * @param {*} [options] Override http request option.
14135
14187
  * @throws {RequiredError}
14136
14188
  */
14137
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>>;
14189
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>>;
14138
14190
  /**
14139
14191
  * Add Order Note
14140
14192
  * @summary Add Order Note
@@ -14425,10 +14477,11 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14425
14477
  * Mark Order As Complete (Admin)
14426
14478
  * @summary Mark Order As Complete (Admin)
14427
14479
  * @param {number} id Order ID
14480
+ * @param {boolean} complete Complete Status
14428
14481
  * @param {*} [options] Override http request option.
14429
14482
  * @throws {RequiredError}
14430
14483
  */
14431
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO>;
14484
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO>;
14432
14485
  /**
14433
14486
  * Add Order Note
14434
14487
  * @summary Add Order Note
@@ -14719,10 +14772,11 @@ export declare class OrdersApi extends BaseAPI {
14719
14772
  * Mark Order As Complete (Admin)
14720
14773
  * @summary Mark Order As Complete (Admin)
14721
14774
  * @param {number} id Order ID
14775
+ * @param {boolean} complete Complete Status
14722
14776
  * @param {*} [options] Override http request option.
14723
14777
  * @throws {RequiredError}
14724
14778
  */
14725
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderDetailsDTO, any, {}>>;
14779
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderDetailsDTO, any, {}>>;
14726
14780
  /**
14727
14781
  * Add Order Note
14728
14782
  * @summary Add Order Note
package/dist/api.js CHANGED
@@ -4802,6 +4802,40 @@ var Class3CXApiAxiosParamCreator = function (configuration) {
4802
4802
  * @throws {RequiredError}
4803
4803
  */
4804
4804
  getGetTcxExpiringKeys: function () {
4805
+ var args_1 = [];
4806
+ for (var _i = 0; _i < arguments.length; _i++) {
4807
+ args_1[_i] = arguments[_i];
4808
+ }
4809
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
4810
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4811
+ if (options === void 0) { options = {}; }
4812
+ return __generator(this, function (_a) {
4813
+ localVarPath = "/tcx/admin/keys/expiring";
4814
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4815
+ if (configuration) {
4816
+ baseOptions = configuration.baseOptions;
4817
+ }
4818
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4819
+ localVarHeaderParameter = {};
4820
+ localVarQueryParameter = {};
4821
+ localVarHeaderParameter['Accept'] = 'application/json';
4822
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4823
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4824
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4825
+ return [2 /*return*/, {
4826
+ url: (0, common_1.toPathString)(localVarUrlObj),
4827
+ options: localVarRequestOptions,
4828
+ }];
4829
+ });
4830
+ });
4831
+ },
4832
+ /**
4833
+ * Get 3CX Expiring Keys
4834
+ * @summary Get 3CX Expiring Keys
4835
+ * @param {*} [options] Override http request option.
4836
+ * @throws {RequiredError}
4837
+ */
4838
+ getGetTcxExpiringKeysCsv: function () {
4805
4839
  var args_1 = [];
4806
4840
  for (var _i = 0; _i < arguments.length; _i++) {
4807
4841
  args_1[_i] = arguments[_i];
@@ -4976,6 +5010,28 @@ var Class3CXApiFp = function (configuration) {
4976
5010
  });
4977
5011
  });
4978
5012
  },
5013
+ /**
5014
+ * Get 3CX Expiring Keys
5015
+ * @summary Get 3CX Expiring Keys
5016
+ * @param {*} [options] Override http request option.
5017
+ * @throws {RequiredError}
5018
+ */
5019
+ getGetTcxExpiringKeysCsv: function (options) {
5020
+ return __awaiter(this, void 0, void 0, function () {
5021
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
5022
+ var _a, _b, _c;
5023
+ return __generator(this, function (_d) {
5024
+ switch (_d.label) {
5025
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getGetTcxExpiringKeysCsv(options)];
5026
+ case 1:
5027
+ localVarAxiosArgs = _d.sent();
5028
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5029
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['Class3CXApi.getGetTcxExpiringKeysCsv']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5030
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
5031
+ }
5032
+ });
5033
+ });
5034
+ },
4979
5035
  /**
4980
5036
  * Get 3CX Partners
4981
5037
  * @summary Get 3CX Partners
@@ -5058,6 +5114,15 @@ var Class3CXApiFactory = function (configuration, basePath, axios) {
5058
5114
  getGetTcxExpiringKeys: function (options) {
5059
5115
  return localVarFp.getGetTcxExpiringKeys(options).then(function (request) { return request(axios, basePath); });
5060
5116
  },
5117
+ /**
5118
+ * Get 3CX Expiring Keys
5119
+ * @summary Get 3CX Expiring Keys
5120
+ * @param {*} [options] Override http request option.
5121
+ * @throws {RequiredError}
5122
+ */
5123
+ getGetTcxExpiringKeysCsv: function (options) {
5124
+ return localVarFp.getGetTcxExpiringKeysCsv(options).then(function (request) { return request(axios, basePath); });
5125
+ },
5061
5126
  /**
5062
5127
  * Get 3CX Partners
5063
5128
  * @summary Get 3CX Partners
@@ -5119,6 +5184,16 @@ var Class3CXApi = /** @class */ (function (_super) {
5119
5184
  var _this = this;
5120
5185
  return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeys(options).then(function (request) { return request(_this.axios, _this.basePath); });
5121
5186
  };
5187
+ /**
5188
+ * Get 3CX Expiring Keys
5189
+ * @summary Get 3CX Expiring Keys
5190
+ * @param {*} [options] Override http request option.
5191
+ * @throws {RequiredError}
5192
+ */
5193
+ Class3CXApi.prototype.getGetTcxExpiringKeysCsv = function (options) {
5194
+ var _this = this;
5195
+ return (0, exports.Class3CXApiFp)(this.configuration).getGetTcxExpiringKeysCsv(options).then(function (request) { return request(_this.axios, _this.basePath); });
5196
+ };
5122
5197
  /**
5123
5198
  * Get 3CX Partners
5124
5199
  * @summary Get 3CX Partners
@@ -13769,20 +13844,23 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13769
13844
  * Mark Order As Complete (Admin)
13770
13845
  * @summary Mark Order As Complete (Admin)
13771
13846
  * @param {number} id Order ID
13847
+ * @param {boolean} complete Complete Status
13772
13848
  * @param {*} [options] Override http request option.
13773
13849
  * @throws {RequiredError}
13774
13850
  */
13775
- patchCompleteOrder: function (id_1) {
13851
+ patchCompleteOrder: function (id_1, complete_1) {
13776
13852
  var args_1 = [];
13777
- for (var _i = 1; _i < arguments.length; _i++) {
13778
- args_1[_i - 1] = arguments[_i];
13853
+ for (var _i = 2; _i < arguments.length; _i++) {
13854
+ args_1[_i - 2] = arguments[_i];
13779
13855
  }
13780
- return __awaiter(_this, __spreadArray([id_1], args_1, true), void 0, function (id, options) {
13856
+ return __awaiter(_this, __spreadArray([id_1, complete_1], args_1, true), void 0, function (id, complete, options) {
13781
13857
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
13782
13858
  if (options === void 0) { options = {}; }
13783
13859
  return __generator(this, function (_a) {
13784
13860
  // verify required parameter 'id' is not null or undefined
13785
13861
  (0, common_1.assertParamExists)('patchCompleteOrder', 'id', id);
13862
+ // verify required parameter 'complete' is not null or undefined
13863
+ (0, common_1.assertParamExists)('patchCompleteOrder', 'complete', complete);
13786
13864
  localVarPath = "/admin/orders/{id}/complete"
13787
13865
  .replace('{id}', encodeURIComponent(String(id)));
13788
13866
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -13792,6 +13870,9 @@ var OrdersApiAxiosParamCreator = function (configuration) {
13792
13870
  localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
13793
13871
  localVarHeaderParameter = {};
13794
13872
  localVarQueryParameter = {};
13873
+ if (complete !== undefined) {
13874
+ localVarQueryParameter['complete'] = complete;
13875
+ }
13795
13876
  localVarHeaderParameter['Accept'] = 'application/json';
13796
13877
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13797
13878
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -14916,16 +14997,17 @@ var OrdersApiFp = function (configuration) {
14916
14997
  * Mark Order As Complete (Admin)
14917
14998
  * @summary Mark Order As Complete (Admin)
14918
14999
  * @param {number} id Order ID
15000
+ * @param {boolean} complete Complete Status
14919
15001
  * @param {*} [options] Override http request option.
14920
15002
  * @throws {RequiredError}
14921
15003
  */
14922
- patchCompleteOrder: function (id, options) {
15004
+ patchCompleteOrder: function (id, complete, options) {
14923
15005
  return __awaiter(this, void 0, void 0, function () {
14924
15006
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
14925
15007
  var _a, _b, _c;
14926
15008
  return __generator(this, function (_d) {
14927
15009
  switch (_d.label) {
14928
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCompleteOrder(id, options)];
15010
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchCompleteOrder(id, complete, options)];
14929
15011
  case 1:
14930
15012
  localVarAxiosArgs = _d.sent();
14931
15013
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
@@ -15536,11 +15618,12 @@ var OrdersApiFactory = function (configuration, basePath, axios) {
15536
15618
  * Mark Order As Complete (Admin)
15537
15619
  * @summary Mark Order As Complete (Admin)
15538
15620
  * @param {number} id Order ID
15621
+ * @param {boolean} complete Complete Status
15539
15622
  * @param {*} [options] Override http request option.
15540
15623
  * @throws {RequiredError}
15541
15624
  */
15542
- patchCompleteOrder: function (id, options) {
15543
- return localVarFp.patchCompleteOrder(id, options).then(function (request) { return request(axios, basePath); });
15625
+ patchCompleteOrder: function (id, complete, options) {
15626
+ return localVarFp.patchCompleteOrder(id, complete, options).then(function (request) { return request(axios, basePath); });
15544
15627
  },
15545
15628
  /**
15546
15629
  * Add Order Note
@@ -15909,12 +15992,13 @@ var OrdersApi = /** @class */ (function (_super) {
15909
15992
  * Mark Order As Complete (Admin)
15910
15993
  * @summary Mark Order As Complete (Admin)
15911
15994
  * @param {number} id Order ID
15995
+ * @param {boolean} complete Complete Status
15912
15996
  * @param {*} [options] Override http request option.
15913
15997
  * @throws {RequiredError}
15914
15998
  */
15915
- OrdersApi.prototype.patchCompleteOrder = function (id, options) {
15999
+ OrdersApi.prototype.patchCompleteOrder = function (id, complete, options) {
15916
16000
  var _this = this;
15917
- return (0, exports.OrdersApiFp)(this.configuration).patchCompleteOrder(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
16001
+ return (0, exports.OrdersApiFp)(this.configuration).patchCompleteOrder(id, complete, options).then(function (request) { return request(_this.axios, _this.basePath); });
15918
16002
  };
15919
16003
  /**
15920
16004
  * Add Order Note
@@ -6,7 +6,8 @@ All URIs are relative to *https://bitbucket.org*
6
6
  |------------- | ------------- | -------------|
7
7
  |[**getGetLicenceDetails**](#getgetlicencedetails) | **GET** /tcx/licences/details | Get 3CX Licence Details|
8
8
  |[**getGetTcxCreditStatus**](#getgettcxcreditstatus) | **GET** /tcx/admin/credit | Get 3CX Credit Status|
9
- |[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
9
+ |[**getGetTcxExpiringKeys**](#getgettcxexpiringkeys) | **GET** /tcx/admin/keys/expiring | Get 3CX Expiring Keys|
10
+ |[**getGetTcxExpiringKeysCsv**](#getgettcxexpiringkeyscsv) | **GET** /tcx/admin/keys/expiring/csv | Get 3CX Expiring Keys|
10
11
  |[**getGetTcxPartners**](#getgettcxpartners) | **GET** /tcx/admin/partners | Get 3CX Partners|
11
12
  |[**postGetBulkLicenceDetails**](#postgetbulklicencedetails) | **POST** /tcx/licences/bulk/details | Get bulk 3CX Licence Details|
12
13
 
@@ -112,7 +113,7 @@ No authorization required
112
113
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
113
114
 
114
115
  # **getGetTcxExpiringKeys**
115
- > string getGetTcxExpiringKeys()
116
+ > Array<ExpiringKeyDTO> getGetTcxExpiringKeys()
116
117
 
117
118
  Get 3CX Expiring Keys
118
119
 
@@ -134,6 +135,53 @@ const { status, data } = await apiInstance.getGetTcxExpiringKeys();
134
135
  This endpoint does not have any parameters.
135
136
 
136
137
 
138
+ ### Return type
139
+
140
+ **Array<ExpiringKeyDTO>**
141
+
142
+ ### Authorization
143
+
144
+ No authorization required
145
+
146
+ ### HTTP request headers
147
+
148
+ - **Content-Type**: Not defined
149
+ - **Accept**: application/json
150
+
151
+
152
+ ### HTTP response details
153
+ | Status code | Description | Response headers |
154
+ |-------------|-------------|------------------|
155
+ |**200** | 3CX Expiring Key | - |
156
+ |**400** | Bad Request | - |
157
+ |**401** | Unauthorised | - |
158
+ |**403** | Access Denied | - |
159
+
160
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
161
+
162
+ # **getGetTcxExpiringKeysCsv**
163
+ > string getGetTcxExpiringKeysCsv()
164
+
165
+ Get 3CX Expiring Keys
166
+
167
+ ### Example
168
+
169
+ ```typescript
170
+ import {
171
+ Class3CXApi,
172
+ Configuration
173
+ } from 'yellowgrid-api-ts';
174
+
175
+ const configuration = new Configuration();
176
+ const apiInstance = new Class3CXApi(configuration);
177
+
178
+ const { status, data } = await apiInstance.getGetTcxExpiringKeysCsv();
179
+ ```
180
+
181
+ ### Parameters
182
+ This endpoint does not have any parameters.
183
+
184
+
137
185
  ### Return type
138
186
 
139
187
  **string**
@@ -0,0 +1,29 @@
1
+ # ExpiringKeyDTO
2
+
3
+ 3CX Expiring Key
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **expiryDate** | **string** | Date Time | [optional] [default to undefined]
10
+ **licenceKey** | **string** | Licence Key | [optional] [default to undefined]
11
+ **edition** | **string** | Edition | [optional] [default to undefined]
12
+ **type** | **string** | Type | [optional] [default to undefined]
13
+ **partner** | [**PartnerDTO**](PartnerDTO.md) | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ExpiringKeyDTO } from 'yellowgrid-api-ts';
19
+
20
+ const instance: ExpiringKeyDTO = {
21
+ expiryDate,
22
+ licenceKey,
23
+ edition,
24
+ type,
25
+ partner,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/OrdersApi.md CHANGED
@@ -683,9 +683,11 @@ const configuration = new Configuration();
683
683
  const apiInstance = new OrdersApi(configuration);
684
684
 
685
685
  let id: number; //Order ID (default to undefined)
686
+ let complete: boolean; //Complete Status (default to undefined)
686
687
 
687
688
  const { status, data } = await apiInstance.patchCompleteOrder(
688
- id
689
+ id,
690
+ complete
689
691
  );
690
692
  ```
691
693
 
@@ -694,6 +696,7 @@ const { status, data } = await apiInstance.patchCompleteOrder(
694
696
  |Name | Type | Description | Notes|
695
697
  |------------- | ------------- | ------------- | -------------|
696
698
  | **id** | [**number**] | Order ID | defaults to undefined|
699
+ | **complete** | [**boolean**] | Complete Status | defaults to undefined|
697
700
 
698
701
 
699
702
  ### Return type
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yellowgrid-api-ts",
3
- "version": "3.2.180",
3
+ "version": "3.2.182",
4
4
  "description": "OpenAPI client for yellowgrid-api-ts",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {