@domino-sdk/relay 1.42.0 → 1.44.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-6KZPQI6F.js → chunk-HO4FZJSH.js} +2 -2
- package/dist/{chunk-TA3SFVT5.js → chunk-IGUT3HCM.js} +2 -2
- package/dist/{chunk-B3KVWKL2.js → chunk-ILH73K3H.js} +1 -1
- package/dist/{chunk-OZQML7VU.js → chunk-J7YJHMF7.js} +1 -1
- 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-Y2BQRXJD.js → chunk-REANELDK.js} +4 -4
- package/dist/{chunk-UXFFSWB3.js → chunk-RXM7LBLH.js} +8 -8
- 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-ZNFAIBTJ.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 +100 -20
- 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-DzRDaPXc.d.ts} +3271 -3098
- 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 auditListQuerySchema, cE as auditPageSchema, cF as auditQuerySchema, cG as auditRecordSchema, cH as balanceCheckSchema, cI as buildArtifactsSchema, cJ as buildIdentitySchema, cK as buildPhaseSchema, cL as buildSnapshotSchema, cM as buildStatusSchema, cN as commitSchema, cO as compareAppMigrations, cP as completionRevocationSchema, cQ as completionRevocationShortfallSchema, cR as completionRevokeSchema, c as containsReferralIntegrationReward, cS as createManagementClient, cT as createRepositorySchema, cU as credentialSecretInputSchema, cV as credentialSecretSchema, cW as developmentPreflightSchema, cX as deviceApproveSchema, cY as deviceRedeemSchema, cZ as deviceStartSchema, c_ as environmentSchema, c$ as grantRecordSchema, d0 as grantSchema, d1 as hostedAppSchema, d2 as hostedAppSecretsSchema, d3 as hostedBuildSchema, d4 as hostedDeploymentKeySchema, d5 as hostedKeyPermissions, d6 as hostedKeySchema, d7 as hostedKeySecretSchema, d8 as hostedManagementBindings, d9 as hostedManagementClient, i as identityIntegrationInputSchema, a as identityIntegrationSchema, d as identityKindClaimSchema, da as identityLinkRelinkInputSchema, db as identityLinkSelectorSchema, dc as ingestTrackerScopeSchema, dd as inventoryItemActionSchema, de as inventoryItemPageSchema, df as inventoryItemRenameSchema, dg as inventoryItemStateSchema, dh as inventorySchema, di as inventoryStockCorrectionSchema, e as isIntegrationParticipantPath, dj as isManagementError, f as isParticipantRoute, dk as issuedServiceKeySchema, dl as issuedTokenSchema, dm as leaderboardSettlementRejectionSchema, dn as leaderboardSettlementReviewPageSchema, dp as leaderboardSettlementReviewQuerySchema, dq as leaderboardSettlementReviewSchema, dr as leaderboardSettlementReviewSummarySchema, ds as managedAttemptPageSchema, dt as managedAttemptQuerySchema, du as managedAttemptSchema, dv as managedEntitlementPageSchema, dw as managedEntitlementQuerySchema, dx as managedEntitlementSchema, dy as managedMemberIdentitySchema, dz 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, dO as memberAccountSchema, dP as memberDetailSchema, dQ as memberIdentityChangeInputSchema, dR as memberIdentityLinkChangeInputSchema, dS as memberIdentityLinkPageSchema, dT as memberIdentityLinkSchema, dU as memberIdentitySelectorSchema, dV as memberIdentitySignInInputSchema, dW as memberIdentityStatePageSchema, dX as memberIdentityStateSchema, dY as memberImportAccountSchema, dZ as memberImportActionSchema, d_ as memberImportCreateSchema, d$ as memberImportIdentitySchema, e0 as memberImportListQuerySchema, e1 as memberImportPageSchema, e2 as memberImportRefusalSchema, e3 as memberImportRowPageSchema, e4 as memberImportRowQuerySchema, e5 as memberImportRowResultSchema, e6 as memberImportRowSchema, e7 as memberImportRowsInputSchema, e8 as memberImportSchema, e9 as memberImportSummarySchema, ea as memberLookupSchema, eb as memberOAuthUnlinkInputSchema, ec as memberSchema, ed as memberTelegramUnlinkInputSchema, ee as memberWalletSignInInputSchema, ef as memberWalletUnlinkInputSchema, eg as metricsSchema, eh as nextScheduleRun, ei as oauthIdentitySelectorSchema, ej as operationInputSchema, ek as operationSchema, el as operatorUserSchema, em as pageSchema, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, en as participantSignInInputSchema, eo as participantSignInSchema, ep as permissionSchema, eq as personSchema, er as projectDeletionInputSchema, es as projectDeletionSchema, et as projectInputSchema, eu as projectMetricsSchema, ev as projectSchema, ew as projectSetupSchema, ex as projectTransferInputSchema, ey as projectTransferSchema, ez as projectUpdateInputSchema, eA as promotionActionSchema, eB as promotionBuildSchema, eC as promotionChangeSchema, eD as promotionHistoryPageSchema, eE as promotionHistoryQuerySchema, eF as promotionRecordSchema, eG as promotionRejectionSchema, eH as promotionResourceKindSchema, eI as promotionSourceSchema, eJ as promotionWarningSchema, eK as querySchema, q as questConfiguration, eL as questEnrollmentStateSchema, eM as questEnrollmentWithdrawalInputSchema, eN as questLifecycleInputSchema, eO as questLifecycleSchema, eP as readinessSchema, eQ as repositorySchema, eR as resourceArchiveInputSchema, eS as resourceLifecycleInputSchema, eT as resourceLifecycleKindSchema, eU as resourceLifecyclePaths, eV as resourceLifecycleResultSchema, eW as rolePermissions, eX as roleSchema, eY as scheduleResult, eZ as scheduledInvocationSchema, s as sequenceCursorSchema, e_ as serviceKeyInputSchema, e$ as serviceKeySchema, l as sourceDataSchema, n as sourceRoles, f0 as stageRequestSchema, f1 as stagedDeploymentContentSchema, f2 as stagedDeploymentKey, f3 as stagedDeploymentLimits, f4 as stagedDeploymentSchema, f5 as stagingAccessInputSchema, f6 as stagingAccessModeSchema, f7 as stagingAccessSchema, f8 as stagingLinkSchema, f9 as stagingPathSchema, fa as starterIdSchema, fb as starterTemplates, fc as stockAdditionSchema, fd as stockInputSchema, fe as teamSchema, ff as telegramBotIdSchema, fg as telegramIdentitySelectorSchema, fh as testMemberActionSchema, fi as testMemberAdvanceSchema, fj as testMemberCreateSchema, fk as testMemberDiscordMessageSchema, fl as testMemberDiscordReactionSchema, fm as testMemberHistoryQuerySchema, fn as testMemberHistorySchema, fo as testMemberRecordResultSchema, fp as testMemberRecordSchema, fq as testMemberResetResultSchema, fr as testMemberResetSchema, fs as testMemberSchema, ft as testMemberWalletLinkSchema, fu as testMemberWalletSchema, fv as testMemberWalletUnlinkSchema, fw as testMemberXPostSchema, fx as tokenInputSchema, fy as tokenSchema, fz as tokenScopeInputSchema, v as validateQuestShape, fA as verifiedPassSchema, fB as verifyScheduledRequest, fC as verifyWebhook, fD as walletBalanceChainsSchema, fE as walletIdentitySelectorSchema, fF as webhookControlInputSchema, fG as webhookCreateInputSchema, fH as webhookDeleteInputSchema, fI as webhookDeliveryPageSchema, fJ as webhookDeliverySchema, fK as webhookEndpointSchema, fL as webhookEndpointStateSchema, fM as webhookEventSchema, fN as webhookInputSchema, fO as webhookQuerySchema, fP as webhookRotateInputSchema, fQ as webhookSecretSchema, fR as webhookStatePageSchema, fS as webhookStateQuerySchema, fT as webhookUpdateSchema } from '../transport-DzRDaPXc.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-REANELDK.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-ZNFAIBTJ.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
|
});
|
|
@@ -2314,6 +2369,9 @@ var auditQuerySchema = z16.strictObject({
|
|
|
2314
2369
|
limit: pageLimit,
|
|
2315
2370
|
cursor: pageCursorSchema.optional()
|
|
2316
2371
|
});
|
|
2372
|
+
var auditListQuerySchema = auditQuerySchema.extend({
|
|
2373
|
+
category: z16.enum(["reviews", "rewards", "configuration", "test-members"]).optional()
|
|
2374
|
+
});
|
|
2317
2375
|
var accessHistoryQuerySchema = auditQuerySchema.omit({
|
|
2318
2376
|
category: true
|
|
2319
2377
|
});
|
|
@@ -3793,12 +3851,12 @@ function managementClient(options) {
|
|
|
3793
3851
|
/** The project's audit history; requires `read` permission. */
|
|
3794
3852
|
audit: {
|
|
3795
3853
|
/**
|
|
3796
|
-
* One page of the project's operations in this environment (reviews, reward changes
|
|
3797
|
-
* configuration), newest first, and `total`, how many
|
|
3798
|
-
* back as `cursor` for the next page.
|
|
3854
|
+
* One page of the project's operations in this environment (reviews, reward changes,
|
|
3855
|
+
* configuration and operators acting as test members), newest first, and `total`, how many
|
|
3856
|
+
* match. Pass a page's `nextCursor` back as `cursor` for the next page.
|
|
3799
3857
|
*/
|
|
3800
3858
|
list: (query = {}, call) => get(
|
|
3801
|
-
`/audit/list${queryString(
|
|
3859
|
+
`/audit/list${queryString(auditListQuerySchema.parse(query))}`,
|
|
3802
3860
|
auditPageSchema,
|
|
3803
3861
|
call
|
|
3804
3862
|
),
|
|
@@ -3879,7 +3937,7 @@ function managementClient(options) {
|
|
|
3879
3937
|
),
|
|
3880
3938
|
/**
|
|
3881
3939
|
* Needs publish permission, in test only; hosted app keys cannot call these. Reset deletes the
|
|
3882
|
-
* member
|
|
3940
|
+
* member, frees its wallet addresses and removes its synthetic accounts and records.
|
|
3883
3941
|
*/
|
|
3884
3942
|
testMembers: {
|
|
3885
3943
|
create: (input, call) => post(
|
|
@@ -3924,6 +3982,18 @@ function managementClient(options) {
|
|
|
3924
3982
|
testMemberWalletUnlinkSchema.parse(withActionId(input)),
|
|
3925
3983
|
call
|
|
3926
3984
|
),
|
|
3985
|
+
/**
|
|
3986
|
+
* Writes one synthetic record into a managed X or Discord tracker as the test member, through
|
|
3987
|
+
* the same attribution and quest triggers as a collected record. The first record for a
|
|
3988
|
+
* provider links the member a synthetic X or Discord account; reset removes it and its
|
|
3989
|
+
* records.
|
|
3990
|
+
*/
|
|
3991
|
+
record: (member, input, call) => post(
|
|
3992
|
+
`/test-members/${identifier.parse(member)}/records`,
|
|
3993
|
+
testMemberRecordResultSchema,
|
|
3994
|
+
testMemberRecordSchema.parse(withActionId(input)),
|
|
3995
|
+
call
|
|
3996
|
+
),
|
|
3927
3997
|
reset: (member, input, call) => post(
|
|
3928
3998
|
`/test-members/${identifier.parse(member)}/reset`,
|
|
3929
3999
|
testMemberResetResultSchema,
|
|
@@ -4934,6 +5004,9 @@ var managementResponseSchemas = lazyResponseReaders({
|
|
|
4934
5004
|
get testMemberHistorySchema() {
|
|
4935
5005
|
return knownResponse(testMemberHistorySchema);
|
|
4936
5006
|
},
|
|
5007
|
+
get testMemberRecordResultSchema() {
|
|
5008
|
+
return knownResponse(testMemberRecordResultSchema);
|
|
5009
|
+
},
|
|
4937
5010
|
get testMemberResetResultSchema() {
|
|
4938
5011
|
return knownResponse(testMemberResetResultSchema);
|
|
4939
5012
|
},
|
|
@@ -5133,6 +5206,7 @@ var managementResponses = {
|
|
|
5133
5206
|
stockItemSchema: responseSchema(stockItemSchema),
|
|
5134
5207
|
teamSchema: responseSchema(teamSchema),
|
|
5135
5208
|
testMemberHistorySchema: responseSchema(testMemberHistorySchema),
|
|
5209
|
+
testMemberRecordResultSchema: responseSchema(testMemberRecordResultSchema),
|
|
5136
5210
|
testMemberResetResultSchema: responseSchema(testMemberResetResultSchema),
|
|
5137
5211
|
testMemberSchema: responseSchema(testMemberSchema),
|
|
5138
5212
|
tokenSchema: responseSchema(tokenSchema),
|
|
@@ -5216,6 +5290,7 @@ export {
|
|
|
5216
5290
|
appStorageValueSchema,
|
|
5217
5291
|
assetPathSchema,
|
|
5218
5292
|
attemptCaptureSchema,
|
|
5293
|
+
auditListQuerySchema,
|
|
5219
5294
|
auditPageSchema,
|
|
5220
5295
|
auditQuerySchema,
|
|
5221
5296
|
auditRecordSchema,
|
|
@@ -5423,14 +5498,19 @@ export {
|
|
|
5423
5498
|
testMemberActionSchema,
|
|
5424
5499
|
testMemberAdvanceSchema,
|
|
5425
5500
|
testMemberCreateSchema,
|
|
5501
|
+
testMemberDiscordMessageSchema,
|
|
5502
|
+
testMemberDiscordReactionSchema,
|
|
5426
5503
|
testMemberHistoryQuerySchema,
|
|
5427
5504
|
testMemberHistorySchema,
|
|
5505
|
+
testMemberRecordResultSchema,
|
|
5506
|
+
testMemberRecordSchema,
|
|
5428
5507
|
testMemberResetResultSchema,
|
|
5429
5508
|
testMemberResetSchema,
|
|
5430
5509
|
testMemberSchema,
|
|
5431
5510
|
testMemberWalletLinkSchema,
|
|
5432
5511
|
testMemberWalletSchema,
|
|
5433
5512
|
testMemberWalletUnlinkSchema,
|
|
5513
|
+
testMemberXPostSchema,
|
|
5434
5514
|
tokenInputSchema,
|
|
5435
5515
|
tokenSchema,
|
|
5436
5516
|
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";
|