@infisale-client/api-client 1.2.107 → 1.2.109

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/api.d.ts CHANGED
@@ -1096,12 +1096,6 @@ export interface IBrandPatchRequest {
1096
1096
  * @memberof IBrandPatchRequest
1097
1097
  */
1098
1098
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1099
- /**
1100
- *
1101
- * @type {Array<string>}
1102
- * @memberof IBrandPatchRequest
1103
- */
1104
- 'slugs'?: Array<string>;
1105
1099
  /**
1106
1100
  *
1107
1101
  * @type {IImage}
@@ -1127,12 +1121,6 @@ export interface IBrandPostRequest {
1127
1121
  * @memberof IBrandPostRequest
1128
1122
  */
1129
1123
  'contents': PartialRecordLanguageEnumIContentsValue;
1130
- /**
1131
- *
1132
- * @type {Array<string>}
1133
- * @memberof IBrandPostRequest
1134
- */
1135
- 'slugs': Array<string>;
1136
1124
  /**
1137
1125
  *
1138
1126
  * @type {IImage}
@@ -1423,12 +1411,6 @@ export interface ICategoryPatchRequest {
1423
1411
  * @memberof ICategoryPatchRequest
1424
1412
  */
1425
1413
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1426
- /**
1427
- *
1428
- * @type {Array<string>}
1429
- * @memberof ICategoryPatchRequest
1430
- */
1431
- 'slugs'?: Array<string>;
1432
1414
  /**
1433
1415
  *
1434
1416
  * @type {IImage}
@@ -1460,12 +1442,6 @@ export interface ICategoryPostRequest {
1460
1442
  * @memberof ICategoryPostRequest
1461
1443
  */
1462
1444
  'contents': PartialRecordLanguageEnumIContentsValue;
1463
- /**
1464
- *
1465
- * @type {Array<string>}
1466
- * @memberof ICategoryPostRequest
1467
- */
1468
- 'slugs': Array<string>;
1469
1445
  /**
1470
1446
  *
1471
1447
  * @type {IImage}
@@ -1809,12 +1785,6 @@ export interface ICollectionPatchRequest {
1809
1785
  * @memberof ICollectionPatchRequest
1810
1786
  */
1811
1787
  'contents'?: PartialRecordLanguageEnumIContentsValue;
1812
- /**
1813
- *
1814
- * @type {Array<string>}
1815
- * @memberof ICollectionPatchRequest
1816
- */
1817
- 'slugs'?: Array<string>;
1818
1788
  /**
1819
1789
  *
1820
1790
  * @type {IImage}
@@ -1840,12 +1810,6 @@ export interface ICollectionPostRequest {
1840
1810
  * @memberof ICollectionPostRequest
1841
1811
  */
1842
1812
  'contents': PartialRecordLanguageEnumIContentsValue;
1843
- /**
1844
- *
1845
- * @type {Array<string>}
1846
- * @memberof ICollectionPostRequest
1847
- */
1848
- 'slugs': Array<string>;
1849
1813
  /**
1850
1814
  *
1851
1815
  * @type {IImage}
@@ -2080,12 +2044,6 @@ export interface ICompany {
2080
2044
  * @memberof ICompany
2081
2045
  */
2082
2046
  'domains': Array<string>;
2083
- /**
2084
- *
2085
- * @type {string}
2086
- * @memberof ICompany
2087
- */
2088
- 'dnsZoneId'?: string;
2089
2047
  /**
2090
2048
  *
2091
2049
  * @type {string}
@@ -2407,12 +2365,6 @@ export interface ICompanyAdminResponse {
2407
2365
  * @memberof ICompanyAdminResponse
2408
2366
  */
2409
2367
  'domains': Array<string>;
2410
- /**
2411
- *
2412
- * @type {string}
2413
- * @memberof ICompanyAdminResponse
2414
- */
2415
- 'dnsZoneId'?: string;
2416
2368
  /**
2417
2369
  *
2418
2370
  * @type {string}
@@ -3113,12 +3065,6 @@ export interface ICompanyPatchRequest {
3113
3065
  * @memberof ICompanyPatchRequest
3114
3066
  */
3115
3067
  'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
3116
- /**
3117
- *
3118
- * @type {string}
3119
- * @memberof ICompanyPatchRequest
3120
- */
3121
- 'dnsZoneId'?: string;
3122
3068
  /**
3123
3069
  *
3124
3070
  * @type {string}
@@ -3458,12 +3404,6 @@ export interface ICompanyResponse {
3458
3404
  * @memberof ICompanyResponse
3459
3405
  */
3460
3406
  'domains': Array<string>;
3461
- /**
3462
- *
3463
- * @type {string}
3464
- * @memberof ICompanyResponse
3465
- */
3466
- 'dnsZoneId'?: string;
3467
3407
  /**
3468
3408
  *
3469
3409
  * @type {string}
@@ -5856,6 +5796,12 @@ export interface IOrderResponse {
5856
5796
  * @memberof IOrderResponse
5857
5797
  */
5858
5798
  'paymentStatus': OrderPaymentStatusEnum;
5799
+ /**
5800
+ *
5801
+ * @type {boolean}
5802
+ * @memberof IOrderResponse
5803
+ */
5804
+ 'invoiceAdded': boolean;
5859
5805
  }
5860
5806
  /**
5861
5807
  *
@@ -6298,12 +6244,6 @@ export interface IPagePatchRequest {
6298
6244
  * @memberof IPagePatchRequest
6299
6245
  */
6300
6246
  'contents'?: PartialRecordLanguageEnumIContentsValue;
6301
- /**
6302
- *
6303
- * @type {Array<string>}
6304
- * @memberof IPagePatchRequest
6305
- */
6306
- 'slugs'?: Array<string>;
6307
6247
  /**
6308
6248
  *
6309
6249
  * @type {IImage}
@@ -6335,12 +6275,6 @@ export interface IPagePostRequest {
6335
6275
  * @memberof IPagePostRequest
6336
6276
  */
6337
6277
  'contents': PartialRecordLanguageEnumIContentsValue;
6338
- /**
6339
- *
6340
- * @type {Array<string>}
6341
- * @memberof IPagePostRequest
6342
- */
6343
- 'slugs': Array<string>;
6344
6278
  /**
6345
6279
  *
6346
6280
  * @type {IImage}
@@ -7139,12 +7073,6 @@ export interface IProductPatchRequest {
7139
7073
  * @memberof IProductPatchRequest
7140
7074
  */
7141
7075
  'contents'?: PartialRecordLanguageEnumIContentsValue;
7142
- /**
7143
- *
7144
- * @type {Array<string>}
7145
- * @memberof IProductPatchRequest
7146
- */
7147
- 'slugs'?: Array<string>;
7148
7076
  /**
7149
7077
  *
7150
7078
  * @type {Array<VariantType>}
@@ -7230,12 +7158,6 @@ export interface IProductPostRequest {
7230
7158
  * @memberof IProductPostRequest
7231
7159
  */
7232
7160
  'contents': PartialRecordLanguageEnumIContentsValue;
7233
- /**
7234
- *
7235
- * @type {Array<string>}
7236
- * @memberof IProductPostRequest
7237
- */
7238
- 'slugs': Array<string>;
7239
7161
  /**
7240
7162
  *
7241
7163
  * @type {Array<VariantType>}
@@ -9723,31 +9645,25 @@ export interface PickIBasketExcludeKeyofIBasketItems {
9723
9645
  /**
9724
9646
  * From T, pick a set of properties whose keys are in the union K
9725
9647
  * @export
9726
- * @interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9648
+ * @interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9727
9649
  */
9728
- export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse {
9650
+ export interface PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs {
9729
9651
  /**
9730
9652
  *
9731
9653
  * @type {string}
9732
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9654
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9733
9655
  */
9734
9656
  'company': string;
9735
9657
  /**
9736
9658
  *
9737
9659
  * @type {PartialRecordLanguageEnumIContentsValue}
9738
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9660
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9739
9661
  */
9740
9662
  'contents': PartialRecordLanguageEnumIContentsValue;
9741
- /**
9742
- *
9743
- * @type {Array<string>}
9744
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9745
- */
9746
- 'slugs': Array<string>;
9747
9663
  /**
9748
9664
  *
9749
9665
  * @type {IImage}
9750
- * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponse
9666
+ * @memberof PickIBrandResponseExcludeKeyofIBrandResponseKeyofMongoResponseOrSlugs
9751
9667
  */
9752
9668
  'thumbnail'?: IImage;
9753
9669
  }
@@ -9815,37 +9731,31 @@ export interface PickICategoryExcludeKeyofICategoryAttributes {
9815
9731
  /**
9816
9732
  * From T, pick a set of properties whose keys are in the union K
9817
9733
  * @export
9818
- * @interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9734
+ * @interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9819
9735
  */
9820
- export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes {
9736
+ export interface PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs {
9821
9737
  /**
9822
9738
  *
9823
9739
  * @type {string}
9824
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9740
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9825
9741
  */
9826
9742
  'company': string;
9827
9743
  /**
9828
9744
  *
9829
9745
  * @type {PartialRecordLanguageEnumIContentsValue}
9830
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9746
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9831
9747
  */
9832
9748
  'contents': PartialRecordLanguageEnumIContentsValue;
9833
- /**
9834
- *
9835
- * @type {Array<string>}
9836
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9837
- */
9838
- 'slugs': Array<string>;
9839
9749
  /**
9840
9750
  *
9841
9751
  * @type {IImage}
9842
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9752
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9843
9753
  */
9844
9754
  'thumbnail'?: IImage;
9845
9755
  /**
9846
9756
  *
9847
9757
  * @type {string}
9848
- * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributes
9758
+ * @memberof PickICategoryResponseExcludeKeyofICategoryResponseKeyofMongoResponseOrAttributesOrSlugs
9849
9759
  */
9850
9760
  'main'?: string;
9851
9761
  }
@@ -9956,31 +9866,25 @@ export type PickICollectionQueryParamsExcludeKeyofICollectionQueryParamsSortDate
9956
9866
  /**
9957
9867
  * From T, pick a set of properties whose keys are in the union K
9958
9868
  * @export
9959
- * @interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9869
+ * @interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9960
9870
  */
9961
- export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates {
9871
+ export interface PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs {
9962
9872
  /**
9963
9873
  *
9964
9874
  * @type {string}
9965
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9875
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9966
9876
  */
9967
9877
  'company': string;
9968
9878
  /**
9969
9879
  *
9970
9880
  * @type {PartialRecordLanguageEnumIContentsValue}
9971
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9881
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9972
9882
  */
9973
9883
  'contents': PartialRecordLanguageEnumIContentsValue;
9974
- /**
9975
- *
9976
- * @type {Array<string>}
9977
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9978
- */
9979
- 'slugs': Array<string>;
9980
9884
  /**
9981
9885
  *
9982
9886
  * @type {IImage}
9983
- * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplates
9887
+ * @memberof PickICollectionResponseExcludeKeyofICollectionResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
9984
9888
  */
9985
9889
  'thumbnail'?: IImage;
9986
9890
  }
@@ -10142,12 +10046,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10142
10046
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10143
10047
  */
10144
10048
  'domains': Array<string>;
10145
- /**
10146
- *
10147
- * @type {string}
10148
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10149
- */
10150
- 'dnsZoneId'?: string;
10151
10049
  /**
10152
10050
  *
10153
10051
  * @type {string}
@@ -10722,6 +10620,12 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
10722
10620
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
10723
10621
  */
10724
10622
  'paymentStatus': OrderPaymentStatusEnum;
10623
+ /**
10624
+ *
10625
+ * @type {boolean}
10626
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
10627
+ */
10628
+ 'invoiceAdded': boolean;
10725
10629
  }
10726
10630
  /**
10727
10631
  *
@@ -11009,37 +10913,31 @@ export interface PickIPageExcludeKeyofIPageTemplate {
11009
10913
  /**
11010
10914
  * From T, pick a set of properties whose keys are in the union K
11011
10915
  * @export
11012
- * @interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10916
+ * @interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
11013
10917
  */
11014
- export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates {
10918
+ export interface PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs {
11015
10919
  /**
11016
10920
  *
11017
10921
  * @type {string}
11018
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10922
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
11019
10923
  */
11020
10924
  'company': string;
11021
10925
  /**
11022
10926
  *
11023
10927
  * @type {PartialRecordLanguageEnumIContentsValue}
11024
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10928
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
11025
10929
  */
11026
10930
  'contents': PartialRecordLanguageEnumIContentsValue;
11027
- /**
11028
- *
11029
- * @type {Array<string>}
11030
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
11031
- */
11032
- 'slugs': Array<string>;
11033
10931
  /**
11034
10932
  *
11035
10933
  * @type {IImage}
11036
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10934
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
11037
10935
  */
11038
10936
  'thumbnail'?: IImage;
11039
10937
  /**
11040
10938
  *
11041
10939
  * @type {PageTypeEnum}
11042
- * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplates
10940
+ * @memberof PickIPageResponseExcludeKeyofIPageResponseKeyofMongoResponseOrTemplateOrTemplatesOrSlugs
11043
10941
  */
11044
10942
  'type': PageTypeEnum;
11045
10943
  }
@@ -11314,12 +11212,6 @@ export interface PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPo
11314
11212
  * @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
11315
11213
  */
11316
11214
  'contents': PartialRecordLanguageEnumIContentsValue;
11317
- /**
11318
- *
11319
- * @type {Array<string>}
11320
- * @memberof PickIProductResponseExcludeKeyofIProductResponseKeyofICompanyPostRequestOmitFields
11321
- */
11322
- 'slugs': Array<string>;
11323
11215
  /**
11324
11216
  *
11325
11217
  * @type {Array<VariantType>}
@@ -13851,6 +13743,13 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
13851
13743
  * @throws {RequiredError}
13852
13744
  */
13853
13745
  getOrderById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13746
+ /**
13747
+ *
13748
+ * @param {string} orderId
13749
+ * @param {*} [options] Override http request option.
13750
+ * @throws {RequiredError}
13751
+ */
13752
+ getOrderInvoice: (orderId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13854
13753
  /**
13855
13754
  *
13856
13755
  * @param {string} id
@@ -13934,6 +13833,13 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
13934
13833
  * @throws {RequiredError}
13935
13834
  */
13936
13835
  getOrderById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IOrderResponse>>;
13836
+ /**
13837
+ *
13838
+ * @param {string} orderId
13839
+ * @param {*} [options] Override http request option.
13840
+ * @throws {RequiredError}
13841
+ */
13842
+ getOrderInvoice(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
13937
13843
  /**
13938
13844
  *
13939
13845
  * @param {string} id
@@ -14008,6 +13914,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
14008
13914
  * @throws {RequiredError}
14009
13915
  */
14010
13916
  getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IOrderResponse>;
13917
+ /**
13918
+ *
13919
+ * @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
13920
+ * @param {*} [options] Override http request option.
13921
+ * @throws {RequiredError}
13922
+ */
13923
+ getOrderInvoice(requestParameters: OrderApiGetOrderInvoiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
14011
13924
  /**
14012
13925
  *
14013
13926
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
@@ -14149,6 +14062,19 @@ export interface OrderApiGetOrderByIdRequest {
14149
14062
  */
14150
14063
  readonly id: string;
14151
14064
  }
14065
+ /**
14066
+ * Request parameters for getOrderInvoice operation in OrderApi.
14067
+ * @export
14068
+ * @interface OrderApiGetOrderInvoiceRequest
14069
+ */
14070
+ export interface OrderApiGetOrderInvoiceRequest {
14071
+ /**
14072
+ *
14073
+ * @type {string}
14074
+ * @memberof OrderApiGetOrderInvoice
14075
+ */
14076
+ readonly orderId: string;
14077
+ }
14152
14078
  /**
14153
14079
  * Request parameters for getOrderProductReview operation in OrderApi.
14154
14080
  * @export
@@ -14307,6 +14233,14 @@ export declare class OrderApi extends BaseAPI {
14307
14233
  * @memberof OrderApi
14308
14234
  */
14309
14235
  getOrderById(requestParameters: OrderApiGetOrderByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IOrderResponse, any>>;
14236
+ /**
14237
+ *
14238
+ * @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
14239
+ * @param {*} [options] Override http request option.
14240
+ * @throws {RequiredError}
14241
+ * @memberof OrderApi
14242
+ */
14243
+ getOrderInvoice(requestParameters: OrderApiGetOrderInvoiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
14310
14244
  /**
14311
14245
  *
14312
14246
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
package/dist/api/api.js CHANGED
@@ -2691,6 +2691,34 @@ const OrderApiAxiosParamCreator = function (configuration) {
2691
2691
  options: localVarRequestOptions,
2692
2692
  };
2693
2693
  },
2694
+ /**
2695
+ *
2696
+ * @param {string} orderId
2697
+ * @param {*} [options] Override http request option.
2698
+ * @throws {RequiredError}
2699
+ */
2700
+ getOrderInvoice: async (orderId, options = {}) => {
2701
+ // verify required parameter 'orderId' is not null or undefined
2702
+ (0, common_1.assertParamExists)('getOrderInvoice', 'orderId', orderId);
2703
+ const localVarPath = `/api/orders/{orderId}/invoice`
2704
+ .replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
2705
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2706
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2707
+ let baseOptions;
2708
+ if (configuration) {
2709
+ baseOptions = configuration.baseOptions;
2710
+ }
2711
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2712
+ const localVarHeaderParameter = {};
2713
+ const localVarQueryParameter = {};
2714
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2715
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2716
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2717
+ return {
2718
+ url: (0, common_1.toPathString)(localVarUrlObj),
2719
+ options: localVarRequestOptions,
2720
+ };
2721
+ },
2694
2722
  /**
2695
2723
  *
2696
2724
  * @param {string} id
@@ -2909,6 +2937,18 @@ const OrderApiFp = function (configuration) {
2909
2937
  const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
2910
2938
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2911
2939
  },
2940
+ /**
2941
+ *
2942
+ * @param {string} orderId
2943
+ * @param {*} [options] Override http request option.
2944
+ * @throws {RequiredError}
2945
+ */
2946
+ async getOrderInvoice(orderId, options) {
2947
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderInvoice(orderId, options);
2948
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2949
+ const localVarOperationServerBasePath = base_1.operationServerMap['OrderApi.getOrderInvoice']?.[localVarOperationServerIndex]?.url;
2950
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2951
+ },
2912
2952
  /**
2913
2953
  *
2914
2954
  * @param {string} id
@@ -3012,6 +3052,15 @@ const OrderApiFactory = function (configuration, basePath, axios) {
3012
3052
  getOrderById(requestParameters, options) {
3013
3053
  return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
3014
3054
  },
3055
+ /**
3056
+ *
3057
+ * @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
3058
+ * @param {*} [options] Override http request option.
3059
+ * @throws {RequiredError}
3060
+ */
3061
+ getOrderInvoice(requestParameters, options) {
3062
+ return localVarFp.getOrderInvoice(requestParameters.orderId, options).then((request) => request(axios, basePath));
3063
+ },
3015
3064
  /**
3016
3065
  *
3017
3066
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
@@ -3099,6 +3148,16 @@ class OrderApi extends base_1.BaseAPI {
3099
3148
  getOrderById(requestParameters, options) {
3100
3149
  return (0, exports.OrderApiFp)(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3101
3150
  }
3151
+ /**
3152
+ *
3153
+ * @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
3154
+ * @param {*} [options] Override http request option.
3155
+ * @throws {RequiredError}
3156
+ * @memberof OrderApi
3157
+ */
3158
+ getOrderInvoice(requestParameters, options) {
3159
+ return (0, exports.OrderApiFp)(this.configuration).getOrderInvoice(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
3160
+ }
3102
3161
  /**
3103
3162
  *
3104
3163
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
package/dist/api/api.mjs CHANGED
@@ -2656,6 +2656,34 @@ export const OrderApiAxiosParamCreator = function (configuration) {
2656
2656
  options: localVarRequestOptions,
2657
2657
  };
2658
2658
  },
2659
+ /**
2660
+ *
2661
+ * @param {string} orderId
2662
+ * @param {*} [options] Override http request option.
2663
+ * @throws {RequiredError}
2664
+ */
2665
+ getOrderInvoice: async (orderId, options = {}) => {
2666
+ // verify required parameter 'orderId' is not null or undefined
2667
+ assertParamExists('getOrderInvoice', 'orderId', orderId);
2668
+ const localVarPath = `/api/orders/{orderId}/invoice`
2669
+ .replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
2670
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2671
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2672
+ let baseOptions;
2673
+ if (configuration) {
2674
+ baseOptions = configuration.baseOptions;
2675
+ }
2676
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2677
+ const localVarHeaderParameter = {};
2678
+ const localVarQueryParameter = {};
2679
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2680
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2681
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2682
+ return {
2683
+ url: toPathString(localVarUrlObj),
2684
+ options: localVarRequestOptions,
2685
+ };
2686
+ },
2659
2687
  /**
2660
2688
  *
2661
2689
  * @param {string} id
@@ -2873,6 +2901,18 @@ export const OrderApiFp = function (configuration) {
2873
2901
  const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderById']?.[localVarOperationServerIndex]?.url;
2874
2902
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2875
2903
  },
2904
+ /**
2905
+ *
2906
+ * @param {string} orderId
2907
+ * @param {*} [options] Override http request option.
2908
+ * @throws {RequiredError}
2909
+ */
2910
+ async getOrderInvoice(orderId, options) {
2911
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrderInvoice(orderId, options);
2912
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2913
+ const localVarOperationServerBasePath = operationServerMap['OrderApi.getOrderInvoice']?.[localVarOperationServerIndex]?.url;
2914
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2915
+ },
2876
2916
  /**
2877
2917
  *
2878
2918
  * @param {string} id
@@ -2975,6 +3015,15 @@ export const OrderApiFactory = function (configuration, basePath, axios) {
2975
3015
  getOrderById(requestParameters, options) {
2976
3016
  return localVarFp.getOrderById(requestParameters.id, options).then((request) => request(axios, basePath));
2977
3017
  },
3018
+ /**
3019
+ *
3020
+ * @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
3021
+ * @param {*} [options] Override http request option.
3022
+ * @throws {RequiredError}
3023
+ */
3024
+ getOrderInvoice(requestParameters, options) {
3025
+ return localVarFp.getOrderInvoice(requestParameters.orderId, options).then((request) => request(axios, basePath));
3026
+ },
2978
3027
  /**
2979
3028
  *
2980
3029
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
@@ -3061,6 +3110,16 @@ export class OrderApi extends BaseAPI {
3061
3110
  getOrderById(requestParameters, options) {
3062
3111
  return OrderApiFp(this.configuration).getOrderById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
3063
3112
  }
3113
+ /**
3114
+ *
3115
+ * @param {OrderApiGetOrderInvoiceRequest} requestParameters Request parameters.
3116
+ * @param {*} [options] Override http request option.
3117
+ * @throws {RequiredError}
3118
+ * @memberof OrderApi
3119
+ */
3120
+ getOrderInvoice(requestParameters, options) {
3121
+ return OrderApiFp(this.configuration).getOrderInvoice(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
3122
+ }
3064
3123
  /**
3065
3124
  *
3066
3125
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api-client",
3
- "version": "1.2.107",
3
+ "version": "1.2.109",
4
4
  "description": "api-client-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "74ee1c5b8c1bd4eeceafec2bc0354aedb6e3db3e"
40
+ "gitHead": "e76a9d0c15c33cd39a1c81974553df8968a8e29a"
41
41
  }