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