@moonbase.sh/storefront-api 0.4.11 → 0.4.13
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 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -803,8 +803,10 @@ var subscriptionSchema = import_zod12.z.object({
|
|
|
803
803
|
id: import_zod12.z.string(),
|
|
804
804
|
status: import_zod12.z.nativeEnum(SubscriptionStatus),
|
|
805
805
|
hasPaymentMethod: import_zod12.z.boolean(),
|
|
806
|
+
cancellable: import_zod12.z.boolean(),
|
|
806
807
|
expiresAt: import_zod12.z.coerce.date(),
|
|
807
808
|
renewedAt: import_zod12.z.coerce.date().nullable(),
|
|
809
|
+
nextPaymentScheduledAt: import_zod12.z.coerce.date().nullable(),
|
|
808
810
|
startedAt: import_zod12.z.coerce.date(),
|
|
809
811
|
total: orderTotalSchema,
|
|
810
812
|
cycleLength: import_zod12.z.nativeEnum(CycleLength),
|
package/dist/index.d.cts
CHANGED
|
@@ -1950,8 +1950,10 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
1950
1950
|
id: z.ZodString;
|
|
1951
1951
|
status: z.ZodNativeEnum<typeof SubscriptionStatus>;
|
|
1952
1952
|
hasPaymentMethod: z.ZodBoolean;
|
|
1953
|
+
cancellable: z.ZodBoolean;
|
|
1953
1954
|
expiresAt: z.ZodDate;
|
|
1954
1955
|
renewedAt: z.ZodNullable<z.ZodDate>;
|
|
1956
|
+
nextPaymentScheduledAt: z.ZodNullable<z.ZodDate>;
|
|
1955
1957
|
startedAt: z.ZodDate;
|
|
1956
1958
|
total: z.ZodObject<{
|
|
1957
1959
|
original: z.ZodObject<{
|
|
@@ -4381,7 +4383,9 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
4381
4383
|
};
|
|
4382
4384
|
cycleLength: CycleLength;
|
|
4383
4385
|
hasPaymentMethod: boolean;
|
|
4386
|
+
cancellable: boolean;
|
|
4384
4387
|
renewedAt: Date | null;
|
|
4388
|
+
nextPaymentScheduledAt: Date | null;
|
|
4385
4389
|
startedAt: Date;
|
|
4386
4390
|
content: {
|
|
4387
4391
|
type: "Product";
|
|
@@ -4684,7 +4688,9 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
4684
4688
|
};
|
|
4685
4689
|
cycleLength: CycleLength;
|
|
4686
4690
|
hasPaymentMethod: boolean;
|
|
4691
|
+
cancellable: boolean;
|
|
4687
4692
|
renewedAt: Date | null;
|
|
4693
|
+
nextPaymentScheduledAt: Date | null;
|
|
4688
4694
|
startedAt: Date;
|
|
4689
4695
|
content: {
|
|
4690
4696
|
type: "Product";
|
package/dist/index.d.ts
CHANGED
|
@@ -1950,8 +1950,10 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
1950
1950
|
id: z.ZodString;
|
|
1951
1951
|
status: z.ZodNativeEnum<typeof SubscriptionStatus>;
|
|
1952
1952
|
hasPaymentMethod: z.ZodBoolean;
|
|
1953
|
+
cancellable: z.ZodBoolean;
|
|
1953
1954
|
expiresAt: z.ZodDate;
|
|
1954
1955
|
renewedAt: z.ZodNullable<z.ZodDate>;
|
|
1956
|
+
nextPaymentScheduledAt: z.ZodNullable<z.ZodDate>;
|
|
1955
1957
|
startedAt: z.ZodDate;
|
|
1956
1958
|
total: z.ZodObject<{
|
|
1957
1959
|
original: z.ZodObject<{
|
|
@@ -4381,7 +4383,9 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
4381
4383
|
};
|
|
4382
4384
|
cycleLength: CycleLength;
|
|
4383
4385
|
hasPaymentMethod: boolean;
|
|
4386
|
+
cancellable: boolean;
|
|
4384
4387
|
renewedAt: Date | null;
|
|
4388
|
+
nextPaymentScheduledAt: Date | null;
|
|
4385
4389
|
startedAt: Date;
|
|
4386
4390
|
content: {
|
|
4387
4391
|
type: "Product";
|
|
@@ -4684,7 +4688,9 @@ declare const subscriptionSchema: z.ZodObject<{
|
|
|
4684
4688
|
};
|
|
4685
4689
|
cycleLength: CycleLength;
|
|
4686
4690
|
hasPaymentMethod: boolean;
|
|
4691
|
+
cancellable: boolean;
|
|
4687
4692
|
renewedAt: Date | null;
|
|
4693
|
+
nextPaymentScheduledAt: Date | null;
|
|
4688
4694
|
startedAt: Date;
|
|
4689
4695
|
content: {
|
|
4690
4696
|
type: "Product";
|
package/dist/index.js
CHANGED
|
@@ -753,8 +753,10 @@ var subscriptionSchema = z12.object({
|
|
|
753
753
|
id: z12.string(),
|
|
754
754
|
status: z12.nativeEnum(SubscriptionStatus),
|
|
755
755
|
hasPaymentMethod: z12.boolean(),
|
|
756
|
+
cancellable: z12.boolean(),
|
|
756
757
|
expiresAt: z12.coerce.date(),
|
|
757
758
|
renewedAt: z12.coerce.date().nullable(),
|
|
759
|
+
nextPaymentScheduledAt: z12.coerce.date().nullable(),
|
|
758
760
|
startedAt: z12.coerce.date(),
|
|
759
761
|
total: orderTotalSchema,
|
|
760
762
|
cycleLength: z12.nativeEnum(CycleLength),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.13",
|
|
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",
|