@oxy.so/contracts 4.21.0 → 4.23.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/cjs/client/contentClaims.js +139 -0
- package/dist/cjs/client/index.js +21 -3
- package/dist/cjs/client/products.js +33 -11
- package/dist/cjs/contentClaims.js +246 -0
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/client/contentClaims.js +134 -0
- package/dist/esm/client/index.js +2 -1
- package/dist/esm/client/products.js +32 -10
- package/dist/esm/contentClaims.js +229 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/client/contentClaims.d.ts +106 -0
- package/dist/types/client/index.d.ts +2 -1
- package/dist/types/client/products.d.ts +43 -10
- package/dist/types/client/safety.d.ts +1 -1
- package/dist/types/contentClaims.d.ts +383 -0
- package/dist/types/email/messages.d.ts +2 -2
- package/dist/types/externalIdentity.d.ts +45 -12
- package/dist/types/index.d.ts +2 -1
- package/dist/types/inference/aliaModelRelease.d.ts +8 -8
- package/dist/types/inference/catalogue.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +4 -4
- package/dist/types/inference/modelDocumentation.d.ts +16 -16
- package/dist/types/products/billing.d.ts +8 -0
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +102 -5
- package/dist/types/safety.d.ts +77 -50
- package/dist/types/sessionStatus.d.ts +4 -4
- package/dist/types/updates.d.ts +6 -6
- package/dist/types/userResponse.d.ts +145 -9
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ export declare const personalPlanDisplayPriceSchema: z.ZodObject<{
|
|
|
26
26
|
export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
27
27
|
schemaVersion: z.ZodLiteral<1>;
|
|
28
28
|
state: z.ZodEnum<["unconfigured", "configured"]>;
|
|
29
|
-
purchase: z.
|
|
29
|
+
purchase: z.ZodEnum<["unavailable", "available"]>;
|
|
30
30
|
plans: z.ZodArray<z.ZodObject<{
|
|
31
31
|
offerId: z.ZodString;
|
|
32
32
|
offerVersion: z.ZodNumber;
|
|
@@ -182,7 +182,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
182
182
|
}, "strict", z.ZodTypeAny, {
|
|
183
183
|
schemaVersion: 1;
|
|
184
184
|
state: "unconfigured" | "configured";
|
|
185
|
-
purchase: "unavailable";
|
|
185
|
+
purchase: "unavailable" | "available";
|
|
186
186
|
plans: {
|
|
187
187
|
kind: "oxy_one";
|
|
188
188
|
displayName: string;
|
|
@@ -216,7 +216,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
216
216
|
}, {
|
|
217
217
|
schemaVersion: 1;
|
|
218
218
|
state: "unconfigured" | "configured";
|
|
219
|
-
purchase: "unavailable";
|
|
219
|
+
purchase: "unavailable" | "available";
|
|
220
220
|
plans: {
|
|
221
221
|
kind: "oxy_one";
|
|
222
222
|
displayName: string;
|
|
@@ -250,7 +250,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
250
250
|
}>, {
|
|
251
251
|
schemaVersion: 1;
|
|
252
252
|
state: "unconfigured" | "configured";
|
|
253
|
-
purchase: "unavailable";
|
|
253
|
+
purchase: "unavailable" | "available";
|
|
254
254
|
plans: {
|
|
255
255
|
kind: "oxy_one";
|
|
256
256
|
displayName: string;
|
|
@@ -284,7 +284,7 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
284
284
|
}, {
|
|
285
285
|
schemaVersion: 1;
|
|
286
286
|
state: "unconfigured" | "configured";
|
|
287
|
-
purchase: "unavailable";
|
|
287
|
+
purchase: "unavailable" | "available";
|
|
288
288
|
plans: {
|
|
289
289
|
kind: "oxy_one";
|
|
290
290
|
displayName: string;
|
|
@@ -317,3 +317,100 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
317
317
|
}[];
|
|
318
318
|
}>;
|
|
319
319
|
export type PersonalPlanCatalogue = z.infer<typeof personalPlanCatalogueSchema>;
|
|
320
|
+
export declare const productPlanCatalogueSchema: z.ZodObject<{
|
|
321
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
322
|
+
productId: z.ZodString;
|
|
323
|
+
purchase: z.ZodEnum<["unavailable", "available"]>;
|
|
324
|
+
plans: z.ZodArray<z.ZodObject<{
|
|
325
|
+
productId: z.ZodString;
|
|
326
|
+
offerId: z.ZodString;
|
|
327
|
+
offerVersion: z.ZodNumber;
|
|
328
|
+
displayName: z.ZodString;
|
|
329
|
+
price: z.ZodObject<{
|
|
330
|
+
currency: z.ZodString;
|
|
331
|
+
amountMinorUnits: z.ZodNumber;
|
|
332
|
+
trial: z.ZodLiteral<"none">;
|
|
333
|
+
taxTreatment: z.ZodLiteral<"inclusive">;
|
|
334
|
+
merchantTotal: z.ZodLiteral<"final">;
|
|
335
|
+
} & {
|
|
336
|
+
interval: z.ZodEnum<["month", "year"]>;
|
|
337
|
+
}, "strict", z.ZodTypeAny, {
|
|
338
|
+
currency: string;
|
|
339
|
+
amountMinorUnits: number;
|
|
340
|
+
interval: "year" | "month";
|
|
341
|
+
trial: "none";
|
|
342
|
+
taxTreatment: "inclusive";
|
|
343
|
+
merchantTotal: "final";
|
|
344
|
+
}, {
|
|
345
|
+
currency: string;
|
|
346
|
+
amountMinorUnits: number;
|
|
347
|
+
interval: "year" | "month";
|
|
348
|
+
trial: "none";
|
|
349
|
+
taxTreatment: "inclusive";
|
|
350
|
+
merchantTotal: "final";
|
|
351
|
+
}>;
|
|
352
|
+
}, "strict", z.ZodTypeAny, {
|
|
353
|
+
displayName: string;
|
|
354
|
+
price: {
|
|
355
|
+
currency: string;
|
|
356
|
+
amountMinorUnits: number;
|
|
357
|
+
interval: "year" | "month";
|
|
358
|
+
trial: "none";
|
|
359
|
+
taxTreatment: "inclusive";
|
|
360
|
+
merchantTotal: "final";
|
|
361
|
+
};
|
|
362
|
+
productId: string;
|
|
363
|
+
offerId: string;
|
|
364
|
+
offerVersion: number;
|
|
365
|
+
}, {
|
|
366
|
+
displayName: string;
|
|
367
|
+
price: {
|
|
368
|
+
currency: string;
|
|
369
|
+
amountMinorUnits: number;
|
|
370
|
+
interval: "year" | "month";
|
|
371
|
+
trial: "none";
|
|
372
|
+
taxTreatment: "inclusive";
|
|
373
|
+
merchantTotal: "final";
|
|
374
|
+
};
|
|
375
|
+
productId: string;
|
|
376
|
+
offerId: string;
|
|
377
|
+
offerVersion: number;
|
|
378
|
+
}>, "many">;
|
|
379
|
+
}, "strict", z.ZodTypeAny, {
|
|
380
|
+
schemaVersion: 1;
|
|
381
|
+
purchase: "unavailable" | "available";
|
|
382
|
+
productId: string;
|
|
383
|
+
plans: {
|
|
384
|
+
displayName: string;
|
|
385
|
+
price: {
|
|
386
|
+
currency: string;
|
|
387
|
+
amountMinorUnits: number;
|
|
388
|
+
interval: "year" | "month";
|
|
389
|
+
trial: "none";
|
|
390
|
+
taxTreatment: "inclusive";
|
|
391
|
+
merchantTotal: "final";
|
|
392
|
+
};
|
|
393
|
+
productId: string;
|
|
394
|
+
offerId: string;
|
|
395
|
+
offerVersion: number;
|
|
396
|
+
}[];
|
|
397
|
+
}, {
|
|
398
|
+
schemaVersion: 1;
|
|
399
|
+
purchase: "unavailable" | "available";
|
|
400
|
+
productId: string;
|
|
401
|
+
plans: {
|
|
402
|
+
displayName: string;
|
|
403
|
+
price: {
|
|
404
|
+
currency: string;
|
|
405
|
+
amountMinorUnits: number;
|
|
406
|
+
interval: "year" | "month";
|
|
407
|
+
trial: "none";
|
|
408
|
+
taxTreatment: "inclusive";
|
|
409
|
+
merchantTotal: "final";
|
|
410
|
+
};
|
|
411
|
+
productId: string;
|
|
412
|
+
offerId: string;
|
|
413
|
+
offerVersion: number;
|
|
414
|
+
}[];
|
|
415
|
+
}>;
|
|
416
|
+
export type ProductPlanCatalogue = z.infer<typeof productPlanCatalogueSchema>;
|
package/dist/types/safety.d.ts
CHANGED
|
@@ -15,11 +15,11 @@ export declare const profileAccessDecisionSchema: z.ZodObject<{
|
|
|
15
15
|
policyVersion: z.ZodLiteral<"1">;
|
|
16
16
|
}, "strict", z.ZodTypeAny, {
|
|
17
17
|
allowed: boolean;
|
|
18
|
-
reason: "owner" | "unavailable" | "
|
|
18
|
+
reason: "owner" | "unavailable" | "blocked" | "private" | "public";
|
|
19
19
|
policyVersion: "1";
|
|
20
20
|
}, {
|
|
21
21
|
allowed: boolean;
|
|
22
|
-
reason: "owner" | "unavailable" | "
|
|
22
|
+
reason: "owner" | "unavailable" | "blocked" | "private" | "public";
|
|
23
23
|
policyVersion: "1";
|
|
24
24
|
}>;
|
|
25
25
|
export type ProfileAccessInput = z.infer<typeof profileAccessInputSchema>;
|
|
@@ -33,11 +33,11 @@ export declare const safetyDecisionSchema: z.ZodObject<{
|
|
|
33
33
|
policyVersion: z.ZodLiteral<"2">;
|
|
34
34
|
}, "strict", z.ZodTypeAny, {
|
|
35
35
|
allowed: boolean;
|
|
36
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
36
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
37
37
|
policyVersion: "2";
|
|
38
38
|
}, {
|
|
39
39
|
allowed: boolean;
|
|
40
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
40
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
41
41
|
policyVersion: "2";
|
|
42
42
|
}>;
|
|
43
43
|
export type SafetyDecision = z.infer<typeof safetyDecisionSchema>;
|
|
@@ -57,24 +57,24 @@ export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
|
57
57
|
policyVersion: z.ZodLiteral<"2">;
|
|
58
58
|
}, "strict", z.ZodTypeAny, {
|
|
59
59
|
allowed: boolean;
|
|
60
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
60
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
61
61
|
policyVersion: "2";
|
|
62
62
|
}, {
|
|
63
63
|
allowed: boolean;
|
|
64
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
64
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
65
65
|
policyVersion: "2";
|
|
66
66
|
}>;
|
|
67
67
|
}, "strict", z.ZodTypeAny, {
|
|
68
68
|
decision: {
|
|
69
69
|
allowed: boolean;
|
|
70
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
70
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
71
71
|
policyVersion: "2";
|
|
72
72
|
};
|
|
73
73
|
subjectAccountId: string;
|
|
74
74
|
}, {
|
|
75
75
|
decision: {
|
|
76
76
|
allowed: boolean;
|
|
77
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
77
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
78
78
|
policyVersion: "2";
|
|
79
79
|
};
|
|
80
80
|
subjectAccountId: string;
|
|
@@ -83,7 +83,7 @@ export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
|
83
83
|
items: {
|
|
84
84
|
decision: {
|
|
85
85
|
allowed: boolean;
|
|
86
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
86
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
87
87
|
policyVersion: "2";
|
|
88
88
|
};
|
|
89
89
|
subjectAccountId: string;
|
|
@@ -92,7 +92,7 @@ export declare const profileAccessBatchResponseSchema: z.ZodObject<{
|
|
|
92
92
|
items: {
|
|
93
93
|
decision: {
|
|
94
94
|
allowed: boolean;
|
|
95
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
95
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
96
96
|
policyVersion: "2";
|
|
97
97
|
};
|
|
98
98
|
subjectAccountId: string;
|
|
@@ -130,24 +130,24 @@ export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
|
130
130
|
policyVersion: z.ZodLiteral<"2">;
|
|
131
131
|
}, "strict", z.ZodTypeAny, {
|
|
132
132
|
allowed: boolean;
|
|
133
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
133
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
134
134
|
policyVersion: "2";
|
|
135
135
|
}, {
|
|
136
136
|
allowed: boolean;
|
|
137
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
137
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
138
138
|
policyVersion: "2";
|
|
139
139
|
}>;
|
|
140
140
|
}, "strict", z.ZodTypeAny, {
|
|
141
141
|
decision: {
|
|
142
142
|
allowed: boolean;
|
|
143
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
143
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
144
144
|
policyVersion: "2";
|
|
145
145
|
};
|
|
146
146
|
targetAccountId: string;
|
|
147
147
|
}, {
|
|
148
148
|
decision: {
|
|
149
149
|
allowed: boolean;
|
|
150
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
150
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
151
151
|
policyVersion: "2";
|
|
152
152
|
};
|
|
153
153
|
targetAccountId: string;
|
|
@@ -156,7 +156,7 @@ export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
|
156
156
|
items: {
|
|
157
157
|
decision: {
|
|
158
158
|
allowed: boolean;
|
|
159
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
159
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
160
160
|
policyVersion: "2";
|
|
161
161
|
};
|
|
162
162
|
targetAccountId: string;
|
|
@@ -165,7 +165,7 @@ export declare const contactAccessResponseSchema: z.ZodObject<{
|
|
|
165
165
|
items: {
|
|
166
166
|
decision: {
|
|
167
167
|
allowed: boolean;
|
|
168
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
168
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
169
169
|
policyVersion: "2";
|
|
170
170
|
};
|
|
171
171
|
targetAccountId: string;
|
|
@@ -183,7 +183,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
183
183
|
}, "strict", z.ZodTypeAny, {
|
|
184
184
|
resourceId: string;
|
|
185
185
|
classification: "general" | "mature" | "unrated";
|
|
186
|
-
audience?: "followers" | "
|
|
186
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
187
187
|
operation?: "read" | "manage_own" | undefined;
|
|
188
188
|
authorAccountId?: string | undefined;
|
|
189
189
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -191,7 +191,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
191
191
|
}, {
|
|
192
192
|
resourceId: string;
|
|
193
193
|
classification: "general" | "mature" | "unrated";
|
|
194
|
-
audience?: "followers" | "
|
|
194
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
195
195
|
operation?: "read" | "manage_own" | undefined;
|
|
196
196
|
authorAccountId?: string | undefined;
|
|
197
197
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -199,7 +199,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
199
199
|
}>, {
|
|
200
200
|
resourceId: string;
|
|
201
201
|
classification: "general" | "mature" | "unrated";
|
|
202
|
-
audience?: "followers" | "
|
|
202
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
203
203
|
operation?: "read" | "manage_own" | undefined;
|
|
204
204
|
authorAccountId?: string | undefined;
|
|
205
205
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -207,7 +207,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
207
207
|
}, {
|
|
208
208
|
resourceId: string;
|
|
209
209
|
classification: "general" | "mature" | "unrated";
|
|
210
|
-
audience?: "followers" | "
|
|
210
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
211
211
|
operation?: "read" | "manage_own" | undefined;
|
|
212
212
|
authorAccountId?: string | undefined;
|
|
213
213
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -215,7 +215,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
215
215
|
}>, {
|
|
216
216
|
resourceId: string;
|
|
217
217
|
classification: "general" | "mature" | "unrated";
|
|
218
|
-
audience?: "followers" | "
|
|
218
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
219
219
|
operation?: "read" | "manage_own" | undefined;
|
|
220
220
|
authorAccountId?: string | undefined;
|
|
221
221
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -223,7 +223,7 @@ export declare const contentAccessInputSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
|
|
|
223
223
|
}, {
|
|
224
224
|
resourceId: string;
|
|
225
225
|
classification: "general" | "mature" | "unrated";
|
|
226
|
-
audience?: "followers" | "
|
|
226
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
227
227
|
operation?: "read" | "manage_own" | undefined;
|
|
228
228
|
authorAccountId?: string | undefined;
|
|
229
229
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -333,7 +333,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
333
333
|
}, "strict", z.ZodTypeAny, {
|
|
334
334
|
resourceId: string;
|
|
335
335
|
classification: "general" | "mature" | "unrated";
|
|
336
|
-
audience?: "followers" | "
|
|
336
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
337
337
|
operation?: "read" | "manage_own" | undefined;
|
|
338
338
|
authorAccountId?: string | undefined;
|
|
339
339
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -341,7 +341,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
341
341
|
}, {
|
|
342
342
|
resourceId: string;
|
|
343
343
|
classification: "general" | "mature" | "unrated";
|
|
344
|
-
audience?: "followers" | "
|
|
344
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
345
345
|
operation?: "read" | "manage_own" | undefined;
|
|
346
346
|
authorAccountId?: string | undefined;
|
|
347
347
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -349,7 +349,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
349
349
|
}>, {
|
|
350
350
|
resourceId: string;
|
|
351
351
|
classification: "general" | "mature" | "unrated";
|
|
352
|
-
audience?: "followers" | "
|
|
352
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
353
353
|
operation?: "read" | "manage_own" | undefined;
|
|
354
354
|
authorAccountId?: string | undefined;
|
|
355
355
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -357,7 +357,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
357
357
|
}, {
|
|
358
358
|
resourceId: string;
|
|
359
359
|
classification: "general" | "mature" | "unrated";
|
|
360
|
-
audience?: "followers" | "
|
|
360
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
361
361
|
operation?: "read" | "manage_own" | undefined;
|
|
362
362
|
authorAccountId?: string | undefined;
|
|
363
363
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
365
365
|
}>, {
|
|
366
366
|
resourceId: string;
|
|
367
367
|
classification: "general" | "mature" | "unrated";
|
|
368
|
-
audience?: "followers" | "
|
|
368
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
369
369
|
operation?: "read" | "manage_own" | undefined;
|
|
370
370
|
authorAccountId?: string | undefined;
|
|
371
371
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -373,7 +373,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
373
373
|
}, {
|
|
374
374
|
resourceId: string;
|
|
375
375
|
classification: "general" | "mature" | "unrated";
|
|
376
|
-
audience?: "followers" | "
|
|
376
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
377
377
|
operation?: "read" | "manage_own" | undefined;
|
|
378
378
|
authorAccountId?: string | undefined;
|
|
379
379
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -381,7 +381,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
381
381
|
}>, "many">, {
|
|
382
382
|
resourceId: string;
|
|
383
383
|
classification: "general" | "mature" | "unrated";
|
|
384
|
-
audience?: "followers" | "
|
|
384
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
385
385
|
operation?: "read" | "manage_own" | undefined;
|
|
386
386
|
authorAccountId?: string | undefined;
|
|
387
387
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -389,7 +389,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
389
389
|
}[], {
|
|
390
390
|
resourceId: string;
|
|
391
391
|
classification: "general" | "mature" | "unrated";
|
|
392
|
-
audience?: "followers" | "
|
|
392
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
393
393
|
operation?: "read" | "manage_own" | undefined;
|
|
394
394
|
authorAccountId?: string | undefined;
|
|
395
395
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -399,7 +399,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
399
399
|
items: {
|
|
400
400
|
resourceId: string;
|
|
401
401
|
classification: "general" | "mature" | "unrated";
|
|
402
|
-
audience?: "followers" | "
|
|
402
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
403
403
|
operation?: "read" | "manage_own" | undefined;
|
|
404
404
|
authorAccountId?: string | undefined;
|
|
405
405
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -409,7 +409,7 @@ export declare const contentAccessBatchInputSchema: z.ZodObject<{
|
|
|
409
409
|
items: {
|
|
410
410
|
resourceId: string;
|
|
411
411
|
classification: "general" | "mature" | "unrated";
|
|
412
|
-
audience?: "followers" | "
|
|
412
|
+
audience?: "followers" | "private" | "public" | undefined;
|
|
413
413
|
operation?: "read" | "manage_own" | undefined;
|
|
414
414
|
authorAccountId?: string | undefined;
|
|
415
415
|
applicationAudienceAllowed?: boolean | undefined;
|
|
@@ -425,24 +425,24 @@ export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
|
425
425
|
policyVersion: z.ZodLiteral<"2">;
|
|
426
426
|
}, "strict", z.ZodTypeAny, {
|
|
427
427
|
allowed: boolean;
|
|
428
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
428
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
429
429
|
policyVersion: "2";
|
|
430
430
|
}, {
|
|
431
431
|
allowed: boolean;
|
|
432
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
432
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
433
433
|
policyVersion: "2";
|
|
434
434
|
}>;
|
|
435
435
|
}, "strict", z.ZodTypeAny, {
|
|
436
436
|
decision: {
|
|
437
437
|
allowed: boolean;
|
|
438
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
438
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
439
439
|
policyVersion: "2";
|
|
440
440
|
};
|
|
441
441
|
resourceId: string;
|
|
442
442
|
}, {
|
|
443
443
|
decision: {
|
|
444
444
|
allowed: boolean;
|
|
445
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
445
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
446
446
|
policyVersion: "2";
|
|
447
447
|
};
|
|
448
448
|
resourceId: string;
|
|
@@ -451,7 +451,7 @@ export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
|
451
451
|
items: {
|
|
452
452
|
decision: {
|
|
453
453
|
allowed: boolean;
|
|
454
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
454
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
455
455
|
policyVersion: "2";
|
|
456
456
|
};
|
|
457
457
|
resourceId: string;
|
|
@@ -460,7 +460,7 @@ export declare const contentAccessBatchResponseSchema: z.ZodObject<{
|
|
|
460
460
|
items: {
|
|
461
461
|
decision: {
|
|
462
462
|
allowed: boolean;
|
|
463
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
463
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
464
464
|
policyVersion: "2";
|
|
465
465
|
};
|
|
466
466
|
resourceId: string;
|
|
@@ -528,24 +528,24 @@ export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
|
528
528
|
policyVersion: z.ZodLiteral<"2">;
|
|
529
529
|
}, "strict", z.ZodTypeAny, {
|
|
530
530
|
allowed: boolean;
|
|
531
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
531
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
532
532
|
policyVersion: "2";
|
|
533
533
|
}, {
|
|
534
534
|
allowed: boolean;
|
|
535
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
535
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
536
536
|
policyVersion: "2";
|
|
537
537
|
}>;
|
|
538
538
|
}, "strict", z.ZodTypeAny, {
|
|
539
539
|
decision: {
|
|
540
540
|
allowed: boolean;
|
|
541
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
541
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
542
542
|
policyVersion: "2";
|
|
543
543
|
};
|
|
544
544
|
resourceId: string;
|
|
545
545
|
}, {
|
|
546
546
|
decision: {
|
|
547
547
|
allowed: boolean;
|
|
548
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
548
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
549
549
|
policyVersion: "2";
|
|
550
550
|
};
|
|
551
551
|
resourceId: string;
|
|
@@ -554,7 +554,7 @@ export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
|
554
554
|
items: {
|
|
555
555
|
decision: {
|
|
556
556
|
allowed: boolean;
|
|
557
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
557
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
558
558
|
policyVersion: "2";
|
|
559
559
|
};
|
|
560
560
|
resourceId: string;
|
|
@@ -563,7 +563,7 @@ export declare const messageAccessBatchResponseSchema: z.ZodObject<{
|
|
|
563
563
|
items: {
|
|
564
564
|
decision: {
|
|
565
565
|
allowed: boolean;
|
|
566
|
-
reason: "owner" | "unavailable" | "allowed" | "
|
|
566
|
+
reason: "owner" | "unavailable" | "allowed" | "blocked" | "private" | "public" | "unsupported_consumer" | "contact_not_approved" | "mature_content" | "unrated_content" | "approval_required";
|
|
567
567
|
policyVersion: "2";
|
|
568
568
|
};
|
|
569
569
|
resourceId: string;
|
|
@@ -2014,6 +2014,13 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2014
2014
|
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2015
2015
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2016
2016
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2017
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2018
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2019
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2020
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2021
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2022
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2023
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2017
2024
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
2018
2025
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2019
2026
|
mentionMono: z.ZodObject<{
|
|
@@ -2059,6 +2066,13 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2059
2066
|
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2060
2067
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2061
2068
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2069
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2070
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2071
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2072
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2073
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2074
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2075
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2062
2076
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
2063
2077
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2064
2078
|
mentionMono: z.ZodObject<{
|
|
@@ -2104,6 +2118,13 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2104
2118
|
accountCategories: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEnum<["news", "politics", "business", "startup", "finance", "crypto", "marketplace", "retail", "real_estate", "agency", "landlord", "cooperative", "architecture", "technology", "software", "ai", "security", "automation", "science", "education", "books", "health", "fitness", "sports", "gaming", "music", "film", "podcast", "art", "photography", "comedy", "food", "travel", "fashion", "home_garden", "diy", "automotive", "animals", "family", "nonprofit", "government", "community", "activism", "environment", "religion", "other"]>, "many">, ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[], ("business" | "nonprofit" | "community" | "other" | "news" | "politics" | "startup" | "finance" | "crypto" | "marketplace" | "retail" | "real_estate" | "agency" | "landlord" | "cooperative" | "architecture" | "technology" | "software" | "ai" | "security" | "automation" | "science" | "education" | "books" | "health" | "fitness" | "sports" | "gaming" | "music" | "film" | "podcast" | "art" | "photography" | "comedy" | "food" | "travel" | "fashion" | "home_garden" | "diy" | "automotive" | "animals" | "family" | "government" | "activism" | "environment" | "religion")[]>>;
|
|
2105
2119
|
character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
|
|
2106
2120
|
relationship: z.ZodOptional<z.ZodType<import("./userResponse").UserRelationship, z.ZodTypeDef, import("./userResponse").UserRelationship>>;
|
|
2121
|
+
userPreferences: z.ZodOptional<z.ZodObject<{
|
|
2122
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2123
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
2124
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2125
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
2126
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2127
|
+
}, z.ZodUnknown, "strip">>>;
|
|
2107
2128
|
themePreference: z.ZodOptional<z.ZodType<import("./userResponse").ThemePreference, z.ZodTypeDef, import("./userResponse").ThemePreference>>;
|
|
2108
2129
|
personalization: z.ZodOptional<z.ZodObject<{
|
|
2109
2130
|
mentionMono: z.ZodObject<{
|
|
@@ -2178,14 +2199,17 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2178
2199
|
publicKey?: string | undefined;
|
|
2179
2200
|
verified?: boolean | undefined;
|
|
2180
2201
|
did?: string | undefined;
|
|
2181
|
-
|
|
2182
|
-
phone?: string | undefined;
|
|
2202
|
+
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2183
2203
|
address?: string | undefined;
|
|
2204
|
+
phone?: string | undefined;
|
|
2205
|
+
_id?: string | undefined;
|
|
2184
2206
|
birthday?: string | undefined;
|
|
2185
2207
|
dateOfBirth?: string | undefined;
|
|
2186
2208
|
isAdult?: boolean | undefined;
|
|
2187
2209
|
languages?: string[] | undefined;
|
|
2188
|
-
|
|
2210
|
+
userPreferences?: z.objectOutputType<{
|
|
2211
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2212
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
2189
2213
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
2190
2214
|
personalization?: {
|
|
2191
2215
|
mentionMono: {
|
|
@@ -2221,14 +2245,17 @@ export declare const safetySessionValidationSchema: z.ZodObject<{
|
|
|
2221
2245
|
publicKey?: string | undefined;
|
|
2222
2246
|
verified?: boolean | undefined;
|
|
2223
2247
|
did?: string | undefined;
|
|
2224
|
-
|
|
2225
|
-
phone?: string | undefined;
|
|
2248
|
+
relationship?: import("./userResponse").UserRelationship | undefined;
|
|
2226
2249
|
address?: string | undefined;
|
|
2250
|
+
phone?: string | undefined;
|
|
2251
|
+
_id?: string | undefined;
|
|
2227
2252
|
birthday?: string | undefined;
|
|
2228
2253
|
dateOfBirth?: string | undefined;
|
|
2229
2254
|
isAdult?: boolean | undefined;
|
|
2230
2255
|
languages?: string[] | undefined;
|
|
2231
|
-
|
|
2256
|
+
userPreferences?: z.objectInputType<{
|
|
2257
|
+
displayCurrency: z.ZodOptional<z.ZodEnum<["USD", "EUR", "FAIR"]>>;
|
|
2258
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
2232
2259
|
themePreference?: import("./userResponse").ThemePreference | undefined;
|
|
2233
2260
|
personalization?: {
|
|
2234
2261
|
mentionMono: {
|
|
@@ -184,8 +184,6 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
184
184
|
sessionId?: string | null | undefined;
|
|
185
185
|
userId?: string | null | undefined;
|
|
186
186
|
publicKey?: string | null | undefined;
|
|
187
|
-
authorized?: boolean | undefined;
|
|
188
|
-
sessionToken?: string | undefined;
|
|
189
187
|
application?: {
|
|
190
188
|
type: "system" | "internal" | "first_party" | "third_party";
|
|
191
189
|
name: string;
|
|
@@ -200,6 +198,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
200
198
|
termsUrl?: string | undefined;
|
|
201
199
|
developerName?: string | undefined;
|
|
202
200
|
} | null | undefined;
|
|
201
|
+
authorized?: boolean | undefined;
|
|
202
|
+
sessionToken?: string | undefined;
|
|
203
203
|
pushSentAt?: string | null | undefined;
|
|
204
204
|
openedAt?: string | null | undefined;
|
|
205
205
|
}, {
|
|
@@ -209,8 +209,6 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
209
209
|
sessionId?: string | null | undefined;
|
|
210
210
|
userId?: string | null | undefined;
|
|
211
211
|
publicKey?: string | null | undefined;
|
|
212
|
-
authorized?: boolean | undefined;
|
|
213
|
-
sessionToken?: string | undefined;
|
|
214
212
|
application?: {
|
|
215
213
|
type: "system" | "internal" | "first_party" | "third_party";
|
|
216
214
|
name: string;
|
|
@@ -225,6 +223,8 @@ export declare const sessionStatusSchema: z.ZodObject<{
|
|
|
225
223
|
termsUrl?: string | undefined;
|
|
226
224
|
developerName?: string | undefined;
|
|
227
225
|
} | null | undefined;
|
|
226
|
+
authorized?: boolean | undefined;
|
|
227
|
+
sessionToken?: string | undefined;
|
|
228
228
|
pushSentAt?: string | null | undefined;
|
|
229
229
|
openedAt?: string | null | undefined;
|
|
230
230
|
}>;
|