@infisale-client/api-client 1.2.108 → 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
@@ -2044,12 +2044,6 @@ export interface ICompany {
2044
2044
  * @memberof ICompany
2045
2045
  */
2046
2046
  'domains': Array<string>;
2047
- /**
2048
- *
2049
- * @type {string}
2050
- * @memberof ICompany
2051
- */
2052
- 'dnsZoneId'?: string;
2053
2047
  /**
2054
2048
  *
2055
2049
  * @type {string}
@@ -2371,12 +2365,6 @@ export interface ICompanyAdminResponse {
2371
2365
  * @memberof ICompanyAdminResponse
2372
2366
  */
2373
2367
  'domains': Array<string>;
2374
- /**
2375
- *
2376
- * @type {string}
2377
- * @memberof ICompanyAdminResponse
2378
- */
2379
- 'dnsZoneId'?: string;
2380
2368
  /**
2381
2369
  *
2382
2370
  * @type {string}
@@ -3077,12 +3065,6 @@ export interface ICompanyPatchRequest {
3077
3065
  * @memberof ICompanyPatchRequest
3078
3066
  */
3079
3067
  'paymentGateways'?: Array<ICompanyPatchRequestPaymentGatewaysInner>;
3080
- /**
3081
- *
3082
- * @type {string}
3083
- * @memberof ICompanyPatchRequest
3084
- */
3085
- 'dnsZoneId'?: string;
3086
3068
  /**
3087
3069
  *
3088
3070
  * @type {string}
@@ -3422,12 +3404,6 @@ export interface ICompanyResponse {
3422
3404
  * @memberof ICompanyResponse
3423
3405
  */
3424
3406
  'domains': Array<string>;
3425
- /**
3426
- *
3427
- * @type {string}
3428
- * @memberof ICompanyResponse
3429
- */
3430
- 'dnsZoneId'?: string;
3431
3407
  /**
3432
3408
  *
3433
3409
  * @type {string}
@@ -5820,6 +5796,12 @@ export interface IOrderResponse {
5820
5796
  * @memberof IOrderResponse
5821
5797
  */
5822
5798
  'paymentStatus': OrderPaymentStatusEnum;
5799
+ /**
5800
+ *
5801
+ * @type {boolean}
5802
+ * @memberof IOrderResponse
5803
+ */
5804
+ 'invoiceAdded': boolean;
5823
5805
  }
5824
5806
  /**
5825
5807
  *
@@ -10064,12 +10046,6 @@ export interface PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys {
10064
10046
  * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10065
10047
  */
10066
10048
  'domains': Array<string>;
10067
- /**
10068
- *
10069
- * @type {string}
10070
- * @memberof PickICompanyExcludeKeyofICompanyKeyofICompanyResponseOmitKeys
10071
- */
10072
- 'dnsZoneId'?: string;
10073
10049
  /**
10074
10050
  *
10075
10051
  * @type {string}
@@ -10644,6 +10620,12 @@ export interface PickIOrderExcludeKeyofIOrderHtmlOrIframe {
10644
10620
  * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
10645
10621
  */
10646
10622
  'paymentStatus': OrderPaymentStatusEnum;
10623
+ /**
10624
+ *
10625
+ * @type {boolean}
10626
+ * @memberof PickIOrderExcludeKeyofIOrderHtmlOrIframe
10627
+ */
10628
+ 'invoiceAdded': boolean;
10647
10629
  }
10648
10630
  /**
10649
10631
  *
@@ -13761,6 +13743,13 @@ export declare const OrderApiAxiosParamCreator: (configuration?: Configuration)
13761
13743
  * @throws {RequiredError}
13762
13744
  */
13763
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>;
13764
13753
  /**
13765
13754
  *
13766
13755
  * @param {string} id
@@ -13844,6 +13833,13 @@ export declare const OrderApiFp: (configuration?: Configuration) => {
13844
13833
  * @throws {RequiredError}
13845
13834
  */
13846
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>>;
13847
13843
  /**
13848
13844
  *
13849
13845
  * @param {string} id
@@ -13918,6 +13914,13 @@ export declare const OrderApiFactory: (configuration?: Configuration, basePath?:
13918
13914
  * @throws {RequiredError}
13919
13915
  */
13920
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>;
13921
13924
  /**
13922
13925
  *
13923
13926
  * @param {OrderApiGetOrderProductReviewRequest} requestParameters Request parameters.
@@ -14059,6 +14062,19 @@ export interface OrderApiGetOrderByIdRequest {
14059
14062
  */
14060
14063
  readonly id: string;
14061
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
+ }
14062
14078
  /**
14063
14079
  * Request parameters for getOrderProductReview operation in OrderApi.
14064
14080
  * @export
@@ -14217,6 +14233,14 @@ export declare class OrderApi extends BaseAPI {
14217
14233
  * @memberof OrderApi
14218
14234
  */
14219
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>>;
14220
14244
  /**
14221
14245
  *
14222
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.108",
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": "e5a6d0c044c421d1902f1513504aca522af880af"
40
+ "gitHead": "e76a9d0c15c33cd39a1c81974553df8968a8e29a"
41
41
  }