@poweredbysous/storefront-admin-sdk 4.0.1 → 4.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
|
@@ -2150,7 +2150,13 @@ interface paths {
|
|
|
2150
2150
|
* @description Return the authenticated merchant's information.
|
|
2151
2151
|
*
|
|
2152
2152
|
* Uses the default StoreAuthentication and IsStore permission.
|
|
2153
|
-
*
|
|
2153
|
+
*
|
|
2154
|
+
* With ``?include=location`` the payload also carries the store's pickup
|
|
2155
|
+
* address and position, so the ExploreSOUS directory can pin it. That costs
|
|
2156
|
+
* a (cached) geocode, so it is opt-in: the store and product pages read this
|
|
2157
|
+
* endpoint without it and never pay for one. ``address`` is null without an
|
|
2158
|
+
* active pickup location; the coordinates are null when the address cannot
|
|
2159
|
+
* be placed.
|
|
2154
2160
|
*/
|
|
2155
2161
|
get: operations["merchant_me_retrieve"];
|
|
2156
2162
|
put?: never;
|
|
@@ -5284,6 +5290,7 @@ interface components {
|
|
|
5284
5290
|
readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
|
|
5285
5291
|
readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
|
|
5286
5292
|
readonly net_quantity: string | null;
|
|
5293
|
+
readonly unit_price: components["schemas"]["UnitPrice"] | null;
|
|
5287
5294
|
readonly images: components["schemas"]["ProductImage"][];
|
|
5288
5295
|
readonly surcharges: components["schemas"]["Surcharge"][];
|
|
5289
5296
|
readonly metadata: {
|
|
@@ -5798,11 +5805,23 @@ interface components {
|
|
|
5798
5805
|
store_public_id: string;
|
|
5799
5806
|
methods: components["schemas"]["DeliveryMethodState"][];
|
|
5800
5807
|
};
|
|
5808
|
+
StoreMeAddress: {
|
|
5809
|
+
address_1: string;
|
|
5810
|
+
address_2: string;
|
|
5811
|
+
city: string;
|
|
5812
|
+
postal_code: string;
|
|
5813
|
+
country: string;
|
|
5814
|
+
};
|
|
5801
5815
|
StoreMeResponse: {
|
|
5802
5816
|
id: number;
|
|
5803
5817
|
public_id: string;
|
|
5804
5818
|
name: string;
|
|
5805
5819
|
currency: string;
|
|
5820
|
+
address?: components["schemas"]["StoreMeAddress"] | null;
|
|
5821
|
+
/** Format: double */
|
|
5822
|
+
latitude?: number | null;
|
|
5823
|
+
/** Format: double */
|
|
5824
|
+
longitude?: number | null;
|
|
5806
5825
|
};
|
|
5807
5826
|
/**
|
|
5808
5827
|
* @description Read/write serializer for the store-onboarding wizard.
|
|
@@ -15887,7 +15906,10 @@ interface operations {
|
|
|
15887
15906
|
};
|
|
15888
15907
|
merchant_me_retrieve: {
|
|
15889
15908
|
parameters: {
|
|
15890
|
-
query?:
|
|
15909
|
+
query?: {
|
|
15910
|
+
/** @description `location` adds `address`, `latitude` and `longitude`. Omit it and those keys are absent and nothing is geocoded. */
|
|
15911
|
+
include?: "location";
|
|
15912
|
+
};
|
|
15891
15913
|
header?: never;
|
|
15892
15914
|
path?: never;
|
|
15893
15915
|
cookie?: never;
|
package/dist/index.d.ts
CHANGED
|
@@ -2150,7 +2150,13 @@ interface paths {
|
|
|
2150
2150
|
* @description Return the authenticated merchant's information.
|
|
2151
2151
|
*
|
|
2152
2152
|
* Uses the default StoreAuthentication and IsStore permission.
|
|
2153
|
-
*
|
|
2153
|
+
*
|
|
2154
|
+
* With ``?include=location`` the payload also carries the store's pickup
|
|
2155
|
+
* address and position, so the ExploreSOUS directory can pin it. That costs
|
|
2156
|
+
* a (cached) geocode, so it is opt-in: the store and product pages read this
|
|
2157
|
+
* endpoint without it and never pay for one. ``address`` is null without an
|
|
2158
|
+
* active pickup location; the coordinates are null when the address cannot
|
|
2159
|
+
* be placed.
|
|
2154
2160
|
*/
|
|
2155
2161
|
get: operations["merchant_me_retrieve"];
|
|
2156
2162
|
put?: never;
|
|
@@ -5284,6 +5290,7 @@ interface components {
|
|
|
5284
5290
|
readonly modifier_groups: components["schemas"]["ProductModifierGroup"][];
|
|
5285
5291
|
readonly attribute_values: components["schemas"]["ProductAttributeValue"][];
|
|
5286
5292
|
readonly net_quantity: string | null;
|
|
5293
|
+
readonly unit_price: components["schemas"]["UnitPrice"] | null;
|
|
5287
5294
|
readonly images: components["schemas"]["ProductImage"][];
|
|
5288
5295
|
readonly surcharges: components["schemas"]["Surcharge"][];
|
|
5289
5296
|
readonly metadata: {
|
|
@@ -5798,11 +5805,23 @@ interface components {
|
|
|
5798
5805
|
store_public_id: string;
|
|
5799
5806
|
methods: components["schemas"]["DeliveryMethodState"][];
|
|
5800
5807
|
};
|
|
5808
|
+
StoreMeAddress: {
|
|
5809
|
+
address_1: string;
|
|
5810
|
+
address_2: string;
|
|
5811
|
+
city: string;
|
|
5812
|
+
postal_code: string;
|
|
5813
|
+
country: string;
|
|
5814
|
+
};
|
|
5801
5815
|
StoreMeResponse: {
|
|
5802
5816
|
id: number;
|
|
5803
5817
|
public_id: string;
|
|
5804
5818
|
name: string;
|
|
5805
5819
|
currency: string;
|
|
5820
|
+
address?: components["schemas"]["StoreMeAddress"] | null;
|
|
5821
|
+
/** Format: double */
|
|
5822
|
+
latitude?: number | null;
|
|
5823
|
+
/** Format: double */
|
|
5824
|
+
longitude?: number | null;
|
|
5806
5825
|
};
|
|
5807
5826
|
/**
|
|
5808
5827
|
* @description Read/write serializer for the store-onboarding wizard.
|
|
@@ -15887,7 +15906,10 @@ interface operations {
|
|
|
15887
15906
|
};
|
|
15888
15907
|
merchant_me_retrieve: {
|
|
15889
15908
|
parameters: {
|
|
15890
|
-
query?:
|
|
15909
|
+
query?: {
|
|
15910
|
+
/** @description `location` adds `address`, `latitude` and `longitude`. Omit it and those keys are absent and nothing is geocoded. */
|
|
15911
|
+
include?: "location";
|
|
15912
|
+
};
|
|
15891
15913
|
header?: never;
|
|
15892
15914
|
path?: never;
|
|
15893
15915
|
cookie?: never;
|