@dokamerce/web-sdk 0.22.0 → 0.25.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.
- package/dist/graphql/__generated__/gateway.d.ts +833 -39
- package/dist/graphql/__generated__/gateway.js +307 -21
- package/dist/graphql/__generated__/gateway.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web-sdk/src/main.js +4 -1
- package/dist/web-sdk/src/main.js.map +1 -1
- package/dist/web-sdk/src/services/customer-addresses.d.ts +10 -0
- package/dist/web-sdk/src/services/customer-addresses.js +27 -0
- package/dist/web-sdk/src/services/customer-addresses.js.map +1 -0
- package/dist/web-sdk/src/services/customer-email-addresses.d.ts +10 -0
- package/dist/web-sdk/src/services/customer-email-addresses.js +27 -0
- package/dist/web-sdk/src/services/customer-email-addresses.js.map +1 -0
- package/dist/web-sdk/src/services/customer-telephone-numbers.d.ts +10 -0
- package/dist/web-sdk/src/services/customer-telephone-numbers.js +27 -0
- package/dist/web-sdk/src/services/customer-telephone-numbers.js.map +1 -0
- package/dist/web-sdk/src/services/index.d.ts +3 -0
- package/dist/web-sdk/src/services/index.js +3 -0
- package/dist/web-sdk/src/services/index.js.map +1 -1
- package/dist/web-sdk/src/typings/sdk.typing.d.ts +4 -1
- package/package.json +1 -1
|
@@ -489,6 +489,10 @@ export type CreateCustomerAddressInput = {
|
|
|
489
489
|
regionCode?: InputMaybe<RegionCodeEnum>;
|
|
490
490
|
regionName?: InputMaybe<Scalars['String']['input']>;
|
|
491
491
|
};
|
|
492
|
+
export type CreateCustomerEmailAddressInput = {
|
|
493
|
+
roles?: InputMaybe<Array<EmailAddressRole>>;
|
|
494
|
+
value: Scalars['String']['input'];
|
|
495
|
+
};
|
|
492
496
|
export type CreateCustomerInput = {
|
|
493
497
|
active?: Scalars['Boolean']['input'];
|
|
494
498
|
addresses?: InputMaybe<Array<CreateCustomerAddressInput>>;
|
|
@@ -610,9 +614,11 @@ export type Customer = {
|
|
|
610
614
|
active: Scalars['Boolean']['output'];
|
|
611
615
|
addresses?: Maybe<Array<CustomerAddress>>;
|
|
612
616
|
createdAt: Scalars['DateTime']['output'];
|
|
617
|
+
emails?: Maybe<Array<CustomerEmailAddress>>;
|
|
613
618
|
fullName: Scalars['String']['output'];
|
|
614
619
|
id: Scalars['ID']['output'];
|
|
615
620
|
image?: Maybe<File>;
|
|
621
|
+
orderCount: Scalars['Int']['output'];
|
|
616
622
|
tags?: Maybe<Array<Tag>>;
|
|
617
623
|
telephoneNumbers?: Maybe<Array<CustomerTelephoneNumber>>;
|
|
618
624
|
updatedAt: Scalars['DateTime']['output'];
|
|
@@ -656,6 +662,34 @@ export type CustomerAddressSort = {
|
|
|
656
662
|
field: CustomerAddressFieldsEnum;
|
|
657
663
|
order?: InputMaybe<SortOrderEnum>;
|
|
658
664
|
};
|
|
665
|
+
export type CustomerEmailAddress = {
|
|
666
|
+
__typename?: 'CustomerEmailAddress';
|
|
667
|
+
bcc: Scalars['Boolean']['output'];
|
|
668
|
+
confirmed: Scalars['Boolean']['output'];
|
|
669
|
+
createdAt: Scalars['DateTime']['output'];
|
|
670
|
+
emailAddress: EmailAddress;
|
|
671
|
+
id: Scalars['ID']['output'];
|
|
672
|
+
roles?: Maybe<Array<EmailAddressRole>>;
|
|
673
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
674
|
+
};
|
|
675
|
+
export declare enum CustomerEmailAddressFieldsEnum {
|
|
676
|
+
Bcc = "bcc",
|
|
677
|
+
Confirmed = "confirmed",
|
|
678
|
+
CreatedAt = "createdAt",
|
|
679
|
+
Id = "id",
|
|
680
|
+
Roles = "roles",
|
|
681
|
+
UpdatedAt = "updatedAt"
|
|
682
|
+
}
|
|
683
|
+
export type CustomerEmailAddressFilter = {
|
|
684
|
+
createdAt?: InputMaybe<DateTimeArrayFilter>;
|
|
685
|
+
id?: InputMaybe<IdArrayFilter>;
|
|
686
|
+
roles?: InputMaybe<EmailAddressesRoleEnumArrayFilter>;
|
|
687
|
+
updatedAt?: InputMaybe<DateTimeArrayFilter>;
|
|
688
|
+
};
|
|
689
|
+
export type CustomerEmailAddressSort = {
|
|
690
|
+
field: CustomerEmailAddressFieldsEnum;
|
|
691
|
+
order?: InputMaybe<SortOrderEnum>;
|
|
692
|
+
};
|
|
659
693
|
export declare enum CustomerFieldsEnum {
|
|
660
694
|
Active = "active",
|
|
661
695
|
CreatedAt = "createdAt",
|
|
@@ -716,6 +750,24 @@ export type DateTimeFilter = {
|
|
|
716
750
|
not?: InputMaybe<Scalars['DateTime']['input']>;
|
|
717
751
|
notIn?: InputMaybe<Array<Scalars['DateTime']['input']>>;
|
|
718
752
|
};
|
|
753
|
+
export type EmailAddress = {
|
|
754
|
+
__typename?: 'EmailAddress';
|
|
755
|
+
createdAt: Scalars['DateTime']['output'];
|
|
756
|
+
id: Scalars['ID']['output'];
|
|
757
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
758
|
+
};
|
|
759
|
+
export declare enum EmailAddressRole {
|
|
760
|
+
Billing = "BILLING",
|
|
761
|
+
Marketing = "MARKETING",
|
|
762
|
+
Notification = "NOTIFICATION",
|
|
763
|
+
Primary = "PRIMARY",
|
|
764
|
+
Support = "SUPPORT"
|
|
765
|
+
}
|
|
766
|
+
export type EmailAddressesRoleEnumArrayFilter = {
|
|
767
|
+
every?: InputMaybe<Array<EmailAddressRole>>;
|
|
768
|
+
none?: InputMaybe<Array<EmailAddressRole>>;
|
|
769
|
+
some?: InputMaybe<Array<EmailAddressRole>>;
|
|
770
|
+
};
|
|
719
771
|
export type File = {
|
|
720
772
|
__typename?: 'File';
|
|
721
773
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -833,6 +885,16 @@ export type InfiniteCustomerEdge = {
|
|
|
833
885
|
cursor: Scalars['String']['output'];
|
|
834
886
|
node: Customer;
|
|
835
887
|
};
|
|
888
|
+
export type InfiniteCustomerEmailAddressEdge = {
|
|
889
|
+
__typename?: 'InfiniteCustomerEmailAddressEdge';
|
|
890
|
+
cursor: Scalars['String']['output'];
|
|
891
|
+
node: CustomerEmailAddress;
|
|
892
|
+
};
|
|
893
|
+
export type InfiniteCustomerEmailAddressesConnection = {
|
|
894
|
+
__typename?: 'InfiniteCustomerEmailAddressesConnection';
|
|
895
|
+
edges: Array<InfiniteCustomerEmailAddressEdge>;
|
|
896
|
+
pageInfo: InfinitePageInfo;
|
|
897
|
+
};
|
|
836
898
|
export type InfiniteCustomerTelephoneNumberEdge = {
|
|
837
899
|
__typename?: 'InfiniteCustomerTelephoneNumberEdge';
|
|
838
900
|
cursor: Scalars['String']['output'];
|
|
@@ -959,10 +1021,12 @@ export type Mutation = {
|
|
|
959
1021
|
completeFileUpload: File;
|
|
960
1022
|
createCustomer: Customer;
|
|
961
1023
|
createCustomerAddress: CustomerAddress;
|
|
1024
|
+
createCustomerEmailAddress: CustomerEmailAddress;
|
|
962
1025
|
createCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
963
1026
|
createProduct: Product;
|
|
964
1027
|
createSeller: Seller;
|
|
965
1028
|
deleteCustomerAddress: Status;
|
|
1029
|
+
deleteCustomerEmailAddress: Status;
|
|
966
1030
|
deleteCustomerTelephoneNumber: Status;
|
|
967
1031
|
deleteProduct: Status;
|
|
968
1032
|
deleteSeller: Status;
|
|
@@ -973,6 +1037,7 @@ export type Mutation = {
|
|
|
973
1037
|
updateCartItem?: Maybe<Cart>;
|
|
974
1038
|
updateCustomer: Customer;
|
|
975
1039
|
updateCustomerAddress: CustomerAddress;
|
|
1040
|
+
updateCustomerEmailAddress: CustomerEmailAddress;
|
|
976
1041
|
updateCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
977
1042
|
updateProduct: Product;
|
|
978
1043
|
updateSeller: Seller;
|
|
@@ -989,9 +1054,15 @@ export type MutationCreateCustomerArgs = {
|
|
|
989
1054
|
data: CreateCustomerInput;
|
|
990
1055
|
};
|
|
991
1056
|
export type MutationCreateCustomerAddressArgs = {
|
|
1057
|
+
customerId: Scalars['ID']['input'];
|
|
992
1058
|
data: CreateCustomerAddressInput;
|
|
993
1059
|
};
|
|
1060
|
+
export type MutationCreateCustomerEmailAddressArgs = {
|
|
1061
|
+
customerId: Scalars['ID']['input'];
|
|
1062
|
+
data: CreateCustomerEmailAddressInput;
|
|
1063
|
+
};
|
|
994
1064
|
export type MutationCreateCustomerTelephoneNumberArgs = {
|
|
1065
|
+
customerId: Scalars['ID']['input'];
|
|
995
1066
|
data: CreateCustomerTelephoneNumberInput;
|
|
996
1067
|
};
|
|
997
1068
|
export type MutationCreateProductArgs = {
|
|
@@ -1001,9 +1072,15 @@ export type MutationCreateSellerArgs = {
|
|
|
1001
1072
|
data: CreateSellerInput;
|
|
1002
1073
|
};
|
|
1003
1074
|
export type MutationDeleteCustomerAddressArgs = {
|
|
1075
|
+
customerId: Scalars['ID']['input'];
|
|
1076
|
+
id: Scalars['ID']['input'];
|
|
1077
|
+
};
|
|
1078
|
+
export type MutationDeleteCustomerEmailAddressArgs = {
|
|
1079
|
+
customerId: Scalars['ID']['input'];
|
|
1004
1080
|
id: Scalars['ID']['input'];
|
|
1005
1081
|
};
|
|
1006
1082
|
export type MutationDeleteCustomerTelephoneNumberArgs = {
|
|
1083
|
+
customerId: Scalars['ID']['input'];
|
|
1007
1084
|
id: Scalars['ID']['input'];
|
|
1008
1085
|
};
|
|
1009
1086
|
export type MutationDeleteProductArgs = {
|
|
@@ -1036,10 +1113,17 @@ export type MutationUpdateCustomerArgs = {
|
|
|
1036
1113
|
id: Scalars['ID']['input'];
|
|
1037
1114
|
};
|
|
1038
1115
|
export type MutationUpdateCustomerAddressArgs = {
|
|
1116
|
+
customerId: Scalars['ID']['input'];
|
|
1039
1117
|
data: UpdateCustomerAddressInput;
|
|
1040
1118
|
id: Scalars['ID']['input'];
|
|
1041
1119
|
};
|
|
1120
|
+
export type MutationUpdateCustomerEmailAddressArgs = {
|
|
1121
|
+
customerId: Scalars['ID']['input'];
|
|
1122
|
+
data: UpdateCustomerEmailAddressInput;
|
|
1123
|
+
id: Scalars['ID']['input'];
|
|
1124
|
+
};
|
|
1042
1125
|
export type MutationUpdateCustomerTelephoneNumberArgs = {
|
|
1126
|
+
customerId: Scalars['ID']['input'];
|
|
1043
1127
|
data: UpdateCustomerTelephoneNumberInput;
|
|
1044
1128
|
id: Scalars['ID']['input'];
|
|
1045
1129
|
};
|
|
@@ -1158,6 +1242,16 @@ export type PaginatedCustomerEdge = {
|
|
|
1158
1242
|
cursor: Scalars['String']['output'];
|
|
1159
1243
|
node: Customer;
|
|
1160
1244
|
};
|
|
1245
|
+
export type PaginatedCustomerEmailAddressEdge = {
|
|
1246
|
+
__typename?: 'PaginatedCustomerEmailAddressEdge';
|
|
1247
|
+
cursor: Scalars['String']['output'];
|
|
1248
|
+
node: CustomerEmailAddress;
|
|
1249
|
+
};
|
|
1250
|
+
export type PaginatedCustomerEmailAddressesConnection = {
|
|
1251
|
+
__typename?: 'PaginatedCustomerEmailAddressesConnection';
|
|
1252
|
+
edges: Array<PaginatedCustomerEmailAddressEdge>;
|
|
1253
|
+
pageInfo: PaginatedPageInfo;
|
|
1254
|
+
};
|
|
1161
1255
|
export type PaginatedCustomerTelephoneNumberEdge = {
|
|
1162
1256
|
__typename?: 'PaginatedCustomerTelephoneNumberEdge';
|
|
1163
1257
|
cursor: Scalars['String']['output'];
|
|
@@ -1427,8 +1521,6 @@ export type Query = {
|
|
|
1427
1521
|
cart?: Maybe<Cart>;
|
|
1428
1522
|
customField?: Maybe<Array<CustomField>>;
|
|
1429
1523
|
customer?: Maybe<Customer>;
|
|
1430
|
-
customerCustomerAddress?: Maybe<CustomerAddress>;
|
|
1431
|
-
customerTelephoneNumber?: Maybe<CustomerTelephoneNumber>;
|
|
1432
1524
|
file: File;
|
|
1433
1525
|
infiniteAttributes: InfiniteAttributesConnection;
|
|
1434
1526
|
infiniteBrands: InfiniteBrandsConnection;
|
|
@@ -1436,6 +1528,7 @@ export type Query = {
|
|
|
1436
1528
|
infiniteColors: InfiniteColorsConnection;
|
|
1437
1529
|
infiniteCustomFields: InfiniteCustomFieldsConnection;
|
|
1438
1530
|
infiniteCustomerAddress: InfiniteCustomerAddressesConnection;
|
|
1531
|
+
infiniteCustomerEmailAddresses: InfiniteCustomerEmailAddressesConnection;
|
|
1439
1532
|
infiniteCustomerTelephoneNumbers: InfiniteCustomerTelephoneNumbersConnection;
|
|
1440
1533
|
infiniteCustomers: InfiniteCustomersConnection;
|
|
1441
1534
|
infiniteMetrics: InfiniteMetricsConnection;
|
|
@@ -1452,6 +1545,7 @@ export type Query = {
|
|
|
1452
1545
|
paginatedColors?: Maybe<PaginatedColorsConnection>;
|
|
1453
1546
|
paginatedCustomFields?: Maybe<PaginatedCustomFieldsConnection>;
|
|
1454
1547
|
paginatedCustomerAddress: PaginatedCustomerAddressesConnection;
|
|
1548
|
+
paginatedCustomerEmailAddresses: PaginatedCustomerEmailAddressesConnection;
|
|
1455
1549
|
paginatedCustomerTelephoneNumbers: PaginatedCustomerTelephoneNumbersConnection;
|
|
1456
1550
|
paginatedCustomers?: Maybe<PaginatedCustomersConnection>;
|
|
1457
1551
|
paginatedMetrics?: Maybe<PaginatedMetricsConnection>;
|
|
@@ -1460,7 +1554,7 @@ export type Query = {
|
|
|
1460
1554
|
paginatedSellers?: Maybe<PaginatedSellersConnection>;
|
|
1461
1555
|
paginatedSizes?: Maybe<PaginatedSizesConnection>;
|
|
1462
1556
|
paginatedTags?: Maybe<PaginatedTagsConnection>;
|
|
1463
|
-
product?: Maybe<
|
|
1557
|
+
product?: Maybe<Product>;
|
|
1464
1558
|
seller?: Maybe<Seller>;
|
|
1465
1559
|
size?: Maybe<Array<SizeGroup>>;
|
|
1466
1560
|
tag?: Maybe<Array<Tag>>;
|
|
@@ -1488,12 +1582,6 @@ export type QueryCustomFieldArgs = {
|
|
|
1488
1582
|
export type QueryCustomerArgs = {
|
|
1489
1583
|
id: Scalars['ID']['input'];
|
|
1490
1584
|
};
|
|
1491
|
-
export type QueryCustomerCustomerAddressArgs = {
|
|
1492
|
-
id: Scalars['ID']['input'];
|
|
1493
|
-
};
|
|
1494
|
-
export type QueryCustomerTelephoneNumberArgs = {
|
|
1495
|
-
id: Scalars['ID']['input'];
|
|
1496
|
-
};
|
|
1497
1585
|
export type QueryFileArgs = {
|
|
1498
1586
|
id: Scalars['ID']['input'];
|
|
1499
1587
|
};
|
|
@@ -1540,14 +1628,25 @@ export type QueryInfiniteCustomFieldsArgs = {
|
|
|
1540
1628
|
export type QueryInfiniteCustomerAddressArgs = {
|
|
1541
1629
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1542
1630
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
1631
|
+
customerId: Scalars['ID']['input'];
|
|
1543
1632
|
filter?: InputMaybe<CustomerAddressFilter>;
|
|
1544
1633
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1545
1634
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1546
1635
|
sort?: InputMaybe<Array<CustomerAddressSort>>;
|
|
1547
1636
|
};
|
|
1637
|
+
export type QueryInfiniteCustomerEmailAddressesArgs = {
|
|
1638
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1639
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1640
|
+
customerId: Scalars['ID']['input'];
|
|
1641
|
+
filter?: InputMaybe<CustomerEmailAddressFilter>;
|
|
1642
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1643
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1644
|
+
sort?: InputMaybe<Array<CustomerEmailAddressSort>>;
|
|
1645
|
+
};
|
|
1548
1646
|
export type QueryInfiniteCustomerTelephoneNumbersArgs = {
|
|
1549
1647
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
1550
1648
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
1649
|
+
customerId: Scalars['ID']['input'];
|
|
1551
1650
|
filter?: InputMaybe<CustomerTelephoneNumberFilter>;
|
|
1552
1651
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1553
1652
|
last?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -1646,12 +1745,21 @@ export type QueryPaginatedCustomFieldsArgs = {
|
|
|
1646
1745
|
sort?: InputMaybe<Array<CustomFieldSort>>;
|
|
1647
1746
|
};
|
|
1648
1747
|
export type QueryPaginatedCustomerAddressArgs = {
|
|
1748
|
+
customerId: Scalars['ID']['input'];
|
|
1649
1749
|
filter?: InputMaybe<CustomerAddressFilter>;
|
|
1650
1750
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1651
1751
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1652
1752
|
sort?: InputMaybe<Array<CustomerAddressSort>>;
|
|
1653
1753
|
};
|
|
1754
|
+
export type QueryPaginatedCustomerEmailAddressesArgs = {
|
|
1755
|
+
customerId: Scalars['ID']['input'];
|
|
1756
|
+
filter?: InputMaybe<CustomerEmailAddressFilter>;
|
|
1757
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1758
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1759
|
+
sort?: InputMaybe<Array<CustomerEmailAddressSort>>;
|
|
1760
|
+
};
|
|
1654
1761
|
export type QueryPaginatedCustomerTelephoneNumbersArgs = {
|
|
1762
|
+
customerId: Scalars['ID']['input'];
|
|
1655
1763
|
filter?: InputMaybe<CustomerTelephoneNumberFilter>;
|
|
1656
1764
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1657
1765
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
@@ -2570,6 +2678,10 @@ export type UpdateCustomerAddressInput = {
|
|
|
2570
2678
|
regionCode?: InputMaybe<RegionCodeEnum>;
|
|
2571
2679
|
regionName?: InputMaybe<Scalars['String']['input']>;
|
|
2572
2680
|
};
|
|
2681
|
+
export type UpdateCustomerEmailAddressInput = {
|
|
2682
|
+
roles?: InputMaybe<Array<EmailAddressRole>>;
|
|
2683
|
+
value?: InputMaybe<Scalars['String']['input']>;
|
|
2684
|
+
};
|
|
2573
2685
|
export type UpdateCustomerInput = {
|
|
2574
2686
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2575
2687
|
addresses?: InputMaybe<Array<CreateCustomerAddressInput>>;
|
|
@@ -2828,10 +2940,22 @@ export type CartItemFragmentFragment = {
|
|
|
2828
2940
|
address?: {
|
|
2829
2941
|
__typename?: 'CustomerAddress';
|
|
2830
2942
|
id: string;
|
|
2943
|
+
name?: string | null;
|
|
2944
|
+
postalCode?: string | null;
|
|
2945
|
+
regionCode?: RegionCodeEnum | null;
|
|
2946
|
+
regionName?: string | null;
|
|
2831
2947
|
address?: string | null;
|
|
2832
2948
|
address2?: string | null;
|
|
2949
|
+
city?: string | null;
|
|
2950
|
+
countryCode?: CountryCodeEnum | null;
|
|
2951
|
+
default: boolean;
|
|
2833
2952
|
createdAt: any;
|
|
2834
2953
|
updatedAt: any;
|
|
2954
|
+
geometry?: {
|
|
2955
|
+
__typename?: 'Geometry';
|
|
2956
|
+
coordinates: any;
|
|
2957
|
+
type: string;
|
|
2958
|
+
} | null;
|
|
2835
2959
|
} | null;
|
|
2836
2960
|
product: {
|
|
2837
2961
|
__typename?: 'Product';
|
|
@@ -2926,10 +3050,22 @@ export type AddToCartMutation = {
|
|
|
2926
3050
|
address?: {
|
|
2927
3051
|
__typename?: 'CustomerAddress';
|
|
2928
3052
|
id: string;
|
|
3053
|
+
name?: string | null;
|
|
3054
|
+
postalCode?: string | null;
|
|
3055
|
+
regionCode?: RegionCodeEnum | null;
|
|
3056
|
+
regionName?: string | null;
|
|
2929
3057
|
address?: string | null;
|
|
2930
3058
|
address2?: string | null;
|
|
3059
|
+
city?: string | null;
|
|
3060
|
+
countryCode?: CountryCodeEnum | null;
|
|
3061
|
+
default: boolean;
|
|
2931
3062
|
createdAt: any;
|
|
2932
3063
|
updatedAt: any;
|
|
3064
|
+
geometry?: {
|
|
3065
|
+
__typename?: 'Geometry';
|
|
3066
|
+
coordinates: any;
|
|
3067
|
+
type: string;
|
|
3068
|
+
} | null;
|
|
2933
3069
|
} | null;
|
|
2934
3070
|
product: {
|
|
2935
3071
|
__typename?: 'Product';
|
|
@@ -2999,10 +3135,22 @@ export type AddToCartMutation = {
|
|
|
2999
3135
|
address?: {
|
|
3000
3136
|
__typename?: 'CustomerAddress';
|
|
3001
3137
|
id: string;
|
|
3138
|
+
name?: string | null;
|
|
3139
|
+
postalCode?: string | null;
|
|
3140
|
+
regionCode?: RegionCodeEnum | null;
|
|
3141
|
+
regionName?: string | null;
|
|
3002
3142
|
address?: string | null;
|
|
3003
3143
|
address2?: string | null;
|
|
3144
|
+
city?: string | null;
|
|
3145
|
+
countryCode?: CountryCodeEnum | null;
|
|
3146
|
+
default: boolean;
|
|
3004
3147
|
createdAt: any;
|
|
3005
3148
|
updatedAt: any;
|
|
3149
|
+
geometry?: {
|
|
3150
|
+
__typename?: 'Geometry';
|
|
3151
|
+
coordinates: any;
|
|
3152
|
+
type: string;
|
|
3153
|
+
} | null;
|
|
3006
3154
|
} | null;
|
|
3007
3155
|
} | null;
|
|
3008
3156
|
};
|
|
@@ -3034,10 +3182,22 @@ export type RemoveFromCartMutation = {
|
|
|
3034
3182
|
address?: {
|
|
3035
3183
|
__typename?: 'CustomerAddress';
|
|
3036
3184
|
id: string;
|
|
3185
|
+
name?: string | null;
|
|
3186
|
+
postalCode?: string | null;
|
|
3187
|
+
regionCode?: RegionCodeEnum | null;
|
|
3188
|
+
regionName?: string | null;
|
|
3037
3189
|
address?: string | null;
|
|
3038
3190
|
address2?: string | null;
|
|
3191
|
+
city?: string | null;
|
|
3192
|
+
countryCode?: CountryCodeEnum | null;
|
|
3193
|
+
default: boolean;
|
|
3039
3194
|
createdAt: any;
|
|
3040
3195
|
updatedAt: any;
|
|
3196
|
+
geometry?: {
|
|
3197
|
+
__typename?: 'Geometry';
|
|
3198
|
+
coordinates: any;
|
|
3199
|
+
type: string;
|
|
3200
|
+
} | null;
|
|
3041
3201
|
} | null;
|
|
3042
3202
|
product: {
|
|
3043
3203
|
__typename?: 'Product';
|
|
@@ -3107,10 +3267,22 @@ export type RemoveFromCartMutation = {
|
|
|
3107
3267
|
address?: {
|
|
3108
3268
|
__typename?: 'CustomerAddress';
|
|
3109
3269
|
id: string;
|
|
3270
|
+
name?: string | null;
|
|
3271
|
+
postalCode?: string | null;
|
|
3272
|
+
regionCode?: RegionCodeEnum | null;
|
|
3273
|
+
regionName?: string | null;
|
|
3110
3274
|
address?: string | null;
|
|
3111
3275
|
address2?: string | null;
|
|
3276
|
+
city?: string | null;
|
|
3277
|
+
countryCode?: CountryCodeEnum | null;
|
|
3278
|
+
default: boolean;
|
|
3112
3279
|
createdAt: any;
|
|
3113
3280
|
updatedAt: any;
|
|
3281
|
+
geometry?: {
|
|
3282
|
+
__typename?: 'Geometry';
|
|
3283
|
+
coordinates: any;
|
|
3284
|
+
type: string;
|
|
3285
|
+
} | null;
|
|
3114
3286
|
} | null;
|
|
3115
3287
|
} | null;
|
|
3116
3288
|
};
|
|
@@ -3142,10 +3314,22 @@ export type SetCartAddressMutation = {
|
|
|
3142
3314
|
address?: {
|
|
3143
3315
|
__typename?: 'CustomerAddress';
|
|
3144
3316
|
id: string;
|
|
3317
|
+
name?: string | null;
|
|
3318
|
+
postalCode?: string | null;
|
|
3319
|
+
regionCode?: RegionCodeEnum | null;
|
|
3320
|
+
regionName?: string | null;
|
|
3145
3321
|
address?: string | null;
|
|
3146
3322
|
address2?: string | null;
|
|
3323
|
+
city?: string | null;
|
|
3324
|
+
countryCode?: CountryCodeEnum | null;
|
|
3325
|
+
default: boolean;
|
|
3147
3326
|
createdAt: any;
|
|
3148
3327
|
updatedAt: any;
|
|
3328
|
+
geometry?: {
|
|
3329
|
+
__typename?: 'Geometry';
|
|
3330
|
+
coordinates: any;
|
|
3331
|
+
type: string;
|
|
3332
|
+
} | null;
|
|
3149
3333
|
} | null;
|
|
3150
3334
|
product: {
|
|
3151
3335
|
__typename?: 'Product';
|
|
@@ -3215,10 +3399,22 @@ export type SetCartAddressMutation = {
|
|
|
3215
3399
|
address?: {
|
|
3216
3400
|
__typename?: 'CustomerAddress';
|
|
3217
3401
|
id: string;
|
|
3402
|
+
name?: string | null;
|
|
3403
|
+
postalCode?: string | null;
|
|
3404
|
+
regionCode?: RegionCodeEnum | null;
|
|
3405
|
+
regionName?: string | null;
|
|
3218
3406
|
address?: string | null;
|
|
3219
3407
|
address2?: string | null;
|
|
3408
|
+
city?: string | null;
|
|
3409
|
+
countryCode?: CountryCodeEnum | null;
|
|
3410
|
+
default: boolean;
|
|
3220
3411
|
createdAt: any;
|
|
3221
3412
|
updatedAt: any;
|
|
3413
|
+
geometry?: {
|
|
3414
|
+
__typename?: 'Geometry';
|
|
3415
|
+
coordinates: any;
|
|
3416
|
+
type: string;
|
|
3417
|
+
} | null;
|
|
3222
3418
|
} | null;
|
|
3223
3419
|
} | null;
|
|
3224
3420
|
};
|
|
@@ -3251,10 +3447,22 @@ export type UpdateCartItemMutation = {
|
|
|
3251
3447
|
address?: {
|
|
3252
3448
|
__typename?: 'CustomerAddress';
|
|
3253
3449
|
id: string;
|
|
3450
|
+
name?: string | null;
|
|
3451
|
+
postalCode?: string | null;
|
|
3452
|
+
regionCode?: RegionCodeEnum | null;
|
|
3453
|
+
regionName?: string | null;
|
|
3254
3454
|
address?: string | null;
|
|
3255
3455
|
address2?: string | null;
|
|
3456
|
+
city?: string | null;
|
|
3457
|
+
countryCode?: CountryCodeEnum | null;
|
|
3458
|
+
default: boolean;
|
|
3256
3459
|
createdAt: any;
|
|
3257
3460
|
updatedAt: any;
|
|
3461
|
+
geometry?: {
|
|
3462
|
+
__typename?: 'Geometry';
|
|
3463
|
+
coordinates: any;
|
|
3464
|
+
type: string;
|
|
3465
|
+
} | null;
|
|
3258
3466
|
} | null;
|
|
3259
3467
|
product: {
|
|
3260
3468
|
__typename?: 'Product';
|
|
@@ -3324,10 +3532,22 @@ export type UpdateCartItemMutation = {
|
|
|
3324
3532
|
address?: {
|
|
3325
3533
|
__typename?: 'CustomerAddress';
|
|
3326
3534
|
id: string;
|
|
3535
|
+
name?: string | null;
|
|
3536
|
+
postalCode?: string | null;
|
|
3537
|
+
regionCode?: RegionCodeEnum | null;
|
|
3538
|
+
regionName?: string | null;
|
|
3327
3539
|
address?: string | null;
|
|
3328
3540
|
address2?: string | null;
|
|
3541
|
+
city?: string | null;
|
|
3542
|
+
countryCode?: CountryCodeEnum | null;
|
|
3543
|
+
default: boolean;
|
|
3329
3544
|
createdAt: any;
|
|
3330
3545
|
updatedAt: any;
|
|
3546
|
+
geometry?: {
|
|
3547
|
+
__typename?: 'Geometry';
|
|
3548
|
+
coordinates: any;
|
|
3549
|
+
type: string;
|
|
3550
|
+
} | null;
|
|
3331
3551
|
} | null;
|
|
3332
3552
|
} | null;
|
|
3333
3553
|
};
|
|
@@ -3358,10 +3578,22 @@ export type CartQuery = {
|
|
|
3358
3578
|
address?: {
|
|
3359
3579
|
__typename?: 'CustomerAddress';
|
|
3360
3580
|
id: string;
|
|
3581
|
+
name?: string | null;
|
|
3582
|
+
postalCode?: string | null;
|
|
3583
|
+
regionCode?: RegionCodeEnum | null;
|
|
3584
|
+
regionName?: string | null;
|
|
3361
3585
|
address?: string | null;
|
|
3362
3586
|
address2?: string | null;
|
|
3587
|
+
city?: string | null;
|
|
3588
|
+
countryCode?: CountryCodeEnum | null;
|
|
3589
|
+
default: boolean;
|
|
3363
3590
|
createdAt: any;
|
|
3364
3591
|
updatedAt: any;
|
|
3592
|
+
geometry?: {
|
|
3593
|
+
__typename?: 'Geometry';
|
|
3594
|
+
coordinates: any;
|
|
3595
|
+
type: string;
|
|
3596
|
+
} | null;
|
|
3365
3597
|
} | null;
|
|
3366
3598
|
product: {
|
|
3367
3599
|
__typename?: 'Product';
|
|
@@ -3431,10 +3663,22 @@ export type CartQuery = {
|
|
|
3431
3663
|
address?: {
|
|
3432
3664
|
__typename?: 'CustomerAddress';
|
|
3433
3665
|
id: string;
|
|
3666
|
+
name?: string | null;
|
|
3667
|
+
postalCode?: string | null;
|
|
3668
|
+
regionCode?: RegionCodeEnum | null;
|
|
3669
|
+
regionName?: string | null;
|
|
3434
3670
|
address?: string | null;
|
|
3435
3671
|
address2?: string | null;
|
|
3672
|
+
city?: string | null;
|
|
3673
|
+
countryCode?: CountryCodeEnum | null;
|
|
3674
|
+
default: boolean;
|
|
3436
3675
|
createdAt: any;
|
|
3437
3676
|
updatedAt: any;
|
|
3677
|
+
geometry?: {
|
|
3678
|
+
__typename?: 'Geometry';
|
|
3679
|
+
coordinates: any;
|
|
3680
|
+
type: string;
|
|
3681
|
+
} | null;
|
|
3438
3682
|
} | null;
|
|
3439
3683
|
} | null;
|
|
3440
3684
|
};
|
|
@@ -3799,22 +4043,326 @@ export type CustomFieldQuery = {
|
|
|
3799
4043
|
updatedAt: any;
|
|
3800
4044
|
}> | null;
|
|
3801
4045
|
};
|
|
3802
|
-
export type CustomerFragmentFragment = {
|
|
3803
|
-
__typename?: 'Customer';
|
|
3804
|
-
id: string;
|
|
3805
|
-
fullName: string;
|
|
3806
|
-
username: string;
|
|
3807
|
-
active: boolean;
|
|
3808
|
-
createdAt: any;
|
|
3809
|
-
updatedAt: any;
|
|
3810
|
-
};
|
|
3811
4046
|
export type CustomerAddressFragmentFragment = {
|
|
3812
4047
|
__typename?: 'CustomerAddress';
|
|
3813
4048
|
id: string;
|
|
4049
|
+
name?: string | null;
|
|
4050
|
+
postalCode?: string | null;
|
|
4051
|
+
regionCode?: RegionCodeEnum | null;
|
|
4052
|
+
regionName?: string | null;
|
|
3814
4053
|
address?: string | null;
|
|
3815
4054
|
address2?: string | null;
|
|
4055
|
+
city?: string | null;
|
|
4056
|
+
countryCode?: CountryCodeEnum | null;
|
|
4057
|
+
default: boolean;
|
|
4058
|
+
createdAt: any;
|
|
4059
|
+
updatedAt: any;
|
|
4060
|
+
geometry?: {
|
|
4061
|
+
__typename?: 'Geometry';
|
|
4062
|
+
coordinates: any;
|
|
4063
|
+
type: string;
|
|
4064
|
+
} | null;
|
|
4065
|
+
};
|
|
4066
|
+
export type CreateCustomerAddressMutationVariables = Exact<{
|
|
4067
|
+
customerId: Scalars['ID']['input'];
|
|
4068
|
+
data: CreateCustomerAddressInput;
|
|
4069
|
+
}>;
|
|
4070
|
+
export type CreateCustomerAddressMutation = {
|
|
4071
|
+
__typename?: 'Mutation';
|
|
4072
|
+
createCustomerAddress: {
|
|
4073
|
+
__typename?: 'CustomerAddress';
|
|
4074
|
+
id: string;
|
|
4075
|
+
name?: string | null;
|
|
4076
|
+
postalCode?: string | null;
|
|
4077
|
+
regionCode?: RegionCodeEnum | null;
|
|
4078
|
+
regionName?: string | null;
|
|
4079
|
+
address?: string | null;
|
|
4080
|
+
address2?: string | null;
|
|
4081
|
+
city?: string | null;
|
|
4082
|
+
countryCode?: CountryCodeEnum | null;
|
|
4083
|
+
default: boolean;
|
|
4084
|
+
createdAt: any;
|
|
4085
|
+
updatedAt: any;
|
|
4086
|
+
geometry?: {
|
|
4087
|
+
__typename?: 'Geometry';
|
|
4088
|
+
coordinates: any;
|
|
4089
|
+
type: string;
|
|
4090
|
+
} | null;
|
|
4091
|
+
};
|
|
4092
|
+
};
|
|
4093
|
+
export type UpdateCustomerAddressMutationVariables = Exact<{
|
|
4094
|
+
customerId: Scalars['ID']['input'];
|
|
4095
|
+
data: UpdateCustomerAddressInput;
|
|
4096
|
+
id: Scalars['ID']['input'];
|
|
4097
|
+
}>;
|
|
4098
|
+
export type UpdateCustomerAddressMutation = {
|
|
4099
|
+
__typename?: 'Mutation';
|
|
4100
|
+
updateCustomerAddress: {
|
|
4101
|
+
__typename?: 'CustomerAddress';
|
|
4102
|
+
id: string;
|
|
4103
|
+
name?: string | null;
|
|
4104
|
+
postalCode?: string | null;
|
|
4105
|
+
regionCode?: RegionCodeEnum | null;
|
|
4106
|
+
regionName?: string | null;
|
|
4107
|
+
address?: string | null;
|
|
4108
|
+
address2?: string | null;
|
|
4109
|
+
city?: string | null;
|
|
4110
|
+
countryCode?: CountryCodeEnum | null;
|
|
4111
|
+
default: boolean;
|
|
4112
|
+
createdAt: any;
|
|
4113
|
+
updatedAt: any;
|
|
4114
|
+
geometry?: {
|
|
4115
|
+
__typename?: 'Geometry';
|
|
4116
|
+
coordinates: any;
|
|
4117
|
+
type: string;
|
|
4118
|
+
} | null;
|
|
4119
|
+
};
|
|
4120
|
+
};
|
|
4121
|
+
export type DeleteCustomerAddressMutationVariables = Exact<{
|
|
4122
|
+
customerId: Scalars['ID']['input'];
|
|
4123
|
+
id: Scalars['ID']['input'];
|
|
4124
|
+
}>;
|
|
4125
|
+
export type DeleteCustomerAddressMutation = {
|
|
4126
|
+
__typename?: 'Mutation';
|
|
4127
|
+
deleteCustomerAddress: {
|
|
4128
|
+
__typename?: 'Status';
|
|
4129
|
+
reason?: string | null;
|
|
4130
|
+
status: StatusEnum;
|
|
4131
|
+
};
|
|
4132
|
+
};
|
|
4133
|
+
export type InfiniteCustomerAddressQueryVariables = Exact<{
|
|
4134
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
4135
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
4136
|
+
filter?: InputMaybe<CustomerAddressFilter>;
|
|
4137
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4138
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4139
|
+
sort?: InputMaybe<Array<CustomerAddressSort> | CustomerAddressSort>;
|
|
4140
|
+
customerId: Scalars['ID']['input'];
|
|
4141
|
+
}>;
|
|
4142
|
+
export type InfiniteCustomerAddressQuery = {
|
|
4143
|
+
__typename?: 'Query';
|
|
4144
|
+
infiniteCustomerAddress: {
|
|
4145
|
+
__typename?: 'InfiniteCustomerAddressesConnection';
|
|
4146
|
+
edges: Array<{
|
|
4147
|
+
__typename?: 'InfiniteCustomerAddressEdge';
|
|
4148
|
+
cursor: string;
|
|
4149
|
+
node: {
|
|
4150
|
+
__typename?: 'CustomerAddress';
|
|
4151
|
+
id: string;
|
|
4152
|
+
name?: string | null;
|
|
4153
|
+
postalCode?: string | null;
|
|
4154
|
+
regionCode?: RegionCodeEnum | null;
|
|
4155
|
+
regionName?: string | null;
|
|
4156
|
+
address?: string | null;
|
|
4157
|
+
address2?: string | null;
|
|
4158
|
+
city?: string | null;
|
|
4159
|
+
countryCode?: CountryCodeEnum | null;
|
|
4160
|
+
default: boolean;
|
|
4161
|
+
createdAt: any;
|
|
4162
|
+
updatedAt: any;
|
|
4163
|
+
geometry?: {
|
|
4164
|
+
__typename?: 'Geometry';
|
|
4165
|
+
coordinates: any;
|
|
4166
|
+
type: string;
|
|
4167
|
+
} | null;
|
|
4168
|
+
};
|
|
4169
|
+
}>;
|
|
4170
|
+
pageInfo: {
|
|
4171
|
+
__typename?: 'InfinitePageInfo';
|
|
4172
|
+
endCursor?: string | null;
|
|
4173
|
+
hasNextPage: boolean;
|
|
4174
|
+
hasPreviousPage: boolean;
|
|
4175
|
+
startCursor?: string | null;
|
|
4176
|
+
};
|
|
4177
|
+
};
|
|
4178
|
+
};
|
|
4179
|
+
export type PaginatedCustomerAddressQueryVariables = Exact<{
|
|
4180
|
+
filter?: InputMaybe<CustomerAddressFilter>;
|
|
4181
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
4182
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
4183
|
+
sort?: InputMaybe<Array<CustomerAddressSort> | CustomerAddressSort>;
|
|
4184
|
+
customerId: Scalars['ID']['input'];
|
|
4185
|
+
}>;
|
|
4186
|
+
export type PaginatedCustomerAddressQuery = {
|
|
4187
|
+
__typename?: 'Query';
|
|
4188
|
+
paginatedCustomerAddress: {
|
|
4189
|
+
__typename?: 'PaginatedCustomerAddressesConnection';
|
|
4190
|
+
edges: Array<{
|
|
4191
|
+
__typename?: 'PaginatedCustomerAddressEdge';
|
|
4192
|
+
cursor: string;
|
|
4193
|
+
node: {
|
|
4194
|
+
__typename?: 'CustomerAddress';
|
|
4195
|
+
id: string;
|
|
4196
|
+
name?: string | null;
|
|
4197
|
+
postalCode?: string | null;
|
|
4198
|
+
regionCode?: RegionCodeEnum | null;
|
|
4199
|
+
regionName?: string | null;
|
|
4200
|
+
address?: string | null;
|
|
4201
|
+
address2?: string | null;
|
|
4202
|
+
city?: string | null;
|
|
4203
|
+
countryCode?: CountryCodeEnum | null;
|
|
4204
|
+
default: boolean;
|
|
4205
|
+
createdAt: any;
|
|
4206
|
+
updatedAt: any;
|
|
4207
|
+
geometry?: {
|
|
4208
|
+
__typename?: 'Geometry';
|
|
4209
|
+
coordinates: any;
|
|
4210
|
+
type: string;
|
|
4211
|
+
} | null;
|
|
4212
|
+
};
|
|
4213
|
+
}>;
|
|
4214
|
+
pageInfo: {
|
|
4215
|
+
__typename?: 'PaginatedPageInfo';
|
|
4216
|
+
currentPage: number;
|
|
4217
|
+
hasNextPage: boolean;
|
|
4218
|
+
hasPreviousPage: boolean;
|
|
4219
|
+
totalEdges: number;
|
|
4220
|
+
totalPages: number;
|
|
4221
|
+
};
|
|
4222
|
+
};
|
|
4223
|
+
};
|
|
4224
|
+
export type CustomerEmailAddressFragmentFragment = {
|
|
4225
|
+
__typename?: 'CustomerEmailAddress';
|
|
4226
|
+
bcc: boolean;
|
|
4227
|
+
confirmed: boolean;
|
|
3816
4228
|
createdAt: any;
|
|
4229
|
+
id: string;
|
|
4230
|
+
roles?: Array<EmailAddressRole> | null;
|
|
3817
4231
|
updatedAt: any;
|
|
4232
|
+
emailAddress: {
|
|
4233
|
+
__typename?: 'EmailAddress';
|
|
4234
|
+
value?: string | null;
|
|
4235
|
+
};
|
|
4236
|
+
};
|
|
4237
|
+
export type CreateCustomerEmailAddressMutationVariables = Exact<{
|
|
4238
|
+
customerId: Scalars['ID']['input'];
|
|
4239
|
+
data: CreateCustomerEmailAddressInput;
|
|
4240
|
+
}>;
|
|
4241
|
+
export type CreateCustomerEmailAddressMutation = {
|
|
4242
|
+
__typename?: 'Mutation';
|
|
4243
|
+
createCustomerEmailAddress: {
|
|
4244
|
+
__typename?: 'CustomerEmailAddress';
|
|
4245
|
+
bcc: boolean;
|
|
4246
|
+
confirmed: boolean;
|
|
4247
|
+
createdAt: any;
|
|
4248
|
+
id: string;
|
|
4249
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4250
|
+
updatedAt: any;
|
|
4251
|
+
emailAddress: {
|
|
4252
|
+
__typename?: 'EmailAddress';
|
|
4253
|
+
value?: string | null;
|
|
4254
|
+
};
|
|
4255
|
+
};
|
|
4256
|
+
};
|
|
4257
|
+
export type UpdateCustomerEmailAddressMutationVariables = Exact<{
|
|
4258
|
+
customerId: Scalars['ID']['input'];
|
|
4259
|
+
data: UpdateCustomerEmailAddressInput;
|
|
4260
|
+
id: Scalars['ID']['input'];
|
|
4261
|
+
}>;
|
|
4262
|
+
export type UpdateCustomerEmailAddressMutation = {
|
|
4263
|
+
__typename?: 'Mutation';
|
|
4264
|
+
updateCustomerEmailAddress: {
|
|
4265
|
+
__typename?: 'CustomerEmailAddress';
|
|
4266
|
+
bcc: boolean;
|
|
4267
|
+
confirmed: boolean;
|
|
4268
|
+
createdAt: any;
|
|
4269
|
+
id: string;
|
|
4270
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4271
|
+
updatedAt: any;
|
|
4272
|
+
emailAddress: {
|
|
4273
|
+
__typename?: 'EmailAddress';
|
|
4274
|
+
value?: string | null;
|
|
4275
|
+
};
|
|
4276
|
+
};
|
|
4277
|
+
};
|
|
4278
|
+
export type DeleteCustomerEmailAddressMutationVariables = Exact<{
|
|
4279
|
+
customerId: Scalars['ID']['input'];
|
|
4280
|
+
id: Scalars['ID']['input'];
|
|
4281
|
+
}>;
|
|
4282
|
+
export type DeleteCustomerEmailAddressMutation = {
|
|
4283
|
+
__typename?: 'Mutation';
|
|
4284
|
+
deleteCustomerEmailAddress: {
|
|
4285
|
+
__typename?: 'Status';
|
|
4286
|
+
reason?: string | null;
|
|
4287
|
+
status: StatusEnum;
|
|
4288
|
+
};
|
|
4289
|
+
};
|
|
4290
|
+
export type InfiniteCustomerEmailAddressQueryVariables = Exact<{
|
|
4291
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
4292
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
4293
|
+
filter?: InputMaybe<CustomerEmailAddressFilter>;
|
|
4294
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4295
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4296
|
+
sort?: InputMaybe<Array<CustomerEmailAddressSort> | CustomerEmailAddressSort>;
|
|
4297
|
+
customerId: Scalars['ID']['input'];
|
|
4298
|
+
}>;
|
|
4299
|
+
export type InfiniteCustomerEmailAddressQuery = {
|
|
4300
|
+
__typename?: 'Query';
|
|
4301
|
+
infiniteCustomerEmailAddresses: {
|
|
4302
|
+
__typename?: 'InfiniteCustomerEmailAddressesConnection';
|
|
4303
|
+
edges: Array<{
|
|
4304
|
+
__typename?: 'InfiniteCustomerEmailAddressEdge';
|
|
4305
|
+
cursor: string;
|
|
4306
|
+
node: {
|
|
4307
|
+
__typename?: 'CustomerEmailAddress';
|
|
4308
|
+
bcc: boolean;
|
|
4309
|
+
confirmed: boolean;
|
|
4310
|
+
createdAt: any;
|
|
4311
|
+
id: string;
|
|
4312
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4313
|
+
updatedAt: any;
|
|
4314
|
+
emailAddress: {
|
|
4315
|
+
__typename?: 'EmailAddress';
|
|
4316
|
+
value?: string | null;
|
|
4317
|
+
};
|
|
4318
|
+
};
|
|
4319
|
+
}>;
|
|
4320
|
+
pageInfo: {
|
|
4321
|
+
__typename?: 'InfinitePageInfo';
|
|
4322
|
+
endCursor?: string | null;
|
|
4323
|
+
hasNextPage: boolean;
|
|
4324
|
+
hasPreviousPage: boolean;
|
|
4325
|
+
startCursor?: string | null;
|
|
4326
|
+
};
|
|
4327
|
+
};
|
|
4328
|
+
};
|
|
4329
|
+
export type PaginatedCustomerEmailAddressQueryVariables = Exact<{
|
|
4330
|
+
filter?: InputMaybe<CustomerEmailAddressFilter>;
|
|
4331
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
4332
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
4333
|
+
sort?: InputMaybe<Array<CustomerEmailAddressSort> | CustomerEmailAddressSort>;
|
|
4334
|
+
customerId: Scalars['ID']['input'];
|
|
4335
|
+
}>;
|
|
4336
|
+
export type PaginatedCustomerEmailAddressQuery = {
|
|
4337
|
+
__typename?: 'Query';
|
|
4338
|
+
paginatedCustomerEmailAddresses: {
|
|
4339
|
+
__typename?: 'PaginatedCustomerEmailAddressesConnection';
|
|
4340
|
+
edges: Array<{
|
|
4341
|
+
__typename?: 'PaginatedCustomerEmailAddressEdge';
|
|
4342
|
+
cursor: string;
|
|
4343
|
+
node: {
|
|
4344
|
+
__typename?: 'CustomerEmailAddress';
|
|
4345
|
+
bcc: boolean;
|
|
4346
|
+
confirmed: boolean;
|
|
4347
|
+
createdAt: any;
|
|
4348
|
+
id: string;
|
|
4349
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4350
|
+
updatedAt: any;
|
|
4351
|
+
emailAddress: {
|
|
4352
|
+
__typename?: 'EmailAddress';
|
|
4353
|
+
value?: string | null;
|
|
4354
|
+
};
|
|
4355
|
+
};
|
|
4356
|
+
}>;
|
|
4357
|
+
pageInfo: {
|
|
4358
|
+
__typename?: 'PaginatedPageInfo';
|
|
4359
|
+
currentPage: number;
|
|
4360
|
+
hasNextPage: boolean;
|
|
4361
|
+
hasPreviousPage: boolean;
|
|
4362
|
+
totalEdges: number;
|
|
4363
|
+
totalPages: number;
|
|
4364
|
+
};
|
|
4365
|
+
};
|
|
3818
4366
|
};
|
|
3819
4367
|
export type CustomerTelephoneNumberFragmentFragment = {
|
|
3820
4368
|
__typename?: 'CustomerTelephoneNumber';
|
|
@@ -3824,37 +4372,126 @@ export type CustomerTelephoneNumberFragmentFragment = {
|
|
|
3824
4372
|
createdAt: any;
|
|
3825
4373
|
updatedAt: any;
|
|
3826
4374
|
};
|
|
3827
|
-
export type
|
|
3828
|
-
|
|
4375
|
+
export type CreateCustomerTelephoneNumberMutationVariables = Exact<{
|
|
4376
|
+
customerId: Scalars['ID']['input'];
|
|
4377
|
+
data: CreateCustomerTelephoneNumberInput;
|
|
3829
4378
|
}>;
|
|
3830
|
-
export type
|
|
4379
|
+
export type CreateCustomerTelephoneNumberMutation = {
|
|
3831
4380
|
__typename?: 'Mutation';
|
|
3832
|
-
|
|
3833
|
-
__typename?: '
|
|
4381
|
+
createCustomerTelephoneNumber: {
|
|
4382
|
+
__typename?: 'CustomerTelephoneNumber';
|
|
3834
4383
|
id: string;
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
active: boolean;
|
|
4384
|
+
number?: string | null;
|
|
4385
|
+
targets?: Array<TelephoneNumberTarget> | null;
|
|
3838
4386
|
createdAt: any;
|
|
3839
4387
|
updatedAt: any;
|
|
3840
4388
|
};
|
|
3841
4389
|
};
|
|
3842
|
-
export type
|
|
3843
|
-
|
|
4390
|
+
export type UpdateCustomerTelephoneNumberMutationVariables = Exact<{
|
|
4391
|
+
customerId: Scalars['ID']['input'];
|
|
4392
|
+
data: UpdateCustomerTelephoneNumberInput;
|
|
3844
4393
|
id: Scalars['ID']['input'];
|
|
3845
4394
|
}>;
|
|
3846
|
-
export type
|
|
4395
|
+
export type UpdateCustomerTelephoneNumberMutation = {
|
|
3847
4396
|
__typename?: 'Mutation';
|
|
3848
|
-
|
|
3849
|
-
__typename?: '
|
|
4397
|
+
updateCustomerTelephoneNumber: {
|
|
4398
|
+
__typename?: 'CustomerTelephoneNumber';
|
|
3850
4399
|
id: string;
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
active: boolean;
|
|
4400
|
+
number?: string | null;
|
|
4401
|
+
targets?: Array<TelephoneNumberTarget> | null;
|
|
3854
4402
|
createdAt: any;
|
|
3855
4403
|
updatedAt: any;
|
|
3856
4404
|
};
|
|
3857
4405
|
};
|
|
4406
|
+
export type DeleteCustomerTelephoneNumberMutationVariables = Exact<{
|
|
4407
|
+
customerId: Scalars['ID']['input'];
|
|
4408
|
+
id: Scalars['ID']['input'];
|
|
4409
|
+
}>;
|
|
4410
|
+
export type DeleteCustomerTelephoneNumberMutation = {
|
|
4411
|
+
__typename?: 'Mutation';
|
|
4412
|
+
deleteCustomerTelephoneNumber: {
|
|
4413
|
+
__typename?: 'Status';
|
|
4414
|
+
reason?: string | null;
|
|
4415
|
+
status: StatusEnum;
|
|
4416
|
+
};
|
|
4417
|
+
};
|
|
4418
|
+
export type InfiniteCustomerTelephoneNumberQueryVariables = Exact<{
|
|
4419
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
4420
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
4421
|
+
filter?: InputMaybe<CustomerTelephoneNumberFilter>;
|
|
4422
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4423
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4424
|
+
sort?: InputMaybe<Array<CustomerTelephoneNumberSort> | CustomerTelephoneNumberSort>;
|
|
4425
|
+
customerId: Scalars['ID']['input'];
|
|
4426
|
+
}>;
|
|
4427
|
+
export type InfiniteCustomerTelephoneNumberQuery = {
|
|
4428
|
+
__typename?: 'Query';
|
|
4429
|
+
infiniteCustomerTelephoneNumbers: {
|
|
4430
|
+
__typename?: 'InfiniteCustomerTelephoneNumbersConnection';
|
|
4431
|
+
edges: Array<{
|
|
4432
|
+
__typename?: 'InfiniteCustomerTelephoneNumberEdge';
|
|
4433
|
+
cursor: string;
|
|
4434
|
+
node: {
|
|
4435
|
+
__typename?: 'CustomerTelephoneNumber';
|
|
4436
|
+
id: string;
|
|
4437
|
+
number?: string | null;
|
|
4438
|
+
targets?: Array<TelephoneNumberTarget> | null;
|
|
4439
|
+
createdAt: any;
|
|
4440
|
+
updatedAt: any;
|
|
4441
|
+
};
|
|
4442
|
+
}>;
|
|
4443
|
+
pageInfo: {
|
|
4444
|
+
__typename?: 'InfinitePageInfo';
|
|
4445
|
+
endCursor?: string | null;
|
|
4446
|
+
hasNextPage: boolean;
|
|
4447
|
+
hasPreviousPage: boolean;
|
|
4448
|
+
startCursor?: string | null;
|
|
4449
|
+
};
|
|
4450
|
+
};
|
|
4451
|
+
};
|
|
4452
|
+
export type PaginatedCustomerTelephoneNumberQueryVariables = Exact<{
|
|
4453
|
+
filter?: InputMaybe<CustomerTelephoneNumberFilter>;
|
|
4454
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
4455
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
4456
|
+
sort?: InputMaybe<Array<CustomerTelephoneNumberSort> | CustomerTelephoneNumberSort>;
|
|
4457
|
+
customerId: Scalars['ID']['input'];
|
|
4458
|
+
}>;
|
|
4459
|
+
export type PaginatedCustomerTelephoneNumberQuery = {
|
|
4460
|
+
__typename?: 'Query';
|
|
4461
|
+
paginatedCustomerTelephoneNumbers: {
|
|
4462
|
+
__typename?: 'PaginatedCustomerTelephoneNumbersConnection';
|
|
4463
|
+
edges: Array<{
|
|
4464
|
+
__typename?: 'PaginatedCustomerTelephoneNumberEdge';
|
|
4465
|
+
cursor: string;
|
|
4466
|
+
node: {
|
|
4467
|
+
__typename?: 'CustomerTelephoneNumber';
|
|
4468
|
+
id: string;
|
|
4469
|
+
number?: string | null;
|
|
4470
|
+
targets?: Array<TelephoneNumberTarget> | null;
|
|
4471
|
+
createdAt: any;
|
|
4472
|
+
updatedAt: any;
|
|
4473
|
+
};
|
|
4474
|
+
}>;
|
|
4475
|
+
pageInfo: {
|
|
4476
|
+
__typename?: 'PaginatedPageInfo';
|
|
4477
|
+
currentPage: number;
|
|
4478
|
+
hasNextPage: boolean;
|
|
4479
|
+
hasPreviousPage: boolean;
|
|
4480
|
+
totalEdges: number;
|
|
4481
|
+
totalPages: number;
|
|
4482
|
+
};
|
|
4483
|
+
};
|
|
4484
|
+
};
|
|
4485
|
+
export type CustomerFragmentFragment = {
|
|
4486
|
+
__typename?: 'Customer';
|
|
4487
|
+
id: string;
|
|
4488
|
+
fullName: string;
|
|
4489
|
+
username: string;
|
|
4490
|
+
active: boolean;
|
|
4491
|
+
orderCount: number;
|
|
4492
|
+
createdAt: any;
|
|
4493
|
+
updatedAt: any;
|
|
4494
|
+
};
|
|
3858
4495
|
export type InfiniteCustomersQueryVariables = Exact<{
|
|
3859
4496
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
3860
4497
|
before?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3865,6 +4502,8 @@ export type InfiniteCustomersQueryVariables = Exact<{
|
|
|
3865
4502
|
withTelephoneNumbers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3866
4503
|
withAddresses?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3867
4504
|
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4505
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4506
|
+
withEmails?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3868
4507
|
}>;
|
|
3869
4508
|
export type InfiniteCustomersQuery = {
|
|
3870
4509
|
__typename?: 'Query';
|
|
@@ -3879,15 +4518,28 @@ export type InfiniteCustomersQuery = {
|
|
|
3879
4518
|
fullName: string;
|
|
3880
4519
|
username: string;
|
|
3881
4520
|
active: boolean;
|
|
4521
|
+
orderCount: number;
|
|
3882
4522
|
createdAt: any;
|
|
3883
4523
|
updatedAt: any;
|
|
3884
4524
|
addresses?: Array<{
|
|
3885
4525
|
__typename?: 'CustomerAddress';
|
|
3886
4526
|
id: string;
|
|
4527
|
+
name?: string | null;
|
|
4528
|
+
postalCode?: string | null;
|
|
4529
|
+
regionCode?: RegionCodeEnum | null;
|
|
4530
|
+
regionName?: string | null;
|
|
3887
4531
|
address?: string | null;
|
|
3888
4532
|
address2?: string | null;
|
|
4533
|
+
city?: string | null;
|
|
4534
|
+
countryCode?: CountryCodeEnum | null;
|
|
4535
|
+
default: boolean;
|
|
3889
4536
|
createdAt: any;
|
|
3890
4537
|
updatedAt: any;
|
|
4538
|
+
geometry?: {
|
|
4539
|
+
__typename?: 'Geometry';
|
|
4540
|
+
coordinates: any;
|
|
4541
|
+
type: string;
|
|
4542
|
+
} | null;
|
|
3891
4543
|
}> | null;
|
|
3892
4544
|
telephoneNumbers?: Array<{
|
|
3893
4545
|
__typename?: 'CustomerTelephoneNumber';
|
|
@@ -3897,6 +4549,27 @@ export type InfiniteCustomersQuery = {
|
|
|
3897
4549
|
createdAt: any;
|
|
3898
4550
|
updatedAt: any;
|
|
3899
4551
|
}> | null;
|
|
4552
|
+
tags?: Array<{
|
|
4553
|
+
__typename?: 'Tag';
|
|
4554
|
+
id: string;
|
|
4555
|
+
name: string;
|
|
4556
|
+
color?: string | null;
|
|
4557
|
+
createdAt: any;
|
|
4558
|
+
updatedAt: any;
|
|
4559
|
+
}> | null;
|
|
4560
|
+
emails?: Array<{
|
|
4561
|
+
__typename?: 'CustomerEmailAddress';
|
|
4562
|
+
bcc: boolean;
|
|
4563
|
+
confirmed: boolean;
|
|
4564
|
+
createdAt: any;
|
|
4565
|
+
id: string;
|
|
4566
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4567
|
+
updatedAt: any;
|
|
4568
|
+
emailAddress: {
|
|
4569
|
+
__typename?: 'EmailAddress';
|
|
4570
|
+
value?: string | null;
|
|
4571
|
+
};
|
|
4572
|
+
}> | null;
|
|
3900
4573
|
image?: {
|
|
3901
4574
|
__typename?: 'File';
|
|
3902
4575
|
createdAt: any;
|
|
@@ -3932,6 +4605,8 @@ export type PaginatedCustomersQueryVariables = Exact<{
|
|
|
3932
4605
|
withTelephoneNumbers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3933
4606
|
withAddresses?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3934
4607
|
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4608
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4609
|
+
withEmails?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3935
4610
|
}>;
|
|
3936
4611
|
export type PaginatedCustomersQuery = {
|
|
3937
4612
|
__typename?: 'Query';
|
|
@@ -3946,15 +4621,28 @@ export type PaginatedCustomersQuery = {
|
|
|
3946
4621
|
fullName: string;
|
|
3947
4622
|
username: string;
|
|
3948
4623
|
active: boolean;
|
|
4624
|
+
orderCount: number;
|
|
3949
4625
|
createdAt: any;
|
|
3950
4626
|
updatedAt: any;
|
|
3951
4627
|
addresses?: Array<{
|
|
3952
4628
|
__typename?: 'CustomerAddress';
|
|
3953
4629
|
id: string;
|
|
4630
|
+
name?: string | null;
|
|
4631
|
+
postalCode?: string | null;
|
|
4632
|
+
regionCode?: RegionCodeEnum | null;
|
|
4633
|
+
regionName?: string | null;
|
|
3954
4634
|
address?: string | null;
|
|
3955
4635
|
address2?: string | null;
|
|
4636
|
+
city?: string | null;
|
|
4637
|
+
countryCode?: CountryCodeEnum | null;
|
|
4638
|
+
default: boolean;
|
|
3956
4639
|
createdAt: any;
|
|
3957
4640
|
updatedAt: any;
|
|
4641
|
+
geometry?: {
|
|
4642
|
+
__typename?: 'Geometry';
|
|
4643
|
+
coordinates: any;
|
|
4644
|
+
type: string;
|
|
4645
|
+
} | null;
|
|
3958
4646
|
}> | null;
|
|
3959
4647
|
telephoneNumbers?: Array<{
|
|
3960
4648
|
__typename?: 'CustomerTelephoneNumber';
|
|
@@ -3964,6 +4652,27 @@ export type PaginatedCustomersQuery = {
|
|
|
3964
4652
|
createdAt: any;
|
|
3965
4653
|
updatedAt: any;
|
|
3966
4654
|
}> | null;
|
|
4655
|
+
tags?: Array<{
|
|
4656
|
+
__typename?: 'Tag';
|
|
4657
|
+
id: string;
|
|
4658
|
+
name: string;
|
|
4659
|
+
color?: string | null;
|
|
4660
|
+
createdAt: any;
|
|
4661
|
+
updatedAt: any;
|
|
4662
|
+
}> | null;
|
|
4663
|
+
emails?: Array<{
|
|
4664
|
+
__typename?: 'CustomerEmailAddress';
|
|
4665
|
+
bcc: boolean;
|
|
4666
|
+
confirmed: boolean;
|
|
4667
|
+
createdAt: any;
|
|
4668
|
+
id: string;
|
|
4669
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4670
|
+
updatedAt: any;
|
|
4671
|
+
emailAddress: {
|
|
4672
|
+
__typename?: 'EmailAddress';
|
|
4673
|
+
value?: string | null;
|
|
4674
|
+
};
|
|
4675
|
+
}> | null;
|
|
3967
4676
|
image?: {
|
|
3968
4677
|
__typename?: 'File';
|
|
3969
4678
|
createdAt: any;
|
|
@@ -3997,6 +4706,8 @@ export type CustomerQueryVariables = Exact<{
|
|
|
3997
4706
|
withTelephoneNumbers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3998
4707
|
withAddresses?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3999
4708
|
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4709
|
+
withTags?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4710
|
+
withEmails?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4000
4711
|
}>;
|
|
4001
4712
|
export type CustomerQuery = {
|
|
4002
4713
|
__typename?: 'Query';
|
|
@@ -4006,15 +4717,28 @@ export type CustomerQuery = {
|
|
|
4006
4717
|
fullName: string;
|
|
4007
4718
|
username: string;
|
|
4008
4719
|
active: boolean;
|
|
4720
|
+
orderCount: number;
|
|
4009
4721
|
createdAt: any;
|
|
4010
4722
|
updatedAt: any;
|
|
4011
4723
|
addresses?: Array<{
|
|
4012
4724
|
__typename?: 'CustomerAddress';
|
|
4013
4725
|
id: string;
|
|
4726
|
+
name?: string | null;
|
|
4727
|
+
postalCode?: string | null;
|
|
4728
|
+
regionCode?: RegionCodeEnum | null;
|
|
4729
|
+
regionName?: string | null;
|
|
4014
4730
|
address?: string | null;
|
|
4015
4731
|
address2?: string | null;
|
|
4732
|
+
city?: string | null;
|
|
4733
|
+
countryCode?: CountryCodeEnum | null;
|
|
4734
|
+
default: boolean;
|
|
4016
4735
|
createdAt: any;
|
|
4017
4736
|
updatedAt: any;
|
|
4737
|
+
geometry?: {
|
|
4738
|
+
__typename?: 'Geometry';
|
|
4739
|
+
coordinates: any;
|
|
4740
|
+
type: string;
|
|
4741
|
+
} | null;
|
|
4018
4742
|
}> | null;
|
|
4019
4743
|
telephoneNumbers?: Array<{
|
|
4020
4744
|
__typename?: 'CustomerTelephoneNumber';
|
|
@@ -4024,6 +4748,27 @@ export type CustomerQuery = {
|
|
|
4024
4748
|
createdAt: any;
|
|
4025
4749
|
updatedAt: any;
|
|
4026
4750
|
}> | null;
|
|
4751
|
+
tags?: Array<{
|
|
4752
|
+
__typename?: 'Tag';
|
|
4753
|
+
id: string;
|
|
4754
|
+
name: string;
|
|
4755
|
+
color?: string | null;
|
|
4756
|
+
createdAt: any;
|
|
4757
|
+
updatedAt: any;
|
|
4758
|
+
}> | null;
|
|
4759
|
+
emails?: Array<{
|
|
4760
|
+
__typename?: 'CustomerEmailAddress';
|
|
4761
|
+
bcc: boolean;
|
|
4762
|
+
confirmed: boolean;
|
|
4763
|
+
createdAt: any;
|
|
4764
|
+
id: string;
|
|
4765
|
+
roles?: Array<EmailAddressRole> | null;
|
|
4766
|
+
updatedAt: any;
|
|
4767
|
+
emailAddress: {
|
|
4768
|
+
__typename?: 'EmailAddress';
|
|
4769
|
+
value?: string | null;
|
|
4770
|
+
};
|
|
4771
|
+
}> | null;
|
|
4027
4772
|
image?: {
|
|
4028
4773
|
__typename?: 'File';
|
|
4029
4774
|
createdAt: any;
|
|
@@ -4042,6 +4787,39 @@ export type CustomerQuery = {
|
|
|
4042
4787
|
} | null;
|
|
4043
4788
|
} | null;
|
|
4044
4789
|
};
|
|
4790
|
+
export type CreateCustomerMutationVariables = Exact<{
|
|
4791
|
+
data: CreateCustomerInput;
|
|
4792
|
+
}>;
|
|
4793
|
+
export type CreateCustomerMutation = {
|
|
4794
|
+
__typename?: 'Mutation';
|
|
4795
|
+
createCustomer: {
|
|
4796
|
+
__typename?: 'Customer';
|
|
4797
|
+
id: string;
|
|
4798
|
+
fullName: string;
|
|
4799
|
+
username: string;
|
|
4800
|
+
active: boolean;
|
|
4801
|
+
orderCount: number;
|
|
4802
|
+
createdAt: any;
|
|
4803
|
+
updatedAt: any;
|
|
4804
|
+
};
|
|
4805
|
+
};
|
|
4806
|
+
export type UpdateCustomerMutationVariables = Exact<{
|
|
4807
|
+
data: UpdateCustomerInput;
|
|
4808
|
+
id: Scalars['ID']['input'];
|
|
4809
|
+
}>;
|
|
4810
|
+
export type UpdateCustomerMutation = {
|
|
4811
|
+
__typename?: 'Mutation';
|
|
4812
|
+
updateCustomer: {
|
|
4813
|
+
__typename?: 'Customer';
|
|
4814
|
+
id: string;
|
|
4815
|
+
fullName: string;
|
|
4816
|
+
username: string;
|
|
4817
|
+
active: boolean;
|
|
4818
|
+
orderCount: number;
|
|
4819
|
+
createdAt: any;
|
|
4820
|
+
updatedAt: any;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4045
4823
|
export type FileThumbnailsFieldsFragment = {
|
|
4046
4824
|
__typename?: 'FileThumbnails';
|
|
4047
4825
|
thumbnail450Url?: string | null;
|
|
@@ -4806,7 +5584,7 @@ export type ProductQueryVariables = Exact<{
|
|
|
4806
5584
|
}>;
|
|
4807
5585
|
export type ProductQuery = {
|
|
4808
5586
|
__typename?: 'Query';
|
|
4809
|
-
product?:
|
|
5587
|
+
product?: {
|
|
4810
5588
|
__typename?: 'Product';
|
|
4811
5589
|
id: string;
|
|
4812
5590
|
active: boolean;
|
|
@@ -4968,7 +5746,7 @@ export type ProductQuery = {
|
|
|
4968
5746
|
}>;
|
|
4969
5747
|
}> | null;
|
|
4970
5748
|
}>;
|
|
4971
|
-
}
|
|
5749
|
+
} | null;
|
|
4972
5750
|
};
|
|
4973
5751
|
export type CreateProductMutationVariables = Exact<{
|
|
4974
5752
|
data: CreateProductInput;
|
|
@@ -5610,8 +6388,9 @@ export declare const CartItemFragmentFragmentDoc: import("graphql").DocumentNode
|
|
|
5610
6388
|
export declare const CategoryFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5611
6389
|
export declare const ColorFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5612
6390
|
export declare const CustomFieldFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5613
|
-
export declare const
|
|
6391
|
+
export declare const CustomerEmailAddressFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5614
6392
|
export declare const CustomerTelephoneNumberFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
6393
|
+
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5615
6394
|
export declare const FileThumbnailsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
5616
6395
|
export declare const FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
5617
6396
|
export declare const FileUploadUrlFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -5636,11 +6415,26 @@ export declare const PaginatedColorsDocument: import("graphql").DocumentNode;
|
|
|
5636
6415
|
export declare const InfiniteCustomFieldsDocument: import("graphql").DocumentNode;
|
|
5637
6416
|
export declare const PaginatedCustomFieldsDocument: import("graphql").DocumentNode;
|
|
5638
6417
|
export declare const CustomFieldDocument: import("graphql").DocumentNode;
|
|
5639
|
-
export declare const
|
|
5640
|
-
export declare const
|
|
6418
|
+
export declare const CreateCustomerAddressDocument: import("graphql").DocumentNode;
|
|
6419
|
+
export declare const UpdateCustomerAddressDocument: import("graphql").DocumentNode;
|
|
6420
|
+
export declare const DeleteCustomerAddressDocument: import("graphql").DocumentNode;
|
|
6421
|
+
export declare const InfiniteCustomerAddressDocument: import("graphql").DocumentNode;
|
|
6422
|
+
export declare const PaginatedCustomerAddressDocument: import("graphql").DocumentNode;
|
|
6423
|
+
export declare const CreateCustomerEmailAddressDocument: import("graphql").DocumentNode;
|
|
6424
|
+
export declare const UpdateCustomerEmailAddressDocument: import("graphql").DocumentNode;
|
|
6425
|
+
export declare const DeleteCustomerEmailAddressDocument: import("graphql").DocumentNode;
|
|
6426
|
+
export declare const InfiniteCustomerEmailAddressDocument: import("graphql").DocumentNode;
|
|
6427
|
+
export declare const PaginatedCustomerEmailAddressDocument: import("graphql").DocumentNode;
|
|
6428
|
+
export declare const CreateCustomerTelephoneNumberDocument: import("graphql").DocumentNode;
|
|
6429
|
+
export declare const UpdateCustomerTelephoneNumberDocument: import("graphql").DocumentNode;
|
|
6430
|
+
export declare const DeleteCustomerTelephoneNumberDocument: import("graphql").DocumentNode;
|
|
6431
|
+
export declare const InfiniteCustomerTelephoneNumberDocument: import("graphql").DocumentNode;
|
|
6432
|
+
export declare const PaginatedCustomerTelephoneNumberDocument: import("graphql").DocumentNode;
|
|
5641
6433
|
export declare const InfiniteCustomersDocument: import("graphql").DocumentNode;
|
|
5642
6434
|
export declare const PaginatedCustomersDocument: import("graphql").DocumentNode;
|
|
5643
6435
|
export declare const CustomerDocument: import("graphql").DocumentNode;
|
|
6436
|
+
export declare const CreateCustomerDocument: import("graphql").DocumentNode;
|
|
6437
|
+
export declare const UpdateCustomerDocument: import("graphql").DocumentNode;
|
|
5644
6438
|
export declare const InitiateFileUploadDocument: import("graphql").DocumentNode;
|
|
5645
6439
|
export declare const CompleteFileUploadDocument: import("graphql").DocumentNode;
|
|
5646
6440
|
export declare const FileDocument: import("graphql").DocumentNode;
|