yellowgrid-api-ts 3.2.177-dev.0 → 3.2.178-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
  */
@@ -3521,6 +3543,31 @@ export interface OfflineInstancesEntity {
3521
3543
  */
3522
3544
  'alerted'?: number;
3523
3545
  }
3546
+ /**
3547
+ * Opayo Redirect
3548
+ */
3549
+ export interface OpayoRedirectDTO {
3550
+ /**
3551
+ * acsUrl
3552
+ */
3553
+ 'acsUrl'?: string | null;
3554
+ /**
3555
+ * paReq
3556
+ */
3557
+ 'paReq'?: string | null;
3558
+ /**
3559
+ * Transaction ID
3560
+ */
3561
+ 'transactionId'?: string | null;
3562
+ /**
3563
+ * dsTranId
3564
+ */
3565
+ 'dsTranId'?: string | null;
3566
+ /**
3567
+ * cReq
3568
+ */
3569
+ 'cReq'?: string | null;
3570
+ }
3524
3571
  /**
3525
3572
  * Legacy Portal Order
3526
3573
  */
@@ -10248,6 +10295,13 @@ export declare const Class3CXApiAxiosParamCreator: (configuration?: Configuratio
10248
10295
  * @throws {RequiredError}
10249
10296
  */
10250
10297
  getGetTcxExpiringKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10298
+ /**
10299
+ * Get 3CX Expiring Keys
10300
+ * @summary Get 3CX Expiring Keys
10301
+ * @param {*} [options] Override http request option.
10302
+ * @throws {RequiredError}
10303
+ */
10304
+ getGetTcxExpiringKeysCsv: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10251
10305
  /**
10252
10306
  * Get 3CX Partners
10253
10307
  * @summary Get 3CX Partners
@@ -10289,7 +10343,14 @@ export declare const Class3CXApiFp: (configuration?: Configuration) => {
10289
10343
  * @param {*} [options] Override http request option.
10290
10344
  * @throws {RequiredError}
10291
10345
  */
10292
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
10346
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExpiringKeyDTO>>>;
10347
+ /**
10348
+ * Get 3CX Expiring Keys
10349
+ * @summary Get 3CX Expiring Keys
10350
+ * @param {*} [options] Override http request option.
10351
+ * @throws {RequiredError}
10352
+ */
10353
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
10293
10354
  /**
10294
10355
  * Get 3CX Partners
10295
10356
  * @summary Get 3CX Partners
@@ -10331,7 +10392,14 @@ export declare const Class3CXApiFactory: (configuration?: Configuration, basePat
10331
10392
  * @param {*} [options] Override http request option.
10332
10393
  * @throws {RequiredError}
10333
10394
  */
10334
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<string>;
10395
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExpiringKeyDTO>>;
10396
+ /**
10397
+ * Get 3CX Expiring Keys
10398
+ * @summary Get 3CX Expiring Keys
10399
+ * @param {*} [options] Override http request option.
10400
+ * @throws {RequiredError}
10401
+ */
10402
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): AxiosPromise<string>;
10335
10403
  /**
10336
10404
  * Get 3CX Partners
10337
10405
  * @summary Get 3CX Partners
@@ -10373,7 +10441,14 @@ export declare class Class3CXApi extends BaseAPI {
10373
10441
  * @param {*} [options] Override http request option.
10374
10442
  * @throws {RequiredError}
10375
10443
  */
10376
- getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
10444
+ getGetTcxExpiringKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExpiringKeyDTO[], any, {}>>;
10445
+ /**
10446
+ * Get 3CX Expiring Keys
10447
+ * @summary Get 3CX Expiring Keys
10448
+ * @param {*} [options] Override http request option.
10449
+ * @throws {RequiredError}
10450
+ */
10451
+ getGetTcxExpiringKeysCsv(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
10377
10452
  /**
10378
10453
  * Get 3CX Partners
10379
10454
  * @summary Get 3CX Partners
@@ -13853,10 +13928,11 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
13853
13928
  * Mark Order As Complete (Admin)
13854
13929
  * @summary Mark Order As Complete (Admin)
13855
13930
  * @param {number} id Order ID
13931
+ * @param {boolean} complete Complete Status
13856
13932
  * @param {*} [options] Override http request option.
13857
13933
  * @throws {RequiredError}
13858
13934
  */
13859
- patchCompleteOrder: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13935
+ patchCompleteOrder: (id: number, complete: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13860
13936
  /**
13861
13937
  * Add Order Note
13862
13938
  * @summary Add Order Note
@@ -14147,10 +14223,11 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
14147
14223
  * Mark Order As Complete (Admin)
14148
14224
  * @summary Mark Order As Complete (Admin)
14149
14225
  * @param {number} id Order ID
14226
+ * @param {boolean} complete Complete Status
14150
14227
  * @param {*} [options] Override http request option.
14151
14228
  * @throws {RequiredError}
14152
14229
  */
14153
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>>;
14230
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderDetailsDTO>>;
14154
14231
  /**
14155
14232
  * Add Order Note
14156
14233
  * @summary Add Order Note
@@ -14441,10 +14518,11 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
14441
14518
  * Mark Order As Complete (Admin)
14442
14519
  * @summary Mark Order As Complete (Admin)
14443
14520
  * @param {number} id Order ID
14521
+ * @param {boolean} complete Complete Status
14444
14522
  * @param {*} [options] Override http request option.
14445
14523
  * @throws {RequiredError}
14446
14524
  */
14447
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO>;
14525
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): AxiosPromise<OrderDetailsDTO>;
14448
14526
  /**
14449
14527
  * Add Order Note
14450
14528
  * @summary Add Order Note
@@ -14735,10 +14813,11 @@ export declare class OrdersApi extends BaseAPI {
14735
14813
  * Mark Order As Complete (Admin)
14736
14814
  * @summary Mark Order As Complete (Admin)
14737
14815
  * @param {number} id Order ID
14816
+ * @param {boolean} complete Complete Status
14738
14817
  * @param {*} [options] Override http request option.
14739
14818
  * @throws {RequiredError}
14740
14819
  */
14741
- patchCompleteOrder(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderDetailsDTO, any, {}>>;
14820
+ patchCompleteOrder(id: number, complete: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderDetailsDTO, any, {}>>;
14742
14821
  /**
14743
14822
  * Add Order Note
14744
14823
  * @summary Add Order Note
@@ -15214,20 +15293,22 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
15214
15293
  * @summary Get Product
15215
15294
  * @param {string} sku Product SKU
15216
15295
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15296
+ * @param {number} [orderId] Order ID
15217
15297
  * @param {*} [options] Override http request option.
15218
15298
  * @throws {RequiredError}
15219
15299
  */
15220
- postGetProduct: (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15300
+ postGetProduct: (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15221
15301
  /**
15222
15302
  * Get Product For Customer
15223
15303
  * @summary Get Product For Customer
15224
15304
  * @param {number} customerId Customer ID
15225
15305
  * @param {string} sku Product SKU
15226
15306
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15307
+ * @param {number} [orderId] Order ID
15227
15308
  * @param {*} [options] Override http request option.
15228
15309
  * @throws {RequiredError}
15229
15310
  */
15230
- postGetProductForCustomer: (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15311
+ postGetProductForCustomer: (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15231
15312
  };
15232
15313
  /**
15233
15314
  * ProductsApi - functional programming interface
@@ -15301,20 +15382,22 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
15301
15382
  * @summary Get Product
15302
15383
  * @param {string} sku Product SKU
15303
15384
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15385
+ * @param {number} [orderId] Order ID
15304
15386
  * @param {*} [options] Override http request option.
15305
15387
  * @throws {RequiredError}
15306
15388
  */
15307
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
15389
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
15308
15390
  /**
15309
15391
  * Get Product For Customer
15310
15392
  * @summary Get Product For Customer
15311
15393
  * @param {number} customerId Customer ID
15312
15394
  * @param {string} sku Product SKU
15313
15395
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15396
+ * @param {number} [orderId] Order ID
15314
15397
  * @param {*} [options] Override http request option.
15315
15398
  * @throws {RequiredError}
15316
15399
  */
15317
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
15400
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
15318
15401
  };
15319
15402
  /**
15320
15403
  * ProductsApi - factory interface
@@ -15388,20 +15471,22 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
15388
15471
  * @summary Get Product
15389
15472
  * @param {string} sku Product SKU
15390
15473
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15474
+ * @param {number} [orderId] Order ID
15391
15475
  * @param {*} [options] Override http request option.
15392
15476
  * @throws {RequiredError}
15393
15477
  */
15394
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
15478
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
15395
15479
  /**
15396
15480
  * Get Product For Customer
15397
15481
  * @summary Get Product For Customer
15398
15482
  * @param {number} customerId Customer ID
15399
15483
  * @param {string} sku Product SKU
15400
15484
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15485
+ * @param {number} [orderId] Order ID
15401
15486
  * @param {*} [options] Override http request option.
15402
15487
  * @throws {RequiredError}
15403
15488
  */
15404
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
15489
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
15405
15490
  };
15406
15491
  /**
15407
15492
  * ProductsApi - object-oriented interface
@@ -15475,20 +15560,22 @@ export declare class ProductsApi extends BaseAPI {
15475
15560
  * @summary Get Product
15476
15561
  * @param {string} sku Product SKU
15477
15562
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15563
+ * @param {number} [orderId] Order ID
15478
15564
  * @param {*} [options] Override http request option.
15479
15565
  * @throws {RequiredError}
15480
15566
  */
15481
- postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
15567
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
15482
15568
  /**
15483
15569
  * Get Product For Customer
15484
15570
  * @summary Get Product For Customer
15485
15571
  * @param {number} customerId Customer ID
15486
15572
  * @param {string} sku Product SKU
15487
15573
  * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
15574
+ * @param {number} [orderId] Order ID
15488
15575
  * @param {*} [options] Override http request option.
15489
15576
  * @throws {RequiredError}
15490
15577
  */
15491
- postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
15578
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, orderId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
15492
15579
  }
15493
15580
  export declare const GetGetLegacyStockListFormatEnum: {
15494
15581
  readonly Xml: "XML";
@@ -15726,10 +15813,11 @@ export declare const ProvisioningApiAxiosParamCreator: (configuration?: Configur
15726
15813
  postAddFanvilMac: (id: string, mac: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15727
15814
  /**
15728
15815
  * Create a MAC address in FDPS
15816
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15729
15817
  * @param {*} [options] Override http request option.
15730
15818
  * @throws {RequiredError}
15731
15819
  */
15732
- postCreateMac: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15820
+ postCreateMac: (macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15733
15821
  };
15734
15822
  /**
15735
15823
  * ProvisioningApi - functional programming interface
@@ -15810,10 +15898,11 @@ export declare const ProvisioningApiFp: (configuration?: Configuration) => {
15810
15898
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15811
15899
  /**
15812
15900
  * Create a MAC address in FDPS
15901
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15813
15902
  * @param {*} [options] Override http request option.
15814
15903
  * @throws {RequiredError}
15815
15904
  */
15816
- postCreateMac(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>>;
15905
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MacAddressDTO>>;
15817
15906
  };
15818
15907
  /**
15819
15908
  * ProvisioningApi - factory interface
@@ -15894,10 +15983,11 @@ export declare const ProvisioningApiFactory: (configuration?: Configuration, bas
15894
15983
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15895
15984
  /**
15896
15985
  * Create a MAC address in FDPS
15986
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15897
15987
  * @param {*} [options] Override http request option.
15898
15988
  * @throws {RequiredError}
15899
15989
  */
15900
- postCreateMac(options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO>;
15990
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): AxiosPromise<MacAddressDTO>;
15901
15991
  };
15902
15992
  /**
15903
15993
  * ProvisioningApi - object-oriented interface
@@ -15978,10 +16068,11 @@ export declare class ProvisioningApi extends BaseAPI {
15978
16068
  postAddFanvilMac(id: string, mac: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15979
16069
  /**
15980
16070
  * Create a MAC address in FDPS
16071
+ * @param {MacAddressDTO} [macAddressDTO] Mac Address
15981
16072
  * @param {*} [options] Override http request option.
15982
16073
  * @throws {RequiredError}
15983
16074
  */
15984
- postCreateMac(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MacAddressDTO, any, {}>>;
16075
+ postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MacAddressDTO, any, {}>>;
15985
16076
  }
15986
16077
  /**
15987
16078
  * SIPTrunksApi - axios parameter creator