@oxy.so/contracts 4.14.0 → 4.15.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 +2 -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/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -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/.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 +92 -59
- package/dist/types/index.d.ts +1 -1
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- 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/priceVersion.d.ts +8 -8
- 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 +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- 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 +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- 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/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +247 -111
- package/package.json +1 -1
|
@@ -1545,13 +1545,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1545
1545
|
credentialId: z.ZodString;
|
|
1546
1546
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
1547
1547
|
}, "strict", z.ZodTypeAny, {
|
|
1548
|
-
environment: "development" | "staging" | "production";
|
|
1549
1548
|
accountId: string;
|
|
1549
|
+
environment: "development" | "staging" | "production";
|
|
1550
1550
|
applicationId: string;
|
|
1551
1551
|
credentialId: string;
|
|
1552
1552
|
}, {
|
|
1553
|
-
environment: "development" | "staging" | "production";
|
|
1554
1553
|
accountId: string;
|
|
1554
|
+
environment: "development" | "staging" | "production";
|
|
1555
1555
|
applicationId: string;
|
|
1556
1556
|
credentialId: string;
|
|
1557
1557
|
}>;
|
|
@@ -1584,8 +1584,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1584
1584
|
keyId: string;
|
|
1585
1585
|
idempotencyKey: string;
|
|
1586
1586
|
principal: {
|
|
1587
|
-
environment: "development" | "staging" | "production";
|
|
1588
1587
|
accountId: string;
|
|
1588
|
+
environment: "development" | "staging" | "production";
|
|
1589
1589
|
applicationId: string;
|
|
1590
1590
|
credentialId: string;
|
|
1591
1591
|
};
|
|
@@ -1611,8 +1611,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1611
1611
|
keyId: string;
|
|
1612
1612
|
idempotencyKey: string;
|
|
1613
1613
|
principal: {
|
|
1614
|
-
environment: "development" | "staging" | "production";
|
|
1615
1614
|
accountId: string;
|
|
1615
|
+
environment: "development" | "staging" | "production";
|
|
1616
1616
|
applicationId: string;
|
|
1617
1617
|
credentialId: string;
|
|
1618
1618
|
};
|
|
@@ -2904,8 +2904,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2904
2904
|
keyId: string;
|
|
2905
2905
|
idempotencyKey: string;
|
|
2906
2906
|
principal: {
|
|
2907
|
-
environment: "development" | "staging" | "production";
|
|
2908
2907
|
accountId: string;
|
|
2908
|
+
environment: "development" | "staging" | "production";
|
|
2909
2909
|
applicationId: string;
|
|
2910
2910
|
credentialId: string;
|
|
2911
2911
|
};
|
|
@@ -3125,8 +3125,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3125
3125
|
keyId: string;
|
|
3126
3126
|
idempotencyKey: string;
|
|
3127
3127
|
principal: {
|
|
3128
|
-
environment: "development" | "staging" | "production";
|
|
3129
3128
|
accountId: string;
|
|
3129
|
+
environment: "development" | "staging" | "production";
|
|
3130
3130
|
applicationId: string;
|
|
3131
3131
|
credentialId: string;
|
|
3132
3132
|
};
|
|
@@ -3346,8 +3346,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3346
3346
|
keyId: string;
|
|
3347
3347
|
idempotencyKey: string;
|
|
3348
3348
|
principal: {
|
|
3349
|
-
environment: "development" | "staging" | "production";
|
|
3350
3349
|
accountId: string;
|
|
3350
|
+
environment: "development" | "staging" | "production";
|
|
3351
3351
|
applicationId: string;
|
|
3352
3352
|
credentialId: string;
|
|
3353
3353
|
};
|
|
@@ -3567,8 +3567,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3567
3567
|
keyId: string;
|
|
3568
3568
|
idempotencyKey: string;
|
|
3569
3569
|
principal: {
|
|
3570
|
-
environment: "development" | "staging" | "production";
|
|
3571
3570
|
accountId: string;
|
|
3571
|
+
environment: "development" | "staging" | "production";
|
|
3572
3572
|
applicationId: string;
|
|
3573
3573
|
credentialId: string;
|
|
3574
3574
|
};
|
|
@@ -4748,13 +4748,13 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4748
4748
|
credentialId: z.ZodString;
|
|
4749
4749
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
4750
4750
|
}, "strict", z.ZodTypeAny, {
|
|
4751
|
-
environment: "development" | "staging" | "production";
|
|
4752
4751
|
accountId: string;
|
|
4752
|
+
environment: "development" | "staging" | "production";
|
|
4753
4753
|
applicationId: string;
|
|
4754
4754
|
credentialId: string;
|
|
4755
4755
|
}, {
|
|
4756
|
-
environment: "development" | "staging" | "production";
|
|
4757
4756
|
accountId: string;
|
|
4757
|
+
environment: "development" | "staging" | "production";
|
|
4758
4758
|
applicationId: string;
|
|
4759
4759
|
credentialId: string;
|
|
4760
4760
|
}>;
|
|
@@ -4787,8 +4787,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4787
4787
|
keyId: string;
|
|
4788
4788
|
idempotencyKey: string;
|
|
4789
4789
|
principal: {
|
|
4790
|
-
environment: "development" | "staging" | "production";
|
|
4791
4790
|
accountId: string;
|
|
4791
|
+
environment: "development" | "staging" | "production";
|
|
4792
4792
|
applicationId: string;
|
|
4793
4793
|
credentialId: string;
|
|
4794
4794
|
};
|
|
@@ -4814,8 +4814,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4814
4814
|
keyId: string;
|
|
4815
4815
|
idempotencyKey: string;
|
|
4816
4816
|
principal: {
|
|
4817
|
-
environment: "development" | "staging" | "production";
|
|
4818
4817
|
accountId: string;
|
|
4818
|
+
environment: "development" | "staging" | "production";
|
|
4819
4819
|
applicationId: string;
|
|
4820
4820
|
credentialId: string;
|
|
4821
4821
|
};
|
|
@@ -4872,8 +4872,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4872
4872
|
keyId: string;
|
|
4873
4873
|
idempotencyKey: string;
|
|
4874
4874
|
principal: {
|
|
4875
|
-
environment: "development" | "staging" | "production";
|
|
4876
4875
|
accountId: string;
|
|
4876
|
+
environment: "development" | "staging" | "production";
|
|
4877
4877
|
applicationId: string;
|
|
4878
4878
|
credentialId: string;
|
|
4879
4879
|
};
|
|
@@ -5086,8 +5086,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5086
5086
|
keyId: string;
|
|
5087
5087
|
idempotencyKey: string;
|
|
5088
5088
|
principal: {
|
|
5089
|
-
environment: "development" | "staging" | "production";
|
|
5090
5089
|
accountId: string;
|
|
5090
|
+
environment: "development" | "staging" | "production";
|
|
5091
5091
|
applicationId: string;
|
|
5092
5092
|
credentialId: string;
|
|
5093
5093
|
};
|
|
@@ -5314,8 +5314,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5314
5314
|
keyId: string;
|
|
5315
5315
|
idempotencyKey: string;
|
|
5316
5316
|
principal: {
|
|
5317
|
-
environment: "development" | "staging" | "production";
|
|
5318
5317
|
accountId: string;
|
|
5318
|
+
environment: "development" | "staging" | "production";
|
|
5319
5319
|
applicationId: string;
|
|
5320
5320
|
credentialId: string;
|
|
5321
5321
|
};
|
|
@@ -5528,8 +5528,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5528
5528
|
keyId: string;
|
|
5529
5529
|
idempotencyKey: string;
|
|
5530
5530
|
principal: {
|
|
5531
|
-
environment: "development" | "staging" | "production";
|
|
5532
5531
|
accountId: string;
|
|
5532
|
+
environment: "development" | "staging" | "production";
|
|
5533
5533
|
applicationId: string;
|
|
5534
5534
|
credentialId: string;
|
|
5535
5535
|
};
|
|
@@ -6837,14 +6837,14 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6837
6837
|
environment: z.ZodLiteral<"production">;
|
|
6838
6838
|
lane: z.ZodLiteral<"service_token">;
|
|
6839
6839
|
}, "strict", z.ZodTypeAny, {
|
|
6840
|
-
environment: "production";
|
|
6841
6840
|
accountId: string;
|
|
6841
|
+
environment: "production";
|
|
6842
6842
|
applicationId: string;
|
|
6843
6843
|
credentialId: string;
|
|
6844
6844
|
lane: "service_token";
|
|
6845
6845
|
}, {
|
|
6846
|
-
environment: "production";
|
|
6847
6846
|
accountId: string;
|
|
6847
|
+
environment: "production";
|
|
6848
6848
|
applicationId: string;
|
|
6849
6849
|
credentialId: string;
|
|
6850
6850
|
lane: "service_token";
|
|
@@ -6879,8 +6879,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6879
6879
|
requestId: string;
|
|
6880
6880
|
keyId: string;
|
|
6881
6881
|
principal: {
|
|
6882
|
-
environment: "production";
|
|
6883
6882
|
accountId: string;
|
|
6883
|
+
environment: "production";
|
|
6884
6884
|
applicationId: string;
|
|
6885
6885
|
credentialId: string;
|
|
6886
6886
|
lane: "service_token";
|
|
@@ -6918,8 +6918,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6918
6918
|
requestId: string;
|
|
6919
6919
|
keyId: string;
|
|
6920
6920
|
principal: {
|
|
6921
|
-
environment: "production";
|
|
6922
6921
|
accountId: string;
|
|
6922
|
+
environment: "production";
|
|
6923
6923
|
applicationId: string;
|
|
6924
6924
|
credentialId: string;
|
|
6925
6925
|
lane: "service_token";
|
|
@@ -6957,8 +6957,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6957
6957
|
requestId: string;
|
|
6958
6958
|
keyId: string;
|
|
6959
6959
|
principal: {
|
|
6960
|
-
environment: "production";
|
|
6961
6960
|
accountId: string;
|
|
6961
|
+
environment: "production";
|
|
6962
6962
|
applicationId: string;
|
|
6963
6963
|
credentialId: string;
|
|
6964
6964
|
lane: "service_token";
|
|
@@ -6996,8 +6996,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6996
6996
|
requestId: string;
|
|
6997
6997
|
keyId: string;
|
|
6998
6998
|
principal: {
|
|
6999
|
-
environment: "production";
|
|
7000
6999
|
accountId: string;
|
|
7000
|
+
environment: "production";
|
|
7001
7001
|
applicationId: string;
|
|
7002
7002
|
credentialId: string;
|
|
7003
7003
|
lane: "service_token";
|
|
@@ -7171,8 +7171,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7171
7171
|
requestId: string;
|
|
7172
7172
|
keyId: string;
|
|
7173
7173
|
principal: {
|
|
7174
|
-
environment: "production";
|
|
7175
7174
|
accountId: string;
|
|
7175
|
+
environment: "production";
|
|
7176
7176
|
applicationId: string;
|
|
7177
7177
|
credentialId: string;
|
|
7178
7178
|
lane: "service_token";
|
|
@@ -7397,8 +7397,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7397
7397
|
requestId: string;
|
|
7398
7398
|
keyId: string;
|
|
7399
7399
|
principal: {
|
|
7400
|
-
environment: "production";
|
|
7401
7400
|
accountId: string;
|
|
7401
|
+
environment: "production";
|
|
7402
7402
|
applicationId: string;
|
|
7403
7403
|
credentialId: string;
|
|
7404
7404
|
lane: "service_token";
|
|
@@ -7637,8 +7637,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7637
7637
|
requestId: string;
|
|
7638
7638
|
keyId: string;
|
|
7639
7639
|
principal: {
|
|
7640
|
-
environment: "production";
|
|
7641
7640
|
accountId: string;
|
|
7641
|
+
environment: "production";
|
|
7642
7642
|
applicationId: string;
|
|
7643
7643
|
credentialId: string;
|
|
7644
7644
|
lane: "service_token";
|
|
@@ -7863,8 +7863,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7863
7863
|
requestId: string;
|
|
7864
7864
|
keyId: string;
|
|
7865
7865
|
principal: {
|
|
7866
|
-
environment: "production";
|
|
7867
7866
|
accountId: string;
|
|
7867
|
+
environment: "production";
|
|
7868
7868
|
applicationId: string;
|
|
7869
7869
|
credentialId: string;
|
|
7870
7870
|
lane: "service_token";
|
|
@@ -253,8 +253,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
253
253
|
dedicatedCapacity: z.ZodEnum<["disabled", "prefer", "require"]>;
|
|
254
254
|
updatedAt: z.ZodString;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
schemaVersion: 2;
|
|
257
256
|
updatedAt: string;
|
|
257
|
+
schemaVersion: 2;
|
|
258
258
|
scope: {
|
|
259
259
|
kind: "account";
|
|
260
260
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -301,8 +301,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
301
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
302
302
|
} | undefined;
|
|
303
303
|
}, {
|
|
304
|
-
schemaVersion: 2;
|
|
305
304
|
updatedAt: string;
|
|
305
|
+
schemaVersion: 2;
|
|
306
306
|
scope: {
|
|
307
307
|
kind: "account";
|
|
308
308
|
accountId: string;
|
|
@@ -349,8 +349,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
349
349
|
allowedLicenseIds?: string[] | undefined;
|
|
350
350
|
allowedRoutingProfileIds?: string[] | undefined;
|
|
351
351
|
}>, {
|
|
352
|
-
schemaVersion: 2;
|
|
353
352
|
updatedAt: string;
|
|
353
|
+
schemaVersion: 2;
|
|
354
354
|
scope: {
|
|
355
355
|
kind: "account";
|
|
356
356
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -397,8 +397,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
397
397
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
398
398
|
} | undefined;
|
|
399
399
|
}, {
|
|
400
|
-
schemaVersion: 2;
|
|
401
400
|
updatedAt: string;
|
|
401
|
+
schemaVersion: 2;
|
|
402
402
|
scope: {
|
|
403
403
|
kind: "account";
|
|
404
404
|
accountId: string;
|
|
@@ -15,13 +15,13 @@ export declare const scopedExecutionAudienceSchema: z.ZodObject<{
|
|
|
15
15
|
credentialId: z.ZodString;
|
|
16
16
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
|
18
|
-
environment: "development" | "staging" | "production";
|
|
19
18
|
accountId: string;
|
|
19
|
+
environment: "development" | "staging" | "production";
|
|
20
20
|
applicationId: string;
|
|
21
21
|
credentialId: string;
|
|
22
22
|
}, {
|
|
23
|
-
environment: "development" | "staging" | "production";
|
|
24
23
|
accountId: string;
|
|
24
|
+
environment: "development" | "staging" | "production";
|
|
25
25
|
applicationId: string;
|
|
26
26
|
credentialId: string;
|
|
27
27
|
}>;
|
|
@@ -49,8 +49,8 @@ export declare const scopedExecutionAudienceSchema: z.ZodObject<{
|
|
|
49
49
|
keyId: string;
|
|
50
50
|
idempotencyKey: string;
|
|
51
51
|
principal: {
|
|
52
|
-
environment: "development" | "staging" | "production";
|
|
53
52
|
accountId: string;
|
|
53
|
+
environment: "development" | "staging" | "production";
|
|
54
54
|
applicationId: string;
|
|
55
55
|
credentialId: string;
|
|
56
56
|
};
|
|
@@ -73,8 +73,8 @@ export declare const scopedExecutionAudienceSchema: z.ZodObject<{
|
|
|
73
73
|
keyId: string;
|
|
74
74
|
idempotencyKey: string;
|
|
75
75
|
principal: {
|
|
76
|
-
environment: "development" | "staging" | "production";
|
|
77
76
|
accountId: string;
|
|
77
|
+
environment: "development" | "staging" | "production";
|
|
78
78
|
applicationId: string;
|
|
79
79
|
credentialId: string;
|
|
80
80
|
};
|
|
@@ -104,13 +104,13 @@ export declare const scopedExecutionSchema: z.ZodObject<{
|
|
|
104
104
|
credentialId: z.ZodString;
|
|
105
105
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
106
106
|
}, "strict", z.ZodTypeAny, {
|
|
107
|
-
environment: "development" | "staging" | "production";
|
|
108
107
|
accountId: string;
|
|
108
|
+
environment: "development" | "staging" | "production";
|
|
109
109
|
applicationId: string;
|
|
110
110
|
credentialId: string;
|
|
111
111
|
}, {
|
|
112
|
-
environment: "development" | "staging" | "production";
|
|
113
112
|
accountId: string;
|
|
113
|
+
environment: "development" | "staging" | "production";
|
|
114
114
|
applicationId: string;
|
|
115
115
|
credentialId: string;
|
|
116
116
|
}>;
|
|
@@ -143,8 +143,8 @@ export declare const scopedExecutionSchema: z.ZodObject<{
|
|
|
143
143
|
keyId: string;
|
|
144
144
|
idempotencyKey: string;
|
|
145
145
|
principal: {
|
|
146
|
-
environment: "development" | "staging" | "production";
|
|
147
146
|
accountId: string;
|
|
147
|
+
environment: "development" | "staging" | "production";
|
|
148
148
|
applicationId: string;
|
|
149
149
|
credentialId: string;
|
|
150
150
|
};
|
|
@@ -170,8 +170,8 @@ export declare const scopedExecutionSchema: z.ZodObject<{
|
|
|
170
170
|
keyId: string;
|
|
171
171
|
idempotencyKey: string;
|
|
172
172
|
principal: {
|
|
173
|
-
environment: "development" | "staging" | "production";
|
|
174
173
|
accountId: string;
|
|
174
|
+
environment: "development" | "staging" | "production";
|
|
175
175
|
applicationId: string;
|
|
176
176
|
credentialId: string;
|
|
177
177
|
};
|
|
@@ -437,7 +437,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
437
437
|
message?: string | undefined;
|
|
438
438
|
}>>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
440
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
441
441
|
message: string;
|
|
442
442
|
schemaVersion: 1;
|
|
443
443
|
requestId: string;
|
|
@@ -452,7 +452,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
452
452
|
message?: string | undefined;
|
|
453
453
|
} | undefined;
|
|
454
454
|
}, {
|
|
455
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
455
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
456
456
|
message: string;
|
|
457
457
|
schemaVersion: 1;
|
|
458
458
|
requestId: string;
|
|
@@ -467,7 +467,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
467
467
|
message?: string | undefined;
|
|
468
468
|
} | undefined;
|
|
469
469
|
}>, {
|
|
470
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
470
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
471
471
|
message: string;
|
|
472
472
|
schemaVersion: 1;
|
|
473
473
|
requestId: string;
|
|
@@ -482,7 +482,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
482
482
|
message?: string | undefined;
|
|
483
483
|
} | undefined;
|
|
484
484
|
}, {
|
|
485
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
485
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
486
486
|
message: string;
|
|
487
487
|
schemaVersion: 1;
|
|
488
488
|
requestId: string;
|
|
@@ -499,10 +499,8 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
499
499
|
}>;
|
|
500
500
|
}, "strip", z.ZodTypeAny, {
|
|
501
501
|
type: "error";
|
|
502
|
-
schemaVersion: 1;
|
|
503
|
-
requestId: string;
|
|
504
502
|
error: {
|
|
505
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
503
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
506
504
|
message: string;
|
|
507
505
|
schemaVersion: 1;
|
|
508
506
|
requestId: string;
|
|
@@ -517,13 +515,13 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
517
515
|
message?: string | undefined;
|
|
518
516
|
} | undefined;
|
|
519
517
|
};
|
|
518
|
+
schemaVersion: 1;
|
|
519
|
+
requestId: string;
|
|
520
520
|
sequence: number;
|
|
521
521
|
}, {
|
|
522
522
|
type: "error";
|
|
523
|
-
schemaVersion: 1;
|
|
524
|
-
requestId: string;
|
|
525
523
|
error: {
|
|
526
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
524
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
527
525
|
message: string;
|
|
528
526
|
schemaVersion: 1;
|
|
529
527
|
requestId: string;
|
|
@@ -538,6 +536,8 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
|
|
|
538
536
|
message?: string | undefined;
|
|
539
537
|
} | undefined;
|
|
540
538
|
};
|
|
539
|
+
schemaVersion: 1;
|
|
540
|
+
requestId: string;
|
|
541
541
|
sequence: number;
|
|
542
542
|
}>;
|
|
543
543
|
/**
|
|
@@ -873,7 +873,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
873
873
|
message?: string | undefined;
|
|
874
874
|
}>>;
|
|
875
875
|
}, "strip", z.ZodTypeAny, {
|
|
876
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
876
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
877
877
|
message: string;
|
|
878
878
|
schemaVersion: 1;
|
|
879
879
|
requestId: string;
|
|
@@ -888,7 +888,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
888
888
|
message?: string | undefined;
|
|
889
889
|
} | undefined;
|
|
890
890
|
}, {
|
|
891
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
891
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
892
892
|
message: string;
|
|
893
893
|
schemaVersion: 1;
|
|
894
894
|
requestId: string;
|
|
@@ -903,7 +903,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
903
903
|
message?: string | undefined;
|
|
904
904
|
} | undefined;
|
|
905
905
|
}>, {
|
|
906
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
906
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
907
907
|
message: string;
|
|
908
908
|
schemaVersion: 1;
|
|
909
909
|
requestId: string;
|
|
@@ -918,7 +918,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
918
918
|
message?: string | undefined;
|
|
919
919
|
} | undefined;
|
|
920
920
|
}, {
|
|
921
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
921
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
922
922
|
message: string;
|
|
923
923
|
schemaVersion: 1;
|
|
924
924
|
requestId: string;
|
|
@@ -935,10 +935,8 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
935
935
|
}>;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
937
|
type: "error";
|
|
938
|
-
schemaVersion: 1;
|
|
939
|
-
requestId: string;
|
|
940
938
|
error: {
|
|
941
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
939
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
942
940
|
message: string;
|
|
943
941
|
schemaVersion: 1;
|
|
944
942
|
requestId: string;
|
|
@@ -953,13 +951,13 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
953
951
|
message?: string | undefined;
|
|
954
952
|
} | undefined;
|
|
955
953
|
};
|
|
954
|
+
schemaVersion: 1;
|
|
955
|
+
requestId: string;
|
|
956
956
|
sequence: number;
|
|
957
957
|
}, {
|
|
958
958
|
type: "error";
|
|
959
|
-
schemaVersion: 1;
|
|
960
|
-
requestId: string;
|
|
961
959
|
error: {
|
|
962
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
960
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
963
961
|
message: string;
|
|
964
962
|
schemaVersion: 1;
|
|
965
963
|
requestId: string;
|
|
@@ -974,6 +972,8 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
974
972
|
message?: string | undefined;
|
|
975
973
|
} | undefined;
|
|
976
974
|
};
|
|
975
|
+
schemaVersion: 1;
|
|
976
|
+
requestId: string;
|
|
977
977
|
sequence: number;
|
|
978
978
|
}>, z.ZodObject<{
|
|
979
979
|
/** See `version.ts`: each stream event is a whole message on the wire. */
|
|
@@ -259,8 +259,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
status: "expired" | "held" | "settled" | "released";
|
|
261
261
|
expiresAt: string;
|
|
262
|
-
schemaVersion: 1;
|
|
263
262
|
createdAt: string;
|
|
263
|
+
schemaVersion: 1;
|
|
264
264
|
currency: string;
|
|
265
265
|
reservationId: string;
|
|
266
266
|
reservedAmount: string & z.BRAND<"ExactDecimal">;
|
|
@@ -284,8 +284,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
284
284
|
}, {
|
|
285
285
|
status: "expired" | "held" | "settled" | "released";
|
|
286
286
|
expiresAt: string;
|
|
287
|
-
schemaVersion: 1;
|
|
288
287
|
createdAt: string;
|
|
288
|
+
schemaVersion: 1;
|
|
289
289
|
currency: string;
|
|
290
290
|
reservationId: string;
|
|
291
291
|
reservedAmount: string;
|
|
@@ -309,8 +309,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
309
309
|
}>, {
|
|
310
310
|
status: "expired" | "held" | "settled" | "released";
|
|
311
311
|
expiresAt: string;
|
|
312
|
-
schemaVersion: 1;
|
|
313
312
|
createdAt: string;
|
|
313
|
+
schemaVersion: 1;
|
|
314
314
|
currency: string;
|
|
315
315
|
reservationId: string;
|
|
316
316
|
reservedAmount: string & z.BRAND<"ExactDecimal">;
|
|
@@ -334,8 +334,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
|
|
|
334
334
|
}, {
|
|
335
335
|
status: "expired" | "held" | "settled" | "released";
|
|
336
336
|
expiresAt: string;
|
|
337
|
-
schemaVersion: 1;
|
|
338
337
|
createdAt: string;
|
|
338
|
+
schemaVersion: 1;
|
|
339
339
|
currency: string;
|
|
340
340
|
reservationId: string;
|
|
341
341
|
reservedAmount: string;
|
|
@@ -1049,8 +1049,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1049
1049
|
currency: z.ZodString;
|
|
1050
1050
|
createdAt: z.ZodString;
|
|
1051
1051
|
}, "strip", z.ZodTypeAny, {
|
|
1052
|
-
schemaVersion: 1;
|
|
1053
1052
|
createdAt: string;
|
|
1053
|
+
schemaVersion: 1;
|
|
1054
1054
|
subject: {
|
|
1055
1055
|
kind: "reservation";
|
|
1056
1056
|
reservationId: string;
|
|
@@ -1078,8 +1078,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1078
1078
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1079
1079
|
refundId: string;
|
|
1080
1080
|
}, {
|
|
1081
|
-
schemaVersion: 1;
|
|
1082
1081
|
createdAt: string;
|
|
1082
|
+
schemaVersion: 1;
|
|
1083
1083
|
subject: {
|
|
1084
1084
|
kind: "reservation";
|
|
1085
1085
|
reservationId: string;
|
|
@@ -1107,8 +1107,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1107
1107
|
amount: string;
|
|
1108
1108
|
refundId: string;
|
|
1109
1109
|
}>, {
|
|
1110
|
-
schemaVersion: 1;
|
|
1111
1110
|
createdAt: string;
|
|
1111
|
+
schemaVersion: 1;
|
|
1112
1112
|
subject: {
|
|
1113
1113
|
kind: "reservation";
|
|
1114
1114
|
reservationId: string;
|
|
@@ -1136,8 +1136,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1136
1136
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1137
1137
|
refundId: string;
|
|
1138
1138
|
}, {
|
|
1139
|
-
schemaVersion: 1;
|
|
1140
1139
|
createdAt: string;
|
|
1140
|
+
schemaVersion: 1;
|
|
1141
1141
|
subject: {
|
|
1142
1142
|
kind: "reservation";
|
|
1143
1143
|
reservationId: string;
|
|
@@ -59,16 +59,16 @@ export declare const encryptedBackupEnvelopeSchema: z.ZodObject<{
|
|
|
59
59
|
publicKeyHint: z.ZodString;
|
|
60
60
|
createdAt: z.ZodString;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
version: number;
|
|
63
62
|
createdAt: string;
|
|
63
|
+
version: number;
|
|
64
64
|
nonce: string;
|
|
65
65
|
algorithm: "xchacha20poly1305";
|
|
66
66
|
kdfInfo: string;
|
|
67
67
|
ciphertext: string;
|
|
68
68
|
publicKeyHint: string;
|
|
69
69
|
}, {
|
|
70
|
-
version: number;
|
|
71
70
|
createdAt: string;
|
|
71
|
+
version: number;
|
|
72
72
|
nonce: string;
|
|
73
73
|
algorithm: "xchacha20poly1305";
|
|
74
74
|
kdfInfo: string;
|
|
@@ -98,8 +98,8 @@ export declare const backupUploadRequestSchema: z.ZodObject<{
|
|
|
98
98
|
*/
|
|
99
99
|
lookupId: z.ZodString;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
version: number;
|
|
102
101
|
createdAt: string;
|
|
102
|
+
version: number;
|
|
103
103
|
nonce: string;
|
|
104
104
|
algorithm: "xchacha20poly1305";
|
|
105
105
|
kdfInfo: string;
|
|
@@ -107,8 +107,8 @@ export declare const backupUploadRequestSchema: z.ZodObject<{
|
|
|
107
107
|
publicKeyHint: string;
|
|
108
108
|
lookupId: string;
|
|
109
109
|
}, {
|
|
110
|
-
version: number;
|
|
111
110
|
createdAt: string;
|
|
111
|
+
version: number;
|
|
112
112
|
nonce: string;
|
|
113
113
|
algorithm: "xchacha20poly1305";
|
|
114
114
|
kdfInfo: string;
|