@oxy.so/contracts 4.14.0 → 4.16.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/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +15 -9
- package/dist/cjs/inference/money.js +10 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/cjs/signIn.js +40 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inference/money.js +10 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/esm/signIn.js +38 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +22 -22
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +86 -86
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +78 -78
- package/dist/types/externalIdentity.d.ts +59 -59
- package/dist/types/index.d.ts +2 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +19 -19
- package/dist/types/inference/decisions.d.ts +47 -47
- package/dist/types/inference/economics.d.ts +11 -11
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/money.d.ts +17 -8
- package/dist/types/inference/priceVersion.d.ts +20 -20
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +50 -50
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +11 -11
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +30 -30
- package/dist/types/inference/usage.d.ts +36 -36
- package/dist/types/inference/version.d.ts +1 -1
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +24 -24
- package/dist/types/products/plans.d.ts +6 -6
- package/dist/types/recommendations.d.ts +30 -30
- package/dist/types/safety.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/signIn.d.ts +82 -1
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +108 -108
- package/package.json +1 -1
|
@@ -6,14 +6,14 @@ export declare const productDefinitionSchema: z.ZodObject<{
|
|
|
6
6
|
ownerAccountId: z.ZodBranded<z.ZodString, "OxyAccountId">;
|
|
7
7
|
applicationId: z.ZodString;
|
|
8
8
|
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
id: string;
|
|
9
10
|
schemaVersion: 1;
|
|
10
11
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
11
|
-
id: string;
|
|
12
12
|
applicationId: string;
|
|
13
13
|
}, {
|
|
14
|
+
id: string;
|
|
14
15
|
schemaVersion: 1;
|
|
15
16
|
ownerAccountId: string;
|
|
16
|
-
id: string;
|
|
17
17
|
applicationId: string;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const subjectProductAccessQuerySchema: z.ZodObject<{
|
|
@@ -106,9 +106,9 @@ export declare const productOfferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
106
106
|
}>]>, "many">;
|
|
107
107
|
}, "strict", z.ZodTypeAny, {
|
|
108
108
|
kind: "bundle" | "individual";
|
|
109
|
+
id: string;
|
|
109
110
|
schemaVersion: 1;
|
|
110
111
|
version: number;
|
|
111
|
-
id: string;
|
|
112
112
|
benefits: ({
|
|
113
113
|
kind: "capability";
|
|
114
114
|
key: string;
|
|
@@ -123,9 +123,9 @@ export declare const productOfferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
123
123
|
})[];
|
|
124
124
|
}, {
|
|
125
125
|
kind: "bundle" | "individual";
|
|
126
|
+
id: string;
|
|
126
127
|
schemaVersion: 1;
|
|
127
128
|
version: number;
|
|
128
|
-
id: string;
|
|
129
129
|
benefits: ({
|
|
130
130
|
kind: "capability";
|
|
131
131
|
key: string;
|
|
@@ -140,9 +140,9 @@ export declare const productOfferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
140
140
|
})[];
|
|
141
141
|
}>, {
|
|
142
142
|
kind: "bundle" | "individual";
|
|
143
|
+
id: string;
|
|
143
144
|
schemaVersion: 1;
|
|
144
145
|
version: number;
|
|
145
|
-
id: string;
|
|
146
146
|
benefits: ({
|
|
147
147
|
kind: "capability";
|
|
148
148
|
key: string;
|
|
@@ -157,9 +157,9 @@ export declare const productOfferSchema: z.ZodEffects<z.ZodObject<{
|
|
|
157
157
|
})[];
|
|
158
158
|
}, {
|
|
159
159
|
kind: "bundle" | "individual";
|
|
160
|
+
id: string;
|
|
160
161
|
schemaVersion: 1;
|
|
161
162
|
version: number;
|
|
162
|
-
id: string;
|
|
163
163
|
benefits: ({
|
|
164
164
|
kind: "capability";
|
|
165
165
|
key: string;
|
|
@@ -200,8 +200,8 @@ export declare const productSubscriptionSourceSchema: z.ZodObject<{
|
|
|
200
200
|
cancelAtPeriodEnd: z.ZodBoolean;
|
|
201
201
|
}, "strict", z.ZodTypeAny, {
|
|
202
202
|
status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
|
|
203
|
-
schemaVersion: 1;
|
|
204
203
|
id: string;
|
|
204
|
+
schemaVersion: 1;
|
|
205
205
|
provider: "stripe" | "peable";
|
|
206
206
|
cancelAtPeriodEnd: boolean;
|
|
207
207
|
beneficiaryAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -213,8 +213,8 @@ export declare const productSubscriptionSourceSchema: z.ZodObject<{
|
|
|
213
213
|
};
|
|
214
214
|
}, {
|
|
215
215
|
status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
|
|
216
|
-
schemaVersion: 1;
|
|
217
216
|
id: string;
|
|
217
|
+
schemaVersion: 1;
|
|
218
218
|
provider: "stripe" | "peable";
|
|
219
219
|
cancelAtPeriodEnd: boolean;
|
|
220
220
|
beneficiaryAccountId: string;
|
|
@@ -251,8 +251,8 @@ export declare const productOfferSegmentSchema: z.ZodObject<{
|
|
|
251
251
|
end: string;
|
|
252
252
|
}>;
|
|
253
253
|
}, "strict", z.ZodTypeAny, {
|
|
254
|
-
schemaVersion: 1;
|
|
255
254
|
id: string;
|
|
255
|
+
schemaVersion: 1;
|
|
256
256
|
beneficiaryAccountId: string & z.BRAND<"OxyAccountId">;
|
|
257
257
|
period: {
|
|
258
258
|
start: string;
|
|
@@ -263,8 +263,8 @@ export declare const productOfferSegmentSchema: z.ZodObject<{
|
|
|
263
263
|
offerVersion: number;
|
|
264
264
|
origin: "bundle" | "individual";
|
|
265
265
|
}, {
|
|
266
|
-
schemaVersion: 1;
|
|
267
266
|
id: string;
|
|
267
|
+
schemaVersion: 1;
|
|
268
268
|
beneficiaryAccountId: string;
|
|
269
269
|
period: {
|
|
270
270
|
start: string;
|
|
@@ -336,8 +336,8 @@ export declare const productAccessGrantSchema: z.ZodObject<{
|
|
|
336
336
|
}>;
|
|
337
337
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
338
338
|
}, "strict", z.ZodTypeAny, {
|
|
339
|
-
schemaVersion: 1;
|
|
340
339
|
id: string;
|
|
340
|
+
schemaVersion: 1;
|
|
341
341
|
revokedAt: string | null;
|
|
342
342
|
beneficiaryAccountId: string & z.BRAND<"OxyAccountId">;
|
|
343
343
|
period: {
|
|
@@ -361,8 +361,8 @@ export declare const productAccessGrantSchema: z.ZodObject<{
|
|
|
361
361
|
combination: "maximum" | "sum" | "exclusive";
|
|
362
362
|
};
|
|
363
363
|
}, {
|
|
364
|
-
schemaVersion: 1;
|
|
365
364
|
id: string;
|
|
365
|
+
schemaVersion: 1;
|
|
366
366
|
revokedAt: string | null;
|
|
367
367
|
beneficiaryAccountId: string;
|
|
368
368
|
period: {
|
|
@@ -638,8 +638,8 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
638
638
|
}>;
|
|
639
639
|
revokedAt: z.ZodNullable<z.ZodString>;
|
|
640
640
|
}, "strict", z.ZodTypeAny, {
|
|
641
|
-
schemaVersion: 1;
|
|
642
641
|
id: string;
|
|
642
|
+
schemaVersion: 1;
|
|
643
643
|
revokedAt: string | null;
|
|
644
644
|
beneficiaryAccountId: string & z.BRAND<"OxyAccountId">;
|
|
645
645
|
period: {
|
|
@@ -663,8 +663,8 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
663
663
|
combination: "maximum" | "sum" | "exclusive";
|
|
664
664
|
};
|
|
665
665
|
}, {
|
|
666
|
-
schemaVersion: 1;
|
|
667
666
|
id: string;
|
|
667
|
+
schemaVersion: 1;
|
|
668
668
|
revokedAt: string | null;
|
|
669
669
|
beneficiaryAccountId: string;
|
|
670
670
|
period: {
|
|
@@ -713,8 +713,8 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
713
713
|
}[];
|
|
714
714
|
};
|
|
715
715
|
grants: {
|
|
716
|
-
schemaVersion: 1;
|
|
717
716
|
id: string;
|
|
717
|
+
schemaVersion: 1;
|
|
718
718
|
revokedAt: string | null;
|
|
719
719
|
beneficiaryAccountId: string & z.BRAND<"OxyAccountId">;
|
|
720
720
|
period: {
|
|
@@ -763,8 +763,8 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
763
763
|
}[];
|
|
764
764
|
};
|
|
765
765
|
grants: {
|
|
766
|
-
schemaVersion: 1;
|
|
767
766
|
id: string;
|
|
767
|
+
schemaVersion: 1;
|
|
768
768
|
revokedAt: string | null;
|
|
769
769
|
beneficiaryAccountId: string;
|
|
770
770
|
period: {
|
|
@@ -813,8 +813,8 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
813
813
|
}[];
|
|
814
814
|
};
|
|
815
815
|
grants: {
|
|
816
|
-
schemaVersion: 1;
|
|
817
816
|
id: string;
|
|
817
|
+
schemaVersion: 1;
|
|
818
818
|
revokedAt: string | null;
|
|
819
819
|
beneficiaryAccountId: string & z.BRAND<"OxyAccountId">;
|
|
820
820
|
period: {
|
|
@@ -863,8 +863,8 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
|
|
|
863
863
|
}[];
|
|
864
864
|
};
|
|
865
865
|
grants: {
|
|
866
|
-
schemaVersion: 1;
|
|
867
866
|
id: string;
|
|
867
|
+
schemaVersion: 1;
|
|
868
868
|
revokedAt: string | null;
|
|
869
869
|
beneficiaryAccountId: string;
|
|
870
870
|
period: {
|
|
@@ -48,11 +48,11 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
|
|
|
48
48
|
id: z.ZodString;
|
|
49
49
|
displayName: z.ZodString;
|
|
50
50
|
}, "strict", z.ZodTypeAny, {
|
|
51
|
-
displayName: string;
|
|
52
51
|
id: string;
|
|
53
|
-
}, {
|
|
54
52
|
displayName: string;
|
|
53
|
+
}, {
|
|
55
54
|
id: string;
|
|
55
|
+
displayName: string;
|
|
56
56
|
}>, "many">;
|
|
57
57
|
}, "strict", z.ZodTypeAny, {
|
|
58
58
|
displayName: string;
|
|
@@ -66,8 +66,8 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
|
|
|
66
66
|
segmentId: string;
|
|
67
67
|
current: boolean;
|
|
68
68
|
products: {
|
|
69
|
-
displayName: string;
|
|
70
69
|
id: string;
|
|
70
|
+
displayName: string;
|
|
71
71
|
}[];
|
|
72
72
|
}, {
|
|
73
73
|
displayName: string;
|
|
@@ -81,8 +81,8 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
|
|
|
81
81
|
segmentId: string;
|
|
82
82
|
current: boolean;
|
|
83
83
|
products: {
|
|
84
|
-
displayName: string;
|
|
85
84
|
id: string;
|
|
85
|
+
displayName: string;
|
|
86
86
|
}[];
|
|
87
87
|
}>, "many">;
|
|
88
88
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -106,8 +106,8 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
|
|
|
106
106
|
segmentId: string;
|
|
107
107
|
current: boolean;
|
|
108
108
|
products: {
|
|
109
|
-
displayName: string;
|
|
110
109
|
id: string;
|
|
110
|
+
displayName: string;
|
|
111
111
|
}[];
|
|
112
112
|
}[];
|
|
113
113
|
}, {
|
|
@@ -131,8 +131,8 @@ export declare const productSubscriptionSummarySchema: z.ZodObject<{
|
|
|
131
131
|
segmentId: string;
|
|
132
132
|
current: boolean;
|
|
133
133
|
products: {
|
|
134
|
-
displayName: string;
|
|
135
134
|
id: string;
|
|
135
|
+
displayName: string;
|
|
136
136
|
}[];
|
|
137
137
|
}[];
|
|
138
138
|
}>;
|
|
@@ -185,11 +185,11 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
185
185
|
id: z.ZodString;
|
|
186
186
|
displayName: z.ZodString;
|
|
187
187
|
}, "strict", z.ZodTypeAny, {
|
|
188
|
-
displayName: string;
|
|
189
188
|
id: string;
|
|
190
|
-
}, {
|
|
191
189
|
displayName: string;
|
|
190
|
+
}, {
|
|
192
191
|
id: string;
|
|
192
|
+
displayName: string;
|
|
193
193
|
}>, "many">;
|
|
194
194
|
}, "strict", z.ZodTypeAny, {
|
|
195
195
|
displayName: string;
|
|
@@ -203,8 +203,8 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
203
203
|
segmentId: string;
|
|
204
204
|
current: boolean;
|
|
205
205
|
products: {
|
|
206
|
-
displayName: string;
|
|
207
206
|
id: string;
|
|
207
|
+
displayName: string;
|
|
208
208
|
}[];
|
|
209
209
|
}, {
|
|
210
210
|
displayName: string;
|
|
@@ -218,8 +218,8 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
218
218
|
segmentId: string;
|
|
219
219
|
current: boolean;
|
|
220
220
|
products: {
|
|
221
|
-
displayName: string;
|
|
222
221
|
id: string;
|
|
222
|
+
displayName: string;
|
|
223
223
|
}[];
|
|
224
224
|
}>, "many">;
|
|
225
225
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -243,8 +243,8 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
243
243
|
segmentId: string;
|
|
244
244
|
current: boolean;
|
|
245
245
|
products: {
|
|
246
|
-
displayName: string;
|
|
247
246
|
id: string;
|
|
247
|
+
displayName: string;
|
|
248
248
|
}[];
|
|
249
249
|
}[];
|
|
250
250
|
}, {
|
|
@@ -268,8 +268,8 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
268
268
|
segmentId: string;
|
|
269
269
|
current: boolean;
|
|
270
270
|
products: {
|
|
271
|
-
displayName: string;
|
|
272
271
|
id: string;
|
|
272
|
+
displayName: string;
|
|
273
273
|
}[];
|
|
274
274
|
}[];
|
|
275
275
|
}>, "many">;
|
|
@@ -295,8 +295,8 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
295
295
|
segmentId: string;
|
|
296
296
|
current: boolean;
|
|
297
297
|
products: {
|
|
298
|
-
displayName: string;
|
|
299
298
|
id: string;
|
|
299
|
+
displayName: string;
|
|
300
300
|
}[];
|
|
301
301
|
}[];
|
|
302
302
|
}[];
|
|
@@ -322,8 +322,8 @@ export declare const productSubscriptionsResponseSchema: z.ZodObject<{
|
|
|
322
322
|
segmentId: string;
|
|
323
323
|
current: boolean;
|
|
324
324
|
products: {
|
|
325
|
-
displayName: string;
|
|
326
325
|
id: string;
|
|
326
|
+
displayName: string;
|
|
327
327
|
}[];
|
|
328
328
|
}[];
|
|
329
329
|
}[];
|
|
@@ -355,8 +355,8 @@ export declare const subscriptionCreditGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
355
355
|
promotionId: z.ZodNullable<z.ZodString>;
|
|
356
356
|
createdAt: z.ZodString;
|
|
357
357
|
}, "strict", z.ZodTypeAny, {
|
|
358
|
-
id: string;
|
|
359
358
|
createdAt: string;
|
|
359
|
+
id: string;
|
|
360
360
|
granted: number;
|
|
361
361
|
remaining: number;
|
|
362
362
|
period: {
|
|
@@ -369,8 +369,8 @@ export declare const subscriptionCreditGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
369
369
|
clawed: number;
|
|
370
370
|
promotionId: string | null;
|
|
371
371
|
}, {
|
|
372
|
-
id: string;
|
|
373
372
|
createdAt: string;
|
|
373
|
+
id: string;
|
|
374
374
|
granted: number;
|
|
375
375
|
remaining: number;
|
|
376
376
|
period: {
|
|
@@ -383,8 +383,8 @@ export declare const subscriptionCreditGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
383
383
|
clawed: number;
|
|
384
384
|
promotionId: string | null;
|
|
385
385
|
}>, {
|
|
386
|
-
id: string;
|
|
387
386
|
createdAt: string;
|
|
387
|
+
id: string;
|
|
388
388
|
granted: number;
|
|
389
389
|
remaining: number;
|
|
390
390
|
period: {
|
|
@@ -397,8 +397,8 @@ export declare const subscriptionCreditGrantSchema: z.ZodEffects<z.ZodObject<{
|
|
|
397
397
|
clawed: number;
|
|
398
398
|
promotionId: string | null;
|
|
399
399
|
}, {
|
|
400
|
-
id: string;
|
|
401
400
|
createdAt: string;
|
|
401
|
+
id: string;
|
|
402
402
|
granted: number;
|
|
403
403
|
remaining: number;
|
|
404
404
|
period: {
|
|
@@ -439,8 +439,8 @@ export declare const subscriptionCreditGrantsResponseSchema: z.ZodObject<{
|
|
|
439
439
|
promotionId: z.ZodNullable<z.ZodString>;
|
|
440
440
|
createdAt: z.ZodString;
|
|
441
441
|
}, "strict", z.ZodTypeAny, {
|
|
442
|
-
id: string;
|
|
443
442
|
createdAt: string;
|
|
443
|
+
id: string;
|
|
444
444
|
granted: number;
|
|
445
445
|
remaining: number;
|
|
446
446
|
period: {
|
|
@@ -453,8 +453,8 @@ export declare const subscriptionCreditGrantsResponseSchema: z.ZodObject<{
|
|
|
453
453
|
clawed: number;
|
|
454
454
|
promotionId: string | null;
|
|
455
455
|
}, {
|
|
456
|
-
id: string;
|
|
457
456
|
createdAt: string;
|
|
457
|
+
id: string;
|
|
458
458
|
granted: number;
|
|
459
459
|
remaining: number;
|
|
460
460
|
period: {
|
|
@@ -467,8 +467,8 @@ export declare const subscriptionCreditGrantsResponseSchema: z.ZodObject<{
|
|
|
467
467
|
clawed: number;
|
|
468
468
|
promotionId: string | null;
|
|
469
469
|
}>, {
|
|
470
|
-
id: string;
|
|
471
470
|
createdAt: string;
|
|
471
|
+
id: string;
|
|
472
472
|
granted: number;
|
|
473
473
|
remaining: number;
|
|
474
474
|
period: {
|
|
@@ -481,8 +481,8 @@ export declare const subscriptionCreditGrantsResponseSchema: z.ZodObject<{
|
|
|
481
481
|
clawed: number;
|
|
482
482
|
promotionId: string | null;
|
|
483
483
|
}, {
|
|
484
|
-
id: string;
|
|
485
484
|
createdAt: string;
|
|
485
|
+
id: string;
|
|
486
486
|
granted: number;
|
|
487
487
|
remaining: number;
|
|
488
488
|
period: {
|
|
@@ -497,8 +497,8 @@ export declare const subscriptionCreditGrantsResponseSchema: z.ZodObject<{
|
|
|
497
497
|
}>, "many">;
|
|
498
498
|
}, "strict", z.ZodTypeAny, {
|
|
499
499
|
grants: {
|
|
500
|
-
id: string;
|
|
501
500
|
createdAt: string;
|
|
501
|
+
id: string;
|
|
502
502
|
granted: number;
|
|
503
503
|
remaining: number;
|
|
504
504
|
period: {
|
|
@@ -513,8 +513,8 @@ export declare const subscriptionCreditGrantsResponseSchema: z.ZodObject<{
|
|
|
513
513
|
}[];
|
|
514
514
|
}, {
|
|
515
515
|
grants: {
|
|
516
|
-
id: string;
|
|
517
516
|
createdAt: string;
|
|
517
|
+
id: string;
|
|
518
518
|
granted: number;
|
|
519
519
|
remaining: number;
|
|
520
520
|
period: {
|
|
@@ -121,8 +121,8 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
121
121
|
};
|
|
122
122
|
}>, "many">;
|
|
123
123
|
}, "strict", z.ZodTypeAny, {
|
|
124
|
-
displayName: string;
|
|
125
124
|
kind: "oxy_one";
|
|
125
|
+
displayName: string;
|
|
126
126
|
audience: "personal";
|
|
127
127
|
benefits: {
|
|
128
128
|
displayName: string;
|
|
@@ -150,8 +150,8 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
150
150
|
merchantTotal: "final";
|
|
151
151
|
} | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
displayName: string;
|
|
154
153
|
kind: "oxy_one";
|
|
154
|
+
displayName: string;
|
|
155
155
|
audience: "personal";
|
|
156
156
|
benefits: {
|
|
157
157
|
displayName: string;
|
|
@@ -184,8 +184,8 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
184
|
state: "unconfigured" | "configured";
|
|
185
185
|
purchase: "unavailable";
|
|
186
186
|
plans: {
|
|
187
|
-
displayName: string;
|
|
188
187
|
kind: "oxy_one";
|
|
188
|
+
displayName: string;
|
|
189
189
|
audience: "personal";
|
|
190
190
|
benefits: {
|
|
191
191
|
displayName: string;
|
|
@@ -218,8 +218,8 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
218
218
|
state: "unconfigured" | "configured";
|
|
219
219
|
purchase: "unavailable";
|
|
220
220
|
plans: {
|
|
221
|
-
displayName: string;
|
|
222
221
|
kind: "oxy_one";
|
|
222
|
+
displayName: string;
|
|
223
223
|
audience: "personal";
|
|
224
224
|
benefits: {
|
|
225
225
|
displayName: string;
|
|
@@ -252,8 +252,8 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
252
252
|
state: "unconfigured" | "configured";
|
|
253
253
|
purchase: "unavailable";
|
|
254
254
|
plans: {
|
|
255
|
-
displayName: string;
|
|
256
255
|
kind: "oxy_one";
|
|
256
|
+
displayName: string;
|
|
257
257
|
audience: "personal";
|
|
258
258
|
benefits: {
|
|
259
259
|
displayName: string;
|
|
@@ -286,8 +286,8 @@ export declare const personalPlanCatalogueSchema: z.ZodEffects<z.ZodObject<{
|
|
|
286
286
|
state: "unconfigured" | "configured";
|
|
287
287
|
purchase: "unavailable";
|
|
288
288
|
plans: {
|
|
289
|
-
displayName: string;
|
|
290
289
|
kind: "oxy_one";
|
|
290
|
+
displayName: string;
|
|
291
291
|
audience: "personal";
|
|
292
292
|
benefits: {
|
|
293
293
|
displayName: string;
|
|
@@ -124,10 +124,10 @@ export declare const recommendationRequestSchema: z.ZodObject<{
|
|
|
124
124
|
affinity?: number | undefined;
|
|
125
125
|
}>>;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
clientId?: string | undefined;
|
|
128
127
|
limit?: number | undefined;
|
|
128
|
+
clientId?: string | undefined;
|
|
129
129
|
offset?: number | undefined;
|
|
130
|
-
excludeTypes?: ("
|
|
130
|
+
excludeTypes?: ("agent" | "federated" | "automated")[] | undefined;
|
|
131
131
|
excludeIds?: string[] | undefined;
|
|
132
132
|
boosts?: {
|
|
133
133
|
userIds: string[];
|
|
@@ -145,10 +145,10 @@ export declare const recommendationRequestSchema: z.ZodObject<{
|
|
|
145
145
|
affinity?: number | undefined;
|
|
146
146
|
} | undefined;
|
|
147
147
|
}, {
|
|
148
|
-
clientId?: string | undefined;
|
|
149
148
|
limit?: number | undefined;
|
|
149
|
+
clientId?: string | undefined;
|
|
150
150
|
offset?: number | undefined;
|
|
151
|
-
excludeTypes?: ("
|
|
151
|
+
excludeTypes?: ("agent" | "federated" | "automated")[] | undefined;
|
|
152
152
|
excludeIds?: string[] | undefined;
|
|
153
153
|
boosts?: {
|
|
154
154
|
userIds: string[];
|
|
@@ -172,11 +172,11 @@ export declare const recommendationCountSchema: z.ZodObject<{
|
|
|
172
172
|
followers: z.ZodNumber;
|
|
173
173
|
following: z.ZodNumber;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
followers: number;
|
|
176
175
|
following: number;
|
|
177
|
-
}, {
|
|
178
176
|
followers: number;
|
|
177
|
+
}, {
|
|
179
178
|
following: number;
|
|
179
|
+
followers: number;
|
|
180
180
|
}>;
|
|
181
181
|
export type RecommendationCount = z.infer<typeof recommendationCountSchema>;
|
|
182
182
|
/**
|
|
@@ -209,11 +209,11 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
209
209
|
followers: z.ZodNumber;
|
|
210
210
|
following: z.ZodNumber;
|
|
211
211
|
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
followers: number;
|
|
213
212
|
following: number;
|
|
214
|
-
}, {
|
|
215
213
|
followers: number;
|
|
214
|
+
}, {
|
|
216
215
|
following: number;
|
|
216
|
+
followers: number;
|
|
217
217
|
}>;
|
|
218
218
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
219
219
|
id: z.ZodString;
|
|
@@ -238,11 +238,11 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
238
238
|
followers: z.ZodNumber;
|
|
239
239
|
following: z.ZodNumber;
|
|
240
240
|
}, "strip", z.ZodTypeAny, {
|
|
241
|
-
followers: number;
|
|
242
241
|
following: number;
|
|
243
|
-
}, {
|
|
244
242
|
followers: number;
|
|
243
|
+
}, {
|
|
245
244
|
following: number;
|
|
245
|
+
followers: number;
|
|
246
246
|
}>;
|
|
247
247
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
248
248
|
id: z.ZodString;
|
|
@@ -267,11 +267,11 @@ export declare const recommendationItemSchema: z.ZodObject<{
|
|
|
267
267
|
followers: z.ZodNumber;
|
|
268
268
|
following: z.ZodNumber;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
followers: number;
|
|
271
270
|
following: number;
|
|
272
|
-
}, {
|
|
273
271
|
followers: number;
|
|
272
|
+
}, {
|
|
274
273
|
following: number;
|
|
274
|
+
followers: number;
|
|
275
275
|
}>;
|
|
276
276
|
}, z.ZodTypeAny, "passthrough">>;
|
|
277
277
|
export type RecommendationItem = z.infer<typeof recommendationItemSchema>;
|
|
@@ -299,11 +299,11 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
299
299
|
followers: z.ZodNumber;
|
|
300
300
|
following: z.ZodNumber;
|
|
301
301
|
}, "strip", z.ZodTypeAny, {
|
|
302
|
-
followers: number;
|
|
303
302
|
following: number;
|
|
304
|
-
}, {
|
|
305
303
|
followers: number;
|
|
304
|
+
}, {
|
|
306
305
|
following: number;
|
|
306
|
+
followers: number;
|
|
307
307
|
}>;
|
|
308
308
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
309
309
|
id: z.ZodString;
|
|
@@ -328,11 +328,11 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
328
328
|
followers: z.ZodNumber;
|
|
329
329
|
following: z.ZodNumber;
|
|
330
330
|
}, "strip", z.ZodTypeAny, {
|
|
331
|
-
followers: number;
|
|
332
331
|
following: number;
|
|
333
|
-
}, {
|
|
334
332
|
followers: number;
|
|
333
|
+
}, {
|
|
335
334
|
following: number;
|
|
335
|
+
followers: number;
|
|
336
336
|
}>;
|
|
337
337
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
338
338
|
id: z.ZodString;
|
|
@@ -357,11 +357,11 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
357
357
|
followers: z.ZodNumber;
|
|
358
358
|
following: z.ZodNumber;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
followers: number;
|
|
361
360
|
following: number;
|
|
362
|
-
}, {
|
|
363
361
|
followers: number;
|
|
362
|
+
}, {
|
|
364
363
|
following: number;
|
|
364
|
+
followers: number;
|
|
365
365
|
}>;
|
|
366
366
|
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
367
367
|
export type RecommendationResponse = z.infer<typeof recommendationResponseSchema>;
|
|
@@ -503,16 +503,16 @@ export declare const appAffinityEventSchema: z.ZodObject<{
|
|
|
503
503
|
type: "like" | "reply" | "boost" | "follow" | "mention" | "profile_view" | "quote" | "repost";
|
|
504
504
|
fromUserId: string;
|
|
505
505
|
toUserId: string;
|
|
506
|
-
weight?: number | undefined;
|
|
507
|
-
occurredAt?: string | undefined;
|
|
508
506
|
eventId?: string | undefined;
|
|
507
|
+
occurredAt?: string | undefined;
|
|
508
|
+
weight?: number | undefined;
|
|
509
509
|
}, {
|
|
510
510
|
type: "like" | "reply" | "boost" | "follow" | "mention" | "profile_view" | "quote" | "repost";
|
|
511
511
|
fromUserId: string;
|
|
512
512
|
toUserId: string;
|
|
513
|
-
weight?: number | undefined;
|
|
514
|
-
occurredAt?: string | undefined;
|
|
515
513
|
eventId?: string | undefined;
|
|
514
|
+
occurredAt?: string | undefined;
|
|
515
|
+
weight?: number | undefined;
|
|
516
516
|
}>;
|
|
517
517
|
export type AppAffinityEvent = z.infer<typeof appAffinityEventSchema>;
|
|
518
518
|
/**
|
|
@@ -533,34 +533,34 @@ export declare const appAffinityEventsIngestSchema: z.ZodObject<{
|
|
|
533
533
|
type: "like" | "reply" | "boost" | "follow" | "mention" | "profile_view" | "quote" | "repost";
|
|
534
534
|
fromUserId: string;
|
|
535
535
|
toUserId: string;
|
|
536
|
-
weight?: number | undefined;
|
|
537
|
-
occurredAt?: string | undefined;
|
|
538
536
|
eventId?: string | undefined;
|
|
537
|
+
occurredAt?: string | undefined;
|
|
538
|
+
weight?: number | undefined;
|
|
539
539
|
}, {
|
|
540
540
|
type: "like" | "reply" | "boost" | "follow" | "mention" | "profile_view" | "quote" | "repost";
|
|
541
541
|
fromUserId: string;
|
|
542
542
|
toUserId: string;
|
|
543
|
-
weight?: number | undefined;
|
|
544
|
-
occurredAt?: string | undefined;
|
|
545
543
|
eventId?: string | undefined;
|
|
544
|
+
occurredAt?: string | undefined;
|
|
545
|
+
weight?: number | undefined;
|
|
546
546
|
}>, "many">;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
548
|
events: {
|
|
549
549
|
type: "like" | "reply" | "boost" | "follow" | "mention" | "profile_view" | "quote" | "repost";
|
|
550
550
|
fromUserId: string;
|
|
551
551
|
toUserId: string;
|
|
552
|
-
weight?: number | undefined;
|
|
553
|
-
occurredAt?: string | undefined;
|
|
554
552
|
eventId?: string | undefined;
|
|
553
|
+
occurredAt?: string | undefined;
|
|
554
|
+
weight?: number | undefined;
|
|
555
555
|
}[];
|
|
556
556
|
}, {
|
|
557
557
|
events: {
|
|
558
558
|
type: "like" | "reply" | "boost" | "follow" | "mention" | "profile_view" | "quote" | "repost";
|
|
559
559
|
fromUserId: string;
|
|
560
560
|
toUserId: string;
|
|
561
|
-
weight?: number | undefined;
|
|
562
|
-
occurredAt?: string | undefined;
|
|
563
561
|
eventId?: string | undefined;
|
|
562
|
+
occurredAt?: string | undefined;
|
|
563
|
+
weight?: number | undefined;
|
|
564
564
|
}[];
|
|
565
565
|
}>;
|
|
566
566
|
export type AppAffinityEventsIngest = z.infer<typeof appAffinityEventsIngestSchema>;
|
package/dist/types/safety.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ export declare const profileAccessDecisionSchema: z.ZodObject<{
|
|
|
13
13
|
policyVersion: z.ZodLiteral<"1">;
|
|
14
14
|
}, "strict", z.ZodTypeAny, {
|
|
15
15
|
allowed: boolean;
|
|
16
|
-
reason: "
|
|
16
|
+
reason: "unavailable" | "owner" | "public" | "private" | "blocked";
|
|
17
17
|
policyVersion: "1";
|
|
18
18
|
}, {
|
|
19
19
|
allowed: boolean;
|
|
20
|
-
reason: "
|
|
20
|
+
reason: "unavailable" | "owner" | "public" | "private" | "blocked";
|
|
21
21
|
policyVersion: "1";
|
|
22
22
|
}>;
|
|
23
23
|
export type ProfileAccessInput = z.infer<typeof profileAccessInputSchema>;
|