@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
|
@@ -138,7 +138,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
138
138
|
message?: string | undefined;
|
|
139
139
|
}>>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
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" | "
|
|
141
|
+
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";
|
|
142
142
|
message: string;
|
|
143
143
|
schemaVersion: 1;
|
|
144
144
|
requestId: string;
|
|
@@ -153,7 +153,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
153
153
|
message?: string | undefined;
|
|
154
154
|
} | undefined;
|
|
155
155
|
}, {
|
|
156
|
-
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" | "
|
|
156
|
+
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";
|
|
157
157
|
message: string;
|
|
158
158
|
schemaVersion: 1;
|
|
159
159
|
requestId: string;
|
|
@@ -168,7 +168,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
168
168
|
message?: string | undefined;
|
|
169
169
|
} | undefined;
|
|
170
170
|
}>, {
|
|
171
|
-
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" | "
|
|
171
|
+
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";
|
|
172
172
|
message: string;
|
|
173
173
|
schemaVersion: 1;
|
|
174
174
|
requestId: string;
|
|
@@ -183,7 +183,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
183
183
|
message?: string | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
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" | "
|
|
186
|
+
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";
|
|
187
187
|
message: string;
|
|
188
188
|
schemaVersion: 1;
|
|
189
189
|
requestId: string;
|
|
@@ -199,10 +199,8 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
199
199
|
} | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
}, "strict", z.ZodTypeAny, {
|
|
202
|
-
schemaVersion: 1;
|
|
203
|
-
requestId: string;
|
|
204
202
|
error: {
|
|
205
|
-
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" | "
|
|
203
|
+
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";
|
|
206
204
|
message: string;
|
|
207
205
|
schemaVersion: 1;
|
|
208
206
|
requestId: string;
|
|
@@ -217,11 +215,11 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
217
215
|
message?: string | undefined;
|
|
218
216
|
} | undefined;
|
|
219
217
|
};
|
|
220
|
-
}, {
|
|
221
218
|
schemaVersion: 1;
|
|
222
219
|
requestId: string;
|
|
220
|
+
}, {
|
|
223
221
|
error: {
|
|
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" | "
|
|
222
|
+
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
223
|
message: string;
|
|
226
224
|
schemaVersion: 1;
|
|
227
225
|
requestId: string;
|
|
@@ -236,6 +234,8 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
236
234
|
message?: string | undefined;
|
|
237
235
|
} | undefined;
|
|
238
236
|
};
|
|
237
|
+
schemaVersion: 1;
|
|
238
|
+
requestId: string;
|
|
239
239
|
}>;
|
|
240
240
|
export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
241
241
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -349,7 +349,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
349
349
|
message?: string | undefined;
|
|
350
350
|
}>>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
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" | "
|
|
352
|
+
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";
|
|
353
353
|
message: string;
|
|
354
354
|
schemaVersion: 1;
|
|
355
355
|
requestId: string;
|
|
@@ -364,7 +364,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
364
364
|
message?: string | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
}, {
|
|
367
|
-
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" | "
|
|
367
|
+
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";
|
|
368
368
|
message: string;
|
|
369
369
|
schemaVersion: 1;
|
|
370
370
|
requestId: string;
|
|
@@ -379,7 +379,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
379
379
|
message?: string | undefined;
|
|
380
380
|
} | undefined;
|
|
381
381
|
}>, {
|
|
382
|
-
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" | "
|
|
382
|
+
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";
|
|
383
383
|
message: string;
|
|
384
384
|
schemaVersion: 1;
|
|
385
385
|
requestId: string;
|
|
@@ -394,7 +394,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
394
394
|
message?: string | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
}, {
|
|
397
|
-
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" | "
|
|
397
|
+
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";
|
|
398
398
|
message: string;
|
|
399
399
|
schemaVersion: 1;
|
|
400
400
|
requestId: string;
|
|
@@ -410,10 +410,8 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
410
410
|
} | undefined;
|
|
411
411
|
}>;
|
|
412
412
|
}, "strict", z.ZodTypeAny, {
|
|
413
|
-
schemaVersion: 1;
|
|
414
|
-
requestId: string;
|
|
415
413
|
error: {
|
|
416
|
-
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" | "
|
|
414
|
+
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";
|
|
417
415
|
message: string;
|
|
418
416
|
schemaVersion: 1;
|
|
419
417
|
requestId: string;
|
|
@@ -428,11 +426,11 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
428
426
|
message?: string | undefined;
|
|
429
427
|
} | undefined;
|
|
430
428
|
};
|
|
431
|
-
}, {
|
|
432
429
|
schemaVersion: 1;
|
|
433
430
|
requestId: string;
|
|
431
|
+
}, {
|
|
434
432
|
error: {
|
|
435
|
-
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" | "
|
|
433
|
+
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";
|
|
436
434
|
message: string;
|
|
437
435
|
schemaVersion: 1;
|
|
438
436
|
requestId: string;
|
|
@@ -447,6 +445,8 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
447
445
|
message?: string | undefined;
|
|
448
446
|
} | undefined;
|
|
449
447
|
};
|
|
448
|
+
schemaVersion: 1;
|
|
449
|
+
requestId: string;
|
|
450
450
|
}>]>;
|
|
451
451
|
export type EmbeddingVector = z.infer<typeof embeddingVectorSchema>;
|
|
452
452
|
export type EmbeddingUsage = z.infer<typeof embeddingUsageSchema>;
|
|
@@ -198,18 +198,18 @@ export declare const costCenterSchema: z.ZodObject<{
|
|
|
198
198
|
updatedAt: z.ZodString;
|
|
199
199
|
}, "strict", z.ZodTypeAny, {
|
|
200
200
|
status: "active" | "retired";
|
|
201
|
-
schemaVersion: 1;
|
|
202
201
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
203
202
|
createdAt: string;
|
|
204
203
|
updatedAt: string;
|
|
204
|
+
schemaVersion: 1;
|
|
205
205
|
label: string;
|
|
206
206
|
slug: string;
|
|
207
207
|
}, {
|
|
208
208
|
status: "active" | "retired";
|
|
209
|
-
schemaVersion: 1;
|
|
210
209
|
accountId: string;
|
|
211
210
|
createdAt: string;
|
|
212
211
|
updatedAt: string;
|
|
212
|
+
schemaVersion: 1;
|
|
213
213
|
label: string;
|
|
214
214
|
slug: string;
|
|
215
215
|
}>;
|
|
@@ -234,18 +234,18 @@ export declare const costCenterSpendSchema: z.ZodObject<{
|
|
|
234
234
|
updatedAt: z.ZodString;
|
|
235
235
|
}, "strict", z.ZodTypeAny, {
|
|
236
236
|
status: "active" | "retired";
|
|
237
|
-
schemaVersion: 1;
|
|
238
237
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
239
238
|
createdAt: string;
|
|
240
239
|
updatedAt: string;
|
|
240
|
+
schemaVersion: 1;
|
|
241
241
|
label: string;
|
|
242
242
|
slug: string;
|
|
243
243
|
}, {
|
|
244
244
|
status: "active" | "retired";
|
|
245
|
-
schemaVersion: 1;
|
|
246
245
|
accountId: string;
|
|
247
246
|
createdAt: string;
|
|
248
247
|
updatedAt: string;
|
|
248
|
+
schemaVersion: 1;
|
|
249
249
|
label: string;
|
|
250
250
|
slug: string;
|
|
251
251
|
}>;
|
|
@@ -262,10 +262,10 @@ export declare const costCenterSpendSchema: z.ZodObject<{
|
|
|
262
262
|
periodStart: string;
|
|
263
263
|
costCenter: {
|
|
264
264
|
status: "active" | "retired";
|
|
265
|
-
schemaVersion: 1;
|
|
266
265
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
267
266
|
createdAt: string;
|
|
268
267
|
updatedAt: string;
|
|
268
|
+
schemaVersion: 1;
|
|
269
269
|
label: string;
|
|
270
270
|
slug: string;
|
|
271
271
|
};
|
|
@@ -278,10 +278,10 @@ export declare const costCenterSpendSchema: z.ZodObject<{
|
|
|
278
278
|
periodStart: string;
|
|
279
279
|
costCenter: {
|
|
280
280
|
status: "active" | "retired";
|
|
281
|
-
schemaVersion: 1;
|
|
282
281
|
accountId: string;
|
|
283
282
|
createdAt: string;
|
|
284
283
|
updatedAt: string;
|
|
284
|
+
schemaVersion: 1;
|
|
285
285
|
label: string;
|
|
286
286
|
slug: string;
|
|
287
287
|
};
|
|
@@ -409,24 +409,25 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
409
409
|
updatedAt: z.ZodString;
|
|
410
410
|
}, "strict", z.ZodTypeAny, {
|
|
411
411
|
status: "active" | "retired";
|
|
412
|
-
schemaVersion: 1;
|
|
413
412
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
414
413
|
createdAt: string;
|
|
415
414
|
updatedAt: string;
|
|
415
|
+
schemaVersion: 1;
|
|
416
416
|
label: string;
|
|
417
417
|
slug: string;
|
|
418
418
|
}, {
|
|
419
419
|
status: "active" | "retired";
|
|
420
|
-
schemaVersion: 1;
|
|
421
420
|
accountId: string;
|
|
422
421
|
createdAt: string;
|
|
423
422
|
updatedAt: string;
|
|
423
|
+
schemaVersion: 1;
|
|
424
424
|
label: string;
|
|
425
425
|
slug: string;
|
|
426
426
|
}>>;
|
|
427
427
|
/** When this view was computed. Entitlements are eventually consistent. */
|
|
428
428
|
resolvedAt: z.ZodString;
|
|
429
429
|
}, "strict", z.ZodTypeAny, {
|
|
430
|
+
accountId: string & z.BRAND<"OxyAccountId">;
|
|
430
431
|
plan: {
|
|
431
432
|
status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
|
|
432
433
|
name: string;
|
|
@@ -442,7 +443,6 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
442
443
|
}[];
|
|
443
444
|
} | null;
|
|
444
445
|
schemaVersion: 1;
|
|
445
|
-
accountId: string & z.BRAND<"OxyAccountId">;
|
|
446
446
|
allowances: {
|
|
447
447
|
key: string;
|
|
448
448
|
included: number;
|
|
@@ -450,10 +450,10 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
450
450
|
}[];
|
|
451
451
|
costCenter: {
|
|
452
452
|
status: "active" | "retired";
|
|
453
|
-
schemaVersion: 1;
|
|
454
453
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
455
454
|
createdAt: string;
|
|
456
455
|
updatedAt: string;
|
|
456
|
+
schemaVersion: 1;
|
|
457
457
|
label: string;
|
|
458
458
|
slug: string;
|
|
459
459
|
} | null;
|
|
@@ -468,6 +468,7 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
468
468
|
} | null;
|
|
469
469
|
resolvedAt: string;
|
|
470
470
|
}, {
|
|
471
|
+
accountId: string;
|
|
471
472
|
plan: {
|
|
472
473
|
status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
|
|
473
474
|
name: string;
|
|
@@ -483,7 +484,6 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
483
484
|
}[];
|
|
484
485
|
} | null;
|
|
485
486
|
schemaVersion: 1;
|
|
486
|
-
accountId: string;
|
|
487
487
|
allowances: {
|
|
488
488
|
key: string;
|
|
489
489
|
included: number;
|
|
@@ -491,10 +491,10 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
491
491
|
}[];
|
|
492
492
|
costCenter: {
|
|
493
493
|
status: "active" | "retired";
|
|
494
|
-
schemaVersion: 1;
|
|
495
494
|
accountId: string;
|
|
496
495
|
createdAt: string;
|
|
497
496
|
updatedAt: string;
|
|
497
|
+
schemaVersion: 1;
|
|
498
498
|
label: string;
|
|
499
499
|
slug: string;
|
|
500
500
|
} | null;
|
|
@@ -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";
|