@moonbase.sh/storefront-api 0.2.83 → 0.2.86
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 +34 -17
- package/dist/index.d.cts +697 -10
- package/dist/index.d.ts +697 -10
- package/dist/index.js +34 -17
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -241,6 +241,7 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
241
241
|
id: z.ZodString;
|
|
242
242
|
name: z.ZodString;
|
|
243
243
|
tagline: z.ZodString;
|
|
244
|
+
description: z.ZodString;
|
|
244
245
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
245
246
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
246
247
|
owned: z.ZodBoolean;
|
|
@@ -251,18 +252,52 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
251
252
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
252
253
|
size: z.ZodNumber;
|
|
253
254
|
path: z.ZodNullable<z.ZodString>;
|
|
255
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
256
|
+
files: z.ZodArray<z.ZodObject<{
|
|
257
|
+
name: z.ZodString;
|
|
258
|
+
path: z.ZodString;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
path: string;
|
|
261
|
+
name: string;
|
|
262
|
+
}, {
|
|
263
|
+
path: string;
|
|
264
|
+
name: string;
|
|
265
|
+
}>, "many">;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
files: {
|
|
268
|
+
path: string;
|
|
269
|
+
name: string;
|
|
270
|
+
}[];
|
|
271
|
+
}, {
|
|
272
|
+
files: {
|
|
273
|
+
path: string;
|
|
274
|
+
name: string;
|
|
275
|
+
}[];
|
|
276
|
+
}>>;
|
|
254
277
|
}, "strip", z.ZodTypeAny, {
|
|
255
278
|
path: string | null;
|
|
256
279
|
name: string;
|
|
257
280
|
key: string;
|
|
258
281
|
platform: Platform;
|
|
259
282
|
size: number;
|
|
283
|
+
manifest?: {
|
|
284
|
+
files: {
|
|
285
|
+
path: string;
|
|
286
|
+
name: string;
|
|
287
|
+
}[];
|
|
288
|
+
} | undefined;
|
|
260
289
|
}, {
|
|
261
290
|
path: string | null;
|
|
262
291
|
name: string;
|
|
263
292
|
key: string;
|
|
264
293
|
platform: Platform;
|
|
265
294
|
size: number;
|
|
295
|
+
manifest?: {
|
|
296
|
+
files: {
|
|
297
|
+
path: string;
|
|
298
|
+
name: string;
|
|
299
|
+
}[];
|
|
300
|
+
} | undefined;
|
|
266
301
|
}>, "many">>;
|
|
267
302
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
268
303
|
id: z.ZodString;
|
|
@@ -443,6 +478,7 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
443
478
|
type: "product";
|
|
444
479
|
id: string;
|
|
445
480
|
name: string;
|
|
481
|
+
description: string;
|
|
446
482
|
tagline: string;
|
|
447
483
|
iconUrl: string | null;
|
|
448
484
|
owned: boolean;
|
|
@@ -454,6 +490,12 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
454
490
|
key: string;
|
|
455
491
|
platform: Platform;
|
|
456
492
|
size: number;
|
|
493
|
+
manifest?: {
|
|
494
|
+
files: {
|
|
495
|
+
path: string;
|
|
496
|
+
name: string;
|
|
497
|
+
}[];
|
|
498
|
+
} | undefined;
|
|
457
499
|
}[] | undefined;
|
|
458
500
|
defaultVariation?: {
|
|
459
501
|
id: string;
|
|
@@ -500,6 +542,7 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
500
542
|
}, {
|
|
501
543
|
id: string;
|
|
502
544
|
name: string;
|
|
545
|
+
description: string;
|
|
503
546
|
tagline: string;
|
|
504
547
|
iconUrl: string | null;
|
|
505
548
|
owned: boolean;
|
|
@@ -512,6 +555,12 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
512
555
|
key: string;
|
|
513
556
|
platform: Platform;
|
|
514
557
|
size: number;
|
|
558
|
+
manifest?: {
|
|
559
|
+
files: {
|
|
560
|
+
path: string;
|
|
561
|
+
name: string;
|
|
562
|
+
}[];
|
|
563
|
+
} | undefined;
|
|
515
564
|
}[] | undefined;
|
|
516
565
|
defaultVariation?: {
|
|
517
566
|
id: string;
|
|
@@ -589,6 +638,7 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
589
638
|
type: "product";
|
|
590
639
|
id: string;
|
|
591
640
|
name: string;
|
|
641
|
+
description: string;
|
|
592
642
|
tagline: string;
|
|
593
643
|
iconUrl: string | null;
|
|
594
644
|
owned: boolean;
|
|
@@ -600,6 +650,12 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
600
650
|
key: string;
|
|
601
651
|
platform: Platform;
|
|
602
652
|
size: number;
|
|
653
|
+
manifest?: {
|
|
654
|
+
files: {
|
|
655
|
+
path: string;
|
|
656
|
+
name: string;
|
|
657
|
+
}[];
|
|
658
|
+
} | undefined;
|
|
603
659
|
}[] | undefined;
|
|
604
660
|
defaultVariation?: {
|
|
605
661
|
id: string;
|
|
@@ -660,6 +716,7 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
660
716
|
product: {
|
|
661
717
|
id: string;
|
|
662
718
|
name: string;
|
|
719
|
+
description: string;
|
|
663
720
|
tagline: string;
|
|
664
721
|
iconUrl: string | null;
|
|
665
722
|
owned: boolean;
|
|
@@ -672,6 +729,12 @@ declare const activationRequestSchema: z.ZodObject<{
|
|
|
672
729
|
key: string;
|
|
673
730
|
platform: Platform;
|
|
674
731
|
size: number;
|
|
732
|
+
manifest?: {
|
|
733
|
+
files: {
|
|
734
|
+
path: string;
|
|
735
|
+
name: string;
|
|
736
|
+
}[];
|
|
737
|
+
} | undefined;
|
|
675
738
|
}[] | undefined;
|
|
676
739
|
defaultVariation?: {
|
|
677
740
|
id: string;
|
|
@@ -5965,13 +6028,15 @@ interface UrchinTrackingModule {
|
|
|
5965
6028
|
declare function utmToObject(utm?: UrchinTrackingModule): Record<string, string>;
|
|
5966
6029
|
|
|
5967
6030
|
declare class StorefrontEndpoints {
|
|
5968
|
-
private api;
|
|
5969
|
-
|
|
6031
|
+
private readonly api;
|
|
6032
|
+
private readonly configuration;
|
|
6033
|
+
constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
|
|
5970
6034
|
get(utm?: UrchinTrackingModule): Promise<{
|
|
5971
6035
|
products: {
|
|
5972
6036
|
type: "product";
|
|
5973
6037
|
id: string;
|
|
5974
6038
|
name: string;
|
|
6039
|
+
description: string;
|
|
5975
6040
|
tagline: string;
|
|
5976
6041
|
iconUrl: string | null;
|
|
5977
6042
|
owned: boolean;
|
|
@@ -5983,6 +6048,12 @@ declare class StorefrontEndpoints {
|
|
|
5983
6048
|
key: string;
|
|
5984
6049
|
platform: Platform;
|
|
5985
6050
|
size: number;
|
|
6051
|
+
manifest?: {
|
|
6052
|
+
files: {
|
|
6053
|
+
path: string;
|
|
6054
|
+
name: string;
|
|
6055
|
+
}[];
|
|
6056
|
+
} | undefined;
|
|
5986
6057
|
}[] | undefined;
|
|
5987
6058
|
defaultVariation?: {
|
|
5988
6059
|
id: string;
|
|
@@ -6032,6 +6103,7 @@ declare class StorefrontEndpoints {
|
|
|
6032
6103
|
type: "bundle";
|
|
6033
6104
|
id: string;
|
|
6034
6105
|
name: string;
|
|
6106
|
+
description: string;
|
|
6035
6107
|
tagline: string;
|
|
6036
6108
|
iconUrl: string | null;
|
|
6037
6109
|
owned: boolean;
|
|
@@ -6040,6 +6112,7 @@ declare class StorefrontEndpoints {
|
|
|
6040
6112
|
type: "product";
|
|
6041
6113
|
id: string;
|
|
6042
6114
|
name: string;
|
|
6115
|
+
description: string;
|
|
6043
6116
|
tagline: string;
|
|
6044
6117
|
iconUrl: string | null;
|
|
6045
6118
|
owned: boolean;
|
|
@@ -6051,6 +6124,12 @@ declare class StorefrontEndpoints {
|
|
|
6051
6124
|
key: string;
|
|
6052
6125
|
platform: Platform;
|
|
6053
6126
|
size: number;
|
|
6127
|
+
manifest?: {
|
|
6128
|
+
files: {
|
|
6129
|
+
path: string;
|
|
6130
|
+
name: string;
|
|
6131
|
+
}[];
|
|
6132
|
+
} | undefined;
|
|
6054
6133
|
}[] | undefined;
|
|
6055
6134
|
defaultVariation?: {
|
|
6056
6135
|
id: string;
|
|
@@ -6154,6 +6233,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6154
6233
|
id: z.ZodString;
|
|
6155
6234
|
name: z.ZodString;
|
|
6156
6235
|
tagline: z.ZodString;
|
|
6236
|
+
description: z.ZodString;
|
|
6157
6237
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
6158
6238
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6159
6239
|
owned: z.ZodBoolean;
|
|
@@ -6164,18 +6244,52 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6164
6244
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
6165
6245
|
size: z.ZodNumber;
|
|
6166
6246
|
path: z.ZodNullable<z.ZodString>;
|
|
6247
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
6248
|
+
files: z.ZodArray<z.ZodObject<{
|
|
6249
|
+
name: z.ZodString;
|
|
6250
|
+
path: z.ZodString;
|
|
6251
|
+
}, "strip", z.ZodTypeAny, {
|
|
6252
|
+
path: string;
|
|
6253
|
+
name: string;
|
|
6254
|
+
}, {
|
|
6255
|
+
path: string;
|
|
6256
|
+
name: string;
|
|
6257
|
+
}>, "many">;
|
|
6258
|
+
}, "strip", z.ZodTypeAny, {
|
|
6259
|
+
files: {
|
|
6260
|
+
path: string;
|
|
6261
|
+
name: string;
|
|
6262
|
+
}[];
|
|
6263
|
+
}, {
|
|
6264
|
+
files: {
|
|
6265
|
+
path: string;
|
|
6266
|
+
name: string;
|
|
6267
|
+
}[];
|
|
6268
|
+
}>>;
|
|
6167
6269
|
}, "strip", z.ZodTypeAny, {
|
|
6168
6270
|
path: string | null;
|
|
6169
6271
|
name: string;
|
|
6170
6272
|
key: string;
|
|
6171
6273
|
platform: Platform;
|
|
6172
6274
|
size: number;
|
|
6275
|
+
manifest?: {
|
|
6276
|
+
files: {
|
|
6277
|
+
path: string;
|
|
6278
|
+
name: string;
|
|
6279
|
+
}[];
|
|
6280
|
+
} | undefined;
|
|
6173
6281
|
}, {
|
|
6174
6282
|
path: string | null;
|
|
6175
6283
|
name: string;
|
|
6176
6284
|
key: string;
|
|
6177
6285
|
platform: Platform;
|
|
6178
6286
|
size: number;
|
|
6287
|
+
manifest?: {
|
|
6288
|
+
files: {
|
|
6289
|
+
path: string;
|
|
6290
|
+
name: string;
|
|
6291
|
+
}[];
|
|
6292
|
+
} | undefined;
|
|
6179
6293
|
}>, "many">>;
|
|
6180
6294
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
6181
6295
|
id: z.ZodString;
|
|
@@ -6356,6 +6470,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6356
6470
|
type: "product";
|
|
6357
6471
|
id: string;
|
|
6358
6472
|
name: string;
|
|
6473
|
+
description: string;
|
|
6359
6474
|
tagline: string;
|
|
6360
6475
|
iconUrl: string | null;
|
|
6361
6476
|
owned: boolean;
|
|
@@ -6367,6 +6482,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6367
6482
|
key: string;
|
|
6368
6483
|
platform: Platform;
|
|
6369
6484
|
size: number;
|
|
6485
|
+
manifest?: {
|
|
6486
|
+
files: {
|
|
6487
|
+
path: string;
|
|
6488
|
+
name: string;
|
|
6489
|
+
}[];
|
|
6490
|
+
} | undefined;
|
|
6370
6491
|
}[] | undefined;
|
|
6371
6492
|
defaultVariation?: {
|
|
6372
6493
|
id: string;
|
|
@@ -6413,6 +6534,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6413
6534
|
}, {
|
|
6414
6535
|
id: string;
|
|
6415
6536
|
name: string;
|
|
6537
|
+
description: string;
|
|
6416
6538
|
tagline: string;
|
|
6417
6539
|
iconUrl: string | null;
|
|
6418
6540
|
owned: boolean;
|
|
@@ -6425,6 +6547,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6425
6547
|
key: string;
|
|
6426
6548
|
platform: Platform;
|
|
6427
6549
|
size: number;
|
|
6550
|
+
manifest?: {
|
|
6551
|
+
files: {
|
|
6552
|
+
path: string;
|
|
6553
|
+
name: string;
|
|
6554
|
+
}[];
|
|
6555
|
+
} | undefined;
|
|
6428
6556
|
}[] | undefined;
|
|
6429
6557
|
defaultVariation?: {
|
|
6430
6558
|
id: string;
|
|
@@ -6475,6 +6603,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6475
6603
|
type: "product";
|
|
6476
6604
|
id: string;
|
|
6477
6605
|
name: string;
|
|
6606
|
+
description: string;
|
|
6478
6607
|
tagline: string;
|
|
6479
6608
|
iconUrl: string | null;
|
|
6480
6609
|
owned: boolean;
|
|
@@ -6486,6 +6615,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6486
6615
|
key: string;
|
|
6487
6616
|
platform: Platform;
|
|
6488
6617
|
size: number;
|
|
6618
|
+
manifest?: {
|
|
6619
|
+
files: {
|
|
6620
|
+
path: string;
|
|
6621
|
+
name: string;
|
|
6622
|
+
}[];
|
|
6623
|
+
} | undefined;
|
|
6489
6624
|
}[] | undefined;
|
|
6490
6625
|
defaultVariation?: {
|
|
6491
6626
|
id: string;
|
|
@@ -6535,6 +6670,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6535
6670
|
value: {
|
|
6536
6671
|
id: string;
|
|
6537
6672
|
name: string;
|
|
6673
|
+
description: string;
|
|
6538
6674
|
tagline: string;
|
|
6539
6675
|
iconUrl: string | null;
|
|
6540
6676
|
owned: boolean;
|
|
@@ -6547,6 +6683,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6547
6683
|
key: string;
|
|
6548
6684
|
platform: Platform;
|
|
6549
6685
|
size: number;
|
|
6686
|
+
manifest?: {
|
|
6687
|
+
files: {
|
|
6688
|
+
path: string;
|
|
6689
|
+
name: string;
|
|
6690
|
+
}[];
|
|
6691
|
+
} | undefined;
|
|
6550
6692
|
}[] | undefined;
|
|
6551
6693
|
defaultVariation?: {
|
|
6552
6694
|
id: string;
|
|
@@ -6598,6 +6740,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6598
6740
|
id: z.ZodString;
|
|
6599
6741
|
name: z.ZodString;
|
|
6600
6742
|
tagline: z.ZodString;
|
|
6743
|
+
description: z.ZodString;
|
|
6601
6744
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
6602
6745
|
owned: z.ZodBoolean;
|
|
6603
6746
|
partial: z.ZodBoolean;
|
|
@@ -6605,6 +6748,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6605
6748
|
id: z.ZodString;
|
|
6606
6749
|
name: z.ZodString;
|
|
6607
6750
|
tagline: z.ZodString;
|
|
6751
|
+
description: z.ZodString;
|
|
6608
6752
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
6609
6753
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6610
6754
|
owned: z.ZodBoolean;
|
|
@@ -6615,18 +6759,52 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6615
6759
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
6616
6760
|
size: z.ZodNumber;
|
|
6617
6761
|
path: z.ZodNullable<z.ZodString>;
|
|
6762
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
6763
|
+
files: z.ZodArray<z.ZodObject<{
|
|
6764
|
+
name: z.ZodString;
|
|
6765
|
+
path: z.ZodString;
|
|
6766
|
+
}, "strip", z.ZodTypeAny, {
|
|
6767
|
+
path: string;
|
|
6768
|
+
name: string;
|
|
6769
|
+
}, {
|
|
6770
|
+
path: string;
|
|
6771
|
+
name: string;
|
|
6772
|
+
}>, "many">;
|
|
6773
|
+
}, "strip", z.ZodTypeAny, {
|
|
6774
|
+
files: {
|
|
6775
|
+
path: string;
|
|
6776
|
+
name: string;
|
|
6777
|
+
}[];
|
|
6778
|
+
}, {
|
|
6779
|
+
files: {
|
|
6780
|
+
path: string;
|
|
6781
|
+
name: string;
|
|
6782
|
+
}[];
|
|
6783
|
+
}>>;
|
|
6618
6784
|
}, "strip", z.ZodTypeAny, {
|
|
6619
6785
|
path: string | null;
|
|
6620
6786
|
name: string;
|
|
6621
6787
|
key: string;
|
|
6622
6788
|
platform: Platform;
|
|
6623
6789
|
size: number;
|
|
6790
|
+
manifest?: {
|
|
6791
|
+
files: {
|
|
6792
|
+
path: string;
|
|
6793
|
+
name: string;
|
|
6794
|
+
}[];
|
|
6795
|
+
} | undefined;
|
|
6624
6796
|
}, {
|
|
6625
6797
|
path: string | null;
|
|
6626
6798
|
name: string;
|
|
6627
6799
|
key: string;
|
|
6628
6800
|
platform: Platform;
|
|
6629
6801
|
size: number;
|
|
6802
|
+
manifest?: {
|
|
6803
|
+
files: {
|
|
6804
|
+
path: string;
|
|
6805
|
+
name: string;
|
|
6806
|
+
}[];
|
|
6807
|
+
} | undefined;
|
|
6630
6808
|
}>, "many">>;
|
|
6631
6809
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
6632
6810
|
id: z.ZodString;
|
|
@@ -6807,6 +6985,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6807
6985
|
type: "product";
|
|
6808
6986
|
id: string;
|
|
6809
6987
|
name: string;
|
|
6988
|
+
description: string;
|
|
6810
6989
|
tagline: string;
|
|
6811
6990
|
iconUrl: string | null;
|
|
6812
6991
|
owned: boolean;
|
|
@@ -6818,6 +6997,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6818
6997
|
key: string;
|
|
6819
6998
|
platform: Platform;
|
|
6820
6999
|
size: number;
|
|
7000
|
+
manifest?: {
|
|
7001
|
+
files: {
|
|
7002
|
+
path: string;
|
|
7003
|
+
name: string;
|
|
7004
|
+
}[];
|
|
7005
|
+
} | undefined;
|
|
6821
7006
|
}[] | undefined;
|
|
6822
7007
|
defaultVariation?: {
|
|
6823
7008
|
id: string;
|
|
@@ -6864,6 +7049,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6864
7049
|
}, {
|
|
6865
7050
|
id: string;
|
|
6866
7051
|
name: string;
|
|
7052
|
+
description: string;
|
|
6867
7053
|
tagline: string;
|
|
6868
7054
|
iconUrl: string | null;
|
|
6869
7055
|
owned: boolean;
|
|
@@ -6876,6 +7062,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
6876
7062
|
key: string;
|
|
6877
7063
|
platform: Platform;
|
|
6878
7064
|
size: number;
|
|
7065
|
+
manifest?: {
|
|
7066
|
+
files: {
|
|
7067
|
+
path: string;
|
|
7068
|
+
name: string;
|
|
7069
|
+
}[];
|
|
7070
|
+
} | undefined;
|
|
6879
7071
|
}[] | undefined;
|
|
6880
7072
|
defaultVariation?: {
|
|
6881
7073
|
id: string;
|
|
@@ -7105,6 +7297,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7105
7297
|
type: "bundle";
|
|
7106
7298
|
id: string;
|
|
7107
7299
|
name: string;
|
|
7300
|
+
description: string;
|
|
7108
7301
|
tagline: string;
|
|
7109
7302
|
iconUrl: string | null;
|
|
7110
7303
|
owned: boolean;
|
|
@@ -7113,6 +7306,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7113
7306
|
type: "product";
|
|
7114
7307
|
id: string;
|
|
7115
7308
|
name: string;
|
|
7309
|
+
description: string;
|
|
7116
7310
|
tagline: string;
|
|
7117
7311
|
iconUrl: string | null;
|
|
7118
7312
|
owned: boolean;
|
|
@@ -7124,6 +7318,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7124
7318
|
key: string;
|
|
7125
7319
|
platform: Platform;
|
|
7126
7320
|
size: number;
|
|
7321
|
+
manifest?: {
|
|
7322
|
+
files: {
|
|
7323
|
+
path: string;
|
|
7324
|
+
name: string;
|
|
7325
|
+
}[];
|
|
7326
|
+
} | undefined;
|
|
7127
7327
|
}[] | undefined;
|
|
7128
7328
|
defaultVariation?: {
|
|
7129
7329
|
id: string;
|
|
@@ -7215,6 +7415,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7215
7415
|
}, {
|
|
7216
7416
|
id: string;
|
|
7217
7417
|
name: string;
|
|
7418
|
+
description: string;
|
|
7218
7419
|
tagline: string;
|
|
7219
7420
|
iconUrl: string | null;
|
|
7220
7421
|
owned: boolean;
|
|
@@ -7222,6 +7423,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7222
7423
|
products: ({
|
|
7223
7424
|
id: string;
|
|
7224
7425
|
name: string;
|
|
7426
|
+
description: string;
|
|
7225
7427
|
tagline: string;
|
|
7226
7428
|
iconUrl: string | null;
|
|
7227
7429
|
owned: boolean;
|
|
@@ -7234,6 +7436,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7234
7436
|
key: string;
|
|
7235
7437
|
platform: Platform;
|
|
7236
7438
|
size: number;
|
|
7439
|
+
manifest?: {
|
|
7440
|
+
files: {
|
|
7441
|
+
path: string;
|
|
7442
|
+
name: string;
|
|
7443
|
+
}[];
|
|
7444
|
+
} | undefined;
|
|
7237
7445
|
}[] | undefined;
|
|
7238
7446
|
defaultVariation?: {
|
|
7239
7447
|
id: string;
|
|
@@ -7330,6 +7538,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7330
7538
|
type: "bundle";
|
|
7331
7539
|
id: string;
|
|
7332
7540
|
name: string;
|
|
7541
|
+
description: string;
|
|
7333
7542
|
tagline: string;
|
|
7334
7543
|
iconUrl: string | null;
|
|
7335
7544
|
owned: boolean;
|
|
@@ -7338,6 +7547,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7338
7547
|
type: "product";
|
|
7339
7548
|
id: string;
|
|
7340
7549
|
name: string;
|
|
7550
|
+
description: string;
|
|
7341
7551
|
tagline: string;
|
|
7342
7552
|
iconUrl: string | null;
|
|
7343
7553
|
owned: boolean;
|
|
@@ -7349,6 +7559,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7349
7559
|
key: string;
|
|
7350
7560
|
platform: Platform;
|
|
7351
7561
|
size: number;
|
|
7562
|
+
manifest?: {
|
|
7563
|
+
files: {
|
|
7564
|
+
path: string;
|
|
7565
|
+
name: string;
|
|
7566
|
+
}[];
|
|
7567
|
+
} | undefined;
|
|
7352
7568
|
}[] | undefined;
|
|
7353
7569
|
defaultVariation?: {
|
|
7354
7570
|
id: string;
|
|
@@ -7443,6 +7659,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7443
7659
|
value: {
|
|
7444
7660
|
id: string;
|
|
7445
7661
|
name: string;
|
|
7662
|
+
description: string;
|
|
7446
7663
|
tagline: string;
|
|
7447
7664
|
iconUrl: string | null;
|
|
7448
7665
|
owned: boolean;
|
|
@@ -7450,6 +7667,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7450
7667
|
products: ({
|
|
7451
7668
|
id: string;
|
|
7452
7669
|
name: string;
|
|
7670
|
+
description: string;
|
|
7453
7671
|
tagline: string;
|
|
7454
7672
|
iconUrl: string | null;
|
|
7455
7673
|
owned: boolean;
|
|
@@ -7462,6 +7680,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7462
7680
|
key: string;
|
|
7463
7681
|
platform: Platform;
|
|
7464
7682
|
size: number;
|
|
7683
|
+
manifest?: {
|
|
7684
|
+
files: {
|
|
7685
|
+
path: string;
|
|
7686
|
+
name: string;
|
|
7687
|
+
}[];
|
|
7688
|
+
} | undefined;
|
|
7465
7689
|
}[] | undefined;
|
|
7466
7690
|
defaultVariation?: {
|
|
7467
7691
|
id: string;
|
|
@@ -7565,6 +7789,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7565
7789
|
type: "product";
|
|
7566
7790
|
id: string;
|
|
7567
7791
|
name: string;
|
|
7792
|
+
description: string;
|
|
7568
7793
|
tagline: string;
|
|
7569
7794
|
iconUrl: string | null;
|
|
7570
7795
|
owned: boolean;
|
|
@@ -7576,6 +7801,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7576
7801
|
key: string;
|
|
7577
7802
|
platform: Platform;
|
|
7578
7803
|
size: number;
|
|
7804
|
+
manifest?: {
|
|
7805
|
+
files: {
|
|
7806
|
+
path: string;
|
|
7807
|
+
name: string;
|
|
7808
|
+
}[];
|
|
7809
|
+
} | undefined;
|
|
7579
7810
|
}[] | undefined;
|
|
7580
7811
|
defaultVariation?: {
|
|
7581
7812
|
id: string;
|
|
@@ -7627,6 +7858,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7627
7858
|
type: "bundle";
|
|
7628
7859
|
id: string;
|
|
7629
7860
|
name: string;
|
|
7861
|
+
description: string;
|
|
7630
7862
|
tagline: string;
|
|
7631
7863
|
iconUrl: string | null;
|
|
7632
7864
|
owned: boolean;
|
|
@@ -7635,6 +7867,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7635
7867
|
type: "product";
|
|
7636
7868
|
id: string;
|
|
7637
7869
|
name: string;
|
|
7870
|
+
description: string;
|
|
7638
7871
|
tagline: string;
|
|
7639
7872
|
iconUrl: string | null;
|
|
7640
7873
|
owned: boolean;
|
|
@@ -7646,6 +7879,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7646
7879
|
key: string;
|
|
7647
7880
|
platform: Platform;
|
|
7648
7881
|
size: number;
|
|
7882
|
+
manifest?: {
|
|
7883
|
+
files: {
|
|
7884
|
+
path: string;
|
|
7885
|
+
name: string;
|
|
7886
|
+
}[];
|
|
7887
|
+
} | undefined;
|
|
7649
7888
|
}[] | undefined;
|
|
7650
7889
|
defaultVariation?: {
|
|
7651
7890
|
id: string;
|
|
@@ -7747,6 +7986,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7747
7986
|
value: {
|
|
7748
7987
|
id: string;
|
|
7749
7988
|
name: string;
|
|
7989
|
+
description: string;
|
|
7750
7990
|
tagline: string;
|
|
7751
7991
|
iconUrl: string | null;
|
|
7752
7992
|
owned: boolean;
|
|
@@ -7759,6 +7999,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7759
7999
|
key: string;
|
|
7760
8000
|
platform: Platform;
|
|
7761
8001
|
size: number;
|
|
8002
|
+
manifest?: {
|
|
8003
|
+
files: {
|
|
8004
|
+
path: string;
|
|
8005
|
+
name: string;
|
|
8006
|
+
}[];
|
|
8007
|
+
} | undefined;
|
|
7762
8008
|
}[] | undefined;
|
|
7763
8009
|
defaultVariation?: {
|
|
7764
8010
|
id: string;
|
|
@@ -7809,6 +8055,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7809
8055
|
value: {
|
|
7810
8056
|
id: string;
|
|
7811
8057
|
name: string;
|
|
8058
|
+
description: string;
|
|
7812
8059
|
tagline: string;
|
|
7813
8060
|
iconUrl: string | null;
|
|
7814
8061
|
owned: boolean;
|
|
@@ -7816,6 +8063,7 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7816
8063
|
products: ({
|
|
7817
8064
|
id: string;
|
|
7818
8065
|
name: string;
|
|
8066
|
+
description: string;
|
|
7819
8067
|
tagline: string;
|
|
7820
8068
|
iconUrl: string | null;
|
|
7821
8069
|
owned: boolean;
|
|
@@ -7828,6 +8076,12 @@ declare const voucherSchema: z.ZodObject<{
|
|
|
7828
8076
|
key: string;
|
|
7829
8077
|
platform: Platform;
|
|
7830
8078
|
size: number;
|
|
8079
|
+
manifest?: {
|
|
8080
|
+
files: {
|
|
8081
|
+
path: string;
|
|
8082
|
+
name: string;
|
|
8083
|
+
}[];
|
|
8084
|
+
} | undefined;
|
|
7831
8085
|
}[] | undefined;
|
|
7832
8086
|
defaultVariation?: {
|
|
7833
8087
|
id: string;
|
|
@@ -7938,6 +8192,7 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
7938
8192
|
id: z.ZodString;
|
|
7939
8193
|
name: z.ZodString;
|
|
7940
8194
|
tagline: z.ZodString;
|
|
8195
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7941
8196
|
website: z.ZodOptional<z.ZodString>;
|
|
7942
8197
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
7943
8198
|
numberOfLicenses: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7956,18 +8211,52 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
7956
8211
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
7957
8212
|
size: z.ZodNumber;
|
|
7958
8213
|
path: z.ZodNullable<z.ZodString>;
|
|
8214
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
8215
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8216
|
+
name: z.ZodString;
|
|
8217
|
+
path: z.ZodString;
|
|
8218
|
+
}, "strip", z.ZodTypeAny, {
|
|
8219
|
+
path: string;
|
|
8220
|
+
name: string;
|
|
8221
|
+
}, {
|
|
8222
|
+
path: string;
|
|
8223
|
+
name: string;
|
|
8224
|
+
}>, "many">;
|
|
8225
|
+
}, "strip", z.ZodTypeAny, {
|
|
8226
|
+
files: {
|
|
8227
|
+
path: string;
|
|
8228
|
+
name: string;
|
|
8229
|
+
}[];
|
|
8230
|
+
}, {
|
|
8231
|
+
files: {
|
|
8232
|
+
path: string;
|
|
8233
|
+
name: string;
|
|
8234
|
+
}[];
|
|
8235
|
+
}>>;
|
|
7959
8236
|
}, "strip", z.ZodTypeAny, {
|
|
7960
8237
|
path: string | null;
|
|
7961
8238
|
name: string;
|
|
7962
8239
|
key: string;
|
|
7963
8240
|
platform: Platform;
|
|
7964
8241
|
size: number;
|
|
8242
|
+
manifest?: {
|
|
8243
|
+
files: {
|
|
8244
|
+
path: string;
|
|
8245
|
+
name: string;
|
|
8246
|
+
}[];
|
|
8247
|
+
} | undefined;
|
|
7965
8248
|
}, {
|
|
7966
8249
|
path: string | null;
|
|
7967
8250
|
name: string;
|
|
7968
8251
|
key: string;
|
|
7969
8252
|
platform: Platform;
|
|
7970
8253
|
size: number;
|
|
8254
|
+
manifest?: {
|
|
8255
|
+
files: {
|
|
8256
|
+
path: string;
|
|
8257
|
+
name: string;
|
|
8258
|
+
}[];
|
|
8259
|
+
} | undefined;
|
|
7971
8260
|
}>, "many">>;
|
|
7972
8261
|
}, "strip", z.ZodTypeAny, {
|
|
7973
8262
|
id: string;
|
|
@@ -7976,6 +8265,7 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
7976
8265
|
currentVersion: string | null;
|
|
7977
8266
|
downloadsNeedsUser: boolean;
|
|
7978
8267
|
downloadsNeedsOwnership: boolean;
|
|
8268
|
+
description?: string | null | undefined;
|
|
7979
8269
|
website?: string | undefined;
|
|
7980
8270
|
iconUrl?: string | undefined;
|
|
7981
8271
|
numberOfLicenses?: number | undefined;
|
|
@@ -7991,6 +8281,12 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
7991
8281
|
key: string;
|
|
7992
8282
|
platform: Platform;
|
|
7993
8283
|
size: number;
|
|
8284
|
+
manifest?: {
|
|
8285
|
+
files: {
|
|
8286
|
+
path: string;
|
|
8287
|
+
name: string;
|
|
8288
|
+
}[];
|
|
8289
|
+
} | undefined;
|
|
7994
8290
|
}[] | undefined;
|
|
7995
8291
|
}, {
|
|
7996
8292
|
id: string;
|
|
@@ -7999,6 +8295,7 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
7999
8295
|
currentVersion: string | null;
|
|
8000
8296
|
downloadsNeedsUser: boolean;
|
|
8001
8297
|
downloadsNeedsOwnership: boolean;
|
|
8298
|
+
description?: string | null | undefined;
|
|
8002
8299
|
website?: string | undefined;
|
|
8003
8300
|
iconUrl?: string | undefined;
|
|
8004
8301
|
numberOfLicenses?: number | undefined;
|
|
@@ -8014,6 +8311,12 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
8014
8311
|
key: string;
|
|
8015
8312
|
platform: Platform;
|
|
8016
8313
|
size: number;
|
|
8314
|
+
manifest?: {
|
|
8315
|
+
files: {
|
|
8316
|
+
path: string;
|
|
8317
|
+
name: string;
|
|
8318
|
+
}[];
|
|
8319
|
+
} | undefined;
|
|
8017
8320
|
}[] | undefined;
|
|
8018
8321
|
}>;
|
|
8019
8322
|
activeNumberOfActivations: z.ZodNumber;
|
|
@@ -8029,6 +8332,7 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
8029
8332
|
currentVersion: string | null;
|
|
8030
8333
|
downloadsNeedsUser: boolean;
|
|
8031
8334
|
downloadsNeedsOwnership: boolean;
|
|
8335
|
+
description?: string | null | undefined;
|
|
8032
8336
|
website?: string | undefined;
|
|
8033
8337
|
iconUrl?: string | undefined;
|
|
8034
8338
|
numberOfLicenses?: number | undefined;
|
|
@@ -8044,6 +8348,12 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
8044
8348
|
key: string;
|
|
8045
8349
|
platform: Platform;
|
|
8046
8350
|
size: number;
|
|
8351
|
+
manifest?: {
|
|
8352
|
+
files: {
|
|
8353
|
+
path: string;
|
|
8354
|
+
name: string;
|
|
8355
|
+
}[];
|
|
8356
|
+
} | undefined;
|
|
8047
8357
|
}[] | undefined;
|
|
8048
8358
|
};
|
|
8049
8359
|
activeNumberOfActivations: number;
|
|
@@ -8059,6 +8369,7 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
8059
8369
|
currentVersion: string | null;
|
|
8060
8370
|
downloadsNeedsUser: boolean;
|
|
8061
8371
|
downloadsNeedsOwnership: boolean;
|
|
8372
|
+
description?: string | null | undefined;
|
|
8062
8373
|
website?: string | undefined;
|
|
8063
8374
|
iconUrl?: string | undefined;
|
|
8064
8375
|
numberOfLicenses?: number | undefined;
|
|
@@ -8074,6 +8385,12 @@ declare const licenseSchema: z.ZodObject<{
|
|
|
8074
8385
|
key: string;
|
|
8075
8386
|
platform: Platform;
|
|
8076
8387
|
size: number;
|
|
8388
|
+
manifest?: {
|
|
8389
|
+
files: {
|
|
8390
|
+
path: string;
|
|
8391
|
+
name: string;
|
|
8392
|
+
}[];
|
|
8393
|
+
} | undefined;
|
|
8077
8394
|
}[] | undefined;
|
|
8078
8395
|
};
|
|
8079
8396
|
activeNumberOfActivations: number;
|
|
@@ -8119,8 +8436,9 @@ type License = z.infer<typeof licenseSchema>;
|
|
|
8119
8436
|
type Activation = z.infer<typeof activationSchema>;
|
|
8120
8437
|
|
|
8121
8438
|
declare class ActivationEndpoints {
|
|
8122
|
-
private api;
|
|
8123
|
-
|
|
8439
|
+
private readonly api;
|
|
8440
|
+
private readonly configuration;
|
|
8441
|
+
constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
|
|
8124
8442
|
activate(deviceToken: string, activationMethod: ActivationMethod): Promise<{
|
|
8125
8443
|
license: License;
|
|
8126
8444
|
url: string;
|
|
@@ -8128,36 +8446,94 @@ declare class ActivationEndpoints {
|
|
|
8128
8446
|
}
|
|
8129
8447
|
|
|
8130
8448
|
declare class LicenseEndpoints {
|
|
8131
|
-
private api;
|
|
8132
|
-
|
|
8449
|
+
private readonly api;
|
|
8450
|
+
private readonly configuration;
|
|
8451
|
+
constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
|
|
8133
8452
|
get(nextUrl?: string): Promise<Page<License>>;
|
|
8134
8453
|
getActivations(licenseId: string, nextUrl?: string): Promise<Page<Activation>>;
|
|
8135
8454
|
revokeActivation(licenseId: string, activationId: string): Promise<void>;
|
|
8136
8455
|
}
|
|
8137
8456
|
|
|
8457
|
+
declare const manifestSchema: z.ZodObject<{
|
|
8458
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8459
|
+
name: z.ZodString;
|
|
8460
|
+
path: z.ZodString;
|
|
8461
|
+
}, "strip", z.ZodTypeAny, {
|
|
8462
|
+
path: string;
|
|
8463
|
+
name: string;
|
|
8464
|
+
}, {
|
|
8465
|
+
path: string;
|
|
8466
|
+
name: string;
|
|
8467
|
+
}>, "many">;
|
|
8468
|
+
}, "strip", z.ZodTypeAny, {
|
|
8469
|
+
files: {
|
|
8470
|
+
path: string;
|
|
8471
|
+
name: string;
|
|
8472
|
+
}[];
|
|
8473
|
+
}, {
|
|
8474
|
+
files: {
|
|
8475
|
+
path: string;
|
|
8476
|
+
name: string;
|
|
8477
|
+
}[];
|
|
8478
|
+
}>;
|
|
8138
8479
|
declare const downloadSchema: z.ZodObject<{
|
|
8139
8480
|
name: z.ZodString;
|
|
8140
8481
|
key: z.ZodString;
|
|
8141
8482
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
8142
8483
|
size: z.ZodNumber;
|
|
8143
8484
|
path: z.ZodNullable<z.ZodString>;
|
|
8485
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
8486
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8487
|
+
name: z.ZodString;
|
|
8488
|
+
path: z.ZodString;
|
|
8489
|
+
}, "strip", z.ZodTypeAny, {
|
|
8490
|
+
path: string;
|
|
8491
|
+
name: string;
|
|
8492
|
+
}, {
|
|
8493
|
+
path: string;
|
|
8494
|
+
name: string;
|
|
8495
|
+
}>, "many">;
|
|
8496
|
+
}, "strip", z.ZodTypeAny, {
|
|
8497
|
+
files: {
|
|
8498
|
+
path: string;
|
|
8499
|
+
name: string;
|
|
8500
|
+
}[];
|
|
8501
|
+
}, {
|
|
8502
|
+
files: {
|
|
8503
|
+
path: string;
|
|
8504
|
+
name: string;
|
|
8505
|
+
}[];
|
|
8506
|
+
}>>;
|
|
8144
8507
|
}, "strip", z.ZodTypeAny, {
|
|
8145
8508
|
path: string | null;
|
|
8146
8509
|
name: string;
|
|
8147
8510
|
key: string;
|
|
8148
8511
|
platform: Platform;
|
|
8149
8512
|
size: number;
|
|
8513
|
+
manifest?: {
|
|
8514
|
+
files: {
|
|
8515
|
+
path: string;
|
|
8516
|
+
name: string;
|
|
8517
|
+
}[];
|
|
8518
|
+
} | undefined;
|
|
8150
8519
|
}, {
|
|
8151
8520
|
path: string | null;
|
|
8152
8521
|
name: string;
|
|
8153
8522
|
key: string;
|
|
8154
8523
|
platform: Platform;
|
|
8155
8524
|
size: number;
|
|
8525
|
+
manifest?: {
|
|
8526
|
+
files: {
|
|
8527
|
+
path: string;
|
|
8528
|
+
name: string;
|
|
8529
|
+
}[];
|
|
8530
|
+
} | undefined;
|
|
8156
8531
|
}>;
|
|
8157
8532
|
declare const productSummarySchema: z.ZodObject<{
|
|
8158
8533
|
id: z.ZodString;
|
|
8159
8534
|
name: z.ZodString;
|
|
8160
8535
|
tagline: z.ZodString;
|
|
8536
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8161
8537
|
website: z.ZodOptional<z.ZodString>;
|
|
8162
8538
|
iconUrl: z.ZodOptional<z.ZodString>;
|
|
8163
8539
|
numberOfLicenses: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8176,18 +8552,52 @@ declare const productSummarySchema: z.ZodObject<{
|
|
|
8176
8552
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
8177
8553
|
size: z.ZodNumber;
|
|
8178
8554
|
path: z.ZodNullable<z.ZodString>;
|
|
8555
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
8556
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8557
|
+
name: z.ZodString;
|
|
8558
|
+
path: z.ZodString;
|
|
8559
|
+
}, "strip", z.ZodTypeAny, {
|
|
8560
|
+
path: string;
|
|
8561
|
+
name: string;
|
|
8562
|
+
}, {
|
|
8563
|
+
path: string;
|
|
8564
|
+
name: string;
|
|
8565
|
+
}>, "many">;
|
|
8566
|
+
}, "strip", z.ZodTypeAny, {
|
|
8567
|
+
files: {
|
|
8568
|
+
path: string;
|
|
8569
|
+
name: string;
|
|
8570
|
+
}[];
|
|
8571
|
+
}, {
|
|
8572
|
+
files: {
|
|
8573
|
+
path: string;
|
|
8574
|
+
name: string;
|
|
8575
|
+
}[];
|
|
8576
|
+
}>>;
|
|
8179
8577
|
}, "strip", z.ZodTypeAny, {
|
|
8180
8578
|
path: string | null;
|
|
8181
8579
|
name: string;
|
|
8182
8580
|
key: string;
|
|
8183
8581
|
platform: Platform;
|
|
8184
8582
|
size: number;
|
|
8583
|
+
manifest?: {
|
|
8584
|
+
files: {
|
|
8585
|
+
path: string;
|
|
8586
|
+
name: string;
|
|
8587
|
+
}[];
|
|
8588
|
+
} | undefined;
|
|
8185
8589
|
}, {
|
|
8186
8590
|
path: string | null;
|
|
8187
8591
|
name: string;
|
|
8188
8592
|
key: string;
|
|
8189
8593
|
platform: Platform;
|
|
8190
8594
|
size: number;
|
|
8595
|
+
manifest?: {
|
|
8596
|
+
files: {
|
|
8597
|
+
path: string;
|
|
8598
|
+
name: string;
|
|
8599
|
+
}[];
|
|
8600
|
+
} | undefined;
|
|
8191
8601
|
}>, "many">>;
|
|
8192
8602
|
}, "strip", z.ZodTypeAny, {
|
|
8193
8603
|
id: string;
|
|
@@ -8196,6 +8606,7 @@ declare const productSummarySchema: z.ZodObject<{
|
|
|
8196
8606
|
currentVersion: string | null;
|
|
8197
8607
|
downloadsNeedsUser: boolean;
|
|
8198
8608
|
downloadsNeedsOwnership: boolean;
|
|
8609
|
+
description?: string | null | undefined;
|
|
8199
8610
|
website?: string | undefined;
|
|
8200
8611
|
iconUrl?: string | undefined;
|
|
8201
8612
|
numberOfLicenses?: number | undefined;
|
|
@@ -8211,6 +8622,12 @@ declare const productSummarySchema: z.ZodObject<{
|
|
|
8211
8622
|
key: string;
|
|
8212
8623
|
platform: Platform;
|
|
8213
8624
|
size: number;
|
|
8625
|
+
manifest?: {
|
|
8626
|
+
files: {
|
|
8627
|
+
path: string;
|
|
8628
|
+
name: string;
|
|
8629
|
+
}[];
|
|
8630
|
+
} | undefined;
|
|
8214
8631
|
}[] | undefined;
|
|
8215
8632
|
}, {
|
|
8216
8633
|
id: string;
|
|
@@ -8219,6 +8636,7 @@ declare const productSummarySchema: z.ZodObject<{
|
|
|
8219
8636
|
currentVersion: string | null;
|
|
8220
8637
|
downloadsNeedsUser: boolean;
|
|
8221
8638
|
downloadsNeedsOwnership: boolean;
|
|
8639
|
+
description?: string | null | undefined;
|
|
8222
8640
|
website?: string | undefined;
|
|
8223
8641
|
iconUrl?: string | undefined;
|
|
8224
8642
|
numberOfLicenses?: number | undefined;
|
|
@@ -8234,6 +8652,12 @@ declare const productSummarySchema: z.ZodObject<{
|
|
|
8234
8652
|
key: string;
|
|
8235
8653
|
platform: Platform;
|
|
8236
8654
|
size: number;
|
|
8655
|
+
manifest?: {
|
|
8656
|
+
files: {
|
|
8657
|
+
path: string;
|
|
8658
|
+
name: string;
|
|
8659
|
+
}[];
|
|
8660
|
+
} | undefined;
|
|
8237
8661
|
}[] | undefined;
|
|
8238
8662
|
}>;
|
|
8239
8663
|
|
|
@@ -8243,12 +8667,14 @@ declare enum Platform {
|
|
|
8243
8667
|
Linux = "Linux",
|
|
8244
8668
|
Mac = "Mac"
|
|
8245
8669
|
}
|
|
8670
|
+
type DownloadManifest = z.infer<typeof manifestSchema>;
|
|
8246
8671
|
type Download = z.infer<typeof downloadSchema>;
|
|
8247
8672
|
type OwnedProduct = z.infer<typeof productSummarySchema>;
|
|
8248
8673
|
|
|
8249
8674
|
declare class ProductEndpoints {
|
|
8250
|
-
private api;
|
|
8251
|
-
|
|
8675
|
+
private readonly api;
|
|
8676
|
+
private readonly configuration;
|
|
8677
|
+
constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
|
|
8252
8678
|
get(productId: string, version?: string): Promise<OwnedProduct>;
|
|
8253
8679
|
getOwned(nextUrl?: string): Promise<Page<OwnedProduct>>;
|
|
8254
8680
|
getLicenses(productId: string, nextUrl?: string): Promise<Page<License>>;
|
|
@@ -8257,7 +8683,7 @@ declare class ProductEndpoints {
|
|
|
8257
8683
|
}
|
|
8258
8684
|
|
|
8259
8685
|
declare class InventoryEndpoints {
|
|
8260
|
-
constructor(api: MoonbaseApi);
|
|
8686
|
+
constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
|
|
8261
8687
|
licenses: LicenseEndpoints;
|
|
8262
8688
|
products: ProductEndpoints;
|
|
8263
8689
|
activation: ActivationEndpoints;
|
|
@@ -8289,6 +8715,7 @@ declare const storefrontProductSchema: z.ZodObject<{
|
|
|
8289
8715
|
id: z.ZodString;
|
|
8290
8716
|
name: z.ZodString;
|
|
8291
8717
|
tagline: z.ZodString;
|
|
8718
|
+
description: z.ZodString;
|
|
8292
8719
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
8293
8720
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8294
8721
|
owned: z.ZodBoolean;
|
|
@@ -8299,18 +8726,52 @@ declare const storefrontProductSchema: z.ZodObject<{
|
|
|
8299
8726
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
8300
8727
|
size: z.ZodNumber;
|
|
8301
8728
|
path: z.ZodNullable<z.ZodString>;
|
|
8729
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
8730
|
+
files: z.ZodArray<z.ZodObject<{
|
|
8731
|
+
name: z.ZodString;
|
|
8732
|
+
path: z.ZodString;
|
|
8733
|
+
}, "strip", z.ZodTypeAny, {
|
|
8734
|
+
path: string;
|
|
8735
|
+
name: string;
|
|
8736
|
+
}, {
|
|
8737
|
+
path: string;
|
|
8738
|
+
name: string;
|
|
8739
|
+
}>, "many">;
|
|
8740
|
+
}, "strip", z.ZodTypeAny, {
|
|
8741
|
+
files: {
|
|
8742
|
+
path: string;
|
|
8743
|
+
name: string;
|
|
8744
|
+
}[];
|
|
8745
|
+
}, {
|
|
8746
|
+
files: {
|
|
8747
|
+
path: string;
|
|
8748
|
+
name: string;
|
|
8749
|
+
}[];
|
|
8750
|
+
}>>;
|
|
8302
8751
|
}, "strip", z.ZodTypeAny, {
|
|
8303
8752
|
path: string | null;
|
|
8304
8753
|
name: string;
|
|
8305
8754
|
key: string;
|
|
8306
8755
|
platform: Platform;
|
|
8307
8756
|
size: number;
|
|
8757
|
+
manifest?: {
|
|
8758
|
+
files: {
|
|
8759
|
+
path: string;
|
|
8760
|
+
name: string;
|
|
8761
|
+
}[];
|
|
8762
|
+
} | undefined;
|
|
8308
8763
|
}, {
|
|
8309
8764
|
path: string | null;
|
|
8310
8765
|
name: string;
|
|
8311
8766
|
key: string;
|
|
8312
8767
|
platform: Platform;
|
|
8313
8768
|
size: number;
|
|
8769
|
+
manifest?: {
|
|
8770
|
+
files: {
|
|
8771
|
+
path: string;
|
|
8772
|
+
name: string;
|
|
8773
|
+
}[];
|
|
8774
|
+
} | undefined;
|
|
8314
8775
|
}>, "many">>;
|
|
8315
8776
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
8316
8777
|
id: z.ZodString;
|
|
@@ -8491,6 +8952,7 @@ declare const storefrontProductSchema: z.ZodObject<{
|
|
|
8491
8952
|
type: "product";
|
|
8492
8953
|
id: string;
|
|
8493
8954
|
name: string;
|
|
8955
|
+
description: string;
|
|
8494
8956
|
tagline: string;
|
|
8495
8957
|
iconUrl: string | null;
|
|
8496
8958
|
owned: boolean;
|
|
@@ -8502,6 +8964,12 @@ declare const storefrontProductSchema: z.ZodObject<{
|
|
|
8502
8964
|
key: string;
|
|
8503
8965
|
platform: Platform;
|
|
8504
8966
|
size: number;
|
|
8967
|
+
manifest?: {
|
|
8968
|
+
files: {
|
|
8969
|
+
path: string;
|
|
8970
|
+
name: string;
|
|
8971
|
+
}[];
|
|
8972
|
+
} | undefined;
|
|
8505
8973
|
}[] | undefined;
|
|
8506
8974
|
defaultVariation?: {
|
|
8507
8975
|
id: string;
|
|
@@ -8548,6 +9016,7 @@ declare const storefrontProductSchema: z.ZodObject<{
|
|
|
8548
9016
|
}, {
|
|
8549
9017
|
id: string;
|
|
8550
9018
|
name: string;
|
|
9019
|
+
description: string;
|
|
8551
9020
|
tagline: string;
|
|
8552
9021
|
iconUrl: string | null;
|
|
8553
9022
|
owned: boolean;
|
|
@@ -8560,6 +9029,12 @@ declare const storefrontProductSchema: z.ZodObject<{
|
|
|
8560
9029
|
key: string;
|
|
8561
9030
|
platform: Platform;
|
|
8562
9031
|
size: number;
|
|
9032
|
+
manifest?: {
|
|
9033
|
+
files: {
|
|
9034
|
+
path: string;
|
|
9035
|
+
name: string;
|
|
9036
|
+
}[];
|
|
9037
|
+
} | undefined;
|
|
8563
9038
|
}[] | undefined;
|
|
8564
9039
|
defaultVariation?: {
|
|
8565
9040
|
id: string;
|
|
@@ -8608,6 +9083,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8608
9083
|
id: z.ZodString;
|
|
8609
9084
|
name: z.ZodString;
|
|
8610
9085
|
tagline: z.ZodString;
|
|
9086
|
+
description: z.ZodString;
|
|
8611
9087
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
8612
9088
|
owned: z.ZodBoolean;
|
|
8613
9089
|
partial: z.ZodBoolean;
|
|
@@ -8615,6 +9091,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8615
9091
|
id: z.ZodString;
|
|
8616
9092
|
name: z.ZodString;
|
|
8617
9093
|
tagline: z.ZodString;
|
|
9094
|
+
description: z.ZodString;
|
|
8618
9095
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
8619
9096
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8620
9097
|
owned: z.ZodBoolean;
|
|
@@ -8625,18 +9102,52 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8625
9102
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
8626
9103
|
size: z.ZodNumber;
|
|
8627
9104
|
path: z.ZodNullable<z.ZodString>;
|
|
9105
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
9106
|
+
files: z.ZodArray<z.ZodObject<{
|
|
9107
|
+
name: z.ZodString;
|
|
9108
|
+
path: z.ZodString;
|
|
9109
|
+
}, "strip", z.ZodTypeAny, {
|
|
9110
|
+
path: string;
|
|
9111
|
+
name: string;
|
|
9112
|
+
}, {
|
|
9113
|
+
path: string;
|
|
9114
|
+
name: string;
|
|
9115
|
+
}>, "many">;
|
|
9116
|
+
}, "strip", z.ZodTypeAny, {
|
|
9117
|
+
files: {
|
|
9118
|
+
path: string;
|
|
9119
|
+
name: string;
|
|
9120
|
+
}[];
|
|
9121
|
+
}, {
|
|
9122
|
+
files: {
|
|
9123
|
+
path: string;
|
|
9124
|
+
name: string;
|
|
9125
|
+
}[];
|
|
9126
|
+
}>>;
|
|
8628
9127
|
}, "strip", z.ZodTypeAny, {
|
|
8629
9128
|
path: string | null;
|
|
8630
9129
|
name: string;
|
|
8631
9130
|
key: string;
|
|
8632
9131
|
platform: Platform;
|
|
8633
9132
|
size: number;
|
|
9133
|
+
manifest?: {
|
|
9134
|
+
files: {
|
|
9135
|
+
path: string;
|
|
9136
|
+
name: string;
|
|
9137
|
+
}[];
|
|
9138
|
+
} | undefined;
|
|
8634
9139
|
}, {
|
|
8635
9140
|
path: string | null;
|
|
8636
9141
|
name: string;
|
|
8637
9142
|
key: string;
|
|
8638
9143
|
platform: Platform;
|
|
8639
9144
|
size: number;
|
|
9145
|
+
manifest?: {
|
|
9146
|
+
files: {
|
|
9147
|
+
path: string;
|
|
9148
|
+
name: string;
|
|
9149
|
+
}[];
|
|
9150
|
+
} | undefined;
|
|
8640
9151
|
}>, "many">>;
|
|
8641
9152
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
8642
9153
|
id: z.ZodString;
|
|
@@ -8817,6 +9328,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8817
9328
|
type: "product";
|
|
8818
9329
|
id: string;
|
|
8819
9330
|
name: string;
|
|
9331
|
+
description: string;
|
|
8820
9332
|
tagline: string;
|
|
8821
9333
|
iconUrl: string | null;
|
|
8822
9334
|
owned: boolean;
|
|
@@ -8828,6 +9340,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8828
9340
|
key: string;
|
|
8829
9341
|
platform: Platform;
|
|
8830
9342
|
size: number;
|
|
9343
|
+
manifest?: {
|
|
9344
|
+
files: {
|
|
9345
|
+
path: string;
|
|
9346
|
+
name: string;
|
|
9347
|
+
}[];
|
|
9348
|
+
} | undefined;
|
|
8831
9349
|
}[] | undefined;
|
|
8832
9350
|
defaultVariation?: {
|
|
8833
9351
|
id: string;
|
|
@@ -8874,6 +9392,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8874
9392
|
}, {
|
|
8875
9393
|
id: string;
|
|
8876
9394
|
name: string;
|
|
9395
|
+
description: string;
|
|
8877
9396
|
tagline: string;
|
|
8878
9397
|
iconUrl: string | null;
|
|
8879
9398
|
owned: boolean;
|
|
@@ -8886,6 +9405,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
8886
9405
|
key: string;
|
|
8887
9406
|
platform: Platform;
|
|
8888
9407
|
size: number;
|
|
9408
|
+
manifest?: {
|
|
9409
|
+
files: {
|
|
9410
|
+
path: string;
|
|
9411
|
+
name: string;
|
|
9412
|
+
}[];
|
|
9413
|
+
} | undefined;
|
|
8889
9414
|
}[] | undefined;
|
|
8890
9415
|
defaultVariation?: {
|
|
8891
9416
|
id: string;
|
|
@@ -9115,6 +9640,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
9115
9640
|
type: "bundle";
|
|
9116
9641
|
id: string;
|
|
9117
9642
|
name: string;
|
|
9643
|
+
description: string;
|
|
9118
9644
|
tagline: string;
|
|
9119
9645
|
iconUrl: string | null;
|
|
9120
9646
|
owned: boolean;
|
|
@@ -9123,6 +9649,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
9123
9649
|
type: "product";
|
|
9124
9650
|
id: string;
|
|
9125
9651
|
name: string;
|
|
9652
|
+
description: string;
|
|
9126
9653
|
tagline: string;
|
|
9127
9654
|
iconUrl: string | null;
|
|
9128
9655
|
owned: boolean;
|
|
@@ -9134,6 +9661,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
9134
9661
|
key: string;
|
|
9135
9662
|
platform: Platform;
|
|
9136
9663
|
size: number;
|
|
9664
|
+
manifest?: {
|
|
9665
|
+
files: {
|
|
9666
|
+
path: string;
|
|
9667
|
+
name: string;
|
|
9668
|
+
}[];
|
|
9669
|
+
} | undefined;
|
|
9137
9670
|
}[] | undefined;
|
|
9138
9671
|
defaultVariation?: {
|
|
9139
9672
|
id: string;
|
|
@@ -9225,6 +9758,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
9225
9758
|
}, {
|
|
9226
9759
|
id: string;
|
|
9227
9760
|
name: string;
|
|
9761
|
+
description: string;
|
|
9228
9762
|
tagline: string;
|
|
9229
9763
|
iconUrl: string | null;
|
|
9230
9764
|
owned: boolean;
|
|
@@ -9232,6 +9766,7 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
9232
9766
|
products: ({
|
|
9233
9767
|
id: string;
|
|
9234
9768
|
name: string;
|
|
9769
|
+
description: string;
|
|
9235
9770
|
tagline: string;
|
|
9236
9771
|
iconUrl: string | null;
|
|
9237
9772
|
owned: boolean;
|
|
@@ -9244,6 +9779,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
|
|
|
9244
9779
|
key: string;
|
|
9245
9780
|
platform: Platform;
|
|
9246
9781
|
size: number;
|
|
9782
|
+
manifest?: {
|
|
9783
|
+
files: {
|
|
9784
|
+
path: string;
|
|
9785
|
+
name: string;
|
|
9786
|
+
}[];
|
|
9787
|
+
} | undefined;
|
|
9247
9788
|
}[] | undefined;
|
|
9248
9789
|
defaultVariation?: {
|
|
9249
9790
|
id: string;
|
|
@@ -9340,6 +9881,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9340
9881
|
id: z.ZodString;
|
|
9341
9882
|
name: z.ZodString;
|
|
9342
9883
|
tagline: z.ZodString;
|
|
9884
|
+
description: z.ZodString;
|
|
9343
9885
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
9344
9886
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9345
9887
|
owned: z.ZodBoolean;
|
|
@@ -9350,18 +9892,52 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9350
9892
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
9351
9893
|
size: z.ZodNumber;
|
|
9352
9894
|
path: z.ZodNullable<z.ZodString>;
|
|
9895
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
9896
|
+
files: z.ZodArray<z.ZodObject<{
|
|
9897
|
+
name: z.ZodString;
|
|
9898
|
+
path: z.ZodString;
|
|
9899
|
+
}, "strip", z.ZodTypeAny, {
|
|
9900
|
+
path: string;
|
|
9901
|
+
name: string;
|
|
9902
|
+
}, {
|
|
9903
|
+
path: string;
|
|
9904
|
+
name: string;
|
|
9905
|
+
}>, "many">;
|
|
9906
|
+
}, "strip", z.ZodTypeAny, {
|
|
9907
|
+
files: {
|
|
9908
|
+
path: string;
|
|
9909
|
+
name: string;
|
|
9910
|
+
}[];
|
|
9911
|
+
}, {
|
|
9912
|
+
files: {
|
|
9913
|
+
path: string;
|
|
9914
|
+
name: string;
|
|
9915
|
+
}[];
|
|
9916
|
+
}>>;
|
|
9353
9917
|
}, "strip", z.ZodTypeAny, {
|
|
9354
9918
|
path: string | null;
|
|
9355
9919
|
name: string;
|
|
9356
9920
|
key: string;
|
|
9357
9921
|
platform: Platform;
|
|
9358
9922
|
size: number;
|
|
9923
|
+
manifest?: {
|
|
9924
|
+
files: {
|
|
9925
|
+
path: string;
|
|
9926
|
+
name: string;
|
|
9927
|
+
}[];
|
|
9928
|
+
} | undefined;
|
|
9359
9929
|
}, {
|
|
9360
9930
|
path: string | null;
|
|
9361
9931
|
name: string;
|
|
9362
9932
|
key: string;
|
|
9363
9933
|
platform: Platform;
|
|
9364
9934
|
size: number;
|
|
9935
|
+
manifest?: {
|
|
9936
|
+
files: {
|
|
9937
|
+
path: string;
|
|
9938
|
+
name: string;
|
|
9939
|
+
}[];
|
|
9940
|
+
} | undefined;
|
|
9365
9941
|
}>, "many">>;
|
|
9366
9942
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
9367
9943
|
id: z.ZodString;
|
|
@@ -9542,6 +10118,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9542
10118
|
type: "product";
|
|
9543
10119
|
id: string;
|
|
9544
10120
|
name: string;
|
|
10121
|
+
description: string;
|
|
9545
10122
|
tagline: string;
|
|
9546
10123
|
iconUrl: string | null;
|
|
9547
10124
|
owned: boolean;
|
|
@@ -9553,6 +10130,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9553
10130
|
key: string;
|
|
9554
10131
|
platform: Platform;
|
|
9555
10132
|
size: number;
|
|
10133
|
+
manifest?: {
|
|
10134
|
+
files: {
|
|
10135
|
+
path: string;
|
|
10136
|
+
name: string;
|
|
10137
|
+
}[];
|
|
10138
|
+
} | undefined;
|
|
9556
10139
|
}[] | undefined;
|
|
9557
10140
|
defaultVariation?: {
|
|
9558
10141
|
id: string;
|
|
@@ -9599,6 +10182,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9599
10182
|
}, {
|
|
9600
10183
|
id: string;
|
|
9601
10184
|
name: string;
|
|
10185
|
+
description: string;
|
|
9602
10186
|
tagline: string;
|
|
9603
10187
|
iconUrl: string | null;
|
|
9604
10188
|
owned: boolean;
|
|
@@ -9611,6 +10195,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9611
10195
|
key: string;
|
|
9612
10196
|
platform: Platform;
|
|
9613
10197
|
size: number;
|
|
10198
|
+
manifest?: {
|
|
10199
|
+
files: {
|
|
10200
|
+
path: string;
|
|
10201
|
+
name: string;
|
|
10202
|
+
}[];
|
|
10203
|
+
} | undefined;
|
|
9614
10204
|
}[] | undefined;
|
|
9615
10205
|
defaultVariation?: {
|
|
9616
10206
|
id: string;
|
|
@@ -9659,6 +10249,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9659
10249
|
id: z.ZodString;
|
|
9660
10250
|
name: z.ZodString;
|
|
9661
10251
|
tagline: z.ZodString;
|
|
10252
|
+
description: z.ZodString;
|
|
9662
10253
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
9663
10254
|
owned: z.ZodBoolean;
|
|
9664
10255
|
partial: z.ZodBoolean;
|
|
@@ -9666,6 +10257,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9666
10257
|
id: z.ZodString;
|
|
9667
10258
|
name: z.ZodString;
|
|
9668
10259
|
tagline: z.ZodString;
|
|
10260
|
+
description: z.ZodString;
|
|
9669
10261
|
iconUrl: z.ZodNullable<z.ZodString>;
|
|
9670
10262
|
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9671
10263
|
owned: z.ZodBoolean;
|
|
@@ -9676,18 +10268,52 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9676
10268
|
platform: z.ZodNativeEnum<typeof Platform>;
|
|
9677
10269
|
size: z.ZodNumber;
|
|
9678
10270
|
path: z.ZodNullable<z.ZodString>;
|
|
10271
|
+
manifest: z.ZodOptional<z.ZodObject<{
|
|
10272
|
+
files: z.ZodArray<z.ZodObject<{
|
|
10273
|
+
name: z.ZodString;
|
|
10274
|
+
path: z.ZodString;
|
|
10275
|
+
}, "strip", z.ZodTypeAny, {
|
|
10276
|
+
path: string;
|
|
10277
|
+
name: string;
|
|
10278
|
+
}, {
|
|
10279
|
+
path: string;
|
|
10280
|
+
name: string;
|
|
10281
|
+
}>, "many">;
|
|
10282
|
+
}, "strip", z.ZodTypeAny, {
|
|
10283
|
+
files: {
|
|
10284
|
+
path: string;
|
|
10285
|
+
name: string;
|
|
10286
|
+
}[];
|
|
10287
|
+
}, {
|
|
10288
|
+
files: {
|
|
10289
|
+
path: string;
|
|
10290
|
+
name: string;
|
|
10291
|
+
}[];
|
|
10292
|
+
}>>;
|
|
9679
10293
|
}, "strip", z.ZodTypeAny, {
|
|
9680
10294
|
path: string | null;
|
|
9681
10295
|
name: string;
|
|
9682
10296
|
key: string;
|
|
9683
10297
|
platform: Platform;
|
|
9684
10298
|
size: number;
|
|
10299
|
+
manifest?: {
|
|
10300
|
+
files: {
|
|
10301
|
+
path: string;
|
|
10302
|
+
name: string;
|
|
10303
|
+
}[];
|
|
10304
|
+
} | undefined;
|
|
9685
10305
|
}, {
|
|
9686
10306
|
path: string | null;
|
|
9687
10307
|
name: string;
|
|
9688
10308
|
key: string;
|
|
9689
10309
|
platform: Platform;
|
|
9690
10310
|
size: number;
|
|
10311
|
+
manifest?: {
|
|
10312
|
+
files: {
|
|
10313
|
+
path: string;
|
|
10314
|
+
name: string;
|
|
10315
|
+
}[];
|
|
10316
|
+
} | undefined;
|
|
9691
10317
|
}>, "many">>;
|
|
9692
10318
|
defaultVariation: z.ZodOptional<z.ZodObject<{
|
|
9693
10319
|
id: z.ZodString;
|
|
@@ -9868,6 +10494,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9868
10494
|
type: "product";
|
|
9869
10495
|
id: string;
|
|
9870
10496
|
name: string;
|
|
10497
|
+
description: string;
|
|
9871
10498
|
tagline: string;
|
|
9872
10499
|
iconUrl: string | null;
|
|
9873
10500
|
owned: boolean;
|
|
@@ -9879,6 +10506,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9879
10506
|
key: string;
|
|
9880
10507
|
platform: Platform;
|
|
9881
10508
|
size: number;
|
|
10509
|
+
manifest?: {
|
|
10510
|
+
files: {
|
|
10511
|
+
path: string;
|
|
10512
|
+
name: string;
|
|
10513
|
+
}[];
|
|
10514
|
+
} | undefined;
|
|
9882
10515
|
}[] | undefined;
|
|
9883
10516
|
defaultVariation?: {
|
|
9884
10517
|
id: string;
|
|
@@ -9925,6 +10558,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9925
10558
|
}, {
|
|
9926
10559
|
id: string;
|
|
9927
10560
|
name: string;
|
|
10561
|
+
description: string;
|
|
9928
10562
|
tagline: string;
|
|
9929
10563
|
iconUrl: string | null;
|
|
9930
10564
|
owned: boolean;
|
|
@@ -9937,6 +10571,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
9937
10571
|
key: string;
|
|
9938
10572
|
platform: Platform;
|
|
9939
10573
|
size: number;
|
|
10574
|
+
manifest?: {
|
|
10575
|
+
files: {
|
|
10576
|
+
path: string;
|
|
10577
|
+
name: string;
|
|
10578
|
+
}[];
|
|
10579
|
+
} | undefined;
|
|
9940
10580
|
}[] | undefined;
|
|
9941
10581
|
defaultVariation?: {
|
|
9942
10582
|
id: string;
|
|
@@ -10166,6 +10806,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10166
10806
|
type: "bundle";
|
|
10167
10807
|
id: string;
|
|
10168
10808
|
name: string;
|
|
10809
|
+
description: string;
|
|
10169
10810
|
tagline: string;
|
|
10170
10811
|
iconUrl: string | null;
|
|
10171
10812
|
owned: boolean;
|
|
@@ -10174,6 +10815,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10174
10815
|
type: "product";
|
|
10175
10816
|
id: string;
|
|
10176
10817
|
name: string;
|
|
10818
|
+
description: string;
|
|
10177
10819
|
tagline: string;
|
|
10178
10820
|
iconUrl: string | null;
|
|
10179
10821
|
owned: boolean;
|
|
@@ -10185,6 +10827,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10185
10827
|
key: string;
|
|
10186
10828
|
platform: Platform;
|
|
10187
10829
|
size: number;
|
|
10830
|
+
manifest?: {
|
|
10831
|
+
files: {
|
|
10832
|
+
path: string;
|
|
10833
|
+
name: string;
|
|
10834
|
+
}[];
|
|
10835
|
+
} | undefined;
|
|
10188
10836
|
}[] | undefined;
|
|
10189
10837
|
defaultVariation?: {
|
|
10190
10838
|
id: string;
|
|
@@ -10276,6 +10924,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10276
10924
|
}, {
|
|
10277
10925
|
id: string;
|
|
10278
10926
|
name: string;
|
|
10927
|
+
description: string;
|
|
10279
10928
|
tagline: string;
|
|
10280
10929
|
iconUrl: string | null;
|
|
10281
10930
|
owned: boolean;
|
|
@@ -10283,6 +10932,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10283
10932
|
products: ({
|
|
10284
10933
|
id: string;
|
|
10285
10934
|
name: string;
|
|
10935
|
+
description: string;
|
|
10286
10936
|
tagline: string;
|
|
10287
10937
|
iconUrl: string | null;
|
|
10288
10938
|
owned: boolean;
|
|
@@ -10295,6 +10945,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10295
10945
|
key: string;
|
|
10296
10946
|
platform: Platform;
|
|
10297
10947
|
size: number;
|
|
10948
|
+
manifest?: {
|
|
10949
|
+
files: {
|
|
10950
|
+
path: string;
|
|
10951
|
+
name: string;
|
|
10952
|
+
}[];
|
|
10953
|
+
} | undefined;
|
|
10298
10954
|
}[] | undefined;
|
|
10299
10955
|
defaultVariation?: {
|
|
10300
10956
|
id: string;
|
|
@@ -10390,6 +11046,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10390
11046
|
type: "product";
|
|
10391
11047
|
id: string;
|
|
10392
11048
|
name: string;
|
|
11049
|
+
description: string;
|
|
10393
11050
|
tagline: string;
|
|
10394
11051
|
iconUrl: string | null;
|
|
10395
11052
|
owned: boolean;
|
|
@@ -10401,6 +11058,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10401
11058
|
key: string;
|
|
10402
11059
|
platform: Platform;
|
|
10403
11060
|
size: number;
|
|
11061
|
+
manifest?: {
|
|
11062
|
+
files: {
|
|
11063
|
+
path: string;
|
|
11064
|
+
name: string;
|
|
11065
|
+
}[];
|
|
11066
|
+
} | undefined;
|
|
10404
11067
|
}[] | undefined;
|
|
10405
11068
|
defaultVariation?: {
|
|
10406
11069
|
id: string;
|
|
@@ -10450,6 +11113,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10450
11113
|
type: "bundle";
|
|
10451
11114
|
id: string;
|
|
10452
11115
|
name: string;
|
|
11116
|
+
description: string;
|
|
10453
11117
|
tagline: string;
|
|
10454
11118
|
iconUrl: string | null;
|
|
10455
11119
|
owned: boolean;
|
|
@@ -10458,6 +11122,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10458
11122
|
type: "product";
|
|
10459
11123
|
id: string;
|
|
10460
11124
|
name: string;
|
|
11125
|
+
description: string;
|
|
10461
11126
|
tagline: string;
|
|
10462
11127
|
iconUrl: string | null;
|
|
10463
11128
|
owned: boolean;
|
|
@@ -10469,6 +11134,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10469
11134
|
key: string;
|
|
10470
11135
|
platform: Platform;
|
|
10471
11136
|
size: number;
|
|
11137
|
+
manifest?: {
|
|
11138
|
+
files: {
|
|
11139
|
+
path: string;
|
|
11140
|
+
name: string;
|
|
11141
|
+
}[];
|
|
11142
|
+
} | undefined;
|
|
10472
11143
|
}[] | undefined;
|
|
10473
11144
|
defaultVariation?: {
|
|
10474
11145
|
id: string;
|
|
@@ -10562,6 +11233,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10562
11233
|
products: {
|
|
10563
11234
|
id: string;
|
|
10564
11235
|
name: string;
|
|
11236
|
+
description: string;
|
|
10565
11237
|
tagline: string;
|
|
10566
11238
|
iconUrl: string | null;
|
|
10567
11239
|
owned: boolean;
|
|
@@ -10574,6 +11246,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10574
11246
|
key: string;
|
|
10575
11247
|
platform: Platform;
|
|
10576
11248
|
size: number;
|
|
11249
|
+
manifest?: {
|
|
11250
|
+
files: {
|
|
11251
|
+
path: string;
|
|
11252
|
+
name: string;
|
|
11253
|
+
}[];
|
|
11254
|
+
} | undefined;
|
|
10577
11255
|
}[] | undefined;
|
|
10578
11256
|
defaultVariation?: {
|
|
10579
11257
|
id: string;
|
|
@@ -10622,6 +11300,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10622
11300
|
bundles: {
|
|
10623
11301
|
id: string;
|
|
10624
11302
|
name: string;
|
|
11303
|
+
description: string;
|
|
10625
11304
|
tagline: string;
|
|
10626
11305
|
iconUrl: string | null;
|
|
10627
11306
|
owned: boolean;
|
|
@@ -10629,6 +11308,7 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10629
11308
|
products: ({
|
|
10630
11309
|
id: string;
|
|
10631
11310
|
name: string;
|
|
11311
|
+
description: string;
|
|
10632
11312
|
tagline: string;
|
|
10633
11313
|
iconUrl: string | null;
|
|
10634
11314
|
owned: boolean;
|
|
@@ -10641,6 +11321,12 @@ declare const storefrontSchema: z.ZodObject<{
|
|
|
10641
11321
|
key: string;
|
|
10642
11322
|
platform: Platform;
|
|
10643
11323
|
size: number;
|
|
11324
|
+
manifest?: {
|
|
11325
|
+
files: {
|
|
11326
|
+
path: string;
|
|
11327
|
+
name: string;
|
|
11328
|
+
}[];
|
|
11329
|
+
} | undefined;
|
|
10644
11330
|
}[] | undefined;
|
|
10645
11331
|
defaultVariation?: {
|
|
10646
11332
|
id: string;
|
|
@@ -10761,6 +11447,7 @@ declare namespace schemas {
|
|
|
10761
11447
|
interface MoonbaseConfiguration {
|
|
10762
11448
|
endpoint: string;
|
|
10763
11449
|
persistUtm?: boolean;
|
|
11450
|
+
includeManifests?: boolean;
|
|
10764
11451
|
}
|
|
10765
11452
|
declare class MoonbaseClient {
|
|
10766
11453
|
private readonly configuration;
|
|
@@ -10775,4 +11462,4 @@ declare class MoonbaseClient {
|
|
|
10775
11462
|
orders: OrderEndpoints;
|
|
10776
11463
|
}
|
|
10777
11464
|
|
|
10778
|
-
export { type Activation, ActivationMethod, type ActivationRequest, ActivationRequestStatus, ActivationStatus, type Address, type BundleLineItem, type CommunicationPreferences, type CompletedOrder, type Discount, type Download, type License, LicenseStatus, type LineItem, MoonbaseClient, type MoonbaseConfiguration, MoonbaseError, NotAuthenticatedError, NotAuthorizedError, NotFoundError, type OpenOrder, type Order, OrderStatus, type OwnedProduct, type Page, Platform, type PricingVariation, type ProductLineItem, type Quantifiable, type Storefront, type StorefrontBundle, type StorefrontProduct, type UrchinTrackingModule, type User, type UserAccountConfirmed, type Vendor, type Voucher, schemas, utmToObject };
|
|
11465
|
+
export { type Activation, ActivationMethod, type ActivationRequest, ActivationRequestStatus, ActivationStatus, type Address, type BundleLineItem, type CommunicationPreferences, type CompletedOrder, type Discount, type Download, type DownloadManifest, type License, LicenseStatus, type LineItem, MoonbaseClient, type MoonbaseConfiguration, MoonbaseError, NotAuthenticatedError, NotAuthorizedError, NotFoundError, type OpenOrder, type Order, OrderStatus, type OwnedProduct, type Page, Platform, type PricingVariation, type ProductLineItem, type Quantifiable, type Storefront, type StorefrontBundle, type StorefrontProduct, type UrchinTrackingModule, type User, type UserAccountConfirmed, type Vendor, type Voucher, schemas, utmToObject };
|