@oxy.so/contracts 4.14.0 → 4.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/index.js +15 -9
- package/dist/cjs/inference/money.js +10 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/cjs/signIn.js +40 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inference/money.js +10 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/esm/signIn.js +38 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +22 -22
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +86 -86
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +78 -78
- package/dist/types/externalIdentity.d.ts +59 -59
- package/dist/types/index.d.ts +2 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +19 -19
- package/dist/types/inference/decisions.d.ts +47 -47
- package/dist/types/inference/economics.d.ts +11 -11
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/money.d.ts +17 -8
- package/dist/types/inference/priceVersion.d.ts +20 -20
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +50 -50
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +11 -11
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +30 -30
- package/dist/types/inference/usage.d.ts +36 -36
- package/dist/types/inference/version.d.ts +1 -1
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +24 -24
- package/dist/types/products/plans.d.ts +6 -6
- package/dist/types/recommendations.d.ts +30 -30
- package/dist/types/safety.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/signIn.d.ts +82 -1
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +108 -108
- package/package.json +1 -1
|
@@ -133,10 +133,10 @@ export declare const billingProfileSchema: z.ZodObject<{
|
|
|
133
133
|
updatedAt: z.ZodString;
|
|
134
134
|
}, "strict", z.ZodTypeAny, {
|
|
135
135
|
status: "active" | "suspended" | "closed";
|
|
136
|
-
schemaVersion: 1;
|
|
137
136
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
138
137
|
createdAt: string;
|
|
139
138
|
updatedAt: string;
|
|
139
|
+
schemaVersion: 1;
|
|
140
140
|
currency: string;
|
|
141
141
|
billingMode: "prepaid" | "invoiced";
|
|
142
142
|
creditLimit: string & z.BRAND<"ExactDecimal">;
|
|
@@ -147,10 +147,10 @@ export declare const billingProfileSchema: z.ZodObject<{
|
|
|
147
147
|
};
|
|
148
148
|
}, {
|
|
149
149
|
status: "active" | "suspended" | "closed";
|
|
150
|
-
schemaVersion: 1;
|
|
151
150
|
accountId: string;
|
|
152
151
|
createdAt: string;
|
|
153
152
|
updatedAt: string;
|
|
153
|
+
schemaVersion: 1;
|
|
154
154
|
currency: string;
|
|
155
155
|
billingMode: "prepaid" | "invoiced";
|
|
156
156
|
creditLimit: string;
|
|
@@ -222,10 +222,10 @@ export declare const accountBillingStateSchema: z.ZodObject<{
|
|
|
222
222
|
updatedAt: z.ZodString;
|
|
223
223
|
}, "strict", z.ZodTypeAny, {
|
|
224
224
|
status: "active" | "suspended" | "closed";
|
|
225
|
-
schemaVersion: 1;
|
|
226
225
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
227
226
|
createdAt: string;
|
|
228
227
|
updatedAt: string;
|
|
228
|
+
schemaVersion: 1;
|
|
229
229
|
currency: string;
|
|
230
230
|
billingMode: "prepaid" | "invoiced";
|
|
231
231
|
creditLimit: string & z.BRAND<"ExactDecimal">;
|
|
@@ -236,10 +236,10 @@ export declare const accountBillingStateSchema: z.ZodObject<{
|
|
|
236
236
|
};
|
|
237
237
|
}, {
|
|
238
238
|
status: "active" | "suspended" | "closed";
|
|
239
|
-
schemaVersion: 1;
|
|
240
239
|
accountId: string;
|
|
241
240
|
createdAt: string;
|
|
242
241
|
updatedAt: string;
|
|
242
|
+
schemaVersion: 1;
|
|
243
243
|
currency: string;
|
|
244
244
|
billingMode: "prepaid" | "invoiced";
|
|
245
245
|
creditLimit: string;
|
|
@@ -250,14 +250,14 @@ export declare const accountBillingStateSchema: z.ZodObject<{
|
|
|
250
250
|
};
|
|
251
251
|
}>;
|
|
252
252
|
}, "strict", z.ZodTypeAny, {
|
|
253
|
-
schemaVersion: 1;
|
|
254
253
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
254
|
+
schemaVersion: 1;
|
|
255
255
|
profile: {
|
|
256
256
|
status: "active" | "suspended" | "closed";
|
|
257
|
-
schemaVersion: 1;
|
|
258
257
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
259
258
|
createdAt: string;
|
|
260
259
|
updatedAt: string;
|
|
260
|
+
schemaVersion: 1;
|
|
261
261
|
currency: string;
|
|
262
262
|
billingMode: "prepaid" | "invoiced";
|
|
263
263
|
creditLimit: string & z.BRAND<"ExactDecimal">;
|
|
@@ -270,14 +270,14 @@ export declare const accountBillingStateSchema: z.ZodObject<{
|
|
|
270
270
|
billingAccountId: string & z.BRAND<"OxyAccountId">;
|
|
271
271
|
inherited: boolean;
|
|
272
272
|
}, {
|
|
273
|
-
schemaVersion: 1;
|
|
274
273
|
accountId: string;
|
|
274
|
+
schemaVersion: 1;
|
|
275
275
|
profile: {
|
|
276
276
|
status: "active" | "suspended" | "closed";
|
|
277
|
-
schemaVersion: 1;
|
|
278
277
|
accountId: string;
|
|
279
278
|
createdAt: string;
|
|
280
279
|
updatedAt: string;
|
|
280
|
+
schemaVersion: 1;
|
|
281
281
|
currency: string;
|
|
282
282
|
billingMode: "prepaid" | "invoiced";
|
|
283
283
|
creditLimit: string;
|
|
@@ -323,9 +323,9 @@ export declare const billingInvoiceSchema: z.ZodObject<{
|
|
|
323
323
|
receiptCount: z.ZodNumber;
|
|
324
324
|
}, "strict", z.ZodTypeAny, {
|
|
325
325
|
status: "void" | "paid" | "draft" | "open";
|
|
326
|
-
schemaVersion: 1;
|
|
327
326
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
328
327
|
id: string;
|
|
328
|
+
schemaVersion: 1;
|
|
329
329
|
currency: string;
|
|
330
330
|
periodEnd: string;
|
|
331
331
|
periodStart: string;
|
|
@@ -338,9 +338,9 @@ export declare const billingInvoiceSchema: z.ZodObject<{
|
|
|
338
338
|
paidAt?: string | undefined;
|
|
339
339
|
}, {
|
|
340
340
|
status: "void" | "paid" | "draft" | "open";
|
|
341
|
-
schemaVersion: 1;
|
|
342
341
|
accountId: string;
|
|
343
342
|
id: string;
|
|
343
|
+
schemaVersion: 1;
|
|
344
344
|
currency: string;
|
|
345
345
|
periodEnd: string;
|
|
346
346
|
periodStart: string;
|
|
@@ -385,8 +385,8 @@ export declare const externalPaymentSchema: z.ZodObject<{
|
|
|
385
385
|
createdAt: z.ZodString;
|
|
386
386
|
}, "strict", z.ZodTypeAny, {
|
|
387
387
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
388
|
-
id: string;
|
|
389
388
|
createdAt: string;
|
|
389
|
+
id: string;
|
|
390
390
|
occurredAt: string;
|
|
391
391
|
currency: string;
|
|
392
392
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
@@ -396,8 +396,8 @@ export declare const externalPaymentSchema: z.ZodObject<{
|
|
|
396
396
|
ledgerEntryId: string;
|
|
397
397
|
}, {
|
|
398
398
|
accountId: string;
|
|
399
|
-
id: string;
|
|
400
399
|
createdAt: string;
|
|
400
|
+
id: string;
|
|
401
401
|
occurredAt: string;
|
|
402
402
|
currency: string;
|
|
403
403
|
amount: string;
|
|
@@ -433,24 +433,24 @@ export declare const autoRechargeAttemptSchema: z.ZodObject<{
|
|
|
433
433
|
createdAt: z.ZodString;
|
|
434
434
|
updatedAt: z.ZodString;
|
|
435
435
|
}, "strict", z.ZodTypeAny, {
|
|
436
|
-
status: "
|
|
437
|
-
schemaVersion: 1;
|
|
436
|
+
status: "pending" | "succeeded" | "failed";
|
|
438
437
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
439
|
-
id: string;
|
|
440
438
|
createdAt: string;
|
|
441
439
|
updatedAt: string;
|
|
440
|
+
id: string;
|
|
441
|
+
schemaVersion: 1;
|
|
442
442
|
currency: string;
|
|
443
443
|
requestedAmount: string & z.BRAND<"ExactDecimal">;
|
|
444
444
|
balanceAtTrigger: string & z.BRAND<"ExactDecimal">;
|
|
445
445
|
failureCode?: string | undefined;
|
|
446
446
|
externalRef?: string | undefined;
|
|
447
447
|
}, {
|
|
448
|
-
status: "
|
|
449
|
-
schemaVersion: 1;
|
|
448
|
+
status: "pending" | "succeeded" | "failed";
|
|
450
449
|
accountId: string;
|
|
451
|
-
id: string;
|
|
452
450
|
createdAt: string;
|
|
453
451
|
updatedAt: string;
|
|
452
|
+
id: string;
|
|
453
|
+
schemaVersion: 1;
|
|
454
454
|
currency: string;
|
|
455
455
|
requestedAmount: string;
|
|
456
456
|
balanceAtTrigger: string;
|
|
@@ -494,10 +494,10 @@ export declare const reconciliationDiscrepancySchema: z.ZodObject<{
|
|
|
494
494
|
createdAt: z.ZodString;
|
|
495
495
|
}, "strict", z.ZodTypeAny, {
|
|
496
496
|
kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
|
|
497
|
+
createdAt: string;
|
|
498
|
+
id: string;
|
|
497
499
|
schemaVersion: 1;
|
|
498
500
|
runId: string;
|
|
499
|
-
id: string;
|
|
500
|
-
createdAt: string;
|
|
501
501
|
currency: string;
|
|
502
502
|
accountId?: (string & z.BRAND<"OxyAccountId">) | undefined;
|
|
503
503
|
externalRef?: string | undefined;
|
|
@@ -506,10 +506,10 @@ export declare const reconciliationDiscrepancySchema: z.ZodObject<{
|
|
|
506
506
|
externalAmount?: (string & z.BRAND<"ExactDecimal">) | undefined;
|
|
507
507
|
}, {
|
|
508
508
|
kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
|
|
509
|
+
createdAt: string;
|
|
510
|
+
id: string;
|
|
509
511
|
schemaVersion: 1;
|
|
510
512
|
runId: string;
|
|
511
|
-
id: string;
|
|
512
|
-
createdAt: string;
|
|
513
513
|
currency: string;
|
|
514
514
|
accountId?: string | undefined;
|
|
515
515
|
externalRef?: string | undefined;
|
|
@@ -543,8 +543,8 @@ export declare const reconciliationRunSchema: z.ZodObject<{
|
|
|
543
543
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
544
544
|
}, "strict", z.ZodTypeAny, {
|
|
545
545
|
status: "failed" | "completed" | "running";
|
|
546
|
-
schemaVersion: 1;
|
|
547
546
|
id: string;
|
|
547
|
+
schemaVersion: 1;
|
|
548
548
|
currency: string;
|
|
549
549
|
periodEnd: string;
|
|
550
550
|
provider: "stripe";
|
|
@@ -557,8 +557,8 @@ export declare const reconciliationRunSchema: z.ZodObject<{
|
|
|
557
557
|
completedAt?: string | undefined;
|
|
558
558
|
}, {
|
|
559
559
|
status: "failed" | "completed" | "running";
|
|
560
|
-
schemaVersion: 1;
|
|
561
560
|
id: string;
|
|
561
|
+
schemaVersion: 1;
|
|
562
562
|
currency: string;
|
|
563
563
|
periodEnd: string;
|
|
564
564
|
provider: "stripe";
|
|
@@ -591,8 +591,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
591
591
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
592
592
|
}, "strict", z.ZodTypeAny, {
|
|
593
593
|
status: "failed" | "completed" | "running";
|
|
594
|
-
schemaVersion: 1;
|
|
595
594
|
id: string;
|
|
595
|
+
schemaVersion: 1;
|
|
596
596
|
currency: string;
|
|
597
597
|
periodEnd: string;
|
|
598
598
|
provider: "stripe";
|
|
@@ -605,8 +605,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
605
605
|
completedAt?: string | undefined;
|
|
606
606
|
}, {
|
|
607
607
|
status: "failed" | "completed" | "running";
|
|
608
|
-
schemaVersion: 1;
|
|
609
608
|
id: string;
|
|
609
|
+
schemaVersion: 1;
|
|
610
610
|
currency: string;
|
|
611
611
|
periodEnd: string;
|
|
612
612
|
provider: "stripe";
|
|
@@ -635,10 +635,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
635
635
|
createdAt: z.ZodString;
|
|
636
636
|
}, "strict", z.ZodTypeAny, {
|
|
637
637
|
kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
|
|
638
|
+
createdAt: string;
|
|
639
|
+
id: string;
|
|
638
640
|
schemaVersion: 1;
|
|
639
641
|
runId: string;
|
|
640
|
-
id: string;
|
|
641
|
-
createdAt: string;
|
|
642
642
|
currency: string;
|
|
643
643
|
accountId?: (string & z.BRAND<"OxyAccountId">) | undefined;
|
|
644
644
|
externalRef?: string | undefined;
|
|
@@ -647,10 +647,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
647
647
|
externalAmount?: (string & z.BRAND<"ExactDecimal">) | undefined;
|
|
648
648
|
}, {
|
|
649
649
|
kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
|
|
650
|
+
createdAt: string;
|
|
651
|
+
id: string;
|
|
650
652
|
schemaVersion: 1;
|
|
651
653
|
runId: string;
|
|
652
|
-
id: string;
|
|
653
|
-
createdAt: string;
|
|
654
654
|
currency: string;
|
|
655
655
|
accountId?: string | undefined;
|
|
656
656
|
externalRef?: string | undefined;
|
|
@@ -662,8 +662,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
662
662
|
schemaVersion: 1;
|
|
663
663
|
run: {
|
|
664
664
|
status: "failed" | "completed" | "running";
|
|
665
|
-
schemaVersion: 1;
|
|
666
665
|
id: string;
|
|
666
|
+
schemaVersion: 1;
|
|
667
667
|
currency: string;
|
|
668
668
|
periodEnd: string;
|
|
669
669
|
provider: "stripe";
|
|
@@ -677,10 +677,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
677
677
|
};
|
|
678
678
|
discrepancies: {
|
|
679
679
|
kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
|
|
680
|
+
createdAt: string;
|
|
681
|
+
id: string;
|
|
680
682
|
schemaVersion: 1;
|
|
681
683
|
runId: string;
|
|
682
|
-
id: string;
|
|
683
|
-
createdAt: string;
|
|
684
684
|
currency: string;
|
|
685
685
|
accountId?: (string & z.BRAND<"OxyAccountId">) | undefined;
|
|
686
686
|
externalRef?: string | undefined;
|
|
@@ -692,8 +692,8 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
692
692
|
schemaVersion: 1;
|
|
693
693
|
run: {
|
|
694
694
|
status: "failed" | "completed" | "running";
|
|
695
|
-
schemaVersion: 1;
|
|
696
695
|
id: string;
|
|
696
|
+
schemaVersion: 1;
|
|
697
697
|
currency: string;
|
|
698
698
|
periodEnd: string;
|
|
699
699
|
provider: "stripe";
|
|
@@ -707,10 +707,10 @@ export declare const reconciliationReportSchema: z.ZodObject<{
|
|
|
707
707
|
};
|
|
708
708
|
discrepancies: {
|
|
709
709
|
kind: "missing_in_ledger" | "missing_in_external" | "amount_mismatch" | "account_unresolved";
|
|
710
|
+
createdAt: string;
|
|
711
|
+
id: string;
|
|
710
712
|
schemaVersion: 1;
|
|
711
713
|
runId: string;
|
|
712
|
-
id: string;
|
|
713
|
-
createdAt: string;
|
|
714
714
|
currency: string;
|
|
715
715
|
accountId?: string | undefined;
|
|
716
716
|
externalRef?: string | undefined;
|
|
@@ -414,15 +414,15 @@ export declare const modelPublisherSchema: z.ZodObject<{
|
|
|
414
414
|
schemaVersion: 1;
|
|
415
415
|
publisherId: string;
|
|
416
416
|
slug: string;
|
|
417
|
-
description?: string | undefined;
|
|
418
417
|
websiteUrl?: string | undefined;
|
|
418
|
+
description?: string | undefined;
|
|
419
419
|
}, {
|
|
420
420
|
displayName: string;
|
|
421
421
|
schemaVersion: 1;
|
|
422
422
|
publisherId: string;
|
|
423
423
|
slug: string;
|
|
424
|
-
description?: string | undefined;
|
|
425
424
|
websiteUrl?: string | undefined;
|
|
425
|
+
description?: string | undefined;
|
|
426
426
|
}>;
|
|
427
427
|
/**
|
|
428
428
|
* A model: the long-lived product identity `<publisher>/<model>`.
|
|
@@ -1020,8 +1020,8 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1020
1020
|
policyUrl?: string | undefined;
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
|
-
displayName: string;
|
|
1024
1023
|
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1024
|
+
displayName: string;
|
|
1025
1025
|
schemaVersion: 1;
|
|
1026
1026
|
slug: string;
|
|
1027
1027
|
providerId: string;
|
|
@@ -1037,8 +1037,8 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1037
1037
|
websiteUrl?: string | undefined;
|
|
1038
1038
|
statusPageUrl?: string | undefined;
|
|
1039
1039
|
}, {
|
|
1040
|
-
displayName: string;
|
|
1041
1040
|
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1041
|
+
displayName: string;
|
|
1042
1042
|
schemaVersion: 1;
|
|
1043
1043
|
slug: string;
|
|
1044
1044
|
providerId: string;
|
|
@@ -1083,13 +1083,13 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1083
1083
|
credentialId: z.ZodString;
|
|
1084
1084
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
1085
1085
|
}, "strict", z.ZodTypeAny, {
|
|
1086
|
-
environment: "development" | "staging" | "production";
|
|
1087
1086
|
accountId: string;
|
|
1087
|
+
environment: "development" | "staging" | "production";
|
|
1088
1088
|
applicationId: string;
|
|
1089
1089
|
credentialId: string;
|
|
1090
1090
|
}, {
|
|
1091
|
-
environment: "development" | "staging" | "production";
|
|
1092
1091
|
accountId: string;
|
|
1092
|
+
environment: "development" | "staging" | "production";
|
|
1093
1093
|
applicationId: string;
|
|
1094
1094
|
credentialId: string;
|
|
1095
1095
|
}>;
|
|
@@ -1117,8 +1117,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1117
1117
|
keyId: string;
|
|
1118
1118
|
idempotencyKey: string;
|
|
1119
1119
|
principal: {
|
|
1120
|
-
environment: "development" | "staging" | "production";
|
|
1121
1120
|
accountId: string;
|
|
1121
|
+
environment: "development" | "staging" | "production";
|
|
1122
1122
|
applicationId: string;
|
|
1123
1123
|
credentialId: string;
|
|
1124
1124
|
};
|
|
@@ -1141,8 +1141,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1141
1141
|
keyId: string;
|
|
1142
1142
|
idempotencyKey: string;
|
|
1143
1143
|
principal: {
|
|
1144
|
-
environment: "development" | "staging" | "production";
|
|
1145
1144
|
accountId: string;
|
|
1145
|
+
environment: "development" | "staging" | "production";
|
|
1146
1146
|
applicationId: string;
|
|
1147
1147
|
credentialId: string;
|
|
1148
1148
|
};
|
|
@@ -1234,8 +1234,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1234
1234
|
keyId: string;
|
|
1235
1235
|
idempotencyKey: string;
|
|
1236
1236
|
principal: {
|
|
1237
|
-
environment: "development" | "staging" | "production";
|
|
1238
1237
|
accountId: string;
|
|
1238
|
+
environment: "development" | "staging" | "production";
|
|
1239
1239
|
applicationId: string;
|
|
1240
1240
|
credentialId: string;
|
|
1241
1241
|
};
|
|
@@ -1278,8 +1278,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1278
1278
|
keyId: string;
|
|
1279
1279
|
idempotencyKey: string;
|
|
1280
1280
|
principal: {
|
|
1281
|
-
environment: "development" | "staging" | "production";
|
|
1282
1281
|
accountId: string;
|
|
1282
|
+
environment: "development" | "staging" | "production";
|
|
1283
1283
|
applicationId: string;
|
|
1284
1284
|
credentialId: string;
|
|
1285
1285
|
};
|
|
@@ -1322,8 +1322,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1322
1322
|
keyId: string;
|
|
1323
1323
|
idempotencyKey: string;
|
|
1324
1324
|
principal: {
|
|
1325
|
-
environment: "development" | "staging" | "production";
|
|
1326
1325
|
accountId: string;
|
|
1326
|
+
environment: "development" | "staging" | "production";
|
|
1327
1327
|
applicationId: string;
|
|
1328
1328
|
credentialId: string;
|
|
1329
1329
|
};
|
|
@@ -1366,8 +1366,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1366
1366
|
keyId: string;
|
|
1367
1367
|
idempotencyKey: string;
|
|
1368
1368
|
principal: {
|
|
1369
|
-
environment: "development" | "staging" | "production";
|
|
1370
1369
|
accountId: string;
|
|
1370
|
+
environment: "development" | "staging" | "production";
|
|
1371
1371
|
applicationId: string;
|
|
1372
1372
|
credentialId: string;
|
|
1373
1373
|
};
|
|
@@ -1862,19 +1862,19 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1862
1862
|
priceVersionId: z.ZodString;
|
|
1863
1863
|
currency: z.ZodString;
|
|
1864
1864
|
unitPrices: z.ZodArray<z.ZodObject<{
|
|
1865
|
-
unit: z.ZodEnum<["input_tokens", "cached_input_tokens", "output_tokens", "reasoning_tokens", "requests", "images", "audio_input_milliseconds", "audio_output_milliseconds", "video_milliseconds", "characters", "embeddings", "audio_input_tokens", "cached_audio_input_tokens", "audio_output_tokens", "session_milliseconds"]>;
|
|
1865
|
+
unit: z.ZodEnum<["input_tokens", "cached_input_tokens", "output_tokens", "reasoning_tokens", "requests", "images", "audio_input_milliseconds", "audio_output_milliseconds", "video_milliseconds", "characters", "embeddings", "audio_input_tokens", "cached_audio_input_tokens", "audio_output_tokens", "session_milliseconds", "input_transcription_milliseconds"]>;
|
|
1866
1866
|
amount: z.ZodBranded<z.ZodString, "ExactDecimal">;
|
|
1867
1867
|
per: z.ZodNumber;
|
|
1868
1868
|
currency: z.ZodString;
|
|
1869
1869
|
}, "strict", z.ZodTypeAny, {
|
|
1870
1870
|
currency: string;
|
|
1871
1871
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1872
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1872
|
+
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1873
1873
|
per: number;
|
|
1874
1874
|
}, {
|
|
1875
1875
|
currency: string;
|
|
1876
1876
|
amount: string;
|
|
1877
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1877
|
+
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1878
1878
|
per: number;
|
|
1879
1879
|
}>, "many">;
|
|
1880
1880
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1883,7 +1883,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1883
1883
|
unitPrices: {
|
|
1884
1884
|
currency: string;
|
|
1885
1885
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1886
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1886
|
+
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1887
1887
|
per: number;
|
|
1888
1888
|
}[];
|
|
1889
1889
|
}, {
|
|
@@ -1892,7 +1892,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1892
1892
|
unitPrices: {
|
|
1893
1893
|
currency: string;
|
|
1894
1894
|
amount: string;
|
|
1895
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1895
|
+
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1896
1896
|
per: number;
|
|
1897
1897
|
}[];
|
|
1898
1898
|
}>>;
|
|
@@ -2067,7 +2067,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
2067
2067
|
unitPrices: {
|
|
2068
2068
|
currency: string;
|
|
2069
2069
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
2070
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
2070
|
+
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
2071
2071
|
per: number;
|
|
2072
2072
|
}[];
|
|
2073
2073
|
} | undefined;
|
|
@@ -2169,7 +2169,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
2169
2169
|
unitPrices: {
|
|
2170
2170
|
currency: string;
|
|
2171
2171
|
amount: string;
|
|
2172
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
2172
|
+
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
2173
2173
|
per: number;
|
|
2174
2174
|
}[];
|
|
2175
2175
|
} | undefined;
|