@brytdesigns/shopify-ajax-cart-api 1.0.10 → 1.0.12
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/effect/index.d.ts +386 -411
- package/dist/effect/schema.js +140 -58
- package/dist/effect/schema.js.map +1 -1
- package/dist/esm/index.js +156 -65
- package/dist/esm/index.js.map +1 -1
- package/dist/main/effect/schema.js +140 -58
- package/dist/main/effect/schema.js.map +1 -1
- package/dist/main/index.d.ts +815 -796
- package/package.json +1 -1
package/dist/effect/index.d.ts
CHANGED
|
@@ -39,77 +39,12 @@ declare const CartUpdateInput: Schema.extend<Schema.Struct<{
|
|
|
39
39
|
Schema.Array$<typeof Schema.Number>
|
|
40
40
|
]>>;
|
|
41
41
|
note: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
42
|
-
attributes: Schema.optional<Schema.
|
|
42
|
+
attributes: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
43
43
|
typeof Schema.Null,
|
|
44
44
|
typeof Schema.String,
|
|
45
45
|
typeof Schema.Boolean,
|
|
46
46
|
typeof Schema.Number
|
|
47
|
-
]
|
|
48
|
-
private: Schema.Struct<{
|
|
49
|
-
array: Schema.transform<Schema.transform<Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
50
|
-
typeof Schema.Null,
|
|
51
|
-
typeof Schema.String,
|
|
52
|
-
typeof Schema.Boolean,
|
|
53
|
-
typeof Schema.Number
|
|
54
|
-
]>>, Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
55
|
-
typeof Schema.Null,
|
|
56
|
-
typeof Schema.String,
|
|
57
|
-
typeof Schema.Boolean,
|
|
58
|
-
typeof Schema.Number
|
|
59
|
-
]>>>, Schema.Array$<Schema.Struct<{
|
|
60
|
-
key: typeof Schema.String;
|
|
61
|
-
value: Schema.Union<[
|
|
62
|
-
typeof Schema.Null,
|
|
63
|
-
typeof Schema.String,
|
|
64
|
-
typeof Schema.Boolean,
|
|
65
|
-
typeof Schema.Number
|
|
66
|
-
]>;
|
|
67
|
-
}>>>;
|
|
68
|
-
record: Schema.transform<Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
69
|
-
typeof Schema.Null,
|
|
70
|
-
typeof Schema.String,
|
|
71
|
-
typeof Schema.Boolean,
|
|
72
|
-
typeof Schema.Number
|
|
73
|
-
]>>, Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
74
|
-
typeof Schema.Null,
|
|
75
|
-
typeof Schema.String,
|
|
76
|
-
typeof Schema.Boolean,
|
|
77
|
-
typeof Schema.Number
|
|
78
|
-
]>>>;
|
|
79
|
-
}>;
|
|
80
|
-
public: Schema.Struct<{
|
|
81
|
-
array: Schema.transform<Schema.transform<Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
82
|
-
typeof Schema.Null,
|
|
83
|
-
typeof Schema.String,
|
|
84
|
-
typeof Schema.Boolean,
|
|
85
|
-
typeof Schema.Number
|
|
86
|
-
]>>, Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
87
|
-
typeof Schema.Null,
|
|
88
|
-
typeof Schema.String,
|
|
89
|
-
typeof Schema.Boolean,
|
|
90
|
-
typeof Schema.Number
|
|
91
|
-
]>>>, Schema.Array$<Schema.Struct<{
|
|
92
|
-
key: typeof Schema.String;
|
|
93
|
-
value: Schema.Union<[
|
|
94
|
-
typeof Schema.Null,
|
|
95
|
-
typeof Schema.String,
|
|
96
|
-
typeof Schema.Boolean,
|
|
97
|
-
typeof Schema.Number
|
|
98
|
-
]>;
|
|
99
|
-
}>>>;
|
|
100
|
-
record: Schema.transform<Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
101
|
-
typeof Schema.Null,
|
|
102
|
-
typeof Schema.String,
|
|
103
|
-
typeof Schema.Boolean,
|
|
104
|
-
typeof Schema.Number
|
|
105
|
-
]>>, Schema.Record$<typeof Schema.String, Schema.Union<[
|
|
106
|
-
typeof Schema.Null,
|
|
107
|
-
typeof Schema.String,
|
|
108
|
-
typeof Schema.Boolean,
|
|
109
|
-
typeof Schema.Number
|
|
110
|
-
]>>>;
|
|
111
|
-
}>;
|
|
112
|
-
}>>>;
|
|
47
|
+
]>>>;
|
|
113
48
|
discount: Schema.optional<Schema.transform<Schema.Array$<typeof Schema.String>, typeof Schema.String>>;
|
|
114
49
|
}>, Schema.Struct<{
|
|
115
50
|
sections: Schema.optional<typeof Schema.String>;
|
|
@@ -216,31 +151,14 @@ export declare const add: (input?: ({
|
|
|
216
151
|
readonly sections?: string | undefined;
|
|
217
152
|
readonly sections_url?: string | undefined;
|
|
218
153
|
}) | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
219
|
-
readonly items: readonly {
|
|
154
|
+
readonly items: readonly ({
|
|
220
155
|
readonly key: string;
|
|
221
156
|
readonly title: string;
|
|
222
157
|
readonly url: string;
|
|
223
158
|
readonly price: number;
|
|
224
159
|
readonly id: string | number;
|
|
225
160
|
readonly properties: {
|
|
226
|
-
readonly
|
|
227
|
-
readonly array: readonly {
|
|
228
|
-
readonly key: string;
|
|
229
|
-
readonly value: string | number | boolean | null;
|
|
230
|
-
}[];
|
|
231
|
-
readonly record: {
|
|
232
|
-
readonly [x: string]: string | number | boolean | null;
|
|
233
|
-
};
|
|
234
|
-
};
|
|
235
|
-
readonly public: {
|
|
236
|
-
readonly array: readonly {
|
|
237
|
-
readonly key: string;
|
|
238
|
-
readonly value: string | number | boolean | null;
|
|
239
|
-
}[];
|
|
240
|
-
readonly record: {
|
|
241
|
-
readonly [x: string]: string | number | boolean | null;
|
|
242
|
-
};
|
|
243
|
-
};
|
|
161
|
+
readonly [x: string]: string | number | boolean | null;
|
|
244
162
|
};
|
|
245
163
|
readonly quantity: number;
|
|
246
164
|
readonly variant_id: string | number;
|
|
@@ -336,37 +254,39 @@ export declare const add: (input?: ({
|
|
|
336
254
|
}[];
|
|
337
255
|
};
|
|
338
256
|
} | null;
|
|
339
|
-
}
|
|
257
|
+
} & {
|
|
258
|
+
readonly properties_array: readonly {
|
|
259
|
+
readonly key: string;
|
|
260
|
+
readonly value: string | number | boolean | null;
|
|
261
|
+
}[];
|
|
262
|
+
readonly private_properties: {
|
|
263
|
+
readonly [x: string]: string | number | boolean | null;
|
|
264
|
+
};
|
|
265
|
+
readonly private_properties_array: readonly {
|
|
266
|
+
readonly key: string;
|
|
267
|
+
readonly value: string | number | boolean | null;
|
|
268
|
+
}[];
|
|
269
|
+
readonly public_properties: {
|
|
270
|
+
readonly [x: string]: string | number | boolean | null;
|
|
271
|
+
};
|
|
272
|
+
readonly public_properties_array: readonly {
|
|
273
|
+
readonly key: string;
|
|
274
|
+
readonly value: string | number | boolean | null;
|
|
275
|
+
}[];
|
|
276
|
+
})[];
|
|
340
277
|
} & {
|
|
341
278
|
readonly sections: {
|
|
342
279
|
readonly [x: string]: string | null;
|
|
343
280
|
};
|
|
344
281
|
}> | AjaxClientResponse<{
|
|
345
|
-
readonly items: readonly {
|
|
282
|
+
readonly items: readonly ({
|
|
346
283
|
readonly key: string;
|
|
347
284
|
readonly title: string;
|
|
348
285
|
readonly url: string;
|
|
349
286
|
readonly price: number;
|
|
350
287
|
readonly id: string | number;
|
|
351
288
|
readonly properties: {
|
|
352
|
-
readonly
|
|
353
|
-
readonly array: readonly {
|
|
354
|
-
readonly key: string;
|
|
355
|
-
readonly value: string | number | boolean | null;
|
|
356
|
-
}[];
|
|
357
|
-
readonly record: {
|
|
358
|
-
readonly [x: string]: string | number | boolean | null;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
readonly public: {
|
|
362
|
-
readonly array: readonly {
|
|
363
|
-
readonly key: string;
|
|
364
|
-
readonly value: string | number | boolean | null;
|
|
365
|
-
}[];
|
|
366
|
-
readonly record: {
|
|
367
|
-
readonly [x: string]: string | number | boolean | null;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
289
|
+
readonly [x: string]: string | number | boolean | null;
|
|
370
290
|
};
|
|
371
291
|
readonly quantity: number;
|
|
372
292
|
readonly variant_id: string | number;
|
|
@@ -462,7 +382,26 @@ export declare const add: (input?: ({
|
|
|
462
382
|
}[];
|
|
463
383
|
};
|
|
464
384
|
} | null;
|
|
465
|
-
}
|
|
385
|
+
} & {
|
|
386
|
+
readonly properties_array: readonly {
|
|
387
|
+
readonly key: string;
|
|
388
|
+
readonly value: string | number | boolean | null;
|
|
389
|
+
}[];
|
|
390
|
+
readonly private_properties: {
|
|
391
|
+
readonly [x: string]: string | number | boolean | null;
|
|
392
|
+
};
|
|
393
|
+
readonly private_properties_array: readonly {
|
|
394
|
+
readonly key: string;
|
|
395
|
+
readonly value: string | number | boolean | null;
|
|
396
|
+
}[];
|
|
397
|
+
readonly public_properties: {
|
|
398
|
+
readonly [x: string]: string | number | boolean | null;
|
|
399
|
+
};
|
|
400
|
+
readonly public_properties_array: readonly {
|
|
401
|
+
readonly key: string;
|
|
402
|
+
readonly value: string | number | boolean | null;
|
|
403
|
+
}[];
|
|
404
|
+
})[];
|
|
466
405
|
} & {
|
|
467
406
|
readonly sections: null;
|
|
468
407
|
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
@@ -501,24 +440,7 @@ export declare const change: (input?: ({
|
|
|
501
440
|
readonly token: string;
|
|
502
441
|
readonly note: string | null;
|
|
503
442
|
readonly attributes: {
|
|
504
|
-
readonly
|
|
505
|
-
readonly array: readonly {
|
|
506
|
-
readonly key: string;
|
|
507
|
-
readonly value: string | number | boolean | null;
|
|
508
|
-
}[];
|
|
509
|
-
readonly record: {
|
|
510
|
-
readonly [x: string]: string | number | boolean | null;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
readonly public: {
|
|
514
|
-
readonly array: readonly {
|
|
515
|
-
readonly key: string;
|
|
516
|
-
readonly value: string | number | boolean | null;
|
|
517
|
-
}[];
|
|
518
|
-
readonly record: {
|
|
519
|
-
readonly [x: string]: string | number | boolean | null;
|
|
520
|
-
};
|
|
521
|
-
};
|
|
443
|
+
readonly [x: string]: string | number | boolean | null;
|
|
522
444
|
};
|
|
523
445
|
readonly discount_codes: readonly {
|
|
524
446
|
readonly code: string;
|
|
@@ -528,31 +450,14 @@ export declare const change: (input?: ({
|
|
|
528
450
|
readonly total_price: number;
|
|
529
451
|
readonly total_weight: number;
|
|
530
452
|
readonly item_count: number;
|
|
531
|
-
readonly items: readonly {
|
|
453
|
+
readonly items: readonly ({
|
|
532
454
|
readonly key: string;
|
|
533
455
|
readonly title: string;
|
|
534
456
|
readonly url: string;
|
|
535
457
|
readonly price: number;
|
|
536
458
|
readonly id: string | number;
|
|
537
459
|
readonly properties: {
|
|
538
|
-
readonly
|
|
539
|
-
readonly array: readonly {
|
|
540
|
-
readonly key: string;
|
|
541
|
-
readonly value: string | number | boolean | null;
|
|
542
|
-
}[];
|
|
543
|
-
readonly record: {
|
|
544
|
-
readonly [x: string]: string | number | boolean | null;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
readonly public: {
|
|
548
|
-
readonly array: readonly {
|
|
549
|
-
readonly key: string;
|
|
550
|
-
readonly value: string | number | boolean | null;
|
|
551
|
-
}[];
|
|
552
|
-
readonly record: {
|
|
553
|
-
readonly [x: string]: string | number | boolean | null;
|
|
554
|
-
};
|
|
555
|
-
};
|
|
460
|
+
readonly [x: string]: string | number | boolean | null;
|
|
556
461
|
};
|
|
557
462
|
readonly quantity: number;
|
|
558
463
|
readonly variant_id: string | number;
|
|
@@ -648,7 +553,26 @@ export declare const change: (input?: ({
|
|
|
648
553
|
}[];
|
|
649
554
|
};
|
|
650
555
|
} | null;
|
|
651
|
-
}
|
|
556
|
+
} & {
|
|
557
|
+
readonly properties_array: readonly {
|
|
558
|
+
readonly key: string;
|
|
559
|
+
readonly value: string | number | boolean | null;
|
|
560
|
+
}[];
|
|
561
|
+
readonly private_properties: {
|
|
562
|
+
readonly [x: string]: string | number | boolean | null;
|
|
563
|
+
};
|
|
564
|
+
readonly private_properties_array: readonly {
|
|
565
|
+
readonly key: string;
|
|
566
|
+
readonly value: string | number | boolean | null;
|
|
567
|
+
}[];
|
|
568
|
+
readonly public_properties: {
|
|
569
|
+
readonly [x: string]: string | number | boolean | null;
|
|
570
|
+
};
|
|
571
|
+
readonly public_properties_array: readonly {
|
|
572
|
+
readonly key: string;
|
|
573
|
+
readonly value: string | number | boolean | null;
|
|
574
|
+
}[];
|
|
575
|
+
})[];
|
|
652
576
|
readonly currency: string;
|
|
653
577
|
readonly items_subtotal_price: number;
|
|
654
578
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -661,6 +585,26 @@ export declare const change: (input?: ({
|
|
|
661
585
|
readonly value_type: "fixed_amount" | "percentage";
|
|
662
586
|
readonly description: string | null;
|
|
663
587
|
}[];
|
|
588
|
+
} & {
|
|
589
|
+
readonly attributes_array: readonly {
|
|
590
|
+
readonly key: string;
|
|
591
|
+
readonly value: string | number | boolean | null;
|
|
592
|
+
}[];
|
|
593
|
+
readonly private_attributes: {
|
|
594
|
+
readonly [x: string]: string | number | boolean | null;
|
|
595
|
+
};
|
|
596
|
+
readonly private_attributes_array: readonly {
|
|
597
|
+
readonly key: string;
|
|
598
|
+
readonly value: string | number | boolean | null;
|
|
599
|
+
}[];
|
|
600
|
+
readonly public_attributes: {
|
|
601
|
+
readonly [x: string]: string | number | boolean | null;
|
|
602
|
+
};
|
|
603
|
+
readonly public_attributes_array: readonly {
|
|
604
|
+
readonly key: string;
|
|
605
|
+
readonly value: string | number | boolean | null;
|
|
606
|
+
}[];
|
|
607
|
+
} & {
|
|
664
608
|
readonly items_added: readonly {
|
|
665
609
|
readonly title: string;
|
|
666
610
|
readonly url: string;
|
|
@@ -713,24 +657,7 @@ export declare const change: (input?: ({
|
|
|
713
657
|
readonly token: string;
|
|
714
658
|
readonly note: string | null;
|
|
715
659
|
readonly attributes: {
|
|
716
|
-
readonly
|
|
717
|
-
readonly array: readonly {
|
|
718
|
-
readonly key: string;
|
|
719
|
-
readonly value: string | number | boolean | null;
|
|
720
|
-
}[];
|
|
721
|
-
readonly record: {
|
|
722
|
-
readonly [x: string]: string | number | boolean | null;
|
|
723
|
-
};
|
|
724
|
-
};
|
|
725
|
-
readonly public: {
|
|
726
|
-
readonly array: readonly {
|
|
727
|
-
readonly key: string;
|
|
728
|
-
readonly value: string | number | boolean | null;
|
|
729
|
-
}[];
|
|
730
|
-
readonly record: {
|
|
731
|
-
readonly [x: string]: string | number | boolean | null;
|
|
732
|
-
};
|
|
733
|
-
};
|
|
660
|
+
readonly [x: string]: string | number | boolean | null;
|
|
734
661
|
};
|
|
735
662
|
readonly discount_codes: readonly {
|
|
736
663
|
readonly code: string;
|
|
@@ -740,31 +667,14 @@ export declare const change: (input?: ({
|
|
|
740
667
|
readonly total_price: number;
|
|
741
668
|
readonly total_weight: number;
|
|
742
669
|
readonly item_count: number;
|
|
743
|
-
readonly items: readonly {
|
|
670
|
+
readonly items: readonly ({
|
|
744
671
|
readonly key: string;
|
|
745
672
|
readonly title: string;
|
|
746
673
|
readonly url: string;
|
|
747
674
|
readonly price: number;
|
|
748
675
|
readonly id: string | number;
|
|
749
676
|
readonly properties: {
|
|
750
|
-
readonly
|
|
751
|
-
readonly array: readonly {
|
|
752
|
-
readonly key: string;
|
|
753
|
-
readonly value: string | number | boolean | null;
|
|
754
|
-
}[];
|
|
755
|
-
readonly record: {
|
|
756
|
-
readonly [x: string]: string | number | boolean | null;
|
|
757
|
-
};
|
|
758
|
-
};
|
|
759
|
-
readonly public: {
|
|
760
|
-
readonly array: readonly {
|
|
761
|
-
readonly key: string;
|
|
762
|
-
readonly value: string | number | boolean | null;
|
|
763
|
-
}[];
|
|
764
|
-
readonly record: {
|
|
765
|
-
readonly [x: string]: string | number | boolean | null;
|
|
766
|
-
};
|
|
767
|
-
};
|
|
677
|
+
readonly [x: string]: string | number | boolean | null;
|
|
768
678
|
};
|
|
769
679
|
readonly quantity: number;
|
|
770
680
|
readonly variant_id: string | number;
|
|
@@ -860,7 +770,26 @@ export declare const change: (input?: ({
|
|
|
860
770
|
}[];
|
|
861
771
|
};
|
|
862
772
|
} | null;
|
|
863
|
-
}
|
|
773
|
+
} & {
|
|
774
|
+
readonly properties_array: readonly {
|
|
775
|
+
readonly key: string;
|
|
776
|
+
readonly value: string | number | boolean | null;
|
|
777
|
+
}[];
|
|
778
|
+
readonly private_properties: {
|
|
779
|
+
readonly [x: string]: string | number | boolean | null;
|
|
780
|
+
};
|
|
781
|
+
readonly private_properties_array: readonly {
|
|
782
|
+
readonly key: string;
|
|
783
|
+
readonly value: string | number | boolean | null;
|
|
784
|
+
}[];
|
|
785
|
+
readonly public_properties: {
|
|
786
|
+
readonly [x: string]: string | number | boolean | null;
|
|
787
|
+
};
|
|
788
|
+
readonly public_properties_array: readonly {
|
|
789
|
+
readonly key: string;
|
|
790
|
+
readonly value: string | number | boolean | null;
|
|
791
|
+
}[];
|
|
792
|
+
})[];
|
|
864
793
|
readonly currency: string;
|
|
865
794
|
readonly items_subtotal_price: number;
|
|
866
795
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -873,6 +802,26 @@ export declare const change: (input?: ({
|
|
|
873
802
|
readonly value_type: "fixed_amount" | "percentage";
|
|
874
803
|
readonly description: string | null;
|
|
875
804
|
}[];
|
|
805
|
+
} & {
|
|
806
|
+
readonly attributes_array: readonly {
|
|
807
|
+
readonly key: string;
|
|
808
|
+
readonly value: string | number | boolean | null;
|
|
809
|
+
}[];
|
|
810
|
+
readonly private_attributes: {
|
|
811
|
+
readonly [x: string]: string | number | boolean | null;
|
|
812
|
+
};
|
|
813
|
+
readonly private_attributes_array: readonly {
|
|
814
|
+
readonly key: string;
|
|
815
|
+
readonly value: string | number | boolean | null;
|
|
816
|
+
}[];
|
|
817
|
+
readonly public_attributes: {
|
|
818
|
+
readonly [x: string]: string | number | boolean | null;
|
|
819
|
+
};
|
|
820
|
+
readonly public_attributes_array: readonly {
|
|
821
|
+
readonly key: string;
|
|
822
|
+
readonly value: string | number | boolean | null;
|
|
823
|
+
}[];
|
|
824
|
+
} & {
|
|
876
825
|
readonly items_added: readonly {
|
|
877
826
|
readonly title: string;
|
|
878
827
|
readonly url: string;
|
|
@@ -930,24 +879,7 @@ export declare const clear: (input?: {
|
|
|
930
879
|
readonly token: string;
|
|
931
880
|
readonly note: string | null;
|
|
932
881
|
readonly attributes: {
|
|
933
|
-
readonly
|
|
934
|
-
readonly array: readonly {
|
|
935
|
-
readonly key: string;
|
|
936
|
-
readonly value: string | number | boolean | null;
|
|
937
|
-
}[];
|
|
938
|
-
readonly record: {
|
|
939
|
-
readonly [x: string]: string | number | boolean | null;
|
|
940
|
-
};
|
|
941
|
-
};
|
|
942
|
-
readonly public: {
|
|
943
|
-
readonly array: readonly {
|
|
944
|
-
readonly key: string;
|
|
945
|
-
readonly value: string | number | boolean | null;
|
|
946
|
-
}[];
|
|
947
|
-
readonly record: {
|
|
948
|
-
readonly [x: string]: string | number | boolean | null;
|
|
949
|
-
};
|
|
950
|
-
};
|
|
882
|
+
readonly [x: string]: string | number | boolean | null;
|
|
951
883
|
};
|
|
952
884
|
readonly discount_codes: readonly {
|
|
953
885
|
readonly code: string;
|
|
@@ -957,31 +889,14 @@ export declare const clear: (input?: {
|
|
|
957
889
|
readonly total_price: number;
|
|
958
890
|
readonly total_weight: number;
|
|
959
891
|
readonly item_count: number;
|
|
960
|
-
readonly items: readonly {
|
|
892
|
+
readonly items: readonly ({
|
|
961
893
|
readonly key: string;
|
|
962
894
|
readonly title: string;
|
|
963
895
|
readonly url: string;
|
|
964
896
|
readonly price: number;
|
|
965
897
|
readonly id: string | number;
|
|
966
898
|
readonly properties: {
|
|
967
|
-
readonly
|
|
968
|
-
readonly array: readonly {
|
|
969
|
-
readonly key: string;
|
|
970
|
-
readonly value: string | number | boolean | null;
|
|
971
|
-
}[];
|
|
972
|
-
readonly record: {
|
|
973
|
-
readonly [x: string]: string | number | boolean | null;
|
|
974
|
-
};
|
|
975
|
-
};
|
|
976
|
-
readonly public: {
|
|
977
|
-
readonly array: readonly {
|
|
978
|
-
readonly key: string;
|
|
979
|
-
readonly value: string | number | boolean | null;
|
|
980
|
-
}[];
|
|
981
|
-
readonly record: {
|
|
982
|
-
readonly [x: string]: string | number | boolean | null;
|
|
983
|
-
};
|
|
984
|
-
};
|
|
899
|
+
readonly [x: string]: string | number | boolean | null;
|
|
985
900
|
};
|
|
986
901
|
readonly quantity: number;
|
|
987
902
|
readonly variant_id: string | number;
|
|
@@ -1077,7 +992,26 @@ export declare const clear: (input?: {
|
|
|
1077
992
|
}[];
|
|
1078
993
|
};
|
|
1079
994
|
} | null;
|
|
1080
|
-
}
|
|
995
|
+
} & {
|
|
996
|
+
readonly properties_array: readonly {
|
|
997
|
+
readonly key: string;
|
|
998
|
+
readonly value: string | number | boolean | null;
|
|
999
|
+
}[];
|
|
1000
|
+
readonly private_properties: {
|
|
1001
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1002
|
+
};
|
|
1003
|
+
readonly private_properties_array: readonly {
|
|
1004
|
+
readonly key: string;
|
|
1005
|
+
readonly value: string | number | boolean | null;
|
|
1006
|
+
}[];
|
|
1007
|
+
readonly public_properties: {
|
|
1008
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1009
|
+
};
|
|
1010
|
+
readonly public_properties_array: readonly {
|
|
1011
|
+
readonly key: string;
|
|
1012
|
+
readonly value: string | number | boolean | null;
|
|
1013
|
+
}[];
|
|
1014
|
+
})[];
|
|
1081
1015
|
readonly currency: string;
|
|
1082
1016
|
readonly items_subtotal_price: number;
|
|
1083
1017
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1090,6 +1024,25 @@ export declare const clear: (input?: {
|
|
|
1090
1024
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1091
1025
|
readonly description: string | null;
|
|
1092
1026
|
}[];
|
|
1027
|
+
} & {
|
|
1028
|
+
readonly attributes_array: readonly {
|
|
1029
|
+
readonly key: string;
|
|
1030
|
+
readonly value: string | number | boolean | null;
|
|
1031
|
+
}[];
|
|
1032
|
+
readonly private_attributes: {
|
|
1033
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1034
|
+
};
|
|
1035
|
+
readonly private_attributes_array: readonly {
|
|
1036
|
+
readonly key: string;
|
|
1037
|
+
readonly value: string | number | boolean | null;
|
|
1038
|
+
}[];
|
|
1039
|
+
readonly public_attributes: {
|
|
1040
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1041
|
+
};
|
|
1042
|
+
readonly public_attributes_array: readonly {
|
|
1043
|
+
readonly key: string;
|
|
1044
|
+
readonly value: string | number | boolean | null;
|
|
1045
|
+
}[];
|
|
1093
1046
|
} & {
|
|
1094
1047
|
readonly sections: {
|
|
1095
1048
|
readonly [x: string]: string | null;
|
|
@@ -1104,24 +1057,7 @@ export declare const clear: (input?: {
|
|
|
1104
1057
|
readonly token: string;
|
|
1105
1058
|
readonly note: string | null;
|
|
1106
1059
|
readonly attributes: {
|
|
1107
|
-
readonly
|
|
1108
|
-
readonly array: readonly {
|
|
1109
|
-
readonly key: string;
|
|
1110
|
-
readonly value: string | number | boolean | null;
|
|
1111
|
-
}[];
|
|
1112
|
-
readonly record: {
|
|
1113
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1114
|
-
};
|
|
1115
|
-
};
|
|
1116
|
-
readonly public: {
|
|
1117
|
-
readonly array: readonly {
|
|
1118
|
-
readonly key: string;
|
|
1119
|
-
readonly value: string | number | boolean | null;
|
|
1120
|
-
}[];
|
|
1121
|
-
readonly record: {
|
|
1122
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1123
|
-
};
|
|
1124
|
-
};
|
|
1060
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1125
1061
|
};
|
|
1126
1062
|
readonly discount_codes: readonly {
|
|
1127
1063
|
readonly code: string;
|
|
@@ -1131,31 +1067,14 @@ export declare const clear: (input?: {
|
|
|
1131
1067
|
readonly total_price: number;
|
|
1132
1068
|
readonly total_weight: number;
|
|
1133
1069
|
readonly item_count: number;
|
|
1134
|
-
readonly items: readonly {
|
|
1070
|
+
readonly items: readonly ({
|
|
1135
1071
|
readonly key: string;
|
|
1136
1072
|
readonly title: string;
|
|
1137
1073
|
readonly url: string;
|
|
1138
1074
|
readonly price: number;
|
|
1139
1075
|
readonly id: string | number;
|
|
1140
1076
|
readonly properties: {
|
|
1141
|
-
readonly
|
|
1142
|
-
readonly array: readonly {
|
|
1143
|
-
readonly key: string;
|
|
1144
|
-
readonly value: string | number | boolean | null;
|
|
1145
|
-
}[];
|
|
1146
|
-
readonly record: {
|
|
1147
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1148
|
-
};
|
|
1149
|
-
};
|
|
1150
|
-
readonly public: {
|
|
1151
|
-
readonly array: readonly {
|
|
1152
|
-
readonly key: string;
|
|
1153
|
-
readonly value: string | number | boolean | null;
|
|
1154
|
-
}[];
|
|
1155
|
-
readonly record: {
|
|
1156
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1157
|
-
};
|
|
1158
|
-
};
|
|
1077
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1159
1078
|
};
|
|
1160
1079
|
readonly quantity: number;
|
|
1161
1080
|
readonly variant_id: string | number;
|
|
@@ -1251,7 +1170,26 @@ export declare const clear: (input?: {
|
|
|
1251
1170
|
}[];
|
|
1252
1171
|
};
|
|
1253
1172
|
} | null;
|
|
1254
|
-
}
|
|
1173
|
+
} & {
|
|
1174
|
+
readonly properties_array: readonly {
|
|
1175
|
+
readonly key: string;
|
|
1176
|
+
readonly value: string | number | boolean | null;
|
|
1177
|
+
}[];
|
|
1178
|
+
readonly private_properties: {
|
|
1179
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1180
|
+
};
|
|
1181
|
+
readonly private_properties_array: readonly {
|
|
1182
|
+
readonly key: string;
|
|
1183
|
+
readonly value: string | number | boolean | null;
|
|
1184
|
+
}[];
|
|
1185
|
+
readonly public_properties: {
|
|
1186
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1187
|
+
};
|
|
1188
|
+
readonly public_properties_array: readonly {
|
|
1189
|
+
readonly key: string;
|
|
1190
|
+
readonly value: string | number | boolean | null;
|
|
1191
|
+
}[];
|
|
1192
|
+
})[];
|
|
1255
1193
|
readonly currency: string;
|
|
1256
1194
|
readonly items_subtotal_price: number;
|
|
1257
1195
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1264,6 +1202,25 @@ export declare const clear: (input?: {
|
|
|
1264
1202
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1265
1203
|
readonly description: string | null;
|
|
1266
1204
|
}[];
|
|
1205
|
+
} & {
|
|
1206
|
+
readonly attributes_array: readonly {
|
|
1207
|
+
readonly key: string;
|
|
1208
|
+
readonly value: string | number | boolean | null;
|
|
1209
|
+
}[];
|
|
1210
|
+
readonly private_attributes: {
|
|
1211
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1212
|
+
};
|
|
1213
|
+
readonly private_attributes_array: readonly {
|
|
1214
|
+
readonly key: string;
|
|
1215
|
+
readonly value: string | number | boolean | null;
|
|
1216
|
+
}[];
|
|
1217
|
+
readonly public_attributes: {
|
|
1218
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1219
|
+
};
|
|
1220
|
+
readonly public_attributes_array: readonly {
|
|
1221
|
+
readonly key: string;
|
|
1222
|
+
readonly value: string | number | boolean | null;
|
|
1223
|
+
}[];
|
|
1267
1224
|
} & {
|
|
1268
1225
|
readonly sections: null;
|
|
1269
1226
|
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
@@ -1283,24 +1240,7 @@ export declare const get: (input?: {
|
|
|
1283
1240
|
readonly token: string;
|
|
1284
1241
|
readonly note: string | null;
|
|
1285
1242
|
readonly attributes: {
|
|
1286
|
-
readonly
|
|
1287
|
-
readonly array: readonly {
|
|
1288
|
-
readonly key: string;
|
|
1289
|
-
readonly value: string | number | boolean | null;
|
|
1290
|
-
}[];
|
|
1291
|
-
readonly record: {
|
|
1292
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1293
|
-
};
|
|
1294
|
-
};
|
|
1295
|
-
readonly public: {
|
|
1296
|
-
readonly array: readonly {
|
|
1297
|
-
readonly key: string;
|
|
1298
|
-
readonly value: string | number | boolean | null;
|
|
1299
|
-
}[];
|
|
1300
|
-
readonly record: {
|
|
1301
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1302
|
-
};
|
|
1303
|
-
};
|
|
1243
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1304
1244
|
};
|
|
1305
1245
|
readonly discount_codes: readonly {
|
|
1306
1246
|
readonly code: string;
|
|
@@ -1310,31 +1250,14 @@ export declare const get: (input?: {
|
|
|
1310
1250
|
readonly total_price: number;
|
|
1311
1251
|
readonly total_weight: number;
|
|
1312
1252
|
readonly item_count: number;
|
|
1313
|
-
readonly items: readonly {
|
|
1253
|
+
readonly items: readonly ({
|
|
1314
1254
|
readonly key: string;
|
|
1315
1255
|
readonly title: string;
|
|
1316
1256
|
readonly url: string;
|
|
1317
1257
|
readonly price: number;
|
|
1318
1258
|
readonly id: string | number;
|
|
1319
1259
|
readonly properties: {
|
|
1320
|
-
readonly
|
|
1321
|
-
readonly array: readonly {
|
|
1322
|
-
readonly key: string;
|
|
1323
|
-
readonly value: string | number | boolean | null;
|
|
1324
|
-
}[];
|
|
1325
|
-
readonly record: {
|
|
1326
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1327
|
-
};
|
|
1328
|
-
};
|
|
1329
|
-
readonly public: {
|
|
1330
|
-
readonly array: readonly {
|
|
1331
|
-
readonly key: string;
|
|
1332
|
-
readonly value: string | number | boolean | null;
|
|
1333
|
-
}[];
|
|
1334
|
-
readonly record: {
|
|
1335
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1336
|
-
};
|
|
1337
|
-
};
|
|
1260
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1338
1261
|
};
|
|
1339
1262
|
readonly quantity: number;
|
|
1340
1263
|
readonly variant_id: string | number;
|
|
@@ -1430,7 +1353,26 @@ export declare const get: (input?: {
|
|
|
1430
1353
|
}[];
|
|
1431
1354
|
};
|
|
1432
1355
|
} | null;
|
|
1433
|
-
}
|
|
1356
|
+
} & {
|
|
1357
|
+
readonly properties_array: readonly {
|
|
1358
|
+
readonly key: string;
|
|
1359
|
+
readonly value: string | number | boolean | null;
|
|
1360
|
+
}[];
|
|
1361
|
+
readonly private_properties: {
|
|
1362
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1363
|
+
};
|
|
1364
|
+
readonly private_properties_array: readonly {
|
|
1365
|
+
readonly key: string;
|
|
1366
|
+
readonly value: string | number | boolean | null;
|
|
1367
|
+
}[];
|
|
1368
|
+
readonly public_properties: {
|
|
1369
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1370
|
+
};
|
|
1371
|
+
readonly public_properties_array: readonly {
|
|
1372
|
+
readonly key: string;
|
|
1373
|
+
readonly value: string | number | boolean | null;
|
|
1374
|
+
}[];
|
|
1375
|
+
})[];
|
|
1434
1376
|
readonly currency: string;
|
|
1435
1377
|
readonly items_subtotal_price: number;
|
|
1436
1378
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1443,6 +1385,25 @@ export declare const get: (input?: {
|
|
|
1443
1385
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1444
1386
|
readonly description: string | null;
|
|
1445
1387
|
}[];
|
|
1388
|
+
} & {
|
|
1389
|
+
readonly attributes_array: readonly {
|
|
1390
|
+
readonly key: string;
|
|
1391
|
+
readonly value: string | number | boolean | null;
|
|
1392
|
+
}[];
|
|
1393
|
+
readonly private_attributes: {
|
|
1394
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1395
|
+
};
|
|
1396
|
+
readonly private_attributes_array: readonly {
|
|
1397
|
+
readonly key: string;
|
|
1398
|
+
readonly value: string | number | boolean | null;
|
|
1399
|
+
}[];
|
|
1400
|
+
readonly public_attributes: {
|
|
1401
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1402
|
+
};
|
|
1403
|
+
readonly public_attributes_array: readonly {
|
|
1404
|
+
readonly key: string;
|
|
1405
|
+
readonly value: string | number | boolean | null;
|
|
1406
|
+
}[];
|
|
1446
1407
|
} & {
|
|
1447
1408
|
readonly sections: {
|
|
1448
1409
|
readonly [x: string]: string | null;
|
|
@@ -1457,24 +1418,7 @@ export declare const get: (input?: {
|
|
|
1457
1418
|
readonly token: string;
|
|
1458
1419
|
readonly note: string | null;
|
|
1459
1420
|
readonly attributes: {
|
|
1460
|
-
readonly
|
|
1461
|
-
readonly array: readonly {
|
|
1462
|
-
readonly key: string;
|
|
1463
|
-
readonly value: string | number | boolean | null;
|
|
1464
|
-
}[];
|
|
1465
|
-
readonly record: {
|
|
1466
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1467
|
-
};
|
|
1468
|
-
};
|
|
1469
|
-
readonly public: {
|
|
1470
|
-
readonly array: readonly {
|
|
1471
|
-
readonly key: string;
|
|
1472
|
-
readonly value: string | number | boolean | null;
|
|
1473
|
-
}[];
|
|
1474
|
-
readonly record: {
|
|
1475
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1476
|
-
};
|
|
1477
|
-
};
|
|
1421
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1478
1422
|
};
|
|
1479
1423
|
readonly discount_codes: readonly {
|
|
1480
1424
|
readonly code: string;
|
|
@@ -1484,31 +1428,14 @@ export declare const get: (input?: {
|
|
|
1484
1428
|
readonly total_price: number;
|
|
1485
1429
|
readonly total_weight: number;
|
|
1486
1430
|
readonly item_count: number;
|
|
1487
|
-
readonly items: readonly {
|
|
1431
|
+
readonly items: readonly ({
|
|
1488
1432
|
readonly key: string;
|
|
1489
1433
|
readonly title: string;
|
|
1490
1434
|
readonly url: string;
|
|
1491
1435
|
readonly price: number;
|
|
1492
1436
|
readonly id: string | number;
|
|
1493
1437
|
readonly properties: {
|
|
1494
|
-
readonly
|
|
1495
|
-
readonly array: readonly {
|
|
1496
|
-
readonly key: string;
|
|
1497
|
-
readonly value: string | number | boolean | null;
|
|
1498
|
-
}[];
|
|
1499
|
-
readonly record: {
|
|
1500
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
readonly public: {
|
|
1504
|
-
readonly array: readonly {
|
|
1505
|
-
readonly key: string;
|
|
1506
|
-
readonly value: string | number | boolean | null;
|
|
1507
|
-
}[];
|
|
1508
|
-
readonly record: {
|
|
1509
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1510
|
-
};
|
|
1511
|
-
};
|
|
1438
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1512
1439
|
};
|
|
1513
1440
|
readonly quantity: number;
|
|
1514
1441
|
readonly variant_id: string | number;
|
|
@@ -1604,7 +1531,26 @@ export declare const get: (input?: {
|
|
|
1604
1531
|
}[];
|
|
1605
1532
|
};
|
|
1606
1533
|
} | null;
|
|
1607
|
-
}
|
|
1534
|
+
} & {
|
|
1535
|
+
readonly properties_array: readonly {
|
|
1536
|
+
readonly key: string;
|
|
1537
|
+
readonly value: string | number | boolean | null;
|
|
1538
|
+
}[];
|
|
1539
|
+
readonly private_properties: {
|
|
1540
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1541
|
+
};
|
|
1542
|
+
readonly private_properties_array: readonly {
|
|
1543
|
+
readonly key: string;
|
|
1544
|
+
readonly value: string | number | boolean | null;
|
|
1545
|
+
}[];
|
|
1546
|
+
readonly public_properties: {
|
|
1547
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1548
|
+
};
|
|
1549
|
+
readonly public_properties_array: readonly {
|
|
1550
|
+
readonly key: string;
|
|
1551
|
+
readonly value: string | number | boolean | null;
|
|
1552
|
+
}[];
|
|
1553
|
+
})[];
|
|
1608
1554
|
readonly currency: string;
|
|
1609
1555
|
readonly items_subtotal_price: number;
|
|
1610
1556
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1617,6 +1563,25 @@ export declare const get: (input?: {
|
|
|
1617
1563
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1618
1564
|
readonly description: string | null;
|
|
1619
1565
|
}[];
|
|
1566
|
+
} & {
|
|
1567
|
+
readonly attributes_array: readonly {
|
|
1568
|
+
readonly key: string;
|
|
1569
|
+
readonly value: string | number | boolean | null;
|
|
1570
|
+
}[];
|
|
1571
|
+
readonly private_attributes: {
|
|
1572
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1573
|
+
};
|
|
1574
|
+
readonly private_attributes_array: readonly {
|
|
1575
|
+
readonly key: string;
|
|
1576
|
+
readonly value: string | number | boolean | null;
|
|
1577
|
+
}[];
|
|
1578
|
+
readonly public_attributes: {
|
|
1579
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1580
|
+
};
|
|
1581
|
+
readonly public_attributes_array: readonly {
|
|
1582
|
+
readonly key: string;
|
|
1583
|
+
readonly value: string | number | boolean | null;
|
|
1584
|
+
}[];
|
|
1620
1585
|
} & {
|
|
1621
1586
|
readonly sections: null;
|
|
1622
1587
|
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
@@ -1645,24 +1610,7 @@ export declare const update: (input?: ({
|
|
|
1645
1610
|
readonly token: string;
|
|
1646
1611
|
readonly note: string | null;
|
|
1647
1612
|
readonly attributes: {
|
|
1648
|
-
readonly
|
|
1649
|
-
readonly array: readonly {
|
|
1650
|
-
readonly key: string;
|
|
1651
|
-
readonly value: string | number | boolean | null;
|
|
1652
|
-
}[];
|
|
1653
|
-
readonly record: {
|
|
1654
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1655
|
-
};
|
|
1656
|
-
};
|
|
1657
|
-
readonly public: {
|
|
1658
|
-
readonly array: readonly {
|
|
1659
|
-
readonly key: string;
|
|
1660
|
-
readonly value: string | number | boolean | null;
|
|
1661
|
-
}[];
|
|
1662
|
-
readonly record: {
|
|
1663
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1664
|
-
};
|
|
1665
|
-
};
|
|
1613
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1666
1614
|
};
|
|
1667
1615
|
readonly discount_codes: readonly {
|
|
1668
1616
|
readonly code: string;
|
|
@@ -1672,31 +1620,14 @@ export declare const update: (input?: ({
|
|
|
1672
1620
|
readonly total_price: number;
|
|
1673
1621
|
readonly total_weight: number;
|
|
1674
1622
|
readonly item_count: number;
|
|
1675
|
-
readonly items: readonly {
|
|
1623
|
+
readonly items: readonly ({
|
|
1676
1624
|
readonly key: string;
|
|
1677
1625
|
readonly title: string;
|
|
1678
1626
|
readonly url: string;
|
|
1679
1627
|
readonly price: number;
|
|
1680
1628
|
readonly id: string | number;
|
|
1681
1629
|
readonly properties: {
|
|
1682
|
-
readonly
|
|
1683
|
-
readonly array: readonly {
|
|
1684
|
-
readonly key: string;
|
|
1685
|
-
readonly value: string | number | boolean | null;
|
|
1686
|
-
}[];
|
|
1687
|
-
readonly record: {
|
|
1688
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1689
|
-
};
|
|
1690
|
-
};
|
|
1691
|
-
readonly public: {
|
|
1692
|
-
readonly array: readonly {
|
|
1693
|
-
readonly key: string;
|
|
1694
|
-
readonly value: string | number | boolean | null;
|
|
1695
|
-
}[];
|
|
1696
|
-
readonly record: {
|
|
1697
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1698
|
-
};
|
|
1699
|
-
};
|
|
1630
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1700
1631
|
};
|
|
1701
1632
|
readonly quantity: number;
|
|
1702
1633
|
readonly variant_id: string | number;
|
|
@@ -1792,7 +1723,26 @@ export declare const update: (input?: ({
|
|
|
1792
1723
|
}[];
|
|
1793
1724
|
};
|
|
1794
1725
|
} | null;
|
|
1795
|
-
}
|
|
1726
|
+
} & {
|
|
1727
|
+
readonly properties_array: readonly {
|
|
1728
|
+
readonly key: string;
|
|
1729
|
+
readonly value: string | number | boolean | null;
|
|
1730
|
+
}[];
|
|
1731
|
+
readonly private_properties: {
|
|
1732
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1733
|
+
};
|
|
1734
|
+
readonly private_properties_array: readonly {
|
|
1735
|
+
readonly key: string;
|
|
1736
|
+
readonly value: string | number | boolean | null;
|
|
1737
|
+
}[];
|
|
1738
|
+
readonly public_properties: {
|
|
1739
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1740
|
+
};
|
|
1741
|
+
readonly public_properties_array: readonly {
|
|
1742
|
+
readonly key: string;
|
|
1743
|
+
readonly value: string | number | boolean | null;
|
|
1744
|
+
}[];
|
|
1745
|
+
})[];
|
|
1796
1746
|
readonly currency: string;
|
|
1797
1747
|
readonly items_subtotal_price: number;
|
|
1798
1748
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1805,6 +1755,26 @@ export declare const update: (input?: ({
|
|
|
1805
1755
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1806
1756
|
readonly description: string | null;
|
|
1807
1757
|
}[];
|
|
1758
|
+
} & {
|
|
1759
|
+
readonly attributes_array: readonly {
|
|
1760
|
+
readonly key: string;
|
|
1761
|
+
readonly value: string | number | boolean | null;
|
|
1762
|
+
}[];
|
|
1763
|
+
readonly private_attributes: {
|
|
1764
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1765
|
+
};
|
|
1766
|
+
readonly private_attributes_array: readonly {
|
|
1767
|
+
readonly key: string;
|
|
1768
|
+
readonly value: string | number | boolean | null;
|
|
1769
|
+
}[];
|
|
1770
|
+
readonly public_attributes: {
|
|
1771
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1772
|
+
};
|
|
1773
|
+
readonly public_attributes_array: readonly {
|
|
1774
|
+
readonly key: string;
|
|
1775
|
+
readonly value: string | number | boolean | null;
|
|
1776
|
+
}[];
|
|
1777
|
+
} & {
|
|
1808
1778
|
readonly items_changelog: {
|
|
1809
1779
|
readonly added: readonly {
|
|
1810
1780
|
readonly quantity: number;
|
|
@@ -1825,24 +1795,7 @@ export declare const update: (input?: ({
|
|
|
1825
1795
|
readonly token: string;
|
|
1826
1796
|
readonly note: string | null;
|
|
1827
1797
|
readonly attributes: {
|
|
1828
|
-
readonly
|
|
1829
|
-
readonly array: readonly {
|
|
1830
|
-
readonly key: string;
|
|
1831
|
-
readonly value: string | number | boolean | null;
|
|
1832
|
-
}[];
|
|
1833
|
-
readonly record: {
|
|
1834
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1835
|
-
};
|
|
1836
|
-
};
|
|
1837
|
-
readonly public: {
|
|
1838
|
-
readonly array: readonly {
|
|
1839
|
-
readonly key: string;
|
|
1840
|
-
readonly value: string | number | boolean | null;
|
|
1841
|
-
}[];
|
|
1842
|
-
readonly record: {
|
|
1843
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1844
|
-
};
|
|
1845
|
-
};
|
|
1798
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1846
1799
|
};
|
|
1847
1800
|
readonly discount_codes: readonly {
|
|
1848
1801
|
readonly code: string;
|
|
@@ -1852,31 +1805,14 @@ export declare const update: (input?: ({
|
|
|
1852
1805
|
readonly total_price: number;
|
|
1853
1806
|
readonly total_weight: number;
|
|
1854
1807
|
readonly item_count: number;
|
|
1855
|
-
readonly items: readonly {
|
|
1808
|
+
readonly items: readonly ({
|
|
1856
1809
|
readonly key: string;
|
|
1857
1810
|
readonly title: string;
|
|
1858
1811
|
readonly url: string;
|
|
1859
1812
|
readonly price: number;
|
|
1860
1813
|
readonly id: string | number;
|
|
1861
1814
|
readonly properties: {
|
|
1862
|
-
readonly
|
|
1863
|
-
readonly array: readonly {
|
|
1864
|
-
readonly key: string;
|
|
1865
|
-
readonly value: string | number | boolean | null;
|
|
1866
|
-
}[];
|
|
1867
|
-
readonly record: {
|
|
1868
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1869
|
-
};
|
|
1870
|
-
};
|
|
1871
|
-
readonly public: {
|
|
1872
|
-
readonly array: readonly {
|
|
1873
|
-
readonly key: string;
|
|
1874
|
-
readonly value: string | number | boolean | null;
|
|
1875
|
-
}[];
|
|
1876
|
-
readonly record: {
|
|
1877
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1878
|
-
};
|
|
1879
|
-
};
|
|
1815
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1880
1816
|
};
|
|
1881
1817
|
readonly quantity: number;
|
|
1882
1818
|
readonly variant_id: string | number;
|
|
@@ -1972,7 +1908,26 @@ export declare const update: (input?: ({
|
|
|
1972
1908
|
}[];
|
|
1973
1909
|
};
|
|
1974
1910
|
} | null;
|
|
1975
|
-
}
|
|
1911
|
+
} & {
|
|
1912
|
+
readonly properties_array: readonly {
|
|
1913
|
+
readonly key: string;
|
|
1914
|
+
readonly value: string | number | boolean | null;
|
|
1915
|
+
}[];
|
|
1916
|
+
readonly private_properties: {
|
|
1917
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1918
|
+
};
|
|
1919
|
+
readonly private_properties_array: readonly {
|
|
1920
|
+
readonly key: string;
|
|
1921
|
+
readonly value: string | number | boolean | null;
|
|
1922
|
+
}[];
|
|
1923
|
+
readonly public_properties: {
|
|
1924
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1925
|
+
};
|
|
1926
|
+
readonly public_properties_array: readonly {
|
|
1927
|
+
readonly key: string;
|
|
1928
|
+
readonly value: string | number | boolean | null;
|
|
1929
|
+
}[];
|
|
1930
|
+
})[];
|
|
1976
1931
|
readonly currency: string;
|
|
1977
1932
|
readonly items_subtotal_price: number;
|
|
1978
1933
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1985,6 +1940,26 @@ export declare const update: (input?: ({
|
|
|
1985
1940
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1986
1941
|
readonly description: string | null;
|
|
1987
1942
|
}[];
|
|
1943
|
+
} & {
|
|
1944
|
+
readonly attributes_array: readonly {
|
|
1945
|
+
readonly key: string;
|
|
1946
|
+
readonly value: string | number | boolean | null;
|
|
1947
|
+
}[];
|
|
1948
|
+
readonly private_attributes: {
|
|
1949
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1950
|
+
};
|
|
1951
|
+
readonly private_attributes_array: readonly {
|
|
1952
|
+
readonly key: string;
|
|
1953
|
+
readonly value: string | number | boolean | null;
|
|
1954
|
+
}[];
|
|
1955
|
+
readonly public_attributes: {
|
|
1956
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1957
|
+
};
|
|
1958
|
+
readonly public_attributes_array: readonly {
|
|
1959
|
+
readonly key: string;
|
|
1960
|
+
readonly value: string | number | boolean | null;
|
|
1961
|
+
}[];
|
|
1962
|
+
} & {
|
|
1988
1963
|
readonly items_changelog: {
|
|
1989
1964
|
readonly added: readonly {
|
|
1990
1965
|
readonly quantity: number;
|