@aimee.shop/sdk 0.30.0-dev.303 → 0.31.0-dev.320
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/generated/core-api.d.ts +30 -18
- package/dist/generated/core-api.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/core/reviews.client.d.ts +21 -0
- package/dist/services/core/reviews.client.d.ts.map +1 -1
- package/dist/services/core/reviews.client.js +19 -0
- package/dist/services/core/reviews.client.js.map +1 -1
- package/dist/services/core/shipping/types.d.ts +6 -4
- package/dist/services/core/shipping/types.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-reviews.client.d.ts +18 -1
- package/dist/services/core/storefront/storefront-reviews.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront-reviews.client.js +21 -0
- package/dist/services/core/storefront/storefront-reviews.client.js.map +1 -1
- package/dist/services/core/storefront/storefront.client.d.ts +6 -3
- package/dist/services/core/storefront/storefront.client.d.ts.map +1 -1
- package/dist/services/core/storefront/storefront.client.js +6 -3
- package/dist/services/core/storefront/storefront.client.js.map +1 -1
- package/dist/services/core/taxes/types.d.ts +1 -1
- package/dist/services/core/taxes/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2136,7 +2136,7 @@ export interface paths {
|
|
|
2136
2136
|
};
|
|
2137
2137
|
/**
|
|
2138
2138
|
* Get storefront display settings
|
|
2139
|
-
* @description Resolved
|
|
2139
|
+
* @description Resolved settings for storefronts: inventory display (stock count display, low stock threshold, out-of-stock product visibility) and the review submission mode. Readable with a publishable key for its own store.
|
|
2140
2140
|
*/
|
|
2141
2141
|
get: operations['StoreConfigurationController_getStorefrontSettings'];
|
|
2142
2142
|
put?: never;
|
|
@@ -18518,8 +18518,20 @@ export interface components {
|
|
|
18518
18518
|
*/
|
|
18519
18519
|
outOfStockVisibility: 'show' | 'show_last' | 'hide';
|
|
18520
18520
|
};
|
|
18521
|
+
StorefrontReviewSettingsDto: {
|
|
18522
|
+
/**
|
|
18523
|
+
* @description Who may submit a review: open (any customer with a session), verified_purchase, or invite_only (review invite token only). Store value, then tenant, then open.
|
|
18524
|
+
* @example open
|
|
18525
|
+
* @enum {string}
|
|
18526
|
+
*/
|
|
18527
|
+
submissionMode: 'open' | 'verified_purchase' | 'invite_only';
|
|
18528
|
+
};
|
|
18529
|
+
StorefrontCommerceSettingsDto: {
|
|
18530
|
+
reviews: components['schemas']['StorefrontReviewSettingsDto'];
|
|
18531
|
+
};
|
|
18521
18532
|
StorefrontSettingsResponseDto: {
|
|
18522
18533
|
inventory: components['schemas']['StorefrontInventorySettingsDto'];
|
|
18534
|
+
commerceSettings: components['schemas']['StorefrontCommerceSettingsDto'];
|
|
18523
18535
|
};
|
|
18524
18536
|
StoreConfigurationResponseDto: {
|
|
18525
18537
|
/**
|
|
@@ -22219,8 +22231,8 @@ export interface components {
|
|
|
22219
22231
|
* @example 2
|
|
22220
22232
|
*/
|
|
22221
22233
|
row: number;
|
|
22222
|
-
/** @description Parsed CSV row data */
|
|
22223
|
-
data
|
|
22234
|
+
/** @description Parsed CSV row data. Absent when the source row could not be parsed. */
|
|
22235
|
+
data?: components['schemas']['TaxImportRowDataDto'];
|
|
22224
22236
|
/**
|
|
22225
22237
|
* @description Error message
|
|
22226
22238
|
* @example Country must be a 2-letter ISO code
|
|
@@ -23727,21 +23739,6 @@ export interface components {
|
|
|
23727
23739
|
rateModifiers?: {
|
|
23728
23740
|
[key: string]: number | string;
|
|
23729
23741
|
};
|
|
23730
|
-
/**
|
|
23731
|
-
* @description Cart value threshold for free shipping in cents
|
|
23732
|
-
* @example 5000
|
|
23733
|
-
*/
|
|
23734
|
-
freeShippingThreshold?: number;
|
|
23735
|
-
/**
|
|
23736
|
-
* @description Minimum delivery estimate in days
|
|
23737
|
-
* @example 3
|
|
23738
|
-
*/
|
|
23739
|
-
deliveryEstimateMinDays?: number;
|
|
23740
|
-
/**
|
|
23741
|
-
* @description Maximum delivery estimate in days
|
|
23742
|
-
* @example 7
|
|
23743
|
-
*/
|
|
23744
|
-
deliveryEstimateMaxDays?: number;
|
|
23745
23742
|
/**
|
|
23746
23743
|
* @description Carrier restrictions for this rule
|
|
23747
23744
|
* @example {
|
|
@@ -23845,6 +23842,21 @@ export interface components {
|
|
|
23845
23842
|
* ]
|
|
23846
23843
|
*/
|
|
23847
23844
|
shippingRateIds?: string[];
|
|
23845
|
+
/**
|
|
23846
|
+
* @description Cart value threshold for free shipping in cents. null clears it.
|
|
23847
|
+
* @example 5000
|
|
23848
|
+
*/
|
|
23849
|
+
freeShippingThreshold?: number | null;
|
|
23850
|
+
/**
|
|
23851
|
+
* @description Minimum delivery estimate in days. null clears it.
|
|
23852
|
+
* @example 3
|
|
23853
|
+
*/
|
|
23854
|
+
deliveryEstimateMinDays?: number | null;
|
|
23855
|
+
/**
|
|
23856
|
+
* @description Maximum delivery estimate in days. null clears it.
|
|
23857
|
+
* @example 7
|
|
23858
|
+
*/
|
|
23859
|
+
deliveryEstimateMaxDays?: number | null;
|
|
23848
23860
|
};
|
|
23849
23861
|
ReorderShippingRulesBodyDto: {
|
|
23850
23862
|
/** @description Rule IDs in the desired priority order */
|