@moonbase.sh/api 0.2.28 → 0.2.31
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.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -759,7 +759,6 @@ declare const importCustomerRequestSchema: z.ZodObject<{
|
|
|
759
759
|
name: string;
|
|
760
760
|
email: string;
|
|
761
761
|
externalId?: string | undefined;
|
|
762
|
-
password?: string | undefined;
|
|
763
762
|
address?: {
|
|
764
763
|
countryCode: string;
|
|
765
764
|
streetAddress1: string;
|
|
@@ -768,12 +767,12 @@ declare const importCustomerRequestSchema: z.ZodObject<{
|
|
|
768
767
|
region: string | null;
|
|
769
768
|
postCode: string;
|
|
770
769
|
} | undefined;
|
|
770
|
+
password?: string | undefined;
|
|
771
771
|
createdAt?: Date | undefined;
|
|
772
772
|
}, {
|
|
773
773
|
name: string;
|
|
774
774
|
email: string;
|
|
775
775
|
externalId?: string | undefined;
|
|
776
|
-
password?: string | undefined;
|
|
777
776
|
address?: {
|
|
778
777
|
countryCode: string;
|
|
779
778
|
streetAddress1: string;
|
|
@@ -782,6 +781,7 @@ declare const importCustomerRequestSchema: z.ZodObject<{
|
|
|
782
781
|
region: string | null;
|
|
783
782
|
postCode: string;
|
|
784
783
|
} | undefined;
|
|
784
|
+
password?: string | undefined;
|
|
785
785
|
createdAt?: Date | undefined;
|
|
786
786
|
}>;
|
|
787
787
|
|
|
@@ -1444,18 +1444,18 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
1444
1444
|
deviceSignature: string;
|
|
1445
1445
|
expiresAt: Date;
|
|
1446
1446
|
externalId?: string | undefined;
|
|
1447
|
+
createdAt?: Date | undefined;
|
|
1447
1448
|
ownerId?: string | undefined;
|
|
1448
1449
|
lastValidation?: Date | undefined;
|
|
1449
|
-
createdAt?: Date | undefined;
|
|
1450
1450
|
}, {
|
|
1451
1451
|
productId: string;
|
|
1452
1452
|
deviceName: string;
|
|
1453
1453
|
deviceSignature: string;
|
|
1454
1454
|
expiresAt: Date;
|
|
1455
1455
|
externalId?: string | undefined;
|
|
1456
|
+
createdAt?: Date | undefined;
|
|
1456
1457
|
ownerId?: string | undefined;
|
|
1457
1458
|
lastValidation?: Date | undefined;
|
|
1458
|
-
createdAt?: Date | undefined;
|
|
1459
1459
|
}>;
|
|
1460
1460
|
|
|
1461
1461
|
declare enum TrialStatus {
|
package/dist/index.d.ts
CHANGED
|
@@ -759,7 +759,6 @@ declare const importCustomerRequestSchema: z.ZodObject<{
|
|
|
759
759
|
name: string;
|
|
760
760
|
email: string;
|
|
761
761
|
externalId?: string | undefined;
|
|
762
|
-
password?: string | undefined;
|
|
763
762
|
address?: {
|
|
764
763
|
countryCode: string;
|
|
765
764
|
streetAddress1: string;
|
|
@@ -768,12 +767,12 @@ declare const importCustomerRequestSchema: z.ZodObject<{
|
|
|
768
767
|
region: string | null;
|
|
769
768
|
postCode: string;
|
|
770
769
|
} | undefined;
|
|
770
|
+
password?: string | undefined;
|
|
771
771
|
createdAt?: Date | undefined;
|
|
772
772
|
}, {
|
|
773
773
|
name: string;
|
|
774
774
|
email: string;
|
|
775
775
|
externalId?: string | undefined;
|
|
776
|
-
password?: string | undefined;
|
|
777
776
|
address?: {
|
|
778
777
|
countryCode: string;
|
|
779
778
|
streetAddress1: string;
|
|
@@ -782,6 +781,7 @@ declare const importCustomerRequestSchema: z.ZodObject<{
|
|
|
782
781
|
region: string | null;
|
|
783
782
|
postCode: string;
|
|
784
783
|
} | undefined;
|
|
784
|
+
password?: string | undefined;
|
|
785
785
|
createdAt?: Date | undefined;
|
|
786
786
|
}>;
|
|
787
787
|
|
|
@@ -1444,18 +1444,18 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
1444
1444
|
deviceSignature: string;
|
|
1445
1445
|
expiresAt: Date;
|
|
1446
1446
|
externalId?: string | undefined;
|
|
1447
|
+
createdAt?: Date | undefined;
|
|
1447
1448
|
ownerId?: string | undefined;
|
|
1448
1449
|
lastValidation?: Date | undefined;
|
|
1449
|
-
createdAt?: Date | undefined;
|
|
1450
1450
|
}, {
|
|
1451
1451
|
productId: string;
|
|
1452
1452
|
deviceName: string;
|
|
1453
1453
|
deviceSignature: string;
|
|
1454
1454
|
expiresAt: Date;
|
|
1455
1455
|
externalId?: string | undefined;
|
|
1456
|
+
createdAt?: Date | undefined;
|
|
1456
1457
|
ownerId?: string | undefined;
|
|
1457
1458
|
lastValidation?: Date | undefined;
|
|
1458
|
-
createdAt?: Date | undefined;
|
|
1459
1459
|
}>;
|
|
1460
1460
|
|
|
1461
1461
|
declare enum TrialStatus {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.31",
|
|
5
5
|
"description": "Package to let you integrate backends with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"cross-fetch": "^3.1.5",
|
|
17
|
-
"zod": "^3.
|
|
17
|
+
"zod": "^3.23.8"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@types/node": "^18.
|
|
21
|
-
"rimraf": "^5.0.
|
|
20
|
+
"@types/node": "^18.19.50",
|
|
21
|
+
"rimraf": "^5.0.10",
|
|
22
22
|
"tsup": "^7.1.0",
|
|
23
23
|
"typescript": "~5.1.6"
|
|
24
24
|
},
|