@moonbase.sh/storefront-api 1.0.12 → 1.0.15
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 +2 -2
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +2 -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(),
|
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;
|
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;
|
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(),
|
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.15",
|
|
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",
|