@deenruv/copy-order-plugin 1.0.0

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.
Files changed (44) hide show
  1. package/LICENSE +23 -0
  2. package/README.md +39 -0
  3. package/dist/plugin-server/constants.d.ts +1 -0
  4. package/dist/plugin-server/constants.js +4 -0
  5. package/dist/plugin-server/extensions/admin.extension.d.ts +1 -0
  6. package/dist/plugin-server/extensions/admin.extension.js +18 -0
  7. package/dist/plugin-server/index.d.ts +1 -0
  8. package/dist/plugin-server/index.js +17 -0
  9. package/dist/plugin-server/plugin.d.ts +5 -0
  10. package/dist/plugin-server/plugin.js +35 -0
  11. package/dist/plugin-server/resolvers/admin.resolver.d.ts +9 -0
  12. package/dist/plugin-server/resolvers/admin.resolver.js +40 -0
  13. package/dist/plugin-server/services/copy-order.service.d.ts +16 -0
  14. package/dist/plugin-server/services/copy-order.service.js +105 -0
  15. package/dist/plugin-server/types.d.ts +4 -0
  16. package/dist/plugin-server/types.js +2 -0
  17. package/dist/plugin-server/zeus/const.d.ts +6 -0
  18. package/dist/plugin-server/zeus/const.js +3621 -0
  19. package/dist/plugin-server/zeus/index.d.ts +18436 -0
  20. package/dist/plugin-server/zeus/index.js +1093 -0
  21. package/dist/plugin-server/zeus/typedDocumentNode.d.ts +3 -0
  22. package/dist/plugin-server/zeus/typedDocumentNode.js +16 -0
  23. package/dist/plugin-ui/components/CopyOrderButton.d.ts +2 -0
  24. package/dist/plugin-ui/components/CopyOrderButton.js +40 -0
  25. package/dist/plugin-ui/constants.d.ts +1 -0
  26. package/dist/plugin-ui/constants.js +1 -0
  27. package/dist/plugin-ui/graphql/mutations.d.ts +11 -0
  28. package/dist/plugin-ui/graphql/mutations.js +13 -0
  29. package/dist/plugin-ui/index.d.ts +4 -0
  30. package/dist/plugin-ui/index.js +16 -0
  31. package/dist/plugin-ui/locales/en/index.d.ts +6 -0
  32. package/dist/plugin-ui/locales/en/index.js +2 -0
  33. package/dist/plugin-ui/locales/en/test.json +5 -0
  34. package/dist/plugin-ui/locales/pl/index.d.ts +6 -0
  35. package/dist/plugin-ui/locales/pl/index.js +2 -0
  36. package/dist/plugin-ui/locales/pl/test.json +5 -0
  37. package/dist/plugin-ui/tsconfig.json +18 -0
  38. package/dist/plugin-ui/zeus/const.d.ts +6 -0
  39. package/dist/plugin-ui/zeus/const.js +3618 -0
  40. package/dist/plugin-ui/zeus/index.d.ts +18436 -0
  41. package/dist/plugin-ui/zeus/index.js +1085 -0
  42. package/dist/plugin-ui/zeus/typedDocumentNode.d.ts +3 -0
  43. package/dist/plugin-ui/zeus/typedDocumentNode.js +9 -0
  44. package/package.json +50 -0
@@ -0,0 +1,3621 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Ops = exports.ReturnTypes = exports.AllTypesProps = void 0;
5
+ exports.AllTypesProps = {
6
+ Query: {
7
+ administrators: {
8
+ options: "AdministratorListOptions"
9
+ },
10
+ administrator: {},
11
+ assets: {
12
+ options: "AssetListOptions"
13
+ },
14
+ asset: {},
15
+ channels: {
16
+ options: "ChannelListOptions"
17
+ },
18
+ channel: {},
19
+ collections: {
20
+ options: "CollectionListOptions"
21
+ },
22
+ collection: {},
23
+ previewCollectionVariants: {
24
+ input: "PreviewCollectionVariantsInput",
25
+ options: "ProductVariantListOptions"
26
+ },
27
+ countries: {
28
+ options: "CountryListOptions"
29
+ },
30
+ country: {},
31
+ customerGroups: {
32
+ options: "CustomerGroupListOptions"
33
+ },
34
+ customerGroup: {},
35
+ customers: {
36
+ options: "CustomerListOptions"
37
+ },
38
+ customer: {},
39
+ facets: {
40
+ options: "FacetListOptions"
41
+ },
42
+ facet: {},
43
+ facetValues: {
44
+ options: "FacetValueListOptions"
45
+ },
46
+ job: {},
47
+ jobs: {
48
+ options: "JobListOptions"
49
+ },
50
+ jobsById: {},
51
+ jobBufferSize: {},
52
+ order: {},
53
+ orders: {
54
+ options: "OrderListOptions"
55
+ },
56
+ eligibleShippingMethodsForDraftOrder: {},
57
+ paymentMethods: {
58
+ options: "PaymentMethodListOptions"
59
+ },
60
+ paymentMethod: {},
61
+ productOptionGroups: {},
62
+ productOptionGroup: {},
63
+ search: {
64
+ input: "SearchInput"
65
+ },
66
+ products: {
67
+ options: "ProductListOptions"
68
+ },
69
+ product: {},
70
+ productVariants: {
71
+ options: "ProductVariantListOptions"
72
+ },
73
+ productVariant: {},
74
+ promotion: {},
75
+ promotions: {
76
+ options: "PromotionListOptions"
77
+ },
78
+ provinces: {
79
+ options: "ProvinceListOptions"
80
+ },
81
+ province: {},
82
+ roles: {
83
+ options: "RoleListOptions"
84
+ },
85
+ role: {},
86
+ sellers: {
87
+ options: "SellerListOptions"
88
+ },
89
+ seller: {},
90
+ shippingMethods: {
91
+ options: "ShippingMethodListOptions"
92
+ },
93
+ shippingMethod: {},
94
+ testShippingMethod: {
95
+ input: "TestShippingMethodInput"
96
+ },
97
+ testEligibleShippingMethods: {
98
+ input: "TestEligibleShippingMethodsInput"
99
+ },
100
+ stockLocation: {},
101
+ stockLocations: {
102
+ options: "StockLocationListOptions"
103
+ },
104
+ tag: {},
105
+ tags: {
106
+ options: "TagListOptions"
107
+ },
108
+ taxCategories: {
109
+ options: "TaxCategoryListOptions"
110
+ },
111
+ taxCategory: {},
112
+ taxRates: {
113
+ options: "TaxRateListOptions"
114
+ },
115
+ taxRate: {},
116
+ zones: {
117
+ options: "ZoneListOptions"
118
+ },
119
+ zone: {},
120
+ metricSummary: {
121
+ input: "MetricSummaryInput"
122
+ }
123
+ },
124
+ Mutation: {
125
+ createAdministrator: {
126
+ input: "CreateAdministratorInput"
127
+ },
128
+ updateAdministrator: {
129
+ input: "UpdateAdministratorInput"
130
+ },
131
+ updateActiveAdministrator: {
132
+ input: "UpdateActiveAdministratorInput"
133
+ },
134
+ deleteAdministrator: {},
135
+ deleteAdministrators: {},
136
+ assignRoleToAdministrator: {},
137
+ createAssets: {
138
+ input: "CreateAssetInput"
139
+ },
140
+ updateAsset: {
141
+ input: "UpdateAssetInput"
142
+ },
143
+ deleteAsset: {
144
+ input: "DeleteAssetInput"
145
+ },
146
+ deleteAssets: {
147
+ input: "DeleteAssetsInput"
148
+ },
149
+ assignAssetsToChannel: {
150
+ input: "AssignAssetsToChannelInput"
151
+ },
152
+ login: {},
153
+ authenticate: {
154
+ input: "AuthenticationInput"
155
+ },
156
+ createChannel: {
157
+ input: "CreateChannelInput"
158
+ },
159
+ updateChannel: {
160
+ input: "UpdateChannelInput"
161
+ },
162
+ deleteChannel: {},
163
+ deleteChannels: {},
164
+ createCollection: {
165
+ input: "CreateCollectionInput"
166
+ },
167
+ updateCollection: {
168
+ input: "UpdateCollectionInput"
169
+ },
170
+ deleteCollection: {},
171
+ deleteCollections: {},
172
+ moveCollection: {
173
+ input: "MoveCollectionInput"
174
+ },
175
+ assignCollectionsToChannel: {
176
+ input: "AssignCollectionsToChannelInput"
177
+ },
178
+ removeCollectionsFromChannel: {
179
+ input: "RemoveCollectionsFromChannelInput"
180
+ },
181
+ createCountry: {
182
+ input: "CreateCountryInput"
183
+ },
184
+ updateCountry: {
185
+ input: "UpdateCountryInput"
186
+ },
187
+ deleteCountry: {},
188
+ deleteCountries: {},
189
+ createCustomerGroup: {
190
+ input: "CreateCustomerGroupInput"
191
+ },
192
+ updateCustomerGroup: {
193
+ input: "UpdateCustomerGroupInput"
194
+ },
195
+ deleteCustomerGroup: {},
196
+ deleteCustomerGroups: {},
197
+ addCustomersToGroup: {},
198
+ removeCustomersFromGroup: {},
199
+ createCustomer: {
200
+ input: "CreateCustomerInput"
201
+ },
202
+ updateCustomer: {
203
+ input: "UpdateCustomerInput"
204
+ },
205
+ deleteCustomer: {},
206
+ deleteCustomers: {},
207
+ createCustomerAddress: {
208
+ input: "CreateAddressInput"
209
+ },
210
+ updateCustomerAddress: {
211
+ input: "UpdateAddressInput"
212
+ },
213
+ deleteCustomerAddress: {},
214
+ addNoteToCustomer: {
215
+ input: "AddNoteToCustomerInput"
216
+ },
217
+ updateCustomerNote: {
218
+ input: "UpdateCustomerNoteInput"
219
+ },
220
+ deleteCustomerNote: {},
221
+ duplicateEntity: {
222
+ input: "DuplicateEntityInput"
223
+ },
224
+ createFacet: {
225
+ input: "CreateFacetInput"
226
+ },
227
+ updateFacet: {
228
+ input: "UpdateFacetInput"
229
+ },
230
+ deleteFacet: {},
231
+ deleteFacets: {},
232
+ createFacetValues: {
233
+ input: "CreateFacetValueInput"
234
+ },
235
+ updateFacetValues: {
236
+ input: "UpdateFacetValueInput"
237
+ },
238
+ deleteFacetValues: {},
239
+ assignFacetsToChannel: {
240
+ input: "AssignFacetsToChannelInput"
241
+ },
242
+ removeFacetsFromChannel: {
243
+ input: "RemoveFacetsFromChannelInput"
244
+ },
245
+ updateGlobalSettings: {
246
+ input: "UpdateGlobalSettingsInput"
247
+ },
248
+ importProducts: {
249
+ csvFile: "Upload"
250
+ },
251
+ removeSettledJobs: {
252
+ olderThan: "DateTime"
253
+ },
254
+ cancelJob: {},
255
+ flushBufferedJobs: {},
256
+ settlePayment: {},
257
+ cancelPayment: {},
258
+ addFulfillmentToOrder: {
259
+ input: "FulfillOrderInput"
260
+ },
261
+ cancelOrder: {
262
+ input: "CancelOrderInput"
263
+ },
264
+ refundOrder: {
265
+ input: "RefundOrderInput"
266
+ },
267
+ settleRefund: {
268
+ input: "SettleRefundInput"
269
+ },
270
+ addNoteToOrder: {
271
+ input: "AddNoteToOrderInput"
272
+ },
273
+ updateOrderNote: {
274
+ input: "UpdateOrderNoteInput"
275
+ },
276
+ deleteOrderNote: {},
277
+ transitionOrderToState: {},
278
+ transitionFulfillmentToState: {},
279
+ transitionPaymentToState: {},
280
+ setOrderCustomFields: {
281
+ input: "UpdateOrderInput"
282
+ },
283
+ setOrderCustomer: {
284
+ input: "SetOrderCustomerInput"
285
+ },
286
+ modifyOrder: {
287
+ input: "ModifyOrderInput"
288
+ },
289
+ addManualPaymentToOrder: {
290
+ input: "ManualPaymentInput"
291
+ },
292
+ deleteDraftOrder: {},
293
+ addItemToDraftOrder: {
294
+ input: "AddItemToDraftOrderInput"
295
+ },
296
+ adjustDraftOrderLine: {
297
+ input: "AdjustDraftOrderLineInput"
298
+ },
299
+ removeDraftOrderLine: {},
300
+ setCustomerForDraftOrder: {
301
+ input: "CreateCustomerInput"
302
+ },
303
+ setDraftOrderShippingAddress: {
304
+ input: "CreateAddressInput"
305
+ },
306
+ setDraftOrderBillingAddress: {
307
+ input: "CreateAddressInput"
308
+ },
309
+ setDraftOrderCustomFields: {
310
+ input: "UpdateOrderInput"
311
+ },
312
+ applyCouponCodeToDraftOrder: {},
313
+ removeCouponCodeFromDraftOrder: {},
314
+ setDraftOrderShippingMethod: {},
315
+ createPaymentMethod: {
316
+ input: "CreatePaymentMethodInput"
317
+ },
318
+ updatePaymentMethod: {
319
+ input: "UpdatePaymentMethodInput"
320
+ },
321
+ deletePaymentMethod: {},
322
+ deletePaymentMethods: {},
323
+ assignPaymentMethodsToChannel: {
324
+ input: "AssignPaymentMethodsToChannelInput"
325
+ },
326
+ removePaymentMethodsFromChannel: {
327
+ input: "RemovePaymentMethodsFromChannelInput"
328
+ },
329
+ createProductOptionGroup: {
330
+ input: "CreateProductOptionGroupInput"
331
+ },
332
+ updateProductOptionGroup: {
333
+ input: "UpdateProductOptionGroupInput"
334
+ },
335
+ createProductOption: {
336
+ input: "CreateProductOptionInput"
337
+ },
338
+ updateProductOption: {
339
+ input: "UpdateProductOptionInput"
340
+ },
341
+ deleteProductOption: {},
342
+ createProduct: {
343
+ input: "CreateProductInput"
344
+ },
345
+ updateProduct: {
346
+ input: "UpdateProductInput"
347
+ },
348
+ updateProducts: {
349
+ input: "UpdateProductInput"
350
+ },
351
+ deleteProduct: {},
352
+ deleteProducts: {},
353
+ addOptionGroupToProduct: {},
354
+ removeOptionGroupFromProduct: {},
355
+ createProductVariants: {
356
+ input: "CreateProductVariantInput"
357
+ },
358
+ updateProductVariants: {
359
+ input: "UpdateProductVariantInput"
360
+ },
361
+ deleteProductVariant: {},
362
+ deleteProductVariants: {},
363
+ assignProductsToChannel: {
364
+ input: "AssignProductsToChannelInput"
365
+ },
366
+ removeProductsFromChannel: {
367
+ input: "RemoveProductsFromChannelInput"
368
+ },
369
+ assignProductVariantsToChannel: {
370
+ input: "AssignProductVariantsToChannelInput"
371
+ },
372
+ removeProductVariantsFromChannel: {
373
+ input: "RemoveProductVariantsFromChannelInput"
374
+ },
375
+ createPromotion: {
376
+ input: "CreatePromotionInput"
377
+ },
378
+ updatePromotion: {
379
+ input: "UpdatePromotionInput"
380
+ },
381
+ deletePromotion: {},
382
+ deletePromotions: {},
383
+ assignPromotionsToChannel: {
384
+ input: "AssignPromotionsToChannelInput"
385
+ },
386
+ removePromotionsFromChannel: {
387
+ input: "RemovePromotionsFromChannelInput"
388
+ },
389
+ createProvince: {
390
+ input: "CreateProvinceInput"
391
+ },
392
+ updateProvince: {
393
+ input: "UpdateProvinceInput"
394
+ },
395
+ deleteProvince: {},
396
+ createRole: {
397
+ input: "CreateRoleInput"
398
+ },
399
+ updateRole: {
400
+ input: "UpdateRoleInput"
401
+ },
402
+ deleteRole: {},
403
+ deleteRoles: {},
404
+ createSeller: {
405
+ input: "CreateSellerInput"
406
+ },
407
+ updateSeller: {
408
+ input: "UpdateSellerInput"
409
+ },
410
+ deleteSeller: {},
411
+ deleteSellers: {},
412
+ createShippingMethod: {
413
+ input: "CreateShippingMethodInput"
414
+ },
415
+ updateShippingMethod: {
416
+ input: "UpdateShippingMethodInput"
417
+ },
418
+ deleteShippingMethod: {},
419
+ deleteShippingMethods: {},
420
+ assignShippingMethodsToChannel: {
421
+ input: "AssignShippingMethodsToChannelInput"
422
+ },
423
+ removeShippingMethodsFromChannel: {
424
+ input: "RemoveShippingMethodsFromChannelInput"
425
+ },
426
+ createStockLocation: {
427
+ input: "CreateStockLocationInput"
428
+ },
429
+ updateStockLocation: {
430
+ input: "UpdateStockLocationInput"
431
+ },
432
+ deleteStockLocation: {
433
+ input: "DeleteStockLocationInput"
434
+ },
435
+ deleteStockLocations: {
436
+ input: "DeleteStockLocationInput"
437
+ },
438
+ assignStockLocationsToChannel: {
439
+ input: "AssignStockLocationsToChannelInput"
440
+ },
441
+ removeStockLocationsFromChannel: {
442
+ input: "RemoveStockLocationsFromChannelInput"
443
+ },
444
+ createTag: {
445
+ input: "CreateTagInput"
446
+ },
447
+ updateTag: {
448
+ input: "UpdateTagInput"
449
+ },
450
+ deleteTag: {},
451
+ createTaxCategory: {
452
+ input: "CreateTaxCategoryInput"
453
+ },
454
+ updateTaxCategory: {
455
+ input: "UpdateTaxCategoryInput"
456
+ },
457
+ deleteTaxCategory: {},
458
+ deleteTaxCategories: {},
459
+ createTaxRate: {
460
+ input: "CreateTaxRateInput"
461
+ },
462
+ updateTaxRate: {
463
+ input: "UpdateTaxRateInput"
464
+ },
465
+ deleteTaxRate: {},
466
+ deleteTaxRates: {},
467
+ createZone: {
468
+ input: "CreateZoneInput"
469
+ },
470
+ updateZone: {
471
+ input: "UpdateZoneInput"
472
+ },
473
+ deleteZone: {},
474
+ deleteZones: {},
475
+ addMembersToZone: {},
476
+ removeMembersFromZone: {},
477
+ copyOrder: {}
478
+ },
479
+ AdministratorListOptions: {
480
+ sort: "AdministratorSortParameter",
481
+ filter: "AdministratorFilterParameter",
482
+ filterOperator: "LogicalOperator"
483
+ },
484
+ CreateAdministratorInput: {
485
+ customFields: "JSON"
486
+ },
487
+ UpdateAdministratorInput: {
488
+ customFields: "JSON"
489
+ },
490
+ UpdateActiveAdministratorInput: {
491
+ customFields: "JSON"
492
+ },
493
+ AssetListOptions: {
494
+ tagsOperator: "LogicalOperator",
495
+ sort: "AssetSortParameter",
496
+ filter: "AssetFilterParameter",
497
+ filterOperator: "LogicalOperator"
498
+ },
499
+ CreateAssetInput: {
500
+ file: "Upload",
501
+ customFields: "JSON"
502
+ },
503
+ CoordinateInput: {},
504
+ DeleteAssetInput: {},
505
+ DeleteAssetsInput: {},
506
+ UpdateAssetInput: {
507
+ focalPoint: "CoordinateInput",
508
+ customFields: "JSON"
509
+ },
510
+ AssignAssetsToChannelInput: {},
511
+ AuthenticationInput: {
512
+ native: "NativeAuthInput"
513
+ },
514
+ ChannelListOptions: {
515
+ sort: "ChannelSortParameter",
516
+ filter: "ChannelFilterParameter",
517
+ filterOperator: "LogicalOperator"
518
+ },
519
+ CreateChannelInput: {
520
+ defaultLanguageCode: "LanguageCode",
521
+ availableLanguageCodes: "LanguageCode",
522
+ defaultCurrencyCode: "CurrencyCode",
523
+ availableCurrencyCodes: "CurrencyCode",
524
+ customFields: "JSON"
525
+ },
526
+ UpdateChannelInput: {
527
+ defaultLanguageCode: "LanguageCode",
528
+ availableLanguageCodes: "LanguageCode",
529
+ defaultCurrencyCode: "CurrencyCode",
530
+ availableCurrencyCodes: "CurrencyCode",
531
+ customFields: "JSON"
532
+ },
533
+ Collection: {
534
+ productVariants: {
535
+ options: "ProductVariantListOptions"
536
+ }
537
+ },
538
+ CollectionListOptions: {
539
+ sort: "CollectionSortParameter",
540
+ filter: "CollectionFilterParameter",
541
+ filterOperator: "LogicalOperator"
542
+ },
543
+ MoveCollectionInput: {},
544
+ CreateCollectionTranslationInput: {
545
+ languageCode: "LanguageCode",
546
+ customFields: "JSON"
547
+ },
548
+ UpdateCollectionTranslationInput: {
549
+ languageCode: "LanguageCode",
550
+ customFields: "JSON"
551
+ },
552
+ CreateCollectionInput: {
553
+ filters: "ConfigurableOperationInput",
554
+ translations: "CreateCollectionTranslationInput",
555
+ customFields: "JSON"
556
+ },
557
+ PreviewCollectionVariantsInput: {
558
+ filters: "ConfigurableOperationInput"
559
+ },
560
+ UpdateCollectionInput: {
561
+ filters: "ConfigurableOperationInput",
562
+ translations: "UpdateCollectionTranslationInput",
563
+ customFields: "JSON"
564
+ },
565
+ AssignCollectionsToChannelInput: {},
566
+ RemoveCollectionsFromChannelInput: {},
567
+ CountryTranslationInput: {
568
+ languageCode: "LanguageCode",
569
+ customFields: "JSON"
570
+ },
571
+ CreateCountryInput: {
572
+ translations: "CountryTranslationInput",
573
+ customFields: "JSON"
574
+ },
575
+ UpdateCountryInput: {
576
+ translations: "CountryTranslationInput",
577
+ customFields: "JSON"
578
+ },
579
+ CountryListOptions: {
580
+ sort: "CountrySortParameter",
581
+ filter: "CountryFilterParameter",
582
+ filterOperator: "LogicalOperator"
583
+ },
584
+ Customer: {
585
+ history: {
586
+ options: "HistoryEntryListOptions"
587
+ },
588
+ orders: {
589
+ options: "OrderListOptions"
590
+ }
591
+ },
592
+ CustomerGroupListOptions: {
593
+ sort: "CustomerGroupSortParameter",
594
+ filter: "CustomerGroupFilterParameter",
595
+ filterOperator: "LogicalOperator"
596
+ },
597
+ CreateCustomerGroupInput: {
598
+ customFields: "JSON"
599
+ },
600
+ UpdateCustomerGroupInput: {
601
+ customFields: "JSON"
602
+ },
603
+ UpdateCustomerInput: {
604
+ customFields: "JSON"
605
+ },
606
+ CustomerFilterParameter: {
607
+ postalCode: "StringOperators",
608
+ id: "IDOperators",
609
+ createdAt: "DateOperators",
610
+ updatedAt: "DateOperators",
611
+ title: "StringOperators",
612
+ firstName: "StringOperators",
613
+ lastName: "StringOperators",
614
+ phoneNumber: "StringOperators",
615
+ emailAddress: "StringOperators",
616
+ _and: "CustomerFilterParameter",
617
+ _or: "CustomerFilterParameter"
618
+ },
619
+ CustomerListOptions: {
620
+ sort: "CustomerSortParameter",
621
+ filter: "CustomerFilterParameter",
622
+ filterOperator: "LogicalOperator"
623
+ },
624
+ AddNoteToCustomerInput: {},
625
+ UpdateCustomerNoteInput: {},
626
+ DuplicateEntityInput: {
627
+ duplicatorInput: "ConfigurableOperationInput"
628
+ },
629
+ Facet: {
630
+ valueList: {
631
+ options: "FacetValueListOptions"
632
+ }
633
+ },
634
+ FacetListOptions: {
635
+ sort: "FacetSortParameter",
636
+ filter: "FacetFilterParameter",
637
+ filterOperator: "LogicalOperator"
638
+ },
639
+ FacetTranslationInput: {
640
+ languageCode: "LanguageCode",
641
+ customFields: "JSON"
642
+ },
643
+ CreateFacetInput: {
644
+ translations: "FacetTranslationInput",
645
+ values: "CreateFacetValueWithFacetInput",
646
+ customFields: "JSON"
647
+ },
648
+ UpdateFacetInput: {
649
+ translations: "FacetTranslationInput",
650
+ customFields: "JSON"
651
+ },
652
+ FacetValueTranslationInput: {
653
+ languageCode: "LanguageCode",
654
+ customFields: "JSON"
655
+ },
656
+ CreateFacetValueWithFacetInput: {
657
+ translations: "FacetValueTranslationInput"
658
+ },
659
+ CreateFacetValueInput: {
660
+ translations: "FacetValueTranslationInput",
661
+ customFields: "JSON"
662
+ },
663
+ UpdateFacetValueInput: {
664
+ translations: "FacetValueTranslationInput",
665
+ customFields: "JSON"
666
+ },
667
+ AssignFacetsToChannelInput: {},
668
+ RemoveFacetsFromChannelInput: {},
669
+ UpdateGlobalSettingsInput: {
670
+ availableLanguages: "LanguageCode",
671
+ customFields: "JSON"
672
+ },
673
+ JobState: "enum",
674
+ JobListOptions: {
675
+ sort: "JobSortParameter",
676
+ filter: "JobFilterParameter",
677
+ filterOperator: "LogicalOperator"
678
+ },
679
+ Order: {
680
+ history: {
681
+ options: "HistoryEntryListOptions"
682
+ }
683
+ },
684
+ OrderFilterParameter: {
685
+ customerLastName: "StringOperators",
686
+ transactionId: "StringOperators",
687
+ aggregateOrderId: "IDOperators",
688
+ id: "IDOperators",
689
+ createdAt: "DateOperators",
690
+ updatedAt: "DateOperators",
691
+ type: "StringOperators",
692
+ orderPlacedAt: "DateOperators",
693
+ code: "StringOperators",
694
+ state: "StringOperators",
695
+ active: "BooleanOperators",
696
+ totalQuantity: "NumberOperators",
697
+ subTotal: "NumberOperators",
698
+ subTotalWithTax: "NumberOperators",
699
+ currencyCode: "StringOperators",
700
+ shipping: "NumberOperators",
701
+ shippingWithTax: "NumberOperators",
702
+ total: "NumberOperators",
703
+ totalWithTax: "NumberOperators",
704
+ _and: "OrderFilterParameter",
705
+ _or: "OrderFilterParameter"
706
+ },
707
+ OrderSortParameter: {
708
+ customerLastName: "SortOrder",
709
+ transactionId: "SortOrder",
710
+ aggregateOrderId: "SortOrder",
711
+ id: "SortOrder",
712
+ createdAt: "SortOrder",
713
+ updatedAt: "SortOrder",
714
+ orderPlacedAt: "SortOrder",
715
+ code: "SortOrder",
716
+ state: "SortOrder",
717
+ totalQuantity: "SortOrder",
718
+ subTotal: "SortOrder",
719
+ subTotalWithTax: "SortOrder",
720
+ shipping: "SortOrder",
721
+ shippingWithTax: "SortOrder",
722
+ total: "SortOrder",
723
+ totalWithTax: "SortOrder"
724
+ },
725
+ OrderListOptions: {
726
+ sort: "OrderSortParameter",
727
+ filter: "OrderFilterParameter",
728
+ filterOperator: "LogicalOperator"
729
+ },
730
+ SetOrderCustomerInput: {},
731
+ UpdateOrderInput: {
732
+ customFields: "JSON"
733
+ },
734
+ FulfillOrderInput: {
735
+ lines: "OrderLineInput",
736
+ handler: "ConfigurableOperationInput"
737
+ },
738
+ CancelOrderInput: {
739
+ lines: "OrderLineInput"
740
+ },
741
+ RefundOrderInput: {
742
+ lines: "OrderLineInput",
743
+ shipping: "Money",
744
+ adjustment: "Money",
745
+ amount: "Money"
746
+ },
747
+ OrderLineInput: {},
748
+ SettleRefundInput: {},
749
+ AddNoteToOrderInput: {},
750
+ UpdateOrderNoteInput: {},
751
+ AdministratorPaymentInput: {
752
+ metadata: "JSON"
753
+ },
754
+ AdministratorRefundInput: {
755
+ amount: "Money"
756
+ },
757
+ ModifyOrderOptions: {},
758
+ UpdateOrderAddressInput: {},
759
+ ModifyOrderInput: {
760
+ addItems: "AddItemInput",
761
+ adjustOrderLines: "OrderLineInput",
762
+ surcharges: "SurchargeInput",
763
+ updateShippingAddress: "UpdateOrderAddressInput",
764
+ updateBillingAddress: "UpdateOrderAddressInput",
765
+ refund: "AdministratorRefundInput",
766
+ refunds: "AdministratorRefundInput",
767
+ options: "ModifyOrderOptions"
768
+ },
769
+ AddItemInput: {},
770
+ SurchargeInput: {
771
+ price: "Money"
772
+ },
773
+ ManualPaymentInput: {
774
+ metadata: "JSON"
775
+ },
776
+ AddItemToDraftOrderInput: {},
777
+ AdjustDraftOrderLineInput: {},
778
+ PaymentMethodListOptions: {
779
+ sort: "PaymentMethodSortParameter",
780
+ filter: "PaymentMethodFilterParameter",
781
+ filterOperator: "LogicalOperator"
782
+ },
783
+ PaymentMethodTranslationInput: {
784
+ languageCode: "LanguageCode",
785
+ customFields: "JSON"
786
+ },
787
+ CreatePaymentMethodInput: {
788
+ checker: "ConfigurableOperationInput",
789
+ handler: "ConfigurableOperationInput",
790
+ translations: "PaymentMethodTranslationInput",
791
+ customFields: "JSON"
792
+ },
793
+ UpdatePaymentMethodInput: {
794
+ checker: "ConfigurableOperationInput",
795
+ handler: "ConfigurableOperationInput",
796
+ translations: "PaymentMethodTranslationInput",
797
+ customFields: "JSON"
798
+ },
799
+ AssignPaymentMethodsToChannelInput: {},
800
+ RemovePaymentMethodsFromChannelInput: {},
801
+ Product: {
802
+ variantList: {
803
+ options: "ProductVariantListOptions"
804
+ }
805
+ },
806
+ ProductVariant: {
807
+ stockMovements: {
808
+ options: "StockMovementListOptions"
809
+ }
810
+ },
811
+ ProductOptionGroupTranslationInput: {
812
+ languageCode: "LanguageCode",
813
+ customFields: "JSON"
814
+ },
815
+ CreateProductOptionGroupInput: {
816
+ translations: "ProductOptionGroupTranslationInput",
817
+ options: "CreateGroupOptionInput",
818
+ customFields: "JSON"
819
+ },
820
+ UpdateProductOptionGroupInput: {
821
+ translations: "ProductOptionGroupTranslationInput",
822
+ customFields: "JSON"
823
+ },
824
+ ProductOptionTranslationInput: {
825
+ languageCode: "LanguageCode",
826
+ customFields: "JSON"
827
+ },
828
+ CreateGroupOptionInput: {
829
+ translations: "ProductOptionGroupTranslationInput"
830
+ },
831
+ CreateProductOptionInput: {
832
+ translations: "ProductOptionGroupTranslationInput",
833
+ customFields: "JSON"
834
+ },
835
+ UpdateProductOptionInput: {
836
+ translations: "ProductOptionGroupTranslationInput",
837
+ customFields: "JSON"
838
+ },
839
+ StockMovementListOptions: {
840
+ type: "StockMovementType"
841
+ },
842
+ ProductListOptions: {
843
+ sort: "ProductSortParameter",
844
+ filter: "ProductFilterParameter",
845
+ filterOperator: "LogicalOperator"
846
+ },
847
+ ProductFilterParameter: {
848
+ facetValueId: "IDOperators",
849
+ sku: "StringOperators",
850
+ id: "IDOperators",
851
+ createdAt: "DateOperators",
852
+ updatedAt: "DateOperators",
853
+ languageCode: "StringOperators",
854
+ name: "StringOperators",
855
+ slug: "StringOperators",
856
+ description: "StringOperators",
857
+ enabled: "BooleanOperators",
858
+ _and: "ProductFilterParameter",
859
+ _or: "ProductFilterParameter"
860
+ },
861
+ ProductVariantListOptions: {
862
+ sort: "ProductVariantSortParameter",
863
+ filter: "ProductVariantFilterParameter",
864
+ filterOperator: "LogicalOperator"
865
+ },
866
+ ProductVariantFilterParameter: {
867
+ facetValueId: "IDOperators",
868
+ enabled: "BooleanOperators",
869
+ trackInventory: "StringOperators",
870
+ stockOnHand: "NumberOperators",
871
+ stockAllocated: "NumberOperators",
872
+ outOfStockThreshold: "NumberOperators",
873
+ useGlobalOutOfStockThreshold: "BooleanOperators",
874
+ id: "IDOperators",
875
+ productId: "IDOperators",
876
+ createdAt: "DateOperators",
877
+ updatedAt: "DateOperators",
878
+ languageCode: "StringOperators",
879
+ sku: "StringOperators",
880
+ name: "StringOperators",
881
+ price: "NumberOperators",
882
+ currencyCode: "StringOperators",
883
+ priceWithTax: "NumberOperators",
884
+ stockLevel: "StringOperators",
885
+ _and: "ProductVariantFilterParameter",
886
+ _or: "ProductVariantFilterParameter"
887
+ },
888
+ ProductTranslationInput: {
889
+ languageCode: "LanguageCode",
890
+ customFields: "JSON"
891
+ },
892
+ CreateProductInput: {
893
+ translations: "ProductTranslationInput",
894
+ customFields: "JSON"
895
+ },
896
+ UpdateProductInput: {
897
+ translations: "ProductTranslationInput",
898
+ customFields: "JSON"
899
+ },
900
+ ProductVariantTranslationInput: {
901
+ languageCode: "LanguageCode",
902
+ customFields: "JSON"
903
+ },
904
+ CreateProductVariantOptionInput: {
905
+ translations: "ProductOptionTranslationInput"
906
+ },
907
+ StockLevelInput: {},
908
+ ProductVariantPriceInput: {
909
+ currencyCode: "CurrencyCode",
910
+ price: "Money"
911
+ },
912
+ CreateProductVariantInput: {
913
+ translations: "ProductVariantTranslationInput",
914
+ price: "Money",
915
+ stockLevels: "StockLevelInput",
916
+ trackInventory: "GlobalFlag",
917
+ customFields: "JSON"
918
+ },
919
+ UpdateProductVariantInput: {
920
+ translations: "ProductVariantTranslationInput",
921
+ price: "Money",
922
+ prices: "ProductVariantPriceInput",
923
+ stockLevels: "StockLevelInput",
924
+ trackInventory: "GlobalFlag",
925
+ customFields: "JSON"
926
+ },
927
+ AssignProductsToChannelInput: {},
928
+ RemoveProductsFromChannelInput: {},
929
+ AssignProductVariantsToChannelInput: {},
930
+ RemoveProductVariantsFromChannelInput: {},
931
+ PromotionListOptions: {
932
+ sort: "PromotionSortParameter",
933
+ filter: "PromotionFilterParameter",
934
+ filterOperator: "LogicalOperator"
935
+ },
936
+ PromotionTranslationInput: {
937
+ languageCode: "LanguageCode",
938
+ customFields: "JSON"
939
+ },
940
+ CreatePromotionInput: {
941
+ startsAt: "DateTime",
942
+ endsAt: "DateTime",
943
+ conditions: "ConfigurableOperationInput",
944
+ actions: "ConfigurableOperationInput",
945
+ translations: "PromotionTranslationInput",
946
+ customFields: "JSON"
947
+ },
948
+ UpdatePromotionInput: {
949
+ startsAt: "DateTime",
950
+ endsAt: "DateTime",
951
+ conditions: "ConfigurableOperationInput",
952
+ actions: "ConfigurableOperationInput",
953
+ translations: "PromotionTranslationInput",
954
+ customFields: "JSON"
955
+ },
956
+ AssignPromotionsToChannelInput: {},
957
+ RemovePromotionsFromChannelInput: {},
958
+ ProvinceTranslationInput: {
959
+ languageCode: "LanguageCode",
960
+ customFields: "JSON"
961
+ },
962
+ CreateProvinceInput: {
963
+ translations: "ProvinceTranslationInput",
964
+ customFields: "JSON"
965
+ },
966
+ UpdateProvinceInput: {
967
+ translations: "ProvinceTranslationInput",
968
+ customFields: "JSON"
969
+ },
970
+ ProvinceListOptions: {
971
+ sort: "ProvinceSortParameter",
972
+ filter: "ProvinceFilterParameter",
973
+ filterOperator: "LogicalOperator"
974
+ },
975
+ RoleListOptions: {
976
+ sort: "RoleSortParameter",
977
+ filter: "RoleFilterParameter",
978
+ filterOperator: "LogicalOperator"
979
+ },
980
+ CreateRoleInput: {
981
+ permissions: "Permission"
982
+ },
983
+ UpdateRoleInput: {
984
+ permissions: "Permission"
985
+ },
986
+ SellerListOptions: {
987
+ sort: "SellerSortParameter",
988
+ filter: "SellerFilterParameter",
989
+ filterOperator: "LogicalOperator"
990
+ },
991
+ CreateSellerInput: {
992
+ customFields: "JSON"
993
+ },
994
+ UpdateSellerInput: {
995
+ customFields: "JSON"
996
+ },
997
+ ShippingMethodListOptions: {
998
+ sort: "ShippingMethodSortParameter",
999
+ filter: "ShippingMethodFilterParameter",
1000
+ filterOperator: "LogicalOperator"
1001
+ },
1002
+ ShippingMethodTranslationInput: {
1003
+ languageCode: "LanguageCode",
1004
+ customFields: "JSON"
1005
+ },
1006
+ CreateShippingMethodInput: {
1007
+ checker: "ConfigurableOperationInput",
1008
+ calculator: "ConfigurableOperationInput",
1009
+ translations: "ShippingMethodTranslationInput",
1010
+ customFields: "JSON"
1011
+ },
1012
+ UpdateShippingMethodInput: {
1013
+ checker: "ConfigurableOperationInput",
1014
+ calculator: "ConfigurableOperationInput",
1015
+ translations: "ShippingMethodTranslationInput",
1016
+ customFields: "JSON"
1017
+ },
1018
+ TestShippingMethodInput: {
1019
+ checker: "ConfigurableOperationInput",
1020
+ calculator: "ConfigurableOperationInput",
1021
+ shippingAddress: "CreateAddressInput",
1022
+ lines: "TestShippingMethodOrderLineInput"
1023
+ },
1024
+ TestEligibleShippingMethodsInput: {
1025
+ shippingAddress: "CreateAddressInput",
1026
+ lines: "TestShippingMethodOrderLineInput"
1027
+ },
1028
+ TestShippingMethodOrderLineInput: {},
1029
+ AssignShippingMethodsToChannelInput: {},
1030
+ RemoveShippingMethodsFromChannelInput: {},
1031
+ StockLocationListOptions: {
1032
+ sort: "StockLocationSortParameter",
1033
+ filter: "StockLocationFilterParameter",
1034
+ filterOperator: "LogicalOperator"
1035
+ },
1036
+ CreateStockLocationInput: {
1037
+ customFields: "JSON"
1038
+ },
1039
+ UpdateStockLocationInput: {
1040
+ customFields: "JSON"
1041
+ },
1042
+ DeleteStockLocationInput: {},
1043
+ AssignStockLocationsToChannelInput: {},
1044
+ RemoveStockLocationsFromChannelInput: {},
1045
+ StockMovementType: "enum",
1046
+ TagListOptions: {
1047
+ sort: "TagSortParameter",
1048
+ filter: "TagFilterParameter",
1049
+ filterOperator: "LogicalOperator"
1050
+ },
1051
+ CreateTagInput: {},
1052
+ UpdateTagInput: {},
1053
+ TaxCategoryListOptions: {
1054
+ sort: "TaxCategorySortParameter",
1055
+ filter: "TaxCategoryFilterParameter",
1056
+ filterOperator: "LogicalOperator"
1057
+ },
1058
+ CreateTaxCategoryInput: {
1059
+ customFields: "JSON"
1060
+ },
1061
+ UpdateTaxCategoryInput: {
1062
+ customFields: "JSON"
1063
+ },
1064
+ TaxRateListOptions: {
1065
+ sort: "TaxRateSortParameter",
1066
+ filter: "TaxRateFilterParameter",
1067
+ filterOperator: "LogicalOperator"
1068
+ },
1069
+ CreateTaxRateInput: {
1070
+ customFields: "JSON"
1071
+ },
1072
+ UpdateTaxRateInput: {
1073
+ customFields: "JSON"
1074
+ },
1075
+ ZoneListOptions: {
1076
+ sort: "ZoneSortParameter",
1077
+ filter: "ZoneFilterParameter",
1078
+ filterOperator: "LogicalOperator"
1079
+ },
1080
+ CreateZoneInput: {
1081
+ customFields: "JSON"
1082
+ },
1083
+ UpdateZoneInput: {
1084
+ customFields: "JSON"
1085
+ },
1086
+ AssetType: "enum",
1087
+ GlobalFlag: "enum",
1088
+ AdjustmentType: "enum",
1089
+ DeletionResult: "enum",
1090
+ Permission: "enum",
1091
+ SortOrder: "enum",
1092
+ ErrorCode: "enum",
1093
+ LogicalOperator: "enum",
1094
+ JSON: `scalar.JSON`,
1095
+ DateTime: `scalar.DateTime`,
1096
+ Upload: `scalar.Upload`,
1097
+ Money: `scalar.Money`,
1098
+ ConfigArgInput: {},
1099
+ ConfigurableOperationInput: {
1100
+ arguments: "ConfigArgInput"
1101
+ },
1102
+ StringOperators: {},
1103
+ IDOperators: {},
1104
+ BooleanOperators: {},
1105
+ NumberRange: {},
1106
+ NumberOperators: {
1107
+ between: "NumberRange"
1108
+ },
1109
+ DateRange: {
1110
+ start: "DateTime",
1111
+ end: "DateTime"
1112
+ },
1113
+ DateOperators: {
1114
+ eq: "DateTime",
1115
+ before: "DateTime",
1116
+ after: "DateTime",
1117
+ between: "DateRange"
1118
+ },
1119
+ StringListOperators: {},
1120
+ NumberListOperators: {},
1121
+ BooleanListOperators: {},
1122
+ IDListOperators: {},
1123
+ DateListOperators: {
1124
+ inList: "DateTime"
1125
+ },
1126
+ FacetValueFilterInput: {},
1127
+ SearchInput: {
1128
+ facetValueFilters: "FacetValueFilterInput",
1129
+ sort: "SearchResultSortParameter"
1130
+ },
1131
+ SearchResultSortParameter: {
1132
+ name: "SortOrder",
1133
+ price: "SortOrder"
1134
+ },
1135
+ CreateCustomerInput: {
1136
+ customFields: "JSON"
1137
+ },
1138
+ CreateAddressInput: {
1139
+ customFields: "JSON"
1140
+ },
1141
+ UpdateAddressInput: {
1142
+ customFields: "JSON"
1143
+ },
1144
+ CurrencyCode: "enum",
1145
+ CustomerGroup: {
1146
+ customers: {
1147
+ options: "CustomerListOptions"
1148
+ }
1149
+ },
1150
+ FacetValueListOptions: {
1151
+ sort: "FacetValueSortParameter",
1152
+ filter: "FacetValueFilterParameter",
1153
+ filterOperator: "LogicalOperator"
1154
+ },
1155
+ HistoryEntryType: "enum",
1156
+ HistoryEntryListOptions: {
1157
+ sort: "HistoryEntrySortParameter",
1158
+ filter: "HistoryEntryFilterParameter",
1159
+ filterOperator: "LogicalOperator"
1160
+ },
1161
+ LanguageCode: "enum",
1162
+ OrderType: "enum",
1163
+ MetricInterval: "enum",
1164
+ MetricType: "enum",
1165
+ MetricSummaryInput: {
1166
+ interval: "MetricInterval",
1167
+ types: "MetricType"
1168
+ },
1169
+ AdministratorFilterParameter: {
1170
+ id: "IDOperators",
1171
+ createdAt: "DateOperators",
1172
+ updatedAt: "DateOperators",
1173
+ firstName: "StringOperators",
1174
+ lastName: "StringOperators",
1175
+ emailAddress: "StringOperators",
1176
+ _and: "AdministratorFilterParameter",
1177
+ _or: "AdministratorFilterParameter"
1178
+ },
1179
+ AdministratorSortParameter: {
1180
+ id: "SortOrder",
1181
+ createdAt: "SortOrder",
1182
+ updatedAt: "SortOrder",
1183
+ firstName: "SortOrder",
1184
+ lastName: "SortOrder",
1185
+ emailAddress: "SortOrder"
1186
+ },
1187
+ AssetFilterParameter: {
1188
+ id: "IDOperators",
1189
+ createdAt: "DateOperators",
1190
+ updatedAt: "DateOperators",
1191
+ name: "StringOperators",
1192
+ type: "StringOperators",
1193
+ fileSize: "NumberOperators",
1194
+ mimeType: "StringOperators",
1195
+ width: "NumberOperators",
1196
+ height: "NumberOperators",
1197
+ source: "StringOperators",
1198
+ preview: "StringOperators",
1199
+ _and: "AssetFilterParameter",
1200
+ _or: "AssetFilterParameter"
1201
+ },
1202
+ AssetSortParameter: {
1203
+ id: "SortOrder",
1204
+ createdAt: "SortOrder",
1205
+ updatedAt: "SortOrder",
1206
+ name: "SortOrder",
1207
+ fileSize: "SortOrder",
1208
+ mimeType: "SortOrder",
1209
+ width: "SortOrder",
1210
+ height: "SortOrder",
1211
+ source: "SortOrder",
1212
+ preview: "SortOrder"
1213
+ },
1214
+ ChannelFilterParameter: {
1215
+ id: "IDOperators",
1216
+ createdAt: "DateOperators",
1217
+ updatedAt: "DateOperators",
1218
+ code: "StringOperators",
1219
+ token: "StringOperators",
1220
+ defaultLanguageCode: "StringOperators",
1221
+ currencyCode: "StringOperators",
1222
+ defaultCurrencyCode: "StringOperators",
1223
+ trackInventory: "BooleanOperators",
1224
+ outOfStockThreshold: "NumberOperators",
1225
+ pricesIncludeTax: "BooleanOperators",
1226
+ _and: "ChannelFilterParameter",
1227
+ _or: "ChannelFilterParameter"
1228
+ },
1229
+ ChannelSortParameter: {
1230
+ id: "SortOrder",
1231
+ createdAt: "SortOrder",
1232
+ updatedAt: "SortOrder",
1233
+ code: "SortOrder",
1234
+ token: "SortOrder",
1235
+ outOfStockThreshold: "SortOrder"
1236
+ },
1237
+ CollectionFilterParameter: {
1238
+ isPrivate: "BooleanOperators",
1239
+ inheritFilters: "BooleanOperators",
1240
+ id: "IDOperators",
1241
+ createdAt: "DateOperators",
1242
+ updatedAt: "DateOperators",
1243
+ languageCode: "StringOperators",
1244
+ name: "StringOperators",
1245
+ slug: "StringOperators",
1246
+ position: "NumberOperators",
1247
+ description: "StringOperators",
1248
+ parentId: "IDOperators",
1249
+ _and: "CollectionFilterParameter",
1250
+ _or: "CollectionFilterParameter"
1251
+ },
1252
+ CollectionSortParameter: {
1253
+ id: "SortOrder",
1254
+ createdAt: "SortOrder",
1255
+ updatedAt: "SortOrder",
1256
+ name: "SortOrder",
1257
+ slug: "SortOrder",
1258
+ position: "SortOrder",
1259
+ description: "SortOrder",
1260
+ parentId: "SortOrder"
1261
+ },
1262
+ ProductVariantSortParameter: {
1263
+ stockOnHand: "SortOrder",
1264
+ stockAllocated: "SortOrder",
1265
+ outOfStockThreshold: "SortOrder",
1266
+ id: "SortOrder",
1267
+ productId: "SortOrder",
1268
+ createdAt: "SortOrder",
1269
+ updatedAt: "SortOrder",
1270
+ sku: "SortOrder",
1271
+ name: "SortOrder",
1272
+ price: "SortOrder",
1273
+ priceWithTax: "SortOrder",
1274
+ stockLevel: "SortOrder"
1275
+ },
1276
+ CountryFilterParameter: {
1277
+ id: "IDOperators",
1278
+ createdAt: "DateOperators",
1279
+ updatedAt: "DateOperators",
1280
+ languageCode: "StringOperators",
1281
+ code: "StringOperators",
1282
+ type: "StringOperators",
1283
+ name: "StringOperators",
1284
+ enabled: "BooleanOperators",
1285
+ parentId: "IDOperators",
1286
+ _and: "CountryFilterParameter",
1287
+ _or: "CountryFilterParameter"
1288
+ },
1289
+ CountrySortParameter: {
1290
+ id: "SortOrder",
1291
+ createdAt: "SortOrder",
1292
+ updatedAt: "SortOrder",
1293
+ code: "SortOrder",
1294
+ type: "SortOrder",
1295
+ name: "SortOrder",
1296
+ parentId: "SortOrder"
1297
+ },
1298
+ CustomerGroupFilterParameter: {
1299
+ id: "IDOperators",
1300
+ createdAt: "DateOperators",
1301
+ updatedAt: "DateOperators",
1302
+ name: "StringOperators",
1303
+ _and: "CustomerGroupFilterParameter",
1304
+ _or: "CustomerGroupFilterParameter"
1305
+ },
1306
+ CustomerGroupSortParameter: {
1307
+ id: "SortOrder",
1308
+ createdAt: "SortOrder",
1309
+ updatedAt: "SortOrder",
1310
+ name: "SortOrder"
1311
+ },
1312
+ CustomerSortParameter: {
1313
+ id: "SortOrder",
1314
+ createdAt: "SortOrder",
1315
+ updatedAt: "SortOrder",
1316
+ title: "SortOrder",
1317
+ firstName: "SortOrder",
1318
+ lastName: "SortOrder",
1319
+ phoneNumber: "SortOrder",
1320
+ emailAddress: "SortOrder"
1321
+ },
1322
+ FacetFilterParameter: {
1323
+ isPrivate: "BooleanOperators",
1324
+ id: "IDOperators",
1325
+ createdAt: "DateOperators",
1326
+ updatedAt: "DateOperators",
1327
+ languageCode: "StringOperators",
1328
+ name: "StringOperators",
1329
+ code: "StringOperators",
1330
+ _and: "FacetFilterParameter",
1331
+ _or: "FacetFilterParameter"
1332
+ },
1333
+ FacetSortParameter: {
1334
+ id: "SortOrder",
1335
+ createdAt: "SortOrder",
1336
+ updatedAt: "SortOrder",
1337
+ name: "SortOrder",
1338
+ code: "SortOrder"
1339
+ },
1340
+ FacetValueFilterParameter: {
1341
+ id: "IDOperators",
1342
+ createdAt: "DateOperators",
1343
+ updatedAt: "DateOperators",
1344
+ languageCode: "StringOperators",
1345
+ facetId: "IDOperators",
1346
+ name: "StringOperators",
1347
+ code: "StringOperators",
1348
+ _and: "FacetValueFilterParameter",
1349
+ _or: "FacetValueFilterParameter"
1350
+ },
1351
+ FacetValueSortParameter: {
1352
+ id: "SortOrder",
1353
+ createdAt: "SortOrder",
1354
+ updatedAt: "SortOrder",
1355
+ facetId: "SortOrder",
1356
+ name: "SortOrder",
1357
+ code: "SortOrder"
1358
+ },
1359
+ JobFilterParameter: {
1360
+ id: "IDOperators",
1361
+ createdAt: "DateOperators",
1362
+ startedAt: "DateOperators",
1363
+ settledAt: "DateOperators",
1364
+ queueName: "StringOperators",
1365
+ state: "StringOperators",
1366
+ progress: "NumberOperators",
1367
+ isSettled: "BooleanOperators",
1368
+ duration: "NumberOperators",
1369
+ retries: "NumberOperators",
1370
+ attempts: "NumberOperators",
1371
+ _and: "JobFilterParameter",
1372
+ _or: "JobFilterParameter"
1373
+ },
1374
+ JobSortParameter: {
1375
+ id: "SortOrder",
1376
+ createdAt: "SortOrder",
1377
+ startedAt: "SortOrder",
1378
+ settledAt: "SortOrder",
1379
+ queueName: "SortOrder",
1380
+ progress: "SortOrder",
1381
+ duration: "SortOrder",
1382
+ retries: "SortOrder",
1383
+ attempts: "SortOrder"
1384
+ },
1385
+ PaymentMethodFilterParameter: {
1386
+ id: "IDOperators",
1387
+ createdAt: "DateOperators",
1388
+ updatedAt: "DateOperators",
1389
+ name: "StringOperators",
1390
+ code: "StringOperators",
1391
+ description: "StringOperators",
1392
+ enabled: "BooleanOperators",
1393
+ _and: "PaymentMethodFilterParameter",
1394
+ _or: "PaymentMethodFilterParameter"
1395
+ },
1396
+ PaymentMethodSortParameter: {
1397
+ id: "SortOrder",
1398
+ createdAt: "SortOrder",
1399
+ updatedAt: "SortOrder",
1400
+ name: "SortOrder",
1401
+ code: "SortOrder",
1402
+ description: "SortOrder"
1403
+ },
1404
+ ProductSortParameter: {
1405
+ id: "SortOrder",
1406
+ createdAt: "SortOrder",
1407
+ updatedAt: "SortOrder",
1408
+ name: "SortOrder",
1409
+ slug: "SortOrder",
1410
+ description: "SortOrder"
1411
+ },
1412
+ PromotionFilterParameter: {
1413
+ id: "IDOperators",
1414
+ createdAt: "DateOperators",
1415
+ updatedAt: "DateOperators",
1416
+ startsAt: "DateOperators",
1417
+ endsAt: "DateOperators",
1418
+ couponCode: "StringOperators",
1419
+ perCustomerUsageLimit: "NumberOperators",
1420
+ usageLimit: "NumberOperators",
1421
+ name: "StringOperators",
1422
+ description: "StringOperators",
1423
+ enabled: "BooleanOperators",
1424
+ _and: "PromotionFilterParameter",
1425
+ _or: "PromotionFilterParameter"
1426
+ },
1427
+ PromotionSortParameter: {
1428
+ id: "SortOrder",
1429
+ createdAt: "SortOrder",
1430
+ updatedAt: "SortOrder",
1431
+ startsAt: "SortOrder",
1432
+ endsAt: "SortOrder",
1433
+ couponCode: "SortOrder",
1434
+ perCustomerUsageLimit: "SortOrder",
1435
+ usageLimit: "SortOrder",
1436
+ name: "SortOrder",
1437
+ description: "SortOrder"
1438
+ },
1439
+ ProvinceFilterParameter: {
1440
+ id: "IDOperators",
1441
+ createdAt: "DateOperators",
1442
+ updatedAt: "DateOperators",
1443
+ languageCode: "StringOperators",
1444
+ code: "StringOperators",
1445
+ type: "StringOperators",
1446
+ name: "StringOperators",
1447
+ enabled: "BooleanOperators",
1448
+ parentId: "IDOperators",
1449
+ _and: "ProvinceFilterParameter",
1450
+ _or: "ProvinceFilterParameter"
1451
+ },
1452
+ ProvinceSortParameter: {
1453
+ id: "SortOrder",
1454
+ createdAt: "SortOrder",
1455
+ updatedAt: "SortOrder",
1456
+ code: "SortOrder",
1457
+ type: "SortOrder",
1458
+ name: "SortOrder",
1459
+ parentId: "SortOrder"
1460
+ },
1461
+ RoleFilterParameter: {
1462
+ id: "IDOperators",
1463
+ createdAt: "DateOperators",
1464
+ updatedAt: "DateOperators",
1465
+ code: "StringOperators",
1466
+ description: "StringOperators",
1467
+ _and: "RoleFilterParameter",
1468
+ _or: "RoleFilterParameter"
1469
+ },
1470
+ RoleSortParameter: {
1471
+ id: "SortOrder",
1472
+ createdAt: "SortOrder",
1473
+ updatedAt: "SortOrder",
1474
+ code: "SortOrder",
1475
+ description: "SortOrder"
1476
+ },
1477
+ SellerFilterParameter: {
1478
+ id: "IDOperators",
1479
+ createdAt: "DateOperators",
1480
+ updatedAt: "DateOperators",
1481
+ name: "StringOperators",
1482
+ _and: "SellerFilterParameter",
1483
+ _or: "SellerFilterParameter"
1484
+ },
1485
+ SellerSortParameter: {
1486
+ id: "SortOrder",
1487
+ createdAt: "SortOrder",
1488
+ updatedAt: "SortOrder",
1489
+ name: "SortOrder"
1490
+ },
1491
+ ShippingMethodFilterParameter: {
1492
+ id: "IDOperators",
1493
+ createdAt: "DateOperators",
1494
+ updatedAt: "DateOperators",
1495
+ languageCode: "StringOperators",
1496
+ code: "StringOperators",
1497
+ name: "StringOperators",
1498
+ description: "StringOperators",
1499
+ fulfillmentHandlerCode: "StringOperators",
1500
+ _and: "ShippingMethodFilterParameter",
1501
+ _or: "ShippingMethodFilterParameter"
1502
+ },
1503
+ ShippingMethodSortParameter: {
1504
+ id: "SortOrder",
1505
+ createdAt: "SortOrder",
1506
+ updatedAt: "SortOrder",
1507
+ code: "SortOrder",
1508
+ name: "SortOrder",
1509
+ description: "SortOrder",
1510
+ fulfillmentHandlerCode: "SortOrder"
1511
+ },
1512
+ StockLocationFilterParameter: {
1513
+ id: "IDOperators",
1514
+ createdAt: "DateOperators",
1515
+ updatedAt: "DateOperators",
1516
+ name: "StringOperators",
1517
+ description: "StringOperators",
1518
+ _and: "StockLocationFilterParameter",
1519
+ _or: "StockLocationFilterParameter"
1520
+ },
1521
+ StockLocationSortParameter: {
1522
+ id: "SortOrder",
1523
+ createdAt: "SortOrder",
1524
+ updatedAt: "SortOrder",
1525
+ name: "SortOrder",
1526
+ description: "SortOrder"
1527
+ },
1528
+ TagFilterParameter: {
1529
+ id: "IDOperators",
1530
+ createdAt: "DateOperators",
1531
+ updatedAt: "DateOperators",
1532
+ value: "StringOperators",
1533
+ _and: "TagFilterParameter",
1534
+ _or: "TagFilterParameter"
1535
+ },
1536
+ TagSortParameter: {
1537
+ id: "SortOrder",
1538
+ createdAt: "SortOrder",
1539
+ updatedAt: "SortOrder",
1540
+ value: "SortOrder"
1541
+ },
1542
+ TaxCategoryFilterParameter: {
1543
+ id: "IDOperators",
1544
+ createdAt: "DateOperators",
1545
+ updatedAt: "DateOperators",
1546
+ name: "StringOperators",
1547
+ isDefault: "BooleanOperators",
1548
+ _and: "TaxCategoryFilterParameter",
1549
+ _or: "TaxCategoryFilterParameter"
1550
+ },
1551
+ TaxCategorySortParameter: {
1552
+ id: "SortOrder",
1553
+ createdAt: "SortOrder",
1554
+ updatedAt: "SortOrder",
1555
+ name: "SortOrder"
1556
+ },
1557
+ TaxRateFilterParameter: {
1558
+ id: "IDOperators",
1559
+ createdAt: "DateOperators",
1560
+ updatedAt: "DateOperators",
1561
+ name: "StringOperators",
1562
+ enabled: "BooleanOperators",
1563
+ value: "NumberOperators",
1564
+ _and: "TaxRateFilterParameter",
1565
+ _or: "TaxRateFilterParameter"
1566
+ },
1567
+ TaxRateSortParameter: {
1568
+ id: "SortOrder",
1569
+ createdAt: "SortOrder",
1570
+ updatedAt: "SortOrder",
1571
+ name: "SortOrder",
1572
+ value: "SortOrder"
1573
+ },
1574
+ ZoneFilterParameter: {
1575
+ id: "IDOperators",
1576
+ createdAt: "DateOperators",
1577
+ updatedAt: "DateOperators",
1578
+ name: "StringOperators",
1579
+ _and: "ZoneFilterParameter",
1580
+ _or: "ZoneFilterParameter"
1581
+ },
1582
+ ZoneSortParameter: {
1583
+ id: "SortOrder",
1584
+ createdAt: "SortOrder",
1585
+ updatedAt: "SortOrder",
1586
+ name: "SortOrder"
1587
+ },
1588
+ HistoryEntryFilterParameter: {
1589
+ isPublic: "BooleanOperators",
1590
+ id: "IDOperators",
1591
+ createdAt: "DateOperators",
1592
+ updatedAt: "DateOperators",
1593
+ type: "StringOperators",
1594
+ _and: "HistoryEntryFilterParameter",
1595
+ _or: "HistoryEntryFilterParameter"
1596
+ },
1597
+ HistoryEntrySortParameter: {
1598
+ id: "SortOrder",
1599
+ createdAt: "SortOrder",
1600
+ updatedAt: "SortOrder"
1601
+ },
1602
+ NativeAuthInput: {}
1603
+ };
1604
+ exports.ReturnTypes = {
1605
+ Query: {
1606
+ administrators: "AdministratorList",
1607
+ administrator: "Administrator",
1608
+ activeAdministrator: "Administrator",
1609
+ assets: "AssetList",
1610
+ asset: "Asset",
1611
+ me: "CurrentUser",
1612
+ channels: "ChannelList",
1613
+ channel: "Channel",
1614
+ activeChannel: "Channel",
1615
+ collections: "CollectionList",
1616
+ collection: "Collection",
1617
+ collectionFilters: "ConfigurableOperationDefinition",
1618
+ previewCollectionVariants: "ProductVariantList",
1619
+ countries: "CountryList",
1620
+ country: "Country",
1621
+ customerGroups: "CustomerGroupList",
1622
+ customerGroup: "CustomerGroup",
1623
+ customers: "CustomerList",
1624
+ customer: "Customer",
1625
+ entityDuplicators: "EntityDuplicatorDefinition",
1626
+ facets: "FacetList",
1627
+ facet: "Facet",
1628
+ facetValues: "FacetValueList",
1629
+ globalSettings: "GlobalSettings",
1630
+ job: "Job",
1631
+ jobs: "JobList",
1632
+ jobsById: "Job",
1633
+ jobQueues: "JobQueue",
1634
+ jobBufferSize: "JobBufferSize",
1635
+ order: "Order",
1636
+ orders: "OrderList",
1637
+ eligibleShippingMethodsForDraftOrder: "ShippingMethodQuote",
1638
+ paymentMethods: "PaymentMethodList",
1639
+ paymentMethod: "PaymentMethod",
1640
+ paymentMethodEligibilityCheckers: "ConfigurableOperationDefinition",
1641
+ paymentMethodHandlers: "ConfigurableOperationDefinition",
1642
+ productOptionGroups: "ProductOptionGroup",
1643
+ productOptionGroup: "ProductOptionGroup",
1644
+ search: "SearchResponse",
1645
+ pendingSearchIndexUpdates: "Int",
1646
+ products: "ProductList",
1647
+ product: "Product",
1648
+ productVariants: "ProductVariantList",
1649
+ productVariant: "ProductVariant",
1650
+ promotion: "Promotion",
1651
+ promotions: "PromotionList",
1652
+ promotionConditions: "ConfigurableOperationDefinition",
1653
+ promotionActions: "ConfigurableOperationDefinition",
1654
+ provinces: "ProvinceList",
1655
+ province: "Province",
1656
+ roles: "RoleList",
1657
+ role: "Role",
1658
+ sellers: "SellerList",
1659
+ seller: "Seller",
1660
+ shippingMethods: "ShippingMethodList",
1661
+ shippingMethod: "ShippingMethod",
1662
+ shippingEligibilityCheckers: "ConfigurableOperationDefinition",
1663
+ shippingCalculators: "ConfigurableOperationDefinition",
1664
+ fulfillmentHandlers: "ConfigurableOperationDefinition",
1665
+ testShippingMethod: "TestShippingMethodResult",
1666
+ testEligibleShippingMethods: "ShippingMethodQuote",
1667
+ stockLocation: "StockLocation",
1668
+ stockLocations: "StockLocationList",
1669
+ tag: "Tag",
1670
+ tags: "TagList",
1671
+ taxCategories: "TaxCategoryList",
1672
+ taxCategory: "TaxCategory",
1673
+ taxRates: "TaxRateList",
1674
+ taxRate: "TaxRate",
1675
+ zones: "ZoneList",
1676
+ zone: "Zone",
1677
+ metricSummary: "MetricSummary"
1678
+ },
1679
+ Mutation: {
1680
+ createAdministrator: "Administrator",
1681
+ updateAdministrator: "Administrator",
1682
+ updateActiveAdministrator: "Administrator",
1683
+ deleteAdministrator: "DeletionResponse",
1684
+ deleteAdministrators: "DeletionResponse",
1685
+ assignRoleToAdministrator: "Administrator",
1686
+ createAssets: "CreateAssetResult",
1687
+ updateAsset: "Asset",
1688
+ deleteAsset: "DeletionResponse",
1689
+ deleteAssets: "DeletionResponse",
1690
+ assignAssetsToChannel: "Asset",
1691
+ login: "NativeAuthenticationResult",
1692
+ authenticate: "AuthenticationResult",
1693
+ logout: "Success",
1694
+ createChannel: "CreateChannelResult",
1695
+ updateChannel: "UpdateChannelResult",
1696
+ deleteChannel: "DeletionResponse",
1697
+ deleteChannels: "DeletionResponse",
1698
+ createCollection: "Collection",
1699
+ updateCollection: "Collection",
1700
+ deleteCollection: "DeletionResponse",
1701
+ deleteCollections: "DeletionResponse",
1702
+ moveCollection: "Collection",
1703
+ assignCollectionsToChannel: "Collection",
1704
+ removeCollectionsFromChannel: "Collection",
1705
+ createCountry: "Country",
1706
+ updateCountry: "Country",
1707
+ deleteCountry: "DeletionResponse",
1708
+ deleteCountries: "DeletionResponse",
1709
+ createCustomerGroup: "CustomerGroup",
1710
+ updateCustomerGroup: "CustomerGroup",
1711
+ deleteCustomerGroup: "DeletionResponse",
1712
+ deleteCustomerGroups: "DeletionResponse",
1713
+ addCustomersToGroup: "CustomerGroup",
1714
+ removeCustomersFromGroup: "CustomerGroup",
1715
+ createCustomer: "CreateCustomerResult",
1716
+ updateCustomer: "UpdateCustomerResult",
1717
+ deleteCustomer: "DeletionResponse",
1718
+ deleteCustomers: "DeletionResponse",
1719
+ createCustomerAddress: "Address",
1720
+ updateCustomerAddress: "Address",
1721
+ deleteCustomerAddress: "Success",
1722
+ addNoteToCustomer: "Customer",
1723
+ updateCustomerNote: "HistoryEntry",
1724
+ deleteCustomerNote: "DeletionResponse",
1725
+ duplicateEntity: "DuplicateEntityResult",
1726
+ createFacet: "Facet",
1727
+ updateFacet: "Facet",
1728
+ deleteFacet: "DeletionResponse",
1729
+ deleteFacets: "DeletionResponse",
1730
+ createFacetValues: "FacetValue",
1731
+ updateFacetValues: "FacetValue",
1732
+ deleteFacetValues: "DeletionResponse",
1733
+ assignFacetsToChannel: "Facet",
1734
+ removeFacetsFromChannel: "RemoveFacetFromChannelResult",
1735
+ updateGlobalSettings: "UpdateGlobalSettingsResult",
1736
+ importProducts: "ImportInfo",
1737
+ removeSettledJobs: "Int",
1738
+ cancelJob: "Job",
1739
+ flushBufferedJobs: "Success",
1740
+ settlePayment: "SettlePaymentResult",
1741
+ cancelPayment: "CancelPaymentResult",
1742
+ addFulfillmentToOrder: "AddFulfillmentToOrderResult",
1743
+ cancelOrder: "CancelOrderResult",
1744
+ refundOrder: "RefundOrderResult",
1745
+ settleRefund: "SettleRefundResult",
1746
+ addNoteToOrder: "Order",
1747
+ updateOrderNote: "HistoryEntry",
1748
+ deleteOrderNote: "DeletionResponse",
1749
+ transitionOrderToState: "TransitionOrderToStateResult",
1750
+ transitionFulfillmentToState: "TransitionFulfillmentToStateResult",
1751
+ transitionPaymentToState: "TransitionPaymentToStateResult",
1752
+ setOrderCustomFields: "Order",
1753
+ setOrderCustomer: "Order",
1754
+ modifyOrder: "ModifyOrderResult",
1755
+ addManualPaymentToOrder: "AddManualPaymentToOrderResult",
1756
+ createDraftOrder: "Order",
1757
+ deleteDraftOrder: "DeletionResponse",
1758
+ addItemToDraftOrder: "UpdateOrderItemsResult",
1759
+ adjustDraftOrderLine: "UpdateOrderItemsResult",
1760
+ removeDraftOrderLine: "RemoveOrderItemsResult",
1761
+ setCustomerForDraftOrder: "SetCustomerForDraftOrderResult",
1762
+ setDraftOrderShippingAddress: "Order",
1763
+ setDraftOrderBillingAddress: "Order",
1764
+ setDraftOrderCustomFields: "Order",
1765
+ applyCouponCodeToDraftOrder: "ApplyCouponCodeResult",
1766
+ removeCouponCodeFromDraftOrder: "Order",
1767
+ setDraftOrderShippingMethod: "SetOrderShippingMethodResult",
1768
+ createPaymentMethod: "PaymentMethod",
1769
+ updatePaymentMethod: "PaymentMethod",
1770
+ deletePaymentMethod: "DeletionResponse",
1771
+ deletePaymentMethods: "DeletionResponse",
1772
+ assignPaymentMethodsToChannel: "PaymentMethod",
1773
+ removePaymentMethodsFromChannel: "PaymentMethod",
1774
+ createProductOptionGroup: "ProductOptionGroup",
1775
+ updateProductOptionGroup: "ProductOptionGroup",
1776
+ createProductOption: "ProductOption",
1777
+ updateProductOption: "ProductOption",
1778
+ deleteProductOption: "DeletionResponse",
1779
+ reindex: "Job",
1780
+ runPendingSearchIndexUpdates: "Success",
1781
+ createProduct: "Product",
1782
+ updateProduct: "Product",
1783
+ updateProducts: "Product",
1784
+ deleteProduct: "DeletionResponse",
1785
+ deleteProducts: "DeletionResponse",
1786
+ addOptionGroupToProduct: "Product",
1787
+ removeOptionGroupFromProduct: "RemoveOptionGroupFromProductResult",
1788
+ createProductVariants: "ProductVariant",
1789
+ updateProductVariants: "ProductVariant",
1790
+ deleteProductVariant: "DeletionResponse",
1791
+ deleteProductVariants: "DeletionResponse",
1792
+ assignProductsToChannel: "Product",
1793
+ removeProductsFromChannel: "Product",
1794
+ assignProductVariantsToChannel: "ProductVariant",
1795
+ removeProductVariantsFromChannel: "ProductVariant",
1796
+ createPromotion: "CreatePromotionResult",
1797
+ updatePromotion: "UpdatePromotionResult",
1798
+ deletePromotion: "DeletionResponse",
1799
+ deletePromotions: "DeletionResponse",
1800
+ assignPromotionsToChannel: "Promotion",
1801
+ removePromotionsFromChannel: "Promotion",
1802
+ createProvince: "Province",
1803
+ updateProvince: "Province",
1804
+ deleteProvince: "DeletionResponse",
1805
+ createRole: "Role",
1806
+ updateRole: "Role",
1807
+ deleteRole: "DeletionResponse",
1808
+ deleteRoles: "DeletionResponse",
1809
+ createSeller: "Seller",
1810
+ updateSeller: "Seller",
1811
+ deleteSeller: "DeletionResponse",
1812
+ deleteSellers: "DeletionResponse",
1813
+ createShippingMethod: "ShippingMethod",
1814
+ updateShippingMethod: "ShippingMethod",
1815
+ deleteShippingMethod: "DeletionResponse",
1816
+ deleteShippingMethods: "DeletionResponse",
1817
+ assignShippingMethodsToChannel: "ShippingMethod",
1818
+ removeShippingMethodsFromChannel: "ShippingMethod",
1819
+ createStockLocation: "StockLocation",
1820
+ updateStockLocation: "StockLocation",
1821
+ deleteStockLocation: "DeletionResponse",
1822
+ deleteStockLocations: "DeletionResponse",
1823
+ assignStockLocationsToChannel: "StockLocation",
1824
+ removeStockLocationsFromChannel: "StockLocation",
1825
+ createTag: "Tag",
1826
+ updateTag: "Tag",
1827
+ deleteTag: "DeletionResponse",
1828
+ createTaxCategory: "TaxCategory",
1829
+ updateTaxCategory: "TaxCategory",
1830
+ deleteTaxCategory: "DeletionResponse",
1831
+ deleteTaxCategories: "DeletionResponse",
1832
+ createTaxRate: "TaxRate",
1833
+ updateTaxRate: "TaxRate",
1834
+ deleteTaxRate: "DeletionResponse",
1835
+ deleteTaxRates: "DeletionResponse",
1836
+ createZone: "Zone",
1837
+ updateZone: "Zone",
1838
+ deleteZone: "DeletionResponse",
1839
+ deleteZones: "DeletionResponse",
1840
+ addMembersToZone: "Zone",
1841
+ removeMembersFromZone: "Zone",
1842
+ copyOrder: "CopyOrderResult"
1843
+ },
1844
+ Administrator: {
1845
+ id: "ID",
1846
+ createdAt: "DateTime",
1847
+ updatedAt: "DateTime",
1848
+ firstName: "String",
1849
+ lastName: "String",
1850
+ emailAddress: "String",
1851
+ user: "User",
1852
+ customFields: "JSON"
1853
+ },
1854
+ AdministratorList: {
1855
+ items: "Administrator",
1856
+ totalItems: "Int"
1857
+ },
1858
+ MimeTypeError: {
1859
+ errorCode: "ErrorCode",
1860
+ message: "String",
1861
+ fileName: "String",
1862
+ mimeType: "String"
1863
+ },
1864
+ CreateAssetResult: {
1865
+ "...on Asset": "Asset",
1866
+ "...on MimeTypeError": "MimeTypeError"
1867
+ },
1868
+ NativeAuthenticationResult: {
1869
+ "...on CurrentUser": "CurrentUser",
1870
+ "...on InvalidCredentialsError": "InvalidCredentialsError",
1871
+ "...on NativeAuthStrategyError": "NativeAuthStrategyError"
1872
+ },
1873
+ AuthenticationResult: {
1874
+ "...on CurrentUser": "CurrentUser",
1875
+ "...on InvalidCredentialsError": "InvalidCredentialsError"
1876
+ },
1877
+ ChannelList: {
1878
+ items: "Channel",
1879
+ totalItems: "Int"
1880
+ },
1881
+ LanguageNotAvailableError: {
1882
+ errorCode: "ErrorCode",
1883
+ message: "String",
1884
+ languageCode: "String"
1885
+ },
1886
+ CreateChannelResult: {
1887
+ "...on Channel": "Channel",
1888
+ "...on LanguageNotAvailableError": "LanguageNotAvailableError"
1889
+ },
1890
+ UpdateChannelResult: {
1891
+ "...on Channel": "Channel",
1892
+ "...on LanguageNotAvailableError": "LanguageNotAvailableError"
1893
+ },
1894
+ Collection: {
1895
+ isPrivate: "Boolean",
1896
+ inheritFilters: "Boolean",
1897
+ id: "ID",
1898
+ createdAt: "DateTime",
1899
+ updatedAt: "DateTime",
1900
+ languageCode: "LanguageCode",
1901
+ name: "String",
1902
+ slug: "String",
1903
+ breadcrumbs: "CollectionBreadcrumb",
1904
+ position: "Int",
1905
+ description: "String",
1906
+ featuredAsset: "Asset",
1907
+ assets: "Asset",
1908
+ parent: "Collection",
1909
+ parentId: "ID",
1910
+ children: "Collection",
1911
+ filters: "ConfigurableOperation",
1912
+ translations: "CollectionTranslation",
1913
+ productVariants: "ProductVariantList",
1914
+ customFields: "JSON"
1915
+ },
1916
+ Customer: {
1917
+ groups: "CustomerGroup",
1918
+ history: "HistoryEntryList",
1919
+ id: "ID",
1920
+ createdAt: "DateTime",
1921
+ updatedAt: "DateTime",
1922
+ title: "String",
1923
+ firstName: "String",
1924
+ lastName: "String",
1925
+ phoneNumber: "String",
1926
+ emailAddress: "String",
1927
+ addresses: "Address",
1928
+ orders: "OrderList",
1929
+ user: "User",
1930
+ customFields: "JSON"
1931
+ },
1932
+ CustomerGroupList: {
1933
+ items: "CustomerGroup",
1934
+ totalItems: "Int"
1935
+ },
1936
+ CreateCustomerResult: {
1937
+ "...on Customer": "Customer",
1938
+ "...on EmailAddressConflictError": "EmailAddressConflictError"
1939
+ },
1940
+ UpdateCustomerResult: {
1941
+ "...on Customer": "Customer",
1942
+ "...on EmailAddressConflictError": "EmailAddressConflictError"
1943
+ },
1944
+ EntityDuplicatorDefinition: {
1945
+ code: "String",
1946
+ args: "ConfigArgDefinition",
1947
+ description: "String",
1948
+ forEntities: "String",
1949
+ requiresPermission: "Permission"
1950
+ },
1951
+ DuplicateEntitySuccess: {
1952
+ newEntityId: "ID"
1953
+ },
1954
+ DuplicateEntityError: {
1955
+ errorCode: "ErrorCode",
1956
+ message: "String",
1957
+ duplicationError: "String"
1958
+ },
1959
+ DuplicateEntityResult: {
1960
+ "...on DuplicateEntitySuccess": "DuplicateEntitySuccess",
1961
+ "...on DuplicateEntityError": "DuplicateEntityError"
1962
+ },
1963
+ Facet: {
1964
+ isPrivate: "Boolean",
1965
+ id: "ID",
1966
+ createdAt: "DateTime",
1967
+ updatedAt: "DateTime",
1968
+ languageCode: "LanguageCode",
1969
+ name: "String",
1970
+ code: "String",
1971
+ values: "FacetValue",
1972
+ valueList: "FacetValueList",
1973
+ translations: "FacetTranslation",
1974
+ customFields: "JSON"
1975
+ },
1976
+ FacetInUseError: {
1977
+ errorCode: "ErrorCode",
1978
+ message: "String",
1979
+ facetCode: "String",
1980
+ productCount: "Int",
1981
+ variantCount: "Int"
1982
+ },
1983
+ RemoveFacetFromChannelResult: {
1984
+ "...on Facet": "Facet",
1985
+ "...on FacetInUseError": "FacetInUseError"
1986
+ },
1987
+ ChannelDefaultLanguageError: {
1988
+ errorCode: "ErrorCode",
1989
+ message: "String",
1990
+ language: "String",
1991
+ channelCode: "String"
1992
+ },
1993
+ UpdateGlobalSettingsResult: {
1994
+ "...on GlobalSettings": "GlobalSettings",
1995
+ "...on ChannelDefaultLanguageError": "ChannelDefaultLanguageError"
1996
+ },
1997
+ GlobalSettings: {
1998
+ id: "ID",
1999
+ createdAt: "DateTime",
2000
+ updatedAt: "DateTime",
2001
+ availableLanguages: "LanguageCode",
2002
+ trackInventory: "Boolean",
2003
+ outOfStockThreshold: "Int",
2004
+ serverConfig: "ServerConfig",
2005
+ customFields: "JSON"
2006
+ },
2007
+ OrderProcessState: {
2008
+ name: "String",
2009
+ to: "String"
2010
+ },
2011
+ PermissionDefinition: {
2012
+ name: "String",
2013
+ description: "String",
2014
+ assignable: "Boolean"
2015
+ },
2016
+ ServerConfig: {
2017
+ orderProcess: "OrderProcessState",
2018
+ permittedAssetTypes: "String",
2019
+ permissions: "PermissionDefinition",
2020
+ moneyStrategyPrecision: "Int",
2021
+ customFieldConfig: "CustomFields",
2022
+ entityCustomFields: "EntityCustomFields"
2023
+ },
2024
+ HistoryEntry: {
2025
+ isPublic: "Boolean",
2026
+ administrator: "Administrator",
2027
+ id: "ID",
2028
+ createdAt: "DateTime",
2029
+ updatedAt: "DateTime",
2030
+ type: "HistoryEntryType",
2031
+ data: "JSON"
2032
+ },
2033
+ ImportInfo: {
2034
+ errors: "String",
2035
+ processed: "Int",
2036
+ imported: "Int"
2037
+ },
2038
+ JobBufferSize: {
2039
+ bufferId: "String",
2040
+ size: "Int"
2041
+ },
2042
+ JobList: {
2043
+ items: "Job",
2044
+ totalItems: "Int"
2045
+ },
2046
+ Job: {
2047
+ id: "ID",
2048
+ createdAt: "DateTime",
2049
+ startedAt: "DateTime",
2050
+ settledAt: "DateTime",
2051
+ queueName: "String",
2052
+ state: "JobState",
2053
+ progress: "Float",
2054
+ data: "JSON",
2055
+ result: "JSON",
2056
+ error: "JSON",
2057
+ isSettled: "Boolean",
2058
+ duration: "Int",
2059
+ retries: "Int",
2060
+ attempts: "Int"
2061
+ },
2062
+ JobQueue: {
2063
+ name: "String",
2064
+ running: "Boolean"
2065
+ },
2066
+ Order: {
2067
+ nextStates: "String",
2068
+ modifications: "OrderModification",
2069
+ sellerOrders: "Order",
2070
+ aggregateOrder: "Order",
2071
+ aggregateOrderId: "ID",
2072
+ channels: "Channel",
2073
+ id: "ID",
2074
+ createdAt: "DateTime",
2075
+ updatedAt: "DateTime",
2076
+ type: "OrderType",
2077
+ orderPlacedAt: "DateTime",
2078
+ code: "String",
2079
+ state: "String",
2080
+ active: "Boolean",
2081
+ customer: "Customer",
2082
+ shippingAddress: "OrderAddress",
2083
+ billingAddress: "OrderAddress",
2084
+ lines: "OrderLine",
2085
+ surcharges: "Surcharge",
2086
+ discounts: "Discount",
2087
+ couponCodes: "String",
2088
+ promotions: "Promotion",
2089
+ payments: "Payment",
2090
+ fulfillments: "Fulfillment",
2091
+ totalQuantity: "Int",
2092
+ subTotal: "Money",
2093
+ subTotalWithTax: "Money",
2094
+ currencyCode: "CurrencyCode",
2095
+ shippingLines: "ShippingLine",
2096
+ shipping: "Money",
2097
+ shippingWithTax: "Money",
2098
+ total: "Money",
2099
+ totalWithTax: "Money",
2100
+ taxSummary: "OrderTaxSummary",
2101
+ history: "HistoryEntryList",
2102
+ customFields: "JSON"
2103
+ },
2104
+ Fulfillment: {
2105
+ nextStates: "String",
2106
+ id: "ID",
2107
+ createdAt: "DateTime",
2108
+ updatedAt: "DateTime",
2109
+ lines: "FulfillmentLine",
2110
+ summary: "FulfillmentLine",
2111
+ state: "String",
2112
+ method: "String",
2113
+ trackingCode: "String",
2114
+ customFields: "JSON"
2115
+ },
2116
+ Payment: {
2117
+ nextStates: "String",
2118
+ id: "ID",
2119
+ createdAt: "DateTime",
2120
+ updatedAt: "DateTime",
2121
+ method: "String",
2122
+ amount: "Money",
2123
+ state: "String",
2124
+ transactionId: "String",
2125
+ errorMessage: "String",
2126
+ refunds: "Refund",
2127
+ metadata: "JSON"
2128
+ },
2129
+ OrderModificationLine: {
2130
+ orderLine: "OrderLine",
2131
+ orderLineId: "ID",
2132
+ quantity: "Int",
2133
+ modification: "OrderModification",
2134
+ modificationId: "ID"
2135
+ },
2136
+ OrderModification: {
2137
+ id: "ID",
2138
+ createdAt: "DateTime",
2139
+ updatedAt: "DateTime",
2140
+ priceChange: "Money",
2141
+ note: "String",
2142
+ lines: "OrderModificationLine",
2143
+ surcharges: "Surcharge",
2144
+ payment: "Payment",
2145
+ refund: "Refund",
2146
+ isSettled: "Boolean"
2147
+ },
2148
+ SettlePaymentError: {
2149
+ errorCode: "ErrorCode",
2150
+ message: "String",
2151
+ paymentErrorMessage: "String"
2152
+ },
2153
+ CancelPaymentError: {
2154
+ errorCode: "ErrorCode",
2155
+ message: "String",
2156
+ paymentErrorMessage: "String"
2157
+ },
2158
+ EmptyOrderLineSelectionError: {
2159
+ errorCode: "ErrorCode",
2160
+ message: "String"
2161
+ },
2162
+ ItemsAlreadyFulfilledError: {
2163
+ errorCode: "ErrorCode",
2164
+ message: "String"
2165
+ },
2166
+ InvalidFulfillmentHandlerError: {
2167
+ errorCode: "ErrorCode",
2168
+ message: "String"
2169
+ },
2170
+ CreateFulfillmentError: {
2171
+ errorCode: "ErrorCode",
2172
+ message: "String",
2173
+ fulfillmentHandlerError: "String"
2174
+ },
2175
+ InsufficientStockOnHandError: {
2176
+ errorCode: "ErrorCode",
2177
+ message: "String",
2178
+ productVariantId: "ID",
2179
+ productVariantName: "String",
2180
+ stockOnHand: "Int"
2181
+ },
2182
+ MultipleOrderError: {
2183
+ errorCode: "ErrorCode",
2184
+ message: "String"
2185
+ },
2186
+ CancelActiveOrderError: {
2187
+ errorCode: "ErrorCode",
2188
+ message: "String",
2189
+ orderState: "String"
2190
+ },
2191
+ PaymentOrderMismatchError: {
2192
+ errorCode: "ErrorCode",
2193
+ message: "String"
2194
+ },
2195
+ RefundOrderStateError: {
2196
+ errorCode: "ErrorCode",
2197
+ message: "String",
2198
+ orderState: "String"
2199
+ },
2200
+ NothingToRefundError: {
2201
+ errorCode: "ErrorCode",
2202
+ message: "String"
2203
+ },
2204
+ AlreadyRefundedError: {
2205
+ errorCode: "ErrorCode",
2206
+ message: "String",
2207
+ refundId: "ID"
2208
+ },
2209
+ QuantityTooGreatError: {
2210
+ errorCode: "ErrorCode",
2211
+ message: "String"
2212
+ },
2213
+ RefundAmountError: {
2214
+ errorCode: "ErrorCode",
2215
+ message: "String",
2216
+ maximumRefundable: "Int"
2217
+ },
2218
+ RefundStateTransitionError: {
2219
+ errorCode: "ErrorCode",
2220
+ message: "String",
2221
+ transitionError: "String",
2222
+ fromState: "String",
2223
+ toState: "String"
2224
+ },
2225
+ PaymentStateTransitionError: {
2226
+ errorCode: "ErrorCode",
2227
+ message: "String",
2228
+ transitionError: "String",
2229
+ fromState: "String",
2230
+ toState: "String"
2231
+ },
2232
+ FulfillmentStateTransitionError: {
2233
+ errorCode: "ErrorCode",
2234
+ message: "String",
2235
+ transitionError: "String",
2236
+ fromState: "String",
2237
+ toState: "String"
2238
+ },
2239
+ OrderModificationStateError: {
2240
+ errorCode: "ErrorCode",
2241
+ message: "String"
2242
+ },
2243
+ NoChangesSpecifiedError: {
2244
+ errorCode: "ErrorCode",
2245
+ message: "String"
2246
+ },
2247
+ PaymentMethodMissingError: {
2248
+ errorCode: "ErrorCode",
2249
+ message: "String"
2250
+ },
2251
+ RefundPaymentIdMissingError: {
2252
+ errorCode: "ErrorCode",
2253
+ message: "String"
2254
+ },
2255
+ ManualPaymentStateError: {
2256
+ errorCode: "ErrorCode",
2257
+ message: "String"
2258
+ },
2259
+ TransitionOrderToStateResult: {
2260
+ "...on Order": "Order",
2261
+ "...on OrderStateTransitionError": "OrderStateTransitionError"
2262
+ },
2263
+ SettlePaymentResult: {
2264
+ "...on Payment": "Payment",
2265
+ "...on SettlePaymentError": "SettlePaymentError",
2266
+ "...on PaymentStateTransitionError": "PaymentStateTransitionError",
2267
+ "...on OrderStateTransitionError": "OrderStateTransitionError"
2268
+ },
2269
+ CancelPaymentResult: {
2270
+ "...on Payment": "Payment",
2271
+ "...on CancelPaymentError": "CancelPaymentError",
2272
+ "...on PaymentStateTransitionError": "PaymentStateTransitionError"
2273
+ },
2274
+ AddFulfillmentToOrderResult: {
2275
+ "...on Fulfillment": "Fulfillment",
2276
+ "...on EmptyOrderLineSelectionError": "EmptyOrderLineSelectionError",
2277
+ "...on ItemsAlreadyFulfilledError": "ItemsAlreadyFulfilledError",
2278
+ "...on InsufficientStockOnHandError": "InsufficientStockOnHandError",
2279
+ "...on InvalidFulfillmentHandlerError": "InvalidFulfillmentHandlerError",
2280
+ "...on FulfillmentStateTransitionError": "FulfillmentStateTransitionError",
2281
+ "...on CreateFulfillmentError": "CreateFulfillmentError"
2282
+ },
2283
+ CancelOrderResult: {
2284
+ "...on Order": "Order",
2285
+ "...on EmptyOrderLineSelectionError": "EmptyOrderLineSelectionError",
2286
+ "...on QuantityTooGreatError": "QuantityTooGreatError",
2287
+ "...on MultipleOrderError": "MultipleOrderError",
2288
+ "...on CancelActiveOrderError": "CancelActiveOrderError",
2289
+ "...on OrderStateTransitionError": "OrderStateTransitionError"
2290
+ },
2291
+ RefundOrderResult: {
2292
+ "...on Refund": "Refund",
2293
+ "...on QuantityTooGreatError": "QuantityTooGreatError",
2294
+ "...on NothingToRefundError": "NothingToRefundError",
2295
+ "...on OrderStateTransitionError": "OrderStateTransitionError",
2296
+ "...on MultipleOrderError": "MultipleOrderError",
2297
+ "...on PaymentOrderMismatchError": "PaymentOrderMismatchError",
2298
+ "...on RefundOrderStateError": "RefundOrderStateError",
2299
+ "...on AlreadyRefundedError": "AlreadyRefundedError",
2300
+ "...on RefundStateTransitionError": "RefundStateTransitionError",
2301
+ "...on RefundAmountError": "RefundAmountError"
2302
+ },
2303
+ SettleRefundResult: {
2304
+ "...on Refund": "Refund",
2305
+ "...on RefundStateTransitionError": "RefundStateTransitionError"
2306
+ },
2307
+ TransitionFulfillmentToStateResult: {
2308
+ "...on Fulfillment": "Fulfillment",
2309
+ "...on FulfillmentStateTransitionError": "FulfillmentStateTransitionError"
2310
+ },
2311
+ TransitionPaymentToStateResult: {
2312
+ "...on Payment": "Payment",
2313
+ "...on PaymentStateTransitionError": "PaymentStateTransitionError"
2314
+ },
2315
+ ModifyOrderResult: {
2316
+ "...on Order": "Order",
2317
+ "...on NoChangesSpecifiedError": "NoChangesSpecifiedError",
2318
+ "...on OrderModificationStateError": "OrderModificationStateError",
2319
+ "...on PaymentMethodMissingError": "PaymentMethodMissingError",
2320
+ "...on RefundPaymentIdMissingError": "RefundPaymentIdMissingError",
2321
+ "...on OrderLimitError": "OrderLimitError",
2322
+ "...on NegativeQuantityError": "NegativeQuantityError",
2323
+ "...on InsufficientStockError": "InsufficientStockError",
2324
+ "...on CouponCodeExpiredError": "CouponCodeExpiredError",
2325
+ "...on CouponCodeInvalidError": "CouponCodeInvalidError",
2326
+ "...on CouponCodeLimitError": "CouponCodeLimitError",
2327
+ "...on IneligibleShippingMethodError": "IneligibleShippingMethodError"
2328
+ },
2329
+ AddManualPaymentToOrderResult: {
2330
+ "...on Order": "Order",
2331
+ "...on ManualPaymentStateError": "ManualPaymentStateError"
2332
+ },
2333
+ SetCustomerForDraftOrderResult: {
2334
+ "...on Order": "Order",
2335
+ "...on EmailAddressConflictError": "EmailAddressConflictError"
2336
+ },
2337
+ PaymentMethodList: {
2338
+ items: "PaymentMethod",
2339
+ totalItems: "Int"
2340
+ },
2341
+ Product: {
2342
+ channels: "Channel",
2343
+ id: "ID",
2344
+ createdAt: "DateTime",
2345
+ updatedAt: "DateTime",
2346
+ languageCode: "LanguageCode",
2347
+ name: "String",
2348
+ slug: "String",
2349
+ description: "String",
2350
+ enabled: "Boolean",
2351
+ featuredAsset: "Asset",
2352
+ assets: "Asset",
2353
+ variants: "ProductVariant",
2354
+ variantList: "ProductVariantList",
2355
+ optionGroups: "ProductOptionGroup",
2356
+ facetValues: "FacetValue",
2357
+ translations: "ProductTranslation",
2358
+ collections: "Collection",
2359
+ customFields: "JSON"
2360
+ },
2361
+ ProductVariantPrice: {
2362
+ currencyCode: "CurrencyCode",
2363
+ price: "Money",
2364
+ customFields: "JSON"
2365
+ },
2366
+ ProductVariant: {
2367
+ enabled: "Boolean",
2368
+ trackInventory: "GlobalFlag",
2369
+ stockOnHand: "Int",
2370
+ stockAllocated: "Int",
2371
+ outOfStockThreshold: "Int",
2372
+ useGlobalOutOfStockThreshold: "Boolean",
2373
+ prices: "ProductVariantPrice",
2374
+ stockLevels: "StockLevel",
2375
+ stockMovements: "StockMovementList",
2376
+ channels: "Channel",
2377
+ id: "ID",
2378
+ product: "Product",
2379
+ productId: "ID",
2380
+ createdAt: "DateTime",
2381
+ updatedAt: "DateTime",
2382
+ languageCode: "LanguageCode",
2383
+ sku: "String",
2384
+ name: "String",
2385
+ featuredAsset: "Asset",
2386
+ assets: "Asset",
2387
+ price: "Money",
2388
+ currencyCode: "CurrencyCode",
2389
+ priceWithTax: "Money",
2390
+ stockLevel: "String",
2391
+ taxRateApplied: "TaxRate",
2392
+ taxCategory: "TaxCategory",
2393
+ options: "ProductOption",
2394
+ facetValues: "FacetValue",
2395
+ translations: "ProductVariantTranslation",
2396
+ customFields: "JSON"
2397
+ },
2398
+ SearchResult: {
2399
+ enabled: "Boolean",
2400
+ channelIds: "ID",
2401
+ sku: "String",
2402
+ slug: "String",
2403
+ productId: "ID",
2404
+ productName: "String",
2405
+ productAsset: "SearchResultAsset",
2406
+ productVariantId: "ID",
2407
+ productVariantName: "String",
2408
+ productVariantAsset: "SearchResultAsset",
2409
+ price: "SearchResultPrice",
2410
+ priceWithTax: "SearchResultPrice",
2411
+ currencyCode: "CurrencyCode",
2412
+ description: "String",
2413
+ facetIds: "ID",
2414
+ facetValueIds: "ID",
2415
+ collectionIds: "ID",
2416
+ score: "Float"
2417
+ },
2418
+ ProductOptionInUseError: {
2419
+ errorCode: "ErrorCode",
2420
+ message: "String",
2421
+ optionGroupCode: "String",
2422
+ productVariantCount: "Int"
2423
+ },
2424
+ RemoveOptionGroupFromProductResult: {
2425
+ "...on Product": "Product",
2426
+ "...on ProductOptionInUseError": "ProductOptionInUseError"
2427
+ },
2428
+ MissingConditionsError: {
2429
+ errorCode: "ErrorCode",
2430
+ message: "String"
2431
+ },
2432
+ CreatePromotionResult: {
2433
+ "...on Promotion": "Promotion",
2434
+ "...on MissingConditionsError": "MissingConditionsError"
2435
+ },
2436
+ UpdatePromotionResult: {
2437
+ "...on Promotion": "Promotion",
2438
+ "...on MissingConditionsError": "MissingConditionsError"
2439
+ },
2440
+ SellerList: {
2441
+ items: "Seller",
2442
+ totalItems: "Int"
2443
+ },
2444
+ TestShippingMethodResult: {
2445
+ eligible: "Boolean",
2446
+ quote: "TestShippingMethodQuote"
2447
+ },
2448
+ TestShippingMethodQuote: {
2449
+ price: "Money",
2450
+ priceWithTax: "Money",
2451
+ metadata: "JSON"
2452
+ },
2453
+ StockLevel: {
2454
+ id: "ID",
2455
+ createdAt: "DateTime",
2456
+ updatedAt: "DateTime",
2457
+ stockLocationId: "ID",
2458
+ stockOnHand: "Int",
2459
+ stockAllocated: "Int",
2460
+ stockLocation: "StockLocation"
2461
+ },
2462
+ StockLocationList: {
2463
+ items: "StockLocation",
2464
+ totalItems: "Int"
2465
+ },
2466
+ StockLocation: {
2467
+ id: "ID",
2468
+ createdAt: "DateTime",
2469
+ updatedAt: "DateTime",
2470
+ name: "String",
2471
+ description: "String",
2472
+ customFields: "JSON"
2473
+ },
2474
+ StockMovement: {
2475
+ "...on StockAdjustment": "StockAdjustment",
2476
+ "...on Allocation": "Allocation",
2477
+ "...on Sale": "Sale",
2478
+ "...on Cancellation": "Cancellation",
2479
+ "...on Return": "Return",
2480
+ "...on Release": "Release",
2481
+ id: "ID",
2482
+ createdAt: "DateTime",
2483
+ updatedAt: "DateTime",
2484
+ productVariant: "ProductVariant",
2485
+ type: "StockMovementType",
2486
+ quantity: "Int"
2487
+ },
2488
+ StockAdjustment: {
2489
+ id: "ID",
2490
+ createdAt: "DateTime",
2491
+ updatedAt: "DateTime",
2492
+ productVariant: "ProductVariant",
2493
+ type: "StockMovementType",
2494
+ quantity: "Int"
2495
+ },
2496
+ Allocation: {
2497
+ id: "ID",
2498
+ createdAt: "DateTime",
2499
+ updatedAt: "DateTime",
2500
+ productVariant: "ProductVariant",
2501
+ type: "StockMovementType",
2502
+ quantity: "Int",
2503
+ orderLine: "OrderLine"
2504
+ },
2505
+ Sale: {
2506
+ id: "ID",
2507
+ createdAt: "DateTime",
2508
+ updatedAt: "DateTime",
2509
+ productVariant: "ProductVariant",
2510
+ type: "StockMovementType",
2511
+ quantity: "Int"
2512
+ },
2513
+ Cancellation: {
2514
+ id: "ID",
2515
+ createdAt: "DateTime",
2516
+ updatedAt: "DateTime",
2517
+ productVariant: "ProductVariant",
2518
+ type: "StockMovementType",
2519
+ quantity: "Int",
2520
+ orderLine: "OrderLine"
2521
+ },
2522
+ Return: {
2523
+ id: "ID",
2524
+ createdAt: "DateTime",
2525
+ updatedAt: "DateTime",
2526
+ productVariant: "ProductVariant",
2527
+ type: "StockMovementType",
2528
+ quantity: "Int"
2529
+ },
2530
+ Release: {
2531
+ id: "ID",
2532
+ createdAt: "DateTime",
2533
+ updatedAt: "DateTime",
2534
+ productVariant: "ProductVariant",
2535
+ type: "StockMovementType",
2536
+ quantity: "Int"
2537
+ },
2538
+ StockMovementItem: {
2539
+ "...on StockAdjustment": "StockAdjustment",
2540
+ "...on Allocation": "Allocation",
2541
+ "...on Sale": "Sale",
2542
+ "...on Cancellation": "Cancellation",
2543
+ "...on Return": "Return",
2544
+ "...on Release": "Release"
2545
+ },
2546
+ StockMovementList: {
2547
+ items: "StockMovementItem",
2548
+ totalItems: "Int"
2549
+ },
2550
+ TaxCategoryList: {
2551
+ items: "TaxCategory",
2552
+ totalItems: "Int"
2553
+ },
2554
+ ZoneList: {
2555
+ items: "Zone",
2556
+ totalItems: "Int"
2557
+ },
2558
+ Address: {
2559
+ id: "ID",
2560
+ createdAt: "DateTime",
2561
+ updatedAt: "DateTime",
2562
+ fullName: "String",
2563
+ company: "String",
2564
+ streetLine1: "String",
2565
+ streetLine2: "String",
2566
+ city: "String",
2567
+ province: "String",
2568
+ postalCode: "String",
2569
+ country: "Country",
2570
+ phoneNumber: "String",
2571
+ defaultShippingAddress: "Boolean",
2572
+ defaultBillingAddress: "Boolean",
2573
+ customFields: "JSON"
2574
+ },
2575
+ Asset: {
2576
+ id: "ID",
2577
+ createdAt: "DateTime",
2578
+ updatedAt: "DateTime",
2579
+ name: "String",
2580
+ type: "AssetType",
2581
+ fileSize: "Int",
2582
+ mimeType: "String",
2583
+ width: "Int",
2584
+ height: "Int",
2585
+ source: "String",
2586
+ preview: "String",
2587
+ focalPoint: "Coordinate",
2588
+ tags: "Tag",
2589
+ customFields: "JSON"
2590
+ },
2591
+ Coordinate: {
2592
+ x: "Float",
2593
+ y: "Float"
2594
+ },
2595
+ AssetList: {
2596
+ items: "Asset",
2597
+ totalItems: "Int"
2598
+ },
2599
+ CurrentUser: {
2600
+ id: "ID",
2601
+ identifier: "String",
2602
+ channels: "CurrentUserChannel"
2603
+ },
2604
+ CurrentUserChannel: {
2605
+ id: "ID",
2606
+ token: "String",
2607
+ code: "String",
2608
+ permissions: "Permission"
2609
+ },
2610
+ Channel: {
2611
+ id: "ID",
2612
+ createdAt: "DateTime",
2613
+ updatedAt: "DateTime",
2614
+ code: "String",
2615
+ token: "String",
2616
+ defaultTaxZone: "Zone",
2617
+ defaultShippingZone: "Zone",
2618
+ defaultLanguageCode: "LanguageCode",
2619
+ availableLanguageCodes: "LanguageCode",
2620
+ currencyCode: "CurrencyCode",
2621
+ defaultCurrencyCode: "CurrencyCode",
2622
+ availableCurrencyCodes: "CurrencyCode",
2623
+ trackInventory: "Boolean",
2624
+ outOfStockThreshold: "Int",
2625
+ pricesIncludeTax: "Boolean",
2626
+ seller: "Seller",
2627
+ customFields: "JSON"
2628
+ },
2629
+ CollectionBreadcrumb: {
2630
+ id: "ID",
2631
+ name: "String",
2632
+ slug: "String"
2633
+ },
2634
+ CollectionTranslation: {
2635
+ id: "ID",
2636
+ createdAt: "DateTime",
2637
+ updatedAt: "DateTime",
2638
+ languageCode: "LanguageCode",
2639
+ name: "String",
2640
+ slug: "String",
2641
+ description: "String"
2642
+ },
2643
+ CollectionList: {
2644
+ items: "Collection",
2645
+ totalItems: "Int"
2646
+ },
2647
+ NativeAuthStrategyError: {
2648
+ errorCode: "ErrorCode",
2649
+ message: "String"
2650
+ },
2651
+ InvalidCredentialsError: {
2652
+ errorCode: "ErrorCode",
2653
+ message: "String",
2654
+ authenticationError: "String"
2655
+ },
2656
+ OrderStateTransitionError: {
2657
+ errorCode: "ErrorCode",
2658
+ message: "String",
2659
+ transitionError: "String",
2660
+ fromState: "String",
2661
+ toState: "String"
2662
+ },
2663
+ EmailAddressConflictError: {
2664
+ errorCode: "ErrorCode",
2665
+ message: "String"
2666
+ },
2667
+ GuestCheckoutError: {
2668
+ errorCode: "ErrorCode",
2669
+ message: "String",
2670
+ errorDetail: "String"
2671
+ },
2672
+ OrderLimitError: {
2673
+ errorCode: "ErrorCode",
2674
+ message: "String",
2675
+ maxItems: "Int"
2676
+ },
2677
+ NegativeQuantityError: {
2678
+ errorCode: "ErrorCode",
2679
+ message: "String"
2680
+ },
2681
+ InsufficientStockError: {
2682
+ errorCode: "ErrorCode",
2683
+ message: "String",
2684
+ quantityAvailable: "Int",
2685
+ order: "Order"
2686
+ },
2687
+ CouponCodeInvalidError: {
2688
+ errorCode: "ErrorCode",
2689
+ message: "String",
2690
+ couponCode: "String"
2691
+ },
2692
+ CouponCodeExpiredError: {
2693
+ errorCode: "ErrorCode",
2694
+ message: "String",
2695
+ couponCode: "String"
2696
+ },
2697
+ CouponCodeLimitError: {
2698
+ errorCode: "ErrorCode",
2699
+ message: "String",
2700
+ couponCode: "String",
2701
+ limit: "Int"
2702
+ },
2703
+ OrderModificationError: {
2704
+ errorCode: "ErrorCode",
2705
+ message: "String"
2706
+ },
2707
+ IneligibleShippingMethodError: {
2708
+ errorCode: "ErrorCode",
2709
+ message: "String"
2710
+ },
2711
+ NoActiveOrderError: {
2712
+ errorCode: "ErrorCode",
2713
+ message: "String"
2714
+ },
2715
+ OrderMiddlewareError: {
2716
+ errorCode: "ErrorCode",
2717
+ message: "String",
2718
+ middlewareError: "String"
2719
+ },
2720
+ JSON: `scalar.JSON`,
2721
+ DateTime: `scalar.DateTime`,
2722
+ Upload: `scalar.Upload`,
2723
+ Money: `scalar.Money`,
2724
+ PaginatedList: {
2725
+ "...on AdministratorList": "AdministratorList",
2726
+ "...on ChannelList": "ChannelList",
2727
+ "...on CustomerGroupList": "CustomerGroupList",
2728
+ "...on JobList": "JobList",
2729
+ "...on PaymentMethodList": "PaymentMethodList",
2730
+ "...on SellerList": "SellerList",
2731
+ "...on StockLocationList": "StockLocationList",
2732
+ "...on TaxCategoryList": "TaxCategoryList",
2733
+ "...on ZoneList": "ZoneList",
2734
+ "...on AssetList": "AssetList",
2735
+ "...on CollectionList": "CollectionList",
2736
+ "...on CustomerList": "CustomerList",
2737
+ "...on FacetList": "FacetList",
2738
+ "...on FacetValueList": "FacetValueList",
2739
+ "...on HistoryEntryList": "HistoryEntryList",
2740
+ "...on OrderList": "OrderList",
2741
+ "...on ProductList": "ProductList",
2742
+ "...on ProductVariantList": "ProductVariantList",
2743
+ "...on PromotionList": "PromotionList",
2744
+ "...on CountryList": "CountryList",
2745
+ "...on ProvinceList": "ProvinceList",
2746
+ "...on RoleList": "RoleList",
2747
+ "...on ShippingMethodList": "ShippingMethodList",
2748
+ "...on TagList": "TagList",
2749
+ "...on TaxRateList": "TaxRateList",
2750
+ items: "Node",
2751
+ totalItems: "Int"
2752
+ },
2753
+ Node: {
2754
+ "...on Administrator": "Administrator",
2755
+ "...on Collection": "Collection",
2756
+ "...on Customer": "Customer",
2757
+ "...on Facet": "Facet",
2758
+ "...on HistoryEntry": "HistoryEntry",
2759
+ "...on Job": "Job",
2760
+ "...on Order": "Order",
2761
+ "...on Fulfillment": "Fulfillment",
2762
+ "...on Payment": "Payment",
2763
+ "...on OrderModification": "OrderModification",
2764
+ "...on Product": "Product",
2765
+ "...on ProductVariant": "ProductVariant",
2766
+ "...on StockLevel": "StockLevel",
2767
+ "...on StockLocation": "StockLocation",
2768
+ "...on StockAdjustment": "StockAdjustment",
2769
+ "...on Allocation": "Allocation",
2770
+ "...on Sale": "Sale",
2771
+ "...on Cancellation": "Cancellation",
2772
+ "...on Return": "Return",
2773
+ "...on Release": "Release",
2774
+ "...on Address": "Address",
2775
+ "...on Asset": "Asset",
2776
+ "...on Channel": "Channel",
2777
+ "...on CustomerGroup": "CustomerGroup",
2778
+ "...on FacetValue": "FacetValue",
2779
+ "...on OrderLine": "OrderLine",
2780
+ "...on Refund": "Refund",
2781
+ "...on Surcharge": "Surcharge",
2782
+ "...on PaymentMethod": "PaymentMethod",
2783
+ "...on ProductOptionGroup": "ProductOptionGroup",
2784
+ "...on ProductOption": "ProductOption",
2785
+ "...on Promotion": "Promotion",
2786
+ "...on Region": "Region",
2787
+ "...on Country": "Country",
2788
+ "...on Province": "Province",
2789
+ "...on Role": "Role",
2790
+ "...on Seller": "Seller",
2791
+ "...on ShippingMethod": "ShippingMethod",
2792
+ "...on Tag": "Tag",
2793
+ "...on TaxCategory": "TaxCategory",
2794
+ "...on TaxRate": "TaxRate",
2795
+ "...on User": "User",
2796
+ "...on AuthenticationMethod": "AuthenticationMethod",
2797
+ "...on Zone": "Zone",
2798
+ id: "ID"
2799
+ },
2800
+ ErrorResult: {
2801
+ "...on MimeTypeError": "MimeTypeError",
2802
+ "...on LanguageNotAvailableError": "LanguageNotAvailableError",
2803
+ "...on DuplicateEntityError": "DuplicateEntityError",
2804
+ "...on FacetInUseError": "FacetInUseError",
2805
+ "...on ChannelDefaultLanguageError": "ChannelDefaultLanguageError",
2806
+ "...on SettlePaymentError": "SettlePaymentError",
2807
+ "...on CancelPaymentError": "CancelPaymentError",
2808
+ "...on EmptyOrderLineSelectionError": "EmptyOrderLineSelectionError",
2809
+ "...on ItemsAlreadyFulfilledError": "ItemsAlreadyFulfilledError",
2810
+ "...on InvalidFulfillmentHandlerError": "InvalidFulfillmentHandlerError",
2811
+ "...on CreateFulfillmentError": "CreateFulfillmentError",
2812
+ "...on InsufficientStockOnHandError": "InsufficientStockOnHandError",
2813
+ "...on MultipleOrderError": "MultipleOrderError",
2814
+ "...on CancelActiveOrderError": "CancelActiveOrderError",
2815
+ "...on PaymentOrderMismatchError": "PaymentOrderMismatchError",
2816
+ "...on RefundOrderStateError": "RefundOrderStateError",
2817
+ "...on NothingToRefundError": "NothingToRefundError",
2818
+ "...on AlreadyRefundedError": "AlreadyRefundedError",
2819
+ "...on QuantityTooGreatError": "QuantityTooGreatError",
2820
+ "...on RefundAmountError": "RefundAmountError",
2821
+ "...on RefundStateTransitionError": "RefundStateTransitionError",
2822
+ "...on PaymentStateTransitionError": "PaymentStateTransitionError",
2823
+ "...on FulfillmentStateTransitionError": "FulfillmentStateTransitionError",
2824
+ "...on OrderModificationStateError": "OrderModificationStateError",
2825
+ "...on NoChangesSpecifiedError": "NoChangesSpecifiedError",
2826
+ "...on PaymentMethodMissingError": "PaymentMethodMissingError",
2827
+ "...on RefundPaymentIdMissingError": "RefundPaymentIdMissingError",
2828
+ "...on ManualPaymentStateError": "ManualPaymentStateError",
2829
+ "...on ProductOptionInUseError": "ProductOptionInUseError",
2830
+ "...on MissingConditionsError": "MissingConditionsError",
2831
+ "...on NativeAuthStrategyError": "NativeAuthStrategyError",
2832
+ "...on InvalidCredentialsError": "InvalidCredentialsError",
2833
+ "...on OrderStateTransitionError": "OrderStateTransitionError",
2834
+ "...on EmailAddressConflictError": "EmailAddressConflictError",
2835
+ "...on GuestCheckoutError": "GuestCheckoutError",
2836
+ "...on OrderLimitError": "OrderLimitError",
2837
+ "...on NegativeQuantityError": "NegativeQuantityError",
2838
+ "...on InsufficientStockError": "InsufficientStockError",
2839
+ "...on CouponCodeInvalidError": "CouponCodeInvalidError",
2840
+ "...on CouponCodeExpiredError": "CouponCodeExpiredError",
2841
+ "...on CouponCodeLimitError": "CouponCodeLimitError",
2842
+ "...on OrderModificationError": "OrderModificationError",
2843
+ "...on IneligibleShippingMethodError": "IneligibleShippingMethodError",
2844
+ "...on NoActiveOrderError": "NoActiveOrderError",
2845
+ "...on OrderMiddlewareError": "OrderMiddlewareError",
2846
+ errorCode: "ErrorCode",
2847
+ message: "String"
2848
+ },
2849
+ Adjustment: {
2850
+ adjustmentSource: "String",
2851
+ type: "AdjustmentType",
2852
+ description: "String",
2853
+ amount: "Money",
2854
+ data: "JSON"
2855
+ },
2856
+ TaxLine: {
2857
+ description: "String",
2858
+ taxRate: "Float"
2859
+ },
2860
+ ConfigArg: {
2861
+ name: "String",
2862
+ value: "String"
2863
+ },
2864
+ ConfigArgDefinition: {
2865
+ name: "String",
2866
+ type: "String",
2867
+ list: "Boolean",
2868
+ required: "Boolean",
2869
+ defaultValue: "JSON",
2870
+ label: "String",
2871
+ description: "String",
2872
+ ui: "JSON"
2873
+ },
2874
+ ConfigurableOperation: {
2875
+ code: "String",
2876
+ args: "ConfigArg"
2877
+ },
2878
+ ConfigurableOperationDefinition: {
2879
+ code: "String",
2880
+ args: "ConfigArgDefinition",
2881
+ description: "String"
2882
+ },
2883
+ DeletionResponse: {
2884
+ result: "DeletionResult",
2885
+ message: "String"
2886
+ },
2887
+ Success: {
2888
+ success: "Boolean"
2889
+ },
2890
+ ShippingMethodQuote: {
2891
+ id: "ID",
2892
+ price: "Money",
2893
+ priceWithTax: "Money",
2894
+ code: "String",
2895
+ name: "String",
2896
+ description: "String",
2897
+ metadata: "JSON",
2898
+ customFields: "JSON"
2899
+ },
2900
+ PaymentMethodQuote: {
2901
+ id: "ID",
2902
+ code: "String",
2903
+ name: "String",
2904
+ description: "String",
2905
+ isEligible: "Boolean",
2906
+ eligibilityMessage: "String",
2907
+ customFields: "JSON"
2908
+ },
2909
+ UpdateOrderItemsResult: {
2910
+ "...on Order": "Order",
2911
+ "...on OrderModificationError": "OrderModificationError",
2912
+ "...on OrderLimitError": "OrderLimitError",
2913
+ "...on NegativeQuantityError": "NegativeQuantityError",
2914
+ "...on InsufficientStockError": "InsufficientStockError",
2915
+ "...on OrderMiddlewareError": "OrderMiddlewareError"
2916
+ },
2917
+ RemoveOrderItemsResult: {
2918
+ "...on Order": "Order",
2919
+ "...on OrderModificationError": "OrderModificationError",
2920
+ "...on OrderMiddlewareError": "OrderMiddlewareError"
2921
+ },
2922
+ SetOrderShippingMethodResult: {
2923
+ "...on Order": "Order",
2924
+ "...on OrderModificationError": "OrderModificationError",
2925
+ "...on IneligibleShippingMethodError": "IneligibleShippingMethodError",
2926
+ "...on NoActiveOrderError": "NoActiveOrderError"
2927
+ },
2928
+ ApplyCouponCodeResult: {
2929
+ "...on Order": "Order",
2930
+ "...on CouponCodeExpiredError": "CouponCodeExpiredError",
2931
+ "...on CouponCodeInvalidError": "CouponCodeInvalidError",
2932
+ "...on CouponCodeLimitError": "CouponCodeLimitError",
2933
+ "...on OrderMiddlewareError": "OrderMiddlewareError"
2934
+ },
2935
+ CustomField: {
2936
+ "...on StringCustomFieldConfig": "StringCustomFieldConfig",
2937
+ "...on LocaleStringCustomFieldConfig": "LocaleStringCustomFieldConfig",
2938
+ "...on IntCustomFieldConfig": "IntCustomFieldConfig",
2939
+ "...on FloatCustomFieldConfig": "FloatCustomFieldConfig",
2940
+ "...on BooleanCustomFieldConfig": "BooleanCustomFieldConfig",
2941
+ "...on DateTimeCustomFieldConfig": "DateTimeCustomFieldConfig",
2942
+ "...on RelationCustomFieldConfig": "RelationCustomFieldConfig",
2943
+ "...on TextCustomFieldConfig": "TextCustomFieldConfig",
2944
+ "...on LocaleTextCustomFieldConfig": "LocaleTextCustomFieldConfig",
2945
+ name: "String",
2946
+ type: "String",
2947
+ list: "Boolean",
2948
+ label: "LocalizedString",
2949
+ description: "LocalizedString",
2950
+ readonly: "Boolean",
2951
+ internal: "Boolean",
2952
+ nullable: "Boolean",
2953
+ requiresPermission: "Permission",
2954
+ ui: "JSON"
2955
+ },
2956
+ StringCustomFieldConfig: {
2957
+ name: "String",
2958
+ type: "String",
2959
+ list: "Boolean",
2960
+ length: "Int",
2961
+ label: "LocalizedString",
2962
+ description: "LocalizedString",
2963
+ readonly: "Boolean",
2964
+ internal: "Boolean",
2965
+ nullable: "Boolean",
2966
+ requiresPermission: "Permission",
2967
+ pattern: "String",
2968
+ options: "StringFieldOption",
2969
+ ui: "JSON"
2970
+ },
2971
+ StringFieldOption: {
2972
+ value: "String",
2973
+ label: "LocalizedString"
2974
+ },
2975
+ LocaleStringCustomFieldConfig: {
2976
+ name: "String",
2977
+ type: "String",
2978
+ list: "Boolean",
2979
+ length: "Int",
2980
+ label: "LocalizedString",
2981
+ description: "LocalizedString",
2982
+ readonly: "Boolean",
2983
+ internal: "Boolean",
2984
+ nullable: "Boolean",
2985
+ requiresPermission: "Permission",
2986
+ pattern: "String",
2987
+ ui: "JSON"
2988
+ },
2989
+ IntCustomFieldConfig: {
2990
+ name: "String",
2991
+ type: "String",
2992
+ list: "Boolean",
2993
+ label: "LocalizedString",
2994
+ description: "LocalizedString",
2995
+ readonly: "Boolean",
2996
+ internal: "Boolean",
2997
+ nullable: "Boolean",
2998
+ requiresPermission: "Permission",
2999
+ min: "Int",
3000
+ max: "Int",
3001
+ step: "Int",
3002
+ ui: "JSON"
3003
+ },
3004
+ FloatCustomFieldConfig: {
3005
+ name: "String",
3006
+ type: "String",
3007
+ list: "Boolean",
3008
+ label: "LocalizedString",
3009
+ description: "LocalizedString",
3010
+ readonly: "Boolean",
3011
+ internal: "Boolean",
3012
+ nullable: "Boolean",
3013
+ requiresPermission: "Permission",
3014
+ min: "Float",
3015
+ max: "Float",
3016
+ step: "Float",
3017
+ ui: "JSON"
3018
+ },
3019
+ BooleanCustomFieldConfig: {
3020
+ name: "String",
3021
+ type: "String",
3022
+ list: "Boolean",
3023
+ label: "LocalizedString",
3024
+ description: "LocalizedString",
3025
+ readonly: "Boolean",
3026
+ internal: "Boolean",
3027
+ nullable: "Boolean",
3028
+ requiresPermission: "Permission",
3029
+ ui: "JSON"
3030
+ },
3031
+ DateTimeCustomFieldConfig: {
3032
+ name: "String",
3033
+ type: "String",
3034
+ list: "Boolean",
3035
+ label: "LocalizedString",
3036
+ description: "LocalizedString",
3037
+ readonly: "Boolean",
3038
+ internal: "Boolean",
3039
+ nullable: "Boolean",
3040
+ requiresPermission: "Permission",
3041
+ min: "String",
3042
+ max: "String",
3043
+ step: "Int",
3044
+ ui: "JSON"
3045
+ },
3046
+ RelationCustomFieldConfig: {
3047
+ name: "String",
3048
+ type: "String",
3049
+ list: "Boolean",
3050
+ label: "LocalizedString",
3051
+ description: "LocalizedString",
3052
+ readonly: "Boolean",
3053
+ internal: "Boolean",
3054
+ nullable: "Boolean",
3055
+ requiresPermission: "Permission",
3056
+ entity: "String",
3057
+ scalarFields: "String",
3058
+ ui: "JSON"
3059
+ },
3060
+ TextCustomFieldConfig: {
3061
+ name: "String",
3062
+ type: "String",
3063
+ list: "Boolean",
3064
+ label: "LocalizedString",
3065
+ description: "LocalizedString",
3066
+ readonly: "Boolean",
3067
+ internal: "Boolean",
3068
+ nullable: "Boolean",
3069
+ requiresPermission: "Permission",
3070
+ ui: "JSON"
3071
+ },
3072
+ LocaleTextCustomFieldConfig: {
3073
+ name: "String",
3074
+ type: "String",
3075
+ list: "Boolean",
3076
+ label: "LocalizedString",
3077
+ description: "LocalizedString",
3078
+ readonly: "Boolean",
3079
+ internal: "Boolean",
3080
+ nullable: "Boolean",
3081
+ requiresPermission: "Permission",
3082
+ ui: "JSON"
3083
+ },
3084
+ LocalizedString: {
3085
+ languageCode: "LanguageCode",
3086
+ value: "String"
3087
+ },
3088
+ CustomFieldConfig: {
3089
+ "...on StringCustomFieldConfig": "StringCustomFieldConfig",
3090
+ "...on LocaleStringCustomFieldConfig": "LocaleStringCustomFieldConfig",
3091
+ "...on IntCustomFieldConfig": "IntCustomFieldConfig",
3092
+ "...on FloatCustomFieldConfig": "FloatCustomFieldConfig",
3093
+ "...on BooleanCustomFieldConfig": "BooleanCustomFieldConfig",
3094
+ "...on DateTimeCustomFieldConfig": "DateTimeCustomFieldConfig",
3095
+ "...on RelationCustomFieldConfig": "RelationCustomFieldConfig",
3096
+ "...on TextCustomFieldConfig": "TextCustomFieldConfig",
3097
+ "...on LocaleTextCustomFieldConfig": "LocaleTextCustomFieldConfig"
3098
+ },
3099
+ CustomerGroup: {
3100
+ id: "ID",
3101
+ createdAt: "DateTime",
3102
+ updatedAt: "DateTime",
3103
+ name: "String",
3104
+ customers: "CustomerList",
3105
+ customFields: "JSON"
3106
+ },
3107
+ CustomerList: {
3108
+ items: "Customer",
3109
+ totalItems: "Int"
3110
+ },
3111
+ FacetValue: {
3112
+ id: "ID",
3113
+ createdAt: "DateTime",
3114
+ updatedAt: "DateTime",
3115
+ languageCode: "LanguageCode",
3116
+ facet: "Facet",
3117
+ facetId: "ID",
3118
+ name: "String",
3119
+ code: "String",
3120
+ translations: "FacetValueTranslation",
3121
+ customFields: "JSON"
3122
+ },
3123
+ FacetValueTranslation: {
3124
+ id: "ID",
3125
+ createdAt: "DateTime",
3126
+ updatedAt: "DateTime",
3127
+ languageCode: "LanguageCode",
3128
+ name: "String"
3129
+ },
3130
+ FacetTranslation: {
3131
+ id: "ID",
3132
+ createdAt: "DateTime",
3133
+ updatedAt: "DateTime",
3134
+ languageCode: "LanguageCode",
3135
+ name: "String"
3136
+ },
3137
+ FacetList: {
3138
+ items: "Facet",
3139
+ totalItems: "Int"
3140
+ },
3141
+ FacetValueList: {
3142
+ items: "FacetValue",
3143
+ totalItems: "Int"
3144
+ },
3145
+ HistoryEntryList: {
3146
+ items: "HistoryEntry",
3147
+ totalItems: "Int"
3148
+ },
3149
+ OrderTaxSummary: {
3150
+ description: "String",
3151
+ taxRate: "Float",
3152
+ taxBase: "Money",
3153
+ taxTotal: "Money"
3154
+ },
3155
+ OrderAddress: {
3156
+ fullName: "String",
3157
+ company: "String",
3158
+ streetLine1: "String",
3159
+ streetLine2: "String",
3160
+ city: "String",
3161
+ province: "String",
3162
+ postalCode: "String",
3163
+ country: "String",
3164
+ countryCode: "String",
3165
+ phoneNumber: "String",
3166
+ customFields: "JSON"
3167
+ },
3168
+ OrderList: {
3169
+ items: "Order",
3170
+ totalItems: "Int"
3171
+ },
3172
+ ShippingLine: {
3173
+ id: "ID",
3174
+ shippingMethod: "ShippingMethod",
3175
+ price: "Money",
3176
+ priceWithTax: "Money",
3177
+ discountedPrice: "Money",
3178
+ discountedPriceWithTax: "Money",
3179
+ discounts: "Discount"
3180
+ },
3181
+ Discount: {
3182
+ adjustmentSource: "String",
3183
+ type: "AdjustmentType",
3184
+ description: "String",
3185
+ amount: "Money",
3186
+ amountWithTax: "Money"
3187
+ },
3188
+ OrderLine: {
3189
+ id: "ID",
3190
+ createdAt: "DateTime",
3191
+ updatedAt: "DateTime",
3192
+ productVariant: "ProductVariant",
3193
+ featuredAsset: "Asset",
3194
+ unitPrice: "Money",
3195
+ unitPriceWithTax: "Money",
3196
+ unitPriceChangeSinceAdded: "Money",
3197
+ unitPriceWithTaxChangeSinceAdded: "Money",
3198
+ discountedUnitPrice: "Money",
3199
+ discountedUnitPriceWithTax: "Money",
3200
+ proratedUnitPrice: "Money",
3201
+ proratedUnitPriceWithTax: "Money",
3202
+ quantity: "Int",
3203
+ orderPlacedQuantity: "Int",
3204
+ taxRate: "Float",
3205
+ linePrice: "Money",
3206
+ linePriceWithTax: "Money",
3207
+ discountedLinePrice: "Money",
3208
+ discountedLinePriceWithTax: "Money",
3209
+ proratedLinePrice: "Money",
3210
+ proratedLinePriceWithTax: "Money",
3211
+ lineTax: "Money",
3212
+ discounts: "Discount",
3213
+ taxLines: "TaxLine",
3214
+ order: "Order",
3215
+ fulfillmentLines: "FulfillmentLine",
3216
+ customFields: "JSON"
3217
+ },
3218
+ RefundLine: {
3219
+ orderLine: "OrderLine",
3220
+ orderLineId: "ID",
3221
+ quantity: "Int",
3222
+ refund: "Refund",
3223
+ refundId: "ID"
3224
+ },
3225
+ Refund: {
3226
+ id: "ID",
3227
+ createdAt: "DateTime",
3228
+ updatedAt: "DateTime",
3229
+ items: "Money",
3230
+ shipping: "Money",
3231
+ adjustment: "Money",
3232
+ total: "Money",
3233
+ method: "String",
3234
+ state: "String",
3235
+ transactionId: "String",
3236
+ reason: "String",
3237
+ lines: "RefundLine",
3238
+ paymentId: "ID",
3239
+ metadata: "JSON"
3240
+ },
3241
+ FulfillmentLine: {
3242
+ orderLine: "OrderLine",
3243
+ orderLineId: "ID",
3244
+ quantity: "Int",
3245
+ fulfillment: "Fulfillment",
3246
+ fulfillmentId: "ID"
3247
+ },
3248
+ Surcharge: {
3249
+ id: "ID",
3250
+ createdAt: "DateTime",
3251
+ updatedAt: "DateTime",
3252
+ description: "String",
3253
+ sku: "String",
3254
+ taxLines: "TaxLine",
3255
+ price: "Money",
3256
+ priceWithTax: "Money",
3257
+ taxRate: "Float"
3258
+ },
3259
+ PaymentMethod: {
3260
+ id: "ID",
3261
+ createdAt: "DateTime",
3262
+ updatedAt: "DateTime",
3263
+ name: "String",
3264
+ code: "String",
3265
+ description: "String",
3266
+ enabled: "Boolean",
3267
+ checker: "ConfigurableOperation",
3268
+ handler: "ConfigurableOperation",
3269
+ translations: "PaymentMethodTranslation",
3270
+ customFields: "JSON"
3271
+ },
3272
+ PaymentMethodTranslation: {
3273
+ id: "ID",
3274
+ createdAt: "DateTime",
3275
+ updatedAt: "DateTime",
3276
+ languageCode: "LanguageCode",
3277
+ name: "String",
3278
+ description: "String"
3279
+ },
3280
+ ProductOptionGroup: {
3281
+ id: "ID",
3282
+ createdAt: "DateTime",
3283
+ updatedAt: "DateTime",
3284
+ languageCode: "LanguageCode",
3285
+ code: "String",
3286
+ name: "String",
3287
+ options: "ProductOption",
3288
+ translations: "ProductOptionGroupTranslation",
3289
+ customFields: "JSON"
3290
+ },
3291
+ ProductOptionGroupTranslation: {
3292
+ id: "ID",
3293
+ createdAt: "DateTime",
3294
+ updatedAt: "DateTime",
3295
+ languageCode: "LanguageCode",
3296
+ name: "String"
3297
+ },
3298
+ ProductOption: {
3299
+ id: "ID",
3300
+ createdAt: "DateTime",
3301
+ updatedAt: "DateTime",
3302
+ languageCode: "LanguageCode",
3303
+ code: "String",
3304
+ name: "String",
3305
+ groupId: "ID",
3306
+ group: "ProductOptionGroup",
3307
+ translations: "ProductOptionTranslation",
3308
+ customFields: "JSON"
3309
+ },
3310
+ ProductOptionTranslation: {
3311
+ id: "ID",
3312
+ createdAt: "DateTime",
3313
+ updatedAt: "DateTime",
3314
+ languageCode: "LanguageCode",
3315
+ name: "String"
3316
+ },
3317
+ SearchReindexResponse: {
3318
+ success: "Boolean"
3319
+ },
3320
+ SearchResponse: {
3321
+ items: "SearchResult",
3322
+ totalItems: "Int",
3323
+ facetValues: "FacetValueResult",
3324
+ collections: "CollectionResult"
3325
+ },
3326
+ FacetValueResult: {
3327
+ facetValue: "FacetValue",
3328
+ count: "Int"
3329
+ },
3330
+ CollectionResult: {
3331
+ collection: "Collection",
3332
+ count: "Int"
3333
+ },
3334
+ SearchResultAsset: {
3335
+ id: "ID",
3336
+ preview: "String",
3337
+ focalPoint: "Coordinate"
3338
+ },
3339
+ SearchResultPrice: {
3340
+ "...on PriceRange": "PriceRange",
3341
+ "...on SinglePrice": "SinglePrice"
3342
+ },
3343
+ SinglePrice: {
3344
+ value: "Money"
3345
+ },
3346
+ PriceRange: {
3347
+ min: "Money",
3348
+ max: "Money"
3349
+ },
3350
+ ProductTranslation: {
3351
+ id: "ID",
3352
+ createdAt: "DateTime",
3353
+ updatedAt: "DateTime",
3354
+ languageCode: "LanguageCode",
3355
+ name: "String",
3356
+ slug: "String",
3357
+ description: "String"
3358
+ },
3359
+ ProductList: {
3360
+ items: "Product",
3361
+ totalItems: "Int"
3362
+ },
3363
+ ProductVariantList: {
3364
+ items: "ProductVariant",
3365
+ totalItems: "Int"
3366
+ },
3367
+ ProductVariantTranslation: {
3368
+ id: "ID",
3369
+ createdAt: "DateTime",
3370
+ updatedAt: "DateTime",
3371
+ languageCode: "LanguageCode",
3372
+ name: "String"
3373
+ },
3374
+ Promotion: {
3375
+ id: "ID",
3376
+ createdAt: "DateTime",
3377
+ updatedAt: "DateTime",
3378
+ startsAt: "DateTime",
3379
+ endsAt: "DateTime",
3380
+ couponCode: "String",
3381
+ perCustomerUsageLimit: "Int",
3382
+ usageLimit: "Int",
3383
+ name: "String",
3384
+ description: "String",
3385
+ enabled: "Boolean",
3386
+ conditions: "ConfigurableOperation",
3387
+ actions: "ConfigurableOperation",
3388
+ translations: "PromotionTranslation",
3389
+ customFields: "JSON"
3390
+ },
3391
+ PromotionTranslation: {
3392
+ id: "ID",
3393
+ createdAt: "DateTime",
3394
+ updatedAt: "DateTime",
3395
+ languageCode: "LanguageCode",
3396
+ name: "String",
3397
+ description: "String"
3398
+ },
3399
+ PromotionList: {
3400
+ items: "Promotion",
3401
+ totalItems: "Int"
3402
+ },
3403
+ Region: {
3404
+ "...on Country": "Country",
3405
+ "...on Province": "Province",
3406
+ id: "ID",
3407
+ createdAt: "DateTime",
3408
+ updatedAt: "DateTime",
3409
+ languageCode: "LanguageCode",
3410
+ code: "String",
3411
+ type: "String",
3412
+ name: "String",
3413
+ enabled: "Boolean",
3414
+ parent: "Region",
3415
+ parentId: "ID",
3416
+ translations: "RegionTranslation"
3417
+ },
3418
+ RegionTranslation: {
3419
+ id: "ID",
3420
+ createdAt: "DateTime",
3421
+ updatedAt: "DateTime",
3422
+ languageCode: "LanguageCode",
3423
+ name: "String"
3424
+ },
3425
+ Country: {
3426
+ id: "ID",
3427
+ createdAt: "DateTime",
3428
+ updatedAt: "DateTime",
3429
+ languageCode: "LanguageCode",
3430
+ code: "String",
3431
+ type: "String",
3432
+ name: "String",
3433
+ enabled: "Boolean",
3434
+ parent: "Region",
3435
+ parentId: "ID",
3436
+ translations: "RegionTranslation",
3437
+ customFields: "JSON"
3438
+ },
3439
+ CountryList: {
3440
+ items: "Country",
3441
+ totalItems: "Int"
3442
+ },
3443
+ Province: {
3444
+ id: "ID",
3445
+ createdAt: "DateTime",
3446
+ updatedAt: "DateTime",
3447
+ languageCode: "LanguageCode",
3448
+ code: "String",
3449
+ type: "String",
3450
+ name: "String",
3451
+ enabled: "Boolean",
3452
+ parent: "Region",
3453
+ parentId: "ID",
3454
+ translations: "RegionTranslation",
3455
+ customFields: "JSON"
3456
+ },
3457
+ ProvinceList: {
3458
+ items: "Province",
3459
+ totalItems: "Int"
3460
+ },
3461
+ Role: {
3462
+ id: "ID",
3463
+ createdAt: "DateTime",
3464
+ updatedAt: "DateTime",
3465
+ code: "String",
3466
+ description: "String",
3467
+ permissions: "Permission",
3468
+ channels: "Channel"
3469
+ },
3470
+ RoleList: {
3471
+ items: "Role",
3472
+ totalItems: "Int"
3473
+ },
3474
+ Seller: {
3475
+ id: "ID",
3476
+ createdAt: "DateTime",
3477
+ updatedAt: "DateTime",
3478
+ name: "String",
3479
+ customFields: "JSON"
3480
+ },
3481
+ ShippingMethod: {
3482
+ id: "ID",
3483
+ createdAt: "DateTime",
3484
+ updatedAt: "DateTime",
3485
+ languageCode: "LanguageCode",
3486
+ code: "String",
3487
+ name: "String",
3488
+ description: "String",
3489
+ fulfillmentHandlerCode: "String",
3490
+ checker: "ConfigurableOperation",
3491
+ calculator: "ConfigurableOperation",
3492
+ translations: "ShippingMethodTranslation",
3493
+ customFields: "JSON"
3494
+ },
3495
+ ShippingMethodTranslation: {
3496
+ id: "ID",
3497
+ createdAt: "DateTime",
3498
+ updatedAt: "DateTime",
3499
+ languageCode: "LanguageCode",
3500
+ name: "String",
3501
+ description: "String"
3502
+ },
3503
+ ShippingMethodList: {
3504
+ items: "ShippingMethod",
3505
+ totalItems: "Int"
3506
+ },
3507
+ Tag: {
3508
+ id: "ID",
3509
+ createdAt: "DateTime",
3510
+ updatedAt: "DateTime",
3511
+ value: "String"
3512
+ },
3513
+ TagList: {
3514
+ items: "Tag",
3515
+ totalItems: "Int"
3516
+ },
3517
+ TaxCategory: {
3518
+ id: "ID",
3519
+ createdAt: "DateTime",
3520
+ updatedAt: "DateTime",
3521
+ name: "String",
3522
+ isDefault: "Boolean",
3523
+ customFields: "JSON"
3524
+ },
3525
+ TaxRate: {
3526
+ id: "ID",
3527
+ createdAt: "DateTime",
3528
+ updatedAt: "DateTime",
3529
+ name: "String",
3530
+ enabled: "Boolean",
3531
+ value: "Float",
3532
+ category: "TaxCategory",
3533
+ zone: "Zone",
3534
+ customerGroup: "CustomerGroup",
3535
+ customFields: "JSON"
3536
+ },
3537
+ TaxRateList: {
3538
+ items: "TaxRate",
3539
+ totalItems: "Int"
3540
+ },
3541
+ User: {
3542
+ id: "ID",
3543
+ createdAt: "DateTime",
3544
+ updatedAt: "DateTime",
3545
+ identifier: "String",
3546
+ verified: "Boolean",
3547
+ roles: "Role",
3548
+ lastLogin: "DateTime",
3549
+ authenticationMethods: "AuthenticationMethod",
3550
+ customFields: "JSON"
3551
+ },
3552
+ AuthenticationMethod: {
3553
+ id: "ID",
3554
+ createdAt: "DateTime",
3555
+ updatedAt: "DateTime",
3556
+ strategy: "String"
3557
+ },
3558
+ Zone: {
3559
+ id: "ID",
3560
+ createdAt: "DateTime",
3561
+ updatedAt: "DateTime",
3562
+ name: "String",
3563
+ members: "Region",
3564
+ customFields: "JSON"
3565
+ },
3566
+ MetricSummary: {
3567
+ interval: "MetricInterval",
3568
+ type: "MetricType",
3569
+ title: "String",
3570
+ entries: "MetricSummaryEntry"
3571
+ },
3572
+ MetricSummaryEntry: {
3573
+ label: "String",
3574
+ value: "Float"
3575
+ },
3576
+ CopyOrderErrorResponse: {
3577
+ message: "String"
3578
+ },
3579
+ CopyOrderResult: {
3580
+ "...on Order": "Order",
3581
+ "...on CopyOrderErrorResponse": "CopyOrderErrorResponse"
3582
+ },
3583
+ CustomFields: {
3584
+ Address: "CustomFieldConfig",
3585
+ Administrator: "CustomFieldConfig",
3586
+ Asset: "CustomFieldConfig",
3587
+ Channel: "CustomFieldConfig",
3588
+ Collection: "CustomFieldConfig",
3589
+ Customer: "CustomFieldConfig",
3590
+ CustomerGroup: "CustomFieldConfig",
3591
+ Facet: "CustomFieldConfig",
3592
+ FacetValue: "CustomFieldConfig",
3593
+ Fulfillment: "CustomFieldConfig",
3594
+ GlobalSettings: "CustomFieldConfig",
3595
+ Order: "CustomFieldConfig",
3596
+ OrderLine: "CustomFieldConfig",
3597
+ PaymentMethod: "CustomFieldConfig",
3598
+ Product: "CustomFieldConfig",
3599
+ ProductOption: "CustomFieldConfig",
3600
+ ProductOptionGroup: "CustomFieldConfig",
3601
+ ProductVariant: "CustomFieldConfig",
3602
+ ProductVariantPrice: "CustomFieldConfig",
3603
+ Promotion: "CustomFieldConfig",
3604
+ Region: "CustomFieldConfig",
3605
+ Seller: "CustomFieldConfig",
3606
+ ShippingMethod: "CustomFieldConfig",
3607
+ StockLocation: "CustomFieldConfig",
3608
+ TaxCategory: "CustomFieldConfig",
3609
+ TaxRate: "CustomFieldConfig",
3610
+ User: "CustomFieldConfig",
3611
+ Zone: "CustomFieldConfig"
3612
+ },
3613
+ EntityCustomFields: {
3614
+ entityName: "String",
3615
+ customFields: "CustomFieldConfig"
3616
+ }
3617
+ };
3618
+ exports.Ops = {
3619
+ query: "Query",
3620
+ mutation: "Mutation"
3621
+ };