@domino-sdk/relay 0.9.1 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +56 -56
- package/dist/browser.js +1 -1
- package/dist/{chunk-Y6H4HDQT.js → chunk-ATLYA27Y.js} +12 -0
- package/dist/index.d.ts +132 -120
- package/dist/index.js +1 -1
- package/dist/portal-proxy.d.ts +8 -4
- package/dist/portal-proxy.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -190,9 +190,9 @@ type ProgressObserver = {
|
|
|
190
190
|
};
|
|
191
191
|
|
|
192
192
|
declare const interactionSchema: z.ZodEnum<{
|
|
193
|
+
staff: "staff";
|
|
193
194
|
quiz: "quiz";
|
|
194
195
|
photo: "photo";
|
|
195
|
-
staff: "staff";
|
|
196
196
|
automatic: "automatic";
|
|
197
197
|
claim: "claim";
|
|
198
198
|
}>;
|
|
@@ -371,12 +371,12 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
371
371
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
372
372
|
id: z.ZodString;
|
|
373
373
|
scope: z.ZodEnum<{
|
|
374
|
-
member: "member";
|
|
375
374
|
project: "project";
|
|
375
|
+
member: "member";
|
|
376
376
|
}>;
|
|
377
377
|
period: z.ZodEnum<{
|
|
378
|
-
lifetime: "lifetime";
|
|
379
378
|
day: "day";
|
|
379
|
+
lifetime: "lifetime";
|
|
380
380
|
}>;
|
|
381
381
|
limit: z.ZodNumber;
|
|
382
382
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -713,12 +713,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
713
713
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
714
714
|
id: z.ZodString;
|
|
715
715
|
scope: z.ZodEnum<{
|
|
716
|
-
member: "member";
|
|
717
716
|
project: "project";
|
|
717
|
+
member: "member";
|
|
718
718
|
}>;
|
|
719
719
|
period: z.ZodEnum<{
|
|
720
|
-
lifetime: "lifetime";
|
|
721
720
|
day: "day";
|
|
721
|
+
lifetime: "lifetime";
|
|
722
722
|
}>;
|
|
723
723
|
limit: z.ZodNumber;
|
|
724
724
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -999,12 +999,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
999
999
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1000
1000
|
id: z.ZodString;
|
|
1001
1001
|
scope: z.ZodEnum<{
|
|
1002
|
-
member: "member";
|
|
1003
1002
|
project: "project";
|
|
1003
|
+
member: "member";
|
|
1004
1004
|
}>;
|
|
1005
1005
|
period: z.ZodEnum<{
|
|
1006
|
-
lifetime: "lifetime";
|
|
1007
1006
|
day: "day";
|
|
1007
|
+
lifetime: "lifetime";
|
|
1008
1008
|
}>;
|
|
1009
1009
|
limit: z.ZodNumber;
|
|
1010
1010
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1096,7 +1096,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1096
1096
|
createdAt: z.ZodNumber;
|
|
1097
1097
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1098
1098
|
quest: string;
|
|
1099
|
-
runtimeVersion:
|
|
1099
|
+
runtimeVersion: 2 | 1;
|
|
1100
1100
|
title: string;
|
|
1101
1101
|
presentation: {
|
|
1102
1102
|
quiz?: {
|
|
@@ -1133,12 +1133,12 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1133
1133
|
kind: "resource";
|
|
1134
1134
|
default: string;
|
|
1135
1135
|
source: {
|
|
1136
|
+
provider: "domino";
|
|
1137
|
+
resource: "point-ledger";
|
|
1138
|
+
} | {
|
|
1136
1139
|
provider: "discord";
|
|
1137
1140
|
resource: "channel";
|
|
1138
1141
|
types: ("text" | "announcement")[];
|
|
1139
|
-
} | {
|
|
1140
|
-
provider: "domino";
|
|
1141
|
-
resource: "point-ledger";
|
|
1142
1142
|
} | {
|
|
1143
1143
|
provider: "discord";
|
|
1144
1144
|
resource: "role";
|
|
@@ -1246,8 +1246,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1246
1246
|
visibility: "visible" | "hidden";
|
|
1247
1247
|
budgets: {
|
|
1248
1248
|
id: string;
|
|
1249
|
-
scope: "
|
|
1250
|
-
period: "
|
|
1249
|
+
scope: "project" | "member";
|
|
1250
|
+
period: "day" | "lifetime";
|
|
1251
1251
|
limit: number;
|
|
1252
1252
|
cost: number | {
|
|
1253
1253
|
balance: string;
|
|
@@ -1322,9 +1322,9 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1322
1322
|
createdAt: number;
|
|
1323
1323
|
}>>]>>>;
|
|
1324
1324
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1325
|
+
staff: "staff";
|
|
1325
1326
|
quiz: "quiz";
|
|
1326
1327
|
photo: "photo";
|
|
1327
|
-
staff: "staff";
|
|
1328
1328
|
automatic: "automatic";
|
|
1329
1329
|
claim: "claim";
|
|
1330
1330
|
}>>;
|
|
@@ -1353,9 +1353,9 @@ declare const catalogDeploymentSchema: z.ZodObject<{
|
|
|
1353
1353
|
id?: string | undefined;
|
|
1354
1354
|
}>>>>;
|
|
1355
1355
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1356
|
+
staff: "staff";
|
|
1356
1357
|
quiz: "quiz";
|
|
1357
1358
|
photo: "photo";
|
|
1358
|
-
staff: "staff";
|
|
1359
1359
|
automatic: "automatic";
|
|
1360
1360
|
claim: "claim";
|
|
1361
1361
|
}>>>;
|
|
@@ -1535,12 +1535,12 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1535
1535
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1536
1536
|
id: z.ZodString;
|
|
1537
1537
|
scope: z.ZodEnum<{
|
|
1538
|
-
member: "member";
|
|
1539
1538
|
project: "project";
|
|
1539
|
+
member: "member";
|
|
1540
1540
|
}>;
|
|
1541
1541
|
period: z.ZodEnum<{
|
|
1542
|
-
lifetime: "lifetime";
|
|
1543
1542
|
day: "day";
|
|
1543
|
+
lifetime: "lifetime";
|
|
1544
1544
|
}>;
|
|
1545
1545
|
limit: z.ZodNumber;
|
|
1546
1546
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -1563,9 +1563,9 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
1563
1563
|
title: z.ZodString;
|
|
1564
1564
|
}, z.core.$strict>>;
|
|
1565
1565
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1566
|
+
staff: "staff";
|
|
1566
1567
|
quiz: "quiz";
|
|
1567
1568
|
photo: "photo";
|
|
1568
|
-
staff: "staff";
|
|
1569
1569
|
automatic: "automatic";
|
|
1570
1570
|
claim: "claim";
|
|
1571
1571
|
}>>;
|
|
@@ -1634,10 +1634,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1634
1634
|
}, z.core.$strict>>;
|
|
1635
1635
|
}, z.core.$strict>>;
|
|
1636
1636
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1637
|
+
discord: "discord";
|
|
1637
1638
|
google: "google";
|
|
1638
1639
|
apple: "apple";
|
|
1639
1640
|
x: "x";
|
|
1640
|
-
discord: "discord";
|
|
1641
1641
|
}>>>;
|
|
1642
1642
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1643
1643
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1719,11 +1719,11 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1719
1719
|
}, Record<string, string>>>;
|
|
1720
1720
|
}, z.core.$strict>>;
|
|
1721
1721
|
status: z.ZodEnum<{
|
|
1722
|
-
"needs-review": "needs-review";
|
|
1723
1722
|
queued: "queued";
|
|
1724
1723
|
evaluating: "evaluating";
|
|
1725
1724
|
accepted: "accepted";
|
|
1726
1725
|
rejected: "rejected";
|
|
1726
|
+
"needs-review": "needs-review";
|
|
1727
1727
|
failed: "failed";
|
|
1728
1728
|
}>;
|
|
1729
1729
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1761,9 +1761,9 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
1761
1761
|
}, z.core.$strip>>;
|
|
1762
1762
|
release: z.ZodString;
|
|
1763
1763
|
interaction: z.ZodEnum<{
|
|
1764
|
+
staff: "staff";
|
|
1764
1765
|
quiz: "quiz";
|
|
1765
1766
|
photo: "photo";
|
|
1766
|
-
staff: "staff";
|
|
1767
1767
|
automatic: "automatic";
|
|
1768
1768
|
claim: "claim";
|
|
1769
1769
|
}>;
|
|
@@ -1805,10 +1805,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1805
1805
|
}, z.core.$strict>>;
|
|
1806
1806
|
}, z.core.$strict>>;
|
|
1807
1807
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1808
|
+
discord: "discord";
|
|
1808
1809
|
google: "google";
|
|
1809
1810
|
apple: "apple";
|
|
1810
1811
|
x: "x";
|
|
1811
|
-
discord: "discord";
|
|
1812
1812
|
}>>>;
|
|
1813
1813
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1814
1814
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -1890,11 +1890,11 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1890
1890
|
}, Record<string, string>>>;
|
|
1891
1891
|
}, z.core.$strict>>;
|
|
1892
1892
|
status: z.ZodEnum<{
|
|
1893
|
-
"needs-review": "needs-review";
|
|
1894
1893
|
queued: "queued";
|
|
1895
1894
|
evaluating: "evaluating";
|
|
1896
1895
|
accepted: "accepted";
|
|
1897
1896
|
rejected: "rejected";
|
|
1897
|
+
"needs-review": "needs-review";
|
|
1898
1898
|
failed: "failed";
|
|
1899
1899
|
}>;
|
|
1900
1900
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -1932,9 +1932,9 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
1932
1932
|
}, z.core.$strip>>;
|
|
1933
1933
|
release: z.ZodString;
|
|
1934
1934
|
interaction: z.ZodEnum<{
|
|
1935
|
+
staff: "staff";
|
|
1935
1936
|
quiz: "quiz";
|
|
1936
1937
|
photo: "photo";
|
|
1937
|
-
staff: "staff";
|
|
1938
1938
|
automatic: "automatic";
|
|
1939
1939
|
claim: "claim";
|
|
1940
1940
|
}>;
|
|
@@ -1975,10 +1975,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
1975
1975
|
}, z.core.$strict>>;
|
|
1976
1976
|
}, z.core.$strict>>;
|
|
1977
1977
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1978
|
+
discord: "discord";
|
|
1978
1979
|
google: "google";
|
|
1979
1980
|
apple: "apple";
|
|
1980
1981
|
x: "x";
|
|
1981
|
-
discord: "discord";
|
|
1982
1982
|
}>>>;
|
|
1983
1983
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
1984
1984
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2060,11 +2060,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2060
2060
|
}, Record<string, string>>>;
|
|
2061
2061
|
}, z.core.$strict>>;
|
|
2062
2062
|
status: z.ZodEnum<{
|
|
2063
|
-
"needs-review": "needs-review";
|
|
2064
2063
|
queued: "queued";
|
|
2065
2064
|
evaluating: "evaluating";
|
|
2066
2065
|
accepted: "accepted";
|
|
2067
2066
|
rejected: "rejected";
|
|
2067
|
+
"needs-review": "needs-review";
|
|
2068
2068
|
failed: "failed";
|
|
2069
2069
|
}>;
|
|
2070
2070
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2102,9 +2102,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2102
2102
|
}, z.core.$strip>>;
|
|
2103
2103
|
release: z.ZodString;
|
|
2104
2104
|
interaction: z.ZodEnum<{
|
|
2105
|
+
staff: "staff";
|
|
2105
2106
|
quiz: "quiz";
|
|
2106
2107
|
photo: "photo";
|
|
2107
|
-
staff: "staff";
|
|
2108
2108
|
automatic: "automatic";
|
|
2109
2109
|
claim: "claim";
|
|
2110
2110
|
}>;
|
|
@@ -2146,10 +2146,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2146
2146
|
}, z.core.$strict>>;
|
|
2147
2147
|
}, z.core.$strict>>;
|
|
2148
2148
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2149
|
+
discord: "discord";
|
|
2149
2150
|
google: "google";
|
|
2150
2151
|
apple: "apple";
|
|
2151
2152
|
x: "x";
|
|
2152
|
-
discord: "discord";
|
|
2153
2153
|
}>>>;
|
|
2154
2154
|
trigger: z.ZodUnion<readonly [z.ZodObject<{
|
|
2155
2155
|
kind: z.ZodLiteral<"manual">;
|
|
@@ -2231,11 +2231,11 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2231
2231
|
}, Record<string, string>>>;
|
|
2232
2232
|
}, z.core.$strict>>;
|
|
2233
2233
|
status: z.ZodEnum<{
|
|
2234
|
-
"needs-review": "needs-review";
|
|
2235
2234
|
queued: "queued";
|
|
2236
2235
|
evaluating: "evaluating";
|
|
2237
2236
|
accepted: "accepted";
|
|
2238
2237
|
rejected: "rejected";
|
|
2238
|
+
"needs-review": "needs-review";
|
|
2239
2239
|
failed: "failed";
|
|
2240
2240
|
}>;
|
|
2241
2241
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2273,9 +2273,9 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
2273
2273
|
}, z.core.$strip>>;
|
|
2274
2274
|
release: z.ZodString;
|
|
2275
2275
|
interaction: z.ZodEnum<{
|
|
2276
|
+
staff: "staff";
|
|
2276
2277
|
quiz: "quiz";
|
|
2277
2278
|
photo: "photo";
|
|
2278
|
-
staff: "staff";
|
|
2279
2279
|
automatic: "automatic";
|
|
2280
2280
|
claim: "claim";
|
|
2281
2281
|
}>;
|
|
@@ -2533,12 +2533,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2533
2533
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2534
2534
|
id: z.ZodString;
|
|
2535
2535
|
scope: z.ZodEnum<{
|
|
2536
|
-
member: "member";
|
|
2537
2536
|
project: "project";
|
|
2537
|
+
member: "member";
|
|
2538
2538
|
}>;
|
|
2539
2539
|
period: z.ZodEnum<{
|
|
2540
|
-
lifetime: "lifetime";
|
|
2541
2540
|
day: "day";
|
|
2541
|
+
lifetime: "lifetime";
|
|
2542
2542
|
}>;
|
|
2543
2543
|
limit: z.ZodNumber;
|
|
2544
2544
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -2630,7 +2630,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2630
2630
|
createdAt: z.ZodNumber;
|
|
2631
2631
|
}, z.core.$strip>, z.ZodTransform<{
|
|
2632
2632
|
quest: string;
|
|
2633
|
-
runtimeVersion:
|
|
2633
|
+
runtimeVersion: 2 | 1;
|
|
2634
2634
|
title: string;
|
|
2635
2635
|
presentation: {
|
|
2636
2636
|
quiz?: {
|
|
@@ -2667,12 +2667,12 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2667
2667
|
kind: "resource";
|
|
2668
2668
|
default: string;
|
|
2669
2669
|
source: {
|
|
2670
|
+
provider: "domino";
|
|
2671
|
+
resource: "point-ledger";
|
|
2672
|
+
} | {
|
|
2670
2673
|
provider: "discord";
|
|
2671
2674
|
resource: "channel";
|
|
2672
2675
|
types: ("text" | "announcement")[];
|
|
2673
|
-
} | {
|
|
2674
|
-
provider: "domino";
|
|
2675
|
-
resource: "point-ledger";
|
|
2676
2676
|
} | {
|
|
2677
2677
|
provider: "discord";
|
|
2678
2678
|
resource: "role";
|
|
@@ -2780,8 +2780,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
2780
2780
|
visibility: "visible" | "hidden";
|
|
2781
2781
|
budgets: {
|
|
2782
2782
|
id: string;
|
|
2783
|
-
scope: "
|
|
2784
|
-
period: "
|
|
2783
|
+
scope: "project" | "member";
|
|
2784
|
+
period: "day" | "lifetime";
|
|
2785
2785
|
limit: number;
|
|
2786
2786
|
cost: number | {
|
|
2787
2787
|
balance: string;
|
|
@@ -3119,9 +3119,9 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3119
3119
|
}>;
|
|
3120
3120
|
}, z.core.$strip>>>;
|
|
3121
3121
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3122
|
+
staff: "staff";
|
|
3122
3123
|
quiz: "quiz";
|
|
3123
3124
|
photo: "photo";
|
|
3124
|
-
staff: "staff";
|
|
3125
3125
|
automatic: "automatic";
|
|
3126
3126
|
claim: "claim";
|
|
3127
3127
|
}>>>;
|
|
@@ -3423,7 +3423,6 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3423
3423
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3424
3424
|
title: z.ZodString;
|
|
3425
3425
|
balance: z.ZodString;
|
|
3426
|
-
group: z.ZodOptional<z.ZodString>;
|
|
3427
3426
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3428
3427
|
kind: z.ZodLiteral<"balance">;
|
|
3429
3428
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3472,6 +3471,7 @@ declare const projectCatalogArtifactSchema: z.ZodObject<{
|
|
|
3472
3471
|
participants: "participants";
|
|
3473
3472
|
public: "public";
|
|
3474
3473
|
}>>;
|
|
3474
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3475
3475
|
key: z.ZodOptional<z.ZodString>;
|
|
3476
3476
|
id: z.ZodOptional<z.ZodString>;
|
|
3477
3477
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -3590,9 +3590,9 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3590
3590
|
}>;
|
|
3591
3591
|
}, z.core.$strip>>>;
|
|
3592
3592
|
supportedInteractions: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3593
|
+
staff: "staff";
|
|
3593
3594
|
quiz: "quiz";
|
|
3594
3595
|
photo: "photo";
|
|
3595
|
-
staff: "staff";
|
|
3596
3596
|
automatic: "automatic";
|
|
3597
3597
|
claim: "claim";
|
|
3598
3598
|
}>>>;
|
|
@@ -3894,7 +3894,6 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3894
3894
|
leaderboards: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
3895
3895
|
title: z.ZodString;
|
|
3896
3896
|
balance: z.ZodString;
|
|
3897
|
-
group: z.ZodOptional<z.ZodString>;
|
|
3898
3897
|
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3899
3898
|
kind: z.ZodLiteral<"balance">;
|
|
3900
3899
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3943,6 +3942,7 @@ declare const projectDeploymentSchema: z.ZodObject<{
|
|
|
3943
3942
|
participants: "participants";
|
|
3944
3943
|
public: "public";
|
|
3945
3944
|
}>>;
|
|
3945
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3946
3946
|
key: z.ZodOptional<z.ZodString>;
|
|
3947
3947
|
id: z.ZodOptional<z.ZodString>;
|
|
3948
3948
|
}, z.core.$strict>, z.ZodTransform<Omit<{
|
|
@@ -4230,12 +4230,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4230
4230
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4231
4231
|
id: z.ZodString;
|
|
4232
4232
|
scope: z.ZodEnum<{
|
|
4233
|
-
member: "member";
|
|
4234
4233
|
project: "project";
|
|
4234
|
+
member: "member";
|
|
4235
4235
|
}>;
|
|
4236
4236
|
period: z.ZodEnum<{
|
|
4237
|
-
lifetime: "lifetime";
|
|
4238
4237
|
day: "day";
|
|
4238
|
+
lifetime: "lifetime";
|
|
4239
4239
|
}>;
|
|
4240
4240
|
limit: z.ZodNumber;
|
|
4241
4241
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -4327,7 +4327,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4327
4327
|
createdAt: z.ZodNumber;
|
|
4328
4328
|
}, z.core.$strip>, z.ZodTransform<{
|
|
4329
4329
|
quest: string;
|
|
4330
|
-
runtimeVersion:
|
|
4330
|
+
runtimeVersion: 2 | 1;
|
|
4331
4331
|
title: string;
|
|
4332
4332
|
presentation: {
|
|
4333
4333
|
quiz?: {
|
|
@@ -4364,12 +4364,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4364
4364
|
kind: "resource";
|
|
4365
4365
|
default: string;
|
|
4366
4366
|
source: {
|
|
4367
|
+
provider: "domino";
|
|
4368
|
+
resource: "point-ledger";
|
|
4369
|
+
} | {
|
|
4367
4370
|
provider: "discord";
|
|
4368
4371
|
resource: "channel";
|
|
4369
4372
|
types: ("text" | "announcement")[];
|
|
4370
|
-
} | {
|
|
4371
|
-
provider: "domino";
|
|
4372
|
-
resource: "point-ledger";
|
|
4373
4373
|
} | {
|
|
4374
4374
|
provider: "discord";
|
|
4375
4375
|
resource: "role";
|
|
@@ -4477,8 +4477,8 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4477
4477
|
visibility: "visible" | "hidden";
|
|
4478
4478
|
budgets: {
|
|
4479
4479
|
id: string;
|
|
4480
|
-
scope: "
|
|
4481
|
-
period: "
|
|
4480
|
+
scope: "project" | "member";
|
|
4481
|
+
period: "day" | "lifetime";
|
|
4482
4482
|
limit: number;
|
|
4483
4483
|
cost: number | {
|
|
4484
4484
|
balance: string;
|
|
@@ -4725,12 +4725,12 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4725
4725
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4726
4726
|
id: z.ZodString;
|
|
4727
4727
|
scope: z.ZodEnum<{
|
|
4728
|
-
member: "member";
|
|
4729
4728
|
project: "project";
|
|
4729
|
+
member: "member";
|
|
4730
4730
|
}>;
|
|
4731
4731
|
period: z.ZodEnum<{
|
|
4732
|
-
lifetime: "lifetime";
|
|
4733
4732
|
day: "day";
|
|
4733
|
+
lifetime: "lifetime";
|
|
4734
4734
|
}>;
|
|
4735
4735
|
limit: z.ZodNumber;
|
|
4736
4736
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -4754,9 +4754,9 @@ declare const deploymentPreviewSchema: z.ZodObject<{
|
|
|
4754
4754
|
quests: z.ZodArray<z.ZodString>;
|
|
4755
4755
|
}, z.core.$strict>>;
|
|
4756
4756
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
4757
|
+
staff: "staff";
|
|
4757
4758
|
quiz: "quiz";
|
|
4758
4759
|
photo: "photo";
|
|
4759
|
-
staff: "staff";
|
|
4760
4760
|
automatic: "automatic";
|
|
4761
4761
|
claim: "claim";
|
|
4762
4762
|
}>>;
|
|
@@ -5181,12 +5181,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5181
5181
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5182
5182
|
id: z.ZodString;
|
|
5183
5183
|
scope: z.ZodEnum<{
|
|
5184
|
-
member: "member";
|
|
5185
5184
|
project: "project";
|
|
5185
|
+
member: "member";
|
|
5186
5186
|
}>;
|
|
5187
5187
|
period: z.ZodEnum<{
|
|
5188
|
-
lifetime: "lifetime";
|
|
5189
5188
|
day: "day";
|
|
5189
|
+
lifetime: "lifetime";
|
|
5190
5190
|
}>;
|
|
5191
5191
|
limit: z.ZodNumber;
|
|
5192
5192
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -5278,7 +5278,7 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5278
5278
|
createdAt: z.ZodNumber;
|
|
5279
5279
|
}, z.core.$strip>, z.ZodTransform<{
|
|
5280
5280
|
quest: string;
|
|
5281
|
-
runtimeVersion:
|
|
5281
|
+
runtimeVersion: 2 | 1;
|
|
5282
5282
|
title: string;
|
|
5283
5283
|
presentation: {
|
|
5284
5284
|
quiz?: {
|
|
@@ -5315,12 +5315,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5315
5315
|
kind: "resource";
|
|
5316
5316
|
default: string;
|
|
5317
5317
|
source: {
|
|
5318
|
+
provider: "domino";
|
|
5319
|
+
resource: "point-ledger";
|
|
5320
|
+
} | {
|
|
5318
5321
|
provider: "discord";
|
|
5319
5322
|
resource: "channel";
|
|
5320
5323
|
types: ("text" | "announcement")[];
|
|
5321
|
-
} | {
|
|
5322
|
-
provider: "domino";
|
|
5323
|
-
resource: "point-ledger";
|
|
5324
5324
|
} | {
|
|
5325
5325
|
provider: "discord";
|
|
5326
5326
|
resource: "role";
|
|
@@ -5428,8 +5428,8 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5428
5428
|
visibility: "visible" | "hidden";
|
|
5429
5429
|
budgets: {
|
|
5430
5430
|
id: string;
|
|
5431
|
-
scope: "
|
|
5432
|
-
period: "
|
|
5431
|
+
scope: "project" | "member";
|
|
5432
|
+
period: "day" | "lifetime";
|
|
5433
5433
|
limit: number;
|
|
5434
5434
|
cost: number | {
|
|
5435
5435
|
balance: string;
|
|
@@ -5676,12 +5676,12 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5676
5676
|
budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5677
5677
|
id: z.ZodString;
|
|
5678
5678
|
scope: z.ZodEnum<{
|
|
5679
|
-
member: "member";
|
|
5680
5679
|
project: "project";
|
|
5680
|
+
member: "member";
|
|
5681
5681
|
}>;
|
|
5682
5682
|
period: z.ZodEnum<{
|
|
5683
|
-
lifetime: "lifetime";
|
|
5684
5683
|
day: "day";
|
|
5684
|
+
lifetime: "lifetime";
|
|
5685
5685
|
}>;
|
|
5686
5686
|
limit: z.ZodNumber;
|
|
5687
5687
|
cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
@@ -5705,9 +5705,9 @@ declare const deploymentResultSchema: z.ZodObject<{
|
|
|
5705
5705
|
quests: z.ZodArray<z.ZodString>;
|
|
5706
5706
|
}, z.core.$strict>>;
|
|
5707
5707
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
5708
|
+
staff: "staff";
|
|
5708
5709
|
quiz: "quiz";
|
|
5709
5710
|
photo: "photo";
|
|
5710
|
-
staff: "staff";
|
|
5711
5711
|
automatic: "automatic";
|
|
5712
5712
|
claim: "claim";
|
|
5713
5713
|
}>>;
|
|
@@ -6332,7 +6332,7 @@ declare function createRelayClient(options: {
|
|
|
6332
6332
|
} | undefined;
|
|
6333
6333
|
} | undefined;
|
|
6334
6334
|
};
|
|
6335
|
-
connections: ("
|
|
6335
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6336
6336
|
trigger: {
|
|
6337
6337
|
kind: "manual";
|
|
6338
6338
|
input: "quiz" | "photo" | "none";
|
|
@@ -6391,7 +6391,7 @@ declare function createRelayClient(options: {
|
|
|
6391
6391
|
quest: string;
|
|
6392
6392
|
member: string;
|
|
6393
6393
|
evidence: string | null;
|
|
6394
|
-
status: "
|
|
6394
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6395
6395
|
reason: string | null;
|
|
6396
6396
|
retries: number;
|
|
6397
6397
|
generation: number;
|
|
@@ -6433,7 +6433,7 @@ declare function createRelayClient(options: {
|
|
|
6433
6433
|
} | undefined;
|
|
6434
6434
|
} | null;
|
|
6435
6435
|
release: string;
|
|
6436
|
-
interaction: "
|
|
6436
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
6437
6437
|
lifecycle: "active" | "paused" | "archived";
|
|
6438
6438
|
rewards: {
|
|
6439
6439
|
label: string;
|
|
@@ -6446,7 +6446,7 @@ declare function createRelayClient(options: {
|
|
|
6446
6446
|
quest: string;
|
|
6447
6447
|
member: string;
|
|
6448
6448
|
evidence: string | null;
|
|
6449
|
-
status: "
|
|
6449
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6450
6450
|
reason: string | null;
|
|
6451
6451
|
retries: number;
|
|
6452
6452
|
generation: number;
|
|
@@ -6512,7 +6512,7 @@ declare function createRelayClient(options: {
|
|
|
6512
6512
|
} | undefined;
|
|
6513
6513
|
} | undefined;
|
|
6514
6514
|
};
|
|
6515
|
-
connections: ("
|
|
6515
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6516
6516
|
trigger: {
|
|
6517
6517
|
kind: "manual";
|
|
6518
6518
|
input: "quiz" | "photo" | "none";
|
|
@@ -6571,7 +6571,7 @@ declare function createRelayClient(options: {
|
|
|
6571
6571
|
quest: string;
|
|
6572
6572
|
member: string;
|
|
6573
6573
|
evidence: string | null;
|
|
6574
|
-
status: "
|
|
6574
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6575
6575
|
reason: string | null;
|
|
6576
6576
|
retries: number;
|
|
6577
6577
|
generation: number;
|
|
@@ -6613,7 +6613,7 @@ declare function createRelayClient(options: {
|
|
|
6613
6613
|
} | undefined;
|
|
6614
6614
|
} | null;
|
|
6615
6615
|
release: string;
|
|
6616
|
-
interaction: "
|
|
6616
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
6617
6617
|
lifecycle: "active" | "paused" | "archived";
|
|
6618
6618
|
rewards: {
|
|
6619
6619
|
label: string;
|
|
@@ -6646,7 +6646,7 @@ declare function createRelayClient(options: {
|
|
|
6646
6646
|
} | undefined;
|
|
6647
6647
|
} | undefined;
|
|
6648
6648
|
};
|
|
6649
|
-
connections: ("
|
|
6649
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6650
6650
|
trigger: {
|
|
6651
6651
|
kind: "manual";
|
|
6652
6652
|
input: "quiz" | "photo" | "none";
|
|
@@ -6705,7 +6705,7 @@ declare function createRelayClient(options: {
|
|
|
6705
6705
|
quest: string;
|
|
6706
6706
|
member: string;
|
|
6707
6707
|
evidence: string | null;
|
|
6708
|
-
status: "
|
|
6708
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6709
6709
|
reason: string | null;
|
|
6710
6710
|
retries: number;
|
|
6711
6711
|
generation: number;
|
|
@@ -6747,7 +6747,7 @@ declare function createRelayClient(options: {
|
|
|
6747
6747
|
} | undefined;
|
|
6748
6748
|
} | null;
|
|
6749
6749
|
release: string;
|
|
6750
|
-
interaction: "
|
|
6750
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
6751
6751
|
lifecycle: "active" | "paused" | "archived";
|
|
6752
6752
|
rewards: {
|
|
6753
6753
|
label: string;
|
|
@@ -6783,7 +6783,7 @@ declare function createRelayClient(options: {
|
|
|
6783
6783
|
} | undefined;
|
|
6784
6784
|
} | undefined;
|
|
6785
6785
|
};
|
|
6786
|
-
connections: ("
|
|
6786
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
6787
6787
|
trigger: {
|
|
6788
6788
|
kind: "manual";
|
|
6789
6789
|
input: "quiz" | "photo" | "none";
|
|
@@ -6842,7 +6842,7 @@ declare function createRelayClient(options: {
|
|
|
6842
6842
|
quest: string;
|
|
6843
6843
|
member: string;
|
|
6844
6844
|
evidence: string | null;
|
|
6845
|
-
status: "
|
|
6845
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
6846
6846
|
reason: string | null;
|
|
6847
6847
|
retries: number;
|
|
6848
6848
|
generation: number;
|
|
@@ -6884,7 +6884,7 @@ declare function createRelayClient(options: {
|
|
|
6884
6884
|
} | undefined;
|
|
6885
6885
|
} | null;
|
|
6886
6886
|
release: string;
|
|
6887
|
-
interaction: "
|
|
6887
|
+
interaction: "staff" | "quiz" | "photo" | "automatic" | "claim";
|
|
6888
6888
|
lifecycle: "active" | "paused" | "archived";
|
|
6889
6889
|
rewards: {
|
|
6890
6890
|
label: string;
|
|
@@ -6923,7 +6923,7 @@ declare function createRelayClient(options: {
|
|
|
6923
6923
|
auth: {
|
|
6924
6924
|
providers: () => Promise<{
|
|
6925
6925
|
providers: {
|
|
6926
|
-
provider: "
|
|
6926
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
6927
6927
|
configured: boolean;
|
|
6928
6928
|
}[];
|
|
6929
6929
|
email: boolean;
|
|
@@ -6953,7 +6953,7 @@ declare function createRelayClient(options: {
|
|
|
6953
6953
|
expiresAt: number;
|
|
6954
6954
|
}>;
|
|
6955
6955
|
accounts: () => Promise<{
|
|
6956
|
-
provider: "
|
|
6956
|
+
provider: "discord" | "google" | "apple" | "x";
|
|
6957
6957
|
configured: boolean;
|
|
6958
6958
|
status: "disconnected" | "connected" | "reconnect";
|
|
6959
6959
|
subject: string | null;
|
|
@@ -7039,13 +7039,14 @@ declare function createRelayClient(options: {
|
|
|
7039
7039
|
expiresAt: number;
|
|
7040
7040
|
entitlement: string;
|
|
7041
7041
|
}>;
|
|
7042
|
+
/** @deprecated The participant API does not verify passes. Verify them on your server and call `POST /management/v1/passes/verify`. */
|
|
7042
7043
|
linkPass: (code: string) => Promise<{
|
|
7043
7044
|
id: string;
|
|
7044
7045
|
release: string;
|
|
7045
7046
|
quest: string;
|
|
7046
7047
|
member: string;
|
|
7047
7048
|
evidence: string | null;
|
|
7048
|
-
status: "
|
|
7049
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7049
7050
|
reason: string | null;
|
|
7050
7051
|
retries: number;
|
|
7051
7052
|
generation: number;
|
|
@@ -7111,7 +7112,7 @@ declare function createRelayClient(options: {
|
|
|
7111
7112
|
} | undefined;
|
|
7112
7113
|
} | undefined;
|
|
7113
7114
|
};
|
|
7114
|
-
connections: ("
|
|
7115
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
7115
7116
|
trigger: {
|
|
7116
7117
|
kind: "manual";
|
|
7117
7118
|
input: "quiz" | "photo" | "none";
|
|
@@ -7170,7 +7171,7 @@ declare function createRelayClient(options: {
|
|
|
7170
7171
|
quest: string;
|
|
7171
7172
|
member: string;
|
|
7172
7173
|
evidence: string | null;
|
|
7173
|
-
status: "
|
|
7174
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7174
7175
|
reason: string | null;
|
|
7175
7176
|
retries: number;
|
|
7176
7177
|
generation: number;
|
|
@@ -7317,7 +7318,7 @@ declare function createRelayClient(options: {
|
|
|
7317
7318
|
quest: string;
|
|
7318
7319
|
member: string;
|
|
7319
7320
|
evidence: string | null;
|
|
7320
|
-
status: "
|
|
7321
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7321
7322
|
reason: string | null;
|
|
7322
7323
|
retries: number;
|
|
7323
7324
|
generation: number;
|
|
@@ -7365,6 +7366,7 @@ declare function createRelayClient(options: {
|
|
|
7365
7366
|
size: number;
|
|
7366
7367
|
}>;
|
|
7367
7368
|
};
|
|
7369
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
7368
7370
|
reviews: {
|
|
7369
7371
|
list: (options?: ReviewListOptions, requestOptions?: {
|
|
7370
7372
|
signal?: AbortSignal;
|
|
@@ -7376,7 +7378,7 @@ declare function createRelayClient(options: {
|
|
|
7376
7378
|
quest: string;
|
|
7377
7379
|
member: string;
|
|
7378
7380
|
evidence: string | null;
|
|
7379
|
-
status: "
|
|
7381
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
7380
7382
|
reason: string | null;
|
|
7381
7383
|
retries: number;
|
|
7382
7384
|
generation: number;
|
|
@@ -7429,6 +7431,7 @@ declare function createRelayClient(options: {
|
|
|
7429
7431
|
nextCursor: string | null;
|
|
7430
7432
|
}>;
|
|
7431
7433
|
};
|
|
7434
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
7432
7435
|
members: {
|
|
7433
7436
|
list: (options?: MemberListOptions, requestOptions?: {
|
|
7434
7437
|
signal?: AbortSignal;
|
|
@@ -7444,14 +7447,16 @@ declare function createRelayClient(options: {
|
|
|
7444
7447
|
signal?: AbortSignal;
|
|
7445
7448
|
}): Promise<Blob>;
|
|
7446
7449
|
};
|
|
7450
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
7447
7451
|
lookupMember: (issuer: string, subject: string) => Promise<{
|
|
7448
7452
|
member: string;
|
|
7449
7453
|
}>;
|
|
7454
|
+
/** @deprecated Removed from the participant API. Build quests with `domino` and `@domino-sdk/relay/build`. */
|
|
7450
7455
|
journeyTemplate: () => Promise<{
|
|
7451
7456
|
code: string;
|
|
7452
7457
|
definition: {
|
|
7453
7458
|
quest: string;
|
|
7454
|
-
runtimeVersion:
|
|
7459
|
+
runtimeVersion: 2 | 1;
|
|
7455
7460
|
title: string;
|
|
7456
7461
|
presentation: {
|
|
7457
7462
|
quiz?: {
|
|
@@ -7488,12 +7493,12 @@ declare function createRelayClient(options: {
|
|
|
7488
7493
|
kind: "resource";
|
|
7489
7494
|
default: string;
|
|
7490
7495
|
source: {
|
|
7496
|
+
provider: "domino";
|
|
7497
|
+
resource: "point-ledger";
|
|
7498
|
+
} | {
|
|
7491
7499
|
provider: "discord";
|
|
7492
7500
|
resource: "channel";
|
|
7493
7501
|
types: ("text" | "announcement")[];
|
|
7494
|
-
} | {
|
|
7495
|
-
provider: "domino";
|
|
7496
|
-
resource: "point-ledger";
|
|
7497
7502
|
} | {
|
|
7498
7503
|
provider: "discord";
|
|
7499
7504
|
resource: "role";
|
|
@@ -7601,8 +7606,8 @@ declare function createRelayClient(options: {
|
|
|
7601
7606
|
visibility: "visible" | "hidden";
|
|
7602
7607
|
budgets: {
|
|
7603
7608
|
id: string;
|
|
7604
|
-
scope: "
|
|
7605
|
-
period: "
|
|
7609
|
+
scope: "project" | "member";
|
|
7610
|
+
period: "day" | "lifetime";
|
|
7606
7611
|
limit: number;
|
|
7607
7612
|
cost: number | {
|
|
7608
7613
|
balance: string;
|
|
@@ -7610,11 +7615,12 @@ declare function createRelayClient(options: {
|
|
|
7610
7615
|
}[];
|
|
7611
7616
|
};
|
|
7612
7617
|
}[]>;
|
|
7618
|
+
/** @deprecated Removed from the participant API. Build quests with `domino` and `@domino-sdk/relay/build`. */
|
|
7613
7619
|
template: () => Promise<{
|
|
7614
7620
|
code: string;
|
|
7615
7621
|
definition: {
|
|
7616
7622
|
quest: string;
|
|
7617
|
-
runtimeVersion:
|
|
7623
|
+
runtimeVersion: 2 | 1;
|
|
7618
7624
|
title: string;
|
|
7619
7625
|
presentation: {
|
|
7620
7626
|
quiz?: {
|
|
@@ -7651,12 +7657,12 @@ declare function createRelayClient(options: {
|
|
|
7651
7657
|
kind: "resource";
|
|
7652
7658
|
default: string;
|
|
7653
7659
|
source: {
|
|
7660
|
+
provider: "domino";
|
|
7661
|
+
resource: "point-ledger";
|
|
7662
|
+
} | {
|
|
7654
7663
|
provider: "discord";
|
|
7655
7664
|
resource: "channel";
|
|
7656
7665
|
types: ("text" | "announcement")[];
|
|
7657
|
-
} | {
|
|
7658
|
-
provider: "domino";
|
|
7659
|
-
resource: "point-ledger";
|
|
7660
7666
|
} | {
|
|
7661
7667
|
provider: "discord";
|
|
7662
7668
|
resource: "role";
|
|
@@ -7764,8 +7770,8 @@ declare function createRelayClient(options: {
|
|
|
7764
7770
|
visibility: "visible" | "hidden";
|
|
7765
7771
|
budgets: {
|
|
7766
7772
|
id: string;
|
|
7767
|
-
scope: "
|
|
7768
|
-
period: "
|
|
7773
|
+
scope: "project" | "member";
|
|
7774
|
+
period: "day" | "lifetime";
|
|
7769
7775
|
limit: number;
|
|
7770
7776
|
cost: number | {
|
|
7771
7777
|
balance: string;
|
|
@@ -7773,10 +7779,11 @@ declare function createRelayClient(options: {
|
|
|
7773
7779
|
}[];
|
|
7774
7780
|
};
|
|
7775
7781
|
}>;
|
|
7782
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
7776
7783
|
snapshot: () => Promise<{
|
|
7777
7784
|
releases: {
|
|
7778
7785
|
quest: string;
|
|
7779
|
-
runtimeVersion:
|
|
7786
|
+
runtimeVersion: 2 | 1;
|
|
7780
7787
|
title: string;
|
|
7781
7788
|
presentation: {
|
|
7782
7789
|
quiz?: {
|
|
@@ -7813,12 +7820,12 @@ declare function createRelayClient(options: {
|
|
|
7813
7820
|
kind: "resource";
|
|
7814
7821
|
default: string;
|
|
7815
7822
|
source: {
|
|
7823
|
+
provider: "domino";
|
|
7824
|
+
resource: "point-ledger";
|
|
7825
|
+
} | {
|
|
7816
7826
|
provider: "discord";
|
|
7817
7827
|
resource: "channel";
|
|
7818
7828
|
types: ("text" | "announcement")[];
|
|
7819
|
-
} | {
|
|
7820
|
-
provider: "domino";
|
|
7821
|
-
resource: "point-ledger";
|
|
7822
7829
|
} | {
|
|
7823
7830
|
provider: "discord";
|
|
7824
7831
|
resource: "role";
|
|
@@ -7926,8 +7933,8 @@ declare function createRelayClient(options: {
|
|
|
7926
7933
|
visibility: "visible" | "hidden";
|
|
7927
7934
|
budgets: {
|
|
7928
7935
|
id: string;
|
|
7929
|
-
scope: "
|
|
7930
|
-
period: "
|
|
7936
|
+
scope: "project" | "member";
|
|
7937
|
+
period: "day" | "lifetime";
|
|
7931
7938
|
limit: number;
|
|
7932
7939
|
cost: number | {
|
|
7933
7940
|
balance: string;
|
|
@@ -8054,7 +8061,7 @@ declare function createRelayClient(options: {
|
|
|
8054
8061
|
quest: string;
|
|
8055
8062
|
member: string;
|
|
8056
8063
|
evidence: string | null;
|
|
8057
|
-
status: "
|
|
8064
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8058
8065
|
reason: string | null;
|
|
8059
8066
|
retries: number;
|
|
8060
8067
|
generation: number;
|
|
@@ -8111,9 +8118,10 @@ declare function createRelayClient(options: {
|
|
|
8111
8118
|
at: number;
|
|
8112
8119
|
}[];
|
|
8113
8120
|
}>;
|
|
8121
|
+
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
8114
8122
|
publish: (release: ReleaseInput) => Promise<{
|
|
8115
8123
|
quest: string;
|
|
8116
|
-
runtimeVersion:
|
|
8124
|
+
runtimeVersion: 2 | 1;
|
|
8117
8125
|
title: string;
|
|
8118
8126
|
presentation: {
|
|
8119
8127
|
quiz?: {
|
|
@@ -8150,12 +8158,12 @@ declare function createRelayClient(options: {
|
|
|
8150
8158
|
kind: "resource";
|
|
8151
8159
|
default: string;
|
|
8152
8160
|
source: {
|
|
8161
|
+
provider: "domino";
|
|
8162
|
+
resource: "point-ledger";
|
|
8163
|
+
} | {
|
|
8153
8164
|
provider: "discord";
|
|
8154
8165
|
resource: "channel";
|
|
8155
8166
|
types: ("text" | "announcement")[];
|
|
8156
|
-
} | {
|
|
8157
|
-
provider: "domino";
|
|
8158
|
-
resource: "point-ledger";
|
|
8159
8167
|
} | {
|
|
8160
8168
|
provider: "discord";
|
|
8161
8169
|
resource: "role";
|
|
@@ -8263,8 +8271,8 @@ declare function createRelayClient(options: {
|
|
|
8263
8271
|
visibility: "visible" | "hidden";
|
|
8264
8272
|
budgets: {
|
|
8265
8273
|
id: string;
|
|
8266
|
-
scope: "
|
|
8267
|
-
period: "
|
|
8274
|
+
scope: "project" | "member";
|
|
8275
|
+
period: "day" | "lifetime";
|
|
8268
8276
|
limit: number;
|
|
8269
8277
|
cost: number | {
|
|
8270
8278
|
balance: string;
|
|
@@ -8302,9 +8310,10 @@ declare function createRelayClient(options: {
|
|
|
8302
8310
|
preserved: string[];
|
|
8303
8311
|
} | undefined;
|
|
8304
8312
|
}>;
|
|
8313
|
+
/** @deprecated The participant API rejects publication. Publish with `domino deploy` or the management API. */
|
|
8305
8314
|
publishBatch: (releases: ReleaseInput[]) => Promise<{
|
|
8306
8315
|
quest: string;
|
|
8307
|
-
runtimeVersion:
|
|
8316
|
+
runtimeVersion: 2 | 1;
|
|
8308
8317
|
title: string;
|
|
8309
8318
|
presentation: {
|
|
8310
8319
|
quiz?: {
|
|
@@ -8341,12 +8350,12 @@ declare function createRelayClient(options: {
|
|
|
8341
8350
|
kind: "resource";
|
|
8342
8351
|
default: string;
|
|
8343
8352
|
source: {
|
|
8353
|
+
provider: "domino";
|
|
8354
|
+
resource: "point-ledger";
|
|
8355
|
+
} | {
|
|
8344
8356
|
provider: "discord";
|
|
8345
8357
|
resource: "channel";
|
|
8346
8358
|
types: ("text" | "announcement")[];
|
|
8347
|
-
} | {
|
|
8348
|
-
provider: "domino";
|
|
8349
|
-
resource: "point-ledger";
|
|
8350
8359
|
} | {
|
|
8351
8360
|
provider: "discord";
|
|
8352
8361
|
resource: "role";
|
|
@@ -8454,8 +8463,8 @@ declare function createRelayClient(options: {
|
|
|
8454
8463
|
visibility: "visible" | "hidden";
|
|
8455
8464
|
budgets: {
|
|
8456
8465
|
id: string;
|
|
8457
|
-
scope: "
|
|
8458
|
-
period: "
|
|
8466
|
+
scope: "project" | "member";
|
|
8467
|
+
period: "day" | "lifetime";
|
|
8459
8468
|
limit: number;
|
|
8460
8469
|
cost: number | {
|
|
8461
8470
|
balance: string;
|
|
@@ -8518,7 +8527,7 @@ declare function createRelayClient(options: {
|
|
|
8518
8527
|
} | undefined;
|
|
8519
8528
|
} | undefined;
|
|
8520
8529
|
};
|
|
8521
|
-
connections: ("
|
|
8530
|
+
connections: ("discord" | "google" | "apple" | "x")[];
|
|
8522
8531
|
trigger: {
|
|
8523
8532
|
kind: "manual";
|
|
8524
8533
|
input: "quiz" | "photo" | "none";
|
|
@@ -8577,7 +8586,7 @@ declare function createRelayClient(options: {
|
|
|
8577
8586
|
quest: string;
|
|
8578
8587
|
member: string;
|
|
8579
8588
|
evidence: string | null;
|
|
8580
|
-
status: "
|
|
8589
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8581
8590
|
reason: string | null;
|
|
8582
8591
|
retries: number;
|
|
8583
8592
|
generation: number;
|
|
@@ -8699,6 +8708,7 @@ declare function createRelayClient(options: {
|
|
|
8699
8708
|
} | undefined;
|
|
8700
8709
|
})[];
|
|
8701
8710
|
}>;
|
|
8711
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
8702
8712
|
beginHandover: (id: string, input: z.input<typeof beginHandoverSchema>) => Promise<{
|
|
8703
8713
|
status: "available";
|
|
8704
8714
|
id: string;
|
|
@@ -8776,6 +8786,7 @@ declare function createRelayClient(options: {
|
|
|
8776
8786
|
label: string;
|
|
8777
8787
|
} | undefined;
|
|
8778
8788
|
}>;
|
|
8789
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
8779
8790
|
confirmHandover: (id: string, input: {
|
|
8780
8791
|
actionId: string;
|
|
8781
8792
|
handover: string;
|
|
@@ -8868,7 +8879,7 @@ declare function createRelayClient(options: {
|
|
|
8868
8879
|
quest: string;
|
|
8869
8880
|
member: string;
|
|
8870
8881
|
evidence: string | null;
|
|
8871
|
-
status: "
|
|
8882
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8872
8883
|
reason: string | null;
|
|
8873
8884
|
retries: number;
|
|
8874
8885
|
generation: number;
|
|
@@ -8915,7 +8926,7 @@ declare function createRelayClient(options: {
|
|
|
8915
8926
|
quest: string;
|
|
8916
8927
|
member: string;
|
|
8917
8928
|
evidence: string | null;
|
|
8918
|
-
status: "
|
|
8929
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8919
8930
|
reason: string | null;
|
|
8920
8931
|
retries: number;
|
|
8921
8932
|
generation: number;
|
|
@@ -8956,6 +8967,7 @@ declare function createRelayClient(options: {
|
|
|
8956
8967
|
release?: string | undefined;
|
|
8957
8968
|
} | undefined;
|
|
8958
8969
|
}>;
|
|
8970
|
+
/** @deprecated The participant API accepts only member sessions and rejects this staff call. Use the management API with a management key instead. */
|
|
8959
8971
|
decide: (id: string, input: {
|
|
8960
8972
|
actionId: string;
|
|
8961
8973
|
generation: number;
|
|
@@ -8967,7 +8979,7 @@ declare function createRelayClient(options: {
|
|
|
8967
8979
|
quest: string;
|
|
8968
8980
|
member: string;
|
|
8969
8981
|
evidence: string | null;
|
|
8970
|
-
status: "
|
|
8982
|
+
status: "queued" | "evaluating" | "accepted" | "rejected" | "needs-review" | "failed";
|
|
8971
8983
|
reason: string | null;
|
|
8972
8984
|
retries: number;
|
|
8973
8985
|
generation: number;
|