@ikas/storefront-api 6.1.0-beta.183 → 6.1.0-beta.184
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.
|
@@ -4,6 +4,7 @@ import { TransactionData } from "./Transaction";
|
|
|
4
4
|
export declare class ListOrderTransactionWithPricesResponseData {
|
|
5
5
|
chargedAmount: number;
|
|
6
6
|
orderFinalPrice: number;
|
|
7
|
+
pendingAmount: number;
|
|
7
8
|
refundableTransactions: ListOrderTransactionWithPricesRefundableTransactionData[];
|
|
8
9
|
refundedAmount: number;
|
|
9
10
|
remainingBalance: number;
|
|
@@ -8,6 +8,7 @@ export declare type QueryParams = {
|
|
|
8
8
|
export declare enum ResponseField {
|
|
9
9
|
CHARGED_AMOUNT = "chargedAmount",
|
|
10
10
|
ORDER_FINAL_PRICE = "orderFinalPrice",
|
|
11
|
+
PENDING_AMOUNT = "pendingAmount",
|
|
11
12
|
REFUNDABLE_TRANSACTIONS__AMOUNT = "refundableTransactions.amount",
|
|
12
13
|
REFUNDABLE_TRANSACTIONS__TRANSACTION_ID = "refundableTransactions.transactionId",
|
|
13
14
|
REFUNDED_AMOUNT = "refundedAmount",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{__awaiter as t,__generator as a}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as
|
|
1
|
+
import{__awaiter as t,__generator as a}from'./../../ext/tslib/tslib.es6.js';import{handleAPIError as n,APIResponse as _,fetchQuery as e}from"@ikas/fe-api-client";var T,A=function(T,A,N){return t(void 0,void 0,void 0,(function(){var t,i,I,r;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,e({operationName:"listOrderTransactionsWithPrices",config:N,variables:T,allReturnFields:s,fields:A,query:function(t){return"\n\t\t\t\tquery listOrderTransactionsWithPrices (\n\t\t\t\t\t$input: ListOrderTransactionWithPricesInput!,\n\t\t\t\t) {\n\t\t\t\t\tlistOrderTransactionsWithPrices (\n\t\t\t\t\t\tinput: $input,\n\t\t\t\t\t) ".concat(t,"\n\t\t\t\t}\n\t\t\t")}})];case 1:return t=a.sent(),i=t.data,I=t.errors,[2,new _(null==i?void 0:i.listOrderTransactionsWithPrices,I)];case 2:return r=a.sent(),[2,n(r)];case 3:return[2]}}))}))},s="{chargedAmount orderFinalPrice pendingAmount refundableTransactions {amount transactionId } refundedAmount remainingBalance transactions {amount authCode checkoutId createdAt createdWithMasterPass currencyCode currencyRates {code originalRate rate } currencySymbol customerId deleted error {code declineCode message } fees {feeAmount isAddedAmount source } forceRefund gatewayReferenceId giftPackageLineItems {finalPrice isRefunded taxValue } id ipAddress isAdditionalPayment isManuelAddedTransaction isTrackingInfoSent lineItems {finalPrice id price quantity taxValue variant {id mainImageId name productId sku slug type } } merchantId orderId orderNumber paymentGatewayCode paymentGatewayId paymentGatewayName paymentMethod paymentMethodDetail {bankName binNumber cardAssociation cardFamily cardType installment {installmentCount installmentPrice originalRate rate totalPrice } lastFourDigits paymentMethodName threeDSecure } payoutAmount processedAt refundReason salesChannel {id name } sessionToken shippingLineItems {finalPrice isRefunded taxValue title transactionId } source sourceTransactionId status test type updatedAt useCustomTransactionVerification } }";!function(t){t.CHARGED_AMOUNT="chargedAmount",t.ORDER_FINAL_PRICE="orderFinalPrice",t.PENDING_AMOUNT="pendingAmount",t.REFUNDABLE_TRANSACTIONS__AMOUNT="refundableTransactions.amount",t.REFUNDABLE_TRANSACTIONS__TRANSACTION_ID="refundableTransactions.transactionId",t.REFUNDED_AMOUNT="refundedAmount",t.REMAINING_BALANCE="remainingBalance",t.TRANSACTIONS__AMOUNT="transactions.amount",t.TRANSACTIONS__AUTH_CODE="transactions.authCode",t.TRANSACTIONS__CHECKOUT_ID="transactions.checkoutId",t.TRANSACTIONS__CREATED_AT="transactions.createdAt",t.TRANSACTIONS__CREATED_WITH_MASTER_PASS="transactions.createdWithMasterPass",t.TRANSACTIONS__CURRENCY_CODE="transactions.currencyCode",t.TRANSACTIONS__CURRENCY_RATES__CODE="transactions.currencyRates.code",t.TRANSACTIONS__CURRENCY_RATES__ORIGINAL_RATE="transactions.currencyRates.originalRate",t.TRANSACTIONS__CURRENCY_RATES__RATE="transactions.currencyRates.rate",t.TRANSACTIONS__CURRENCY_SYMBOL="transactions.currencySymbol",t.TRANSACTIONS__CUSTOMER_ID="transactions.customerId",t.TRANSACTIONS__DELETED="transactions.deleted",t.TRANSACTIONS__ERROR__CODE="transactions.error.code",t.TRANSACTIONS__ERROR__DECLINE_CODE="transactions.error.declineCode",t.TRANSACTIONS__ERROR__MESSAGE="transactions.error.message",t.TRANSACTIONS__FEES__FEE_AMOUNT="transactions.fees.feeAmount",t.TRANSACTIONS__FEES__IS_ADDED_AMOUNT="transactions.fees.isAddedAmount",t.TRANSACTIONS__FEES__SOURCE="transactions.fees.source",t.TRANSACTIONS__FORCE_REFUND="transactions.forceRefund",t.TRANSACTIONS__GATEWAY_REFERENCE_ID="transactions.gatewayReferenceId",t.TRANSACTIONS__GIFT_PACKAGE_LINE_ITEMS__FINAL_PRICE="transactions.giftPackageLineItems.finalPrice",t.TRANSACTIONS__GIFT_PACKAGE_LINE_ITEMS__IS_REFUNDED="transactions.giftPackageLineItems.isRefunded",t.TRANSACTIONS__GIFT_PACKAGE_LINE_ITEMS__TAX_VALUE="transactions.giftPackageLineItems.taxValue",t.TRANSACTIONS__ID="transactions.id",t.TRANSACTIONS__IP_ADDRESS="transactions.ipAddress",t.TRANSACTIONS__IS_ADDITIONAL_PAYMENT="transactions.isAdditionalPayment",t.TRANSACTIONS__IS_MANUEL_ADDED_TRANSACTION="transactions.isManuelAddedTransaction",t.TRANSACTIONS__IS_TRACKING_INFO_SENT="transactions.isTrackingInfoSent",t.TRANSACTIONS__LINE_ITEMS__FINAL_PRICE="transactions.lineItems.finalPrice",t.TRANSACTIONS__LINE_ITEMS__ID="transactions.lineItems.id",t.TRANSACTIONS__LINE_ITEMS__PRICE="transactions.lineItems.price",t.TRANSACTIONS__LINE_ITEMS__QUANTITY="transactions.lineItems.quantity",t.TRANSACTIONS__LINE_ITEMS__TAX_VALUE="transactions.lineItems.taxValue",t.TRANSACTIONS__LINE_ITEMS__VARIANT__ID="transactions.lineItems.variant.id",t.TRANSACTIONS__LINE_ITEMS__VARIANT__MAIN_IMAGE_ID="transactions.lineItems.variant.mainImageId",t.TRANSACTIONS__LINE_ITEMS__VARIANT__NAME="transactions.lineItems.variant.name",t.TRANSACTIONS__LINE_ITEMS__VARIANT__PRODUCT_ID="transactions.lineItems.variant.productId",t.TRANSACTIONS__LINE_ITEMS__VARIANT__SKU="transactions.lineItems.variant.sku",t.TRANSACTIONS__LINE_ITEMS__VARIANT__SLUG="transactions.lineItems.variant.slug",t.TRANSACTIONS__LINE_ITEMS__VARIANT__TYPE="transactions.lineItems.variant.type",t.TRANSACTIONS__MERCHANT_ID="transactions.merchantId",t.TRANSACTIONS__ORDER_ID="transactions.orderId",t.TRANSACTIONS__ORDER_NUMBER="transactions.orderNumber",t.TRANSACTIONS__PAYMENT_GATEWAY_CODE="transactions.paymentGatewayCode",t.TRANSACTIONS__PAYMENT_GATEWAY_ID="transactions.paymentGatewayId",t.TRANSACTIONS__PAYMENT_GATEWAY_NAME="transactions.paymentGatewayName",t.TRANSACTIONS__PAYMENT_METHOD="transactions.paymentMethod",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__BANK_NAME="transactions.paymentMethodDetail.bankName",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__BIN_NUMBER="transactions.paymentMethodDetail.binNumber",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__CARD_ASSOCIATION="transactions.paymentMethodDetail.cardAssociation",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__CARD_FAMILY="transactions.paymentMethodDetail.cardFamily",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__CARD_TYPE="transactions.paymentMethodDetail.cardType",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_COUNT="transactions.paymentMethodDetail.installment.installmentCount",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__INSTALLMENT__INSTALLMENT_PRICE="transactions.paymentMethodDetail.installment.installmentPrice",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__INSTALLMENT__ORIGINAL_RATE="transactions.paymentMethodDetail.installment.originalRate",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__INSTALLMENT__RATE="transactions.paymentMethodDetail.installment.rate",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__INSTALLMENT__TOTAL_PRICE="transactions.paymentMethodDetail.installment.totalPrice",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__LAST_FOUR_DIGITS="transactions.paymentMethodDetail.lastFourDigits",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__PAYMENT_METHOD_NAME="transactions.paymentMethodDetail.paymentMethodName",t.TRANSACTIONS__PAYMENT_METHOD_DETAIL__THREE_D_SECURE="transactions.paymentMethodDetail.threeDSecure",t.TRANSACTIONS__PAYOUT_AMOUNT="transactions.payoutAmount",t.TRANSACTIONS__PROCESSED_AT="transactions.processedAt",t.TRANSACTIONS__REFUND_REASON="transactions.refundReason",t.TRANSACTIONS__SALES_CHANNEL__ID="transactions.salesChannel.id",t.TRANSACTIONS__SALES_CHANNEL__NAME="transactions.salesChannel.name",t.TRANSACTIONS__SESSION_TOKEN="transactions.sessionToken",t.TRANSACTIONS__SHIPPING_LINE_ITEMS__FINAL_PRICE="transactions.shippingLineItems.finalPrice",t.TRANSACTIONS__SHIPPING_LINE_ITEMS__IS_REFUNDED="transactions.shippingLineItems.isRefunded",t.TRANSACTIONS__SHIPPING_LINE_ITEMS__TAX_VALUE="transactions.shippingLineItems.taxValue",t.TRANSACTIONS__SHIPPING_LINE_ITEMS__TITLE="transactions.shippingLineItems.title",t.TRANSACTIONS__SHIPPING_LINE_ITEMS__TRANSACTION_ID="transactions.shippingLineItems.transactionId",t.TRANSACTIONS__SOURCE="transactions.source",t.TRANSACTIONS__SOURCE_TRANSACTION_ID="transactions.sourceTransactionId",t.TRANSACTIONS__STATUS="transactions.status",t.TRANSACTIONS__TEST="transactions.test",t.TRANSACTIONS__TYPE="transactions.type",t.TRANSACTIONS__UPDATED_AT="transactions.updatedAt",t.TRANSACTIONS__USE_CUSTOM_TRANSACTION_VERIFICATION="transactions.useCustomTransactionVerification"}(T||(T={}));export{T as ResponseField,A as default};
|
|
@@ -1637,6 +1637,7 @@ export interface ListOrderTransactionWithPricesRefundableTransaction {
|
|
|
1637
1637
|
export interface ListOrderTransactionWithPricesResponse {
|
|
1638
1638
|
chargedAmount: number;
|
|
1639
1639
|
orderFinalPrice: number;
|
|
1640
|
+
pendingAmount: number;
|
|
1640
1641
|
refundableTransactions: ListOrderTransactionWithPricesRefundableTransaction[];
|
|
1641
1642
|
refundedAmount: number;
|
|
1642
1643
|
remainingBalance: number;
|
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.184",
|
|
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.184",
|
|
21
|
+
"@ikas/storefront-models": "^6.1.0-beta.184",
|
|
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.184",
|
|
38
|
+
"@ikas/storefront-models": "^6.1.0-beta.184",
|
|
39
39
|
"@ikas/fe-api-client": "^1.0.18",
|
|
40
40
|
"axios": "^0.26.0",
|
|
41
41
|
"ts-essentials": "^7.0.1"
|