hostinger-api-sdk 1.2.0 → 1.2.1

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/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.2.0
7
+ * API Version: 1.2.1
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/common.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.2.0
4
+ * API Version: 1.2.1
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
package/dist/common.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.2.0
7
+ * API Version: 1.2.1
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.2.0
4
+ * API Version: 1.2.1
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.2.0
7
+ * API Version: 1.2.1
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -16,7 +16,7 @@ class Configuration {
16
16
  var _a;
17
17
  this.accessToken = param.accessToken;
18
18
  this.basePath = param.basePath;
19
- this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.2.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
19
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.2.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
20
20
  this.formDataCtor = param.formDataCtor;
21
21
  }
22
22
  /**
package/dist/esm/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.2.0
4
+ * API Version: 1.2.1
5
5
  *
6
6
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
7
7
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -1816,6 +1816,19 @@ export declare const EcommerceV1SalesChannelSalesChannelListResourceSalesChannel
1816
1816
  readonly Wordpress: "wordpress";
1817
1817
  };
1818
1818
  export type EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = typeof EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum[keyof typeof EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum];
1819
+ /**
1820
+ *
1821
+ * @export
1822
+ * @interface EcommerceV1SalesChannelSalesChannelUpdateResource
1823
+ */
1824
+ export interface EcommerceV1SalesChannelSalesChannelUpdateResource {
1825
+ /**
1826
+ *
1827
+ * @type {EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel}
1828
+ * @memberof EcommerceV1SalesChannelSalesChannelUpdateResource
1829
+ */
1830
+ 'sales_channel': EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel;
1831
+ }
1819
1832
  /**
1820
1833
  *
1821
1834
  * @export
@@ -1845,6 +1858,25 @@ export declare const EcommerceV1SalesChannelStoreRequestTypeEnum: {
1845
1858
  readonly Custom: "custom";
1846
1859
  };
1847
1860
  export type EcommerceV1SalesChannelStoreRequestTypeEnum = typeof EcommerceV1SalesChannelStoreRequestTypeEnum[keyof typeof EcommerceV1SalesChannelStoreRequestTypeEnum];
1861
+ /**
1862
+ *
1863
+ * @export
1864
+ * @interface EcommerceV1SalesChannelUpdateRequest
1865
+ */
1866
+ export interface EcommerceV1SalesChannelUpdateRequest {
1867
+ /**
1868
+ * Merchant-facing custom name shown in the sales channels list. Pass null to clear it.
1869
+ * @type {string}
1870
+ * @memberof EcommerceV1SalesChannelUpdateRequest
1871
+ */
1872
+ 'name': string | null;
1873
+ /**
1874
+ * Public address where the custom sales channel lives. Pass null to clear it.
1875
+ * @type {string}
1876
+ * @memberof EcommerceV1SalesChannelUpdateRequest
1877
+ */
1878
+ 'url': string | null;
1879
+ }
1848
1880
  /**
1849
1881
  *
1850
1882
  * @export
@@ -2017,6 +2049,111 @@ export interface EcommerceV1StoreStoreDeleteResource {
2017
2049
  */
2018
2050
  'is_deleted': boolean;
2019
2051
  }
2052
+ /**
2053
+ *
2054
+ * @export
2055
+ * @interface EcommerceV1StoreStoreMetadataResource
2056
+ */
2057
+ export interface EcommerceV1StoreStoreMetadataResource {
2058
+ /**
2059
+ *
2060
+ * @type {EcommerceV1StoreStoreMetadataResourceMetadata}
2061
+ * @memberof EcommerceV1StoreStoreMetadataResource
2062
+ */
2063
+ 'metadata': EcommerceV1StoreStoreMetadataResourceMetadata;
2064
+ }
2065
+ /**
2066
+ *
2067
+ * @export
2068
+ * @interface EcommerceV1StoreStoreMetadataResourceMetadata
2069
+ */
2070
+ export interface EcommerceV1StoreStoreMetadataResourceMetadata {
2071
+ /**
2072
+ * Whether the store has at least one payment method connected.
2073
+ * @type {boolean}
2074
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadata
2075
+ */
2076
+ 'has_payment_methods': boolean;
2077
+ /**
2078
+ * Whether the store has at least one shipping option configured.
2079
+ * @type {boolean}
2080
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadata
2081
+ */
2082
+ 'has_shipping': boolean;
2083
+ /**
2084
+ * The default currency code of the store.
2085
+ * @type {string}
2086
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadata
2087
+ */
2088
+ 'default_currency_code': string;
2089
+ /**
2090
+ *
2091
+ * @type {EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency}
2092
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadata
2093
+ */
2094
+ 'default_currency': EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency | null;
2095
+ }
2096
+ /**
2097
+ * The store\'s default currency, or null when unset.
2098
+ * @export
2099
+ * @interface EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2100
+ */
2101
+ export interface EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency {
2102
+ /**
2103
+ *
2104
+ * @type {string}
2105
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2106
+ */
2107
+ 'code': string;
2108
+ /**
2109
+ *
2110
+ * @type {string}
2111
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2112
+ */
2113
+ 'symbol': string;
2114
+ /**
2115
+ *
2116
+ * @type {string}
2117
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2118
+ */
2119
+ 'symbol_native': string;
2120
+ /**
2121
+ *
2122
+ * @type {string}
2123
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2124
+ */
2125
+ 'name': string;
2126
+ /**
2127
+ *
2128
+ * @type {string}
2129
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2130
+ */
2131
+ 'name_plural': string;
2132
+ /**
2133
+ *
2134
+ * @type {number}
2135
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2136
+ */
2137
+ 'decimal_digits': number;
2138
+ /**
2139
+ *
2140
+ * @type {number}
2141
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2142
+ */
2143
+ 'rounding': number;
2144
+ /**
2145
+ *
2146
+ * @type {string}
2147
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2148
+ */
2149
+ 'template': string | null;
2150
+ /**
2151
+ *
2152
+ * @type {number}
2153
+ * @memberof EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency
2154
+ */
2155
+ 'min_amount': number | null;
2156
+ }
2020
2157
  /**
2021
2158
  *
2022
2159
  * @export
@@ -7747,13 +7884,13 @@ export declare class EcommerceProductsApi extends BaseAPI {
7747
7884
  export declare const EcommerceSalesChannelsApiAxiosParamCreator: (configuration?: Configuration) => {
7748
7885
  /**
7749
7886
  * Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
7750
- * @summary Create a custom sales channel
7887
+ * @summary Create custom sales channel
7751
7888
  * @param {string} storeId The ID of the store to create the sales channel for.
7752
7889
  * @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
7753
7890
  * @param {*} [options] Override http request option.
7754
7891
  * @throws {RequiredError}
7755
7892
  */
7756
- createACustomSalesChannelV1: (storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7893
+ createCustomSalesChannelV1: (storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7757
7894
  /**
7758
7895
  * List a store\'s active sales channels with their full metadata.
7759
7896
  * @summary List sales channels
@@ -7762,6 +7899,16 @@ export declare const EcommerceSalesChannelsApiAxiosParamCreator: (configuration?
7762
7899
  * @throws {RequiredError}
7763
7900
  */
7764
7901
  listSalesChannelsV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7902
+ /**
7903
+ * Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
7904
+ * @summary Update sales channel
7905
+ * @param {string} storeId The ID of the store that owns the sales channel.
7906
+ * @param {string} salesChannelId The ID of the sales channel to update.
7907
+ * @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
7908
+ * @param {*} [options] Override http request option.
7909
+ * @throws {RequiredError}
7910
+ */
7911
+ updateSalesChannelV1: (storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7765
7912
  };
7766
7913
  /**
7767
7914
  * EcommerceSalesChannelsApi - functional programming interface
@@ -7770,13 +7917,13 @@ export declare const EcommerceSalesChannelsApiAxiosParamCreator: (configuration?
7770
7917
  export declare const EcommerceSalesChannelsApiFp: (configuration?: Configuration) => {
7771
7918
  /**
7772
7919
  * Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
7773
- * @summary Create a custom sales channel
7920
+ * @summary Create custom sales channel
7774
7921
  * @param {string} storeId The ID of the store to create the sales channel for.
7775
7922
  * @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
7776
7923
  * @param {*} [options] Override http request option.
7777
7924
  * @throws {RequiredError}
7778
7925
  */
7779
- createACustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelCreationResource>>;
7926
+ createCustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelCreationResource>>;
7780
7927
  /**
7781
7928
  * List a store\'s active sales channels with their full metadata.
7782
7929
  * @summary List sales channels
@@ -7785,6 +7932,16 @@ export declare const EcommerceSalesChannelsApiFp: (configuration?: Configuration
7785
7932
  * @throws {RequiredError}
7786
7933
  */
7787
7934
  listSalesChannelsV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelListResource>>;
7935
+ /**
7936
+ * Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
7937
+ * @summary Update sales channel
7938
+ * @param {string} storeId The ID of the store that owns the sales channel.
7939
+ * @param {string} salesChannelId The ID of the sales channel to update.
7940
+ * @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
7941
+ * @param {*} [options] Override http request option.
7942
+ * @throws {RequiredError}
7943
+ */
7944
+ updateSalesChannelV1(storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1SalesChannelSalesChannelUpdateResource>>;
7788
7945
  };
7789
7946
  /**
7790
7947
  * EcommerceSalesChannelsApi - factory interface
@@ -7793,13 +7950,13 @@ export declare const EcommerceSalesChannelsApiFp: (configuration?: Configuration
7793
7950
  export declare const EcommerceSalesChannelsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
7794
7951
  /**
7795
7952
  * Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
7796
- * @summary Create a custom sales channel
7953
+ * @summary Create custom sales channel
7797
7954
  * @param {string} storeId The ID of the store to create the sales channel for.
7798
7955
  * @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
7799
7956
  * @param {*} [options] Override http request option.
7800
7957
  * @throws {RequiredError}
7801
7958
  */
7802
- createACustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelCreationResource>;
7959
+ createCustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelCreationResource>;
7803
7960
  /**
7804
7961
  * List a store\'s active sales channels with their full metadata.
7805
7962
  * @summary List sales channels
@@ -7808,6 +7965,16 @@ export declare const EcommerceSalesChannelsApiFactory: (configuration?: Configur
7808
7965
  * @throws {RequiredError}
7809
7966
  */
7810
7967
  listSalesChannelsV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelListResource>;
7968
+ /**
7969
+ * Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
7970
+ * @summary Update sales channel
7971
+ * @param {string} storeId The ID of the store that owns the sales channel.
7972
+ * @param {string} salesChannelId The ID of the sales channel to update.
7973
+ * @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
7974
+ * @param {*} [options] Override http request option.
7975
+ * @throws {RequiredError}
7976
+ */
7977
+ updateSalesChannelV1(storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1SalesChannelSalesChannelUpdateResource>;
7811
7978
  };
7812
7979
  /**
7813
7980
  * EcommerceSalesChannelsApi - object-oriented interface
@@ -7818,14 +7985,14 @@ export declare const EcommerceSalesChannelsApiFactory: (configuration?: Configur
7818
7985
  export declare class EcommerceSalesChannelsApi extends BaseAPI {
7819
7986
  /**
7820
7987
  * Create a custom sales channel for a store. Build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API.
7821
- * @summary Create a custom sales channel
7988
+ * @summary Create custom sales channel
7822
7989
  * @param {string} storeId The ID of the store to create the sales channel for.
7823
7990
  * @param {EcommerceV1SalesChannelStoreRequest} ecommerceV1SalesChannelStoreRequest
7824
7991
  * @param {*} [options] Override http request option.
7825
7992
  * @throws {RequiredError}
7826
7993
  * @memberof EcommerceSalesChannelsApi
7827
7994
  */
7828
- createACustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelCreationResource, any, {}>>;
7995
+ createCustomSalesChannelV1(storeId: string, ecommerceV1SalesChannelStoreRequest: EcommerceV1SalesChannelStoreRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelCreationResource, any, {}>>;
7829
7996
  /**
7830
7997
  * List a store\'s active sales channels with their full metadata.
7831
7998
  * @summary List sales channels
@@ -7835,6 +8002,17 @@ export declare class EcommerceSalesChannelsApi extends BaseAPI {
7835
8002
  * @memberof EcommerceSalesChannelsApi
7836
8003
  */
7837
8004
  listSalesChannelsV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelListResource, any, {}>>;
8005
+ /**
8006
+ * Update a custom sales channel. The merchant-facing `name` and the public `url` (returned as the channel `domain`) can be changed. Pass `null` to clear a value.
8007
+ * @summary Update sales channel
8008
+ * @param {string} storeId The ID of the store that owns the sales channel.
8009
+ * @param {string} salesChannelId The ID of the sales channel to update.
8010
+ * @param {EcommerceV1SalesChannelUpdateRequest} ecommerceV1SalesChannelUpdateRequest
8011
+ * @param {*} [options] Override http request option.
8012
+ * @throws {RequiredError}
8013
+ * @memberof EcommerceSalesChannelsApi
8014
+ */
8015
+ updateSalesChannelV1(storeId: string, salesChannelId: string, ecommerceV1SalesChannelUpdateRequest: EcommerceV1SalesChannelUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1SalesChannelSalesChannelUpdateResource, any, {}>>;
7838
8016
  }
7839
8017
  /**
7840
8018
  * EcommerceShippingApi - axios parameter creator
@@ -7920,6 +8098,14 @@ export declare const EcommerceStoresApiAxiosParamCreator: (configuration?: Confi
7920
8098
  * @throws {RequiredError}
7921
8099
  */
7922
8100
  deleteStoreV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8101
+ /**
8102
+ * Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
8103
+ * @summary Get store metadata
8104
+ * @param {string} storeId The ID of the store to read metadata for.
8105
+ * @param {*} [options] Override http request option.
8106
+ * @throws {RequiredError}
8107
+ */
8108
+ getStoreMetadataV1: (storeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
7923
8109
  /**
7924
8110
  * Retrieve the stores associated with your account.
7925
8111
  * @summary Get stores
@@ -7950,6 +8136,14 @@ export declare const EcommerceStoresApiFp: (configuration?: Configuration) => {
7950
8136
  * @throws {RequiredError}
7951
8137
  */
7952
8138
  deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1StoreStoreDeleteResource>>;
8139
+ /**
8140
+ * Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
8141
+ * @summary Get store metadata
8142
+ * @param {string} storeId The ID of the store to read metadata for.
8143
+ * @param {*} [options] Override http request option.
8144
+ * @throws {RequiredError}
8145
+ */
8146
+ getStoreMetadataV1(storeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EcommerceV1StoreStoreMetadataResource>>;
7953
8147
  /**
7954
8148
  * Retrieve the stores associated with your account.
7955
8149
  * @summary Get stores
@@ -7980,6 +8174,14 @@ export declare const EcommerceStoresApiFactory: (configuration?: Configuration,
7980
8174
  * @throws {RequiredError}
7981
8175
  */
7982
8176
  deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1StoreStoreDeleteResource>;
8177
+ /**
8178
+ * Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
8179
+ * @summary Get store metadata
8180
+ * @param {string} storeId The ID of the store to read metadata for.
8181
+ * @param {*} [options] Override http request option.
8182
+ * @throws {RequiredError}
8183
+ */
8184
+ getStoreMetadataV1(storeId: string, options?: RawAxiosRequestConfig): AxiosPromise<EcommerceV1StoreStoreMetadataResource>;
7983
8185
  /**
7984
8186
  * Retrieve the stores associated with your account.
7985
8187
  * @summary Get stores
@@ -8014,6 +8216,15 @@ export declare class EcommerceStoresApi extends BaseAPI {
8014
8216
  * @memberof EcommerceStoresApi
8015
8217
  */
8016
8218
  deleteStoreV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1StoreStoreDeleteResource, any, {}>>;
8219
+ /**
8220
+ * Get a store\'s readiness metadata: whether payment methods and shipping are configured, plus its default currency. Useful to verify prerequisites before building a storefront.
8221
+ * @summary Get store metadata
8222
+ * @param {string} storeId The ID of the store to read metadata for.
8223
+ * @param {*} [options] Override http request option.
8224
+ * @throws {RequiredError}
8225
+ * @memberof EcommerceStoresApi
8226
+ */
8227
+ getStoreMetadataV1(storeId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EcommerceV1StoreStoreMetadataResource, any, {}>>;
8017
8228
  /**
8018
8229
  * Retrieve the stores associated with your account.
8019
8230
  * @summary Get stores