@crossly/sdk 0.3.1 → 0.3.2
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.
|
@@ -17350,7 +17350,11 @@ export type ErrorError = {
|
|
|
17350
17350
|
code: string;
|
|
17351
17351
|
/** Human-readable. May change. */
|
|
17352
17352
|
message: string;
|
|
17353
|
-
/**
|
|
17353
|
+
/** Whether the same request can succeed if sent again. false: it gets the same answer until the body, the seller's setup or their plan changes. true: retry after Retry-After, or with backoff. */
|
|
17354
|
+
retryable?: boolean;
|
|
17355
|
+
/** Where this error code is documented. */
|
|
17356
|
+
docsUrl?: string;
|
|
17357
|
+
/** Optional structured context. Where the seller must act, `requirements` lists each step as { id, label, url } (url: the absolute link to the page that fixes it). */
|
|
17354
17358
|
details?: unknown;
|
|
17355
17359
|
};
|
|
17356
17360
|
export type EventResponse = {
|
|
@@ -29052,7 +29056,21 @@ export type GetStorefrontProfileResponseDataProfileShelves = {
|
|
|
29052
29056
|
layout: "rail" | "grid";
|
|
29053
29057
|
};
|
|
29054
29058
|
export type GetStorefrontRequirementResponse = {
|
|
29055
|
-
data:
|
|
29059
|
+
data: GetStorefrontRequirementResponseData;
|
|
29060
|
+
};
|
|
29061
|
+
export type GetStorefrontRequirementResponseData = {
|
|
29062
|
+
ok: boolean;
|
|
29063
|
+
missing: GetStorefrontRequirementResponseDataMissingItem[];
|
|
29064
|
+
fix: {
|
|
29065
|
+
[key: string]: unknown;
|
|
29066
|
+
};
|
|
29067
|
+
requirements: GetStorefrontRequirementResponseDataRequirements[];
|
|
29068
|
+
};
|
|
29069
|
+
export type GetStorefrontRequirementResponseDataMissingItem = "payouts" | "return_policy" | "ship_from" | "shipping_policy";
|
|
29070
|
+
export type GetStorefrontRequirementResponseDataRequirements = {
|
|
29071
|
+
id: "payouts" | "return_policy" | "ship_from" | "shipping_policy";
|
|
29072
|
+
label: string;
|
|
29073
|
+
url: string;
|
|
29056
29074
|
};
|
|
29057
29075
|
export type GetStorefrontResponse = {
|
|
29058
29076
|
data: GetStorefrontResponseData;
|