@moonbase.sh/storefront-api 0.2.51 → 0.2.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -495,7 +495,6 @@ var lineItemBundleSchema = import_zod8.z.object({
495
495
  name: import_zod8.z.string(),
496
496
  tagline: import_zod8.z.string(),
497
497
  iconUrl: import_zod8.z.string().nullable(),
498
- partial: import_zod8.z.boolean(),
499
498
  products: lineItemProductSchema.and(import_zod8.z.object({
500
499
  included: import_zod8.z.boolean().optional()
501
500
  })).array()
@@ -506,6 +505,7 @@ var openBundleLineItem = import_zod8.z.object({
506
505
  bundleId: import_zod8.z.string(),
507
506
  quantity: import_zod8.z.number(),
508
507
  variationId: import_zod8.z.string(),
508
+ partial: import_zod8.z.boolean().optional(),
509
509
  price: priceCollectionSchema.optional(),
510
510
  variation: pricingVariationSchema.optional(),
511
511
  bundle: lineItemBundleSchema.optional(),
package/dist/index.d.cts CHANGED
@@ -1022,6 +1022,7 @@ declare const openBundleLineItem: z.ZodObject<{
1022
1022
  bundleId: z.ZodString;
1023
1023
  quantity: z.ZodNumber;
1024
1024
  variationId: z.ZodString;
1025
+ partial: z.ZodOptional<z.ZodBoolean>;
1025
1026
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1026
1027
  variation: z.ZodOptional<z.ZodObject<{
1027
1028
  id: z.ZodString;
@@ -1115,7 +1116,6 @@ declare const openBundleLineItem: z.ZodObject<{
1115
1116
  name: z.ZodString;
1116
1117
  tagline: z.ZodString;
1117
1118
  iconUrl: z.ZodNullable<z.ZodString>;
1118
- partial: z.ZodBoolean;
1119
1119
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1120
1120
  id: z.ZodString;
1121
1121
  name: z.ZodString;
@@ -1143,7 +1143,6 @@ declare const openBundleLineItem: z.ZodObject<{
1143
1143
  name: string;
1144
1144
  tagline: string;
1145
1145
  iconUrl: string | null;
1146
- partial: boolean;
1147
1146
  products: ({
1148
1147
  id: string;
1149
1148
  name: string;
@@ -1157,7 +1156,6 @@ declare const openBundleLineItem: z.ZodObject<{
1157
1156
  name: string;
1158
1157
  tagline: string;
1159
1158
  iconUrl: string | null;
1160
- partial: boolean;
1161
1159
  products: ({
1162
1160
  id: string;
1163
1161
  name: string;
@@ -1214,12 +1212,12 @@ declare const openBundleLineItem: z.ZodObject<{
1214
1212
  variationId: string;
1215
1213
  bundleId: string;
1216
1214
  price?: Record<string, number> | undefined;
1215
+ partial?: boolean | undefined;
1217
1216
  bundle?: {
1218
1217
  id: string;
1219
1218
  name: string;
1220
1219
  tagline: string;
1221
1220
  iconUrl: string | null;
1222
- partial: boolean;
1223
1221
  products: ({
1224
1222
  id: string;
1225
1223
  name: string;
@@ -1271,12 +1269,12 @@ declare const openBundleLineItem: z.ZodObject<{
1271
1269
  variationId: string;
1272
1270
  bundleId: string;
1273
1271
  price?: Record<string, number> | undefined;
1272
+ partial?: boolean | undefined;
1274
1273
  bundle?: {
1275
1274
  id: string;
1276
1275
  name: string;
1277
1276
  tagline: string;
1278
1277
  iconUrl: string | null;
1279
- partial: boolean;
1280
1278
  products: ({
1281
1279
  id: string;
1282
1280
  name: string;
@@ -1574,6 +1572,7 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1574
1572
  bundleId: z.ZodString;
1575
1573
  quantity: z.ZodNumber;
1576
1574
  variationId: z.ZodString;
1575
+ partial: z.ZodOptional<z.ZodBoolean>;
1577
1576
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1578
1577
  variation: z.ZodOptional<z.ZodObject<{
1579
1578
  id: z.ZodString;
@@ -1667,7 +1666,6 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1667
1666
  name: z.ZodString;
1668
1667
  tagline: z.ZodString;
1669
1668
  iconUrl: z.ZodNullable<z.ZodString>;
1670
- partial: z.ZodBoolean;
1671
1669
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1672
1670
  id: z.ZodString;
1673
1671
  name: z.ZodString;
@@ -1695,7 +1693,6 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1695
1693
  name: string;
1696
1694
  tagline: string;
1697
1695
  iconUrl: string | null;
1698
- partial: boolean;
1699
1696
  products: ({
1700
1697
  id: string;
1701
1698
  name: string;
@@ -1709,7 +1706,6 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1709
1706
  name: string;
1710
1707
  tagline: string;
1711
1708
  iconUrl: string | null;
1712
- partial: boolean;
1713
1709
  products: ({
1714
1710
  id: string;
1715
1711
  name: string;
@@ -1766,12 +1762,12 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1766
1762
  variationId: string;
1767
1763
  bundleId: string;
1768
1764
  price?: Record<string, number> | undefined;
1765
+ partial?: boolean | undefined;
1769
1766
  bundle?: {
1770
1767
  id: string;
1771
1768
  name: string;
1772
1769
  tagline: string;
1773
1770
  iconUrl: string | null;
1774
- partial: boolean;
1775
1771
  products: ({
1776
1772
  id: string;
1777
1773
  name: string;
@@ -1823,12 +1819,12 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1823
1819
  variationId: string;
1824
1820
  bundleId: string;
1825
1821
  price?: Record<string, number> | undefined;
1822
+ partial?: boolean | undefined;
1826
1823
  bundle?: {
1827
1824
  id: string;
1828
1825
  name: string;
1829
1826
  tagline: string;
1830
1827
  iconUrl: string | null;
1831
- partial: boolean;
1832
1828
  products: ({
1833
1829
  id: string;
1834
1830
  name: string;
@@ -2130,6 +2126,7 @@ declare const openOrderSchema: z.ZodObject<{
2130
2126
  bundleId: z.ZodString;
2131
2127
  quantity: z.ZodNumber;
2132
2128
  variationId: z.ZodString;
2129
+ partial: z.ZodOptional<z.ZodBoolean>;
2133
2130
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2134
2131
  variation: z.ZodOptional<z.ZodObject<{
2135
2132
  id: z.ZodString;
@@ -2223,7 +2220,6 @@ declare const openOrderSchema: z.ZodObject<{
2223
2220
  name: z.ZodString;
2224
2221
  tagline: z.ZodString;
2225
2222
  iconUrl: z.ZodNullable<z.ZodString>;
2226
- partial: z.ZodBoolean;
2227
2223
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
2228
2224
  id: z.ZodString;
2229
2225
  name: z.ZodString;
@@ -2251,7 +2247,6 @@ declare const openOrderSchema: z.ZodObject<{
2251
2247
  name: string;
2252
2248
  tagline: string;
2253
2249
  iconUrl: string | null;
2254
- partial: boolean;
2255
2250
  products: ({
2256
2251
  id: string;
2257
2252
  name: string;
@@ -2265,7 +2260,6 @@ declare const openOrderSchema: z.ZodObject<{
2265
2260
  name: string;
2266
2261
  tagline: string;
2267
2262
  iconUrl: string | null;
2268
- partial: boolean;
2269
2263
  products: ({
2270
2264
  id: string;
2271
2265
  name: string;
@@ -2322,12 +2316,12 @@ declare const openOrderSchema: z.ZodObject<{
2322
2316
  variationId: string;
2323
2317
  bundleId: string;
2324
2318
  price?: Record<string, number> | undefined;
2319
+ partial?: boolean | undefined;
2325
2320
  bundle?: {
2326
2321
  id: string;
2327
2322
  name: string;
2328
2323
  tagline: string;
2329
2324
  iconUrl: string | null;
2330
- partial: boolean;
2331
2325
  products: ({
2332
2326
  id: string;
2333
2327
  name: string;
@@ -2379,12 +2373,12 @@ declare const openOrderSchema: z.ZodObject<{
2379
2373
  variationId: string;
2380
2374
  bundleId: string;
2381
2375
  price?: Record<string, number> | undefined;
2376
+ partial?: boolean | undefined;
2382
2377
  bundle?: {
2383
2378
  id: string;
2384
2379
  name: string;
2385
2380
  tagline: string;
2386
2381
  iconUrl: string | null;
2387
- partial: boolean;
2388
2382
  products: ({
2389
2383
  id: string;
2390
2384
  name: string;
@@ -2503,12 +2497,12 @@ declare const openOrderSchema: z.ZodObject<{
2503
2497
  variationId: string;
2504
2498
  bundleId: string;
2505
2499
  price?: Record<string, number> | undefined;
2500
+ partial?: boolean | undefined;
2506
2501
  bundle?: {
2507
2502
  id: string;
2508
2503
  name: string;
2509
2504
  tagline: string;
2510
2505
  iconUrl: string | null;
2511
- partial: boolean;
2512
2506
  products: ({
2513
2507
  id: string;
2514
2508
  name: string;
@@ -2620,12 +2614,12 @@ declare const openOrderSchema: z.ZodObject<{
2620
2614
  variationId: string;
2621
2615
  bundleId: string;
2622
2616
  price?: Record<string, number> | undefined;
2617
+ partial?: boolean | undefined;
2623
2618
  bundle?: {
2624
2619
  id: string;
2625
2620
  name: string;
2626
2621
  tagline: string;
2627
2622
  iconUrl: string | null;
2628
- partial: boolean;
2629
2623
  products: ({
2630
2624
  id: string;
2631
2625
  name: string;
@@ -3084,6 +3078,7 @@ declare const completedOrderSchema: z.ZodObject<{
3084
3078
  bundleId: z.ZodString;
3085
3079
  quantity: z.ZodNumber;
3086
3080
  variationId: z.ZodString;
3081
+ partial: z.ZodOptional<z.ZodBoolean>;
3087
3082
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3088
3083
  variation: z.ZodOptional<z.ZodObject<{
3089
3084
  id: z.ZodString;
@@ -3177,7 +3172,6 @@ declare const completedOrderSchema: z.ZodObject<{
3177
3172
  name: z.ZodString;
3178
3173
  tagline: z.ZodString;
3179
3174
  iconUrl: z.ZodNullable<z.ZodString>;
3180
- partial: z.ZodBoolean;
3181
3175
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
3182
3176
  id: z.ZodString;
3183
3177
  name: z.ZodString;
@@ -3205,7 +3199,6 @@ declare const completedOrderSchema: z.ZodObject<{
3205
3199
  name: string;
3206
3200
  tagline: string;
3207
3201
  iconUrl: string | null;
3208
- partial: boolean;
3209
3202
  products: ({
3210
3203
  id: string;
3211
3204
  name: string;
@@ -3219,7 +3212,6 @@ declare const completedOrderSchema: z.ZodObject<{
3219
3212
  name: string;
3220
3213
  tagline: string;
3221
3214
  iconUrl: string | null;
3222
- partial: boolean;
3223
3215
  products: ({
3224
3216
  id: string;
3225
3217
  name: string;
@@ -3276,12 +3268,12 @@ declare const completedOrderSchema: z.ZodObject<{
3276
3268
  variationId: string;
3277
3269
  bundleId: string;
3278
3270
  price?: Record<string, number> | undefined;
3271
+ partial?: boolean | undefined;
3279
3272
  bundle?: {
3280
3273
  id: string;
3281
3274
  name: string;
3282
3275
  tagline: string;
3283
3276
  iconUrl: string | null;
3284
- partial: boolean;
3285
3277
  products: ({
3286
3278
  id: string;
3287
3279
  name: string;
@@ -3333,12 +3325,12 @@ declare const completedOrderSchema: z.ZodObject<{
3333
3325
  variationId: string;
3334
3326
  bundleId: string;
3335
3327
  price?: Record<string, number> | undefined;
3328
+ partial?: boolean | undefined;
3336
3329
  bundle?: {
3337
3330
  id: string;
3338
3331
  name: string;
3339
3332
  tagline: string;
3340
3333
  iconUrl: string | null;
3341
- partial: boolean;
3342
3334
  products: ({
3343
3335
  id: string;
3344
3336
  name: string;
@@ -3477,12 +3469,12 @@ declare const completedOrderSchema: z.ZodObject<{
3477
3469
  variationId: string;
3478
3470
  bundleId: string;
3479
3471
  price?: Record<string, number> | undefined;
3472
+ partial?: boolean | undefined;
3480
3473
  bundle?: {
3481
3474
  id: string;
3482
3475
  name: string;
3483
3476
  tagline: string;
3484
3477
  iconUrl: string | null;
3485
- partial: boolean;
3486
3478
  products: ({
3487
3479
  id: string;
3488
3480
  name: string;
@@ -3628,12 +3620,12 @@ declare const completedOrderSchema: z.ZodObject<{
3628
3620
  variationId: string;
3629
3621
  bundleId: string;
3630
3622
  price?: Record<string, number> | undefined;
3623
+ partial?: boolean | undefined;
3631
3624
  bundle?: {
3632
3625
  id: string;
3633
3626
  name: string;
3634
3627
  tagline: string;
3635
3628
  iconUrl: string | null;
3636
- partial: boolean;
3637
3629
  products: ({
3638
3630
  id: string;
3639
3631
  name: string;
@@ -3956,6 +3948,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3956
3948
  bundleId: z.ZodString;
3957
3949
  quantity: z.ZodNumber;
3958
3950
  variationId: z.ZodString;
3951
+ partial: z.ZodOptional<z.ZodBoolean>;
3959
3952
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3960
3953
  variation: z.ZodOptional<z.ZodObject<{
3961
3954
  id: z.ZodString;
@@ -4049,7 +4042,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4049
4042
  name: z.ZodString;
4050
4043
  tagline: z.ZodString;
4051
4044
  iconUrl: z.ZodNullable<z.ZodString>;
4052
- partial: z.ZodBoolean;
4053
4045
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
4054
4046
  id: z.ZodString;
4055
4047
  name: z.ZodString;
@@ -4077,7 +4069,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4077
4069
  name: string;
4078
4070
  tagline: string;
4079
4071
  iconUrl: string | null;
4080
- partial: boolean;
4081
4072
  products: ({
4082
4073
  id: string;
4083
4074
  name: string;
@@ -4091,7 +4082,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4091
4082
  name: string;
4092
4083
  tagline: string;
4093
4084
  iconUrl: string | null;
4094
- partial: boolean;
4095
4085
  products: ({
4096
4086
  id: string;
4097
4087
  name: string;
@@ -4148,12 +4138,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4148
4138
  variationId: string;
4149
4139
  bundleId: string;
4150
4140
  price?: Record<string, number> | undefined;
4141
+ partial?: boolean | undefined;
4151
4142
  bundle?: {
4152
4143
  id: string;
4153
4144
  name: string;
4154
4145
  tagline: string;
4155
4146
  iconUrl: string | null;
4156
- partial: boolean;
4157
4147
  products: ({
4158
4148
  id: string;
4159
4149
  name: string;
@@ -4205,12 +4195,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4205
4195
  variationId: string;
4206
4196
  bundleId: string;
4207
4197
  price?: Record<string, number> | undefined;
4198
+ partial?: boolean | undefined;
4208
4199
  bundle?: {
4209
4200
  id: string;
4210
4201
  name: string;
4211
4202
  tagline: string;
4212
4203
  iconUrl: string | null;
4213
- partial: boolean;
4214
4204
  products: ({
4215
4205
  id: string;
4216
4206
  name: string;
@@ -4329,12 +4319,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4329
4319
  variationId: string;
4330
4320
  bundleId: string;
4331
4321
  price?: Record<string, number> | undefined;
4322
+ partial?: boolean | undefined;
4332
4323
  bundle?: {
4333
4324
  id: string;
4334
4325
  name: string;
4335
4326
  tagline: string;
4336
4327
  iconUrl: string | null;
4337
- partial: boolean;
4338
4328
  products: ({
4339
4329
  id: string;
4340
4330
  name: string;
@@ -4446,12 +4436,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4446
4436
  variationId: string;
4447
4437
  bundleId: string;
4448
4438
  price?: Record<string, number> | undefined;
4439
+ partial?: boolean | undefined;
4449
4440
  bundle?: {
4450
4441
  id: string;
4451
4442
  name: string;
4452
4443
  tagline: string;
4453
4444
  iconUrl: string | null;
4454
- partial: boolean;
4455
4445
  products: ({
4456
4446
  id: string;
4457
4447
  name: string;
@@ -4909,6 +4899,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4909
4899
  bundleId: z.ZodString;
4910
4900
  quantity: z.ZodNumber;
4911
4901
  variationId: z.ZodString;
4902
+ partial: z.ZodOptional<z.ZodBoolean>;
4912
4903
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4913
4904
  variation: z.ZodOptional<z.ZodObject<{
4914
4905
  id: z.ZodString;
@@ -5002,7 +4993,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5002
4993
  name: z.ZodString;
5003
4994
  tagline: z.ZodString;
5004
4995
  iconUrl: z.ZodNullable<z.ZodString>;
5005
- partial: z.ZodBoolean;
5006
4996
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
5007
4997
  id: z.ZodString;
5008
4998
  name: z.ZodString;
@@ -5030,7 +5020,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5030
5020
  name: string;
5031
5021
  tagline: string;
5032
5022
  iconUrl: string | null;
5033
- partial: boolean;
5034
5023
  products: ({
5035
5024
  id: string;
5036
5025
  name: string;
@@ -5044,7 +5033,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5044
5033
  name: string;
5045
5034
  tagline: string;
5046
5035
  iconUrl: string | null;
5047
- partial: boolean;
5048
5036
  products: ({
5049
5037
  id: string;
5050
5038
  name: string;
@@ -5101,12 +5089,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5101
5089
  variationId: string;
5102
5090
  bundleId: string;
5103
5091
  price?: Record<string, number> | undefined;
5092
+ partial?: boolean | undefined;
5104
5093
  bundle?: {
5105
5094
  id: string;
5106
5095
  name: string;
5107
5096
  tagline: string;
5108
5097
  iconUrl: string | null;
5109
- partial: boolean;
5110
5098
  products: ({
5111
5099
  id: string;
5112
5100
  name: string;
@@ -5158,12 +5146,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5158
5146
  variationId: string;
5159
5147
  bundleId: string;
5160
5148
  price?: Record<string, number> | undefined;
5149
+ partial?: boolean | undefined;
5161
5150
  bundle?: {
5162
5151
  id: string;
5163
5152
  name: string;
5164
5153
  tagline: string;
5165
5154
  iconUrl: string | null;
5166
- partial: boolean;
5167
5155
  products: ({
5168
5156
  id: string;
5169
5157
  name: string;
@@ -5302,12 +5290,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5302
5290
  variationId: string;
5303
5291
  bundleId: string;
5304
5292
  price?: Record<string, number> | undefined;
5293
+ partial?: boolean | undefined;
5305
5294
  bundle?: {
5306
5295
  id: string;
5307
5296
  name: string;
5308
5297
  tagline: string;
5309
5298
  iconUrl: string | null;
5310
- partial: boolean;
5311
5299
  products: ({
5312
5300
  id: string;
5313
5301
  name: string;
@@ -5453,12 +5441,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5453
5441
  variationId: string;
5454
5442
  bundleId: string;
5455
5443
  price?: Record<string, number> | undefined;
5444
+ partial?: boolean | undefined;
5456
5445
  bundle?: {
5457
5446
  id: string;
5458
5447
  name: string;
5459
5448
  tagline: string;
5460
5449
  iconUrl: string | null;
5461
- partial: boolean;
5462
5450
  products: ({
5463
5451
  id: string;
5464
5452
  name: string;
@@ -5610,12 +5598,12 @@ declare class OrderEndpoints {
5610
5598
  variationId: string;
5611
5599
  bundleId: string;
5612
5600
  price?: Record<string, number> | undefined;
5601
+ partial?: boolean | undefined;
5613
5602
  bundle?: {
5614
5603
  id: string;
5615
5604
  name: string;
5616
5605
  tagline: string;
5617
5606
  iconUrl: string | null;
5618
- partial: boolean;
5619
5607
  products: ({
5620
5608
  id: string;
5621
5609
  name: string;
@@ -5749,12 +5737,12 @@ declare class OrderEndpoints {
5749
5737
  variationId: string;
5750
5738
  bundleId: string;
5751
5739
  price?: Record<string, number> | undefined;
5740
+ partial?: boolean | undefined;
5752
5741
  bundle?: {
5753
5742
  id: string;
5754
5743
  name: string;
5755
5744
  tagline: string;
5756
5745
  iconUrl: string | null;
5757
- partial: boolean;
5758
5746
  products: ({
5759
5747
  id: string;
5760
5748
  name: string;
package/dist/index.d.ts CHANGED
@@ -1022,6 +1022,7 @@ declare const openBundleLineItem: z.ZodObject<{
1022
1022
  bundleId: z.ZodString;
1023
1023
  quantity: z.ZodNumber;
1024
1024
  variationId: z.ZodString;
1025
+ partial: z.ZodOptional<z.ZodBoolean>;
1025
1026
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1026
1027
  variation: z.ZodOptional<z.ZodObject<{
1027
1028
  id: z.ZodString;
@@ -1115,7 +1116,6 @@ declare const openBundleLineItem: z.ZodObject<{
1115
1116
  name: z.ZodString;
1116
1117
  tagline: z.ZodString;
1117
1118
  iconUrl: z.ZodNullable<z.ZodString>;
1118
- partial: z.ZodBoolean;
1119
1119
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1120
1120
  id: z.ZodString;
1121
1121
  name: z.ZodString;
@@ -1143,7 +1143,6 @@ declare const openBundleLineItem: z.ZodObject<{
1143
1143
  name: string;
1144
1144
  tagline: string;
1145
1145
  iconUrl: string | null;
1146
- partial: boolean;
1147
1146
  products: ({
1148
1147
  id: string;
1149
1148
  name: string;
@@ -1157,7 +1156,6 @@ declare const openBundleLineItem: z.ZodObject<{
1157
1156
  name: string;
1158
1157
  tagline: string;
1159
1158
  iconUrl: string | null;
1160
- partial: boolean;
1161
1159
  products: ({
1162
1160
  id: string;
1163
1161
  name: string;
@@ -1214,12 +1212,12 @@ declare const openBundleLineItem: z.ZodObject<{
1214
1212
  variationId: string;
1215
1213
  bundleId: string;
1216
1214
  price?: Record<string, number> | undefined;
1215
+ partial?: boolean | undefined;
1217
1216
  bundle?: {
1218
1217
  id: string;
1219
1218
  name: string;
1220
1219
  tagline: string;
1221
1220
  iconUrl: string | null;
1222
- partial: boolean;
1223
1221
  products: ({
1224
1222
  id: string;
1225
1223
  name: string;
@@ -1271,12 +1269,12 @@ declare const openBundleLineItem: z.ZodObject<{
1271
1269
  variationId: string;
1272
1270
  bundleId: string;
1273
1271
  price?: Record<string, number> | undefined;
1272
+ partial?: boolean | undefined;
1274
1273
  bundle?: {
1275
1274
  id: string;
1276
1275
  name: string;
1277
1276
  tagline: string;
1278
1277
  iconUrl: string | null;
1279
- partial: boolean;
1280
1278
  products: ({
1281
1279
  id: string;
1282
1280
  name: string;
@@ -1574,6 +1572,7 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1574
1572
  bundleId: z.ZodString;
1575
1573
  quantity: z.ZodNumber;
1576
1574
  variationId: z.ZodString;
1575
+ partial: z.ZodOptional<z.ZodBoolean>;
1577
1576
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1578
1577
  variation: z.ZodOptional<z.ZodObject<{
1579
1578
  id: z.ZodString;
@@ -1667,7 +1666,6 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1667
1666
  name: z.ZodString;
1668
1667
  tagline: z.ZodString;
1669
1668
  iconUrl: z.ZodNullable<z.ZodString>;
1670
- partial: z.ZodBoolean;
1671
1669
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1672
1670
  id: z.ZodString;
1673
1671
  name: z.ZodString;
@@ -1695,7 +1693,6 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1695
1693
  name: string;
1696
1694
  tagline: string;
1697
1695
  iconUrl: string | null;
1698
- partial: boolean;
1699
1696
  products: ({
1700
1697
  id: string;
1701
1698
  name: string;
@@ -1709,7 +1706,6 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1709
1706
  name: string;
1710
1707
  tagline: string;
1711
1708
  iconUrl: string | null;
1712
- partial: boolean;
1713
1709
  products: ({
1714
1710
  id: string;
1715
1711
  name: string;
@@ -1766,12 +1762,12 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1766
1762
  variationId: string;
1767
1763
  bundleId: string;
1768
1764
  price?: Record<string, number> | undefined;
1765
+ partial?: boolean | undefined;
1769
1766
  bundle?: {
1770
1767
  id: string;
1771
1768
  name: string;
1772
1769
  tagline: string;
1773
1770
  iconUrl: string | null;
1774
- partial: boolean;
1775
1771
  products: ({
1776
1772
  id: string;
1777
1773
  name: string;
@@ -1823,12 +1819,12 @@ declare const openOrderLineItem: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1823
1819
  variationId: string;
1824
1820
  bundleId: string;
1825
1821
  price?: Record<string, number> | undefined;
1822
+ partial?: boolean | undefined;
1826
1823
  bundle?: {
1827
1824
  id: string;
1828
1825
  name: string;
1829
1826
  tagline: string;
1830
1827
  iconUrl: string | null;
1831
- partial: boolean;
1832
1828
  products: ({
1833
1829
  id: string;
1834
1830
  name: string;
@@ -2130,6 +2126,7 @@ declare const openOrderSchema: z.ZodObject<{
2130
2126
  bundleId: z.ZodString;
2131
2127
  quantity: z.ZodNumber;
2132
2128
  variationId: z.ZodString;
2129
+ partial: z.ZodOptional<z.ZodBoolean>;
2133
2130
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
2134
2131
  variation: z.ZodOptional<z.ZodObject<{
2135
2132
  id: z.ZodString;
@@ -2223,7 +2220,6 @@ declare const openOrderSchema: z.ZodObject<{
2223
2220
  name: z.ZodString;
2224
2221
  tagline: z.ZodString;
2225
2222
  iconUrl: z.ZodNullable<z.ZodString>;
2226
- partial: z.ZodBoolean;
2227
2223
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
2228
2224
  id: z.ZodString;
2229
2225
  name: z.ZodString;
@@ -2251,7 +2247,6 @@ declare const openOrderSchema: z.ZodObject<{
2251
2247
  name: string;
2252
2248
  tagline: string;
2253
2249
  iconUrl: string | null;
2254
- partial: boolean;
2255
2250
  products: ({
2256
2251
  id: string;
2257
2252
  name: string;
@@ -2265,7 +2260,6 @@ declare const openOrderSchema: z.ZodObject<{
2265
2260
  name: string;
2266
2261
  tagline: string;
2267
2262
  iconUrl: string | null;
2268
- partial: boolean;
2269
2263
  products: ({
2270
2264
  id: string;
2271
2265
  name: string;
@@ -2322,12 +2316,12 @@ declare const openOrderSchema: z.ZodObject<{
2322
2316
  variationId: string;
2323
2317
  bundleId: string;
2324
2318
  price?: Record<string, number> | undefined;
2319
+ partial?: boolean | undefined;
2325
2320
  bundle?: {
2326
2321
  id: string;
2327
2322
  name: string;
2328
2323
  tagline: string;
2329
2324
  iconUrl: string | null;
2330
- partial: boolean;
2331
2325
  products: ({
2332
2326
  id: string;
2333
2327
  name: string;
@@ -2379,12 +2373,12 @@ declare const openOrderSchema: z.ZodObject<{
2379
2373
  variationId: string;
2380
2374
  bundleId: string;
2381
2375
  price?: Record<string, number> | undefined;
2376
+ partial?: boolean | undefined;
2382
2377
  bundle?: {
2383
2378
  id: string;
2384
2379
  name: string;
2385
2380
  tagline: string;
2386
2381
  iconUrl: string | null;
2387
- partial: boolean;
2388
2382
  products: ({
2389
2383
  id: string;
2390
2384
  name: string;
@@ -2503,12 +2497,12 @@ declare const openOrderSchema: z.ZodObject<{
2503
2497
  variationId: string;
2504
2498
  bundleId: string;
2505
2499
  price?: Record<string, number> | undefined;
2500
+ partial?: boolean | undefined;
2506
2501
  bundle?: {
2507
2502
  id: string;
2508
2503
  name: string;
2509
2504
  tagline: string;
2510
2505
  iconUrl: string | null;
2511
- partial: boolean;
2512
2506
  products: ({
2513
2507
  id: string;
2514
2508
  name: string;
@@ -2620,12 +2614,12 @@ declare const openOrderSchema: z.ZodObject<{
2620
2614
  variationId: string;
2621
2615
  bundleId: string;
2622
2616
  price?: Record<string, number> | undefined;
2617
+ partial?: boolean | undefined;
2623
2618
  bundle?: {
2624
2619
  id: string;
2625
2620
  name: string;
2626
2621
  tagline: string;
2627
2622
  iconUrl: string | null;
2628
- partial: boolean;
2629
2623
  products: ({
2630
2624
  id: string;
2631
2625
  name: string;
@@ -3084,6 +3078,7 @@ declare const completedOrderSchema: z.ZodObject<{
3084
3078
  bundleId: z.ZodString;
3085
3079
  quantity: z.ZodNumber;
3086
3080
  variationId: z.ZodString;
3081
+ partial: z.ZodOptional<z.ZodBoolean>;
3087
3082
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3088
3083
  variation: z.ZodOptional<z.ZodObject<{
3089
3084
  id: z.ZodString;
@@ -3177,7 +3172,6 @@ declare const completedOrderSchema: z.ZodObject<{
3177
3172
  name: z.ZodString;
3178
3173
  tagline: z.ZodString;
3179
3174
  iconUrl: z.ZodNullable<z.ZodString>;
3180
- partial: z.ZodBoolean;
3181
3175
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
3182
3176
  id: z.ZodString;
3183
3177
  name: z.ZodString;
@@ -3205,7 +3199,6 @@ declare const completedOrderSchema: z.ZodObject<{
3205
3199
  name: string;
3206
3200
  tagline: string;
3207
3201
  iconUrl: string | null;
3208
- partial: boolean;
3209
3202
  products: ({
3210
3203
  id: string;
3211
3204
  name: string;
@@ -3219,7 +3212,6 @@ declare const completedOrderSchema: z.ZodObject<{
3219
3212
  name: string;
3220
3213
  tagline: string;
3221
3214
  iconUrl: string | null;
3222
- partial: boolean;
3223
3215
  products: ({
3224
3216
  id: string;
3225
3217
  name: string;
@@ -3276,12 +3268,12 @@ declare const completedOrderSchema: z.ZodObject<{
3276
3268
  variationId: string;
3277
3269
  bundleId: string;
3278
3270
  price?: Record<string, number> | undefined;
3271
+ partial?: boolean | undefined;
3279
3272
  bundle?: {
3280
3273
  id: string;
3281
3274
  name: string;
3282
3275
  tagline: string;
3283
3276
  iconUrl: string | null;
3284
- partial: boolean;
3285
3277
  products: ({
3286
3278
  id: string;
3287
3279
  name: string;
@@ -3333,12 +3325,12 @@ declare const completedOrderSchema: z.ZodObject<{
3333
3325
  variationId: string;
3334
3326
  bundleId: string;
3335
3327
  price?: Record<string, number> | undefined;
3328
+ partial?: boolean | undefined;
3336
3329
  bundle?: {
3337
3330
  id: string;
3338
3331
  name: string;
3339
3332
  tagline: string;
3340
3333
  iconUrl: string | null;
3341
- partial: boolean;
3342
3334
  products: ({
3343
3335
  id: string;
3344
3336
  name: string;
@@ -3477,12 +3469,12 @@ declare const completedOrderSchema: z.ZodObject<{
3477
3469
  variationId: string;
3478
3470
  bundleId: string;
3479
3471
  price?: Record<string, number> | undefined;
3472
+ partial?: boolean | undefined;
3480
3473
  bundle?: {
3481
3474
  id: string;
3482
3475
  name: string;
3483
3476
  tagline: string;
3484
3477
  iconUrl: string | null;
3485
- partial: boolean;
3486
3478
  products: ({
3487
3479
  id: string;
3488
3480
  name: string;
@@ -3628,12 +3620,12 @@ declare const completedOrderSchema: z.ZodObject<{
3628
3620
  variationId: string;
3629
3621
  bundleId: string;
3630
3622
  price?: Record<string, number> | undefined;
3623
+ partial?: boolean | undefined;
3631
3624
  bundle?: {
3632
3625
  id: string;
3633
3626
  name: string;
3634
3627
  tagline: string;
3635
3628
  iconUrl: string | null;
3636
- partial: boolean;
3637
3629
  products: ({
3638
3630
  id: string;
3639
3631
  name: string;
@@ -3956,6 +3948,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3956
3948
  bundleId: z.ZodString;
3957
3949
  quantity: z.ZodNumber;
3958
3950
  variationId: z.ZodString;
3951
+ partial: z.ZodOptional<z.ZodBoolean>;
3959
3952
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
3960
3953
  variation: z.ZodOptional<z.ZodObject<{
3961
3954
  id: z.ZodString;
@@ -4049,7 +4042,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4049
4042
  name: z.ZodString;
4050
4043
  tagline: z.ZodString;
4051
4044
  iconUrl: z.ZodNullable<z.ZodString>;
4052
- partial: z.ZodBoolean;
4053
4045
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
4054
4046
  id: z.ZodString;
4055
4047
  name: z.ZodString;
@@ -4077,7 +4069,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4077
4069
  name: string;
4078
4070
  tagline: string;
4079
4071
  iconUrl: string | null;
4080
- partial: boolean;
4081
4072
  products: ({
4082
4073
  id: string;
4083
4074
  name: string;
@@ -4091,7 +4082,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4091
4082
  name: string;
4092
4083
  tagline: string;
4093
4084
  iconUrl: string | null;
4094
- partial: boolean;
4095
4085
  products: ({
4096
4086
  id: string;
4097
4087
  name: string;
@@ -4148,12 +4138,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4148
4138
  variationId: string;
4149
4139
  bundleId: string;
4150
4140
  price?: Record<string, number> | undefined;
4141
+ partial?: boolean | undefined;
4151
4142
  bundle?: {
4152
4143
  id: string;
4153
4144
  name: string;
4154
4145
  tagline: string;
4155
4146
  iconUrl: string | null;
4156
- partial: boolean;
4157
4147
  products: ({
4158
4148
  id: string;
4159
4149
  name: string;
@@ -4205,12 +4195,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4205
4195
  variationId: string;
4206
4196
  bundleId: string;
4207
4197
  price?: Record<string, number> | undefined;
4198
+ partial?: boolean | undefined;
4208
4199
  bundle?: {
4209
4200
  id: string;
4210
4201
  name: string;
4211
4202
  tagline: string;
4212
4203
  iconUrl: string | null;
4213
- partial: boolean;
4214
4204
  products: ({
4215
4205
  id: string;
4216
4206
  name: string;
@@ -4329,12 +4319,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4329
4319
  variationId: string;
4330
4320
  bundleId: string;
4331
4321
  price?: Record<string, number> | undefined;
4322
+ partial?: boolean | undefined;
4332
4323
  bundle?: {
4333
4324
  id: string;
4334
4325
  name: string;
4335
4326
  tagline: string;
4336
4327
  iconUrl: string | null;
4337
- partial: boolean;
4338
4328
  products: ({
4339
4329
  id: string;
4340
4330
  name: string;
@@ -4446,12 +4436,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4446
4436
  variationId: string;
4447
4437
  bundleId: string;
4448
4438
  price?: Record<string, number> | undefined;
4439
+ partial?: boolean | undefined;
4449
4440
  bundle?: {
4450
4441
  id: string;
4451
4442
  name: string;
4452
4443
  tagline: string;
4453
4444
  iconUrl: string | null;
4454
- partial: boolean;
4455
4445
  products: ({
4456
4446
  id: string;
4457
4447
  name: string;
@@ -4909,6 +4899,7 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4909
4899
  bundleId: z.ZodString;
4910
4900
  quantity: z.ZodNumber;
4911
4901
  variationId: z.ZodString;
4902
+ partial: z.ZodOptional<z.ZodBoolean>;
4912
4903
  price: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
4913
4904
  variation: z.ZodOptional<z.ZodObject<{
4914
4905
  id: z.ZodString;
@@ -5002,7 +4993,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5002
4993
  name: z.ZodString;
5003
4994
  tagline: z.ZodString;
5004
4995
  iconUrl: z.ZodNullable<z.ZodString>;
5005
- partial: z.ZodBoolean;
5006
4996
  products: z.ZodArray<z.ZodIntersection<z.ZodObject<{
5007
4997
  id: z.ZodString;
5008
4998
  name: z.ZodString;
@@ -5030,7 +5020,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5030
5020
  name: string;
5031
5021
  tagline: string;
5032
5022
  iconUrl: string | null;
5033
- partial: boolean;
5034
5023
  products: ({
5035
5024
  id: string;
5036
5025
  name: string;
@@ -5044,7 +5033,6 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5044
5033
  name: string;
5045
5034
  tagline: string;
5046
5035
  iconUrl: string | null;
5047
- partial: boolean;
5048
5036
  products: ({
5049
5037
  id: string;
5050
5038
  name: string;
@@ -5101,12 +5089,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5101
5089
  variationId: string;
5102
5090
  bundleId: string;
5103
5091
  price?: Record<string, number> | undefined;
5092
+ partial?: boolean | undefined;
5104
5093
  bundle?: {
5105
5094
  id: string;
5106
5095
  name: string;
5107
5096
  tagline: string;
5108
5097
  iconUrl: string | null;
5109
- partial: boolean;
5110
5098
  products: ({
5111
5099
  id: string;
5112
5100
  name: string;
@@ -5158,12 +5146,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5158
5146
  variationId: string;
5159
5147
  bundleId: string;
5160
5148
  price?: Record<string, number> | undefined;
5149
+ partial?: boolean | undefined;
5161
5150
  bundle?: {
5162
5151
  id: string;
5163
5152
  name: string;
5164
5153
  tagline: string;
5165
5154
  iconUrl: string | null;
5166
- partial: boolean;
5167
5155
  products: ({
5168
5156
  id: string;
5169
5157
  name: string;
@@ -5302,12 +5290,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5302
5290
  variationId: string;
5303
5291
  bundleId: string;
5304
5292
  price?: Record<string, number> | undefined;
5293
+ partial?: boolean | undefined;
5305
5294
  bundle?: {
5306
5295
  id: string;
5307
5296
  name: string;
5308
5297
  tagline: string;
5309
5298
  iconUrl: string | null;
5310
- partial: boolean;
5311
5299
  products: ({
5312
5300
  id: string;
5313
5301
  name: string;
@@ -5453,12 +5441,12 @@ declare const orderSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
5453
5441
  variationId: string;
5454
5442
  bundleId: string;
5455
5443
  price?: Record<string, number> | undefined;
5444
+ partial?: boolean | undefined;
5456
5445
  bundle?: {
5457
5446
  id: string;
5458
5447
  name: string;
5459
5448
  tagline: string;
5460
5449
  iconUrl: string | null;
5461
- partial: boolean;
5462
5450
  products: ({
5463
5451
  id: string;
5464
5452
  name: string;
@@ -5610,12 +5598,12 @@ declare class OrderEndpoints {
5610
5598
  variationId: string;
5611
5599
  bundleId: string;
5612
5600
  price?: Record<string, number> | undefined;
5601
+ partial?: boolean | undefined;
5613
5602
  bundle?: {
5614
5603
  id: string;
5615
5604
  name: string;
5616
5605
  tagline: string;
5617
5606
  iconUrl: string | null;
5618
- partial: boolean;
5619
5607
  products: ({
5620
5608
  id: string;
5621
5609
  name: string;
@@ -5749,12 +5737,12 @@ declare class OrderEndpoints {
5749
5737
  variationId: string;
5750
5738
  bundleId: string;
5751
5739
  price?: Record<string, number> | undefined;
5740
+ partial?: boolean | undefined;
5752
5741
  bundle?: {
5753
5742
  id: string;
5754
5743
  name: string;
5755
5744
  tagline: string;
5756
5745
  iconUrl: string | null;
5757
- partial: boolean;
5758
5746
  products: ({
5759
5747
  id: string;
5760
5748
  name: string;
package/dist/index.js CHANGED
@@ -453,7 +453,6 @@ var lineItemBundleSchema = z8.object({
453
453
  name: z8.string(),
454
454
  tagline: z8.string(),
455
455
  iconUrl: z8.string().nullable(),
456
- partial: z8.boolean(),
457
456
  products: lineItemProductSchema.and(z8.object({
458
457
  included: z8.boolean().optional()
459
458
  })).array()
@@ -464,6 +463,7 @@ var openBundleLineItem = z8.object({
464
463
  bundleId: z8.string(),
465
464
  quantity: z8.number(),
466
465
  variationId: z8.string(),
466
+ partial: z8.boolean().optional(),
467
467
  price: priceCollectionSchema.optional(),
468
468
  variation: pricingVariationSchema.optional(),
469
469
  bundle: lineItemBundleSchema.optional(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/storefront-api",
3
3
  "type": "module",
4
- "version": "0.2.51",
4
+ "version": "0.2.54",
5
5
  "description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",