/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; import { BatchApprovalResponse, BatchApproveData, BatchData, BatchResult, PaymentMethod, TransactionI } from "./api/transactions/interface"; import { ModalSize, Options as Options1 } from "./store/store"; import { CloseEvent } from "./components/paycargo-checkout/interface"; import { Options } from "./store/store"; import { BusinessRulesInterface } from "./api/businessRules/interface"; import { DisputeResponseModalData } from "./components/paycargo-batch-dispute-widget/interface"; import { BatchApprovalResponse as BatchApprovalResponse1, BatchData as BatchData1, TransactionI as TransactionI1 } from "./api/transactions/interface"; import { BatchFeesGrandTotalDataI } from "./components/batch/interface"; import { CreditcardData } from "./utils/stored-cards/index"; import { CloseEvent as CloseEvent1 } from "./components/paycargo-checkout/interface"; import { DisputeData } from "./components/paycargo-dispute/paycargo-dispute"; import { GetBusinessRulesI, TransactionI as TransactionI2 } from "./interfaces"; import { OsraReviewedData } from "./components/paycargo-osra-widget/paycargo-osra-widget"; import { PaycargoCartAmplitudeParams, PaycargoPaymentActionHandlers } from "./components/paycargo-payment/paycargo-payment"; import { UserInterface } from "./store/interface"; export { BatchApprovalResponse, BatchApproveData, BatchData, BatchResult, PaymentMethod, TransactionI } from "./api/transactions/interface"; export { ModalSize, Options as Options1 } from "./store/store"; export { CloseEvent } from "./components/paycargo-checkout/interface"; export { Options } from "./store/store"; export { BusinessRulesInterface } from "./api/businessRules/interface"; export { DisputeResponseModalData } from "./components/paycargo-batch-dispute-widget/interface"; export { BatchApprovalResponse as BatchApprovalResponse1, BatchData as BatchData1, TransactionI as TransactionI1 } from "./api/transactions/interface"; export { BatchFeesGrandTotalDataI } from "./components/batch/interface"; export { CreditcardData } from "./utils/stored-cards/index"; export { CloseEvent as CloseEvent1 } from "./components/paycargo-checkout/interface"; export { DisputeData } from "./components/paycargo-dispute/paycargo-dispute"; export { GetBusinessRulesI, TransactionI as TransactionI2 } from "./interfaces"; export { OsraReviewedData } from "./components/paycargo-osra-widget/paycargo-osra-widget"; export { PaycargoCartAmplitudeParams, PaycargoPaymentActionHandlers } from "./components/paycargo-payment/paycargo-payment"; export { UserInterface } from "./store/interface"; export namespace Components { interface LoadingSpinner { /** * Color property for loading spinner * @default 'blue' */ "color": 'white' | 'blue'; /** * Size property for loading spinner * @default 'standard' */ "size": 'small' | 'standard'; } interface PaycargoBatchCart { /** * Array of transaction objections either a string or TransactionI */ "pcTransactions": TransactionI[] | string; /** * size - property to size the Modal * @default 'lg' */ "size": ModalSize | string; /** * visible - property to make modal show or hide. */ "visible": boolean; } interface PaycargoBatchConfirmation { /** * Show 'New Payment' Btn that will emit 'newTransaction' event. * @default false */ "newTransactionBtn": boolean; /** * Payment Method of transaction approval */ "paymentMethod": PaymentMethod; /** * Response Array from the approval response. */ "paymentResponseProp": any; } /** * showDispute - An array of third party code. Please declare * in ** LOWER CASE ** as condition below has `state['code']?.toLowerCase()` * to match against value passed. */ interface PaycargoBatchDisputeWidget { /** * authToken - User JWT token */ "authToken": string; /** * businessRules */ "businessRules": { [index: string | number]: BusinessRulesInterface | null }; /** * disabled - property to make button disable. * @default false */ "disabled"?: boolean | 'false' | 'true'; /** * env: envirornment to hit correct api env ('dev', 'test', 'prod') */ "env": string; /** * Have Paycargo Dispute Modal be visible */ "makeVisible": (show: boolean, event: MouseEvent) => Promise; /** * Options This will contain the following properties - env - code - brand - originURL */ "options": Options | string; /** * pcTransactions */ "pcTransactions": { [index: number]: TransactionI } | string; /** * visible - property to make modal show or hide. * @default false */ "visible": boolean; /** * style - Style of the widget. * @default 'v1' */ "widgetStyle": 'v1' | 'v2' | 'v3' | string; } interface PaycargoCart { /** * Token from third party/developer */ "developerToken": string; /** * Function that is called when user hits the `x` */ "handleClose": Function; /** * Options */ "options": string; /** * PcData */ "pcData": TransactionI1 | string; /** * Use to make modal appear or be hidden */ "visible": boolean; } interface PaycargoCcWidget { /** * CC Total after fees that will be pssed to hosted cc iframe */ "batchFeesGrandTotal": BatchFeesGrandTotalDataI; /** * CC Limit that will be passed to hosted cc iframe */ "ccLimit": number; /** * CC Processing Fee Percentage that will be passed to hosted cc iframe */ "ccProcessingFeePercentage": number; /** * Country that will be passed to hosted cc iframe for ship and pay registration * @default '' */ "country": string; /** * Currency in which payment is being made on. */ "currency": string; /** * Method to remotely disable iframe 'Pay Now' button. */ "disableIframeButton": ({ disablePayButton, isRegisteredUser, isLoading }: { disablePayButton?: { disable: boolean; msg: string; }; isRegisteredUser?: boolean; isLoading?: boolean; }) => Promise; /** * CC Total after fees that will be pssed to hosted cc iframe * @default null */ "payerId": number | null; /** * Region that will be passed to hosted cc iframe * @default '' */ "region": string; /** * Method to remotely update fees after initial load */ "updateFees": ({ batchFeesGrandTotalData }: { batchFeesGrandTotalData: BatchFeesGrandTotalDataI; }) => Promise; } interface PaycargoCheckout { /** * Have Paycargo Batch Cart be visible */ "makeVisible": (show: boolean) => Promise; /** * Function will trigger when modal is closed */ "onPcClose": string | ((data: CloseEvent1) => void); /** * Function will trigger when dispute attempt has occured */ "onPcDispute": string | ((data: CloseEvent1) => void); /** * Function will trigger when approval attempt has occured */ "onPcPayment": string | ((data: CloseEvent1) => void); /** * Options This will contain the following properties - env - code - brand - originURL */ "options": Options1 | string; /** * pcTransactions */ "pcTransactions": TransactionI[] | string; } interface PaycargoDialog { /** * Label for the cancel action button. * @default 'Cancel' */ "cancelLabel": string; /** * Label for the confirm action button. * @default 'Confirm' */ "confirmLabel": string; /** * Visual variant for the confirm button. 'save' renders a blue button; 'delete' renders a red button. * @default 'save' */ "confirmVariant": 'save' | 'delete'; /** * Text displayed in the dialog heading. * @default '' */ "dialogTitle": string; /** * When true, disables the confirm button and shows a loading spinner in its place. * @default false */ "isProcessing": boolean; } interface PaycargoDispute { /** * disabled - pass-through to the internal dispute widget button * @default false */ "disabled"?: boolean | 'false' | 'true'; /** * Programmatically open/close the dispute modal. */ "makeVisible": (show: boolean) => Promise; /** * Function will trigger when modal is closed */ "onPcClose": string | ((data: CloseEvent1) => void); /** * Function will trigger when dispute attempt has occurred */ "onPcDispute": string | ((data: CloseEvent1) => void); /** * Options This will contain the following properties - env - code - brand - originURL - token (consumer JWT) */ "options": Options1 | string; /** * pcTransactions - array of transactions to dispute. Accepts the same array shape as `paycargo-checkout`; the wrapper keys it by numeric index (matching `paycargo-batch-cart`) before handing it to the internal widget, and stamps a `uuid` on each tx (only when one is not already present on the caller's payload). */ "pcTransactions": TransactionI[] | string; /** * widgetStyle - pass-through to the internal dispute widget (v1 - stencil, v2 - react, v3 - swissport) * @default 'v1' */ "widgetStyle": 'v1' | 'v2' | 'v3' | string; } interface PaycargoDisputeWidget { /** * authToken - User JWT token */ "authToken": string; /** * env: envirornment to hit correct api env ('dev', 'test', 'prod') */ "env": string; /** * location - index location in array for transaction being disputed * @default null */ "location": string | number | null; /** * Have Paycargo Dispute Modal be visible */ "makeVisible": (show: boolean, event: MouseEvent) => Promise; /** * pcTransactions */ "pcTransaction": TransactionI; /** * visible - property to make modal show or hide. * @default false */ "visible": boolean; } interface PaycargoNotificationMessage { /** * Location of Toast to apply css accordingly * @default 'modal' */ "location": string; /** * Function to show a toast Notification */ "showToast": (type: string, message: string, _timeout: number) => Promise; } interface PaycargoOsraWidget { /** * businessRules */ "businessRules": GetBusinessRulesI; /** * visibility of osra button on single transactions * @default false */ "hideButton": boolean; /** * visibility boolean for multi osra widget * @default false */ "loadMultiWidget": boolean; /** * Have Paycargo OSRA widget be visible */ "makeVisible": (show: boolean, event: MouseEvent) => Promise; /** * pcTransactions */ "pcTransaction": TransactionI | string; /** * Prop to hide or show modal containing OSRA info * @default false */ "visible": boolean; } interface PaycargoPayment { /** * Object of action functions */ "actionHandlers": PaycargoPaymentActionHandlers; /** * Object containing analytics/event tracking information for the cart. This includes properties for app experience, journey, platform, page info, user login status, and brand details. */ "cartAmplitudeParams": PaycargoCartAmplitudeParams; /** * Options This will contain the following properties - env - code - brand - originURL */ "options": Options1 | string; /** * Array of transaction objections either a string or TransactionI */ "pcTransactions": TransactionI[] | string; /** * size - property to size the Modal * @default 'lg' */ "size": ModalSize | string; } interface PaycargoPopupLogin { /** * Brand to cobrand the navbar * @default '' */ "brand": string; /** * Object containing analytics/event tracking information for the cart. This includes properties for app experience, journey, platform, page info, user login status, and brand details. */ "cartAmplitudeParams": { app_experience: string app_journey: string app_journey_version: string app_framework: string platform: string page_url: string page_path: string page_short_path: string is_user_logged_in: string brand_id: string brand_name: string }; /** * Method To call to hide iframe */ "hideIframe": () => Promise; /** * @default {} */ "transactions": { [key: string]: TransactionI }; } interface TooltipWrapper { /** * Message to be rendered in the tooltip */ "message": string; /** * Styling of tooltip depending on the class prop */ "tooltipClass": string; /** * Styling of tooltip container depending on the class prop */ "tooltipContainerClass": string; } } export interface PaycargoBatchCartCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoBatchCartElement; } export interface PaycargoBatchConfirmationCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoBatchConfirmationElement; } export interface PaycargoBatchDisputeWidgetCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoBatchDisputeWidgetElement; } export interface PaycargoCartCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoCartElement; } export interface PaycargoCcWidgetCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoCcWidgetElement; } export interface PaycargoCheckoutCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoCheckoutElement; } export interface PaycargoDialogCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoDialogElement; } export interface PaycargoDisputeCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoDisputeElement; } export interface PaycargoDisputeWidgetCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoDisputeWidgetElement; } export interface PaycargoOsraWidgetCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoOsraWidgetElement; } export interface PaycargoPaymentCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoPaymentElement; } export interface PaycargoPopupLoginCustomEvent extends CustomEvent { detail: T; target: HTMLPaycargoPopupLoginElement; } declare global { interface HTMLLoadingSpinnerElement extends Components.LoadingSpinner, HTMLStencilElement { } var HTMLLoadingSpinnerElement: { prototype: HTMLLoadingSpinnerElement; new (): HTMLLoadingSpinnerElement; }; interface HTMLPaycargoBatchCartElementEventMap { "modalClose": CloseEvent; "paymentResponseModal": BatchApprovalResponse; } interface HTMLPaycargoBatchCartElement extends Components.PaycargoBatchCart, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoBatchCartElement, ev: PaycargoBatchCartCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoBatchCartElement, ev: PaycargoBatchCartCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoBatchCartElement: { prototype: HTMLPaycargoBatchCartElement; new (): HTMLPaycargoBatchCartElement; }; interface HTMLPaycargoBatchConfirmationElementEventMap { "newTransaction": {}; } interface HTMLPaycargoBatchConfirmationElement extends Components.PaycargoBatchConfirmation, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoBatchConfirmationElement, ev: PaycargoBatchConfirmationCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoBatchConfirmationElement, ev: PaycargoBatchConfirmationCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoBatchConfirmationElement: { prototype: HTMLPaycargoBatchConfirmationElement; new (): HTMLPaycargoBatchConfirmationElement; }; interface HTMLPaycargoBatchDisputeWidgetElementEventMap { "disputeResponseModal": CloseEvent; } /** * showDispute - An array of third party code. Please declare * in ** LOWER CASE ** as condition below has `state['code']?.toLowerCase()` * to match against value passed. */ interface HTMLPaycargoBatchDisputeWidgetElement extends Components.PaycargoBatchDisputeWidget, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoBatchDisputeWidgetElement, ev: PaycargoBatchDisputeWidgetCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoBatchDisputeWidgetElement, ev: PaycargoBatchDisputeWidgetCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoBatchDisputeWidgetElement: { prototype: HTMLPaycargoBatchDisputeWidgetElement; new (): HTMLPaycargoBatchDisputeWidgetElement; }; interface HTMLPaycargoCartElementEventMap { "close": { result: { msg: string code: number } data: null | BatchData1 }; "paymentResponseModal": BatchApprovalResponse1; } interface HTMLPaycargoCartElement extends Components.PaycargoCart, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoCartElement, ev: PaycargoCartCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoCartElement, ev: PaycargoCartCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoCartElement: { prototype: HTMLPaycargoCartElement; new (): HTMLPaycargoCartElement; }; interface HTMLPaycargoCcWidgetElementEventMap { "paycargoCCAttempt": { success: boolean data: CreditcardData }; "ccIFrameLoaded": { success: boolean }; "paycargoCCUpdate": { success: boolean data: { cardIssuingCountry: string } }; "ccNewCardModeChange": { enterNewCard: boolean }; } interface HTMLPaycargoCcWidgetElement extends Components.PaycargoCcWidget, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoCcWidgetElement, ev: PaycargoCcWidgetCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoCcWidgetElement, ev: PaycargoCcWidgetCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoCcWidgetElement: { prototype: HTMLPaycargoCcWidgetElement; new (): HTMLPaycargoCcWidgetElement; }; interface HTMLPaycargoCheckoutElementEventMap { "close": CloseEvent1; "paymentResponse": BatchApprovalResponse; "disputeResponse": BatchApproveData; } interface HTMLPaycargoCheckoutElement extends Components.PaycargoCheckout, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoCheckoutElement, ev: PaycargoCheckoutCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoCheckoutElement, ev: PaycargoCheckoutCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoCheckoutElement: { prototype: HTMLPaycargoCheckoutElement; new (): HTMLPaycargoCheckoutElement; }; interface HTMLPaycargoDialogElementEventMap { "dialogConfirm": void; "dialogCancel": void; } interface HTMLPaycargoDialogElement extends Components.PaycargoDialog, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoDialogElement, ev: PaycargoDialogCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoDialogElement, ev: PaycargoDialogCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoDialogElement: { prototype: HTMLPaycargoDialogElement; new (): HTMLPaycargoDialogElement; }; interface HTMLPaycargoDisputeElementEventMap { "disputeResponse": CloseEvent1; } interface HTMLPaycargoDisputeElement extends Components.PaycargoDispute, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoDisputeElement, ev: PaycargoDisputeCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoDisputeElement, ev: PaycargoDisputeCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoDisputeElement: { prototype: HTMLPaycargoDisputeElement; new (): HTMLPaycargoDisputeElement; }; interface HTMLPaycargoDisputeWidgetElementEventMap { "disputeResponseModal": CloseEvent; } interface HTMLPaycargoDisputeWidgetElement extends Components.PaycargoDisputeWidget, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoDisputeWidgetElement, ev: PaycargoDisputeWidgetCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoDisputeWidgetElement, ev: PaycargoDisputeWidgetCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoDisputeWidgetElement: { prototype: HTMLPaycargoDisputeWidgetElement; new (): HTMLPaycargoDisputeWidgetElement; }; interface HTMLPaycargoNotificationMessageElement extends Components.PaycargoNotificationMessage, HTMLStencilElement { } var HTMLPaycargoNotificationMessageElement: { prototype: HTMLPaycargoNotificationMessageElement; new (): HTMLPaycargoNotificationMessageElement; }; interface HTMLPaycargoOsraWidgetElementEventMap { "osraReviewed": OsraReviewedData; "pcOsraWidgetClose": CloseEvent; } interface HTMLPaycargoOsraWidgetElement extends Components.PaycargoOsraWidget, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoOsraWidgetElement, ev: PaycargoOsraWidgetCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoOsraWidgetElement, ev: PaycargoOsraWidgetCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoOsraWidgetElement: { prototype: HTMLPaycargoOsraWidgetElement; new (): HTMLPaycargoOsraWidgetElement; }; interface HTMLPaycargoPaymentElementEventMap { "paymentResponseModal": BatchApprovalResponse; "onTransactionEditEvent": string; } interface HTMLPaycargoPaymentElement extends Components.PaycargoPayment, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoPaymentElement, ev: PaycargoPaymentCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoPaymentElement, ev: PaycargoPaymentCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoPaymentElement: { prototype: HTMLPaycargoPaymentElement; new (): HTMLPaycargoPaymentElement; }; interface HTMLPaycargoPopupLoginElementEventMap { "paycargoLogin": { success: boolean data: { token: string; user: UserInterface; transactions: { [key: string]: TransactionI } } }; "showingLoginIFrame": any; } interface HTMLPaycargoPopupLoginElement extends Components.PaycargoPopupLogin, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLPaycargoPopupLoginElement, ev: PaycargoPopupLoginCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLPaycargoPopupLoginElement, ev: PaycargoPopupLoginCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLPaycargoPopupLoginElement: { prototype: HTMLPaycargoPopupLoginElement; new (): HTMLPaycargoPopupLoginElement; }; interface HTMLTooltipWrapperElement extends Components.TooltipWrapper, HTMLStencilElement { } var HTMLTooltipWrapperElement: { prototype: HTMLTooltipWrapperElement; new (): HTMLTooltipWrapperElement; }; interface HTMLElementTagNameMap { "loading-spinner": HTMLLoadingSpinnerElement; "paycargo-batch-cart": HTMLPaycargoBatchCartElement; "paycargo-batch-confirmation": HTMLPaycargoBatchConfirmationElement; "paycargo-batch-dispute-widget": HTMLPaycargoBatchDisputeWidgetElement; "paycargo-cart": HTMLPaycargoCartElement; "paycargo-cc-widget": HTMLPaycargoCcWidgetElement; "paycargo-checkout": HTMLPaycargoCheckoutElement; "paycargo-dialog": HTMLPaycargoDialogElement; "paycargo-dispute": HTMLPaycargoDisputeElement; "paycargo-dispute-widget": HTMLPaycargoDisputeWidgetElement; "paycargo-notification-message": HTMLPaycargoNotificationMessageElement; "paycargo-osra-widget": HTMLPaycargoOsraWidgetElement; "paycargo-payment": HTMLPaycargoPaymentElement; "paycargo-popup-login": HTMLPaycargoPopupLoginElement; "tooltip-wrapper": HTMLTooltipWrapperElement; } } declare namespace LocalJSX { interface LoadingSpinner { /** * Color property for loading spinner * @default 'blue' */ "color"?: 'white' | 'blue'; /** * Size property for loading spinner * @default 'standard' */ "size"?: 'small' | 'standard'; } interface PaycargoBatchCart { /** * Event called when modal is closed. */ "onModalClose"?: (event: PaycargoBatchCartCustomEvent>) => void; /** * Event that is triggered after payment response has been received. */ "onPaymentResponseModal"?: (event: PaycargoBatchCartCustomEvent) => void; /** * Array of transaction objections either a string or TransactionI */ "pcTransactions"?: TransactionI[] | string; /** * size - property to size the Modal * @default 'lg' */ "size"?: ModalSize | string; /** * visible - property to make modal show or hide. */ "visible"?: boolean; } interface PaycargoBatchConfirmation { /** * Show 'New Payment' Btn that will emit 'newTransaction' event. * @default false */ "newTransactionBtn"?: boolean; /** * Event that will be called after new transaction button is clicked */ "onNewTransaction"?: (event: PaycargoBatchConfirmationCustomEvent<{}>) => void; /** * Payment Method of transaction approval */ "paymentMethod"?: PaymentMethod; /** * Response Array from the approval response. */ "paymentResponseProp"?: any; } /** * showDispute - An array of third party code. Please declare * in ** LOWER CASE ** as condition below has `state['code']?.toLowerCase()` * to match against value passed. */ interface PaycargoBatchDisputeWidget { /** * authToken - User JWT token */ "authToken"?: string; /** * businessRules */ "businessRules"?: { [index: string | number]: BusinessRulesInterface | null }; /** * disabled - property to make button disable. * @default false */ "disabled"?: boolean | 'false' | 'true'; /** * env: envirornment to hit correct api env ('dev', 'test', 'prod') */ "env"?: string; /** * Event that is triggered after dispute response has been received. */ "onDisputeResponseModal"?: (event: PaycargoBatchDisputeWidgetCustomEvent>) => void; /** * Options This will contain the following properties - env - code - brand - originURL */ "options"?: Options | string; /** * pcTransactions */ "pcTransactions"?: { [index: number]: TransactionI } | string; /** * visible - property to make modal show or hide. * @default false */ "visible"?: boolean; /** * style - Style of the widget. * @default 'v1' */ "widgetStyle"?: 'v1' | 'v2' | 'v3' | string; } interface PaycargoCart { /** * Token from third party/developer */ "developerToken"?: string; /** * Function that is called when user hits the `x` */ "handleClose"?: Function; /** * Event called when modal is closed. */ "onClose"?: (event: PaycargoCartCustomEvent<{ result: { msg: string code: number } data: null | BatchData1 }>) => void; /** * Event that is triggered after payment response has been received. */ "onPaymentResponseModal"?: (event: PaycargoCartCustomEvent) => void; /** * Options */ "options"?: string; /** * PcData */ "pcData"?: TransactionI1 | string; /** * Use to make modal appear or be hidden */ "visible"?: boolean; } interface PaycargoCcWidget { /** * CC Total after fees that will be pssed to hosted cc iframe */ "batchFeesGrandTotal"?: BatchFeesGrandTotalDataI; /** * CC Limit that will be passed to hosted cc iframe */ "ccLimit"?: number; /** * CC Processing Fee Percentage that will be passed to hosted cc iframe */ "ccProcessingFeePercentage"?: number; /** * Country that will be passed to hosted cc iframe for ship and pay registration * @default '' */ "country"?: string; /** * Currency in which payment is being made on. */ "currency"?: string; /** * Event that will be called after user approves cc payment */ "onCcIFrameLoaded"?: (event: PaycargoCcWidgetCustomEvent<{ success: boolean }>) => void; /** * Event fired when user switches between stored cards view and new card entry form */ "onCcNewCardModeChange"?: (event: PaycargoCcWidgetCustomEvent<{ enterNewCard: boolean }>) => void; /** * Event that will be called after user approves cc payment */ "onPaycargoCCAttempt"?: (event: PaycargoCcWidgetCustomEvent<{ success: boolean data: CreditcardData }>) => void; /** * Event that will be called when cardIssuingCountry updates */ "onPaycargoCCUpdate"?: (event: PaycargoCcWidgetCustomEvent<{ success: boolean data: { cardIssuingCountry: string } }>) => void; /** * CC Total after fees that will be pssed to hosted cc iframe * @default null */ "payerId"?: number | null; /** * Region that will be passed to hosted cc iframe * @default '' */ "region"?: string; } interface PaycargoCheckout { /** * Event called when modal is closed. */ "onClose"?: (event: PaycargoCheckoutCustomEvent>) => void; /** * Event that is triggered after dispute response has been received. */ "onDisputeResponse"?: (event: PaycargoCheckoutCustomEvent) => void; /** * Event that is triggered after payment response has been received. */ "onPaymentResponse"?: (event: PaycargoCheckoutCustomEvent) => void; /** * Function will trigger when modal is closed */ "onPcClose"?: string | ((data: CloseEvent1) => void); /** * Function will trigger when dispute attempt has occured */ "onPcDispute"?: string | ((data: CloseEvent1) => void); /** * Function will trigger when approval attempt has occured */ "onPcPayment"?: string | ((data: CloseEvent1) => void); /** * Options This will contain the following properties - env - code - brand - originURL */ "options"?: Options1 | string; /** * pcTransactions */ "pcTransactions"?: TransactionI[] | string; } interface PaycargoDialog { /** * Label for the cancel action button. * @default 'Cancel' */ "cancelLabel"?: string; /** * Label for the confirm action button. * @default 'Confirm' */ "confirmLabel"?: string; /** * Visual variant for the confirm button. 'save' renders a blue button; 'delete' renders a red button. * @default 'save' */ "confirmVariant"?: 'save' | 'delete'; /** * Text displayed in the dialog heading. * @default '' */ "dialogTitle"?: string; /** * When true, disables the confirm button and shows a loading spinner in its place. * @default false */ "isProcessing"?: boolean; /** * Fired when the user clicks the cancel button or the overlay backdrop. */ "onDialogCancel"?: (event: PaycargoDialogCustomEvent) => void; /** * Fired when the user clicks the confirm action button. */ "onDialogConfirm"?: (event: PaycargoDialogCustomEvent) => void; } interface PaycargoDispute { /** * disabled - pass-through to the internal dispute widget button * @default false */ "disabled"?: boolean | 'false' | 'true'; /** * Event that is triggered after dispute response has been received from the internal widget. */ "onDisputeResponse"?: (event: PaycargoDisputeCustomEvent>) => void; /** * Function will trigger when modal is closed */ "onPcClose"?: string | ((data: CloseEvent1) => void); /** * Function will trigger when dispute attempt has occurred */ "onPcDispute"?: string | ((data: CloseEvent1) => void); /** * Options This will contain the following properties - env - code - brand - originURL - token (consumer JWT) */ "options"?: Options1 | string; /** * pcTransactions - array of transactions to dispute. Accepts the same array shape as `paycargo-checkout`; the wrapper keys it by numeric index (matching `paycargo-batch-cart`) before handing it to the internal widget, and stamps a `uuid` on each tx (only when one is not already present on the caller's payload). */ "pcTransactions"?: TransactionI[] | string; /** * widgetStyle - pass-through to the internal dispute widget (v1 - stencil, v2 - react, v3 - swissport) * @default 'v1' */ "widgetStyle"?: 'v1' | 'v2' | 'v3' | string; } interface PaycargoDisputeWidget { /** * authToken - User JWT token */ "authToken"?: string; /** * env: envirornment to hit correct api env ('dev', 'test', 'prod') */ "env"?: string; /** * location - index location in array for transaction being disputed * @default null */ "location"?: string | number | null; /** * Event that is triggered after dispute response has been received. */ "onDisputeResponseModal"?: (event: PaycargoDisputeWidgetCustomEvent>) => void; /** * pcTransactions */ "pcTransaction"?: TransactionI; /** * visible - property to make modal show or hide. * @default false */ "visible"?: boolean; } interface PaycargoNotificationMessage { /** * Location of Toast to apply css accordingly * @default 'modal' */ "location"?: string; } interface PaycargoOsraWidget { /** * businessRules */ "businessRules"?: GetBusinessRulesI; /** * visibility of osra button on single transactions * @default false */ "hideButton"?: boolean; /** * visibility boolean for multi osra widget * @default false */ "loadMultiWidget"?: boolean; /** * Event Triggered when All OSRA transactions have been reviewed by user. */ "onOsraReviewed"?: (event: PaycargoOsraWidgetCustomEvent) => void; /** * Close of the Osra Component */ "onPcOsraWidgetClose"?: (event: PaycargoOsraWidgetCustomEvent>) => void; /** * pcTransactions */ "pcTransaction"?: TransactionI | string; /** * Prop to hide or show modal containing OSRA info * @default false */ "visible"?: boolean; } interface PaycargoPayment { /** * Object of action functions */ "actionHandlers"?: PaycargoPaymentActionHandlers; /** * Object containing analytics/event tracking information for the cart. This includes properties for app experience, journey, platform, page info, user login status, and brand details. */ "cartAmplitudeParams"?: PaycargoCartAmplitudeParams; /** * Event that emits when action button is clicked has been received. */ "onOnTransactionEditEvent"?: (event: PaycargoPaymentCustomEvent) => void; /** * Event that is triggered after payment response has been received. */ "onPaymentResponseModal"?: (event: PaycargoPaymentCustomEvent) => void; /** * Options This will contain the following properties - env - code - brand - originURL */ "options"?: Options1 | string; /** * Array of transaction objections either a string or TransactionI */ "pcTransactions"?: TransactionI[] | string; /** * size - property to size the Modal * @default 'lg' */ "size"?: ModalSize | string; } interface PaycargoPopupLogin { /** * Brand to cobrand the navbar * @default '' */ "brand"?: string; /** * Object containing analytics/event tracking information for the cart. This includes properties for app experience, journey, platform, page info, user login status, and brand details. */ "cartAmplitudeParams"?: { app_experience: string app_journey: string app_journey_version: string app_framework: string platform: string page_url: string page_path: string page_short_path: string is_user_logged_in: string brand_id: string brand_name: string }; /** * Event that will be called after login response has been received */ "onPaycargoLogin"?: (event: PaycargoPopupLoginCustomEvent<{ success: boolean data: { token: string; user: UserInterface; transactions: { [key: string]: TransactionI } } }>) => void; /** * Event for when Login Iframe is loaded */ "onShowingLoginIFrame"?: (event: PaycargoPopupLoginCustomEvent) => void; /** * @default {} */ "transactions"?: { [key: string]: TransactionI }; } interface TooltipWrapper { /** * Message to be rendered in the tooltip */ "message"?: string; /** * Styling of tooltip depending on the class prop */ "tooltipClass"?: string; /** * Styling of tooltip container depending on the class prop */ "tooltipContainerClass"?: string; } interface LoadingSpinnerAttributes { "size": 'small' | 'standard'; "color": 'white' | 'blue'; } interface PaycargoBatchCartAttributes { "pcTransactions": TransactionI[] | string; "visible": boolean; "size": ModalSize | string; } interface PaycargoBatchConfirmationAttributes { "paymentResponseProp": string; "paymentMethod": PaymentMethod; "newTransactionBtn": boolean; } interface PaycargoBatchDisputeWidgetAttributes { "options": Options | string; "pcTransactions": { [index: number]: TransactionI } | string; "visible": boolean; "authToken": string; "env": string; "widgetStyle": 'v1' | 'v2' | 'v3' | string; "disabled": string; } interface PaycargoCartAttributes { "options": string; "developerToken": string; "pcData": TransactionI | string; "visible": boolean; } interface PaycargoCcWidgetAttributes { "region": string; "country": string; "ccLimit": number; "ccProcessingFeePercentage": number; "currency": string; "payerId": number | null; } interface PaycargoCheckoutAttributes { "options": Options | string; "pcTransactions": TransactionI[] | string; "onPcPayment": string | ((data: CloseEvent) => void); "onPcClose": string | ((data: CloseEvent) => void); "onPcDispute": string | ((data: CloseEvent) => void); } interface PaycargoDialogAttributes { "dialogTitle": string; "confirmLabel": string; "cancelLabel": string; "confirmVariant": 'save' | 'delete'; "isProcessing": boolean; } interface PaycargoDisputeAttributes { "options": Options | string; "pcTransactions": TransactionI[] | string; "widgetStyle": 'v1' | 'v2' | 'v3' | string; "disabled": string; "onPcDispute": string | ((data: CloseEvent) => void); "onPcClose": string | ((data: CloseEvent) => void); } interface PaycargoDisputeWidgetAttributes { "visible": boolean; "authToken": string; "env": string; "location": string; } interface PaycargoNotificationMessageAttributes { "location": string; } interface PaycargoOsraWidgetAttributes { "visible": boolean; "pcTransaction": TransactionI | string; "loadMultiWidget": boolean; "hideButton": boolean; } interface PaycargoPaymentAttributes { "options": Options | string; "pcTransactions": TransactionI[] | string; "size": ModalSize | string; } interface PaycargoPopupLoginAttributes { "brand": string; } interface TooltipWrapperAttributes { "message": string; "tooltipContainerClass": string; "tooltipClass": string; } interface IntrinsicElements { "loading-spinner": Omit & { [K in keyof LoadingSpinner & keyof LoadingSpinnerAttributes]?: LoadingSpinner[K] } & { [K in keyof LoadingSpinner & keyof LoadingSpinnerAttributes as `attr:${K}`]?: LoadingSpinnerAttributes[K] } & { [K in keyof LoadingSpinner & keyof LoadingSpinnerAttributes as `prop:${K}`]?: LoadingSpinner[K] }; "paycargo-batch-cart": Omit & { [K in keyof PaycargoBatchCart & keyof PaycargoBatchCartAttributes]?: PaycargoBatchCart[K] } & { [K in keyof PaycargoBatchCart & keyof PaycargoBatchCartAttributes as `attr:${K}`]?: PaycargoBatchCartAttributes[K] } & { [K in keyof PaycargoBatchCart & keyof PaycargoBatchCartAttributes as `prop:${K}`]?: PaycargoBatchCart[K] }; "paycargo-batch-confirmation": Omit & { [K in keyof PaycargoBatchConfirmation & keyof PaycargoBatchConfirmationAttributes]?: PaycargoBatchConfirmation[K] } & { [K in keyof PaycargoBatchConfirmation & keyof PaycargoBatchConfirmationAttributes as `attr:${K}`]?: PaycargoBatchConfirmationAttributes[K] } & { [K in keyof PaycargoBatchConfirmation & keyof PaycargoBatchConfirmationAttributes as `prop:${K}`]?: PaycargoBatchConfirmation[K] }; "paycargo-batch-dispute-widget": Omit & { [K in keyof PaycargoBatchDisputeWidget & keyof PaycargoBatchDisputeWidgetAttributes]?: PaycargoBatchDisputeWidget[K] } & { [K in keyof PaycargoBatchDisputeWidget & keyof PaycargoBatchDisputeWidgetAttributes as `attr:${K}`]?: PaycargoBatchDisputeWidgetAttributes[K] } & { [K in keyof PaycargoBatchDisputeWidget & keyof PaycargoBatchDisputeWidgetAttributes as `prop:${K}`]?: PaycargoBatchDisputeWidget[K] }; "paycargo-cart": Omit & { [K in keyof PaycargoCart & keyof PaycargoCartAttributes]?: PaycargoCart[K] } & { [K in keyof PaycargoCart & keyof PaycargoCartAttributes as `attr:${K}`]?: PaycargoCartAttributes[K] } & { [K in keyof PaycargoCart & keyof PaycargoCartAttributes as `prop:${K}`]?: PaycargoCart[K] }; "paycargo-cc-widget": Omit & { [K in keyof PaycargoCcWidget & keyof PaycargoCcWidgetAttributes]?: PaycargoCcWidget[K] } & { [K in keyof PaycargoCcWidget & keyof PaycargoCcWidgetAttributes as `attr:${K}`]?: PaycargoCcWidgetAttributes[K] } & { [K in keyof PaycargoCcWidget & keyof PaycargoCcWidgetAttributes as `prop:${K}`]?: PaycargoCcWidget[K] }; "paycargo-checkout": Omit & { [K in keyof PaycargoCheckout & keyof PaycargoCheckoutAttributes]?: PaycargoCheckout[K] } & { [K in keyof PaycargoCheckout & keyof PaycargoCheckoutAttributes as `attr:${K}`]?: PaycargoCheckoutAttributes[K] } & { [K in keyof PaycargoCheckout & keyof PaycargoCheckoutAttributes as `prop:${K}`]?: PaycargoCheckout[K] }; "paycargo-dialog": Omit & { [K in keyof PaycargoDialog & keyof PaycargoDialogAttributes]?: PaycargoDialog[K] } & { [K in keyof PaycargoDialog & keyof PaycargoDialogAttributes as `attr:${K}`]?: PaycargoDialogAttributes[K] } & { [K in keyof PaycargoDialog & keyof PaycargoDialogAttributes as `prop:${K}`]?: PaycargoDialog[K] }; "paycargo-dispute": Omit & { [K in keyof PaycargoDispute & keyof PaycargoDisputeAttributes]?: PaycargoDispute[K] } & { [K in keyof PaycargoDispute & keyof PaycargoDisputeAttributes as `attr:${K}`]?: PaycargoDisputeAttributes[K] } & { [K in keyof PaycargoDispute & keyof PaycargoDisputeAttributes as `prop:${K}`]?: PaycargoDispute[K] }; "paycargo-dispute-widget": Omit & { [K in keyof PaycargoDisputeWidget & keyof PaycargoDisputeWidgetAttributes]?: PaycargoDisputeWidget[K] } & { [K in keyof PaycargoDisputeWidget & keyof PaycargoDisputeWidgetAttributes as `attr:${K}`]?: PaycargoDisputeWidgetAttributes[K] } & { [K in keyof PaycargoDisputeWidget & keyof PaycargoDisputeWidgetAttributes as `prop:${K}`]?: PaycargoDisputeWidget[K] }; "paycargo-notification-message": Omit & { [K in keyof PaycargoNotificationMessage & keyof PaycargoNotificationMessageAttributes]?: PaycargoNotificationMessage[K] } & { [K in keyof PaycargoNotificationMessage & keyof PaycargoNotificationMessageAttributes as `attr:${K}`]?: PaycargoNotificationMessageAttributes[K] } & { [K in keyof PaycargoNotificationMessage & keyof PaycargoNotificationMessageAttributes as `prop:${K}`]?: PaycargoNotificationMessage[K] }; "paycargo-osra-widget": Omit & { [K in keyof PaycargoOsraWidget & keyof PaycargoOsraWidgetAttributes]?: PaycargoOsraWidget[K] } & { [K in keyof PaycargoOsraWidget & keyof PaycargoOsraWidgetAttributes as `attr:${K}`]?: PaycargoOsraWidgetAttributes[K] } & { [K in keyof PaycargoOsraWidget & keyof PaycargoOsraWidgetAttributes as `prop:${K}`]?: PaycargoOsraWidget[K] }; "paycargo-payment": Omit & { [K in keyof PaycargoPayment & keyof PaycargoPaymentAttributes]?: PaycargoPayment[K] } & { [K in keyof PaycargoPayment & keyof PaycargoPaymentAttributes as `attr:${K}`]?: PaycargoPaymentAttributes[K] } & { [K in keyof PaycargoPayment & keyof PaycargoPaymentAttributes as `prop:${K}`]?: PaycargoPayment[K] }; "paycargo-popup-login": Omit & { [K in keyof PaycargoPopupLogin & keyof PaycargoPopupLoginAttributes]?: PaycargoPopupLogin[K] } & { [K in keyof PaycargoPopupLogin & keyof PaycargoPopupLoginAttributes as `attr:${K}`]?: PaycargoPopupLoginAttributes[K] } & { [K in keyof PaycargoPopupLogin & keyof PaycargoPopupLoginAttributes as `prop:${K}`]?: PaycargoPopupLogin[K] }; "tooltip-wrapper": Omit & { [K in keyof TooltipWrapper & keyof TooltipWrapperAttributes]?: TooltipWrapper[K] } & { [K in keyof TooltipWrapper & keyof TooltipWrapperAttributes as `attr:${K}`]?: TooltipWrapperAttributes[K] } & { [K in keyof TooltipWrapper & keyof TooltipWrapperAttributes as `prop:${K}`]?: TooltipWrapper[K] }; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "loading-spinner": LocalJSX.IntrinsicElements["loading-spinner"] & JSXBase.HTMLAttributes; "paycargo-batch-cart": LocalJSX.IntrinsicElements["paycargo-batch-cart"] & JSXBase.HTMLAttributes; "paycargo-batch-confirmation": LocalJSX.IntrinsicElements["paycargo-batch-confirmation"] & JSXBase.HTMLAttributes; /** * showDispute - An array of third party code. Please declare * in ** LOWER CASE ** as condition below has `state['code']?.toLowerCase()` * to match against value passed. */ "paycargo-batch-dispute-widget": LocalJSX.IntrinsicElements["paycargo-batch-dispute-widget"] & JSXBase.HTMLAttributes; "paycargo-cart": LocalJSX.IntrinsicElements["paycargo-cart"] & JSXBase.HTMLAttributes; "paycargo-cc-widget": LocalJSX.IntrinsicElements["paycargo-cc-widget"] & JSXBase.HTMLAttributes; "paycargo-checkout": LocalJSX.IntrinsicElements["paycargo-checkout"] & JSXBase.HTMLAttributes; "paycargo-dialog": LocalJSX.IntrinsicElements["paycargo-dialog"] & JSXBase.HTMLAttributes; "paycargo-dispute": LocalJSX.IntrinsicElements["paycargo-dispute"] & JSXBase.HTMLAttributes; "paycargo-dispute-widget": LocalJSX.IntrinsicElements["paycargo-dispute-widget"] & JSXBase.HTMLAttributes; "paycargo-notification-message": LocalJSX.IntrinsicElements["paycargo-notification-message"] & JSXBase.HTMLAttributes; "paycargo-osra-widget": LocalJSX.IntrinsicElements["paycargo-osra-widget"] & JSXBase.HTMLAttributes; "paycargo-payment": LocalJSX.IntrinsicElements["paycargo-payment"] & JSXBase.HTMLAttributes; "paycargo-popup-login": LocalJSX.IntrinsicElements["paycargo-popup-login"] & JSXBase.HTMLAttributes; "tooltip-wrapper": LocalJSX.IntrinsicElements["tooltip-wrapper"] & JSXBase.HTMLAttributes; } } }