@moonbase.sh/api 0.3.4 → 0.3.6

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
@@ -79,6 +79,7 @@ var customerSchema = import_zod.z.object({
79
79
  hasPassword: import_zod.z.boolean(),
80
80
  isDeleted: import_zod.z.boolean(),
81
81
  ownedProducts: import_zod.z.string().array(),
82
+ subscribedProducts: import_zod.z.string().array(),
82
83
  address: addressSchema.nullable(),
83
84
  communicationPreferences: communicationPreferencesSchema
84
85
  });
package/dist/index.d.cts CHANGED
@@ -97,6 +97,7 @@ declare const activationRequestSchema: z.ZodObject<{
97
97
  hasPassword: z.ZodBoolean;
98
98
  isDeleted: z.ZodBoolean;
99
99
  ownedProducts: z.ZodArray<z.ZodString, "many">;
100
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
100
101
  address: z.ZodNullable<z.ZodObject<{
101
102
  countryCode: z.ZodString;
102
103
  streetAddress1: z.ZodString;
@@ -138,6 +139,7 @@ declare const activationRequestSchema: z.ZodObject<{
138
139
  hasPassword: boolean;
139
140
  isDeleted: boolean;
140
141
  ownedProducts: string[];
142
+ subscribedProducts: string[];
141
143
  address: {
142
144
  countryCode: string;
143
145
  streetAddress1: string;
@@ -162,6 +164,7 @@ declare const activationRequestSchema: z.ZodObject<{
162
164
  hasPassword: boolean;
163
165
  isDeleted: boolean;
164
166
  ownedProducts: string[];
167
+ subscribedProducts: string[];
165
168
  address: {
166
169
  countryCode: string;
167
170
  streetAddress1: string;
@@ -204,6 +207,7 @@ declare const activationRequestSchema: z.ZodObject<{
204
207
  hasPassword: boolean;
205
208
  isDeleted: boolean;
206
209
  ownedProducts: string[];
210
+ subscribedProducts: string[];
207
211
  address: {
208
212
  countryCode: string;
209
213
  streetAddress1: string;
@@ -246,6 +250,7 @@ declare const activationRequestSchema: z.ZodObject<{
246
250
  hasPassword: boolean;
247
251
  isDeleted: boolean;
248
252
  ownedProducts: string[];
253
+ subscribedProducts: string[];
249
254
  address: {
250
255
  countryCode: string;
251
256
  streetAddress1: string;
@@ -282,6 +287,7 @@ declare const activationRequestSchema: z.ZodObject<{
282
287
  hasPassword: z.ZodBoolean;
283
288
  isDeleted: z.ZodBoolean;
284
289
  ownedProducts: z.ZodArray<z.ZodString, "many">;
290
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
285
291
  address: z.ZodNullable<z.ZodObject<{
286
292
  countryCode: z.ZodString;
287
293
  streetAddress1: z.ZodString;
@@ -323,6 +329,7 @@ declare const activationRequestSchema: z.ZodObject<{
323
329
  hasPassword: boolean;
324
330
  isDeleted: boolean;
325
331
  ownedProducts: string[];
332
+ subscribedProducts: string[];
326
333
  address: {
327
334
  countryCode: string;
328
335
  streetAddress1: string;
@@ -347,6 +354,7 @@ declare const activationRequestSchema: z.ZodObject<{
347
354
  hasPassword: boolean;
348
355
  isDeleted: boolean;
349
356
  ownedProducts: string[];
357
+ subscribedProducts: string[];
350
358
  address: {
351
359
  countryCode: string;
352
360
  streetAddress1: string;
@@ -381,6 +389,7 @@ declare const activationRequestSchema: z.ZodObject<{
381
389
  hasPassword: boolean;
382
390
  isDeleted: boolean;
383
391
  ownedProducts: string[];
392
+ subscribedProducts: string[];
384
393
  address: {
385
394
  countryCode: string;
386
395
  streetAddress1: string;
@@ -415,6 +424,7 @@ declare const activationRequestSchema: z.ZodObject<{
415
424
  hasPassword: boolean;
416
425
  isDeleted: boolean;
417
426
  ownedProducts: string[];
427
+ subscribedProducts: string[];
418
428
  address: {
419
429
  countryCode: string;
420
430
  streetAddress1: string;
@@ -474,6 +484,7 @@ declare const activationRequestSchema: z.ZodObject<{
474
484
  hasPassword: boolean;
475
485
  isDeleted: boolean;
476
486
  ownedProducts: string[];
487
+ subscribedProducts: string[];
477
488
  address: {
478
489
  countryCode: string;
479
490
  streetAddress1: string;
@@ -509,6 +520,7 @@ declare const activationRequestSchema: z.ZodObject<{
509
520
  hasPassword: boolean;
510
521
  isDeleted: boolean;
511
522
  ownedProducts: string[];
523
+ subscribedProducts: string[];
512
524
  address: {
513
525
  countryCode: string;
514
526
  streetAddress1: string;
@@ -568,6 +580,7 @@ declare const activationRequestSchema: z.ZodObject<{
568
580
  hasPassword: boolean;
569
581
  isDeleted: boolean;
570
582
  ownedProducts: string[];
583
+ subscribedProducts: string[];
571
584
  address: {
572
585
  countryCode: string;
573
586
  streetAddress1: string;
@@ -603,6 +616,7 @@ declare const activationRequestSchema: z.ZodObject<{
603
616
  hasPassword: boolean;
604
617
  isDeleted: boolean;
605
618
  ownedProducts: string[];
619
+ subscribedProducts: string[];
606
620
  address: {
607
621
  countryCode: string;
608
622
  streetAddress1: string;
@@ -649,6 +663,7 @@ declare const customerSchema: z.ZodObject<{
649
663
  hasPassword: z.ZodBoolean;
650
664
  isDeleted: z.ZodBoolean;
651
665
  ownedProducts: z.ZodArray<z.ZodString, "many">;
666
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
652
667
  address: z.ZodNullable<z.ZodObject<{
653
668
  countryCode: z.ZodString;
654
669
  streetAddress1: z.ZodString;
@@ -690,6 +705,7 @@ declare const customerSchema: z.ZodObject<{
690
705
  hasPassword: boolean;
691
706
  isDeleted: boolean;
692
707
  ownedProducts: string[];
708
+ subscribedProducts: string[];
693
709
  address: {
694
710
  countryCode: string;
695
711
  streetAddress1: string;
@@ -714,6 +730,7 @@ declare const customerSchema: z.ZodObject<{
714
730
  hasPassword: boolean;
715
731
  isDeleted: boolean;
716
732
  ownedProducts: string[];
733
+ subscribedProducts: string[];
717
734
  address: {
718
735
  countryCode: string;
719
736
  streetAddress1: string;
@@ -897,6 +914,7 @@ declare const licenseActivationSchema: z.ZodObject<{
897
914
  hasPassword: z.ZodBoolean;
898
915
  isDeleted: z.ZodBoolean;
899
916
  ownedProducts: z.ZodArray<z.ZodString, "many">;
917
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
900
918
  address: z.ZodNullable<z.ZodObject<{
901
919
  countryCode: z.ZodString;
902
920
  streetAddress1: z.ZodString;
@@ -938,6 +956,7 @@ declare const licenseActivationSchema: z.ZodObject<{
938
956
  hasPassword: boolean;
939
957
  isDeleted: boolean;
940
958
  ownedProducts: string[];
959
+ subscribedProducts: string[];
941
960
  address: {
942
961
  countryCode: string;
943
962
  streetAddress1: string;
@@ -962,6 +981,7 @@ declare const licenseActivationSchema: z.ZodObject<{
962
981
  hasPassword: boolean;
963
982
  isDeleted: boolean;
964
983
  ownedProducts: string[];
984
+ subscribedProducts: string[];
965
985
  address: {
966
986
  countryCode: string;
967
987
  streetAddress1: string;
@@ -1004,6 +1024,7 @@ declare const licenseActivationSchema: z.ZodObject<{
1004
1024
  hasPassword: boolean;
1005
1025
  isDeleted: boolean;
1006
1026
  ownedProducts: string[];
1027
+ subscribedProducts: string[];
1007
1028
  address: {
1008
1029
  countryCode: string;
1009
1030
  streetAddress1: string;
@@ -1046,6 +1067,7 @@ declare const licenseActivationSchema: z.ZodObject<{
1046
1067
  hasPassword: boolean;
1047
1068
  isDeleted: boolean;
1048
1069
  ownedProducts: string[];
1070
+ subscribedProducts: string[];
1049
1071
  address: {
1050
1072
  countryCode: string;
1051
1073
  streetAddress1: string;
@@ -3321,6 +3343,7 @@ declare const trialSchema: z.ZodObject<{
3321
3343
  hasPassword: z.ZodBoolean;
3322
3344
  isDeleted: z.ZodBoolean;
3323
3345
  ownedProducts: z.ZodArray<z.ZodString, "many">;
3346
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
3324
3347
  address: z.ZodNullable<z.ZodObject<{
3325
3348
  countryCode: z.ZodString;
3326
3349
  streetAddress1: z.ZodString;
@@ -3362,6 +3385,7 @@ declare const trialSchema: z.ZodObject<{
3362
3385
  hasPassword: boolean;
3363
3386
  isDeleted: boolean;
3364
3387
  ownedProducts: string[];
3388
+ subscribedProducts: string[];
3365
3389
  address: {
3366
3390
  countryCode: string;
3367
3391
  streetAddress1: string;
@@ -3386,6 +3410,7 @@ declare const trialSchema: z.ZodObject<{
3386
3410
  hasPassword: boolean;
3387
3411
  isDeleted: boolean;
3388
3412
  ownedProducts: string[];
3413
+ subscribedProducts: string[];
3389
3414
  address: {
3390
3415
  countryCode: string;
3391
3416
  streetAddress1: string;
@@ -3420,6 +3445,7 @@ declare const trialSchema: z.ZodObject<{
3420
3445
  hasPassword: boolean;
3421
3446
  isDeleted: boolean;
3422
3447
  ownedProducts: string[];
3448
+ subscribedProducts: string[];
3423
3449
  address: {
3424
3450
  countryCode: string;
3425
3451
  streetAddress1: string;
@@ -3454,6 +3480,7 @@ declare const trialSchema: z.ZodObject<{
3454
3480
  hasPassword: boolean;
3455
3481
  isDeleted: boolean;
3456
3482
  ownedProducts: string[];
3483
+ subscribedProducts: string[];
3457
3484
  address: {
3458
3485
  countryCode: string;
3459
3486
  streetAddress1: string;
package/dist/index.d.ts CHANGED
@@ -97,6 +97,7 @@ declare const activationRequestSchema: z.ZodObject<{
97
97
  hasPassword: z.ZodBoolean;
98
98
  isDeleted: z.ZodBoolean;
99
99
  ownedProducts: z.ZodArray<z.ZodString, "many">;
100
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
100
101
  address: z.ZodNullable<z.ZodObject<{
101
102
  countryCode: z.ZodString;
102
103
  streetAddress1: z.ZodString;
@@ -138,6 +139,7 @@ declare const activationRequestSchema: z.ZodObject<{
138
139
  hasPassword: boolean;
139
140
  isDeleted: boolean;
140
141
  ownedProducts: string[];
142
+ subscribedProducts: string[];
141
143
  address: {
142
144
  countryCode: string;
143
145
  streetAddress1: string;
@@ -162,6 +164,7 @@ declare const activationRequestSchema: z.ZodObject<{
162
164
  hasPassword: boolean;
163
165
  isDeleted: boolean;
164
166
  ownedProducts: string[];
167
+ subscribedProducts: string[];
165
168
  address: {
166
169
  countryCode: string;
167
170
  streetAddress1: string;
@@ -204,6 +207,7 @@ declare const activationRequestSchema: z.ZodObject<{
204
207
  hasPassword: boolean;
205
208
  isDeleted: boolean;
206
209
  ownedProducts: string[];
210
+ subscribedProducts: string[];
207
211
  address: {
208
212
  countryCode: string;
209
213
  streetAddress1: string;
@@ -246,6 +250,7 @@ declare const activationRequestSchema: z.ZodObject<{
246
250
  hasPassword: boolean;
247
251
  isDeleted: boolean;
248
252
  ownedProducts: string[];
253
+ subscribedProducts: string[];
249
254
  address: {
250
255
  countryCode: string;
251
256
  streetAddress1: string;
@@ -282,6 +287,7 @@ declare const activationRequestSchema: z.ZodObject<{
282
287
  hasPassword: z.ZodBoolean;
283
288
  isDeleted: z.ZodBoolean;
284
289
  ownedProducts: z.ZodArray<z.ZodString, "many">;
290
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
285
291
  address: z.ZodNullable<z.ZodObject<{
286
292
  countryCode: z.ZodString;
287
293
  streetAddress1: z.ZodString;
@@ -323,6 +329,7 @@ declare const activationRequestSchema: z.ZodObject<{
323
329
  hasPassword: boolean;
324
330
  isDeleted: boolean;
325
331
  ownedProducts: string[];
332
+ subscribedProducts: string[];
326
333
  address: {
327
334
  countryCode: string;
328
335
  streetAddress1: string;
@@ -347,6 +354,7 @@ declare const activationRequestSchema: z.ZodObject<{
347
354
  hasPassword: boolean;
348
355
  isDeleted: boolean;
349
356
  ownedProducts: string[];
357
+ subscribedProducts: string[];
350
358
  address: {
351
359
  countryCode: string;
352
360
  streetAddress1: string;
@@ -381,6 +389,7 @@ declare const activationRequestSchema: z.ZodObject<{
381
389
  hasPassword: boolean;
382
390
  isDeleted: boolean;
383
391
  ownedProducts: string[];
392
+ subscribedProducts: string[];
384
393
  address: {
385
394
  countryCode: string;
386
395
  streetAddress1: string;
@@ -415,6 +424,7 @@ declare const activationRequestSchema: z.ZodObject<{
415
424
  hasPassword: boolean;
416
425
  isDeleted: boolean;
417
426
  ownedProducts: string[];
427
+ subscribedProducts: string[];
418
428
  address: {
419
429
  countryCode: string;
420
430
  streetAddress1: string;
@@ -474,6 +484,7 @@ declare const activationRequestSchema: z.ZodObject<{
474
484
  hasPassword: boolean;
475
485
  isDeleted: boolean;
476
486
  ownedProducts: string[];
487
+ subscribedProducts: string[];
477
488
  address: {
478
489
  countryCode: string;
479
490
  streetAddress1: string;
@@ -509,6 +520,7 @@ declare const activationRequestSchema: z.ZodObject<{
509
520
  hasPassword: boolean;
510
521
  isDeleted: boolean;
511
522
  ownedProducts: string[];
523
+ subscribedProducts: string[];
512
524
  address: {
513
525
  countryCode: string;
514
526
  streetAddress1: string;
@@ -568,6 +580,7 @@ declare const activationRequestSchema: z.ZodObject<{
568
580
  hasPassword: boolean;
569
581
  isDeleted: boolean;
570
582
  ownedProducts: string[];
583
+ subscribedProducts: string[];
571
584
  address: {
572
585
  countryCode: string;
573
586
  streetAddress1: string;
@@ -603,6 +616,7 @@ declare const activationRequestSchema: z.ZodObject<{
603
616
  hasPassword: boolean;
604
617
  isDeleted: boolean;
605
618
  ownedProducts: string[];
619
+ subscribedProducts: string[];
606
620
  address: {
607
621
  countryCode: string;
608
622
  streetAddress1: string;
@@ -649,6 +663,7 @@ declare const customerSchema: z.ZodObject<{
649
663
  hasPassword: z.ZodBoolean;
650
664
  isDeleted: z.ZodBoolean;
651
665
  ownedProducts: z.ZodArray<z.ZodString, "many">;
666
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
652
667
  address: z.ZodNullable<z.ZodObject<{
653
668
  countryCode: z.ZodString;
654
669
  streetAddress1: z.ZodString;
@@ -690,6 +705,7 @@ declare const customerSchema: z.ZodObject<{
690
705
  hasPassword: boolean;
691
706
  isDeleted: boolean;
692
707
  ownedProducts: string[];
708
+ subscribedProducts: string[];
693
709
  address: {
694
710
  countryCode: string;
695
711
  streetAddress1: string;
@@ -714,6 +730,7 @@ declare const customerSchema: z.ZodObject<{
714
730
  hasPassword: boolean;
715
731
  isDeleted: boolean;
716
732
  ownedProducts: string[];
733
+ subscribedProducts: string[];
717
734
  address: {
718
735
  countryCode: string;
719
736
  streetAddress1: string;
@@ -897,6 +914,7 @@ declare const licenseActivationSchema: z.ZodObject<{
897
914
  hasPassword: z.ZodBoolean;
898
915
  isDeleted: z.ZodBoolean;
899
916
  ownedProducts: z.ZodArray<z.ZodString, "many">;
917
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
900
918
  address: z.ZodNullable<z.ZodObject<{
901
919
  countryCode: z.ZodString;
902
920
  streetAddress1: z.ZodString;
@@ -938,6 +956,7 @@ declare const licenseActivationSchema: z.ZodObject<{
938
956
  hasPassword: boolean;
939
957
  isDeleted: boolean;
940
958
  ownedProducts: string[];
959
+ subscribedProducts: string[];
941
960
  address: {
942
961
  countryCode: string;
943
962
  streetAddress1: string;
@@ -962,6 +981,7 @@ declare const licenseActivationSchema: z.ZodObject<{
962
981
  hasPassword: boolean;
963
982
  isDeleted: boolean;
964
983
  ownedProducts: string[];
984
+ subscribedProducts: string[];
965
985
  address: {
966
986
  countryCode: string;
967
987
  streetAddress1: string;
@@ -1004,6 +1024,7 @@ declare const licenseActivationSchema: z.ZodObject<{
1004
1024
  hasPassword: boolean;
1005
1025
  isDeleted: boolean;
1006
1026
  ownedProducts: string[];
1027
+ subscribedProducts: string[];
1007
1028
  address: {
1008
1029
  countryCode: string;
1009
1030
  streetAddress1: string;
@@ -1046,6 +1067,7 @@ declare const licenseActivationSchema: z.ZodObject<{
1046
1067
  hasPassword: boolean;
1047
1068
  isDeleted: boolean;
1048
1069
  ownedProducts: string[];
1070
+ subscribedProducts: string[];
1049
1071
  address: {
1050
1072
  countryCode: string;
1051
1073
  streetAddress1: string;
@@ -3321,6 +3343,7 @@ declare const trialSchema: z.ZodObject<{
3321
3343
  hasPassword: z.ZodBoolean;
3322
3344
  isDeleted: z.ZodBoolean;
3323
3345
  ownedProducts: z.ZodArray<z.ZodString, "many">;
3346
+ subscribedProducts: z.ZodArray<z.ZodString, "many">;
3324
3347
  address: z.ZodNullable<z.ZodObject<{
3325
3348
  countryCode: z.ZodString;
3326
3349
  streetAddress1: z.ZodString;
@@ -3362,6 +3385,7 @@ declare const trialSchema: z.ZodObject<{
3362
3385
  hasPassword: boolean;
3363
3386
  isDeleted: boolean;
3364
3387
  ownedProducts: string[];
3388
+ subscribedProducts: string[];
3365
3389
  address: {
3366
3390
  countryCode: string;
3367
3391
  streetAddress1: string;
@@ -3386,6 +3410,7 @@ declare const trialSchema: z.ZodObject<{
3386
3410
  hasPassword: boolean;
3387
3411
  isDeleted: boolean;
3388
3412
  ownedProducts: string[];
3413
+ subscribedProducts: string[];
3389
3414
  address: {
3390
3415
  countryCode: string;
3391
3416
  streetAddress1: string;
@@ -3420,6 +3445,7 @@ declare const trialSchema: z.ZodObject<{
3420
3445
  hasPassword: boolean;
3421
3446
  isDeleted: boolean;
3422
3447
  ownedProducts: string[];
3448
+ subscribedProducts: string[];
3423
3449
  address: {
3424
3450
  countryCode: string;
3425
3451
  streetAddress1: string;
@@ -3454,6 +3480,7 @@ declare const trialSchema: z.ZodObject<{
3454
3480
  hasPassword: boolean;
3455
3481
  isDeleted: boolean;
3456
3482
  ownedProducts: string[];
3483
+ subscribedProducts: string[];
3457
3484
  address: {
3458
3485
  countryCode: string;
3459
3486
  streetAddress1: string;
package/dist/index.js CHANGED
@@ -31,6 +31,7 @@ var customerSchema = z.object({
31
31
  hasPassword: z.boolean(),
32
32
  isDeleted: z.boolean(),
33
33
  ownedProducts: z.string().array(),
34
+ subscribedProducts: z.string().array(),
34
35
  address: addressSchema.nullable(),
35
36
  communicationPreferences: communicationPreferencesSchema
36
37
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/api",
3
3
  "type": "module",
4
- "version": "0.3.4",
4
+ "version": "0.3.6",
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",