@ikas/storefront-api 4.12.0-beta.16 → 4.12.0-beta.17
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.
|
@@ -3,6 +3,7 @@ import { StringFilterInput, PaginationInput, PaymentGateway } from "../types";
|
|
|
3
3
|
declare const listPaymentGateway: (variables: QueryParams, fields?: string[], config?: ConfigType) => Promise<APIResponse<PaymentGateway[]> | APIResponse<undefined>>;
|
|
4
4
|
export default listPaymentGateway;
|
|
5
5
|
export declare type QueryParams = {
|
|
6
|
+
cartId?: string | null;
|
|
6
7
|
id?: StringFilterInput | null;
|
|
7
8
|
includeDeleted?: boolean | null;
|
|
8
9
|
locale?: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as a,fetchQuery as i}from"@ikas/fe-api-client";var o,s=function(o,s,l){return t(void 0,void 0,void 0,(function(){var t,d,T,_;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i({operationName:"listPaymentGateway",config:l,variables:o,allReturnFields:r,fields:s,query:function(t){return"\n\t\t\t\tquery listPaymentGateway (\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$pagination: PaginationInput,\n\t\t\t\t\t$transactionAmount: Float,\n\t\t\t\t) {\n\t\t\t\t\tlistPaymentGateway (\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\tpagination: $pagination,\n\t\t\t\t\t\ttransactionAmount: $transactionAmount,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),d=t.data,T=t.errors,[2,new a(null==d?void 0:d.listPaymentGateway,T)];case 2:return _=e.sent(),[2,n(_)];case 3:return[2]}}))}))},r="{additionalPrices {amount amountType name type } availableCountries code createdAt deleted description id isPassive logoUrl masterPassClientId name paymentGatewayProviderId paymentMethodType paymentMethods {logoUrl name } settings {label order type value } supportedCurrencies testMode translations {description locale name } type updatedAt }";!function(t){t.ADDITIONAL_PRICES__AMOUNT="additionalPrices.amount",t.ADDITIONAL_PRICES__AMOUNT_TYPE="additionalPrices.amountType",t.ADDITIONAL_PRICES__NAME="additionalPrices.name",t.ADDITIONAL_PRICES__TYPE="additionalPrices.type",t.AVAILABLE_COUNTRIES="availableCountries",t.CODE="code",t.CREATED_AT="createdAt",t.DELETED="deleted",t.DESCRIPTION="description",t.ID="id",t.IS_PASSIVE="isPassive",t.LOGO_URL="logoUrl",t.MASTER_PASS_CLIENT_ID="masterPassClientId",t.NAME="name",t.PAYMENT_GATEWAY_PROVIDER_ID="paymentGatewayProviderId",t.PAYMENT_METHOD_TYPE="paymentMethodType",t.PAYMENT_METHODS__LOGO_URL="paymentMethods.logoUrl",t.PAYMENT_METHODS__NAME="paymentMethods.name",t.SETTINGS__LABEL="settings.label",t.SETTINGS__ORDER="settings.order",t.SETTINGS__TYPE="settings.type",t.SETTINGS__VALUE="settings.value",t.SUPPORTED_CURRENCIES="supportedCurrencies",t.TEST_MODE="testMode",t.TRANSLATIONS__DESCRIPTION="translations.description",t.TRANSLATIONS__LOCALE="translations.locale",t.TRANSLATIONS__NAME="translations.name",t.TYPE="type",t.UPDATED_AT="updatedAt"}(o||(o={}));export{o as ResponseField,s as default};
|
|
1
|
+
import{__awaiter as t,__generator as e}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as a,fetchQuery as i}from"@ikas/fe-api-client";var o,s=function(o,s,l){return t(void 0,void 0,void 0,(function(){var t,d,T,_;return e(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i({operationName:"listPaymentGateway",config:l,variables:o,allReturnFields:r,fields:s,query:function(t){return"\n\t\t\t\tquery listPaymentGateway (\n\t\t\t\t\t$cartId: String,\n\t\t\t\t\t$id: StringFilterInput,\n\t\t\t\t\t$includeDeleted: Boolean,\n\t\t\t\t\t$locale: String,\n\t\t\t\t\t$pagination: PaginationInput,\n\t\t\t\t\t$transactionAmount: Float,\n\t\t\t\t) {\n\t\t\t\t\tlistPaymentGateway (\n\t\t\t\t\t\tcartId: $cartId,\n\t\t\t\t\t\tid: $id,\n\t\t\t\t\t\tincludeDeleted: $includeDeleted,\n\t\t\t\t\t\tlocale: $locale,\n\t\t\t\t\t\tpagination: $pagination,\n\t\t\t\t\t\ttransactionAmount: $transactionAmount,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=e.sent(),d=t.data,T=t.errors,[2,new a(null==d?void 0:d.listPaymentGateway,T)];case 2:return _=e.sent(),[2,n(_)];case 3:return[2]}}))}))},r="{additionalPrices {amount amountType name type } availableCountries code createdAt deleted description id isPassive logoUrl masterPassClientId name paymentGatewayProviderId paymentMethodType paymentMethods {logoUrl name } settings {label order type value } supportedCurrencies testMode translations {description locale name } type updatedAt }";!function(t){t.ADDITIONAL_PRICES__AMOUNT="additionalPrices.amount",t.ADDITIONAL_PRICES__AMOUNT_TYPE="additionalPrices.amountType",t.ADDITIONAL_PRICES__NAME="additionalPrices.name",t.ADDITIONAL_PRICES__TYPE="additionalPrices.type",t.AVAILABLE_COUNTRIES="availableCountries",t.CODE="code",t.CREATED_AT="createdAt",t.DELETED="deleted",t.DESCRIPTION="description",t.ID="id",t.IS_PASSIVE="isPassive",t.LOGO_URL="logoUrl",t.MASTER_PASS_CLIENT_ID="masterPassClientId",t.NAME="name",t.PAYMENT_GATEWAY_PROVIDER_ID="paymentGatewayProviderId",t.PAYMENT_METHOD_TYPE="paymentMethodType",t.PAYMENT_METHODS__LOGO_URL="paymentMethods.logoUrl",t.PAYMENT_METHODS__NAME="paymentMethods.name",t.SETTINGS__LABEL="settings.label",t.SETTINGS__ORDER="settings.order",t.SETTINGS__TYPE="settings.type",t.SETTINGS__VALUE="settings.value",t.SUPPORTED_CURRENCIES="supportedCurrencies",t.TEST_MODE="testMode",t.TRANSLATIONS__DESCRIPTION="translations.description",t.TRANSLATIONS__LOCALE="translations.locale",t.TRANSLATIONS__NAME="translations.name",t.TYPE="type",t.UPDATED_AT="updatedAt"}(o||(o={}));export{o as ResponseField,s as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikas/storefront-api",
|
|
3
|
-
"version": "4.12.0-beta.
|
|
3
|
+
"version": "4.12.0-beta.17",
|
|
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": "^4.12.0-beta.
|
|
21
|
-
"@ikas/storefront-models": "^4.12.0-beta.
|
|
20
|
+
"@ikas/storefront-config": "^4.12.0-beta.17",
|
|
21
|
+
"@ikas/storefront-models": "^4.12.0-beta.17",
|
|
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": "^4.12.0-beta.
|
|
38
|
-
"@ikas/storefront-models": "^4.12.0-beta.
|
|
37
|
+
"@ikas/storefront-config": "^4.12.0-beta.17",
|
|
38
|
+
"@ikas/storefront-models": "^4.12.0-beta.17",
|
|
39
39
|
"@ikas/fe-api-client": "^1.0.18",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|