@oxy.so/contracts 4.13.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/accountGraph.js +23 -4
- package/dist/cjs/index.js +19 -15
- package/dist/cjs/organizations.js +210 -0
- 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/safety.js +15 -0
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +21 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/organizations.js +207 -0
- 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/safety.js +12 -0
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +50 -18
- package/dist/types/agency.d.ts +42 -42
- package/dist/types/deviceDirectory.d.ts +56 -56
- package/dist/types/email/messages.d.ts +56 -56
- package/dist/types/externalIdentity.d.ts +56 -23
- package/dist/types/index.d.ts +4 -2
- 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/organizations.d.ts +1088 -0
- 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 +2 -2
- package/dist/types/safety.d.ts +24 -0
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +169 -33
- package/package.json +1 -1
|
@@ -176,7 +176,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
176
176
|
message?: string | undefined;
|
|
177
177
|
}>>;
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
|
-
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" | "
|
|
179
|
+
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";
|
|
180
180
|
message: string;
|
|
181
181
|
schemaVersion: 1;
|
|
182
182
|
requestId: string;
|
|
@@ -191,7 +191,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
191
191
|
message?: string | undefined;
|
|
192
192
|
} | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
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" | "
|
|
194
|
+
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";
|
|
195
195
|
message: string;
|
|
196
196
|
schemaVersion: 1;
|
|
197
197
|
requestId: string;
|
|
@@ -206,7 +206,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
206
206
|
message?: string | undefined;
|
|
207
207
|
} | undefined;
|
|
208
208
|
}>, {
|
|
209
|
-
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" | "
|
|
209
|
+
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";
|
|
210
210
|
message: string;
|
|
211
211
|
schemaVersion: 1;
|
|
212
212
|
requestId: string;
|
|
@@ -221,7 +221,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
|
|
|
221
221
|
message?: string | undefined;
|
|
222
222
|
} | undefined;
|
|
223
223
|
}, {
|
|
224
|
-
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" | "
|
|
224
|
+
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";
|
|
225
225
|
message: string;
|
|
226
226
|
schemaVersion: 1;
|
|
227
227
|
requestId: string;
|
|
@@ -253,15 +253,6 @@ export declare const inboxDailyBriefResponseSchema: z.ZodObject<{
|
|
|
253
253
|
hasAttachments: boolean;
|
|
254
254
|
}>, "many">;
|
|
255
255
|
}, "strict", z.ZodTypeAny, {
|
|
256
|
-
schemaVersion: 1;
|
|
257
|
-
requestId: string;
|
|
258
|
-
summary: string;
|
|
259
|
-
counts: {
|
|
260
|
-
received: number;
|
|
261
|
-
starred: number;
|
|
262
|
-
unread: number;
|
|
263
|
-
earlierUnread: number;
|
|
264
|
-
};
|
|
265
256
|
items: {
|
|
266
257
|
subject: string;
|
|
267
258
|
messageId: string;
|
|
@@ -275,8 +266,6 @@ export declare const inboxDailyBriefResponseSchema: z.ZodObject<{
|
|
|
275
266
|
note: string;
|
|
276
267
|
hasAttachments: boolean;
|
|
277
268
|
}[];
|
|
278
|
-
generationId?: string | undefined;
|
|
279
|
-
}, {
|
|
280
269
|
schemaVersion: 1;
|
|
281
270
|
requestId: string;
|
|
282
271
|
summary: string;
|
|
@@ -286,6 +275,8 @@ export declare const inboxDailyBriefResponseSchema: z.ZodObject<{
|
|
|
286
275
|
unread: number;
|
|
287
276
|
earlierUnread: number;
|
|
288
277
|
};
|
|
278
|
+
generationId?: string | undefined;
|
|
279
|
+
}, {
|
|
289
280
|
items: {
|
|
290
281
|
subject: string;
|
|
291
282
|
messageId: string;
|
|
@@ -299,6 +290,15 @@ export declare const inboxDailyBriefResponseSchema: z.ZodObject<{
|
|
|
299
290
|
note: string;
|
|
300
291
|
hasAttachments: boolean;
|
|
301
292
|
}[];
|
|
293
|
+
schemaVersion: 1;
|
|
294
|
+
requestId: string;
|
|
295
|
+
summary: string;
|
|
296
|
+
counts: {
|
|
297
|
+
received: number;
|
|
298
|
+
starred: number;
|
|
299
|
+
unread: number;
|
|
300
|
+
earlierUnread: number;
|
|
301
|
+
};
|
|
302
302
|
generationId?: string | undefined;
|
|
303
303
|
}>;
|
|
304
304
|
export declare const inboxSmartRepliesResponseSchema: z.ZodObject<{
|
|
@@ -390,7 +390,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
|
|
|
390
390
|
message?: string | undefined;
|
|
391
391
|
}>>;
|
|
392
392
|
}, "strip", z.ZodTypeAny, {
|
|
393
|
-
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" | "
|
|
393
|
+
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";
|
|
394
394
|
message: string;
|
|
395
395
|
schemaVersion: 1;
|
|
396
396
|
requestId: string;
|
|
@@ -405,7 +405,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
|
|
|
405
405
|
message?: string | undefined;
|
|
406
406
|
} | undefined;
|
|
407
407
|
}, {
|
|
408
|
-
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" | "
|
|
408
|
+
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";
|
|
409
409
|
message: string;
|
|
410
410
|
schemaVersion: 1;
|
|
411
411
|
requestId: string;
|
|
@@ -420,7 +420,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
|
|
|
420
420
|
message?: string | undefined;
|
|
421
421
|
} | undefined;
|
|
422
422
|
}>, {
|
|
423
|
-
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" | "
|
|
423
|
+
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";
|
|
424
424
|
message: string;
|
|
425
425
|
schemaVersion: 1;
|
|
426
426
|
requestId: string;
|
|
@@ -435,7 +435,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
|
|
|
435
435
|
message?: string | undefined;
|
|
436
436
|
} | undefined;
|
|
437
437
|
}, {
|
|
438
|
-
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" | "
|
|
438
|
+
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";
|
|
439
439
|
message: string;
|
|
440
440
|
schemaVersion: 1;
|
|
441
441
|
requestId: string;
|
|
@@ -453,7 +453,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
|
|
|
453
453
|
}, "strict", z.ZodTypeAny, {
|
|
454
454
|
type: "error";
|
|
455
455
|
error: {
|
|
456
|
-
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" | "
|
|
456
|
+
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";
|
|
457
457
|
message: string;
|
|
458
458
|
schemaVersion: 1;
|
|
459
459
|
requestId: string;
|
|
@@ -471,7 +471,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
|
|
|
471
471
|
}, {
|
|
472
472
|
type: "error";
|
|
473
473
|
error: {
|
|
474
|
-
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" | "
|
|
474
|
+
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";
|
|
475
475
|
message: string;
|
|
476
476
|
schemaVersion: 1;
|
|
477
477
|
requestId: string;
|
|
@@ -63,9 +63,9 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
63
63
|
supersedesPriceVersionId: z.ZodOptional<z.ZodString>;
|
|
64
64
|
createdAt: z.ZodString;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
status: "
|
|
67
|
-
schemaVersion: 1;
|
|
66
|
+
status: "active" | "draft" | "superseded";
|
|
68
67
|
createdAt: string;
|
|
68
|
+
schemaVersion: 1;
|
|
69
69
|
currency: string;
|
|
70
70
|
provider: string;
|
|
71
71
|
priceVersionId: string;
|
|
@@ -80,9 +80,9 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
80
80
|
effectiveUntil?: string | undefined;
|
|
81
81
|
supersedesPriceVersionId?: string | undefined;
|
|
82
82
|
}, {
|
|
83
|
-
status: "
|
|
84
|
-
schemaVersion: 1;
|
|
83
|
+
status: "active" | "draft" | "superseded";
|
|
85
84
|
createdAt: string;
|
|
85
|
+
schemaVersion: 1;
|
|
86
86
|
currency: string;
|
|
87
87
|
provider: string;
|
|
88
88
|
priceVersionId: string;
|
|
@@ -97,9 +97,9 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
97
97
|
effectiveUntil?: string | undefined;
|
|
98
98
|
supersedesPriceVersionId?: string | undefined;
|
|
99
99
|
}>, {
|
|
100
|
-
status: "
|
|
101
|
-
schemaVersion: 1;
|
|
100
|
+
status: "active" | "draft" | "superseded";
|
|
102
101
|
createdAt: string;
|
|
102
|
+
schemaVersion: 1;
|
|
103
103
|
currency: string;
|
|
104
104
|
provider: string;
|
|
105
105
|
priceVersionId: string;
|
|
@@ -114,9 +114,9 @@ export declare const priceVersionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
114
114
|
effectiveUntil?: string | undefined;
|
|
115
115
|
supersedesPriceVersionId?: string | undefined;
|
|
116
116
|
}, {
|
|
117
|
-
status: "
|
|
118
|
-
schemaVersion: 1;
|
|
117
|
+
status: "active" | "draft" | "superseded";
|
|
119
118
|
createdAt: string;
|
|
119
|
+
schemaVersion: 1;
|
|
120
120
|
currency: string;
|
|
121
121
|
provider: string;
|
|
122
122
|
priceVersionId: string;
|
|
@@ -266,14 +266,14 @@ export declare const privateAutoPrincipalSchema: z.ZodObject<{
|
|
|
266
266
|
environment: z.ZodLiteral<"production">;
|
|
267
267
|
lane: z.ZodLiteral<"service_token">;
|
|
268
268
|
}, "strict", z.ZodTypeAny, {
|
|
269
|
-
environment: "production";
|
|
270
269
|
accountId: string;
|
|
270
|
+
environment: "production";
|
|
271
271
|
applicationId: string;
|
|
272
272
|
credentialId: string;
|
|
273
273
|
lane: "service_token";
|
|
274
274
|
}, {
|
|
275
|
-
environment: "production";
|
|
276
275
|
accountId: string;
|
|
276
|
+
environment: "production";
|
|
277
277
|
applicationId: string;
|
|
278
278
|
credentialId: string;
|
|
279
279
|
lane: "service_token";
|
|
@@ -292,14 +292,14 @@ export declare const privateAutoSourceApprovalSchema: z.ZodObject<{
|
|
|
292
292
|
environment: z.ZodLiteral<"production">;
|
|
293
293
|
lane: z.ZodLiteral<"service_token">;
|
|
294
294
|
}, "strict", z.ZodTypeAny, {
|
|
295
|
-
environment: "production";
|
|
296
295
|
accountId: string;
|
|
296
|
+
environment: "production";
|
|
297
297
|
applicationId: string;
|
|
298
298
|
credentialId: string;
|
|
299
299
|
lane: "service_token";
|
|
300
300
|
}, {
|
|
301
|
-
environment: "production";
|
|
302
301
|
accountId: string;
|
|
302
|
+
environment: "production";
|
|
303
303
|
applicationId: string;
|
|
304
304
|
credentialId: string;
|
|
305
305
|
lane: "service_token";
|
|
@@ -387,8 +387,8 @@ export declare const privateAutoSourceApprovalSchema: z.ZodObject<{
|
|
|
387
387
|
};
|
|
388
388
|
keyId: string;
|
|
389
389
|
principal: {
|
|
390
|
-
environment: "production";
|
|
391
390
|
accountId: string;
|
|
391
|
+
environment: "production";
|
|
392
392
|
applicationId: string;
|
|
393
393
|
credentialId: string;
|
|
394
394
|
lane: "service_token";
|
|
@@ -434,8 +434,8 @@ export declare const privateAutoSourceApprovalSchema: z.ZodObject<{
|
|
|
434
434
|
};
|
|
435
435
|
keyId: string;
|
|
436
436
|
principal: {
|
|
437
|
-
environment: "production";
|
|
438
437
|
accountId: string;
|
|
438
|
+
environment: "production";
|
|
439
439
|
applicationId: string;
|
|
440
440
|
credentialId: string;
|
|
441
441
|
lane: "service_token";
|
|
@@ -496,14 +496,14 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
496
496
|
environment: z.ZodLiteral<"production">;
|
|
497
497
|
lane: z.ZodLiteral<"service_token">;
|
|
498
498
|
}, "strict", z.ZodTypeAny, {
|
|
499
|
-
environment: "production";
|
|
500
499
|
accountId: string;
|
|
500
|
+
environment: "production";
|
|
501
501
|
applicationId: string;
|
|
502
502
|
credentialId: string;
|
|
503
503
|
lane: "service_token";
|
|
504
504
|
}, {
|
|
505
|
-
environment: "production";
|
|
506
505
|
accountId: string;
|
|
506
|
+
environment: "production";
|
|
507
507
|
applicationId: string;
|
|
508
508
|
credentialId: string;
|
|
509
509
|
lane: "service_token";
|
|
@@ -538,8 +538,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
538
538
|
requestId: string;
|
|
539
539
|
keyId: string;
|
|
540
540
|
principal: {
|
|
541
|
-
environment: "production";
|
|
542
541
|
accountId: string;
|
|
542
|
+
environment: "production";
|
|
543
543
|
applicationId: string;
|
|
544
544
|
credentialId: string;
|
|
545
545
|
lane: "service_token";
|
|
@@ -577,8 +577,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
577
577
|
requestId: string;
|
|
578
578
|
keyId: string;
|
|
579
579
|
principal: {
|
|
580
|
-
environment: "production";
|
|
581
580
|
accountId: string;
|
|
581
|
+
environment: "production";
|
|
582
582
|
applicationId: string;
|
|
583
583
|
credentialId: string;
|
|
584
584
|
lane: "service_token";
|
|
@@ -616,8 +616,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
616
616
|
requestId: string;
|
|
617
617
|
keyId: string;
|
|
618
618
|
principal: {
|
|
619
|
-
environment: "production";
|
|
620
619
|
accountId: string;
|
|
620
|
+
environment: "production";
|
|
621
621
|
applicationId: string;
|
|
622
622
|
credentialId: string;
|
|
623
623
|
lane: "service_token";
|
|
@@ -655,8 +655,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
655
655
|
requestId: string;
|
|
656
656
|
keyId: string;
|
|
657
657
|
principal: {
|
|
658
|
-
environment: "production";
|
|
659
658
|
accountId: string;
|
|
659
|
+
environment: "production";
|
|
660
660
|
applicationId: string;
|
|
661
661
|
credentialId: string;
|
|
662
662
|
lane: "service_token";
|
|
@@ -625,7 +625,7 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
625
625
|
operationId: string;
|
|
626
626
|
credentialHandle: string;
|
|
627
627
|
credentialRevision: number;
|
|
628
|
-
failureCode?: "unknown" | "
|
|
628
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
629
629
|
}, {
|
|
630
630
|
environment: "development" | "staging" | "production";
|
|
631
631
|
schemaVersion: 1;
|
|
@@ -638,7 +638,7 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
638
638
|
operationId: string;
|
|
639
639
|
credentialHandle: string;
|
|
640
640
|
credentialRevision: number;
|
|
641
|
-
failureCode?: "unknown" | "
|
|
641
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
642
642
|
}>, {
|
|
643
643
|
environment: "development" | "staging" | "production";
|
|
644
644
|
schemaVersion: 1;
|
|
@@ -651,7 +651,7 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
651
651
|
operationId: string;
|
|
652
652
|
credentialHandle: string;
|
|
653
653
|
credentialRevision: number;
|
|
654
|
-
failureCode?: "unknown" | "
|
|
654
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
655
655
|
}, {
|
|
656
656
|
environment: "development" | "staging" | "production";
|
|
657
657
|
schemaVersion: 1;
|
|
@@ -664,7 +664,7 @@ export declare const kaanaCredentialValidationOutcomeSchema: z.ZodEffects<z.ZodO
|
|
|
664
664
|
operationId: string;
|
|
665
665
|
credentialHandle: string;
|
|
666
666
|
credentialRevision: number;
|
|
667
|
-
failureCode?: "unknown" | "
|
|
667
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
668
668
|
}>;
|
|
669
669
|
/**
|
|
670
670
|
* Customer-safe view of one explicit bootstrap attempt.
|
|
@@ -684,44 +684,44 @@ export declare const providerCredentialValidationOperationSchema: z.ZodEffects<z
|
|
|
684
684
|
createdAt: z.ZodString;
|
|
685
685
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
686
686
|
}, "strict", z.ZodTypeAny, {
|
|
687
|
+
createdAt: string;
|
|
687
688
|
schemaVersion: 1;
|
|
688
689
|
applicationId: string;
|
|
689
|
-
createdAt: string;
|
|
690
690
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
691
691
|
deploymentId: string;
|
|
692
692
|
connectionId: string;
|
|
693
693
|
operationId: string;
|
|
694
|
-
failureCode?: "unknown" | "
|
|
694
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
695
695
|
completedAt?: string | undefined;
|
|
696
696
|
}, {
|
|
697
|
+
createdAt: string;
|
|
697
698
|
schemaVersion: 1;
|
|
698
699
|
applicationId: string;
|
|
699
|
-
createdAt: string;
|
|
700
700
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
701
701
|
deploymentId: string;
|
|
702
702
|
connectionId: string;
|
|
703
703
|
operationId: string;
|
|
704
|
-
failureCode?: "unknown" | "
|
|
704
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
705
705
|
completedAt?: string | undefined;
|
|
706
706
|
}>, {
|
|
707
|
+
createdAt: string;
|
|
707
708
|
schemaVersion: 1;
|
|
708
709
|
applicationId: string;
|
|
709
|
-
createdAt: string;
|
|
710
710
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
711
711
|
deploymentId: string;
|
|
712
712
|
connectionId: string;
|
|
713
713
|
operationId: string;
|
|
714
|
-
failureCode?: "unknown" | "
|
|
714
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
715
715
|
completedAt?: string | undefined;
|
|
716
716
|
}, {
|
|
717
|
+
createdAt: string;
|
|
717
718
|
schemaVersion: 1;
|
|
718
719
|
applicationId: string;
|
|
719
|
-
createdAt: string;
|
|
720
720
|
state: "valid" | "pending" | "invalid" | "inconclusive";
|
|
721
721
|
deploymentId: string;
|
|
722
722
|
connectionId: string;
|
|
723
723
|
operationId: string;
|
|
724
|
-
failureCode?: "unknown" | "
|
|
724
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
725
725
|
completedAt?: string | undefined;
|
|
726
726
|
}>;
|
|
727
727
|
/** Exact customer-selectable catalogue ids; no internal Kaana route is exposed. */
|
|
@@ -745,11 +745,11 @@ export declare const providerConnectionValidationSchema: z.ZodObject<{
|
|
|
745
745
|
failureCode: z.ZodOptional<z.ZodEnum<["unauthorized", "forbidden", "not_found", "rate_limited", "network", "unknown"]>>;
|
|
746
746
|
}, "strict", z.ZodTypeAny, {
|
|
747
747
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
748
|
-
failureCode?: "unknown" | "
|
|
748
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
749
749
|
lastValidatedAt?: string | undefined;
|
|
750
750
|
}, {
|
|
751
751
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
752
|
-
failureCode?: "unknown" | "
|
|
752
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
753
753
|
lastValidatedAt?: string | undefined;
|
|
754
754
|
}>;
|
|
755
755
|
/**
|
|
@@ -814,11 +814,11 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
814
814
|
failureCode: z.ZodOptional<z.ZodEnum<["unauthorized", "forbidden", "not_found", "rate_limited", "network", "unknown"]>>;
|
|
815
815
|
}, "strict", z.ZodTypeAny, {
|
|
816
816
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
817
|
-
failureCode?: "unknown" | "
|
|
817
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
818
818
|
lastValidatedAt?: string | undefined;
|
|
819
819
|
}, {
|
|
820
820
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
821
|
-
failureCode?: "unknown" | "
|
|
821
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
822
822
|
lastValidatedAt?: string | undefined;
|
|
823
823
|
}>;
|
|
824
824
|
/**
|
|
@@ -835,13 +835,13 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
835
835
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
836
836
|
validation: {
|
|
837
837
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
838
|
-
failureCode?: "unknown" | "
|
|
838
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
839
839
|
lastValidatedAt?: string | undefined;
|
|
840
840
|
};
|
|
841
|
+
createdAt: string;
|
|
841
842
|
environment: "development" | "staging" | "production";
|
|
842
843
|
schemaVersion: 2;
|
|
843
844
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
844
|
-
createdAt: string;
|
|
845
845
|
scope: {
|
|
846
846
|
kind: "account";
|
|
847
847
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -865,13 +865,13 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
865
865
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
866
866
|
validation: {
|
|
867
867
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
868
|
-
failureCode?: "unknown" | "
|
|
868
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
869
869
|
lastValidatedAt?: string | undefined;
|
|
870
870
|
};
|
|
871
|
+
createdAt: string;
|
|
871
872
|
environment: "development" | "staging" | "production";
|
|
872
873
|
schemaVersion: 2;
|
|
873
874
|
ownerAccountId: string;
|
|
874
|
-
createdAt: string;
|
|
875
875
|
scope: {
|
|
876
876
|
kind: "account";
|
|
877
877
|
accountId: string;
|
|
@@ -895,13 +895,13 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
895
895
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
896
896
|
validation: {
|
|
897
897
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
898
|
-
failureCode?: "unknown" | "
|
|
898
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
899
899
|
lastValidatedAt?: string | undefined;
|
|
900
900
|
};
|
|
901
|
+
createdAt: string;
|
|
901
902
|
environment: "development" | "staging" | "production";
|
|
902
903
|
schemaVersion: 2;
|
|
903
904
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
904
|
-
createdAt: string;
|
|
905
905
|
scope: {
|
|
906
906
|
kind: "account";
|
|
907
907
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -925,13 +925,13 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
925
925
|
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
926
926
|
validation: {
|
|
927
927
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
928
|
-
failureCode?: "unknown" | "
|
|
928
|
+
failureCode?: "unknown" | "unauthorized" | "forbidden" | "not_found" | "rate_limited" | "network" | undefined;
|
|
929
929
|
lastValidatedAt?: string | undefined;
|
|
930
930
|
};
|
|
931
|
+
createdAt: string;
|
|
931
932
|
environment: "development" | "staging" | "production";
|
|
932
933
|
schemaVersion: 2;
|
|
933
934
|
ownerAccountId: string;
|
|
934
|
-
createdAt: string;
|
|
935
935
|
scope: {
|
|
936
936
|
kind: "account";
|
|
937
937
|
accountId: string;
|