@ikas/storefront 0.0.159 → 0.0.160-alpha.10
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/api/blog/__generated__/listBlog.d.ts +1 -1
- package/build/api/brand/__generated__/listProductBrand.d.ts +1 -1
- package/build/api/category/__generated__/listCategory.d.ts +1 -1
- package/build/api/category/__generated__/listCategoryPaths.d.ts +1 -1
- package/build/api/customer/__generated__/getCustomerOrders.d.ts +1 -1
- package/build/api/customer/__generated__/listOrderRefundSettings.d.ts +13 -0
- package/build/api/customer/index.d.ts +2 -1
- package/build/index.es.js +6793 -590
- package/build/index.js +11010 -4804
- package/build/models/data/index.d.ts +3 -2
- package/build/models/data/order/index.d.ts +16 -2
- package/build/models/data/order/line-item/index.d.ts +2 -0
- package/build/models/data/order/refund/settings.d.ts +6 -0
- package/build/models/theme/component/prop/index.d.ts +2 -0
- package/build/models/theme/index.d.ts +2 -0
- package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +7 -0
- package/build/models/theme/page/component/prop-value/blog-category.d.ts +5 -0
- package/build/models/ui/blog-category-list/index.d.ts +52 -0
- package/build/models/ui/index.d.ts +1 -0
- package/build/store/customer.d.ts +2 -0
- package/build/utils/providers/page-data.d.ts +6 -2
- package/build/utils/providers/placeholders.d.ts +2 -1
- package/build/utils/providers/prop-value/blog-category-list.d.ts +7 -0
- package/build/utils/providers/prop-value/blog-category.d.ts +8 -0
- package/build/utils/providers/prop-value/blog-list.d.ts +1 -1
- package/build/utils/providers/prop-value/custom.d.ts +2 -0
- package/package.json +2 -1
|
@@ -181,6 +181,7 @@ export interface getCustomerOrders_getCustomerOrders {
|
|
|
181
181
|
__typename: "Order";
|
|
182
182
|
billingAddress: getCustomerOrders_getCustomerOrders_billingAddress | null;
|
|
183
183
|
cancelledAt: any | null;
|
|
184
|
+
orderedAt: any | null;
|
|
184
185
|
cancelReason: CancelledReasonEnum | null;
|
|
185
186
|
createdAt: any | null;
|
|
186
187
|
currencyCode: string;
|
|
@@ -190,7 +191,6 @@ export interface getCustomerOrders_getCustomerOrders {
|
|
|
190
191
|
id: string;
|
|
191
192
|
merchantId: string;
|
|
192
193
|
note: string | null;
|
|
193
|
-
orderedAt: any | null;
|
|
194
194
|
orderAdjustments: getCustomerOrders_getCustomerOrders_orderAdjustments[] | null;
|
|
195
195
|
orderLineItems: getCustomerOrders_getCustomerOrders_orderLineItems[];
|
|
196
196
|
orderNumber: string | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StringFilterInput } from "../../../__generated__/global-types";
|
|
2
|
+
export interface listOrderRefundSettings_listOrderRefundSettings {
|
|
3
|
+
__typename: "OrderRefundSettings";
|
|
4
|
+
isActiveRefundSection: boolean;
|
|
5
|
+
orderRefundDayLimit: number | null;
|
|
6
|
+
refundDesc: string;
|
|
7
|
+
}
|
|
8
|
+
export interface listOrderRefundSettings {
|
|
9
|
+
listOrderRefundSettings: listOrderRefundSettings_listOrderRefundSettings[];
|
|
10
|
+
}
|
|
11
|
+
export interface listOrderRefundSettingsVariables {
|
|
12
|
+
storefrontId: StringFilterInput;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IkasCustomer, IkasOrder } from "../../models/index";
|
|
1
|
+
import { IkasCustomer, IkasOrder, IkasOrderRefundSettings } from "../../models/index";
|
|
2
2
|
import { IkasRefund } from "../../models/data/order/refund/index";
|
|
3
3
|
import * as RefreshTokenTypes from "./__generated__/customerRefreshToken";
|
|
4
4
|
import * as GetLastViewedProductsTypes from "./__generated__/getLastViewedProducts";
|
|
@@ -31,6 +31,7 @@ export declare class IkasCustomerAPI {
|
|
|
31
31
|
static createCustomerEmailSubscription(email: string): Promise<boolean>;
|
|
32
32
|
static getLastViewedProducts(customerId: string): Promise<GetLastViewedProductsTypes.getLastViewedProducts_getLastViewedProducts_products[]>;
|
|
33
33
|
static saveLastViewedProducts(input: LastViewedProductInput): Promise<boolean>;
|
|
34
|
+
static getOrderRefundSettings(): Promise<IkasOrderRefundSettings | undefined>;
|
|
34
35
|
}
|
|
35
36
|
declare type LastViewedProduct = {
|
|
36
37
|
productId: string;
|