@vonq/hapi-elements-types 1.17.0 → 1.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/_window/api.types.ts +14 -1
- package/_window/auth.types.ts +2 -2
- package/_window/service.types.ts +13 -0
- package/_window/state.types.ts +38 -13
- package/_window/utils.types.ts +4 -2
- package/_window/window.ts +36 -3
- package/alert/enums.ts +1 -1
- package/alert/types.ts +5 -3
- package/ats/state.types.ts +5 -2
- package/ats/types.ts +13 -7
- package/basket/state.types.ts +2 -1
- package/basket/utils.types.ts +4 -0
- package/campaign/service.types.ts +1 -0
- package/campaign/types.ts +26 -5
- package/campaign/validations.types.ts +1 -1
- package/common/enums.ts +4 -0
- package/common/events/EventCommand/enums.ts +2 -2
- package/common/types.ts +3 -0
- package/common/validator/types.ts +1 -0
- package/contract/types.ts +7 -0
- package/language/qa.types.ts +1 -4
- package/language/state.types.ts +0 -16
- package/language/validations.types.ts +0 -4
- package/modal/enums.ts +4 -1
- package/modal/service.types.ts +0 -1
- package/modal/types.ts +8 -0
- package/modal/utils.types.ts +10 -0
- package/orderJourney/enums.ts +1 -0
- package/orderJourney/qa.types.ts +0 -3
- package/package.json +1 -1
- package/product/api.types.ts +5 -0
- package/product/service.types.ts +3 -0
- package/product/state.types.ts +3 -0
- package/product/types.ts +6 -0
- package/product/utils.types.ts +2 -0
- package/talentMindCompany/api.types.ts +18 -0
- package/talentMindCompany/service.types.ts +15 -0
- package/talentMindCompany/state.types.ts +5 -0
- package/talentMindCompany/types.ts +6 -0
- package/talentMindCompany/validations.types.ts +5 -0
- package/talentMindEvaluation/api.types.ts +25 -0
- package/talentMindEvaluation/service.types.ts +25 -0
- package/talentMindEvaluation/state.types.ts +6 -0
- package/talentMindEvaluation/types.ts +15 -0
- package/talentMindEvaluation/validations.types.ts +5 -0
- package/talentMindJob/api.types.ts +26 -0
- package/talentMindJob/service.types.ts +28 -0
- package/talentMindJob/state.types.ts +6 -0
- package/talentMindJob/types.ts +12 -0
- package/talentMindJob/validations.types.ts +5 -0
- package/talentMindResume/api.types.ts +30 -0
- package/talentMindResume/service.types.ts +34 -0
- package/talentMindResume/state.types.ts +6 -0
- package/talentMindResume/types.ts +119 -0
- package/talentMindResume/validations.types.ts +5 -0
- package/wallet/service.types.ts +6 -1
- package/wallet/state.types.ts +3 -1
- package/wallet/types.ts +7 -2
- package/wallet/validations.types.ts +15 -3
package/wallet/types.ts
CHANGED
@@ -1,13 +1,16 @@
|
|
1
1
|
import { ProductPriceCurrency } from "../product/enums"
|
2
2
|
|
3
3
|
export type WalletBalanceInCents = {
|
4
|
-
USD: number
|
4
|
+
USD: number //deprecated
|
5
|
+
amount: string //float
|
6
|
+
currency: ProductPriceCurrency
|
5
7
|
}
|
6
8
|
|
7
9
|
export type Wallet = {
|
8
10
|
balance: WalletBalanceInCents
|
9
11
|
created_date: string
|
10
12
|
has_billing_details: boolean
|
13
|
+
missing_billing_keys: string[]
|
11
14
|
id: string
|
12
15
|
}
|
13
16
|
|
@@ -19,7 +22,8 @@ export type WalletATSSettings = {
|
|
19
22
|
}
|
20
23
|
|
21
24
|
export type WalletCreateForm = {
|
22
|
-
customerName
|
25
|
+
customerName?: string | null
|
26
|
+
currency?: ProductPriceCurrency
|
23
27
|
}
|
24
28
|
|
25
29
|
export type WalletBillingPortalLinkResponse = {
|
@@ -61,5 +65,6 @@ export type WalletPaymentIntentRequest = {
|
|
61
65
|
partnerId: string
|
62
66
|
amount: number
|
63
67
|
agreeTerms: boolean
|
68
|
+
draftCampaignId?: string
|
64
69
|
paymentMethodTypes?: WalletPaymentIntentPaymentMethod[]
|
65
70
|
}
|
@@ -1,16 +1,28 @@
|
|
1
|
-
import {
|
1
|
+
import {
|
2
|
+
ZodArray,
|
3
|
+
ZodBoolean,
|
4
|
+
ZodNullable,
|
5
|
+
ZodNumber,
|
6
|
+
ZodObject,
|
7
|
+
ZodOptional,
|
8
|
+
ZodString,
|
9
|
+
} from "zod"
|
10
|
+
import { ProductPriceCurrency } from "../product"
|
2
11
|
|
3
12
|
export type ZodWalletBalance = ZodObject<{
|
4
|
-
|
13
|
+
amount: ZodString
|
14
|
+
currency: ZodString
|
5
15
|
}>
|
6
16
|
export type ZodWallet = ZodObject<{
|
7
17
|
balance: ZodWalletBalance
|
8
18
|
created_date: ZodString
|
9
19
|
has_billing_details: ZodBoolean
|
10
20
|
id: ZodString
|
21
|
+
missing_billing_keys: ZodArray<ZodString>
|
11
22
|
}>
|
12
23
|
export type ZodWalletCreateForm = ZodObject<{
|
13
|
-
customerName: ZodString
|
24
|
+
customerName: ZodOptional<ZodNullable<ZodString>>
|
25
|
+
currency: ZodString
|
14
26
|
}>
|
15
27
|
export type WindowHapiValidationsWallet = {
|
16
28
|
wallet: ZodNullable<ZodWallet>
|