forked from vendure-ecommerce/vendure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
generated-types.ts
4967 lines (4308 loc) · 131 KB
/
generated-types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// tslint:disable
export type Maybe<T> = T;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string | number;
String: string;
Boolean: boolean;
Int: number;
Float: number;
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
JSON: any;
/** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */
DateTime: any;
/** The `Upload` scalar type represents a file upload. */
Upload: any;
};
export type Query = {
__typename?: 'Query';
administrators: AdministratorList;
administrator?: Maybe<Administrator>;
activeAdministrator?: Maybe<Administrator>;
/** Get a list of Assets */
assets: AssetList;
/** Get a single Asset by id */
asset?: Maybe<Asset>;
me?: Maybe<CurrentUser>;
channels: Array<Channel>;
channel?: Maybe<Channel>;
activeChannel: Channel;
collections: CollectionList;
/** Get a Collection either by id or slug. If neither id nor slug is speicified, an error will result. */
collection?: Maybe<Collection>;
collectionFilters: Array<ConfigurableOperationDefinition>;
countries: CountryList;
country?: Maybe<Country>;
customerGroups: CustomerGroupList;
customerGroup?: Maybe<CustomerGroup>;
customers: CustomerList;
customer?: Maybe<Customer>;
facets: FacetList;
facet?: Maybe<Facet>;
globalSettings: GlobalSettings;
job?: Maybe<Job>;
jobs: JobList;
jobsById: Array<Job>;
jobQueues: Array<JobQueue>;
order?: Maybe<Order>;
orders: OrderList;
paymentMethods: PaymentMethodList;
paymentMethod?: Maybe<PaymentMethod>;
paymentMethodEligibilityCheckers: Array<ConfigurableOperationDefinition>;
paymentMethodHandlers: Array<ConfigurableOperationDefinition>;
productOptionGroups: Array<ProductOptionGroup>;
productOptionGroup?: Maybe<ProductOptionGroup>;
search: SearchResponse;
/** List Products */
products: ProductList;
/** Get a Product either by id or slug. If neither id nor slug is speicified, an error will result. */
product?: Maybe<Product>;
/** List ProductVariants either all or for the specific product. */
productVariants: ProductVariantList;
/** Get a ProductVariant by id */
productVariant?: Maybe<ProductVariant>;
promotion?: Maybe<Promotion>;
promotions: PromotionList;
promotionConditions: Array<ConfigurableOperationDefinition>;
promotionActions: Array<ConfigurableOperationDefinition>;
roles: RoleList;
role?: Maybe<Role>;
shippingMethods: ShippingMethodList;
shippingMethod?: Maybe<ShippingMethod>;
shippingEligibilityCheckers: Array<ConfigurableOperationDefinition>;
shippingCalculators: Array<ConfigurableOperationDefinition>;
fulfillmentHandlers: Array<ConfigurableOperationDefinition>;
testShippingMethod: TestShippingMethodResult;
testEligibleShippingMethods: Array<ShippingMethodQuote>;
tag: Tag;
tags: TagList;
taxCategories: Array<TaxCategory>;
taxCategory?: Maybe<TaxCategory>;
taxRates: TaxRateList;
taxRate?: Maybe<TaxRate>;
zones: Array<Zone>;
zone?: Maybe<Zone>;
};
export type QueryAdministratorsArgs = {
options?: Maybe<AdministratorListOptions>;
};
export type QueryAdministratorArgs = {
id: Scalars['ID'];
};
export type QueryAssetsArgs = {
options?: Maybe<AssetListOptions>;
};
export type QueryAssetArgs = {
id: Scalars['ID'];
};
export type QueryChannelArgs = {
id: Scalars['ID'];
};
export type QueryCollectionsArgs = {
options?: Maybe<CollectionListOptions>;
};
export type QueryCollectionArgs = {
id?: Maybe<Scalars['ID']>;
slug?: Maybe<Scalars['String']>;
};
export type QueryCountriesArgs = {
options?: Maybe<CountryListOptions>;
};
export type QueryCountryArgs = {
id: Scalars['ID'];
};
export type QueryCustomerGroupsArgs = {
options?: Maybe<CustomerGroupListOptions>;
};
export type QueryCustomerGroupArgs = {
id: Scalars['ID'];
};
export type QueryCustomersArgs = {
options?: Maybe<CustomerListOptions>;
};
export type QueryCustomerArgs = {
id: Scalars['ID'];
};
export type QueryFacetsArgs = {
options?: Maybe<FacetListOptions>;
};
export type QueryFacetArgs = {
id: Scalars['ID'];
};
export type QueryJobArgs = {
jobId: Scalars['ID'];
};
export type QueryJobsArgs = {
options?: Maybe<JobListOptions>;
};
export type QueryJobsByIdArgs = {
jobIds: Array<Scalars['ID']>;
};
export type QueryOrderArgs = {
id: Scalars['ID'];
};
export type QueryOrdersArgs = {
options?: Maybe<OrderListOptions>;
};
export type QueryPaymentMethodsArgs = {
options?: Maybe<PaymentMethodListOptions>;
};
export type QueryPaymentMethodArgs = {
id: Scalars['ID'];
};
export type QueryProductOptionGroupsArgs = {
filterTerm?: Maybe<Scalars['String']>;
};
export type QueryProductOptionGroupArgs = {
id: Scalars['ID'];
};
export type QuerySearchArgs = {
input: SearchInput;
};
export type QueryProductsArgs = {
options?: Maybe<ProductListOptions>;
};
export type QueryProductArgs = {
id?: Maybe<Scalars['ID']>;
slug?: Maybe<Scalars['String']>;
};
export type QueryProductVariantsArgs = {
options?: Maybe<ProductVariantListOptions>;
productId?: Maybe<Scalars['ID']>;
};
export type QueryProductVariantArgs = {
id: Scalars['ID'];
};
export type QueryPromotionArgs = {
id: Scalars['ID'];
};
export type QueryPromotionsArgs = {
options?: Maybe<PromotionListOptions>;
};
export type QueryRolesArgs = {
options?: Maybe<RoleListOptions>;
};
export type QueryRoleArgs = {
id: Scalars['ID'];
};
export type QueryShippingMethodsArgs = {
options?: Maybe<ShippingMethodListOptions>;
};
export type QueryShippingMethodArgs = {
id: Scalars['ID'];
};
export type QueryTestShippingMethodArgs = {
input: TestShippingMethodInput;
};
export type QueryTestEligibleShippingMethodsArgs = {
input: TestEligibleShippingMethodsInput;
};
export type QueryTagArgs = {
id: Scalars['ID'];
};
export type QueryTagsArgs = {
options?: Maybe<TagListOptions>;
};
export type QueryTaxCategoryArgs = {
id: Scalars['ID'];
};
export type QueryTaxRatesArgs = {
options?: Maybe<TaxRateListOptions>;
};
export type QueryTaxRateArgs = {
id: Scalars['ID'];
};
export type QueryZoneArgs = {
id: Scalars['ID'];
};
export type Mutation = {
__typename?: 'Mutation';
/** Create a new Administrator */
createAdministrator: Administrator;
/** Update an existing Administrator */
updateAdministrator: Administrator;
/** Update the active (currently logged-in) Administrator */
updateActiveAdministrator: Administrator;
/** Delete an Administrator */
deleteAdministrator: DeletionResponse;
/** Assign a Role to an Administrator */
assignRoleToAdministrator: Administrator;
/** Create a new Asset */
createAssets: Array<CreateAssetResult>;
/** Update an existing Asset */
updateAsset: Asset;
/** Delete an Asset */
deleteAsset: DeletionResponse;
/** Delete multiple Assets */
deleteAssets: DeletionResponse;
/** Assign assets to channel */
assignAssetsToChannel: Array<Asset>;
/** Authenticates the user using the native authentication strategy. This mutation is an alias for `authenticate({ native: { ... }})` */
login: NativeAuthenticationResult;
/** Authenticates the user using a named authentication strategy */
authenticate: AuthenticationResult;
logout: Success;
/** Create a new Channel */
createChannel: CreateChannelResult;
/** Update an existing Channel */
updateChannel: UpdateChannelResult;
/** Delete a Channel */
deleteChannel: DeletionResponse;
/** Create a new Collection */
createCollection: Collection;
/** Update an existing Collection */
updateCollection: Collection;
/** Delete a Collection and all of its descendants */
deleteCollection: DeletionResponse;
/** Move a Collection to a different parent or index */
moveCollection: Collection;
/** Create a new Country */
createCountry: Country;
/** Update an existing Country */
updateCountry: Country;
/** Delete a Country */
deleteCountry: DeletionResponse;
/** Create a new CustomerGroup */
createCustomerGroup: CustomerGroup;
/** Update an existing CustomerGroup */
updateCustomerGroup: CustomerGroup;
/** Delete a CustomerGroup */
deleteCustomerGroup: DeletionResponse;
/** Add Customers to a CustomerGroup */
addCustomersToGroup: CustomerGroup;
/** Remove Customers from a CustomerGroup */
removeCustomersFromGroup: CustomerGroup;
/** Create a new Customer. If a password is provided, a new User will also be created an linked to the Customer. */
createCustomer: CreateCustomerResult;
/** Update an existing Customer */
updateCustomer: UpdateCustomerResult;
/** Delete a Customer */
deleteCustomer: DeletionResponse;
/** Create a new Address and associate it with the Customer specified by customerId */
createCustomerAddress: Address;
/** Update an existing Address */
updateCustomerAddress: Address;
/** Update an existing Address */
deleteCustomerAddress: Success;
addNoteToCustomer: Customer;
updateCustomerNote: HistoryEntry;
deleteCustomerNote: DeletionResponse;
/** Create a new Facet */
createFacet: Facet;
/** Update an existing Facet */
updateFacet: Facet;
/** Delete an existing Facet */
deleteFacet: DeletionResponse;
/** Create one or more FacetValues */
createFacetValues: Array<FacetValue>;
/** Update one or more FacetValues */
updateFacetValues: Array<FacetValue>;
/** Delete one or more FacetValues */
deleteFacetValues: Array<DeletionResponse>;
updateGlobalSettings: UpdateGlobalSettingsResult;
importProducts?: Maybe<ImportInfo>;
/** Remove all settled jobs in the given queues olfer than the given date. Returns the number of jobs deleted. */
removeSettledJobs: Scalars['Int'];
cancelJob: Job;
settlePayment: SettlePaymentResult;
addFulfillmentToOrder: AddFulfillmentToOrderResult;
cancelOrder: CancelOrderResult;
refundOrder: RefundOrderResult;
settleRefund: SettleRefundResult;
addNoteToOrder: Order;
updateOrderNote: HistoryEntry;
deleteOrderNote: DeletionResponse;
transitionOrderToState?: Maybe<TransitionOrderToStateResult>;
transitionFulfillmentToState: TransitionFulfillmentToStateResult;
transitionPaymentToState: TransitionPaymentToStateResult;
setOrderCustomFields?: Maybe<Order>;
/**
* Allows an Order to be modified after it has been completed by the Customer. The Order must first
* be in the `Modifying` state.
*/
modifyOrder: ModifyOrderResult;
/**
* Used to manually create a new Payment against an Order. This is used when a completed Order
* has been modified (using `modifyOrder`) and the price has increased. The extra payment
* can then be manually arranged by the administrator, and the details used to create a new
* Payment.
*/
addManualPaymentToOrder: AddManualPaymentToOrderResult;
/** Create existing PaymentMethod */
createPaymentMethod: PaymentMethod;
/** Update an existing PaymentMethod */
updatePaymentMethod: PaymentMethod;
/** Delete a PaymentMethod */
deletePaymentMethod: DeletionResponse;
/** Create a new ProductOptionGroup */
createProductOptionGroup: ProductOptionGroup;
/** Update an existing ProductOptionGroup */
updateProductOptionGroup: ProductOptionGroup;
/** Create a new ProductOption within a ProductOptionGroup */
createProductOption: ProductOption;
/** Create a new ProductOption within a ProductOptionGroup */
updateProductOption: ProductOption;
reindex: Job;
/** Create a new Product */
createProduct: Product;
/** Update an existing Product */
updateProduct: Product;
/** Delete a Product */
deleteProduct: DeletionResponse;
/** Add an OptionGroup to a Product */
addOptionGroupToProduct: Product;
/** Remove an OptionGroup from a Product */
removeOptionGroupFromProduct: RemoveOptionGroupFromProductResult;
/** Create a set of ProductVariants based on the OptionGroups assigned to the given Product */
createProductVariants: Array<Maybe<ProductVariant>>;
/** Update existing ProductVariants */
updateProductVariants: Array<Maybe<ProductVariant>>;
/** Delete a ProductVariant */
deleteProductVariant: DeletionResponse;
/** Assigns all ProductVariants of Product to the specified Channel */
assignProductsToChannel: Array<Product>;
/** Removes all ProductVariants of Product from the specified Channel */
removeProductsFromChannel: Array<Product>;
/** Assigns ProductVariants to the specified Channel */
assignProductVariantsToChannel: Array<ProductVariant>;
/** Removes ProductVariants from the specified Channel */
removeProductVariantsFromChannel: Array<ProductVariant>;
createPromotion: CreatePromotionResult;
updatePromotion: UpdatePromotionResult;
deletePromotion: DeletionResponse;
/** Assigns Promotions to the specified Channel */
assignPromotionsToChannel: Array<Promotion>;
/** Removes Promotions from the specified Channel */
removePromotionsFromChannel: Array<Promotion>;
/** Create a new Role */
createRole: Role;
/** Update an existing Role */
updateRole: Role;
/** Delete an existing Role */
deleteRole: DeletionResponse;
/** Create a new ShippingMethod */
createShippingMethod: ShippingMethod;
/** Update an existing ShippingMethod */
updateShippingMethod: ShippingMethod;
/** Delete a ShippingMethod */
deleteShippingMethod: DeletionResponse;
/** Create a new Tag */
createTag: Tag;
/** Update an existing Tag */
updateTag: Tag;
/** Delete an existing Tag */
deleteTag: DeletionResponse;
/** Create a new TaxCategory */
createTaxCategory: TaxCategory;
/** Update an existing TaxCategory */
updateTaxCategory: TaxCategory;
/** Deletes a TaxCategory */
deleteTaxCategory: DeletionResponse;
/** Create a new TaxRate */
createTaxRate: TaxRate;
/** Update an existing TaxRate */
updateTaxRate: TaxRate;
/** Delete a TaxRate */
deleteTaxRate: DeletionResponse;
/** Create a new Zone */
createZone: Zone;
/** Update an existing Zone */
updateZone: Zone;
/** Delete a Zone */
deleteZone: DeletionResponse;
/** Add members to a Zone */
addMembersToZone: Zone;
/** Remove members from a Zone */
removeMembersFromZone: Zone;
};
export type MutationCreateAdministratorArgs = {
input: CreateAdministratorInput;
};
export type MutationUpdateAdministratorArgs = {
input: UpdateAdministratorInput;
};
export type MutationUpdateActiveAdministratorArgs = {
input: UpdateActiveAdministratorInput;
};
export type MutationDeleteAdministratorArgs = {
id: Scalars['ID'];
};
export type MutationAssignRoleToAdministratorArgs = {
administratorId: Scalars['ID'];
roleId: Scalars['ID'];
};
export type MutationCreateAssetsArgs = {
input: Array<CreateAssetInput>;
};
export type MutationUpdateAssetArgs = {
input: UpdateAssetInput;
};
export type MutationDeleteAssetArgs = {
input: DeleteAssetInput;
};
export type MutationDeleteAssetsArgs = {
input: DeleteAssetsInput;
};
export type MutationAssignAssetsToChannelArgs = {
input: AssignAssetsToChannelInput;
};
export type MutationLoginArgs = {
username: Scalars['String'];
password: Scalars['String'];
rememberMe?: Maybe<Scalars['Boolean']>;
};
export type MutationAuthenticateArgs = {
input: AuthenticationInput;
rememberMe?: Maybe<Scalars['Boolean']>;
};
export type MutationCreateChannelArgs = {
input: CreateChannelInput;
};
export type MutationUpdateChannelArgs = {
input: UpdateChannelInput;
};
export type MutationDeleteChannelArgs = {
id: Scalars['ID'];
};
export type MutationCreateCollectionArgs = {
input: CreateCollectionInput;
};
export type MutationUpdateCollectionArgs = {
input: UpdateCollectionInput;
};
export type MutationDeleteCollectionArgs = {
id: Scalars['ID'];
};
export type MutationMoveCollectionArgs = {
input: MoveCollectionInput;
};
export type MutationCreateCountryArgs = {
input: CreateCountryInput;
};
export type MutationUpdateCountryArgs = {
input: UpdateCountryInput;
};
export type MutationDeleteCountryArgs = {
id: Scalars['ID'];
};
export type MutationCreateCustomerGroupArgs = {
input: CreateCustomerGroupInput;
};
export type MutationUpdateCustomerGroupArgs = {
input: UpdateCustomerGroupInput;
};
export type MutationDeleteCustomerGroupArgs = {
id: Scalars['ID'];
};
export type MutationAddCustomersToGroupArgs = {
customerGroupId: Scalars['ID'];
customerIds: Array<Scalars['ID']>;
};
export type MutationRemoveCustomersFromGroupArgs = {
customerGroupId: Scalars['ID'];
customerIds: Array<Scalars['ID']>;
};
export type MutationCreateCustomerArgs = {
input: CreateCustomerInput;
password?: Maybe<Scalars['String']>;
};
export type MutationUpdateCustomerArgs = {
input: UpdateCustomerInput;
};
export type MutationDeleteCustomerArgs = {
id: Scalars['ID'];
};
export type MutationCreateCustomerAddressArgs = {
customerId: Scalars['ID'];
input: CreateAddressInput;
};
export type MutationUpdateCustomerAddressArgs = {
input: UpdateAddressInput;
};
export type MutationDeleteCustomerAddressArgs = {
id: Scalars['ID'];
};
export type MutationAddNoteToCustomerArgs = {
input: AddNoteToCustomerInput;
};
export type MutationUpdateCustomerNoteArgs = {
input: UpdateCustomerNoteInput;
};
export type MutationDeleteCustomerNoteArgs = {
id: Scalars['ID'];
};
export type MutationCreateFacetArgs = {
input: CreateFacetInput;
};
export type MutationUpdateFacetArgs = {
input: UpdateFacetInput;
};
export type MutationDeleteFacetArgs = {
id: Scalars['ID'];
force?: Maybe<Scalars['Boolean']>;
};
export type MutationCreateFacetValuesArgs = {
input: Array<CreateFacetValueInput>;
};
export type MutationUpdateFacetValuesArgs = {
input: Array<UpdateFacetValueInput>;
};
export type MutationDeleteFacetValuesArgs = {
ids: Array<Scalars['ID']>;
force?: Maybe<Scalars['Boolean']>;
};
export type MutationUpdateGlobalSettingsArgs = {
input: UpdateGlobalSettingsInput;
};
export type MutationImportProductsArgs = {
csvFile: Scalars['Upload'];
};
export type MutationRemoveSettledJobsArgs = {
queueNames?: Maybe<Array<Scalars['String']>>;
olderThan?: Maybe<Scalars['DateTime']>;
};
export type MutationCancelJobArgs = {
jobId: Scalars['ID'];
};
export type MutationSettlePaymentArgs = {
id: Scalars['ID'];
};
export type MutationAddFulfillmentToOrderArgs = {
input: FulfillOrderInput;
};
export type MutationCancelOrderArgs = {
input: CancelOrderInput;
};
export type MutationRefundOrderArgs = {
input: RefundOrderInput;
};
export type MutationSettleRefundArgs = {
input: SettleRefundInput;
};
export type MutationAddNoteToOrderArgs = {
input: AddNoteToOrderInput;
};
export type MutationUpdateOrderNoteArgs = {
input: UpdateOrderNoteInput;
};
export type MutationDeleteOrderNoteArgs = {
id: Scalars['ID'];
};
export type MutationTransitionOrderToStateArgs = {
id: Scalars['ID'];
state: Scalars['String'];
};
export type MutationTransitionFulfillmentToStateArgs = {
id: Scalars['ID'];
state: Scalars['String'];
};
export type MutationTransitionPaymentToStateArgs = {
id: Scalars['ID'];
state: Scalars['String'];
};
export type MutationSetOrderCustomFieldsArgs = {
input: UpdateOrderInput;
};
export type MutationModifyOrderArgs = {
input: ModifyOrderInput;
};
export type MutationAddManualPaymentToOrderArgs = {
input: ManualPaymentInput;
};
export type MutationCreatePaymentMethodArgs = {
input: CreatePaymentMethodInput;
};
export type MutationUpdatePaymentMethodArgs = {
input: UpdatePaymentMethodInput;
};
export type MutationDeletePaymentMethodArgs = {
id: Scalars['ID'];
force?: Maybe<Scalars['Boolean']>;
};
export type MutationCreateProductOptionGroupArgs = {
input: CreateProductOptionGroupInput;
};
export type MutationUpdateProductOptionGroupArgs = {
input: UpdateProductOptionGroupInput;
};
export type MutationCreateProductOptionArgs = {
input: CreateProductOptionInput;
};
export type MutationUpdateProductOptionArgs = {
input: UpdateProductOptionInput;
};
export type MutationCreateProductArgs = {
input: CreateProductInput;
};
export type MutationUpdateProductArgs = {
input: UpdateProductInput;
};
export type MutationDeleteProductArgs = {
id: Scalars['ID'];
};
export type MutationAddOptionGroupToProductArgs = {
productId: Scalars['ID'];
optionGroupId: Scalars['ID'];
};
export type MutationRemoveOptionGroupFromProductArgs = {
productId: Scalars['ID'];
optionGroupId: Scalars['ID'];
};
export type MutationCreateProductVariantsArgs = {
input: Array<CreateProductVariantInput>;
};
export type MutationUpdateProductVariantsArgs = {
input: Array<UpdateProductVariantInput>;
};
export type MutationDeleteProductVariantArgs = {
id: Scalars['ID'];
};
export type MutationAssignProductsToChannelArgs = {
input: AssignProductsToChannelInput;
};
export type MutationRemoveProductsFromChannelArgs = {
input: RemoveProductsFromChannelInput;
};
export type MutationAssignProductVariantsToChannelArgs = {
input: AssignProductVariantsToChannelInput;
};
export type MutationRemoveProductVariantsFromChannelArgs = {
input: RemoveProductVariantsFromChannelInput;
};
export type MutationCreatePromotionArgs = {
input: CreatePromotionInput;
};
export type MutationUpdatePromotionArgs = {
input: UpdatePromotionInput;
};
export type MutationDeletePromotionArgs = {
id: Scalars['ID'];
};
export type MutationAssignPromotionsToChannelArgs = {
input: AssignPromotionsToChannelInput;
};
export type MutationRemovePromotionsFromChannelArgs = {
input: RemovePromotionsFromChannelInput;
};
export type MutationCreateRoleArgs = {
input: CreateRoleInput;
};
export type MutationUpdateRoleArgs = {
input: UpdateRoleInput;
};
export type MutationDeleteRoleArgs = {
id: Scalars['ID'];
};
export type MutationCreateShippingMethodArgs = {
input: CreateShippingMethodInput;
};
export type MutationUpdateShippingMethodArgs = {
input: UpdateShippingMethodInput;
};
export type MutationDeleteShippingMethodArgs = {
id: Scalars['ID'];
};
export type MutationCreateTagArgs = {
input: CreateTagInput;
};
export type MutationUpdateTagArgs = {
input: UpdateTagInput;
};
export type MutationDeleteTagArgs = {
id: Scalars['ID'];
};
export type MutationCreateTaxCategoryArgs = {
input: CreateTaxCategoryInput;
};
export type MutationUpdateTaxCategoryArgs = {
input: UpdateTaxCategoryInput;
};