@ikas/storefront-api 6.1.0-beta.54 → 6.1.0-beta.56
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.
|
@@ -18,6 +18,7 @@ export declare class CheckoutSettingsData extends BaseModelData {
|
|
|
18
18
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
19
19
|
showCheckoutNote: boolean | null;
|
|
20
20
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
21
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
21
22
|
showTermsAndConditionsCheckbox: boolean;
|
|
22
23
|
storefrontId: string;
|
|
23
24
|
constructor(data?: Partial<CheckoutSettingsData>);
|
|
@@ -27,6 +27,7 @@ export declare enum ResponseField {
|
|
|
27
27
|
OPTIONS__REQUIRED = "options.required",
|
|
28
28
|
PHONE_REQUIREMENT = "phoneRequirement",
|
|
29
29
|
POSTAL_CODE_REQUIREMENT = "postalCodeRequirement",
|
|
30
|
+
SHOW_BILLING_ADDRESS_ON_SHIPPING_STEP = "showBillingAddressOnShippingStep",
|
|
30
31
|
SHOW_CHECKOUT_NOTE = "showCheckoutNote",
|
|
31
32
|
SHOW_COMPANY_INFO_IN_SHIPPING_ADDRESS = "showCompanyInfoInShippingAddress",
|
|
32
33
|
SHOW_TERMS_AND_CONDITIONS_CHECKBOX = "showTermsAndConditionsCheckbox",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as i,APIResponse as n,fetchQuery as o}from"@ikas/fe-api-client";var r,s=function(r,s,_){return t(void 0,void 0,void 0,(function(){var t,E,c
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as i,APIResponse as n,fetchQuery as o}from"@ikas/fe-api-client";var r,s=function(r,s,_){return t(void 0,void 0,void 0,(function(){var t,E,I,c;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,o({operationName:"listCheckoutSettings",config:_,variables:r,allReturnFields:d,fields:s,query:function(t){return"\n\t\t\t\tquery listCheckoutSettings (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$storefrontId: StringFilterInput,\n\t\t\t\t) {\n\t\t\t\t\tlistCheckoutSettings (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tstorefrontId: $storefrontId,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),E=t.data,I=t.errors,[2,new n(null==E?void 0:E.listCheckoutSettings,I)];case 2:return c=e.sent(),[2,i(c)];case 3:return[2]}}))}))},d="{corporateInvoiceRequirement couponCodeRequirement createdAt deleted giftPackagePriceList {currencyCode currencySymbol price priceListId } id identityNumberRequirement isAccountRequired isGiftPackageEnabled isQuickRegistrationEnabled isShowPostalCode isTermsAndConditionsDefaultChecked options {name required } phoneRequirement postalCodeRequirement showBillingAddressOnShippingStep showCheckoutNote showCompanyInfoInShippingAddress showTermsAndConditionsCheckbox storefrontId updatedAt }";!function(t){t.CORPORATE_INVOICE_REQUIREMENT="corporateInvoiceRequirement",t.COUPON_CODE_REQUIREMENT="couponCodeRequirement",t.CREATED_AT="createdAt",t.DELETED="deleted",t.GIFT_PACKAGE_PRICE_LIST__CURRENCY_CODE="giftPackagePriceList.currencyCode",t.GIFT_PACKAGE_PRICE_LIST__CURRENCY_SYMBOL="giftPackagePriceList.currencySymbol",t.GIFT_PACKAGE_PRICE_LIST__PRICE="giftPackagePriceList.price",t.GIFT_PACKAGE_PRICE_LIST__PRICE_LIST_ID="giftPackagePriceList.priceListId",t.ID="id",t.IDENTITY_NUMBER_REQUIREMENT="identityNumberRequirement",t.IS_ACCOUNT_REQUIRED="isAccountRequired",t.IS_GIFT_PACKAGE_ENABLED="isGiftPackageEnabled",t.IS_QUICK_REGISTRATION_ENABLED="isQuickRegistrationEnabled",t.IS_SHOW_POSTAL_CODE="isShowPostalCode",t.IS_TERMS_AND_CONDITIONS_DEFAULT_CHECKED="isTermsAndConditionsDefaultChecked",t.OPTIONS__NAME="options.name",t.OPTIONS__REQUIRED="options.required",t.PHONE_REQUIREMENT="phoneRequirement",t.POSTAL_CODE_REQUIREMENT="postalCodeRequirement",t.SHOW_BILLING_ADDRESS_ON_SHIPPING_STEP="showBillingAddressOnShippingStep",t.SHOW_CHECKOUT_NOTE="showCheckoutNote",t.SHOW_COMPANY_INFO_IN_SHIPPING_ADDRESS="showCompanyInfoInShippingAddress",t.SHOW_TERMS_AND_CONDITIONS_CHECKBOX="showTermsAndConditionsCheckbox",t.STOREFRONT_ID="storefrontId",t.UPDATED_AT="updatedAt"}(r||(r={}));export{r as ResponseField,s as default};
|
|
@@ -1088,6 +1088,7 @@ export interface CheckoutSettings {
|
|
|
1088
1088
|
options: CheckoutOption[] | null;
|
|
1089
1089
|
phoneRequirement: CheckoutRequirementEnum;
|
|
1090
1090
|
postalCodeRequirement: CheckoutRequirementEnum | null;
|
|
1091
|
+
showBillingAddressOnShippingStep: boolean | null;
|
|
1091
1092
|
showCheckoutNote: boolean | null;
|
|
1092
1093
|
showCompanyInfoInShippingAddress: boolean | null;
|
|
1093
1094
|
showTermsAndConditionsCheckbox: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-api",
|
|
3
|
-
"version": "6.1.0-beta.
|
|
3
|
+
"version": "6.1.0-beta.56",
|
|
4
4
|
"author": "ikas",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "API functions that returns models from the ikas-storefront-models package.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
20
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
21
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
20
|
+
"@ikas/storefront-config": "^6.1.0-beta.56",
|
|
21
|
+
"@ikas/storefront-models": "^6.1.0-beta.56",
|
|
22
22
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
23
23
|
"rollup-plugin-rename-node-modules": "^1.2.0",
|
|
24
24
|
"prettier": "^2.2.1",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@ikas/fe-api-client": "^1.0.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@ikas/storefront-config": "^6.1.0-beta.
|
|
38
|
-
"@ikas/storefront-models": "^6.1.0-beta.
|
|
37
|
+
"@ikas/storefront-config": "^6.1.0-beta.56",
|
|
38
|
+
"@ikas/storefront-models": "^6.1.0-beta.56",
|
|
39
39
|
"@ikas/fe-api-client": "^1.0.18",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|