/** * @license * Copyright 2024 Boxo pte. ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Default SDK configuration */ export declare const DEFAULT_CONFIG: { readonly baseUrl: "https://dashboard.boxo.io/api/v1"; readonly sandboxMode: false; readonly debug: false; }; /** * SDK event types */ export declare const EVENT_TYPES: { readonly LOGIN: "AppBoxoWebAppLogin"; readonly PAYMENT: "AppBoxoWebAppPay"; readonly INIT_DATA: "AppBoxoWebAppGetInitData"; readonly CUSTOM: "AppBoxoWebAppCustomEvent"; }; /** * SDK message type identifier */ export declare const SDK_MESSAGE_TYPE = "appboxo-js-sdk"; /** * SDK version */ export declare const SDK_VERSION = "1.0.0"; /** * Error codes */ export declare const ERROR_CODES: { readonly INVALID_ORIGIN: 400; readonly MISSING_IFRAME: 400; readonly AUTHENTICATION_FAILED: 401; readonly PAYMENT_FAILED: 402; readonly UNSUPPORTED_EVENT: 404; readonly UNKNOWN: 500; }; //# sourceMappingURL=constants.d.ts.map