@spree/sdk 0.7.0 → 0.7.1

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.
@@ -1,874 +1 @@
1
- import { ListParams, AddressParams } from '@spree/sdk-core';
2
- export { AddressParams, AuthTokens, ErrorResponse, ListParams, ListResponse, LocaleDefaults, LoginCredentials, PaginatedResponse, PaginationMeta, RegisterParams } from '@spree/sdk-core';
3
-
4
- type Address = {
5
- id: string;
6
- firstname: string | null;
7
- lastname: string | null;
8
- full_name: string;
9
- address1: string | null;
10
- address2: string | null;
11
- city: string | null;
12
- zipcode: string | null;
13
- phone: string | null;
14
- company: string | null;
15
- country_name: string;
16
- country_iso: string;
17
- state_text: string | null;
18
- state_abbr: string | null;
19
- quick_checkout: boolean;
20
- state_name: string | null;
21
- };
22
-
23
- type Asset = {
24
- id: string;
25
- viewable_id: string;
26
- type: string | null;
27
- viewable_type: string;
28
- position: number | null;
29
- alt: string | null;
30
- created_at: string;
31
- updated_at: string;
32
- };
33
-
34
- type Base = {
35
- id: string;
36
- };
37
-
38
- type Country = {
39
- iso: string;
40
- iso3: string;
41
- name: string;
42
- states_required: boolean;
43
- zipcode_required: boolean;
44
- states?: Array<State>;
45
- market?: Market | null;
46
- };
47
-
48
- type CreditCard = {
49
- id: string;
50
- cc_type: string;
51
- last_digits: string;
52
- month: number;
53
- year: number;
54
- name: string | null;
55
- default: boolean;
56
- gateway_payment_profile_id: string | null;
57
- };
58
-
59
- type Currency = {
60
- iso_code: string;
61
- name: string;
62
- symbol: string;
63
- };
64
-
65
- type CustomerReturn = {
66
- id: string;
67
- number: string;
68
- created_at: string;
69
- updated_at: string;
70
- stock_location_id: string | null;
71
- };
72
-
73
- type Customer = {
74
- id: string;
75
- email: string;
76
- first_name: string | null;
77
- last_name: string | null;
78
- created_at: string;
79
- updated_at: string;
80
- addresses: Array<Address>;
81
- default_billing_address: Address | null;
82
- default_shipping_address: Address | null;
83
- };
84
-
85
- type DigitalLink = {
86
- id: string;
87
- access_counter: number;
88
- filename: string;
89
- content_type: string;
90
- created_at: string;
91
- updated_at: string;
92
- download_url: string;
93
- authorizable: boolean;
94
- expired: boolean;
95
- access_limit_exceeded: boolean;
96
- };
97
-
98
- type Digital = {
99
- id: string;
100
- created_at: string;
101
- updated_at: string;
102
- variant_id: string | null;
103
- };
104
-
105
- type Export = {
106
- id: string;
107
- number: string;
108
- type: string | null;
109
- format: string | null;
110
- created_at: string;
111
- updated_at: string;
112
- user_id: string | null;
113
- };
114
-
115
- type GiftCardBatch = {
116
- id: string;
117
- codes_count: number;
118
- currency: string | null;
119
- prefix: string | null;
120
- created_at: string;
121
- updated_at: string;
122
- amount: string | null;
123
- expires_at: string | null;
124
- created_by_id: string | null;
125
- };
126
-
127
- type GiftCard = {
128
- id: string;
129
- code: string;
130
- state: string;
131
- currency: string;
132
- amount: string;
133
- amount_used: string;
134
- amount_authorized: string;
135
- amount_remaining: string;
136
- display_amount: string;
137
- display_amount_used: string;
138
- display_amount_remaining: string;
139
- expires_at: string | null;
140
- redeemed_at: string | null;
141
- expired: boolean;
142
- active: boolean;
143
- created_at: string;
144
- updated_at: string;
145
- };
146
-
147
- type Image = {
148
- id: string;
149
- viewable_id: string;
150
- type: string | null;
151
- viewable_type: string;
152
- position: number | null;
153
- alt: string | null;
154
- created_at: string;
155
- updated_at: string;
156
- original_url: string | null;
157
- mini_url: string | null;
158
- small_url: string | null;
159
- medium_url: string | null;
160
- large_url: string | null;
161
- xlarge_url: string | null;
162
- og_image_url: string | null;
163
- };
164
-
165
- type ImportRow = {
166
- id: string;
167
- row_number: number;
168
- status: string;
169
- validation_errors: unknown;
170
- item_type: string | null;
171
- created_at: string;
172
- updated_at: string;
173
- import_id: string | null;
174
- item_id: string | null;
175
- };
176
-
177
- type Import = {
178
- id: string;
179
- number: string;
180
- type: string | null;
181
- rows_count: number;
182
- created_at: string;
183
- updated_at: string;
184
- status: string;
185
- owner_type: string | null;
186
- owner_id: string | null;
187
- user_id: string | null;
188
- };
189
-
190
- type Invitation = {
191
- id: string;
192
- email: string;
193
- resource_type: string | null;
194
- inviter_type: string | null;
195
- invitee_type: string | null;
196
- created_at: string;
197
- updated_at: string;
198
- status: string;
199
- resource_id: string | null;
200
- inviter_id: string | null;
201
- invitee_id: string | null;
202
- role_id: string | null;
203
- expires_at: string | null;
204
- accepted_at: string | null;
205
- };
206
-
207
- type LineItem = {
208
- id: string;
209
- variant_id: string;
210
- quantity: number;
211
- currency: string;
212
- name: string;
213
- slug: string;
214
- options_text: string;
215
- price: string;
216
- display_price: string;
217
- total: string;
218
- display_total: string;
219
- adjustment_total: string;
220
- display_adjustment_total: string;
221
- additional_tax_total: string;
222
- display_additional_tax_total: string;
223
- included_tax_total: string;
224
- display_included_tax_total: string;
225
- promo_total: string;
226
- display_promo_total: string;
227
- pre_tax_amount: string;
228
- display_pre_tax_amount: string;
229
- discounted_amount: string;
230
- display_discounted_amount: string;
231
- display_compare_at_amount: string | null;
232
- created_at: string;
233
- updated_at: string;
234
- compare_at_amount: string | null;
235
- thumbnail_url: string | null;
236
- option_values: Array<OptionValue>;
237
- digital_links: Array<DigitalLink>;
238
- };
239
-
240
- type Locale = {
241
- code: string;
242
- name: string;
243
- };
244
-
245
- type Market = {
246
- id: string;
247
- name: string;
248
- currency: string;
249
- default_locale: string;
250
- tax_inclusive: boolean;
251
- default: boolean;
252
- supported_locales: Array<string>;
253
- countries?: Array<Country>;
254
- };
255
-
256
- type Metafield = {
257
- id: string;
258
- name: string;
259
- type: string;
260
- key: string;
261
- value: any;
262
- };
263
-
264
- type NewsletterSubscriber = {
265
- id: string;
266
- email: string;
267
- created_at: string;
268
- updated_at: string;
269
- verified: boolean;
270
- verified_at: string | null;
271
- user_id: string | null;
272
- };
273
-
274
- type OptionType = {
275
- id: string;
276
- name: string;
277
- presentation: string;
278
- position: number;
279
- };
280
-
281
- type OptionValue = {
282
- id: string;
283
- option_type_id: string;
284
- name: string;
285
- presentation: string;
286
- position: number;
287
- option_type_name: string;
288
- option_type_presentation: string;
289
- };
290
-
291
- type OrderPromotion = {
292
- id: string;
293
- promotion_id: string;
294
- name: string;
295
- description: string | null;
296
- code: string | null;
297
- amount: string;
298
- display_amount: string;
299
- };
300
-
301
- type Order = {
302
- id: string;
303
- number: string;
304
- state: string;
305
- checkout_steps: Array<string>;
306
- token: string;
307
- email: string | null;
308
- special_instructions: string | null;
309
- currency: string;
310
- locale: string | null;
311
- item_count: number;
312
- state_lock_version: number;
313
- shipment_state: string | null;
314
- payment_state: string | null;
315
- item_total: string;
316
- display_item_total: string;
317
- ship_total: string;
318
- display_ship_total: string;
319
- adjustment_total: string;
320
- display_adjustment_total: string;
321
- promo_total: string;
322
- display_promo_total: string;
323
- tax_total: string;
324
- display_tax_total: string;
325
- included_tax_total: string;
326
- display_included_tax_total: string;
327
- additional_tax_total: string;
328
- display_additional_tax_total: string;
329
- total: string;
330
- display_total: string;
331
- completed_at: string | null;
332
- created_at: string;
333
- updated_at: string;
334
- order_promotions: Array<OrderPromotion>;
335
- line_items: Array<LineItem>;
336
- shipments: Array<Shipment>;
337
- payments: Array<Payment>;
338
- bill_address: Address | null;
339
- ship_address: Address | null;
340
- payment_methods: Array<PaymentMethod>;
341
- };
342
-
343
- type PaymentMethod = {
344
- id: string;
345
- name: string;
346
- description: string | null;
347
- type: string;
348
- session_required: boolean;
349
- };
350
-
351
- type Payment = {
352
- id: string;
353
- payment_method_id: string;
354
- state: string;
355
- response_code: string | null;
356
- number: string;
357
- amount: string;
358
- display_amount: string;
359
- created_at: string;
360
- updated_at: string;
361
- source_type: 'credit_card' | 'store_credit' | 'payment_source' | null;
362
- source_id: string | null;
363
- source: CreditCard | StoreCredit | PaymentSource | null;
364
- payment_method: PaymentMethod;
365
- };
366
-
367
- type PaymentSession = {
368
- id: string;
369
- status: string;
370
- currency: string;
371
- external_id: string;
372
- external_data: Record<string, unknown>;
373
- customer_external_id: string | null;
374
- expires_at: string | null;
375
- created_at: string;
376
- updated_at: string;
377
- amount: string;
378
- payment_method_id: string;
379
- order_id: string;
380
- payment_method: PaymentMethod;
381
- payment?: Payment;
382
- };
383
-
384
- type PaymentSetupSession = {
385
- id: string;
386
- status: string;
387
- external_id: string | null;
388
- external_client_secret: string | null;
389
- external_data: Record<string, unknown>;
390
- created_at: string;
391
- updated_at: string;
392
- payment_method_id: string | null;
393
- payment_source_id: string | null;
394
- payment_source_type: string | null;
395
- customer_id: string | null;
396
- payment_method: PaymentMethod;
397
- };
398
-
399
- type PaymentSource = {
400
- id: string;
401
- gateway_payment_profile_id: string | null;
402
- };
403
-
404
- type Price = {
405
- id: string;
406
- amount: string | null;
407
- amount_in_cents: number | null;
408
- compare_at_amount: string | null;
409
- compare_at_amount_in_cents: number | null;
410
- currency: string | null;
411
- display_amount: string | null;
412
- display_compare_at_amount: string | null;
413
- price_list_id: string | null;
414
- };
415
-
416
- type Product = {
417
- id: string;
418
- name: string;
419
- description: string | null;
420
- slug: string;
421
- meta_description: string | null;
422
- meta_keywords: string | null;
423
- variant_count: number;
424
- available_on: string | null;
425
- created_at: string;
426
- updated_at: string;
427
- purchasable: boolean;
428
- in_stock: boolean;
429
- backorderable: boolean;
430
- available: boolean;
431
- default_variant_id: string;
432
- thumbnail_url: string | null;
433
- tags: Array<string>;
434
- price: Price;
435
- original_price: Price | null;
436
- images?: Array<Image>;
437
- variants?: Array<Variant>;
438
- default_variant?: Variant;
439
- master_variant?: Variant;
440
- option_types?: Array<OptionType>;
441
- taxons?: Array<Taxon>;
442
- metafields?: Array<Metafield>;
443
- };
444
-
445
- type Promotion = {
446
- id: string;
447
- name: string;
448
- description: string | null;
449
- code: string | null;
450
- type: string | null;
451
- kind: string | null;
452
- path: string | null;
453
- match_policy: string | null;
454
- usage_limit: number | null;
455
- advertise: boolean;
456
- multi_codes: boolean;
457
- code_prefix: string | null;
458
- number_of_codes: number | null;
459
- starts_at: string | null;
460
- expires_at: string | null;
461
- created_at: string;
462
- updated_at: string;
463
- promotion_category_id: string | null;
464
- };
465
-
466
- type Refund = {
467
- id: string;
468
- transaction_id: string | null;
469
- created_at: string;
470
- updated_at: string;
471
- amount: string | null;
472
- payment_id: string | null;
473
- refund_reason_id: string | null;
474
- reimbursement_id: string | null;
475
- };
476
-
477
- type Reimbursement = {
478
- id: string;
479
- number: string;
480
- reimbursement_status: string | null;
481
- created_at: string;
482
- updated_at: string;
483
- total: string | null;
484
- order_id: string | null;
485
- customer_return_id: string | null;
486
- };
487
-
488
- type Report = {
489
- id: string;
490
- type: string | null;
491
- currency: string | null;
492
- created_at: string;
493
- updated_at: string;
494
- user_id: string | null;
495
- date_from: string | null;
496
- date_to: string | null;
497
- };
498
-
499
- type ReturnAuthorization = {
500
- id: string;
501
- number: string;
502
- created_at: string;
503
- updated_at: string;
504
- state: string;
505
- order_id: string | null;
506
- stock_location_id: string | null;
507
- return_authorization_reason_id: string | null;
508
- };
509
-
510
- type ReturnItem = {
511
- id: string;
512
- reception_status: string | null;
513
- acceptance_status: string | null;
514
- created_at: string;
515
- updated_at: string;
516
- pre_tax_amount: string | null;
517
- included_tax_total: string | null;
518
- additional_tax_total: string | null;
519
- inventory_unit_id: string | null;
520
- return_authorization_id: string | null;
521
- customer_return_id: string | null;
522
- reimbursement_id: string | null;
523
- exchange_variant_id: string | null;
524
- };
525
-
526
- type Shipment = {
527
- id: string;
528
- number: string;
529
- state: string;
530
- tracking: string | null;
531
- tracking_url: string | null;
532
- cost: string;
533
- display_cost: string;
534
- shipped_at: string | null;
535
- created_at: string;
536
- updated_at: string;
537
- shipping_method: ShippingMethod;
538
- stock_location: StockLocation;
539
- shipping_rates: Array<ShippingRate>;
540
- };
541
-
542
- type ShippingCategory = {
543
- id: string;
544
- name: string;
545
- };
546
-
547
- type ShippingMethod = {
548
- id: string;
549
- name: string;
550
- code: string | null;
551
- };
552
-
553
- type ShippingRate = {
554
- id: string;
555
- shipping_method_id: string;
556
- name: string;
557
- selected: boolean;
558
- cost: string;
559
- display_cost: string;
560
- shipping_method: ShippingMethod;
561
- };
562
-
563
- type State = {
564
- abbr: string;
565
- name: string;
566
- };
567
-
568
- type StockItem = {
569
- id: string;
570
- count_on_hand: number;
571
- backorderable: boolean;
572
- created_at: string;
573
- updated_at: string;
574
- stock_location_id: string | null;
575
- variant_id: string | null;
576
- };
577
-
578
- type StockLocation = {
579
- id: string;
580
- state_abbr: string | null;
581
- name: string;
582
- address1: string | null;
583
- city: string | null;
584
- zipcode: string | null;
585
- country_iso: string | null;
586
- country_name: string | null;
587
- state_text: string | null;
588
- };
589
-
590
- type StockMovement = {
591
- id: string;
592
- quantity: number;
593
- action: string | null;
594
- originator_type: string | null;
595
- created_at: string;
596
- updated_at: string;
597
- originator_id: string | null;
598
- stock_item_id: string | null;
599
- };
600
-
601
- type StockTransfer = {
602
- id: string;
603
- number: string | null;
604
- type: string | null;
605
- reference: string | null;
606
- created_at: string;
607
- updated_at: string;
608
- source_location_id: string | null;
609
- destination_location_id: string | null;
610
- };
611
-
612
- type StoreCredit = {
613
- id: string;
614
- amount: string;
615
- amount_used: string;
616
- amount_remaining: string;
617
- display_amount: string;
618
- display_amount_used: string;
619
- display_amount_remaining: string;
620
- currency: string;
621
- };
622
-
623
- type TaxCategory = {
624
- id: string;
625
- name: string;
626
- };
627
-
628
- type Taxon = {
629
- id: string;
630
- name: string;
631
- permalink: string;
632
- position: number;
633
- depth: number;
634
- meta_title: string | null;
635
- meta_description: string | null;
636
- meta_keywords: string | null;
637
- children_count: number;
638
- created_at: string;
639
- updated_at: string;
640
- parent_id: string | null;
641
- taxonomy_id: string;
642
- description: string;
643
- description_html: string;
644
- image_url: string | null;
645
- square_image_url: string | null;
646
- is_root: boolean;
647
- is_child: boolean;
648
- is_leaf: boolean;
649
- parent?: Taxon;
650
- children?: Array<Taxon>;
651
- ancestors?: Array<Taxon>;
652
- metafields?: Array<Metafield>;
653
- };
654
-
655
- type Taxonomy = {
656
- id: string;
657
- name: string;
658
- position: number;
659
- created_at: string;
660
- updated_at: string;
661
- root_id: string | null;
662
- root?: Taxon;
663
- taxons?: Array<Taxon>;
664
- metafields?: Array<Metafield>;
665
- };
666
-
667
- type Variant = {
668
- id: string;
669
- product_id: string;
670
- sku: string | null;
671
- is_master: boolean;
672
- options_text: string;
673
- track_inventory: boolean;
674
- image_count: number;
675
- created_at: string;
676
- updated_at: string;
677
- thumbnail: string | null;
678
- purchasable: boolean;
679
- in_stock: boolean;
680
- backorderable: boolean;
681
- weight: number | null;
682
- height: number | null;
683
- width: number | null;
684
- depth: number | null;
685
- price: Price;
686
- original_price: Price | null;
687
- images?: Array<Image>;
688
- option_values: Array<OptionValue>;
689
- metafields?: Array<Metafield>;
690
- };
691
-
692
- type WishedItem = {
693
- id: string;
694
- variant_id: string;
695
- wishlist_id: string;
696
- quantity: number;
697
- created_at: string;
698
- updated_at: string;
699
- variant: Variant;
700
- };
701
-
702
- type Wishlist = {
703
- id: string;
704
- name: string;
705
- token: string;
706
- created_at: string;
707
- updated_at: string;
708
- is_default: boolean;
709
- is_private: boolean;
710
- items?: Array<WishedItem>;
711
- };
712
-
713
- interface ProductListParams extends ListParams {
714
- /** Sort: 'price', '-price', 'best_selling', 'name', '-name', '-available_on', 'available_on' */
715
- sort?: string;
716
- /** Full-text search across name and SKU */
717
- multi_search?: string;
718
- /** Filter: name contains */
719
- name_cont?: string;
720
- /** Filter: price >= value */
721
- price_gte?: number;
722
- /** Filter: price <= value */
723
- price_lte?: number;
724
- /** Filter by option value prefix IDs */
725
- with_option_value_ids?: string[];
726
- /** Filter: only in-stock products */
727
- in_stock?: boolean;
728
- /** Filter: only out-of-stock products */
729
- out_of_stock?: boolean;
730
- /** Filter: products in taxon */
731
- taxons_id_eq?: string;
732
- /** Any additional Ransack predicate */
733
- [key: string]: string | number | boolean | (string | number)[] | undefined;
734
- }
735
- interface TaxonListParams extends ListParams {
736
- /** Sort order, e.g. 'name', '-created_at' */
737
- sort?: string;
738
- /** Filter: name contains */
739
- name_cont?: string;
740
- taxonomy_id_eq?: string | number;
741
- parent_id_eq?: string | number;
742
- depth_eq?: number;
743
- /** Any additional Ransack predicate */
744
- [key: string]: string | number | boolean | (string | number)[] | undefined;
745
- }
746
- interface OrderListParams extends ListParams {
747
- /** Sort order, e.g. 'completed_at desc' */
748
- sort?: string;
749
- /** Full-text search across number, email, customer name */
750
- multi_search?: string;
751
- state_eq?: string;
752
- completed_at_gte?: string;
753
- completed_at_lte?: string;
754
- /** Any additional Ransack predicate */
755
- [key: string]: string | number | boolean | (string | number)[] | undefined;
756
- }
757
- interface LineItemInput {
758
- /** Prefixed variant ID (e.g., "variant_k5nR8xLq") */
759
- variant_id: string;
760
- /** Quantity to set (defaults to 1 if omitted) */
761
- quantity?: number;
762
- /** Arbitrary key-value metadata (merged with existing on upsert) */
763
- metadata?: Record<string, unknown>;
764
- }
765
- interface CreateCartParams {
766
- /** Arbitrary key-value metadata (stored, not returned in responses) */
767
- metadata?: Record<string, unknown>;
768
- /** Line items to add to the cart on creation */
769
- line_items?: LineItemInput[];
770
- }
771
- interface AddLineItemParams {
772
- variant_id: string;
773
- quantity: number;
774
- /** Arbitrary key-value metadata (stored, not returned in responses) */
775
- metadata?: Record<string, unknown>;
776
- }
777
- interface UpdateLineItemParams {
778
- quantity?: number;
779
- /** Arbitrary key-value metadata (merged with existing) */
780
- metadata?: Record<string, unknown>;
781
- }
782
- interface UpdateOrderParams {
783
- email?: string;
784
- currency?: string;
785
- locale?: string;
786
- special_instructions?: string;
787
- /** Arbitrary key-value metadata (merged with existing) */
788
- metadata?: Record<string, unknown>;
789
- /** Existing address ID to use */
790
- bill_address_id?: string;
791
- /** Existing address ID to use */
792
- ship_address_id?: string;
793
- /** New billing address */
794
- bill_address?: AddressParams;
795
- /** New shipping address */
796
- ship_address?: AddressParams;
797
- /** Line items to upsert (sets quantity for existing, creates new) */
798
- line_items?: LineItemInput[];
799
- }
800
- interface CreatePaymentSessionParams {
801
- payment_method_id: string;
802
- amount?: string;
803
- external_data?: Record<string, unknown>;
804
- }
805
- interface UpdatePaymentSessionParams {
806
- amount?: string;
807
- external_data?: Record<string, unknown>;
808
- }
809
- interface CompletePaymentSessionParams {
810
- session_result?: string;
811
- external_data?: Record<string, unknown>;
812
- }
813
- interface CreatePaymentSetupSessionParams {
814
- payment_method_id: string;
815
- external_data?: Record<string, unknown>;
816
- }
817
- interface CompletePaymentSetupSessionParams {
818
- external_data?: Record<string, unknown>;
819
- }
820
- interface FilterOption {
821
- id: string;
822
- count: number;
823
- }
824
- interface OptionFilterOption extends FilterOption {
825
- name: string;
826
- presentation: string;
827
- position: number;
828
- }
829
- interface TaxonFilterOption {
830
- id: string;
831
- name: string;
832
- permalink: string;
833
- count: number;
834
- }
835
- interface PriceRangeFilter {
836
- id: 'price';
837
- type: 'price_range';
838
- min: number;
839
- max: number;
840
- currency: string;
841
- }
842
- interface AvailabilityFilter {
843
- id: 'availability';
844
- type: 'availability';
845
- options: FilterOption[];
846
- }
847
- interface OptionFilter {
848
- id: string;
849
- type: 'option';
850
- name: string;
851
- presentation: string;
852
- options: OptionFilterOption[];
853
- }
854
- interface TaxonFilter {
855
- id: 'taxons';
856
- type: 'taxon';
857
- options: TaxonFilterOption[];
858
- }
859
- type ProductFilter = PriceRangeFilter | AvailabilityFilter | OptionFilter | TaxonFilter;
860
- interface SortOption {
861
- id: string;
862
- }
863
- interface ProductFiltersResponse {
864
- filters: ProductFilter[];
865
- sort_options: SortOption[];
866
- default_sort: string;
867
- total_count: number;
868
- }
869
- interface ProductFiltersParams {
870
- taxon_id?: string;
871
- q?: Record<string, unknown>;
872
- }
873
-
874
- export type { AddLineItemParams, Address, Asset, AvailabilityFilter, Base, CompletePaymentSessionParams, CompletePaymentSetupSessionParams, Country, CreateCartParams, CreatePaymentSessionParams, CreatePaymentSetupSessionParams, CreditCard, Currency, Customer, CustomerReturn, Digital, DigitalLink, Export, FilterOption, GiftCard, GiftCardBatch, Image, Import, ImportRow, Invitation, LineItem, LineItemInput, Locale, Market, Metafield, NewsletterSubscriber, OptionFilter, OptionFilterOption, OptionType, OptionValue, Order, OrderListParams, OrderPromotion, Payment, PaymentMethod, PaymentSession, PaymentSetupSession, PaymentSource, Price, PriceRangeFilter, Product, ProductFilter, ProductFiltersParams, ProductFiltersResponse, ProductListParams, Promotion, Refund, Reimbursement, Report, ReturnAuthorization, ReturnItem, Shipment, ShippingCategory, ShippingMethod, ShippingRate, SortOption, State, StockItem, StockLocation, StockMovement, StockTransfer, Address as StoreAddress, Asset as StoreAsset, Country as StoreCountry, StoreCredit, CreditCard as StoreCreditCard, Currency as StoreCurrency, Customer as StoreCustomer, CustomerReturn as StoreCustomerReturn, Digital as StoreDigital, DigitalLink as StoreDigitalLink, GiftCard as StoreGiftCard, GiftCardBatch as StoreGiftCardBatch, Image as StoreImage, LineItem as StoreLineItem, Locale as StoreLocale, Market as StoreMarket, Metafield as StoreMetafield, OptionType as StoreOptionType, OptionValue as StoreOptionValue, Order as StoreOrder, OrderPromotion as StoreOrderPromotion, Payment as StorePayment, PaymentMethod as StorePaymentMethod, PaymentSession as StorePaymentSession, PaymentSetupSession as StorePaymentSetupSession, PaymentSource as StorePaymentSource, Price as StorePrice, Product as StoreProduct, Promotion as StorePromotion, Refund as StoreRefund, Reimbursement as StoreReimbursement, ReturnAuthorization as StoreReturnAuthorization, ReturnItem as StoreReturnItem, Shipment as StoreShipment, ShippingCategory as StoreShippingCategory, ShippingMethod as StoreShippingMethod, ShippingRate as StoreShippingRate, State as StoreState, StockItem as StoreStockItem, StockLocation as StoreStockLocation, StoreCredit as StoreStoreCredit, TaxCategory as StoreTaxCategory, Taxon as StoreTaxon, Taxonomy as StoreTaxonomy, Variant as StoreVariant, WishedItem as StoreWishedItem, Wishlist as StoreWishlist, TaxCategory, Taxon, TaxonFilter, TaxonFilterOption, TaxonListParams, Taxonomy, UpdateLineItemParams, UpdateOrderParams, UpdatePaymentSessionParams, Variant, WishedItem, Wishlist };
1
+ export { n as AddLineItemParams, w as Address, x as AddressParams, I as Asset, A as AuthTokens, J as AvailabilityFilter, K as Base, u as CompletePaymentSessionParams, E as CompletePaymentSetupSessionParams, C as Country, m as CreateCartParams, r as CreatePaymentSessionParams, B as CreatePaymentSetupSessionParams, y as CreditCard, k as Currency, v as Customer, N as CustomerReturn, Q as Digital, V as DigitalLink, X as ErrorResponse, Y as Export, Z as FilterOption, G as GiftCard, _ as GiftCardBatch, $ as Image, a0 as Import, a1 as ImportRow, a2 as Invitation, a3 as LineItem, a4 as LineItemInput, g as ListParams, j as ListResponse, l as Locale, a5 as LocaleDefaults, L as LoginCredentials, M as Market, a6 as Metafield, a7 as NewsletterSubscriber, a8 as OptionFilter, a9 as OptionFilterOption, aa as OptionType, ab as OptionValue, O as Order, z as OrderListParams, ac as OrderPromotion, c as PaginatedResponse, ad as PaginationMeta, p as Payment, q as PaymentMethod, s as PaymentSession, D as PaymentSetupSession, ae as PaymentSource, af as Price, ag as PriceRangeFilter, d as Product, ah as ProductFilter, e as ProductFiltersParams, f as ProductFiltersResponse, P as ProductListParams, ai as Promotion, aj as Refund, a as RegisterParams, ak as Reimbursement, al as Report, am as ReturnAuthorization, an as ReturnItem, S as Shipment, ao as ShippingCategory, ap as ShippingMethod, aq as ShippingRate, ar as SortOption, at as State, au as StockItem, av as StockLocation, aw as StockMovement, ax as StockTransfer, w as StoreAddress, I as StoreAsset, C as StoreCountry, ay as StoreCredit, y as StoreCreditCard, k as StoreCurrency, v as StoreCustomer, N as StoreCustomerReturn, Q as StoreDigital, V as StoreDigitalLink, G as StoreGiftCard, _ as StoreGiftCardBatch, $ as StoreImage, a3 as StoreLineItem, l as StoreLocale, M as StoreMarket, a6 as StoreMetafield, aa as StoreOptionType, ab as StoreOptionValue, O as StoreOrder, ac as StoreOrderPromotion, p as StorePayment, q as StorePaymentMethod, s as StorePaymentSession, D as StorePaymentSetupSession, ae as StorePaymentSource, af as StorePrice, d as StoreProduct, ai as StorePromotion, aj as StoreRefund, ak as StoreReimbursement, am as StoreReturnAuthorization, an as StoreReturnItem, S as StoreShipment, ao as StoreShippingCategory, ap as StoreShippingMethod, aq as StoreShippingRate, at as StoreState, au as StoreStockItem, av as StoreStockLocation, ay as StoreStoreCredit, az as StoreTaxCategory, i as StoreTaxon, T as StoreTaxonomy, aA as StoreVariant, F as StoreWishedItem, W as StoreWishlist, az as TaxCategory, i as Taxon, aB as TaxonFilter, aC as TaxonFilterOption, h as TaxonListParams, T as Taxonomy, o as UpdateLineItemParams, U as UpdateOrderParams, t as UpdatePaymentSessionParams, aA as Variant, F as WishedItem, W as Wishlist } from '../index-CgJG4R8P.cjs';