@opengeni/contracts 2.9.2-canary.0 → 2.9.2-canary.1
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/atlassian.js +1 -1
- package/dist/{chunk-AWNGBY5I.js → chunk-UGGTRQNU.js} +64 -4
- package/dist/chunk-UGGTRQNU.js.map +1 -0
- package/dist/connection-authority.js +1 -1
- package/dist/google-drive.js +1 -1
- package/dist/index.d.ts +106 -0
- package/dist/index.js +29 -1
- package/dist/model-picker-order.d.ts +23 -0
- package/dist/model-picker-order.js +31 -0
- package/dist/model-picker-order.js.map +1 -0
- package/dist/personal-github.js +1 -1
- package/package.json +5 -1
- package/src/index.ts +98 -1
- package/src/model-picker-order.ts +75 -0
- package/dist/chunk-AWNGBY5I.js.map +0 -1
package/dist/google-drive.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2315,6 +2315,69 @@ export declare const UpdateWorkspaceModelPolicyRequest: z.ZodObject<{
|
|
|
2315
2315
|
allowedModels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2316
2316
|
}, z.core.$strip>;
|
|
2317
2317
|
export type UpdateWorkspaceModelPolicyRequest = z.infer<typeof UpdateWorkspaceModelPolicyRequest>;
|
|
2318
|
+
export declare const WORKSPACE_GATEWAY_CUSTOM_MODEL_UPSTREAM_ID_MAX_LENGTH = 238;
|
|
2319
|
+
export declare const CreateWorkspaceGatewayCustomModelRequest: z.ZodObject<{
|
|
2320
|
+
operationId: z.ZodString;
|
|
2321
|
+
upstreamModelId: z.ZodString;
|
|
2322
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2323
|
+
}, z.core.$strict>;
|
|
2324
|
+
export type CreateWorkspaceGatewayCustomModelRequest = z.infer<typeof CreateWorkspaceGatewayCustomModelRequest>;
|
|
2325
|
+
export declare const DeleteWorkspaceGatewayCustomModelRequest: z.ZodObject<{
|
|
2326
|
+
expectedVersion: z.ZodNumber;
|
|
2327
|
+
operationId: z.ZodString;
|
|
2328
|
+
}, z.core.$strict>;
|
|
2329
|
+
export type DeleteWorkspaceGatewayCustomModelRequest = z.infer<typeof DeleteWorkspaceGatewayCustomModelRequest>;
|
|
2330
|
+
export declare const WorkspaceGatewayCustomModel: z.ZodObject<{
|
|
2331
|
+
id: z.ZodString;
|
|
2332
|
+
upstreamModelId: z.ZodString;
|
|
2333
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2334
|
+
version: z.ZodNumber;
|
|
2335
|
+
createdAt: z.ZodString;
|
|
2336
|
+
updatedAt: z.ZodString;
|
|
2337
|
+
}, z.core.$strip>;
|
|
2338
|
+
export type WorkspaceGatewayCustomModel = z.infer<typeof WorkspaceGatewayCustomModel>;
|
|
2339
|
+
export declare const WorkspaceGatewayCustomModelsResponse: z.ZodObject<{
|
|
2340
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2341
|
+
id: z.ZodString;
|
|
2342
|
+
upstreamModelId: z.ZodString;
|
|
2343
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2344
|
+
version: z.ZodNumber;
|
|
2345
|
+
createdAt: z.ZodString;
|
|
2346
|
+
updatedAt: z.ZodString;
|
|
2347
|
+
}, z.core.$strip>>;
|
|
2348
|
+
}, z.core.$strip>;
|
|
2349
|
+
export type WorkspaceGatewayCustomModelsResponse = z.infer<typeof WorkspaceGatewayCustomModelsResponse>;
|
|
2350
|
+
export declare const CreateWorkspaceOpenRouterCustomModelRequest: z.ZodObject<{
|
|
2351
|
+
operationId: z.ZodString;
|
|
2352
|
+
upstreamModelId: z.ZodString;
|
|
2353
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2354
|
+
}, z.core.$strict>;
|
|
2355
|
+
export type CreateWorkspaceOpenRouterCustomModelRequest = z.infer<typeof CreateWorkspaceOpenRouterCustomModelRequest>;
|
|
2356
|
+
export declare const DeleteWorkspaceOpenRouterCustomModelRequest: z.ZodObject<{
|
|
2357
|
+
expectedVersion: z.ZodNumber;
|
|
2358
|
+
operationId: z.ZodString;
|
|
2359
|
+
}, z.core.$strict>;
|
|
2360
|
+
export type DeleteWorkspaceOpenRouterCustomModelRequest = z.infer<typeof DeleteWorkspaceOpenRouterCustomModelRequest>;
|
|
2361
|
+
export declare const WorkspaceOpenRouterCustomModel: z.ZodObject<{
|
|
2362
|
+
id: z.ZodString;
|
|
2363
|
+
upstreamModelId: z.ZodString;
|
|
2364
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2365
|
+
version: z.ZodNumber;
|
|
2366
|
+
createdAt: z.ZodString;
|
|
2367
|
+
updatedAt: z.ZodString;
|
|
2368
|
+
}, z.core.$strip>;
|
|
2369
|
+
export type WorkspaceOpenRouterCustomModel = z.infer<typeof WorkspaceOpenRouterCustomModel>;
|
|
2370
|
+
export declare const WorkspaceOpenRouterCustomModelsResponse: z.ZodObject<{
|
|
2371
|
+
models: z.ZodArray<z.ZodObject<{
|
|
2372
|
+
id: z.ZodString;
|
|
2373
|
+
upstreamModelId: z.ZodString;
|
|
2374
|
+
label: z.ZodNullable<z.ZodString>;
|
|
2375
|
+
version: z.ZodNumber;
|
|
2376
|
+
createdAt: z.ZodString;
|
|
2377
|
+
updatedAt: z.ZodString;
|
|
2378
|
+
}, z.core.$strip>>;
|
|
2379
|
+
}, z.core.$strip>;
|
|
2380
|
+
export type WorkspaceOpenRouterCustomModelsResponse = z.infer<typeof WorkspaceOpenRouterCustomModelsResponse>;
|
|
2318
2381
|
/** Reserved creator/initiator id used only by legacy-row migration defaults. */
|
|
2319
2382
|
export declare const UNATTRIBUTED_LEGACY_INITIATOR_SUBJECT_ID: "unattributed-legacy";
|
|
2320
2383
|
/**
|
|
@@ -14121,6 +14184,7 @@ export declare const ScheduledTaskRunAcceptedExecution: z.ZodObject<{
|
|
|
14121
14184
|
priority: "priority";
|
|
14122
14185
|
standard: "standard";
|
|
14123
14186
|
}>;
|
|
14187
|
+
turnExecutionPolicy: z.ZodOptional<z.ZodUnknown>;
|
|
14124
14188
|
resolvedSandboxBackend: z.ZodEnum<{
|
|
14125
14189
|
blaxel: "blaxel";
|
|
14126
14190
|
cloudflare: "cloudflare";
|
|
@@ -20565,6 +20629,10 @@ export declare function comparePersonalSlackCanonicalConnections(left: PersonalS
|
|
|
20565
20629
|
export declare function selectCanonicalPersonalSlackConnection<T extends PersonalSlackCanonicalConnection>(connections: readonly T[]): T | null;
|
|
20566
20630
|
export declare const ConnectionCredentialBundle: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20567
20631
|
export type ConnectionCredentialBundle = z.infer<typeof ConnectionCredentialBundle>;
|
|
20632
|
+
export declare const VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_ID_METADATA_KEY: "vercelAiGatewayCredentialOperationId";
|
|
20633
|
+
export declare const VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY: "vercelAiGatewayCredentialOperationDigest";
|
|
20634
|
+
export declare const OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY: "openRouterCredentialOperationId";
|
|
20635
|
+
export declare const OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY: "openRouterCredentialOperationDigest";
|
|
20568
20636
|
export declare const CreateConnectionRequest: z.ZodObject<{
|
|
20569
20637
|
providerDomain: z.ZodString;
|
|
20570
20638
|
kind: z.ZodEnum<{
|
|
@@ -20582,6 +20650,7 @@ export declare const CreateConnectionRequest: z.ZodObject<{
|
|
|
20582
20650
|
grantedScopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
20583
20651
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20584
20652
|
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20653
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
20585
20654
|
}, z.core.$strip>;
|
|
20586
20655
|
export type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
|
|
20587
20656
|
export declare const OpenGeniSlackBotInstallRequest: z.ZodObject<{
|
|
@@ -20683,6 +20752,8 @@ export declare const UpdateConnectionRequest: z.ZodObject<{
|
|
|
20683
20752
|
grantedScopes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20684
20753
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20685
20754
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
20755
|
+
expectedVersion: z.ZodOptional<z.ZodNumber>;
|
|
20756
|
+
operationId: z.ZodOptional<z.ZodString>;
|
|
20686
20757
|
}, z.core.$strip>;
|
|
20687
20758
|
export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
20688
20759
|
export declare const ConnectionResponse: z.ZodObject<{
|
|
@@ -31347,6 +31418,13 @@ export declare const ModelBillingAttributionV1: z.ZodObject<{
|
|
|
31347
31418
|
}>;
|
|
31348
31419
|
}, z.core.$strict>;
|
|
31349
31420
|
export type ModelBillingAttributionV1 = z.infer<typeof ModelBillingAttributionV1>;
|
|
31421
|
+
export declare const ModelCostClassV1: z.ZodEnum<{
|
|
31422
|
+
credits: "credits";
|
|
31423
|
+
free: "free";
|
|
31424
|
+
subscription: "subscription";
|
|
31425
|
+
workspace: "workspace";
|
|
31426
|
+
}>;
|
|
31427
|
+
export type ModelCostClassV1 = z.infer<typeof ModelCostClassV1>;
|
|
31350
31428
|
export declare const TURN_EXECUTION_POLICY_METADATA_KEY: "turnExecutionPolicyV1";
|
|
31351
31429
|
export declare const TurnExecutionModelSourceV1: z.ZodEnum<{
|
|
31352
31430
|
continuation: "continuation";
|
|
@@ -31521,6 +31599,7 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31521
31599
|
source: z.ZodOptional<z.ZodEnum<{
|
|
31522
31600
|
codex: "codex";
|
|
31523
31601
|
opengeni: "opengeni";
|
|
31602
|
+
openrouter: "openrouter";
|
|
31524
31603
|
supergrok: "supergrok";
|
|
31525
31604
|
workspace_gateway: "workspace_gateway";
|
|
31526
31605
|
}>>;
|
|
@@ -31567,6 +31646,12 @@ export declare const ClientModel: z.ZodObject<{
|
|
|
31567
31646
|
opengeni_credits: "opengeni_credits";
|
|
31568
31647
|
}>;
|
|
31569
31648
|
}, z.core.$strict>>;
|
|
31649
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
31650
|
+
credits: "credits";
|
|
31651
|
+
free: "free";
|
|
31652
|
+
subscription: "subscription";
|
|
31653
|
+
workspace: "workspace";
|
|
31654
|
+
}>>;
|
|
31570
31655
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
31571
31656
|
reasoning: z.ZodObject<{
|
|
31572
31657
|
upstream: z.ZodEnum<{
|
|
@@ -31776,6 +31861,7 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31776
31861
|
source: z.ZodOptional<z.ZodEnum<{
|
|
31777
31862
|
codex: "codex";
|
|
31778
31863
|
opengeni: "opengeni";
|
|
31864
|
+
openrouter: "openrouter";
|
|
31779
31865
|
supergrok: "supergrok";
|
|
31780
31866
|
workspace_gateway: "workspace_gateway";
|
|
31781
31867
|
}>>;
|
|
@@ -31822,6 +31908,12 @@ export declare const WorkspaceModelCatalogModel: z.ZodObject<{
|
|
|
31822
31908
|
opengeni_credits: "opengeni_credits";
|
|
31823
31909
|
}>;
|
|
31824
31910
|
}, z.core.$strict>>;
|
|
31911
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
31912
|
+
credits: "credits";
|
|
31913
|
+
free: "free";
|
|
31914
|
+
subscription: "subscription";
|
|
31915
|
+
workspace: "workspace";
|
|
31916
|
+
}>>;
|
|
31825
31917
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
31826
31918
|
reasoning: z.ZodObject<{
|
|
31827
31919
|
upstream: z.ZodEnum<{
|
|
@@ -32031,6 +32123,7 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32031
32123
|
source: z.ZodOptional<z.ZodEnum<{
|
|
32032
32124
|
codex: "codex";
|
|
32033
32125
|
opengeni: "opengeni";
|
|
32126
|
+
openrouter: "openrouter";
|
|
32034
32127
|
supergrok: "supergrok";
|
|
32035
32128
|
workspace_gateway: "workspace_gateway";
|
|
32036
32129
|
}>>;
|
|
@@ -32077,6 +32170,12 @@ export declare const WorkspaceModelCatalogResponse: z.ZodObject<{
|
|
|
32077
32170
|
opengeni_credits: "opengeni_credits";
|
|
32078
32171
|
}>;
|
|
32079
32172
|
}, z.core.$strict>>;
|
|
32173
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
32174
|
+
credits: "credits";
|
|
32175
|
+
free: "free";
|
|
32176
|
+
subscription: "subscription";
|
|
32177
|
+
workspace: "workspace";
|
|
32178
|
+
}>>;
|
|
32080
32179
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
32081
32180
|
reasoning: z.ZodObject<{
|
|
32082
32181
|
upstream: z.ZodEnum<{
|
|
@@ -32304,6 +32403,7 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32304
32403
|
source: z.ZodOptional<z.ZodEnum<{
|
|
32305
32404
|
codex: "codex";
|
|
32306
32405
|
opengeni: "opengeni";
|
|
32406
|
+
openrouter: "openrouter";
|
|
32307
32407
|
supergrok: "supergrok";
|
|
32308
32408
|
workspace_gateway: "workspace_gateway";
|
|
32309
32409
|
}>>;
|
|
@@ -32350,6 +32450,12 @@ export declare const ClientConfig: z.ZodObject<{
|
|
|
32350
32450
|
opengeni_credits: "opengeni_credits";
|
|
32351
32451
|
}>;
|
|
32352
32452
|
}, z.core.$strict>>;
|
|
32453
|
+
cost: z.ZodOptional<z.ZodEnum<{
|
|
32454
|
+
credits: "credits";
|
|
32455
|
+
free: "free";
|
|
32456
|
+
subscription: "subscription";
|
|
32457
|
+
workspace: "workspace";
|
|
32458
|
+
}>>;
|
|
32353
32459
|
capabilities: z.ZodOptional<z.ZodObject<{
|
|
32354
32460
|
reasoning: z.ZodObject<{
|
|
32355
32461
|
upstream: z.ZodEnum<{
|
package/dist/index.js
CHANGED
|
@@ -401,9 +401,11 @@ import {
|
|
|
401
401
|
CreateVariableSetRequest,
|
|
402
402
|
CreateWorkspaceArtifactRequest,
|
|
403
403
|
CreateWorkspaceEnvironmentRequest,
|
|
404
|
+
CreateWorkspaceGatewayCustomModelRequest,
|
|
404
405
|
CreateWorkspaceInstructionPolicyDraftRequest,
|
|
405
406
|
CreateWorkspaceInstructionPolicyOnboardingProposalRequest,
|
|
406
407
|
CreateWorkspaceLearningPolicyRevisionRequest,
|
|
408
|
+
CreateWorkspaceOpenRouterCustomModelRequest,
|
|
407
409
|
CreateWorkspaceRequest,
|
|
408
410
|
CredentialAuthNeededPayload,
|
|
409
411
|
DEFAULT_CODEX_FLEET_POLICY_V1,
|
|
@@ -421,6 +423,8 @@ import {
|
|
|
421
423
|
DelegatedAccessPrincipalKind,
|
|
422
424
|
DelegatedAccessTokenPayload,
|
|
423
425
|
DeleteSessionQueueItemRequest,
|
|
426
|
+
DeleteWorkspaceGatewayCustomModelRequest,
|
|
427
|
+
DeleteWorkspaceOpenRouterCustomModelRequest,
|
|
424
428
|
DeviceEnrollmentApproveRequest,
|
|
425
429
|
DeviceEnrollmentApproveResponse,
|
|
426
430
|
DeviceEnrollmentDenyRequest,
|
|
@@ -822,6 +826,7 @@ import {
|
|
|
822
826
|
ModelContextContributionSource,
|
|
823
827
|
ModelContextContributionSummaries,
|
|
824
828
|
ModelContextContributionSummary,
|
|
829
|
+
ModelCostClassV1,
|
|
825
830
|
ModelCredentialReadinessV1,
|
|
826
831
|
ModelCredentialSourceV1,
|
|
827
832
|
ModelPricingScheduleV1,
|
|
@@ -855,6 +860,8 @@ import {
|
|
|
855
860
|
OPENGENI_SLACK_BOT_CREDENTIAL_LABEL,
|
|
856
861
|
OPENGENI_SLACK_BOT_CREDENTIAL_ROLE,
|
|
857
862
|
OPENGENI_SLACK_BOT_SESSION_METADATA_KEY,
|
|
863
|
+
OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
|
|
864
|
+
OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY,
|
|
858
865
|
OPEN_SUFFIX_RUN_STATE_BLOB,
|
|
859
866
|
OPEN_SUFFIX_RUN_STATE_MARKER,
|
|
860
867
|
OpenGeniSlackBotConnectionMetadata,
|
|
@@ -1414,6 +1421,8 @@ import {
|
|
|
1414
1421
|
UserResourceLifecycleGrantMode,
|
|
1415
1422
|
VARIABLE_SET_RESERVED_EXACT_NAMES,
|
|
1416
1423
|
VARIABLE_SET_RESERVED_PREFIXES,
|
|
1424
|
+
VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
|
|
1425
|
+
VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_ID_METADATA_KEY,
|
|
1417
1426
|
VIRTUAL_WORKSPACE_ROOT,
|
|
1418
1427
|
VOICE_INPUT_ACCEPTED_MIME_TYPES,
|
|
1419
1428
|
VOICE_INPUT_MAX_DURATION_SECONDS,
|
|
@@ -1440,6 +1449,7 @@ import {
|
|
|
1440
1449
|
WORKSPACE_CONTROL_ACTOR_MAX_BYTES,
|
|
1441
1450
|
WORKSPACE_CONTROL_EVENT_MAX_BYTES,
|
|
1442
1451
|
WORKSPACE_CONTROL_REASON_MAX_BYTES,
|
|
1452
|
+
WORKSPACE_GATEWAY_CUSTOM_MODEL_UPSTREAM_ID_MAX_LENGTH,
|
|
1443
1453
|
WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS,
|
|
1444
1454
|
WORKSPACE_INSTRUCTION_POLICY_ONBOARDING_SOURCE_VERSION_MAX_CHARS,
|
|
1445
1455
|
WORKSPACE_INSTRUCTION_POLICY_PROMPT_MAX_UTF8_BYTES,
|
|
@@ -1512,6 +1522,8 @@ import {
|
|
|
1512
1522
|
WorkspaceControlEventTruncation,
|
|
1513
1523
|
WorkspaceEnvironment,
|
|
1514
1524
|
WorkspaceEnvironmentVariableMetadata,
|
|
1525
|
+
WorkspaceGatewayCustomModel,
|
|
1526
|
+
WorkspaceGatewayCustomModelsResponse,
|
|
1515
1527
|
WorkspaceInferenceControlRequest,
|
|
1516
1528
|
WorkspaceInferenceControlResponse,
|
|
1517
1529
|
WorkspaceInferenceState,
|
|
@@ -1580,6 +1592,8 @@ import {
|
|
|
1580
1592
|
WorkspaceMemorySearchResult,
|
|
1581
1593
|
WorkspaceModelCatalogModel,
|
|
1582
1594
|
WorkspaceModelCatalogResponse,
|
|
1595
|
+
WorkspaceOpenRouterCustomModel,
|
|
1596
|
+
WorkspaceOpenRouterCustomModelsResponse,
|
|
1583
1597
|
WorkspaceRealtimeModelCatalogItem,
|
|
1584
1598
|
WorkspaceRealtimeModelCatalogResponse,
|
|
1585
1599
|
WorkspaceRegisteredPack,
|
|
@@ -1732,7 +1746,7 @@ import {
|
|
|
1732
1746
|
workspaceLearningPolicyRouterContext,
|
|
1733
1747
|
workspaceLearningSourceKey,
|
|
1734
1748
|
workspaceSlackReactionChannelAllowed
|
|
1735
|
-
} from "./chunk-
|
|
1749
|
+
} from "./chunk-UGGTRQNU.js";
|
|
1736
1750
|
import {
|
|
1737
1751
|
ConnectorDocumentDestination,
|
|
1738
1752
|
ConnectorDocumentDestinationAuthority,
|
|
@@ -2470,9 +2484,11 @@ export {
|
|
|
2470
2484
|
CreateVariableSetRequest,
|
|
2471
2485
|
CreateWorkspaceArtifactRequest,
|
|
2472
2486
|
CreateWorkspaceEnvironmentRequest,
|
|
2487
|
+
CreateWorkspaceGatewayCustomModelRequest,
|
|
2473
2488
|
CreateWorkspaceInstructionPolicyDraftRequest,
|
|
2474
2489
|
CreateWorkspaceInstructionPolicyOnboardingProposalRequest,
|
|
2475
2490
|
CreateWorkspaceLearningPolicyRevisionRequest,
|
|
2491
|
+
CreateWorkspaceOpenRouterCustomModelRequest,
|
|
2476
2492
|
CreateWorkspaceRequest,
|
|
2477
2493
|
CredentialAuthNeededPayload,
|
|
2478
2494
|
DEFAULT_CODEX_FLEET_POLICY_V1,
|
|
@@ -2507,6 +2523,8 @@ export {
|
|
|
2507
2523
|
DelegatedAccessPrincipalKind,
|
|
2508
2524
|
DelegatedAccessTokenPayload,
|
|
2509
2525
|
DeleteSessionQueueItemRequest,
|
|
2526
|
+
DeleteWorkspaceGatewayCustomModelRequest,
|
|
2527
|
+
DeleteWorkspaceOpenRouterCustomModelRequest,
|
|
2510
2528
|
DeviceEnrollmentApproveRequest,
|
|
2511
2529
|
DeviceEnrollmentApproveResponse,
|
|
2512
2530
|
DeviceEnrollmentDenyRequest,
|
|
@@ -2937,6 +2955,7 @@ export {
|
|
|
2937
2955
|
ModelContextContributionSource,
|
|
2938
2956
|
ModelContextContributionSummaries,
|
|
2939
2957
|
ModelContextContributionSummary,
|
|
2958
|
+
ModelCostClassV1,
|
|
2940
2959
|
ModelCredentialReadinessV1,
|
|
2941
2960
|
ModelCredentialSourceV1,
|
|
2942
2961
|
ModelPricingScheduleV1,
|
|
@@ -2979,6 +2998,8 @@ export {
|
|
|
2979
2998
|
OPENGENI_SLACK_BOT_SESSION_METADATA_KEY,
|
|
2980
2999
|
OPENGENI_SLACK_MCP_USER_SCOPES,
|
|
2981
3000
|
OPENGENI_SLACK_REACTION_REQUIRED_SCOPE,
|
|
3001
|
+
OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
|
|
3002
|
+
OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY,
|
|
2982
3003
|
OPEN_SUFFIX_RUN_STATE_BLOB,
|
|
2983
3004
|
OPEN_SUFFIX_RUN_STATE_MARKER,
|
|
2984
3005
|
OpenGeniSlackBotConnectionMetadata,
|
|
@@ -3603,6 +3624,8 @@ export {
|
|
|
3603
3624
|
UserResourceLifecycleGrantMode,
|
|
3604
3625
|
VARIABLE_SET_RESERVED_EXACT_NAMES,
|
|
3605
3626
|
VARIABLE_SET_RESERVED_PREFIXES,
|
|
3627
|
+
VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY,
|
|
3628
|
+
VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_ID_METADATA_KEY,
|
|
3606
3629
|
VIDEO_GENERATION_SCHEMA_VERSION,
|
|
3607
3630
|
VIRTUAL_WORKSPACE_ROOT,
|
|
3608
3631
|
VOICE_INPUT_ACCEPTED_MIME_TYPES,
|
|
@@ -3647,6 +3670,7 @@ export {
|
|
|
3647
3670
|
WORKSPACE_CONTROL_ACTOR_MAX_BYTES,
|
|
3648
3671
|
WORKSPACE_CONTROL_EVENT_MAX_BYTES,
|
|
3649
3672
|
WORKSPACE_CONTROL_REASON_MAX_BYTES,
|
|
3673
|
+
WORKSPACE_GATEWAY_CUSTOM_MODEL_UPSTREAM_ID_MAX_LENGTH,
|
|
3650
3674
|
WORKSPACE_INSTRUCTION_POLICY_CONTENT_MAX_CHARS,
|
|
3651
3675
|
WORKSPACE_INSTRUCTION_POLICY_ONBOARDING_SOURCE_VERSION_MAX_CHARS,
|
|
3652
3676
|
WORKSPACE_INSTRUCTION_POLICY_PROMPT_MAX_UTF8_BYTES,
|
|
@@ -3720,6 +3744,8 @@ export {
|
|
|
3720
3744
|
WorkspaceControlEventTruncation,
|
|
3721
3745
|
WorkspaceEnvironment,
|
|
3722
3746
|
WorkspaceEnvironmentVariableMetadata,
|
|
3747
|
+
WorkspaceGatewayCustomModel,
|
|
3748
|
+
WorkspaceGatewayCustomModelsResponse,
|
|
3723
3749
|
WorkspaceInferenceControlRequest,
|
|
3724
3750
|
WorkspaceInferenceControlResponse,
|
|
3725
3751
|
WorkspaceInferenceState,
|
|
@@ -3788,6 +3814,8 @@ export {
|
|
|
3788
3814
|
WorkspaceMemorySearchResult,
|
|
3789
3815
|
WorkspaceModelCatalogModel,
|
|
3790
3816
|
WorkspaceModelCatalogResponse,
|
|
3817
|
+
WorkspaceOpenRouterCustomModel,
|
|
3818
|
+
WorkspaceOpenRouterCustomModelsResponse,
|
|
3791
3819
|
WorkspaceRealtimeModelCatalogItem,
|
|
3792
3820
|
WorkspaceRealtimeModelCatalogResponse,
|
|
3793
3821
|
WorkspaceRegisteredPack,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type ModelPickerBillingClass = "opengeni_credits" | "external" | "codex_subscription" | "supergrok_subscription" | "byok";
|
|
2
|
+
export type ModelPickerBillingCandidate = {
|
|
3
|
+
source?: string | undefined;
|
|
4
|
+
cost?: "free" | "credits" | "subscription" | "workspace" | undefined;
|
|
5
|
+
billing?: {
|
|
6
|
+
upstreamPayer?: string | undefined;
|
|
7
|
+
metering?: string | undefined;
|
|
8
|
+
} | undefined;
|
|
9
|
+
credentialSource?: {
|
|
10
|
+
kind?: string | undefined;
|
|
11
|
+
provider?: string | undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
};
|
|
14
|
+
export declare function modelPickerBillingClassFor(model: ModelPickerBillingCandidate): ModelPickerBillingClass;
|
|
15
|
+
export declare function compareModelPickerOrder(left: {
|
|
16
|
+
billingClass: ModelPickerBillingClass;
|
|
17
|
+
selectable: boolean;
|
|
18
|
+
label: string;
|
|
19
|
+
}, right: {
|
|
20
|
+
billingClass: ModelPickerBillingClass;
|
|
21
|
+
selectable: boolean;
|
|
22
|
+
label: string;
|
|
23
|
+
}): number;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// src/model-picker-order.ts
|
|
2
|
+
var MODEL_PICKER_BILLING_CLASS_INITIAL_ORDER = "oecsb";
|
|
3
|
+
function modelPickerBillingClassFor(model) {
|
|
4
|
+
if (model.cost === "credits") return "opengeni_credits";
|
|
5
|
+
if (model.cost === "workspace") return "byok";
|
|
6
|
+
const source = model.source;
|
|
7
|
+
const credential = model.credentialSource;
|
|
8
|
+
const payer = model.billing?.upstreamPayer;
|
|
9
|
+
if (model.billing?.metering === "external" && payer === "deployment") {
|
|
10
|
+
return "external";
|
|
11
|
+
}
|
|
12
|
+
if (source === "supergrok" || credential?.kind === "connected_subscription" && credential.provider === "xai") {
|
|
13
|
+
return "supergrok_subscription";
|
|
14
|
+
}
|
|
15
|
+
if (source === "codex" || credential?.kind === "connected_subscription" || payer === "connected_subscription") {
|
|
16
|
+
return "codex_subscription";
|
|
17
|
+
}
|
|
18
|
+
if (source === "workspace_gateway" || credential?.kind === "workspace_connection" || payer === "workspace") {
|
|
19
|
+
return "byok";
|
|
20
|
+
}
|
|
21
|
+
return "opengeni_credits";
|
|
22
|
+
}
|
|
23
|
+
function compareModelPickerOrder(left, right) {
|
|
24
|
+
const classDelta = MODEL_PICKER_BILLING_CLASS_INITIAL_ORDER.indexOf(left.billingClass[0]) - MODEL_PICKER_BILLING_CLASS_INITIAL_ORDER.indexOf(right.billingClass[0]);
|
|
25
|
+
return classDelta || +right.selectable - +left.selectable || (left.label < right.label ? -1 : left.label > right.label ? 1 : 0);
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
compareModelPickerOrder,
|
|
29
|
+
modelPickerBillingClassFor
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=model-picker-order.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/model-picker-order.ts"],"sourcesContent":["export type ModelPickerBillingClass =\n | \"opengeni_credits\"\n | \"external\"\n | \"codex_subscription\"\n | \"supergrok_subscription\"\n | \"byok\";\n\n// Every closed billing class has a unique first character. Keeping the order\n// as initials avoids duplicating the full public labels in browser bundles.\nconst MODEL_PICKER_BILLING_CLASS_INITIAL_ORDER = \"oecsb\";\n\nexport type ModelPickerBillingCandidate = {\n source?: string | undefined;\n cost?: \"free\" | \"credits\" | \"subscription\" | \"workspace\" | undefined;\n billing?:\n | {\n upstreamPayer?: string | undefined;\n metering?: string | undefined;\n }\n | undefined;\n credentialSource?:\n | {\n kind?: string | undefined;\n provider?: string | undefined;\n }\n | undefined;\n};\n\nexport function modelPickerBillingClassFor(\n model: ModelPickerBillingCandidate,\n): ModelPickerBillingClass {\n if (model.cost === \"credits\") return \"opengeni_credits\";\n if (model.cost === \"workspace\") return \"byok\";\n const source = model.source;\n const credential = model.credentialSource;\n const payer = model.billing?.upstreamPayer;\n if (model.billing?.metering === \"external\" && payer === \"deployment\") {\n return \"external\";\n }\n if (\n source === \"supergrok\" ||\n (credential?.kind === \"connected_subscription\" && credential.provider === \"xai\")\n ) {\n return \"supergrok_subscription\";\n }\n if (\n source === \"codex\" ||\n credential?.kind === \"connected_subscription\" ||\n payer === \"connected_subscription\"\n ) {\n return \"codex_subscription\";\n }\n if (\n source === \"workspace_gateway\" ||\n credential?.kind === \"workspace_connection\" ||\n payer === \"workspace\"\n ) {\n return \"byok\";\n }\n return \"opengeni_credits\";\n}\n\nexport function compareModelPickerOrder(\n left: { billingClass: ModelPickerBillingClass; selectable: boolean; label: string },\n right: { billingClass: ModelPickerBillingClass; selectable: boolean; label: string },\n): number {\n const classDelta =\n MODEL_PICKER_BILLING_CLASS_INITIAL_ORDER.indexOf(left.billingClass[0]!) -\n MODEL_PICKER_BILLING_CLASS_INITIAL_ORDER.indexOf(right.billingClass[0]!);\n return (\n classDelta ||\n +right.selectable - +left.selectable ||\n (left.label < right.label ? -1 : left.label > right.label ? 1 : 0)\n );\n}\n"],"mappings":";AASA,IAAM,2CAA2C;AAmB1C,SAAS,2BACd,OACyB;AACzB,MAAI,MAAM,SAAS,UAAW,QAAO;AACrC,MAAI,MAAM,SAAS,YAAa,QAAO;AACvC,QAAM,SAAS,MAAM;AACrB,QAAM,aAAa,MAAM;AACzB,QAAM,QAAQ,MAAM,SAAS;AAC7B,MAAI,MAAM,SAAS,aAAa,cAAc,UAAU,cAAc;AACpE,WAAO;AAAA,EACT;AACA,MACE,WAAW,eACV,YAAY,SAAS,4BAA4B,WAAW,aAAa,OAC1E;AACA,WAAO;AAAA,EACT;AACA,MACE,WAAW,WACX,YAAY,SAAS,4BACrB,UAAU,0BACV;AACA,WAAO;AAAA,EACT;AACA,MACE,WAAW,uBACX,YAAY,SAAS,0BACrB,UAAU,aACV;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;AAEO,SAAS,wBACd,MACA,OACQ;AACR,QAAM,aACJ,yCAAyC,QAAQ,KAAK,aAAa,CAAC,CAAE,IACtE,yCAAyC,QAAQ,MAAM,aAAa,CAAC,CAAE;AACzE,SACE,cACA,CAAC,MAAM,aAAa,CAAC,KAAK,eACzB,KAAK,QAAQ,MAAM,QAAQ,KAAK,KAAK,QAAQ,MAAM,QAAQ,IAAI;AAEpE;","names":[]}
|
package/dist/personal-github.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/contracts",
|
|
3
|
-
"version": "2.9.2-canary.
|
|
3
|
+
"version": "2.9.2-canary.1",
|
|
4
4
|
"description": "Shared zod schemas and wire-contract types for the OpenGeni API.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -78,6 +78,10 @@
|
|
|
78
78
|
"types": "./dist/xai-provider-account-authority.d.ts",
|
|
79
79
|
"import": "./dist/xai-provider-account-authority.js"
|
|
80
80
|
},
|
|
81
|
+
"./model-picker-order": {
|
|
82
|
+
"types": "./dist/model-picker-order.d.ts",
|
|
83
|
+
"import": "./dist/model-picker-order.js"
|
|
84
|
+
},
|
|
81
85
|
"./editable-artifacts": {
|
|
82
86
|
"types": "./dist/editable-artifacts.d.ts",
|
|
83
87
|
"import": "./dist/editable-artifacts.js"
|
package/src/index.ts
CHANGED
|
@@ -2300,6 +2300,79 @@ export const UpdateWorkspaceModelPolicyRequest = z.object({
|
|
|
2300
2300
|
});
|
|
2301
2301
|
export type UpdateWorkspaceModelPolicyRequest = z.infer<typeof UpdateWorkspaceModelPolicyRequest>;
|
|
2302
2302
|
|
|
2303
|
+
export const WORKSPACE_GATEWAY_CUSTOM_MODEL_UPSTREAM_ID_MAX_LENGTH = 238;
|
|
2304
|
+
|
|
2305
|
+
export const CreateWorkspaceGatewayCustomModelRequest = z
|
|
2306
|
+
.object({
|
|
2307
|
+
operationId: z.string().uuid(),
|
|
2308
|
+
upstreamModelId: z
|
|
2309
|
+
.string()
|
|
2310
|
+
.max(WORKSPACE_GATEWAY_CUSTOM_MODEL_UPSTREAM_ID_MAX_LENGTH)
|
|
2311
|
+
.regex(/^[!-{}-~]+$/),
|
|
2312
|
+
label: z
|
|
2313
|
+
.string()
|
|
2314
|
+
.min(1)
|
|
2315
|
+
.max(128)
|
|
2316
|
+
.refine((value) => new TextEncoder().encode(value).byteLength <= 128, {
|
|
2317
|
+
message: "label must be at most 128 UTF-8 bytes",
|
|
2318
|
+
})
|
|
2319
|
+
.refine((value) => !/[\r\n|]/u.test(value), {
|
|
2320
|
+
message: "label must not contain newlines or the | field separator",
|
|
2321
|
+
})
|
|
2322
|
+
.optional(),
|
|
2323
|
+
})
|
|
2324
|
+
.strict();
|
|
2325
|
+
export type CreateWorkspaceGatewayCustomModelRequest = z.infer<
|
|
2326
|
+
typeof CreateWorkspaceGatewayCustomModelRequest
|
|
2327
|
+
>;
|
|
2328
|
+
|
|
2329
|
+
export const DeleteWorkspaceGatewayCustomModelRequest = z
|
|
2330
|
+
.object({
|
|
2331
|
+
expectedVersion: z.number().int().positive(),
|
|
2332
|
+
operationId: z.string().uuid(),
|
|
2333
|
+
})
|
|
2334
|
+
.strict();
|
|
2335
|
+
export type DeleteWorkspaceGatewayCustomModelRequest = z.infer<
|
|
2336
|
+
typeof DeleteWorkspaceGatewayCustomModelRequest
|
|
2337
|
+
>;
|
|
2338
|
+
|
|
2339
|
+
export const WorkspaceGatewayCustomModel = z.object({
|
|
2340
|
+
id: z.string().uuid(),
|
|
2341
|
+
upstreamModelId: z.string(),
|
|
2342
|
+
label: z.string().nullable(),
|
|
2343
|
+
version: z.number().int().positive(),
|
|
2344
|
+
createdAt: z.string().datetime(),
|
|
2345
|
+
updatedAt: z.string().datetime(),
|
|
2346
|
+
});
|
|
2347
|
+
export type WorkspaceGatewayCustomModel = z.infer<typeof WorkspaceGatewayCustomModel>;
|
|
2348
|
+
|
|
2349
|
+
export const WorkspaceGatewayCustomModelsResponse = z.object({
|
|
2350
|
+
models: z.array(WorkspaceGatewayCustomModel),
|
|
2351
|
+
});
|
|
2352
|
+
export type WorkspaceGatewayCustomModelsResponse = z.infer<
|
|
2353
|
+
typeof WorkspaceGatewayCustomModelsResponse
|
|
2354
|
+
>;
|
|
2355
|
+
|
|
2356
|
+
export const CreateWorkspaceOpenRouterCustomModelRequest = CreateWorkspaceGatewayCustomModelRequest;
|
|
2357
|
+
export type CreateWorkspaceOpenRouterCustomModelRequest = z.infer<
|
|
2358
|
+
typeof CreateWorkspaceOpenRouterCustomModelRequest
|
|
2359
|
+
>;
|
|
2360
|
+
|
|
2361
|
+
export const DeleteWorkspaceOpenRouterCustomModelRequest = DeleteWorkspaceGatewayCustomModelRequest;
|
|
2362
|
+
export type DeleteWorkspaceOpenRouterCustomModelRequest = z.infer<
|
|
2363
|
+
typeof DeleteWorkspaceOpenRouterCustomModelRequest
|
|
2364
|
+
>;
|
|
2365
|
+
|
|
2366
|
+
export const WorkspaceOpenRouterCustomModel = WorkspaceGatewayCustomModel;
|
|
2367
|
+
export type WorkspaceOpenRouterCustomModel = z.infer<typeof WorkspaceOpenRouterCustomModel>;
|
|
2368
|
+
|
|
2369
|
+
export const WorkspaceOpenRouterCustomModelsResponse = z.object({
|
|
2370
|
+
models: z.array(WorkspaceOpenRouterCustomModel),
|
|
2371
|
+
});
|
|
2372
|
+
export type WorkspaceOpenRouterCustomModelsResponse = z.infer<
|
|
2373
|
+
typeof WorkspaceOpenRouterCustomModelsResponse
|
|
2374
|
+
>;
|
|
2375
|
+
|
|
2303
2376
|
const turnInitiatorIdentityFields = {
|
|
2304
2377
|
subjectId: z.string().min(1),
|
|
2305
2378
|
/** Immutable display snapshot; never an authorization input. */
|
|
@@ -8787,6 +8860,10 @@ export const ScheduledTaskRunAcceptedExecution = /* @__PURE__ */ z
|
|
|
8787
8860
|
resolvedModel: z.string().min(1),
|
|
8788
8861
|
resolvedReasoningEffort: ReasoningEffort,
|
|
8789
8862
|
resolvedLatencyMode: LatencyMode,
|
|
8863
|
+
/** Secret-safe TurnExecutionPolicyV1 accepted with this occurrence. Kept
|
|
8864
|
+
* structurally open here because the canonical policy schema is declared
|
|
8865
|
+
* later in this package; consumers must parse it with TurnExecutionPolicyV1. */
|
|
8866
|
+
turnExecutionPolicy: z.unknown().optional(),
|
|
8790
8867
|
resolvedSandboxBackend: SandboxBackend,
|
|
8791
8868
|
resolvedSandboxOs: SandboxOs,
|
|
8792
8869
|
resolvedTools: z.array(ToolRef).max(SCHEDULED_TASK_TOOL_MAX_COUNT),
|
|
@@ -10490,6 +10567,15 @@ function compareDescending(left: number | string, right: number | string): numbe
|
|
|
10490
10567
|
export const ConnectionCredentialBundle = z.record(z.string(), z.unknown());
|
|
10491
10568
|
export type ConnectionCredentialBundle = z.infer<typeof ConnectionCredentialBundle>;
|
|
10492
10569
|
|
|
10570
|
+
export const VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_ID_METADATA_KEY =
|
|
10571
|
+
"vercelAiGatewayCredentialOperationId" as const;
|
|
10572
|
+
export const VERCEL_AI_GATEWAY_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY =
|
|
10573
|
+
"vercelAiGatewayCredentialOperationDigest" as const;
|
|
10574
|
+
export const OPENROUTER_CREDENTIAL_OPERATION_ID_METADATA_KEY =
|
|
10575
|
+
"openRouterCredentialOperationId" as const;
|
|
10576
|
+
export const OPENROUTER_CREDENTIAL_OPERATION_DIGEST_METADATA_KEY =
|
|
10577
|
+
"openRouterCredentialOperationDigest" as const;
|
|
10578
|
+
|
|
10493
10579
|
export const CreateConnectionRequest = z.object({
|
|
10494
10580
|
providerDomain: z.string().min(1),
|
|
10495
10581
|
kind: ConnectionKind,
|
|
@@ -10500,6 +10586,7 @@ export const CreateConnectionRequest = z.object({
|
|
|
10500
10586
|
grantedScopes: z.array(z.string().min(1)).default([]),
|
|
10501
10587
|
expiresAt: z.string().datetime({ offset: true }).nullable().optional(),
|
|
10502
10588
|
metadata: z.record(z.string(), z.unknown()).default({}),
|
|
10589
|
+
operationId: z.string().uuid().optional(),
|
|
10503
10590
|
});
|
|
10504
10591
|
export type CreateConnectionRequest = z.infer<typeof CreateConnectionRequest>;
|
|
10505
10592
|
|
|
@@ -10555,6 +10642,8 @@ export const UpdateConnectionRequest = z.object({
|
|
|
10555
10642
|
grantedScopes: z.array(z.string().min(1)).optional(),
|
|
10556
10643
|
expiresAt: z.string().datetime({ offset: true }).nullable().optional(),
|
|
10557
10644
|
metadata: z.record(z.string(), z.unknown()).optional(),
|
|
10645
|
+
expectedVersion: z.number().int().positive().optional(),
|
|
10646
|
+
operationId: z.string().uuid().optional(),
|
|
10558
10647
|
});
|
|
10559
10648
|
export type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
10560
10649
|
|
|
@@ -15559,6 +15648,11 @@ export const ModelBillingAttributionV1 =
|
|
|
15559
15648
|
);
|
|
15560
15649
|
export type ModelBillingAttributionV1 = z.infer<typeof ModelBillingAttributionV1>;
|
|
15561
15650
|
|
|
15651
|
+
export const ModelCostClassV1 = /* @__PURE__ */ defineModelContractSchema(() =>
|
|
15652
|
+
z.enum(["free", "credits", "subscription", "workspace"]),
|
|
15653
|
+
);
|
|
15654
|
+
export type ModelCostClassV1 = z.infer<typeof ModelCostClassV1>;
|
|
15655
|
+
|
|
15562
15656
|
export const TURN_EXECUTION_POLICY_METADATA_KEY = "turnExecutionPolicyV1" as const;
|
|
15563
15657
|
|
|
15564
15658
|
export const TurnExecutionModelSourceV1 =
|
|
@@ -15746,7 +15840,9 @@ export const ClientModel = /* @__PURE__ */ defineModelContractSchema(() =>
|
|
|
15746
15840
|
provider: z.string(), // provider id
|
|
15747
15841
|
providerLabel: z.string(),
|
|
15748
15842
|
api: z.enum(["responses", "chat"]),
|
|
15749
|
-
source: z
|
|
15843
|
+
source: z
|
|
15844
|
+
.enum(["opengeni", "codex", "supergrok", "workspace_gateway", "openrouter"])
|
|
15845
|
+
.optional(),
|
|
15750
15846
|
contextWindowTokens: z.number().int().positive().optional(),
|
|
15751
15847
|
// Additive normalized definition metadata. Optional so older server payloads
|
|
15752
15848
|
// remain parseable; current servers project the complete V1 set.
|
|
@@ -15768,6 +15864,7 @@ export const ClientModel = /* @__PURE__ */ defineModelContractSchema(() =>
|
|
|
15768
15864
|
.optional(),
|
|
15769
15865
|
credentialSource: ModelCredentialSourceV1.optional(),
|
|
15770
15866
|
billing: ModelBillingAttributionV1.optional(),
|
|
15867
|
+
cost: ModelCostClassV1.optional(),
|
|
15771
15868
|
capabilities: ModelCapabilitiesV1.optional(),
|
|
15772
15869
|
pricing: ModelPricingScheduleV1.optional(),
|
|
15773
15870
|
definitionVersion: z
|