|
|
@@ -1,5 +1,3 @@
|
|
|
-
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -8,10 +6,9 @@
|
|
|
// ====================================================
|
|
|
|
|
|
export interface RequestStarted {
|
|
|
- requestStarted: number;
|
|
|
+ requestStarted: number;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -20,10 +17,9 @@ export interface RequestStarted {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface RequestCompleted {
|
|
|
- requestCompleted: number;
|
|
|
+ requestCompleted: number;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -32,22 +28,21 @@ export interface RequestCompleted {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface LogIn_logIn {
|
|
|
- __typename: "UserStatus";
|
|
|
- username: string;
|
|
|
- isLoggedIn: boolean;
|
|
|
- loginTime: string;
|
|
|
+ __typename: 'UserStatus';
|
|
|
+ username: string;
|
|
|
+ isLoggedIn: boolean;
|
|
|
+ loginTime: string;
|
|
|
}
|
|
|
|
|
|
export interface LogIn {
|
|
|
- logIn: LogIn_logIn | null;
|
|
|
+ logIn: LogIn_logIn | null;
|
|
|
}
|
|
|
|
|
|
export interface LogInVariables {
|
|
|
- username: string;
|
|
|
- loginTime: string;
|
|
|
+ username: string;
|
|
|
+ loginTime: string;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -56,17 +51,16 @@ export interface LogInVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface LogOut_logOut {
|
|
|
- __typename: "UserStatus";
|
|
|
- username: string;
|
|
|
- isLoggedIn: boolean;
|
|
|
- loginTime: string;
|
|
|
+ __typename: 'UserStatus';
|
|
|
+ username: string;
|
|
|
+ isLoggedIn: boolean;
|
|
|
+ loginTime: string;
|
|
|
}
|
|
|
|
|
|
export interface LogOut {
|
|
|
- logOut: LogOut_logOut | null;
|
|
|
+ logOut: LogOut_logOut | null;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -75,14 +69,13 @@ export interface LogOut {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface SetUiLanguage {
|
|
|
- setUiLanguage: LanguageCode | null;
|
|
|
+ setUiLanguage: LanguageCode | null;
|
|
|
}
|
|
|
|
|
|
export interface SetUiLanguageVariables {
|
|
|
- languageCode: LanguageCode;
|
|
|
+ languageCode: LanguageCode;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -91,70 +84,69 @@ export interface SetUiLanguageVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface UpdateProduct_updateProduct_translations {
|
|
|
- __typename: "ProductTranslation";
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
- slug: string;
|
|
|
- description: string | null;
|
|
|
+ __typename: 'ProductTranslation';
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
+ slug: string;
|
|
|
+ description: string | null;
|
|
|
}
|
|
|
|
|
|
export interface UpdateProduct_updateProduct_optionGroups {
|
|
|
- __typename: "ProductOptionGroup";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- name: string | null;
|
|
|
+ __typename: 'ProductOptionGroup';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ name: string | null;
|
|
|
}
|
|
|
|
|
|
export interface UpdateProduct_updateProduct_variants_options {
|
|
|
- __typename: "ProductOption";
|
|
|
- id: string;
|
|
|
- code: string | null;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- name: string | null;
|
|
|
+ __typename: 'ProductOption';
|
|
|
+ id: string;
|
|
|
+ code: string | null;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ name: string | null;
|
|
|
}
|
|
|
|
|
|
export interface UpdateProduct_updateProduct_variants_translations {
|
|
|
- __typename: "ProductVariantTranslation";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductVariantTranslation';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface UpdateProduct_updateProduct_variants {
|
|
|
- __typename: "ProductVariant";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- price: number | null;
|
|
|
- sku: string | null;
|
|
|
- image: string | null;
|
|
|
- options: UpdateProduct_updateProduct_variants_options[];
|
|
|
- translations: UpdateProduct_updateProduct_variants_translations[];
|
|
|
+ __typename: 'ProductVariant';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ price: number | null;
|
|
|
+ sku: string | null;
|
|
|
+ image: string | null;
|
|
|
+ options: UpdateProduct_updateProduct_variants_options[];
|
|
|
+ translations: UpdateProduct_updateProduct_variants_translations[];
|
|
|
}
|
|
|
|
|
|
export interface UpdateProduct_updateProduct {
|
|
|
- __typename: "Product";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- slug: string | null;
|
|
|
- image: string | null;
|
|
|
- description: string | null;
|
|
|
- translations: UpdateProduct_updateProduct_translations[];
|
|
|
- optionGroups: UpdateProduct_updateProduct_optionGroups[];
|
|
|
- variants: UpdateProduct_updateProduct_variants[];
|
|
|
+ __typename: 'Product';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ slug: string | null;
|
|
|
+ image: string | null;
|
|
|
+ description: string | null;
|
|
|
+ translations: UpdateProduct_updateProduct_translations[];
|
|
|
+ optionGroups: UpdateProduct_updateProduct_optionGroups[];
|
|
|
+ variants: UpdateProduct_updateProduct_variants[];
|
|
|
}
|
|
|
|
|
|
export interface UpdateProduct {
|
|
|
- updateProduct: UpdateProduct_updateProduct; // Update an existing Product
|
|
|
+ updateProduct: UpdateProduct_updateProduct; // Update an existing Product
|
|
|
}
|
|
|
|
|
|
export interface UpdateProductVariables {
|
|
|
- input: UpdateProductInput;
|
|
|
+ input: UpdateProductInput;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -163,42 +155,41 @@ export interface UpdateProductVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface CreateProductOptionGroup_createProductOptionGroup_translations {
|
|
|
- __typename: "ProductOptionGroupTranslation";
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductOptionGroupTranslation';
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface CreateProductOptionGroup_createProductOptionGroup_options_translations {
|
|
|
- __typename: "ProductOptionTranslation";
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductOptionTranslation';
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface CreateProductOptionGroup_createProductOptionGroup_options {
|
|
|
- __typename: "ProductOption";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- translations: CreateProductOptionGroup_createProductOptionGroup_options_translations[];
|
|
|
+ __typename: 'ProductOption';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ translations: CreateProductOptionGroup_createProductOptionGroup_options_translations[];
|
|
|
}
|
|
|
|
|
|
export interface CreateProductOptionGroup_createProductOptionGroup {
|
|
|
- __typename: "ProductOptionGroup";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- name: string | null;
|
|
|
- translations: (CreateProductOptionGroup_createProductOptionGroup_translations | null)[] | null;
|
|
|
- options: (CreateProductOptionGroup_createProductOptionGroup_options | null)[] | null;
|
|
|
+ __typename: 'ProductOptionGroup';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ name: string | null;
|
|
|
+ translations: (CreateProductOptionGroup_createProductOptionGroup_translations | null)[] | null;
|
|
|
+ options: (CreateProductOptionGroup_createProductOptionGroup_options | null)[] | null;
|
|
|
}
|
|
|
|
|
|
export interface CreateProductOptionGroup {
|
|
|
- createProductOptionGroup: CreateProductOptionGroup_createProductOptionGroup | null; // Create a new ProductOptionGroup
|
|
|
+ createProductOptionGroup: CreateProductOptionGroup_createProductOptionGroup | null; // Create a new ProductOptionGroup
|
|
|
}
|
|
|
|
|
|
export interface CreateProductOptionGroupVariables {
|
|
|
- input: CreateProductOptionGroupInput;
|
|
|
+ input: CreateProductOptionGroupInput;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -207,34 +198,33 @@ export interface CreateProductOptionGroupVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options {
|
|
|
- __typename: "ProductOption";
|
|
|
- id: string;
|
|
|
- code: string | null;
|
|
|
+ __typename: 'ProductOption';
|
|
|
+ id: string;
|
|
|
+ code: string | null;
|
|
|
}
|
|
|
|
|
|
export interface AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups {
|
|
|
- __typename: "ProductOptionGroup";
|
|
|
- id: string;
|
|
|
- code: string | null;
|
|
|
- options: (AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options | null)[] | null;
|
|
|
+ __typename: 'ProductOptionGroup';
|
|
|
+ id: string;
|
|
|
+ code: string | null;
|
|
|
+ options: (AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups_options | null)[] | null;
|
|
|
}
|
|
|
|
|
|
export interface AddOptionGroupToProduct_addOptionGroupToProduct {
|
|
|
- __typename: "Product";
|
|
|
- id: string;
|
|
|
- optionGroups: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups[];
|
|
|
+ __typename: 'Product';
|
|
|
+ id: string;
|
|
|
+ optionGroups: AddOptionGroupToProduct_addOptionGroupToProduct_optionGroups[];
|
|
|
}
|
|
|
|
|
|
export interface AddOptionGroupToProduct {
|
|
|
- addOptionGroupToProduct: AddOptionGroupToProduct_addOptionGroupToProduct; // Add an OptionGroup to a Product
|
|
|
+ addOptionGroupToProduct: AddOptionGroupToProduct_addOptionGroupToProduct; // Add an OptionGroup to a Product
|
|
|
}
|
|
|
|
|
|
export interface AddOptionGroupToProductVariables {
|
|
|
- productId: string;
|
|
|
- optionGroupId: string;
|
|
|
+ productId: string;
|
|
|
+ optionGroupId: string;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -243,15 +233,14 @@ export interface AddOptionGroupToProductVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface GetNetworkStatus_networkStatus {
|
|
|
- __typename: "NetworkStatus";
|
|
|
- inFlightRequests: number;
|
|
|
+ __typename: 'NetworkStatus';
|
|
|
+ inFlightRequests: number;
|
|
|
}
|
|
|
|
|
|
export interface GetNetworkStatus {
|
|
|
- networkStatus: GetNetworkStatus_networkStatus;
|
|
|
+ networkStatus: GetNetworkStatus_networkStatus;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -260,17 +249,16 @@ export interface GetNetworkStatus {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface GetUserStatus_userStatus {
|
|
|
- __typename: "UserStatus";
|
|
|
- username: string;
|
|
|
- isLoggedIn: boolean;
|
|
|
- loginTime: string;
|
|
|
+ __typename: 'UserStatus';
|
|
|
+ username: string;
|
|
|
+ isLoggedIn: boolean;
|
|
|
+ loginTime: string;
|
|
|
}
|
|
|
|
|
|
export interface GetUserStatus {
|
|
|
- userStatus: GetUserStatus_userStatus;
|
|
|
+ userStatus: GetUserStatus_userStatus;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -279,15 +267,14 @@ export interface GetUserStatus {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface GetUiState_uiState {
|
|
|
- __typename: "UiState";
|
|
|
- language: LanguageCode;
|
|
|
+ __typename: 'UiState';
|
|
|
+ language: LanguageCode;
|
|
|
}
|
|
|
|
|
|
export interface GetUiState {
|
|
|
- uiState: GetUiState_uiState;
|
|
|
+ uiState: GetUiState_uiState;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -296,71 +283,70 @@ export interface GetUiState {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface GetProductWithVariants_product_translations {
|
|
|
- __typename: "ProductTranslation";
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
- slug: string;
|
|
|
- description: string | null;
|
|
|
+ __typename: 'ProductTranslation';
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
+ slug: string;
|
|
|
+ description: string | null;
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariants_product_optionGroups {
|
|
|
- __typename: "ProductOptionGroup";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- name: string | null;
|
|
|
+ __typename: 'ProductOptionGroup';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ name: string | null;
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariants_product_variants_options {
|
|
|
- __typename: "ProductOption";
|
|
|
- id: string;
|
|
|
- code: string | null;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- name: string | null;
|
|
|
+ __typename: 'ProductOption';
|
|
|
+ id: string;
|
|
|
+ code: string | null;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ name: string | null;
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariants_product_variants_translations {
|
|
|
- __typename: "ProductVariantTranslation";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductVariantTranslation';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariants_product_variants {
|
|
|
- __typename: "ProductVariant";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- price: number | null;
|
|
|
- sku: string | null;
|
|
|
- image: string | null;
|
|
|
- options: GetProductWithVariants_product_variants_options[];
|
|
|
- translations: GetProductWithVariants_product_variants_translations[];
|
|
|
+ __typename: 'ProductVariant';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ price: number | null;
|
|
|
+ sku: string | null;
|
|
|
+ image: string | null;
|
|
|
+ options: GetProductWithVariants_product_variants_options[];
|
|
|
+ translations: GetProductWithVariants_product_variants_translations[];
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariants_product {
|
|
|
- __typename: "Product";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- slug: string | null;
|
|
|
- image: string | null;
|
|
|
- description: string | null;
|
|
|
- translations: GetProductWithVariants_product_translations[];
|
|
|
- optionGroups: GetProductWithVariants_product_optionGroups[];
|
|
|
- variants: GetProductWithVariants_product_variants[];
|
|
|
+ __typename: 'Product';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ slug: string | null;
|
|
|
+ image: string | null;
|
|
|
+ description: string | null;
|
|
|
+ translations: GetProductWithVariants_product_translations[];
|
|
|
+ optionGroups: GetProductWithVariants_product_optionGroups[];
|
|
|
+ variants: GetProductWithVariants_product_variants[];
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariants {
|
|
|
- product: GetProductWithVariants_product;
|
|
|
+ product: GetProductWithVariants_product;
|
|
|
}
|
|
|
|
|
|
export interface GetProductWithVariantsVariables {
|
|
|
- id: string;
|
|
|
- languageCode?: LanguageCode | null;
|
|
|
+ id: string;
|
|
|
+ languageCode?: LanguageCode | null;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -369,31 +355,30 @@ export interface GetProductWithVariantsVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface GetProductList_products_items {
|
|
|
- __typename: "Product";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- slug: string | null;
|
|
|
- description: string | null;
|
|
|
+ __typename: 'Product';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ slug: string | null;
|
|
|
+ description: string | null;
|
|
|
}
|
|
|
|
|
|
export interface GetProductList_products {
|
|
|
- __typename: "ProductList";
|
|
|
- items: GetProductList_products_items[];
|
|
|
- totalItems: number;
|
|
|
+ __typename: 'ProductList';
|
|
|
+ items: GetProductList_products_items[];
|
|
|
+ totalItems: number;
|
|
|
}
|
|
|
|
|
|
export interface GetProductList {
|
|
|
- products: GetProductList_products;
|
|
|
+ products: GetProductList_products;
|
|
|
}
|
|
|
|
|
|
export interface GetProductListVariables {
|
|
|
- take?: number | null;
|
|
|
- skip?: number | null;
|
|
|
- languageCode?: LanguageCode | null;
|
|
|
+ take?: number | null;
|
|
|
+ skip?: number | null;
|
|
|
+ languageCode?: LanguageCode | null;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -402,62 +387,61 @@ export interface GetProductListVariables {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface ProductWithVariants_translations {
|
|
|
- __typename: "ProductTranslation";
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
- slug: string;
|
|
|
- description: string | null;
|
|
|
+ __typename: 'ProductTranslation';
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
+ slug: string;
|
|
|
+ description: string | null;
|
|
|
}
|
|
|
|
|
|
export interface ProductWithVariants_optionGroups {
|
|
|
- __typename: "ProductOptionGroup";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- name: string | null;
|
|
|
+ __typename: 'ProductOptionGroup';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ name: string | null;
|
|
|
}
|
|
|
|
|
|
export interface ProductWithVariants_variants_options {
|
|
|
- __typename: "ProductOption";
|
|
|
- id: string;
|
|
|
- code: string | null;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- name: string | null;
|
|
|
+ __typename: 'ProductOption';
|
|
|
+ id: string;
|
|
|
+ code: string | null;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ name: string | null;
|
|
|
}
|
|
|
|
|
|
export interface ProductWithVariants_variants_translations {
|
|
|
- __typename: "ProductVariantTranslation";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductVariantTranslation';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface ProductWithVariants_variants {
|
|
|
- __typename: "ProductVariant";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- price: number | null;
|
|
|
- sku: string | null;
|
|
|
- image: string | null;
|
|
|
- options: ProductWithVariants_variants_options[];
|
|
|
- translations: ProductWithVariants_variants_translations[];
|
|
|
+ __typename: 'ProductVariant';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ price: number | null;
|
|
|
+ sku: string | null;
|
|
|
+ image: string | null;
|
|
|
+ options: ProductWithVariants_variants_options[];
|
|
|
+ translations: ProductWithVariants_variants_translations[];
|
|
|
}
|
|
|
|
|
|
export interface ProductWithVariants {
|
|
|
- __typename: "Product";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string | null;
|
|
|
- slug: string | null;
|
|
|
- image: string | null;
|
|
|
- description: string | null;
|
|
|
- translations: ProductWithVariants_translations[];
|
|
|
- optionGroups: ProductWithVariants_optionGroups[];
|
|
|
- variants: ProductWithVariants_variants[];
|
|
|
+ __typename: 'Product';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string | null;
|
|
|
+ slug: string | null;
|
|
|
+ image: string | null;
|
|
|
+ description: string | null;
|
|
|
+ translations: ProductWithVariants_translations[];
|
|
|
+ optionGroups: ProductWithVariants_optionGroups[];
|
|
|
+ variants: ProductWithVariants_variants[];
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/* tslint:disable */
|
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
|
|
@@ -466,31 +450,31 @@ export interface ProductWithVariants {
|
|
|
// ====================================================
|
|
|
|
|
|
export interface ProductOptionGroup_translations {
|
|
|
- __typename: "ProductOptionGroupTranslation";
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductOptionGroupTranslation';
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface ProductOptionGroup_options_translations {
|
|
|
- __typename: "ProductOptionTranslation";
|
|
|
- name: string;
|
|
|
+ __typename: 'ProductOptionTranslation';
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
export interface ProductOptionGroup_options {
|
|
|
- __typename: "ProductOption";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- translations: ProductOptionGroup_options_translations[];
|
|
|
+ __typename: 'ProductOption';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ translations: ProductOptionGroup_options_translations[];
|
|
|
}
|
|
|
|
|
|
export interface ProductOptionGroup {
|
|
|
- __typename: "ProductOptionGroup";
|
|
|
- id: string;
|
|
|
- languageCode: LanguageCode | null;
|
|
|
- code: string | null;
|
|
|
- name: string | null;
|
|
|
- translations: (ProductOptionGroup_translations | null)[] | null;
|
|
|
- options: (ProductOptionGroup_options | null)[] | null;
|
|
|
+ __typename: 'ProductOptionGroup';
|
|
|
+ id: string;
|
|
|
+ languageCode: LanguageCode | null;
|
|
|
+ code: string | null;
|
|
|
+ name: string | null;
|
|
|
+ translations: (ProductOptionGroup_translations | null)[] | null;
|
|
|
+ options: (ProductOptionGroup_options | null)[] | null;
|
|
|
}
|
|
|
|
|
|
/* tslint:disable */
|
|
|
@@ -502,229 +486,229 @@ export interface ProductOptionGroup {
|
|
|
|
|
|
// ISO 639-1 language code
|
|
|
export enum LanguageCode {
|
|
|
- aa = "aa",
|
|
|
- ab = "ab",
|
|
|
- ae = "ae",
|
|
|
- af = "af",
|
|
|
- ak = "ak",
|
|
|
- am = "am",
|
|
|
- an = "an",
|
|
|
- ar = "ar",
|
|
|
- as = "as",
|
|
|
- av = "av",
|
|
|
- ay = "ay",
|
|
|
- az = "az",
|
|
|
- ba = "ba",
|
|
|
- be = "be",
|
|
|
- bg = "bg",
|
|
|
- bh = "bh",
|
|
|
- bi = "bi",
|
|
|
- bm = "bm",
|
|
|
- bn = "bn",
|
|
|
- bo = "bo",
|
|
|
- br = "br",
|
|
|
- bs = "bs",
|
|
|
- ca = "ca",
|
|
|
- ce = "ce",
|
|
|
- ch = "ch",
|
|
|
- co = "co",
|
|
|
- cr = "cr",
|
|
|
- cs = "cs",
|
|
|
- cu = "cu",
|
|
|
- cv = "cv",
|
|
|
- cy = "cy",
|
|
|
- da = "da",
|
|
|
- de = "de",
|
|
|
- dv = "dv",
|
|
|
- dz = "dz",
|
|
|
- ee = "ee",
|
|
|
- el = "el",
|
|
|
- en = "en",
|
|
|
- eo = "eo",
|
|
|
- es = "es",
|
|
|
- et = "et",
|
|
|
- eu = "eu",
|
|
|
- fa = "fa",
|
|
|
- ff = "ff",
|
|
|
- fi = "fi",
|
|
|
- fj = "fj",
|
|
|
- fo = "fo",
|
|
|
- fr = "fr",
|
|
|
- fy = "fy",
|
|
|
- ga = "ga",
|
|
|
- gd = "gd",
|
|
|
- gl = "gl",
|
|
|
- gn = "gn",
|
|
|
- gu = "gu",
|
|
|
- gv = "gv",
|
|
|
- ha = "ha",
|
|
|
- he = "he",
|
|
|
- hi = "hi",
|
|
|
- ho = "ho",
|
|
|
- hr = "hr",
|
|
|
- ht = "ht",
|
|
|
- hu = "hu",
|
|
|
- hy = "hy",
|
|
|
- hz = "hz",
|
|
|
- ia = "ia",
|
|
|
- id = "id",
|
|
|
- ie = "ie",
|
|
|
- ig = "ig",
|
|
|
- ii = "ii",
|
|
|
- ik = "ik",
|
|
|
- io = "io",
|
|
|
- is = "is",
|
|
|
- it = "it",
|
|
|
- iu = "iu",
|
|
|
- ja = "ja",
|
|
|
- jv = "jv",
|
|
|
- ka = "ka",
|
|
|
- kg = "kg",
|
|
|
- ki = "ki",
|
|
|
- kj = "kj",
|
|
|
- kk = "kk",
|
|
|
- kl = "kl",
|
|
|
- km = "km",
|
|
|
- kn = "kn",
|
|
|
- ko = "ko",
|
|
|
- kr = "kr",
|
|
|
- ks = "ks",
|
|
|
- ku = "ku",
|
|
|
- kv = "kv",
|
|
|
- kw = "kw",
|
|
|
- ky = "ky",
|
|
|
- la = "la",
|
|
|
- lb = "lb",
|
|
|
- lg = "lg",
|
|
|
- li = "li",
|
|
|
- ln = "ln",
|
|
|
- lo = "lo",
|
|
|
- lt = "lt",
|
|
|
- lu = "lu",
|
|
|
- lv = "lv",
|
|
|
- mg = "mg",
|
|
|
- mh = "mh",
|
|
|
- mi = "mi",
|
|
|
- mk = "mk",
|
|
|
- ml = "ml",
|
|
|
- mn = "mn",
|
|
|
- mr = "mr",
|
|
|
- ms = "ms",
|
|
|
- mt = "mt",
|
|
|
- my = "my",
|
|
|
- na = "na",
|
|
|
- nb = "nb",
|
|
|
- nd = "nd",
|
|
|
- ne = "ne",
|
|
|
- ng = "ng",
|
|
|
- nl = "nl",
|
|
|
- nn = "nn",
|
|
|
- no = "no",
|
|
|
- nr = "nr",
|
|
|
- nv = "nv",
|
|
|
- ny = "ny",
|
|
|
- oc = "oc",
|
|
|
- oj = "oj",
|
|
|
- om = "om",
|
|
|
- or = "or",
|
|
|
- os = "os",
|
|
|
- pa = "pa",
|
|
|
- pi = "pi",
|
|
|
- pl = "pl",
|
|
|
- ps = "ps",
|
|
|
- pt = "pt",
|
|
|
- qu = "qu",
|
|
|
- rm = "rm",
|
|
|
- rn = "rn",
|
|
|
- ro = "ro",
|
|
|
- ru = "ru",
|
|
|
- rw = "rw",
|
|
|
- sa = "sa",
|
|
|
- sc = "sc",
|
|
|
- sd = "sd",
|
|
|
- se = "se",
|
|
|
- sg = "sg",
|
|
|
- si = "si",
|
|
|
- sk = "sk",
|
|
|
- sl = "sl",
|
|
|
- sm = "sm",
|
|
|
- sn = "sn",
|
|
|
- so = "so",
|
|
|
- sq = "sq",
|
|
|
- sr = "sr",
|
|
|
- ss = "ss",
|
|
|
- st = "st",
|
|
|
- su = "su",
|
|
|
- sv = "sv",
|
|
|
- sw = "sw",
|
|
|
- ta = "ta",
|
|
|
- te = "te",
|
|
|
- tg = "tg",
|
|
|
- th = "th",
|
|
|
- ti = "ti",
|
|
|
- tk = "tk",
|
|
|
- tl = "tl",
|
|
|
- tn = "tn",
|
|
|
- to = "to",
|
|
|
- tr = "tr",
|
|
|
- ts = "ts",
|
|
|
- tt = "tt",
|
|
|
- tw = "tw",
|
|
|
- ty = "ty",
|
|
|
- ug = "ug",
|
|
|
- uk = "uk",
|
|
|
- ur = "ur",
|
|
|
- uz = "uz",
|
|
|
- ve = "ve",
|
|
|
- vi = "vi",
|
|
|
- vo = "vo",
|
|
|
- wa = "wa",
|
|
|
- wo = "wo",
|
|
|
- xh = "xh",
|
|
|
- yi = "yi",
|
|
|
- yo = "yo",
|
|
|
- za = "za",
|
|
|
- zh = "zh",
|
|
|
- zu = "zu",
|
|
|
-}
|
|
|
-
|
|
|
-//
|
|
|
+ aa = 'aa',
|
|
|
+ ab = 'ab',
|
|
|
+ ae = 'ae',
|
|
|
+ af = 'af',
|
|
|
+ ak = 'ak',
|
|
|
+ am = 'am',
|
|
|
+ an = 'an',
|
|
|
+ ar = 'ar',
|
|
|
+ as = 'as',
|
|
|
+ av = 'av',
|
|
|
+ ay = 'ay',
|
|
|
+ az = 'az',
|
|
|
+ ba = 'ba',
|
|
|
+ be = 'be',
|
|
|
+ bg = 'bg',
|
|
|
+ bh = 'bh',
|
|
|
+ bi = 'bi',
|
|
|
+ bm = 'bm',
|
|
|
+ bn = 'bn',
|
|
|
+ bo = 'bo',
|
|
|
+ br = 'br',
|
|
|
+ bs = 'bs',
|
|
|
+ ca = 'ca',
|
|
|
+ ce = 'ce',
|
|
|
+ ch = 'ch',
|
|
|
+ co = 'co',
|
|
|
+ cr = 'cr',
|
|
|
+ cs = 'cs',
|
|
|
+ cu = 'cu',
|
|
|
+ cv = 'cv',
|
|
|
+ cy = 'cy',
|
|
|
+ da = 'da',
|
|
|
+ de = 'de',
|
|
|
+ dv = 'dv',
|
|
|
+ dz = 'dz',
|
|
|
+ ee = 'ee',
|
|
|
+ el = 'el',
|
|
|
+ en = 'en',
|
|
|
+ eo = 'eo',
|
|
|
+ es = 'es',
|
|
|
+ et = 'et',
|
|
|
+ eu = 'eu',
|
|
|
+ fa = 'fa',
|
|
|
+ ff = 'ff',
|
|
|
+ fi = 'fi',
|
|
|
+ fj = 'fj',
|
|
|
+ fo = 'fo',
|
|
|
+ fr = 'fr',
|
|
|
+ fy = 'fy',
|
|
|
+ ga = 'ga',
|
|
|
+ gd = 'gd',
|
|
|
+ gl = 'gl',
|
|
|
+ gn = 'gn',
|
|
|
+ gu = 'gu',
|
|
|
+ gv = 'gv',
|
|
|
+ ha = 'ha',
|
|
|
+ he = 'he',
|
|
|
+ hi = 'hi',
|
|
|
+ ho = 'ho',
|
|
|
+ hr = 'hr',
|
|
|
+ ht = 'ht',
|
|
|
+ hu = 'hu',
|
|
|
+ hy = 'hy',
|
|
|
+ hz = 'hz',
|
|
|
+ ia = 'ia',
|
|
|
+ id = 'id',
|
|
|
+ ie = 'ie',
|
|
|
+ ig = 'ig',
|
|
|
+ ii = 'ii',
|
|
|
+ ik = 'ik',
|
|
|
+ io = 'io',
|
|
|
+ is = 'is',
|
|
|
+ it = 'it',
|
|
|
+ iu = 'iu',
|
|
|
+ ja = 'ja',
|
|
|
+ jv = 'jv',
|
|
|
+ ka = 'ka',
|
|
|
+ kg = 'kg',
|
|
|
+ ki = 'ki',
|
|
|
+ kj = 'kj',
|
|
|
+ kk = 'kk',
|
|
|
+ kl = 'kl',
|
|
|
+ km = 'km',
|
|
|
+ kn = 'kn',
|
|
|
+ ko = 'ko',
|
|
|
+ kr = 'kr',
|
|
|
+ ks = 'ks',
|
|
|
+ ku = 'ku',
|
|
|
+ kv = 'kv',
|
|
|
+ kw = 'kw',
|
|
|
+ ky = 'ky',
|
|
|
+ la = 'la',
|
|
|
+ lb = 'lb',
|
|
|
+ lg = 'lg',
|
|
|
+ li = 'li',
|
|
|
+ ln = 'ln',
|
|
|
+ lo = 'lo',
|
|
|
+ lt = 'lt',
|
|
|
+ lu = 'lu',
|
|
|
+ lv = 'lv',
|
|
|
+ mg = 'mg',
|
|
|
+ mh = 'mh',
|
|
|
+ mi = 'mi',
|
|
|
+ mk = 'mk',
|
|
|
+ ml = 'ml',
|
|
|
+ mn = 'mn',
|
|
|
+ mr = 'mr',
|
|
|
+ ms = 'ms',
|
|
|
+ mt = 'mt',
|
|
|
+ my = 'my',
|
|
|
+ na = 'na',
|
|
|
+ nb = 'nb',
|
|
|
+ nd = 'nd',
|
|
|
+ ne = 'ne',
|
|
|
+ ng = 'ng',
|
|
|
+ nl = 'nl',
|
|
|
+ nn = 'nn',
|
|
|
+ no = 'no',
|
|
|
+ nr = 'nr',
|
|
|
+ nv = 'nv',
|
|
|
+ ny = 'ny',
|
|
|
+ oc = 'oc',
|
|
|
+ oj = 'oj',
|
|
|
+ om = 'om',
|
|
|
+ or = 'or',
|
|
|
+ os = 'os',
|
|
|
+ pa = 'pa',
|
|
|
+ pi = 'pi',
|
|
|
+ pl = 'pl',
|
|
|
+ ps = 'ps',
|
|
|
+ pt = 'pt',
|
|
|
+ qu = 'qu',
|
|
|
+ rm = 'rm',
|
|
|
+ rn = 'rn',
|
|
|
+ ro = 'ro',
|
|
|
+ ru = 'ru',
|
|
|
+ rw = 'rw',
|
|
|
+ sa = 'sa',
|
|
|
+ sc = 'sc',
|
|
|
+ sd = 'sd',
|
|
|
+ se = 'se',
|
|
|
+ sg = 'sg',
|
|
|
+ si = 'si',
|
|
|
+ sk = 'sk',
|
|
|
+ sl = 'sl',
|
|
|
+ sm = 'sm',
|
|
|
+ sn = 'sn',
|
|
|
+ so = 'so',
|
|
|
+ sq = 'sq',
|
|
|
+ sr = 'sr',
|
|
|
+ ss = 'ss',
|
|
|
+ st = 'st',
|
|
|
+ su = 'su',
|
|
|
+ sv = 'sv',
|
|
|
+ sw = 'sw',
|
|
|
+ ta = 'ta',
|
|
|
+ te = 'te',
|
|
|
+ tg = 'tg',
|
|
|
+ th = 'th',
|
|
|
+ ti = 'ti',
|
|
|
+ tk = 'tk',
|
|
|
+ tl = 'tl',
|
|
|
+ tn = 'tn',
|
|
|
+ to = 'to',
|
|
|
+ tr = 'tr',
|
|
|
+ ts = 'ts',
|
|
|
+ tt = 'tt',
|
|
|
+ tw = 'tw',
|
|
|
+ ty = 'ty',
|
|
|
+ ug = 'ug',
|
|
|
+ uk = 'uk',
|
|
|
+ ur = 'ur',
|
|
|
+ uz = 'uz',
|
|
|
+ ve = 've',
|
|
|
+ vi = 'vi',
|
|
|
+ vo = 'vo',
|
|
|
+ wa = 'wa',
|
|
|
+ wo = 'wo',
|
|
|
+ xh = 'xh',
|
|
|
+ yi = 'yi',
|
|
|
+ yo = 'yo',
|
|
|
+ za = 'za',
|
|
|
+ zh = 'zh',
|
|
|
+ zu = 'zu',
|
|
|
+}
|
|
|
+
|
|
|
+//
|
|
|
export interface UpdateProductInput {
|
|
|
- id: string;
|
|
|
- image?: string | null;
|
|
|
- translations: (ProductTranslationInput | null)[];
|
|
|
- optionGroupCodes?: (string | null)[] | null;
|
|
|
+ id: string;
|
|
|
+ image?: string | null;
|
|
|
+ translations: (ProductTranslationInput | null)[];
|
|
|
+ optionGroupCodes?: (string | null)[] | null;
|
|
|
}
|
|
|
|
|
|
-//
|
|
|
+//
|
|
|
export interface ProductTranslationInput {
|
|
|
- id?: string | null;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
- slug?: string | null;
|
|
|
- description?: string | null;
|
|
|
+ id?: string | null;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
+ slug?: string | null;
|
|
|
+ description?: string | null;
|
|
|
}
|
|
|
|
|
|
-//
|
|
|
+//
|
|
|
export interface CreateProductOptionGroupInput {
|
|
|
- code: string;
|
|
|
- translations: (ProductOptionGroupTranslationInput | null)[];
|
|
|
- options?: (CreateProductOptionInput | null)[] | null;
|
|
|
+ code: string;
|
|
|
+ translations: (ProductOptionGroupTranslationInput | null)[];
|
|
|
+ options?: (CreateProductOptionInput | null)[] | null;
|
|
|
}
|
|
|
|
|
|
-//
|
|
|
+//
|
|
|
export interface ProductOptionGroupTranslationInput {
|
|
|
- id?: string | null;
|
|
|
- languageCode: LanguageCode;
|
|
|
- name: string;
|
|
|
+ id?: string | null;
|
|
|
+ languageCode: LanguageCode;
|
|
|
+ name: string;
|
|
|
}
|
|
|
|
|
|
-//
|
|
|
+//
|
|
|
export interface CreateProductOptionInput {
|
|
|
- code: string;
|
|
|
- translations: (ProductOptionGroupTranslationInput | null)[];
|
|
|
+ code: string;
|
|
|
+ translations: (ProductOptionGroupTranslationInput | null)[];
|
|
|
}
|
|
|
|
|
|
//==============================================================
|
|
|
// END Enums and Input Objects
|
|
|
-//==============================================================
|
|
|
+//==============================================================
|