@poweredbysous/storefront-sdk 3.0.1 → 3.0.3
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/index.d.cts +24 -2
- package/dist/index.d.ts +24 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1459,7 +1459,13 @@ interface paths {
|
|
|
1459
1459
|
* @description Return the authenticated merchant's information.
|
|
1460
1460
|
*
|
|
1461
1461
|
* Uses the default StoreAuthentication and IsStore permission.
|
|
1462
|
-
*
|
|
1462
|
+
*
|
|
1463
|
+
* With ``?include=location`` the payload also carries the store's pickup
|
|
1464
|
+
* address and position, so the ExploreSOUS directory can pin it. That costs
|
|
1465
|
+
* a (cached) geocode, so it is opt-in: the store and product pages read this
|
|
1466
|
+
* endpoint without it and never pay for one. ``address`` is null without an
|
|
1467
|
+
* active pickup location; the coordinates are null when the address cannot
|
|
1468
|
+
* be placed.
|
|
1463
1469
|
*/
|
|
1464
1470
|
get: operations["merchant_me_retrieve"];
|
|
1465
1471
|
put?: never;
|
|
@@ -4015,6 +4021,7 @@ interface components {
|
|
|
4015
4021
|
readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
|
|
4016
4022
|
readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
|
|
4017
4023
|
readonly net_quantity: string | null;
|
|
4024
|
+
readonly unit_price: components["schemas"]["UnitPrice"] | null;
|
|
4018
4025
|
readonly images: components["schemas"]["ProductImage"][];
|
|
4019
4026
|
readonly surcharges: components["schemas"]["Surcharge"][];
|
|
4020
4027
|
readonly metadata: {
|
|
@@ -4600,11 +4607,23 @@ interface components {
|
|
|
4600
4607
|
readonly offers_reusable_packaging: boolean;
|
|
4601
4608
|
readonly reusable_deposit_amount?: string | null;
|
|
4602
4609
|
};
|
|
4610
|
+
StoreMeAddress: {
|
|
4611
|
+
address_1: string;
|
|
4612
|
+
address_2: string;
|
|
4613
|
+
city: string;
|
|
4614
|
+
postal_code: string;
|
|
4615
|
+
country: string;
|
|
4616
|
+
};
|
|
4603
4617
|
StoreMeResponse: {
|
|
4604
4618
|
id: number;
|
|
4605
4619
|
public_id: string;
|
|
4606
4620
|
name: string;
|
|
4607
4621
|
currency: string;
|
|
4622
|
+
address?: components["schemas"]["StoreMeAddress"] | null;
|
|
4623
|
+
/** Format: double */
|
|
4624
|
+
latitude?: number | null;
|
|
4625
|
+
/** Format: double */
|
|
4626
|
+
longitude?: number | null;
|
|
4608
4627
|
};
|
|
4609
4628
|
/**
|
|
4610
4629
|
* @description Read/write serializer for the store-onboarding wizard.
|
|
@@ -12190,7 +12209,10 @@ interface operations {
|
|
|
12190
12209
|
};
|
|
12191
12210
|
merchant_me_retrieve: {
|
|
12192
12211
|
parameters: {
|
|
12193
|
-
query?:
|
|
12212
|
+
query?: {
|
|
12213
|
+
/** @description `location` adds `address`, `latitude` and `longitude`. Omit it and those keys are absent and nothing is geocoded. */
|
|
12214
|
+
include?: "location";
|
|
12215
|
+
};
|
|
12194
12216
|
header?: never;
|
|
12195
12217
|
path?: never;
|
|
12196
12218
|
cookie?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -1459,7 +1459,13 @@ interface paths {
|
|
|
1459
1459
|
* @description Return the authenticated merchant's information.
|
|
1460
1460
|
*
|
|
1461
1461
|
* Uses the default StoreAuthentication and IsStore permission.
|
|
1462
|
-
*
|
|
1462
|
+
*
|
|
1463
|
+
* With ``?include=location`` the payload also carries the store's pickup
|
|
1464
|
+
* address and position, so the ExploreSOUS directory can pin it. That costs
|
|
1465
|
+
* a (cached) geocode, so it is opt-in: the store and product pages read this
|
|
1466
|
+
* endpoint without it and never pay for one. ``address`` is null without an
|
|
1467
|
+
* active pickup location; the coordinates are null when the address cannot
|
|
1468
|
+
* be placed.
|
|
1463
1469
|
*/
|
|
1464
1470
|
get: operations["merchant_me_retrieve"];
|
|
1465
1471
|
put?: never;
|
|
@@ -4015,6 +4021,7 @@ interface components {
|
|
|
4015
4021
|
readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
|
|
4016
4022
|
readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
|
|
4017
4023
|
readonly net_quantity: string | null;
|
|
4024
|
+
readonly unit_price: components["schemas"]["UnitPrice"] | null;
|
|
4018
4025
|
readonly images: components["schemas"]["ProductImage"][];
|
|
4019
4026
|
readonly surcharges: components["schemas"]["Surcharge"][];
|
|
4020
4027
|
readonly metadata: {
|
|
@@ -4600,11 +4607,23 @@ interface components {
|
|
|
4600
4607
|
readonly offers_reusable_packaging: boolean;
|
|
4601
4608
|
readonly reusable_deposit_amount?: string | null;
|
|
4602
4609
|
};
|
|
4610
|
+
StoreMeAddress: {
|
|
4611
|
+
address_1: string;
|
|
4612
|
+
address_2: string;
|
|
4613
|
+
city: string;
|
|
4614
|
+
postal_code: string;
|
|
4615
|
+
country: string;
|
|
4616
|
+
};
|
|
4603
4617
|
StoreMeResponse: {
|
|
4604
4618
|
id: number;
|
|
4605
4619
|
public_id: string;
|
|
4606
4620
|
name: string;
|
|
4607
4621
|
currency: string;
|
|
4622
|
+
address?: components["schemas"]["StoreMeAddress"] | null;
|
|
4623
|
+
/** Format: double */
|
|
4624
|
+
latitude?: number | null;
|
|
4625
|
+
/** Format: double */
|
|
4626
|
+
longitude?: number | null;
|
|
4608
4627
|
};
|
|
4609
4628
|
/**
|
|
4610
4629
|
* @description Read/write serializer for the store-onboarding wizard.
|
|
@@ -12190,7 +12209,10 @@ interface operations {
|
|
|
12190
12209
|
};
|
|
12191
12210
|
merchant_me_retrieve: {
|
|
12192
12211
|
parameters: {
|
|
12193
|
-
query?:
|
|
12212
|
+
query?: {
|
|
12213
|
+
/** @description `location` adds `address`, `latitude` and `longitude`. Omit it and those keys are absent and nothing is geocoded. */
|
|
12214
|
+
include?: "location";
|
|
12215
|
+
};
|
|
12194
12216
|
header?: never;
|
|
12195
12217
|
path?: never;
|
|
12196
12218
|
cookie?: never;
|