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