@moonbase.sh/storefront-api 1.0.15 → 1.0.16
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.cjs +1 -0
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1012,6 +1012,7 @@ var customerSnapshotSchema = import_zod11.z.object({
|
|
|
1012
1012
|
businessName: import_zod11.z.string().nullable(),
|
|
1013
1013
|
taxId: import_zod11.z.string().nullable(),
|
|
1014
1014
|
email: import_zod11.z.string().nullable(),
|
|
1015
|
+
phone: import_zod11.z.string().nullable(),
|
|
1015
1016
|
address: addressSchema.nullable()
|
|
1016
1017
|
});
|
|
1017
1018
|
var completedOrderSchema = import_zod11.z.object({
|
package/dist/index.d.cts
CHANGED
|
@@ -9148,6 +9148,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9148
9148
|
businessName: z.ZodNullable<z.ZodString>;
|
|
9149
9149
|
taxId: z.ZodNullable<z.ZodString>;
|
|
9150
9150
|
email: z.ZodNullable<z.ZodString>;
|
|
9151
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
9151
9152
|
address: z.ZodNullable<z.ZodObject<{
|
|
9152
9153
|
countryCode: z.ZodString;
|
|
9153
9154
|
streetAddress1: z.ZodString;
|
|
@@ -9181,6 +9182,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9181
9182
|
region: string | null;
|
|
9182
9183
|
postCode: string | null;
|
|
9183
9184
|
} | null;
|
|
9185
|
+
phone: string | null;
|
|
9184
9186
|
businessName: string | null;
|
|
9185
9187
|
taxId: string | null;
|
|
9186
9188
|
}, {
|
|
@@ -9194,6 +9196,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9194
9196
|
region: string | null;
|
|
9195
9197
|
postCode: string | null;
|
|
9196
9198
|
} | null;
|
|
9199
|
+
phone: string | null;
|
|
9197
9200
|
businessName: string | null;
|
|
9198
9201
|
taxId: string | null;
|
|
9199
9202
|
}>;
|
|
@@ -10514,6 +10517,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10514
10517
|
region: string | null;
|
|
10515
10518
|
postCode: string | null;
|
|
10516
10519
|
} | null;
|
|
10520
|
+
phone: string | null;
|
|
10517
10521
|
businessName: string | null;
|
|
10518
10522
|
taxId: string | null;
|
|
10519
10523
|
};
|
|
@@ -10738,6 +10742,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10738
10742
|
region: string | null;
|
|
10739
10743
|
postCode: string | null;
|
|
10740
10744
|
} | null;
|
|
10745
|
+
phone: string | null;
|
|
10741
10746
|
businessName: string | null;
|
|
10742
10747
|
taxId: string | null;
|
|
10743
10748
|
};
|
|
@@ -16859,6 +16864,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16859
16864
|
businessName: z.ZodNullable<z.ZodString>;
|
|
16860
16865
|
taxId: z.ZodNullable<z.ZodString>;
|
|
16861
16866
|
email: z.ZodNullable<z.ZodString>;
|
|
16867
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
16862
16868
|
address: z.ZodNullable<z.ZodObject<{
|
|
16863
16869
|
countryCode: z.ZodString;
|
|
16864
16870
|
streetAddress1: z.ZodString;
|
|
@@ -16892,6 +16898,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16892
16898
|
region: string | null;
|
|
16893
16899
|
postCode: string | null;
|
|
16894
16900
|
} | null;
|
|
16901
|
+
phone: string | null;
|
|
16895
16902
|
businessName: string | null;
|
|
16896
16903
|
taxId: string | null;
|
|
16897
16904
|
}, {
|
|
@@ -16905,6 +16912,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16905
16912
|
region: string | null;
|
|
16906
16913
|
postCode: string | null;
|
|
16907
16914
|
} | null;
|
|
16915
|
+
phone: string | null;
|
|
16908
16916
|
businessName: string | null;
|
|
16909
16917
|
taxId: string | null;
|
|
16910
16918
|
}>;
|
|
@@ -18225,6 +18233,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18225
18233
|
region: string | null;
|
|
18226
18234
|
postCode: string | null;
|
|
18227
18235
|
} | null;
|
|
18236
|
+
phone: string | null;
|
|
18228
18237
|
businessName: string | null;
|
|
18229
18238
|
taxId: string | null;
|
|
18230
18239
|
};
|
|
@@ -18449,6 +18458,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18449
18458
|
region: string | null;
|
|
18450
18459
|
postCode: string | null;
|
|
18451
18460
|
} | null;
|
|
18461
|
+
phone: string | null;
|
|
18452
18462
|
businessName: string | null;
|
|
18453
18463
|
taxId: string | null;
|
|
18454
18464
|
};
|
|
@@ -18709,6 +18719,7 @@ declare class OrderEndpoints {
|
|
|
18709
18719
|
region: string | null;
|
|
18710
18720
|
postCode: string | null;
|
|
18711
18721
|
} | null;
|
|
18722
|
+
phone: string | null;
|
|
18712
18723
|
businessName: string | null;
|
|
18713
18724
|
taxId: string | null;
|
|
18714
18725
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -9148,6 +9148,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9148
9148
|
businessName: z.ZodNullable<z.ZodString>;
|
|
9149
9149
|
taxId: z.ZodNullable<z.ZodString>;
|
|
9150
9150
|
email: z.ZodNullable<z.ZodString>;
|
|
9151
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
9151
9152
|
address: z.ZodNullable<z.ZodObject<{
|
|
9152
9153
|
countryCode: z.ZodString;
|
|
9153
9154
|
streetAddress1: z.ZodString;
|
|
@@ -9181,6 +9182,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9181
9182
|
region: string | null;
|
|
9182
9183
|
postCode: string | null;
|
|
9183
9184
|
} | null;
|
|
9185
|
+
phone: string | null;
|
|
9184
9186
|
businessName: string | null;
|
|
9185
9187
|
taxId: string | null;
|
|
9186
9188
|
}, {
|
|
@@ -9194,6 +9196,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9194
9196
|
region: string | null;
|
|
9195
9197
|
postCode: string | null;
|
|
9196
9198
|
} | null;
|
|
9199
|
+
phone: string | null;
|
|
9197
9200
|
businessName: string | null;
|
|
9198
9201
|
taxId: string | null;
|
|
9199
9202
|
}>;
|
|
@@ -10514,6 +10517,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10514
10517
|
region: string | null;
|
|
10515
10518
|
postCode: string | null;
|
|
10516
10519
|
} | null;
|
|
10520
|
+
phone: string | null;
|
|
10517
10521
|
businessName: string | null;
|
|
10518
10522
|
taxId: string | null;
|
|
10519
10523
|
};
|
|
@@ -10738,6 +10742,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10738
10742
|
region: string | null;
|
|
10739
10743
|
postCode: string | null;
|
|
10740
10744
|
} | null;
|
|
10745
|
+
phone: string | null;
|
|
10741
10746
|
businessName: string | null;
|
|
10742
10747
|
taxId: string | null;
|
|
10743
10748
|
};
|
|
@@ -16859,6 +16864,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16859
16864
|
businessName: z.ZodNullable<z.ZodString>;
|
|
16860
16865
|
taxId: z.ZodNullable<z.ZodString>;
|
|
16861
16866
|
email: z.ZodNullable<z.ZodString>;
|
|
16867
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
16862
16868
|
address: z.ZodNullable<z.ZodObject<{
|
|
16863
16869
|
countryCode: z.ZodString;
|
|
16864
16870
|
streetAddress1: z.ZodString;
|
|
@@ -16892,6 +16898,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16892
16898
|
region: string | null;
|
|
16893
16899
|
postCode: string | null;
|
|
16894
16900
|
} | null;
|
|
16901
|
+
phone: string | null;
|
|
16895
16902
|
businessName: string | null;
|
|
16896
16903
|
taxId: string | null;
|
|
16897
16904
|
}, {
|
|
@@ -16905,6 +16912,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16905
16912
|
region: string | null;
|
|
16906
16913
|
postCode: string | null;
|
|
16907
16914
|
} | null;
|
|
16915
|
+
phone: string | null;
|
|
16908
16916
|
businessName: string | null;
|
|
16909
16917
|
taxId: string | null;
|
|
16910
16918
|
}>;
|
|
@@ -18225,6 +18233,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18225
18233
|
region: string | null;
|
|
18226
18234
|
postCode: string | null;
|
|
18227
18235
|
} | null;
|
|
18236
|
+
phone: string | null;
|
|
18228
18237
|
businessName: string | null;
|
|
18229
18238
|
taxId: string | null;
|
|
18230
18239
|
};
|
|
@@ -18449,6 +18458,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18449
18458
|
region: string | null;
|
|
18450
18459
|
postCode: string | null;
|
|
18451
18460
|
} | null;
|
|
18461
|
+
phone: string | null;
|
|
18452
18462
|
businessName: string | null;
|
|
18453
18463
|
taxId: string | null;
|
|
18454
18464
|
};
|
|
@@ -18709,6 +18719,7 @@ declare class OrderEndpoints {
|
|
|
18709
18719
|
region: string | null;
|
|
18710
18720
|
postCode: string | null;
|
|
18711
18721
|
} | null;
|
|
18722
|
+
phone: string | null;
|
|
18712
18723
|
businessName: string | null;
|
|
18713
18724
|
taxId: string | null;
|
|
18714
18725
|
};
|
package/dist/index.js
CHANGED
|
@@ -964,6 +964,7 @@ var customerSnapshotSchema = z11.object({
|
|
|
964
964
|
businessName: z11.string().nullable(),
|
|
965
965
|
taxId: z11.string().nullable(),
|
|
966
966
|
email: z11.string().nullable(),
|
|
967
|
+
phone: z11.string().nullable(),
|
|
967
968
|
address: addressSchema.nullable()
|
|
968
969
|
});
|
|
969
970
|
var completedOrderSchema = z11.object({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.16",
|
|
5
5
|
"description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|