@dokamerce/web-sdk 0.17.0 → 0.22.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 +1531 -412
- package/dist/graphql/__generated__/gateway.js +312 -116
- package/dist/graphql/__generated__/gateway.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web-sdk/src/functions/init-sdk-client.function.d.ts +3 -3
- package/dist/web-sdk/src/functions/init-sdk-client.function.js +3 -2
- package/dist/web-sdk/src/functions/init-sdk-client.function.js.map +1 -1
- package/dist/web-sdk/src/functions/init-sdk.function.d.ts +3 -3
- package/dist/web-sdk/src/functions/init-sdk.function.js +2 -1
- package/dist/web-sdk/src/functions/init-sdk.function.js.map +1 -1
- package/dist/web-sdk/src/index.d.ts +5 -12
- package/dist/web-sdk/src/index.js +18 -34
- package/dist/web-sdk/src/index.js.map +1 -1
- package/dist/web-sdk/src/main.d.ts +10 -0
- package/dist/web-sdk/src/main.js +40 -0
- package/dist/web-sdk/src/main.js.map +1 -0
- package/dist/web-sdk/src/services/attributes.d.ts +1 -1
- package/dist/web-sdk/src/services/cart.d.ts +10 -0
- package/dist/web-sdk/src/services/cart.js +33 -0
- package/dist/web-sdk/src/services/cart.js.map +1 -0
- package/dist/web-sdk/src/services/index.d.ts +2 -0
- package/dist/web-sdk/src/services/index.js +2 -0
- package/dist/web-sdk/src/services/index.js.map +1 -1
- package/dist/web-sdk/src/services/orders.d.ts +2 -3
- package/dist/web-sdk/src/services/orders.js +4 -9
- package/dist/web-sdk/src/services/orders.js.map +1 -1
- package/dist/web-sdk/src/services/products.d.ts +1 -1
- package/dist/web-sdk/src/typings/sdk.typing.d.ts +4 -4
- package/package.json +3 -2
|
@@ -53,6 +53,14 @@ export type Scalars = {
|
|
|
53
53
|
output: any;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
|
+
export type AddToCartInput = {
|
|
57
|
+
addressId?: InputMaybe<Scalars['ID']['input']>;
|
|
58
|
+
productId: Scalars['ID']['input'];
|
|
59
|
+
quantity?: Scalars['Int']['input'];
|
|
60
|
+
sellerId: Scalars['ID']['input'];
|
|
61
|
+
shippingId?: InputMaybe<Scalars['ID']['input']>;
|
|
62
|
+
variantId?: InputMaybe<Scalars['ID']['input']>;
|
|
63
|
+
};
|
|
56
64
|
export type Attribute = {
|
|
57
65
|
__typename?: 'Attribute';
|
|
58
66
|
active: Scalars['Boolean']['output'];
|
|
@@ -71,7 +79,7 @@ export declare enum AttributeFieldsEnum {
|
|
|
71
79
|
}
|
|
72
80
|
export type AttributeFilter = {
|
|
73
81
|
id?: InputMaybe<IdArrayFilter>;
|
|
74
|
-
name?: InputMaybe<
|
|
82
|
+
name?: InputMaybe<StringFilter>;
|
|
75
83
|
};
|
|
76
84
|
export type AttributeSort = {
|
|
77
85
|
field: AttributeFieldsEnum;
|
|
@@ -111,15 +119,41 @@ export declare enum BrandFieldsEnum {
|
|
|
111
119
|
export type BrandFilter = {
|
|
112
120
|
active?: InputMaybe<BooleanFilter>;
|
|
113
121
|
id?: InputMaybe<IdArrayFilter>;
|
|
114
|
-
name?: InputMaybe<
|
|
115
|
-
slug?: InputMaybe<
|
|
122
|
+
name?: InputMaybe<StringFilter>;
|
|
123
|
+
slug?: InputMaybe<StringFilter>;
|
|
116
124
|
};
|
|
117
125
|
export type BrandSort = {
|
|
118
126
|
field: BrandFieldsEnum;
|
|
119
127
|
order?: InputMaybe<SortOrderEnum>;
|
|
120
128
|
};
|
|
129
|
+
export type Cart = {
|
|
130
|
+
__typename?: 'Cart';
|
|
131
|
+
address?: Maybe<CustomerAddress>;
|
|
132
|
+
amount: Scalars['Float']['output'];
|
|
133
|
+
items: Array<CartItem>;
|
|
134
|
+
shippingCost: Scalars['Float']['output'];
|
|
135
|
+
taxAmount: Scalars['Float']['output'];
|
|
136
|
+
totalAmount: Scalars['Float']['output'];
|
|
137
|
+
};
|
|
138
|
+
export type CartItem = {
|
|
139
|
+
__typename?: 'CartItem';
|
|
140
|
+
address?: Maybe<CustomerAddress>;
|
|
141
|
+
amount: Scalars['Float']['output'];
|
|
142
|
+
createdAt: Scalars['DateTime']['output'];
|
|
143
|
+
discountValue: Scalars['Float']['output'];
|
|
144
|
+
id: Scalars['ID']['output'];
|
|
145
|
+
product: Product;
|
|
146
|
+
quantity: Scalars['Float']['output'];
|
|
147
|
+
seller?: Maybe<Seller>;
|
|
148
|
+
shippingCost: Scalars['Float']['output'];
|
|
149
|
+
taxAmount: Scalars['Float']['output'];
|
|
150
|
+
totalAmount: Scalars['Float']['output'];
|
|
151
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
152
|
+
variants: Array<ProductVariant>;
|
|
153
|
+
};
|
|
121
154
|
export type Category = {
|
|
122
155
|
__typename?: 'Category';
|
|
156
|
+
active: Scalars['Boolean']['output'];
|
|
123
157
|
children?: Maybe<Array<Category>>;
|
|
124
158
|
createdAt: Scalars['DateTime']['output'];
|
|
125
159
|
description?: Maybe<Scalars['String']['output']>;
|
|
@@ -139,8 +173,8 @@ export declare enum CategoryFieldsEnum {
|
|
|
139
173
|
}
|
|
140
174
|
export type CategoryFilter = {
|
|
141
175
|
id?: InputMaybe<IdArrayFilter>;
|
|
142
|
-
name?: InputMaybe<
|
|
143
|
-
slug?: InputMaybe<
|
|
176
|
+
name?: InputMaybe<StringFilter>;
|
|
177
|
+
slug?: InputMaybe<StringFilter>;
|
|
144
178
|
};
|
|
145
179
|
export type CategorySort = {
|
|
146
180
|
field: CategoryFieldsEnum;
|
|
@@ -162,7 +196,7 @@ export declare enum ColorFieldsEnum {
|
|
|
162
196
|
}
|
|
163
197
|
export type ColorFilter = {
|
|
164
198
|
id?: InputMaybe<IdArrayFilter>;
|
|
165
|
-
name?: InputMaybe<
|
|
199
|
+
name?: InputMaybe<StringFilter>;
|
|
166
200
|
};
|
|
167
201
|
export type ColorSort = {
|
|
168
202
|
field: ColorFieldsEnum;
|
|
@@ -469,9 +503,6 @@ export type CreateCustomerTelephoneNumberInput = {
|
|
|
469
503
|
targets?: InputMaybe<Array<TelephoneNumberTarget>>;
|
|
470
504
|
value: Scalars['String']['input'];
|
|
471
505
|
};
|
|
472
|
-
export type CreateOrderInput = {
|
|
473
|
-
total: Scalars['Float']['input'];
|
|
474
|
-
};
|
|
475
506
|
export type CreateProductInput = {
|
|
476
507
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
477
508
|
brandId: Scalars['ID']['input'];
|
|
@@ -491,6 +522,7 @@ export type CreateProductInput = {
|
|
|
491
522
|
name: Scalars['String']['input'];
|
|
492
523
|
price: Scalars['Float']['input'];
|
|
493
524
|
publishedAt: Scalars['DateTime']['input'];
|
|
525
|
+
seller?: InputMaybe<ProductSellerInput>;
|
|
494
526
|
shippingId?: InputMaybe<Scalars['ID']['input']>;
|
|
495
527
|
sizeGroupId: Scalars['ID']['input'];
|
|
496
528
|
status: ProductType;
|
|
@@ -536,8 +568,12 @@ export declare enum CustomFieldFieldsEnum {
|
|
|
536
568
|
Values = "values"
|
|
537
569
|
}
|
|
538
570
|
export type CustomFieldFilter = {
|
|
571
|
+
enabled?: InputMaybe<BooleanFilter>;
|
|
539
572
|
id?: InputMaybe<IdArrayFilter>;
|
|
540
|
-
name?: InputMaybe<
|
|
573
|
+
name?: InputMaybe<StringFilter>;
|
|
574
|
+
required?: InputMaybe<StringFilter>;
|
|
575
|
+
target?: InputMaybe<CustomFieldTargetEnumFilter>;
|
|
576
|
+
type?: InputMaybe<CustomFieldTypeEnumFilter>;
|
|
541
577
|
};
|
|
542
578
|
export type CustomFieldSort = {
|
|
543
579
|
field: CustomFieldFieldsEnum;
|
|
@@ -546,8 +582,15 @@ export type CustomFieldSort = {
|
|
|
546
582
|
export declare enum CustomFieldTarget {
|
|
547
583
|
Customer = "CUSTOMER",
|
|
548
584
|
Order = "ORDER",
|
|
549
|
-
Product = "PRODUCT"
|
|
585
|
+
Product = "PRODUCT",
|
|
586
|
+
Seller = "SELLER"
|
|
550
587
|
}
|
|
588
|
+
export type CustomFieldTargetEnumFilter = {
|
|
589
|
+
equals?: InputMaybe<CustomFieldTarget>;
|
|
590
|
+
in?: InputMaybe<Array<CustomFieldTarget>>;
|
|
591
|
+
not?: InputMaybe<CustomFieldTarget>;
|
|
592
|
+
notIn?: InputMaybe<Array<CustomFieldTarget>>;
|
|
593
|
+
};
|
|
551
594
|
export declare enum CustomFieldType {
|
|
552
595
|
Boolean = "BOOLEAN",
|
|
553
596
|
Date = "DATE",
|
|
@@ -556,6 +599,12 @@ export declare enum CustomFieldType {
|
|
|
556
599
|
Number = "NUMBER",
|
|
557
600
|
Shorttext = "SHORTTEXT"
|
|
558
601
|
}
|
|
602
|
+
export type CustomFieldTypeEnumFilter = {
|
|
603
|
+
equals?: InputMaybe<CustomFieldType>;
|
|
604
|
+
in?: InputMaybe<Array<CustomFieldType>>;
|
|
605
|
+
not?: InputMaybe<CustomFieldType>;
|
|
606
|
+
notIn?: InputMaybe<Array<CustomFieldType>>;
|
|
607
|
+
};
|
|
559
608
|
export type Customer = {
|
|
560
609
|
__typename?: 'Customer';
|
|
561
610
|
active: Scalars['Boolean']['output'];
|
|
@@ -599,8 +648,8 @@ export declare enum CustomerAddressFieldsEnum {
|
|
|
599
648
|
RegionName = "regionName"
|
|
600
649
|
}
|
|
601
650
|
export type CustomerAddressFilter = {
|
|
602
|
-
address?: InputMaybe<
|
|
603
|
-
address2?: InputMaybe<
|
|
651
|
+
address?: InputMaybe<StringFilter>;
|
|
652
|
+
address2?: InputMaybe<StringFilter>;
|
|
604
653
|
id?: InputMaybe<IdArrayFilter>;
|
|
605
654
|
};
|
|
606
655
|
export type CustomerAddressSort = {
|
|
@@ -616,10 +665,10 @@ export declare enum CustomerFieldsEnum {
|
|
|
616
665
|
Username = "username"
|
|
617
666
|
}
|
|
618
667
|
export type CustomerFilter = {
|
|
619
|
-
active?: InputMaybe<
|
|
668
|
+
active?: InputMaybe<BooleanFilter>;
|
|
620
669
|
id?: InputMaybe<IdArrayFilter>;
|
|
621
|
-
name?: InputMaybe<
|
|
622
|
-
username?: InputMaybe<
|
|
670
|
+
name?: InputMaybe<StringFilter>;
|
|
671
|
+
username?: InputMaybe<StringFilter>;
|
|
623
672
|
};
|
|
624
673
|
export type CustomerSort = {
|
|
625
674
|
field: CustomerFieldsEnum;
|
|
@@ -642,11 +691,11 @@ export declare enum CustomerTelephoneNumberFieldsEnum {
|
|
|
642
691
|
}
|
|
643
692
|
export type CustomerTelephoneNumberFilter = {
|
|
644
693
|
createdAt?: InputMaybe<DateTimeArrayFilter>;
|
|
645
|
-
customType?: InputMaybe<
|
|
694
|
+
customType?: InputMaybe<StringFilter>;
|
|
646
695
|
id?: InputMaybe<IdArrayFilter>;
|
|
647
696
|
targets?: InputMaybe<TelephoneNumbersTypeEnumArrayFilter>;
|
|
648
697
|
updatedAt?: InputMaybe<DateTimeArrayFilter>;
|
|
649
|
-
value?: InputMaybe<
|
|
698
|
+
value?: InputMaybe<StringFilter>;
|
|
650
699
|
};
|
|
651
700
|
export type CustomerTelephoneNumberSort = {
|
|
652
701
|
field: CustomerTelephoneNumberFieldsEnum;
|
|
@@ -898,7 +947,7 @@ export declare enum MetricFieldsEnum {
|
|
|
898
947
|
}
|
|
899
948
|
export type MetricFilter = {
|
|
900
949
|
id?: InputMaybe<IdArrayFilter>;
|
|
901
|
-
name?: InputMaybe<
|
|
950
|
+
name?: InputMaybe<StringFilter>;
|
|
902
951
|
};
|
|
903
952
|
export type MetricSort = {
|
|
904
953
|
field: MetricFieldsEnum;
|
|
@@ -906,25 +955,32 @@ export type MetricSort = {
|
|
|
906
955
|
};
|
|
907
956
|
export type Mutation = {
|
|
908
957
|
__typename?: 'Mutation';
|
|
958
|
+
addToCart?: Maybe<Cart>;
|
|
909
959
|
completeFileUpload: File;
|
|
910
960
|
createCustomer: Customer;
|
|
911
961
|
createCustomerAddress: CustomerAddress;
|
|
912
962
|
createCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
913
|
-
createOrder: Order;
|
|
914
963
|
createProduct: Product;
|
|
915
964
|
createSeller: Seller;
|
|
916
965
|
deleteCustomerAddress: Status;
|
|
917
966
|
deleteCustomerTelephoneNumber: Status;
|
|
918
967
|
deleteProduct: Status;
|
|
919
968
|
deleteSeller: Status;
|
|
969
|
+
finalizeOrder: Order;
|
|
920
970
|
initiateFileUpload: FileUpload;
|
|
971
|
+
removeFromCart?: Maybe<Cart>;
|
|
972
|
+
setCartAddress?: Maybe<Cart>;
|
|
973
|
+
updateCartItem?: Maybe<Cart>;
|
|
921
974
|
updateCustomer: Customer;
|
|
922
975
|
updateCustomerAddress: CustomerAddress;
|
|
923
976
|
updateCustomerTelephoneNumber: CustomerTelephoneNumber;
|
|
924
|
-
updateOrder: Order;
|
|
925
977
|
updateProduct: Product;
|
|
926
978
|
updateSeller: Seller;
|
|
927
979
|
};
|
|
980
|
+
export type MutationAddToCartArgs = {
|
|
981
|
+
customerId: Scalars['ID']['input'];
|
|
982
|
+
data: Array<AddToCartInput>;
|
|
983
|
+
};
|
|
928
984
|
export type MutationCompleteFileUploadArgs = {
|
|
929
985
|
data: CompleteFileUploadInput;
|
|
930
986
|
id: Scalars['ID']['input'];
|
|
@@ -938,9 +994,6 @@ export type MutationCreateCustomerAddressArgs = {
|
|
|
938
994
|
export type MutationCreateCustomerTelephoneNumberArgs = {
|
|
939
995
|
data: CreateCustomerTelephoneNumberInput;
|
|
940
996
|
};
|
|
941
|
-
export type MutationCreateOrderArgs = {
|
|
942
|
-
data: CreateOrderInput;
|
|
943
|
-
};
|
|
944
997
|
export type MutationCreateProductArgs = {
|
|
945
998
|
data: CreateProductInput;
|
|
946
999
|
};
|
|
@@ -959,9 +1012,25 @@ export type MutationDeleteProductArgs = {
|
|
|
959
1012
|
export type MutationDeleteSellerArgs = {
|
|
960
1013
|
id: Scalars['ID']['input'];
|
|
961
1014
|
};
|
|
1015
|
+
export type MutationFinalizeOrderArgs = {
|
|
1016
|
+
customerId: Scalars['ID']['input'];
|
|
1017
|
+
};
|
|
962
1018
|
export type MutationInitiateFileUploadArgs = {
|
|
963
1019
|
data: InitiateFileUploadInput;
|
|
964
1020
|
};
|
|
1021
|
+
export type MutationRemoveFromCartArgs = {
|
|
1022
|
+
cartItemId: Scalars['ID']['input'];
|
|
1023
|
+
customerId: Scalars['ID']['input'];
|
|
1024
|
+
};
|
|
1025
|
+
export type MutationSetCartAddressArgs = {
|
|
1026
|
+
addressId: Scalars['ID']['input'];
|
|
1027
|
+
customerId: Scalars['ID']['input'];
|
|
1028
|
+
};
|
|
1029
|
+
export type MutationUpdateCartItemArgs = {
|
|
1030
|
+
cartItemId: Scalars['ID']['input'];
|
|
1031
|
+
customerId: Scalars['ID']['input'];
|
|
1032
|
+
data: UpdateCartItemInput;
|
|
1033
|
+
};
|
|
965
1034
|
export type MutationUpdateCustomerArgs = {
|
|
966
1035
|
data: UpdateCustomerInput;
|
|
967
1036
|
id: Scalars['ID']['input'];
|
|
@@ -974,10 +1043,6 @@ export type MutationUpdateCustomerTelephoneNumberArgs = {
|
|
|
974
1043
|
data: UpdateCustomerTelephoneNumberInput;
|
|
975
1044
|
id: Scalars['ID']['input'];
|
|
976
1045
|
};
|
|
977
|
-
export type MutationUpdateOrderArgs = {
|
|
978
|
-
data: UpdateOrderInput;
|
|
979
|
-
id: Scalars['ID']['input'];
|
|
980
|
-
};
|
|
981
1046
|
export type MutationUpdateProductArgs = {
|
|
982
1047
|
data: UpdateProductInput;
|
|
983
1048
|
id: Scalars['ID']['input'];
|
|
@@ -998,21 +1063,31 @@ export type NumberFilter = {
|
|
|
998
1063
|
};
|
|
999
1064
|
export type Order = {
|
|
1000
1065
|
__typename?: 'Order';
|
|
1066
|
+
amount: Scalars['Int']['output'];
|
|
1001
1067
|
createdAt: Scalars['DateTime']['output'];
|
|
1002
1068
|
customer: Customer;
|
|
1003
1069
|
id: Scalars['ID']['output'];
|
|
1004
|
-
|
|
1070
|
+
month: Scalars['Int']['output'];
|
|
1071
|
+
quantity: Scalars['Int']['output'];
|
|
1072
|
+
shippingCost: Scalars['Int']['output'];
|
|
1073
|
+
taxAmount: Scalars['Int']['output'];
|
|
1074
|
+
totalAmount: Scalars['Int']['output'];
|
|
1005
1075
|
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1076
|
+
year: Scalars['Int']['output'];
|
|
1006
1077
|
};
|
|
1007
1078
|
export declare enum OrderFieldsEnum {
|
|
1079
|
+
Amount = "amount",
|
|
1008
1080
|
CreatedAt = "createdAt",
|
|
1009
1081
|
Id = "id",
|
|
1010
|
-
|
|
1082
|
+
Quantity = "quantity",
|
|
1083
|
+
ShippingCost = "shippingCost",
|
|
1084
|
+
TaxAmount = "taxAmount",
|
|
1085
|
+
TotalAmount = "totalAmount",
|
|
1011
1086
|
UpdatedAt = "updatedAt"
|
|
1012
1087
|
}
|
|
1013
1088
|
export type OrderFilter = {
|
|
1014
1089
|
id?: InputMaybe<IdArrayFilter>;
|
|
1015
|
-
name?: InputMaybe<
|
|
1090
|
+
name?: InputMaybe<StringFilter>;
|
|
1016
1091
|
};
|
|
1017
1092
|
export type OrderSort = {
|
|
1018
1093
|
field: OrderFieldsEnum;
|
|
@@ -1174,6 +1249,7 @@ export type Product = {
|
|
|
1174
1249
|
condition: ProductCondition;
|
|
1175
1250
|
content?: Maybe<Scalars['String']['output']>;
|
|
1176
1251
|
createdAt: Scalars['DateTime']['output'];
|
|
1252
|
+
deletedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1177
1253
|
description?: Maybe<Scalars['String']['output']>;
|
|
1178
1254
|
featured: Scalars['Boolean']['output'];
|
|
1179
1255
|
files: Array<ProductFile>;
|
|
@@ -1186,13 +1262,14 @@ export type Product = {
|
|
|
1186
1262
|
name: Scalars['String']['output'];
|
|
1187
1263
|
price: Scalars['Float']['output'];
|
|
1188
1264
|
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1265
|
+
sellers: Array<ProductSeller>;
|
|
1189
1266
|
slug: Scalars['String']['output'];
|
|
1190
1267
|
soldCount: Scalars['Int']['output'];
|
|
1191
1268
|
status: ProductStatus;
|
|
1192
1269
|
thumbnail: File;
|
|
1193
1270
|
todayDeal: Scalars['Boolean']['output'];
|
|
1194
1271
|
type: ProductType;
|
|
1195
|
-
updatedAt
|
|
1272
|
+
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1196
1273
|
variants: Array<ProductVariant>;
|
|
1197
1274
|
views: Scalars['Int']['output'];
|
|
1198
1275
|
warrantyDescription?: Maybe<Scalars['String']['output']>;
|
|
@@ -1253,19 +1330,45 @@ export type ProductFilter = {
|
|
|
1253
1330
|
condition?: InputMaybe<ProductConditionEnumFilter>;
|
|
1254
1331
|
featured?: InputMaybe<BooleanFilter>;
|
|
1255
1332
|
id?: InputMaybe<IdArrayFilter>;
|
|
1256
|
-
metaDescription?: InputMaybe<
|
|
1257
|
-
metaKeywords?: InputMaybe<
|
|
1258
|
-
metaTitle?: InputMaybe<
|
|
1259
|
-
name?: InputMaybe<
|
|
1333
|
+
metaDescription?: InputMaybe<StringFilter>;
|
|
1334
|
+
metaKeywords?: InputMaybe<StringFilter>;
|
|
1335
|
+
metaTitle?: InputMaybe<StringFilter>;
|
|
1336
|
+
name?: InputMaybe<StringFilter>;
|
|
1260
1337
|
price?: InputMaybe<NumberFilter>;
|
|
1261
1338
|
publishedAt?: InputMaybe<DateTimeFilter>;
|
|
1262
|
-
slug?: InputMaybe<
|
|
1339
|
+
slug?: InputMaybe<StringFilter>;
|
|
1263
1340
|
soldCount?: InputMaybe<NumberFilter>;
|
|
1264
1341
|
status?: InputMaybe<ProductStatusEnumFilter>;
|
|
1265
1342
|
todayDeal?: InputMaybe<BooleanFilter>;
|
|
1266
1343
|
type?: InputMaybe<ProductTypeEnumFilter>;
|
|
1267
1344
|
views?: InputMaybe<NumberFilter>;
|
|
1268
1345
|
};
|
|
1346
|
+
export type ProductSeller = {
|
|
1347
|
+
__typename?: 'ProductSeller';
|
|
1348
|
+
active?: Maybe<Scalars['Boolean']['output']>;
|
|
1349
|
+
barcode?: Maybe<Scalars['String']['output']>;
|
|
1350
|
+
discountEndAt?: Maybe<Scalars['Float']['output']>;
|
|
1351
|
+
discountFixed?: Maybe<Scalars['Float']['output']>;
|
|
1352
|
+
discountPercentage?: Maybe<Scalars['Float']['output']>;
|
|
1353
|
+
discountStartAt?: Maybe<Scalars['Float']['output']>;
|
|
1354
|
+
priceDiff: Scalars['Float']['output'];
|
|
1355
|
+
quantity: Scalars['Int']['output'];
|
|
1356
|
+
seller: Seller;
|
|
1357
|
+
sku?: Maybe<Scalars['String']['output']>;
|
|
1358
|
+
variant?: Maybe<Array<ProductVariant>>;
|
|
1359
|
+
};
|
|
1360
|
+
export type ProductSellerInput = {
|
|
1361
|
+
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1362
|
+
barcode?: InputMaybe<Scalars['String']['input']>;
|
|
1363
|
+
discountEndAt?: InputMaybe<Scalars['Float']['input']>;
|
|
1364
|
+
discountFixed?: InputMaybe<Scalars['Float']['input']>;
|
|
1365
|
+
discountPercentage?: InputMaybe<Scalars['Float']['input']>;
|
|
1366
|
+
discountStartAt?: InputMaybe<Scalars['Float']['input']>;
|
|
1367
|
+
priceDiff: Scalars['Float']['input'];
|
|
1368
|
+
quantity: Scalars['Int']['input'];
|
|
1369
|
+
sellerId?: InputMaybe<Scalars['ID']['input']>;
|
|
1370
|
+
sku?: InputMaybe<Scalars['String']['input']>;
|
|
1371
|
+
};
|
|
1269
1372
|
export type ProductSort = {
|
|
1270
1373
|
field: ProductFieldsEnum;
|
|
1271
1374
|
order?: InputMaybe<SortOrderEnum>;
|
|
@@ -1298,7 +1401,6 @@ export type ProductVariant = {
|
|
|
1298
1401
|
attributes: Array<ProductVariantAttribute>;
|
|
1299
1402
|
default: Scalars['Boolean']['output'];
|
|
1300
1403
|
id: Scalars['ID']['output'];
|
|
1301
|
-
sellers: Array<ProductVariantSeller>;
|
|
1302
1404
|
};
|
|
1303
1405
|
export type ProductVariantAttribute = {
|
|
1304
1406
|
__typename?: 'ProductVariantAttribute';
|
|
@@ -1313,38 +1415,7 @@ export type ProductVariantInput = {
|
|
|
1313
1415
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1314
1416
|
attributes: Array<ProductVariantAttributeInput>;
|
|
1315
1417
|
color?: InputMaybe<Scalars['String']['input']>;
|
|
1316
|
-
sellers?: InputMaybe<Array<
|
|
1317
|
-
};
|
|
1318
|
-
export type ProductVariantSeller = {
|
|
1319
|
-
__typename?: 'ProductVariantSeller';
|
|
1320
|
-
active?: Maybe<Scalars['Boolean']['output']>;
|
|
1321
|
-
barcode?: Maybe<Scalars['String']['output']>;
|
|
1322
|
-
discountEndAt?: Maybe<Scalars['Float']['output']>;
|
|
1323
|
-
discountFixed?: Maybe<Scalars['Float']['output']>;
|
|
1324
|
-
discountPercentage?: Maybe<Scalars['Float']['output']>;
|
|
1325
|
-
discountStartAt?: Maybe<Scalars['Float']['output']>;
|
|
1326
|
-
priceDiff: Scalars['Float']['output'];
|
|
1327
|
-
quantity: Scalars['Int']['output'];
|
|
1328
|
-
seller: Seller;
|
|
1329
|
-
sku?: Maybe<Scalars['String']['output']>;
|
|
1330
|
-
stock: ProductVariantStock;
|
|
1331
|
-
};
|
|
1332
|
-
export type ProductVariantSellerInput = {
|
|
1333
|
-
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1334
|
-
barcode?: InputMaybe<Scalars['String']['input']>;
|
|
1335
|
-
discountEndAt?: InputMaybe<Scalars['Float']['input']>;
|
|
1336
|
-
discountFixed?: InputMaybe<Scalars['Float']['input']>;
|
|
1337
|
-
discountPercentage?: InputMaybe<Scalars['Float']['input']>;
|
|
1338
|
-
discountStartAt?: InputMaybe<Scalars['Float']['input']>;
|
|
1339
|
-
priceDiff: Scalars['Float']['input'];
|
|
1340
|
-
quantity: Scalars['Int']['input'];
|
|
1341
|
-
sellerId?: InputMaybe<Scalars['ID']['input']>;
|
|
1342
|
-
sku?: InputMaybe<Scalars['String']['input']>;
|
|
1343
|
-
};
|
|
1344
|
-
export type ProductVariantStock = {
|
|
1345
|
-
__typename?: 'ProductVariantStock';
|
|
1346
|
-
quantity: Scalars['Int']['output'];
|
|
1347
|
-
seller: Array<Seller>;
|
|
1418
|
+
sellers?: InputMaybe<Array<ProductSellerInput>>;
|
|
1348
1419
|
};
|
|
1349
1420
|
export type Query = {
|
|
1350
1421
|
__typename?: 'Query';
|
|
@@ -1353,6 +1424,7 @@ export type Query = {
|
|
|
1353
1424
|
allTimeZones: Array<TimeZone>;
|
|
1354
1425
|
attribute?: Maybe<Array<Attribute>>;
|
|
1355
1426
|
brand?: Maybe<Array<Brand>>;
|
|
1427
|
+
cart?: Maybe<Cart>;
|
|
1356
1428
|
customField?: Maybe<Array<CustomField>>;
|
|
1357
1429
|
customer?: Maybe<Customer>;
|
|
1358
1430
|
customerCustomerAddress?: Maybe<CustomerAddress>;
|
|
@@ -1407,6 +1479,9 @@ export type QueryAttributeArgs = {
|
|
|
1407
1479
|
export type QueryBrandArgs = {
|
|
1408
1480
|
id: Scalars['ID']['input'];
|
|
1409
1481
|
};
|
|
1482
|
+
export type QueryCartArgs = {
|
|
1483
|
+
customerId: Scalars['ID']['input'];
|
|
1484
|
+
};
|
|
1410
1485
|
export type QueryCustomFieldArgs = {
|
|
1411
1486
|
id: Scalars['ID']['input'];
|
|
1412
1487
|
};
|
|
@@ -1716,7 +1791,7 @@ export declare enum SellerFieldsEnum {
|
|
|
1716
1791
|
}
|
|
1717
1792
|
export type SellerFilter = {
|
|
1718
1793
|
id?: InputMaybe<IdArrayFilter>;
|
|
1719
|
-
name?: InputMaybe<
|
|
1794
|
+
name?: InputMaybe<StringFilter>;
|
|
1720
1795
|
};
|
|
1721
1796
|
export type SellerSort = {
|
|
1722
1797
|
field: SellerFieldsEnum;
|
|
@@ -1738,7 +1813,7 @@ export declare enum SizeFieldsEnum {
|
|
|
1738
1813
|
}
|
|
1739
1814
|
export type SizeFilter = {
|
|
1740
1815
|
id?: InputMaybe<IdArrayFilter>;
|
|
1741
|
-
name?: InputMaybe<
|
|
1816
|
+
name?: InputMaybe<StringFilter>;
|
|
1742
1817
|
};
|
|
1743
1818
|
export type SizeGroup = {
|
|
1744
1819
|
__typename?: 'SizeGroup';
|
|
@@ -1771,11 +1846,6 @@ export declare enum StatusEnum {
|
|
|
1771
1846
|
Error = "ERROR",
|
|
1772
1847
|
Ok = "OK"
|
|
1773
1848
|
}
|
|
1774
|
-
export type StringArrayFilter = {
|
|
1775
|
-
every?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1776
|
-
none?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1777
|
-
some?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1778
|
-
};
|
|
1779
1849
|
export type StringFilter = {
|
|
1780
1850
|
contains?: InputMaybe<Scalars['String']['input']>;
|
|
1781
1851
|
endsWith?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1812,7 +1882,7 @@ export declare enum TagFieldsEnum {
|
|
|
1812
1882
|
}
|
|
1813
1883
|
export type TagFilter = {
|
|
1814
1884
|
id?: InputMaybe<IdArrayFilter>;
|
|
1815
|
-
name?: InputMaybe<
|
|
1885
|
+
name?: InputMaybe<StringFilter>;
|
|
1816
1886
|
};
|
|
1817
1887
|
export type TagSort = {
|
|
1818
1888
|
field: TagFieldsEnum;
|
|
@@ -2483,6 +2553,11 @@ export declare enum UnitType {
|
|
|
2483
2553
|
Volume = "VOLUME",
|
|
2484
2554
|
Weight = "WEIGHT"
|
|
2485
2555
|
}
|
|
2556
|
+
export type UpdateCartItemInput = {
|
|
2557
|
+
addressId?: InputMaybe<Scalars['ID']['input']>;
|
|
2558
|
+
quantity?: Scalars['Int']['input'];
|
|
2559
|
+
shippingId?: InputMaybe<Scalars['ID']['input']>;
|
|
2560
|
+
};
|
|
2486
2561
|
export type UpdateCustomerAddressInput = {
|
|
2487
2562
|
address?: InputMaybe<Scalars['String']['input']>;
|
|
2488
2563
|
address2?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2509,9 +2584,6 @@ export type UpdateCustomerTelephoneNumberInput = {
|
|
|
2509
2584
|
targets?: InputMaybe<Array<TelephoneNumberTarget>>;
|
|
2510
2585
|
value?: InputMaybe<Scalars['String']['input']>;
|
|
2511
2586
|
};
|
|
2512
|
-
export type UpdateOrderInput = {
|
|
2513
|
-
total?: InputMaybe<Scalars['Float']['input']>;
|
|
2514
|
-
};
|
|
2515
2587
|
export type UpdateProductInput = {
|
|
2516
2588
|
active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2517
2589
|
brandId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -2531,6 +2603,7 @@ export type UpdateProductInput = {
|
|
|
2531
2603
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
2532
2604
|
price?: InputMaybe<Scalars['Float']['input']>;
|
|
2533
2605
|
publishedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
|
2606
|
+
seller?: InputMaybe<ProductSellerInput>;
|
|
2534
2607
|
shippingId?: InputMaybe<Scalars['ID']['input']>;
|
|
2535
2608
|
sizeGroupId?: InputMaybe<Scalars['ID']['input']>;
|
|
2536
2609
|
status?: InputMaybe<ProductType>;
|
|
@@ -2734,132 +2807,763 @@ export type PaginatedBrandsQuery = {
|
|
|
2734
2807
|
};
|
|
2735
2808
|
} | null;
|
|
2736
2809
|
};
|
|
2737
|
-
export type
|
|
2738
|
-
__typename?: '
|
|
2810
|
+
export type CartFragmentFragment = {
|
|
2811
|
+
__typename?: 'Cart';
|
|
2812
|
+
amount: number;
|
|
2813
|
+
shippingCost: number;
|
|
2814
|
+
taxAmount: number;
|
|
2815
|
+
totalAmount: number;
|
|
2816
|
+
};
|
|
2817
|
+
export type CartItemFragmentFragment = {
|
|
2818
|
+
__typename?: 'CartItem';
|
|
2739
2819
|
id: string;
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2820
|
+
amount: number;
|
|
2821
|
+
discountValue: number;
|
|
2822
|
+
quantity: number;
|
|
2823
|
+
shippingCost: number;
|
|
2824
|
+
taxAmount: number;
|
|
2825
|
+
totalAmount: number;
|
|
2743
2826
|
createdAt: any;
|
|
2744
2827
|
updatedAt: any;
|
|
2745
|
-
|
|
2746
|
-
__typename?: '
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2828
|
+
address?: {
|
|
2829
|
+
__typename?: 'CustomerAddress';
|
|
2830
|
+
id: string;
|
|
2831
|
+
address?: string | null;
|
|
2832
|
+
address2?: string | null;
|
|
2833
|
+
createdAt: any;
|
|
2834
|
+
updatedAt: any;
|
|
2835
|
+
} | null;
|
|
2836
|
+
product: {
|
|
2837
|
+
__typename?: 'Product';
|
|
2838
|
+
id: string;
|
|
2839
|
+
active: boolean;
|
|
2840
|
+
condition: ProductCondition;
|
|
2841
|
+
content?: string | null;
|
|
2842
|
+
createdAt: any;
|
|
2843
|
+
description?: string | null;
|
|
2844
|
+
featured: boolean;
|
|
2845
|
+
maxOrderQty?: boolean | null;
|
|
2846
|
+
metaDescription?: boolean | null;
|
|
2847
|
+
metaKeywords?: boolean | null;
|
|
2848
|
+
metaTitle?: boolean | null;
|
|
2849
|
+
minOrderQty?: boolean | null;
|
|
2850
|
+
name: string;
|
|
2851
|
+
price: number;
|
|
2852
|
+
slug: string;
|
|
2853
|
+
soldCount: number;
|
|
2854
|
+
status: ProductStatus;
|
|
2855
|
+
todayDeal: boolean;
|
|
2856
|
+
type: ProductType;
|
|
2857
|
+
updatedAt?: any | null;
|
|
2858
|
+
views: number;
|
|
2859
|
+
warrantyDescription?: string | null;
|
|
2860
|
+
warrantyTime?: string | null;
|
|
2861
|
+
warrantyType?: string | null;
|
|
2862
|
+
};
|
|
2863
|
+
seller?: {
|
|
2864
|
+
__typename?: 'Seller';
|
|
2865
|
+
id: string;
|
|
2866
|
+
name: string;
|
|
2867
|
+
description?: string | null;
|
|
2868
|
+
active: boolean;
|
|
2869
|
+
orderNumber: number;
|
|
2870
|
+
slug: string;
|
|
2871
|
+
rating?: number | null;
|
|
2872
|
+
verified: boolean;
|
|
2873
|
+
createdAt: any;
|
|
2874
|
+
updatedAt: any;
|
|
2875
|
+
} | null;
|
|
2876
|
+
variants: Array<{
|
|
2877
|
+
__typename?: 'ProductVariant';
|
|
2878
|
+
active?: boolean | null;
|
|
2879
|
+
default: boolean;
|
|
2880
|
+
id: string;
|
|
2881
|
+
attributes: Array<{
|
|
2882
|
+
__typename?: 'ProductVariantAttribute';
|
|
2883
|
+
value: string;
|
|
2884
|
+
attribute: {
|
|
2885
|
+
__typename?: 'Attribute';
|
|
2886
|
+
active: boolean;
|
|
2887
|
+
createdAt: any;
|
|
2771
2888
|
id: string;
|
|
2772
2889
|
name: string;
|
|
2773
|
-
|
|
2774
|
-
slug: string;
|
|
2775
|
-
createdAt: any;
|
|
2890
|
+
type: string;
|
|
2776
2891
|
updatedAt: any;
|
|
2777
|
-
|
|
2778
|
-
__typename?: '
|
|
2779
|
-
|
|
2780
|
-
name: string;
|
|
2781
|
-
description?: string | null;
|
|
2782
|
-
slug: string;
|
|
2783
|
-
createdAt: any;
|
|
2784
|
-
updatedAt: any;
|
|
2785
|
-
names?: Array<{
|
|
2786
|
-
__typename?: 'LocalizedText';
|
|
2787
|
-
locale: string;
|
|
2788
|
-
value: string;
|
|
2789
|
-
}> | null;
|
|
2790
|
-
} | null;
|
|
2791
|
-
children?: Array<{
|
|
2792
|
-
__typename?: 'Category';
|
|
2793
|
-
id: string;
|
|
2794
|
-
name: string;
|
|
2795
|
-
description?: string | null;
|
|
2796
|
-
slug: string;
|
|
2797
|
-
createdAt: any;
|
|
2798
|
-
updatedAt: any;
|
|
2799
|
-
names?: Array<{
|
|
2800
|
-
__typename?: 'LocalizedText';
|
|
2801
|
-
locale: string;
|
|
2802
|
-
value: string;
|
|
2803
|
-
}> | null;
|
|
2804
|
-
}> | null;
|
|
2805
|
-
image?: {
|
|
2806
|
-
__typename?: 'File';
|
|
2807
|
-
createdAt: any;
|
|
2808
|
-
id: string;
|
|
2892
|
+
values?: Array<{
|
|
2893
|
+
__typename?: 'AttributeValue';
|
|
2894
|
+
default: boolean;
|
|
2809
2895
|
name: string;
|
|
2810
|
-
size?: number | null;
|
|
2811
|
-
status: FileStatusEnum;
|
|
2812
|
-
type?: string | null;
|
|
2813
|
-
updatedAt: any;
|
|
2814
|
-
url?: string | null;
|
|
2815
|
-
thumbnails: {
|
|
2816
|
-
__typename?: 'FileThumbnails';
|
|
2817
|
-
thumbnail450Url?: string | null;
|
|
2818
|
-
thumbnail900Url?: string | null;
|
|
2819
|
-
};
|
|
2820
|
-
} | null;
|
|
2821
|
-
names?: Array<{
|
|
2822
|
-
__typename?: 'LocalizedText';
|
|
2823
|
-
locale: string;
|
|
2824
|
-
value: string;
|
|
2825
2896
|
}> | null;
|
|
2826
2897
|
};
|
|
2827
2898
|
}>;
|
|
2828
|
-
|
|
2829
|
-
__typename?: 'InfinitePageInfo';
|
|
2830
|
-
endCursor?: string | null;
|
|
2831
|
-
hasNextPage: boolean;
|
|
2832
|
-
hasPreviousPage: boolean;
|
|
2833
|
-
startCursor?: string | null;
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2899
|
+
}>;
|
|
2836
2900
|
};
|
|
2837
|
-
export type
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
withChildren?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2843
|
-
withParent?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2844
|
-
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2901
|
+
export type AddToCartMutationVariables = Exact<{
|
|
2902
|
+
customerId: Scalars['ID']['input'];
|
|
2903
|
+
data: Array<AddToCartInput> | AddToCartInput;
|
|
2904
|
+
withItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2905
|
+
withAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2845
2906
|
}>;
|
|
2846
|
-
export type
|
|
2847
|
-
__typename?: '
|
|
2848
|
-
|
|
2849
|
-
__typename?: '
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2907
|
+
export type AddToCartMutation = {
|
|
2908
|
+
__typename?: 'Mutation';
|
|
2909
|
+
addToCart?: {
|
|
2910
|
+
__typename?: 'Cart';
|
|
2911
|
+
amount: number;
|
|
2912
|
+
shippingCost: number;
|
|
2913
|
+
taxAmount: number;
|
|
2914
|
+
totalAmount: number;
|
|
2915
|
+
items?: Array<{
|
|
2916
|
+
__typename?: 'CartItem';
|
|
2917
|
+
id: string;
|
|
2918
|
+
amount: number;
|
|
2919
|
+
discountValue: number;
|
|
2920
|
+
quantity: number;
|
|
2921
|
+
shippingCost: number;
|
|
2922
|
+
taxAmount: number;
|
|
2923
|
+
totalAmount: number;
|
|
2924
|
+
createdAt: any;
|
|
2925
|
+
updatedAt: any;
|
|
2926
|
+
address?: {
|
|
2927
|
+
__typename?: 'CustomerAddress';
|
|
2855
2928
|
id: string;
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
slug: string;
|
|
2929
|
+
address?: string | null;
|
|
2930
|
+
address2?: string | null;
|
|
2859
2931
|
createdAt: any;
|
|
2860
2932
|
updatedAt: any;
|
|
2861
|
-
|
|
2862
|
-
|
|
2933
|
+
} | null;
|
|
2934
|
+
product: {
|
|
2935
|
+
__typename?: 'Product';
|
|
2936
|
+
id: string;
|
|
2937
|
+
active: boolean;
|
|
2938
|
+
condition: ProductCondition;
|
|
2939
|
+
content?: string | null;
|
|
2940
|
+
createdAt: any;
|
|
2941
|
+
description?: string | null;
|
|
2942
|
+
featured: boolean;
|
|
2943
|
+
maxOrderQty?: boolean | null;
|
|
2944
|
+
metaDescription?: boolean | null;
|
|
2945
|
+
metaKeywords?: boolean | null;
|
|
2946
|
+
metaTitle?: boolean | null;
|
|
2947
|
+
minOrderQty?: boolean | null;
|
|
2948
|
+
name: string;
|
|
2949
|
+
price: number;
|
|
2950
|
+
slug: string;
|
|
2951
|
+
soldCount: number;
|
|
2952
|
+
status: ProductStatus;
|
|
2953
|
+
todayDeal: boolean;
|
|
2954
|
+
type: ProductType;
|
|
2955
|
+
updatedAt?: any | null;
|
|
2956
|
+
views: number;
|
|
2957
|
+
warrantyDescription?: string | null;
|
|
2958
|
+
warrantyTime?: string | null;
|
|
2959
|
+
warrantyType?: string | null;
|
|
2960
|
+
};
|
|
2961
|
+
seller?: {
|
|
2962
|
+
__typename?: 'Seller';
|
|
2963
|
+
id: string;
|
|
2964
|
+
name: string;
|
|
2965
|
+
description?: string | null;
|
|
2966
|
+
active: boolean;
|
|
2967
|
+
orderNumber: number;
|
|
2968
|
+
slug: string;
|
|
2969
|
+
rating?: number | null;
|
|
2970
|
+
verified: boolean;
|
|
2971
|
+
createdAt: any;
|
|
2972
|
+
updatedAt: any;
|
|
2973
|
+
} | null;
|
|
2974
|
+
variants: Array<{
|
|
2975
|
+
__typename?: 'ProductVariant';
|
|
2976
|
+
active?: boolean | null;
|
|
2977
|
+
default: boolean;
|
|
2978
|
+
id: string;
|
|
2979
|
+
attributes: Array<{
|
|
2980
|
+
__typename?: 'ProductVariantAttribute';
|
|
2981
|
+
value: string;
|
|
2982
|
+
attribute: {
|
|
2983
|
+
__typename?: 'Attribute';
|
|
2984
|
+
active: boolean;
|
|
2985
|
+
createdAt: any;
|
|
2986
|
+
id: string;
|
|
2987
|
+
name: string;
|
|
2988
|
+
type: string;
|
|
2989
|
+
updatedAt: any;
|
|
2990
|
+
values?: Array<{
|
|
2991
|
+
__typename?: 'AttributeValue';
|
|
2992
|
+
default: boolean;
|
|
2993
|
+
name: string;
|
|
2994
|
+
}> | null;
|
|
2995
|
+
};
|
|
2996
|
+
}>;
|
|
2997
|
+
}>;
|
|
2998
|
+
}>;
|
|
2999
|
+
address?: {
|
|
3000
|
+
__typename?: 'CustomerAddress';
|
|
3001
|
+
id: string;
|
|
3002
|
+
address?: string | null;
|
|
3003
|
+
address2?: string | null;
|
|
3004
|
+
createdAt: any;
|
|
3005
|
+
updatedAt: any;
|
|
3006
|
+
} | null;
|
|
3007
|
+
} | null;
|
|
3008
|
+
};
|
|
3009
|
+
export type RemoveFromCartMutationVariables = Exact<{
|
|
3010
|
+
cartItemId: Scalars['ID']['input'];
|
|
3011
|
+
customerId: Scalars['ID']['input'];
|
|
3012
|
+
withItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3013
|
+
withAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3014
|
+
}>;
|
|
3015
|
+
export type RemoveFromCartMutation = {
|
|
3016
|
+
__typename?: 'Mutation';
|
|
3017
|
+
removeFromCart?: {
|
|
3018
|
+
__typename?: 'Cart';
|
|
3019
|
+
amount: number;
|
|
3020
|
+
shippingCost: number;
|
|
3021
|
+
taxAmount: number;
|
|
3022
|
+
totalAmount: number;
|
|
3023
|
+
items?: Array<{
|
|
3024
|
+
__typename?: 'CartItem';
|
|
3025
|
+
id: string;
|
|
3026
|
+
amount: number;
|
|
3027
|
+
discountValue: number;
|
|
3028
|
+
quantity: number;
|
|
3029
|
+
shippingCost: number;
|
|
3030
|
+
taxAmount: number;
|
|
3031
|
+
totalAmount: number;
|
|
3032
|
+
createdAt: any;
|
|
3033
|
+
updatedAt: any;
|
|
3034
|
+
address?: {
|
|
3035
|
+
__typename?: 'CustomerAddress';
|
|
3036
|
+
id: string;
|
|
3037
|
+
address?: string | null;
|
|
3038
|
+
address2?: string | null;
|
|
3039
|
+
createdAt: any;
|
|
3040
|
+
updatedAt: any;
|
|
3041
|
+
} | null;
|
|
3042
|
+
product: {
|
|
3043
|
+
__typename?: 'Product';
|
|
3044
|
+
id: string;
|
|
3045
|
+
active: boolean;
|
|
3046
|
+
condition: ProductCondition;
|
|
3047
|
+
content?: string | null;
|
|
3048
|
+
createdAt: any;
|
|
3049
|
+
description?: string | null;
|
|
3050
|
+
featured: boolean;
|
|
3051
|
+
maxOrderQty?: boolean | null;
|
|
3052
|
+
metaDescription?: boolean | null;
|
|
3053
|
+
metaKeywords?: boolean | null;
|
|
3054
|
+
metaTitle?: boolean | null;
|
|
3055
|
+
minOrderQty?: boolean | null;
|
|
3056
|
+
name: string;
|
|
3057
|
+
price: number;
|
|
3058
|
+
slug: string;
|
|
3059
|
+
soldCount: number;
|
|
3060
|
+
status: ProductStatus;
|
|
3061
|
+
todayDeal: boolean;
|
|
3062
|
+
type: ProductType;
|
|
3063
|
+
updatedAt?: any | null;
|
|
3064
|
+
views: number;
|
|
3065
|
+
warrantyDescription?: string | null;
|
|
3066
|
+
warrantyTime?: string | null;
|
|
3067
|
+
warrantyType?: string | null;
|
|
3068
|
+
};
|
|
3069
|
+
seller?: {
|
|
3070
|
+
__typename?: 'Seller';
|
|
3071
|
+
id: string;
|
|
3072
|
+
name: string;
|
|
3073
|
+
description?: string | null;
|
|
3074
|
+
active: boolean;
|
|
3075
|
+
orderNumber: number;
|
|
3076
|
+
slug: string;
|
|
3077
|
+
rating?: number | null;
|
|
3078
|
+
verified: boolean;
|
|
3079
|
+
createdAt: any;
|
|
3080
|
+
updatedAt: any;
|
|
3081
|
+
} | null;
|
|
3082
|
+
variants: Array<{
|
|
3083
|
+
__typename?: 'ProductVariant';
|
|
3084
|
+
active?: boolean | null;
|
|
3085
|
+
default: boolean;
|
|
3086
|
+
id: string;
|
|
3087
|
+
attributes: Array<{
|
|
3088
|
+
__typename?: 'ProductVariantAttribute';
|
|
3089
|
+
value: string;
|
|
3090
|
+
attribute: {
|
|
3091
|
+
__typename?: 'Attribute';
|
|
3092
|
+
active: boolean;
|
|
3093
|
+
createdAt: any;
|
|
3094
|
+
id: string;
|
|
3095
|
+
name: string;
|
|
3096
|
+
type: string;
|
|
3097
|
+
updatedAt: any;
|
|
3098
|
+
values?: Array<{
|
|
3099
|
+
__typename?: 'AttributeValue';
|
|
3100
|
+
default: boolean;
|
|
3101
|
+
name: string;
|
|
3102
|
+
}> | null;
|
|
3103
|
+
};
|
|
3104
|
+
}>;
|
|
3105
|
+
}>;
|
|
3106
|
+
}>;
|
|
3107
|
+
address?: {
|
|
3108
|
+
__typename?: 'CustomerAddress';
|
|
3109
|
+
id: string;
|
|
3110
|
+
address?: string | null;
|
|
3111
|
+
address2?: string | null;
|
|
3112
|
+
createdAt: any;
|
|
3113
|
+
updatedAt: any;
|
|
3114
|
+
} | null;
|
|
3115
|
+
} | null;
|
|
3116
|
+
};
|
|
3117
|
+
export type SetCartAddressMutationVariables = Exact<{
|
|
3118
|
+
addressId: Scalars['ID']['input'];
|
|
3119
|
+
customerId: Scalars['ID']['input'];
|
|
3120
|
+
withItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3121
|
+
withAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3122
|
+
}>;
|
|
3123
|
+
export type SetCartAddressMutation = {
|
|
3124
|
+
__typename?: 'Mutation';
|
|
3125
|
+
setCartAddress?: {
|
|
3126
|
+
__typename?: 'Cart';
|
|
3127
|
+
amount: number;
|
|
3128
|
+
shippingCost: number;
|
|
3129
|
+
taxAmount: number;
|
|
3130
|
+
totalAmount: number;
|
|
3131
|
+
items?: Array<{
|
|
3132
|
+
__typename?: 'CartItem';
|
|
3133
|
+
id: string;
|
|
3134
|
+
amount: number;
|
|
3135
|
+
discountValue: number;
|
|
3136
|
+
quantity: number;
|
|
3137
|
+
shippingCost: number;
|
|
3138
|
+
taxAmount: number;
|
|
3139
|
+
totalAmount: number;
|
|
3140
|
+
createdAt: any;
|
|
3141
|
+
updatedAt: any;
|
|
3142
|
+
address?: {
|
|
3143
|
+
__typename?: 'CustomerAddress';
|
|
3144
|
+
id: string;
|
|
3145
|
+
address?: string | null;
|
|
3146
|
+
address2?: string | null;
|
|
3147
|
+
createdAt: any;
|
|
3148
|
+
updatedAt: any;
|
|
3149
|
+
} | null;
|
|
3150
|
+
product: {
|
|
3151
|
+
__typename?: 'Product';
|
|
3152
|
+
id: string;
|
|
3153
|
+
active: boolean;
|
|
3154
|
+
condition: ProductCondition;
|
|
3155
|
+
content?: string | null;
|
|
3156
|
+
createdAt: any;
|
|
3157
|
+
description?: string | null;
|
|
3158
|
+
featured: boolean;
|
|
3159
|
+
maxOrderQty?: boolean | null;
|
|
3160
|
+
metaDescription?: boolean | null;
|
|
3161
|
+
metaKeywords?: boolean | null;
|
|
3162
|
+
metaTitle?: boolean | null;
|
|
3163
|
+
minOrderQty?: boolean | null;
|
|
3164
|
+
name: string;
|
|
3165
|
+
price: number;
|
|
3166
|
+
slug: string;
|
|
3167
|
+
soldCount: number;
|
|
3168
|
+
status: ProductStatus;
|
|
3169
|
+
todayDeal: boolean;
|
|
3170
|
+
type: ProductType;
|
|
3171
|
+
updatedAt?: any | null;
|
|
3172
|
+
views: number;
|
|
3173
|
+
warrantyDescription?: string | null;
|
|
3174
|
+
warrantyTime?: string | null;
|
|
3175
|
+
warrantyType?: string | null;
|
|
3176
|
+
};
|
|
3177
|
+
seller?: {
|
|
3178
|
+
__typename?: 'Seller';
|
|
3179
|
+
id: string;
|
|
3180
|
+
name: string;
|
|
3181
|
+
description?: string | null;
|
|
3182
|
+
active: boolean;
|
|
3183
|
+
orderNumber: number;
|
|
3184
|
+
slug: string;
|
|
3185
|
+
rating?: number | null;
|
|
3186
|
+
verified: boolean;
|
|
3187
|
+
createdAt: any;
|
|
3188
|
+
updatedAt: any;
|
|
3189
|
+
} | null;
|
|
3190
|
+
variants: Array<{
|
|
3191
|
+
__typename?: 'ProductVariant';
|
|
3192
|
+
active?: boolean | null;
|
|
3193
|
+
default: boolean;
|
|
3194
|
+
id: string;
|
|
3195
|
+
attributes: Array<{
|
|
3196
|
+
__typename?: 'ProductVariantAttribute';
|
|
3197
|
+
value: string;
|
|
3198
|
+
attribute: {
|
|
3199
|
+
__typename?: 'Attribute';
|
|
3200
|
+
active: boolean;
|
|
3201
|
+
createdAt: any;
|
|
3202
|
+
id: string;
|
|
3203
|
+
name: string;
|
|
3204
|
+
type: string;
|
|
3205
|
+
updatedAt: any;
|
|
3206
|
+
values?: Array<{
|
|
3207
|
+
__typename?: 'AttributeValue';
|
|
3208
|
+
default: boolean;
|
|
3209
|
+
name: string;
|
|
3210
|
+
}> | null;
|
|
3211
|
+
};
|
|
3212
|
+
}>;
|
|
3213
|
+
}>;
|
|
3214
|
+
}>;
|
|
3215
|
+
address?: {
|
|
3216
|
+
__typename?: 'CustomerAddress';
|
|
3217
|
+
id: string;
|
|
3218
|
+
address?: string | null;
|
|
3219
|
+
address2?: string | null;
|
|
3220
|
+
createdAt: any;
|
|
3221
|
+
updatedAt: any;
|
|
3222
|
+
} | null;
|
|
3223
|
+
} | null;
|
|
3224
|
+
};
|
|
3225
|
+
export type UpdateCartItemMutationVariables = Exact<{
|
|
3226
|
+
cartItemId: Scalars['ID']['input'];
|
|
3227
|
+
customerId: Scalars['ID']['input'];
|
|
3228
|
+
data: UpdateCartItemInput;
|
|
3229
|
+
withItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3230
|
+
withAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3231
|
+
}>;
|
|
3232
|
+
export type UpdateCartItemMutation = {
|
|
3233
|
+
__typename?: 'Mutation';
|
|
3234
|
+
updateCartItem?: {
|
|
3235
|
+
__typename?: 'Cart';
|
|
3236
|
+
amount: number;
|
|
3237
|
+
shippingCost: number;
|
|
3238
|
+
taxAmount: number;
|
|
3239
|
+
totalAmount: number;
|
|
3240
|
+
items?: Array<{
|
|
3241
|
+
__typename?: 'CartItem';
|
|
3242
|
+
id: string;
|
|
3243
|
+
amount: number;
|
|
3244
|
+
discountValue: number;
|
|
3245
|
+
quantity: number;
|
|
3246
|
+
shippingCost: number;
|
|
3247
|
+
taxAmount: number;
|
|
3248
|
+
totalAmount: number;
|
|
3249
|
+
createdAt: any;
|
|
3250
|
+
updatedAt: any;
|
|
3251
|
+
address?: {
|
|
3252
|
+
__typename?: 'CustomerAddress';
|
|
3253
|
+
id: string;
|
|
3254
|
+
address?: string | null;
|
|
3255
|
+
address2?: string | null;
|
|
3256
|
+
createdAt: any;
|
|
3257
|
+
updatedAt: any;
|
|
3258
|
+
} | null;
|
|
3259
|
+
product: {
|
|
3260
|
+
__typename?: 'Product';
|
|
3261
|
+
id: string;
|
|
3262
|
+
active: boolean;
|
|
3263
|
+
condition: ProductCondition;
|
|
3264
|
+
content?: string | null;
|
|
3265
|
+
createdAt: any;
|
|
3266
|
+
description?: string | null;
|
|
3267
|
+
featured: boolean;
|
|
3268
|
+
maxOrderQty?: boolean | null;
|
|
3269
|
+
metaDescription?: boolean | null;
|
|
3270
|
+
metaKeywords?: boolean | null;
|
|
3271
|
+
metaTitle?: boolean | null;
|
|
3272
|
+
minOrderQty?: boolean | null;
|
|
3273
|
+
name: string;
|
|
3274
|
+
price: number;
|
|
3275
|
+
slug: string;
|
|
3276
|
+
soldCount: number;
|
|
3277
|
+
status: ProductStatus;
|
|
3278
|
+
todayDeal: boolean;
|
|
3279
|
+
type: ProductType;
|
|
3280
|
+
updatedAt?: any | null;
|
|
3281
|
+
views: number;
|
|
3282
|
+
warrantyDescription?: string | null;
|
|
3283
|
+
warrantyTime?: string | null;
|
|
3284
|
+
warrantyType?: string | null;
|
|
3285
|
+
};
|
|
3286
|
+
seller?: {
|
|
3287
|
+
__typename?: 'Seller';
|
|
3288
|
+
id: string;
|
|
3289
|
+
name: string;
|
|
3290
|
+
description?: string | null;
|
|
3291
|
+
active: boolean;
|
|
3292
|
+
orderNumber: number;
|
|
3293
|
+
slug: string;
|
|
3294
|
+
rating?: number | null;
|
|
3295
|
+
verified: boolean;
|
|
3296
|
+
createdAt: any;
|
|
3297
|
+
updatedAt: any;
|
|
3298
|
+
} | null;
|
|
3299
|
+
variants: Array<{
|
|
3300
|
+
__typename?: 'ProductVariant';
|
|
3301
|
+
active?: boolean | null;
|
|
3302
|
+
default: boolean;
|
|
3303
|
+
id: string;
|
|
3304
|
+
attributes: Array<{
|
|
3305
|
+
__typename?: 'ProductVariantAttribute';
|
|
3306
|
+
value: string;
|
|
3307
|
+
attribute: {
|
|
3308
|
+
__typename?: 'Attribute';
|
|
3309
|
+
active: boolean;
|
|
3310
|
+
createdAt: any;
|
|
3311
|
+
id: string;
|
|
3312
|
+
name: string;
|
|
3313
|
+
type: string;
|
|
3314
|
+
updatedAt: any;
|
|
3315
|
+
values?: Array<{
|
|
3316
|
+
__typename?: 'AttributeValue';
|
|
3317
|
+
default: boolean;
|
|
3318
|
+
name: string;
|
|
3319
|
+
}> | null;
|
|
3320
|
+
};
|
|
3321
|
+
}>;
|
|
3322
|
+
}>;
|
|
3323
|
+
}>;
|
|
3324
|
+
address?: {
|
|
3325
|
+
__typename?: 'CustomerAddress';
|
|
3326
|
+
id: string;
|
|
3327
|
+
address?: string | null;
|
|
3328
|
+
address2?: string | null;
|
|
3329
|
+
createdAt: any;
|
|
3330
|
+
updatedAt: any;
|
|
3331
|
+
} | null;
|
|
3332
|
+
} | null;
|
|
3333
|
+
};
|
|
3334
|
+
export type CartQueryVariables = Exact<{
|
|
3335
|
+
customerId: Scalars['ID']['input'];
|
|
3336
|
+
withItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3337
|
+
withAddress?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3338
|
+
}>;
|
|
3339
|
+
export type CartQuery = {
|
|
3340
|
+
__typename?: 'Query';
|
|
3341
|
+
cart?: {
|
|
3342
|
+
__typename?: 'Cart';
|
|
3343
|
+
amount: number;
|
|
3344
|
+
shippingCost: number;
|
|
3345
|
+
taxAmount: number;
|
|
3346
|
+
totalAmount: number;
|
|
3347
|
+
items?: Array<{
|
|
3348
|
+
__typename?: 'CartItem';
|
|
3349
|
+
id: string;
|
|
3350
|
+
amount: number;
|
|
3351
|
+
discountValue: number;
|
|
3352
|
+
quantity: number;
|
|
3353
|
+
shippingCost: number;
|
|
3354
|
+
taxAmount: number;
|
|
3355
|
+
totalAmount: number;
|
|
3356
|
+
createdAt: any;
|
|
3357
|
+
updatedAt: any;
|
|
3358
|
+
address?: {
|
|
3359
|
+
__typename?: 'CustomerAddress';
|
|
3360
|
+
id: string;
|
|
3361
|
+
address?: string | null;
|
|
3362
|
+
address2?: string | null;
|
|
3363
|
+
createdAt: any;
|
|
3364
|
+
updatedAt: any;
|
|
3365
|
+
} | null;
|
|
3366
|
+
product: {
|
|
3367
|
+
__typename?: 'Product';
|
|
3368
|
+
id: string;
|
|
3369
|
+
active: boolean;
|
|
3370
|
+
condition: ProductCondition;
|
|
3371
|
+
content?: string | null;
|
|
3372
|
+
createdAt: any;
|
|
3373
|
+
description?: string | null;
|
|
3374
|
+
featured: boolean;
|
|
3375
|
+
maxOrderQty?: boolean | null;
|
|
3376
|
+
metaDescription?: boolean | null;
|
|
3377
|
+
metaKeywords?: boolean | null;
|
|
3378
|
+
metaTitle?: boolean | null;
|
|
3379
|
+
minOrderQty?: boolean | null;
|
|
3380
|
+
name: string;
|
|
3381
|
+
price: number;
|
|
3382
|
+
slug: string;
|
|
3383
|
+
soldCount: number;
|
|
3384
|
+
status: ProductStatus;
|
|
3385
|
+
todayDeal: boolean;
|
|
3386
|
+
type: ProductType;
|
|
3387
|
+
updatedAt?: any | null;
|
|
3388
|
+
views: number;
|
|
3389
|
+
warrantyDescription?: string | null;
|
|
3390
|
+
warrantyTime?: string | null;
|
|
3391
|
+
warrantyType?: string | null;
|
|
3392
|
+
};
|
|
3393
|
+
seller?: {
|
|
3394
|
+
__typename?: 'Seller';
|
|
3395
|
+
id: string;
|
|
3396
|
+
name: string;
|
|
3397
|
+
description?: string | null;
|
|
3398
|
+
active: boolean;
|
|
3399
|
+
orderNumber: number;
|
|
3400
|
+
slug: string;
|
|
3401
|
+
rating?: number | null;
|
|
3402
|
+
verified: boolean;
|
|
3403
|
+
createdAt: any;
|
|
3404
|
+
updatedAt: any;
|
|
3405
|
+
} | null;
|
|
3406
|
+
variants: Array<{
|
|
3407
|
+
__typename?: 'ProductVariant';
|
|
3408
|
+
active?: boolean | null;
|
|
3409
|
+
default: boolean;
|
|
3410
|
+
id: string;
|
|
3411
|
+
attributes: Array<{
|
|
3412
|
+
__typename?: 'ProductVariantAttribute';
|
|
3413
|
+
value: string;
|
|
3414
|
+
attribute: {
|
|
3415
|
+
__typename?: 'Attribute';
|
|
3416
|
+
active: boolean;
|
|
3417
|
+
createdAt: any;
|
|
3418
|
+
id: string;
|
|
3419
|
+
name: string;
|
|
3420
|
+
type: string;
|
|
3421
|
+
updatedAt: any;
|
|
3422
|
+
values?: Array<{
|
|
3423
|
+
__typename?: 'AttributeValue';
|
|
3424
|
+
default: boolean;
|
|
3425
|
+
name: string;
|
|
3426
|
+
}> | null;
|
|
3427
|
+
};
|
|
3428
|
+
}>;
|
|
3429
|
+
}>;
|
|
3430
|
+
}>;
|
|
3431
|
+
address?: {
|
|
3432
|
+
__typename?: 'CustomerAddress';
|
|
3433
|
+
id: string;
|
|
3434
|
+
address?: string | null;
|
|
3435
|
+
address2?: string | null;
|
|
3436
|
+
createdAt: any;
|
|
3437
|
+
updatedAt: any;
|
|
3438
|
+
} | null;
|
|
3439
|
+
} | null;
|
|
3440
|
+
};
|
|
3441
|
+
export type CategoryFragmentFragment = {
|
|
3442
|
+
__typename?: 'Category';
|
|
3443
|
+
id: string;
|
|
3444
|
+
name: string;
|
|
3445
|
+
description?: string | null;
|
|
3446
|
+
slug: string;
|
|
3447
|
+
createdAt: any;
|
|
3448
|
+
updatedAt: any;
|
|
3449
|
+
names?: Array<{
|
|
3450
|
+
__typename?: 'LocalizedText';
|
|
3451
|
+
locale: string;
|
|
3452
|
+
value: string;
|
|
3453
|
+
}> | null;
|
|
3454
|
+
};
|
|
3455
|
+
export type InfiniteCategoriesQueryVariables = Exact<{
|
|
3456
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
3457
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
3458
|
+
filter?: InputMaybe<CategoryFilter>;
|
|
3459
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3460
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3461
|
+
sort?: InputMaybe<Array<CategorySort> | CategorySort>;
|
|
3462
|
+
withChildren?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3463
|
+
withParent?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3464
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3465
|
+
}>;
|
|
3466
|
+
export type InfiniteCategoriesQuery = {
|
|
3467
|
+
__typename?: 'Query';
|
|
3468
|
+
infiniteCategories: {
|
|
3469
|
+
__typename?: 'InfiniteCategoriesConnection';
|
|
3470
|
+
edges: Array<{
|
|
3471
|
+
__typename?: 'InfiniteCategoryEdge';
|
|
3472
|
+
cursor: string;
|
|
3473
|
+
node: {
|
|
3474
|
+
__typename?: 'Category';
|
|
3475
|
+
id: string;
|
|
3476
|
+
name: string;
|
|
3477
|
+
description?: string | null;
|
|
3478
|
+
slug: string;
|
|
3479
|
+
createdAt: any;
|
|
3480
|
+
updatedAt: any;
|
|
3481
|
+
parent?: {
|
|
3482
|
+
__typename?: 'Category';
|
|
3483
|
+
id: string;
|
|
3484
|
+
name: string;
|
|
3485
|
+
description?: string | null;
|
|
3486
|
+
slug: string;
|
|
3487
|
+
createdAt: any;
|
|
3488
|
+
updatedAt: any;
|
|
3489
|
+
names?: Array<{
|
|
3490
|
+
__typename?: 'LocalizedText';
|
|
3491
|
+
locale: string;
|
|
3492
|
+
value: string;
|
|
3493
|
+
}> | null;
|
|
3494
|
+
} | null;
|
|
3495
|
+
children?: Array<{
|
|
3496
|
+
__typename?: 'Category';
|
|
3497
|
+
id: string;
|
|
3498
|
+
name: string;
|
|
3499
|
+
description?: string | null;
|
|
3500
|
+
slug: string;
|
|
3501
|
+
createdAt: any;
|
|
3502
|
+
updatedAt: any;
|
|
3503
|
+
names?: Array<{
|
|
3504
|
+
__typename?: 'LocalizedText';
|
|
3505
|
+
locale: string;
|
|
3506
|
+
value: string;
|
|
3507
|
+
}> | null;
|
|
3508
|
+
}> | null;
|
|
3509
|
+
image?: {
|
|
3510
|
+
__typename?: 'File';
|
|
3511
|
+
createdAt: any;
|
|
3512
|
+
id: string;
|
|
3513
|
+
name: string;
|
|
3514
|
+
size?: number | null;
|
|
3515
|
+
status: FileStatusEnum;
|
|
3516
|
+
type?: string | null;
|
|
3517
|
+
updatedAt: any;
|
|
3518
|
+
url?: string | null;
|
|
3519
|
+
thumbnails: {
|
|
3520
|
+
__typename?: 'FileThumbnails';
|
|
3521
|
+
thumbnail450Url?: string | null;
|
|
3522
|
+
thumbnail900Url?: string | null;
|
|
3523
|
+
};
|
|
3524
|
+
} | null;
|
|
3525
|
+
names?: Array<{
|
|
3526
|
+
__typename?: 'LocalizedText';
|
|
3527
|
+
locale: string;
|
|
3528
|
+
value: string;
|
|
3529
|
+
}> | null;
|
|
3530
|
+
};
|
|
3531
|
+
}>;
|
|
3532
|
+
pageInfo: {
|
|
3533
|
+
__typename?: 'InfinitePageInfo';
|
|
3534
|
+
endCursor?: string | null;
|
|
3535
|
+
hasNextPage: boolean;
|
|
3536
|
+
hasPreviousPage: boolean;
|
|
3537
|
+
startCursor?: string | null;
|
|
3538
|
+
};
|
|
3539
|
+
};
|
|
3540
|
+
};
|
|
3541
|
+
export type PaginatedCategoriesQueryVariables = Exact<{
|
|
3542
|
+
filter?: InputMaybe<CategoryFilter>;
|
|
3543
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3544
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3545
|
+
sort?: InputMaybe<Array<CategorySort> | CategorySort>;
|
|
3546
|
+
withChildren?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3547
|
+
withParent?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3548
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3549
|
+
}>;
|
|
3550
|
+
export type PaginatedCategoriesQuery = {
|
|
3551
|
+
__typename?: 'Query';
|
|
3552
|
+
paginatedCategories?: {
|
|
3553
|
+
__typename?: 'PaginatedCategoriesConnection';
|
|
3554
|
+
edges: Array<{
|
|
3555
|
+
__typename?: 'PaginatedCategoryEdge';
|
|
3556
|
+
cursor: string;
|
|
3557
|
+
node: {
|
|
3558
|
+
__typename?: 'Category';
|
|
3559
|
+
id: string;
|
|
3560
|
+
name: string;
|
|
3561
|
+
description?: string | null;
|
|
3562
|
+
slug: string;
|
|
3563
|
+
createdAt: any;
|
|
3564
|
+
updatedAt: any;
|
|
3565
|
+
parent?: {
|
|
3566
|
+
__typename?: 'Category';
|
|
2863
3567
|
id: string;
|
|
2864
3568
|
name: string;
|
|
2865
3569
|
description?: string | null;
|
|
@@ -3046,7 +3750,6 @@ export type PaginatedCustomFieldsQueryVariables = Exact<{
|
|
|
3046
3750
|
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
3047
3751
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3048
3752
|
sort?: InputMaybe<Array<CustomFieldSort> | CustomFieldSort>;
|
|
3049
|
-
withTelephoneNumbers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3050
3753
|
}>;
|
|
3051
3754
|
export type PaginatedCustomFieldsQuery = {
|
|
3052
3755
|
__typename?: 'Query';
|
|
@@ -3291,6 +3994,9 @@ export type PaginatedCustomersQuery = {
|
|
|
3291
3994
|
};
|
|
3292
3995
|
export type CustomerQueryVariables = Exact<{
|
|
3293
3996
|
id: Scalars['ID']['input'];
|
|
3997
|
+
withTelephoneNumbers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3998
|
+
withAddresses?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3999
|
+
withImage?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3294
4000
|
}>;
|
|
3295
4001
|
export type CustomerQuery = {
|
|
3296
4002
|
__typename?: 'Query';
|
|
@@ -3302,6 +4008,38 @@ export type CustomerQuery = {
|
|
|
3302
4008
|
active: boolean;
|
|
3303
4009
|
createdAt: any;
|
|
3304
4010
|
updatedAt: any;
|
|
4011
|
+
addresses?: Array<{
|
|
4012
|
+
__typename?: 'CustomerAddress';
|
|
4013
|
+
id: string;
|
|
4014
|
+
address?: string | null;
|
|
4015
|
+
address2?: string | null;
|
|
4016
|
+
createdAt: any;
|
|
4017
|
+
updatedAt: any;
|
|
4018
|
+
}> | null;
|
|
4019
|
+
telephoneNumbers?: Array<{
|
|
4020
|
+
__typename?: 'CustomerTelephoneNumber';
|
|
4021
|
+
id: string;
|
|
4022
|
+
number?: string | null;
|
|
4023
|
+
targets?: Array<TelephoneNumberTarget> | null;
|
|
4024
|
+
createdAt: any;
|
|
4025
|
+
updatedAt: any;
|
|
4026
|
+
}> | null;
|
|
4027
|
+
image?: {
|
|
4028
|
+
__typename?: 'File';
|
|
4029
|
+
createdAt: any;
|
|
4030
|
+
id: string;
|
|
4031
|
+
name: string;
|
|
4032
|
+
size?: number | null;
|
|
4033
|
+
status: FileStatusEnum;
|
|
4034
|
+
type?: string | null;
|
|
4035
|
+
updatedAt: any;
|
|
4036
|
+
url?: string | null;
|
|
4037
|
+
thumbnails: {
|
|
4038
|
+
__typename?: 'FileThumbnails';
|
|
4039
|
+
thumbnail450Url?: string | null;
|
|
4040
|
+
thumbnail900Url?: string | null;
|
|
4041
|
+
};
|
|
4042
|
+
} | null;
|
|
3305
4043
|
} | null;
|
|
3306
4044
|
};
|
|
3307
4045
|
export type FileThumbnailsFieldsFragment = {
|
|
@@ -3477,33 +4215,19 @@ export type InfiniteMetricsQuery = {
|
|
|
3477
4215
|
export type OrderFragmentFragment = {
|
|
3478
4216
|
__typename?: 'Order';
|
|
3479
4217
|
id: string;
|
|
3480
|
-
|
|
4218
|
+
totalAmount: number;
|
|
3481
4219
|
createdAt: any;
|
|
3482
4220
|
updatedAt?: any | null;
|
|
3483
4221
|
};
|
|
3484
|
-
export type
|
|
3485
|
-
|
|
3486
|
-
}>;
|
|
3487
|
-
export type CreateOrderMutation = {
|
|
3488
|
-
__typename?: 'Mutation';
|
|
3489
|
-
createOrder: {
|
|
3490
|
-
__typename?: 'Order';
|
|
3491
|
-
id: string;
|
|
3492
|
-
total: number;
|
|
3493
|
-
createdAt: any;
|
|
3494
|
-
updatedAt?: any | null;
|
|
3495
|
-
};
|
|
3496
|
-
};
|
|
3497
|
-
export type UpdateOrderMutationVariables = Exact<{
|
|
3498
|
-
data: UpdateOrderInput;
|
|
3499
|
-
id: Scalars['ID']['input'];
|
|
4222
|
+
export type FinalizeOrderMutationVariables = Exact<{
|
|
4223
|
+
customerId: Scalars['ID']['input'];
|
|
3500
4224
|
}>;
|
|
3501
|
-
export type
|
|
4225
|
+
export type FinalizeOrderMutation = {
|
|
3502
4226
|
__typename?: 'Mutation';
|
|
3503
|
-
|
|
4227
|
+
finalizeOrder: {
|
|
3504
4228
|
__typename?: 'Order';
|
|
3505
4229
|
id: string;
|
|
3506
|
-
|
|
4230
|
+
totalAmount: number;
|
|
3507
4231
|
createdAt: any;
|
|
3508
4232
|
updatedAt?: any | null;
|
|
3509
4233
|
};
|
|
@@ -3526,7 +4250,7 @@ export type InfiniteOrdersQuery = {
|
|
|
3526
4250
|
node: {
|
|
3527
4251
|
__typename?: 'Order';
|
|
3528
4252
|
id: string;
|
|
3529
|
-
|
|
4253
|
+
totalAmount: number;
|
|
3530
4254
|
createdAt: any;
|
|
3531
4255
|
updatedAt?: any | null;
|
|
3532
4256
|
};
|
|
@@ -3556,7 +4280,7 @@ export type PaginatedOrdersQuery = {
|
|
|
3556
4280
|
node: {
|
|
3557
4281
|
__typename?: 'Order';
|
|
3558
4282
|
id: string;
|
|
3559
|
-
|
|
4283
|
+
totalAmount: number;
|
|
3560
4284
|
createdAt: any;
|
|
3561
4285
|
updatedAt?: any | null;
|
|
3562
4286
|
};
|
|
@@ -3579,7 +4303,7 @@ export type OrderQuery = {
|
|
|
3579
4303
|
order?: Array<{
|
|
3580
4304
|
__typename?: 'Order';
|
|
3581
4305
|
id: string;
|
|
3582
|
-
|
|
4306
|
+
totalAmount: number;
|
|
3583
4307
|
createdAt: any;
|
|
3584
4308
|
updatedAt?: any | null;
|
|
3585
4309
|
}> | null;
|
|
@@ -3605,31 +4329,38 @@ export type ProductFragmentFragment = {
|
|
|
3605
4329
|
status: ProductStatus;
|
|
3606
4330
|
todayDeal: boolean;
|
|
3607
4331
|
type: ProductType;
|
|
3608
|
-
updatedAt
|
|
4332
|
+
updatedAt?: any | null;
|
|
3609
4333
|
views: number;
|
|
3610
4334
|
warrantyDescription?: string | null;
|
|
3611
4335
|
warrantyTime?: string | null;
|
|
3612
4336
|
warrantyType?: string | null;
|
|
3613
4337
|
};
|
|
3614
|
-
export type
|
|
3615
|
-
__typename?: '
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
4338
|
+
export type ProductVariantFragmentFragment = {
|
|
4339
|
+
__typename?: 'ProductVariant';
|
|
4340
|
+
active?: boolean | null;
|
|
4341
|
+
default: boolean;
|
|
4342
|
+
id: string;
|
|
4343
|
+
attributes: Array<{
|
|
4344
|
+
__typename?: 'ProductVariantAttribute';
|
|
4345
|
+
value: string;
|
|
4346
|
+
attribute: {
|
|
4347
|
+
__typename?: 'Attribute';
|
|
4348
|
+
active: boolean;
|
|
4349
|
+
createdAt: any;
|
|
4350
|
+
id: string;
|
|
4351
|
+
name: string;
|
|
4352
|
+
type: string;
|
|
4353
|
+
updatedAt: any;
|
|
4354
|
+
values?: Array<{
|
|
4355
|
+
__typename?: 'AttributeValue';
|
|
4356
|
+
default: boolean;
|
|
4357
|
+
name: string;
|
|
4358
|
+
}> | null;
|
|
4359
|
+
};
|
|
3629
4360
|
}>;
|
|
3630
4361
|
};
|
|
3631
|
-
export type
|
|
3632
|
-
__typename?: '
|
|
4362
|
+
export type ProductSellerFragmentFragment = {
|
|
4363
|
+
__typename?: 'ProductSeller';
|
|
3633
4364
|
active?: boolean | null;
|
|
3634
4365
|
barcode?: string | null;
|
|
3635
4366
|
discountEndAt?: number | null;
|
|
@@ -3652,89 +4383,30 @@ export type ProductVariantSellerFragmentFragment = {
|
|
|
3652
4383
|
createdAt: any;
|
|
3653
4384
|
updatedAt: any;
|
|
3654
4385
|
};
|
|
3655
|
-
|
|
3656
|
-
__typename?: '
|
|
3657
|
-
quantity: number;
|
|
3658
|
-
seller: Array<{
|
|
3659
|
-
__typename?: 'Seller';
|
|
3660
|
-
id: string;
|
|
3661
|
-
name: string;
|
|
3662
|
-
description?: string | null;
|
|
3663
|
-
active: boolean;
|
|
3664
|
-
orderNumber: number;
|
|
3665
|
-
slug: string;
|
|
3666
|
-
rating?: number | null;
|
|
3667
|
-
verified: boolean;
|
|
3668
|
-
createdAt: any;
|
|
3669
|
-
updatedAt: any;
|
|
3670
|
-
}>;
|
|
3671
|
-
};
|
|
3672
|
-
};
|
|
3673
|
-
export type ProductVariantFragmentFragment = {
|
|
3674
|
-
__typename?: 'ProductVariant';
|
|
3675
|
-
active?: boolean | null;
|
|
3676
|
-
default: boolean;
|
|
3677
|
-
id: string;
|
|
3678
|
-
attributes: Array<{
|
|
3679
|
-
__typename?: 'ProductVariantAttribute';
|
|
3680
|
-
value: string;
|
|
3681
|
-
attribute: {
|
|
3682
|
-
__typename?: 'Attribute';
|
|
3683
|
-
active: boolean;
|
|
3684
|
-
createdAt: any;
|
|
3685
|
-
id: string;
|
|
3686
|
-
name: string;
|
|
3687
|
-
type: string;
|
|
3688
|
-
updatedAt: any;
|
|
3689
|
-
values?: Array<{
|
|
3690
|
-
__typename?: 'AttributeValue';
|
|
3691
|
-
default: boolean;
|
|
3692
|
-
name: string;
|
|
3693
|
-
}> | null;
|
|
3694
|
-
};
|
|
3695
|
-
}>;
|
|
3696
|
-
sellers: Array<{
|
|
3697
|
-
__typename?: 'ProductVariantSeller';
|
|
4386
|
+
variant?: Array<{
|
|
4387
|
+
__typename?: 'ProductVariant';
|
|
3698
4388
|
active?: boolean | null;
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
sku?: string | null;
|
|
3707
|
-
seller: {
|
|
3708
|
-
__typename?: 'Seller';
|
|
3709
|
-
id: string;
|
|
3710
|
-
name: string;
|
|
3711
|
-
description?: string | null;
|
|
3712
|
-
active: boolean;
|
|
3713
|
-
orderNumber: number;
|
|
3714
|
-
slug: string;
|
|
3715
|
-
rating?: number | null;
|
|
3716
|
-
verified: boolean;
|
|
3717
|
-
createdAt: any;
|
|
3718
|
-
updatedAt: any;
|
|
3719
|
-
};
|
|
3720
|
-
stock: {
|
|
3721
|
-
__typename?: 'ProductVariantStock';
|
|
3722
|
-
quantity: number;
|
|
3723
|
-
seller: Array<{
|
|
3724
|
-
__typename?: 'Seller';
|
|
3725
|
-
id: string;
|
|
3726
|
-
name: string;
|
|
3727
|
-
description?: string | null;
|
|
4389
|
+
default: boolean;
|
|
4390
|
+
id: string;
|
|
4391
|
+
attributes: Array<{
|
|
4392
|
+
__typename?: 'ProductVariantAttribute';
|
|
4393
|
+
value: string;
|
|
4394
|
+
attribute: {
|
|
4395
|
+
__typename?: 'Attribute';
|
|
3728
4396
|
active: boolean;
|
|
3729
|
-
orderNumber: number;
|
|
3730
|
-
slug: string;
|
|
3731
|
-
rating?: number | null;
|
|
3732
|
-
verified: boolean;
|
|
3733
4397
|
createdAt: any;
|
|
4398
|
+
id: string;
|
|
4399
|
+
name: string;
|
|
4400
|
+
type: string;
|
|
3734
4401
|
updatedAt: any;
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
4402
|
+
values?: Array<{
|
|
4403
|
+
__typename?: 'AttributeValue';
|
|
4404
|
+
default: boolean;
|
|
4405
|
+
name: string;
|
|
4406
|
+
}> | null;
|
|
4407
|
+
};
|
|
4408
|
+
}>;
|
|
4409
|
+
}> | null;
|
|
3738
4410
|
};
|
|
3739
4411
|
export type InfiniteProductsQueryVariables = Exact<{
|
|
3740
4412
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3748,6 +4420,7 @@ export type InfiniteProductsQueryVariables = Exact<{
|
|
|
3748
4420
|
withVariant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3749
4421
|
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3750
4422
|
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4423
|
+
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3751
4424
|
}>;
|
|
3752
4425
|
export type InfiniteProductsQuery = {
|
|
3753
4426
|
__typename?: 'Query';
|
|
@@ -3777,7 +4450,7 @@ export type InfiniteProductsQuery = {
|
|
|
3777
4450
|
status: ProductStatus;
|
|
3778
4451
|
todayDeal: boolean;
|
|
3779
4452
|
type: ProductType;
|
|
3780
|
-
updatedAt
|
|
4453
|
+
updatedAt?: any | null;
|
|
3781
4454
|
views: number;
|
|
3782
4455
|
warrantyDescription?: string | null;
|
|
3783
4456
|
warrantyTime?: string | null;
|
|
@@ -3832,48 +4505,6 @@ export type InfiniteProductsQuery = {
|
|
|
3832
4505
|
}> | null;
|
|
3833
4506
|
};
|
|
3834
4507
|
}>;
|
|
3835
|
-
sellers: Array<{
|
|
3836
|
-
__typename?: 'ProductVariantSeller';
|
|
3837
|
-
active?: boolean | null;
|
|
3838
|
-
barcode?: string | null;
|
|
3839
|
-
discountEndAt?: number | null;
|
|
3840
|
-
discountFixed?: number | null;
|
|
3841
|
-
discountPercentage?: number | null;
|
|
3842
|
-
discountStartAt?: number | null;
|
|
3843
|
-
priceDiff: number;
|
|
3844
|
-
quantity: number;
|
|
3845
|
-
sku?: string | null;
|
|
3846
|
-
seller: {
|
|
3847
|
-
__typename?: 'Seller';
|
|
3848
|
-
id: string;
|
|
3849
|
-
name: string;
|
|
3850
|
-
description?: string | null;
|
|
3851
|
-
active: boolean;
|
|
3852
|
-
orderNumber: number;
|
|
3853
|
-
slug: string;
|
|
3854
|
-
rating?: number | null;
|
|
3855
|
-
verified: boolean;
|
|
3856
|
-
createdAt: any;
|
|
3857
|
-
updatedAt: any;
|
|
3858
|
-
};
|
|
3859
|
-
stock: {
|
|
3860
|
-
__typename?: 'ProductVariantStock';
|
|
3861
|
-
quantity: number;
|
|
3862
|
-
seller: Array<{
|
|
3863
|
-
__typename?: 'Seller';
|
|
3864
|
-
id: string;
|
|
3865
|
-
name: string;
|
|
3866
|
-
description?: string | null;
|
|
3867
|
-
active: boolean;
|
|
3868
|
-
orderNumber: number;
|
|
3869
|
-
slug: string;
|
|
3870
|
-
rating?: number | null;
|
|
3871
|
-
verified: boolean;
|
|
3872
|
-
createdAt: any;
|
|
3873
|
-
updatedAt: any;
|
|
3874
|
-
}>;
|
|
3875
|
-
};
|
|
3876
|
-
}>;
|
|
3877
4508
|
}>;
|
|
3878
4509
|
thumbnail?: {
|
|
3879
4510
|
__typename?: 'File';
|
|
@@ -3911,6 +4542,55 @@ export type InfiniteProductsQuery = {
|
|
|
3911
4542
|
};
|
|
3912
4543
|
};
|
|
3913
4544
|
}>;
|
|
4545
|
+
sellers?: Array<{
|
|
4546
|
+
__typename?: 'ProductSeller';
|
|
4547
|
+
active?: boolean | null;
|
|
4548
|
+
barcode?: string | null;
|
|
4549
|
+
discountEndAt?: number | null;
|
|
4550
|
+
discountFixed?: number | null;
|
|
4551
|
+
discountPercentage?: number | null;
|
|
4552
|
+
discountStartAt?: number | null;
|
|
4553
|
+
priceDiff: number;
|
|
4554
|
+
quantity: number;
|
|
4555
|
+
sku?: string | null;
|
|
4556
|
+
seller: {
|
|
4557
|
+
__typename?: 'Seller';
|
|
4558
|
+
id: string;
|
|
4559
|
+
name: string;
|
|
4560
|
+
description?: string | null;
|
|
4561
|
+
active: boolean;
|
|
4562
|
+
orderNumber: number;
|
|
4563
|
+
slug: string;
|
|
4564
|
+
rating?: number | null;
|
|
4565
|
+
verified: boolean;
|
|
4566
|
+
createdAt: any;
|
|
4567
|
+
updatedAt: any;
|
|
4568
|
+
};
|
|
4569
|
+
variant?: Array<{
|
|
4570
|
+
__typename?: 'ProductVariant';
|
|
4571
|
+
active?: boolean | null;
|
|
4572
|
+
default: boolean;
|
|
4573
|
+
id: string;
|
|
4574
|
+
attributes: Array<{
|
|
4575
|
+
__typename?: 'ProductVariantAttribute';
|
|
4576
|
+
value: string;
|
|
4577
|
+
attribute: {
|
|
4578
|
+
__typename?: 'Attribute';
|
|
4579
|
+
active: boolean;
|
|
4580
|
+
createdAt: any;
|
|
4581
|
+
id: string;
|
|
4582
|
+
name: string;
|
|
4583
|
+
type: string;
|
|
4584
|
+
updatedAt: any;
|
|
4585
|
+
values?: Array<{
|
|
4586
|
+
__typename?: 'AttributeValue';
|
|
4587
|
+
default: boolean;
|
|
4588
|
+
name: string;
|
|
4589
|
+
}> | null;
|
|
4590
|
+
};
|
|
4591
|
+
}>;
|
|
4592
|
+
}> | null;
|
|
4593
|
+
}>;
|
|
3914
4594
|
};
|
|
3915
4595
|
}>;
|
|
3916
4596
|
pageInfo: {
|
|
@@ -3932,6 +4612,7 @@ export type PaginatedProductsQueryVariables = Exact<{
|
|
|
3932
4612
|
withVariant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3933
4613
|
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3934
4614
|
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4615
|
+
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3935
4616
|
}>;
|
|
3936
4617
|
export type PaginatedProductsQuery = {
|
|
3937
4618
|
__typename?: 'Query';
|
|
@@ -3961,7 +4642,7 @@ export type PaginatedProductsQuery = {
|
|
|
3961
4642
|
status: ProductStatus;
|
|
3962
4643
|
todayDeal: boolean;
|
|
3963
4644
|
type: ProductType;
|
|
3964
|
-
updatedAt
|
|
4645
|
+
updatedAt?: any | null;
|
|
3965
4646
|
views: number;
|
|
3966
4647
|
warrantyDescription?: string | null;
|
|
3967
4648
|
warrantyTime?: string | null;
|
|
@@ -4012,50 +4693,8 @@ export type PaginatedProductsQuery = {
|
|
|
4012
4693
|
values?: Array<{
|
|
4013
4694
|
__typename?: 'AttributeValue';
|
|
4014
4695
|
default: boolean;
|
|
4015
|
-
name: string;
|
|
4016
|
-
}> | null;
|
|
4017
|
-
};
|
|
4018
|
-
}>;
|
|
4019
|
-
sellers: Array<{
|
|
4020
|
-
__typename?: 'ProductVariantSeller';
|
|
4021
|
-
active?: boolean | null;
|
|
4022
|
-
barcode?: string | null;
|
|
4023
|
-
discountEndAt?: number | null;
|
|
4024
|
-
discountFixed?: number | null;
|
|
4025
|
-
discountPercentage?: number | null;
|
|
4026
|
-
discountStartAt?: number | null;
|
|
4027
|
-
priceDiff: number;
|
|
4028
|
-
quantity: number;
|
|
4029
|
-
sku?: string | null;
|
|
4030
|
-
seller: {
|
|
4031
|
-
__typename?: 'Seller';
|
|
4032
|
-
id: string;
|
|
4033
|
-
name: string;
|
|
4034
|
-
description?: string | null;
|
|
4035
|
-
active: boolean;
|
|
4036
|
-
orderNumber: number;
|
|
4037
|
-
slug: string;
|
|
4038
|
-
rating?: number | null;
|
|
4039
|
-
verified: boolean;
|
|
4040
|
-
createdAt: any;
|
|
4041
|
-
updatedAt: any;
|
|
4042
|
-
};
|
|
4043
|
-
stock: {
|
|
4044
|
-
__typename?: 'ProductVariantStock';
|
|
4045
|
-
quantity: number;
|
|
4046
|
-
seller: Array<{
|
|
4047
|
-
__typename?: 'Seller';
|
|
4048
|
-
id: string;
|
|
4049
|
-
name: string;
|
|
4050
|
-
description?: string | null;
|
|
4051
|
-
active: boolean;
|
|
4052
|
-
orderNumber: number;
|
|
4053
|
-
slug: string;
|
|
4054
|
-
rating?: number | null;
|
|
4055
|
-
verified: boolean;
|
|
4056
|
-
createdAt: any;
|
|
4057
|
-
updatedAt: any;
|
|
4058
|
-
}>;
|
|
4696
|
+
name: string;
|
|
4697
|
+
}> | null;
|
|
4059
4698
|
};
|
|
4060
4699
|
}>;
|
|
4061
4700
|
}>;
|
|
@@ -4095,6 +4734,55 @@ export type PaginatedProductsQuery = {
|
|
|
4095
4734
|
};
|
|
4096
4735
|
};
|
|
4097
4736
|
}>;
|
|
4737
|
+
sellers?: Array<{
|
|
4738
|
+
__typename?: 'ProductSeller';
|
|
4739
|
+
active?: boolean | null;
|
|
4740
|
+
barcode?: string | null;
|
|
4741
|
+
discountEndAt?: number | null;
|
|
4742
|
+
discountFixed?: number | null;
|
|
4743
|
+
discountPercentage?: number | null;
|
|
4744
|
+
discountStartAt?: number | null;
|
|
4745
|
+
priceDiff: number;
|
|
4746
|
+
quantity: number;
|
|
4747
|
+
sku?: string | null;
|
|
4748
|
+
seller: {
|
|
4749
|
+
__typename?: 'Seller';
|
|
4750
|
+
id: string;
|
|
4751
|
+
name: string;
|
|
4752
|
+
description?: string | null;
|
|
4753
|
+
active: boolean;
|
|
4754
|
+
orderNumber: number;
|
|
4755
|
+
slug: string;
|
|
4756
|
+
rating?: number | null;
|
|
4757
|
+
verified: boolean;
|
|
4758
|
+
createdAt: any;
|
|
4759
|
+
updatedAt: any;
|
|
4760
|
+
};
|
|
4761
|
+
variant?: Array<{
|
|
4762
|
+
__typename?: 'ProductVariant';
|
|
4763
|
+
active?: boolean | null;
|
|
4764
|
+
default: boolean;
|
|
4765
|
+
id: string;
|
|
4766
|
+
attributes: Array<{
|
|
4767
|
+
__typename?: 'ProductVariantAttribute';
|
|
4768
|
+
value: string;
|
|
4769
|
+
attribute: {
|
|
4770
|
+
__typename?: 'Attribute';
|
|
4771
|
+
active: boolean;
|
|
4772
|
+
createdAt: any;
|
|
4773
|
+
id: string;
|
|
4774
|
+
name: string;
|
|
4775
|
+
type: string;
|
|
4776
|
+
updatedAt: any;
|
|
4777
|
+
values?: Array<{
|
|
4778
|
+
__typename?: 'AttributeValue';
|
|
4779
|
+
default: boolean;
|
|
4780
|
+
name: string;
|
|
4781
|
+
}> | null;
|
|
4782
|
+
};
|
|
4783
|
+
}>;
|
|
4784
|
+
}> | null;
|
|
4785
|
+
}>;
|
|
4098
4786
|
};
|
|
4099
4787
|
}>;
|
|
4100
4788
|
pageInfo: {
|
|
@@ -4109,6 +4797,12 @@ export type PaginatedProductsQuery = {
|
|
|
4109
4797
|
};
|
|
4110
4798
|
export type ProductQueryVariables = Exact<{
|
|
4111
4799
|
id: Scalars['ID']['input'];
|
|
4800
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4801
|
+
withBrand?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4802
|
+
withVariant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4803
|
+
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4804
|
+
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4805
|
+
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4112
4806
|
}>;
|
|
4113
4807
|
export type ProductQuery = {
|
|
4114
4808
|
__typename?: 'Query';
|
|
@@ -4133,15 +4827,157 @@ export type ProductQuery = {
|
|
|
4133
4827
|
status: ProductStatus;
|
|
4134
4828
|
todayDeal: boolean;
|
|
4135
4829
|
type: ProductType;
|
|
4136
|
-
updatedAt
|
|
4830
|
+
updatedAt?: any | null;
|
|
4137
4831
|
views: number;
|
|
4138
4832
|
warrantyDescription?: string | null;
|
|
4139
4833
|
warrantyTime?: string | null;
|
|
4140
4834
|
warrantyType?: string | null;
|
|
4835
|
+
category?: {
|
|
4836
|
+
__typename?: 'Category';
|
|
4837
|
+
id: string;
|
|
4838
|
+
name: string;
|
|
4839
|
+
description?: string | null;
|
|
4840
|
+
slug: string;
|
|
4841
|
+
createdAt: any;
|
|
4842
|
+
updatedAt: any;
|
|
4843
|
+
names?: Array<{
|
|
4844
|
+
__typename?: 'LocalizedText';
|
|
4845
|
+
locale: string;
|
|
4846
|
+
value: string;
|
|
4847
|
+
}> | null;
|
|
4848
|
+
} | null;
|
|
4849
|
+
brand?: {
|
|
4850
|
+
__typename?: 'Brand';
|
|
4851
|
+
id: string;
|
|
4852
|
+
name: string;
|
|
4853
|
+
active?: boolean | null;
|
|
4854
|
+
description?: string | null;
|
|
4855
|
+
orderNumber: number;
|
|
4856
|
+
slug: string;
|
|
4857
|
+
logo?: {
|
|
4858
|
+
__typename?: 'File';
|
|
4859
|
+
url?: string | null;
|
|
4860
|
+
} | null;
|
|
4861
|
+
} | null;
|
|
4862
|
+
variants?: Array<{
|
|
4863
|
+
__typename?: 'ProductVariant';
|
|
4864
|
+
active?: boolean | null;
|
|
4865
|
+
default: boolean;
|
|
4866
|
+
id: string;
|
|
4867
|
+
attributes: Array<{
|
|
4868
|
+
__typename?: 'ProductVariantAttribute';
|
|
4869
|
+
value: string;
|
|
4870
|
+
attribute: {
|
|
4871
|
+
__typename?: 'Attribute';
|
|
4872
|
+
active: boolean;
|
|
4873
|
+
createdAt: any;
|
|
4874
|
+
id: string;
|
|
4875
|
+
name: string;
|
|
4876
|
+
type: string;
|
|
4877
|
+
updatedAt: any;
|
|
4878
|
+
values?: Array<{
|
|
4879
|
+
__typename?: 'AttributeValue';
|
|
4880
|
+
default: boolean;
|
|
4881
|
+
name: string;
|
|
4882
|
+
}> | null;
|
|
4883
|
+
};
|
|
4884
|
+
}>;
|
|
4885
|
+
}>;
|
|
4886
|
+
thumbnail?: {
|
|
4887
|
+
__typename?: 'File';
|
|
4888
|
+
createdAt: any;
|
|
4889
|
+
id: string;
|
|
4890
|
+
name: string;
|
|
4891
|
+
size?: number | null;
|
|
4892
|
+
status: FileStatusEnum;
|
|
4893
|
+
type?: string | null;
|
|
4894
|
+
updatedAt: any;
|
|
4895
|
+
url?: string | null;
|
|
4896
|
+
thumbnails: {
|
|
4897
|
+
__typename?: 'FileThumbnails';
|
|
4898
|
+
thumbnail450Url?: string | null;
|
|
4899
|
+
thumbnail900Url?: string | null;
|
|
4900
|
+
};
|
|
4901
|
+
};
|
|
4902
|
+
files?: Array<{
|
|
4903
|
+
__typename?: 'ProductFile';
|
|
4904
|
+
type: ProductFileType;
|
|
4905
|
+
file: {
|
|
4906
|
+
__typename?: 'File';
|
|
4907
|
+
createdAt: any;
|
|
4908
|
+
id: string;
|
|
4909
|
+
name: string;
|
|
4910
|
+
size?: number | null;
|
|
4911
|
+
status: FileStatusEnum;
|
|
4912
|
+
type?: string | null;
|
|
4913
|
+
updatedAt: any;
|
|
4914
|
+
url?: string | null;
|
|
4915
|
+
thumbnails: {
|
|
4916
|
+
__typename?: 'FileThumbnails';
|
|
4917
|
+
thumbnail450Url?: string | null;
|
|
4918
|
+
thumbnail900Url?: string | null;
|
|
4919
|
+
};
|
|
4920
|
+
};
|
|
4921
|
+
}>;
|
|
4922
|
+
sellers?: Array<{
|
|
4923
|
+
__typename?: 'ProductSeller';
|
|
4924
|
+
active?: boolean | null;
|
|
4925
|
+
barcode?: string | null;
|
|
4926
|
+
discountEndAt?: number | null;
|
|
4927
|
+
discountFixed?: number | null;
|
|
4928
|
+
discountPercentage?: number | null;
|
|
4929
|
+
discountStartAt?: number | null;
|
|
4930
|
+
priceDiff: number;
|
|
4931
|
+
quantity: number;
|
|
4932
|
+
sku?: string | null;
|
|
4933
|
+
seller: {
|
|
4934
|
+
__typename?: 'Seller';
|
|
4935
|
+
id: string;
|
|
4936
|
+
name: string;
|
|
4937
|
+
description?: string | null;
|
|
4938
|
+
active: boolean;
|
|
4939
|
+
orderNumber: number;
|
|
4940
|
+
slug: string;
|
|
4941
|
+
rating?: number | null;
|
|
4942
|
+
verified: boolean;
|
|
4943
|
+
createdAt: any;
|
|
4944
|
+
updatedAt: any;
|
|
4945
|
+
};
|
|
4946
|
+
variant?: Array<{
|
|
4947
|
+
__typename?: 'ProductVariant';
|
|
4948
|
+
active?: boolean | null;
|
|
4949
|
+
default: boolean;
|
|
4950
|
+
id: string;
|
|
4951
|
+
attributes: Array<{
|
|
4952
|
+
__typename?: 'ProductVariantAttribute';
|
|
4953
|
+
value: string;
|
|
4954
|
+
attribute: {
|
|
4955
|
+
__typename?: 'Attribute';
|
|
4956
|
+
active: boolean;
|
|
4957
|
+
createdAt: any;
|
|
4958
|
+
id: string;
|
|
4959
|
+
name: string;
|
|
4960
|
+
type: string;
|
|
4961
|
+
updatedAt: any;
|
|
4962
|
+
values?: Array<{
|
|
4963
|
+
__typename?: 'AttributeValue';
|
|
4964
|
+
default: boolean;
|
|
4965
|
+
name: string;
|
|
4966
|
+
}> | null;
|
|
4967
|
+
};
|
|
4968
|
+
}>;
|
|
4969
|
+
}> | null;
|
|
4970
|
+
}>;
|
|
4141
4971
|
}> | null;
|
|
4142
4972
|
};
|
|
4143
4973
|
export type CreateProductMutationVariables = Exact<{
|
|
4144
4974
|
data: CreateProductInput;
|
|
4975
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4976
|
+
withBrand?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4977
|
+
withVariant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4978
|
+
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4979
|
+
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4980
|
+
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4145
4981
|
}>;
|
|
4146
4982
|
export type CreateProductMutation = {
|
|
4147
4983
|
__typename?: 'Mutation';
|
|
@@ -4166,16 +5002,158 @@ export type CreateProductMutation = {
|
|
|
4166
5002
|
status: ProductStatus;
|
|
4167
5003
|
todayDeal: boolean;
|
|
4168
5004
|
type: ProductType;
|
|
4169
|
-
updatedAt
|
|
5005
|
+
updatedAt?: any | null;
|
|
4170
5006
|
views: number;
|
|
4171
5007
|
warrantyDescription?: string | null;
|
|
4172
5008
|
warrantyTime?: string | null;
|
|
4173
5009
|
warrantyType?: string | null;
|
|
5010
|
+
category?: {
|
|
5011
|
+
__typename?: 'Category';
|
|
5012
|
+
id: string;
|
|
5013
|
+
name: string;
|
|
5014
|
+
description?: string | null;
|
|
5015
|
+
slug: string;
|
|
5016
|
+
createdAt: any;
|
|
5017
|
+
updatedAt: any;
|
|
5018
|
+
names?: Array<{
|
|
5019
|
+
__typename?: 'LocalizedText';
|
|
5020
|
+
locale: string;
|
|
5021
|
+
value: string;
|
|
5022
|
+
}> | null;
|
|
5023
|
+
} | null;
|
|
5024
|
+
brand?: {
|
|
5025
|
+
__typename?: 'Brand';
|
|
5026
|
+
id: string;
|
|
5027
|
+
name: string;
|
|
5028
|
+
active?: boolean | null;
|
|
5029
|
+
description?: string | null;
|
|
5030
|
+
orderNumber: number;
|
|
5031
|
+
slug: string;
|
|
5032
|
+
logo?: {
|
|
5033
|
+
__typename?: 'File';
|
|
5034
|
+
url?: string | null;
|
|
5035
|
+
} | null;
|
|
5036
|
+
} | null;
|
|
5037
|
+
variants?: Array<{
|
|
5038
|
+
__typename?: 'ProductVariant';
|
|
5039
|
+
active?: boolean | null;
|
|
5040
|
+
default: boolean;
|
|
5041
|
+
id: string;
|
|
5042
|
+
attributes: Array<{
|
|
5043
|
+
__typename?: 'ProductVariantAttribute';
|
|
5044
|
+
value: string;
|
|
5045
|
+
attribute: {
|
|
5046
|
+
__typename?: 'Attribute';
|
|
5047
|
+
active: boolean;
|
|
5048
|
+
createdAt: any;
|
|
5049
|
+
id: string;
|
|
5050
|
+
name: string;
|
|
5051
|
+
type: string;
|
|
5052
|
+
updatedAt: any;
|
|
5053
|
+
values?: Array<{
|
|
5054
|
+
__typename?: 'AttributeValue';
|
|
5055
|
+
default: boolean;
|
|
5056
|
+
name: string;
|
|
5057
|
+
}> | null;
|
|
5058
|
+
};
|
|
5059
|
+
}>;
|
|
5060
|
+
}>;
|
|
5061
|
+
thumbnail?: {
|
|
5062
|
+
__typename?: 'File';
|
|
5063
|
+
createdAt: any;
|
|
5064
|
+
id: string;
|
|
5065
|
+
name: string;
|
|
5066
|
+
size?: number | null;
|
|
5067
|
+
status: FileStatusEnum;
|
|
5068
|
+
type?: string | null;
|
|
5069
|
+
updatedAt: any;
|
|
5070
|
+
url?: string | null;
|
|
5071
|
+
thumbnails: {
|
|
5072
|
+
__typename?: 'FileThumbnails';
|
|
5073
|
+
thumbnail450Url?: string | null;
|
|
5074
|
+
thumbnail900Url?: string | null;
|
|
5075
|
+
};
|
|
5076
|
+
};
|
|
5077
|
+
files?: Array<{
|
|
5078
|
+
__typename?: 'ProductFile';
|
|
5079
|
+
type: ProductFileType;
|
|
5080
|
+
file: {
|
|
5081
|
+
__typename?: 'File';
|
|
5082
|
+
createdAt: any;
|
|
5083
|
+
id: string;
|
|
5084
|
+
name: string;
|
|
5085
|
+
size?: number | null;
|
|
5086
|
+
status: FileStatusEnum;
|
|
5087
|
+
type?: string | null;
|
|
5088
|
+
updatedAt: any;
|
|
5089
|
+
url?: string | null;
|
|
5090
|
+
thumbnails: {
|
|
5091
|
+
__typename?: 'FileThumbnails';
|
|
5092
|
+
thumbnail450Url?: string | null;
|
|
5093
|
+
thumbnail900Url?: string | null;
|
|
5094
|
+
};
|
|
5095
|
+
};
|
|
5096
|
+
}>;
|
|
5097
|
+
sellers?: Array<{
|
|
5098
|
+
__typename?: 'ProductSeller';
|
|
5099
|
+
active?: boolean | null;
|
|
5100
|
+
barcode?: string | null;
|
|
5101
|
+
discountEndAt?: number | null;
|
|
5102
|
+
discountFixed?: number | null;
|
|
5103
|
+
discountPercentage?: number | null;
|
|
5104
|
+
discountStartAt?: number | null;
|
|
5105
|
+
priceDiff: number;
|
|
5106
|
+
quantity: number;
|
|
5107
|
+
sku?: string | null;
|
|
5108
|
+
seller: {
|
|
5109
|
+
__typename?: 'Seller';
|
|
5110
|
+
id: string;
|
|
5111
|
+
name: string;
|
|
5112
|
+
description?: string | null;
|
|
5113
|
+
active: boolean;
|
|
5114
|
+
orderNumber: number;
|
|
5115
|
+
slug: string;
|
|
5116
|
+
rating?: number | null;
|
|
5117
|
+
verified: boolean;
|
|
5118
|
+
createdAt: any;
|
|
5119
|
+
updatedAt: any;
|
|
5120
|
+
};
|
|
5121
|
+
variant?: Array<{
|
|
5122
|
+
__typename?: 'ProductVariant';
|
|
5123
|
+
active?: boolean | null;
|
|
5124
|
+
default: boolean;
|
|
5125
|
+
id: string;
|
|
5126
|
+
attributes: Array<{
|
|
5127
|
+
__typename?: 'ProductVariantAttribute';
|
|
5128
|
+
value: string;
|
|
5129
|
+
attribute: {
|
|
5130
|
+
__typename?: 'Attribute';
|
|
5131
|
+
active: boolean;
|
|
5132
|
+
createdAt: any;
|
|
5133
|
+
id: string;
|
|
5134
|
+
name: string;
|
|
5135
|
+
type: string;
|
|
5136
|
+
updatedAt: any;
|
|
5137
|
+
values?: Array<{
|
|
5138
|
+
__typename?: 'AttributeValue';
|
|
5139
|
+
default: boolean;
|
|
5140
|
+
name: string;
|
|
5141
|
+
}> | null;
|
|
5142
|
+
};
|
|
5143
|
+
}>;
|
|
5144
|
+
}> | null;
|
|
5145
|
+
}>;
|
|
4174
5146
|
};
|
|
4175
5147
|
};
|
|
4176
5148
|
export type UpdateProductMutationVariables = Exact<{
|
|
4177
5149
|
data: UpdateProductInput;
|
|
4178
5150
|
id: Scalars['ID']['input'];
|
|
5151
|
+
withCategory?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5152
|
+
withBrand?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5153
|
+
withVariant?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5154
|
+
withThumbnail?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5155
|
+
withFiles?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5156
|
+
withSellers?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4179
5157
|
}>;
|
|
4180
5158
|
export type UpdateProductMutation = {
|
|
4181
5159
|
__typename?: 'Mutation';
|
|
@@ -4200,11 +5178,147 @@ export type UpdateProductMutation = {
|
|
|
4200
5178
|
status: ProductStatus;
|
|
4201
5179
|
todayDeal: boolean;
|
|
4202
5180
|
type: ProductType;
|
|
4203
|
-
updatedAt
|
|
5181
|
+
updatedAt?: any | null;
|
|
4204
5182
|
views: number;
|
|
4205
5183
|
warrantyDescription?: string | null;
|
|
4206
5184
|
warrantyTime?: string | null;
|
|
4207
5185
|
warrantyType?: string | null;
|
|
5186
|
+
category?: {
|
|
5187
|
+
__typename?: 'Category';
|
|
5188
|
+
id: string;
|
|
5189
|
+
name: string;
|
|
5190
|
+
description?: string | null;
|
|
5191
|
+
slug: string;
|
|
5192
|
+
createdAt: any;
|
|
5193
|
+
updatedAt: any;
|
|
5194
|
+
names?: Array<{
|
|
5195
|
+
__typename?: 'LocalizedText';
|
|
5196
|
+
locale: string;
|
|
5197
|
+
value: string;
|
|
5198
|
+
}> | null;
|
|
5199
|
+
} | null;
|
|
5200
|
+
brand?: {
|
|
5201
|
+
__typename?: 'Brand';
|
|
5202
|
+
id: string;
|
|
5203
|
+
name: string;
|
|
5204
|
+
active?: boolean | null;
|
|
5205
|
+
description?: string | null;
|
|
5206
|
+
orderNumber: number;
|
|
5207
|
+
slug: string;
|
|
5208
|
+
logo?: {
|
|
5209
|
+
__typename?: 'File';
|
|
5210
|
+
url?: string | null;
|
|
5211
|
+
} | null;
|
|
5212
|
+
} | null;
|
|
5213
|
+
variants?: Array<{
|
|
5214
|
+
__typename?: 'ProductVariant';
|
|
5215
|
+
active?: boolean | null;
|
|
5216
|
+
default: boolean;
|
|
5217
|
+
id: string;
|
|
5218
|
+
attributes: Array<{
|
|
5219
|
+
__typename?: 'ProductVariantAttribute';
|
|
5220
|
+
value: string;
|
|
5221
|
+
attribute: {
|
|
5222
|
+
__typename?: 'Attribute';
|
|
5223
|
+
active: boolean;
|
|
5224
|
+
createdAt: any;
|
|
5225
|
+
id: string;
|
|
5226
|
+
name: string;
|
|
5227
|
+
type: string;
|
|
5228
|
+
updatedAt: any;
|
|
5229
|
+
values?: Array<{
|
|
5230
|
+
__typename?: 'AttributeValue';
|
|
5231
|
+
default: boolean;
|
|
5232
|
+
name: string;
|
|
5233
|
+
}> | null;
|
|
5234
|
+
};
|
|
5235
|
+
}>;
|
|
5236
|
+
}>;
|
|
5237
|
+
thumbnail?: {
|
|
5238
|
+
__typename?: 'File';
|
|
5239
|
+
createdAt: any;
|
|
5240
|
+
id: string;
|
|
5241
|
+
name: string;
|
|
5242
|
+
size?: number | null;
|
|
5243
|
+
status: FileStatusEnum;
|
|
5244
|
+
type?: string | null;
|
|
5245
|
+
updatedAt: any;
|
|
5246
|
+
url?: string | null;
|
|
5247
|
+
thumbnails: {
|
|
5248
|
+
__typename?: 'FileThumbnails';
|
|
5249
|
+
thumbnail450Url?: string | null;
|
|
5250
|
+
thumbnail900Url?: string | null;
|
|
5251
|
+
};
|
|
5252
|
+
};
|
|
5253
|
+
files?: Array<{
|
|
5254
|
+
__typename?: 'ProductFile';
|
|
5255
|
+
type: ProductFileType;
|
|
5256
|
+
file: {
|
|
5257
|
+
__typename?: 'File';
|
|
5258
|
+
createdAt: any;
|
|
5259
|
+
id: string;
|
|
5260
|
+
name: string;
|
|
5261
|
+
size?: number | null;
|
|
5262
|
+
status: FileStatusEnum;
|
|
5263
|
+
type?: string | null;
|
|
5264
|
+
updatedAt: any;
|
|
5265
|
+
url?: string | null;
|
|
5266
|
+
thumbnails: {
|
|
5267
|
+
__typename?: 'FileThumbnails';
|
|
5268
|
+
thumbnail450Url?: string | null;
|
|
5269
|
+
thumbnail900Url?: string | null;
|
|
5270
|
+
};
|
|
5271
|
+
};
|
|
5272
|
+
}>;
|
|
5273
|
+
sellers?: Array<{
|
|
5274
|
+
__typename?: 'ProductSeller';
|
|
5275
|
+
active?: boolean | null;
|
|
5276
|
+
barcode?: string | null;
|
|
5277
|
+
discountEndAt?: number | null;
|
|
5278
|
+
discountFixed?: number | null;
|
|
5279
|
+
discountPercentage?: number | null;
|
|
5280
|
+
discountStartAt?: number | null;
|
|
5281
|
+
priceDiff: number;
|
|
5282
|
+
quantity: number;
|
|
5283
|
+
sku?: string | null;
|
|
5284
|
+
seller: {
|
|
5285
|
+
__typename?: 'Seller';
|
|
5286
|
+
id: string;
|
|
5287
|
+
name: string;
|
|
5288
|
+
description?: string | null;
|
|
5289
|
+
active: boolean;
|
|
5290
|
+
orderNumber: number;
|
|
5291
|
+
slug: string;
|
|
5292
|
+
rating?: number | null;
|
|
5293
|
+
verified: boolean;
|
|
5294
|
+
createdAt: any;
|
|
5295
|
+
updatedAt: any;
|
|
5296
|
+
};
|
|
5297
|
+
variant?: Array<{
|
|
5298
|
+
__typename?: 'ProductVariant';
|
|
5299
|
+
active?: boolean | null;
|
|
5300
|
+
default: boolean;
|
|
5301
|
+
id: string;
|
|
5302
|
+
attributes: Array<{
|
|
5303
|
+
__typename?: 'ProductVariantAttribute';
|
|
5304
|
+
value: string;
|
|
5305
|
+
attribute: {
|
|
5306
|
+
__typename?: 'Attribute';
|
|
5307
|
+
active: boolean;
|
|
5308
|
+
createdAt: any;
|
|
5309
|
+
id: string;
|
|
5310
|
+
name: string;
|
|
5311
|
+
type: string;
|
|
5312
|
+
updatedAt: any;
|
|
5313
|
+
values?: Array<{
|
|
5314
|
+
__typename?: 'AttributeValue';
|
|
5315
|
+
default: boolean;
|
|
5316
|
+
name: string;
|
|
5317
|
+
}> | null;
|
|
5318
|
+
};
|
|
5319
|
+
}>;
|
|
5320
|
+
}> | null;
|
|
5321
|
+
}>;
|
|
4208
5322
|
};
|
|
4209
5323
|
};
|
|
4210
5324
|
export type DeleteProductMutationVariables = Exact<{
|
|
@@ -4487,11 +5601,16 @@ export type TagQuery = {
|
|
|
4487
5601
|
};
|
|
4488
5602
|
export declare const AttributeFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4489
5603
|
export declare const BrandFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5604
|
+
export declare const CartFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5605
|
+
export declare const CustomerAddressFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5606
|
+
export declare const ProductFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5607
|
+
export declare const SellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5608
|
+
export declare const ProductVariantFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5609
|
+
export declare const CartItemFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4490
5610
|
export declare const CategoryFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4491
5611
|
export declare const ColorFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4492
5612
|
export declare const CustomFieldFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4493
5613
|
export declare const CustomerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4494
|
-
export declare const CustomerAddressFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4495
5614
|
export declare const CustomerTelephoneNumberFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4496
5615
|
export declare const FileThumbnailsFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
4497
5616
|
export declare const FileFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
@@ -4499,16 +5618,17 @@ export declare const FileUploadUrlFieldsFragmentDoc: import("graphql").DocumentN
|
|
|
4499
5618
|
export declare const FileUploadFieldsFragmentDoc: import("graphql").DocumentNode;
|
|
4500
5619
|
export declare const MetricFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4501
5620
|
export declare const OrderFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4502
|
-
export declare const
|
|
4503
|
-
export declare const SellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4504
|
-
export declare const ProductVariantStockFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4505
|
-
export declare const ProductVariantSellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4506
|
-
export declare const ProductVariantFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
5621
|
+
export declare const ProductSellerFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4507
5622
|
export declare const TagFragmentFragmentDoc: import("graphql").DocumentNode;
|
|
4508
5623
|
export declare const InfiniteAttributesDocument: import("graphql").DocumentNode;
|
|
4509
5624
|
export declare const PaginatedAttributesDocument: import("graphql").DocumentNode;
|
|
4510
5625
|
export declare const InfiniteBrandsDocument: import("graphql").DocumentNode;
|
|
4511
5626
|
export declare const PaginatedBrandsDocument: import("graphql").DocumentNode;
|
|
5627
|
+
export declare const AddToCartDocument: import("graphql").DocumentNode;
|
|
5628
|
+
export declare const RemoveFromCartDocument: import("graphql").DocumentNode;
|
|
5629
|
+
export declare const SetCartAddressDocument: import("graphql").DocumentNode;
|
|
5630
|
+
export declare const UpdateCartItemDocument: import("graphql").DocumentNode;
|
|
5631
|
+
export declare const CartDocument: import("graphql").DocumentNode;
|
|
4512
5632
|
export declare const InfiniteCategoriesDocument: import("graphql").DocumentNode;
|
|
4513
5633
|
export declare const PaginatedCategoriesDocument: import("graphql").DocumentNode;
|
|
4514
5634
|
export declare const InfiniteColorsDocument: import("graphql").DocumentNode;
|
|
@@ -4525,8 +5645,7 @@ export declare const InitiateFileUploadDocument: import("graphql").DocumentNode;
|
|
|
4525
5645
|
export declare const CompleteFileUploadDocument: import("graphql").DocumentNode;
|
|
4526
5646
|
export declare const FileDocument: import("graphql").DocumentNode;
|
|
4527
5647
|
export declare const InfiniteMetricsDocument: import("graphql").DocumentNode;
|
|
4528
|
-
export declare const
|
|
4529
|
-
export declare const UpdateOrderDocument: import("graphql").DocumentNode;
|
|
5648
|
+
export declare const FinalizeOrderDocument: import("graphql").DocumentNode;
|
|
4530
5649
|
export declare const InfiniteOrdersDocument: import("graphql").DocumentNode;
|
|
4531
5650
|
export declare const PaginatedOrdersDocument: import("graphql").DocumentNode;
|
|
4532
5651
|
export declare const OrderDocument: import("graphql").DocumentNode;
|