@domino-sdk/relay 1.42.0 → 1.43.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-CoaD0RmS.d.ts → attempt-captures-p7JPb7Xi.d.ts} +1 -1
- package/dist/authoring.d.ts +47 -47
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-B82GzaVN.d.ts → automatic-outcomes-YkGhnxsc.d.ts} +1 -1
- package/dist/browser.d.ts +6 -6
- package/dist/browser.js +10 -10
- package/dist/{chunk-TA3SFVT5.js → chunk-4XC24SUM.js} +2 -2
- package/dist/{chunk-6KZPQI6F.js → chunk-HO4FZJSH.js} +2 -2
- package/dist/{chunk-UXFFSWB3.js → chunk-IIKQH5L6.js} +8 -8
- package/dist/{chunk-B3KVWKL2.js → chunk-ILH73K3H.js} +1 -1
- package/dist/{chunk-OZQML7VU.js → chunk-J7YJHMF7.js} +1 -1
- package/dist/{chunk-Y2BQRXJD.js → chunk-JISXC5ZB.js} +4 -4
- package/dist/{chunk-34ZGBXN7.js → chunk-NNGGEUMQ.js} +1 -1
- package/dist/{chunk-6RYZG6TV.js → chunk-PMSCHJKX.js} +5 -0
- package/dist/{chunk-IEBVJN6A.js → chunk-Q5PX3GDA.js} +1 -1
- package/dist/{chunk-SAUBTWEA.js → chunk-TEPZZXDI.js} +2 -2
- package/dist/{chunk-PG3MC2AM.js → chunk-UOHYYB7V.js} +1 -1
- package/dist/{chunk-RMZXRL4V.js → chunk-W5UBRNDT.js} +1 -1
- package/dist/{chunk-JFNJE2I4.js → chunk-WSOUOG6S.js} +1 -1
- package/dist/{chunk-3VSX2V5N.js → chunk-YBMCF54E.js} +6 -6
- package/dist/{chunk-QLDURQPB.js → chunk-YNKJMRA7.js} +1 -1
- package/dist/{chunk-Y4OM7CHT.js → chunk-ZY4RI4DJ.js} +1 -1
- package/dist/{client-CAgnkFxn.d.ts → client-CVG_MoXx.d.ts} +4 -4
- package/dist/{deployments-DuIdJ2Ui.d.ts → deployments-BWav9s6t.d.ts} +213 -213
- package/dist/{groups-CX1C9gln.d.ts → groups-CMZROR9a.d.ts} +1 -1
- 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-UL9bdaP0.d.ts → offers-Cvk4uBjo.d.ts} +2 -2
- package/dist/{pages-Brtjxb2P.d.ts → pages-BXZP4o-w.d.ts} +1 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +8 -8
- package/dist/react/index.js +10 -10
- package/dist/{schema-Dg5_t7Pq.d.ts → schema-BgjSnV9D.d.ts} +2 -0
- package/dist/schema.d.ts +320 -320
- package/dist/schema.js +7 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +92 -16
- package/dist/{submission-input-D5Gh3GR0.d.ts → submission-input-CD59rLYk.d.ts} +2 -2
- package/dist/{telegram-browser-riVjoKFg.d.ts → telegram-browser-bnRKW9KG.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-VGEsiskZ.d.ts → transport-xSupcGFD.d.ts} +3300 -3148
- package/dist/{x-CAxOrR61.d.ts → x-B_7RCkOo.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-YBMCF54E.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-ILH73K3H.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-TEPZZXDI.js";
|
|
121
121
|
import {
|
|
122
122
|
AVATAR_UPLOAD_LIMIT,
|
|
123
123
|
PointEntryKind,
|
|
@@ -238,7 +238,7 @@ import {
|
|
|
238
238
|
referralRewardResolutionSchema,
|
|
239
239
|
referralSummarySchema,
|
|
240
240
|
referralSuspensionSchema
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-WSOUOG6S.js";
|
|
242
242
|
import {
|
|
243
243
|
telegramAccountConnectionSchema,
|
|
244
244
|
telegramChatConnectionSchema,
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
telegramReactionDataSchema,
|
|
253
253
|
telegramReactionsNamespace,
|
|
254
254
|
telegramSignInMethodsSchema
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-J7YJHMF7.js";
|
|
256
256
|
import {
|
|
257
257
|
authScopeSchema,
|
|
258
258
|
exchangeResultSchema,
|
|
@@ -263,7 +263,7 @@ import {
|
|
|
263
263
|
principalSchema,
|
|
264
264
|
sessionMember,
|
|
265
265
|
sessionSchema
|
|
266
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-Q5PX3GDA.js";
|
|
267
267
|
import {
|
|
268
268
|
AttemptStatus,
|
|
269
269
|
CompletionSourceKind,
|
|
@@ -556,7 +556,7 @@ import {
|
|
|
556
556
|
xPostId,
|
|
557
557
|
xSearchSourceSchema,
|
|
558
558
|
xTweetSchema
|
|
559
|
-
} from "./chunk-
|
|
559
|
+
} from "./chunk-PMSCHJKX.js";
|
|
560
560
|
export {
|
|
561
561
|
AVATAR_UPLOAD_LIMIT,
|
|
562
562
|
AttemptStatus,
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { aj as CompletionSource, ak as CompletionSourceKind, aq as KnownCompletionSourceKind, bt as entitlementCorrectionSchema, bv as entitlementSchema, bJ as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues, d9 as trackerTriggerOutcomePageSchema, w as whereSchemaIssue } from '../schema-
|
|
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 PromotionBuild, bo as PromotionChange, bp as PromotionHistoryPage, bq as PromotionHistoryQuery, br as PromotionRecord, bs as PromotionResourceKind, bt as PromotionSource, bu as PromotionWarning, bv as QuestEnrollmentState, bw as QuestEnrollmentWithdrawalInput, bx as QuestLifecycle, by as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, bz as ResourceArchiveInput, bA as ResourceLifecycleInput, bB as RevokedDeliveryOutcome, bC as RevokedEntitlementOutcome, bD as RevokedReferralOutcome, bE as ScheduledInvocation, bF as ServiceKey, bG as StagedDeployment, bH as StagedDeploymentContent, bI as StagingAccess, bJ as StagingAccessInput, bK as StagingLink, bL as StarterId, bM as StarterTemplate, bN as TestMember, bO as TestMemberActionInput, bP as TestMemberAdvanceInput, bQ as TestMemberCreateInput, bR as TestMemberHistory, bS as TestMemberHistoryQuery, bT as TestMemberResetInput, bU as TestMemberResetResult, bV as TestMemberWallet, bW as TestMemberWalletLinkInput, bX as TestMemberWalletUnlinkInput, bY as WEBHOOK_MAX_BYTES, bZ as WalletBalanceChains, b_ as WebhookDeleteInput, b$ as WebhookEndpointState, c0 as WebhookEvent, c1 as accessHistoryQuerySchema, c2 as accessSchema, c3 as accountProfileSchema, c4 as appIdentitySelectorSchema, c5 as appMigrationNameSchema, c6 as appRoutingSchema, c7 as appScheduleDiagnosticSchema, c8 as appScheduleListSchema, c9 as appScheduleNameSchema, ca as appSchedulePathSchema, cb as appScheduleResultSchema, cc as appScheduleRunSchema, cd as appScheduleRunsSchema, ce as appScheduleSchema, cf as appScheduleStateSchema, cg as appSchedulesSchema, ch as appSecretDeclarationSchema, ci as appSecretDeclarationsSchema, cj as appSecretInputSchema, ck as appSecretListSchema, cl as appSecretNameSchema, cm as appSecretSchema, cn as appSecretValueSchema, co as appStorageCellPageSchema, cp as appStorageCellSchema, cq as appStorageKeysSchema, cr as appStorageKindSchema, cs as appStorageListSchema, ct as appStorageRowsSchema, cu as appStorageSchema, cv as appStorageTablesSchema, cw as appStorageValueSchema, cx as assetPathSchema, cy as auditPageSchema, cz as auditQuerySchema, cA as auditRecordSchema, cB as balanceCheckSchema, cC as buildArtifactsSchema, cD as buildIdentitySchema, cE as buildPhaseSchema, cF as buildSnapshotSchema, cG as buildStatusSchema, cH as commitSchema, cI as compareAppMigrations, cJ as completionRevocationSchema, cK as completionRevocationShortfallSchema, cL as completionRevokeSchema, c as containsReferralIntegrationReward, cM as createManagementClient, cN as createRepositorySchema, cO as credentialSecretInputSchema, cP as credentialSecretSchema, cQ as developmentPreflightSchema, cR as deviceApproveSchema, cS as deviceRedeemSchema, cT as deviceStartSchema, cU as environmentSchema, cV as grantRecordSchema, cW as grantSchema, cX as hostedAppSchema, cY as hostedAppSecretsSchema, cZ as hostedBuildSchema, c_ as hostedDeploymentKeySchema, c$ as hostedKeyPermissions, d0 as hostedKeySchema, d1 as hostedKeySecretSchema, d2 as hostedManagementBindings, d3 as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, d4 as identityLinkRelinkInputSchema, d5 as identityLinkSelectorSchema, d6 as ingestTrackerScopeSchema, d7 as inventoryItemActionSchema, d8 as inventoryItemPageSchema, d9 as inventoryItemRenameSchema, da as inventoryItemStateSchema, db as inventorySchema, dc as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, dd as isManagementError, f as isParticipantRoute, de as issuedServiceKeySchema, df as issuedTokenSchema, dg as leaderboardSettlementRejectionSchema, dh as leaderboardSettlementReviewPageSchema, di as leaderboardSettlementReviewQuerySchema, dj as leaderboardSettlementReviewSchema, dk as leaderboardSettlementReviewSummarySchema, dl as managedAttemptPageSchema, dm as managedAttemptQuerySchema, dn as managedAttemptSchema, dp as managedEntitlementPageSchema, dq as managedEntitlementQuerySchema, dr as managedEntitlementSchema, ds as managedMemberIdentitySchema, dt as managedMemberPageSchema, du as managedMemberProgressSchema, dv as managedMemberQuerySchema, dw as managedOAuthAccountSchema, dx as managedQuestEnrollmentPageSchema, dy as managedQuestEnrollmentSchema, dz as managedReleasePageSchema, dA as managedReleaseQuerySchema, dB as managedResourceSchema, dC as managedStockItemSchema, dD as managedTelegramAccountSchema, dE as managedWalletSchema, dF as managementErrorSchema, dG as managementResponseSchemas, dH as managementResponses, dI as memberAccountSchema, dJ as memberDetailSchema, dK as memberIdentityChangeInputSchema, dL as memberIdentityLinkChangeInputSchema, dM as memberIdentityLinkPageSchema, dN as memberIdentityLinkSchema, dO as memberIdentitySelectorSchema, dP as memberIdentitySignInInputSchema, dQ as memberIdentityStatePageSchema, dR as memberIdentityStateSchema, dS as memberImportAccountSchema, dT as memberImportActionSchema, dU as memberImportCreateSchema, dV as memberImportIdentitySchema, dW as memberImportListQuerySchema, dX as memberImportPageSchema, dY as memberImportRefusalSchema, dZ as memberImportRowPageSchema, d_ as memberImportRowQuerySchema, d$ as memberImportRowResultSchema, e0 as memberImportRowSchema, e1 as memberImportRowsInputSchema, e2 as memberImportSchema, e3 as memberImportSummarySchema, e4 as memberLookupSchema, e5 as memberOAuthUnlinkInputSchema, e6 as memberSchema, e7 as memberTelegramUnlinkInputSchema, e8 as memberWalletSignInInputSchema, e9 as memberWalletUnlinkInputSchema, ea as metricsSchema, eb as nextScheduleRun, ec as oauthIdentitySelectorSchema, ed as operationInputSchema, ee as operationSchema, ef as operatorUserSchema, eg as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, eh as participantSignInInputSchema, ei as participantSignInSchema, ej as permissionSchema, ek as personSchema, el as projectDeletionInputSchema, em as projectDeletionSchema, en as projectInputSchema, eo as projectMetricsSchema, ep as projectSchema, eq as projectSetupSchema, er as projectTransferInputSchema, es as projectTransferSchema, et as projectUpdateInputSchema, eu as promotionActionSchema, ev as promotionBuildSchema, ew as promotionChangeSchema, ex as promotionHistoryPageSchema, ey as promotionHistoryQuerySchema, ez as promotionRecordSchema, eA as promotionRejectionSchema, eB as promotionResourceKindSchema, eC as promotionSourceSchema, eD as promotionWarningSchema, eE as querySchema, q as questConfiguration, eF as questEnrollmentStateSchema, eG as questEnrollmentWithdrawalInputSchema, eH as questLifecycleInputSchema, eI as questLifecycleSchema, eJ as readinessSchema, eK as repositorySchema, eL as resourceArchiveInputSchema, eM as resourceLifecycleInputSchema, eN as resourceLifecycleKindSchema, eO as resourceLifecyclePaths, eP as resourceLifecycleResultSchema, eQ as rolePermissions, eR as roleSchema, eS as scheduleResult, eT as scheduledInvocationSchema, s as sequenceCursorSchema, eU as serviceKeyInputSchema, eV as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, eW as stageRequestSchema, eX as stagedDeploymentContentSchema, eY as stagedDeploymentKey, eZ as stagedDeploymentLimits, e_ as stagedDeploymentSchema, e$ as stagingAccessInputSchema, f0 as stagingAccessModeSchema, f1 as stagingAccessSchema, f2 as stagingLinkSchema, f3 as stagingPathSchema, f4 as starterIdSchema, f5 as starterTemplates, f6 as stockAdditionSchema, f7 as stockInputSchema, f8 as teamSchema, f9 as telegramBotIdSchema, fa as telegramIdentitySelectorSchema, fb as testMemberActionSchema, fc as testMemberAdvanceSchema, fd as testMemberCreateSchema, fe as testMemberHistoryQuerySchema, ff as testMemberHistorySchema, fg as testMemberResetResultSchema, fh as testMemberResetSchema, fi as testMemberSchema, fj as testMemberWalletLinkSchema, fk as testMemberWalletSchema, fl as testMemberWalletUnlinkSchema, fm as tokenInputSchema, fn as tokenSchema, fo as tokenScopeInputSchema, v as validateQuestShape, fp as verifiedPassSchema, fq as verifyScheduledRequest, fr as verifyWebhook, fs as walletBalanceChainsSchema, ft as walletIdentitySelectorSchema, fu as webhookControlInputSchema, fv as webhookCreateInputSchema, fw as webhookDeleteInputSchema, fx as webhookDeliveryPageSchema, fy as webhookDeliverySchema, fz as webhookEndpointSchema, fA as webhookEndpointStateSchema, fB as webhookEventSchema, fC as webhookInputSchema, fD as webhookQuerySchema, fE as webhookRotateInputSchema, fF as webhookSecretSchema, fG as webhookStatePageSchema, fH as webhookStateQuerySchema, fI as webhookUpdateSchema } from '../transport-VGEsiskZ.js';
|
|
3
|
-
export { M as ManagementStateQuery, N as managementStateQuerySchema } from '../pages-
|
|
4
|
-
import '../offers-
|
|
1
|
+
export { aj as CompletionSource, ak as CompletionSourceKind, aq as KnownCompletionSourceKind, bt as entitlementCorrectionSchema, bv as entitlementSchema, bJ as memberIdentitySchema, j as trackerDataIssue, k as trackerDataIssues, d9 as trackerTriggerOutcomePageSchema, w as whereSchemaIssue } from '../schema-BgjSnV9D.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 PromotionBuild, bo as PromotionChange, bp as PromotionHistoryPage, bq as PromotionHistoryQuery, br as PromotionRecord, bs as PromotionResourceKind, bt as PromotionSource, bu as PromotionWarning, bv as QuestEnrollmentState, bw as QuestEnrollmentWithdrawalInput, bx as QuestLifecycle, by as QuestLifecycleInput, R as REFERRAL_INTEGRATION_REWARD_ERROR, bz as ResourceArchiveInput, bA as ResourceLifecycleInput, bB as RevokedDeliveryOutcome, bC as RevokedEntitlementOutcome, bD as RevokedReferralOutcome, bE as ScheduledInvocation, bF as ServiceKey, bG as StagedDeployment, bH as StagedDeploymentContent, bI as StagingAccess, bJ as StagingAccessInput, bK as StagingLink, bL as StarterId, bM as StarterTemplate, bN as TestMember, bO as TestMemberActionInput, bP as TestMemberAdvanceInput, bQ as TestMemberCreateInput, bR as TestMemberDiscordMessageInput, bS as TestMemberDiscordReactionInput, bT as TestMemberHistory, bU as TestMemberHistoryQuery, bV as TestMemberRecordInput, bW as TestMemberRecordResult, bX as TestMemberResetInput, bY as TestMemberResetResult, bZ as TestMemberWallet, b_ as TestMemberWalletLinkInput, b$ as TestMemberWalletUnlinkInput, c0 as TestMemberXPostInput, c1 as WEBHOOK_MAX_BYTES, c2 as WalletBalanceChains, c3 as WebhookDeleteInput, c4 as WebhookEndpointState, c5 as WebhookEvent, c6 as accessHistoryQuerySchema, c7 as accessSchema, c8 as accountProfileSchema, c9 as appIdentitySelectorSchema, ca as appMigrationNameSchema, cb as appRoutingSchema, cc as appScheduleDiagnosticSchema, cd as appScheduleListSchema, ce as appScheduleNameSchema, cf as appSchedulePathSchema, cg as appScheduleResultSchema, ch as appScheduleRunSchema, ci as appScheduleRunsSchema, cj as appScheduleSchema, ck as appScheduleStateSchema, cl as appSchedulesSchema, cm as appSecretDeclarationSchema, cn as appSecretDeclarationsSchema, co as appSecretInputSchema, cp as appSecretListSchema, cq as appSecretNameSchema, cr as appSecretSchema, cs as appSecretValueSchema, ct as appStorageCellPageSchema, cu as appStorageCellSchema, cv as appStorageKeysSchema, cw as appStorageKindSchema, cx as appStorageListSchema, cy as appStorageRowsSchema, cz as appStorageSchema, cA as appStorageTablesSchema, cB as appStorageValueSchema, cC as assetPathSchema, cD as auditPageSchema, cE as auditQuerySchema, cF as auditRecordSchema, cG as balanceCheckSchema, cH as buildArtifactsSchema, cI as buildIdentitySchema, cJ as buildPhaseSchema, cK as buildSnapshotSchema, cL as buildStatusSchema, cM as commitSchema, cN as compareAppMigrations, cO as completionRevocationSchema, cP as completionRevocationShortfallSchema, cQ as completionRevokeSchema, c as containsReferralIntegrationReward, cR as createManagementClient, cS as createRepositorySchema, cT as credentialSecretInputSchema, cU as credentialSecretSchema, cV as developmentPreflightSchema, cW as deviceApproveSchema, cX as deviceRedeemSchema, cY as deviceStartSchema, cZ as environmentSchema, c_ as grantRecordSchema, c$ as grantSchema, d0 as hostedAppSchema, d1 as hostedAppSecretsSchema, d2 as hostedBuildSchema, d3 as hostedDeploymentKeySchema, d4 as hostedKeyPermissions, d5 as hostedKeySchema, d6 as hostedKeySecretSchema, d7 as hostedManagementBindings, d8 as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, d9 as identityLinkRelinkInputSchema, da as identityLinkSelectorSchema, db as ingestTrackerScopeSchema, dc as inventoryItemActionSchema, dd as inventoryItemPageSchema, de as inventoryItemRenameSchema, df as inventoryItemStateSchema, dg as inventorySchema, dh as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, di as isManagementError, f as isParticipantRoute, dj as issuedServiceKeySchema, dk as issuedTokenSchema, dl as leaderboardSettlementRejectionSchema, dm as leaderboardSettlementReviewPageSchema, dn as leaderboardSettlementReviewQuerySchema, dp as leaderboardSettlementReviewSchema, dq as leaderboardSettlementReviewSummarySchema, dr as managedAttemptPageSchema, ds as managedAttemptQuerySchema, dt as managedAttemptSchema, du as managedEntitlementPageSchema, dv as managedEntitlementQuerySchema, dw as managedEntitlementSchema, dx as managedMemberIdentitySchema, dy as managedMemberPageSchema, dz as managedMemberProgressSchema, dA as managedMemberQuerySchema, dB as managedOAuthAccountSchema, dC as managedQuestEnrollmentPageSchema, dD as managedQuestEnrollmentSchema, dE as managedReleasePageSchema, dF as managedReleaseQuerySchema, dG as managedResourceSchema, dH as managedStockItemSchema, dI as managedTelegramAccountSchema, dJ as managedWalletSchema, dK as managementErrorSchema, dL as managementResponseSchemas, dM as managementResponses, dN as memberAccountSchema, dO as memberDetailSchema, dP as memberIdentityChangeInputSchema, dQ as memberIdentityLinkChangeInputSchema, dR as memberIdentityLinkPageSchema, dS as memberIdentityLinkSchema, dT as memberIdentitySelectorSchema, dU as memberIdentitySignInInputSchema, dV as memberIdentityStatePageSchema, dW as memberIdentityStateSchema, dX as memberImportAccountSchema, dY as memberImportActionSchema, dZ as memberImportCreateSchema, d_ as memberImportIdentitySchema, d$ as memberImportListQuerySchema, e0 as memberImportPageSchema, e1 as memberImportRefusalSchema, e2 as memberImportRowPageSchema, e3 as memberImportRowQuerySchema, e4 as memberImportRowResultSchema, e5 as memberImportRowSchema, e6 as memberImportRowsInputSchema, e7 as memberImportSchema, e8 as memberImportSummarySchema, e9 as memberLookupSchema, ea as memberOAuthUnlinkInputSchema, eb as memberSchema, ec as memberTelegramUnlinkInputSchema, ed as memberWalletSignInInputSchema, ee as memberWalletUnlinkInputSchema, ef as metricsSchema, eg as nextScheduleRun, eh as oauthIdentitySelectorSchema, ei as operationInputSchema, ej as operationSchema, ek as operatorUserSchema, el as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, em as participantSignInInputSchema, en as participantSignInSchema, eo as permissionSchema, ep as personSchema, eq as projectDeletionInputSchema, er as projectDeletionSchema, es as projectInputSchema, et as projectMetricsSchema, eu as projectSchema, ev as projectSetupSchema, ew as projectTransferInputSchema, ex as projectTransferSchema, ey as projectUpdateInputSchema, ez as promotionActionSchema, eA as promotionBuildSchema, eB as promotionChangeSchema, eC as promotionHistoryPageSchema, eD as promotionHistoryQuerySchema, eE as promotionRecordSchema, eF as promotionRejectionSchema, eG as promotionResourceKindSchema, eH as promotionSourceSchema, eI as promotionWarningSchema, eJ as querySchema, q as questConfiguration, eK as questEnrollmentStateSchema, eL as questEnrollmentWithdrawalInputSchema, eM as questLifecycleInputSchema, eN as questLifecycleSchema, eO as readinessSchema, eP as repositorySchema, eQ as resourceArchiveInputSchema, eR as resourceLifecycleInputSchema, eS as resourceLifecycleKindSchema, eT as resourceLifecyclePaths, eU as resourceLifecycleResultSchema, eV as rolePermissions, eW as roleSchema, eX as scheduleResult, eY as scheduledInvocationSchema, s as sequenceCursorSchema, eZ as serviceKeyInputSchema, e_ as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, e$ as stageRequestSchema, f0 as stagedDeploymentContentSchema, f1 as stagedDeploymentKey, f2 as stagedDeploymentLimits, f3 as stagedDeploymentSchema, f4 as stagingAccessInputSchema, f5 as stagingAccessModeSchema, f6 as stagingAccessSchema, f7 as stagingLinkSchema, f8 as stagingPathSchema, f9 as starterIdSchema, fa as starterTemplates, fb as stockAdditionSchema, fc as stockInputSchema, fd as teamSchema, fe as telegramBotIdSchema, ff as telegramIdentitySelectorSchema, fg as testMemberActionSchema, fh as testMemberAdvanceSchema, fi as testMemberCreateSchema, fj as testMemberDiscordMessageSchema, fk as testMemberDiscordReactionSchema, fl as testMemberHistoryQuerySchema, fm as testMemberHistorySchema, fn as testMemberRecordResultSchema, fo as testMemberRecordSchema, fp as testMemberResetResultSchema, fq as testMemberResetSchema, fr as testMemberSchema, fs as testMemberWalletLinkSchema, ft as testMemberWalletSchema, fu as testMemberWalletUnlinkSchema, fv as testMemberXPostSchema, fw as tokenInputSchema, fx as tokenSchema, fy as tokenScopeInputSchema, v as validateQuestShape, fz as verifiedPassSchema, fA as verifyScheduledRequest, fB as verifyWebhook, fC as walletBalanceChainsSchema, fD as walletIdentitySelectorSchema, fE as webhookControlInputSchema, fF as webhookCreateInputSchema, fG as webhookDeleteInputSchema, fH as webhookDeliveryPageSchema, fI as webhookDeliverySchema, fJ as webhookEndpointSchema, fK as webhookEndpointStateSchema, fL as webhookEventSchema, fM as webhookInputSchema, fN as webhookQuerySchema, fO as webhookRotateInputSchema, fP as webhookSecretSchema, fQ as webhookStatePageSchema, fR as webhookStateQuerySchema, fS as webhookUpdateSchema } from '../transport-xSupcGFD.js';
|
|
3
|
+
export { M as ManagementStateQuery, N as managementStateQuerySchema } from '../pages-BXZP4o-w.js';
|
|
4
|
+
import '../offers-Cvk4uBjo.js';
|
|
5
5
|
import '../action-DBzILFx9.js';
|
|
6
|
-
export { G as GroupMember, F as GroupMemberPage, H as GroupPage, I as GroupPageQuery, S as ManagedGroup, W as addGroupMemberSchema, a1 as createGroupSchema, ae as engagementRuleVersionPageSchema, ak as groupMemberPageSchema, al as groupMemberSchema, am as groupPageQuerySchema, an as groupPageSchema, aL as managedGroupSchema, aM as managedPointHistoryPageSchema, aW as pointLedgerPropertiesSchema, ba as referralManagementSchema, bb as referralQualificationSchema, bd as referralRewardResolutionSchema, bf as referralSuspensionSchema, bg as removeGroupMemberSchema, bh as updateGroupSchema } from '../groups-
|
|
6
|
+
export { G as GroupMember, F as GroupMemberPage, H as GroupPage, I as GroupPageQuery, S as ManagedGroup, W as addGroupMemberSchema, a1 as createGroupSchema, ae as engagementRuleVersionPageSchema, ak as groupMemberPageSchema, al as groupMemberSchema, am as groupPageQuerySchema, an as groupPageSchema, aL as managedGroupSchema, aM as managedPointHistoryPageSchema, aW as pointLedgerPropertiesSchema, ba as referralManagementSchema, bb as referralQualificationSchema, bd as referralRewardResolutionSchema, bf as referralSuspensionSchema, bg as removeGroupMemberSchema, bh as updateGroupSchema } from '../groups-CMZROR9a.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../profiles-Cdv4BSd_.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-YkGhnxsc.js';
|
|
10
|
+
export { A as AttemptCapture, C as CapturedFact, a as attemptCaptureSchema, c as capturedFactSchema } from '../attempt-captures-p7JPb7Xi.js';
|
|
11
|
+
export { f as activityTypeSchema, g as activityTypes, j as deploymentActionSchema, o as deploymentRejectionSchema } from '../deployments-BWav9s6t.js';
|
|
12
|
+
export { E as Extracted } from '../x-B_7RCkOo.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-W5UBRNDT.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-YBMCF54E.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-JISXC5ZB.js";
|
|
52
52
|
import {
|
|
53
53
|
parseImageExtraction,
|
|
54
54
|
parseImageResult
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-HO4FZJSH.js";
|
|
56
56
|
import {
|
|
57
57
|
imageAssetArtifactSchema,
|
|
58
58
|
xUserLookupInputSchema,
|
|
59
59
|
xUserSchema
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-ILH73K3H.js";
|
|
61
61
|
import {
|
|
62
62
|
sourceDataSchema,
|
|
63
63
|
sourceRoles,
|
|
64
64
|
validateQuestShape
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-ZY4RI4DJ.js";
|
|
66
66
|
import {
|
|
67
67
|
isIntegrationParticipantPath,
|
|
68
68
|
isParticipantRoute,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "../chunk-MLIXJPKL.js";
|
|
72
72
|
import {
|
|
73
73
|
withActionId
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-UOHYYB7V.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-TEPZZXDI.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-WSOUOG6S.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-J7YJHMF7.js";
|
|
153
|
+
import "../chunk-NNGGEUMQ.js";
|
|
154
|
+
import "../chunk-YNKJMRA7.js";
|
|
155
|
+
import "../chunk-Q5PX3GDA.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-PMSCHJKX.js";
|
|
245
245
|
|
|
246
246
|
// src/server/identity-links.ts
|
|
247
247
|
import * as z from "zod";
|
|
@@ -496,6 +496,61 @@ var testMemberWalletUnlinkSchema = z6.object({
|
|
|
496
496
|
chain: walletChainSchema,
|
|
497
497
|
address: z6.string().min(1).max(100)
|
|
498
498
|
}).strict();
|
|
499
|
+
var snowflake = z6.string().regex(/^[0-9]{1,20}$/);
|
|
500
|
+
var metric = z6.number().int().nonnegative().safe();
|
|
501
|
+
var testMemberXPostSchema = z6.strictObject({
|
|
502
|
+
content: z6.string().max(4e3).default(""),
|
|
503
|
+
author: z6.strictObject({
|
|
504
|
+
/** Defaults to `test_` and the end of the synthetic account ID. */
|
|
505
|
+
username: z6.string().min(1).max(50).optional(),
|
|
506
|
+
/** Defaults to the test member's name. */
|
|
507
|
+
name: z6.string().min(1).max(100).optional()
|
|
508
|
+
}).default({}),
|
|
509
|
+
isReply: z6.boolean().default(false),
|
|
510
|
+
isRetweet: z6.boolean().default(false),
|
|
511
|
+
isQuoteTweet: z6.boolean().default(false),
|
|
512
|
+
likeCount: metric.default(0),
|
|
513
|
+
replyCount: metric.default(0),
|
|
514
|
+
retweetCount: metric.default(0),
|
|
515
|
+
quoteCount: metric.default(0),
|
|
516
|
+
viewCount: metric.default(0),
|
|
517
|
+
bookmarkCount: metric.default(0)
|
|
518
|
+
});
|
|
519
|
+
var testMemberDiscordMessageSchema = z6.strictObject({
|
|
520
|
+
channelId: snowflake.optional(),
|
|
521
|
+
replyTo: snowflake.nullable().default(null),
|
|
522
|
+
text: z6.string().max(4e3).optional()
|
|
523
|
+
});
|
|
524
|
+
var testMemberDiscordReactionSchema = z6.strictObject({
|
|
525
|
+
channelId: snowflake.optional(),
|
|
526
|
+
messageId: snowflake.optional(),
|
|
527
|
+
emoji: z6.strictObject({
|
|
528
|
+
/** A custom emoji's ID, or null for a Unicode emoji. */
|
|
529
|
+
id: snowflake.nullable().default(null),
|
|
530
|
+
name: z6.string().min(1).max(100)
|
|
531
|
+
}).default({ id: null, name: "\u{1F44D}" }),
|
|
532
|
+
reactorRoles: z6.array(snowflake).max(50).default([]),
|
|
533
|
+
messagePublishedAt: z6.number().int().nonnegative().safe().optional()
|
|
534
|
+
});
|
|
535
|
+
var testMemberRecordSchema = z6.object({
|
|
536
|
+
actionId: identifier,
|
|
537
|
+
/** A managed X or Discord tracker, by key or ID. */
|
|
538
|
+
tracker: identifier,
|
|
539
|
+
/**
|
|
540
|
+
* The record account the test member holds. `messageAuthor` (Discord reactions only) makes the
|
|
541
|
+
* member the reacted-to message's author, and the reactor a synthetic account no member holds.
|
|
542
|
+
*/
|
|
543
|
+
as: z6.enum(["author", "messageAuthor"]).default("author"),
|
|
544
|
+
data: z6.record(z6.string(), z6.json()).default({})
|
|
545
|
+
}).strict();
|
|
546
|
+
var testMemberRecordResultSchema = trackerIngestResultSchema.extend({
|
|
547
|
+
/** The tracker's stable ID. */
|
|
548
|
+
tracker: identifier,
|
|
549
|
+
/** The stored record's ID. */
|
|
550
|
+
record: z6.string(),
|
|
551
|
+
/** The synthetic account the record names for the test member. */
|
|
552
|
+
account: z6.object({ kind: z6.enum(["x", "discord"]), id: z6.string() })
|
|
553
|
+
});
|
|
499
554
|
var testMemberHistoryQuerySchema = z6.object({
|
|
500
555
|
/** Inclusive lower bound on credited activity time, in epoch milliseconds. */
|
|
501
556
|
since: z6.coerce.number().int().nonnegative().safe().optional()
|
|
@@ -1998,7 +2053,7 @@ var auditRecordSchema = z16.object({
|
|
|
1998
2053
|
detail: z16.string(),
|
|
1999
2054
|
at: z16.number(),
|
|
2000
2055
|
attempt: z16.string().nullable()
|
|
2001
|
-
}).refine((
|
|
2056
|
+
}).refine((record6) => !record6.user || record6.user.id === record6.actor, {
|
|
2002
2057
|
message: "User profile must match the recorded actor",
|
|
2003
2058
|
path: ["user"]
|
|
2004
2059
|
});
|
|
@@ -3879,7 +3934,7 @@ function managementClient(options) {
|
|
|
3879
3934
|
),
|
|
3880
3935
|
/**
|
|
3881
3936
|
* Needs publish permission, in test only; hosted app keys cannot call these. Reset deletes the
|
|
3882
|
-
* member
|
|
3937
|
+
* member, frees its wallet addresses and removes its synthetic accounts and records.
|
|
3883
3938
|
*/
|
|
3884
3939
|
testMembers: {
|
|
3885
3940
|
create: (input, call) => post(
|
|
@@ -3924,6 +3979,18 @@ function managementClient(options) {
|
|
|
3924
3979
|
testMemberWalletUnlinkSchema.parse(withActionId(input)),
|
|
3925
3980
|
call
|
|
3926
3981
|
),
|
|
3982
|
+
/**
|
|
3983
|
+
* Writes one synthetic record into a managed X or Discord tracker as the test member, through
|
|
3984
|
+
* the same attribution and quest triggers as a collected record. The first record for a
|
|
3985
|
+
* provider links the member a synthetic X or Discord account; reset removes it and its
|
|
3986
|
+
* records.
|
|
3987
|
+
*/
|
|
3988
|
+
record: (member, input, call) => post(
|
|
3989
|
+
`/test-members/${identifier.parse(member)}/records`,
|
|
3990
|
+
testMemberRecordResultSchema,
|
|
3991
|
+
testMemberRecordSchema.parse(withActionId(input)),
|
|
3992
|
+
call
|
|
3993
|
+
),
|
|
3927
3994
|
reset: (member, input, call) => post(
|
|
3928
3995
|
`/test-members/${identifier.parse(member)}/reset`,
|
|
3929
3996
|
testMemberResetResultSchema,
|
|
@@ -4934,6 +5001,9 @@ var managementResponseSchemas = lazyResponseReaders({
|
|
|
4934
5001
|
get testMemberHistorySchema() {
|
|
4935
5002
|
return knownResponse(testMemberHistorySchema);
|
|
4936
5003
|
},
|
|
5004
|
+
get testMemberRecordResultSchema() {
|
|
5005
|
+
return knownResponse(testMemberRecordResultSchema);
|
|
5006
|
+
},
|
|
4937
5007
|
get testMemberResetResultSchema() {
|
|
4938
5008
|
return knownResponse(testMemberResetResultSchema);
|
|
4939
5009
|
},
|
|
@@ -5133,6 +5203,7 @@ var managementResponses = {
|
|
|
5133
5203
|
stockItemSchema: responseSchema(stockItemSchema),
|
|
5134
5204
|
teamSchema: responseSchema(teamSchema),
|
|
5135
5205
|
testMemberHistorySchema: responseSchema(testMemberHistorySchema),
|
|
5206
|
+
testMemberRecordResultSchema: responseSchema(testMemberRecordResultSchema),
|
|
5136
5207
|
testMemberResetResultSchema: responseSchema(testMemberResetResultSchema),
|
|
5137
5208
|
testMemberSchema: responseSchema(testMemberSchema),
|
|
5138
5209
|
tokenSchema: responseSchema(tokenSchema),
|
|
@@ -5423,14 +5494,19 @@ export {
|
|
|
5423
5494
|
testMemberActionSchema,
|
|
5424
5495
|
testMemberAdvanceSchema,
|
|
5425
5496
|
testMemberCreateSchema,
|
|
5497
|
+
testMemberDiscordMessageSchema,
|
|
5498
|
+
testMemberDiscordReactionSchema,
|
|
5426
5499
|
testMemberHistoryQuerySchema,
|
|
5427
5500
|
testMemberHistorySchema,
|
|
5501
|
+
testMemberRecordResultSchema,
|
|
5502
|
+
testMemberRecordSchema,
|
|
5428
5503
|
testMemberResetResultSchema,
|
|
5429
5504
|
testMemberResetSchema,
|
|
5430
5505
|
testMemberSchema,
|
|
5431
5506
|
testMemberWalletLinkSchema,
|
|
5432
5507
|
testMemberWalletSchema,
|
|
5433
5508
|
testMemberWalletUnlinkSchema,
|
|
5509
|
+
testMemberXPostSchema,
|
|
5434
5510
|
tokenInputSchema,
|
|
5435
5511
|
tokenSchema,
|
|
5436
5512
|
tokenScopeInputSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { L as LedgerReference, r as QuestHandle } from './schema-
|
|
3
|
-
import { r as ProjectGroupReference } from './groups-
|
|
2
|
+
import { L as LedgerReference, r as QuestHandle } from './schema-BgjSnV9D.js';
|
|
3
|
+
import { r as ProjectGroupReference } from './groups-CMZROR9a.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-CVG_MoXx.js';
|
|
3
3
|
import { b as ParticipantSession } from './participant-activity-iciCEs_8.js';
|
|
4
4
|
import { C as CosmosChain, a as CosmosNetwork, f as WalletSigner, d as WalletSignInNetwork } from './wallet-Ac7OFpOr.js';
|
|
5
5
|
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { bJ as memberIdentitySchema, c_ as trackerQuerySchema, cV as trackerPageSchema, d7 as trackerSummarySchema, aO as TrackerContentQuery, cG as trackerContentSchema, bO as photoResultSchema, Y as TextReviewInput, R as Reward, $ as Decision, aK as TrackerAttribution, y as Tracker, z as TrackerData, a4 as ContentBody, U as TrackerTriggerContext, aa as TrackerPage } from './schema-
|
|
1
|
+
import { bJ as memberIdentitySchema, c_ as trackerQuerySchema, cV as trackerPageSchema, d7 as trackerSummarySchema, aO as TrackerContentQuery, cG as trackerContentSchema, bO as photoResultSchema, Y as TextReviewInput, R as Reward, $ as Decision, aK as TrackerAttribution, y as Tracker, z as TrackerData, a4 as ContentBody, U as TrackerTriggerContext, aa as TrackerPage } from './schema-BgjSnV9D.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-B_7RCkOo.js';
|
|
7
7
|
import { v as linkedWalletSchema, A as walletBalanceSchema } from './wallet-Ac7OFpOr.js';
|
|
8
|
-
export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-
|
|
8
|
+
export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-p7JPb7Xi.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-W5UBRNDT.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-HO4FZJSH.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-ILH73K3H.js";
|
|
17
17
|
import {
|
|
18
18
|
telegramChatMemberSchema,
|
|
19
19
|
telegramMemberInputSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-J7YJHMF7.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-PMSCHJKX.js";
|
|
50
50
|
|
|
51
51
|
// src/testing/run.ts
|
|
52
52
|
import * as z3 from "zod";
|