@learncard/types 5.17.5 → 5.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/inAppMessages.d.ts +312 -0
- package/dist/inAppMessages.d.ts.map +1 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/lcn.d.ts +34 -0
- package/dist/lcn.d.ts.map +1 -1
- package/dist/types.cjs.development.cjs +124 -2
- package/dist/types.cjs.development.cjs.map +3 -3
- package/dist/types.cjs.production.min.cjs +31 -31
- package/dist/types.cjs.production.min.cjs.map +4 -4
- package/dist/types.esm.js +125 -2
- package/dist/types.esm.js.map +4 -4
- package/package.json +1 -1
- package/src/inAppMessages.ts +216 -0
- package/src/index.ts +1 -0
- package/src/lcn.ts +10 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* In-App Messages — schema for the LaunchDarkly JSON flag that drives
|
|
4
|
+
* conditional, targeted user prompts across LearnCard apps.
|
|
5
|
+
*
|
|
6
|
+
* The flag value is a versioned list of messages. Each message carries its own
|
|
7
|
+
* targeting predicate tree that is evaluated ON DEVICE, because the client
|
|
8
|
+
* knows things LaunchDarkly's own targeting rules cannot reliably see — the
|
|
9
|
+
* Capacitor platform, the native binary version, and (crucially) the live
|
|
10
|
+
* Capgo/OTA bundle version. Keeping targeting in the JSON also makes the whole
|
|
11
|
+
* system unit-testable without a live LaunchDarkly connection.
|
|
12
|
+
*
|
|
13
|
+
* Consumed by `useInAppMessages()` in `learn-card-base`.
|
|
14
|
+
*/
|
|
15
|
+
/** Runtime platform, as reported by `Capacitor.getPlatform()`. */
|
|
16
|
+
export declare const inAppMessagePlatformValidator: z.ZodEnum<{
|
|
17
|
+
ios: "ios";
|
|
18
|
+
android: "android";
|
|
19
|
+
web: "web";
|
|
20
|
+
}>;
|
|
21
|
+
export type InAppMessagePlatform = z.infer<typeof inAppMessagePlatformValidator>;
|
|
22
|
+
/**
|
|
23
|
+
* Which version number a `version` predicate compares against:
|
|
24
|
+
* - `native` — the installed native binary version (`App.getInfo().version`)
|
|
25
|
+
* - `web` — the web build's package.json version (`__APP_VERSION__`)
|
|
26
|
+
* - `capgo` — the live Capgo/OTA bundle version (`CapacitorUpdater.current()`)
|
|
27
|
+
*/
|
|
28
|
+
export declare const inAppMessageVersionSourceValidator: z.ZodEnum<{
|
|
29
|
+
web: "web";
|
|
30
|
+
native: "native";
|
|
31
|
+
capgo: "capgo";
|
|
32
|
+
}>;
|
|
33
|
+
export type InAppMessageVersionSource = z.infer<typeof inAppMessageVersionSourceValidator>;
|
|
34
|
+
/** Semantic-version comparison operator (less-than, ..., greater-than). */
|
|
35
|
+
export declare const inAppMessageVersionOpValidator: z.ZodEnum<{
|
|
36
|
+
lt: "lt";
|
|
37
|
+
lte: "lte";
|
|
38
|
+
eq: "eq";
|
|
39
|
+
gte: "gte";
|
|
40
|
+
gt: "gt";
|
|
41
|
+
}>;
|
|
42
|
+
export type InAppMessageVersionOp = z.infer<typeof inAppMessageVersionOpValidator>;
|
|
43
|
+
/** Match when the runtime platform is one of the listed platforms. */
|
|
44
|
+
export declare const platformPredicateValidator: z.ZodObject<{
|
|
45
|
+
platform: z.ZodArray<z.ZodEnum<{
|
|
46
|
+
ios: "ios";
|
|
47
|
+
android: "android";
|
|
48
|
+
web: "web";
|
|
49
|
+
}>>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
/** Match when the current user's profile role is one of the listed roles. */
|
|
52
|
+
export declare const rolePredicateValidator: z.ZodObject<{
|
|
53
|
+
role: z.ZodArray<z.ZodString>;
|
|
54
|
+
}, z.core.$strict>;
|
|
55
|
+
/** Match when a chosen version source satisfies a semver comparison. */
|
|
56
|
+
export declare const versionPredicateValidator: z.ZodObject<{
|
|
57
|
+
version: z.ZodObject<{
|
|
58
|
+
source: z.ZodEnum<{
|
|
59
|
+
web: "web";
|
|
60
|
+
native: "native";
|
|
61
|
+
capgo: "capgo";
|
|
62
|
+
}>;
|
|
63
|
+
op: z.ZodEnum<{
|
|
64
|
+
lt: "lt";
|
|
65
|
+
lte: "lte";
|
|
66
|
+
eq: "eq";
|
|
67
|
+
gte: "gte";
|
|
68
|
+
gt: "gt";
|
|
69
|
+
}>;
|
|
70
|
+
value: z.ZodString;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
export type InAppMessagePredicate = z.infer<typeof platformPredicateValidator> | z.infer<typeof rolePredicateValidator> | z.infer<typeof versionPredicateValidator> | {
|
|
74
|
+
all: InAppMessagePredicate[];
|
|
75
|
+
} | {
|
|
76
|
+
any: InAppMessagePredicate[];
|
|
77
|
+
} | {
|
|
78
|
+
not: InAppMessagePredicate;
|
|
79
|
+
};
|
|
80
|
+
export declare const inAppMessagePredicateValidator: z.ZodType<InAppMessagePredicate>;
|
|
81
|
+
/** Visual weight of an action button — maps to the app's button styles. */
|
|
82
|
+
export declare const inAppMessageActionStyleValidator: z.ZodDefault<z.ZodEnum<{
|
|
83
|
+
primary: "primary";
|
|
84
|
+
secondary: "secondary";
|
|
85
|
+
positive: "positive";
|
|
86
|
+
dismiss: "dismiss";
|
|
87
|
+
}>>;
|
|
88
|
+
export type InAppMessageActionStyle = z.infer<typeof inAppMessageActionStyleValidator>;
|
|
89
|
+
/** Navigate to an in-app route (react-router path). */
|
|
90
|
+
export declare const internalLinkActionValidator: z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"internalLink">;
|
|
92
|
+
path: z.ZodString;
|
|
93
|
+
}, z.core.$loose>;
|
|
94
|
+
/** Open an external URL (native: Capacitor Browser; web: new tab). */
|
|
95
|
+
export declare const externalLinkActionValidator: z.ZodObject<{
|
|
96
|
+
type: z.ZodLiteral<"externalLink">;
|
|
97
|
+
url: z.ZodString;
|
|
98
|
+
}, z.core.$loose>;
|
|
99
|
+
/**
|
|
100
|
+
* Open this app's store page, resolved per-platform at runtime:
|
|
101
|
+
* iOS → App Store, Android → Google Play, web → configured fallback URL.
|
|
102
|
+
* Optional overrides win over tenant-config-derived links.
|
|
103
|
+
*/
|
|
104
|
+
export declare const appStoreActionValidator: z.ZodObject<{
|
|
105
|
+
type: z.ZodLiteral<"appStore">;
|
|
106
|
+
iosUrl: z.ZodOptional<z.ZodString>;
|
|
107
|
+
androidUrl: z.ZodOptional<z.ZodString>;
|
|
108
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
109
|
+
}, z.core.$loose>;
|
|
110
|
+
/** Trigger a Capgo OTA bundle check + download (with progress) + reload. */
|
|
111
|
+
export type AppStoreAction = z.infer<typeof appStoreActionValidator>;
|
|
112
|
+
export declare const capgoUpdateActionValidator: z.ZodObject<{
|
|
113
|
+
type: z.ZodLiteral<"capgoUpdate">;
|
|
114
|
+
}, z.core.$loose>;
|
|
115
|
+
/** Dismiss/close the message without any side effect. */
|
|
116
|
+
export declare const dismissActionValidator: z.ZodObject<{
|
|
117
|
+
type: z.ZodLiteral<"dismiss">;
|
|
118
|
+
}, z.core.$loose>;
|
|
119
|
+
export declare const inAppMessageActionTargetValidator: z.ZodUnion<readonly [z.ZodObject<{
|
|
120
|
+
type: z.ZodLiteral<"internalLink">;
|
|
121
|
+
path: z.ZodString;
|
|
122
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
123
|
+
type: z.ZodLiteral<"externalLink">;
|
|
124
|
+
url: z.ZodString;
|
|
125
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
126
|
+
type: z.ZodLiteral<"appStore">;
|
|
127
|
+
iosUrl: z.ZodOptional<z.ZodString>;
|
|
128
|
+
androidUrl: z.ZodOptional<z.ZodString>;
|
|
129
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
131
|
+
type: z.ZodLiteral<"capgoUpdate">;
|
|
132
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
133
|
+
type: z.ZodLiteral<"dismiss">;
|
|
134
|
+
}, z.core.$loose>]>;
|
|
135
|
+
export type InAppMessageActionTarget = z.infer<typeof inAppMessageActionTargetValidator>;
|
|
136
|
+
export declare const inAppMessageActionValidator: z.ZodObject<{
|
|
137
|
+
label: z.ZodString;
|
|
138
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
139
|
+
primary: "primary";
|
|
140
|
+
secondary: "secondary";
|
|
141
|
+
positive: "positive";
|
|
142
|
+
dismiss: "dismiss";
|
|
143
|
+
}>>;
|
|
144
|
+
action: z.ZodUnion<readonly [z.ZodObject<{
|
|
145
|
+
type: z.ZodLiteral<"internalLink">;
|
|
146
|
+
path: z.ZodString;
|
|
147
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
148
|
+
type: z.ZodLiteral<"externalLink">;
|
|
149
|
+
url: z.ZodString;
|
|
150
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
151
|
+
type: z.ZodLiteral<"appStore">;
|
|
152
|
+
iosUrl: z.ZodOptional<z.ZodString>;
|
|
153
|
+
androidUrl: z.ZodOptional<z.ZodString>;
|
|
154
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
155
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"capgoUpdate">;
|
|
157
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
158
|
+
type: z.ZodLiteral<"dismiss">;
|
|
159
|
+
}, z.core.$loose>]>;
|
|
160
|
+
closeOnComplete: z.ZodDefault<z.ZodBoolean>;
|
|
161
|
+
}, z.core.$loose>;
|
|
162
|
+
export type InAppMessageAction = z.infer<typeof inAppMessageActionValidator>;
|
|
163
|
+
export declare const inAppMessageMediaValidator: z.ZodObject<{
|
|
164
|
+
type: z.ZodEnum<{
|
|
165
|
+
image: "image";
|
|
166
|
+
youtube: "youtube";
|
|
167
|
+
gif: "gif";
|
|
168
|
+
}>;
|
|
169
|
+
url: z.ZodString;
|
|
170
|
+
aspect: z.ZodDefault<z.ZodString>;
|
|
171
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
172
|
+
}, z.core.$loose>;
|
|
173
|
+
export type InAppMessageMedia = z.infer<typeof inAppMessageMediaValidator>;
|
|
174
|
+
/**
|
|
175
|
+
* How often a message may re-appear after being seen/dismissed:
|
|
176
|
+
* - `once` — show a single time, ever (persisted forever)
|
|
177
|
+
* - `session` — at most once per app session (in-memory)
|
|
178
|
+
* - `always` — every eligible render (no suppression)
|
|
179
|
+
* - `{ everyDays: n }` — again only after n days have elapsed
|
|
180
|
+
*/
|
|
181
|
+
export declare const inAppMessageFrequencyValidator: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"once">, z.ZodLiteral<"session">, z.ZodLiteral<"always">, z.ZodObject<{
|
|
182
|
+
everyDays: z.ZodNumber;
|
|
183
|
+
}, z.core.$strict>]>>;
|
|
184
|
+
export type InAppMessageFrequency = z.infer<typeof inAppMessageFrequencyValidator>;
|
|
185
|
+
export declare const inAppMessagePresentationValidator: z.ZodDefault<z.ZodEnum<{
|
|
186
|
+
modal: "modal";
|
|
187
|
+
banner: "banner";
|
|
188
|
+
toast: "toast";
|
|
189
|
+
}>>;
|
|
190
|
+
export type InAppMessagePresentation = z.infer<typeof inAppMessagePresentationValidator>;
|
|
191
|
+
export declare const inAppMessageValidator: z.ZodObject<{
|
|
192
|
+
id: z.ZodString;
|
|
193
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
194
|
+
dismissible: z.ZodDefault<z.ZodBoolean>;
|
|
195
|
+
frequency: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"once">, z.ZodLiteral<"session">, z.ZodLiteral<"always">, z.ZodObject<{
|
|
196
|
+
everyDays: z.ZodNumber;
|
|
197
|
+
}, z.core.$strict>]>>;
|
|
198
|
+
presentation: z.ZodDefault<z.ZodEnum<{
|
|
199
|
+
modal: "modal";
|
|
200
|
+
banner: "banner";
|
|
201
|
+
toast: "toast";
|
|
202
|
+
}>>;
|
|
203
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
204
|
+
type: z.ZodEnum<{
|
|
205
|
+
image: "image";
|
|
206
|
+
youtube: "youtube";
|
|
207
|
+
gif: "gif";
|
|
208
|
+
}>;
|
|
209
|
+
url: z.ZodString;
|
|
210
|
+
aspect: z.ZodDefault<z.ZodString>;
|
|
211
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
212
|
+
}, z.core.$loose>>;
|
|
213
|
+
emoji: z.ZodOptional<z.ZodString>;
|
|
214
|
+
title: z.ZodString;
|
|
215
|
+
body: z.ZodOptional<z.ZodString>;
|
|
216
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
217
|
+
label: z.ZodString;
|
|
218
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
219
|
+
primary: "primary";
|
|
220
|
+
secondary: "secondary";
|
|
221
|
+
positive: "positive";
|
|
222
|
+
dismiss: "dismiss";
|
|
223
|
+
}>>;
|
|
224
|
+
action: z.ZodUnion<readonly [z.ZodObject<{
|
|
225
|
+
type: z.ZodLiteral<"internalLink">;
|
|
226
|
+
path: z.ZodString;
|
|
227
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
228
|
+
type: z.ZodLiteral<"externalLink">;
|
|
229
|
+
url: z.ZodString;
|
|
230
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
231
|
+
type: z.ZodLiteral<"appStore">;
|
|
232
|
+
iosUrl: z.ZodOptional<z.ZodString>;
|
|
233
|
+
androidUrl: z.ZodOptional<z.ZodString>;
|
|
234
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
236
|
+
type: z.ZodLiteral<"capgoUpdate">;
|
|
237
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
238
|
+
type: z.ZodLiteral<"dismiss">;
|
|
239
|
+
}, z.core.$loose>]>;
|
|
240
|
+
closeOnComplete: z.ZodDefault<z.ZodBoolean>;
|
|
241
|
+
}, z.core.$loose>>>;
|
|
242
|
+
targeting: z.ZodOptional<z.ZodType<InAppMessagePredicate, unknown, z.core.$ZodTypeInternals<InAppMessagePredicate, unknown>>>;
|
|
243
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
244
|
+
}, z.core.$loose>;
|
|
245
|
+
export type InAppMessage = z.infer<typeof inAppMessageValidator>;
|
|
246
|
+
export declare const inAppMessagesFlagValidator: z.ZodObject<{
|
|
247
|
+
version: z.ZodDefault<z.ZodNumber>;
|
|
248
|
+
messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
249
|
+
id: z.ZodString;
|
|
250
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
251
|
+
dismissible: z.ZodDefault<z.ZodBoolean>;
|
|
252
|
+
frequency: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"once">, z.ZodLiteral<"session">, z.ZodLiteral<"always">, z.ZodObject<{
|
|
253
|
+
everyDays: z.ZodNumber;
|
|
254
|
+
}, z.core.$strict>]>>;
|
|
255
|
+
presentation: z.ZodDefault<z.ZodEnum<{
|
|
256
|
+
modal: "modal";
|
|
257
|
+
banner: "banner";
|
|
258
|
+
toast: "toast";
|
|
259
|
+
}>>;
|
|
260
|
+
media: z.ZodOptional<z.ZodObject<{
|
|
261
|
+
type: z.ZodEnum<{
|
|
262
|
+
image: "image";
|
|
263
|
+
youtube: "youtube";
|
|
264
|
+
gif: "gif";
|
|
265
|
+
}>;
|
|
266
|
+
url: z.ZodString;
|
|
267
|
+
aspect: z.ZodDefault<z.ZodString>;
|
|
268
|
+
alt: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, z.core.$loose>>;
|
|
270
|
+
emoji: z.ZodOptional<z.ZodString>;
|
|
271
|
+
title: z.ZodString;
|
|
272
|
+
body: z.ZodOptional<z.ZodString>;
|
|
273
|
+
actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
274
|
+
label: z.ZodString;
|
|
275
|
+
style: z.ZodDefault<z.ZodEnum<{
|
|
276
|
+
primary: "primary";
|
|
277
|
+
secondary: "secondary";
|
|
278
|
+
positive: "positive";
|
|
279
|
+
dismiss: "dismiss";
|
|
280
|
+
}>>;
|
|
281
|
+
action: z.ZodUnion<readonly [z.ZodObject<{
|
|
282
|
+
type: z.ZodLiteral<"internalLink">;
|
|
283
|
+
path: z.ZodString;
|
|
284
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
285
|
+
type: z.ZodLiteral<"externalLink">;
|
|
286
|
+
url: z.ZodString;
|
|
287
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
288
|
+
type: z.ZodLiteral<"appStore">;
|
|
289
|
+
iosUrl: z.ZodOptional<z.ZodString>;
|
|
290
|
+
androidUrl: z.ZodOptional<z.ZodString>;
|
|
291
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
292
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
293
|
+
type: z.ZodLiteral<"capgoUpdate">;
|
|
294
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
295
|
+
type: z.ZodLiteral<"dismiss">;
|
|
296
|
+
}, z.core.$loose>]>;
|
|
297
|
+
closeOnComplete: z.ZodDefault<z.ZodBoolean>;
|
|
298
|
+
}, z.core.$loose>>>;
|
|
299
|
+
targeting: z.ZodOptional<z.ZodType<InAppMessagePredicate, unknown, z.core.$ZodTypeInternals<InAppMessagePredicate, unknown>>>;
|
|
300
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
301
|
+
}, z.core.$loose>>>;
|
|
302
|
+
}, z.core.$loose>;
|
|
303
|
+
export type InAppMessagesFlag = z.infer<typeof inAppMessagesFlagValidator>;
|
|
304
|
+
/** Empty, safe default used when the flag is absent or malformed. */
|
|
305
|
+
export declare const EMPTY_IN_APP_MESSAGES_FLAG: InAppMessagesFlag;
|
|
306
|
+
/**
|
|
307
|
+
* Parse an unknown flag value into a validated `InAppMessagesFlag`.
|
|
308
|
+
* Returns the empty flag (never throws) so a malformed flag can never crash
|
|
309
|
+
* the host app.
|
|
310
|
+
*/
|
|
311
|
+
export declare const parseInAppMessagesFlag: (raw: unknown) => InAppMessagesFlag;
|
|
312
|
+
//# sourceMappingURL=inAppMessages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inAppMessages.d.ts","sourceRoot":"","sources":["../src/inAppMessages.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,MAAM,CAAC;AACrB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC"}
|
package/dist/lcn.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ export declare const LCNProfileValidator: z.ZodObject<{
|
|
|
65
65
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
66
66
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
67
67
|
country: z.ZodOptional<z.ZodString>;
|
|
68
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
68
69
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
69
70
|
}, z.core.$strip>;
|
|
70
71
|
export type LCNProfile = z.infer<typeof LCNProfileValidator>;
|
|
@@ -263,6 +264,7 @@ export declare const LCNVisibleProfileValidator: z.ZodUnion<readonly [z.ZodObjec
|
|
|
263
264
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
264
265
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
265
266
|
country: z.ZodOptional<z.ZodString>;
|
|
267
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
266
268
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
267
269
|
}, z.core.$strip>]>;
|
|
268
270
|
export type LCNVisibleProfile = z.infer<typeof LCNVisibleProfileValidator>;
|
|
@@ -391,6 +393,7 @@ export declare const PaginatedLCNProfilesValidator: z.ZodObject<{
|
|
|
391
393
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
392
394
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
393
395
|
country: z.ZodOptional<z.ZodString>;
|
|
396
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
394
397
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
395
398
|
}, z.core.$strip>>;
|
|
396
399
|
}, z.core.$strip>;
|
|
@@ -513,6 +516,7 @@ export declare const PaginatedVisibleLCNProfilesValidator: z.ZodObject<{
|
|
|
513
516
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
514
517
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
515
518
|
country: z.ZodOptional<z.ZodString>;
|
|
519
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
516
520
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
517
521
|
}, z.core.$strip>]>>;
|
|
518
522
|
}, z.core.$strip>;
|
|
@@ -654,6 +658,7 @@ export declare const PaginatedLCNProfilesAndManagersValidator: z.ZodObject<{
|
|
|
654
658
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
655
659
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
656
660
|
country: z.ZodOptional<z.ZodString>;
|
|
661
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
657
662
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
658
663
|
}, z.core.$strip>;
|
|
659
664
|
manager: z.ZodOptional<z.ZodObject<{
|
|
@@ -1033,6 +1038,7 @@ export declare const BoostValidator: z.ZodObject<{
|
|
|
1033
1038
|
name: z.ZodOptional<z.ZodString>;
|
|
1034
1039
|
type: z.ZodOptional<z.ZodString>;
|
|
1035
1040
|
category: z.ZodOptional<z.ZodString>;
|
|
1041
|
+
created: z.ZodOptional<z.ZodString>;
|
|
1036
1042
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1037
1043
|
DRAFT: "DRAFT";
|
|
1038
1044
|
PROVISIONAL: "PROVISIONAL";
|
|
@@ -1221,6 +1227,7 @@ export declare const PaginatedBoostsValidator: z.ZodObject<{
|
|
|
1221
1227
|
name: z.ZodOptional<z.ZodString>;
|
|
1222
1228
|
type: z.ZodOptional<z.ZodString>;
|
|
1223
1229
|
category: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
created: z.ZodOptional<z.ZodString>;
|
|
1224
1231
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1225
1232
|
DRAFT: "DRAFT";
|
|
1226
1233
|
PROVISIONAL: "PROVISIONAL";
|
|
@@ -1378,6 +1385,7 @@ export declare const BoostRecipientValidator: z.ZodObject<{
|
|
|
1378
1385
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1379
1386
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1380
1387
|
country: z.ZodOptional<z.ZodString>;
|
|
1388
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1381
1389
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
1382
1390
|
}, z.core.$strip>]>;
|
|
1383
1391
|
from: z.ZodString;
|
|
@@ -1509,6 +1517,7 @@ export declare const PaginatedBoostRecipientsValidator: z.ZodObject<{
|
|
|
1509
1517
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1510
1518
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1511
1519
|
country: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1512
1521
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
1513
1522
|
}, z.core.$strip>]>;
|
|
1514
1523
|
from: z.ZodString;
|
|
@@ -1638,6 +1647,7 @@ export declare const BoostRecipientWithChildrenValidator: z.ZodObject<{
|
|
|
1638
1647
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1639
1648
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1640
1649
|
country: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1641
1651
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
1642
1652
|
}, z.core.$strip>]>;
|
|
1643
1653
|
from: z.ZodString;
|
|
@@ -1770,6 +1780,7 @@ export declare const PaginatedBoostRecipientsWithChildrenValidator: z.ZodObject<
|
|
|
1770
1780
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1771
1781
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
1772
1782
|
country: z.ZodOptional<z.ZodString>;
|
|
1783
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
1773
1784
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
1774
1785
|
}, z.core.$strip>]>;
|
|
1775
1786
|
from: z.ZodString;
|
|
@@ -1856,6 +1867,7 @@ export declare const SendBoostInputValidator: z.ZodObject<{
|
|
|
1856
1867
|
PROVISIONAL: "PROVISIONAL";
|
|
1857
1868
|
LIVE: "LIVE";
|
|
1858
1869
|
}>>>;
|
|
1870
|
+
created: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1859
1871
|
category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1860
1872
|
autoConnectRecipients: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1861
1873
|
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -2448,6 +2460,7 @@ export declare const SendInputValidator: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2448
2460
|
PROVISIONAL: "PROVISIONAL";
|
|
2449
2461
|
LIVE: "LIVE";
|
|
2450
2462
|
}>>>;
|
|
2463
|
+
created: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2451
2464
|
category: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2452
2465
|
autoConnectRecipients: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2453
2466
|
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -3114,6 +3127,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
|
3114
3127
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3115
3128
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3116
3129
|
country: z.ZodOptional<z.ZodString>;
|
|
3130
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3117
3131
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3118
3132
|
}, z.core.$strip>;
|
|
3119
3133
|
name: z.ZodString;
|
|
@@ -3170,6 +3184,7 @@ export declare const ConsentFlowContractDetailsValidator: z.ZodObject<{
|
|
|
3170
3184
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3171
3185
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3172
3186
|
country: z.ZodOptional<z.ZodString>;
|
|
3187
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3173
3188
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3174
3189
|
}, z.core.$strip>>>;
|
|
3175
3190
|
}, z.core.$strip>;
|
|
@@ -3228,6 +3243,7 @@ export declare const ConsentFlowContractRequestForProfileValidator: z.ZodObject<
|
|
|
3228
3243
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3229
3244
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3230
3245
|
country: z.ZodOptional<z.ZodString>;
|
|
3246
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3231
3247
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3232
3248
|
}, z.core.$strip>;
|
|
3233
3249
|
status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3283,6 +3299,7 @@ export declare const ConsentFlowContractRequestForProfileListValidator: z.ZodArr
|
|
|
3283
3299
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3284
3300
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3285
3301
|
country: z.ZodOptional<z.ZodString>;
|
|
3302
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3286
3303
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3287
3304
|
}, z.core.$strip>;
|
|
3288
3305
|
status: z.ZodNullable<z.ZodEnum<{
|
|
@@ -3381,6 +3398,7 @@ export declare const PaginatedConsentFlowContractsValidator: z.ZodObject<{
|
|
|
3381
3398
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3382
3399
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3383
3400
|
country: z.ZodOptional<z.ZodString>;
|
|
3401
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3384
3402
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3385
3403
|
}, z.core.$strip>>>;
|
|
3386
3404
|
}, z.core.$strip>>;
|
|
@@ -3560,6 +3578,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<{
|
|
|
3560
3578
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3561
3579
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3562
3580
|
country: z.ZodOptional<z.ZodString>;
|
|
3581
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3563
3582
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3564
3583
|
}, z.core.$strip>;
|
|
3565
3584
|
name: z.ZodString;
|
|
@@ -3616,6 +3635,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<{
|
|
|
3616
3635
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3617
3636
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3618
3637
|
country: z.ZodOptional<z.ZodString>;
|
|
3638
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3619
3639
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3620
3640
|
}, z.core.$strip>>>;
|
|
3621
3641
|
}, z.core.$strip>;
|
|
@@ -3661,6 +3681,7 @@ export declare const PaginatedConsentFlowTermsValidator: z.ZodObject<{
|
|
|
3661
3681
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3662
3682
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3663
3683
|
country: z.ZodOptional<z.ZodString>;
|
|
3684
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3664
3685
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3665
3686
|
}, z.core.$strip>;
|
|
3666
3687
|
status: z.ZodEnum<{
|
|
@@ -3924,6 +3945,7 @@ export declare const HolderExportConsentRecordValidator: z.ZodObject<{
|
|
|
3924
3945
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3925
3946
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3926
3947
|
country: z.ZodOptional<z.ZodString>;
|
|
3948
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3927
3949
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3928
3950
|
}, z.core.$strip>;
|
|
3929
3951
|
name: z.ZodString;
|
|
@@ -3980,6 +4002,7 @@ export declare const HolderExportConsentRecordValidator: z.ZodObject<{
|
|
|
3980
4002
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3981
4003
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
3982
4004
|
country: z.ZodOptional<z.ZodString>;
|
|
4005
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
3983
4006
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
3984
4007
|
}, z.core.$strip>>>;
|
|
3985
4008
|
}, z.core.$strip>;
|
|
@@ -4122,6 +4145,7 @@ export declare const HolderExportMetadataValidator: z.ZodObject<{
|
|
|
4122
4145
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
4123
4146
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
4124
4147
|
country: z.ZodOptional<z.ZodString>;
|
|
4148
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
4125
4149
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
4126
4150
|
}, z.core.$strip>;
|
|
4127
4151
|
name: z.ZodString;
|
|
@@ -4178,6 +4202,7 @@ export declare const HolderExportMetadataValidator: z.ZodObject<{
|
|
|
4178
4202
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
4179
4203
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
4180
4204
|
country: z.ZodOptional<z.ZodString>;
|
|
4205
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
4181
4206
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
4182
4207
|
}, z.core.$strip>>>;
|
|
4183
4208
|
}, z.core.$strip>;
|
|
@@ -4454,6 +4479,9 @@ export declare const LCNNotificationTypeEnumValidator: z.ZodEnum<{
|
|
|
4454
4479
|
DEVICE_LINK_REQUEST: "DEVICE_LINK_REQUEST";
|
|
4455
4480
|
GUARDIAN_APPROVAL_PENDING: "GUARDIAN_APPROVAL_PENDING";
|
|
4456
4481
|
APP_NOTIFICATION: "APP_NOTIFICATION";
|
|
4482
|
+
CREDENTIAL_REVOKED: "CREDENTIAL_REVOKED";
|
|
4483
|
+
CREDENTIAL_SUSPENDED: "CREDENTIAL_SUSPENDED";
|
|
4484
|
+
CREDENTIAL_UNSUSPENDED: "CREDENTIAL_UNSUSPENDED";
|
|
4457
4485
|
}>;
|
|
4458
4486
|
export type LCNNotificationTypeEnum = z.infer<typeof LCNNotificationTypeEnumValidator>;
|
|
4459
4487
|
export declare const LCNNotificationMessageValidator: z.ZodObject<{
|
|
@@ -4579,6 +4607,9 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
4579
4607
|
DEVICE_LINK_REQUEST: "DEVICE_LINK_REQUEST";
|
|
4580
4608
|
GUARDIAN_APPROVAL_PENDING: "GUARDIAN_APPROVAL_PENDING";
|
|
4581
4609
|
APP_NOTIFICATION: "APP_NOTIFICATION";
|
|
4610
|
+
CREDENTIAL_REVOKED: "CREDENTIAL_REVOKED";
|
|
4611
|
+
CREDENTIAL_SUSPENDED: "CREDENTIAL_SUSPENDED";
|
|
4612
|
+
CREDENTIAL_UNSUSPENDED: "CREDENTIAL_UNSUSPENDED";
|
|
4582
4613
|
}>;
|
|
4583
4614
|
to: z.ZodIntersection<z.ZodObject<{
|
|
4584
4615
|
profileId: z.ZodOptional<z.ZodString>;
|
|
@@ -4621,6 +4652,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
4621
4652
|
role: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
4622
4653
|
dob: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
4623
4654
|
country: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4655
|
+
locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4624
4656
|
approved: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4625
4657
|
}, z.core.$strip>, z.ZodObject<{
|
|
4626
4658
|
did: z.ZodString;
|
|
@@ -4666,6 +4698,7 @@ export declare const LCNNotificationValidator: z.ZodObject<{
|
|
|
4666
4698
|
role: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
4667
4699
|
dob: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodString>>>;
|
|
4668
4700
|
country: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4701
|
+
locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4669
4702
|
approved: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
4670
4703
|
}, z.core.$strip>, z.ZodObject<{
|
|
4671
4704
|
did: z.ZodString;
|
|
@@ -6894,6 +6927,7 @@ export declare const SkillFrameworkAdminsValidator: z.ZodArray<z.ZodObject<{
|
|
|
6894
6927
|
role: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6895
6928
|
dob: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6896
6929
|
country: z.ZodOptional<z.ZodString>;
|
|
6930
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
6897
6931
|
approved: z.ZodOptional<z.ZodBoolean>;
|
|
6898
6932
|
}, z.core.$strip>>;
|
|
6899
6933
|
export type SkillFrameworkAdminsType = z.infer<typeof SkillFrameworkAdminsValidator>;
|