yellowgrid-api-ts 3.0.84-dev.0 → 3.0.86-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
@@ -762,6 +762,12 @@ export interface AdminOrderRequestDTO {
762
762
  * @memberof AdminOrderRequestDTO
763
763
  */
764
764
  'includeNfrPromos'?: boolean;
765
+ /**
766
+ * Carriage Charge
767
+ * @type {number}
768
+ * @memberof AdminOrderRequestDTO
769
+ */
770
+ 'carriageCharge'?: number;
765
771
  }
766
772
  /**
767
773
  * Admin User
@@ -4284,6 +4290,31 @@ export interface PostGetClientCredentialsRequest {
4284
4290
  */
4285
4291
  'scopes'?: Array<string>;
4286
4292
  }
4293
+ /**
4294
+ *
4295
+ * @export
4296
+ * @interface PostGetProductForCustomerRequest
4297
+ */
4298
+ export interface PostGetProductForCustomerRequest {
4299
+ /**
4300
+ * Quantity
4301
+ * @type {number}
4302
+ * @memberof PostGetProductForCustomerRequest
4303
+ */
4304
+ 'quantity'?: number | null;
4305
+ /**
4306
+ * 3CX Licence Key
4307
+ * @type {string}
4308
+ * @memberof PostGetProductForCustomerRequest
4309
+ */
4310
+ 'licenceKey'?: string | null;
4311
+ /**
4312
+ * 3CX Hosting
4313
+ * @type {boolean}
4314
+ * @memberof PostGetProductForCustomerRequest
4315
+ */
4316
+ 'hosting'?: boolean | null;
4317
+ }
4287
4318
  /**
4288
4319
  * Price & Stock List
4289
4320
  * @export
@@ -12636,29 +12667,6 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
12636
12667
  * @throws {RequiredError}
12637
12668
  */
12638
12669
  getGetLegacyStockList: (format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12639
- /**
12640
- * Get Product
12641
- * @summary Get Product
12642
- * @param {string} sku Product SKU
12643
- * @param {number} [quantity] Quantity
12644
- * @param {string} [licenceKey] 3CX Licence Key
12645
- * @param {boolean} [hosting] 3CX Hosting
12646
- * @param {*} [options] Override http request option.
12647
- * @throws {RequiredError}
12648
- */
12649
- getGetProduct: (sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12650
- /**
12651
- * Get Product For Customer
12652
- * @summary Get Product For Customer
12653
- * @param {number} customerId Customer ID
12654
- * @param {string} sku Product SKU
12655
- * @param {number} [quantity] Quantity
12656
- * @param {string} [licenceKey] 3CX Licence Key
12657
- * @param {boolean} [hosting] 3CX Hosting
12658
- * @param {*} [options] Override http request option.
12659
- * @throws {RequiredError}
12660
- */
12661
- getGetProductForCustomer: (customerId: number, sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12662
12670
  /**
12663
12671
  * Get Products
12664
12672
  * @summary Get Products
@@ -12690,6 +12698,25 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
12690
12698
  * @throws {RequiredError}
12691
12699
  */
12692
12700
  getSearchProducts: (pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12701
+ /**
12702
+ * Get Product
12703
+ * @summary Get Product
12704
+ * @param {string} sku Product SKU
12705
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12706
+ * @param {*} [options] Override http request option.
12707
+ * @throws {RequiredError}
12708
+ */
12709
+ postGetProduct: (sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12710
+ /**
12711
+ * Get Product For Customer
12712
+ * @summary Get Product For Customer
12713
+ * @param {number} customerId Customer ID
12714
+ * @param {string} sku Product SKU
12715
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12716
+ * @param {*} [options] Override http request option.
12717
+ * @throws {RequiredError}
12718
+ */
12719
+ postGetProductForCustomer: (customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
12693
12720
  };
12694
12721
  /**
12695
12722
  * ProductsApi - functional programming interface
@@ -12712,29 +12739,6 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
12712
12739
  * @throws {RequiredError}
12713
12740
  */
12714
12741
  getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
12715
- /**
12716
- * Get Product
12717
- * @summary Get Product
12718
- * @param {string} sku Product SKU
12719
- * @param {number} [quantity] Quantity
12720
- * @param {string} [licenceKey] 3CX Licence Key
12721
- * @param {boolean} [hosting] 3CX Hosting
12722
- * @param {*} [options] Override http request option.
12723
- * @throws {RequiredError}
12724
- */
12725
- getGetProduct(sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
12726
- /**
12727
- * Get Product For Customer
12728
- * @summary Get Product For Customer
12729
- * @param {number} customerId Customer ID
12730
- * @param {string} sku Product SKU
12731
- * @param {number} [quantity] Quantity
12732
- * @param {string} [licenceKey] 3CX Licence Key
12733
- * @param {boolean} [hosting] 3CX Hosting
12734
- * @param {*} [options] Override http request option.
12735
- * @throws {RequiredError}
12736
- */
12737
- getGetProductForCustomer(customerId: number, sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
12738
12742
  /**
12739
12743
  * Get Products
12740
12744
  * @summary Get Products
@@ -12766,6 +12770,25 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
12766
12770
  * @throws {RequiredError}
12767
12771
  */
12768
12772
  getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSearchResultsModel>>;
12773
+ /**
12774
+ * Get Product
12775
+ * @summary Get Product
12776
+ * @param {string} sku Product SKU
12777
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12778
+ * @param {*} [options] Override http request option.
12779
+ * @throws {RequiredError}
12780
+ */
12781
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
12782
+ /**
12783
+ * Get Product For Customer
12784
+ * @summary Get Product For Customer
12785
+ * @param {number} customerId Customer ID
12786
+ * @param {string} sku Product SKU
12787
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12788
+ * @param {*} [options] Override http request option.
12789
+ * @throws {RequiredError}
12790
+ */
12791
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductSummaryDTO>>;
12769
12792
  };
12770
12793
  /**
12771
12794
  * ProductsApi - factory interface
@@ -12788,29 +12811,6 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
12788
12811
  * @throws {RequiredError}
12789
12812
  */
12790
12813
  getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig): AxiosPromise<string>;
12791
- /**
12792
- * Get Product
12793
- * @summary Get Product
12794
- * @param {string} sku Product SKU
12795
- * @param {number} [quantity] Quantity
12796
- * @param {string} [licenceKey] 3CX Licence Key
12797
- * @param {boolean} [hosting] 3CX Hosting
12798
- * @param {*} [options] Override http request option.
12799
- * @throws {RequiredError}
12800
- */
12801
- getGetProduct(sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
12802
- /**
12803
- * Get Product For Customer
12804
- * @summary Get Product For Customer
12805
- * @param {number} customerId Customer ID
12806
- * @param {string} sku Product SKU
12807
- * @param {number} [quantity] Quantity
12808
- * @param {string} [licenceKey] 3CX Licence Key
12809
- * @param {boolean} [hosting] 3CX Hosting
12810
- * @param {*} [options] Override http request option.
12811
- * @throws {RequiredError}
12812
- */
12813
- getGetProductForCustomer(customerId: number, sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
12814
12814
  /**
12815
12815
  * Get Products
12816
12816
  * @summary Get Products
@@ -12842,6 +12842,25 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
12842
12842
  * @throws {RequiredError}
12843
12843
  */
12844
12844
  getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductSearchResultsModel>;
12845
+ /**
12846
+ * Get Product
12847
+ * @summary Get Product
12848
+ * @param {string} sku Product SKU
12849
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12850
+ * @param {*} [options] Override http request option.
12851
+ * @throws {RequiredError}
12852
+ */
12853
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
12854
+ /**
12855
+ * Get Product For Customer
12856
+ * @summary Get Product For Customer
12857
+ * @param {number} customerId Customer ID
12858
+ * @param {string} sku Product SKU
12859
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12860
+ * @param {*} [options] Override http request option.
12861
+ * @throws {RequiredError}
12862
+ */
12863
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductSummaryDTO>;
12845
12864
  };
12846
12865
  /**
12847
12866
  * ProductsApi - object-oriented interface
@@ -12868,31 +12887,6 @@ export declare class ProductsApi extends BaseAPI {
12868
12887
  * @memberof ProductsApi
12869
12888
  */
12870
12889
  getGetLegacyStockList(format: GetGetLegacyStockListFormatEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
12871
- /**
12872
- * Get Product
12873
- * @summary Get Product
12874
- * @param {string} sku Product SKU
12875
- * @param {number} [quantity] Quantity
12876
- * @param {string} [licenceKey] 3CX Licence Key
12877
- * @param {boolean} [hosting] 3CX Hosting
12878
- * @param {*} [options] Override http request option.
12879
- * @throws {RequiredError}
12880
- * @memberof ProductsApi
12881
- */
12882
- getGetProduct(sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
12883
- /**
12884
- * Get Product For Customer
12885
- * @summary Get Product For Customer
12886
- * @param {number} customerId Customer ID
12887
- * @param {string} sku Product SKU
12888
- * @param {number} [quantity] Quantity
12889
- * @param {string} [licenceKey] 3CX Licence Key
12890
- * @param {boolean} [hosting] 3CX Hosting
12891
- * @param {*} [options] Override http request option.
12892
- * @throws {RequiredError}
12893
- * @memberof ProductsApi
12894
- */
12895
- getGetProductForCustomer(customerId: number, sku: string, quantity?: number, licenceKey?: string, hosting?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
12896
12890
  /**
12897
12891
  * Get Products
12898
12892
  * @summary Get Products
@@ -12928,6 +12922,27 @@ export declare class ProductsApi extends BaseAPI {
12928
12922
  * @memberof ProductsApi
12929
12923
  */
12930
12924
  getSearchProducts(pageSize?: number, page?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSearchResultsModel, any, {}>>;
12925
+ /**
12926
+ * Get Product
12927
+ * @summary Get Product
12928
+ * @param {string} sku Product SKU
12929
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12930
+ * @param {*} [options] Override http request option.
12931
+ * @throws {RequiredError}
12932
+ * @memberof ProductsApi
12933
+ */
12934
+ postGetProduct(sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
12935
+ /**
12936
+ * Get Product For Customer
12937
+ * @summary Get Product For Customer
12938
+ * @param {number} customerId Customer ID
12939
+ * @param {string} sku Product SKU
12940
+ * @param {PostGetProductForCustomerRequest} postGetProductForCustomerRequest Product search criteria
12941
+ * @param {*} [options] Override http request option.
12942
+ * @throws {RequiredError}
12943
+ * @memberof ProductsApi
12944
+ */
12945
+ postGetProductForCustomer(customerId: number, sku: string, postGetProductForCustomerRequest: PostGetProductForCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductSummaryDTO, any, {}>>;
12931
12946
  }
12932
12947
  /**
12933
12948
  * @export