palbase 0.52.3 → 0.53.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/ai/index.js +2 -2
- package/dist/backend/engine.js +2 -2
- package/dist/backend/env.js +1 -1
- package/dist/backend/index.js +3 -3
- package/dist/backend/stack.js +1 -1
- package/dist/backend/test.js +2 -2
- package/dist/chunks/{LHOFBMBZ.js → 2AUB6ERD.js} +2 -2
- package/dist/chunks/{CLFVU67I.js → 3FSZTOQX.js} +2 -2
- package/dist/chunks/54EJZJHQ.js +2 -0
- package/dist/chunks/{P2IYCDCP.js → 7KFV32KR.js} +1 -1
- package/dist/chunks/{DOOOEV6B.js → A6TG3QJR.js} +2 -2
- package/dist/chunks/{XHTOI77Q.js → CFY57LVG.js} +1 -1
- package/dist/chunks/{2PCDSIWJ.js → F4GJ5SU6.js} +1 -1
- package/dist/chunks/{IMY77ULI.js → FG6J6O7W.js} +1 -1
- package/dist/chunks/{5ASDRQ76.js → HSG3LMEC.js} +2 -2
- package/dist/chunks/{7ZMRJPD5.js → IPA4K7NY.js} +2 -2
- package/dist/chunks/{JJC4IE3C.js → ITV3BNRQ.js} +2 -2
- package/dist/chunks/{57HMBEZC.js → JSAKX5JD.js} +3 -3
- package/dist/chunks/{OPXS5CYY.js → KN2ZXHL2.js} +1 -1
- package/dist/chunks/{3OXYHLPZ.js → N3PFXY3N.js} +2 -2
- package/dist/chunks/{N7ZEBHXL.js → OEAOIG34.js} +2 -2
- package/dist/chunks/{JL542ZSC.js → OROTNFOX.js} +2 -2
- package/dist/chunks/{QBER5HWP.js → PWGKPBDQ.js} +2 -2
- package/dist/chunks/{UH5Q63EN.js → SIG5WULR.js} +2 -2
- package/dist/chunks/{ZAR57AMM.js → SLFDZUIZ.js} +1 -1
- package/dist/chunks/{TGML3Y7W.js → UJXDGTQN.js} +2 -2
- package/dist/chunks/{VNMRZXZM.js → X6VDP7LL.js} +2 -2
- package/dist/chunks/{6EWQSD7D.js → XNWAOUQC.js} +1 -1
- package/dist/chunks/{MFQQUKVA.js → Y2D44HXI.js} +2 -2
- package/dist/cli.js +116 -116
- package/dist/cloud/index.js +2 -2
- package/dist/refuse/ai.js +1 -1
- package/dist/refuse/backend.js +1 -1
- package/dist/refuse/cloud.js +1 -1
- package/dist/refuse/server.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/testing.js +2 -2
- package/dist/web/index.js +2 -2
- package/dist/web/message.js +2 -2
- package/dist/web/palbe.js +2 -2
- package/dist/web/paywall.js +2 -2
- package/dist/web/push-sw.js +1 -1
- package/dist/web/ssr.js +2 -2
- package/dist/web/vite.js +2 -2
- package/package.json +2 -2
- package/types/cloud/src/generated/project.d.ts +1 -1
- package/types/internal/src/modules/auth.d.ts +71 -5
- package/types/internal/src/modules/events.d.ts +2 -2
- package/types/internal/src/modules/stores.d.ts +628 -20
- package/types/web/src/auth.d.ts +2 -2
- package/dist/chunks/IAEVNAIO.js +0 -2
|
@@ -2201,6 +2201,9 @@ export type MFARemoveRequest = {
|
|
|
2201
2201
|
current_password: string;
|
|
2202
2202
|
};
|
|
2203
2203
|
export type MFARequiredResponse = {
|
|
2204
|
+
/**
|
|
2205
|
+
* The account's second factors that answer the challenge: `totp`, `sms` and `email` at `/auth/mfa/*` with the `mfa_token`. `webauthn` is the account's passkey, which is not answered there: sign in with it instead (`POST /auth/webauthn/login/begin`, with the request's `auth_request_id` for an OpenID request), which reaches aal2 alone.
|
|
2206
|
+
*/
|
|
2204
2207
|
factors: ("totp" | "sms" | "email" | "webauthn")[];
|
|
2205
2208
|
mfa_required: true;
|
|
2206
2209
|
/**
|
|
@@ -2248,14 +2251,29 @@ export type MFAVerifyEnrollmentRequest = {
|
|
|
2248
2251
|
code: string;
|
|
2249
2252
|
};
|
|
2250
2253
|
export type MagicLinkRequest = {
|
|
2254
|
+
/**
|
|
2255
|
+
* The pending /oauth/authorize request the sign-in is for: one that is not waiting is refused with 400 `auth_request_invalid` before an email is sent. The email's link then opens at the provider (`GET /oauth/authorize/email`), and a six-digit code goes beside it: in the browser that opened the request the link leads to the sign-in page with `auth_request_id` and `email_token`; on another device it tells the person to type the code in the tab they started in (`POST /auth/magic-link/verify` with `auth_request_id` and `code`). `redirect_to` does not apply.
|
|
2256
|
+
*/
|
|
2257
|
+
auth_request_id?: string;
|
|
2251
2258
|
email: string;
|
|
2252
2259
|
/**
|
|
2253
2260
|
* Where the sign-in link lands instead of the project's site URL: an address the auth settings' redirect_urls allow, or one of the project's web apps' redirects (apps:env:set --redirect); any other is refused (invalid_redirect).
|
|
2254
2261
|
*/
|
|
2255
2262
|
redirect_to?: string;
|
|
2256
2263
|
};
|
|
2264
|
+
/**
|
|
2265
|
+
* The link's `token`; or, for a sign-in for an OpenID authorization request, its `auth_request_id` with the link's token (`email_token` on the sign-in page) or the six-digit `code` the email carries. Either completes the request at `urn:nist:800-63:aal1` (amr `email`) and the answer names the callback (`oidc_callback_url`); a request that needs aal2 asks the account's second factor next (`mfa_required`, the request in its `mfa_token`).
|
|
2266
|
+
*/
|
|
2257
2267
|
export type MagicLinkVerifyRequest = {
|
|
2258
|
-
|
|
2268
|
+
/**
|
|
2269
|
+
* The pending /oauth/authorize request the sign-in completes. A link sent for another request is refused (400 `auth_request_invalid`).
|
|
2270
|
+
*/
|
|
2271
|
+
auth_request_id?: string;
|
|
2272
|
+
/**
|
|
2273
|
+
* The six-digit code the email carries, typed in the tab that opened the request. A wrong one is 400 `invalid_code`. After five wrong codes the email's code no longer works (400 `code_max_attempts`); after twenty tried for the address in a day, no code does until the day is over (400 `code_limit_reached`). Either way the email's link still signs in from the browser that opened the request.
|
|
2274
|
+
*/
|
|
2275
|
+
code?: string;
|
|
2276
|
+
token?: string;
|
|
2259
2277
|
};
|
|
2260
2278
|
/**
|
|
2261
2279
|
* The signed-in user's own profile: which credentials the account holds and its language preference.
|
|
@@ -2494,6 +2512,10 @@ export type PasswordSetRequest = {
|
|
|
2494
2512
|
new_password: string;
|
|
2495
2513
|
};
|
|
2496
2514
|
export type PhoneOTPRequest = {
|
|
2515
|
+
/**
|
|
2516
|
+
* The pending /oauth/authorize request the code is for: one that is not waiting is refused with 400 `auth_request_invalid` before a text is sent. Name it again on `POST /auth/otp/verify`.
|
|
2517
|
+
*/
|
|
2518
|
+
auth_request_id?: string;
|
|
2497
2519
|
/**
|
|
2498
2520
|
* Delivery channel. Only `sms` is supported.
|
|
2499
2521
|
*/
|
|
@@ -2518,6 +2540,10 @@ export type PhoneOTPSession = {
|
|
|
2518
2540
|
* Access-token lifetime in seconds.
|
|
2519
2541
|
*/
|
|
2520
2542
|
expires_in: number;
|
|
2543
|
+
/**
|
|
2544
|
+
* Present when the sign-in completed an OAuth authorization request (`auth_request_id`): where the browser continues.
|
|
2545
|
+
*/
|
|
2546
|
+
oidc_callback_url?: string;
|
|
2521
2547
|
refresh_token: string;
|
|
2522
2548
|
token_type: "Bearer";
|
|
2523
2549
|
user: PhoneOTPUser;
|
|
@@ -2543,6 +2569,10 @@ export type PhoneOTPUser = {
|
|
|
2543
2569
|
roles: string[];
|
|
2544
2570
|
};
|
|
2545
2571
|
export type PhoneOTPVerifyRequest = {
|
|
2572
|
+
/**
|
|
2573
|
+
* The pending /oauth/authorize request the sign-in completes: at `urn:nist:800-63:aal1` (amr `sms`), and the answer names the callback (`oidc_callback_url`). A request that needs aal2 asks the account's authenticator app (or passkey) next — a second text adds nothing — and the challenge completes it; an account with neither, or a number with no account yet, is refused with 400 `auth_request_invalid`.
|
|
2574
|
+
*/
|
|
2575
|
+
auth_request_id?: string;
|
|
2546
2576
|
/**
|
|
2547
2577
|
* The same number the code was sent to (same format rules as `POST /auth/otp`).
|
|
2548
2578
|
*/
|
|
@@ -2903,6 +2933,10 @@ export type SigningKeyRotateResult = {
|
|
|
2903
2933
|
new_kid: string;
|
|
2904
2934
|
};
|
|
2905
2935
|
export type SignupRequest = {
|
|
2936
|
+
/**
|
|
2937
|
+
* The pending /oauth/authorize request the new account signs in for. A request that is not waiting, or that needs a second factor (aal2 and up: a new account has none yet), is refused with 400 `auth_request_invalid` before the account is opened. A sign-up that signs the person in at once completes it (`urn:nist:800-63:aal1`, amr `pwd`) and the answer names the callback (`oidc_callback_url`); one with the address to confirm first answers no session, and the password sign-in after the confirmation completes it.
|
|
2938
|
+
*/
|
|
2939
|
+
auth_request_id?: string;
|
|
2906
2940
|
email: string;
|
|
2907
2941
|
/**
|
|
2908
2942
|
* The visitor id the Fingerprint agent produced on this device; scored by the risk engine when the project has connected Fingerprint.
|
|
@@ -2933,6 +2967,18 @@ export type SignupResult = {
|
|
|
2933
2967
|
* Access-token lifetime in seconds
|
|
2934
2968
|
*/
|
|
2935
2969
|
expires_in?: number;
|
|
2970
|
+
/**
|
|
2971
|
+
* Present when the sign-up named an OAuth authorization request (`auth_request_id`) and could not complete it — it expired, or another sign-in completed it, meanwhile: the account is open and signed in, and the person starts again from the app.
|
|
2972
|
+
*/
|
|
2973
|
+
auth_request_error?: "auth_request_invalid";
|
|
2974
|
+
/**
|
|
2975
|
+
* Present, true, when the sign-up named an OAuth authorization request (`auth_request_id`), as a provider's sign-in says it.
|
|
2976
|
+
*/
|
|
2977
|
+
is_new_user?: boolean;
|
|
2978
|
+
/**
|
|
2979
|
+
* Present when the sign-up completed an OAuth authorization request (`auth_request_id`): where the browser continues.
|
|
2980
|
+
*/
|
|
2981
|
+
oidc_callback_url?: string;
|
|
2936
2982
|
/**
|
|
2937
2983
|
* Opaque single-use refresh token (256-bit, base64url)
|
|
2938
2984
|
*/
|
|
@@ -3795,6 +3841,10 @@ export type WebAuthnCredentialRequestOptions = {
|
|
|
3795
3841
|
* Optional scoping for `/auth/webauthn/login/begin`. An empty body triggers a discoverable (passkey) login.
|
|
3796
3842
|
*/
|
|
3797
3843
|
export type WebAuthnLoginBeginRequest = {
|
|
3844
|
+
/**
|
|
3845
|
+
* Links the passkey login to a pending /oauth/authorize request: bound to the ceremony here, completed when it finishes, whose answer then names the callback (`oidc_callback_url`). A request that is not waiting is refused with 400 `auth_request_invalid` before the person is asked for a passkey. A passkey completes it at `urn:nist:800-63:aal2`: amr `swk` for one that syncs, `hwk` for one bound to its device (a flag the authenticator reports, so it raises no level).
|
|
3846
|
+
*/
|
|
3847
|
+
auth_request_id?: string;
|
|
3798
3848
|
email?: string;
|
|
3799
3849
|
user_id?: string;
|
|
3800
3850
|
};
|
|
@@ -5067,7 +5117,7 @@ export declare function client(t: Transport): {
|
|
|
5067
5117
|
magicLinkVerify(input: {
|
|
5068
5118
|
body: MagicLinkVerifyRequest; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
|
|
5069
5119
|
signal?: AbortSignal;
|
|
5070
|
-
}): Promise<Reply<200,
|
|
5120
|
+
}): Promise<Reply<200, LoginResponse>>;
|
|
5071
5121
|
/**
|
|
5072
5122
|
* Read the signed-in user's profile
|
|
5073
5123
|
*
|
|
@@ -5704,11 +5754,12 @@ export declare function client(t: Transport): {
|
|
|
5704
5754
|
*
|
|
5705
5755
|
* Raise the session ACR (authentication context reference) by
|
|
5706
5756
|
* re-verifying with an authenticator app's code (TOTP, aal2), a code texted
|
|
5707
|
-
* to the user's SMS factor (aal2), or a passkey (WebAuthn: aal2,
|
|
5708
|
-
*
|
|
5757
|
+
* to the user's SMS factor (aal2), or a passkey (WebAuthn: aal2, a device-bound key
|
|
5758
|
+
* as well — the flag is the authenticator's own word). The new access token's amr names the method (otp,
|
|
5709
5759
|
* sms, swk, hwk) and its auth_time is now; tokens refreshed from the session
|
|
5710
5760
|
* keep both. Required before sensitive operations. Subject to rate limiting
|
|
5711
|
-
* (5 per 5 min per account).
|
|
5761
|
+
* (5 per 5 min per account). A text's code is refused to a session below aal2
|
|
5762
|
+
* whose only factor is the phone (400 `same_factor`): a second text adds nothing.
|
|
5712
5763
|
*
|
|
5713
5764
|
*/
|
|
5714
5765
|
stepUp(input: {
|
|
@@ -5743,6 +5794,8 @@ export declare function client(t: Transport): {
|
|
|
5743
5794
|
* Text the signed-in user's SMS factor a code for a step-up; `POST /auth/step-up`
|
|
5744
5795
|
* with method `sms` checks it. The project's SMS second-factor policy and its
|
|
5745
5796
|
* per-phone rate limit apply; a test fixture's fixed code is never texted.
|
|
5797
|
+
* A session below aal2 whose only factor is the phone (a phone code's sign-in) is
|
|
5798
|
+
* refused before anything is texted (400 `same_factor`): a second text adds nothing.
|
|
5746
5799
|
*
|
|
5747
5800
|
*/
|
|
5748
5801
|
stepUpSmsSend(input?: {
|
|
@@ -6124,6 +6177,19 @@ export declare function client(t: Transport): {
|
|
|
6124
6177
|
}; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
|
|
6125
6178
|
signal?: AbortSignal;
|
|
6126
6179
|
}): Promise<Reply<303, undefined>>;
|
|
6180
|
+
/**
|
|
6181
|
+
* Magic link for an authorization request
|
|
6182
|
+
*
|
|
6183
|
+
* Where the link of a magic-link email sent for an authorization request opens (`POST /auth/magic-link` with `auth_request_id`). In the browser that opened the request it goes on to the project's sign-in page with `auth_request_id` and `email_token`, and the page completes the request (`POST /auth/magic-link/verify`). In any other browser it tells the person to go back to the tab they started in and type the code the email carries; nothing is spent.
|
|
6184
|
+
*
|
|
6185
|
+
*/
|
|
6186
|
+
oauthAuthorizeEmailLink(input: {
|
|
6187
|
+
query: {
|
|
6188
|
+
id: string;
|
|
6189
|
+
token: string;
|
|
6190
|
+
}; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
|
|
6191
|
+
signal?: AbortSignal;
|
|
6192
|
+
}): Promise<Reply<200, Response> | Reply<303, undefined>>;
|
|
6127
6193
|
/**
|
|
6128
6194
|
* RFC 8628 Device Authorization Request
|
|
6129
6195
|
*
|
|
@@ -16,11 +16,11 @@ export interface PlatformEvents extends AiEvents, AnalyticsEvents, AuthEvents, C
|
|
|
16
16
|
/** A platform event's type: one a module's contract declares. */
|
|
17
17
|
export type EventType = keyof PlatformEvents;
|
|
18
18
|
/** Every platform event's type, as the contracts declare them. */
|
|
19
|
-
export declare const EVENT_TYPES: readonly ["ai.goal.updated", "ai.response.completed", "ai.response.failed", "ai.response.started", "ai.voice.closed", "ai.voice.delegated", "ai.voice.started", "ai.workspace.conflict", "ai.workspace.published", "ai.workspace.pushed", "audience.entered", "audience.exited", "calls.call.ended", "calls.call.started", "calls.participant.joined", "calls.participant.left", "consent.changed", "device.revoked", "file.deleted", "file.moved", "file.uploaded", "flag.changed", "flag.override_changed", "journey.converted", "journey.ended", "journey.entered", "journey.event", "journey.step", "messaging.conversation.created", "messaging.conversation.deleted", "messaging.conversation.read", "messaging.message.created", "messaging.report.created", "notification.action", "notification.bounced", "notification.complained", "notification.delivered", "notification.dismissed", "notification.expired", "notification.failed", "notification.not_shown", "notification.opened", "notification.push_failing", "notification.read", "notification.received", "notification.rejected", "notification.sent", "notification.shared_paused", "notification.unconfirmed", "notification.undelivered", "notification.uninstalled", "purchases.catalog.applied", "purchases.catalog.changed", "purchases.coupon.redeemed", "purchases.credits.depleted", "purchases.credits.low", "purchases.customer.changed", "purchases.customer.erased", "purchases.customer.merged", "purchases.entitlement.changed", "purchases.offer.redeemed", "purchases.ownership.transferred", "purchases.paywall.published", "purchases.purchase.completed", "purchases.quota.exhausted", "purchases.quota.threshold", "purchases.refund.changed", "purchases.store.changed", "purchases.subscription.changed", "session.ended", "stores.action.changed", "stores.app.changed", "stores.apple.changed", "stores.apple.key.made", "stores.apple.key.revoked", "stores.apple.session.changed", "stores.apple.session.ended", "stores.apple.session.expired", "stores.beta_review.changed", "stores.build.changed", "stores.delivery.changed", "stores.delivery.requested", "stores.feedback.received", "stores.google.changed", "stores.group.changed", "stores.package.changed", "stores.play_release.changed", "stores.product.changed", "stores.review.message", "stores.version.changed", "stores.version.reviewed", "stores.vitals.changed", "stores.webhook.changed", "user.converted", "user.deleted", "user.locale_changed", "user.password_changed", "user.permissions_changed"];
|
|
19
|
+
export declare const EVENT_TYPES: readonly ["ai.goal.updated", "ai.response.completed", "ai.response.failed", "ai.response.started", "ai.voice.closed", "ai.voice.delegated", "ai.voice.started", "ai.workspace.conflict", "ai.workspace.published", "ai.workspace.pushed", "audience.entered", "audience.exited", "calls.call.ended", "calls.call.started", "calls.participant.joined", "calls.participant.left", "consent.changed", "device.revoked", "file.deleted", "file.moved", "file.uploaded", "flag.changed", "flag.override_changed", "journey.converted", "journey.ended", "journey.entered", "journey.event", "journey.step", "messaging.conversation.created", "messaging.conversation.deleted", "messaging.conversation.read", "messaging.message.created", "messaging.report.created", "notification.action", "notification.bounced", "notification.complained", "notification.delivered", "notification.dismissed", "notification.expired", "notification.failed", "notification.not_shown", "notification.opened", "notification.push_failing", "notification.read", "notification.received", "notification.rejected", "notification.sent", "notification.shared_paused", "notification.unconfirmed", "notification.undelivered", "notification.uninstalled", "purchases.catalog.applied", "purchases.catalog.changed", "purchases.coupon.redeemed", "purchases.credits.depleted", "purchases.credits.low", "purchases.customer.changed", "purchases.customer.erased", "purchases.customer.merged", "purchases.entitlement.changed", "purchases.offer.redeemed", "purchases.ownership.transferred", "purchases.paywall.published", "purchases.purchase.completed", "purchases.quota.exhausted", "purchases.quota.threshold", "purchases.refund.changed", "purchases.store.changed", "purchases.subscription.changed", "session.ended", "stores.action.changed", "stores.app.changed", "stores.apple.changed", "stores.apple.key.made", "stores.apple.key.revoked", "stores.apple.session.changed", "stores.apple.session.ended", "stores.apple.session.expired", "stores.beta_review.changed", "stores.build.changed", "stores.delivery.changed", "stores.delivery.requested", "stores.device.changed", "stores.feedback.received", "stores.google.changed", "stores.group.changed", "stores.invitation.changed", "stores.package.changed", "stores.play_release.changed", "stores.product.changed", "stores.review.message", "stores.version.changed", "stores.version.reviewed", "stores.vitals.changed", "stores.webhook.changed", "user.converted", "user.deleted", "user.locale_changed", "user.password_changed", "user.permissions_changed"];
|
|
20
20
|
/**
|
|
21
21
|
* A platform event as delivered: one member per type the contracts declare,
|
|
22
22
|
* its data that type's payload, so a switch on its type narrows it. An
|
|
23
23
|
* event of a type none of them declares (one a newer platform sends) is no
|
|
24
24
|
* member: at run time it reaches the switch's default, which takes it.
|
|
25
25
|
*/
|
|
26
|
-
export type PalbaseEvent = WebhookEvent<PlatformEvents["ai.goal.updated"], "ai.goal.updated"> | WebhookEvent<PlatformEvents["ai.response.completed"], "ai.response.completed"> | WebhookEvent<PlatformEvents["ai.response.failed"], "ai.response.failed"> | WebhookEvent<PlatformEvents["ai.response.started"], "ai.response.started"> | WebhookEvent<PlatformEvents["ai.voice.closed"], "ai.voice.closed"> | WebhookEvent<PlatformEvents["ai.voice.delegated"], "ai.voice.delegated"> | WebhookEvent<PlatformEvents["ai.voice.started"], "ai.voice.started"> | WebhookEvent<PlatformEvents["ai.workspace.conflict"], "ai.workspace.conflict"> | WebhookEvent<PlatformEvents["ai.workspace.published"], "ai.workspace.published"> | WebhookEvent<PlatformEvents["ai.workspace.pushed"], "ai.workspace.pushed"> | WebhookEvent<PlatformEvents["audience.entered"], "audience.entered"> | WebhookEvent<PlatformEvents["audience.exited"], "audience.exited"> | WebhookEvent<PlatformEvents["calls.call.ended"], "calls.call.ended"> | WebhookEvent<PlatformEvents["calls.call.started"], "calls.call.started"> | WebhookEvent<PlatformEvents["calls.participant.joined"], "calls.participant.joined"> | WebhookEvent<PlatformEvents["calls.participant.left"], "calls.participant.left"> | WebhookEvent<PlatformEvents["consent.changed"], "consent.changed"> | WebhookEvent<PlatformEvents["device.revoked"], "device.revoked"> | WebhookEvent<PlatformEvents["file.deleted"], "file.deleted"> | WebhookEvent<PlatformEvents["file.moved"], "file.moved"> | WebhookEvent<PlatformEvents["file.uploaded"], "file.uploaded"> | WebhookEvent<PlatformEvents["flag.changed"], "flag.changed"> | WebhookEvent<PlatformEvents["flag.override_changed"], "flag.override_changed"> | WebhookEvent<PlatformEvents["journey.converted"], "journey.converted"> | WebhookEvent<PlatformEvents["journey.ended"], "journey.ended"> | WebhookEvent<PlatformEvents["journey.entered"], "journey.entered"> | WebhookEvent<PlatformEvents["journey.event"], "journey.event"> | WebhookEvent<PlatformEvents["journey.step"], "journey.step"> | WebhookEvent<PlatformEvents["messaging.conversation.created"], "messaging.conversation.created"> | WebhookEvent<PlatformEvents["messaging.conversation.deleted"], "messaging.conversation.deleted"> | WebhookEvent<PlatformEvents["messaging.conversation.read"], "messaging.conversation.read"> | WebhookEvent<PlatformEvents["messaging.message.created"], "messaging.message.created"> | WebhookEvent<PlatformEvents["messaging.report.created"], "messaging.report.created"> | WebhookEvent<PlatformEvents["notification.action"], "notification.action"> | WebhookEvent<PlatformEvents["notification.bounced"], "notification.bounced"> | WebhookEvent<PlatformEvents["notification.complained"], "notification.complained"> | WebhookEvent<PlatformEvents["notification.delivered"], "notification.delivered"> | WebhookEvent<PlatformEvents["notification.dismissed"], "notification.dismissed"> | WebhookEvent<PlatformEvents["notification.expired"], "notification.expired"> | WebhookEvent<PlatformEvents["notification.failed"], "notification.failed"> | WebhookEvent<PlatformEvents["notification.not_shown"], "notification.not_shown"> | WebhookEvent<PlatformEvents["notification.opened"], "notification.opened"> | WebhookEvent<PlatformEvents["notification.push_failing"], "notification.push_failing"> | WebhookEvent<PlatformEvents["notification.read"], "notification.read"> | WebhookEvent<PlatformEvents["notification.received"], "notification.received"> | WebhookEvent<PlatformEvents["notification.rejected"], "notification.rejected"> | WebhookEvent<PlatformEvents["notification.sent"], "notification.sent"> | WebhookEvent<PlatformEvents["notification.shared_paused"], "notification.shared_paused"> | WebhookEvent<PlatformEvents["notification.unconfirmed"], "notification.unconfirmed"> | WebhookEvent<PlatformEvents["notification.undelivered"], "notification.undelivered"> | WebhookEvent<PlatformEvents["notification.uninstalled"], "notification.uninstalled"> | WebhookEvent<PlatformEvents["purchases.catalog.applied"], "purchases.catalog.applied"> | WebhookEvent<PlatformEvents["purchases.catalog.changed"], "purchases.catalog.changed"> | WebhookEvent<PlatformEvents["purchases.coupon.redeemed"], "purchases.coupon.redeemed"> | WebhookEvent<PlatformEvents["purchases.credits.depleted"], "purchases.credits.depleted"> | WebhookEvent<PlatformEvents["purchases.credits.low"], "purchases.credits.low"> | WebhookEvent<PlatformEvents["purchases.customer.changed"], "purchases.customer.changed"> | WebhookEvent<PlatformEvents["purchases.customer.erased"], "purchases.customer.erased"> | WebhookEvent<PlatformEvents["purchases.customer.merged"], "purchases.customer.merged"> | WebhookEvent<PlatformEvents["purchases.entitlement.changed"], "purchases.entitlement.changed"> | WebhookEvent<PlatformEvents["purchases.offer.redeemed"], "purchases.offer.redeemed"> | WebhookEvent<PlatformEvents["purchases.ownership.transferred"], "purchases.ownership.transferred"> | WebhookEvent<PlatformEvents["purchases.paywall.published"], "purchases.paywall.published"> | WebhookEvent<PlatformEvents["purchases.purchase.completed"], "purchases.purchase.completed"> | WebhookEvent<PlatformEvents["purchases.quota.exhausted"], "purchases.quota.exhausted"> | WebhookEvent<PlatformEvents["purchases.quota.threshold"], "purchases.quota.threshold"> | WebhookEvent<PlatformEvents["purchases.refund.changed"], "purchases.refund.changed"> | WebhookEvent<PlatformEvents["purchases.store.changed"], "purchases.store.changed"> | WebhookEvent<PlatformEvents["purchases.subscription.changed"], "purchases.subscription.changed"> | WebhookEvent<PlatformEvents["session.ended"], "session.ended"> | WebhookEvent<PlatformEvents["stores.action.changed"], "stores.action.changed"> | WebhookEvent<PlatformEvents["stores.app.changed"], "stores.app.changed"> | WebhookEvent<PlatformEvents["stores.apple.changed"], "stores.apple.changed"> | WebhookEvent<PlatformEvents["stores.apple.key.made"], "stores.apple.key.made"> | WebhookEvent<PlatformEvents["stores.apple.key.revoked"], "stores.apple.key.revoked"> | WebhookEvent<PlatformEvents["stores.apple.session.changed"], "stores.apple.session.changed"> | WebhookEvent<PlatformEvents["stores.apple.session.ended"], "stores.apple.session.ended"> | WebhookEvent<PlatformEvents["stores.apple.session.expired"], "stores.apple.session.expired"> | WebhookEvent<PlatformEvents["stores.beta_review.changed"], "stores.beta_review.changed"> | WebhookEvent<PlatformEvents["stores.build.changed"], "stores.build.changed"> | WebhookEvent<PlatformEvents["stores.delivery.changed"], "stores.delivery.changed"> | WebhookEvent<PlatformEvents["stores.delivery.requested"], "stores.delivery.requested"> | WebhookEvent<PlatformEvents["stores.feedback.received"], "stores.feedback.received"> | WebhookEvent<PlatformEvents["stores.google.changed"], "stores.google.changed"> | WebhookEvent<PlatformEvents["stores.group.changed"], "stores.group.changed"> | WebhookEvent<PlatformEvents["stores.package.changed"], "stores.package.changed"> | WebhookEvent<PlatformEvents["stores.play_release.changed"], "stores.play_release.changed"> | WebhookEvent<PlatformEvents["stores.product.changed"], "stores.product.changed"> | WebhookEvent<PlatformEvents["stores.review.message"], "stores.review.message"> | WebhookEvent<PlatformEvents["stores.version.changed"], "stores.version.changed"> | WebhookEvent<PlatformEvents["stores.version.reviewed"], "stores.version.reviewed"> | WebhookEvent<PlatformEvents["stores.vitals.changed"], "stores.vitals.changed"> | WebhookEvent<PlatformEvents["stores.webhook.changed"], "stores.webhook.changed"> | WebhookEvent<PlatformEvents["user.converted"], "user.converted"> | WebhookEvent<PlatformEvents["user.deleted"], "user.deleted"> | WebhookEvent<PlatformEvents["user.locale_changed"], "user.locale_changed"> | WebhookEvent<PlatformEvents["user.password_changed"], "user.password_changed"> | WebhookEvent<PlatformEvents["user.permissions_changed"], "user.permissions_changed">;
|
|
26
|
+
export type PalbaseEvent = WebhookEvent<PlatformEvents["ai.goal.updated"], "ai.goal.updated"> | WebhookEvent<PlatformEvents["ai.response.completed"], "ai.response.completed"> | WebhookEvent<PlatformEvents["ai.response.failed"], "ai.response.failed"> | WebhookEvent<PlatformEvents["ai.response.started"], "ai.response.started"> | WebhookEvent<PlatformEvents["ai.voice.closed"], "ai.voice.closed"> | WebhookEvent<PlatformEvents["ai.voice.delegated"], "ai.voice.delegated"> | WebhookEvent<PlatformEvents["ai.voice.started"], "ai.voice.started"> | WebhookEvent<PlatformEvents["ai.workspace.conflict"], "ai.workspace.conflict"> | WebhookEvent<PlatformEvents["ai.workspace.published"], "ai.workspace.published"> | WebhookEvent<PlatformEvents["ai.workspace.pushed"], "ai.workspace.pushed"> | WebhookEvent<PlatformEvents["audience.entered"], "audience.entered"> | WebhookEvent<PlatformEvents["audience.exited"], "audience.exited"> | WebhookEvent<PlatformEvents["calls.call.ended"], "calls.call.ended"> | WebhookEvent<PlatformEvents["calls.call.started"], "calls.call.started"> | WebhookEvent<PlatformEvents["calls.participant.joined"], "calls.participant.joined"> | WebhookEvent<PlatformEvents["calls.participant.left"], "calls.participant.left"> | WebhookEvent<PlatformEvents["consent.changed"], "consent.changed"> | WebhookEvent<PlatformEvents["device.revoked"], "device.revoked"> | WebhookEvent<PlatformEvents["file.deleted"], "file.deleted"> | WebhookEvent<PlatformEvents["file.moved"], "file.moved"> | WebhookEvent<PlatformEvents["file.uploaded"], "file.uploaded"> | WebhookEvent<PlatformEvents["flag.changed"], "flag.changed"> | WebhookEvent<PlatformEvents["flag.override_changed"], "flag.override_changed"> | WebhookEvent<PlatformEvents["journey.converted"], "journey.converted"> | WebhookEvent<PlatformEvents["journey.ended"], "journey.ended"> | WebhookEvent<PlatformEvents["journey.entered"], "journey.entered"> | WebhookEvent<PlatformEvents["journey.event"], "journey.event"> | WebhookEvent<PlatformEvents["journey.step"], "journey.step"> | WebhookEvent<PlatformEvents["messaging.conversation.created"], "messaging.conversation.created"> | WebhookEvent<PlatformEvents["messaging.conversation.deleted"], "messaging.conversation.deleted"> | WebhookEvent<PlatformEvents["messaging.conversation.read"], "messaging.conversation.read"> | WebhookEvent<PlatformEvents["messaging.message.created"], "messaging.message.created"> | WebhookEvent<PlatformEvents["messaging.report.created"], "messaging.report.created"> | WebhookEvent<PlatformEvents["notification.action"], "notification.action"> | WebhookEvent<PlatformEvents["notification.bounced"], "notification.bounced"> | WebhookEvent<PlatformEvents["notification.complained"], "notification.complained"> | WebhookEvent<PlatformEvents["notification.delivered"], "notification.delivered"> | WebhookEvent<PlatformEvents["notification.dismissed"], "notification.dismissed"> | WebhookEvent<PlatformEvents["notification.expired"], "notification.expired"> | WebhookEvent<PlatformEvents["notification.failed"], "notification.failed"> | WebhookEvent<PlatformEvents["notification.not_shown"], "notification.not_shown"> | WebhookEvent<PlatformEvents["notification.opened"], "notification.opened"> | WebhookEvent<PlatformEvents["notification.push_failing"], "notification.push_failing"> | WebhookEvent<PlatformEvents["notification.read"], "notification.read"> | WebhookEvent<PlatformEvents["notification.received"], "notification.received"> | WebhookEvent<PlatformEvents["notification.rejected"], "notification.rejected"> | WebhookEvent<PlatformEvents["notification.sent"], "notification.sent"> | WebhookEvent<PlatformEvents["notification.shared_paused"], "notification.shared_paused"> | WebhookEvent<PlatformEvents["notification.unconfirmed"], "notification.unconfirmed"> | WebhookEvent<PlatformEvents["notification.undelivered"], "notification.undelivered"> | WebhookEvent<PlatformEvents["notification.uninstalled"], "notification.uninstalled"> | WebhookEvent<PlatformEvents["purchases.catalog.applied"], "purchases.catalog.applied"> | WebhookEvent<PlatformEvents["purchases.catalog.changed"], "purchases.catalog.changed"> | WebhookEvent<PlatformEvents["purchases.coupon.redeemed"], "purchases.coupon.redeemed"> | WebhookEvent<PlatformEvents["purchases.credits.depleted"], "purchases.credits.depleted"> | WebhookEvent<PlatformEvents["purchases.credits.low"], "purchases.credits.low"> | WebhookEvent<PlatformEvents["purchases.customer.changed"], "purchases.customer.changed"> | WebhookEvent<PlatformEvents["purchases.customer.erased"], "purchases.customer.erased"> | WebhookEvent<PlatformEvents["purchases.customer.merged"], "purchases.customer.merged"> | WebhookEvent<PlatformEvents["purchases.entitlement.changed"], "purchases.entitlement.changed"> | WebhookEvent<PlatformEvents["purchases.offer.redeemed"], "purchases.offer.redeemed"> | WebhookEvent<PlatformEvents["purchases.ownership.transferred"], "purchases.ownership.transferred"> | WebhookEvent<PlatformEvents["purchases.paywall.published"], "purchases.paywall.published"> | WebhookEvent<PlatformEvents["purchases.purchase.completed"], "purchases.purchase.completed"> | WebhookEvent<PlatformEvents["purchases.quota.exhausted"], "purchases.quota.exhausted"> | WebhookEvent<PlatformEvents["purchases.quota.threshold"], "purchases.quota.threshold"> | WebhookEvent<PlatformEvents["purchases.refund.changed"], "purchases.refund.changed"> | WebhookEvent<PlatformEvents["purchases.store.changed"], "purchases.store.changed"> | WebhookEvent<PlatformEvents["purchases.subscription.changed"], "purchases.subscription.changed"> | WebhookEvent<PlatformEvents["session.ended"], "session.ended"> | WebhookEvent<PlatformEvents["stores.action.changed"], "stores.action.changed"> | WebhookEvent<PlatformEvents["stores.app.changed"], "stores.app.changed"> | WebhookEvent<PlatformEvents["stores.apple.changed"], "stores.apple.changed"> | WebhookEvent<PlatformEvents["stores.apple.key.made"], "stores.apple.key.made"> | WebhookEvent<PlatformEvents["stores.apple.key.revoked"], "stores.apple.key.revoked"> | WebhookEvent<PlatformEvents["stores.apple.session.changed"], "stores.apple.session.changed"> | WebhookEvent<PlatformEvents["stores.apple.session.ended"], "stores.apple.session.ended"> | WebhookEvent<PlatformEvents["stores.apple.session.expired"], "stores.apple.session.expired"> | WebhookEvent<PlatformEvents["stores.beta_review.changed"], "stores.beta_review.changed"> | WebhookEvent<PlatformEvents["stores.build.changed"], "stores.build.changed"> | WebhookEvent<PlatformEvents["stores.delivery.changed"], "stores.delivery.changed"> | WebhookEvent<PlatformEvents["stores.delivery.requested"], "stores.delivery.requested"> | WebhookEvent<PlatformEvents["stores.device.changed"], "stores.device.changed"> | WebhookEvent<PlatformEvents["stores.feedback.received"], "stores.feedback.received"> | WebhookEvent<PlatformEvents["stores.google.changed"], "stores.google.changed"> | WebhookEvent<PlatformEvents["stores.group.changed"], "stores.group.changed"> | WebhookEvent<PlatformEvents["stores.invitation.changed"], "stores.invitation.changed"> | WebhookEvent<PlatformEvents["stores.package.changed"], "stores.package.changed"> | WebhookEvent<PlatformEvents["stores.play_release.changed"], "stores.play_release.changed"> | WebhookEvent<PlatformEvents["stores.product.changed"], "stores.product.changed"> | WebhookEvent<PlatformEvents["stores.review.message"], "stores.review.message"> | WebhookEvent<PlatformEvents["stores.version.changed"], "stores.version.changed"> | WebhookEvent<PlatformEvents["stores.version.reviewed"], "stores.version.reviewed"> | WebhookEvent<PlatformEvents["stores.vitals.changed"], "stores.vitals.changed"> | WebhookEvent<PlatformEvents["stores.webhook.changed"], "stores.webhook.changed"> | WebhookEvent<PlatformEvents["user.converted"], "user.converted"> | WebhookEvent<PlatformEvents["user.deleted"], "user.deleted"> | WebhookEvent<PlatformEvents["user.locale_changed"], "user.locale_changed"> | WebhookEvent<PlatformEvents["user.password_changed"], "user.password_changed"> | WebhookEvent<PlatformEvents["user.permissions_changed"], "user.permissions_changed">;
|