@domino-sdk/relay 1.19.0 → 1.20.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/browser.d.ts +3 -3
- package/dist/browser.js +6 -4
- package/dist/{chunk-ANE7DHSG.js → chunk-5TQ6452M.js} +1 -1
- package/dist/{chunk-IE4QOQUI.js → chunk-5ZRDK4KQ.js} +116 -94
- package/dist/{chunk-K2Q5JHME.js → chunk-7YRXDG7R.js} +9 -2
- package/dist/{chunk-QEWAM3OB.js → chunk-COT7AUM7.js} +35 -3
- package/dist/{chunk-RKARJARI.js → chunk-FEUMOQIM.js} +1 -1
- package/dist/{chunk-SG5IUOMX.js → chunk-OJOR6VEB.js} +66 -4
- package/dist/{chunk-UIHPWC4C.js → chunk-USVER53M.js} +2 -0
- package/dist/{client-93pUw04R.d.ts → client-DSlycgar.d.ts} +62 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +3 -3
- package/dist/portal-proxy.js +2 -2
- package/dist/react/index.d.ts +88 -5
- package/dist/react/index.js +109 -11
- package/dist/schema.d.ts +21 -1
- package/dist/schema.js +11 -3
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +59 -7
- package/dist/{participant-activity-DYdUUhw2.d.ts → telegram-DALZ7GdF.d.ts} +40 -1
- package/dist/{sign-in-options--25uHySG.d.ts → telegram-browser-CGB01TaB.d.ts} +39 -2
- package/dist/{transport-bLac-fNk.d.ts → transport-DE2MMVjr.d.ts} +116 -3
- package/package.json +1 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQ
|
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../profiles-D29SS12z.js';
|
|
8
8
|
import '../automatic-outcomes-BBSdMf0R.js';
|
|
9
|
-
export { A as APP_KV_LIMIT, o as APP_MIGRATION_FILE_BYTES, r as APP_MIGRATION_LIMIT, t as APP_MIGRATION_TOTAL_BYTES, u as APP_SCHEDULE_LIMIT, w as APP_SCHEDULE_MIN_INTERVAL, x as APP_SCHEDULE_TIMEOUT, y as APP_SECRET_LIMIT, z as APP_SQL_LIMIT, B as APP_STORAGE_PREVIEW_CHARACTERS, C as APP_STORAGE_ROW_LIMIT, D as Access, E as AccessHistoryQuery, F as AppSchedule, G as AppScheduleList, H as AppSchedules, J as AppSecret, K as AppSecretDeclaration, L as AppSecretInput, N as AppSecretList, O as AppStorage, Q as AppStorageCell, S as AppStorageKeys, T as AppStorageKind, U as AppStorageList, V as AppStorageRows, W as AppStorageTables, X as AppStorageValue, Y as AuditPage, Z as AuditQuery, _ as AuditRecord, $ as BalanceCheck, a0 as BuildArtifacts, a1 as BuildIdentity, a2 as BuildSnapshot, a3 as BuildStatus, a4 as CompletionRevocation, a5 as CompletionRevocationShortfall, a6 as CompletionRevokeInput, a7 as DEFAULT_MANAGEMENT_TIMEOUT, a8 as HostedAppSecrets, a9 as HostedBuild, aa as HostedDeploymentKey, ab as HostedKey, ac as HostedKeyPermission, ad as HostedManagementEnv, ae as IdentityLinkRelinkInput, af as InventoryItemAction, ag as InventoryItemRename, ah as InventoryItemState, ai as InventoryStockCorrection, aj as KnownPayoutSourceKind, ak as LeaderboardSettlementRejection, al as LeaderboardSettlementReview, am as ListQuery, an as ManagedAttempt, ao as ManagedAttemptPage, ap as ManagedAttemptQuery, aq as ManagedEntitlement, ar as ManagedEntitlementPage, as as ManagedEntitlementQuery, at as ManagedMemberIdentity, au as ManagedMemberPage, av as ManagedMemberQuery, aw as ManagedOAuthAccount, ax as ManagedQuestEnrollment, ay as ManagedReleasePage, az as ManagedReleaseQuery, aA as ManagedResource, aB as ManagedStockItem, aC as
|
|
9
|
+
export { A as APP_KV_LIMIT, o as APP_MIGRATION_FILE_BYTES, r as APP_MIGRATION_LIMIT, t as APP_MIGRATION_TOTAL_BYTES, u as APP_SCHEDULE_LIMIT, w as APP_SCHEDULE_MIN_INTERVAL, x as APP_SCHEDULE_TIMEOUT, y as APP_SECRET_LIMIT, z as APP_SQL_LIMIT, B as APP_STORAGE_PREVIEW_CHARACTERS, C as APP_STORAGE_ROW_LIMIT, D as Access, E as AccessHistoryQuery, F as AppSchedule, G as AppScheduleList, H as AppSchedules, J as AppSecret, K as AppSecretDeclaration, L as AppSecretInput, N as AppSecretList, O as AppStorage, Q as AppStorageCell, S as AppStorageKeys, T as AppStorageKind, U as AppStorageList, V as AppStorageRows, W as AppStorageTables, X as AppStorageValue, Y as AuditPage, Z as AuditQuery, _ as AuditRecord, $ as BalanceCheck, a0 as BuildArtifacts, a1 as BuildIdentity, a2 as BuildSnapshot, a3 as BuildStatus, a4 as CompletionRevocation, a5 as CompletionRevocationShortfall, a6 as CompletionRevokeInput, a7 as DEFAULT_MANAGEMENT_TIMEOUT, a8 as HostedAppSecrets, a9 as HostedBuild, aa as HostedDeploymentKey, ab as HostedKey, ac as HostedKeyPermission, ad as HostedManagementEnv, ae as IdentityLinkRelinkInput, af as InventoryItemAction, ag as InventoryItemRename, ah as InventoryItemState, ai as InventoryStockCorrection, aj as KnownPayoutSourceKind, ak as LeaderboardSettlementRejection, al as LeaderboardSettlementReview, am as ListQuery, an as ManagedAttempt, ao as ManagedAttemptPage, ap as ManagedAttemptQuery, aq as ManagedEntitlement, ar as ManagedEntitlementPage, as as ManagedEntitlementQuery, at as ManagedMemberIdentity, au as ManagedMemberPage, av as ManagedMemberQuery, aw as ManagedOAuthAccount, ax as ManagedQuestEnrollment, ay as ManagedReleasePage, az as ManagedReleaseQuery, aA as ManagedResource, aB as ManagedStockItem, aC as ManagedTelegramAccount, aD as ManagedWallet, aE as ManagementCallOptions, aF as ManagementClient, aG as ManagementClientOptions, aH as ManagementError, aI as ManagementErrorCode, aJ as ManagementErrorInit, aK as ManagementErrorKind, aL as ManagementPage, aM as ManagementRawInit, aN as MemberDetail, aO as MemberIdentityLink, aP as OperatorUser, aQ as ParticipantSignIn, aR as ParticipantSignInInput, aS as PayoutSourceKind, aT as Permission, aU as Person, aV as Project, aW as ProjectMetrics, aX as QuestEnrollmentState, aY as QuestEnrollmentWithdrawalInput, aZ as QuestLifecycle, a_ as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, a$ as ResourceArchiveInput, b0 as ResourceLifecycleInput, b1 as RevokedDeliveryOutcome, b2 as RevokedEntitlementOutcome, b3 as RevokedReferralOutcome, b4 as ScheduledInvocation, b5 as StagedDeployment, b6 as StagedDeploymentContent, b7 as StagingAccess, b8 as StagingAccessInput, b9 as StagingLink, ba as StarterId, bb as StarterTemplate, bc as TestMember, bd as TestMemberActionInput, be as TestMemberAdvanceInput, bf as TestMemberCreateInput, bg as TestMemberHistory, bh as TestMemberHistoryQuery, bi as TestMemberResetInput, bj as TestMemberResetResult, bk as WEBHOOK_MAX_BYTES, bl as WalletBalanceChains, bm as WebhookDeleteInput, bn as WebhookEndpointState, bo as WebhookEvent, bp as accessHistoryQuerySchema, bq as accessSchema, br as accountProfileSchema, bs as appMigrationNameSchema, bt as appRoutingSchema, bu as appScheduleListSchema, bv as appScheduleNameSchema, bw as appSchedulePathSchema, bx as appScheduleRunSchema, by as appScheduleSchema, bz as appScheduleStateSchema, bA as appSchedulesSchema, bB as appSecretDeclarationSchema, bC as appSecretDeclarationsSchema, bD as appSecretInputSchema, bE as appSecretListSchema, bF as appSecretNameSchema, bG as appSecretSchema, bH as appSecretValueSchema, bI as appStorageCellSchema, bJ as appStorageKeysSchema, bK as appStorageKindSchema, bL as appStorageListSchema, bM as appStorageRowsSchema, bN as appStorageSchema, bO as appStorageTablesSchema, bP as appStorageValueSchema, bQ as assetPathSchema, bR as auditPageSchema, bS as auditQuerySchema, bT as auditRecordSchema, bU as balanceCheckSchema, bV as buildArtifactsSchema, bW as buildIdentitySchema, bX as buildPhaseSchema, bY as buildSnapshotSchema, bZ as buildStatusSchema, b_ as commitSchema, b$ as compareAppMigrations, c0 as completionRevocationSchema, c1 as completionRevocationShortfallSchema, c2 as completionRevokeSchema, c as containsReferralIntegrationReward, c3 as createManagementClient, c4 as createRepositorySchema, c5 as developmentPreflightSchema, c6 as deviceApproveSchema, c7 as deviceRedeemSchema, c8 as deviceStartSchema, c9 as environmentSchema, ca as grantRecordSchema, cb as grantSchema, cc as hostedAppSchema, cd as hostedAppSecretsSchema, ce as hostedBuildSchema, cf as hostedDeploymentKeySchema, cg as hostedKeyPermissions, ch as hostedKeySchema, ci as hostedKeySecretSchema, cj as hostedManagementBindings, ck as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cl as identityLinkRelinkInputSchema, cm as identityLinkSelectorSchema, cn as ingestTrackerScopeSchema, co as inventoryItemActionSchema, cp as inventoryItemPageSchema, cq as inventoryItemRenameSchema, cr as inventoryItemStateSchema, cs as inventorySchema, ct as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, cu as isManagementError, f as isParticipantRoute, cv as issuedTokenSchema, cw as leaderboardSettlementRejectionSchema, cx as leaderboardSettlementReviewPageSchema, cy as leaderboardSettlementReviewQuerySchema, cz as leaderboardSettlementReviewSchema, cA as leaderboardSettlementReviewSummarySchema, cB as managedAttemptPageSchema, cC as managedAttemptQuerySchema, cD as managedAttemptSchema, cE as managedEntitlementPageSchema, cF as managedEntitlementQuerySchema, cG as managedEntitlementSchema, cH as managedMemberIdentitySchema, cI as managedMemberPageSchema, cJ as managedMemberQuerySchema, cK as managedOAuthAccountSchema, cL as managedQuestEnrollmentPageSchema, cM as managedQuestEnrollmentSchema, cN as managedReleasePageSchema, cO as managedReleaseQuerySchema, cP as managedResourceSchema, cQ as managedStockItemSchema, cR as managedTelegramAccountSchema, cS as managedWalletSchema, cT as managementErrorSchema, cU as managementResponseSchemas, cV as managementResponses, cW as memberAccountSchema, cX as memberDetailSchema, cY as memberIdentityChangeInputSchema, cZ as memberIdentityLinkPageSchema, c_ as memberIdentityLinkSchema, c$ as memberLookupSchema, d0 as memberOAuthUnlinkInputSchema, d1 as memberSchema, d2 as memberTelegramUnlinkInputSchema, d3 as memberWalletSignInInputSchema, d4 as memberWalletUnlinkInputSchema, d5 as metricsSchema, d6 as nextScheduleRun, d7 as oauthIdentitySelectorSchema, d8 as operationInputSchema, d9 as operationSchema, da as operatorUserSchema, db as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, dc as participantSignInInputSchema, dd as participantSignInSchema, de as permissionSchema, df as personSchema, dg as projectDeletionInputSchema, dh as projectDeletionSchema, di as projectInputSchema, dj as projectMetricsSchema, dk as projectSchema, dl as projectSetupSchema, dm as projectTransferInputSchema, dn as projectTransferSchema, dp as projectUpdateInputSchema, dq as querySchema, q as questConfiguration, dr as questEnrollmentStateSchema, ds as questEnrollmentWithdrawalInputSchema, dt as questLifecycleInputSchema, du as questLifecycleSchema, dv as readinessSchema, dw as repositorySchema, dx as resourceArchiveInputSchema, dy as resourceLifecycleInputSchema, dz as resourceLifecycleKindSchema, dA as resourceLifecyclePaths, dB as resourceLifecycleResultSchema, dC as rolePermissions, dD as roleSchema, dE as scheduledInvocationSchema, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, dF as stageRequestSchema, dG as stagedDeploymentContentSchema, dH as stagedDeploymentKey, dI as stagedDeploymentLimits, dJ as stagedDeploymentSchema, dK as stagingAccessInputSchema, dL as stagingAccessModeSchema, dM as stagingAccessSchema, dN as stagingLinkSchema, dO as stagingPathSchema, dP as starterIdSchema, dQ as starterTemplates, dR as stockAdditionSchema, dS as stockInputSchema, dT as teamSchema, dU as telegramBotIdSchema, dV as testMemberActionSchema, dW as testMemberAdvanceSchema, dX as testMemberCreateSchema, dY as testMemberHistoryQuerySchema, dZ as testMemberHistorySchema, d_ as testMemberResetResultSchema, d$ as testMemberResetSchema, e0 as testMemberSchema, e1 as tokenInputSchema, e2 as tokenSchema, e3 as tokenScopeInputSchema, v as validateQuestShape, e4 as verifiedPassSchema, e5 as verifyScheduledRequest, e6 as verifyWebhook, e7 as walletBalanceChainsSchema, e8 as walletIdentitySelectorSchema, e9 as webhookControlInputSchema, ea as webhookDeleteInputSchema, eb as webhookDeliveryPageSchema, ec as webhookDeliverySchema, ed as webhookEndpointSchema, ee as webhookEndpointStateSchema, ef as webhookEventSchema, eg as webhookInputSchema, eh as webhookQuerySchema, ei as webhookSecretSchema, ej as webhookStatePageSchema, ek as webhookStateQuerySchema, el as webhookUpdateSchema } from '../transport-DE2MMVjr.js';
|
|
10
10
|
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-ByzZyggX.js';
|
|
11
11
|
export { d as activityTypeSchema, e as activityTypes, h as deploymentActionSchema, k as deploymentRejectionSchema } from '../deployments-nNS4spO9.js';
|
|
12
12
|
export { E as Extracted } from '../images-BPiPqVKn.js';
|
package/dist/server/index.js
CHANGED
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
publishDeploymentSchema,
|
|
26
26
|
rejectDeploymentSchema,
|
|
27
27
|
submitDeploymentSchema
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-7YRXDG7R.js";
|
|
29
29
|
import "../chunk-MC6V6VMG.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_MANAGEMENT_TIMEOUT,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
participantExchangeSchema,
|
|
45
45
|
questConfiguration,
|
|
46
46
|
sequenceCursorSchema
|
|
47
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-5TQ6452M.js";
|
|
48
48
|
import {
|
|
49
49
|
parseImageExtraction,
|
|
50
50
|
parseImageResult
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
isParticipantRoute,
|
|
63
63
|
participantRoutePattern,
|
|
64
64
|
participantRoutes
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-USVER53M.js";
|
|
66
66
|
import {
|
|
67
67
|
withActionId
|
|
68
68
|
} from "../chunk-T47OFHHX.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
rewardDeliveriesSchema,
|
|
84
84
|
rewardDeliverySchema,
|
|
85
85
|
saveQuestDraftSchema
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-5ZRDK4KQ.js";
|
|
87
87
|
import {
|
|
88
88
|
badgeMutationResultSchema,
|
|
89
89
|
badgeMutationSchema,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
referralSuspensionSchema
|
|
136
136
|
} from "../chunk-XSLRNFIY.js";
|
|
137
137
|
import "../chunk-5P5PTZ3T.js";
|
|
138
|
-
import "../chunk-
|
|
138
|
+
import "../chunk-FEUMOQIM.js";
|
|
139
139
|
import "../chunk-YXAK2637.js";
|
|
140
140
|
import {
|
|
141
141
|
CompletionSourceKind,
|
|
@@ -1573,12 +1573,27 @@ var managedOAuthAccountSchema = z13.discriminatedUnion("status", [
|
|
|
1573
1573
|
}),
|
|
1574
1574
|
managedOAuthAccountBaseSchema.extend({ status: z13.literal("disconnected") })
|
|
1575
1575
|
]);
|
|
1576
|
+
var managedTelegramAccountBaseSchema = managedOAuthAccountBaseSchema.extend({
|
|
1577
|
+
provider: z13.literal("telegram")
|
|
1578
|
+
});
|
|
1579
|
+
var managedTelegramAccountSchema = z13.discriminatedUnion("status", [
|
|
1580
|
+
managedTelegramAccountBaseSchema.extend({
|
|
1581
|
+
status: z13.literal("connected"),
|
|
1582
|
+
/** The numeric Telegram user ID. */
|
|
1583
|
+
subject: z13.string().min(1),
|
|
1584
|
+
linkedAt: z13.number()
|
|
1585
|
+
}),
|
|
1586
|
+
managedTelegramAccountBaseSchema.extend({
|
|
1587
|
+
status: z13.literal("disconnected")
|
|
1588
|
+
})
|
|
1589
|
+
]);
|
|
1576
1590
|
var memberOAuthUnlinkInputSchema = z13.object({
|
|
1577
1591
|
provider: z13.enum(["x", "discord"]),
|
|
1578
1592
|
subject: z13.string().min(1).max(4096),
|
|
1579
1593
|
revision: z13.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER - 1),
|
|
1580
1594
|
reason: z13.string().trim().min(1).max(500)
|
|
1581
1595
|
}).strict();
|
|
1596
|
+
var memberTelegramUnlinkInputSchema = memberOAuthUnlinkInputSchema.omit({ provider: true }).strict();
|
|
1582
1597
|
var managedWalletSchema = linkedWalletSchema.extend({
|
|
1583
1598
|
status: z13.enum(["linked", "unlinked"]),
|
|
1584
1599
|
unlinkedAt: z13.number().int().nullable(),
|
|
@@ -1622,6 +1637,7 @@ var memberWalletSignInInputSchema = walletUnlinkInputSchema.extend({
|
|
|
1622
1637
|
enabled: z13.boolean(),
|
|
1623
1638
|
reason: z13.string().trim().min(1).max(500)
|
|
1624
1639
|
}).strict();
|
|
1640
|
+
var telegramBotIdSchema = z13.string().regex(/^[1-9][0-9]{0,19}$/, "Enter the bot's numeric ID, such as 123456789");
|
|
1625
1641
|
var participantSignInSchema = z13.object({
|
|
1626
1642
|
providers: z13.array(
|
|
1627
1643
|
z13.object({ provider: authProviderSchema, configured: z13.boolean() })
|
|
@@ -1631,11 +1647,21 @@ var participantSignInSchema = z13.object({
|
|
|
1631
1647
|
wallets: walletSignInNetworksSchema,
|
|
1632
1648
|
/** Why participants cannot sign in to this project, or null. */
|
|
1633
1649
|
issue: z13.string().nullable(),
|
|
1650
|
+
/**
|
|
1651
|
+
* Telegram, outside `providers` in SDK 1.x: whether Domino configured Telegram Login, and the
|
|
1652
|
+
* bot whose Mini App participants sign in from, or null when Mini App sign-in is off. Absent
|
|
1653
|
+
* from Relay versions without Telegram.
|
|
1654
|
+
*/
|
|
1655
|
+
telegram: z13.object({
|
|
1656
|
+
login: z13.boolean(),
|
|
1657
|
+
miniAppBotId: telegramBotIdSchema.nullable()
|
|
1658
|
+
}).optional(),
|
|
1634
1659
|
updatedAt: z13.number().nullable(),
|
|
1635
1660
|
updatedBy: z13.string().nullable()
|
|
1636
1661
|
});
|
|
1637
1662
|
var participantSignInInputSchema = z13.object({
|
|
1638
|
-
wallets: walletSignInNetworksSchema
|
|
1663
|
+
wallets: walletSignInNetworksSchema,
|
|
1664
|
+
telegram: z13.object({ miniAppBotId: telegramBotIdSchema.nullable() }).strict().optional()
|
|
1639
1665
|
}).strict();
|
|
1640
1666
|
var completionRevocationShortfallSchema = z13.object({
|
|
1641
1667
|
completion: identifier,
|
|
@@ -3196,6 +3222,22 @@ function managementClient(options) {
|
|
|
3196
3222
|
memberOAuthUnlinkInputSchema.parse(input),
|
|
3197
3223
|
call
|
|
3198
3224
|
),
|
|
3225
|
+
/** The member's Telegram account selection; requires read permission. */
|
|
3226
|
+
telegramAccount: (member, call) => get(
|
|
3227
|
+
`/members/${encodeURIComponent(member)}/telegram-account`,
|
|
3228
|
+
managedTelegramAccountSchema,
|
|
3229
|
+
call
|
|
3230
|
+
),
|
|
3231
|
+
/**
|
|
3232
|
+
* Unlinks the member's reviewed Telegram account across this organization and environment,
|
|
3233
|
+
* as `unlinkOAuthAccount` does for X and Discord; requires `review` permission.
|
|
3234
|
+
*/
|
|
3235
|
+
unlinkTelegramAccount: (member, input, call) => post(
|
|
3236
|
+
`/members/${encodeURIComponent(member)}/telegram-account/unlink`,
|
|
3237
|
+
managedTelegramAccountSchema,
|
|
3238
|
+
memberTelegramUnlinkInputSchema.parse(input),
|
|
3239
|
+
call
|
|
3240
|
+
),
|
|
3199
3241
|
/** Unlinks a member's wallet from the project with a reason; requires `review` permission. The address stays bound to the member. */
|
|
3200
3242
|
unlinkWallet: (member, input, call) => post(
|
|
3201
3243
|
`/members/${encodeURIComponent(member)}/wallets/unlink`,
|
|
@@ -3489,7 +3531,10 @@ function managementClient(options) {
|
|
|
3489
3531
|
},
|
|
3490
3532
|
/** How participants sign in to this project and environment. */
|
|
3491
3533
|
participantSignIn: (call) => get("/participant-sign-in", participantSignInSchema, call),
|
|
3492
|
-
/**
|
|
3534
|
+
/**
|
|
3535
|
+
* Sets the wallet networks participants can sign in with, and the bot for Telegram Mini App
|
|
3536
|
+
* sign-in; requires `publish` permission.
|
|
3537
|
+
*/
|
|
3493
3538
|
configureParticipantSignIn: (input, call) => request(
|
|
3494
3539
|
"/participant-sign-in",
|
|
3495
3540
|
participantSignInSchema,
|
|
@@ -3707,6 +3752,9 @@ var managementResponseSchemas = lazyResponseReaders({
|
|
|
3707
3752
|
get managedOAuthAccountSchema() {
|
|
3708
3753
|
return knownResponse(managedOAuthAccountSchema);
|
|
3709
3754
|
},
|
|
3755
|
+
get managedTelegramAccountSchema() {
|
|
3756
|
+
return knownResponse(managedTelegramAccountSchema);
|
|
3757
|
+
},
|
|
3710
3758
|
get managedPointHistoryPageSchema() {
|
|
3711
3759
|
return knownResponse(managedPointHistoryPageSchema);
|
|
3712
3760
|
},
|
|
@@ -3973,6 +4021,7 @@ var managementResponses = {
|
|
|
3973
4021
|
managedMemberIdentitySchema: responseSchema(managedMemberIdentitySchema),
|
|
3974
4022
|
managedMemberPageSchema: responseSchema(managedMemberPageSchema),
|
|
3975
4023
|
managedOAuthAccountSchema: responseSchema(managedOAuthAccountSchema),
|
|
4024
|
+
managedTelegramAccountSchema: responseSchema(managedTelegramAccountSchema),
|
|
3976
4025
|
managedPointHistoryPageSchema: responseSchema(managedPointHistoryPageSchema),
|
|
3977
4026
|
managedPointLedgerSchema: responseSchema(managedPointLedgerSchema),
|
|
3978
4027
|
managedProfileSchema: responseSchema(managedProfileSchema),
|
|
@@ -4172,6 +4221,7 @@ export {
|
|
|
4172
4221
|
managedReleaseQuerySchema,
|
|
4173
4222
|
managedResourceSchema,
|
|
4174
4223
|
managedStockItemSchema,
|
|
4224
|
+
managedTelegramAccountSchema,
|
|
4175
4225
|
managedWalletSchema,
|
|
4176
4226
|
managementErrorSchema,
|
|
4177
4227
|
managementResponseSchemas,
|
|
@@ -4186,6 +4236,7 @@ export {
|
|
|
4186
4236
|
memberLookupSchema,
|
|
4187
4237
|
memberOAuthUnlinkInputSchema,
|
|
4188
4238
|
memberSchema,
|
|
4239
|
+
memberTelegramUnlinkInputSchema,
|
|
4189
4240
|
memberWalletSignInInputSchema,
|
|
4190
4241
|
memberWalletUnlinkInputSchema,
|
|
4191
4242
|
metricsSchema,
|
|
@@ -4253,6 +4304,7 @@ export {
|
|
|
4253
4304
|
stockAdditionSchema,
|
|
4254
4305
|
stockInputSchema,
|
|
4255
4306
|
teamSchema,
|
|
4307
|
+
telegramBotIdSchema,
|
|
4256
4308
|
testMemberActionSchema,
|
|
4257
4309
|
testMemberAdvanceSchema,
|
|
4258
4310
|
testMemberCreateSchema,
|
|
@@ -344,4 +344,43 @@ declare const participantActivitySchema: z.ZodObject<{
|
|
|
344
344
|
type RelayEvent = z.infer<typeof relayEventSchema>;
|
|
345
345
|
type ParticipantActivity = z.infer<typeof participantActivitySchema>;
|
|
346
346
|
|
|
347
|
-
|
|
347
|
+
/**
|
|
348
|
+
* The Telegram sign-in a project offers, beside `providers` in `relay.auth.providers()`.
|
|
349
|
+
*
|
|
350
|
+
* @compat output
|
|
351
|
+
*/
|
|
352
|
+
declare const telegramSignInMethodsSchema: z.ZodObject<{
|
|
353
|
+
login: z.ZodBoolean;
|
|
354
|
+
miniApp: z.ZodBoolean;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
type TelegramSignInMethods = z.infer<typeof telegramSignInMethodsSchema>;
|
|
357
|
+
/**
|
|
358
|
+
* The member's Telegram account, as `AccountConnection` describes the other providers'. `subject`
|
|
359
|
+
* is the numeric Telegram user ID; `configured` is whether Telegram Login is.
|
|
360
|
+
*
|
|
361
|
+
* @compat output
|
|
362
|
+
*/
|
|
363
|
+
declare const telegramAccountConnectionSchema: z.ZodObject<{
|
|
364
|
+
configured: z.ZodBoolean;
|
|
365
|
+
status: z.ZodEnum<{
|
|
366
|
+
disconnected: "disconnected";
|
|
367
|
+
connected: "connected";
|
|
368
|
+
reconnect: "reconnect";
|
|
369
|
+
}>;
|
|
370
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
371
|
+
revision: z.ZodNumber;
|
|
372
|
+
provider: z.ZodLiteral<"telegram">;
|
|
373
|
+
}, z.core.$strip>;
|
|
374
|
+
type TelegramAccountConnection = z.infer<typeof telegramAccountConnectionSchema>;
|
|
375
|
+
/** The signed launch data a Telegram Mini App receives, `Telegram.WebApp.initData`. */
|
|
376
|
+
declare const telegramInitDataSchema: z.ZodString;
|
|
377
|
+
/** `POST /v1/auth/telegram/mini-app`: sign in, or connect Telegram to the signed-in member. */
|
|
378
|
+
declare const telegramMiniAppSignInSchema: z.ZodObject<{
|
|
379
|
+
initData: z.ZodString;
|
|
380
|
+
mode: z.ZodEnum<{
|
|
381
|
+
"sign-in": "sign-in";
|
|
382
|
+
connect: "connect";
|
|
383
|
+
}>;
|
|
384
|
+
}, z.core.$strict>;
|
|
385
|
+
|
|
386
|
+
export { type ExchangeInput as E, type MemberSummary as M, type ParticipantActivity as P, type RelayEvent as R, type Session as S, type TelegramAccountConnection as T, type ParticipantPrincipal as a, type ParticipantSession as b, type TelegramSignInMethods as c, authScopeSchema as d, exchangeResultSchema as e, exchangeSchema as f, participantActivitySchema as g, participantPrincipalSchema as h, participantSessionSchema as i, principalSchema as j, knownRelayEventSchema as k, sessionSchema as l, memberSummarySchema as m, telegramInitDataSchema as n, telegramMiniAppSignInSchema as o, participantActivityQuerySchema as p, telegramSignInMethodsSchema as q, relayEventSchema as r, sessionMember as s, telegramAccountConnectionSchema as t };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { a as AuthProvider } from './accounts-5ciAkCMP.js';
|
|
2
|
-
import { o as createRelayClient, g as RelayError } from './client-
|
|
2
|
+
import { o as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-DSlycgar.js';
|
|
3
|
+
import { c as TelegramSignInMethods } from './telegram-DALZ7GdF.js';
|
|
3
4
|
import { C as CosmosChain, a as CosmosNetwork, f as WalletSigner, d as WalletSignInNetwork } from './wallet-CDyo-U4n.js';
|
|
4
5
|
|
|
5
6
|
/** An EIP-1193 provider, such as `window.ethereum` or an EIP-6963 announcement's provider. */
|
|
@@ -107,6 +108,12 @@ type Auth = ReturnType<typeof createRelayClient>["auth"];
|
|
|
107
108
|
type SignInClient = {
|
|
108
109
|
auth: Pick<Auth, "providers" | "start" | "emailStart" | "emailVerify"> & {
|
|
109
110
|
wallet: Pick<Auth["wallet"], "signIn">;
|
|
111
|
+
/** Telegram Login; without it, `signInOptions()` offers no Telegram option. */
|
|
112
|
+
telegram?: {
|
|
113
|
+
start: (mode: "sign-in" | "connect", requestOptions?: RelayRequestOptions) => Promise<{
|
|
114
|
+
url: string;
|
|
115
|
+
}>;
|
|
116
|
+
};
|
|
110
117
|
};
|
|
111
118
|
};
|
|
112
119
|
/** The sign-in methods a project takes: the platform's OAuth providers and email, and its wallet families. */
|
|
@@ -115,6 +122,11 @@ type SignInMethods = {
|
|
|
115
122
|
email: boolean;
|
|
116
123
|
/** The wallet families this project enabled for sign-in in Console. */
|
|
117
124
|
wallets: WalletSignInNetwork[];
|
|
125
|
+
/**
|
|
126
|
+
* Telegram's sign-in, outside `providers` in SDK 1.x. Absent when Relay did not report it,
|
|
127
|
+
* which offers no Telegram sign-in.
|
|
128
|
+
*/
|
|
129
|
+
telegram?: TelegramSignInMethods;
|
|
118
130
|
/**
|
|
119
131
|
* Set when the methods could not be read, such as when the network failed: they are then email
|
|
120
132
|
* alone, and the server has the final say when the participant uses it.
|
|
@@ -159,6 +171,18 @@ type WalletSignInOption = {
|
|
|
159
171
|
/** Asks the wallet to sign a message, then signs in, or signs up. See `SignInOption` for failures. */
|
|
160
172
|
start(): Promise<void>;
|
|
161
173
|
};
|
|
174
|
+
/**
|
|
175
|
+
* Telegram Login. It is not one of `options` in SDK 1.x, whose `OAuthSignInOption` names only
|
|
176
|
+
* `AuthProvider`s: `SignInOptions.telegram` carries it, so render it beside them.
|
|
177
|
+
*/
|
|
178
|
+
type TelegramSignInOption = {
|
|
179
|
+
kind: "telegram";
|
|
180
|
+
id: "telegram";
|
|
181
|
+
label: string;
|
|
182
|
+
icon: "telegram";
|
|
183
|
+
/** Leaves the page for Telegram's consent screen. See `SignInOption` for failures. */
|
|
184
|
+
start(): Promise<void>;
|
|
185
|
+
};
|
|
162
186
|
/**
|
|
163
187
|
* One way to sign in that this project takes and this browser can use. From `useSignInOptions()`
|
|
164
188
|
* its actions never reject: a failure lands in the hook's `error`. From `signInOptions()` they
|
|
@@ -184,6 +208,11 @@ type SignInOptions = {
|
|
|
184
208
|
/** OAuth providers first, then installed wallets, then email. */
|
|
185
209
|
options: SignInOption[];
|
|
186
210
|
unavailable: SignInUnavailable[];
|
|
211
|
+
/**
|
|
212
|
+
* Telegram Login when the platform configured it, to render beside `options`. Mini App sign-in
|
|
213
|
+
* needs no button: call `relay.auth.telegram.miniApp.signIn()` inside the Mini App.
|
|
214
|
+
*/
|
|
215
|
+
telegram?: TelegramSignInOption;
|
|
187
216
|
/** Why the project's methods could not be read; the options are then email alone. */
|
|
188
217
|
methodsError?: RelayError;
|
|
189
218
|
};
|
|
@@ -199,4 +228,12 @@ declare function signInOptions(relay: SignInClient, input?: {
|
|
|
199
228
|
cosmos?: CosmosChains;
|
|
200
229
|
}): Promise<SignInOptions>;
|
|
201
230
|
|
|
202
|
-
|
|
231
|
+
/**
|
|
232
|
+
* The signed launch data of the Telegram Mini App this page runs in, or null outside one: Telegram's
|
|
233
|
+
* `Telegram.WebApp.initData` when the app loaded telegram-web-app.js, else the `tgWebAppData`
|
|
234
|
+
* launch parameter Telegram puts in the page's URL fragment. Pass it to
|
|
235
|
+
* `relay.auth.telegram.miniApp.signIn()`. Safe to call during server rendering, where it is null.
|
|
236
|
+
*/
|
|
237
|
+
declare function telegramMiniAppInitData(): string | null;
|
|
238
|
+
|
|
239
|
+
export { type CosmosChains as C, type DiscoveredWallet as D, type Eip1193Provider as E, type KeplrLike as K, type OAuthSignInOption as O, type SignInClient as S, type TelegramSignInOption as T, type WalletSignInOption as W, type EmailSignInOption as a, type SignInIcon as b, type SignInMethods as c, type SignInOption as d, type SignInOptions as e, type SignInUnavailable as f, type SignInWallet as g, type SolanaInjectedProvider as h, type StandardWallet as i, type StandardWalletAccount as j, cosmosChainList as k, cosmosSigner as l, discoverCosmosWallets as m, discoverEvmWallets as n, discoverSignInWallets as o, discoverSolanaWallets as p, evmSigner as q, solanaSigner as r, signInOptions as s, telegramMiniAppInitData as t, walletStandardSolanaSigner as w };
|
|
@@ -3190,6 +3190,18 @@ declare const managedOAuthAccountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3190
3190
|
status: z.ZodLiteral<"disconnected">;
|
|
3191
3191
|
}, z.core.$strip>], "status">;
|
|
3192
3192
|
type ManagedOAuthAccount = z.infer<typeof managedOAuthAccountSchema>;
|
|
3193
|
+
declare const managedTelegramAccountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3194
|
+
revision: z.ZodNumber;
|
|
3195
|
+
provider: z.ZodLiteral<"telegram">;
|
|
3196
|
+
status: z.ZodLiteral<"connected">;
|
|
3197
|
+
subject: z.ZodString;
|
|
3198
|
+
linkedAt: z.ZodNumber;
|
|
3199
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3200
|
+
revision: z.ZodNumber;
|
|
3201
|
+
provider: z.ZodLiteral<"telegram">;
|
|
3202
|
+
status: z.ZodLiteral<"disconnected">;
|
|
3203
|
+
}, z.core.$strip>], "status">;
|
|
3204
|
+
type ManagedTelegramAccount = z.infer<typeof managedTelegramAccountSchema>;
|
|
3193
3205
|
declare const memberOAuthUnlinkInputSchema: z.ZodObject<{
|
|
3194
3206
|
provider: z.ZodEnum<{
|
|
3195
3207
|
discord: "discord";
|
|
@@ -3199,6 +3211,12 @@ declare const memberOAuthUnlinkInputSchema: z.ZodObject<{
|
|
|
3199
3211
|
revision: z.ZodNumber;
|
|
3200
3212
|
reason: z.ZodString;
|
|
3201
3213
|
}, z.core.$strict>;
|
|
3214
|
+
/** The Telegram account to unlink: the subject and revision the operator reviewed, and why. */
|
|
3215
|
+
declare const memberTelegramUnlinkInputSchema: z.ZodObject<{
|
|
3216
|
+
revision: z.ZodNumber;
|
|
3217
|
+
subject: z.ZodString;
|
|
3218
|
+
reason: z.ZodString;
|
|
3219
|
+
}, z.core.$strict>;
|
|
3202
3220
|
/** A wallet a member linked to the project, as operators see it: including unlinked ones. */
|
|
3203
3221
|
declare const managedWalletSchema: z.ZodObject<{
|
|
3204
3222
|
chain: z.ZodEnum<{
|
|
@@ -3292,6 +3310,8 @@ declare const memberWalletSignInInputSchema: z.ZodObject<{
|
|
|
3292
3310
|
enabled: z.ZodBoolean;
|
|
3293
3311
|
reason: z.ZodString;
|
|
3294
3312
|
}, z.core.$strict>;
|
|
3313
|
+
/** A Telegram bot's numeric ID: the digits before the colon in its token. */
|
|
3314
|
+
declare const telegramBotIdSchema: z.ZodString;
|
|
3295
3315
|
/**
|
|
3296
3316
|
* How participants sign in to this project and environment. OAuth providers and email are
|
|
3297
3317
|
* configured by Domino for the platform and are read-only here; wallet sign-in is the project's own
|
|
@@ -3314,17 +3334,28 @@ declare const participantSignInSchema: z.ZodObject<{
|
|
|
3314
3334
|
cosmos: "cosmos";
|
|
3315
3335
|
}>>, z.ZodTransform<("solana" | "eip155" | "cosmos")[], ("solana" | "eip155" | "cosmos")[]>>;
|
|
3316
3336
|
issue: z.ZodNullable<z.ZodString>;
|
|
3337
|
+
telegram: z.ZodOptional<z.ZodObject<{
|
|
3338
|
+
login: z.ZodBoolean;
|
|
3339
|
+
miniAppBotId: z.ZodNullable<z.ZodString>;
|
|
3340
|
+
}, z.core.$strip>>;
|
|
3317
3341
|
updatedAt: z.ZodNullable<z.ZodNumber>;
|
|
3318
3342
|
updatedBy: z.ZodNullable<z.ZodString>;
|
|
3319
3343
|
}, z.core.$strip>;
|
|
3320
3344
|
type ParticipantSignIn = z.infer<typeof participantSignInSchema>;
|
|
3321
|
-
/**
|
|
3345
|
+
/**
|
|
3346
|
+
* The wallet families to enable: `"solana"`, `"eip155"`, `"cosmos"`. `telegram.miniAppBotId`
|
|
3347
|
+
* enables Telegram Mini App sign-in for the bot with that ID, or turns it off with null; leaving
|
|
3348
|
+
* `telegram` out keeps the current setting.
|
|
3349
|
+
*/
|
|
3322
3350
|
declare const participantSignInInputSchema: z.ZodObject<{
|
|
3323
3351
|
wallets: z.ZodPipe<z.ZodArray<z.ZodEnum<{
|
|
3324
3352
|
solana: "solana";
|
|
3325
3353
|
eip155: "eip155";
|
|
3326
3354
|
cosmos: "cosmos";
|
|
3327
3355
|
}>>, z.ZodTransform<("solana" | "eip155" | "cosmos")[], ("solana" | "eip155" | "cosmos")[]>>;
|
|
3356
|
+
telegram: z.ZodOptional<z.ZodObject<{
|
|
3357
|
+
miniAppBotId: z.ZodNullable<z.ZodString>;
|
|
3358
|
+
}, z.core.$strict>>;
|
|
3328
3359
|
}, z.core.$strict>;
|
|
3329
3360
|
type ParticipantSignInInput = z.infer<typeof participantSignInInputSchema>;
|
|
3330
3361
|
declare const completionRevocationShortfallSchema: z.ZodObject<{
|
|
@@ -29734,6 +29765,33 @@ declare function managementClient(options: ManagementTransportOptions): {
|
|
|
29734
29765
|
revision: number;
|
|
29735
29766
|
status: "disconnected";
|
|
29736
29767
|
})[]>;
|
|
29768
|
+
/** The member's Telegram account selection; requires read permission. */
|
|
29769
|
+
telegramAccount: (member: string, call?: ManagementCallOptions) => Promise<{
|
|
29770
|
+
revision: number;
|
|
29771
|
+
provider: "telegram";
|
|
29772
|
+
status: "connected";
|
|
29773
|
+
subject: string;
|
|
29774
|
+
linkedAt: number;
|
|
29775
|
+
} | {
|
|
29776
|
+
revision: number;
|
|
29777
|
+
provider: "telegram";
|
|
29778
|
+
status: "disconnected";
|
|
29779
|
+
}>;
|
|
29780
|
+
/**
|
|
29781
|
+
* Unlinks the member's reviewed Telegram account across this organization and environment,
|
|
29782
|
+
* as `unlinkOAuthAccount` does for X and Discord; requires `review` permission.
|
|
29783
|
+
*/
|
|
29784
|
+
unlinkTelegramAccount: (member: string, input: z.input<typeof memberTelegramUnlinkInputSchema>, call?: ManagementCallOptions) => Promise<{
|
|
29785
|
+
revision: number;
|
|
29786
|
+
provider: "telegram";
|
|
29787
|
+
status: "connected";
|
|
29788
|
+
subject: string;
|
|
29789
|
+
linkedAt: number;
|
|
29790
|
+
} | {
|
|
29791
|
+
revision: number;
|
|
29792
|
+
provider: "telegram";
|
|
29793
|
+
status: "disconnected";
|
|
29794
|
+
}>;
|
|
29737
29795
|
/** Unlinks a member's wallet from the project with a reason; requires `review` permission. The address stays bound to the member. */
|
|
29738
29796
|
unlinkWallet: (member: string, input: z.input<typeof memberWalletUnlinkInputSchema>, call?: ManagementCallOptions) => Promise<{
|
|
29739
29797
|
chain: "solana" | "eip155" | "cosmos";
|
|
@@ -31303,8 +31361,15 @@ declare function managementClient(options: ManagementTransportOptions): {
|
|
|
31303
31361
|
issue: string | null;
|
|
31304
31362
|
updatedAt: number | null;
|
|
31305
31363
|
updatedBy: string | null;
|
|
31364
|
+
telegram?: {
|
|
31365
|
+
login: boolean;
|
|
31366
|
+
miniAppBotId: string | null;
|
|
31367
|
+
} | undefined;
|
|
31306
31368
|
}>;
|
|
31307
|
-
/**
|
|
31369
|
+
/**
|
|
31370
|
+
* Sets the wallet networks participants can sign in with, and the bot for Telegram Mini App
|
|
31371
|
+
* sign-in; requires `publish` permission.
|
|
31372
|
+
*/
|
|
31308
31373
|
configureParticipantSignIn: (input: z.input<typeof participantSignInInputSchema>, call?: ManagementCallOptions) => Promise<{
|
|
31309
31374
|
providers: {
|
|
31310
31375
|
provider: "discord" | "x" | "google" | "apple";
|
|
@@ -31315,6 +31380,10 @@ declare function managementClient(options: ManagementTransportOptions): {
|
|
|
31315
31380
|
issue: string | null;
|
|
31316
31381
|
updatedAt: number | null;
|
|
31317
31382
|
updatedBy: string | null;
|
|
31383
|
+
telegram?: {
|
|
31384
|
+
login: boolean;
|
|
31385
|
+
miniAppBotId: string | null;
|
|
31386
|
+
} | undefined;
|
|
31318
31387
|
}>;
|
|
31319
31388
|
};
|
|
31320
31389
|
|
|
@@ -53565,6 +53634,27 @@ declare const managementResponseSchemas: {
|
|
|
53565
53634
|
revision: number;
|
|
53566
53635
|
status: "disconnected";
|
|
53567
53636
|
}, unknown>>;
|
|
53637
|
+
managedTelegramAccountSchema: z.ZodType<{
|
|
53638
|
+
revision: number;
|
|
53639
|
+
provider: "telegram";
|
|
53640
|
+
status: "connected";
|
|
53641
|
+
subject: string;
|
|
53642
|
+
linkedAt: number;
|
|
53643
|
+
} | {
|
|
53644
|
+
revision: number;
|
|
53645
|
+
provider: "telegram";
|
|
53646
|
+
status: "disconnected";
|
|
53647
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
53648
|
+
revision: number;
|
|
53649
|
+
provider: "telegram";
|
|
53650
|
+
status: "connected";
|
|
53651
|
+
subject: string;
|
|
53652
|
+
linkedAt: number;
|
|
53653
|
+
} | {
|
|
53654
|
+
revision: number;
|
|
53655
|
+
provider: "telegram";
|
|
53656
|
+
status: "disconnected";
|
|
53657
|
+
}, unknown>>;
|
|
53568
53658
|
managedPointHistoryPageSchema: z.ZodType<{
|
|
53569
53659
|
items: {
|
|
53570
53660
|
id: string;
|
|
@@ -57707,6 +57797,10 @@ declare const managementResponseSchemas: {
|
|
|
57707
57797
|
issue: string | null;
|
|
57708
57798
|
updatedAt: number | null;
|
|
57709
57799
|
updatedBy: string | null;
|
|
57800
|
+
telegram?: {
|
|
57801
|
+
login: boolean;
|
|
57802
|
+
miniAppBotId: string | null;
|
|
57803
|
+
} | undefined;
|
|
57710
57804
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
57711
57805
|
providers: {
|
|
57712
57806
|
provider: "discord" | "x" | "google" | "apple";
|
|
@@ -57717,6 +57811,10 @@ declare const managementResponseSchemas: {
|
|
|
57717
57811
|
issue: string | null;
|
|
57718
57812
|
updatedAt: number | null;
|
|
57719
57813
|
updatedBy: string | null;
|
|
57814
|
+
telegram?: {
|
|
57815
|
+
login: boolean;
|
|
57816
|
+
miniAppBotId: string | null;
|
|
57817
|
+
} | undefined;
|
|
57720
57818
|
}, unknown>>;
|
|
57721
57819
|
personSchema: z.ZodType<{
|
|
57722
57820
|
id: string;
|
|
@@ -74946,6 +75044,17 @@ declare const managementResponses: {
|
|
|
74946
75044
|
revision: number;
|
|
74947
75045
|
status: "disconnected";
|
|
74948
75046
|
}>>;
|
|
75047
|
+
managedTelegramAccountSchema: ResponseSchema<ResponseResult<{
|
|
75048
|
+
revision: number;
|
|
75049
|
+
provider: "telegram";
|
|
75050
|
+
status: "connected";
|
|
75051
|
+
subject: string;
|
|
75052
|
+
linkedAt: number;
|
|
75053
|
+
} | {
|
|
75054
|
+
revision: number;
|
|
75055
|
+
provider: "telegram";
|
|
75056
|
+
status: "disconnected";
|
|
75057
|
+
}>>;
|
|
74949
75058
|
managedPointHistoryPageSchema: ResponseSchema<ResponseResult<{
|
|
74950
75059
|
items: {
|
|
74951
75060
|
id: string;
|
|
@@ -77027,6 +77136,10 @@ declare const managementResponses: {
|
|
|
77027
77136
|
issue: string | null;
|
|
77028
77137
|
updatedAt: number | null;
|
|
77029
77138
|
updatedBy: string | null;
|
|
77139
|
+
telegram?: {
|
|
77140
|
+
login: boolean;
|
|
77141
|
+
miniAppBotId: string | null;
|
|
77142
|
+
} | undefined;
|
|
77030
77143
|
}>>;
|
|
77031
77144
|
personSchema: ResponseSchema<ResponseResult<{
|
|
77032
77145
|
id: string;
|
|
@@ -80110,4 +80223,4 @@ declare function managementTransport(options: ManagementTransportOptions): {
|
|
|
80110
80223
|
}) => Promise<unknown>;
|
|
80111
80224
|
};
|
|
80112
80225
|
|
|
80113
|
-
export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type
|
|
80226
|
+
export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type ResourceArchiveInput as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, DEFAULT_MANAGEMENT_TIMEOUT as a7, type HostedAppSecrets as a8, type HostedBuild as a9, type ManagedResource as aA, type ManagedStockItem as aB, type ManagedTelegramAccount as aC, type ManagedWallet as aD, type ManagementCallOptions as aE, type ManagementClient as aF, type ManagementClientOptions as aG, ManagementError as aH, ManagementErrorCode as aI, type ManagementErrorInit as aJ, type ManagementErrorKind as aK, type ManagementPage as aL, type ManagementRawInit as aM, type MemberDetail as aN, type MemberIdentityLink as aO, type OperatorUser as aP, type ParticipantSignIn as aQ, type ParticipantSignInInput as aR, PayoutSourceKind as aS, type Permission as aT, type Person as aU, type Project as aV, type ProjectMetrics as aW, type QuestEnrollmentState as aX, type QuestEnrollmentWithdrawalInput as aY, type QuestLifecycle as aZ, type QuestLifecycleInput as a_, type HostedDeploymentKey as aa, type HostedKey as ab, type HostedKeyPermission as ac, type HostedManagementEnv as ad, type IdentityLinkRelinkInput as ae, type InventoryItemAction as af, type InventoryItemRename as ag, type InventoryItemState as ah, type InventoryStockCorrection as ai, type KnownPayoutSourceKind as aj, type LeaderboardSettlementRejection as ak, type LeaderboardSettlementReview as al, type ListQuery as am, type ManagedAttempt as an, type ManagedAttemptPage as ao, type ManagedAttemptQuery as ap, type ManagedEntitlement as aq, type ManagedEntitlementPage as ar, type ManagedEntitlementQuery as as, type ManagedMemberIdentity as at, type ManagedMemberPage as au, type ManagedMemberQuery as av, type ManagedOAuthAccount as aw, type ManagedQuestEnrollment as ax, type ManagedReleasePage as ay, type ManagedReleaseQuery as az, identityIntegrationSecretSchema as b, compareAppMigrations as b$, type ResourceLifecycleInput as b0, RevokedDeliveryOutcome as b1, RevokedEntitlementOutcome as b2, RevokedReferralOutcome as b3, type ScheduledInvocation as b4, type StagedDeployment as b5, type StagedDeploymentContent as b6, type StagingAccess as b7, type StagingAccessInput as b8, type StagingLink as b9, appSchedulesSchema as bA, appSecretDeclarationSchema as bB, appSecretDeclarationsSchema as bC, appSecretInputSchema as bD, appSecretListSchema as bE, appSecretNameSchema as bF, appSecretSchema as bG, appSecretValueSchema as bH, appStorageCellSchema as bI, appStorageKeysSchema as bJ, appStorageKindSchema as bK, appStorageListSchema as bL, appStorageRowsSchema as bM, appStorageSchema as bN, appStorageTablesSchema as bO, appStorageValueSchema as bP, assetPathSchema as bQ, auditPageSchema as bR, auditQuerySchema as bS, auditRecordSchema as bT, balanceCheckSchema as bU, buildArtifactsSchema as bV, buildIdentitySchema as bW, buildPhaseSchema as bX, buildSnapshotSchema as bY, buildStatusSchema as bZ, commitSchema as b_, type StarterId as ba, type StarterTemplate as bb, type TestMember as bc, type TestMemberActionInput as bd, type TestMemberAdvanceInput as be, type TestMemberCreateInput as bf, type TestMemberHistory as bg, type TestMemberHistoryQuery as bh, type TestMemberResetInput as bi, type TestMemberResetResult as bj, WEBHOOK_MAX_BYTES as bk, type WalletBalanceChains as bl, type WebhookDeleteInput as bm, type WebhookEndpointState as bn, type WebhookEvent as bo, accessHistoryQuerySchema as bp, accessSchema as bq, accountProfileSchema as br, appMigrationNameSchema as bs, appRoutingSchema as bt, appScheduleListSchema as bu, appScheduleNameSchema as bv, appSchedulePathSchema as bw, appScheduleRunSchema as bx, appScheduleSchema as by, appScheduleStateSchema as bz, containsReferralIntegrationReward as c, memberLookupSchema as c$, completionRevocationSchema as c0, completionRevocationShortfallSchema as c1, completionRevokeSchema as c2, createManagementClient as c3, createRepositorySchema as c4, developmentPreflightSchema as c5, deviceApproveSchema as c6, deviceRedeemSchema as c7, deviceStartSchema as c8, environmentSchema as c9, leaderboardSettlementReviewSummarySchema as cA, managedAttemptPageSchema as cB, managedAttemptQuerySchema as cC, managedAttemptSchema as cD, managedEntitlementPageSchema as cE, managedEntitlementQuerySchema as cF, managedEntitlementSchema as cG, managedMemberIdentitySchema as cH, managedMemberPageSchema as cI, managedMemberQuerySchema as cJ, managedOAuthAccountSchema as cK, managedQuestEnrollmentPageSchema as cL, managedQuestEnrollmentSchema as cM, managedReleasePageSchema as cN, managedReleaseQuerySchema as cO, managedResourceSchema as cP, managedStockItemSchema as cQ, managedTelegramAccountSchema as cR, managedWalletSchema as cS, managementErrorSchema as cT, managementResponseSchemas as cU, managementResponses as cV, memberAccountSchema as cW, memberDetailSchema as cX, memberIdentityChangeInputSchema as cY, memberIdentityLinkPageSchema as cZ, memberIdentityLinkSchema as c_, grantRecordSchema as ca, grantSchema as cb, hostedAppSchema as cc, hostedAppSecretsSchema as cd, hostedBuildSchema as ce, hostedDeploymentKeySchema as cf, hostedKeyPermissions as cg, hostedKeySchema as ch, hostedKeySecretSchema as ci, hostedManagementBindings as cj, hostedManagementClient as ck, identityLinkRelinkInputSchema as cl, identityLinkSelectorSchema as cm, ingestTrackerScopeSchema as cn, inventoryItemActionSchema as co, inventoryItemPageSchema as cp, inventoryItemRenameSchema as cq, inventoryItemStateSchema as cr, inventorySchema as cs, inventoryStockCorrectionSchema as ct, isManagementError as cu, issuedTokenSchema as cv, leaderboardSettlementRejectionSchema as cw, leaderboardSettlementReviewPageSchema as cx, leaderboardSettlementReviewQuerySchema as cy, leaderboardSettlementReviewSchema as cz, identityKindClaimSchema as d, testMemberResetSchema as d$, memberOAuthUnlinkInputSchema as d0, memberSchema as d1, memberTelegramUnlinkInputSchema as d2, memberWalletSignInInputSchema as d3, memberWalletUnlinkInputSchema as d4, metricsSchema as d5, nextScheduleRun as d6, oauthIdentitySelectorSchema as d7, operationInputSchema as d8, operationSchema as d9, resourceLifecyclePaths as dA, resourceLifecycleResultSchema as dB, rolePermissions as dC, roleSchema as dD, scheduledInvocationSchema as dE, stageRequestSchema as dF, stagedDeploymentContentSchema as dG, stagedDeploymentKey as dH, stagedDeploymentLimits as dI, stagedDeploymentSchema as dJ, stagingAccessInputSchema as dK, stagingAccessModeSchema as dL, stagingAccessSchema as dM, stagingLinkSchema as dN, stagingPathSchema as dO, starterIdSchema as dP, starterTemplates as dQ, stockAdditionSchema as dR, stockInputSchema as dS, teamSchema as dT, telegramBotIdSchema as dU, testMemberActionSchema as dV, testMemberAdvanceSchema as dW, testMemberCreateSchema as dX, testMemberHistoryQuerySchema as dY, testMemberHistorySchema as dZ, testMemberResetResultSchema as d_, operatorUserSchema as da, pageSchema as db, participantSignInInputSchema as dc, participantSignInSchema as dd, permissionSchema as de, personSchema as df, projectDeletionInputSchema as dg, projectDeletionSchema as dh, projectInputSchema as di, projectMetricsSchema as dj, projectSchema as dk, projectSetupSchema as dl, projectTransferInputSchema as dm, projectTransferSchema as dn, projectUpdateInputSchema as dp, querySchema as dq, questEnrollmentStateSchema as dr, questEnrollmentWithdrawalInputSchema as ds, questLifecycleInputSchema as dt, questLifecycleSchema as du, readinessSchema as dv, repositorySchema as dw, resourceArchiveInputSchema as dx, resourceLifecycleInputSchema as dy, resourceLifecycleKindSchema as dz, isIntegrationParticipantPath as e, testMemberSchema as e0, tokenInputSchema as e1, tokenSchema as e2, tokenScopeInputSchema as e3, verifiedPassSchema as e4, verifyScheduledRequest as e5, verifyWebhook as e6, walletBalanceChainsSchema as e7, walletIdentitySelectorSchema as e8, webhookControlInputSchema as e9, webhookDeleteInputSchema as ea, webhookDeliveryPageSchema as eb, webhookDeliverySchema as ec, webhookEndpointSchema as ed, webhookEndpointStateSchema as ee, webhookEventSchema as ef, webhookInputSchema as eg, webhookQuerySchema as eh, webhookSecretSchema as ei, webhookStatePageSchema as ej, webhookStateQuerySchema as ek, webhookUpdateSchema as el, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };
|