@domino-sdk/relay 1.18.1 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import { a1 as engagementChangePreviewInputSchema, a3 as engagementChangeSchema,
7
7
  import { C as profileSettingsInputSchema, z as profileModerationSchema } from './profiles-D29SS12z.js';
8
8
  import { r as collectionBeginSchema, z as counterHistoryQuerySchema, E as counterModerationSchema, o as automaticSchedulingQuerySchema, p as automaticSchedulingRetrySchema, l as automaticOutcomeQuerySchema, g as automaticCatchUpInputSchema, f as automaticCatchUpConfirmSchema } from './automatic-outcomes-BBSdMf0R.js';
9
9
  import './attempt-captures-ByzZyggX.js';
10
- import { q as projectDeploymentSchema, k as deploymentResultSchema, s as publishDeploymentSchema, i as deploymentRecordSchema, x as submitDeploymentSchema, j as deploymentRejectionSchema, v as rejectDeploymentSchema, g as deploymentActionSchema, r as promoteDeploymentSchema, w as rollbackDeploymentSchema, m as projectCalendarInputSchema } from './deployments-Cz-tNK7Z.js';
10
+ import { s as projectDeploymentSchema, l as deploymentResultSchema, u as publishDeploymentSchema, j as deploymentRecordSchema, z as submitDeploymentSchema, k as deploymentRejectionSchema, x as rejectDeploymentSchema, h as deploymentActionSchema, t as promoteDeploymentSchema, y as rollbackDeploymentSchema, o as projectCalendarInputSchema } from './deployments-nNS4spO9.js';
11
11
  import { d as ImageFields, g as ImageRequest } from './images-BPiPqVKn.js';
12
12
 
13
13
  /** Older releases did not record ownership. Preserve every value, including defaults. */
@@ -3190,6 +3190,18 @@ declare const managedOAuthAccountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3190
3190
  status: z.ZodLiteral<"disconnected">;
3191
3191
  }, z.core.$strip>], "status">;
3192
3192
  type ManagedOAuthAccount = z.infer<typeof managedOAuthAccountSchema>;
3193
+ declare const managedTelegramAccountSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3194
+ revision: z.ZodNumber;
3195
+ provider: z.ZodLiteral<"telegram">;
3196
+ status: z.ZodLiteral<"connected">;
3197
+ subject: z.ZodString;
3198
+ linkedAt: z.ZodNumber;
3199
+ }, z.core.$strip>, z.ZodObject<{
3200
+ revision: z.ZodNumber;
3201
+ provider: z.ZodLiteral<"telegram">;
3202
+ status: z.ZodLiteral<"disconnected">;
3203
+ }, z.core.$strip>], "status">;
3204
+ type ManagedTelegramAccount = z.infer<typeof managedTelegramAccountSchema>;
3193
3205
  declare const memberOAuthUnlinkInputSchema: z.ZodObject<{
3194
3206
  provider: z.ZodEnum<{
3195
3207
  discord: "discord";
@@ -3199,6 +3211,12 @@ declare const memberOAuthUnlinkInputSchema: z.ZodObject<{
3199
3211
  revision: z.ZodNumber;
3200
3212
  reason: z.ZodString;
3201
3213
  }, z.core.$strict>;
3214
+ /** The Telegram account to unlink: the subject and revision the operator reviewed, and why. */
3215
+ declare const memberTelegramUnlinkInputSchema: z.ZodObject<{
3216
+ revision: z.ZodNumber;
3217
+ subject: z.ZodString;
3218
+ reason: z.ZodString;
3219
+ }, z.core.$strict>;
3202
3220
  /** A wallet a member linked to the project, as operators see it: including unlinked ones. */
3203
3221
  declare const managedWalletSchema: z.ZodObject<{
3204
3222
  chain: z.ZodEnum<{
@@ -3292,6 +3310,8 @@ declare const memberWalletSignInInputSchema: z.ZodObject<{
3292
3310
  enabled: z.ZodBoolean;
3293
3311
  reason: z.ZodString;
3294
3312
  }, z.core.$strict>;
3313
+ /** A Telegram bot's numeric ID: the digits before the colon in its token. */
3314
+ declare const telegramBotIdSchema: z.ZodString;
3295
3315
  /**
3296
3316
  * How participants sign in to this project and environment. OAuth providers and email are
3297
3317
  * configured by Domino for the platform and are read-only here; wallet sign-in is the project's own
@@ -3314,17 +3334,28 @@ declare const participantSignInSchema: z.ZodObject<{
3314
3334
  cosmos: "cosmos";
3315
3335
  }>>, z.ZodTransform<("solana" | "eip155" | "cosmos")[], ("solana" | "eip155" | "cosmos")[]>>;
3316
3336
  issue: z.ZodNullable<z.ZodString>;
3337
+ telegram: z.ZodOptional<z.ZodObject<{
3338
+ login: z.ZodBoolean;
3339
+ miniAppBotId: z.ZodNullable<z.ZodString>;
3340
+ }, z.core.$strip>>;
3317
3341
  updatedAt: z.ZodNullable<z.ZodNumber>;
3318
3342
  updatedBy: z.ZodNullable<z.ZodString>;
3319
3343
  }, z.core.$strip>;
3320
3344
  type ParticipantSignIn = z.infer<typeof participantSignInSchema>;
3321
- /** The wallet families to enable: `"solana"`, `"eip155"`, `"cosmos"`. */
3345
+ /**
3346
+ * The wallet families to enable: `"solana"`, `"eip155"`, `"cosmos"`. `telegram.miniAppBotId`
3347
+ * enables Telegram Mini App sign-in for the bot with that ID, or turns it off with null; leaving
3348
+ * `telegram` out keeps the current setting.
3349
+ */
3322
3350
  declare const participantSignInInputSchema: z.ZodObject<{
3323
3351
  wallets: z.ZodPipe<z.ZodArray<z.ZodEnum<{
3324
3352
  solana: "solana";
3325
3353
  eip155: "eip155";
3326
3354
  cosmos: "cosmos";
3327
3355
  }>>, z.ZodTransform<("solana" | "eip155" | "cosmos")[], ("solana" | "eip155" | "cosmos")[]>>;
3356
+ telegram: z.ZodOptional<z.ZodObject<{
3357
+ miniAppBotId: z.ZodNullable<z.ZodString>;
3358
+ }, z.core.$strict>>;
3328
3359
  }, z.core.$strict>;
3329
3360
  type ParticipantSignInInput = z.infer<typeof participantSignInInputSchema>;
3330
3361
  declare const completionRevocationShortfallSchema: z.ZodObject<{
@@ -10380,6 +10411,12 @@ declare function managementClient(options: ManagementTransportOptions): {
10380
10411
  key: string | null;
10381
10412
  archivedAt: number | null;
10382
10413
  }[] | undefined;
10414
+ warnings?: {
10415
+ code: string;
10416
+ message: string;
10417
+ quests: string[];
10418
+ integration?: string | undefined;
10419
+ }[] | undefined;
10383
10420
  } | {
10384
10421
  id: string;
10385
10422
  engagement: ({
@@ -11628,6 +11665,12 @@ declare function managementClient(options: ManagementTransportOptions): {
11628
11665
  key: string | null;
11629
11666
  archivedAt: number | null;
11630
11667
  }[] | undefined;
11668
+ warnings?: {
11669
+ code: string;
11670
+ message: string;
11671
+ quests: string[];
11672
+ integration?: string | undefined;
11673
+ }[] | undefined;
11631
11674
  } | {
11632
11675
  id: string;
11633
11676
  engagement: ({
@@ -12879,6 +12922,12 @@ declare function managementClient(options: ManagementTransportOptions): {
12879
12922
  key: string | null;
12880
12923
  archivedAt: number | null;
12881
12924
  }[] | undefined;
12925
+ warnings?: {
12926
+ code: string;
12927
+ message: string;
12928
+ quests: string[];
12929
+ integration?: string | undefined;
12930
+ }[] | undefined;
12882
12931
  } | {
12883
12932
  id: string;
12884
12933
  engagement: ({
@@ -14130,6 +14179,12 @@ declare function managementClient(options: ManagementTransportOptions): {
14130
14179
  key: string | null;
14131
14180
  archivedAt: number | null;
14132
14181
  }[] | undefined;
14182
+ warnings?: {
14183
+ code: string;
14184
+ message: string;
14185
+ quests: string[];
14186
+ integration?: string | undefined;
14187
+ }[] | undefined;
14133
14188
  })[]>;
14134
14189
  get: (deployment: string, call?: ManagementCallOptions) => Promise<{
14135
14190
  id: string;
@@ -15377,6 +15432,12 @@ declare function managementClient(options: ManagementTransportOptions): {
15377
15432
  key: string | null;
15378
15433
  archivedAt: number | null;
15379
15434
  }[] | undefined;
15435
+ warnings?: {
15436
+ code: string;
15437
+ message: string;
15438
+ quests: string[];
15439
+ integration?: string | undefined;
15440
+ }[] | undefined;
15380
15441
  } | {
15381
15442
  id: string;
15382
15443
  engagement: ({
@@ -16625,6 +16686,12 @@ declare function managementClient(options: ManagementTransportOptions): {
16625
16686
  key: string | null;
16626
16687
  archivedAt: number | null;
16627
16688
  }[] | undefined;
16689
+ warnings?: {
16690
+ code: string;
16691
+ message: string;
16692
+ quests: string[];
16693
+ integration?: string | undefined;
16694
+ }[] | undefined;
16628
16695
  } | {
16629
16696
  id: string;
16630
16697
  engagement: ({
@@ -17876,6 +17943,12 @@ declare function managementClient(options: ManagementTransportOptions): {
17876
17943
  key: string | null;
17877
17944
  archivedAt: number | null;
17878
17945
  }[] | undefined;
17946
+ warnings?: {
17947
+ code: string;
17948
+ message: string;
17949
+ quests: string[];
17950
+ integration?: string | undefined;
17951
+ }[] | undefined;
17879
17952
  } | {
17880
17953
  id: string;
17881
17954
  engagement: ({
@@ -19127,6 +19200,12 @@ declare function managementClient(options: ManagementTransportOptions): {
19127
19200
  key: string | null;
19128
19201
  archivedAt: number | null;
19129
19202
  }[] | undefined;
19203
+ warnings?: {
19204
+ code: string;
19205
+ message: string;
19206
+ quests: string[];
19207
+ integration?: string | undefined;
19208
+ }[] | undefined;
19130
19209
  }>;
19131
19210
  preview: (input: z.input<typeof projectDeploymentSchema>, call?: ManagementCallOptions) => Promise<{
19132
19211
  id: string;
@@ -20362,6 +20441,12 @@ declare function managementClient(options: ManagementTransportOptions): {
20362
20441
  key: string | null;
20363
20442
  archivedAt: number | null;
20364
20443
  }[] | undefined;
20444
+ warnings?: {
20445
+ code: string;
20446
+ message: string;
20447
+ quests: string[];
20448
+ integration?: string | undefined;
20449
+ }[] | undefined;
20365
20450
  }>;
20366
20451
  publish: {
20367
20452
  (deployment: string, call?: ManagementCallOptions): Promise<z.infer<typeof deploymentResultSchema>>;
@@ -29680,6 +29765,33 @@ declare function managementClient(options: ManagementTransportOptions): {
29680
29765
  revision: number;
29681
29766
  status: "disconnected";
29682
29767
  })[]>;
29768
+ /** The member's Telegram account selection; requires read permission. */
29769
+ telegramAccount: (member: string, call?: ManagementCallOptions) => Promise<{
29770
+ revision: number;
29771
+ provider: "telegram";
29772
+ status: "connected";
29773
+ subject: string;
29774
+ linkedAt: number;
29775
+ } | {
29776
+ revision: number;
29777
+ provider: "telegram";
29778
+ status: "disconnected";
29779
+ }>;
29780
+ /**
29781
+ * Unlinks the member's reviewed Telegram account across this organization and environment,
29782
+ * as `unlinkOAuthAccount` does for X and Discord; requires `review` permission.
29783
+ */
29784
+ unlinkTelegramAccount: (member: string, input: z.input<typeof memberTelegramUnlinkInputSchema>, call?: ManagementCallOptions) => Promise<{
29785
+ revision: number;
29786
+ provider: "telegram";
29787
+ status: "connected";
29788
+ subject: string;
29789
+ linkedAt: number;
29790
+ } | {
29791
+ revision: number;
29792
+ provider: "telegram";
29793
+ status: "disconnected";
29794
+ }>;
29683
29795
  /** Unlinks a member's wallet from the project with a reason; requires `review` permission. The address stays bound to the member. */
29684
29796
  unlinkWallet: (member: string, input: z.input<typeof memberWalletUnlinkInputSchema>, call?: ManagementCallOptions) => Promise<{
29685
29797
  chain: "solana" | "eip155" | "cosmos";
@@ -31249,8 +31361,15 @@ declare function managementClient(options: ManagementTransportOptions): {
31249
31361
  issue: string | null;
31250
31362
  updatedAt: number | null;
31251
31363
  updatedBy: string | null;
31364
+ telegram?: {
31365
+ login: boolean;
31366
+ miniAppBotId: string | null;
31367
+ } | undefined;
31252
31368
  }>;
31253
- /** Sets the wallet networks participants can sign in with; requires `publish` permission. */
31369
+ /**
31370
+ * Sets the wallet networks participants can sign in with, and the bot for Telegram Mini App
31371
+ * sign-in; requires `publish` permission.
31372
+ */
31254
31373
  configureParticipantSignIn: (input: z.input<typeof participantSignInInputSchema>, call?: ManagementCallOptions) => Promise<{
31255
31374
  providers: {
31256
31375
  provider: "discord" | "x" | "google" | "apple";
@@ -31261,6 +31380,10 @@ declare function managementClient(options: ManagementTransportOptions): {
31261
31380
  issue: string | null;
31262
31381
  updatedAt: number | null;
31263
31382
  updatedBy: string | null;
31383
+ telegram?: {
31384
+ login: boolean;
31385
+ miniAppBotId: string | null;
31386
+ } | undefined;
31264
31387
  }>;
31265
31388
  };
31266
31389
 
@@ -35273,6 +35396,12 @@ declare const managementResponseSchemas: {
35273
35396
  key: string | null;
35274
35397
  archivedAt: number | null;
35275
35398
  }[] | undefined;
35399
+ warnings?: {
35400
+ code: string;
35401
+ message: string;
35402
+ quests: string[];
35403
+ integration?: string | undefined;
35404
+ }[] | undefined;
35276
35405
  }, unknown, z.core.$ZodTypeInternals<{
35277
35406
  id: string;
35278
35407
  engagement: ({
@@ -36507,6 +36636,12 @@ declare const managementResponseSchemas: {
36507
36636
  key: string | null;
36508
36637
  archivedAt: number | null;
36509
36638
  }[] | undefined;
36639
+ warnings?: {
36640
+ code: string;
36641
+ message: string;
36642
+ quests: string[];
36643
+ integration?: string | undefined;
36644
+ }[] | undefined;
36510
36645
  }, unknown>>;
36511
36646
  deploymentRecordSchema: z.ZodType<{
36512
36647
  id: string;
@@ -37754,6 +37889,12 @@ declare const managementResponseSchemas: {
37754
37889
  key: string | null;
37755
37890
  archivedAt: number | null;
37756
37891
  }[] | undefined;
37892
+ warnings?: {
37893
+ code: string;
37894
+ message: string;
37895
+ quests: string[];
37896
+ integration?: string | undefined;
37897
+ }[] | undefined;
37757
37898
  } | {
37758
37899
  id: string;
37759
37900
  engagement: ({
@@ -39002,6 +39143,12 @@ declare const managementResponseSchemas: {
39002
39143
  key: string | null;
39003
39144
  archivedAt: number | null;
39004
39145
  }[] | undefined;
39146
+ warnings?: {
39147
+ code: string;
39148
+ message: string;
39149
+ quests: string[];
39150
+ integration?: string | undefined;
39151
+ }[] | undefined;
39005
39152
  } | {
39006
39153
  id: string;
39007
39154
  engagement: ({
@@ -40253,6 +40400,12 @@ declare const managementResponseSchemas: {
40253
40400
  key: string | null;
40254
40401
  archivedAt: number | null;
40255
40402
  }[] | undefined;
40403
+ warnings?: {
40404
+ code: string;
40405
+ message: string;
40406
+ quests: string[];
40407
+ integration?: string | undefined;
40408
+ }[] | undefined;
40256
40409
  } | {
40257
40410
  id: string;
40258
40411
  engagement: ({
@@ -41504,6 +41657,12 @@ declare const managementResponseSchemas: {
41504
41657
  key: string | null;
41505
41658
  archivedAt: number | null;
41506
41659
  }[] | undefined;
41660
+ warnings?: {
41661
+ code: string;
41662
+ message: string;
41663
+ quests: string[];
41664
+ integration?: string | undefined;
41665
+ }[] | undefined;
41507
41666
  }, unknown, z.core.$ZodTypeInternals<{
41508
41667
  id: string;
41509
41668
  engagement: ({
@@ -42750,6 +42909,12 @@ declare const managementResponseSchemas: {
42750
42909
  key: string | null;
42751
42910
  archivedAt: number | null;
42752
42911
  }[] | undefined;
42912
+ warnings?: {
42913
+ code: string;
42914
+ message: string;
42915
+ quests: string[];
42916
+ integration?: string | undefined;
42917
+ }[] | undefined;
42753
42918
  } | {
42754
42919
  id: string;
42755
42920
  engagement: ({
@@ -43998,6 +44163,12 @@ declare const managementResponseSchemas: {
43998
44163
  key: string | null;
43999
44164
  archivedAt: number | null;
44000
44165
  }[] | undefined;
44166
+ warnings?: {
44167
+ code: string;
44168
+ message: string;
44169
+ quests: string[];
44170
+ integration?: string | undefined;
44171
+ }[] | undefined;
44001
44172
  } | {
44002
44173
  id: string;
44003
44174
  engagement: ({
@@ -45249,6 +45420,12 @@ declare const managementResponseSchemas: {
45249
45420
  key: string | null;
45250
45421
  archivedAt: number | null;
45251
45422
  }[] | undefined;
45423
+ warnings?: {
45424
+ code: string;
45425
+ message: string;
45426
+ quests: string[];
45427
+ integration?: string | undefined;
45428
+ }[] | undefined;
45252
45429
  } | {
45253
45430
  id: string;
45254
45431
  engagement: ({
@@ -46500,6 +46677,12 @@ declare const managementResponseSchemas: {
46500
46677
  key: string | null;
46501
46678
  archivedAt: number | null;
46502
46679
  }[] | undefined;
46680
+ warnings?: {
46681
+ code: string;
46682
+ message: string;
46683
+ quests: string[];
46684
+ integration?: string | undefined;
46685
+ }[] | undefined;
46503
46686
  }, unknown>>;
46504
46687
  deploymentResultSchema: z.ZodType<{
46505
46688
  id: string;
@@ -47736,6 +47919,12 @@ declare const managementResponseSchemas: {
47736
47919
  key: string | null;
47737
47920
  archivedAt: number | null;
47738
47921
  }[] | undefined;
47922
+ warnings?: {
47923
+ code: string;
47924
+ message: string;
47925
+ quests: string[];
47926
+ integration?: string | undefined;
47927
+ }[] | undefined;
47739
47928
  }, unknown, z.core.$ZodTypeInternals<{
47740
47929
  id: string;
47741
47930
  engagement: ({
@@ -48971,6 +49160,12 @@ declare const managementResponseSchemas: {
48971
49160
  key: string | null;
48972
49161
  archivedAt: number | null;
48973
49162
  }[] | undefined;
49163
+ warnings?: {
49164
+ code: string;
49165
+ message: string;
49166
+ quests: string[];
49167
+ integration?: string | undefined;
49168
+ }[] | undefined;
48974
49169
  }, unknown>>;
48975
49170
  engagementBoundaryPageSchema: z.ZodType<{
48976
49171
  current: {
@@ -53439,6 +53634,27 @@ declare const managementResponseSchemas: {
53439
53634
  revision: number;
53440
53635
  status: "disconnected";
53441
53636
  }, unknown>>;
53637
+ managedTelegramAccountSchema: z.ZodType<{
53638
+ revision: number;
53639
+ provider: "telegram";
53640
+ status: "connected";
53641
+ subject: string;
53642
+ linkedAt: number;
53643
+ } | {
53644
+ revision: number;
53645
+ provider: "telegram";
53646
+ status: "disconnected";
53647
+ }, unknown, z.core.$ZodTypeInternals<{
53648
+ revision: number;
53649
+ provider: "telegram";
53650
+ status: "connected";
53651
+ subject: string;
53652
+ linkedAt: number;
53653
+ } | {
53654
+ revision: number;
53655
+ provider: "telegram";
53656
+ status: "disconnected";
53657
+ }, unknown>>;
53442
53658
  managedPointHistoryPageSchema: z.ZodType<{
53443
53659
  items: {
53444
53660
  id: string;
@@ -57581,6 +57797,10 @@ declare const managementResponseSchemas: {
57581
57797
  issue: string | null;
57582
57798
  updatedAt: number | null;
57583
57799
  updatedBy: string | null;
57800
+ telegram?: {
57801
+ login: boolean;
57802
+ miniAppBotId: string | null;
57803
+ } | undefined;
57584
57804
  }, unknown, z.core.$ZodTypeInternals<{
57585
57805
  providers: {
57586
57806
  provider: "discord" | "x" | "google" | "apple";
@@ -57591,6 +57811,10 @@ declare const managementResponseSchemas: {
57591
57811
  issue: string | null;
57592
57812
  updatedAt: number | null;
57593
57813
  updatedBy: string | null;
57814
+ telegram?: {
57815
+ login: boolean;
57816
+ miniAppBotId: string | null;
57817
+ } | undefined;
57594
57818
  }, unknown>>;
57595
57819
  personSchema: z.ZodType<{
57596
57820
  id: string;
@@ -66303,6 +66527,12 @@ declare const managementResponses: {
66303
66527
  key: string | null;
66304
66528
  archivedAt: number | null;
66305
66529
  }[] | undefined;
66530
+ warnings?: {
66531
+ code: string;
66532
+ message: string;
66533
+ quests: string[];
66534
+ integration?: string | undefined;
66535
+ }[] | undefined;
66306
66536
  }>>;
66307
66537
  deploymentRecordSchema: ResponseSchema<ResponseResult<{
66308
66538
  id: string;
@@ -67550,6 +67780,12 @@ declare const managementResponses: {
67550
67780
  key: string | null;
67551
67781
  archivedAt: number | null;
67552
67782
  }[] | undefined;
67783
+ warnings?: {
67784
+ code: string;
67785
+ message: string;
67786
+ quests: string[];
67787
+ integration?: string | undefined;
67788
+ }[] | undefined;
67553
67789
  } | {
67554
67790
  id: string;
67555
67791
  engagement: ({
@@ -68798,6 +69034,12 @@ declare const managementResponses: {
68798
69034
  key: string | null;
68799
69035
  archivedAt: number | null;
68800
69036
  }[] | undefined;
69037
+ warnings?: {
69038
+ code: string;
69039
+ message: string;
69040
+ quests: string[];
69041
+ integration?: string | undefined;
69042
+ }[] | undefined;
68801
69043
  } | {
68802
69044
  id: string;
68803
69045
  engagement: ({
@@ -70049,6 +70291,12 @@ declare const managementResponses: {
70049
70291
  key: string | null;
70050
70292
  archivedAt: number | null;
70051
70293
  }[] | undefined;
70294
+ warnings?: {
70295
+ code: string;
70296
+ message: string;
70297
+ quests: string[];
70298
+ integration?: string | undefined;
70299
+ }[] | undefined;
70052
70300
  } | {
70053
70301
  id: string;
70054
70302
  engagement: ({
@@ -71300,6 +71548,12 @@ declare const managementResponses: {
71300
71548
  key: string | null;
71301
71549
  archivedAt: number | null;
71302
71550
  }[] | undefined;
71551
+ warnings?: {
71552
+ code: string;
71553
+ message: string;
71554
+ quests: string[];
71555
+ integration?: string | undefined;
71556
+ }[] | undefined;
71303
71557
  }>>;
71304
71558
  deploymentResultSchema: ResponseSchema<ResponseResult<{
71305
71559
  id: string;
@@ -72536,6 +72790,12 @@ declare const managementResponses: {
72536
72790
  key: string | null;
72537
72791
  archivedAt: number | null;
72538
72792
  }[] | undefined;
72793
+ warnings?: {
72794
+ code: string;
72795
+ message: string;
72796
+ quests: string[];
72797
+ integration?: string | undefined;
72798
+ }[] | undefined;
72539
72799
  }>>;
72540
72800
  engagementBoundaryPageSchema: ResponseSchema<ResponseResult<{
72541
72801
  current: {
@@ -74784,6 +75044,17 @@ declare const managementResponses: {
74784
75044
  revision: number;
74785
75045
  status: "disconnected";
74786
75046
  }>>;
75047
+ managedTelegramAccountSchema: ResponseSchema<ResponseResult<{
75048
+ revision: number;
75049
+ provider: "telegram";
75050
+ status: "connected";
75051
+ subject: string;
75052
+ linkedAt: number;
75053
+ } | {
75054
+ revision: number;
75055
+ provider: "telegram";
75056
+ status: "disconnected";
75057
+ }>>;
74787
75058
  managedPointHistoryPageSchema: ResponseSchema<ResponseResult<{
74788
75059
  items: {
74789
75060
  id: string;
@@ -76865,6 +77136,10 @@ declare const managementResponses: {
76865
77136
  issue: string | null;
76866
77137
  updatedAt: number | null;
76867
77138
  updatedBy: string | null;
77139
+ telegram?: {
77140
+ login: boolean;
77141
+ miniAppBotId: string | null;
77142
+ } | undefined;
76868
77143
  }>>;
76869
77144
  personSchema: ResponseSchema<ResponseResult<{
76870
77145
  id: string;
@@ -79948,4 +80223,4 @@ declare function managementTransport(options: ManagementTransportOptions): {
79948
80223
  }) => Promise<unknown>;
79949
80224
  };
79950
80225
 
79951
- export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type ResourceLifecycleInput as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, DEFAULT_MANAGEMENT_TIMEOUT as a7, type HostedAppSecrets as a8, type HostedBuild as a9, type ManagedResource as aA, type ManagedStockItem as aB, type ManagedWallet as aC, type ManagementCallOptions as aD, type ManagementClient as aE, type ManagementClientOptions as aF, ManagementError as aG, ManagementErrorCode as aH, type ManagementErrorInit as aI, type ManagementErrorKind as aJ, type ManagementPage as aK, type ManagementRawInit as aL, type MemberDetail as aM, type MemberIdentityLink as aN, type OperatorUser as aO, type ParticipantSignIn as aP, type ParticipantSignInInput as aQ, PayoutSourceKind as aR, type Permission as aS, type Person as aT, type Project as aU, type ProjectMetrics as aV, type QuestEnrollmentState as aW, type QuestEnrollmentWithdrawalInput as aX, type QuestLifecycle as aY, type QuestLifecycleInput as aZ, type ResourceArchiveInput as a_, type HostedDeploymentKey as aa, type HostedKey as ab, type HostedKeyPermission as ac, type HostedManagementEnv as ad, type IdentityLinkRelinkInput as ae, type InventoryItemAction as af, type InventoryItemRename as ag, type InventoryItemState as ah, type InventoryStockCorrection as ai, type KnownPayoutSourceKind as aj, type LeaderboardSettlementRejection as ak, type LeaderboardSettlementReview as al, type ListQuery as am, type ManagedAttempt as an, type ManagedAttemptPage as ao, type ManagedAttemptQuery as ap, type ManagedEntitlement as aq, type ManagedEntitlementPage as ar, type ManagedEntitlementQuery as as, type ManagedMemberIdentity as at, type ManagedMemberPage as au, type ManagedMemberQuery as av, type ManagedOAuthAccount as aw, type ManagedQuestEnrollment as ax, type ManagedReleasePage as ay, type ManagedReleaseQuery as az, identityIntegrationSecretSchema as b, completionRevocationSchema as b$, RevokedDeliveryOutcome as b0, RevokedEntitlementOutcome as b1, RevokedReferralOutcome as b2, type ScheduledInvocation as b3, type StagedDeployment as b4, type StagedDeploymentContent as b5, type StagingAccess as b6, type StagingAccessInput as b7, type StagingLink as b8, type StarterId as b9, appSecretDeclarationSchema as bA, appSecretDeclarationsSchema as bB, appSecretInputSchema as bC, appSecretListSchema as bD, appSecretNameSchema as bE, appSecretSchema as bF, appSecretValueSchema as bG, appStorageCellSchema as bH, appStorageKeysSchema as bI, appStorageKindSchema as bJ, appStorageListSchema as bK, appStorageRowsSchema as bL, appStorageSchema as bM, appStorageTablesSchema as bN, appStorageValueSchema as bO, assetPathSchema as bP, auditPageSchema as bQ, auditQuerySchema as bR, auditRecordSchema as bS, balanceCheckSchema as bT, buildArtifactsSchema as bU, buildIdentitySchema as bV, buildPhaseSchema as bW, buildSnapshotSchema as bX, buildStatusSchema as bY, commitSchema as bZ, compareAppMigrations as b_, type StarterTemplate as ba, type TestMember as bb, type TestMemberActionInput as bc, type TestMemberAdvanceInput as bd, type TestMemberCreateInput as be, type TestMemberHistory as bf, type TestMemberHistoryQuery as bg, type TestMemberResetInput as bh, type TestMemberResetResult as bi, WEBHOOK_MAX_BYTES as bj, type WalletBalanceChains as bk, type WebhookDeleteInput as bl, type WebhookEndpointState as bm, type WebhookEvent as bn, accessHistoryQuerySchema as bo, accessSchema as bp, accountProfileSchema as bq, appMigrationNameSchema as br, appRoutingSchema as bs, appScheduleListSchema as bt, appScheduleNameSchema as bu, appSchedulePathSchema as bv, appScheduleRunSchema as bw, appScheduleSchema as bx, appScheduleStateSchema as by, appSchedulesSchema as bz, containsReferralIntegrationReward as c, memberSchema as c$, completionRevocationShortfallSchema as c0, completionRevokeSchema as c1, createManagementClient as c2, createRepositorySchema as c3, developmentPreflightSchema as c4, deviceApproveSchema as c5, deviceRedeemSchema as c6, deviceStartSchema as c7, environmentSchema as c8, grantRecordSchema as c9, managedAttemptPageSchema as cA, managedAttemptQuerySchema as cB, managedAttemptSchema as cC, managedEntitlementPageSchema as cD, managedEntitlementQuerySchema as cE, managedEntitlementSchema as cF, managedMemberIdentitySchema as cG, managedMemberPageSchema as cH, managedMemberQuerySchema as cI, managedOAuthAccountSchema as cJ, managedQuestEnrollmentPageSchema as cK, managedQuestEnrollmentSchema as cL, managedReleasePageSchema as cM, managedReleaseQuerySchema as cN, managedResourceSchema as cO, managedStockItemSchema as cP, managedWalletSchema as cQ, managementErrorSchema as cR, managementResponseSchemas as cS, managementResponses as cT, memberAccountSchema as cU, memberDetailSchema as cV, memberIdentityChangeInputSchema as cW, memberIdentityLinkPageSchema as cX, memberIdentityLinkSchema as cY, memberLookupSchema as cZ, memberOAuthUnlinkInputSchema as c_, grantSchema as ca, hostedAppSchema as cb, hostedAppSecretsSchema as cc, hostedBuildSchema as cd, hostedDeploymentKeySchema as ce, hostedKeyPermissions as cf, hostedKeySchema as cg, hostedKeySecretSchema as ch, hostedManagementBindings as ci, hostedManagementClient as cj, identityLinkRelinkInputSchema as ck, identityLinkSelectorSchema as cl, ingestTrackerScopeSchema as cm, inventoryItemActionSchema as cn, inventoryItemPageSchema as co, inventoryItemRenameSchema as cp, inventoryItemStateSchema as cq, inventorySchema as cr, inventoryStockCorrectionSchema as cs, isManagementError as ct, issuedTokenSchema as cu, leaderboardSettlementRejectionSchema as cv, leaderboardSettlementReviewPageSchema as cw, leaderboardSettlementReviewQuerySchema as cx, leaderboardSettlementReviewSchema as cy, leaderboardSettlementReviewSummarySchema as cz, identityKindClaimSchema as d, tokenScopeInputSchema as d$, memberWalletSignInInputSchema as d0, memberWalletUnlinkInputSchema as d1, metricsSchema as d2, nextScheduleRun as d3, oauthIdentitySelectorSchema as d4, operationInputSchema as d5, operationSchema as d6, operatorUserSchema as d7, pageSchema as d8, participantSignInInputSchema as d9, roleSchema as dA, scheduledInvocationSchema as dB, stageRequestSchema as dC, stagedDeploymentContentSchema as dD, stagedDeploymentKey as dE, stagedDeploymentLimits as dF, stagedDeploymentSchema as dG, stagingAccessInputSchema as dH, stagingAccessModeSchema as dI, stagingAccessSchema as dJ, stagingLinkSchema as dK, stagingPathSchema as dL, starterIdSchema as dM, starterTemplates as dN, stockAdditionSchema as dO, stockInputSchema as dP, teamSchema as dQ, testMemberActionSchema as dR, testMemberAdvanceSchema as dS, testMemberCreateSchema as dT, testMemberHistoryQuerySchema as dU, testMemberHistorySchema as dV, testMemberResetResultSchema as dW, testMemberResetSchema as dX, testMemberSchema as dY, tokenInputSchema as dZ, tokenSchema as d_, participantSignInSchema as da, permissionSchema as db, personSchema as dc, projectDeletionInputSchema as dd, projectDeletionSchema as de, projectInputSchema as df, projectMetricsSchema as dg, projectSchema as dh, projectSetupSchema as di, projectTransferInputSchema as dj, projectTransferSchema as dk, projectUpdateInputSchema as dl, querySchema as dm, questEnrollmentStateSchema as dn, questEnrollmentWithdrawalInputSchema as dp, questLifecycleInputSchema as dq, questLifecycleSchema as dr, readinessSchema as ds, repositorySchema as dt, resourceArchiveInputSchema as du, resourceLifecycleInputSchema as dv, resourceLifecycleKindSchema as dw, resourceLifecyclePaths as dx, resourceLifecycleResultSchema as dy, rolePermissions as dz, isIntegrationParticipantPath as e, verifiedPassSchema as e0, verifyScheduledRequest as e1, verifyWebhook as e2, walletBalanceChainsSchema as e3, walletIdentitySelectorSchema as e4, webhookControlInputSchema as e5, webhookDeleteInputSchema as e6, webhookDeliveryPageSchema as e7, webhookDeliverySchema as e8, webhookEndpointSchema as e9, webhookEndpointStateSchema as ea, webhookEventSchema as eb, webhookInputSchema as ec, webhookQuerySchema as ed, webhookSecretSchema as ee, webhookStatePageSchema as ef, webhookStateQuerySchema as eg, webhookUpdateSchema as eh, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };
80226
+ export { type BalanceCheck as $, APP_KV_LIMIT as A, APP_STORAGE_PREVIEW_CHARACTERS as B, APP_STORAGE_ROW_LIMIT as C, type Access as D, type AccessHistoryQuery as E, type AppSchedule as F, type AppScheduleList as G, type AppSchedules as H, type IdentityKindClaim as I, type AppSecret as J, type AppSecretDeclaration as K, type AppSecretInput as L, type ManagementTransportOptions as M, type AppSecretList as N, type AppStorage as O, type ParticipantRoute as P, type AppStorageCell as Q, REFERRAL_INTEGRATION_REWARD_ERROR as R, type AppStorageKeys as S, type AppStorageKind as T, type AppStorageList as U, type AppStorageRows as V, type AppStorageTables as W, type AppStorageValue as X, type AuditPage as Y, type AuditQuery as Z, type AuditRecord as _, identityIntegrationSchema as a, type ResourceArchiveInput as a$, type BuildArtifacts as a0, type BuildIdentity as a1, type BuildSnapshot as a2, type BuildStatus as a3, type CompletionRevocation as a4, type CompletionRevocationShortfall as a5, type CompletionRevokeInput as a6, DEFAULT_MANAGEMENT_TIMEOUT as a7, type HostedAppSecrets as a8, type HostedBuild as a9, type ManagedResource as aA, type ManagedStockItem as aB, type ManagedTelegramAccount as aC, type ManagedWallet as aD, type ManagementCallOptions as aE, type ManagementClient as aF, type ManagementClientOptions as aG, ManagementError as aH, ManagementErrorCode as aI, type ManagementErrorInit as aJ, type ManagementErrorKind as aK, type ManagementPage as aL, type ManagementRawInit as aM, type MemberDetail as aN, type MemberIdentityLink as aO, type OperatorUser as aP, type ParticipantSignIn as aQ, type ParticipantSignInInput as aR, PayoutSourceKind as aS, type Permission as aT, type Person as aU, type Project as aV, type ProjectMetrics as aW, type QuestEnrollmentState as aX, type QuestEnrollmentWithdrawalInput as aY, type QuestLifecycle as aZ, type QuestLifecycleInput as a_, type HostedDeploymentKey as aa, type HostedKey as ab, type HostedKeyPermission as ac, type HostedManagementEnv as ad, type IdentityLinkRelinkInput as ae, type InventoryItemAction as af, type InventoryItemRename as ag, type InventoryItemState as ah, type InventoryStockCorrection as ai, type KnownPayoutSourceKind as aj, type LeaderboardSettlementRejection as ak, type LeaderboardSettlementReview as al, type ListQuery as am, type ManagedAttempt as an, type ManagedAttemptPage as ao, type ManagedAttemptQuery as ap, type ManagedEntitlement as aq, type ManagedEntitlementPage as ar, type ManagedEntitlementQuery as as, type ManagedMemberIdentity as at, type ManagedMemberPage as au, type ManagedMemberQuery as av, type ManagedOAuthAccount as aw, type ManagedQuestEnrollment as ax, type ManagedReleasePage as ay, type ManagedReleaseQuery as az, identityIntegrationSecretSchema as b, compareAppMigrations as b$, type ResourceLifecycleInput as b0, RevokedDeliveryOutcome as b1, RevokedEntitlementOutcome as b2, RevokedReferralOutcome as b3, type ScheduledInvocation as b4, type StagedDeployment as b5, type StagedDeploymentContent as b6, type StagingAccess as b7, type StagingAccessInput as b8, type StagingLink as b9, appSchedulesSchema as bA, appSecretDeclarationSchema as bB, appSecretDeclarationsSchema as bC, appSecretInputSchema as bD, appSecretListSchema as bE, appSecretNameSchema as bF, appSecretSchema as bG, appSecretValueSchema as bH, appStorageCellSchema as bI, appStorageKeysSchema as bJ, appStorageKindSchema as bK, appStorageListSchema as bL, appStorageRowsSchema as bM, appStorageSchema as bN, appStorageTablesSchema as bO, appStorageValueSchema as bP, assetPathSchema as bQ, auditPageSchema as bR, auditQuerySchema as bS, auditRecordSchema as bT, balanceCheckSchema as bU, buildArtifactsSchema as bV, buildIdentitySchema as bW, buildPhaseSchema as bX, buildSnapshotSchema as bY, buildStatusSchema as bZ, commitSchema as b_, type StarterId as ba, type StarterTemplate as bb, type TestMember as bc, type TestMemberActionInput as bd, type TestMemberAdvanceInput as be, type TestMemberCreateInput as bf, type TestMemberHistory as bg, type TestMemberHistoryQuery as bh, type TestMemberResetInput as bi, type TestMemberResetResult as bj, WEBHOOK_MAX_BYTES as bk, type WalletBalanceChains as bl, type WebhookDeleteInput as bm, type WebhookEndpointState as bn, type WebhookEvent as bo, accessHistoryQuerySchema as bp, accessSchema as bq, accountProfileSchema as br, appMigrationNameSchema as bs, appRoutingSchema as bt, appScheduleListSchema as bu, appScheduleNameSchema as bv, appSchedulePathSchema as bw, appScheduleRunSchema as bx, appScheduleSchema as by, appScheduleStateSchema as bz, containsReferralIntegrationReward as c, memberLookupSchema as c$, completionRevocationSchema as c0, completionRevocationShortfallSchema as c1, completionRevokeSchema as c2, createManagementClient as c3, createRepositorySchema as c4, developmentPreflightSchema as c5, deviceApproveSchema as c6, deviceRedeemSchema as c7, deviceStartSchema as c8, environmentSchema as c9, leaderboardSettlementReviewSummarySchema as cA, managedAttemptPageSchema as cB, managedAttemptQuerySchema as cC, managedAttemptSchema as cD, managedEntitlementPageSchema as cE, managedEntitlementQuerySchema as cF, managedEntitlementSchema as cG, managedMemberIdentitySchema as cH, managedMemberPageSchema as cI, managedMemberQuerySchema as cJ, managedOAuthAccountSchema as cK, managedQuestEnrollmentPageSchema as cL, managedQuestEnrollmentSchema as cM, managedReleasePageSchema as cN, managedReleaseQuerySchema as cO, managedResourceSchema as cP, managedStockItemSchema as cQ, managedTelegramAccountSchema as cR, managedWalletSchema as cS, managementErrorSchema as cT, managementResponseSchemas as cU, managementResponses as cV, memberAccountSchema as cW, memberDetailSchema as cX, memberIdentityChangeInputSchema as cY, memberIdentityLinkPageSchema as cZ, memberIdentityLinkSchema as c_, grantRecordSchema as ca, grantSchema as cb, hostedAppSchema as cc, hostedAppSecretsSchema as cd, hostedBuildSchema as ce, hostedDeploymentKeySchema as cf, hostedKeyPermissions as cg, hostedKeySchema as ch, hostedKeySecretSchema as ci, hostedManagementBindings as cj, hostedManagementClient as ck, identityLinkRelinkInputSchema as cl, identityLinkSelectorSchema as cm, ingestTrackerScopeSchema as cn, inventoryItemActionSchema as co, inventoryItemPageSchema as cp, inventoryItemRenameSchema as cq, inventoryItemStateSchema as cr, inventorySchema as cs, inventoryStockCorrectionSchema as ct, isManagementError as cu, issuedTokenSchema as cv, leaderboardSettlementRejectionSchema as cw, leaderboardSettlementReviewPageSchema as cx, leaderboardSettlementReviewQuerySchema as cy, leaderboardSettlementReviewSchema as cz, identityKindClaimSchema as d, testMemberResetSchema as d$, memberOAuthUnlinkInputSchema as d0, memberSchema as d1, memberTelegramUnlinkInputSchema as d2, memberWalletSignInInputSchema as d3, memberWalletUnlinkInputSchema as d4, metricsSchema as d5, nextScheduleRun as d6, oauthIdentitySelectorSchema as d7, operationInputSchema as d8, operationSchema as d9, resourceLifecyclePaths as dA, resourceLifecycleResultSchema as dB, rolePermissions as dC, roleSchema as dD, scheduledInvocationSchema as dE, stageRequestSchema as dF, stagedDeploymentContentSchema as dG, stagedDeploymentKey as dH, stagedDeploymentLimits as dI, stagedDeploymentSchema as dJ, stagingAccessInputSchema as dK, stagingAccessModeSchema as dL, stagingAccessSchema as dM, stagingLinkSchema as dN, stagingPathSchema as dO, starterIdSchema as dP, starterTemplates as dQ, stockAdditionSchema as dR, stockInputSchema as dS, teamSchema as dT, telegramBotIdSchema as dU, testMemberActionSchema as dV, testMemberAdvanceSchema as dW, testMemberCreateSchema as dX, testMemberHistoryQuerySchema as dY, testMemberHistorySchema as dZ, testMemberResetResultSchema as d_, operatorUserSchema as da, pageSchema as db, participantSignInInputSchema as dc, participantSignInSchema as dd, permissionSchema as de, personSchema as df, projectDeletionInputSchema as dg, projectDeletionSchema as dh, projectInputSchema as di, projectMetricsSchema as dj, projectSchema as dk, projectSetupSchema as dl, projectTransferInputSchema as dm, projectTransferSchema as dn, projectUpdateInputSchema as dp, querySchema as dq, questEnrollmentStateSchema as dr, questEnrollmentWithdrawalInputSchema as ds, questLifecycleInputSchema as dt, questLifecycleSchema as du, readinessSchema as dv, repositorySchema as dw, resourceArchiveInputSchema as dx, resourceLifecycleInputSchema as dy, resourceLifecycleKindSchema as dz, isIntegrationParticipantPath as e, testMemberSchema as e0, tokenInputSchema as e1, tokenSchema as e2, tokenScopeInputSchema as e3, verifiedPassSchema as e4, verifyScheduledRequest as e5, verifyWebhook as e6, walletBalanceChainsSchema as e7, walletIdentitySelectorSchema as e8, webhookControlInputSchema as e9, webhookDeleteInputSchema as ea, webhookDeliveryPageSchema as eb, webhookDeliverySchema as ec, webhookEndpointSchema as ed, webhookEndpointStateSchema as ee, webhookEventSchema as ef, webhookInputSchema as eg, webhookQuerySchema as eh, webhookSecretSchema as ei, webhookStatePageSchema as ej, webhookStateQuerySchema as ek, webhookUpdateSchema as el, isParticipantRoute as f, parseImageResult as g, participantExchangeSchema as h, identityIntegrationInputSchema as i, participantRoutePattern as j, participantRoutes as k, sourceDataSchema as l, managementTransport as m, sourceRoles as n, APP_MIGRATION_FILE_BYTES as o, parseImageExtraction as p, questConfiguration as q, APP_MIGRATION_LIMIT as r, sequenceCursorSchema as s, APP_MIGRATION_TOTAL_BYTES as t, APP_SCHEDULE_LIMIT as u, validateQuestShape as v, APP_SCHEDULE_MIN_INTERVAL as w, APP_SCHEDULE_TIMEOUT as x, APP_SECRET_LIMIT as y, APP_SQL_LIMIT as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "1.18.1",
3
+ "version": "1.20.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {