@domino-sdk/relay 1.36.0 → 1.38.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/{attempt-captures-B2Clh9Df.d.ts → attempt-captures-CSiN1HKd.d.ts} +1 -1
- package/dist/authoring.d.ts +62 -47
- package/dist/authoring.js +14 -6
- package/dist/{automatic-outcomes-BiarOoiy.d.ts → automatic-outcomes-DDbgRubQ.d.ts} +1 -1
- package/dist/browser.d.ts +6 -6
- package/dist/browser.js +10 -10
- package/dist/{chunk-2A4LCKTU.js → chunk-2CP3SULY.js} +9 -2
- package/dist/{chunk-FTB7F5IP.js → chunk-B65YJ6K4.js} +1 -1
- package/dist/{chunk-LNPV4J53.js → chunk-BYX27T2S.js} +2 -2
- package/dist/{chunk-K7PUCZJY.js → chunk-CHQWG5KQ.js} +12 -10
- package/dist/{chunk-JXFRKZGL.js → chunk-CRX274HO.js} +1 -1
- package/dist/{chunk-R5NQEW5J.js → chunk-DZZ5GSJ6.js} +2 -2
- package/dist/{chunk-SB3ODDGR.js → chunk-FTGW72A6.js} +1 -1
- package/dist/{chunk-GI6RO43K.js → chunk-JYHRPMCE.js} +8 -2
- package/dist/{chunk-JHHTQ73D.js → chunk-KEYQHJHU.js} +6 -6
- package/dist/{chunk-S37JPI5O.js → chunk-KTHHGZSJ.js} +1 -1
- package/dist/{chunk-RIMESZ4X.js → chunk-OEO5OBY5.js} +35 -3
- package/dist/{chunk-U735N4KB.js → chunk-SBW52XXL.js} +1 -1
- package/dist/{chunk-Z2EN4ERZ.js → chunk-V7KYVH3Z.js} +1 -1
- package/dist/{chunk-NQDZX3D2.js → chunk-YNQPFRQO.js} +7 -2
- package/dist/{chunk-L33BQLNF.js → chunk-Z3SG7LKF.js} +4 -4
- package/dist/{chunk-3KCKA2XH.js → chunk-ZT7FPD7B.js} +1 -1
- package/dist/{client-CraOIr8b.d.ts → client-DjwKrpFo.d.ts} +19 -4
- package/dist/{deployments-DTaJPDsl.d.ts → deployments-DYeuxXYg.d.ts} +257 -213
- package/dist/{groups-DTsvf0Z2.d.ts → groups-JzAQ2JIN.d.ts} +9 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-DFJ4dmR3.d.ts → offers-CIDAJEYs.d.ts} +2 -2
- package/dist/{pages-B5agdH0f.d.ts → pages-DR2YRvAp.d.ts} +20 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +29 -18
- package/dist/react/index.js +60 -17
- package/dist/{schema--jNn3OfJ.d.ts → schema-Cgmj-CbC.d.ts} +18 -1
- package/dist/schema.d.ts +341 -320
- package/dist/schema.js +11 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +104 -16
- package/dist/{submission-input-BHzSin84.d.ts → submission-input-UBqB8NFC.d.ts} +2 -2
- package/dist/{telegram-browser-B1LFWF_v.d.ts → telegram-browser-2IllFeh-.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-4QyqeZLU.d.ts → transport-B3DkXMNu.d.ts} +3612 -3080
- package/dist/{x-imfTy_I1.d.ts → x-vVG6gZqi.d.ts} +1 -1
- package/package.json +1 -1
package/dist/schema.js
CHANGED
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
rejectDeploymentSchema,
|
|
43
43
|
rollbackDeploymentSchema,
|
|
44
44
|
submitDeploymentSchema
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KEYQHJHU.js";
|
|
46
46
|
import {
|
|
47
47
|
capabilityErrorCodes,
|
|
48
48
|
capabilityFailureSchema
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
xUserLookupInputSchema,
|
|
69
69
|
xUserSchema,
|
|
70
70
|
xUsernameSchema
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-V7KYVH3Z.js";
|
|
72
72
|
import {
|
|
73
73
|
QuestOutcomeState,
|
|
74
74
|
RewardDeliveryAction,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
rewardDeliverySchema,
|
|
118
118
|
roleReconciliationSchema,
|
|
119
119
|
saveQuestDraftSchema
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-JYHRPMCE.js";
|
|
121
121
|
import {
|
|
122
122
|
AVATAR_UPLOAD_LIMIT,
|
|
123
123
|
PointEntryKind,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
referralRewardResolutionSchema,
|
|
237
237
|
referralSummarySchema,
|
|
238
238
|
referralSuspensionSchema
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-2CP3SULY.js";
|
|
240
240
|
import {
|
|
241
241
|
telegramAccountConnectionSchema,
|
|
242
242
|
telegramChatConnectionSchema,
|
|
@@ -250,7 +250,7 @@ import {
|
|
|
250
250
|
telegramReactionDataSchema,
|
|
251
251
|
telegramReactionsNamespace,
|
|
252
252
|
telegramSignInMethodsSchema
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-B65YJ6K4.js";
|
|
254
254
|
import {
|
|
255
255
|
authScopeSchema,
|
|
256
256
|
exchangeResultSchema,
|
|
@@ -261,7 +261,7 @@ import {
|
|
|
261
261
|
principalSchema,
|
|
262
262
|
sessionMember,
|
|
263
263
|
sessionSchema
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-FTGW72A6.js";
|
|
265
265
|
import {
|
|
266
266
|
AttemptStatus,
|
|
267
267
|
CompletionSourceKind,
|
|
@@ -436,6 +436,8 @@ import {
|
|
|
436
436
|
responseListSchema,
|
|
437
437
|
responseSchema,
|
|
438
438
|
responseShape,
|
|
439
|
+
retryCooldownMsSchema,
|
|
440
|
+
retryCooldownPolicy,
|
|
439
441
|
reviewItemSchema,
|
|
440
442
|
reviewListSchema,
|
|
441
443
|
reviewModeSchema,
|
|
@@ -546,7 +548,7 @@ import {
|
|
|
546
548
|
xPostId,
|
|
547
549
|
xSearchSourceSchema,
|
|
548
550
|
xTweetSchema
|
|
549
|
-
} from "./chunk-
|
|
551
|
+
} from "./chunk-OEO5OBY5.js";
|
|
550
552
|
export {
|
|
551
553
|
AVATAR_UPLOAD_LIMIT,
|
|
552
554
|
AttemptStatus,
|
|
@@ -942,6 +944,8 @@ export {
|
|
|
942
944
|
responseListSchema,
|
|
943
945
|
responseSchema,
|
|
944
946
|
responseShape,
|
|
947
|
+
retryCooldownMsSchema,
|
|
948
|
+
retryCooldownPolicy,
|
|
945
949
|
reviewItemSchema,
|
|
946
950
|
reviewListSchema,
|
|
947
951
|
reviewModeSchema,
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { ah as CompletionSource, ai as CompletionSourceKind, ao as KnownCompletionSourceKind, bs as entitlementCorrectionSchema, bu as entitlementSchema, bI as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues,
|
|
2
|
-
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 CredentialSecret, a8 as DEFAULT_MANAGEMENT_TIMEOUT, a9 as HostedAppSecrets, aa as HostedBuild, ab as HostedDeploymentKey, ac as HostedKey, ad as HostedKeyPermission, ae as HostedManagementEnv, af as IdentityLinkRelinkInput, ag as InventoryItemAction, ah as InventoryItemRename, ai as InventoryItemState, aj as InventoryStockCorrection, ak as KnownMemberImportRefusalCode, al as KnownPayoutSourceKind, am as LeaderboardSettlementRejection, an as LeaderboardSettlementReview, ao as ListQuery, ap as ManagedAttempt, aq as ManagedAttemptPage, ar as ManagedAttemptQuery, as as ManagedEntitlement, at as ManagedEntitlementPage, au as ManagedEntitlementQuery, av as ManagedMemberIdentity, aw as ManagedMemberPage, ax as ManagedMemberProgress, ay as ManagedMemberQuery, az as ManagedOAuthAccount, aA as ManagedQuestEnrollment, aB as ManagedReleasePage, aC as ManagedReleaseQuery, aD as ManagedResource, aE as ManagedStockItem, aF as ManagedTelegramAccount, aG as ManagedWallet, aH as ManagementCallOptions, aI as ManagementClient, aJ as ManagementClientOptions, aK as ManagementError, aL as ManagementErrorCode, aM as ManagementErrorInit, aN as ManagementErrorKind, aO as ManagementPage, aP as ManagementRawInit, aQ as MemberDetail, aR as MemberIdentityLink, aS as MemberIdentityLinkChangeInput, aT as MemberIdentitySelector, aU as MemberIdentitySignInInput, aV as MemberIdentityState, aW as MemberIdentityStatePage, aX as MemberImport, aY as MemberImportAccount, aZ as MemberImportCreateInput, a_ as MemberImportIdentity, a$ as MemberImportListQuery, b0 as MemberImportRefusal, b1 as MemberImportRefusalCode, b2 as MemberImportRow, b3 as MemberImportRowInput, b4 as MemberImportRowQuery, b5 as MemberImportRowResult, b6 as MemberImportRowsInput, b7 as MemberImportSummary, b8 as OperatorUser, b9 as ParticipantSignIn, ba as ParticipantSignInInput, bb as PayoutSourceKind, bc as Permission, bd as Person, be as Project, bf as ProjectMetrics, bg as QuestEnrollmentState, bh as QuestEnrollmentWithdrawalInput, bi as QuestLifecycle, bj as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, bk as ResourceArchiveInput, bl as ResourceLifecycleInput, bm as RevokedDeliveryOutcome, bn as RevokedEntitlementOutcome, bo as RevokedReferralOutcome, bp as ScheduledInvocation, bq as ServiceKey, br as StagedDeployment, bs as StagedDeploymentContent, bt as StagingAccess, bu as StagingAccessInput, bv as StagingLink, bw as StarterId, bx as StarterTemplate, by as TestMember, bz as TestMemberActionInput, bA as TestMemberAdvanceInput, bB as TestMemberCreateInput, bC as TestMemberHistory, bD as TestMemberHistoryQuery, bE as TestMemberResetInput, bF as TestMemberResetResult, bG as TestMemberWallet, bH as TestMemberWalletLinkInput, bI as TestMemberWalletUnlinkInput, bJ as WEBHOOK_MAX_BYTES, bK as WalletBalanceChains, bL as WebhookDeleteInput, bM as WebhookEndpointState, bN as WebhookEvent, bO as accessHistoryQuerySchema, bP as accessSchema, bQ as accountProfileSchema, bR as appIdentitySelectorSchema, bS as appMigrationNameSchema, bT as appRoutingSchema, bU as appScheduleListSchema, bV as appScheduleNameSchema, bW as appSchedulePathSchema, bX as appScheduleRunSchema, bY as appScheduleSchema, bZ as appScheduleStateSchema, b_ as appSchedulesSchema, b$ as appSecretDeclarationSchema, c0 as appSecretDeclarationsSchema, c1 as appSecretInputSchema, c2 as appSecretListSchema, c3 as appSecretNameSchema, c4 as appSecretSchema, c5 as appSecretValueSchema, c6 as appStorageCellSchema, c7 as appStorageKeysSchema, c8 as appStorageKindSchema, c9 as appStorageListSchema, ca as appStorageRowsSchema, cb as appStorageSchema, cc as appStorageTablesSchema, cd as appStorageValueSchema, ce as assetPathSchema, cf as auditPageSchema, cg as auditQuerySchema, ch as auditRecordSchema, ci as balanceCheckSchema, cj as buildArtifactsSchema, ck as buildIdentitySchema, cl as buildPhaseSchema, cm as buildSnapshotSchema, cn as buildStatusSchema, co as commitSchema, cp as compareAppMigrations, cq as completionRevocationSchema, cr as completionRevocationShortfallSchema, cs as completionRevokeSchema, c as containsReferralIntegrationReward, ct as createManagementClient, cu as createRepositorySchema, cv as credentialSecretInputSchema, cw as credentialSecretSchema, cx as developmentPreflightSchema, cy as deviceApproveSchema, cz as deviceRedeemSchema, cA as deviceStartSchema, cB as environmentSchema, cC as grantRecordSchema, cD as grantSchema, cE as hostedAppSchema, cF as hostedAppSecretsSchema, cG as hostedBuildSchema, cH as hostedDeploymentKeySchema, cI as hostedKeyPermissions, cJ as hostedKeySchema, cK as hostedKeySecretSchema, cL as hostedManagementBindings, cM as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cN as identityLinkRelinkInputSchema, cO as identityLinkSelectorSchema, cP as ingestTrackerScopeSchema, cQ as inventoryItemActionSchema, cR as inventoryItemPageSchema, cS as inventoryItemRenameSchema, cT as inventoryItemStateSchema, cU as inventorySchema, cV as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, cW as isManagementError, f as isParticipantRoute, cX as issuedServiceKeySchema, cY as issuedTokenSchema, cZ as leaderboardSettlementRejectionSchema, c_ as leaderboardSettlementReviewPageSchema, c$ as leaderboardSettlementReviewQuerySchema, d0 as leaderboardSettlementReviewSchema, d1 as leaderboardSettlementReviewSummarySchema, d2 as managedAttemptPageSchema, d3 as managedAttemptQuerySchema, d4 as managedAttemptSchema, d5 as managedEntitlementPageSchema, d6 as managedEntitlementQuerySchema, d7 as managedEntitlementSchema, d8 as managedMemberIdentitySchema, d9 as managedMemberPageSchema, da as managedMemberProgressSchema, db as managedMemberQuerySchema, dc as managedOAuthAccountSchema, dd as managedQuestEnrollmentPageSchema, de as managedQuestEnrollmentSchema, df as managedReleasePageSchema, dg as managedReleaseQuerySchema, dh as managedResourceSchema, di as managedStockItemSchema, dj as managedTelegramAccountSchema, dk as managedWalletSchema, dl as managementErrorSchema, dm as managementResponseSchemas, dn as managementResponses, dp as memberAccountSchema, dq as memberDetailSchema, dr as memberIdentityChangeInputSchema, ds as memberIdentityLinkChangeInputSchema, dt as memberIdentityLinkPageSchema, du as memberIdentityLinkSchema, dv as memberIdentitySelectorSchema, dw as memberIdentitySignInInputSchema, dx as memberIdentityStatePageSchema, dy as memberIdentityStateSchema, dz as memberImportAccountSchema, dA as memberImportActionSchema, dB as memberImportCreateSchema, dC as memberImportIdentitySchema, dD as memberImportListQuerySchema, dE as memberImportPageSchema, dF as memberImportRefusalSchema, dG as memberImportRowPageSchema, dH as memberImportRowQuerySchema, dI as memberImportRowResultSchema, dJ as memberImportRowSchema, dK as memberImportRowsInputSchema, dL as memberImportSchema, dM as memberImportSummarySchema, dN as memberLookupSchema, dO as memberOAuthUnlinkInputSchema, dP as memberSchema, dQ as memberTelegramUnlinkInputSchema, dR as memberWalletSignInInputSchema, dS as memberWalletUnlinkInputSchema, dT as metricsSchema, dU as nextScheduleRun, dV as oauthIdentitySelectorSchema, dW as operationInputSchema, dX as operationSchema, dY as operatorUserSchema, dZ as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, d_ as participantSignInInputSchema, d$ as participantSignInSchema, e0 as permissionSchema, e1 as personSchema, e2 as projectDeletionInputSchema, e3 as projectDeletionSchema, e4 as projectInputSchema, e5 as projectMetricsSchema, e6 as projectSchema, e7 as projectSetupSchema, e8 as projectTransferInputSchema, e9 as projectTransferSchema, ea as projectUpdateInputSchema, eb as querySchema, q as questConfiguration, ec as questEnrollmentStateSchema, ed as questEnrollmentWithdrawalInputSchema, ee as questLifecycleInputSchema, ef as questLifecycleSchema, eg as readinessSchema, eh as repositorySchema, ei as resourceArchiveInputSchema, ej as resourceLifecycleInputSchema, ek as resourceLifecycleKindSchema, el as resourceLifecyclePaths, em as resourceLifecycleResultSchema, en as rolePermissions, eo as roleSchema, ep as scheduledInvocationSchema, s as sequenceCursorSchema, eq as serviceKeyInputSchema, er as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, es as stageRequestSchema, et as stagedDeploymentContentSchema, eu as stagedDeploymentKey, ev as stagedDeploymentLimits, ew as stagedDeploymentSchema, ex as stagingAccessInputSchema, ey as stagingAccessModeSchema, ez as stagingAccessSchema, eA as stagingLinkSchema, eB as stagingPathSchema, eC as starterIdSchema, eD as starterTemplates, eE as stockAdditionSchema, eF as stockInputSchema, eG as teamSchema, eH as telegramBotIdSchema, eI as telegramIdentitySelectorSchema, eJ as testMemberActionSchema, eK as testMemberAdvanceSchema, eL as testMemberCreateSchema, eM as testMemberHistoryQuerySchema, eN as testMemberHistorySchema, eO as testMemberResetResultSchema, eP as testMemberResetSchema, eQ as testMemberSchema, eR as testMemberWalletLinkSchema, eS as testMemberWalletSchema, eT as testMemberWalletUnlinkSchema, eU as tokenInputSchema, eV as tokenSchema, eW as tokenScopeInputSchema, v as validateQuestShape, eX as verifiedPassSchema, eY as verifyScheduledRequest, eZ as verifyWebhook, e_ as walletBalanceChainsSchema, e$ as walletIdentitySelectorSchema, f0 as webhookControlInputSchema, f1 as webhookCreateInputSchema, f2 as webhookDeleteInputSchema, f3 as webhookDeliveryPageSchema, f4 as webhookDeliverySchema, f5 as webhookEndpointSchema, f6 as webhookEndpointStateSchema, f7 as webhookEventSchema, f8 as webhookInputSchema, f9 as webhookQuerySchema, fa as webhookRotateInputSchema, fb as webhookSecretSchema, fc as webhookStatePageSchema, fd as webhookStateQuerySchema, fe as webhookUpdateSchema } from '../transport-4QyqeZLU.js';
|
|
3
|
-
export { M as ManagementStateQuery, L as managementStateQuerySchema } from '../pages-
|
|
4
|
-
import '../offers-
|
|
1
|
+
export { ah as CompletionSource, ai as CompletionSourceKind, ao as KnownCompletionSourceKind, bs as entitlementCorrectionSchema, bu as entitlementSchema, bI as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues, d9 as trackerTriggerOutcomePageSchema, w as whereSchemaIssue } from '../schema-Cgmj-CbC.js';
|
|
2
|
+
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_RESULT_BYTES, y as APP_SCHEDULE_TIMEOUT, z as APP_SECRET_LIMIT, B as APP_SQL_LIMIT, C as APP_STORAGE_CELL_CHARACTERS, D as APP_STORAGE_PREVIEW_CHARACTERS, E as APP_STORAGE_ROW_LIMIT, F as Access, G as AccessHistoryQuery, H as AppSchedule, J as AppScheduleDiagnostic, K as AppScheduleList, L as AppScheduleResult, N as AppScheduleRun, O as AppScheduleRuns, Q as AppSchedules, S as AppSecret, T as AppSecretDeclaration, U as AppSecretInput, V as AppSecretList, W as AppStorage, X as AppStorageCell, Y as AppStorageCellPage, Z as AppStorageKeys, _ as AppStorageKind, $ as AppStorageList, a0 as AppStorageRows, a1 as AppStorageTables, a2 as AppStorageValue, a3 as AuditPage, a4 as AuditQuery, a5 as AuditRecord, a6 as BalanceCheck, a7 as BuildArtifacts, a8 as BuildIdentity, a9 as BuildSnapshot, aa as BuildStatus, ab as CompletionRevocation, ac as CompletionRevocationShortfall, ad as CompletionRevokeInput, ae as CredentialSecret, af as DEFAULT_MANAGEMENT_TIMEOUT, ag as HostedAppSecrets, ah as HostedBuild, ai as HostedDeploymentKey, aj as HostedKey, ak as HostedKeyPermission, al as HostedManagementEnv, am as IdentityLinkRelinkInput, an as InventoryItemAction, ao as InventoryItemRename, ap as InventoryItemState, aq as InventoryStockCorrection, ar as KnownMemberImportRefusalCode, as as KnownPayoutSourceKind, at as LeaderboardSettlementRejection, au as LeaderboardSettlementReview, av as ListQuery, aw as ManagedAttempt, ax as ManagedAttemptPage, ay as ManagedAttemptQuery, az as ManagedEntitlement, aA as ManagedEntitlementPage, aB as ManagedEntitlementQuery, aC as ManagedMemberIdentity, aD as ManagedMemberPage, aE as ManagedMemberProgress, aF as ManagedMemberQuery, aG as ManagedOAuthAccount, aH as ManagedQuestEnrollment, aI as ManagedReleasePage, aJ as ManagedReleaseQuery, aK as ManagedResource, aL as ManagedStockItem, aM as ManagedTelegramAccount, aN as ManagedWallet, aO as ManagementCallOptions, aP as ManagementClient, aQ as ManagementClientOptions, aR as ManagementError, aS as ManagementErrorCode, aT as ManagementErrorInit, aU as ManagementErrorKind, aV as ManagementPage, aW as ManagementRawInit, aX as MemberDetail, aY as MemberIdentityLink, aZ as MemberIdentityLinkChangeInput, a_ as MemberIdentitySelector, a$ as MemberIdentitySignInInput, b0 as MemberIdentityState, b1 as MemberIdentityStatePage, b2 as MemberImport, b3 as MemberImportAccount, b4 as MemberImportCreateInput, b5 as MemberImportIdentity, b6 as MemberImportListQuery, b7 as MemberImportRefusal, b8 as MemberImportRefusalCode, b9 as MemberImportRow, ba as MemberImportRowInput, bb as MemberImportRowQuery, bc as MemberImportRowResult, bd as MemberImportRowsInput, be as MemberImportSummary, bf as OperatorUser, bg as ParticipantSignIn, bh as ParticipantSignInInput, bi as PayoutSourceKind, bj as Permission, bk as Person, bl as Project, bm as ProjectMetrics, bn as QuestEnrollmentState, bo as QuestEnrollmentWithdrawalInput, bp as QuestLifecycle, bq as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, br as ResourceArchiveInput, bs as ResourceLifecycleInput, bt as RevokedDeliveryOutcome, bu as RevokedEntitlementOutcome, bv as RevokedReferralOutcome, bw as ScheduledInvocation, bx as ServiceKey, by as StagedDeployment, bz as StagedDeploymentContent, bA as StagingAccess, bB as StagingAccessInput, bC as StagingLink, bD as StarterId, bE as StarterTemplate, bF as TestMember, bG as TestMemberActionInput, bH as TestMemberAdvanceInput, bI as TestMemberCreateInput, bJ as TestMemberHistory, bK as TestMemberHistoryQuery, bL as TestMemberResetInput, bM as TestMemberResetResult, bN as TestMemberWallet, bO as TestMemberWalletLinkInput, bP as TestMemberWalletUnlinkInput, bQ as WEBHOOK_MAX_BYTES, bR as WalletBalanceChains, bS as WebhookDeleteInput, bT as WebhookEndpointState, bU as WebhookEvent, bV as accessHistoryQuerySchema, bW as accessSchema, bX as accountProfileSchema, bY as appIdentitySelectorSchema, bZ as appMigrationNameSchema, b_ as appRoutingSchema, b$ as appScheduleDiagnosticSchema, c0 as appScheduleListSchema, c1 as appScheduleNameSchema, c2 as appSchedulePathSchema, c3 as appScheduleResultSchema, c4 as appScheduleRunSchema, c5 as appScheduleRunsSchema, c6 as appScheduleSchema, c7 as appScheduleStateSchema, c8 as appSchedulesSchema, c9 as appSecretDeclarationSchema, ca as appSecretDeclarationsSchema, cb as appSecretInputSchema, cc as appSecretListSchema, cd as appSecretNameSchema, ce as appSecretSchema, cf as appSecretValueSchema, cg as appStorageCellPageSchema, ch as appStorageCellSchema, ci as appStorageKeysSchema, cj as appStorageKindSchema, ck as appStorageListSchema, cl as appStorageRowsSchema, cm as appStorageSchema, cn as appStorageTablesSchema, co as appStorageValueSchema, cp as assetPathSchema, cq as auditPageSchema, cr as auditQuerySchema, cs as auditRecordSchema, ct as balanceCheckSchema, cu as buildArtifactsSchema, cv as buildIdentitySchema, cw as buildPhaseSchema, cx as buildSnapshotSchema, cy as buildStatusSchema, cz as commitSchema, cA as compareAppMigrations, cB as completionRevocationSchema, cC as completionRevocationShortfallSchema, cD as completionRevokeSchema, c as containsReferralIntegrationReward, cE as createManagementClient, cF as createRepositorySchema, cG as credentialSecretInputSchema, cH as credentialSecretSchema, cI as developmentPreflightSchema, cJ as deviceApproveSchema, cK as deviceRedeemSchema, cL as deviceStartSchema, cM as environmentSchema, cN as grantRecordSchema, cO as grantSchema, cP as hostedAppSchema, cQ as hostedAppSecretsSchema, cR as hostedBuildSchema, cS as hostedDeploymentKeySchema, cT as hostedKeyPermissions, cU as hostedKeySchema, cV as hostedKeySecretSchema, cW as hostedManagementBindings, cX as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, cY as identityLinkRelinkInputSchema, cZ as identityLinkSelectorSchema, c_ as ingestTrackerScopeSchema, c$ as inventoryItemActionSchema, d0 as inventoryItemPageSchema, d1 as inventoryItemRenameSchema, d2 as inventoryItemStateSchema, d3 as inventorySchema, d4 as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, d5 as isManagementError, f as isParticipantRoute, d6 as issuedServiceKeySchema, d7 as issuedTokenSchema, d8 as leaderboardSettlementRejectionSchema, d9 as leaderboardSettlementReviewPageSchema, da as leaderboardSettlementReviewQuerySchema, db as leaderboardSettlementReviewSchema, dc as leaderboardSettlementReviewSummarySchema, dd as managedAttemptPageSchema, de as managedAttemptQuerySchema, df as managedAttemptSchema, dg as managedEntitlementPageSchema, dh as managedEntitlementQuerySchema, di as managedEntitlementSchema, dj as managedMemberIdentitySchema, dk as managedMemberPageSchema, dl as managedMemberProgressSchema, dm as managedMemberQuerySchema, dn as managedOAuthAccountSchema, dp as managedQuestEnrollmentPageSchema, dq as managedQuestEnrollmentSchema, dr as managedReleasePageSchema, ds as managedReleaseQuerySchema, dt as managedResourceSchema, du as managedStockItemSchema, dv as managedTelegramAccountSchema, dw as managedWalletSchema, dx as managementErrorSchema, dy as managementResponseSchemas, dz as managementResponses, dA as memberAccountSchema, dB as memberDetailSchema, dC as memberIdentityChangeInputSchema, dD as memberIdentityLinkChangeInputSchema, dE as memberIdentityLinkPageSchema, dF as memberIdentityLinkSchema, dG as memberIdentitySelectorSchema, dH as memberIdentitySignInInputSchema, dI as memberIdentityStatePageSchema, dJ as memberIdentityStateSchema, dK as memberImportAccountSchema, dL as memberImportActionSchema, dM as memberImportCreateSchema, dN as memberImportIdentitySchema, dO as memberImportListQuerySchema, dP as memberImportPageSchema, dQ as memberImportRefusalSchema, dR as memberImportRowPageSchema, dS as memberImportRowQuerySchema, dT as memberImportRowResultSchema, dU as memberImportRowSchema, dV as memberImportRowsInputSchema, dW as memberImportSchema, dX as memberImportSummarySchema, dY as memberLookupSchema, dZ as memberOAuthUnlinkInputSchema, d_ as memberSchema, d$ as memberTelegramUnlinkInputSchema, e0 as memberWalletSignInInputSchema, e1 as memberWalletUnlinkInputSchema, e2 as metricsSchema, e3 as nextScheduleRun, e4 as oauthIdentitySelectorSchema, e5 as operationInputSchema, e6 as operationSchema, e7 as operatorUserSchema, e8 as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, e9 as participantSignInInputSchema, ea as participantSignInSchema, eb as permissionSchema, ec as personSchema, ed as projectDeletionInputSchema, ee as projectDeletionSchema, ef as projectInputSchema, eg as projectMetricsSchema, eh as projectSchema, ei as projectSetupSchema, ej as projectTransferInputSchema, ek as projectTransferSchema, el as projectUpdateInputSchema, em as querySchema, q as questConfiguration, en as questEnrollmentStateSchema, eo as questEnrollmentWithdrawalInputSchema, ep as questLifecycleInputSchema, eq as questLifecycleSchema, er as readinessSchema, es as repositorySchema, et as resourceArchiveInputSchema, eu as resourceLifecycleInputSchema, ev as resourceLifecycleKindSchema, ew as resourceLifecyclePaths, ex as resourceLifecycleResultSchema, ey as rolePermissions, ez as roleSchema, eA as scheduleResult, eB as scheduledInvocationSchema, s as sequenceCursorSchema, eC as serviceKeyInputSchema, eD as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, eE as stageRequestSchema, eF as stagedDeploymentContentSchema, eG as stagedDeploymentKey, eH as stagedDeploymentLimits, eI as stagedDeploymentSchema, eJ as stagingAccessInputSchema, eK as stagingAccessModeSchema, eL as stagingAccessSchema, eM as stagingLinkSchema, eN as stagingPathSchema, eO as starterIdSchema, eP as starterTemplates, eQ as stockAdditionSchema, eR as stockInputSchema, eS as teamSchema, eT as telegramBotIdSchema, eU as telegramIdentitySelectorSchema, eV as testMemberActionSchema, eW as testMemberAdvanceSchema, eX as testMemberCreateSchema, eY as testMemberHistoryQuerySchema, eZ as testMemberHistorySchema, e_ as testMemberResetResultSchema, e$ as testMemberResetSchema, f0 as testMemberSchema, f1 as testMemberWalletLinkSchema, f2 as testMemberWalletSchema, f3 as testMemberWalletUnlinkSchema, f4 as tokenInputSchema, f5 as tokenSchema, f6 as tokenScopeInputSchema, v as validateQuestShape, f7 as verifiedPassSchema, f8 as verifyScheduledRequest, f9 as verifyWebhook, fa as walletBalanceChainsSchema, fb as walletIdentitySelectorSchema, fc as webhookControlInputSchema, fd as webhookCreateInputSchema, fe as webhookDeleteInputSchema, ff as webhookDeliveryPageSchema, fg as webhookDeliverySchema, fh as webhookEndpointSchema, fi as webhookEndpointStateSchema, fj as webhookEventSchema, fk as webhookInputSchema, fl as webhookQuerySchema, fm as webhookRotateInputSchema, fn as webhookSecretSchema, fo as webhookStatePageSchema, fp as webhookStateQuerySchema, fq as webhookUpdateSchema } from '../transport-B3DkXMNu.js';
|
|
3
|
+
export { M as ManagementStateQuery, L as managementStateQuerySchema } from '../pages-DR2YRvAp.js';
|
|
4
|
+
import '../offers-CIDAJEYs.js';
|
|
5
5
|
import '../action-DBzILFx9.js';
|
|
6
|
-
export { G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQuery, J as ManagedGroup, S as addGroupMemberSchema, Z as createGroupSchema, ab as engagementRuleVersionPageSchema, ah as groupMemberPageSchema, ai as groupMemberSchema, aj as groupPageQuerySchema, ak as groupPageSchema, aG as managedGroupSchema, aH as managedPointHistoryPageSchema, aR as pointLedgerPropertiesSchema, b6 as referralManagementSchema, b7 as referralQualificationSchema, b9 as referralRewardResolutionSchema, bb as referralSuspensionSchema, bc as removeGroupMemberSchema, bd as updateGroupSchema } from '../groups-
|
|
6
|
+
export { G as GroupMember, y as GroupMemberPage, z as GroupPage, B as GroupPageQuery, J as ManagedGroup, S as addGroupMemberSchema, Z as createGroupSchema, ab as engagementRuleVersionPageSchema, ah as groupMemberPageSchema, ai as groupMemberSchema, aj as groupPageQuerySchema, ak as groupPageSchema, aG as managedGroupSchema, aH as managedPointHistoryPageSchema, aR as pointLedgerPropertiesSchema, b6 as referralManagementSchema, b7 as referralQualificationSchema, b9 as referralRewardResolutionSchema, bb as referralSuspensionSchema, bc as removeGroupMemberSchema, bd as updateGroupSchema } from '../groups-JzAQ2JIN.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../profiles-BHuQdzsW.js';
|
|
9
|
-
import '../automatic-outcomes-
|
|
10
|
-
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-
|
|
11
|
-
export { f as activityTypeSchema, g as activityTypes, j as deploymentActionSchema, o as deploymentRejectionSchema } from '../deployments-
|
|
12
|
-
export { E as Extracted } from '../x-
|
|
9
|
+
import '../automatic-outcomes-DDbgRubQ.js';
|
|
10
|
+
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-CSiN1HKd.js';
|
|
11
|
+
export { f as activityTypeSchema, g as activityTypes, j as deploymentActionSchema, o as deploymentRejectionSchema } from '../deployments-DYeuxXYg.js';
|
|
12
|
+
export { E as Extracted } from '../x-vVG6gZqi.js';
|
package/dist/server/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
attemptCaptureSchema,
|
|
3
3
|
capturedFactSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ZT7FPD7B.js";
|
|
5
5
|
import {
|
|
6
6
|
activityTypeSchema,
|
|
7
7
|
activityTypes,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
publishDeploymentSchema,
|
|
28
28
|
rejectDeploymentSchema,
|
|
29
29
|
submitDeploymentSchema
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-KEYQHJHU.js";
|
|
31
31
|
import "../chunk-4OC7REYX.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MANAGEMENT_TIMEOUT,
|
|
@@ -48,21 +48,21 @@ import {
|
|
|
48
48
|
participantExchangeSchema,
|
|
49
49
|
questConfiguration,
|
|
50
50
|
sequenceCursorSchema
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-Z3SG7LKF.js";
|
|
52
52
|
import {
|
|
53
53
|
parseImageExtraction,
|
|
54
54
|
parseImageResult
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-BYX27T2S.js";
|
|
56
56
|
import {
|
|
57
57
|
imageAssetArtifactSchema,
|
|
58
58
|
xUserLookupInputSchema,
|
|
59
59
|
xUserSchema
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-V7KYVH3Z.js";
|
|
61
61
|
import {
|
|
62
62
|
sourceDataSchema,
|
|
63
63
|
sourceRoles,
|
|
64
64
|
validateQuestShape
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-YNQPFRQO.js";
|
|
66
66
|
import {
|
|
67
67
|
isIntegrationParticipantPath,
|
|
68
68
|
isParticipantRoute,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "../chunk-DP4YWFMY.js";
|
|
72
72
|
import {
|
|
73
73
|
withActionId
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-CRX274HO.js";
|
|
75
75
|
import {
|
|
76
76
|
allocateQuestSchema,
|
|
77
77
|
allocatedQuestSchema,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
rewardDeliveryQuerySchema,
|
|
91
91
|
rewardDeliverySchema,
|
|
92
92
|
saveQuestDraftSchema
|
|
93
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-JYHRPMCE.js";
|
|
94
94
|
import {
|
|
95
95
|
badgeMutationResultSchema,
|
|
96
96
|
badgeMutationSchema,
|
|
@@ -144,15 +144,15 @@ import {
|
|
|
144
144
|
referralQualificationSchema,
|
|
145
145
|
referralRewardResolutionSchema,
|
|
146
146
|
referralSuspensionSchema
|
|
147
|
-
} from "../chunk-
|
|
147
|
+
} from "../chunk-2CP3SULY.js";
|
|
148
148
|
import {
|
|
149
149
|
telegramChatConnectionSchema,
|
|
150
150
|
telegramChatIdSchema,
|
|
151
151
|
telegramChatsSchema
|
|
152
|
-
} from "../chunk-
|
|
153
|
-
import "../chunk-
|
|
154
|
-
import "../chunk-
|
|
155
|
-
import "../chunk-
|
|
152
|
+
} from "../chunk-B65YJ6K4.js";
|
|
153
|
+
import "../chunk-SBW52XXL.js";
|
|
154
|
+
import "../chunk-KTHHGZSJ.js";
|
|
155
|
+
import "../chunk-FTGW72A6.js";
|
|
156
156
|
import {
|
|
157
157
|
CompletionSourceKind,
|
|
158
158
|
addGroupMemberSchema,
|
|
@@ -241,7 +241,7 @@ import {
|
|
|
241
241
|
walletSignInNetworksSchema,
|
|
242
242
|
walletUnlinkInputSchema,
|
|
243
243
|
whereSchemaIssue
|
|
244
|
-
} from "../chunk-
|
|
244
|
+
} from "../chunk-OEO5OBY5.js";
|
|
245
245
|
|
|
246
246
|
// src/server/identity-links.ts
|
|
247
247
|
import * as z from "zod";
|
|
@@ -948,6 +948,36 @@ function nextScheduleRun(schedule, after) {
|
|
|
948
948
|
return next.getTime();
|
|
949
949
|
}
|
|
950
950
|
var appScheduleStateSchema = z10.enum(["active", "paused", "archived"]);
|
|
951
|
+
var APP_SCHEDULE_RESULT_BYTES = 16384;
|
|
952
|
+
var appScheduleDiagnosticSchema = z10.object({
|
|
953
|
+
level: z10.enum(["error", "warning", "info"]),
|
|
954
|
+
message: z10.string().min(1).max(500),
|
|
955
|
+
/** What the line is about, such as a member, record or tracker ID. */
|
|
956
|
+
subject: z10.string().min(1).max(200).optional(),
|
|
957
|
+
/** A stable code the app chooses, such as `ingest-timeout`. */
|
|
958
|
+
code: z10.string().min(1).max(100).optional()
|
|
959
|
+
});
|
|
960
|
+
var appScheduleResultSchema = z10.object({
|
|
961
|
+
outcome: z10.enum(["succeeded", "partial", "failed"]),
|
|
962
|
+
summary: z10.string().min(1).max(500).optional(),
|
|
963
|
+
/** Counts and gauges, such as processed and failed members. */
|
|
964
|
+
metrics: z10.record(z10.string().regex(/^[A-Za-z][\w.-]{0,63}$/), z10.number()).refine(
|
|
965
|
+
(metrics) => Object.keys(metrics).length <= 50,
|
|
966
|
+
"Report at most 50 metrics"
|
|
967
|
+
).optional(),
|
|
968
|
+
diagnostics: z10.array(appScheduleDiagnosticSchema).max(50).optional()
|
|
969
|
+
});
|
|
970
|
+
function scheduleResult(result) {
|
|
971
|
+
const body = JSON.stringify(appScheduleResultSchema.parse(result));
|
|
972
|
+
if (new TextEncoder().encode(body).byteLength > APP_SCHEDULE_RESULT_BYTES) {
|
|
973
|
+
throw new Error(
|
|
974
|
+
`A schedule result must be at most ${APP_SCHEDULE_RESULT_BYTES.toLocaleString("en-US")} bytes of JSON: send fewer or shorter diagnostics`
|
|
975
|
+
);
|
|
976
|
+
}
|
|
977
|
+
return new Response(body, {
|
|
978
|
+
headers: { "Content-Type": "application/json" }
|
|
979
|
+
});
|
|
980
|
+
}
|
|
951
981
|
var appScheduleRunSchema = z10.object({
|
|
952
982
|
id: z10.string().uuid(),
|
|
953
983
|
build: z10.string().uuid(),
|
|
@@ -956,7 +986,14 @@ var appScheduleRunSchema = z10.object({
|
|
|
956
986
|
manual: z10.boolean(),
|
|
957
987
|
status: z10.enum(["queued", "running", "succeeded", "failed", "uncertain"]),
|
|
958
988
|
duration: z10.number().nullable(),
|
|
959
|
-
|
|
989
|
+
/** Why the run failed or is uncertain, or why Relay ignored the app's result. */
|
|
990
|
+
error: z10.string().nullable(),
|
|
991
|
+
/** The app's JSON answer when it sent a valid result. Absent on runs from before results. */
|
|
992
|
+
result: appScheduleResultSchema.nullable().optional()
|
|
993
|
+
});
|
|
994
|
+
var appScheduleRunsSchema = z10.object({
|
|
995
|
+
/** Newest first: the latest twenty runs of one schedule, including a queued or running one. */
|
|
996
|
+
runs: z10.array(appScheduleRunSchema)
|
|
960
997
|
});
|
|
961
998
|
var appScheduleListSchema = z10.object({
|
|
962
999
|
state: appScheduleStateSchema,
|
|
@@ -1192,6 +1229,23 @@ var appStorageValueSchema = z12.object({
|
|
|
1192
1229
|
text: z12.string().nullable(),
|
|
1193
1230
|
truncated: z12.boolean()
|
|
1194
1231
|
});
|
|
1232
|
+
var APP_STORAGE_CELL_CHARACTERS = 1e5;
|
|
1233
|
+
var appStorageCellPageSchema = z12.object({
|
|
1234
|
+
table: z12.string(),
|
|
1235
|
+
column: z12.string(),
|
|
1236
|
+
/** The row's position in storage order: a rows page's `offset` plus its index on that page. */
|
|
1237
|
+
row: z12.number().int().min(0),
|
|
1238
|
+
/** SQLite's storage class. */
|
|
1239
|
+
type: z12.enum(["text", "integer", "real", "blob", "null"]),
|
|
1240
|
+
/** Characters of text, or of a number's text form; bytes of a BLOB; null for NULL. */
|
|
1241
|
+
length: z12.number().int().min(0).nullable(),
|
|
1242
|
+
/** How many characters come before this page. */
|
|
1243
|
+
offset: z12.number().int().min(0),
|
|
1244
|
+
/** Up to 100,000 characters from `offset`. Null for a BLOB, whose bytes are never read, and NULL. */
|
|
1245
|
+
text: z12.string().nullable(),
|
|
1246
|
+
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
1247
|
+
nextCursor: pageCursorSchema.nullable().default(null)
|
|
1248
|
+
});
|
|
1195
1249
|
var appMigrationNameSchema = z12.string().max(255).regex(/^[\w-][\w.-]*\.sql$/);
|
|
1196
1250
|
function compareAppMigrations(a, b) {
|
|
1197
1251
|
const left = Number.parseInt(a.split("_")[0], 10);
|
|
@@ -1859,7 +1913,7 @@ var auditRecordSchema = z15.object({
|
|
|
1859
1913
|
detail: z15.string(),
|
|
1860
1914
|
at: z15.number(),
|
|
1861
1915
|
attempt: z15.string().nullable()
|
|
1862
|
-
}).refine((
|
|
1916
|
+
}).refine((record5) => !record5.user || record5.user.id === record5.actor, {
|
|
1863
1917
|
message: "User profile must match the recorded actor",
|
|
1864
1918
|
path: ["user"]
|
|
1865
1919
|
});
|
|
@@ -4023,6 +4077,12 @@ function managementClient(options) {
|
|
|
4023
4077
|
*/
|
|
4024
4078
|
schedules: {
|
|
4025
4079
|
list: (call) => get("/schedules", appScheduleListSchema, call),
|
|
4080
|
+
/** One schedule's latest twenty runs, newest first, each with the app's result. */
|
|
4081
|
+
runs: (name, call) => get(
|
|
4082
|
+
`/schedules/${appScheduleNameSchema.parse(name)}/runs`,
|
|
4083
|
+
appScheduleRunsSchema,
|
|
4084
|
+
call
|
|
4085
|
+
),
|
|
4026
4086
|
run: (name, call) => post(
|
|
4027
4087
|
`/schedules/${appScheduleNameSchema.parse(name)}/run`,
|
|
4028
4088
|
appScheduleListSchema,
|
|
@@ -4062,6 +4122,23 @@ function managementClient(options) {
|
|
|
4062
4122
|
appStorageRowsSchema,
|
|
4063
4123
|
call
|
|
4064
4124
|
),
|
|
4125
|
+
/**
|
|
4126
|
+
* One SQL value in full, 100,000 characters at a time, where a rows page shows a preview. `row`
|
|
4127
|
+
* is the row's position in storage order: its page's `offset` plus its index on that page.
|
|
4128
|
+
* Pass a page's `nextCursor` back as `cursor` for the next characters.
|
|
4129
|
+
*/
|
|
4130
|
+
cell: (name, table, options2, call) => get(
|
|
4131
|
+
`/storage/sql/${appSecretNameSchema.parse(name)}/cell?${new URLSearchParams(
|
|
4132
|
+
{
|
|
4133
|
+
table,
|
|
4134
|
+
row: String(z15.number().int().min(0).parse(options2.row)),
|
|
4135
|
+
column: options2.column,
|
|
4136
|
+
...options2.cursor === void 0 ? {} : { cursor: pageCursorSchema.parse(options2.cursor) }
|
|
4137
|
+
}
|
|
4138
|
+
)}`,
|
|
4139
|
+
appStorageCellPageSchema,
|
|
4140
|
+
call
|
|
4141
|
+
),
|
|
4065
4142
|
/** One page of a KV store's keys. Pass a page's `nextCursor` back as `cursor` for the next. */
|
|
4066
4143
|
keys: (name, options2 = {}, call) => get(
|
|
4067
4144
|
`/storage/kv/${appSecretNameSchema.parse(name)}/keys?${new URLSearchParams(
|
|
@@ -4398,6 +4475,9 @@ var managementResponseSchemas = lazyResponseReaders({
|
|
|
4398
4475
|
get appSecretSchema() {
|
|
4399
4476
|
return knownResponse(appSecretSchema);
|
|
4400
4477
|
},
|
|
4478
|
+
get appStorageCellPageSchema() {
|
|
4479
|
+
return knownResponse(appStorageCellPageSchema);
|
|
4480
|
+
},
|
|
4401
4481
|
get appStorageKeysSchema() {
|
|
4402
4482
|
return knownResponse(appStorageKeysSchema);
|
|
4403
4483
|
},
|
|
@@ -4792,6 +4872,7 @@ var managementResponses = {
|
|
|
4792
4872
|
allocatedQuestSchema: responseSchema(allocatedQuestSchema),
|
|
4793
4873
|
appSecretListSchema: responseSchema(appSecretListSchema),
|
|
4794
4874
|
appSecretSchema: responseSchema(appSecretSchema),
|
|
4875
|
+
appStorageCellPageSchema: responseSchema(appStorageCellPageSchema),
|
|
4795
4876
|
appStorageKeysSchema: responseSchema(appStorageKeysSchema),
|
|
4796
4877
|
appStorageListSchema: responseSchema(appStorageListSchema),
|
|
4797
4878
|
appStorageRowsSchema: responseSchema(appStorageRowsSchema),
|
|
@@ -4933,9 +5014,11 @@ export {
|
|
|
4933
5014
|
APP_MIGRATION_TOTAL_BYTES,
|
|
4934
5015
|
APP_SCHEDULE_LIMIT,
|
|
4935
5016
|
APP_SCHEDULE_MIN_INTERVAL,
|
|
5017
|
+
APP_SCHEDULE_RESULT_BYTES,
|
|
4936
5018
|
APP_SCHEDULE_TIMEOUT,
|
|
4937
5019
|
APP_SECRET_LIMIT,
|
|
4938
5020
|
APP_SQL_LIMIT,
|
|
5021
|
+
APP_STORAGE_CELL_CHARACTERS,
|
|
4939
5022
|
APP_STORAGE_PREVIEW_CHARACTERS,
|
|
4940
5023
|
APP_STORAGE_ROW_LIMIT,
|
|
4941
5024
|
CompletionSourceKind,
|
|
@@ -4958,10 +5041,13 @@ export {
|
|
|
4958
5041
|
appIdentitySelectorSchema,
|
|
4959
5042
|
appMigrationNameSchema,
|
|
4960
5043
|
appRoutingSchema,
|
|
5044
|
+
appScheduleDiagnosticSchema,
|
|
4961
5045
|
appScheduleListSchema,
|
|
4962
5046
|
appScheduleNameSchema,
|
|
4963
5047
|
appSchedulePathSchema,
|
|
5048
|
+
appScheduleResultSchema,
|
|
4964
5049
|
appScheduleRunSchema,
|
|
5050
|
+
appScheduleRunsSchema,
|
|
4965
5051
|
appScheduleSchema,
|
|
4966
5052
|
appScheduleStateSchema,
|
|
4967
5053
|
appSchedulesSchema,
|
|
@@ -4972,6 +5058,7 @@ export {
|
|
|
4972
5058
|
appSecretNameSchema,
|
|
4973
5059
|
appSecretSchema,
|
|
4974
5060
|
appSecretValueSchema,
|
|
5061
|
+
appStorageCellPageSchema,
|
|
4975
5062
|
appStorageCellSchema,
|
|
4976
5063
|
appStorageKeysSchema,
|
|
4977
5064
|
appStorageKindSchema,
|
|
@@ -5152,6 +5239,7 @@ export {
|
|
|
5152
5239
|
resourceLifecycleResultSchema,
|
|
5153
5240
|
rolePermissions,
|
|
5154
5241
|
roleSchema,
|
|
5242
|
+
scheduleResult,
|
|
5155
5243
|
scheduledInvocationSchema,
|
|
5156
5244
|
sequenceCursorSchema,
|
|
5157
5245
|
serviceKeyInputSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { L as LedgerReference, r as QuestHandle } from './schema
|
|
3
|
-
import { p as ProjectGroupReference } from './groups-
|
|
2
|
+
import { L as LedgerReference, r as QuestHandle } from './schema-Cgmj-CbC.js';
|
|
3
|
+
import { p as ProjectGroupReference } from './groups-JzAQ2JIN.js';
|
|
4
4
|
|
|
5
5
|
declare const completionPrerequisiteSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"completion">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as AuthProvider, b as TelegramSignInMethods } from './accounts-DRPENuZe.js';
|
|
2
|
-
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-
|
|
2
|
+
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-DjwKrpFo.js';
|
|
3
3
|
import { b as ParticipantSession } from './participant-activity-CoB2F30C.js';
|
|
4
4
|
import { C as CosmosChain, a as CosmosNetwork, f as WalletSigner, d as WalletSignInNetwork } from './wallet-t7uNDg9p.js';
|
|
5
5
|
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { bI as memberIdentitySchema,
|
|
1
|
+
import { bI as memberIdentitySchema, c_ as trackerQuerySchema, cV as trackerPageSchema, d7 as trackerSummarySchema, aM as TrackerContentQuery, cG as trackerContentSchema, bN as photoResultSchema, Y as TextReviewInput, R as Reward, $ as Decision, aI as TrackerAttribution, y as Tracker, z as TrackerData, a4 as ContentBody, U as TrackerTriggerContext, aa as TrackerPage } from './schema-Cgmj-CbC.js';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
import { t as discordMemberSchema, w as discordMessageSchema, G as telegramChatMemberSchema } from './accounts-DRPENuZe.js';
|
|
4
4
|
import { b as CapabilityFailure } from './capability-error-FQGGb5xS.js';
|
|
5
5
|
export { C as CapabilityError } from './capability-error-FQGGb5xS.js';
|
|
6
|
-
import { z as xConnectionSchema, C as xProfileSchema, B as xPostSchema, f as ImageReference, s as imageInspectionSchema, o as imageComparisonSchema, v as imageSightingsSchema } from './x-
|
|
6
|
+
import { z as xConnectionSchema, C as xProfileSchema, B as xPostSchema, f as ImageReference, s as imageInspectionSchema, o as imageComparisonSchema, v as imageSightingsSchema } from './x-vVG6gZqi.js';
|
|
7
7
|
import { u as linkedWalletSchema, z as walletBalanceSchema } from './wallet-t7uNDg9p.js';
|
|
8
|
-
export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-
|
|
8
|
+
export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-CSiN1HKd.js';
|
|
9
9
|
|
|
10
10
|
/** One project time-zone change: from `effectiveAt` on, days are counted in `timeZone`. */
|
|
11
11
|
type CalendarSegment = {
|
package/dist/testing.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
attemptCaptureSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZT7FPD7B.js";
|
|
4
4
|
import {
|
|
5
5
|
CapabilityError
|
|
6
6
|
} from "./chunk-4OC7REYX.js";
|
|
7
7
|
import {
|
|
8
8
|
parseImageResult
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BYX27T2S.js";
|
|
10
10
|
import {
|
|
11
11
|
imageRequestSchema,
|
|
12
12
|
xConnectionSchema,
|
|
13
13
|
xPostSchema,
|
|
14
14
|
xProfileSchema,
|
|
15
15
|
xRequestSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-V7KYVH3Z.js";
|
|
17
17
|
import {
|
|
18
18
|
telegramChatMemberSchema,
|
|
19
19
|
telegramMemberInputSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-B65YJ6K4.js";
|
|
21
21
|
import {
|
|
22
22
|
contentPerformanceSnapshotSchema,
|
|
23
23
|
cosmosNetworkSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
urlEvidenceSchema,
|
|
47
47
|
validateSubmissionValue,
|
|
48
48
|
walletBalanceSchema
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OEO5OBY5.js";
|
|
50
50
|
|
|
51
51
|
// src/testing/run.ts
|
|
52
52
|
import * as z3 from "zod";
|