@ecomweb/sdk 0.5.0 → 0.9.0
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/README.md +4 -4
- package/dist/index.d.ts +159 -80
- package/dist/index.js +166 -102
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ Shared TypeScript SDK for the EcomWeb storefront API — request builders,
|
|
|
4
4
|
response types and the vocabulary (collection rules, payment methods, order
|
|
5
5
|
shapes) that the API and its consumers must agree on.
|
|
6
6
|
|
|
7
|
-
> Part of
|
|
8
|
-
> [
|
|
7
|
+
> Part of the ecomweb multi-repo system. For the whole picture see
|
|
8
|
+
> [`ecomweb-project/workspace/SETUP.md`](https://github.com/travistech20/ecomweb-project/blob/main/workspace/SETUP.md).
|
|
9
9
|
|
|
10
10
|
## Source in the workspace, `dist/` on npm
|
|
11
11
|
|
|
@@ -26,11 +26,11 @@ pnpm --filter @ecomweb/sdk build
|
|
|
26
26
|
|---|---|
|
|
27
27
|
| `ecomweb-storefront` (this workspace) | `workspace:*` |
|
|
28
28
|
| Ejected merchant storefronts | npm `@ecomweb/sdk` (caret range) |
|
|
29
|
-
| `@ecomweb/contracts` / `ecomweb-dashboard` | npm
|
|
29
|
+
| `@ecomweb/contracts` / `ecomweb-dashboard` | not npm yet: the last full-SDK commit in the private contracts repo, `github:travistech20/ecomweb-contracts#f3dc1ab…` (pinned by full SHA) |
|
|
30
30
|
|
|
31
31
|
Admin-only types and constants (permissions, purchase orders, sales channels,
|
|
32
32
|
timelines, …) are **not** here: they live in the private `@ecomweb/contracts`
|
|
33
|
-
package (the `ecomweb-
|
|
33
|
+
package (the `ecomweb-contracts` repo).
|
|
34
34
|
|
|
35
35
|
### Working on the SDK locally
|
|
36
36
|
|
package/dist/index.d.ts
CHANGED
|
@@ -427,7 +427,6 @@ declare const storeSettingsSchema: z.ZodObject<{
|
|
|
427
427
|
facebook_link: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
428
428
|
instagram_link: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
429
429
|
google_analytics_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
430
|
-
shop_introduction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
431
430
|
tagline: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
432
431
|
blog_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
433
432
|
is_blog_enabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -503,7 +502,6 @@ declare const createStoreSettingsSchema: z.ZodObject<{
|
|
|
503
502
|
privacy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
504
503
|
}, z.core.$strip>>>;
|
|
505
504
|
google_analytics_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
506
|
-
shop_introduction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
507
505
|
tagline: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
508
506
|
blog_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
509
507
|
is_blog_enabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -534,7 +532,6 @@ declare const updateStoreSettingsSchema: z.ZodObject<{
|
|
|
534
532
|
privacy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
535
533
|
}, z.core.$strip>>>>;
|
|
536
534
|
google_analytics_key: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
537
|
-
shop_introduction: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
538
535
|
tagline: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
539
536
|
blog_title: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
540
537
|
is_blog_enabled: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
@@ -575,7 +572,6 @@ declare const storeWithRelationsSchema: z.ZodObject<{
|
|
|
575
572
|
facebook_link: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
576
573
|
instagram_link: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
577
574
|
google_analytics_key: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
578
|
-
shop_introduction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
579
575
|
tagline: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
580
576
|
blog_title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
581
577
|
is_blog_enabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -939,6 +935,12 @@ interface OrderTimelineActor {
|
|
|
939
935
|
id: string | null;
|
|
940
936
|
/** Resolved display name, or null when unknown (a gateway reads `arguments.gateway`). */
|
|
941
937
|
name: string | null;
|
|
938
|
+
/**
|
|
939
|
+
* The staff member's email, for showing a current staff member who has no
|
|
940
|
+
* display name. Null for every other actor type, and for staff who have
|
|
941
|
+
* left the store. Absent from APIs older than this field.
|
|
942
|
+
*/
|
|
943
|
+
email?: string | null;
|
|
942
944
|
}
|
|
943
945
|
interface OrderTimelineEvent {
|
|
944
946
|
kind: "event";
|
|
@@ -990,7 +992,7 @@ interface OrderCommentMutationResult {
|
|
|
990
992
|
/**
|
|
991
993
|
* Inventory: stock states per variant and location, served to admin clients
|
|
992
994
|
* under `stores/:storeRef/inventory` (contract:
|
|
993
|
-
*
|
|
995
|
+
* ecomweb-project/archive/2026-09-15-inventory-purchase-orders/2026-09-15-inventory-contracts.md in the api repo).
|
|
994
996
|
*
|
|
995
997
|
* This SDK owns the vocabulary; the API pins it with
|
|
996
998
|
* inventory-vocabulary.contract.spec.ts because the API cannot import the SDK.
|
|
@@ -2613,65 +2615,6 @@ type UpdateBlogPost = Partial<CreateBlogPost>;
|
|
|
2613
2615
|
type UpdateBlogComment = Partial<Omit<CreateBlogComment, "blog_post_id">>;
|
|
2614
2616
|
type UpdateBlogSettings = Partial<CreateBlogSettings>;
|
|
2615
2617
|
|
|
2616
|
-
/**
|
|
2617
|
-
* Banner-related schemas based on Prisma models
|
|
2618
|
-
*/
|
|
2619
|
-
interface Banner extends OptionalTimestamp {
|
|
2620
|
-
id: Id;
|
|
2621
|
-
title: string;
|
|
2622
|
-
subtitle: string | null;
|
|
2623
|
-
image_url: string;
|
|
2624
|
-
link_url: string | null;
|
|
2625
|
-
button_text: string | null;
|
|
2626
|
-
position: number;
|
|
2627
|
-
is_active: boolean;
|
|
2628
|
-
metadata: any;
|
|
2629
|
-
}
|
|
2630
|
-
declare const bannerSchema: z.ZodObject<{
|
|
2631
|
-
id: z.ZodInt32;
|
|
2632
|
-
title: z.ZodString;
|
|
2633
|
-
subtitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2634
|
-
image_url: z.ZodURL;
|
|
2635
|
-
link_url: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
2636
|
-
button_text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2637
|
-
position: z.ZodDefault<z.ZodInt32>;
|
|
2638
|
-
is_active: z.ZodDefault<z.ZodBoolean>;
|
|
2639
|
-
metadata: z.ZodAny;
|
|
2640
|
-
created_at: z.ZodNullable<z.ZodOptional<z.ZodISODateTime>>;
|
|
2641
|
-
updated_at: z.ZodNullable<z.ZodOptional<z.ZodISODateTime>>;
|
|
2642
|
-
}, z.core.$strip>;
|
|
2643
|
-
interface CreateBanner extends Omit<Banner, "id" | keyof OptionalTimestamp> {
|
|
2644
|
-
}
|
|
2645
|
-
declare const createBannerSchema: z.ZodObject<{
|
|
2646
|
-
title: z.ZodString;
|
|
2647
|
-
image_url: z.ZodURL;
|
|
2648
|
-
position: z.ZodDefault<z.ZodInt32>;
|
|
2649
|
-
is_active: z.ZodDefault<z.ZodBoolean>;
|
|
2650
|
-
metadata: z.ZodAny;
|
|
2651
|
-
subtitle: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2652
|
-
link_url: z.ZodNullable<z.ZodOptional<z.ZodURL>>;
|
|
2653
|
-
button_text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2654
|
-
}, z.core.$strip>;
|
|
2655
|
-
type UpdateBanner = Partial<CreateBanner>;
|
|
2656
|
-
declare const updateBannerSchema: z.ZodObject<{
|
|
2657
|
-
title: z.ZodOptional<z.ZodString>;
|
|
2658
|
-
image_url: z.ZodOptional<z.ZodURL>;
|
|
2659
|
-
position: z.ZodOptional<z.ZodDefault<z.ZodInt32>>;
|
|
2660
|
-
is_active: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2661
|
-
metadata: z.ZodOptional<z.ZodAny>;
|
|
2662
|
-
subtitle: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2663
|
-
link_url: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodURL>>>;
|
|
2664
|
-
button_text: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2665
|
-
}, z.core.$strip>;
|
|
2666
|
-
interface UpdateBannerPosition {
|
|
2667
|
-
id: Id;
|
|
2668
|
-
position: number;
|
|
2669
|
-
}
|
|
2670
|
-
declare const updateBannerPositionSchema: z.ZodObject<{
|
|
2671
|
-
id: z.ZodInt32;
|
|
2672
|
-
position: z.ZodInt32;
|
|
2673
|
-
}, z.core.$strip>;
|
|
2674
|
-
|
|
2675
2618
|
/**
|
|
2676
2619
|
* Content-related schemas based on Prisma models
|
|
2677
2620
|
*/
|
|
@@ -2867,7 +2810,7 @@ type ThemeSetting = (SettingBase<"text" | "textarea"> & {
|
|
|
2867
2810
|
readonly placeholder?: string;
|
|
2868
2811
|
}) | (SettingBase<"richtext" | "url" | "color" | "menu"> & {
|
|
2869
2812
|
readonly default?: string;
|
|
2870
|
-
}) | SettingBase<"image_picker" | "collection"> | (SettingBase<"checkbox"> & {
|
|
2813
|
+
}) | SettingBase<"image_picker" | "collection" | "page" | "blog_post" | "blog_category" | "blog_tag" | "product"> | (SettingBase<"checkbox"> & {
|
|
2871
2814
|
readonly default?: boolean;
|
|
2872
2815
|
}) | (SettingBase<"number"> & {
|
|
2873
2816
|
readonly default?: number;
|
|
@@ -3009,6 +2952,61 @@ declare const themeSchemaSchema: z.ZodArray<z.ZodObject<{
|
|
|
3009
2952
|
not_equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3010
2953
|
is_set: z.ZodOptional<z.ZodBoolean>;
|
|
3011
2954
|
}, z.core.$strip>>;
|
|
2955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2956
|
+
type: z.ZodLiteral<"page">;
|
|
2957
|
+
id: z.ZodString;
|
|
2958
|
+
label: z.ZodString;
|
|
2959
|
+
info: z.ZodOptional<z.ZodString>;
|
|
2960
|
+
visible_if: z.ZodOptional<z.ZodObject<{
|
|
2961
|
+
setting: z.ZodString;
|
|
2962
|
+
equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2963
|
+
not_equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2964
|
+
is_set: z.ZodOptional<z.ZodBoolean>;
|
|
2965
|
+
}, z.core.$strip>>;
|
|
2966
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2967
|
+
type: z.ZodLiteral<"blog_post">;
|
|
2968
|
+
id: z.ZodString;
|
|
2969
|
+
label: z.ZodString;
|
|
2970
|
+
info: z.ZodOptional<z.ZodString>;
|
|
2971
|
+
visible_if: z.ZodOptional<z.ZodObject<{
|
|
2972
|
+
setting: z.ZodString;
|
|
2973
|
+
equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2974
|
+
not_equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2975
|
+
is_set: z.ZodOptional<z.ZodBoolean>;
|
|
2976
|
+
}, z.core.$strip>>;
|
|
2977
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2978
|
+
type: z.ZodLiteral<"blog_category">;
|
|
2979
|
+
id: z.ZodString;
|
|
2980
|
+
label: z.ZodString;
|
|
2981
|
+
info: z.ZodOptional<z.ZodString>;
|
|
2982
|
+
visible_if: z.ZodOptional<z.ZodObject<{
|
|
2983
|
+
setting: z.ZodString;
|
|
2984
|
+
equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2985
|
+
not_equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2986
|
+
is_set: z.ZodOptional<z.ZodBoolean>;
|
|
2987
|
+
}, z.core.$strip>>;
|
|
2988
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2989
|
+
type: z.ZodLiteral<"blog_tag">;
|
|
2990
|
+
id: z.ZodString;
|
|
2991
|
+
label: z.ZodString;
|
|
2992
|
+
info: z.ZodOptional<z.ZodString>;
|
|
2993
|
+
visible_if: z.ZodOptional<z.ZodObject<{
|
|
2994
|
+
setting: z.ZodString;
|
|
2995
|
+
equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2996
|
+
not_equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2997
|
+
is_set: z.ZodOptional<z.ZodBoolean>;
|
|
2998
|
+
}, z.core.$strip>>;
|
|
2999
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3000
|
+
type: z.ZodLiteral<"product">;
|
|
3001
|
+
id: z.ZodString;
|
|
3002
|
+
label: z.ZodString;
|
|
3003
|
+
info: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
visible_if: z.ZodOptional<z.ZodObject<{
|
|
3005
|
+
setting: z.ZodString;
|
|
3006
|
+
equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3007
|
+
not_equals: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3008
|
+
is_set: z.ZodOptional<z.ZodBoolean>;
|
|
3009
|
+
}, z.core.$strip>>;
|
|
3012
3010
|
}, z.core.$strip>, z.ZodObject<{
|
|
3013
3011
|
type: z.ZodLiteral<"checkbox">;
|
|
3014
3012
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3093,6 +3091,84 @@ declare function resolveThemeSettings(schema: ThemeSchema, input: unknown): {
|
|
|
3093
3091
|
};
|
|
3094
3092
|
/** "Set" means not null, not "" and not false. */
|
|
3095
3093
|
declare function isSettingVisible(setting: ThemeSetting, values: ThemeValues): boolean;
|
|
3094
|
+
/** The major of a release version ("1.4.2" → 1); null for anything else. */
|
|
3095
|
+
declare function themeMajor(version: string | null | undefined): number | null;
|
|
3096
|
+
/**
|
|
3097
|
+
* How a theme's settings values move to a new major (theme majors spec):
|
|
3098
|
+
* declared as data in the new major's manifest, run in order by the API
|
|
3099
|
+
* when a merchant upgrades.
|
|
3100
|
+
*/
|
|
3101
|
+
type ThemeMigrationStep = {
|
|
3102
|
+
readonly op: "rename";
|
|
3103
|
+
readonly from: string;
|
|
3104
|
+
readonly to: string;
|
|
3105
|
+
} | {
|
|
3106
|
+
readonly op: "remove";
|
|
3107
|
+
readonly key: string;
|
|
3108
|
+
} | {
|
|
3109
|
+
readonly op: "map";
|
|
3110
|
+
readonly key: string;
|
|
3111
|
+
readonly values: Readonly<Record<string, ThemeValue>>;
|
|
3112
|
+
} | {
|
|
3113
|
+
readonly op: "copy";
|
|
3114
|
+
readonly from: string;
|
|
3115
|
+
readonly to: string;
|
|
3116
|
+
} | {
|
|
3117
|
+
readonly op: "default";
|
|
3118
|
+
readonly key: string;
|
|
3119
|
+
readonly value: ThemeValue;
|
|
3120
|
+
};
|
|
3121
|
+
interface ThemeMigration {
|
|
3122
|
+
/** The major these steps upgrade from: the new major minus one. */
|
|
3123
|
+
readonly from: number;
|
|
3124
|
+
readonly steps: readonly ThemeMigrationStep[];
|
|
3125
|
+
}
|
|
3126
|
+
interface ThemeMigrationReport {
|
|
3127
|
+
renamed: {
|
|
3128
|
+
from: string;
|
|
3129
|
+
to: string;
|
|
3130
|
+
}[];
|
|
3131
|
+
removed: string[];
|
|
3132
|
+
mapped: {
|
|
3133
|
+
key: string;
|
|
3134
|
+
from: string;
|
|
3135
|
+
to: ThemeValue;
|
|
3136
|
+
}[];
|
|
3137
|
+
copied: {
|
|
3138
|
+
from: string;
|
|
3139
|
+
to: string;
|
|
3140
|
+
}[];
|
|
3141
|
+
defaulted: string[];
|
|
3142
|
+
}
|
|
3143
|
+
declare const themeMigrationSchema: z.ZodObject<{
|
|
3144
|
+
from: z.ZodNumber;
|
|
3145
|
+
steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3146
|
+
op: z.ZodLiteral<"rename">;
|
|
3147
|
+
from: z.ZodString;
|
|
3148
|
+
to: z.ZodString;
|
|
3149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3150
|
+
op: z.ZodLiteral<"remove">;
|
|
3151
|
+
key: z.ZodString;
|
|
3152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3153
|
+
op: z.ZodLiteral<"map">;
|
|
3154
|
+
key: z.ZodString;
|
|
3155
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3157
|
+
op: z.ZodLiteral<"copy">;
|
|
3158
|
+
from: z.ZodString;
|
|
3159
|
+
to: z.ZodString;
|
|
3160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3161
|
+
op: z.ZodLiteral<"default">;
|
|
3162
|
+
key: z.ZodString;
|
|
3163
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
3164
|
+
}, z.core.$strict>], "op">>;
|
|
3165
|
+
}, z.core.$strict>;
|
|
3166
|
+
declare function parseThemeMigration(input: unknown): ThemeMigration;
|
|
3167
|
+
/** Runs the steps in order over a copy of `input`. */
|
|
3168
|
+
declare function applyThemeMigration(input: Record<string, unknown>, migration: ThemeMigration): {
|
|
3169
|
+
values: Record<string, unknown>;
|
|
3170
|
+
report: ThemeMigrationReport;
|
|
3171
|
+
};
|
|
3096
3172
|
|
|
3097
3173
|
/**
|
|
3098
3174
|
* Metafields and metaobjects: the type engine (spec 2026-10-05
|
|
@@ -3856,7 +3932,8 @@ interface Collection extends WithSeoMetadata$2 {
|
|
|
3856
3932
|
name: string;
|
|
3857
3933
|
description: string | null;
|
|
3858
3934
|
slug: string;
|
|
3859
|
-
|
|
3935
|
+
/** "smart" collections match products by `search_criteria`; "manual" ones list them. */
|
|
3936
|
+
type: "manual" | "smart";
|
|
3860
3937
|
status: "active" | "inactive";
|
|
3861
3938
|
image_url: string | null;
|
|
3862
3939
|
search_criteria: CollectionSearchCriteria | unknown[] | string | null;
|
|
@@ -3864,6 +3941,8 @@ interface Collection extends WithSeoMetadata$2 {
|
|
|
3864
3941
|
created_at: string;
|
|
3865
3942
|
updated_at: string;
|
|
3866
3943
|
metafields?: StorefrontMetafields;
|
|
3944
|
+
/** A manual collection's products, in collection order. Absent on smart collections and in lists. */
|
|
3945
|
+
product_ids?: number[];
|
|
3867
3946
|
}
|
|
3868
3947
|
interface CollectionQueryParams extends BaseQueryParams {
|
|
3869
3948
|
/** Fetch a specific set of collections — how collection_grid resolves its configured collection_ids. */
|
|
@@ -4147,6 +4226,12 @@ interface PublishedStoreTheme {
|
|
|
4147
4226
|
/** The external site's URL (https, no trailing slash); external themes only. */
|
|
4148
4227
|
external_url?: string | null;
|
|
4149
4228
|
source_theme_id: string;
|
|
4229
|
+
/**
|
|
4230
|
+
* The catalog release in use, e.g. "1.0.0" (theme majors): the storefront
|
|
4231
|
+
* renders that major's current code. Null for builds and links, absent
|
|
4232
|
+
* from older APIs.
|
|
4233
|
+
*/
|
|
4234
|
+
release_version?: string | null;
|
|
4150
4235
|
values: Record<string, unknown>;
|
|
4151
4236
|
}
|
|
4152
4237
|
type StoreConfigurationInfo = Store & {
|
|
@@ -4163,6 +4248,11 @@ type StoreByDomainInfo = StoreConfigurationInfo & {
|
|
|
4163
4248
|
* shoppers there), else null. Absent from APIs older than external themes.
|
|
4164
4249
|
*/
|
|
4165
4250
|
storefront_url?: string | null;
|
|
4251
|
+
/**
|
|
4252
|
+
* Set when the host is a theme's preview host, p-<slug>: that theme is
|
|
4253
|
+
* shown there, never the live one. Absent from older APIs.
|
|
4254
|
+
*/
|
|
4255
|
+
preview_slug?: string | null;
|
|
4166
4256
|
};
|
|
4167
4257
|
|
|
4168
4258
|
declare class StoresApi {
|
|
@@ -4182,6 +4272,8 @@ declare class ThemesApi {
|
|
|
4182
4272
|
constructor(http: IHttpClient);
|
|
4183
4273
|
/** The store theme a dashboard preview link points to; null if refused. */
|
|
4184
4274
|
getPreview(storeRef: string, token: string): Promise<PublishedStoreTheme | null>;
|
|
4275
|
+
/** The theme on a preview host, p-<slug>, with its saved values. */
|
|
4276
|
+
getPreviewBySlug(storeRef: string, slug: string): Promise<PublishedStoreTheme | null>;
|
|
4185
4277
|
}
|
|
4186
4278
|
|
|
4187
4279
|
interface MetaobjectListParams {
|
|
@@ -4449,18 +4541,6 @@ declare class SearchApi {
|
|
|
4449
4541
|
searchBlog(storeRef: string, params: BlogSearchParams): Promise<BlogSearchResponse>;
|
|
4450
4542
|
}
|
|
4451
4543
|
|
|
4452
|
-
interface BannerQueryParams extends BaseQueryParams {
|
|
4453
|
-
is_active?: boolean;
|
|
4454
|
-
title?: string;
|
|
4455
|
-
sort?: "id" | "position" | "title" | "created_at" | "updated_at" | "is_active";
|
|
4456
|
-
}
|
|
4457
|
-
|
|
4458
|
-
declare class BannersApi {
|
|
4459
|
-
private http;
|
|
4460
|
-
constructor(http: IHttpClient);
|
|
4461
|
-
getPaginated(storeRef: string, query?: BannerQueryParams): Promise<PaginatedResponse<Banner>>;
|
|
4462
|
-
}
|
|
4463
|
-
|
|
4464
4544
|
/**
|
|
4465
4545
|
* One administrative area, at any depth, for any country. Replaces the
|
|
4466
4546
|
* old Province/Ward pair: they differed only by which fields were
|
|
@@ -5100,7 +5180,6 @@ declare function createEcomwebSdk(options: EcomwebSdkOptions): {
|
|
|
5100
5180
|
themes: ThemesApi;
|
|
5101
5181
|
metaobjects: MetaobjectsApi;
|
|
5102
5182
|
search: SearchApi;
|
|
5103
|
-
banners: BannersApi;
|
|
5104
5183
|
shipping: ShippingApi;
|
|
5105
5184
|
promotions: PromotionsApi;
|
|
5106
5185
|
paymentMethods: PaymentMethodsApi;
|
|
@@ -5114,4 +5193,4 @@ declare function createEcomwebSdk(options: EcomwebSdkOptions): {
|
|
|
5114
5193
|
};
|
|
5115
5194
|
type EcomwebSdk = ReturnType<typeof createEcomwebSdk>;
|
|
5116
5195
|
|
|
5117
|
-
export { ADJUSTABLE_STATES, ADMIN_ORDER_SOURCES, type AddToCartRequest, type Address, AddressesApi, type AdjustQuantitiesRequest, type AdjustableState, type AdminOrderSource, ApiClientError, type ApiError, type ApiResponse, type AppliedPromotion, type AttributeLink, AuthApi, type AuthErrorCode, type AuthIdentity, type AuthResult, type AuthTokens, type AutocompleteParams, type BankAccount, type Banner, type BannerQueryParams, BannersApi, type BaseDeleteOptions, type BaseDeleteResult, type BaseQueryParams, type BatchOrderReviewInvitationsResult, BlogApi, type BlogCategory, type BlogCategoryQueryParams, type BlogComment, type BlogCommentWithReplies, type BlogPost, type BlogPostCategory, type BlogPostQueryParams, type BlogPostStatus, type BlogPostTag, type BlogPostWithRelations, type BlogSearchParams, type BlogSearchResponse, type BlogSettings, type BlogTag, type BlogTagQueryParams, COLLECTION_RULE_MATRIX, CONDITION_TYPE_LABELS, CartApi, type CartApiItem, type CartApiResponse, CategoriesApi, type Category, type CategoryQueryParams, type CategorySearchResponse, type CategoryTree, type CategoryWithChildren, type ChangeEmailPayload, type ChangePasswordPayload, type ChangedResult, type Collection, type CollectionQueryParams, type CollectionRule, type CollectionRuleSet, type CollectionRuleSetCriteria, type CollectionSearchCriteria, CollectionsApi, ConditionType, ConditionTypeSchema, type ConditionTypeType, type ContentPage, ContentPagesApi, type CreateAddressDto, type CreateBanner, type CreateBlogCategory, type CreateBlogComment, type CreateBlogPost, type CreateBlogSettings, type CreateBlogTag, type CreateCategory, type CreateContentPage, type CreateEmbeddedScript, type CreateOrder, type CreateOrderItem, type CreateOrderItemRequest, type CreateOrderRequest, type CreateProduct, type CreateProductReview, type CreateProductReviewReply, type CreateProductVariant, type CreatePromotion, CreatePromotionSchema, type CreateStore, type CreateStoreConfig, type CreateStoreSettings, type CreateVariantOption, type CreateVariantOptionValue, type CurrentIdentity, type Customer, type CustomerAccess, type CustomerOrderFilter, type CustomerOrderSummary, CustomersApi, DEFAULT_BUCKET, DISCOUNT_METHOD_LABELS, type DeleteApiFunction, type DeletedAt, DiscountMethod, DiscountMethodSchema, type DiscountMethodType, EMAIL_COLOR_PATTERN, EMAIL_PALETTE_DEFAULTS, ENTRY_HANDLE_PATTERN, type EcomwebSdk, type EcomwebSdkOptions, type EmbeddedScript, type EmbeddedScriptPlacement, type EngineResult, FILTERABLE_TYPES, type FileKind, type FulfillmentStatus, type GoogleAuthUrl, type GuestOrderLookupParams, type GuestOrderLookupResult, type IHttpClient, INVENTORY_ADJUSTMENT_REASONS, INVENTORY_ERROR_CODES, INVENTORY_POLICIES, INVENTORY_STATES, INVENTORY_STATUS_LABELS, type Id, type ImageFormat, type ImageTransformOptions, type InitiatePaymentResult, type InsufficientInventoryItem, type IntegrationStatus, type InventoryActor, type InventoryAdjustmentReason, type InventoryErrorCode, type InventoryHistoryEntry, type InventoryImportResponse, type InventoryLevelRow, type InventoryLocation, type InventoryPolicy, type InventoryQuantities, type InventoryState, InventoryStatus, KNOWN_PAYMENT_METHODS, LEGACY_STATUS_MIGRATION_MAP, LEVEL_PROVINCE, LEVEL_WARD, type LegacyOrderStatus, type LegacyProductStatus, type LinkValue, type LocationArea, type LocationAreaQuery, type LocationAreasResponse, type LoginPayload, MAX_RULES_PER_SET, MAX_RULE_VALUE_ENTRIES, MEASUREMENT_UNITS, MEDIA_TYPES, MERCHANT_ADJUSTMENT_REASONS, METAFIELD_BASE_TYPES, METAFIELD_KEY_PATTERN, METAFIELD_LIMITS, METAFIELD_OWNER_TYPES, METAFIELD_TYPE_GROUPS, METAOBJECT_REFERENCE_TYPES, METAOBJECT_TYPE_PATTERN, type MeasurementType, type MeasurementValue, MemoryTokenStorage, MenusApi, type MerchantAdjustmentReason, type MessageOutboxStatus, type MetafieldBaseType, type MetafieldBound, type MetafieldContext, type MetafieldDefinitionShape, type MetafieldIssue, type MetafieldIssueCode, type MetafieldListType, type MetafieldOwnerType, type MetafieldType, type MetafieldTypeGroup, type MetafieldValidationKey, type MetafieldValidations, type MetafieldWrite, type MetaobjectDefinitionShape, type MetaobjectFieldShape, type MetaobjectListParams, type MetaobjectListResult, MetaobjectsApi, type MoneyValue, type MoveQuantitiesRequest, type MutationApiFunction, OBJECT_PREFIX, ORDER_ACTOR_TYPES, ORDER_EVENT_TYPES, ORDER_SOURCES, type OptionalTimestamp, type Order, type OrderActorType, type OrderCommentMutationResult, type OrderCreatedBy, type OrderEventType, type OrderItem, type PaymentMethod$1 as OrderPaymentMethod, type OrderReviewInvitationSummary, type OrderSource, type OrderStatus, type OrderTimelineActor, type OrderTimelineComment, type OrderTimelineCommentAuthor, type OrderTimelineEntry, type OrderTimelineEvent, type OrderTimelineResponse, type OrderWithItems, OrdersApi, PAGINATION_DEFAULTS, PRIVATE_REFERENCE_TYPES, PRODUCT_STATUS_LABELS, PROMOTION_MODE_COLORS, PROMOTION_MODE_LABELS, PROMOTION_STATUS_COLORS, PROMOTION_STATUS_LABELS, PROMOTION_TYPE_COLORS, PROMOTION_TYPE_LABELS, type PaginatedApiFunction, type PaginatedPromotionsResponse, PaginatedPromotionsResponseSchema, type PaginatedResponse, type PaginatedReviewsResponse, type PaginationMeta, type PasswordPolicy, type PaymentCredentialStatus, type PaymentMethod$1 as PaymentMethod, PaymentMethodsApi, type PaymentStateResult, type PaymentStatus, PaymentsApi, type Product, type ProductDetail, type ProductImage, type ProductQueryParams, type ProductReview, type ProductReviewFilters, type ProductReviewReply, type ProductReviewReplyFilters, type ProductReviewStats, type ProductReviewWithReplies, type ProductSearchParams, type ProductSearchResponse, type ProductService, ProductStatus, type ProductVariant, type ProductVariantCombination, type ProductVariantCombinationEntry, type ProductVariantWithCombinations, type ProductVideo, type ProductWithReviewStats, type ProductWithVariants, ProductsApi, type Promotion, type PromotionData, PromotionMode, PromotionModeSchema, type PromotionModeType, type PromotionQueryParams, PromotionQueryParamsSchema, PromotionSchema, type PromotionStatistics, PromotionStatisticsSchema, PromotionStatus, PromotionStatusSchema, type PromotionStatusType, type PromotionSuggestion, type PromotionSuggestionsResponse, PromotionType, PromotionTypeSchema, type PromotionTypeType, type PromotionWithDiscount, PromotionWithDiscountSchema, PromotionsApi, type PublicAuthConfig, type PublishedStoreTheme, type QuantitiesResponse, RENDER_PREFIX, RESOURCE_REFERENCE_TYPES, RULE_FIELDS, type RatingValue, RedirectsApi, type RegisterPayload, type RequestOptions, type ResetPasswordPayload, type ResetResult, type ResizeMode, type ResolvedAsset, type ResolvedBlogPostRef, type ResolvedCollectionRef, type ResolvedImage, type ResolvedMetaobjectRef, type ResolvedMetaobjectStub, type ResolvedPageRef, type ResolvedProductRef, type ResolvedVariantRef, type ReviewInvitationPublicData, type ReviewStatus, ReviewsApi, type RichTextBlock, type RichTextHeading, type RichTextInline, type RichTextLink, type RichTextList, type RichTextListItem, type RichTextNode, type RichTextParagraph, type RichTextRoot, type RichTextText, type RuleField, type RuleFieldSpec, type RuleOperator, type RuleOperatorSpec, type RuleValueKind, SHIPPING_CONDITION_TYPES, SHIPPING_DELIVERY_TYPES, SHIPPING_RATE_TYPES, SearchApi, type SearchCategory, type SearchProduct, type SentResult, type SeoMetadata$3 as SeoMetadata, type ServerComputedOrderAmounts, type SetQuantitiesRequest, type SetQuantitiesResponse, ShippingApi, type ShippingCalculationRequest, type ShippingConditionType, type ShippingDeliveryType, type ShippingOption, type ShippingRate, type ShippingRateType, type ShippingStatus, type ShippingZone, type SingleEntityApiFunction, type StaleQuantity, type Store, type StoreByDomainInfo, type StoreConfig, type StoreConfigurationInfo, type StoreEmailBrandingSettings, type StoreMenu, type StoreMenuItem, type PaymentMethod as StorePaymentMethod, type StoreSettings, type StoreStatus, type StoreWithRelations, type StorefrontMetafield, type StorefrontMetafields, type StorefrontMetaobjectEntry, StoresApi, type SubmitReviewInvitationPayload, THEME_HEX_COLOR, type ThemeDisplayItem, type ThemeSchema, type ThemeSchemaGroup, type ThemeSchemaItem, type ThemeSetting, type ThemeSettingType, type ThemeSettingsOf, type ThemeValue, type ThemeValueError, type ThemeValues, type ThemeVisibleIf, ThemesApi, type Timestamp, type TocItem, type TokenStorage, UNAVAILABLE_STATES, type UnavailableState, type UpdateAddressDto, type UpdateBanner, type UpdateBannerPosition, type UpdateBlogCategory, type UpdateBlogComment, type UpdateBlogPost, type UpdateBlogSettings, type UpdateBlogTag, type UpdateCartItemRequest, type UpdateCategory, type UpdateContentPage, type UpdateEmbeddedScript, type UpdateOrder, type UpdateOrderItem, type UpdateProduct, type UpdateProductReview, type UpdateProductReviewReply, type UpdateProductVariant, type UpdatePromotion, UpdatePromotionSchema, type UpdateStore, type UpdateStoreConfig, type UpdateStoreSettings, type UpdateVariantOption, type UpdateVariantOptionValue, type UpsertCustomerForAuthPayload, type UrlRedirect, VALIDATION_KEYS, type ValidatePromotionCodeRequest, type ValidatePromotionCodeResponse, type VariantOption, type VariantOptionValue, type VariantStatus, type VerifiedResult, type VerifyOtpPayload, type WithMetafields, type WithSeoMetadata$3 as WithSeoMetadata, allowedCustomerAccess, allowedFileKinds, allowedValuesFor, appliedPromotionSchema, assetBaseUrl, attributeLinkSchema, attributeLinkValueSchema, bannerSchema, baseDeleteOptionsSchema, baseDeleteResultSchema, baseQueryParamsSchema, baseTypeOf, blogCategorySchema, blogCommentSchema, blogCommentWithRepliesSchema, blogPostCategorySchema, blogPostSchema, blogPostStatusSchema, blogPostTagSchema, blogPostWithRelationsSchema, blogSettingsSchema, blogTagSchema, buildTransformQuery, categorySchema, categoryTreeSchema, categoryWithChildrenSchema, checkMetaobjectFieldChanges, colorSchema, compareDecimal, contentPageSchema, createAuthAwareHttpClient, createBannerSchema, createBlogCategorySchema, createBlogCommentSchema, createBlogPostSchema, createBlogSettingsSchema, createBlogTagSchema, createCategorySchema, createContentPageSchema, createEcomwebSdk, createEmbeddedScriptSchema, createOrderItemSchema, createOrderSchema, createProductReviewReplySchema, createProductReviewSchema, createProductSchema, createProductVariantSchema, createStoreConfigSchema, createStoreSchema, createStoreSettingsSchema, createVariantOptionSchema, createVariantOptionValueSchema, customerOrderSummarySchema, decimalSchema, deletedAtSchema, dimensionsSchema, emailBrandingSchema, emailBrandingShape, emailSchema, embeddedScriptPlacementSchema, embeddedScriptSchema, ensureSuccess, entryDisplayName, fromObjectPublicUrlToRender, fulfillmentStatusSchema, idSchema, integrationStatusSchema, inventoryStatusSchema, isBlankValue, isBlankValueFor, isEditableStatus, isListType, isMetafieldType, isPublishableStatus, isRuleField, isSafeRegex, isSettingVisible, isUnpublishedStatus, isValidEntryHandle, jsonSchema, legacyOrderStatusSchema, legacyProductStatusSchema, legalLinksSchema, measurementInBaseUnit, messageOutboxStatusSchema, metafieldIdentifier, moneySchema, normalizeDate, normalizeDateTime, normalizeDecimal, normalizeId, onHand, operatorsForField, optionalTimestampSchema, optionalUrlSchema, orderItemSchema, orderSchema, orderStatusSchema, orderWithItemsSchema, paginatedResponseSchema, paginationMetaSchema, paginationSchema, parseMetafieldIdentifier, parseStorageUrl, parseThemeSchema, paymentMethodSchema, paymentStatusSchema, phoneSchema, positionOrderSchema, productReviewFiltersSchema, productReviewReplyFiltersSchema, productReviewReplySchema, productReviewSchema, productReviewStatsSchema, productReviewWithRepliesSchema, productSchema, productStatusSchema, productVariantCombinationEntrySchema, productVariantCombinationSchema, productVariantSchema, productVariantWithCombinationsSchema, productWithReviewStatsSchema, productWithVariantsAndReviewStatsSchema, productWithVariantsSchema, resolveAssetUrl, resolveThemeSettings, reviewStatusSchema, rewriteSupabaseUrl, richTextLength, safeParseBaseQueryParams, safeParsePaginationMeta, shippingStatusSchema, slugSchema, sortOrderSchema, storeConfigSchema, storeIdSchema, storeSchema, storeSettingsSchema, storeStatusSchema, storeWithRelationsSchema, storefrontAccessAllowed, strictUrlSchema, themeDefaults, themeSchemaSchema, themeSettings, timestampSchema, toEntryHandle, toMetafieldKey, toObjectUrl, toRenderUrl, tocItemSchema, transformationsEnabled, unavailable, unwrap, unwrapOrNull, updateBannerPositionSchema, updateBannerSchema, updateBlogCategorySchema, updateBlogCommentSchema, updateBlogPostSchema, updateBlogSettingsSchema, updateBlogTagSchema, updateCategorySchema, updateContentPageSchema, updateEmbeddedScriptSchema, updateOrderItemSchema, updateOrderSchema, updateProductReviewReplySchema, updateProductReviewSchema, updateProductSchema, updateProductVariantSchema, updateStoreConfigSchema, updateStoreSchema, updateStoreSettingsSchema, updateVariantOptionSchema, updateVariantOptionValueSchema, urlSchema, uuidSchema, validateMetafieldDefinition, validateMetafieldValue, validateMetaobjectDefinition, validateMetaobjectEntry, validatePaginationMeta, validateRichText, validateThemeValues, validateValidations, valueKindFor, variantOptionSchema, variantOptionValueSchema, variantStatusSchema };
|
|
5196
|
+
export { ADJUSTABLE_STATES, ADMIN_ORDER_SOURCES, type AddToCartRequest, type Address, AddressesApi, type AdjustQuantitiesRequest, type AdjustableState, type AdminOrderSource, ApiClientError, type ApiError, type ApiResponse, type AppliedPromotion, type AttributeLink, AuthApi, type AuthErrorCode, type AuthIdentity, type AuthResult, type AuthTokens, type AutocompleteParams, type BankAccount, type BaseDeleteOptions, type BaseDeleteResult, type BaseQueryParams, type BatchOrderReviewInvitationsResult, BlogApi, type BlogCategory, type BlogCategoryQueryParams, type BlogComment, type BlogCommentWithReplies, type BlogPost, type BlogPostCategory, type BlogPostQueryParams, type BlogPostStatus, type BlogPostTag, type BlogPostWithRelations, type BlogSearchParams, type BlogSearchResponse, type BlogSettings, type BlogTag, type BlogTagQueryParams, COLLECTION_RULE_MATRIX, CONDITION_TYPE_LABELS, CartApi, type CartApiItem, type CartApiResponse, CategoriesApi, type Category, type CategoryQueryParams, type CategorySearchResponse, type CategoryTree, type CategoryWithChildren, type ChangeEmailPayload, type ChangePasswordPayload, type ChangedResult, type Collection, type CollectionQueryParams, type CollectionRule, type CollectionRuleSet, type CollectionRuleSetCriteria, type CollectionSearchCriteria, CollectionsApi, ConditionType, ConditionTypeSchema, type ConditionTypeType, type ContentPage, ContentPagesApi, type CreateAddressDto, type CreateBlogCategory, type CreateBlogComment, type CreateBlogPost, type CreateBlogSettings, type CreateBlogTag, type CreateCategory, type CreateContentPage, type CreateEmbeddedScript, type CreateOrder, type CreateOrderItem, type CreateOrderItemRequest, type CreateOrderRequest, type CreateProduct, type CreateProductReview, type CreateProductReviewReply, type CreateProductVariant, type CreatePromotion, CreatePromotionSchema, type CreateStore, type CreateStoreConfig, type CreateStoreSettings, type CreateVariantOption, type CreateVariantOptionValue, type CurrentIdentity, type Customer, type CustomerAccess, type CustomerOrderFilter, type CustomerOrderSummary, CustomersApi, DEFAULT_BUCKET, DISCOUNT_METHOD_LABELS, type DeleteApiFunction, type DeletedAt, DiscountMethod, DiscountMethodSchema, type DiscountMethodType, EMAIL_COLOR_PATTERN, EMAIL_PALETTE_DEFAULTS, ENTRY_HANDLE_PATTERN, type EcomwebSdk, type EcomwebSdkOptions, type EmbeddedScript, type EmbeddedScriptPlacement, type EngineResult, FILTERABLE_TYPES, type FileKind, type FulfillmentStatus, type GoogleAuthUrl, type GuestOrderLookupParams, type GuestOrderLookupResult, type IHttpClient, INVENTORY_ADJUSTMENT_REASONS, INVENTORY_ERROR_CODES, INVENTORY_POLICIES, INVENTORY_STATES, INVENTORY_STATUS_LABELS, type Id, type ImageFormat, type ImageTransformOptions, type InitiatePaymentResult, type InsufficientInventoryItem, type IntegrationStatus, type InventoryActor, type InventoryAdjustmentReason, type InventoryErrorCode, type InventoryHistoryEntry, type InventoryImportResponse, type InventoryLevelRow, type InventoryLocation, type InventoryPolicy, type InventoryQuantities, type InventoryState, InventoryStatus, KNOWN_PAYMENT_METHODS, LEGACY_STATUS_MIGRATION_MAP, LEVEL_PROVINCE, LEVEL_WARD, type LegacyOrderStatus, type LegacyProductStatus, type LinkValue, type LocationArea, type LocationAreaQuery, type LocationAreasResponse, type LoginPayload, MAX_RULES_PER_SET, MAX_RULE_VALUE_ENTRIES, MEASUREMENT_UNITS, MEDIA_TYPES, MERCHANT_ADJUSTMENT_REASONS, METAFIELD_BASE_TYPES, METAFIELD_KEY_PATTERN, METAFIELD_LIMITS, METAFIELD_OWNER_TYPES, METAFIELD_TYPE_GROUPS, METAOBJECT_REFERENCE_TYPES, METAOBJECT_TYPE_PATTERN, type MeasurementType, type MeasurementValue, MemoryTokenStorage, MenusApi, type MerchantAdjustmentReason, type MessageOutboxStatus, type MetafieldBaseType, type MetafieldBound, type MetafieldContext, type MetafieldDefinitionShape, type MetafieldIssue, type MetafieldIssueCode, type MetafieldListType, type MetafieldOwnerType, type MetafieldType, type MetafieldTypeGroup, type MetafieldValidationKey, type MetafieldValidations, type MetafieldWrite, type MetaobjectDefinitionShape, type MetaobjectFieldShape, type MetaobjectListParams, type MetaobjectListResult, MetaobjectsApi, type MoneyValue, type MoveQuantitiesRequest, type MutationApiFunction, OBJECT_PREFIX, ORDER_ACTOR_TYPES, ORDER_EVENT_TYPES, ORDER_SOURCES, type OptionalTimestamp, type Order, type OrderActorType, type OrderCommentMutationResult, type OrderCreatedBy, type OrderEventType, type OrderItem, type PaymentMethod$1 as OrderPaymentMethod, type OrderReviewInvitationSummary, type OrderSource, type OrderStatus, type OrderTimelineActor, type OrderTimelineComment, type OrderTimelineCommentAuthor, type OrderTimelineEntry, type OrderTimelineEvent, type OrderTimelineResponse, type OrderWithItems, OrdersApi, PAGINATION_DEFAULTS, PRIVATE_REFERENCE_TYPES, PRODUCT_STATUS_LABELS, PROMOTION_MODE_COLORS, PROMOTION_MODE_LABELS, PROMOTION_STATUS_COLORS, PROMOTION_STATUS_LABELS, PROMOTION_TYPE_COLORS, PROMOTION_TYPE_LABELS, type PaginatedApiFunction, type PaginatedPromotionsResponse, PaginatedPromotionsResponseSchema, type PaginatedResponse, type PaginatedReviewsResponse, type PaginationMeta, type PasswordPolicy, type PaymentCredentialStatus, type PaymentMethod$1 as PaymentMethod, PaymentMethodsApi, type PaymentStateResult, type PaymentStatus, PaymentsApi, type Product, type ProductDetail, type ProductImage, type ProductQueryParams, type ProductReview, type ProductReviewFilters, type ProductReviewReply, type ProductReviewReplyFilters, type ProductReviewStats, type ProductReviewWithReplies, type ProductSearchParams, type ProductSearchResponse, type ProductService, ProductStatus, type ProductVariant, type ProductVariantCombination, type ProductVariantCombinationEntry, type ProductVariantWithCombinations, type ProductVideo, type ProductWithReviewStats, type ProductWithVariants, ProductsApi, type Promotion, type PromotionData, PromotionMode, PromotionModeSchema, type PromotionModeType, type PromotionQueryParams, PromotionQueryParamsSchema, PromotionSchema, type PromotionStatistics, PromotionStatisticsSchema, PromotionStatus, PromotionStatusSchema, type PromotionStatusType, type PromotionSuggestion, type PromotionSuggestionsResponse, PromotionType, PromotionTypeSchema, type PromotionTypeType, type PromotionWithDiscount, PromotionWithDiscountSchema, PromotionsApi, type PublicAuthConfig, type PublishedStoreTheme, type QuantitiesResponse, RENDER_PREFIX, RESOURCE_REFERENCE_TYPES, RULE_FIELDS, type RatingValue, RedirectsApi, type RegisterPayload, type RequestOptions, type ResetPasswordPayload, type ResetResult, type ResizeMode, type ResolvedAsset, type ResolvedBlogPostRef, type ResolvedCollectionRef, type ResolvedImage, type ResolvedMetaobjectRef, type ResolvedMetaobjectStub, type ResolvedPageRef, type ResolvedProductRef, type ResolvedVariantRef, type ReviewInvitationPublicData, type ReviewStatus, ReviewsApi, type RichTextBlock, type RichTextHeading, type RichTextInline, type RichTextLink, type RichTextList, type RichTextListItem, type RichTextNode, type RichTextParagraph, type RichTextRoot, type RichTextText, type RuleField, type RuleFieldSpec, type RuleOperator, type RuleOperatorSpec, type RuleValueKind, SHIPPING_CONDITION_TYPES, SHIPPING_DELIVERY_TYPES, SHIPPING_RATE_TYPES, SearchApi, type SearchCategory, type SearchProduct, type SentResult, type SeoMetadata$3 as SeoMetadata, type ServerComputedOrderAmounts, type SetQuantitiesRequest, type SetQuantitiesResponse, ShippingApi, type ShippingCalculationRequest, type ShippingConditionType, type ShippingDeliveryType, type ShippingOption, type ShippingRate, type ShippingRateType, type ShippingStatus, type ShippingZone, type SingleEntityApiFunction, type StaleQuantity, type Store, type StoreByDomainInfo, type StoreConfig, type StoreConfigurationInfo, type StoreEmailBrandingSettings, type StoreMenu, type StoreMenuItem, type PaymentMethod as StorePaymentMethod, type StoreSettings, type StoreStatus, type StoreWithRelations, type StorefrontMetafield, type StorefrontMetafields, type StorefrontMetaobjectEntry, StoresApi, type SubmitReviewInvitationPayload, THEME_HEX_COLOR, type ThemeDisplayItem, type ThemeMigration, type ThemeMigrationReport, type ThemeMigrationStep, type ThemeSchema, type ThemeSchemaGroup, type ThemeSchemaItem, type ThemeSetting, type ThemeSettingType, type ThemeSettingsOf, type ThemeValue, type ThemeValueError, type ThemeValues, type ThemeVisibleIf, ThemesApi, type Timestamp, type TocItem, type TokenStorage, UNAVAILABLE_STATES, type UnavailableState, type UpdateAddressDto, type UpdateBlogCategory, type UpdateBlogComment, type UpdateBlogPost, type UpdateBlogSettings, type UpdateBlogTag, type UpdateCartItemRequest, type UpdateCategory, type UpdateContentPage, type UpdateEmbeddedScript, type UpdateOrder, type UpdateOrderItem, type UpdateProduct, type UpdateProductReview, type UpdateProductReviewReply, type UpdateProductVariant, type UpdatePromotion, UpdatePromotionSchema, type UpdateStore, type UpdateStoreConfig, type UpdateStoreSettings, type UpdateVariantOption, type UpdateVariantOptionValue, type UpsertCustomerForAuthPayload, type UrlRedirect, VALIDATION_KEYS, type ValidatePromotionCodeRequest, type ValidatePromotionCodeResponse, type VariantOption, type VariantOptionValue, type VariantStatus, type VerifiedResult, type VerifyOtpPayload, type WithMetafields, type WithSeoMetadata$3 as WithSeoMetadata, allowedCustomerAccess, allowedFileKinds, allowedValuesFor, appliedPromotionSchema, applyThemeMigration, assetBaseUrl, attributeLinkSchema, attributeLinkValueSchema, baseDeleteOptionsSchema, baseDeleteResultSchema, baseQueryParamsSchema, baseTypeOf, blogCategorySchema, blogCommentSchema, blogCommentWithRepliesSchema, blogPostCategorySchema, blogPostSchema, blogPostStatusSchema, blogPostTagSchema, blogPostWithRelationsSchema, blogSettingsSchema, blogTagSchema, buildTransformQuery, categorySchema, categoryTreeSchema, categoryWithChildrenSchema, checkMetaobjectFieldChanges, colorSchema, compareDecimal, contentPageSchema, createAuthAwareHttpClient, createBlogCategorySchema, createBlogCommentSchema, createBlogPostSchema, createBlogSettingsSchema, createBlogTagSchema, createCategorySchema, createContentPageSchema, createEcomwebSdk, createEmbeddedScriptSchema, createOrderItemSchema, createOrderSchema, createProductReviewReplySchema, createProductReviewSchema, createProductSchema, createProductVariantSchema, createStoreConfigSchema, createStoreSchema, createStoreSettingsSchema, createVariantOptionSchema, createVariantOptionValueSchema, customerOrderSummarySchema, decimalSchema, deletedAtSchema, dimensionsSchema, emailBrandingSchema, emailBrandingShape, emailSchema, embeddedScriptPlacementSchema, embeddedScriptSchema, ensureSuccess, entryDisplayName, fromObjectPublicUrlToRender, fulfillmentStatusSchema, idSchema, integrationStatusSchema, inventoryStatusSchema, isBlankValue, isBlankValueFor, isEditableStatus, isListType, isMetafieldType, isPublishableStatus, isRuleField, isSafeRegex, isSettingVisible, isUnpublishedStatus, isValidEntryHandle, jsonSchema, legacyOrderStatusSchema, legacyProductStatusSchema, legalLinksSchema, measurementInBaseUnit, messageOutboxStatusSchema, metafieldIdentifier, moneySchema, normalizeDate, normalizeDateTime, normalizeDecimal, normalizeId, onHand, operatorsForField, optionalTimestampSchema, optionalUrlSchema, orderItemSchema, orderSchema, orderStatusSchema, orderWithItemsSchema, paginatedResponseSchema, paginationMetaSchema, paginationSchema, parseMetafieldIdentifier, parseStorageUrl, parseThemeMigration, parseThemeSchema, paymentMethodSchema, paymentStatusSchema, phoneSchema, positionOrderSchema, productReviewFiltersSchema, productReviewReplyFiltersSchema, productReviewReplySchema, productReviewSchema, productReviewStatsSchema, productReviewWithRepliesSchema, productSchema, productStatusSchema, productVariantCombinationEntrySchema, productVariantCombinationSchema, productVariantSchema, productVariantWithCombinationsSchema, productWithReviewStatsSchema, productWithVariantsAndReviewStatsSchema, productWithVariantsSchema, resolveAssetUrl, resolveThemeSettings, reviewStatusSchema, rewriteSupabaseUrl, richTextLength, safeParseBaseQueryParams, safeParsePaginationMeta, shippingStatusSchema, slugSchema, sortOrderSchema, storeConfigSchema, storeIdSchema, storeSchema, storeSettingsSchema, storeStatusSchema, storeWithRelationsSchema, storefrontAccessAllowed, strictUrlSchema, themeDefaults, themeMajor, themeMigrationSchema, themeSchemaSchema, themeSettings, timestampSchema, toEntryHandle, toMetafieldKey, toObjectUrl, toRenderUrl, tocItemSchema, transformationsEnabled, unavailable, unwrap, unwrapOrNull, updateBlogCategorySchema, updateBlogCommentSchema, updateBlogPostSchema, updateBlogSettingsSchema, updateBlogTagSchema, updateCategorySchema, updateContentPageSchema, updateEmbeddedScriptSchema, updateOrderItemSchema, updateOrderSchema, updateProductReviewReplySchema, updateProductReviewSchema, updateProductSchema, updateProductVariantSchema, updateStoreConfigSchema, updateStoreSchema, updateStoreSettingsSchema, updateVariantOptionSchema, updateVariantOptionValueSchema, urlSchema, uuidSchema, validateMetafieldDefinition, validateMetafieldValue, validateMetaobjectDefinition, validateMetaobjectEntry, validatePaginationMeta, validateRichText, validateThemeValues, validateValidations, valueKindFor, variantOptionSchema, variantOptionValueSchema, variantStatusSchema };
|