@moonbase.sh/api 0.4.40 → 0.4.42

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 CHANGED
@@ -361,6 +361,7 @@ var activationRequestSchema = import_zod6.z.object({
361
361
  deviceName: import_zod6.z.string(),
362
362
  deviceSignature: import_zod6.z.string(),
363
363
  status: import_zod6.z.nativeEnum(ActivationRequestStatus),
364
+ browser: import_zod6.z.string(),
364
365
  product: productSchema,
365
366
  activation: licenseActivationSchema.optional(),
366
367
  trial: trialSchema.optional()
@@ -793,7 +794,6 @@ var subscriptionSchema = import_zod9.z.object({
793
794
  });
794
795
  var importSubscriptionLicenseSchema = import_zod9.z.object({
795
796
  externalId: import_zod9.z.string().optional(),
796
- createdAt: import_zod9.z.date().optional(),
797
797
  maxNumberOfActivations: import_zod9.z.number().optional(),
798
798
  offlineActivationsAllowed: import_zod9.z.boolean().optional(),
799
799
  activations: import_zod9.z.object({
package/dist/index.d.cts CHANGED
@@ -19,6 +19,7 @@ declare const activationRequestSchema: z.ZodObject<{
19
19
  deviceName: z.ZodString;
20
20
  deviceSignature: z.ZodString;
21
21
  status: z.ZodNativeEnum<typeof ActivationRequestStatus>;
22
+ browser: z.ZodString;
22
23
  product: z.ZodObject<{
23
24
  id: z.ZodString;
24
25
  name: z.ZodString;
@@ -1104,6 +1105,7 @@ declare const activationRequestSchema: z.ZodObject<{
1104
1105
  id: string;
1105
1106
  deviceName: string;
1106
1107
  deviceSignature: string;
1108
+ browser: string;
1107
1109
  product: {
1108
1110
  status: ProductStatus;
1109
1111
  id: string;
@@ -1295,6 +1297,7 @@ declare const activationRequestSchema: z.ZodObject<{
1295
1297
  id: string;
1296
1298
  deviceName: string;
1297
1299
  deviceSignature: string;
1300
+ browser: string;
1298
1301
  product: {
1299
1302
  status: ProductStatus;
1300
1303
  id: string;
@@ -5457,7 +5460,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5457
5460
  variationId: z.ZodOptional<z.ZodString>;
5458
5461
  license: z.ZodObject<{
5459
5462
  externalId: z.ZodOptional<z.ZodString>;
5460
- createdAt: z.ZodOptional<z.ZodDate>;
5461
5463
  maxNumberOfActivations: z.ZodOptional<z.ZodNumber>;
5462
5464
  offlineActivationsAllowed: z.ZodOptional<z.ZodBoolean>;
5463
5465
  activations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5478,7 +5480,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5478
5480
  }>, "many">>;
5479
5481
  }, "strip", z.ZodTypeAny, {
5480
5482
  externalId?: string | undefined;
5481
- createdAt?: Date | undefined;
5482
5483
  maxNumberOfActivations?: number | undefined;
5483
5484
  offlineActivationsAllowed?: boolean | undefined;
5484
5485
  activations?: {
@@ -5489,7 +5490,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5489
5490
  }[] | undefined;
5490
5491
  }, {
5491
5492
  externalId?: string | undefined;
5492
- createdAt?: Date | undefined;
5493
5493
  maxNumberOfActivations?: number | undefined;
5494
5494
  offlineActivationsAllowed?: boolean | undefined;
5495
5495
  activations?: {
@@ -5504,7 +5504,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5504
5504
  productId: string;
5505
5505
  license: {
5506
5506
  externalId?: string | undefined;
5507
- createdAt?: Date | undefined;
5508
5507
  maxNumberOfActivations?: number | undefined;
5509
5508
  offlineActivationsAllowed?: boolean | undefined;
5510
5509
  activations?: {
@@ -5520,7 +5519,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5520
5519
  productId: string;
5521
5520
  license: {
5522
5521
  externalId?: string | undefined;
5523
- createdAt?: Date | undefined;
5524
5522
  maxNumberOfActivations?: number | undefined;
5525
5523
  offlineActivationsAllowed?: boolean | undefined;
5526
5524
  activations?: {
@@ -5537,7 +5535,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5537
5535
  variationId: z.ZodOptional<z.ZodString>;
5538
5536
  licenses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5539
5537
  externalId: z.ZodOptional<z.ZodString>;
5540
- createdAt: z.ZodOptional<z.ZodDate>;
5541
5538
  maxNumberOfActivations: z.ZodOptional<z.ZodNumber>;
5542
5539
  offlineActivationsAllowed: z.ZodOptional<z.ZodBoolean>;
5543
5540
  activations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5558,7 +5555,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5558
5555
  }>, "many">>;
5559
5556
  }, "strip", z.ZodTypeAny, {
5560
5557
  externalId?: string | undefined;
5561
- createdAt?: Date | undefined;
5562
5558
  maxNumberOfActivations?: number | undefined;
5563
5559
  offlineActivationsAllowed?: boolean | undefined;
5564
5560
  activations?: {
@@ -5569,7 +5565,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5569
5565
  }[] | undefined;
5570
5566
  }, {
5571
5567
  externalId?: string | undefined;
5572
- createdAt?: Date | undefined;
5573
5568
  maxNumberOfActivations?: number | undefined;
5574
5569
  offlineActivationsAllowed?: boolean | undefined;
5575
5570
  activations?: {
@@ -5585,7 +5580,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5585
5580
  variationId?: string | undefined;
5586
5581
  licenses?: Record<string, {
5587
5582
  externalId?: string | undefined;
5588
- createdAt?: Date | undefined;
5589
5583
  maxNumberOfActivations?: number | undefined;
5590
5584
  offlineActivationsAllowed?: boolean | undefined;
5591
5585
  activations?: {
@@ -5601,7 +5595,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5601
5595
  variationId?: string | undefined;
5602
5596
  licenses?: Record<string, {
5603
5597
  externalId?: string | undefined;
5604
- createdAt?: Date | undefined;
5605
5598
  maxNumberOfActivations?: number | undefined;
5606
5599
  offlineActivationsAllowed?: boolean | undefined;
5607
5600
  activations?: {
@@ -5621,7 +5614,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5621
5614
  productId: string;
5622
5615
  license: {
5623
5616
  externalId?: string | undefined;
5624
- createdAt?: Date | undefined;
5625
5617
  maxNumberOfActivations?: number | undefined;
5626
5618
  offlineActivationsAllowed?: boolean | undefined;
5627
5619
  activations?: {
@@ -5638,7 +5630,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5638
5630
  variationId?: string | undefined;
5639
5631
  licenses?: Record<string, {
5640
5632
  externalId?: string | undefined;
5641
- createdAt?: Date | undefined;
5642
5633
  maxNumberOfActivations?: number | undefined;
5643
5634
  offlineActivationsAllowed?: boolean | undefined;
5644
5635
  activations?: {
@@ -5662,7 +5653,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5662
5653
  productId: string;
5663
5654
  license: {
5664
5655
  externalId?: string | undefined;
5665
- createdAt?: Date | undefined;
5666
5656
  maxNumberOfActivations?: number | undefined;
5667
5657
  offlineActivationsAllowed?: boolean | undefined;
5668
5658
  activations?: {
@@ -5679,7 +5669,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5679
5669
  variationId?: string | undefined;
5680
5670
  licenses?: Record<string, {
5681
5671
  externalId?: string | undefined;
5682
- createdAt?: Date | undefined;
5683
5672
  maxNumberOfActivations?: number | undefined;
5684
5673
  offlineActivationsAllowed?: boolean | undefined;
5685
5674
  activations?: {
package/dist/index.d.ts CHANGED
@@ -19,6 +19,7 @@ declare const activationRequestSchema: z.ZodObject<{
19
19
  deviceName: z.ZodString;
20
20
  deviceSignature: z.ZodString;
21
21
  status: z.ZodNativeEnum<typeof ActivationRequestStatus>;
22
+ browser: z.ZodString;
22
23
  product: z.ZodObject<{
23
24
  id: z.ZodString;
24
25
  name: z.ZodString;
@@ -1104,6 +1105,7 @@ declare const activationRequestSchema: z.ZodObject<{
1104
1105
  id: string;
1105
1106
  deviceName: string;
1106
1107
  deviceSignature: string;
1108
+ browser: string;
1107
1109
  product: {
1108
1110
  status: ProductStatus;
1109
1111
  id: string;
@@ -1295,6 +1297,7 @@ declare const activationRequestSchema: z.ZodObject<{
1295
1297
  id: string;
1296
1298
  deviceName: string;
1297
1299
  deviceSignature: string;
1300
+ browser: string;
1298
1301
  product: {
1299
1302
  status: ProductStatus;
1300
1303
  id: string;
@@ -5457,7 +5460,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5457
5460
  variationId: z.ZodOptional<z.ZodString>;
5458
5461
  license: z.ZodObject<{
5459
5462
  externalId: z.ZodOptional<z.ZodString>;
5460
- createdAt: z.ZodOptional<z.ZodDate>;
5461
5463
  maxNumberOfActivations: z.ZodOptional<z.ZodNumber>;
5462
5464
  offlineActivationsAllowed: z.ZodOptional<z.ZodBoolean>;
5463
5465
  activations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5478,7 +5480,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5478
5480
  }>, "many">>;
5479
5481
  }, "strip", z.ZodTypeAny, {
5480
5482
  externalId?: string | undefined;
5481
- createdAt?: Date | undefined;
5482
5483
  maxNumberOfActivations?: number | undefined;
5483
5484
  offlineActivationsAllowed?: boolean | undefined;
5484
5485
  activations?: {
@@ -5489,7 +5490,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5489
5490
  }[] | undefined;
5490
5491
  }, {
5491
5492
  externalId?: string | undefined;
5492
- createdAt?: Date | undefined;
5493
5493
  maxNumberOfActivations?: number | undefined;
5494
5494
  offlineActivationsAllowed?: boolean | undefined;
5495
5495
  activations?: {
@@ -5504,7 +5504,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5504
5504
  productId: string;
5505
5505
  license: {
5506
5506
  externalId?: string | undefined;
5507
- createdAt?: Date | undefined;
5508
5507
  maxNumberOfActivations?: number | undefined;
5509
5508
  offlineActivationsAllowed?: boolean | undefined;
5510
5509
  activations?: {
@@ -5520,7 +5519,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5520
5519
  productId: string;
5521
5520
  license: {
5522
5521
  externalId?: string | undefined;
5523
- createdAt?: Date | undefined;
5524
5522
  maxNumberOfActivations?: number | undefined;
5525
5523
  offlineActivationsAllowed?: boolean | undefined;
5526
5524
  activations?: {
@@ -5537,7 +5535,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5537
5535
  variationId: z.ZodOptional<z.ZodString>;
5538
5536
  licenses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
5539
5537
  externalId: z.ZodOptional<z.ZodString>;
5540
- createdAt: z.ZodOptional<z.ZodDate>;
5541
5538
  maxNumberOfActivations: z.ZodOptional<z.ZodNumber>;
5542
5539
  offlineActivationsAllowed: z.ZodOptional<z.ZodBoolean>;
5543
5540
  activations: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5558,7 +5555,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5558
5555
  }>, "many">>;
5559
5556
  }, "strip", z.ZodTypeAny, {
5560
5557
  externalId?: string | undefined;
5561
- createdAt?: Date | undefined;
5562
5558
  maxNumberOfActivations?: number | undefined;
5563
5559
  offlineActivationsAllowed?: boolean | undefined;
5564
5560
  activations?: {
@@ -5569,7 +5565,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5569
5565
  }[] | undefined;
5570
5566
  }, {
5571
5567
  externalId?: string | undefined;
5572
- createdAt?: Date | undefined;
5573
5568
  maxNumberOfActivations?: number | undefined;
5574
5569
  offlineActivationsAllowed?: boolean | undefined;
5575
5570
  activations?: {
@@ -5585,7 +5580,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5585
5580
  variationId?: string | undefined;
5586
5581
  licenses?: Record<string, {
5587
5582
  externalId?: string | undefined;
5588
- createdAt?: Date | undefined;
5589
5583
  maxNumberOfActivations?: number | undefined;
5590
5584
  offlineActivationsAllowed?: boolean | undefined;
5591
5585
  activations?: {
@@ -5601,7 +5595,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5601
5595
  variationId?: string | undefined;
5602
5596
  licenses?: Record<string, {
5603
5597
  externalId?: string | undefined;
5604
- createdAt?: Date | undefined;
5605
5598
  maxNumberOfActivations?: number | undefined;
5606
5599
  offlineActivationsAllowed?: boolean | undefined;
5607
5600
  activations?: {
@@ -5621,7 +5614,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5621
5614
  productId: string;
5622
5615
  license: {
5623
5616
  externalId?: string | undefined;
5624
- createdAt?: Date | undefined;
5625
5617
  maxNumberOfActivations?: number | undefined;
5626
5618
  offlineActivationsAllowed?: boolean | undefined;
5627
5619
  activations?: {
@@ -5638,7 +5630,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5638
5630
  variationId?: string | undefined;
5639
5631
  licenses?: Record<string, {
5640
5632
  externalId?: string | undefined;
5641
- createdAt?: Date | undefined;
5642
5633
  maxNumberOfActivations?: number | undefined;
5643
5634
  offlineActivationsAllowed?: boolean | undefined;
5644
5635
  activations?: {
@@ -5662,7 +5653,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5662
5653
  productId: string;
5663
5654
  license: {
5664
5655
  externalId?: string | undefined;
5665
- createdAt?: Date | undefined;
5666
5656
  maxNumberOfActivations?: number | undefined;
5667
5657
  offlineActivationsAllowed?: boolean | undefined;
5668
5658
  activations?: {
@@ -5679,7 +5669,6 @@ declare const importSubscriptionRequestSchema: z.ZodObject<{
5679
5669
  variationId?: string | undefined;
5680
5670
  licenses?: Record<string, {
5681
5671
  externalId?: string | undefined;
5682
- createdAt?: Date | undefined;
5683
5672
  maxNumberOfActivations?: number | undefined;
5684
5673
  offlineActivationsAllowed?: boolean | undefined;
5685
5674
  activations?: {
package/dist/index.js CHANGED
@@ -308,6 +308,7 @@ var activationRequestSchema = z6.object({
308
308
  deviceName: z6.string(),
309
309
  deviceSignature: z6.string(),
310
310
  status: z6.nativeEnum(ActivationRequestStatus),
311
+ browser: z6.string(),
311
312
  product: productSchema,
312
313
  activation: licenseActivationSchema.optional(),
313
314
  trial: trialSchema.optional()
@@ -740,7 +741,6 @@ var subscriptionSchema = z9.object({
740
741
  });
741
742
  var importSubscriptionLicenseSchema = z9.object({
742
743
  externalId: z9.string().optional(),
743
- createdAt: z9.date().optional(),
744
744
  maxNumberOfActivations: z9.number().optional(),
745
745
  offlineActivationsAllowed: z9.boolean().optional(),
746
746
  activations: z9.object({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/api",
3
3
  "type": "module",
4
- "version": "0.4.40",
4
+ "version": "0.4.42",
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",