@moonbase.sh/storefront-api 0.2.82 → 0.2.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -251,18 +251,52 @@ declare const activationRequestSchema: z.ZodObject<{
251
251
  platform: z.ZodNativeEnum<typeof Platform>;
252
252
  size: z.ZodNumber;
253
253
  path: z.ZodNullable<z.ZodString>;
254
+ manifest: z.ZodOptional<z.ZodObject<{
255
+ files: z.ZodArray<z.ZodObject<{
256
+ name: z.ZodString;
257
+ path: z.ZodString;
258
+ }, "strip", z.ZodTypeAny, {
259
+ path: string;
260
+ name: string;
261
+ }, {
262
+ path: string;
263
+ name: string;
264
+ }>, "many">;
265
+ }, "strip", z.ZodTypeAny, {
266
+ files: {
267
+ path: string;
268
+ name: string;
269
+ }[];
270
+ }, {
271
+ files: {
272
+ path: string;
273
+ name: string;
274
+ }[];
275
+ }>>;
254
276
  }, "strip", z.ZodTypeAny, {
255
277
  path: string | null;
256
278
  name: string;
257
279
  key: string;
258
280
  platform: Platform;
259
281
  size: number;
282
+ manifest?: {
283
+ files: {
284
+ path: string;
285
+ name: string;
286
+ }[];
287
+ } | undefined;
260
288
  }, {
261
289
  path: string | null;
262
290
  name: string;
263
291
  key: string;
264
292
  platform: Platform;
265
293
  size: number;
294
+ manifest?: {
295
+ files: {
296
+ path: string;
297
+ name: string;
298
+ }[];
299
+ } | undefined;
266
300
  }>, "many">>;
267
301
  defaultVariation: z.ZodOptional<z.ZodObject<{
268
302
  id: z.ZodString;
@@ -454,6 +488,12 @@ declare const activationRequestSchema: z.ZodObject<{
454
488
  key: string;
455
489
  platform: Platform;
456
490
  size: number;
491
+ manifest?: {
492
+ files: {
493
+ path: string;
494
+ name: string;
495
+ }[];
496
+ } | undefined;
457
497
  }[] | undefined;
458
498
  defaultVariation?: {
459
499
  id: string;
@@ -512,6 +552,12 @@ declare const activationRequestSchema: z.ZodObject<{
512
552
  key: string;
513
553
  platform: Platform;
514
554
  size: number;
555
+ manifest?: {
556
+ files: {
557
+ path: string;
558
+ name: string;
559
+ }[];
560
+ } | undefined;
515
561
  }[] | undefined;
516
562
  defaultVariation?: {
517
563
  id: string;
@@ -600,6 +646,12 @@ declare const activationRequestSchema: z.ZodObject<{
600
646
  key: string;
601
647
  platform: Platform;
602
648
  size: number;
649
+ manifest?: {
650
+ files: {
651
+ path: string;
652
+ name: string;
653
+ }[];
654
+ } | undefined;
603
655
  }[] | undefined;
604
656
  defaultVariation?: {
605
657
  id: string;
@@ -672,6 +724,12 @@ declare const activationRequestSchema: z.ZodObject<{
672
724
  key: string;
673
725
  platform: Platform;
674
726
  size: number;
727
+ manifest?: {
728
+ files: {
729
+ path: string;
730
+ name: string;
731
+ }[];
732
+ } | undefined;
675
733
  }[] | undefined;
676
734
  defaultVariation?: {
677
735
  id: string;
@@ -5983,6 +6041,12 @@ declare class StorefrontEndpoints {
5983
6041
  key: string;
5984
6042
  platform: Platform;
5985
6043
  size: number;
6044
+ manifest?: {
6045
+ files: {
6046
+ path: string;
6047
+ name: string;
6048
+ }[];
6049
+ } | undefined;
5986
6050
  }[] | undefined;
5987
6051
  defaultVariation?: {
5988
6052
  id: string;
@@ -6051,6 +6115,12 @@ declare class StorefrontEndpoints {
6051
6115
  key: string;
6052
6116
  platform: Platform;
6053
6117
  size: number;
6118
+ manifest?: {
6119
+ files: {
6120
+ path: string;
6121
+ name: string;
6122
+ }[];
6123
+ } | undefined;
6054
6124
  }[] | undefined;
6055
6125
  defaultVariation?: {
6056
6126
  id: string;
@@ -6164,18 +6234,52 @@ declare const voucherSchema: z.ZodObject<{
6164
6234
  platform: z.ZodNativeEnum<typeof Platform>;
6165
6235
  size: z.ZodNumber;
6166
6236
  path: z.ZodNullable<z.ZodString>;
6237
+ manifest: z.ZodOptional<z.ZodObject<{
6238
+ files: z.ZodArray<z.ZodObject<{
6239
+ name: z.ZodString;
6240
+ path: z.ZodString;
6241
+ }, "strip", z.ZodTypeAny, {
6242
+ path: string;
6243
+ name: string;
6244
+ }, {
6245
+ path: string;
6246
+ name: string;
6247
+ }>, "many">;
6248
+ }, "strip", z.ZodTypeAny, {
6249
+ files: {
6250
+ path: string;
6251
+ name: string;
6252
+ }[];
6253
+ }, {
6254
+ files: {
6255
+ path: string;
6256
+ name: string;
6257
+ }[];
6258
+ }>>;
6167
6259
  }, "strip", z.ZodTypeAny, {
6168
6260
  path: string | null;
6169
6261
  name: string;
6170
6262
  key: string;
6171
6263
  platform: Platform;
6172
6264
  size: number;
6265
+ manifest?: {
6266
+ files: {
6267
+ path: string;
6268
+ name: string;
6269
+ }[];
6270
+ } | undefined;
6173
6271
  }, {
6174
6272
  path: string | null;
6175
6273
  name: string;
6176
6274
  key: string;
6177
6275
  platform: Platform;
6178
6276
  size: number;
6277
+ manifest?: {
6278
+ files: {
6279
+ path: string;
6280
+ name: string;
6281
+ }[];
6282
+ } | undefined;
6179
6283
  }>, "many">>;
6180
6284
  defaultVariation: z.ZodOptional<z.ZodObject<{
6181
6285
  id: z.ZodString;
@@ -6367,6 +6471,12 @@ declare const voucherSchema: z.ZodObject<{
6367
6471
  key: string;
6368
6472
  platform: Platform;
6369
6473
  size: number;
6474
+ manifest?: {
6475
+ files: {
6476
+ path: string;
6477
+ name: string;
6478
+ }[];
6479
+ } | undefined;
6370
6480
  }[] | undefined;
6371
6481
  defaultVariation?: {
6372
6482
  id: string;
@@ -6425,6 +6535,12 @@ declare const voucherSchema: z.ZodObject<{
6425
6535
  key: string;
6426
6536
  platform: Platform;
6427
6537
  size: number;
6538
+ manifest?: {
6539
+ files: {
6540
+ path: string;
6541
+ name: string;
6542
+ }[];
6543
+ } | undefined;
6428
6544
  }[] | undefined;
6429
6545
  defaultVariation?: {
6430
6546
  id: string;
@@ -6486,6 +6602,12 @@ declare const voucherSchema: z.ZodObject<{
6486
6602
  key: string;
6487
6603
  platform: Platform;
6488
6604
  size: number;
6605
+ manifest?: {
6606
+ files: {
6607
+ path: string;
6608
+ name: string;
6609
+ }[];
6610
+ } | undefined;
6489
6611
  }[] | undefined;
6490
6612
  defaultVariation?: {
6491
6613
  id: string;
@@ -6547,6 +6669,12 @@ declare const voucherSchema: z.ZodObject<{
6547
6669
  key: string;
6548
6670
  platform: Platform;
6549
6671
  size: number;
6672
+ manifest?: {
6673
+ files: {
6674
+ path: string;
6675
+ name: string;
6676
+ }[];
6677
+ } | undefined;
6550
6678
  }[] | undefined;
6551
6679
  defaultVariation?: {
6552
6680
  id: string;
@@ -6615,18 +6743,52 @@ declare const voucherSchema: z.ZodObject<{
6615
6743
  platform: z.ZodNativeEnum<typeof Platform>;
6616
6744
  size: z.ZodNumber;
6617
6745
  path: z.ZodNullable<z.ZodString>;
6746
+ manifest: z.ZodOptional<z.ZodObject<{
6747
+ files: z.ZodArray<z.ZodObject<{
6748
+ name: z.ZodString;
6749
+ path: z.ZodString;
6750
+ }, "strip", z.ZodTypeAny, {
6751
+ path: string;
6752
+ name: string;
6753
+ }, {
6754
+ path: string;
6755
+ name: string;
6756
+ }>, "many">;
6757
+ }, "strip", z.ZodTypeAny, {
6758
+ files: {
6759
+ path: string;
6760
+ name: string;
6761
+ }[];
6762
+ }, {
6763
+ files: {
6764
+ path: string;
6765
+ name: string;
6766
+ }[];
6767
+ }>>;
6618
6768
  }, "strip", z.ZodTypeAny, {
6619
6769
  path: string | null;
6620
6770
  name: string;
6621
6771
  key: string;
6622
6772
  platform: Platform;
6623
6773
  size: number;
6774
+ manifest?: {
6775
+ files: {
6776
+ path: string;
6777
+ name: string;
6778
+ }[];
6779
+ } | undefined;
6624
6780
  }, {
6625
6781
  path: string | null;
6626
6782
  name: string;
6627
6783
  key: string;
6628
6784
  platform: Platform;
6629
6785
  size: number;
6786
+ manifest?: {
6787
+ files: {
6788
+ path: string;
6789
+ name: string;
6790
+ }[];
6791
+ } | undefined;
6630
6792
  }>, "many">>;
6631
6793
  defaultVariation: z.ZodOptional<z.ZodObject<{
6632
6794
  id: z.ZodString;
@@ -6818,6 +6980,12 @@ declare const voucherSchema: z.ZodObject<{
6818
6980
  key: string;
6819
6981
  platform: Platform;
6820
6982
  size: number;
6983
+ manifest?: {
6984
+ files: {
6985
+ path: string;
6986
+ name: string;
6987
+ }[];
6988
+ } | undefined;
6821
6989
  }[] | undefined;
6822
6990
  defaultVariation?: {
6823
6991
  id: string;
@@ -6876,6 +7044,12 @@ declare const voucherSchema: z.ZodObject<{
6876
7044
  key: string;
6877
7045
  platform: Platform;
6878
7046
  size: number;
7047
+ manifest?: {
7048
+ files: {
7049
+ path: string;
7050
+ name: string;
7051
+ }[];
7052
+ } | undefined;
6879
7053
  }[] | undefined;
6880
7054
  defaultVariation?: {
6881
7055
  id: string;
@@ -7124,6 +7298,12 @@ declare const voucherSchema: z.ZodObject<{
7124
7298
  key: string;
7125
7299
  platform: Platform;
7126
7300
  size: number;
7301
+ manifest?: {
7302
+ files: {
7303
+ path: string;
7304
+ name: string;
7305
+ }[];
7306
+ } | undefined;
7127
7307
  }[] | undefined;
7128
7308
  defaultVariation?: {
7129
7309
  id: string;
@@ -7234,6 +7414,12 @@ declare const voucherSchema: z.ZodObject<{
7234
7414
  key: string;
7235
7415
  platform: Platform;
7236
7416
  size: number;
7417
+ manifest?: {
7418
+ files: {
7419
+ path: string;
7420
+ name: string;
7421
+ }[];
7422
+ } | undefined;
7237
7423
  }[] | undefined;
7238
7424
  defaultVariation?: {
7239
7425
  id: string;
@@ -7349,6 +7535,12 @@ declare const voucherSchema: z.ZodObject<{
7349
7535
  key: string;
7350
7536
  platform: Platform;
7351
7537
  size: number;
7538
+ manifest?: {
7539
+ files: {
7540
+ path: string;
7541
+ name: string;
7542
+ }[];
7543
+ } | undefined;
7352
7544
  }[] | undefined;
7353
7545
  defaultVariation?: {
7354
7546
  id: string;
@@ -7462,6 +7654,12 @@ declare const voucherSchema: z.ZodObject<{
7462
7654
  key: string;
7463
7655
  platform: Platform;
7464
7656
  size: number;
7657
+ manifest?: {
7658
+ files: {
7659
+ path: string;
7660
+ name: string;
7661
+ }[];
7662
+ } | undefined;
7465
7663
  }[] | undefined;
7466
7664
  defaultVariation?: {
7467
7665
  id: string;
@@ -7576,6 +7774,12 @@ declare const voucherSchema: z.ZodObject<{
7576
7774
  key: string;
7577
7775
  platform: Platform;
7578
7776
  size: number;
7777
+ manifest?: {
7778
+ files: {
7779
+ path: string;
7780
+ name: string;
7781
+ }[];
7782
+ } | undefined;
7579
7783
  }[] | undefined;
7580
7784
  defaultVariation?: {
7581
7785
  id: string;
@@ -7646,6 +7850,12 @@ declare const voucherSchema: z.ZodObject<{
7646
7850
  key: string;
7647
7851
  platform: Platform;
7648
7852
  size: number;
7853
+ manifest?: {
7854
+ files: {
7855
+ path: string;
7856
+ name: string;
7857
+ }[];
7858
+ } | undefined;
7649
7859
  }[] | undefined;
7650
7860
  defaultVariation?: {
7651
7861
  id: string;
@@ -7759,6 +7969,12 @@ declare const voucherSchema: z.ZodObject<{
7759
7969
  key: string;
7760
7970
  platform: Platform;
7761
7971
  size: number;
7972
+ manifest?: {
7973
+ files: {
7974
+ path: string;
7975
+ name: string;
7976
+ }[];
7977
+ } | undefined;
7762
7978
  }[] | undefined;
7763
7979
  defaultVariation?: {
7764
7980
  id: string;
@@ -7828,6 +8044,12 @@ declare const voucherSchema: z.ZodObject<{
7828
8044
  key: string;
7829
8045
  platform: Platform;
7830
8046
  size: number;
8047
+ manifest?: {
8048
+ files: {
8049
+ path: string;
8050
+ name: string;
8051
+ }[];
8052
+ } | undefined;
7831
8053
  }[] | undefined;
7832
8054
  defaultVariation?: {
7833
8055
  id: string;
@@ -7938,6 +8160,7 @@ declare const licenseSchema: z.ZodObject<{
7938
8160
  id: z.ZodString;
7939
8161
  name: z.ZodString;
7940
8162
  tagline: z.ZodString;
8163
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7941
8164
  website: z.ZodOptional<z.ZodString>;
7942
8165
  iconUrl: z.ZodOptional<z.ZodString>;
7943
8166
  numberOfLicenses: z.ZodOptional<z.ZodNumber>;
@@ -7956,18 +8179,52 @@ declare const licenseSchema: z.ZodObject<{
7956
8179
  platform: z.ZodNativeEnum<typeof Platform>;
7957
8180
  size: z.ZodNumber;
7958
8181
  path: z.ZodNullable<z.ZodString>;
8182
+ manifest: z.ZodOptional<z.ZodObject<{
8183
+ files: z.ZodArray<z.ZodObject<{
8184
+ name: z.ZodString;
8185
+ path: z.ZodString;
8186
+ }, "strip", z.ZodTypeAny, {
8187
+ path: string;
8188
+ name: string;
8189
+ }, {
8190
+ path: string;
8191
+ name: string;
8192
+ }>, "many">;
8193
+ }, "strip", z.ZodTypeAny, {
8194
+ files: {
8195
+ path: string;
8196
+ name: string;
8197
+ }[];
8198
+ }, {
8199
+ files: {
8200
+ path: string;
8201
+ name: string;
8202
+ }[];
8203
+ }>>;
7959
8204
  }, "strip", z.ZodTypeAny, {
7960
8205
  path: string | null;
7961
8206
  name: string;
7962
8207
  key: string;
7963
8208
  platform: Platform;
7964
8209
  size: number;
8210
+ manifest?: {
8211
+ files: {
8212
+ path: string;
8213
+ name: string;
8214
+ }[];
8215
+ } | undefined;
7965
8216
  }, {
7966
8217
  path: string | null;
7967
8218
  name: string;
7968
8219
  key: string;
7969
8220
  platform: Platform;
7970
8221
  size: number;
8222
+ manifest?: {
8223
+ files: {
8224
+ path: string;
8225
+ name: string;
8226
+ }[];
8227
+ } | undefined;
7971
8228
  }>, "many">>;
7972
8229
  }, "strip", z.ZodTypeAny, {
7973
8230
  id: string;
@@ -7976,6 +8233,7 @@ declare const licenseSchema: z.ZodObject<{
7976
8233
  currentVersion: string | null;
7977
8234
  downloadsNeedsUser: boolean;
7978
8235
  downloadsNeedsOwnership: boolean;
8236
+ description?: string | null | undefined;
7979
8237
  website?: string | undefined;
7980
8238
  iconUrl?: string | undefined;
7981
8239
  numberOfLicenses?: number | undefined;
@@ -7991,6 +8249,12 @@ declare const licenseSchema: z.ZodObject<{
7991
8249
  key: string;
7992
8250
  platform: Platform;
7993
8251
  size: number;
8252
+ manifest?: {
8253
+ files: {
8254
+ path: string;
8255
+ name: string;
8256
+ }[];
8257
+ } | undefined;
7994
8258
  }[] | undefined;
7995
8259
  }, {
7996
8260
  id: string;
@@ -7999,6 +8263,7 @@ declare const licenseSchema: z.ZodObject<{
7999
8263
  currentVersion: string | null;
8000
8264
  downloadsNeedsUser: boolean;
8001
8265
  downloadsNeedsOwnership: boolean;
8266
+ description?: string | null | undefined;
8002
8267
  website?: string | undefined;
8003
8268
  iconUrl?: string | undefined;
8004
8269
  numberOfLicenses?: number | undefined;
@@ -8014,6 +8279,12 @@ declare const licenseSchema: z.ZodObject<{
8014
8279
  key: string;
8015
8280
  platform: Platform;
8016
8281
  size: number;
8282
+ manifest?: {
8283
+ files: {
8284
+ path: string;
8285
+ name: string;
8286
+ }[];
8287
+ } | undefined;
8017
8288
  }[] | undefined;
8018
8289
  }>;
8019
8290
  activeNumberOfActivations: z.ZodNumber;
@@ -8029,6 +8300,7 @@ declare const licenseSchema: z.ZodObject<{
8029
8300
  currentVersion: string | null;
8030
8301
  downloadsNeedsUser: boolean;
8031
8302
  downloadsNeedsOwnership: boolean;
8303
+ description?: string | null | undefined;
8032
8304
  website?: string | undefined;
8033
8305
  iconUrl?: string | undefined;
8034
8306
  numberOfLicenses?: number | undefined;
@@ -8044,6 +8316,12 @@ declare const licenseSchema: z.ZodObject<{
8044
8316
  key: string;
8045
8317
  platform: Platform;
8046
8318
  size: number;
8319
+ manifest?: {
8320
+ files: {
8321
+ path: string;
8322
+ name: string;
8323
+ }[];
8324
+ } | undefined;
8047
8325
  }[] | undefined;
8048
8326
  };
8049
8327
  activeNumberOfActivations: number;
@@ -8059,6 +8337,7 @@ declare const licenseSchema: z.ZodObject<{
8059
8337
  currentVersion: string | null;
8060
8338
  downloadsNeedsUser: boolean;
8061
8339
  downloadsNeedsOwnership: boolean;
8340
+ description?: string | null | undefined;
8062
8341
  website?: string | undefined;
8063
8342
  iconUrl?: string | undefined;
8064
8343
  numberOfLicenses?: number | undefined;
@@ -8074,6 +8353,12 @@ declare const licenseSchema: z.ZodObject<{
8074
8353
  key: string;
8075
8354
  platform: Platform;
8076
8355
  size: number;
8356
+ manifest?: {
8357
+ files: {
8358
+ path: string;
8359
+ name: string;
8360
+ }[];
8361
+ } | undefined;
8077
8362
  }[] | undefined;
8078
8363
  };
8079
8364
  activeNumberOfActivations: number;
@@ -8119,8 +8404,9 @@ type License = z.infer<typeof licenseSchema>;
8119
8404
  type Activation = z.infer<typeof activationSchema>;
8120
8405
 
8121
8406
  declare class ActivationEndpoints {
8122
- private api;
8123
- constructor(api: MoonbaseApi);
8407
+ private readonly api;
8408
+ private readonly configuration;
8409
+ constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
8124
8410
  activate(deviceToken: string, activationMethod: ActivationMethod): Promise<{
8125
8411
  license: License;
8126
8412
  url: string;
@@ -8128,36 +8414,94 @@ declare class ActivationEndpoints {
8128
8414
  }
8129
8415
 
8130
8416
  declare class LicenseEndpoints {
8131
- private api;
8132
- constructor(api: MoonbaseApi);
8417
+ private readonly api;
8418
+ private readonly configuration;
8419
+ constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
8133
8420
  get(nextUrl?: string): Promise<Page<License>>;
8134
8421
  getActivations(licenseId: string, nextUrl?: string): Promise<Page<Activation>>;
8135
8422
  revokeActivation(licenseId: string, activationId: string): Promise<void>;
8136
8423
  }
8137
8424
 
8425
+ declare const manifestSchema: z.ZodObject<{
8426
+ files: z.ZodArray<z.ZodObject<{
8427
+ name: z.ZodString;
8428
+ path: z.ZodString;
8429
+ }, "strip", z.ZodTypeAny, {
8430
+ path: string;
8431
+ name: string;
8432
+ }, {
8433
+ path: string;
8434
+ name: string;
8435
+ }>, "many">;
8436
+ }, "strip", z.ZodTypeAny, {
8437
+ files: {
8438
+ path: string;
8439
+ name: string;
8440
+ }[];
8441
+ }, {
8442
+ files: {
8443
+ path: string;
8444
+ name: string;
8445
+ }[];
8446
+ }>;
8138
8447
  declare const downloadSchema: z.ZodObject<{
8139
8448
  name: z.ZodString;
8140
8449
  key: z.ZodString;
8141
8450
  platform: z.ZodNativeEnum<typeof Platform>;
8142
8451
  size: z.ZodNumber;
8143
8452
  path: z.ZodNullable<z.ZodString>;
8453
+ manifest: z.ZodOptional<z.ZodObject<{
8454
+ files: z.ZodArray<z.ZodObject<{
8455
+ name: z.ZodString;
8456
+ path: z.ZodString;
8457
+ }, "strip", z.ZodTypeAny, {
8458
+ path: string;
8459
+ name: string;
8460
+ }, {
8461
+ path: string;
8462
+ name: string;
8463
+ }>, "many">;
8464
+ }, "strip", z.ZodTypeAny, {
8465
+ files: {
8466
+ path: string;
8467
+ name: string;
8468
+ }[];
8469
+ }, {
8470
+ files: {
8471
+ path: string;
8472
+ name: string;
8473
+ }[];
8474
+ }>>;
8144
8475
  }, "strip", z.ZodTypeAny, {
8145
8476
  path: string | null;
8146
8477
  name: string;
8147
8478
  key: string;
8148
8479
  platform: Platform;
8149
8480
  size: number;
8481
+ manifest?: {
8482
+ files: {
8483
+ path: string;
8484
+ name: string;
8485
+ }[];
8486
+ } | undefined;
8150
8487
  }, {
8151
8488
  path: string | null;
8152
8489
  name: string;
8153
8490
  key: string;
8154
8491
  platform: Platform;
8155
8492
  size: number;
8493
+ manifest?: {
8494
+ files: {
8495
+ path: string;
8496
+ name: string;
8497
+ }[];
8498
+ } | undefined;
8156
8499
  }>;
8157
8500
  declare const productSummarySchema: z.ZodObject<{
8158
8501
  id: z.ZodString;
8159
8502
  name: z.ZodString;
8160
8503
  tagline: z.ZodString;
8504
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8161
8505
  website: z.ZodOptional<z.ZodString>;
8162
8506
  iconUrl: z.ZodOptional<z.ZodString>;
8163
8507
  numberOfLicenses: z.ZodOptional<z.ZodNumber>;
@@ -8176,18 +8520,52 @@ declare const productSummarySchema: z.ZodObject<{
8176
8520
  platform: z.ZodNativeEnum<typeof Platform>;
8177
8521
  size: z.ZodNumber;
8178
8522
  path: z.ZodNullable<z.ZodString>;
8523
+ manifest: z.ZodOptional<z.ZodObject<{
8524
+ files: z.ZodArray<z.ZodObject<{
8525
+ name: z.ZodString;
8526
+ path: z.ZodString;
8527
+ }, "strip", z.ZodTypeAny, {
8528
+ path: string;
8529
+ name: string;
8530
+ }, {
8531
+ path: string;
8532
+ name: string;
8533
+ }>, "many">;
8534
+ }, "strip", z.ZodTypeAny, {
8535
+ files: {
8536
+ path: string;
8537
+ name: string;
8538
+ }[];
8539
+ }, {
8540
+ files: {
8541
+ path: string;
8542
+ name: string;
8543
+ }[];
8544
+ }>>;
8179
8545
  }, "strip", z.ZodTypeAny, {
8180
8546
  path: string | null;
8181
8547
  name: string;
8182
8548
  key: string;
8183
8549
  platform: Platform;
8184
8550
  size: number;
8551
+ manifest?: {
8552
+ files: {
8553
+ path: string;
8554
+ name: string;
8555
+ }[];
8556
+ } | undefined;
8185
8557
  }, {
8186
8558
  path: string | null;
8187
8559
  name: string;
8188
8560
  key: string;
8189
8561
  platform: Platform;
8190
8562
  size: number;
8563
+ manifest?: {
8564
+ files: {
8565
+ path: string;
8566
+ name: string;
8567
+ }[];
8568
+ } | undefined;
8191
8569
  }>, "many">>;
8192
8570
  }, "strip", z.ZodTypeAny, {
8193
8571
  id: string;
@@ -8196,6 +8574,7 @@ declare const productSummarySchema: z.ZodObject<{
8196
8574
  currentVersion: string | null;
8197
8575
  downloadsNeedsUser: boolean;
8198
8576
  downloadsNeedsOwnership: boolean;
8577
+ description?: string | null | undefined;
8199
8578
  website?: string | undefined;
8200
8579
  iconUrl?: string | undefined;
8201
8580
  numberOfLicenses?: number | undefined;
@@ -8211,6 +8590,12 @@ declare const productSummarySchema: z.ZodObject<{
8211
8590
  key: string;
8212
8591
  platform: Platform;
8213
8592
  size: number;
8593
+ manifest?: {
8594
+ files: {
8595
+ path: string;
8596
+ name: string;
8597
+ }[];
8598
+ } | undefined;
8214
8599
  }[] | undefined;
8215
8600
  }, {
8216
8601
  id: string;
@@ -8219,6 +8604,7 @@ declare const productSummarySchema: z.ZodObject<{
8219
8604
  currentVersion: string | null;
8220
8605
  downloadsNeedsUser: boolean;
8221
8606
  downloadsNeedsOwnership: boolean;
8607
+ description?: string | null | undefined;
8222
8608
  website?: string | undefined;
8223
8609
  iconUrl?: string | undefined;
8224
8610
  numberOfLicenses?: number | undefined;
@@ -8234,6 +8620,12 @@ declare const productSummarySchema: z.ZodObject<{
8234
8620
  key: string;
8235
8621
  platform: Platform;
8236
8622
  size: number;
8623
+ manifest?: {
8624
+ files: {
8625
+ path: string;
8626
+ name: string;
8627
+ }[];
8628
+ } | undefined;
8237
8629
  }[] | undefined;
8238
8630
  }>;
8239
8631
 
@@ -8243,12 +8635,14 @@ declare enum Platform {
8243
8635
  Linux = "Linux",
8244
8636
  Mac = "Mac"
8245
8637
  }
8638
+ type DownloadManifest = z.infer<typeof manifestSchema>;
8246
8639
  type Download = z.infer<typeof downloadSchema>;
8247
8640
  type OwnedProduct = z.infer<typeof productSummarySchema>;
8248
8641
 
8249
8642
  declare class ProductEndpoints {
8250
- private api;
8251
- constructor(api: MoonbaseApi);
8643
+ private readonly api;
8644
+ private readonly configuration;
8645
+ constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
8252
8646
  get(productId: string, version?: string): Promise<OwnedProduct>;
8253
8647
  getOwned(nextUrl?: string): Promise<Page<OwnedProduct>>;
8254
8648
  getLicenses(productId: string, nextUrl?: string): Promise<Page<License>>;
@@ -8257,12 +8651,34 @@ declare class ProductEndpoints {
8257
8651
  }
8258
8652
 
8259
8653
  declare class InventoryEndpoints {
8260
- constructor(api: MoonbaseApi);
8654
+ constructor(api: MoonbaseApi, configuration: MoonbaseConfiguration);
8261
8655
  licenses: LicenseEndpoints;
8262
8656
  products: ProductEndpoints;
8263
8657
  activation: ActivationEndpoints;
8264
8658
  }
8265
8659
 
8660
+ declare const vendorSchema: z.ZodObject<{
8661
+ id: z.ZodString;
8662
+ name: z.ZodString;
8663
+ logoUrl: z.ZodNullable<z.ZodString>;
8664
+ }, "strip", z.ZodTypeAny, {
8665
+ id: string;
8666
+ name: string;
8667
+ logoUrl: string | null;
8668
+ }, {
8669
+ id: string;
8670
+ name: string;
8671
+ logoUrl: string | null;
8672
+ }>;
8673
+
8674
+ type Vendor = z.infer<typeof vendorSchema>;
8675
+
8676
+ declare class VendorEndpoints {
8677
+ private api;
8678
+ constructor(api: MoonbaseApi);
8679
+ get(): Promise<Vendor>;
8680
+ }
8681
+
8266
8682
  declare const storefrontProductSchema: z.ZodObject<{
8267
8683
  id: z.ZodString;
8268
8684
  name: z.ZodString;
@@ -8277,18 +8693,52 @@ declare const storefrontProductSchema: z.ZodObject<{
8277
8693
  platform: z.ZodNativeEnum<typeof Platform>;
8278
8694
  size: z.ZodNumber;
8279
8695
  path: z.ZodNullable<z.ZodString>;
8696
+ manifest: z.ZodOptional<z.ZodObject<{
8697
+ files: z.ZodArray<z.ZodObject<{
8698
+ name: z.ZodString;
8699
+ path: z.ZodString;
8700
+ }, "strip", z.ZodTypeAny, {
8701
+ path: string;
8702
+ name: string;
8703
+ }, {
8704
+ path: string;
8705
+ name: string;
8706
+ }>, "many">;
8707
+ }, "strip", z.ZodTypeAny, {
8708
+ files: {
8709
+ path: string;
8710
+ name: string;
8711
+ }[];
8712
+ }, {
8713
+ files: {
8714
+ path: string;
8715
+ name: string;
8716
+ }[];
8717
+ }>>;
8280
8718
  }, "strip", z.ZodTypeAny, {
8281
8719
  path: string | null;
8282
8720
  name: string;
8283
8721
  key: string;
8284
8722
  platform: Platform;
8285
8723
  size: number;
8724
+ manifest?: {
8725
+ files: {
8726
+ path: string;
8727
+ name: string;
8728
+ }[];
8729
+ } | undefined;
8286
8730
  }, {
8287
8731
  path: string | null;
8288
8732
  name: string;
8289
8733
  key: string;
8290
8734
  platform: Platform;
8291
8735
  size: number;
8736
+ manifest?: {
8737
+ files: {
8738
+ path: string;
8739
+ name: string;
8740
+ }[];
8741
+ } | undefined;
8292
8742
  }>, "many">>;
8293
8743
  defaultVariation: z.ZodOptional<z.ZodObject<{
8294
8744
  id: z.ZodString;
@@ -8480,6 +8930,12 @@ declare const storefrontProductSchema: z.ZodObject<{
8480
8930
  key: string;
8481
8931
  platform: Platform;
8482
8932
  size: number;
8933
+ manifest?: {
8934
+ files: {
8935
+ path: string;
8936
+ name: string;
8937
+ }[];
8938
+ } | undefined;
8483
8939
  }[] | undefined;
8484
8940
  defaultVariation?: {
8485
8941
  id: string;
@@ -8538,6 +8994,12 @@ declare const storefrontProductSchema: z.ZodObject<{
8538
8994
  key: string;
8539
8995
  platform: Platform;
8540
8996
  size: number;
8997
+ manifest?: {
8998
+ files: {
8999
+ path: string;
9000
+ name: string;
9001
+ }[];
9002
+ } | undefined;
8541
9003
  }[] | undefined;
8542
9004
  defaultVariation?: {
8543
9005
  id: string;
@@ -8603,18 +9065,52 @@ declare const storefrontBundleSchema: z.ZodObject<{
8603
9065
  platform: z.ZodNativeEnum<typeof Platform>;
8604
9066
  size: z.ZodNumber;
8605
9067
  path: z.ZodNullable<z.ZodString>;
9068
+ manifest: z.ZodOptional<z.ZodObject<{
9069
+ files: z.ZodArray<z.ZodObject<{
9070
+ name: z.ZodString;
9071
+ path: z.ZodString;
9072
+ }, "strip", z.ZodTypeAny, {
9073
+ path: string;
9074
+ name: string;
9075
+ }, {
9076
+ path: string;
9077
+ name: string;
9078
+ }>, "many">;
9079
+ }, "strip", z.ZodTypeAny, {
9080
+ files: {
9081
+ path: string;
9082
+ name: string;
9083
+ }[];
9084
+ }, {
9085
+ files: {
9086
+ path: string;
9087
+ name: string;
9088
+ }[];
9089
+ }>>;
8606
9090
  }, "strip", z.ZodTypeAny, {
8607
9091
  path: string | null;
8608
9092
  name: string;
8609
9093
  key: string;
8610
9094
  platform: Platform;
8611
9095
  size: number;
9096
+ manifest?: {
9097
+ files: {
9098
+ path: string;
9099
+ name: string;
9100
+ }[];
9101
+ } | undefined;
8612
9102
  }, {
8613
9103
  path: string | null;
8614
9104
  name: string;
8615
9105
  key: string;
8616
9106
  platform: Platform;
8617
9107
  size: number;
9108
+ manifest?: {
9109
+ files: {
9110
+ path: string;
9111
+ name: string;
9112
+ }[];
9113
+ } | undefined;
8618
9114
  }>, "many">>;
8619
9115
  defaultVariation: z.ZodOptional<z.ZodObject<{
8620
9116
  id: z.ZodString;
@@ -8806,6 +9302,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
8806
9302
  key: string;
8807
9303
  platform: Platform;
8808
9304
  size: number;
9305
+ manifest?: {
9306
+ files: {
9307
+ path: string;
9308
+ name: string;
9309
+ }[];
9310
+ } | undefined;
8809
9311
  }[] | undefined;
8810
9312
  defaultVariation?: {
8811
9313
  id: string;
@@ -8864,6 +9366,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
8864
9366
  key: string;
8865
9367
  platform: Platform;
8866
9368
  size: number;
9369
+ manifest?: {
9370
+ files: {
9371
+ path: string;
9372
+ name: string;
9373
+ }[];
9374
+ } | undefined;
8867
9375
  }[] | undefined;
8868
9376
  defaultVariation?: {
8869
9377
  id: string;
@@ -9112,6 +9620,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
9112
9620
  key: string;
9113
9621
  platform: Platform;
9114
9622
  size: number;
9623
+ manifest?: {
9624
+ files: {
9625
+ path: string;
9626
+ name: string;
9627
+ }[];
9628
+ } | undefined;
9115
9629
  }[] | undefined;
9116
9630
  defaultVariation?: {
9117
9631
  id: string;
@@ -9222,6 +9736,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
9222
9736
  key: string;
9223
9737
  platform: Platform;
9224
9738
  size: number;
9739
+ manifest?: {
9740
+ files: {
9741
+ path: string;
9742
+ name: string;
9743
+ }[];
9744
+ } | undefined;
9225
9745
  }[] | undefined;
9226
9746
  defaultVariation?: {
9227
9747
  id: string;
@@ -9328,18 +9848,52 @@ declare const storefrontSchema: z.ZodObject<{
9328
9848
  platform: z.ZodNativeEnum<typeof Platform>;
9329
9849
  size: z.ZodNumber;
9330
9850
  path: z.ZodNullable<z.ZodString>;
9851
+ manifest: z.ZodOptional<z.ZodObject<{
9852
+ files: z.ZodArray<z.ZodObject<{
9853
+ name: z.ZodString;
9854
+ path: z.ZodString;
9855
+ }, "strip", z.ZodTypeAny, {
9856
+ path: string;
9857
+ name: string;
9858
+ }, {
9859
+ path: string;
9860
+ name: string;
9861
+ }>, "many">;
9862
+ }, "strip", z.ZodTypeAny, {
9863
+ files: {
9864
+ path: string;
9865
+ name: string;
9866
+ }[];
9867
+ }, {
9868
+ files: {
9869
+ path: string;
9870
+ name: string;
9871
+ }[];
9872
+ }>>;
9331
9873
  }, "strip", z.ZodTypeAny, {
9332
9874
  path: string | null;
9333
9875
  name: string;
9334
9876
  key: string;
9335
9877
  platform: Platform;
9336
9878
  size: number;
9879
+ manifest?: {
9880
+ files: {
9881
+ path: string;
9882
+ name: string;
9883
+ }[];
9884
+ } | undefined;
9337
9885
  }, {
9338
9886
  path: string | null;
9339
9887
  name: string;
9340
9888
  key: string;
9341
9889
  platform: Platform;
9342
9890
  size: number;
9891
+ manifest?: {
9892
+ files: {
9893
+ path: string;
9894
+ name: string;
9895
+ }[];
9896
+ } | undefined;
9343
9897
  }>, "many">>;
9344
9898
  defaultVariation: z.ZodOptional<z.ZodObject<{
9345
9899
  id: z.ZodString;
@@ -9531,6 +10085,12 @@ declare const storefrontSchema: z.ZodObject<{
9531
10085
  key: string;
9532
10086
  platform: Platform;
9533
10087
  size: number;
10088
+ manifest?: {
10089
+ files: {
10090
+ path: string;
10091
+ name: string;
10092
+ }[];
10093
+ } | undefined;
9534
10094
  }[] | undefined;
9535
10095
  defaultVariation?: {
9536
10096
  id: string;
@@ -9589,6 +10149,12 @@ declare const storefrontSchema: z.ZodObject<{
9589
10149
  key: string;
9590
10150
  platform: Platform;
9591
10151
  size: number;
10152
+ manifest?: {
10153
+ files: {
10154
+ path: string;
10155
+ name: string;
10156
+ }[];
10157
+ } | undefined;
9592
10158
  }[] | undefined;
9593
10159
  defaultVariation?: {
9594
10160
  id: string;
@@ -9654,18 +10220,52 @@ declare const storefrontSchema: z.ZodObject<{
9654
10220
  platform: z.ZodNativeEnum<typeof Platform>;
9655
10221
  size: z.ZodNumber;
9656
10222
  path: z.ZodNullable<z.ZodString>;
10223
+ manifest: z.ZodOptional<z.ZodObject<{
10224
+ files: z.ZodArray<z.ZodObject<{
10225
+ name: z.ZodString;
10226
+ path: z.ZodString;
10227
+ }, "strip", z.ZodTypeAny, {
10228
+ path: string;
10229
+ name: string;
10230
+ }, {
10231
+ path: string;
10232
+ name: string;
10233
+ }>, "many">;
10234
+ }, "strip", z.ZodTypeAny, {
10235
+ files: {
10236
+ path: string;
10237
+ name: string;
10238
+ }[];
10239
+ }, {
10240
+ files: {
10241
+ path: string;
10242
+ name: string;
10243
+ }[];
10244
+ }>>;
9657
10245
  }, "strip", z.ZodTypeAny, {
9658
10246
  path: string | null;
9659
10247
  name: string;
9660
10248
  key: string;
9661
10249
  platform: Platform;
9662
10250
  size: number;
10251
+ manifest?: {
10252
+ files: {
10253
+ path: string;
10254
+ name: string;
10255
+ }[];
10256
+ } | undefined;
9663
10257
  }, {
9664
10258
  path: string | null;
9665
10259
  name: string;
9666
10260
  key: string;
9667
10261
  platform: Platform;
9668
10262
  size: number;
10263
+ manifest?: {
10264
+ files: {
10265
+ path: string;
10266
+ name: string;
10267
+ }[];
10268
+ } | undefined;
9669
10269
  }>, "many">>;
9670
10270
  defaultVariation: z.ZodOptional<z.ZodObject<{
9671
10271
  id: z.ZodString;
@@ -9857,6 +10457,12 @@ declare const storefrontSchema: z.ZodObject<{
9857
10457
  key: string;
9858
10458
  platform: Platform;
9859
10459
  size: number;
10460
+ manifest?: {
10461
+ files: {
10462
+ path: string;
10463
+ name: string;
10464
+ }[];
10465
+ } | undefined;
9860
10466
  }[] | undefined;
9861
10467
  defaultVariation?: {
9862
10468
  id: string;
@@ -9915,6 +10521,12 @@ declare const storefrontSchema: z.ZodObject<{
9915
10521
  key: string;
9916
10522
  platform: Platform;
9917
10523
  size: number;
10524
+ manifest?: {
10525
+ files: {
10526
+ path: string;
10527
+ name: string;
10528
+ }[];
10529
+ } | undefined;
9918
10530
  }[] | undefined;
9919
10531
  defaultVariation?: {
9920
10532
  id: string;
@@ -10163,6 +10775,12 @@ declare const storefrontSchema: z.ZodObject<{
10163
10775
  key: string;
10164
10776
  platform: Platform;
10165
10777
  size: number;
10778
+ manifest?: {
10779
+ files: {
10780
+ path: string;
10781
+ name: string;
10782
+ }[];
10783
+ } | undefined;
10166
10784
  }[] | undefined;
10167
10785
  defaultVariation?: {
10168
10786
  id: string;
@@ -10273,6 +10891,12 @@ declare const storefrontSchema: z.ZodObject<{
10273
10891
  key: string;
10274
10892
  platform: Platform;
10275
10893
  size: number;
10894
+ manifest?: {
10895
+ files: {
10896
+ path: string;
10897
+ name: string;
10898
+ }[];
10899
+ } | undefined;
10276
10900
  }[] | undefined;
10277
10901
  defaultVariation?: {
10278
10902
  id: string;
@@ -10379,6 +11003,12 @@ declare const storefrontSchema: z.ZodObject<{
10379
11003
  key: string;
10380
11004
  platform: Platform;
10381
11005
  size: number;
11006
+ manifest?: {
11007
+ files: {
11008
+ path: string;
11009
+ name: string;
11010
+ }[];
11011
+ } | undefined;
10382
11012
  }[] | undefined;
10383
11013
  defaultVariation?: {
10384
11014
  id: string;
@@ -10447,6 +11077,12 @@ declare const storefrontSchema: z.ZodObject<{
10447
11077
  key: string;
10448
11078
  platform: Platform;
10449
11079
  size: number;
11080
+ manifest?: {
11081
+ files: {
11082
+ path: string;
11083
+ name: string;
11084
+ }[];
11085
+ } | undefined;
10450
11086
  }[] | undefined;
10451
11087
  defaultVariation?: {
10452
11088
  id: string;
@@ -10552,6 +11188,12 @@ declare const storefrontSchema: z.ZodObject<{
10552
11188
  key: string;
10553
11189
  platform: Platform;
10554
11190
  size: number;
11191
+ manifest?: {
11192
+ files: {
11193
+ path: string;
11194
+ name: string;
11195
+ }[];
11196
+ } | undefined;
10555
11197
  }[] | undefined;
10556
11198
  defaultVariation?: {
10557
11199
  id: string;
@@ -10619,6 +11261,12 @@ declare const storefrontSchema: z.ZodObject<{
10619
11261
  key: string;
10620
11262
  platform: Platform;
10621
11263
  size: number;
11264
+ manifest?: {
11265
+ files: {
11266
+ path: string;
11267
+ name: string;
11268
+ }[];
11269
+ } | undefined;
10622
11270
  }[] | undefined;
10623
11271
  defaultVariation?: {
10624
11272
  id: string;
@@ -10739,6 +11387,7 @@ declare namespace schemas {
10739
11387
  interface MoonbaseConfiguration {
10740
11388
  endpoint: string;
10741
11389
  persistUtm?: boolean;
11390
+ includeManifests?: boolean;
10742
11391
  }
10743
11392
  declare class MoonbaseClient {
10744
11393
  private readonly configuration;
@@ -10749,7 +11398,8 @@ declare class MoonbaseClient {
10749
11398
  vouchers: VoucherEndpoints;
10750
11399
  activationRequests: ActivationRequestEndpoints;
10751
11400
  inventory: InventoryEndpoints;
11401
+ vendor: VendorEndpoints;
10752
11402
  orders: OrderEndpoints;
10753
11403
  }
10754
11404
 
10755
- 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 Voucher, schemas, utmToObject };
11405
+ 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 };