@bash-app/bash-common 29.61.0 → 29.62.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/package.json +1 -1
- package/src/definitions.ts +24 -2
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -86,9 +86,32 @@ export const URL_PARAMS_REDIRECT = "redirect" as const;
|
|
|
86
86
|
export const URL_PARAMS_GOOGLE_ACCESS_CODE = "code" as const;
|
|
87
87
|
export const URL_PARAMS_LINKED_IN_CODE = "code" as const;
|
|
88
88
|
export const URL_PARAMS_STATE = "state" as const;
|
|
89
|
+
|
|
89
90
|
export const URL_PARAMS_STRIPE_CHECKOUT = "checkout" as const;
|
|
91
|
+
export const URL_PARAMS_STRIPE_CHECKOUT_OPTIONS = {
|
|
92
|
+
complete: "complete",
|
|
93
|
+
incomplete: "incomplete",
|
|
94
|
+
} as const;
|
|
95
|
+
export type UrlParamsStripeCheckout =
|
|
96
|
+
(typeof URL_PARAMS_STRIPE_CHECKOUT_OPTIONS)[keyof typeof URL_PARAMS_STRIPE_CHECKOUT_OPTIONS];
|
|
97
|
+
|
|
98
|
+
export const URL_PARAMS_STRIPE_ACCOUNT = "account" as const;
|
|
99
|
+
|
|
100
|
+
export const URL_PARAMS_STRIPE_ACCOUNT_CREATION = "account_creation" as const;
|
|
101
|
+
export const URL_PARAMS_STRIPE_ACCOUNT_CREATION_OPTIONS = {
|
|
102
|
+
complete: "complete",
|
|
103
|
+
incomplete: "incomplete",
|
|
104
|
+
} as const;
|
|
105
|
+
export type UrlParamsStripeAccountCreation =
|
|
106
|
+
(typeof URL_PARAMS_STRIPE_ACCOUNT_CREATION_OPTIONS)[keyof typeof URL_PARAMS_STRIPE_ACCOUNT_CREATION_OPTIONS];
|
|
107
|
+
|
|
90
108
|
export const URL_PARAMS_SETUP_PAYMENT = "paymentSetup" as const;
|
|
91
|
-
export
|
|
109
|
+
export const URL_PARAMS_SETUP_PAYMENT_OPTIONS = {
|
|
110
|
+
complete: "complete",
|
|
111
|
+
incomplete: "incomplete",
|
|
112
|
+
} as const;
|
|
113
|
+
export type UrlParamsSetupPayment =
|
|
114
|
+
(typeof URL_PARAMS_SETUP_PAYMENT_OPTIONS)[keyof typeof URL_PARAMS_SETUP_PAYMENT_OPTIONS];
|
|
92
115
|
|
|
93
116
|
export const URL_PARAMS_TICKET_LIST_DELIM = "," as const;
|
|
94
117
|
export const URL_PARAMS_TICKET_TIER_ID_NUMBER_OF_TICKETS_DATE_DELIM =
|
|
@@ -673,7 +696,6 @@ type AllKeysUnion<T, Depth extends number = 5> = Depth extends 0
|
|
|
673
696
|
|
|
674
697
|
export type AllKeys<T> = AllKeysUnion<T>[];
|
|
675
698
|
|
|
676
|
-
|
|
677
699
|
export interface IAddress {
|
|
678
700
|
place?: string;
|
|
679
701
|
googlePlaceId?: string;
|