@moonbase.sh/storefront-api 1.0.12 → 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 +3 -2
- package/dist/index.d.cts +18 -8
- package/dist/index.d.ts +18 -8
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -473,6 +473,7 @@ var userSchema = import_zod7.z.object({
|
|
|
473
473
|
name: import_zod7.z.string(),
|
|
474
474
|
tenantId: import_zod7.z.string(),
|
|
475
475
|
address: addressSchema.optional(),
|
|
476
|
+
phone: import_zod7.z.string().optional(),
|
|
476
477
|
communicationPreferences: communicationPreferencesSchema,
|
|
477
478
|
ownedProducts: import_zod7.z.string().array().optional(),
|
|
478
479
|
subscribedProducts: import_zod7.z.string().array().optional(),
|
|
@@ -654,8 +655,7 @@ var externalLicenseFileContent = import_zod8.z.object({
|
|
|
654
655
|
data: import_zod8.z.string()
|
|
655
656
|
});
|
|
656
657
|
var externalLicenseILokContent = import_zod8.z.object({
|
|
657
|
-
type: import_zod8.z.literal("iLok")
|
|
658
|
-
licenseId: import_zod8.z.string()
|
|
658
|
+
type: import_zod8.z.literal("iLok")
|
|
659
659
|
});
|
|
660
660
|
var externalLicenseContent = import_zod8.z.union([
|
|
661
661
|
import_zod8.z.string(),
|
|
@@ -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
|
@@ -988,6 +988,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
988
988
|
region: string | null;
|
|
989
989
|
postCode: string | null;
|
|
990
990
|
}>>;
|
|
991
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
991
992
|
communicationPreferences: z.ZodObject<{
|
|
992
993
|
newsletterOptIn: z.ZodBoolean;
|
|
993
994
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1038,6 +1039,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
1038
1039
|
region: string | null;
|
|
1039
1040
|
postCode: string | null;
|
|
1040
1041
|
} | undefined;
|
|
1042
|
+
phone?: string | undefined;
|
|
1041
1043
|
ownedProducts?: string[] | undefined;
|
|
1042
1044
|
subscribedProducts?: string[] | undefined;
|
|
1043
1045
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1059,6 +1061,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
1059
1061
|
region: string | null;
|
|
1060
1062
|
postCode: string | null;
|
|
1061
1063
|
} | undefined;
|
|
1064
|
+
phone?: string | undefined;
|
|
1062
1065
|
ownedProducts?: string[] | undefined;
|
|
1063
1066
|
subscribedProducts?: string[] | undefined;
|
|
1064
1067
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1098,6 +1101,7 @@ declare const identitySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1098
1101
|
region: string | null;
|
|
1099
1102
|
postCode: string | null;
|
|
1100
1103
|
}>>;
|
|
1104
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1101
1105
|
communicationPreferences: z.ZodObject<{
|
|
1102
1106
|
newsletterOptIn: z.ZodBoolean;
|
|
1103
1107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1148,6 +1152,7 @@ declare const identitySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1148
1152
|
region: string | null;
|
|
1149
1153
|
postCode: string | null;
|
|
1150
1154
|
} | undefined;
|
|
1155
|
+
phone?: string | undefined;
|
|
1151
1156
|
ownedProducts?: string[] | undefined;
|
|
1152
1157
|
subscribedProducts?: string[] | undefined;
|
|
1153
1158
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1169,6 +1174,7 @@ declare const identitySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1169
1174
|
region: string | null;
|
|
1170
1175
|
postCode: string | null;
|
|
1171
1176
|
} | undefined;
|
|
1177
|
+
phone?: string | undefined;
|
|
1172
1178
|
ownedProducts?: string[] | undefined;
|
|
1173
1179
|
subscribedProducts?: string[] | undefined;
|
|
1174
1180
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1262,6 +1268,7 @@ declare class IdentityEndpoints {
|
|
|
1262
1268
|
region: string | null;
|
|
1263
1269
|
postCode: string | null;
|
|
1264
1270
|
} | undefined;
|
|
1271
|
+
phone?: string | undefined;
|
|
1265
1272
|
ownedProducts?: string[] | undefined;
|
|
1266
1273
|
subscribedProducts?: string[] | undefined;
|
|
1267
1274
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1296,13 +1303,10 @@ declare const externalLicenseContent: z.ZodUnion<[z.ZodString, z.ZodDiscriminate
|
|
|
1296
1303
|
contentType: string;
|
|
1297
1304
|
}>, z.ZodObject<{
|
|
1298
1305
|
type: z.ZodLiteral<"iLok">;
|
|
1299
|
-
licenseId: z.ZodString;
|
|
1300
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1301
1307
|
type: "iLok";
|
|
1302
|
-
licenseId: string;
|
|
1303
1308
|
}, {
|
|
1304
1309
|
type: "iLok";
|
|
1305
|
-
licenseId: string;
|
|
1306
1310
|
}>]>]>;
|
|
1307
1311
|
type ExternalLicenseContent = z.infer<typeof externalLicenseContent>;
|
|
1308
1312
|
declare const licenseSchema: z.ZodObject<{
|
|
@@ -1471,13 +1475,10 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
1471
1475
|
contentType: string;
|
|
1472
1476
|
}>, z.ZodObject<{
|
|
1473
1477
|
type: z.ZodLiteral<"iLok">;
|
|
1474
|
-
licenseId: z.ZodString;
|
|
1475
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1476
1479
|
type: "iLok";
|
|
1477
|
-
licenseId: string;
|
|
1478
1480
|
}, {
|
|
1479
1481
|
type: "iLok";
|
|
1480
|
-
licenseId: string;
|
|
1481
1482
|
}>]>]>>;
|
|
1482
1483
|
requiredConnectedAccount: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof ConnectableAccountProvider>>>;
|
|
1483
1484
|
fulfillmentMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1531,7 +1532,6 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
1531
1532
|
contentType: string;
|
|
1532
1533
|
} | {
|
|
1533
1534
|
type: "iLok";
|
|
1534
|
-
licenseId: string;
|
|
1535
1535
|
} | undefined;
|
|
1536
1536
|
requiredConnectedAccount?: ConnectableAccountProvider | null | undefined;
|
|
1537
1537
|
fulfillmentMessage?: string | undefined;
|
|
@@ -1583,7 +1583,6 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
1583
1583
|
contentType: string;
|
|
1584
1584
|
} | {
|
|
1585
1585
|
type: "iLok";
|
|
1586
|
-
licenseId: string;
|
|
1587
1586
|
} | undefined;
|
|
1588
1587
|
requiredConnectedAccount?: ConnectableAccountProvider | null | undefined;
|
|
1589
1588
|
fulfillmentMessage?: string | undefined;
|
|
@@ -9149,6 +9148,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9149
9148
|
businessName: z.ZodNullable<z.ZodString>;
|
|
9150
9149
|
taxId: z.ZodNullable<z.ZodString>;
|
|
9151
9150
|
email: z.ZodNullable<z.ZodString>;
|
|
9151
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
9152
9152
|
address: z.ZodNullable<z.ZodObject<{
|
|
9153
9153
|
countryCode: z.ZodString;
|
|
9154
9154
|
streetAddress1: z.ZodString;
|
|
@@ -9182,6 +9182,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9182
9182
|
region: string | null;
|
|
9183
9183
|
postCode: string | null;
|
|
9184
9184
|
} | null;
|
|
9185
|
+
phone: string | null;
|
|
9185
9186
|
businessName: string | null;
|
|
9186
9187
|
taxId: string | null;
|
|
9187
9188
|
}, {
|
|
@@ -9195,6 +9196,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9195
9196
|
region: string | null;
|
|
9196
9197
|
postCode: string | null;
|
|
9197
9198
|
} | null;
|
|
9199
|
+
phone: string | null;
|
|
9198
9200
|
businessName: string | null;
|
|
9199
9201
|
taxId: string | null;
|
|
9200
9202
|
}>;
|
|
@@ -10515,6 +10517,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10515
10517
|
region: string | null;
|
|
10516
10518
|
postCode: string | null;
|
|
10517
10519
|
} | null;
|
|
10520
|
+
phone: string | null;
|
|
10518
10521
|
businessName: string | null;
|
|
10519
10522
|
taxId: string | null;
|
|
10520
10523
|
};
|
|
@@ -10739,6 +10742,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10739
10742
|
region: string | null;
|
|
10740
10743
|
postCode: string | null;
|
|
10741
10744
|
} | null;
|
|
10745
|
+
phone: string | null;
|
|
10742
10746
|
businessName: string | null;
|
|
10743
10747
|
taxId: string | null;
|
|
10744
10748
|
};
|
|
@@ -16860,6 +16864,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16860
16864
|
businessName: z.ZodNullable<z.ZodString>;
|
|
16861
16865
|
taxId: z.ZodNullable<z.ZodString>;
|
|
16862
16866
|
email: z.ZodNullable<z.ZodString>;
|
|
16867
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
16863
16868
|
address: z.ZodNullable<z.ZodObject<{
|
|
16864
16869
|
countryCode: z.ZodString;
|
|
16865
16870
|
streetAddress1: z.ZodString;
|
|
@@ -16893,6 +16898,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16893
16898
|
region: string | null;
|
|
16894
16899
|
postCode: string | null;
|
|
16895
16900
|
} | null;
|
|
16901
|
+
phone: string | null;
|
|
16896
16902
|
businessName: string | null;
|
|
16897
16903
|
taxId: string | null;
|
|
16898
16904
|
}, {
|
|
@@ -16906,6 +16912,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16906
16912
|
region: string | null;
|
|
16907
16913
|
postCode: string | null;
|
|
16908
16914
|
} | null;
|
|
16915
|
+
phone: string | null;
|
|
16909
16916
|
businessName: string | null;
|
|
16910
16917
|
taxId: string | null;
|
|
16911
16918
|
}>;
|
|
@@ -18226,6 +18233,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18226
18233
|
region: string | null;
|
|
18227
18234
|
postCode: string | null;
|
|
18228
18235
|
} | null;
|
|
18236
|
+
phone: string | null;
|
|
18229
18237
|
businessName: string | null;
|
|
18230
18238
|
taxId: string | null;
|
|
18231
18239
|
};
|
|
@@ -18450,6 +18458,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18450
18458
|
region: string | null;
|
|
18451
18459
|
postCode: string | null;
|
|
18452
18460
|
} | null;
|
|
18461
|
+
phone: string | null;
|
|
18453
18462
|
businessName: string | null;
|
|
18454
18463
|
taxId: string | null;
|
|
18455
18464
|
};
|
|
@@ -18710,6 +18719,7 @@ declare class OrderEndpoints {
|
|
|
18710
18719
|
region: string | null;
|
|
18711
18720
|
postCode: string | null;
|
|
18712
18721
|
} | null;
|
|
18722
|
+
phone: string | null;
|
|
18713
18723
|
businessName: string | null;
|
|
18714
18724
|
taxId: string | null;
|
|
18715
18725
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -988,6 +988,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
988
988
|
region: string | null;
|
|
989
989
|
postCode: string | null;
|
|
990
990
|
}>>;
|
|
991
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
991
992
|
communicationPreferences: z.ZodObject<{
|
|
992
993
|
newsletterOptIn: z.ZodBoolean;
|
|
993
994
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1038,6 +1039,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
1038
1039
|
region: string | null;
|
|
1039
1040
|
postCode: string | null;
|
|
1040
1041
|
} | undefined;
|
|
1042
|
+
phone?: string | undefined;
|
|
1041
1043
|
ownedProducts?: string[] | undefined;
|
|
1042
1044
|
subscribedProducts?: string[] | undefined;
|
|
1043
1045
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1059,6 +1061,7 @@ declare const userSchema: z.ZodObject<{
|
|
|
1059
1061
|
region: string | null;
|
|
1060
1062
|
postCode: string | null;
|
|
1061
1063
|
} | undefined;
|
|
1064
|
+
phone?: string | undefined;
|
|
1062
1065
|
ownedProducts?: string[] | undefined;
|
|
1063
1066
|
subscribedProducts?: string[] | undefined;
|
|
1064
1067
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1098,6 +1101,7 @@ declare const identitySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1098
1101
|
region: string | null;
|
|
1099
1102
|
postCode: string | null;
|
|
1100
1103
|
}>>;
|
|
1104
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1101
1105
|
communicationPreferences: z.ZodObject<{
|
|
1102
1106
|
newsletterOptIn: z.ZodBoolean;
|
|
1103
1107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1148,6 +1152,7 @@ declare const identitySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1148
1152
|
region: string | null;
|
|
1149
1153
|
postCode: string | null;
|
|
1150
1154
|
} | undefined;
|
|
1155
|
+
phone?: string | undefined;
|
|
1151
1156
|
ownedProducts?: string[] | undefined;
|
|
1152
1157
|
subscribedProducts?: string[] | undefined;
|
|
1153
1158
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1169,6 +1174,7 @@ declare const identitySchema: z.ZodIntersection<z.ZodObject<{
|
|
|
1169
1174
|
region: string | null;
|
|
1170
1175
|
postCode: string | null;
|
|
1171
1176
|
} | undefined;
|
|
1177
|
+
phone?: string | undefined;
|
|
1172
1178
|
ownedProducts?: string[] | undefined;
|
|
1173
1179
|
subscribedProducts?: string[] | undefined;
|
|
1174
1180
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1262,6 +1268,7 @@ declare class IdentityEndpoints {
|
|
|
1262
1268
|
region: string | null;
|
|
1263
1269
|
postCode: string | null;
|
|
1264
1270
|
} | undefined;
|
|
1271
|
+
phone?: string | undefined;
|
|
1265
1272
|
ownedProducts?: string[] | undefined;
|
|
1266
1273
|
subscribedProducts?: string[] | undefined;
|
|
1267
1274
|
confirmedAccount?: boolean | undefined;
|
|
@@ -1296,13 +1303,10 @@ declare const externalLicenseContent: z.ZodUnion<[z.ZodString, z.ZodDiscriminate
|
|
|
1296
1303
|
contentType: string;
|
|
1297
1304
|
}>, z.ZodObject<{
|
|
1298
1305
|
type: z.ZodLiteral<"iLok">;
|
|
1299
|
-
licenseId: z.ZodString;
|
|
1300
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1301
1307
|
type: "iLok";
|
|
1302
|
-
licenseId: string;
|
|
1303
1308
|
}, {
|
|
1304
1309
|
type: "iLok";
|
|
1305
|
-
licenseId: string;
|
|
1306
1310
|
}>]>]>;
|
|
1307
1311
|
type ExternalLicenseContent = z.infer<typeof externalLicenseContent>;
|
|
1308
1312
|
declare const licenseSchema: z.ZodObject<{
|
|
@@ -1471,13 +1475,10 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
1471
1475
|
contentType: string;
|
|
1472
1476
|
}>, z.ZodObject<{
|
|
1473
1477
|
type: z.ZodLiteral<"iLok">;
|
|
1474
|
-
licenseId: z.ZodString;
|
|
1475
1478
|
}, "strip", z.ZodTypeAny, {
|
|
1476
1479
|
type: "iLok";
|
|
1477
|
-
licenseId: string;
|
|
1478
1480
|
}, {
|
|
1479
1481
|
type: "iLok";
|
|
1480
|
-
licenseId: string;
|
|
1481
1482
|
}>]>]>>;
|
|
1482
1483
|
requiredConnectedAccount: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof ConnectableAccountProvider>>>;
|
|
1483
1484
|
fulfillmentMessage: z.ZodOptional<z.ZodString>;
|
|
@@ -1531,7 +1532,6 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
1531
1532
|
contentType: string;
|
|
1532
1533
|
} | {
|
|
1533
1534
|
type: "iLok";
|
|
1534
|
-
licenseId: string;
|
|
1535
1535
|
} | undefined;
|
|
1536
1536
|
requiredConnectedAccount?: ConnectableAccountProvider | null | undefined;
|
|
1537
1537
|
fulfillmentMessage?: string | undefined;
|
|
@@ -1583,7 +1583,6 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
1583
1583
|
contentType: string;
|
|
1584
1584
|
} | {
|
|
1585
1585
|
type: "iLok";
|
|
1586
|
-
licenseId: string;
|
|
1587
1586
|
} | undefined;
|
|
1588
1587
|
requiredConnectedAccount?: ConnectableAccountProvider | null | undefined;
|
|
1589
1588
|
fulfillmentMessage?: string | undefined;
|
|
@@ -9149,6 +9148,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9149
9148
|
businessName: z.ZodNullable<z.ZodString>;
|
|
9150
9149
|
taxId: z.ZodNullable<z.ZodString>;
|
|
9151
9150
|
email: z.ZodNullable<z.ZodString>;
|
|
9151
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
9152
9152
|
address: z.ZodNullable<z.ZodObject<{
|
|
9153
9153
|
countryCode: z.ZodString;
|
|
9154
9154
|
streetAddress1: z.ZodString;
|
|
@@ -9182,6 +9182,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9182
9182
|
region: string | null;
|
|
9183
9183
|
postCode: string | null;
|
|
9184
9184
|
} | null;
|
|
9185
|
+
phone: string | null;
|
|
9185
9186
|
businessName: string | null;
|
|
9186
9187
|
taxId: string | null;
|
|
9187
9188
|
}, {
|
|
@@ -9195,6 +9196,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
9195
9196
|
region: string | null;
|
|
9196
9197
|
postCode: string | null;
|
|
9197
9198
|
} | null;
|
|
9199
|
+
phone: string | null;
|
|
9198
9200
|
businessName: string | null;
|
|
9199
9201
|
taxId: string | null;
|
|
9200
9202
|
}>;
|
|
@@ -10515,6 +10517,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10515
10517
|
region: string | null;
|
|
10516
10518
|
postCode: string | null;
|
|
10517
10519
|
} | null;
|
|
10520
|
+
phone: string | null;
|
|
10518
10521
|
businessName: string | null;
|
|
10519
10522
|
taxId: string | null;
|
|
10520
10523
|
};
|
|
@@ -10739,6 +10742,7 @@ declare const completedOrderSchema: z.ZodObject<{
|
|
|
10739
10742
|
region: string | null;
|
|
10740
10743
|
postCode: string | null;
|
|
10741
10744
|
} | null;
|
|
10745
|
+
phone: string | null;
|
|
10742
10746
|
businessName: string | null;
|
|
10743
10747
|
taxId: string | null;
|
|
10744
10748
|
};
|
|
@@ -16860,6 +16864,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16860
16864
|
businessName: z.ZodNullable<z.ZodString>;
|
|
16861
16865
|
taxId: z.ZodNullable<z.ZodString>;
|
|
16862
16866
|
email: z.ZodNullable<z.ZodString>;
|
|
16867
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
16863
16868
|
address: z.ZodNullable<z.ZodObject<{
|
|
16864
16869
|
countryCode: z.ZodString;
|
|
16865
16870
|
streetAddress1: z.ZodString;
|
|
@@ -16893,6 +16898,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16893
16898
|
region: string | null;
|
|
16894
16899
|
postCode: string | null;
|
|
16895
16900
|
} | null;
|
|
16901
|
+
phone: string | null;
|
|
16896
16902
|
businessName: string | null;
|
|
16897
16903
|
taxId: string | null;
|
|
16898
16904
|
}, {
|
|
@@ -16906,6 +16912,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
16906
16912
|
region: string | null;
|
|
16907
16913
|
postCode: string | null;
|
|
16908
16914
|
} | null;
|
|
16915
|
+
phone: string | null;
|
|
16909
16916
|
businessName: string | null;
|
|
16910
16917
|
taxId: string | null;
|
|
16911
16918
|
}>;
|
|
@@ -18226,6 +18233,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18226
18233
|
region: string | null;
|
|
18227
18234
|
postCode: string | null;
|
|
18228
18235
|
} | null;
|
|
18236
|
+
phone: string | null;
|
|
18229
18237
|
businessName: string | null;
|
|
18230
18238
|
taxId: string | null;
|
|
18231
18239
|
};
|
|
@@ -18450,6 +18458,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.obje
|
|
|
18450
18458
|
region: string | null;
|
|
18451
18459
|
postCode: string | null;
|
|
18452
18460
|
} | null;
|
|
18461
|
+
phone: string | null;
|
|
18453
18462
|
businessName: string | null;
|
|
18454
18463
|
taxId: string | null;
|
|
18455
18464
|
};
|
|
@@ -18710,6 +18719,7 @@ declare class OrderEndpoints {
|
|
|
18710
18719
|
region: string | null;
|
|
18711
18720
|
postCode: string | null;
|
|
18712
18721
|
} | null;
|
|
18722
|
+
phone: string | null;
|
|
18713
18723
|
businessName: string | null;
|
|
18714
18724
|
taxId: string | null;
|
|
18715
18725
|
};
|
package/dist/index.js
CHANGED
|
@@ -425,6 +425,7 @@ var userSchema = z7.object({
|
|
|
425
425
|
name: z7.string(),
|
|
426
426
|
tenantId: z7.string(),
|
|
427
427
|
address: addressSchema.optional(),
|
|
428
|
+
phone: z7.string().optional(),
|
|
428
429
|
communicationPreferences: communicationPreferencesSchema,
|
|
429
430
|
ownedProducts: z7.string().array().optional(),
|
|
430
431
|
subscribedProducts: z7.string().array().optional(),
|
|
@@ -606,8 +607,7 @@ var externalLicenseFileContent = z8.object({
|
|
|
606
607
|
data: z8.string()
|
|
607
608
|
});
|
|
608
609
|
var externalLicenseILokContent = z8.object({
|
|
609
|
-
type: z8.literal("iLok")
|
|
610
|
-
licenseId: z8.string()
|
|
610
|
+
type: z8.literal("iLok")
|
|
611
611
|
});
|
|
612
612
|
var externalLicenseContent = z8.union([
|
|
613
613
|
z8.string(),
|
|
@@ -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",
|