@1interface/chat-core 0.17.0 → 0.18.0
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/dist/index.d.ts +5 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -903,8 +903,9 @@ export declare const HOSTED_PAYMENT_PAGE_CALLBACK_MESSAGE_TYPE = "hosted-payment
|
|
|
903
903
|
export declare const HOSTED_PAYMENT_PAGE_CALLBACK_PATH = "/payment-callback.html";
|
|
904
904
|
|
|
905
905
|
export declare const HOSTED_PAYMENT_PAGE_STATUSES: {
|
|
906
|
-
readonly
|
|
906
|
+
readonly SUCCEEDED: "succeeded";
|
|
907
907
|
readonly FAILED: "failed";
|
|
908
|
+
readonly CANCELED: "canceled";
|
|
908
909
|
};
|
|
909
910
|
|
|
910
911
|
export declare const HOSTED_PAYMENT_PAGE_THEME_MESSAGE_TYPE = "hosted-payment-page-theme";
|
|
@@ -920,6 +921,9 @@ export declare interface HostedPaymentPageCallbackMessage {
|
|
|
920
921
|
export declare interface HostedPaymentPageCallbackResult {
|
|
921
922
|
paymentId: string;
|
|
922
923
|
paymentStatus: HostedPaymentPageStatus;
|
|
924
|
+
amount?: number;
|
|
925
|
+
currency?: string;
|
|
926
|
+
message?: string;
|
|
923
927
|
}
|
|
924
928
|
|
|
925
929
|
export declare type HostedPaymentPageStatus = (typeof HOSTED_PAYMENT_PAGE_STATUSES)[keyof typeof HOSTED_PAYMENT_PAGE_STATUSES];
|