@moonbase.sh/storefront-api 0.2.83 → 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,7 +8651,7 @@ 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;
@@ -8299,18 +8693,52 @@ declare const storefrontProductSchema: z.ZodObject<{
8299
8693
  platform: z.ZodNativeEnum<typeof Platform>;
8300
8694
  size: z.ZodNumber;
8301
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
+ }>>;
8302
8718
  }, "strip", z.ZodTypeAny, {
8303
8719
  path: string | null;
8304
8720
  name: string;
8305
8721
  key: string;
8306
8722
  platform: Platform;
8307
8723
  size: number;
8724
+ manifest?: {
8725
+ files: {
8726
+ path: string;
8727
+ name: string;
8728
+ }[];
8729
+ } | undefined;
8308
8730
  }, {
8309
8731
  path: string | null;
8310
8732
  name: string;
8311
8733
  key: string;
8312
8734
  platform: Platform;
8313
8735
  size: number;
8736
+ manifest?: {
8737
+ files: {
8738
+ path: string;
8739
+ name: string;
8740
+ }[];
8741
+ } | undefined;
8314
8742
  }>, "many">>;
8315
8743
  defaultVariation: z.ZodOptional<z.ZodObject<{
8316
8744
  id: z.ZodString;
@@ -8502,6 +8930,12 @@ declare const storefrontProductSchema: z.ZodObject<{
8502
8930
  key: string;
8503
8931
  platform: Platform;
8504
8932
  size: number;
8933
+ manifest?: {
8934
+ files: {
8935
+ path: string;
8936
+ name: string;
8937
+ }[];
8938
+ } | undefined;
8505
8939
  }[] | undefined;
8506
8940
  defaultVariation?: {
8507
8941
  id: string;
@@ -8560,6 +8994,12 @@ declare const storefrontProductSchema: z.ZodObject<{
8560
8994
  key: string;
8561
8995
  platform: Platform;
8562
8996
  size: number;
8997
+ manifest?: {
8998
+ files: {
8999
+ path: string;
9000
+ name: string;
9001
+ }[];
9002
+ } | undefined;
8563
9003
  }[] | undefined;
8564
9004
  defaultVariation?: {
8565
9005
  id: string;
@@ -8625,18 +9065,52 @@ declare const storefrontBundleSchema: z.ZodObject<{
8625
9065
  platform: z.ZodNativeEnum<typeof Platform>;
8626
9066
  size: z.ZodNumber;
8627
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
+ }>>;
8628
9090
  }, "strip", z.ZodTypeAny, {
8629
9091
  path: string | null;
8630
9092
  name: string;
8631
9093
  key: string;
8632
9094
  platform: Platform;
8633
9095
  size: number;
9096
+ manifest?: {
9097
+ files: {
9098
+ path: string;
9099
+ name: string;
9100
+ }[];
9101
+ } | undefined;
8634
9102
  }, {
8635
9103
  path: string | null;
8636
9104
  name: string;
8637
9105
  key: string;
8638
9106
  platform: Platform;
8639
9107
  size: number;
9108
+ manifest?: {
9109
+ files: {
9110
+ path: string;
9111
+ name: string;
9112
+ }[];
9113
+ } | undefined;
8640
9114
  }>, "many">>;
8641
9115
  defaultVariation: z.ZodOptional<z.ZodObject<{
8642
9116
  id: z.ZodString;
@@ -8828,6 +9302,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
8828
9302
  key: string;
8829
9303
  platform: Platform;
8830
9304
  size: number;
9305
+ manifest?: {
9306
+ files: {
9307
+ path: string;
9308
+ name: string;
9309
+ }[];
9310
+ } | undefined;
8831
9311
  }[] | undefined;
8832
9312
  defaultVariation?: {
8833
9313
  id: string;
@@ -8886,6 +9366,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
8886
9366
  key: string;
8887
9367
  platform: Platform;
8888
9368
  size: number;
9369
+ manifest?: {
9370
+ files: {
9371
+ path: string;
9372
+ name: string;
9373
+ }[];
9374
+ } | undefined;
8889
9375
  }[] | undefined;
8890
9376
  defaultVariation?: {
8891
9377
  id: string;
@@ -9134,6 +9620,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
9134
9620
  key: string;
9135
9621
  platform: Platform;
9136
9622
  size: number;
9623
+ manifest?: {
9624
+ files: {
9625
+ path: string;
9626
+ name: string;
9627
+ }[];
9628
+ } | undefined;
9137
9629
  }[] | undefined;
9138
9630
  defaultVariation?: {
9139
9631
  id: string;
@@ -9244,6 +9736,12 @@ declare const storefrontBundleSchema: z.ZodObject<{
9244
9736
  key: string;
9245
9737
  platform: Platform;
9246
9738
  size: number;
9739
+ manifest?: {
9740
+ files: {
9741
+ path: string;
9742
+ name: string;
9743
+ }[];
9744
+ } | undefined;
9247
9745
  }[] | undefined;
9248
9746
  defaultVariation?: {
9249
9747
  id: string;
@@ -9350,18 +9848,52 @@ declare const storefrontSchema: z.ZodObject<{
9350
9848
  platform: z.ZodNativeEnum<typeof Platform>;
9351
9849
  size: z.ZodNumber;
9352
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
+ }>>;
9353
9873
  }, "strip", z.ZodTypeAny, {
9354
9874
  path: string | null;
9355
9875
  name: string;
9356
9876
  key: string;
9357
9877
  platform: Platform;
9358
9878
  size: number;
9879
+ manifest?: {
9880
+ files: {
9881
+ path: string;
9882
+ name: string;
9883
+ }[];
9884
+ } | undefined;
9359
9885
  }, {
9360
9886
  path: string | null;
9361
9887
  name: string;
9362
9888
  key: string;
9363
9889
  platform: Platform;
9364
9890
  size: number;
9891
+ manifest?: {
9892
+ files: {
9893
+ path: string;
9894
+ name: string;
9895
+ }[];
9896
+ } | undefined;
9365
9897
  }>, "many">>;
9366
9898
  defaultVariation: z.ZodOptional<z.ZodObject<{
9367
9899
  id: z.ZodString;
@@ -9553,6 +10085,12 @@ declare const storefrontSchema: z.ZodObject<{
9553
10085
  key: string;
9554
10086
  platform: Platform;
9555
10087
  size: number;
10088
+ manifest?: {
10089
+ files: {
10090
+ path: string;
10091
+ name: string;
10092
+ }[];
10093
+ } | undefined;
9556
10094
  }[] | undefined;
9557
10095
  defaultVariation?: {
9558
10096
  id: string;
@@ -9611,6 +10149,12 @@ declare const storefrontSchema: z.ZodObject<{
9611
10149
  key: string;
9612
10150
  platform: Platform;
9613
10151
  size: number;
10152
+ manifest?: {
10153
+ files: {
10154
+ path: string;
10155
+ name: string;
10156
+ }[];
10157
+ } | undefined;
9614
10158
  }[] | undefined;
9615
10159
  defaultVariation?: {
9616
10160
  id: string;
@@ -9676,18 +10220,52 @@ declare const storefrontSchema: z.ZodObject<{
9676
10220
  platform: z.ZodNativeEnum<typeof Platform>;
9677
10221
  size: z.ZodNumber;
9678
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
+ }>>;
9679
10245
  }, "strip", z.ZodTypeAny, {
9680
10246
  path: string | null;
9681
10247
  name: string;
9682
10248
  key: string;
9683
10249
  platform: Platform;
9684
10250
  size: number;
10251
+ manifest?: {
10252
+ files: {
10253
+ path: string;
10254
+ name: string;
10255
+ }[];
10256
+ } | undefined;
9685
10257
  }, {
9686
10258
  path: string | null;
9687
10259
  name: string;
9688
10260
  key: string;
9689
10261
  platform: Platform;
9690
10262
  size: number;
10263
+ manifest?: {
10264
+ files: {
10265
+ path: string;
10266
+ name: string;
10267
+ }[];
10268
+ } | undefined;
9691
10269
  }>, "many">>;
9692
10270
  defaultVariation: z.ZodOptional<z.ZodObject<{
9693
10271
  id: z.ZodString;
@@ -9879,6 +10457,12 @@ declare const storefrontSchema: z.ZodObject<{
9879
10457
  key: string;
9880
10458
  platform: Platform;
9881
10459
  size: number;
10460
+ manifest?: {
10461
+ files: {
10462
+ path: string;
10463
+ name: string;
10464
+ }[];
10465
+ } | undefined;
9882
10466
  }[] | undefined;
9883
10467
  defaultVariation?: {
9884
10468
  id: string;
@@ -9937,6 +10521,12 @@ declare const storefrontSchema: z.ZodObject<{
9937
10521
  key: string;
9938
10522
  platform: Platform;
9939
10523
  size: number;
10524
+ manifest?: {
10525
+ files: {
10526
+ path: string;
10527
+ name: string;
10528
+ }[];
10529
+ } | undefined;
9940
10530
  }[] | undefined;
9941
10531
  defaultVariation?: {
9942
10532
  id: string;
@@ -10185,6 +10775,12 @@ declare const storefrontSchema: z.ZodObject<{
10185
10775
  key: string;
10186
10776
  platform: Platform;
10187
10777
  size: number;
10778
+ manifest?: {
10779
+ files: {
10780
+ path: string;
10781
+ name: string;
10782
+ }[];
10783
+ } | undefined;
10188
10784
  }[] | undefined;
10189
10785
  defaultVariation?: {
10190
10786
  id: string;
@@ -10295,6 +10891,12 @@ declare const storefrontSchema: z.ZodObject<{
10295
10891
  key: string;
10296
10892
  platform: Platform;
10297
10893
  size: number;
10894
+ manifest?: {
10895
+ files: {
10896
+ path: string;
10897
+ name: string;
10898
+ }[];
10899
+ } | undefined;
10298
10900
  }[] | undefined;
10299
10901
  defaultVariation?: {
10300
10902
  id: string;
@@ -10401,6 +11003,12 @@ declare const storefrontSchema: z.ZodObject<{
10401
11003
  key: string;
10402
11004
  platform: Platform;
10403
11005
  size: number;
11006
+ manifest?: {
11007
+ files: {
11008
+ path: string;
11009
+ name: string;
11010
+ }[];
11011
+ } | undefined;
10404
11012
  }[] | undefined;
10405
11013
  defaultVariation?: {
10406
11014
  id: string;
@@ -10469,6 +11077,12 @@ declare const storefrontSchema: z.ZodObject<{
10469
11077
  key: string;
10470
11078
  platform: Platform;
10471
11079
  size: number;
11080
+ manifest?: {
11081
+ files: {
11082
+ path: string;
11083
+ name: string;
11084
+ }[];
11085
+ } | undefined;
10472
11086
  }[] | undefined;
10473
11087
  defaultVariation?: {
10474
11088
  id: string;
@@ -10574,6 +11188,12 @@ declare const storefrontSchema: z.ZodObject<{
10574
11188
  key: string;
10575
11189
  platform: Platform;
10576
11190
  size: number;
11191
+ manifest?: {
11192
+ files: {
11193
+ path: string;
11194
+ name: string;
11195
+ }[];
11196
+ } | undefined;
10577
11197
  }[] | undefined;
10578
11198
  defaultVariation?: {
10579
11199
  id: string;
@@ -10641,6 +11261,12 @@ declare const storefrontSchema: z.ZodObject<{
10641
11261
  key: string;
10642
11262
  platform: Platform;
10643
11263
  size: number;
11264
+ manifest?: {
11265
+ files: {
11266
+ path: string;
11267
+ name: string;
11268
+ }[];
11269
+ } | undefined;
10644
11270
  }[] | undefined;
10645
11271
  defaultVariation?: {
10646
11272
  id: string;
@@ -10761,6 +11387,7 @@ declare namespace schemas {
10761
11387
  interface MoonbaseConfiguration {
10762
11388
  endpoint: string;
10763
11389
  persistUtm?: boolean;
11390
+ includeManifests?: boolean;
10764
11391
  }
10765
11392
  declare class MoonbaseClient {
10766
11393
  private readonly configuration;
@@ -10775,4 +11402,4 @@ declare class MoonbaseClient {
10775
11402
  orders: OrderEndpoints;
10776
11403
  }
10777
11404
 
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 };
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 };