@ikas/storefront 0.0.163-alpha.20 → 0.0.163-alpha.4
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/build/__generated__/global-types.d.ts +1 -1
- package/build/api/brand/__generated__/listProductBrand.d.ts +0 -8
- package/build/api/category/__generated__/listCategory.d.ts +0 -8
- package/build/api/checkout/__generated__/getCheckoutById.d.ts +0 -1
- package/build/api/checkout/__generated__/getOrder.d.ts +1 -1
- package/build/api/checkout/__generated__/listPaymentGateway.d.ts +0 -7
- package/build/api/customer/__generated__/customerLogin.d.ts +2 -2
- package/build/api/customer/__generated__/getMyCustomer.d.ts +2 -2
- package/build/api/customer/__generated__/registerCustomer.d.ts +2 -2
- package/build/api/customer/__generated__/saveMyCustomer.d.ts +2 -3
- package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +0 -13
- package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -1
- package/build/api/variant-type/__generated__/listVariantType.d.ts +0 -12
- package/build/assets/translations/checkout/en.js +7 -1
- package/build/assets/translations/checkout/tr.js +6 -0
- package/build/components/checkout/components/address-form/model.d.ts +0 -1
- package/build/components/checkout/components/form-item/model.d.ts +0 -1
- package/build/index.es.js +4323 -4494
- package/build/index.js +4324 -4495
- package/build/models/data/brand/index.d.ts +0 -9
- package/build/models/data/cart/index.d.ts +0 -5
- package/build/models/data/category/index.d.ts +0 -9
- package/build/models/data/html-meta-data/index.d.ts +0 -8
- package/build/models/data/payment-gateway/index.d.ts +0 -8
- package/build/models/data/product-attribute/index.d.ts +0 -14
- package/build/models/data/variant-type/index.d.ts +0 -12
- package/build/pages/checkout/[id].d.ts +1 -1
- package/build/store/customer.d.ts +1 -0
- package/package.json +1 -1
- package/build/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
|
@@ -80,7 +80,7 @@ export declare enum CheckoutStatusEnum {
|
|
|
80
80
|
/**
|
|
81
81
|
* Customer Account Statuses
|
|
82
82
|
*/
|
|
83
|
-
export declare enum
|
|
83
|
+
export declare enum CustomerAccountStatusesEnum {
|
|
84
84
|
ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
|
|
85
85
|
DECLINED_ACCOUNT_INVITATION = "DECLINED_ACCOUNT_INVITATION",
|
|
86
86
|
DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
|
|
@@ -8,21 +8,13 @@ export interface listProductBrand_listProductBrand_data_metaData {
|
|
|
8
8
|
targetType: HTMLMetaDataTargetTypeEnum | null;
|
|
9
9
|
redirectTo: string | null;
|
|
10
10
|
}
|
|
11
|
-
export interface listProductBrand_listProductBrand_data_translations {
|
|
12
|
-
__typename: "ProductBrandTranslation";
|
|
13
|
-
description: string | null;
|
|
14
|
-
locale: string;
|
|
15
|
-
name: string | null;
|
|
16
|
-
}
|
|
17
11
|
export interface listProductBrand_listProductBrand_data {
|
|
18
12
|
__typename: "ProductBrand";
|
|
19
13
|
id: string;
|
|
20
14
|
name: string;
|
|
21
|
-
description: string | null;
|
|
22
15
|
imageId: string | null;
|
|
23
16
|
orderType: CategoryProductsOrderTypeEnum | null;
|
|
24
17
|
metaData: listProductBrand_listProductBrand_data_metaData | null;
|
|
25
|
-
translations: listProductBrand_listProductBrand_data_translations[] | null;
|
|
26
18
|
}
|
|
27
19
|
export interface listProductBrand_listProductBrand {
|
|
28
20
|
__typename: "ProductBrandPaginationResponse";
|
|
@@ -8,12 +8,6 @@ export interface listCategory_listCategory_data_metaData {
|
|
|
8
8
|
targetType: HTMLMetaDataTargetTypeEnum | null;
|
|
9
9
|
redirectTo: string | null;
|
|
10
10
|
}
|
|
11
|
-
export interface listCategory_listCategory_data_translations {
|
|
12
|
-
__typename: "CategoryTranslation";
|
|
13
|
-
description: string | null;
|
|
14
|
-
locale: string;
|
|
15
|
-
name: string | null;
|
|
16
|
-
}
|
|
17
11
|
export interface listCategory_listCategory_data {
|
|
18
12
|
__typename: "Category";
|
|
19
13
|
id: string;
|
|
@@ -21,12 +15,10 @@ export interface listCategory_listCategory_data {
|
|
|
21
15
|
updatedAt: any | null;
|
|
22
16
|
deleted: boolean | null;
|
|
23
17
|
name: string;
|
|
24
|
-
description: string | null;
|
|
25
18
|
parentId: string | null;
|
|
26
19
|
imageId: string | null;
|
|
27
20
|
orderType: CategoryProductsOrderTypeEnum | null;
|
|
28
21
|
metaData: listCategory_listCategory_data_metaData | null;
|
|
29
|
-
translations: listCategory_listCategory_data_translations[] | null;
|
|
30
22
|
categoryPath: string[] | null;
|
|
31
23
|
}
|
|
32
24
|
export interface listCategory_listCategory {
|
|
@@ -130,7 +130,6 @@ export interface getCheckoutById_getCheckoutById_cart_items_variant {
|
|
|
130
130
|
name: string;
|
|
131
131
|
productId: string | null;
|
|
132
132
|
sku: string | null;
|
|
133
|
-
slug: string | null;
|
|
134
133
|
variantValues: getCheckoutById_getCheckoutById_cart_items_variant_variantValues[] | null;
|
|
135
134
|
}
|
|
136
135
|
export interface getCheckoutById_getCheckoutById_cart_items {
|
|
@@ -11,12 +11,6 @@ export interface listPaymentGateway_listPaymentGateway_additionalPrices {
|
|
|
11
11
|
name: string;
|
|
12
12
|
type: PaymentGatewayAdditionalPriceTypeEnum;
|
|
13
13
|
}
|
|
14
|
-
export interface listPaymentGateway_listPaymentGateway_translations {
|
|
15
|
-
__typename: "PaymentGatewayTranslation";
|
|
16
|
-
description: string | null;
|
|
17
|
-
locale: string;
|
|
18
|
-
name: string | null;
|
|
19
|
-
}
|
|
20
14
|
export interface listPaymentGateway_listPaymentGateway {
|
|
21
15
|
__typename: "PaymentGateway";
|
|
22
16
|
paymentMethods: listPaymentGateway_listPaymentGateway_paymentMethods[];
|
|
@@ -27,7 +21,6 @@ export interface listPaymentGateway_listPaymentGateway {
|
|
|
27
21
|
testMode: boolean | null;
|
|
28
22
|
code: string;
|
|
29
23
|
additionalPrices: listPaymentGateway_listPaymentGateway_additionalPrices[] | null;
|
|
30
|
-
translations: listPaymentGateway_listPaymentGateway_translations[] | null;
|
|
31
24
|
}
|
|
32
25
|
export interface listPaymentGateway {
|
|
33
26
|
listPaymentGateway: listPaymentGateway_listPaymentGateway[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomerAccountStatusesEnum, CustomerEmailSubscriptionStatusesEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface customerLogin_customerLogin_customer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
code: string | null;
|
|
@@ -50,7 +50,7 @@ export interface customerLogin_customerLogin_customer {
|
|
|
50
50
|
lastName: string | null;
|
|
51
51
|
addresses: customerLogin_customerLogin_customer_addresses[] | null;
|
|
52
52
|
phone: string | null;
|
|
53
|
-
accountStatus:
|
|
53
|
+
accountStatus: CustomerAccountStatusesEnum | null;
|
|
54
54
|
email: string | null;
|
|
55
55
|
firstName: string;
|
|
56
56
|
subscriptionStatus: CustomerEmailSubscriptionStatusesEnum | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomerAccountStatusesEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface getMyCustomer_getMyCustomer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
code: string | null;
|
|
@@ -50,7 +50,7 @@ export interface getMyCustomer_getMyCustomer {
|
|
|
50
50
|
lastName: string | null;
|
|
51
51
|
addresses: getMyCustomer_getMyCustomer_addresses[] | null;
|
|
52
52
|
phone: string | null;
|
|
53
|
-
accountStatus:
|
|
53
|
+
accountStatus: CustomerAccountStatusesEnum | null;
|
|
54
54
|
email: string | null;
|
|
55
55
|
firstName: string;
|
|
56
56
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CustomerAccountStatusesEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface registerCustomer_registerCustomer_customer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
code: string | null;
|
|
@@ -49,7 +49,7 @@ export interface registerCustomer_registerCustomer_customer {
|
|
|
49
49
|
lastName: string | null;
|
|
50
50
|
addresses: registerCustomer_registerCustomer_customer_addresses[] | null;
|
|
51
51
|
phone: string | null;
|
|
52
|
-
accountStatus:
|
|
52
|
+
accountStatus: CustomerAccountStatusesEnum | null;
|
|
53
53
|
email: string | null;
|
|
54
54
|
firstName: string;
|
|
55
55
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SaveMyCustomerInput,
|
|
1
|
+
import { SaveMyCustomerInput, CustomerAccountStatusesEnum } from "../../../__generated__/global-types";
|
|
2
2
|
export interface saveMyCustomer_saveMyCustomer_addresses_city {
|
|
3
3
|
__typename: "CustomerAddressCity";
|
|
4
4
|
code: string | null;
|
|
@@ -37,7 +37,6 @@ export interface saveMyCustomer_saveMyCustomer_addresses {
|
|
|
37
37
|
lastName: string;
|
|
38
38
|
postalCode: string;
|
|
39
39
|
state: saveMyCustomer_saveMyCustomer_addresses_state | null;
|
|
40
|
-
identityNumber: string | null;
|
|
41
40
|
taxNumber: string | null;
|
|
42
41
|
taxOffice: string | null;
|
|
43
42
|
title: string;
|
|
@@ -51,7 +50,7 @@ export interface saveMyCustomer_saveMyCustomer {
|
|
|
51
50
|
lastName: string | null;
|
|
52
51
|
addresses: saveMyCustomer_saveMyCustomer_addresses[] | null;
|
|
53
52
|
phone: string | null;
|
|
54
|
-
accountStatus:
|
|
53
|
+
accountStatus: CustomerAccountStatusesEnum | null;
|
|
55
54
|
email: string | null;
|
|
56
55
|
firstName: string;
|
|
57
56
|
}
|
|
@@ -7,18 +7,6 @@ export interface listProductAttribute_listProductAttribute_options {
|
|
|
7
7
|
deleted: boolean | null;
|
|
8
8
|
name: string;
|
|
9
9
|
}
|
|
10
|
-
export interface listProductAttribute_listProductAttribute_translations_options {
|
|
11
|
-
__typename: "ProductAttributeOptionTranslation";
|
|
12
|
-
id: string;
|
|
13
|
-
name: string | null;
|
|
14
|
-
}
|
|
15
|
-
export interface listProductAttribute_listProductAttribute_translations {
|
|
16
|
-
__typename: "ProductAttributeTranslation";
|
|
17
|
-
description: string | null;
|
|
18
|
-
locale: string;
|
|
19
|
-
name: string | null;
|
|
20
|
-
options: listProductAttribute_listProductAttribute_translations_options[] | null;
|
|
21
|
-
}
|
|
22
10
|
export interface listProductAttribute_listProductAttribute {
|
|
23
11
|
__typename: "ProductAttribute";
|
|
24
12
|
id: string;
|
|
@@ -29,7 +17,6 @@ export interface listProductAttribute_listProductAttribute {
|
|
|
29
17
|
description: string | null;
|
|
30
18
|
type: ProductAttributeTypeEnum;
|
|
31
19
|
options: listProductAttribute_listProductAttribute_options[] | null;
|
|
32
|
-
translations: listProductAttribute_listProductAttribute_translations[] | null;
|
|
33
20
|
}
|
|
34
21
|
export interface listProductAttribute {
|
|
35
22
|
listProductAttribute: listProductAttribute_listProductAttribute[];
|
|
@@ -9,17 +9,6 @@ export interface listVariantType_listVariantType_values {
|
|
|
9
9
|
thumbnailImageId: string | null;
|
|
10
10
|
colorCode: string | null;
|
|
11
11
|
}
|
|
12
|
-
export interface listVariantType_listVariantType_translations_values {
|
|
13
|
-
__typename: "VariantValueTranslation";
|
|
14
|
-
id: string;
|
|
15
|
-
name: string | null;
|
|
16
|
-
}
|
|
17
|
-
export interface listVariantType_listVariantType_translations {
|
|
18
|
-
__typename: "VariantTypeTranslation";
|
|
19
|
-
locale: string;
|
|
20
|
-
name: string | null;
|
|
21
|
-
values: listVariantType_listVariantType_translations_values[] | null;
|
|
22
|
-
}
|
|
23
12
|
export interface listVariantType_listVariantType {
|
|
24
13
|
__typename: "VariantType";
|
|
25
14
|
id: string;
|
|
@@ -29,7 +18,6 @@ export interface listVariantType_listVariantType {
|
|
|
29
18
|
name: string;
|
|
30
19
|
selectionType: VariantSelectionTypeEnum;
|
|
31
20
|
values: listVariantType_listVariantType_values[];
|
|
32
|
-
translations: listVariantType_listVariantType_translations[] | null;
|
|
33
21
|
}
|
|
34
22
|
export interface listVariantType {
|
|
35
23
|
listVariantType: listVariantType_listVariantType[];
|
|
@@ -82,10 +82,16 @@ module.exports = {
|
|
|
82
82
|
|
|
83
83
|
securePaymentTooltip: "All payments are secure and encrypted",
|
|
84
84
|
giftPackage: "Gift Package",
|
|
85
|
-
giftPackageCta: "Gift
|
|
85
|
+
giftPackageCta: "Gift package cta",
|
|
86
86
|
giftPackageCtaPlaceholder: "Enter your gift message",
|
|
87
87
|
|
|
88
88
|
paymentMethod: "Payment Method",
|
|
89
|
+
paymentMethods: {
|
|
90
|
+
storePickup: "Store Pickup",
|
|
91
|
+
cashOnDelivery: "Cash on Delivery",
|
|
92
|
+
creditCardOnDelivery: "Credit Card on Delivery",
|
|
93
|
+
moneyOrder: "Money Order",
|
|
94
|
+
},
|
|
89
95
|
paymentMethodDiscount: "Discount",
|
|
90
96
|
paymentMethodAdditionalPrice: "Fee",
|
|
91
97
|
|
|
@@ -84,6 +84,12 @@ module.exports = {
|
|
|
84
84
|
giftPackageCtaPlaceholder: "Hediye mesajınızı giriniz",
|
|
85
85
|
|
|
86
86
|
paymentMethod: "Ödeme Yöntemi",
|
|
87
|
+
paymentMethods: {
|
|
88
|
+
storePickup: "Mağazadan Teslim",
|
|
89
|
+
cashOnDelivery: "Kapıda Ödeme (Nakit)",
|
|
90
|
+
creditCardOnDelivery: "Kapıda Ödeme (Kredi Kartı)",
|
|
91
|
+
moneyOrder: "Havale",
|
|
92
|
+
},
|
|
87
93
|
paymentMethodDiscount: "İndirim",
|
|
88
94
|
paymentMethodAdditionalPrice: "İşlem Bedeli",
|
|
89
95
|
|
|
@@ -26,7 +26,6 @@ export default class AddressFormViewModel {
|
|
|
26
26
|
states: IkasState[];
|
|
27
27
|
cities: IkasCity[];
|
|
28
28
|
districts: IkasDistrict[];
|
|
29
|
-
myCountryCode?: string;
|
|
30
29
|
constructor(data: AddressFormViewModelParams);
|
|
31
30
|
get firstName(): string | null | undefined;
|
|
32
31
|
get lastName(): string | null | undefined;
|