@brytdesigns/shopify-ajax-cart-api 1.0.11 → 1.0.13
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/api/CartClear.js +2 -2
- package/dist/effect/api/CartClear.js.map +1 -1
- package/dist/effect/api/CartGet.js +2 -2
- package/dist/effect/api/CartGet.js.map +1 -1
- package/dist/effect/index.d.ts +156 -1462
- package/dist/effect/schema.js +91 -84
- package/dist/effect/schema.js.map +1 -1
- package/dist/esm/index.js +76 -73
- package/dist/esm/index.js.map +1 -1
- package/dist/main/effect/api/CartClear.js +2 -2
- package/dist/main/effect/api/CartClear.js.map +1 -1
- package/dist/main/effect/api/CartGet.js +2 -2
- package/dist/main/effect/api/CartGet.js.map +1 -1
- package/dist/main/effect/schema.js +91 -84
- package/dist/main/effect/schema.js.map +1 -1
- package/dist/main/index.d.ts +322 -3086
- package/dist/main/index.js +2 -2
- package/dist/main/index.js.map +1 -1
- 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,29 @@ 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 sections: {
|
|
609
|
+
readonly [x: string]: string | null;
|
|
610
|
+
};
|
|
611
|
+
}> | AjaxClientResponse<{
|
|
586
612
|
readonly total_discount: number;
|
|
587
613
|
readonly discounts: readonly {
|
|
588
614
|
readonly title: string;
|
|
@@ -602,7 +628,7 @@ export declare const change: (input?: ({
|
|
|
602
628
|
readonly total_price: number;
|
|
603
629
|
readonly total_weight: number;
|
|
604
630
|
readonly item_count: number;
|
|
605
|
-
readonly items: readonly {
|
|
631
|
+
readonly items: readonly ({
|
|
606
632
|
readonly key: string;
|
|
607
633
|
readonly title: string;
|
|
608
634
|
readonly url: string;
|
|
@@ -705,6 +731,7 @@ export declare const change: (input?: ({
|
|
|
705
731
|
}[];
|
|
706
732
|
};
|
|
707
733
|
} | null;
|
|
734
|
+
} & {
|
|
708
735
|
readonly properties_array: readonly {
|
|
709
736
|
readonly key: string;
|
|
710
737
|
readonly value: string | number | boolean | null;
|
|
@@ -723,7 +750,7 @@ export declare const change: (input?: ({
|
|
|
723
750
|
readonly key: string;
|
|
724
751
|
readonly value: string | number | boolean | null;
|
|
725
752
|
}[];
|
|
726
|
-
}[];
|
|
753
|
+
})[];
|
|
727
754
|
readonly currency: string;
|
|
728
755
|
readonly items_subtotal_price: number;
|
|
729
756
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -736,6 +763,7 @@ export declare const change: (input?: ({
|
|
|
736
763
|
readonly value_type: "fixed_amount" | "percentage";
|
|
737
764
|
readonly description: string | null;
|
|
738
765
|
}[];
|
|
766
|
+
} & {
|
|
739
767
|
readonly attributes_array: readonly {
|
|
740
768
|
readonly key: string;
|
|
741
769
|
readonly value: string | number | boolean | null;
|
|
@@ -755,49 +783,15 @@ export declare const change: (input?: ({
|
|
|
755
783
|
readonly value: string | number | boolean | null;
|
|
756
784
|
}[];
|
|
757
785
|
} & {
|
|
758
|
-
readonly
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
readonly product_id: number;
|
|
768
|
-
readonly image: string;
|
|
769
|
-
readonly product_type: string;
|
|
770
|
-
readonly product_title: string;
|
|
771
|
-
readonly variant_title: string;
|
|
772
|
-
readonly presentment_price: number;
|
|
773
|
-
readonly untranslated_product_title: string;
|
|
774
|
-
readonly untranslated_variant_title: string;
|
|
775
|
-
readonly view_key: string;
|
|
776
|
-
}[];
|
|
777
|
-
readonly items_removed: readonly {
|
|
778
|
-
readonly title: string;
|
|
779
|
-
readonly url: string;
|
|
780
|
-
readonly price: string;
|
|
781
|
-
readonly id: string;
|
|
782
|
-
readonly quantity: number;
|
|
783
|
-
readonly variant_id: number;
|
|
784
|
-
readonly sku: string;
|
|
785
|
-
readonly vendor: string;
|
|
786
|
-
readonly product_id: number;
|
|
787
|
-
readonly image: string;
|
|
788
|
-
readonly product_type: string;
|
|
789
|
-
readonly product_title: string;
|
|
790
|
-
readonly variant_title: string;
|
|
791
|
-
readonly presentment_price: number;
|
|
792
|
-
readonly untranslated_product_title: string;
|
|
793
|
-
readonly untranslated_variant_title: string;
|
|
794
|
-
readonly view_key: string;
|
|
795
|
-
}[];
|
|
796
|
-
} & {
|
|
797
|
-
readonly sections: {
|
|
798
|
-
readonly [x: string]: string | null;
|
|
799
|
-
};
|
|
800
|
-
}> | AjaxClientResponse<{
|
|
786
|
+
readonly sections: null;
|
|
787
|
+
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
788
|
+
export declare namespace clear {
|
|
789
|
+
type Input = ClearInput;
|
|
790
|
+
}
|
|
791
|
+
export declare const clear: (input?: {
|
|
792
|
+
readonly sections?: string | undefined;
|
|
793
|
+
readonly sections_url?: string | undefined;
|
|
794
|
+
} | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
801
795
|
readonly total_discount: number;
|
|
802
796
|
readonly discounts: readonly {
|
|
803
797
|
readonly title: string;
|
|
@@ -817,7 +811,7 @@ export declare const change: (input?: ({
|
|
|
817
811
|
readonly total_price: number;
|
|
818
812
|
readonly total_weight: number;
|
|
819
813
|
readonly item_count: number;
|
|
820
|
-
readonly items: readonly {
|
|
814
|
+
readonly items: readonly ({
|
|
821
815
|
readonly key: string;
|
|
822
816
|
readonly title: string;
|
|
823
817
|
readonly url: string;
|
|
@@ -920,6 +914,7 @@ export declare const change: (input?: ({
|
|
|
920
914
|
}[];
|
|
921
915
|
};
|
|
922
916
|
} | null;
|
|
917
|
+
} & {
|
|
923
918
|
readonly properties_array: readonly {
|
|
924
919
|
readonly key: string;
|
|
925
920
|
readonly value: string | number | boolean | null;
|
|
@@ -938,7 +933,7 @@ export declare const change: (input?: ({
|
|
|
938
933
|
readonly key: string;
|
|
939
934
|
readonly value: string | number | boolean | null;
|
|
940
935
|
}[];
|
|
941
|
-
}[];
|
|
936
|
+
})[];
|
|
942
937
|
readonly currency: string;
|
|
943
938
|
readonly items_subtotal_price: number;
|
|
944
939
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -952,6 +947,29 @@ export declare const change: (input?: ({
|
|
|
952
947
|
readonly description: string | null;
|
|
953
948
|
}[];
|
|
954
949
|
} & {
|
|
950
|
+
readonly attributes_array: readonly {
|
|
951
|
+
readonly key: string;
|
|
952
|
+
readonly value: string | number | boolean | null;
|
|
953
|
+
}[];
|
|
954
|
+
readonly private_attributes: {
|
|
955
|
+
readonly [x: string]: string | number | boolean | null;
|
|
956
|
+
};
|
|
957
|
+
readonly private_attributes_array: readonly {
|
|
958
|
+
readonly key: string;
|
|
959
|
+
readonly value: string | number | boolean | null;
|
|
960
|
+
}[];
|
|
961
|
+
readonly public_attributes: {
|
|
962
|
+
readonly [x: string]: string | number | boolean | null;
|
|
963
|
+
};
|
|
964
|
+
readonly public_attributes_array: readonly {
|
|
965
|
+
readonly key: string;
|
|
966
|
+
readonly value: string | number | boolean | null;
|
|
967
|
+
}[];
|
|
968
|
+
} & {
|
|
969
|
+
readonly sections: {
|
|
970
|
+
readonly [x: string]: string | null;
|
|
971
|
+
};
|
|
972
|
+
}> | AjaxClientResponse<{
|
|
955
973
|
readonly total_discount: number;
|
|
956
974
|
readonly discounts: readonly {
|
|
957
975
|
readonly title: string;
|
|
@@ -971,7 +989,7 @@ export declare const change: (input?: ({
|
|
|
971
989
|
readonly total_price: number;
|
|
972
990
|
readonly total_weight: number;
|
|
973
991
|
readonly item_count: number;
|
|
974
|
-
readonly items: readonly {
|
|
992
|
+
readonly items: readonly ({
|
|
975
993
|
readonly key: string;
|
|
976
994
|
readonly title: string;
|
|
977
995
|
readonly url: string;
|
|
@@ -1074,6 +1092,7 @@ export declare const change: (input?: ({
|
|
|
1074
1092
|
}[];
|
|
1075
1093
|
};
|
|
1076
1094
|
} | null;
|
|
1095
|
+
} & {
|
|
1077
1096
|
readonly properties_array: readonly {
|
|
1078
1097
|
readonly key: string;
|
|
1079
1098
|
readonly value: string | number | boolean | null;
|
|
@@ -1092,7 +1111,7 @@ export declare const change: (input?: ({
|
|
|
1092
1111
|
readonly key: string;
|
|
1093
1112
|
readonly value: string | number | boolean | null;
|
|
1094
1113
|
}[];
|
|
1095
|
-
}[];
|
|
1114
|
+
})[];
|
|
1096
1115
|
readonly currency: string;
|
|
1097
1116
|
readonly items_subtotal_price: number;
|
|
1098
1117
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1105,6 +1124,7 @@ export declare const change: (input?: ({
|
|
|
1105
1124
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1106
1125
|
readonly description: string | null;
|
|
1107
1126
|
}[];
|
|
1127
|
+
} & {
|
|
1108
1128
|
readonly attributes_array: readonly {
|
|
1109
1129
|
readonly key: string;
|
|
1110
1130
|
readonly value: string | number | boolean | null;
|
|
@@ -1123,52 +1143,13 @@ export declare const change: (input?: ({
|
|
|
1123
1143
|
readonly key: string;
|
|
1124
1144
|
readonly value: string | number | boolean | null;
|
|
1125
1145
|
}[];
|
|
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
1146
|
} & {
|
|
1166
1147
|
readonly sections: null;
|
|
1167
1148
|
}>, 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 =
|
|
1149
|
+
export declare namespace get {
|
|
1150
|
+
type Input = GetInput;
|
|
1170
1151
|
}
|
|
1171
|
-
export declare const
|
|
1152
|
+
export declare const get: (input?: {
|
|
1172
1153
|
readonly sections?: string | undefined;
|
|
1173
1154
|
readonly sections_url?: string | undefined;
|
|
1174
1155
|
} | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
@@ -1191,7 +1172,7 @@ export declare const clear: (input?: {
|
|
|
1191
1172
|
readonly total_price: number;
|
|
1192
1173
|
readonly total_weight: number;
|
|
1193
1174
|
readonly item_count: number;
|
|
1194
|
-
readonly items: readonly {
|
|
1175
|
+
readonly items: readonly ({
|
|
1195
1176
|
readonly key: string;
|
|
1196
1177
|
readonly title: string;
|
|
1197
1178
|
readonly url: string;
|
|
@@ -1294,6 +1275,7 @@ export declare const clear: (input?: {
|
|
|
1294
1275
|
}[];
|
|
1295
1276
|
};
|
|
1296
1277
|
} | null;
|
|
1278
|
+
} & {
|
|
1297
1279
|
readonly properties_array: readonly {
|
|
1298
1280
|
readonly key: string;
|
|
1299
1281
|
readonly value: string | number | boolean | null;
|
|
@@ -1312,7 +1294,7 @@ export declare const clear: (input?: {
|
|
|
1312
1294
|
readonly key: string;
|
|
1313
1295
|
readonly value: string | number | boolean | null;
|
|
1314
1296
|
}[];
|
|
1315
|
-
}[];
|
|
1297
|
+
})[];
|
|
1316
1298
|
readonly currency: string;
|
|
1317
1299
|
readonly items_subtotal_price: number;
|
|
1318
1300
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1326,6 +1308,29 @@ export declare const clear: (input?: {
|
|
|
1326
1308
|
readonly description: string | null;
|
|
1327
1309
|
}[];
|
|
1328
1310
|
} & {
|
|
1311
|
+
readonly attributes_array: readonly {
|
|
1312
|
+
readonly key: string;
|
|
1313
|
+
readonly value: string | number | boolean | null;
|
|
1314
|
+
}[];
|
|
1315
|
+
readonly private_attributes: {
|
|
1316
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1317
|
+
};
|
|
1318
|
+
readonly private_attributes_array: readonly {
|
|
1319
|
+
readonly key: string;
|
|
1320
|
+
readonly value: string | number | boolean | null;
|
|
1321
|
+
}[];
|
|
1322
|
+
readonly public_attributes: {
|
|
1323
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1324
|
+
};
|
|
1325
|
+
readonly public_attributes_array: readonly {
|
|
1326
|
+
readonly key: string;
|
|
1327
|
+
readonly value: string | number | boolean | null;
|
|
1328
|
+
}[];
|
|
1329
|
+
} & {
|
|
1330
|
+
readonly sections: {
|
|
1331
|
+
readonly [x: string]: string | null;
|
|
1332
|
+
};
|
|
1333
|
+
}> | AjaxClientResponse<{
|
|
1329
1334
|
readonly total_discount: number;
|
|
1330
1335
|
readonly discounts: readonly {
|
|
1331
1336
|
readonly title: string;
|
|
@@ -1345,7 +1350,7 @@ export declare const clear: (input?: {
|
|
|
1345
1350
|
readonly total_price: number;
|
|
1346
1351
|
readonly total_weight: number;
|
|
1347
1352
|
readonly item_count: number;
|
|
1348
|
-
readonly items: readonly {
|
|
1353
|
+
readonly items: readonly ({
|
|
1349
1354
|
readonly key: string;
|
|
1350
1355
|
readonly title: string;
|
|
1351
1356
|
readonly url: string;
|
|
@@ -1448,6 +1453,7 @@ export declare const clear: (input?: {
|
|
|
1448
1453
|
}[];
|
|
1449
1454
|
};
|
|
1450
1455
|
} | null;
|
|
1456
|
+
} & {
|
|
1451
1457
|
readonly properties_array: readonly {
|
|
1452
1458
|
readonly key: string;
|
|
1453
1459
|
readonly value: string | number | boolean | null;
|
|
@@ -1466,7 +1472,7 @@ export declare const clear: (input?: {
|
|
|
1466
1472
|
readonly key: string;
|
|
1467
1473
|
readonly value: string | number | boolean | null;
|
|
1468
1474
|
}[];
|
|
1469
|
-
}[];
|
|
1475
|
+
})[];
|
|
1470
1476
|
readonly currency: string;
|
|
1471
1477
|
readonly items_subtotal_price: number;
|
|
1472
1478
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1479,6 +1485,7 @@ export declare const clear: (input?: {
|
|
|
1479
1485
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1480
1486
|
readonly description: string | null;
|
|
1481
1487
|
}[];
|
|
1488
|
+
} & {
|
|
1482
1489
|
readonly attributes_array: readonly {
|
|
1483
1490
|
readonly key: string;
|
|
1484
1491
|
readonly value: string | number | boolean | null;
|
|
@@ -1498,10 +1505,24 @@ export declare const clear: (input?: {
|
|
|
1498
1505
|
readonly value: string | number | boolean | null;
|
|
1499
1506
|
}[];
|
|
1500
1507
|
} & {
|
|
1501
|
-
readonly sections:
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1508
|
+
readonly sections: null;
|
|
1509
|
+
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
1510
|
+
export declare namespace update {
|
|
1511
|
+
type Input = UpdateInput;
|
|
1512
|
+
}
|
|
1513
|
+
export declare const update: (input?: ({
|
|
1514
|
+
readonly note?: string | null | undefined;
|
|
1515
|
+
readonly attributes?: {
|
|
1516
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1517
|
+
} | undefined;
|
|
1518
|
+
readonly updates?: {
|
|
1519
|
+
readonly [x: string]: number;
|
|
1520
|
+
} | readonly number[] | undefined;
|
|
1521
|
+
readonly discount?: readonly string[] | undefined;
|
|
1522
|
+
} & {
|
|
1523
|
+
readonly sections?: string | undefined;
|
|
1524
|
+
readonly sections_url?: string | undefined;
|
|
1525
|
+
}) | undefined) => import("effect/Effect").Effect<AjaxClientResponse<undefined> | AjaxClientResponse<{
|
|
1505
1526
|
readonly total_discount: number;
|
|
1506
1527
|
readonly discounts: readonly {
|
|
1507
1528
|
readonly title: string;
|
|
@@ -1521,7 +1542,7 @@ export declare const clear: (input?: {
|
|
|
1521
1542
|
readonly total_price: number;
|
|
1522
1543
|
readonly total_weight: number;
|
|
1523
1544
|
readonly item_count: number;
|
|
1524
|
-
readonly items: readonly {
|
|
1545
|
+
readonly items: readonly ({
|
|
1525
1546
|
readonly key: string;
|
|
1526
1547
|
readonly title: string;
|
|
1527
1548
|
readonly url: string;
|
|
@@ -1624,6 +1645,7 @@ export declare const clear: (input?: {
|
|
|
1624
1645
|
}[];
|
|
1625
1646
|
};
|
|
1626
1647
|
} | null;
|
|
1648
|
+
} & {
|
|
1627
1649
|
readonly properties_array: readonly {
|
|
1628
1650
|
readonly key: string;
|
|
1629
1651
|
readonly value: string | number | boolean | null;
|
|
@@ -1642,7 +1664,7 @@ export declare const clear: (input?: {
|
|
|
1642
1664
|
readonly key: string;
|
|
1643
1665
|
readonly value: string | number | boolean | null;
|
|
1644
1666
|
}[];
|
|
1645
|
-
}[];
|
|
1667
|
+
})[];
|
|
1646
1668
|
readonly currency: string;
|
|
1647
1669
|
readonly items_subtotal_price: number;
|
|
1648
1670
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1656,6 +1678,29 @@ export declare const clear: (input?: {
|
|
|
1656
1678
|
readonly description: string | null;
|
|
1657
1679
|
}[];
|
|
1658
1680
|
} & {
|
|
1681
|
+
readonly attributes_array: readonly {
|
|
1682
|
+
readonly key: string;
|
|
1683
|
+
readonly value: string | number | boolean | null;
|
|
1684
|
+
}[];
|
|
1685
|
+
readonly private_attributes: {
|
|
1686
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1687
|
+
};
|
|
1688
|
+
readonly private_attributes_array: readonly {
|
|
1689
|
+
readonly key: string;
|
|
1690
|
+
readonly value: string | number | boolean | null;
|
|
1691
|
+
}[];
|
|
1692
|
+
readonly public_attributes: {
|
|
1693
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1694
|
+
};
|
|
1695
|
+
readonly public_attributes_array: readonly {
|
|
1696
|
+
readonly key: string;
|
|
1697
|
+
readonly value: string | number | boolean | null;
|
|
1698
|
+
}[];
|
|
1699
|
+
} & {
|
|
1700
|
+
readonly sections: {
|
|
1701
|
+
readonly [x: string]: string | null;
|
|
1702
|
+
};
|
|
1703
|
+
}> | AjaxClientResponse<{
|
|
1659
1704
|
readonly total_discount: number;
|
|
1660
1705
|
readonly discounts: readonly {
|
|
1661
1706
|
readonly title: string;
|
|
@@ -1675,7 +1720,7 @@ export declare const clear: (input?: {
|
|
|
1675
1720
|
readonly total_price: number;
|
|
1676
1721
|
readonly total_weight: number;
|
|
1677
1722
|
readonly item_count: number;
|
|
1678
|
-
readonly items: readonly {
|
|
1723
|
+
readonly items: readonly ({
|
|
1679
1724
|
readonly key: string;
|
|
1680
1725
|
readonly title: string;
|
|
1681
1726
|
readonly url: string;
|
|
@@ -1778,6 +1823,7 @@ export declare const clear: (input?: {
|
|
|
1778
1823
|
}[];
|
|
1779
1824
|
};
|
|
1780
1825
|
} | null;
|
|
1826
|
+
} & {
|
|
1781
1827
|
readonly properties_array: readonly {
|
|
1782
1828
|
readonly key: string;
|
|
1783
1829
|
readonly value: string | number | boolean | null;
|
|
@@ -1796,7 +1842,7 @@ export declare const clear: (input?: {
|
|
|
1796
1842
|
readonly key: string;
|
|
1797
1843
|
readonly value: string | number | boolean | null;
|
|
1798
1844
|
}[];
|
|
1799
|
-
}[];
|
|
1845
|
+
})[];
|
|
1800
1846
|
readonly currency: string;
|
|
1801
1847
|
readonly items_subtotal_price: number;
|
|
1802
1848
|
readonly cart_level_discount_applications: readonly {
|
|
@@ -1809,6 +1855,7 @@ export declare const clear: (input?: {
|
|
|
1809
1855
|
readonly value_type: "fixed_amount" | "percentage";
|
|
1810
1856
|
readonly description: string | null;
|
|
1811
1857
|
}[];
|
|
1858
|
+
} & {
|
|
1812
1859
|
readonly attributes_array: readonly {
|
|
1813
1860
|
readonly key: string;
|
|
1814
1861
|
readonly value: string | number | boolean | null;
|
|
@@ -1830,1358 +1877,5 @@ export declare const clear: (input?: {
|
|
|
1830
1877
|
} & {
|
|
1831
1878
|
readonly sections: null;
|
|
1832
1879
|
}>, 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
|
-
}[];
|
|
2992
|
-
readonly currency: string;
|
|
2993
|
-
readonly items_subtotal_price: number;
|
|
2994
|
-
readonly cart_level_discount_applications: readonly {
|
|
2995
|
-
readonly value: number;
|
|
2996
|
-
readonly target_selection: "all" | "entitled" | "explicit";
|
|
2997
|
-
readonly target_type: "line_item" | "shipping_line";
|
|
2998
|
-
readonly title: string;
|
|
2999
|
-
readonly total_allocated_amount: number;
|
|
3000
|
-
readonly type: "" | "automatic" | "discount_code" | "manual" | "script";
|
|
3001
|
-
readonly value_type: "fixed_amount" | "percentage";
|
|
3002
|
-
readonly description: string | null;
|
|
3003
|
-
}[];
|
|
3004
|
-
} & {
|
|
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
|
-
readonly attributes_array: readonly {
|
|
3159
|
-
readonly key: string;
|
|
3160
|
-
readonly value: string | number | boolean | null;
|
|
3161
|
-
}[];
|
|
3162
|
-
readonly private_attributes: {
|
|
3163
|
-
readonly [x: string]: string | number | boolean | null;
|
|
3164
|
-
};
|
|
3165
|
-
readonly private_attributes_array: readonly {
|
|
3166
|
-
readonly key: string;
|
|
3167
|
-
readonly value: string | number | boolean | null;
|
|
3168
|
-
}[];
|
|
3169
|
-
readonly public_attributes: {
|
|
3170
|
-
readonly [x: string]: string | number | boolean | null;
|
|
3171
|
-
};
|
|
3172
|
-
readonly public_attributes_array: readonly {
|
|
3173
|
-
readonly key: string;
|
|
3174
|
-
readonly value: string | number | boolean | null;
|
|
3175
|
-
}[];
|
|
3176
|
-
} & {
|
|
3177
|
-
readonly items_changelog: {
|
|
3178
|
-
readonly added: readonly {
|
|
3179
|
-
readonly quantity: number;
|
|
3180
|
-
readonly variant_id: number;
|
|
3181
|
-
}[];
|
|
3182
|
-
};
|
|
3183
|
-
} & {
|
|
3184
|
-
readonly sections: null;
|
|
3185
|
-
}>, InvalidAjaxMethodError | import("@effect/platform/HttpClientError").HttpClientError | import("effect/ParseResult").ParseError | import("@effect/platform/HttpBody").HttpBodyError, import("@effect/platform/HttpClient").HttpClient>;
|
|
3186
1880
|
|
|
3187
1881
|
export {};
|