@moonbase.sh/api 0.1.115 → 0.1.116
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 +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -127,7 +127,7 @@ var licenseActivationSchema = import_zod2.z.object({
|
|
|
127
127
|
license: licenseSchema
|
|
128
128
|
});
|
|
129
129
|
var importLicenseRequestSchema = import_zod2.z.object({
|
|
130
|
-
|
|
130
|
+
ownerId: import_zod2.z.string(),
|
|
131
131
|
productId: import_zod2.z.string(),
|
|
132
132
|
externalId: import_zod2.z.string().optional(),
|
|
133
133
|
createdAt: import_zod2.z.date().optional(),
|
|
@@ -192,7 +192,7 @@ var importTrialRequestSchema = import_zod4.z.object({
|
|
|
192
192
|
deviceName: import_zod4.z.string(),
|
|
193
193
|
deviceSignature: import_zod4.z.string(),
|
|
194
194
|
expiresAt: import_zod4.z.date(),
|
|
195
|
-
|
|
195
|
+
ownerId: import_zod4.z.string().optional(),
|
|
196
196
|
lastValidation: import_zod4.z.date().optional(),
|
|
197
197
|
createdAt: import_zod4.z.date().optional()
|
|
198
198
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -744,7 +744,7 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
744
744
|
};
|
|
745
745
|
}>;
|
|
746
746
|
declare const importLicenseRequestSchema: z.ZodObject<{
|
|
747
|
-
|
|
747
|
+
ownerId: z.ZodString;
|
|
748
748
|
productId: z.ZodString;
|
|
749
749
|
externalId: z.ZodOptional<z.ZodString>;
|
|
750
750
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -768,7 +768,7 @@ declare const importLicenseRequestSchema: z.ZodObject<{
|
|
|
768
768
|
}>, "many">>;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
770
|
productId: string;
|
|
771
|
-
|
|
771
|
+
ownerId: string;
|
|
772
772
|
externalId?: string | undefined;
|
|
773
773
|
createdAt?: Date | undefined;
|
|
774
774
|
maxNumberOfActivations?: number | undefined;
|
|
@@ -781,7 +781,7 @@ declare const importLicenseRequestSchema: z.ZodObject<{
|
|
|
781
781
|
}[] | undefined;
|
|
782
782
|
}, {
|
|
783
783
|
productId: string;
|
|
784
|
-
|
|
784
|
+
ownerId: string;
|
|
785
785
|
externalId?: string | undefined;
|
|
786
786
|
createdAt?: Date | undefined;
|
|
787
787
|
maxNumberOfActivations?: number | undefined;
|
|
@@ -916,7 +916,7 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
916
916
|
deviceName: z.ZodString;
|
|
917
917
|
deviceSignature: z.ZodString;
|
|
918
918
|
expiresAt: z.ZodDate;
|
|
919
|
-
|
|
919
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
920
920
|
lastValidation: z.ZodOptional<z.ZodDate>;
|
|
921
921
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
922
922
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -925,7 +925,7 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
925
925
|
deviceSignature: string;
|
|
926
926
|
expiresAt: Date;
|
|
927
927
|
externalId?: string | undefined;
|
|
928
|
-
|
|
928
|
+
ownerId?: string | undefined;
|
|
929
929
|
lastValidation?: Date | undefined;
|
|
930
930
|
createdAt?: Date | undefined;
|
|
931
931
|
}, {
|
|
@@ -934,7 +934,7 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
934
934
|
deviceSignature: string;
|
|
935
935
|
expiresAt: Date;
|
|
936
936
|
externalId?: string | undefined;
|
|
937
|
-
|
|
937
|
+
ownerId?: string | undefined;
|
|
938
938
|
lastValidation?: Date | undefined;
|
|
939
939
|
createdAt?: Date | undefined;
|
|
940
940
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -744,7 +744,7 @@ declare const licenseActivationSchema: z.ZodObject<{
|
|
|
744
744
|
};
|
|
745
745
|
}>;
|
|
746
746
|
declare const importLicenseRequestSchema: z.ZodObject<{
|
|
747
|
-
|
|
747
|
+
ownerId: z.ZodString;
|
|
748
748
|
productId: z.ZodString;
|
|
749
749
|
externalId: z.ZodOptional<z.ZodString>;
|
|
750
750
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
@@ -768,7 +768,7 @@ declare const importLicenseRequestSchema: z.ZodObject<{
|
|
|
768
768
|
}>, "many">>;
|
|
769
769
|
}, "strip", z.ZodTypeAny, {
|
|
770
770
|
productId: string;
|
|
771
|
-
|
|
771
|
+
ownerId: string;
|
|
772
772
|
externalId?: string | undefined;
|
|
773
773
|
createdAt?: Date | undefined;
|
|
774
774
|
maxNumberOfActivations?: number | undefined;
|
|
@@ -781,7 +781,7 @@ declare const importLicenseRequestSchema: z.ZodObject<{
|
|
|
781
781
|
}[] | undefined;
|
|
782
782
|
}, {
|
|
783
783
|
productId: string;
|
|
784
|
-
|
|
784
|
+
ownerId: string;
|
|
785
785
|
externalId?: string | undefined;
|
|
786
786
|
createdAt?: Date | undefined;
|
|
787
787
|
maxNumberOfActivations?: number | undefined;
|
|
@@ -916,7 +916,7 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
916
916
|
deviceName: z.ZodString;
|
|
917
917
|
deviceSignature: z.ZodString;
|
|
918
918
|
expiresAt: z.ZodDate;
|
|
919
|
-
|
|
919
|
+
ownerId: z.ZodOptional<z.ZodString>;
|
|
920
920
|
lastValidation: z.ZodOptional<z.ZodDate>;
|
|
921
921
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
922
922
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -925,7 +925,7 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
925
925
|
deviceSignature: string;
|
|
926
926
|
expiresAt: Date;
|
|
927
927
|
externalId?: string | undefined;
|
|
928
|
-
|
|
928
|
+
ownerId?: string | undefined;
|
|
929
929
|
lastValidation?: Date | undefined;
|
|
930
930
|
createdAt?: Date | undefined;
|
|
931
931
|
}, {
|
|
@@ -934,7 +934,7 @@ declare const importTrialRequestSchema: z.ZodObject<{
|
|
|
934
934
|
deviceSignature: string;
|
|
935
935
|
expiresAt: Date;
|
|
936
936
|
externalId?: string | undefined;
|
|
937
|
-
|
|
937
|
+
ownerId?: string | undefined;
|
|
938
938
|
lastValidation?: Date | undefined;
|
|
939
939
|
createdAt?: Date | undefined;
|
|
940
940
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -80,7 +80,7 @@ var licenseActivationSchema = z2.object({
|
|
|
80
80
|
license: licenseSchema
|
|
81
81
|
});
|
|
82
82
|
var importLicenseRequestSchema = z2.object({
|
|
83
|
-
|
|
83
|
+
ownerId: z2.string(),
|
|
84
84
|
productId: z2.string(),
|
|
85
85
|
externalId: z2.string().optional(),
|
|
86
86
|
createdAt: z2.date().optional(),
|
|
@@ -145,7 +145,7 @@ var importTrialRequestSchema = z4.object({
|
|
|
145
145
|
deviceName: z4.string(),
|
|
146
146
|
deviceSignature: z4.string(),
|
|
147
147
|
expiresAt: z4.date(),
|
|
148
|
-
|
|
148
|
+
ownerId: z4.string().optional(),
|
|
149
149
|
lastValidation: z4.date().optional(),
|
|
150
150
|
createdAt: z4.date().optional()
|
|
151
151
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.116",
|
|
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",
|