@domino-sdk/relay 1.56.0 → 1.59.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/CHANGELOG.md +74 -0
- package/dist/{accounts-DRPENuZe.d.ts → accounts-CVonEkdb.d.ts} +18 -7
- package/dist/{attempt-captures-CxxO7DeD.d.ts → attempt-captures-DBj-rxak.d.ts} +1 -1
- package/dist/authoring.d.ts +180 -28
- package/dist/authoring.js +236 -11
- package/dist/{automatic-outcomes-DxW_v5Wc.d.ts → automatic-outcomes-FS9okvBP.d.ts} +1 -1
- package/dist/avatar.d.ts +1 -2
- package/dist/browser.d.ts +8 -9
- package/dist/browser.js +10 -10
- package/dist/{capability-error-DSd8EMQC.d.ts → capability-error-DDJl0LY-.d.ts} +0 -6
- package/dist/{chunk-OTITLABX.js → chunk-2LKGAL63.js} +2 -2
- package/dist/{chunk-NK6EER33.js → chunk-577DG2IT.js} +8 -8
- package/dist/{chunk-RBPMT53S.js → chunk-6U5WWH3W.js} +19 -4
- package/dist/{chunk-BHHUSBSD.js → chunk-AWWCEP7F.js} +1402 -881
- package/dist/{chunk-QNQNKIAA.js → chunk-EQF4ID47.js} +1 -1
- package/dist/{chunk-CK7HO32Z.js → chunk-IBROKMFV.js} +2 -2
- package/dist/{chunk-MNU6UPXY.js → chunk-KBCTII6C.js} +1 -1
- package/dist/{chunk-INSWI2VZ.js → chunk-KYUQEZZA.js} +1 -1
- package/dist/{chunk-G6XVBYH7.js → chunk-LDLOB2UZ.js} +4 -4
- package/dist/{chunk-CXKXPB7K.js → chunk-M2JQPDUX.js} +34 -9
- package/dist/{chunk-KBVH4XZC.js → chunk-R4S6BFOH.js} +1 -1
- package/dist/{chunk-ABJ4G47X.js → chunk-TZJT5CRF.js} +1 -1
- package/dist/{chunk-BJYMTCWG.js → chunk-UEMLYPKJ.js} +7 -4
- package/dist/{chunk-ULQU7KC4.js → chunk-W42KMMH5.js} +1 -5
- package/dist/{chunk-VSHV7FEA.js → chunk-XGXDINGM.js} +16 -3
- package/dist/{chunk-H2MD6E7Z.js → chunk-YMWRLAAP.js} +1 -1
- package/dist/{chunk-W5U2WXG3.js → chunk-YRSU2X2P.js} +2 -2
- package/dist/{client-bX3oTpRu.d.ts → client-3b9HjSzZ.d.ts} +115 -116
- package/dist/{deployments-D3lxfQMB.d.ts → deployments-BydFVj4Q.d.ts} +314 -175
- package/dist/{groups-DPE004_V.d.ts → groups-CFuTfFqG.d.ts} +11 -7
- package/dist/index.d.ts +9 -10
- package/dist/index.js +9 -9
- package/dist/{integrations-CcD5NPEA.d.ts → integrations-DrbKQSTD.d.ts} +3 -32
- package/dist/internal.d.ts +10 -10
- package/dist/internal.js +8 -8
- package/dist/{offers-CtzMeB7O.d.ts → offers-DAfe1O3_.d.ts} +6 -2
- package/dist/{pages-BlLqB8ZQ.d.ts → pages-ChDVLrgR.d.ts} +39 -10
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +71 -72
- package/dist/react/index.js +10 -10
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/BG43KQ2T.js +1 -0
- package/dist/runtime/chunks/EWU4OKSY.js +62 -0
- package/dist/runtime/manifest.json +5 -5
- package/dist/runtime/schema.js +1 -1
- package/dist/runtime/zod.js +1 -1
- package/dist/{schema-C4m9RhCR.d.ts → schema-BA0nRRlt.d.ts} +184 -35
- package/dist/schema.d.ts +754 -432
- package/dist/schema.js +77 -13
- package/dist/server/index.d.ts +10 -10
- package/dist/server/index.js +434 -55
- package/dist/{submission-input-wTiYGdgA.d.ts → submission-input-DxQ6RnKo.d.ts} +2 -2
- package/dist/{telegram-browser-Bh3i0HiH.d.ts → telegram-browser-o3OIxGrJ.d.ts} +3 -3
- package/dist/testing.d.ts +89 -9
- package/dist/testing.js +215 -10
- package/dist/{transport-CnKA-_RL.d.ts → transport-D_Eqf78J.d.ts} +3997 -2030
- package/dist/wallet-B06zvDXp.d.ts +972 -0
- package/dist/{x-1czZFVUW.d.ts → x-C28SNifw.d.ts} +2 -2
- package/package.json +2 -2
- package/dist/profiles-BoOK03cR.d.ts +0 -299
- package/dist/runtime/chunks/IDOMZWRY.js +0 -40
- package/dist/runtime/chunks/NDB42VFF.js +0 -1
- package/dist/util.d-w9f9t3ua.d.ts +0 -5
- package/dist/wallet-Ac7OFpOr.d.ts +0 -228
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { m as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, o as TrackerSkipCode, i as PointHistoryQuery, g as PointEntryKind, ao as submitSchema, ap as contentPerformanceQuerySchema } from './schema-
|
|
2
|
-
import { l as QuestView, m as ResponseSchema, c as PageQuery, e as QuestEnrollmentInput, Q as QuestClaimInput, i as QuestOutcomeQuery, q as questExperienceSchema, a as CreatorAccountProvider, n as RewardDeliveryQuery, o as RewardDeliveryAction, r as contentQualificationQuerySchema } from './pages-
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-
|
|
1
|
+
import { m as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, o as TrackerSkipCode, i as PointHistoryQuery, g as PointEntryKind, ao as submitSchema, ap as contentPerformanceQuerySchema } from './schema-BA0nRRlt.js';
|
|
2
|
+
import { l as QuestView, m as ResponseSchema, c as PageQuery, e as QuestEnrollmentInput, Q as QuestClaimInput, i as QuestOutcomeQuery, q as questExperienceSchema, a as CreatorAccountProvider, n as RewardDeliveryQuery, o as RewardDeliveryAction, r as contentQualificationQuerySchema } from './pages-ChDVLrgR.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence } from './submission-input-DxQ6RnKo.js';
|
|
4
4
|
import { a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, e as createRelayAction, O as OptionalActionId } from './action-DBzILFx9.js';
|
|
5
5
|
import { b as ParticipantSession, e as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-iciCEs_8.js';
|
|
6
6
|
import * as z from 'zod';
|
|
7
|
-
import { a as AuthProvider } from './accounts-
|
|
8
|
-
import { p as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, f as LeaderboardHistoryQuery, q as engagementPageQuerySchema } from './groups-
|
|
9
|
-
import {
|
|
10
|
-
import { w as walletAddressInputSchema, o as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-Ac7OFpOr.js';
|
|
7
|
+
import { a as AuthProvider } from './accounts-CVonEkdb.js';
|
|
8
|
+
import { p as referralAcceptSchema, i as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, f as LeaderboardHistoryQuery, q as engagementPageQuerySchema } from './groups-CFuTfFqG.js';
|
|
9
|
+
import { ag as profileUpdateSchema, d as ProfileCompletionQuery, ah as walletAddressInputSchema, ai as walletSignatureSchema, L as LinkedWallet, m as WalletSigner } from './wallet-B06zvDXp.js';
|
|
11
10
|
|
|
12
11
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
13
12
|
type RelayErrorKind = RequestErrorKind;
|
|
@@ -803,8 +802,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
803
802
|
/** The signed-in member's earned rewards, including pickup allocation and collection state. */
|
|
804
803
|
entitlements: (options?: RelayRequestOptions) => Promise<{
|
|
805
804
|
items: ({
|
|
806
|
-
|
|
807
|
-
|
|
805
|
+
status: "unsupported";
|
|
806
|
+
reportedStatus: string;
|
|
808
807
|
id: string;
|
|
809
808
|
member: string;
|
|
810
809
|
reward: {
|
|
@@ -830,9 +829,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
830
829
|
revision: number;
|
|
831
830
|
} | {
|
|
832
831
|
[x: string]: unknown;
|
|
833
|
-
status: "
|
|
834
|
-
handover: string;
|
|
835
|
-
startedAt: number;
|
|
832
|
+
status: "available";
|
|
836
833
|
id: string;
|
|
837
834
|
member: string;
|
|
838
835
|
reward: {
|
|
@@ -856,17 +853,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
856
853
|
earnedTier: string;
|
|
857
854
|
tier: string;
|
|
858
855
|
revision: number;
|
|
859
|
-
allocation?: {
|
|
860
|
-
[x: string]: unknown;
|
|
861
|
-
item: string;
|
|
862
|
-
label: string;
|
|
863
|
-
} | undefined;
|
|
864
856
|
} | {
|
|
865
857
|
[x: string]: unknown;
|
|
866
|
-
status: "
|
|
858
|
+
status: "handing-over";
|
|
867
859
|
handover: string;
|
|
868
860
|
startedAt: number;
|
|
869
|
-
collectedAt: number;
|
|
870
861
|
id: string;
|
|
871
862
|
member: string;
|
|
872
863
|
reward: {
|
|
@@ -895,16 +886,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
895
886
|
item: string;
|
|
896
887
|
label: string;
|
|
897
888
|
} | undefined;
|
|
898
|
-
recovery?: {
|
|
899
|
-
completion: string;
|
|
900
|
-
reason: string;
|
|
901
|
-
flaggedAt: number;
|
|
902
|
-
remainingTier: string | null;
|
|
903
|
-
} | undefined;
|
|
904
889
|
} | {
|
|
905
890
|
[x: string]: unknown;
|
|
906
|
-
status: "
|
|
907
|
-
|
|
891
|
+
status: "collected";
|
|
892
|
+
handover: string;
|
|
893
|
+
startedAt: number;
|
|
894
|
+
collectedAt: number;
|
|
908
895
|
id: string;
|
|
909
896
|
member: string;
|
|
910
897
|
reward: {
|
|
@@ -928,9 +915,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
928
915
|
earnedTier: string;
|
|
929
916
|
tier: string;
|
|
930
917
|
revision: number;
|
|
918
|
+
allocation?: {
|
|
919
|
+
[x: string]: unknown;
|
|
920
|
+
item: string;
|
|
921
|
+
label: string;
|
|
922
|
+
} | undefined;
|
|
923
|
+
recovery?: {
|
|
924
|
+
completion: string;
|
|
925
|
+
reason: string;
|
|
926
|
+
flaggedAt: number;
|
|
927
|
+
remainingTier: string | null;
|
|
928
|
+
} | undefined;
|
|
931
929
|
} | {
|
|
932
|
-
|
|
933
|
-
|
|
930
|
+
[x: string]: unknown;
|
|
931
|
+
status: "void";
|
|
932
|
+
voidedAt: number;
|
|
934
933
|
id: string;
|
|
935
934
|
member: string;
|
|
936
935
|
reward: {
|
|
@@ -959,6 +958,14 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
959
958
|
/** Point awards, current tier entitlements, and integration delivery states. */
|
|
960
959
|
deliveries: (options?: RelayRequestOptions) => Promise<{
|
|
961
960
|
items: ({
|
|
961
|
+
kind: "unknown";
|
|
962
|
+
reportedKind: string;
|
|
963
|
+
id: string;
|
|
964
|
+
status: string;
|
|
965
|
+
at: number | null;
|
|
966
|
+
quest: string | null;
|
|
967
|
+
completion: string | null;
|
|
968
|
+
} | {
|
|
962
969
|
[x: string]: z.core.util.JSONType;
|
|
963
970
|
kind: "points";
|
|
964
971
|
ledger: {
|
|
@@ -977,8 +984,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
977
984
|
[x: string]: unknown;
|
|
978
985
|
kind: "tier";
|
|
979
986
|
entitlement: {
|
|
980
|
-
|
|
981
|
-
|
|
987
|
+
status: "unsupported";
|
|
988
|
+
reportedStatus: string;
|
|
982
989
|
id: string;
|
|
983
990
|
member: string;
|
|
984
991
|
reward: {
|
|
@@ -1004,9 +1011,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1004
1011
|
revision: number;
|
|
1005
1012
|
} | {
|
|
1006
1013
|
[x: string]: unknown;
|
|
1007
|
-
status: "
|
|
1008
|
-
handover: string;
|
|
1009
|
-
startedAt: number;
|
|
1014
|
+
status: "available";
|
|
1010
1015
|
id: string;
|
|
1011
1016
|
member: string;
|
|
1012
1017
|
reward: {
|
|
@@ -1030,17 +1035,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1030
1035
|
earnedTier: string;
|
|
1031
1036
|
tier: string;
|
|
1032
1037
|
revision: number;
|
|
1033
|
-
allocation?: {
|
|
1034
|
-
[x: string]: unknown;
|
|
1035
|
-
item: string;
|
|
1036
|
-
label: string;
|
|
1037
|
-
} | undefined;
|
|
1038
1038
|
} | {
|
|
1039
1039
|
[x: string]: unknown;
|
|
1040
|
-
status: "
|
|
1040
|
+
status: "handing-over";
|
|
1041
1041
|
handover: string;
|
|
1042
1042
|
startedAt: number;
|
|
1043
|
-
collectedAt: number;
|
|
1044
1043
|
id: string;
|
|
1045
1044
|
member: string;
|
|
1046
1045
|
reward: {
|
|
@@ -1069,16 +1068,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1069
1068
|
item: string;
|
|
1070
1069
|
label: string;
|
|
1071
1070
|
} | undefined;
|
|
1072
|
-
recovery?: {
|
|
1073
|
-
completion: string;
|
|
1074
|
-
reason: string;
|
|
1075
|
-
flaggedAt: number;
|
|
1076
|
-
remainingTier: string | null;
|
|
1077
|
-
} | undefined;
|
|
1078
1071
|
} | {
|
|
1079
1072
|
[x: string]: unknown;
|
|
1080
|
-
status: "
|
|
1081
|
-
|
|
1073
|
+
status: "collected";
|
|
1074
|
+
handover: string;
|
|
1075
|
+
startedAt: number;
|
|
1076
|
+
collectedAt: number;
|
|
1082
1077
|
id: string;
|
|
1083
1078
|
member: string;
|
|
1084
1079
|
reward: {
|
|
@@ -1102,9 +1097,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1102
1097
|
earnedTier: string;
|
|
1103
1098
|
tier: string;
|
|
1104
1099
|
revision: number;
|
|
1100
|
+
allocation?: {
|
|
1101
|
+
[x: string]: unknown;
|
|
1102
|
+
item: string;
|
|
1103
|
+
label: string;
|
|
1104
|
+
} | undefined;
|
|
1105
|
+
recovery?: {
|
|
1106
|
+
completion: string;
|
|
1107
|
+
reason: string;
|
|
1108
|
+
flaggedAt: number;
|
|
1109
|
+
remainingTier: string | null;
|
|
1110
|
+
} | undefined;
|
|
1105
1111
|
} | {
|
|
1106
|
-
|
|
1107
|
-
|
|
1112
|
+
[x: string]: unknown;
|
|
1113
|
+
status: "void";
|
|
1114
|
+
voidedAt: number;
|
|
1108
1115
|
id: string;
|
|
1109
1116
|
member: string;
|
|
1110
1117
|
reward: {
|
|
@@ -1153,14 +1160,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1153
1160
|
quest: string | null;
|
|
1154
1161
|
completion: string | null;
|
|
1155
1162
|
roleId?: string | undefined;
|
|
1156
|
-
} | {
|
|
1157
|
-
kind: "unknown";
|
|
1158
|
-
reportedKind: string;
|
|
1159
|
-
id: string;
|
|
1160
|
-
status: string;
|
|
1161
|
-
at: number | null;
|
|
1162
|
-
quest: string | null;
|
|
1163
|
-
completion: string | null;
|
|
1164
1163
|
})[];
|
|
1165
1164
|
}>;
|
|
1166
1165
|
};
|
|
@@ -2089,8 +2088,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2089
2088
|
}>;
|
|
2090
2089
|
experience: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
2091
2090
|
entitlements: ({
|
|
2092
|
-
|
|
2093
|
-
|
|
2091
|
+
status: "unsupported";
|
|
2092
|
+
reportedStatus: string;
|
|
2094
2093
|
id: string;
|
|
2095
2094
|
member: string;
|
|
2096
2095
|
reward: {
|
|
@@ -2116,9 +2115,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2116
2115
|
revision: number;
|
|
2117
2116
|
} | {
|
|
2118
2117
|
[x: string]: unknown;
|
|
2119
|
-
status: "
|
|
2120
|
-
handover: string;
|
|
2121
|
-
startedAt: number;
|
|
2118
|
+
status: "available";
|
|
2122
2119
|
id: string;
|
|
2123
2120
|
member: string;
|
|
2124
2121
|
reward: {
|
|
@@ -2142,17 +2139,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2142
2139
|
earnedTier: string;
|
|
2143
2140
|
tier: string;
|
|
2144
2141
|
revision: number;
|
|
2145
|
-
allocation?: {
|
|
2146
|
-
[x: string]: unknown;
|
|
2147
|
-
item: string;
|
|
2148
|
-
label: string;
|
|
2149
|
-
} | undefined;
|
|
2150
2142
|
} | {
|
|
2151
2143
|
[x: string]: unknown;
|
|
2152
|
-
status: "
|
|
2144
|
+
status: "handing-over";
|
|
2153
2145
|
handover: string;
|
|
2154
2146
|
startedAt: number;
|
|
2155
|
-
collectedAt: number;
|
|
2156
2147
|
id: string;
|
|
2157
2148
|
member: string;
|
|
2158
2149
|
reward: {
|
|
@@ -2181,16 +2172,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2181
2172
|
item: string;
|
|
2182
2173
|
label: string;
|
|
2183
2174
|
} | undefined;
|
|
2184
|
-
recovery?: {
|
|
2185
|
-
completion: string;
|
|
2186
|
-
reason: string;
|
|
2187
|
-
flaggedAt: number;
|
|
2188
|
-
remainingTier: string | null;
|
|
2189
|
-
} | undefined;
|
|
2190
2175
|
} | {
|
|
2191
2176
|
[x: string]: unknown;
|
|
2192
|
-
status: "
|
|
2193
|
-
|
|
2177
|
+
status: "collected";
|
|
2178
|
+
handover: string;
|
|
2179
|
+
startedAt: number;
|
|
2180
|
+
collectedAt: number;
|
|
2194
2181
|
id: string;
|
|
2195
2182
|
member: string;
|
|
2196
2183
|
reward: {
|
|
@@ -2214,9 +2201,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
2214
2201
|
earnedTier: string;
|
|
2215
2202
|
tier: string;
|
|
2216
2203
|
revision: number;
|
|
2204
|
+
allocation?: {
|
|
2205
|
+
[x: string]: unknown;
|
|
2206
|
+
item: string;
|
|
2207
|
+
label: string;
|
|
2208
|
+
} | undefined;
|
|
2209
|
+
recovery?: {
|
|
2210
|
+
completion: string;
|
|
2211
|
+
reason: string;
|
|
2212
|
+
flaggedAt: number;
|
|
2213
|
+
remainingTier: string | null;
|
|
2214
|
+
} | undefined;
|
|
2217
2215
|
} | {
|
|
2218
|
-
|
|
2219
|
-
|
|
2216
|
+
[x: string]: unknown;
|
|
2217
|
+
status: "void";
|
|
2218
|
+
voidedAt: number;
|
|
2220
2219
|
id: string;
|
|
2221
2220
|
member: string;
|
|
2222
2221
|
reward: {
|
|
@@ -3611,6 +3610,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3611
3610
|
verify: (proof: z.input<typeof walletSignatureSchema>, requestOptions?: RelayRequestOptions) => Promise<{
|
|
3612
3611
|
id: string;
|
|
3613
3612
|
principal: {
|
|
3613
|
+
kind: string;
|
|
3614
|
+
} | {
|
|
3614
3615
|
kind: "member";
|
|
3615
3616
|
member: string;
|
|
3616
3617
|
} | {
|
|
@@ -3619,8 +3620,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3619
3620
|
} | {
|
|
3620
3621
|
kind: "operator";
|
|
3621
3622
|
subject: string;
|
|
3622
|
-
} | {
|
|
3623
|
-
kind: string;
|
|
3624
3623
|
};
|
|
3625
3624
|
expiresAt: number;
|
|
3626
3625
|
organization: string;
|
|
@@ -3634,6 +3633,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3634
3633
|
signIn: (signer: WalletSigner, requestOptions?: RelayRequestOptions) => Promise<{
|
|
3635
3634
|
id: string;
|
|
3636
3635
|
principal: {
|
|
3636
|
+
kind: string;
|
|
3637
|
+
} | {
|
|
3637
3638
|
kind: "member";
|
|
3638
3639
|
member: string;
|
|
3639
3640
|
} | {
|
|
@@ -3642,8 +3643,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3642
3643
|
} | {
|
|
3643
3644
|
kind: "operator";
|
|
3644
3645
|
subject: string;
|
|
3645
|
-
} | {
|
|
3646
|
-
kind: string;
|
|
3647
3646
|
};
|
|
3648
3647
|
expiresAt: number;
|
|
3649
3648
|
organization: string;
|
|
@@ -3686,6 +3685,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3686
3685
|
signIn: (initData: string, requestOptions?: RelayRequestOptions) => Promise<{
|
|
3687
3686
|
id: string;
|
|
3688
3687
|
principal: {
|
|
3688
|
+
kind: string;
|
|
3689
|
+
} | {
|
|
3689
3690
|
kind: "member";
|
|
3690
3691
|
member: string;
|
|
3691
3692
|
} | {
|
|
@@ -3694,8 +3695,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3694
3695
|
} | {
|
|
3695
3696
|
kind: "operator";
|
|
3696
3697
|
subject: string;
|
|
3697
|
-
} | {
|
|
3698
|
-
kind: string;
|
|
3699
3698
|
};
|
|
3700
3699
|
expiresAt: number;
|
|
3701
3700
|
organization: string;
|
|
@@ -3756,6 +3755,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3756
3755
|
session: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
3757
3756
|
id: string;
|
|
3758
3757
|
principal: {
|
|
3758
|
+
kind: string;
|
|
3759
|
+
} | {
|
|
3759
3760
|
kind: "member";
|
|
3760
3761
|
member: string;
|
|
3761
3762
|
} | {
|
|
@@ -3764,8 +3765,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3764
3765
|
} | {
|
|
3765
3766
|
kind: "operator";
|
|
3766
3767
|
subject: string;
|
|
3767
|
-
} | {
|
|
3768
|
-
kind: string;
|
|
3769
3768
|
};
|
|
3770
3769
|
expiresAt: number;
|
|
3771
3770
|
organization: string;
|
|
@@ -3818,6 +3817,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3818
3817
|
}, options?: RelayRequestOptions) => Promise<{
|
|
3819
3818
|
member: string;
|
|
3820
3819
|
items: ({
|
|
3820
|
+
kind: "unknown";
|
|
3821
|
+
reportedKind: string;
|
|
3822
|
+
id: string;
|
|
3823
|
+
at: number;
|
|
3824
|
+
} | {
|
|
3821
3825
|
kind: "attempt.accepted";
|
|
3822
3826
|
quest: string;
|
|
3823
3827
|
attempt: string;
|
|
@@ -3872,11 +3876,6 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
3872
3876
|
program: string;
|
|
3873
3877
|
id: string;
|
|
3874
3878
|
at: number;
|
|
3875
|
-
} | {
|
|
3876
|
-
kind: "unknown";
|
|
3877
|
-
reportedKind: string;
|
|
3878
|
-
id: string;
|
|
3879
|
-
at: number;
|
|
3880
3879
|
})[];
|
|
3881
3880
|
nextCursor: string;
|
|
3882
3881
|
}>;
|
|
@@ -4329,8 +4328,8 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4329
4328
|
nextAvailableAt?: number | undefined;
|
|
4330
4329
|
}[];
|
|
4331
4330
|
entitlements: ({
|
|
4332
|
-
|
|
4333
|
-
|
|
4331
|
+
status: "unsupported";
|
|
4332
|
+
reportedStatus: string;
|
|
4334
4333
|
id: string;
|
|
4335
4334
|
member: string;
|
|
4336
4335
|
reward: {
|
|
@@ -4356,9 +4355,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4356
4355
|
revision: number;
|
|
4357
4356
|
} | {
|
|
4358
4357
|
[x: string]: unknown;
|
|
4359
|
-
status: "
|
|
4360
|
-
handover: string;
|
|
4361
|
-
startedAt: number;
|
|
4358
|
+
status: "available";
|
|
4362
4359
|
id: string;
|
|
4363
4360
|
member: string;
|
|
4364
4361
|
reward: {
|
|
@@ -4382,17 +4379,11 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4382
4379
|
earnedTier: string;
|
|
4383
4380
|
tier: string;
|
|
4384
4381
|
revision: number;
|
|
4385
|
-
allocation?: {
|
|
4386
|
-
[x: string]: unknown;
|
|
4387
|
-
item: string;
|
|
4388
|
-
label: string;
|
|
4389
|
-
} | undefined;
|
|
4390
4382
|
} | {
|
|
4391
4383
|
[x: string]: unknown;
|
|
4392
|
-
status: "
|
|
4384
|
+
status: "handing-over";
|
|
4393
4385
|
handover: string;
|
|
4394
4386
|
startedAt: number;
|
|
4395
|
-
collectedAt: number;
|
|
4396
4387
|
id: string;
|
|
4397
4388
|
member: string;
|
|
4398
4389
|
reward: {
|
|
@@ -4421,16 +4412,12 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4421
4412
|
item: string;
|
|
4422
4413
|
label: string;
|
|
4423
4414
|
} | undefined;
|
|
4424
|
-
recovery?: {
|
|
4425
|
-
completion: string;
|
|
4426
|
-
reason: string;
|
|
4427
|
-
flaggedAt: number;
|
|
4428
|
-
remainingTier: string | null;
|
|
4429
|
-
} | undefined;
|
|
4430
4415
|
} | {
|
|
4431
4416
|
[x: string]: unknown;
|
|
4432
|
-
status: "
|
|
4433
|
-
|
|
4417
|
+
status: "collected";
|
|
4418
|
+
handover: string;
|
|
4419
|
+
startedAt: number;
|
|
4420
|
+
collectedAt: number;
|
|
4434
4421
|
id: string;
|
|
4435
4422
|
member: string;
|
|
4436
4423
|
reward: {
|
|
@@ -4454,9 +4441,21 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4454
4441
|
earnedTier: string;
|
|
4455
4442
|
tier: string;
|
|
4456
4443
|
revision: number;
|
|
4444
|
+
allocation?: {
|
|
4445
|
+
[x: string]: unknown;
|
|
4446
|
+
item: string;
|
|
4447
|
+
label: string;
|
|
4448
|
+
} | undefined;
|
|
4449
|
+
recovery?: {
|
|
4450
|
+
completion: string;
|
|
4451
|
+
reason: string;
|
|
4452
|
+
flaggedAt: number;
|
|
4453
|
+
remainingTier: string | null;
|
|
4454
|
+
} | undefined;
|
|
4457
4455
|
} | {
|
|
4458
|
-
|
|
4459
|
-
|
|
4456
|
+
[x: string]: unknown;
|
|
4457
|
+
status: "void";
|
|
4458
|
+
voidedAt: number;
|
|
4460
4459
|
id: string;
|
|
4461
4460
|
member: string;
|
|
4462
4461
|
reward: {
|