@brytdesigns/shopify-ajax-cart-api 1.0.11 → 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 +201 -1415
- package/dist/effect/schema.js +22 -18
- package/dist/effect/schema.js.map +1 -1
- package/dist/esm/index.js +22 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/main/effect/schema.js +22 -18
- package/dist/main/effect/schema.js.map +1 -1
- package/dist/main/index.d.ts +450 -3030
- package/package.json +1 -1
package/dist/effect/index.d.ts
CHANGED
|
@@ -151,7 +151,7 @@ export declare const add: (input?: ({
|
|
|
151
151
|
readonly sections?: string | undefined;
|
|
152
152
|
readonly sections_url?: string | undefined;
|
|
153
153
|
}) | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
154
|
-
readonly items: readonly {
|
|
154
|
+
readonly items: readonly ({
|
|
155
155
|
readonly key: string;
|
|
156
156
|
readonly title: string;
|
|
157
157
|
readonly url: string;
|
|
@@ -254,6 +254,7 @@ export declare const add: (input?: ({
|
|
|
254
254
|
}[];
|
|
255
255
|
};
|
|
256
256
|
} | null;
|
|
257
|
+
} & {
|
|
257
258
|
readonly properties_array: readonly {
|
|
258
259
|
readonly key: string;
|
|
259
260
|
readonly value: string | number | boolean | null;
|
|
@@ -272,13 +273,13 @@ export declare const add: (input?: ({
|
|
|
272
273
|
readonly key: string;
|
|
273
274
|
readonly value: string | number | boolean | null;
|
|
274
275
|
}[];
|
|
275
|
-
}[];
|
|
276
|
+
})[];
|
|
276
277
|
} & {
|
|
277
278
|
readonly sections: {
|
|
278
279
|
readonly [x: string]: string | null;
|
|
279
280
|
};
|
|
280
281
|
}> | AjaxClientResponse<{
|
|
281
|
-
readonly items: readonly {
|
|
282
|
+
readonly items: readonly ({
|
|
282
283
|
readonly key: string;
|
|
283
284
|
readonly title: string;
|
|
284
285
|
readonly url: string;
|
|
@@ -381,6 +382,7 @@ export declare const add: (input?: ({
|
|
|
381
382
|
}[];
|
|
382
383
|
};
|
|
383
384
|
} | null;
|
|
385
|
+
} & {
|
|
384
386
|
readonly properties_array: readonly {
|
|
385
387
|
readonly key: string;
|
|
386
388
|
readonly value: string | number | boolean | null;
|
|
@@ -399,7 +401,7 @@ export declare const add: (input?: ({
|
|
|
399
401
|
readonly key: string;
|
|
400
402
|
readonly value: string | number | boolean | null;
|
|
401
403
|
}[];
|
|
402
|
-
}[];
|
|
404
|
+
})[];
|
|
403
405
|
} & {
|
|
404
406
|
readonly sections: null;
|
|
405
407
|
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
@@ -448,7 +450,7 @@ export declare const change: (input?: ({
|
|
|
448
450
|
readonly total_price: number;
|
|
449
451
|
readonly total_weight: number;
|
|
450
452
|
readonly item_count: number;
|
|
451
|
-
readonly items: readonly {
|
|
453
|
+
readonly items: readonly ({
|
|
452
454
|
readonly key: string;
|
|
453
455
|
readonly title: string;
|
|
454
456
|
readonly url: string;
|
|
@@ -551,6 +553,7 @@ export declare const change: (input?: ({
|
|
|
551
553
|
}[];
|
|
552
554
|
};
|
|
553
555
|
} | null;
|
|
556
|
+
} & {
|
|
554
557
|
readonly properties_array: readonly {
|
|
555
558
|
readonly key: string;
|
|
556
559
|
readonly value: string | number | boolean | null;
|
|
@@ -569,7 +572,7 @@ export declare const change: (input?: ({
|
|
|
569
572
|
readonly key: string;
|
|
570
573
|
readonly value: string | number | boolean | null;
|
|
571
574
|
}[];
|
|
572
|
-
}[];
|
|
575
|
+
})[];
|
|
573
576
|
readonly currency: string;
|
|
574
577
|
readonly items_subtotal_price: number;
|
|
575
578
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -583,6 +586,68 @@ export declare const change: (input?: ({
|
|
|
583
586
|
readonly description: string | null;
|
|
584
587
|
}[];
|
|
585
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
|
+
} & {
|
|
608
|
+
readonly items_added: readonly {
|
|
609
|
+
readonly title: string;
|
|
610
|
+
readonly url: string;
|
|
611
|
+
readonly price: string;
|
|
612
|
+
readonly id: string;
|
|
613
|
+
readonly quantity: number;
|
|
614
|
+
readonly variant_id: number;
|
|
615
|
+
readonly sku: string;
|
|
616
|
+
readonly vendor: string;
|
|
617
|
+
readonly product_id: number;
|
|
618
|
+
readonly image: string;
|
|
619
|
+
readonly product_type: string;
|
|
620
|
+
readonly product_title: string;
|
|
621
|
+
readonly variant_title: string;
|
|
622
|
+
readonly presentment_price: number;
|
|
623
|
+
readonly untranslated_product_title: string;
|
|
624
|
+
readonly untranslated_variant_title: string;
|
|
625
|
+
readonly view_key: string;
|
|
626
|
+
}[];
|
|
627
|
+
readonly items_removed: readonly {
|
|
628
|
+
readonly title: string;
|
|
629
|
+
readonly url: string;
|
|
630
|
+
readonly price: string;
|
|
631
|
+
readonly id: string;
|
|
632
|
+
readonly quantity: number;
|
|
633
|
+
readonly variant_id: number;
|
|
634
|
+
readonly sku: string;
|
|
635
|
+
readonly vendor: string;
|
|
636
|
+
readonly product_id: number;
|
|
637
|
+
readonly image: string;
|
|
638
|
+
readonly product_type: string;
|
|
639
|
+
readonly product_title: string;
|
|
640
|
+
readonly variant_title: string;
|
|
641
|
+
readonly presentment_price: number;
|
|
642
|
+
readonly untranslated_product_title: string;
|
|
643
|
+
readonly untranslated_variant_title: string;
|
|
644
|
+
readonly view_key: string;
|
|
645
|
+
}[];
|
|
646
|
+
} & {
|
|
647
|
+
readonly sections: {
|
|
648
|
+
readonly [x: string]: string | null;
|
|
649
|
+
};
|
|
650
|
+
}> | AjaxClientResponse<{
|
|
586
651
|
readonly total_discount: number;
|
|
587
652
|
readonly discounts: readonly {
|
|
588
653
|
readonly title: string;
|
|
@@ -602,7 +667,7 @@ export declare const change: (input?: ({
|
|
|
602
667
|
readonly total_price: number;
|
|
603
668
|
readonly total_weight: number;
|
|
604
669
|
readonly item_count: number;
|
|
605
|
-
readonly items: readonly {
|
|
670
|
+
readonly items: readonly ({
|
|
606
671
|
readonly key: string;
|
|
607
672
|
readonly title: string;
|
|
608
673
|
readonly url: string;
|
|
@@ -705,6 +770,7 @@ export declare const change: (input?: ({
|
|
|
705
770
|
}[];
|
|
706
771
|
};
|
|
707
772
|
} | null;
|
|
773
|
+
} & {
|
|
708
774
|
readonly properties_array: readonly {
|
|
709
775
|
readonly key: string;
|
|
710
776
|
readonly value: string | number | boolean | null;
|
|
@@ -723,7 +789,7 @@ export declare const change: (input?: ({
|
|
|
723
789
|
readonly key: string;
|
|
724
790
|
readonly value: string | number | boolean | null;
|
|
725
791
|
}[];
|
|
726
|
-
}[];
|
|
792
|
+
})[];
|
|
727
793
|
readonly currency: string;
|
|
728
794
|
readonly items_subtotal_price: number;
|
|
729
795
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -736,6 +802,7 @@ export declare const change: (input?: ({
|
|
|
736
802
|
readonly value_type: "fixed_amount" | "percentage";
|
|
737
803
|
readonly description: string | null;
|
|
738
804
|
}[];
|
|
805
|
+
} & {
|
|
739
806
|
readonly attributes_array: readonly {
|
|
740
807
|
readonly key: string;
|
|
741
808
|
readonly value: string | number | boolean | null;
|
|
@@ -794,10 +861,15 @@ export declare const change: (input?: ({
|
|
|
794
861
|
readonly view_key: string;
|
|
795
862
|
}[];
|
|
796
863
|
} & {
|
|
797
|
-
readonly sections:
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
864
|
+
readonly sections: null;
|
|
865
|
+
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
866
|
+
export declare namespace clear {
|
|
867
|
+
type Input = ClearInput;
|
|
868
|
+
}
|
|
869
|
+
export declare const clear: (input?: {
|
|
870
|
+
readonly sections?: string | undefined;
|
|
871
|
+
readonly sections_url?: string | undefined;
|
|
872
|
+
} | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
801
873
|
readonly total_discount: number;
|
|
802
874
|
readonly discounts: readonly {
|
|
803
875
|
readonly title: string;
|
|
@@ -817,7 +889,7 @@ export declare const change: (input?: ({
|
|
|
817
889
|
readonly total_price: number;
|
|
818
890
|
readonly total_weight: number;
|
|
819
891
|
readonly item_count: number;
|
|
820
|
-
readonly items: readonly {
|
|
892
|
+
readonly items: readonly ({
|
|
821
893
|
readonly key: string;
|
|
822
894
|
readonly title: string;
|
|
823
895
|
readonly url: string;
|
|
@@ -920,6 +992,7 @@ export declare const change: (input?: ({
|
|
|
920
992
|
}[];
|
|
921
993
|
};
|
|
922
994
|
} | null;
|
|
995
|
+
} & {
|
|
923
996
|
readonly properties_array: readonly {
|
|
924
997
|
readonly key: string;
|
|
925
998
|
readonly value: string | number | boolean | null;
|
|
@@ -938,7 +1011,7 @@ export declare const change: (input?: ({
|
|
|
938
1011
|
readonly key: string;
|
|
939
1012
|
readonly value: string | number | boolean | null;
|
|
940
1013
|
}[];
|
|
941
|
-
}[];
|
|
1014
|
+
})[];
|
|
942
1015
|
readonly currency: string;
|
|
943
1016
|
readonly items_subtotal_price: number;
|
|
944
1017
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -952,6 +1025,29 @@ export declare const change: (input?: ({
|
|
|
952
1025
|
readonly description: string | null;
|
|
953
1026
|
}[];
|
|
954
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
|
+
}[];
|
|
1046
|
+
} & {
|
|
1047
|
+
readonly sections: {
|
|
1048
|
+
readonly [x: string]: string | null;
|
|
1049
|
+
};
|
|
1050
|
+
}> | AjaxClientResponse<{
|
|
955
1051
|
readonly total_discount: number;
|
|
956
1052
|
readonly discounts: readonly {
|
|
957
1053
|
readonly title: string;
|
|
@@ -971,7 +1067,7 @@ export declare const change: (input?: ({
|
|
|
971
1067
|
readonly total_price: number;
|
|
972
1068
|
readonly total_weight: number;
|
|
973
1069
|
readonly item_count: number;
|
|
974
|
-
readonly items: readonly {
|
|
1070
|
+
readonly items: readonly ({
|
|
975
1071
|
readonly key: string;
|
|
976
1072
|
readonly title: string;
|
|
977
1073
|
readonly url: string;
|
|
@@ -1074,6 +1170,7 @@ export declare const change: (input?: ({
|
|
|
1074
1170
|
}[];
|
|
1075
1171
|
};
|
|
1076
1172
|
} | null;
|
|
1173
|
+
} & {
|
|
1077
1174
|
readonly properties_array: readonly {
|
|
1078
1175
|
readonly key: string;
|
|
1079
1176
|
readonly value: string | number | boolean | null;
|
|
@@ -1092,7 +1189,7 @@ export declare const change: (input?: ({
|
|
|
1092
1189
|
readonly key: string;
|
|
1093
1190
|
readonly value: string | number | boolean | null;
|
|
1094
1191
|
}[];
|
|
1095
|
-
}[];
|
|
1192
|
+
})[];
|
|
1096
1193
|
readonly currency: string;
|
|
1097
1194
|
readonly items_subtotal_price: number;
|
|
1098
1195
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1105,6 +1202,7 @@ export declare const change: (input?: ({
|
|
|
1105
1202
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1106
1203
|
readonly description: string | null;
|
|
1107
1204
|
}[];
|
|
1205
|
+
} & {
|
|
1108
1206
|
readonly attributes_array: readonly {
|
|
1109
1207
|
readonly key: string;
|
|
1110
1208
|
readonly value: string | number | boolean | null;
|
|
@@ -1123,52 +1221,13 @@ export declare const change: (input?: ({
|
|
|
1123
1221
|
readonly key: string;
|
|
1124
1222
|
readonly value: string | number | boolean | null;
|
|
1125
1223
|
}[];
|
|
1126
|
-
} & {
|
|
1127
|
-
readonly items_added: readonly {
|
|
1128
|
-
readonly title: string;
|
|
1129
|
-
readonly url: string;
|
|
1130
|
-
readonly price: string;
|
|
1131
|
-
readonly id: string;
|
|
1132
|
-
readonly quantity: number;
|
|
1133
|
-
readonly variant_id: number;
|
|
1134
|
-
readonly sku: string;
|
|
1135
|
-
readonly vendor: string;
|
|
1136
|
-
readonly product_id: number;
|
|
1137
|
-
readonly image: string;
|
|
1138
|
-
readonly product_type: string;
|
|
1139
|
-
readonly product_title: string;
|
|
1140
|
-
readonly variant_title: string;
|
|
1141
|
-
readonly presentment_price: number;
|
|
1142
|
-
readonly untranslated_product_title: string;
|
|
1143
|
-
readonly untranslated_variant_title: string;
|
|
1144
|
-
readonly view_key: string;
|
|
1145
|
-
}[];
|
|
1146
|
-
readonly items_removed: readonly {
|
|
1147
|
-
readonly title: string;
|
|
1148
|
-
readonly url: string;
|
|
1149
|
-
readonly price: string;
|
|
1150
|
-
readonly id: string;
|
|
1151
|
-
readonly quantity: number;
|
|
1152
|
-
readonly variant_id: number;
|
|
1153
|
-
readonly sku: string;
|
|
1154
|
-
readonly vendor: string;
|
|
1155
|
-
readonly product_id: number;
|
|
1156
|
-
readonly image: string;
|
|
1157
|
-
readonly product_type: string;
|
|
1158
|
-
readonly product_title: string;
|
|
1159
|
-
readonly variant_title: string;
|
|
1160
|
-
readonly presentment_price: number;
|
|
1161
|
-
readonly untranslated_product_title: string;
|
|
1162
|
-
readonly untranslated_variant_title: string;
|
|
1163
|
-
readonly view_key: string;
|
|
1164
|
-
}[];
|
|
1165
1224
|
} & {
|
|
1166
1225
|
readonly sections: null;
|
|
1167
1226
|
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
1168
|
-
export declare namespace
|
|
1169
|
-
type Input =
|
|
1227
|
+
export declare namespace get {
|
|
1228
|
+
type Input = GetInput;
|
|
1170
1229
|
}
|
|
1171
|
-
export declare const
|
|
1230
|
+
export declare const get: (input?: {
|
|
1172
1231
|
readonly sections?: string | undefined;
|
|
1173
1232
|
readonly sections_url?: string | undefined;
|
|
1174
1233
|
} | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
@@ -1191,7 +1250,7 @@ export declare const clear: (input?: {
|
|
|
1191
1250
|
readonly total_price: number;
|
|
1192
1251
|
readonly total_weight: number;
|
|
1193
1252
|
readonly item_count: number;
|
|
1194
|
-
readonly items: readonly {
|
|
1253
|
+
readonly items: readonly ({
|
|
1195
1254
|
readonly key: string;
|
|
1196
1255
|
readonly title: string;
|
|
1197
1256
|
readonly url: string;
|
|
@@ -1294,6 +1353,7 @@ export declare const clear: (input?: {
|
|
|
1294
1353
|
}[];
|
|
1295
1354
|
};
|
|
1296
1355
|
} | null;
|
|
1356
|
+
} & {
|
|
1297
1357
|
readonly properties_array: readonly {
|
|
1298
1358
|
readonly key: string;
|
|
1299
1359
|
readonly value: string | number | boolean | null;
|
|
@@ -1312,7 +1372,7 @@ export declare const clear: (input?: {
|
|
|
1312
1372
|
readonly key: string;
|
|
1313
1373
|
readonly value: string | number | boolean | null;
|
|
1314
1374
|
}[];
|
|
1315
|
-
}[];
|
|
1375
|
+
})[];
|
|
1316
1376
|
readonly currency: string;
|
|
1317
1377
|
readonly items_subtotal_price: number;
|
|
1318
1378
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1326,6 +1386,29 @@ export declare const clear: (input?: {
|
|
|
1326
1386
|
readonly description: string | null;
|
|
1327
1387
|
}[];
|
|
1328
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
|
+
}[];
|
|
1407
|
+
} & {
|
|
1408
|
+
readonly sections: {
|
|
1409
|
+
readonly [x: string]: string | null;
|
|
1410
|
+
};
|
|
1411
|
+
}> | AjaxClientResponse<{
|
|
1329
1412
|
readonly total_discount: number;
|
|
1330
1413
|
readonly discounts: readonly {
|
|
1331
1414
|
readonly title: string;
|
|
@@ -1345,7 +1428,7 @@ export declare const clear: (input?: {
|
|
|
1345
1428
|
readonly total_price: number;
|
|
1346
1429
|
readonly total_weight: number;
|
|
1347
1430
|
readonly item_count: number;
|
|
1348
|
-
readonly items: readonly {
|
|
1431
|
+
readonly items: readonly ({
|
|
1349
1432
|
readonly key: string;
|
|
1350
1433
|
readonly title: string;
|
|
1351
1434
|
readonly url: string;
|
|
@@ -1448,6 +1531,7 @@ export declare const clear: (input?: {
|
|
|
1448
1531
|
}[];
|
|
1449
1532
|
};
|
|
1450
1533
|
} | null;
|
|
1534
|
+
} & {
|
|
1451
1535
|
readonly properties_array: readonly {
|
|
1452
1536
|
readonly key: string;
|
|
1453
1537
|
readonly value: string | number | boolean | null;
|
|
@@ -1466,7 +1550,7 @@ export declare const clear: (input?: {
|
|
|
1466
1550
|
readonly key: string;
|
|
1467
1551
|
readonly value: string | number | boolean | null;
|
|
1468
1552
|
}[];
|
|
1469
|
-
}[];
|
|
1553
|
+
})[];
|
|
1470
1554
|
readonly currency: string;
|
|
1471
1555
|
readonly items_subtotal_price: number;
|
|
1472
1556
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1479,6 +1563,7 @@ export declare const clear: (input?: {
|
|
|
1479
1563
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1480
1564
|
readonly description: string | null;
|
|
1481
1565
|
}[];
|
|
1566
|
+
} & {
|
|
1482
1567
|
readonly attributes_array: readonly {
|
|
1483
1568
|
readonly key: string;
|
|
1484
1569
|
readonly value: string | number | boolean | null;
|
|
@@ -1498,10 +1583,24 @@ export declare const clear: (input?: {
|
|
|
1498
1583
|
readonly value: string | number | boolean | null;
|
|
1499
1584
|
}[];
|
|
1500
1585
|
} & {
|
|
1501
|
-
readonly sections:
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1586
|
+
readonly sections: null;
|
|
1587
|
+
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
1588
|
+
export declare namespace update {
|
|
1589
|
+
type Input = UpdateInput;
|
|
1590
|
+
}
|
|
1591
|
+
export declare const update: (input?: ({
|
|
1592
|
+
readonly note?: string | null | undefined;
|
|
1593
|
+
readonly attributes?: {
|
|
1594
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1595
|
+
} | undefined;
|
|
1596
|
+
readonly updates?: {
|
|
1597
|
+
readonly [x: string]: number;
|
|
1598
|
+
} | readonly number[] | undefined;
|
|
1599
|
+
readonly discount?: readonly string[] | undefined;
|
|
1600
|
+
} & {
|
|
1601
|
+
readonly sections?: string | undefined;
|
|
1602
|
+
readonly sections_url?: string | undefined;
|
|
1603
|
+
}) | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
1505
1604
|
readonly total_discount: number;
|
|
1506
1605
|
readonly discounts: readonly {
|
|
1507
1606
|
readonly title: string;
|
|
@@ -1521,7 +1620,7 @@ export declare const clear: (input?: {
|
|
|
1521
1620
|
readonly total_price: number;
|
|
1522
1621
|
readonly total_weight: number;
|
|
1523
1622
|
readonly item_count: number;
|
|
1524
|
-
readonly items: readonly {
|
|
1623
|
+
readonly items: readonly ({
|
|
1525
1624
|
readonly key: string;
|
|
1526
1625
|
readonly title: string;
|
|
1527
1626
|
readonly url: string;
|
|
@@ -1624,6 +1723,7 @@ export declare const clear: (input?: {
|
|
|
1624
1723
|
}[];
|
|
1625
1724
|
};
|
|
1626
1725
|
} | null;
|
|
1726
|
+
} & {
|
|
1627
1727
|
readonly properties_array: readonly {
|
|
1628
1728
|
readonly key: string;
|
|
1629
1729
|
readonly value: string | number | boolean | null;
|
|
@@ -1642,7 +1742,7 @@ export declare const clear: (input?: {
|
|
|
1642
1742
|
readonly key: string;
|
|
1643
1743
|
readonly value: string | number | boolean | null;
|
|
1644
1744
|
}[];
|
|
1645
|
-
}[];
|
|
1745
|
+
})[];
|
|
1646
1746
|
readonly currency: string;
|
|
1647
1747
|
readonly items_subtotal_price: number;
|
|
1648
1748
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1656,6 +1756,36 @@ export declare const clear: (input?: {
|
|
|
1656
1756
|
readonly description: string | null;
|
|
1657
1757
|
}[];
|
|
1658
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
|
+
} & {
|
|
1778
|
+
readonly items_changelog: {
|
|
1779
|
+
readonly added: readonly {
|
|
1780
|
+
readonly quantity: number;
|
|
1781
|
+
readonly variant_id: number;
|
|
1782
|
+
}[];
|
|
1783
|
+
};
|
|
1784
|
+
} & {
|
|
1785
|
+
readonly sections: {
|
|
1786
|
+
readonly [x: string]: string | null;
|
|
1787
|
+
};
|
|
1788
|
+
}> | AjaxClientResponse<{
|
|
1659
1789
|
readonly total_discount: number;
|
|
1660
1790
|
readonly discounts: readonly {
|
|
1661
1791
|
readonly title: string;
|
|
@@ -1675,7 +1805,7 @@ export declare const clear: (input?: {
|
|
|
1675
1805
|
readonly total_price: number;
|
|
1676
1806
|
readonly total_weight: number;
|
|
1677
1807
|
readonly item_count: number;
|
|
1678
|
-
readonly items: readonly {
|
|
1808
|
+
readonly items: readonly ({
|
|
1679
1809
|
readonly key: string;
|
|
1680
1810
|
readonly title: string;
|
|
1681
1811
|
readonly url: string;
|
|
@@ -1778,6 +1908,7 @@ export declare const clear: (input?: {
|
|
|
1778
1908
|
}[];
|
|
1779
1909
|
};
|
|
1780
1910
|
} | null;
|
|
1911
|
+
} & {
|
|
1781
1912
|
readonly properties_array: readonly {
|
|
1782
1913
|
readonly key: string;
|
|
1783
1914
|
readonly value: string | number | boolean | null;
|
|
@@ -1796,1199 +1927,7 @@ export declare const clear: (input?: {
|
|
|
1796
1927
|
readonly key: string;
|
|
1797
1928
|
readonly value: string | number | boolean | null;
|
|
1798
1929
|
}[];
|
|
1799
|
-
}[];
|
|
1800
|
-
readonly currency: string;
|
|
1801
|
-
readonly items_subtotal_price: number;
|
|
1802
|
-
readonly cart_level_discount_applications: readonly {
|
|
1803
|
-
readonly value: number;
|
|
1804
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
1805
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
1806
|
-
readonly title: string;
|
|
1807
|
-
readonly total_allocated_amount: number;
|
|
1808
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
1809
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
1810
|
-
readonly description: string | null;
|
|
1811
|
-
}[];
|
|
1812
|
-
readonly attributes_array: readonly {
|
|
1813
|
-
readonly key: string;
|
|
1814
|
-
readonly value: string | number | boolean | null;
|
|
1815
|
-
}[];
|
|
1816
|
-
readonly private_attributes: {
|
|
1817
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1818
|
-
};
|
|
1819
|
-
readonly private_attributes_array: readonly {
|
|
1820
|
-
readonly key: string;
|
|
1821
|
-
readonly value: string | number | boolean | null;
|
|
1822
|
-
}[];
|
|
1823
|
-
readonly public_attributes: {
|
|
1824
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1825
|
-
};
|
|
1826
|
-
readonly public_attributes_array: readonly {
|
|
1827
|
-
readonly key: string;
|
|
1828
|
-
readonly value: string | number | boolean | null;
|
|
1829
|
-
}[];
|
|
1830
|
-
} & {
|
|
1831
|
-
readonly sections: null;
|
|
1832
|
-
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
1833
|
-
export declare namespace get {
|
|
1834
|
-
type Input = GetInput;
|
|
1835
|
-
}
|
|
1836
|
-
export declare const get: (input?: {
|
|
1837
|
-
readonly sections?: string | undefined;
|
|
1838
|
-
readonly sections_url?: string | undefined;
|
|
1839
|
-
} | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
1840
|
-
readonly total_discount: number;
|
|
1841
|
-
readonly discounts: readonly {
|
|
1842
|
-
readonly title: string;
|
|
1843
|
-
readonly amount: number;
|
|
1844
|
-
}[];
|
|
1845
|
-
readonly requires_shipping: boolean;
|
|
1846
|
-
readonly token: string;
|
|
1847
|
-
readonly note: string | null;
|
|
1848
|
-
readonly attributes: {
|
|
1849
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1850
|
-
};
|
|
1851
|
-
readonly discount_codes: readonly {
|
|
1852
|
-
readonly code: string;
|
|
1853
|
-
readonly applicable: boolean;
|
|
1854
|
-
}[];
|
|
1855
|
-
readonly original_total_price: number;
|
|
1856
|
-
readonly total_price: number;
|
|
1857
|
-
readonly total_weight: number;
|
|
1858
|
-
readonly item_count: number;
|
|
1859
|
-
readonly items: readonly {
|
|
1860
|
-
readonly key: string;
|
|
1861
|
-
readonly title: string;
|
|
1862
|
-
readonly url: string;
|
|
1863
|
-
readonly price: number;
|
|
1864
|
-
readonly id: string | number;
|
|
1865
|
-
readonly properties: {
|
|
1866
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1867
|
-
};
|
|
1868
|
-
readonly quantity: number;
|
|
1869
|
-
readonly variant_id: string | number;
|
|
1870
|
-
readonly original_price: number;
|
|
1871
|
-
readonly discounted_price: number;
|
|
1872
|
-
readonly line_price: number;
|
|
1873
|
-
readonly original_line_price: number;
|
|
1874
|
-
readonly total_discount: number;
|
|
1875
|
-
readonly discounts: readonly {
|
|
1876
|
-
readonly title: string;
|
|
1877
|
-
readonly amount: number;
|
|
1878
|
-
}[];
|
|
1879
|
-
readonly sku: string | null;
|
|
1880
|
-
readonly grams: number;
|
|
1881
|
-
readonly vendor: string;
|
|
1882
|
-
readonly taxable: boolean;
|
|
1883
|
-
readonly product_id: string | number;
|
|
1884
|
-
readonly product_has_only_default_variant: boolean;
|
|
1885
|
-
readonly gift_card: boolean;
|
|
1886
|
-
readonly final_line_price: number;
|
|
1887
|
-
readonly final_price: number;
|
|
1888
|
-
readonly featured_image?: {
|
|
1889
|
-
readonly aspect_ratio: number;
|
|
1890
|
-
readonly alt: string;
|
|
1891
|
-
readonly height: number;
|
|
1892
|
-
readonly url: string;
|
|
1893
|
-
readonly width: number;
|
|
1894
|
-
} | undefined;
|
|
1895
|
-
readonly image: string;
|
|
1896
|
-
readonly handle: string;
|
|
1897
|
-
readonly requires_shipping: boolean;
|
|
1898
|
-
readonly product_type: string;
|
|
1899
|
-
readonly product_title: string;
|
|
1900
|
-
readonly product_description: string;
|
|
1901
|
-
readonly variant_title: string | null;
|
|
1902
|
-
readonly variant_options: readonly string[];
|
|
1903
|
-
readonly options_with_values: readonly {
|
|
1904
|
-
readonly value: string;
|
|
1905
|
-
readonly name: string;
|
|
1906
|
-
}[];
|
|
1907
|
-
readonly line_level_discount_allocations: readonly {
|
|
1908
|
-
readonly amount: number;
|
|
1909
|
-
readonly discount_application: {
|
|
1910
|
-
readonly value: number;
|
|
1911
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
1912
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
1913
|
-
readonly title: string;
|
|
1914
|
-
readonly total_allocated_amount: number;
|
|
1915
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
1916
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
1917
|
-
readonly description: string | null;
|
|
1918
|
-
};
|
|
1919
|
-
}[];
|
|
1920
|
-
readonly line_level_total_discount: number;
|
|
1921
|
-
readonly quantity_rule?: {
|
|
1922
|
-
readonly min: number;
|
|
1923
|
-
readonly max: number | null;
|
|
1924
|
-
readonly increment: number;
|
|
1925
|
-
} | undefined;
|
|
1926
|
-
readonly has_components: boolean;
|
|
1927
|
-
readonly unit_price?: number | undefined;
|
|
1928
|
-
readonly unit_price_measurement?: {
|
|
1929
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
1930
|
-
readonly quantity_unit: string;
|
|
1931
|
-
readonly quantity_value: number;
|
|
1932
|
-
readonly reference_unit: string;
|
|
1933
|
-
readonly reference_value: number;
|
|
1934
|
-
} | undefined;
|
|
1935
|
-
readonly selling_plan_allocation: {
|
|
1936
|
-
readonly price: number;
|
|
1937
|
-
readonly price_adjustments: readonly {
|
|
1938
|
-
readonly position: number;
|
|
1939
|
-
readonly price: number;
|
|
1940
|
-
}[];
|
|
1941
|
-
readonly compare_at_price: number;
|
|
1942
|
-
readonly per_delivery_price: number;
|
|
1943
|
-
readonly selling_plan: {
|
|
1944
|
-
readonly description: string | null;
|
|
1945
|
-
readonly name: string;
|
|
1946
|
-
readonly id: string | number;
|
|
1947
|
-
readonly options: readonly {
|
|
1948
|
-
readonly value: string;
|
|
1949
|
-
readonly name: string;
|
|
1950
|
-
readonly position: number;
|
|
1951
|
-
}[];
|
|
1952
|
-
readonly recurring_deliveries: boolean;
|
|
1953
|
-
readonly fixed_selling_plan: boolean;
|
|
1954
|
-
readonly price_adjustments: readonly {
|
|
1955
|
-
readonly value: string | number;
|
|
1956
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
1957
|
-
readonly position: number;
|
|
1958
|
-
readonly order_count: number | null;
|
|
1959
|
-
}[];
|
|
1960
|
-
};
|
|
1961
|
-
} | null;
|
|
1962
|
-
readonly properties_array: readonly {
|
|
1963
|
-
readonly key: string;
|
|
1964
|
-
readonly value: string | number | boolean | null;
|
|
1965
|
-
}[];
|
|
1966
|
-
readonly private_properties: {
|
|
1967
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1968
|
-
};
|
|
1969
|
-
readonly private_properties_array: readonly {
|
|
1970
|
-
readonly key: string;
|
|
1971
|
-
readonly value: string | number | boolean | null;
|
|
1972
|
-
}[];
|
|
1973
|
-
readonly public_properties: {
|
|
1974
|
-
readonly [x: string]: string | number | boolean | null;
|
|
1975
|
-
};
|
|
1976
|
-
readonly public_properties_array: readonly {
|
|
1977
|
-
readonly key: string;
|
|
1978
|
-
readonly value: string | number | boolean | null;
|
|
1979
|
-
}[];
|
|
1980
|
-
}[];
|
|
1981
|
-
readonly currency: string;
|
|
1982
|
-
readonly items_subtotal_price: number;
|
|
1983
|
-
readonly cart_level_discount_applications: readonly {
|
|
1984
|
-
readonly value: number;
|
|
1985
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
1986
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
1987
|
-
readonly title: string;
|
|
1988
|
-
readonly total_allocated_amount: number;
|
|
1989
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
1990
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
1991
|
-
readonly description: string | null;
|
|
1992
|
-
}[];
|
|
1993
|
-
} & {
|
|
1994
|
-
readonly total_discount: number;
|
|
1995
|
-
readonly discounts: readonly {
|
|
1996
|
-
readonly title: string;
|
|
1997
|
-
readonly amount: number;
|
|
1998
|
-
}[];
|
|
1999
|
-
readonly requires_shipping: boolean;
|
|
2000
|
-
readonly token: string;
|
|
2001
|
-
readonly note: string | null;
|
|
2002
|
-
readonly attributes: {
|
|
2003
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2004
|
-
};
|
|
2005
|
-
readonly discount_codes: readonly {
|
|
2006
|
-
readonly code: string;
|
|
2007
|
-
readonly applicable: boolean;
|
|
2008
|
-
}[];
|
|
2009
|
-
readonly original_total_price: number;
|
|
2010
|
-
readonly total_price: number;
|
|
2011
|
-
readonly total_weight: number;
|
|
2012
|
-
readonly item_count: number;
|
|
2013
|
-
readonly items: readonly {
|
|
2014
|
-
readonly key: string;
|
|
2015
|
-
readonly title: string;
|
|
2016
|
-
readonly url: string;
|
|
2017
|
-
readonly price: number;
|
|
2018
|
-
readonly id: string | number;
|
|
2019
|
-
readonly properties: {
|
|
2020
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2021
|
-
};
|
|
2022
|
-
readonly quantity: number;
|
|
2023
|
-
readonly variant_id: string | number;
|
|
2024
|
-
readonly original_price: number;
|
|
2025
|
-
readonly discounted_price: number;
|
|
2026
|
-
readonly line_price: number;
|
|
2027
|
-
readonly original_line_price: number;
|
|
2028
|
-
readonly total_discount: number;
|
|
2029
|
-
readonly discounts: readonly {
|
|
2030
|
-
readonly title: string;
|
|
2031
|
-
readonly amount: number;
|
|
2032
|
-
}[];
|
|
2033
|
-
readonly sku: string | null;
|
|
2034
|
-
readonly grams: number;
|
|
2035
|
-
readonly vendor: string;
|
|
2036
|
-
readonly taxable: boolean;
|
|
2037
|
-
readonly product_id: string | number;
|
|
2038
|
-
readonly product_has_only_default_variant: boolean;
|
|
2039
|
-
readonly gift_card: boolean;
|
|
2040
|
-
readonly final_line_price: number;
|
|
2041
|
-
readonly final_price: number;
|
|
2042
|
-
readonly featured_image?: {
|
|
2043
|
-
readonly aspect_ratio: number;
|
|
2044
|
-
readonly alt: string;
|
|
2045
|
-
readonly height: number;
|
|
2046
|
-
readonly url: string;
|
|
2047
|
-
readonly width: number;
|
|
2048
|
-
} | undefined;
|
|
2049
|
-
readonly image: string;
|
|
2050
|
-
readonly handle: string;
|
|
2051
|
-
readonly requires_shipping: boolean;
|
|
2052
|
-
readonly product_type: string;
|
|
2053
|
-
readonly product_title: string;
|
|
2054
|
-
readonly product_description: string;
|
|
2055
|
-
readonly variant_title: string | null;
|
|
2056
|
-
readonly variant_options: readonly string[];
|
|
2057
|
-
readonly options_with_values: readonly {
|
|
2058
|
-
readonly value: string;
|
|
2059
|
-
readonly name: string;
|
|
2060
|
-
}[];
|
|
2061
|
-
readonly line_level_discount_allocations: readonly {
|
|
2062
|
-
readonly amount: number;
|
|
2063
|
-
readonly discount_application: {
|
|
2064
|
-
readonly value: number;
|
|
2065
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2066
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2067
|
-
readonly title: string;
|
|
2068
|
-
readonly total_allocated_amount: number;
|
|
2069
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2070
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2071
|
-
readonly description: string | null;
|
|
2072
|
-
};
|
|
2073
|
-
}[];
|
|
2074
|
-
readonly line_level_total_discount: number;
|
|
2075
|
-
readonly quantity_rule?: {
|
|
2076
|
-
readonly min: number;
|
|
2077
|
-
readonly max: number | null;
|
|
2078
|
-
readonly increment: number;
|
|
2079
|
-
} | undefined;
|
|
2080
|
-
readonly has_components: boolean;
|
|
2081
|
-
readonly unit_price?: number | undefined;
|
|
2082
|
-
readonly unit_price_measurement?: {
|
|
2083
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
2084
|
-
readonly quantity_unit: string;
|
|
2085
|
-
readonly quantity_value: number;
|
|
2086
|
-
readonly reference_unit: string;
|
|
2087
|
-
readonly reference_value: number;
|
|
2088
|
-
} | undefined;
|
|
2089
|
-
readonly selling_plan_allocation: {
|
|
2090
|
-
readonly price: number;
|
|
2091
|
-
readonly price_adjustments: readonly {
|
|
2092
|
-
readonly position: number;
|
|
2093
|
-
readonly price: number;
|
|
2094
|
-
}[];
|
|
2095
|
-
readonly compare_at_price: number;
|
|
2096
|
-
readonly per_delivery_price: number;
|
|
2097
|
-
readonly selling_plan: {
|
|
2098
|
-
readonly description: string | null;
|
|
2099
|
-
readonly name: string;
|
|
2100
|
-
readonly id: string | number;
|
|
2101
|
-
readonly options: readonly {
|
|
2102
|
-
readonly value: string;
|
|
2103
|
-
readonly name: string;
|
|
2104
|
-
readonly position: number;
|
|
2105
|
-
}[];
|
|
2106
|
-
readonly recurring_deliveries: boolean;
|
|
2107
|
-
readonly fixed_selling_plan: boolean;
|
|
2108
|
-
readonly price_adjustments: readonly {
|
|
2109
|
-
readonly value: string | number;
|
|
2110
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
2111
|
-
readonly position: number;
|
|
2112
|
-
readonly order_count: number | null;
|
|
2113
|
-
}[];
|
|
2114
|
-
};
|
|
2115
|
-
} | null;
|
|
2116
|
-
readonly properties_array: readonly {
|
|
2117
|
-
readonly key: string;
|
|
2118
|
-
readonly value: string | number | boolean | null;
|
|
2119
|
-
}[];
|
|
2120
|
-
readonly private_properties: {
|
|
2121
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2122
|
-
};
|
|
2123
|
-
readonly private_properties_array: readonly {
|
|
2124
|
-
readonly key: string;
|
|
2125
|
-
readonly value: string | number | boolean | null;
|
|
2126
|
-
}[];
|
|
2127
|
-
readonly public_properties: {
|
|
2128
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2129
|
-
};
|
|
2130
|
-
readonly public_properties_array: readonly {
|
|
2131
|
-
readonly key: string;
|
|
2132
|
-
readonly value: string | number | boolean | null;
|
|
2133
|
-
}[];
|
|
2134
|
-
}[];
|
|
2135
|
-
readonly currency: string;
|
|
2136
|
-
readonly items_subtotal_price: number;
|
|
2137
|
-
readonly cart_level_discount_applications: readonly {
|
|
2138
|
-
readonly value: number;
|
|
2139
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2140
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2141
|
-
readonly title: string;
|
|
2142
|
-
readonly total_allocated_amount: number;
|
|
2143
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2144
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2145
|
-
readonly description: string | null;
|
|
2146
|
-
}[];
|
|
2147
|
-
readonly attributes_array: readonly {
|
|
2148
|
-
readonly key: string;
|
|
2149
|
-
readonly value: string | number | boolean | null;
|
|
2150
|
-
}[];
|
|
2151
|
-
readonly private_attributes: {
|
|
2152
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2153
|
-
};
|
|
2154
|
-
readonly private_attributes_array: readonly {
|
|
2155
|
-
readonly key: string;
|
|
2156
|
-
readonly value: string | number | boolean | null;
|
|
2157
|
-
}[];
|
|
2158
|
-
readonly public_attributes: {
|
|
2159
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2160
|
-
};
|
|
2161
|
-
readonly public_attributes_array: readonly {
|
|
2162
|
-
readonly key: string;
|
|
2163
|
-
readonly value: string | number | boolean | null;
|
|
2164
|
-
}[];
|
|
2165
|
-
} & {
|
|
2166
|
-
readonly sections: {
|
|
2167
|
-
readonly [x: string]: string | null;
|
|
2168
|
-
};
|
|
2169
|
-
}> | AjaxClientResponse<{
|
|
2170
|
-
readonly total_discount: number;
|
|
2171
|
-
readonly discounts: readonly {
|
|
2172
|
-
readonly title: string;
|
|
2173
|
-
readonly amount: number;
|
|
2174
|
-
}[];
|
|
2175
|
-
readonly requires_shipping: boolean;
|
|
2176
|
-
readonly token: string;
|
|
2177
|
-
readonly note: string | null;
|
|
2178
|
-
readonly attributes: {
|
|
2179
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2180
|
-
};
|
|
2181
|
-
readonly discount_codes: readonly {
|
|
2182
|
-
readonly code: string;
|
|
2183
|
-
readonly applicable: boolean;
|
|
2184
|
-
}[];
|
|
2185
|
-
readonly original_total_price: number;
|
|
2186
|
-
readonly total_price: number;
|
|
2187
|
-
readonly total_weight: number;
|
|
2188
|
-
readonly item_count: number;
|
|
2189
|
-
readonly items: readonly {
|
|
2190
|
-
readonly key: string;
|
|
2191
|
-
readonly title: string;
|
|
2192
|
-
readonly url: string;
|
|
2193
|
-
readonly price: number;
|
|
2194
|
-
readonly id: string | number;
|
|
2195
|
-
readonly properties: {
|
|
2196
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2197
|
-
};
|
|
2198
|
-
readonly quantity: number;
|
|
2199
|
-
readonly variant_id: string | number;
|
|
2200
|
-
readonly original_price: number;
|
|
2201
|
-
readonly discounted_price: number;
|
|
2202
|
-
readonly line_price: number;
|
|
2203
|
-
readonly original_line_price: number;
|
|
2204
|
-
readonly total_discount: number;
|
|
2205
|
-
readonly discounts: readonly {
|
|
2206
|
-
readonly title: string;
|
|
2207
|
-
readonly amount: number;
|
|
2208
|
-
}[];
|
|
2209
|
-
readonly sku: string | null;
|
|
2210
|
-
readonly grams: number;
|
|
2211
|
-
readonly vendor: string;
|
|
2212
|
-
readonly taxable: boolean;
|
|
2213
|
-
readonly product_id: string | number;
|
|
2214
|
-
readonly product_has_only_default_variant: boolean;
|
|
2215
|
-
readonly gift_card: boolean;
|
|
2216
|
-
readonly final_line_price: number;
|
|
2217
|
-
readonly final_price: number;
|
|
2218
|
-
readonly featured_image?: {
|
|
2219
|
-
readonly aspect_ratio: number;
|
|
2220
|
-
readonly alt: string;
|
|
2221
|
-
readonly height: number;
|
|
2222
|
-
readonly url: string;
|
|
2223
|
-
readonly width: number;
|
|
2224
|
-
} | undefined;
|
|
2225
|
-
readonly image: string;
|
|
2226
|
-
readonly handle: string;
|
|
2227
|
-
readonly requires_shipping: boolean;
|
|
2228
|
-
readonly product_type: string;
|
|
2229
|
-
readonly product_title: string;
|
|
2230
|
-
readonly product_description: string;
|
|
2231
|
-
readonly variant_title: string | null;
|
|
2232
|
-
readonly variant_options: readonly string[];
|
|
2233
|
-
readonly options_with_values: readonly {
|
|
2234
|
-
readonly value: string;
|
|
2235
|
-
readonly name: string;
|
|
2236
|
-
}[];
|
|
2237
|
-
readonly line_level_discount_allocations: readonly {
|
|
2238
|
-
readonly amount: number;
|
|
2239
|
-
readonly discount_application: {
|
|
2240
|
-
readonly value: number;
|
|
2241
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2242
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2243
|
-
readonly title: string;
|
|
2244
|
-
readonly total_allocated_amount: number;
|
|
2245
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2246
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2247
|
-
readonly description: string | null;
|
|
2248
|
-
};
|
|
2249
|
-
}[];
|
|
2250
|
-
readonly line_level_total_discount: number;
|
|
2251
|
-
readonly quantity_rule?: {
|
|
2252
|
-
readonly min: number;
|
|
2253
|
-
readonly max: number | null;
|
|
2254
|
-
readonly increment: number;
|
|
2255
|
-
} | undefined;
|
|
2256
|
-
readonly has_components: boolean;
|
|
2257
|
-
readonly unit_price?: number | undefined;
|
|
2258
|
-
readonly unit_price_measurement?: {
|
|
2259
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
2260
|
-
readonly quantity_unit: string;
|
|
2261
|
-
readonly quantity_value: number;
|
|
2262
|
-
readonly reference_unit: string;
|
|
2263
|
-
readonly reference_value: number;
|
|
2264
|
-
} | undefined;
|
|
2265
|
-
readonly selling_plan_allocation: {
|
|
2266
|
-
readonly price: number;
|
|
2267
|
-
readonly price_adjustments: readonly {
|
|
2268
|
-
readonly position: number;
|
|
2269
|
-
readonly price: number;
|
|
2270
|
-
}[];
|
|
2271
|
-
readonly compare_at_price: number;
|
|
2272
|
-
readonly per_delivery_price: number;
|
|
2273
|
-
readonly selling_plan: {
|
|
2274
|
-
readonly description: string | null;
|
|
2275
|
-
readonly name: string;
|
|
2276
|
-
readonly id: string | number;
|
|
2277
|
-
readonly options: readonly {
|
|
2278
|
-
readonly value: string;
|
|
2279
|
-
readonly name: string;
|
|
2280
|
-
readonly position: number;
|
|
2281
|
-
}[];
|
|
2282
|
-
readonly recurring_deliveries: boolean;
|
|
2283
|
-
readonly fixed_selling_plan: boolean;
|
|
2284
|
-
readonly price_adjustments: readonly {
|
|
2285
|
-
readonly value: string | number;
|
|
2286
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
2287
|
-
readonly position: number;
|
|
2288
|
-
readonly order_count: number | null;
|
|
2289
|
-
}[];
|
|
2290
|
-
};
|
|
2291
|
-
} | null;
|
|
2292
|
-
readonly properties_array: readonly {
|
|
2293
|
-
readonly key: string;
|
|
2294
|
-
readonly value: string | number | boolean | null;
|
|
2295
|
-
}[];
|
|
2296
|
-
readonly private_properties: {
|
|
2297
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2298
|
-
};
|
|
2299
|
-
readonly private_properties_array: readonly {
|
|
2300
|
-
readonly key: string;
|
|
2301
|
-
readonly value: string | number | boolean | null;
|
|
2302
|
-
}[];
|
|
2303
|
-
readonly public_properties: {
|
|
2304
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2305
|
-
};
|
|
2306
|
-
readonly public_properties_array: readonly {
|
|
2307
|
-
readonly key: string;
|
|
2308
|
-
readonly value: string | number | boolean | null;
|
|
2309
|
-
}[];
|
|
2310
|
-
}[];
|
|
2311
|
-
readonly currency: string;
|
|
2312
|
-
readonly items_subtotal_price: number;
|
|
2313
|
-
readonly cart_level_discount_applications: readonly {
|
|
2314
|
-
readonly value: number;
|
|
2315
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2316
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2317
|
-
readonly title: string;
|
|
2318
|
-
readonly total_allocated_amount: number;
|
|
2319
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2320
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2321
|
-
readonly description: string | null;
|
|
2322
|
-
}[];
|
|
2323
|
-
} & {
|
|
2324
|
-
readonly total_discount: number;
|
|
2325
|
-
readonly discounts: readonly {
|
|
2326
|
-
readonly title: string;
|
|
2327
|
-
readonly amount: number;
|
|
2328
|
-
}[];
|
|
2329
|
-
readonly requires_shipping: boolean;
|
|
2330
|
-
readonly token: string;
|
|
2331
|
-
readonly note: string | null;
|
|
2332
|
-
readonly attributes: {
|
|
2333
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2334
|
-
};
|
|
2335
|
-
readonly discount_codes: readonly {
|
|
2336
|
-
readonly code: string;
|
|
2337
|
-
readonly applicable: boolean;
|
|
2338
|
-
}[];
|
|
2339
|
-
readonly original_total_price: number;
|
|
2340
|
-
readonly total_price: number;
|
|
2341
|
-
readonly total_weight: number;
|
|
2342
|
-
readonly item_count: number;
|
|
2343
|
-
readonly items: readonly {
|
|
2344
|
-
readonly key: string;
|
|
2345
|
-
readonly title: string;
|
|
2346
|
-
readonly url: string;
|
|
2347
|
-
readonly price: number;
|
|
2348
|
-
readonly id: string | number;
|
|
2349
|
-
readonly properties: {
|
|
2350
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2351
|
-
};
|
|
2352
|
-
readonly quantity: number;
|
|
2353
|
-
readonly variant_id: string | number;
|
|
2354
|
-
readonly original_price: number;
|
|
2355
|
-
readonly discounted_price: number;
|
|
2356
|
-
readonly line_price: number;
|
|
2357
|
-
readonly original_line_price: number;
|
|
2358
|
-
readonly total_discount: number;
|
|
2359
|
-
readonly discounts: readonly {
|
|
2360
|
-
readonly title: string;
|
|
2361
|
-
readonly amount: number;
|
|
2362
|
-
}[];
|
|
2363
|
-
readonly sku: string | null;
|
|
2364
|
-
readonly grams: number;
|
|
2365
|
-
readonly vendor: string;
|
|
2366
|
-
readonly taxable: boolean;
|
|
2367
|
-
readonly product_id: string | number;
|
|
2368
|
-
readonly product_has_only_default_variant: boolean;
|
|
2369
|
-
readonly gift_card: boolean;
|
|
2370
|
-
readonly final_line_price: number;
|
|
2371
|
-
readonly final_price: number;
|
|
2372
|
-
readonly featured_image?: {
|
|
2373
|
-
readonly aspect_ratio: number;
|
|
2374
|
-
readonly alt: string;
|
|
2375
|
-
readonly height: number;
|
|
2376
|
-
readonly url: string;
|
|
2377
|
-
readonly width: number;
|
|
2378
|
-
} | undefined;
|
|
2379
|
-
readonly image: string;
|
|
2380
|
-
readonly handle: string;
|
|
2381
|
-
readonly requires_shipping: boolean;
|
|
2382
|
-
readonly product_type: string;
|
|
2383
|
-
readonly product_title: string;
|
|
2384
|
-
readonly product_description: string;
|
|
2385
|
-
readonly variant_title: string | null;
|
|
2386
|
-
readonly variant_options: readonly string[];
|
|
2387
|
-
readonly options_with_values: readonly {
|
|
2388
|
-
readonly value: string;
|
|
2389
|
-
readonly name: string;
|
|
2390
|
-
}[];
|
|
2391
|
-
readonly line_level_discount_allocations: readonly {
|
|
2392
|
-
readonly amount: number;
|
|
2393
|
-
readonly discount_application: {
|
|
2394
|
-
readonly value: number;
|
|
2395
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2396
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2397
|
-
readonly title: string;
|
|
2398
|
-
readonly total_allocated_amount: number;
|
|
2399
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2400
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2401
|
-
readonly description: string | null;
|
|
2402
|
-
};
|
|
2403
|
-
}[];
|
|
2404
|
-
readonly line_level_total_discount: number;
|
|
2405
|
-
readonly quantity_rule?: {
|
|
2406
|
-
readonly min: number;
|
|
2407
|
-
readonly max: number | null;
|
|
2408
|
-
readonly increment: number;
|
|
2409
|
-
} | undefined;
|
|
2410
|
-
readonly has_components: boolean;
|
|
2411
|
-
readonly unit_price?: number | undefined;
|
|
2412
|
-
readonly unit_price_measurement?: {
|
|
2413
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
2414
|
-
readonly quantity_unit: string;
|
|
2415
|
-
readonly quantity_value: number;
|
|
2416
|
-
readonly reference_unit: string;
|
|
2417
|
-
readonly reference_value: number;
|
|
2418
|
-
} | undefined;
|
|
2419
|
-
readonly selling_plan_allocation: {
|
|
2420
|
-
readonly price: number;
|
|
2421
|
-
readonly price_adjustments: readonly {
|
|
2422
|
-
readonly position: number;
|
|
2423
|
-
readonly price: number;
|
|
2424
|
-
}[];
|
|
2425
|
-
readonly compare_at_price: number;
|
|
2426
|
-
readonly per_delivery_price: number;
|
|
2427
|
-
readonly selling_plan: {
|
|
2428
|
-
readonly description: string | null;
|
|
2429
|
-
readonly name: string;
|
|
2430
|
-
readonly id: string | number;
|
|
2431
|
-
readonly options: readonly {
|
|
2432
|
-
readonly value: string;
|
|
2433
|
-
readonly name: string;
|
|
2434
|
-
readonly position: number;
|
|
2435
|
-
}[];
|
|
2436
|
-
readonly recurring_deliveries: boolean;
|
|
2437
|
-
readonly fixed_selling_plan: boolean;
|
|
2438
|
-
readonly price_adjustments: readonly {
|
|
2439
|
-
readonly value: string | number;
|
|
2440
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
2441
|
-
readonly position: number;
|
|
2442
|
-
readonly order_count: number | null;
|
|
2443
|
-
}[];
|
|
2444
|
-
};
|
|
2445
|
-
} | null;
|
|
2446
|
-
readonly properties_array: readonly {
|
|
2447
|
-
readonly key: string;
|
|
2448
|
-
readonly value: string | number | boolean | null;
|
|
2449
|
-
}[];
|
|
2450
|
-
readonly private_properties: {
|
|
2451
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2452
|
-
};
|
|
2453
|
-
readonly private_properties_array: readonly {
|
|
2454
|
-
readonly key: string;
|
|
2455
|
-
readonly value: string | number | boolean | null;
|
|
2456
|
-
}[];
|
|
2457
|
-
readonly public_properties: {
|
|
2458
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2459
|
-
};
|
|
2460
|
-
readonly public_properties_array: readonly {
|
|
2461
|
-
readonly key: string;
|
|
2462
|
-
readonly value: string | number | boolean | null;
|
|
2463
|
-
}[];
|
|
2464
|
-
}[];
|
|
2465
|
-
readonly currency: string;
|
|
2466
|
-
readonly items_subtotal_price: number;
|
|
2467
|
-
readonly cart_level_discount_applications: readonly {
|
|
2468
|
-
readonly value: number;
|
|
2469
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2470
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2471
|
-
readonly title: string;
|
|
2472
|
-
readonly total_allocated_amount: number;
|
|
2473
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2474
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2475
|
-
readonly description: string | null;
|
|
2476
|
-
}[];
|
|
2477
|
-
readonly attributes_array: readonly {
|
|
2478
|
-
readonly key: string;
|
|
2479
|
-
readonly value: string | number | boolean | null;
|
|
2480
|
-
}[];
|
|
2481
|
-
readonly private_attributes: {
|
|
2482
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2483
|
-
};
|
|
2484
|
-
readonly private_attributes_array: readonly {
|
|
2485
|
-
readonly key: string;
|
|
2486
|
-
readonly value: string | number | boolean | null;
|
|
2487
|
-
}[];
|
|
2488
|
-
readonly public_attributes: {
|
|
2489
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2490
|
-
};
|
|
2491
|
-
readonly public_attributes_array: readonly {
|
|
2492
|
-
readonly key: string;
|
|
2493
|
-
readonly value: string | number | boolean | null;
|
|
2494
|
-
}[];
|
|
2495
|
-
} & {
|
|
2496
|
-
readonly sections: null;
|
|
2497
|
-
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
2498
|
-
export declare namespace update {
|
|
2499
|
-
type Input = UpdateInput;
|
|
2500
|
-
}
|
|
2501
|
-
export declare const update: (input?: ({
|
|
2502
|
-
readonly note?: string | null | undefined;
|
|
2503
|
-
readonly attributes?: {
|
|
2504
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2505
|
-
} | undefined;
|
|
2506
|
-
readonly updates?: {
|
|
2507
|
-
readonly [x: string]: number;
|
|
2508
|
-
} | readonly number[] | undefined;
|
|
2509
|
-
readonly discount?: readonly string[] | undefined;
|
|
2510
|
-
} & {
|
|
2511
|
-
readonly sections?: string | undefined;
|
|
2512
|
-
readonly sections_url?: string | undefined;
|
|
2513
|
-
}) | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
2514
|
-
readonly total_discount: number;
|
|
2515
|
-
readonly discounts: readonly {
|
|
2516
|
-
readonly title: string;
|
|
2517
|
-
readonly amount: number;
|
|
2518
|
-
}[];
|
|
2519
|
-
readonly requires_shipping: boolean;
|
|
2520
|
-
readonly token: string;
|
|
2521
|
-
readonly note: string | null;
|
|
2522
|
-
readonly attributes: {
|
|
2523
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2524
|
-
};
|
|
2525
|
-
readonly discount_codes: readonly {
|
|
2526
|
-
readonly code: string;
|
|
2527
|
-
readonly applicable: boolean;
|
|
2528
|
-
}[];
|
|
2529
|
-
readonly original_total_price: number;
|
|
2530
|
-
readonly total_price: number;
|
|
2531
|
-
readonly total_weight: number;
|
|
2532
|
-
readonly item_count: number;
|
|
2533
|
-
readonly items: readonly {
|
|
2534
|
-
readonly key: string;
|
|
2535
|
-
readonly title: string;
|
|
2536
|
-
readonly url: string;
|
|
2537
|
-
readonly price: number;
|
|
2538
|
-
readonly id: string | number;
|
|
2539
|
-
readonly properties: {
|
|
2540
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2541
|
-
};
|
|
2542
|
-
readonly quantity: number;
|
|
2543
|
-
readonly variant_id: string | number;
|
|
2544
|
-
readonly original_price: number;
|
|
2545
|
-
readonly discounted_price: number;
|
|
2546
|
-
readonly line_price: number;
|
|
2547
|
-
readonly original_line_price: number;
|
|
2548
|
-
readonly total_discount: number;
|
|
2549
|
-
readonly discounts: readonly {
|
|
2550
|
-
readonly title: string;
|
|
2551
|
-
readonly amount: number;
|
|
2552
|
-
}[];
|
|
2553
|
-
readonly sku: string | null;
|
|
2554
|
-
readonly grams: number;
|
|
2555
|
-
readonly vendor: string;
|
|
2556
|
-
readonly taxable: boolean;
|
|
2557
|
-
readonly product_id: string | number;
|
|
2558
|
-
readonly product_has_only_default_variant: boolean;
|
|
2559
|
-
readonly gift_card: boolean;
|
|
2560
|
-
readonly final_line_price: number;
|
|
2561
|
-
readonly final_price: number;
|
|
2562
|
-
readonly featured_image?: {
|
|
2563
|
-
readonly aspect_ratio: number;
|
|
2564
|
-
readonly alt: string;
|
|
2565
|
-
readonly height: number;
|
|
2566
|
-
readonly url: string;
|
|
2567
|
-
readonly width: number;
|
|
2568
|
-
} | undefined;
|
|
2569
|
-
readonly image: string;
|
|
2570
|
-
readonly handle: string;
|
|
2571
|
-
readonly requires_shipping: boolean;
|
|
2572
|
-
readonly product_type: string;
|
|
2573
|
-
readonly product_title: string;
|
|
2574
|
-
readonly product_description: string;
|
|
2575
|
-
readonly variant_title: string | null;
|
|
2576
|
-
readonly variant_options: readonly string[];
|
|
2577
|
-
readonly options_with_values: readonly {
|
|
2578
|
-
readonly value: string;
|
|
2579
|
-
readonly name: string;
|
|
2580
|
-
}[];
|
|
2581
|
-
readonly line_level_discount_allocations: readonly {
|
|
2582
|
-
readonly amount: number;
|
|
2583
|
-
readonly discount_application: {
|
|
2584
|
-
readonly value: number;
|
|
2585
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2586
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2587
|
-
readonly title: string;
|
|
2588
|
-
readonly total_allocated_amount: number;
|
|
2589
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2590
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2591
|
-
readonly description: string | null;
|
|
2592
|
-
};
|
|
2593
|
-
}[];
|
|
2594
|
-
readonly line_level_total_discount: number;
|
|
2595
|
-
readonly quantity_rule?: {
|
|
2596
|
-
readonly min: number;
|
|
2597
|
-
readonly max: number | null;
|
|
2598
|
-
readonly increment: number;
|
|
2599
|
-
} | undefined;
|
|
2600
|
-
readonly has_components: boolean;
|
|
2601
|
-
readonly unit_price?: number | undefined;
|
|
2602
|
-
readonly unit_price_measurement?: {
|
|
2603
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
2604
|
-
readonly quantity_unit: string;
|
|
2605
|
-
readonly quantity_value: number;
|
|
2606
|
-
readonly reference_unit: string;
|
|
2607
|
-
readonly reference_value: number;
|
|
2608
|
-
} | undefined;
|
|
2609
|
-
readonly selling_plan_allocation: {
|
|
2610
|
-
readonly price: number;
|
|
2611
|
-
readonly price_adjustments: readonly {
|
|
2612
|
-
readonly position: number;
|
|
2613
|
-
readonly price: number;
|
|
2614
|
-
}[];
|
|
2615
|
-
readonly compare_at_price: number;
|
|
2616
|
-
readonly per_delivery_price: number;
|
|
2617
|
-
readonly selling_plan: {
|
|
2618
|
-
readonly description: string | null;
|
|
2619
|
-
readonly name: string;
|
|
2620
|
-
readonly id: string | number;
|
|
2621
|
-
readonly options: readonly {
|
|
2622
|
-
readonly value: string;
|
|
2623
|
-
readonly name: string;
|
|
2624
|
-
readonly position: number;
|
|
2625
|
-
}[];
|
|
2626
|
-
readonly recurring_deliveries: boolean;
|
|
2627
|
-
readonly fixed_selling_plan: boolean;
|
|
2628
|
-
readonly price_adjustments: readonly {
|
|
2629
|
-
readonly value: string | number;
|
|
2630
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
2631
|
-
readonly position: number;
|
|
2632
|
-
readonly order_count: number | null;
|
|
2633
|
-
}[];
|
|
2634
|
-
};
|
|
2635
|
-
} | null;
|
|
2636
|
-
readonly properties_array: readonly {
|
|
2637
|
-
readonly key: string;
|
|
2638
|
-
readonly value: string | number | boolean | null;
|
|
2639
|
-
}[];
|
|
2640
|
-
readonly private_properties: {
|
|
2641
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2642
|
-
};
|
|
2643
|
-
readonly private_properties_array: readonly {
|
|
2644
|
-
readonly key: string;
|
|
2645
|
-
readonly value: string | number | boolean | null;
|
|
2646
|
-
}[];
|
|
2647
|
-
readonly public_properties: {
|
|
2648
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2649
|
-
};
|
|
2650
|
-
readonly public_properties_array: readonly {
|
|
2651
|
-
readonly key: string;
|
|
2652
|
-
readonly value: string | number | boolean | null;
|
|
2653
|
-
}[];
|
|
2654
|
-
}[];
|
|
2655
|
-
readonly currency: string;
|
|
2656
|
-
readonly items_subtotal_price: number;
|
|
2657
|
-
readonly cart_level_discount_applications: readonly {
|
|
2658
|
-
readonly value: number;
|
|
2659
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2660
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2661
|
-
readonly title: string;
|
|
2662
|
-
readonly total_allocated_amount: number;
|
|
2663
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2664
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2665
|
-
readonly description: string | null;
|
|
2666
|
-
}[];
|
|
2667
|
-
} & {
|
|
2668
|
-
readonly total_discount: number;
|
|
2669
|
-
readonly discounts: readonly {
|
|
2670
|
-
readonly title: string;
|
|
2671
|
-
readonly amount: number;
|
|
2672
|
-
}[];
|
|
2673
|
-
readonly requires_shipping: boolean;
|
|
2674
|
-
readonly token: string;
|
|
2675
|
-
readonly note: string | null;
|
|
2676
|
-
readonly attributes: {
|
|
2677
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2678
|
-
};
|
|
2679
|
-
readonly discount_codes: readonly {
|
|
2680
|
-
readonly code: string;
|
|
2681
|
-
readonly applicable: boolean;
|
|
2682
|
-
}[];
|
|
2683
|
-
readonly original_total_price: number;
|
|
2684
|
-
readonly total_price: number;
|
|
2685
|
-
readonly total_weight: number;
|
|
2686
|
-
readonly item_count: number;
|
|
2687
|
-
readonly items: readonly {
|
|
2688
|
-
readonly key: string;
|
|
2689
|
-
readonly title: string;
|
|
2690
|
-
readonly url: string;
|
|
2691
|
-
readonly price: number;
|
|
2692
|
-
readonly id: string | number;
|
|
2693
|
-
readonly properties: {
|
|
2694
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2695
|
-
};
|
|
2696
|
-
readonly quantity: number;
|
|
2697
|
-
readonly variant_id: string | number;
|
|
2698
|
-
readonly original_price: number;
|
|
2699
|
-
readonly discounted_price: number;
|
|
2700
|
-
readonly line_price: number;
|
|
2701
|
-
readonly original_line_price: number;
|
|
2702
|
-
readonly total_discount: number;
|
|
2703
|
-
readonly discounts: readonly {
|
|
2704
|
-
readonly title: string;
|
|
2705
|
-
readonly amount: number;
|
|
2706
|
-
}[];
|
|
2707
|
-
readonly sku: string | null;
|
|
2708
|
-
readonly grams: number;
|
|
2709
|
-
readonly vendor: string;
|
|
2710
|
-
readonly taxable: boolean;
|
|
2711
|
-
readonly product_id: string | number;
|
|
2712
|
-
readonly product_has_only_default_variant: boolean;
|
|
2713
|
-
readonly gift_card: boolean;
|
|
2714
|
-
readonly final_line_price: number;
|
|
2715
|
-
readonly final_price: number;
|
|
2716
|
-
readonly featured_image?: {
|
|
2717
|
-
readonly aspect_ratio: number;
|
|
2718
|
-
readonly alt: string;
|
|
2719
|
-
readonly height: number;
|
|
2720
|
-
readonly url: string;
|
|
2721
|
-
readonly width: number;
|
|
2722
|
-
} | undefined;
|
|
2723
|
-
readonly image: string;
|
|
2724
|
-
readonly handle: string;
|
|
2725
|
-
readonly requires_shipping: boolean;
|
|
2726
|
-
readonly product_type: string;
|
|
2727
|
-
readonly product_title: string;
|
|
2728
|
-
readonly product_description: string;
|
|
2729
|
-
readonly variant_title: string | null;
|
|
2730
|
-
readonly variant_options: readonly string[];
|
|
2731
|
-
readonly options_with_values: readonly {
|
|
2732
|
-
readonly value: string;
|
|
2733
|
-
readonly name: string;
|
|
2734
|
-
}[];
|
|
2735
|
-
readonly line_level_discount_allocations: readonly {
|
|
2736
|
-
readonly amount: number;
|
|
2737
|
-
readonly discount_application: {
|
|
2738
|
-
readonly value: number;
|
|
2739
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2740
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2741
|
-
readonly title: string;
|
|
2742
|
-
readonly total_allocated_amount: number;
|
|
2743
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2744
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2745
|
-
readonly description: string | null;
|
|
2746
|
-
};
|
|
2747
|
-
}[];
|
|
2748
|
-
readonly line_level_total_discount: number;
|
|
2749
|
-
readonly quantity_rule?: {
|
|
2750
|
-
readonly min: number;
|
|
2751
|
-
readonly max: number | null;
|
|
2752
|
-
readonly increment: number;
|
|
2753
|
-
} | undefined;
|
|
2754
|
-
readonly has_components: boolean;
|
|
2755
|
-
readonly unit_price?: number | undefined;
|
|
2756
|
-
readonly unit_price_measurement?: {
|
|
2757
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
2758
|
-
readonly quantity_unit: string;
|
|
2759
|
-
readonly quantity_value: number;
|
|
2760
|
-
readonly reference_unit: string;
|
|
2761
|
-
readonly reference_value: number;
|
|
2762
|
-
} | undefined;
|
|
2763
|
-
readonly selling_plan_allocation: {
|
|
2764
|
-
readonly price: number;
|
|
2765
|
-
readonly price_adjustments: readonly {
|
|
2766
|
-
readonly position: number;
|
|
2767
|
-
readonly price: number;
|
|
2768
|
-
}[];
|
|
2769
|
-
readonly compare_at_price: number;
|
|
2770
|
-
readonly per_delivery_price: number;
|
|
2771
|
-
readonly selling_plan: {
|
|
2772
|
-
readonly description: string | null;
|
|
2773
|
-
readonly name: string;
|
|
2774
|
-
readonly id: string | number;
|
|
2775
|
-
readonly options: readonly {
|
|
2776
|
-
readonly value: string;
|
|
2777
|
-
readonly name: string;
|
|
2778
|
-
readonly position: number;
|
|
2779
|
-
}[];
|
|
2780
|
-
readonly recurring_deliveries: boolean;
|
|
2781
|
-
readonly fixed_selling_plan: boolean;
|
|
2782
|
-
readonly price_adjustments: readonly {
|
|
2783
|
-
readonly value: string | number;
|
|
2784
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
2785
|
-
readonly position: number;
|
|
2786
|
-
readonly order_count: number | null;
|
|
2787
|
-
}[];
|
|
2788
|
-
};
|
|
2789
|
-
} | null;
|
|
2790
|
-
readonly properties_array: readonly {
|
|
2791
|
-
readonly key: string;
|
|
2792
|
-
readonly value: string | number | boolean | null;
|
|
2793
|
-
}[];
|
|
2794
|
-
readonly private_properties: {
|
|
2795
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2796
|
-
};
|
|
2797
|
-
readonly private_properties_array: readonly {
|
|
2798
|
-
readonly key: string;
|
|
2799
|
-
readonly value: string | number | boolean | null;
|
|
2800
|
-
}[];
|
|
2801
|
-
readonly public_properties: {
|
|
2802
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2803
|
-
};
|
|
2804
|
-
readonly public_properties_array: readonly {
|
|
2805
|
-
readonly key: string;
|
|
2806
|
-
readonly value: string | number | boolean | null;
|
|
2807
|
-
}[];
|
|
2808
|
-
}[];
|
|
2809
|
-
readonly currency: string;
|
|
2810
|
-
readonly items_subtotal_price: number;
|
|
2811
|
-
readonly cart_level_discount_applications: readonly {
|
|
2812
|
-
readonly value: number;
|
|
2813
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2814
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2815
|
-
readonly title: string;
|
|
2816
|
-
readonly total_allocated_amount: number;
|
|
2817
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2818
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2819
|
-
readonly description: string | null;
|
|
2820
|
-
}[];
|
|
2821
|
-
readonly attributes_array: readonly {
|
|
2822
|
-
readonly key: string;
|
|
2823
|
-
readonly value: string | number | boolean | null;
|
|
2824
|
-
}[];
|
|
2825
|
-
readonly private_attributes: {
|
|
2826
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2827
|
-
};
|
|
2828
|
-
readonly private_attributes_array: readonly {
|
|
2829
|
-
readonly key: string;
|
|
2830
|
-
readonly value: string | number | boolean | null;
|
|
2831
|
-
}[];
|
|
2832
|
-
readonly public_attributes: {
|
|
2833
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2834
|
-
};
|
|
2835
|
-
readonly public_attributes_array: readonly {
|
|
2836
|
-
readonly key: string;
|
|
2837
|
-
readonly value: string | number | boolean | null;
|
|
2838
|
-
}[];
|
|
2839
|
-
} & {
|
|
2840
|
-
readonly items_changelog: {
|
|
2841
|
-
readonly added: readonly {
|
|
2842
|
-
readonly quantity: number;
|
|
2843
|
-
readonly variant_id: number;
|
|
2844
|
-
}[];
|
|
2845
|
-
};
|
|
2846
|
-
} & {
|
|
2847
|
-
readonly sections: {
|
|
2848
|
-
readonly [x: string]: string | null;
|
|
2849
|
-
};
|
|
2850
|
-
}> | AjaxClientResponse<{
|
|
2851
|
-
readonly total_discount: number;
|
|
2852
|
-
readonly discounts: readonly {
|
|
2853
|
-
readonly title: string;
|
|
2854
|
-
readonly amount: number;
|
|
2855
|
-
}[];
|
|
2856
|
-
readonly requires_shipping: boolean;
|
|
2857
|
-
readonly token: string;
|
|
2858
|
-
readonly note: string | null;
|
|
2859
|
-
readonly attributes: {
|
|
2860
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2861
|
-
};
|
|
2862
|
-
readonly discount_codes: readonly {
|
|
2863
|
-
readonly code: string;
|
|
2864
|
-
readonly applicable: boolean;
|
|
2865
|
-
}[];
|
|
2866
|
-
readonly original_total_price: number;
|
|
2867
|
-
readonly total_price: number;
|
|
2868
|
-
readonly total_weight: number;
|
|
2869
|
-
readonly item_count: number;
|
|
2870
|
-
readonly items: readonly {
|
|
2871
|
-
readonly key: string;
|
|
2872
|
-
readonly title: string;
|
|
2873
|
-
readonly url: string;
|
|
2874
|
-
readonly price: number;
|
|
2875
|
-
readonly id: string | number;
|
|
2876
|
-
readonly properties: {
|
|
2877
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2878
|
-
};
|
|
2879
|
-
readonly quantity: number;
|
|
2880
|
-
readonly variant_id: string | number;
|
|
2881
|
-
readonly original_price: number;
|
|
2882
|
-
readonly discounted_price: number;
|
|
2883
|
-
readonly line_price: number;
|
|
2884
|
-
readonly original_line_price: number;
|
|
2885
|
-
readonly total_discount: number;
|
|
2886
|
-
readonly discounts: readonly {
|
|
2887
|
-
readonly title: string;
|
|
2888
|
-
readonly amount: number;
|
|
2889
|
-
}[];
|
|
2890
|
-
readonly sku: string | null;
|
|
2891
|
-
readonly grams: number;
|
|
2892
|
-
readonly vendor: string;
|
|
2893
|
-
readonly taxable: boolean;
|
|
2894
|
-
readonly product_id: string | number;
|
|
2895
|
-
readonly product_has_only_default_variant: boolean;
|
|
2896
|
-
readonly gift_card: boolean;
|
|
2897
|
-
readonly final_line_price: number;
|
|
2898
|
-
readonly final_price: number;
|
|
2899
|
-
readonly featured_image?: {
|
|
2900
|
-
readonly aspect_ratio: number;
|
|
2901
|
-
readonly alt: string;
|
|
2902
|
-
readonly height: number;
|
|
2903
|
-
readonly url: string;
|
|
2904
|
-
readonly width: number;
|
|
2905
|
-
} | undefined;
|
|
2906
|
-
readonly image: string;
|
|
2907
|
-
readonly handle: string;
|
|
2908
|
-
readonly requires_shipping: boolean;
|
|
2909
|
-
readonly product_type: string;
|
|
2910
|
-
readonly product_title: string;
|
|
2911
|
-
readonly product_description: string;
|
|
2912
|
-
readonly variant_title: string | null;
|
|
2913
|
-
readonly variant_options: readonly string[];
|
|
2914
|
-
readonly options_with_values: readonly {
|
|
2915
|
-
readonly value: string;
|
|
2916
|
-
readonly name: string;
|
|
2917
|
-
}[];
|
|
2918
|
-
readonly line_level_discount_allocations: readonly {
|
|
2919
|
-
readonly amount: number;
|
|
2920
|
-
readonly discount_application: {
|
|
2921
|
-
readonly value: number;
|
|
2922
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2923
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2924
|
-
readonly title: string;
|
|
2925
|
-
readonly total_allocated_amount: number;
|
|
2926
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
2927
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
2928
|
-
readonly description: string | null;
|
|
2929
|
-
};
|
|
2930
|
-
}[];
|
|
2931
|
-
readonly line_level_total_discount: number;
|
|
2932
|
-
readonly quantity_rule?: {
|
|
2933
|
-
readonly min: number;
|
|
2934
|
-
readonly max: number | null;
|
|
2935
|
-
readonly increment: number;
|
|
2936
|
-
} | undefined;
|
|
2937
|
-
readonly has_components: boolean;
|
|
2938
|
-
readonly unit_price?: number | undefined;
|
|
2939
|
-
readonly unit_price_measurement?: {
|
|
2940
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
2941
|
-
readonly quantity_unit: string;
|
|
2942
|
-
readonly quantity_value: number;
|
|
2943
|
-
readonly reference_unit: string;
|
|
2944
|
-
readonly reference_value: number;
|
|
2945
|
-
} | undefined;
|
|
2946
|
-
readonly selling_plan_allocation: {
|
|
2947
|
-
readonly price: number;
|
|
2948
|
-
readonly price_adjustments: readonly {
|
|
2949
|
-
readonly position: number;
|
|
2950
|
-
readonly price: number;
|
|
2951
|
-
}[];
|
|
2952
|
-
readonly compare_at_price: number;
|
|
2953
|
-
readonly per_delivery_price: number;
|
|
2954
|
-
readonly selling_plan: {
|
|
2955
|
-
readonly description: string | null;
|
|
2956
|
-
readonly name: string;
|
|
2957
|
-
readonly id: string | number;
|
|
2958
|
-
readonly options: readonly {
|
|
2959
|
-
readonly value: string;
|
|
2960
|
-
readonly name: string;
|
|
2961
|
-
readonly position: number;
|
|
2962
|
-
}[];
|
|
2963
|
-
readonly recurring_deliveries: boolean;
|
|
2964
|
-
readonly fixed_selling_plan: boolean;
|
|
2965
|
-
readonly price_adjustments: readonly {
|
|
2966
|
-
readonly value: string | number;
|
|
2967
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
2968
|
-
readonly position: number;
|
|
2969
|
-
readonly order_count: number | null;
|
|
2970
|
-
}[];
|
|
2971
|
-
};
|
|
2972
|
-
} | null;
|
|
2973
|
-
readonly properties_array: readonly {
|
|
2974
|
-
readonly key: string;
|
|
2975
|
-
readonly value: string | number | boolean | null;
|
|
2976
|
-
}[];
|
|
2977
|
-
readonly private_properties: {
|
|
2978
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2979
|
-
};
|
|
2980
|
-
readonly private_properties_array: readonly {
|
|
2981
|
-
readonly key: string;
|
|
2982
|
-
readonly value: string | number | boolean | null;
|
|
2983
|
-
}[];
|
|
2984
|
-
readonly public_properties: {
|
|
2985
|
-
readonly [x: string]: string | number | boolean | null;
|
|
2986
|
-
};
|
|
2987
|
-
readonly public_properties_array: readonly {
|
|
2988
|
-
readonly key: string;
|
|
2989
|
-
readonly value: string | number | boolean | null;
|
|
2990
|
-
}[];
|
|
2991
|
-
}[];
|
|
1930
|
+
})[];
|
|
2992
1931
|
readonly currency: string;
|
|
2993
1932
|
readonly items_subtotal_price: number;
|
|
2994
1933
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -3002,159 +1941,6 @@ export declare const update: (input?: ({
|
|
|
3002
1941
|
readonly description: string | null;
|
|
3003
1942
|
}[];
|
|
3004
1943
|
} & {
|
|
3005
|
-
readonly total_discount: number;
|
|
3006
|
-
readonly discounts: readonly {
|
|
3007
|
-
readonly title: string;
|
|
3008
|
-
readonly amount: number;
|
|
3009
|
-
}[];
|
|
3010
|
-
readonly requires_shipping: boolean;
|
|
3011
|
-
readonly token: string;
|
|
3012
|
-
readonly note: string | null;
|
|
3013
|
-
readonly attributes: {
|
|
3014
|
-
readonly [x: string]: string | number | boolean | null;
|
|
3015
|
-
};
|
|
3016
|
-
readonly discount_codes: readonly {
|
|
3017
|
-
readonly code: string;
|
|
3018
|
-
readonly applicable: boolean;
|
|
3019
|
-
}[];
|
|
3020
|
-
readonly original_total_price: number;
|
|
3021
|
-
readonly total_price: number;
|
|
3022
|
-
readonly total_weight: number;
|
|
3023
|
-
readonly item_count: number;
|
|
3024
|
-
readonly items: readonly {
|
|
3025
|
-
readonly key: string;
|
|
3026
|
-
readonly title: string;
|
|
3027
|
-
readonly url: string;
|
|
3028
|
-
readonly price: number;
|
|
3029
|
-
readonly id: string | number;
|
|
3030
|
-
readonly properties: {
|
|
3031
|
-
readonly [x: string]: string | number | boolean | null;
|
|
3032
|
-
};
|
|
3033
|
-
readonly quantity: number;
|
|
3034
|
-
readonly variant_id: string | number;
|
|
3035
|
-
readonly original_price: number;
|
|
3036
|
-
readonly discounted_price: number;
|
|
3037
|
-
readonly line_price: number;
|
|
3038
|
-
readonly original_line_price: number;
|
|
3039
|
-
readonly total_discount: number;
|
|
3040
|
-
readonly discounts: readonly {
|
|
3041
|
-
readonly title: string;
|
|
3042
|
-
readonly amount: number;
|
|
3043
|
-
}[];
|
|
3044
|
-
readonly sku: string | null;
|
|
3045
|
-
readonly grams: number;
|
|
3046
|
-
readonly vendor: string;
|
|
3047
|
-
readonly taxable: boolean;
|
|
3048
|
-
readonly product_id: string | number;
|
|
3049
|
-
readonly product_has_only_default_variant: boolean;
|
|
3050
|
-
readonly gift_card: boolean;
|
|
3051
|
-
readonly final_line_price: number;
|
|
3052
|
-
readonly final_price: number;
|
|
3053
|
-
readonly featured_image?: {
|
|
3054
|
-
readonly aspect_ratio: number;
|
|
3055
|
-
readonly alt: string;
|
|
3056
|
-
readonly height: number;
|
|
3057
|
-
readonly url: string;
|
|
3058
|
-
readonly width: number;
|
|
3059
|
-
} | undefined;
|
|
3060
|
-
readonly image: string;
|
|
3061
|
-
readonly handle: string;
|
|
3062
|
-
readonly requires_shipping: boolean;
|
|
3063
|
-
readonly product_type: string;
|
|
3064
|
-
readonly product_title: string;
|
|
3065
|
-
readonly product_description: string;
|
|
3066
|
-
readonly variant_title: string | null;
|
|
3067
|
-
readonly variant_options: readonly string[];
|
|
3068
|
-
readonly options_with_values: readonly {
|
|
3069
|
-
readonly value: string;
|
|
3070
|
-
readonly name: string;
|
|
3071
|
-
}[];
|
|
3072
|
-
readonly line_level_discount_allocations: readonly {
|
|
3073
|
-
readonly amount: number;
|
|
3074
|
-
readonly discount_application: {
|
|
3075
|
-
readonly value: number;
|
|
3076
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
3077
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
3078
|
-
readonly title: string;
|
|
3079
|
-
readonly total_allocated_amount: number;
|
|
3080
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
3081
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
3082
|
-
readonly description: string | null;
|
|
3083
|
-
};
|
|
3084
|
-
}[];
|
|
3085
|
-
readonly line_level_total_discount: number;
|
|
3086
|
-
readonly quantity_rule?: {
|
|
3087
|
-
readonly min: number;
|
|
3088
|
-
readonly max: number | null;
|
|
3089
|
-
readonly increment: number;
|
|
3090
|
-
} | undefined;
|
|
3091
|
-
readonly has_components: boolean;
|
|
3092
|
-
readonly unit_price?: number | undefined;
|
|
3093
|
-
readonly unit_price_measurement?: {
|
|
3094
|
-
readonly measured_type: "volume" | "weight" | "dimension";
|
|
3095
|
-
readonly quantity_unit: string;
|
|
3096
|
-
readonly quantity_value: number;
|
|
3097
|
-
readonly reference_unit: string;
|
|
3098
|
-
readonly reference_value: number;
|
|
3099
|
-
} | undefined;
|
|
3100
|
-
readonly selling_plan_allocation: {
|
|
3101
|
-
readonly price: number;
|
|
3102
|
-
readonly price_adjustments: readonly {
|
|
3103
|
-
readonly position: number;
|
|
3104
|
-
readonly price: number;
|
|
3105
|
-
}[];
|
|
3106
|
-
readonly compare_at_price: number;
|
|
3107
|
-
readonly per_delivery_price: number;
|
|
3108
|
-
readonly selling_plan: {
|
|
3109
|
-
readonly description: string | null;
|
|
3110
|
-
readonly name: string;
|
|
3111
|
-
readonly id: string | number;
|
|
3112
|
-
readonly options: readonly {
|
|
3113
|
-
readonly value: string;
|
|
3114
|
-
readonly name: string;
|
|
3115
|
-
readonly position: number;
|
|
3116
|
-
}[];
|
|
3117
|
-
readonly recurring_deliveries: boolean;
|
|
3118
|
-
readonly fixed_selling_plan: boolean;
|
|
3119
|
-
readonly price_adjustments: readonly {
|
|
3120
|
-
readonly value: string | number;
|
|
3121
|
-
readonly value_type: "fixed_amount" | "percentage" | "price";
|
|
3122
|
-
readonly position: number;
|
|
3123
|
-
readonly order_count: number | null;
|
|
3124
|
-
}[];
|
|
3125
|
-
};
|
|
3126
|
-
} | null;
|
|
3127
|
-
readonly properties_array: readonly {
|
|
3128
|
-
readonly key: string;
|
|
3129
|
-
readonly value: string | number | boolean | null;
|
|
3130
|
-
}[];
|
|
3131
|
-
readonly private_properties: {
|
|
3132
|
-
readonly [x: string]: string | number | boolean | null;
|
|
3133
|
-
};
|
|
3134
|
-
readonly private_properties_array: readonly {
|
|
3135
|
-
readonly key: string;
|
|
3136
|
-
readonly value: string | number | boolean | null;
|
|
3137
|
-
}[];
|
|
3138
|
-
readonly public_properties: {
|
|
3139
|
-
readonly [x: string]: string | number | boolean | null;
|
|
3140
|
-
};
|
|
3141
|
-
readonly public_properties_array: readonly {
|
|
3142
|
-
readonly key: string;
|
|
3143
|
-
readonly value: string | number | boolean | null;
|
|
3144
|
-
}[];
|
|
3145
|
-
}[];
|
|
3146
|
-
readonly currency: string;
|
|
3147
|
-
readonly items_subtotal_price: number;
|
|
3148
|
-
readonly cart_level_discount_applications: readonly {
|
|
3149
|
-
readonly value: number;
|
|
3150
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
3151
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
3152
|
-
readonly title: string;
|
|
3153
|
-
readonly total_allocated_amount: number;
|
|
3154
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
3155
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
3156
|
-
readonly description: string | null;
|
|
3157
|
-
}[];
|
|
3158
1944
|
readonly attributes_array: readonly {
|
|
3159
1945
|
readonly key: string;
|
|
3160
1946
|
readonly value: string | number | boolean | null;
|