@omnara/sdk 0.1.17 → 0.1.18
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/browser.js +2 -2
- package/dist/{chunk-3IT2WXDM.js → chunk-6CE5XUEF.js} +78 -8
- package/dist/chunk-6CE5XUEF.js.map +1 -0
- package/dist/{chunk-M4LDTTQI.js → chunk-KN3ZUKG5.js} +2 -2
- package/dist/{chunk-OB5POS72.js → chunk-LXNRIYJ6.js} +2 -2
- package/dist/chunk-LXNRIYJ6.js.map +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{sdk.gen-DLyBZ5BL.d.ts → sdk.gen-D5GkF4s8.d.ts} +152 -4
- package/dist/tanstack.d.ts +3 -3
- package/dist/tanstack.js +2 -2
- package/dist/tanstack.js.map +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/{zod.gen-CvMkVdtD.d.ts → zod.gen-BH6uPLkm.d.ts} +415 -30
- package/dist/zod.js +19 -1
- package/package.json +1 -1
- package/dist/chunk-3IT2WXDM.js.map +0 -1
- package/dist/chunk-OB5POS72.js.map +0 -1
- /package/dist/{chunk-M4LDTTQI.js.map → chunk-KN3ZUKG5.js.map} +0 -0
package/dist/browser.js
CHANGED
|
@@ -320,6 +320,7 @@ __export(zod_gen_exports, {
|
|
|
320
320
|
zGetOrgApiKeyPath: () => zGetOrgApiKeyPath,
|
|
321
321
|
zGetOrgApiKeyResponse: () => zGetOrgApiKeyResponse,
|
|
322
322
|
zGetOrgOverviewPath: () => zGetOrgOverviewPath,
|
|
323
|
+
zGetOrgOverviewQuery: () => zGetOrgOverviewQuery,
|
|
323
324
|
zGetOrgOverviewResponse: () => zGetOrgOverviewResponse,
|
|
324
325
|
zGetOrgUsagePath: () => zGetOrgUsagePath,
|
|
325
326
|
zGetOrgUsageQuery: () => zGetOrgUsageQuery,
|
|
@@ -578,7 +579,15 @@ __export(zod_gen_exports, {
|
|
|
578
579
|
zOrgInvitation: () => zOrgInvitation,
|
|
579
580
|
zOrgInvitationId: () => zOrgInvitationId,
|
|
580
581
|
zOrgMember: () => zOrgMember,
|
|
582
|
+
zOrgOverviewAgentProfileReference: () => zOrgOverviewAgentProfileReference,
|
|
581
583
|
zOrgOverviewResponse: () => zOrgOverviewResponse,
|
|
584
|
+
zOrgOverviewToday: () => zOrgOverviewToday,
|
|
585
|
+
zOrgOverviewUsage: () => zOrgOverviewUsage,
|
|
586
|
+
zOrgOverviewUsageDay: () => zOrgOverviewUsageDay,
|
|
587
|
+
zOrgOverviewUsageDayModel: () => zOrgOverviewUsageDayModel,
|
|
588
|
+
zOrgOverviewUsageDayProfile: () => zOrgOverviewUsageDayProfile,
|
|
589
|
+
zOrgOverviewUsageModel: () => zOrgOverviewUsageModel,
|
|
590
|
+
zOrgOverviewUsageProfile: () => zOrgOverviewUsageProfile,
|
|
582
591
|
zOrgSecretOwner: () => zOrgSecretOwner,
|
|
583
592
|
zOrgSecretOwnerInput: () => zOrgSecretOwnerInput,
|
|
584
593
|
zOrgSkillOwner: () => zOrgSkillOwner,
|
|
@@ -1044,7 +1053,9 @@ var zCreateModelProviderConfigRequest = z.object({
|
|
|
1044
1053
|
service: z.string().min(1).max(64).optional(),
|
|
1045
1054
|
region: z.string().min(1).max(64).optional()
|
|
1046
1055
|
}).optional(),
|
|
1047
|
-
credential_secret_id: zSecretId
|
|
1056
|
+
credential_secret_id: zSecretId,
|
|
1057
|
+
headers: z.record(z.string(), z.string()).optional(),
|
|
1058
|
+
secret_headers: z.record(z.string(), zSecretId).optional()
|
|
1048
1059
|
});
|
|
1049
1060
|
var zUpdateModelProviderConfigRequest = z.object({
|
|
1050
1061
|
base_url: z.string().min(1).optional(),
|
|
@@ -1057,7 +1068,9 @@ var zUpdateModelProviderConfigRequest = z.object({
|
|
|
1057
1068
|
service: z.string().min(1).max(64).optional(),
|
|
1058
1069
|
region: z.string().min(1).max(64).optional()
|
|
1059
1070
|
}).optional(),
|
|
1060
|
-
credential_secret_id: zSecretId.optional()
|
|
1071
|
+
credential_secret_id: zSecretId.optional(),
|
|
1072
|
+
headers: z.record(z.string(), z.string()).optional(),
|
|
1073
|
+
secret_headers: z.record(z.string(), zSecretId).optional()
|
|
1061
1074
|
});
|
|
1062
1075
|
var zSecretGrantId = z.string().regex(/^sgr_[a-z2-7]{26}$/);
|
|
1063
1076
|
var zDaemonRuntimeId = z.string().regex(/^drt_[a-z2-7]{26}$/);
|
|
@@ -1084,6 +1097,8 @@ var zModelProviderConfig = z.object({
|
|
|
1084
1097
|
region: z.string().min(1).max(64).optional()
|
|
1085
1098
|
}),
|
|
1086
1099
|
credential_secret_id: zSecretId,
|
|
1100
|
+
headers: z.record(z.string(), z.string()),
|
|
1101
|
+
secret_headers: z.record(z.string(), zSecretId),
|
|
1087
1102
|
created_at: zTimestamp,
|
|
1088
1103
|
updated_at: zTimestamp
|
|
1089
1104
|
});
|
|
@@ -3071,10 +3086,22 @@ var zListProjectsResponse = z.object({
|
|
|
3071
3086
|
data: z.array(zVisibleProject),
|
|
3072
3087
|
next_cursor: z.string().nullable()
|
|
3073
3088
|
});
|
|
3074
|
-
var
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3089
|
+
var zOrgOverviewAgentProfileReference = z.object({
|
|
3090
|
+
id: zAgentProfileId,
|
|
3091
|
+
name: zResourceName,
|
|
3092
|
+
agent_count: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3093
|
+
});
|
|
3094
|
+
var zOrgOverviewToday = z.object({
|
|
3095
|
+
agents_created: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3096
|
+
messages_sent: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3097
|
+
});
|
|
3098
|
+
var zOrgOverviewUsageDayModel = z.object({
|
|
3099
|
+
id: zConfiguredModelId,
|
|
3100
|
+
tokens: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3101
|
+
});
|
|
3102
|
+
var zOrgOverviewUsageDayProfile = z.object({
|
|
3103
|
+
id: zAgentProfileId.optional(),
|
|
3104
|
+
tokens: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
|
|
3078
3105
|
});
|
|
3079
3106
|
var zUsageTokenTotals = z.object({
|
|
3080
3107
|
input_tokens_total: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
@@ -3093,6 +3120,37 @@ var zUsageTotals = z.object({
|
|
|
3093
3120
|
tokens: zUsageTokenTotals,
|
|
3094
3121
|
cost: zUsageCostTotals
|
|
3095
3122
|
});
|
|
3123
|
+
var zOrgOverviewUsageModel = z.object({
|
|
3124
|
+
id: zConfiguredModelId,
|
|
3125
|
+
name: zResourceName,
|
|
3126
|
+
totals: zUsageTotals
|
|
3127
|
+
});
|
|
3128
|
+
var zOrgOverviewUsageProfile = z.object({
|
|
3129
|
+
id: zAgentProfileId.optional(),
|
|
3130
|
+
name: zResourceName.optional(),
|
|
3131
|
+
totals: zUsageTotals
|
|
3132
|
+
});
|
|
3133
|
+
var zOrgOverviewUsageDay = z.object({
|
|
3134
|
+
start: zTimestamp,
|
|
3135
|
+
totals: zUsageTotals,
|
|
3136
|
+
models: z.array(zOrgOverviewUsageDayModel),
|
|
3137
|
+
profiles: z.array(zOrgOverviewUsageDayProfile)
|
|
3138
|
+
});
|
|
3139
|
+
var zOrgOverviewUsage = z.object({
|
|
3140
|
+
totals: zUsageTotals,
|
|
3141
|
+
active_agents: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }),
|
|
3142
|
+
models: z.array(zOrgOverviewUsageModel),
|
|
3143
|
+
profiles: z.array(zOrgOverviewUsageProfile),
|
|
3144
|
+
days: z.array(zOrgOverviewUsageDay)
|
|
3145
|
+
});
|
|
3146
|
+
var zOrgOverviewResponse = z.object({
|
|
3147
|
+
projects: z.array(zVisibleProject),
|
|
3148
|
+
recent_agents: z.array(zAgent),
|
|
3149
|
+
recent_agent_profiles: z.array(zAgentProfileSummary),
|
|
3150
|
+
referenced_agent_profiles: z.array(zOrgOverviewAgentProfileReference),
|
|
3151
|
+
today: zOrgOverviewToday,
|
|
3152
|
+
usage: zOrgOverviewUsage
|
|
3153
|
+
});
|
|
3096
3154
|
var zUsageModel = z.object({
|
|
3097
3155
|
configured_model_id: zConfiguredModelId,
|
|
3098
3156
|
name: zResourceName,
|
|
@@ -3242,6 +3300,9 @@ var zDeclineInvitationResponse = zOrgInvitation;
|
|
|
3242
3300
|
var zGetOrgOverviewPath = z.object({
|
|
3243
3301
|
orgID: zOrganizationId
|
|
3244
3302
|
});
|
|
3303
|
+
var zGetOrgOverviewQuery = z.object({
|
|
3304
|
+
timezone: z.string().max(64).optional().default("UTC")
|
|
3305
|
+
});
|
|
3245
3306
|
var zGetOrgOverviewResponse = zOrgOverviewResponse;
|
|
3246
3307
|
var zGetOrgUsagePath = z.object({
|
|
3247
3308
|
orgID: zOrganizationId
|
|
@@ -4649,10 +4710,18 @@ export {
|
|
|
4649
4710
|
zProjectAccess,
|
|
4650
4711
|
zVisibleProject,
|
|
4651
4712
|
zListProjectsResponse,
|
|
4652
|
-
|
|
4713
|
+
zOrgOverviewAgentProfileReference,
|
|
4714
|
+
zOrgOverviewToday,
|
|
4715
|
+
zOrgOverviewUsageDayModel,
|
|
4716
|
+
zOrgOverviewUsageDayProfile,
|
|
4653
4717
|
zUsageTokenTotals,
|
|
4654
4718
|
zUsageCostTotals,
|
|
4655
4719
|
zUsageTotals,
|
|
4720
|
+
zOrgOverviewUsageModel,
|
|
4721
|
+
zOrgOverviewUsageProfile,
|
|
4722
|
+
zOrgOverviewUsageDay,
|
|
4723
|
+
zOrgOverviewUsage,
|
|
4724
|
+
zOrgOverviewResponse,
|
|
4656
4725
|
zUsageModel,
|
|
4657
4726
|
zModelUsageTotals,
|
|
4658
4727
|
zUsageReport,
|
|
@@ -4712,6 +4781,7 @@ export {
|
|
|
4712
4781
|
zDeclineInvitationPath,
|
|
4713
4782
|
zDeclineInvitationResponse,
|
|
4714
4783
|
zGetOrgOverviewPath,
|
|
4784
|
+
zGetOrgOverviewQuery,
|
|
4715
4785
|
zGetOrgOverviewResponse,
|
|
4716
4786
|
zGetOrgUsagePath,
|
|
4717
4787
|
zGetOrgUsageQuery,
|
|
@@ -5081,4 +5151,4 @@ export {
|
|
|
5081
5151
|
zDownloadDaemonArtifactResponse,
|
|
5082
5152
|
zod_gen_exports
|
|
5083
5153
|
};
|
|
5084
|
-
//# sourceMappingURL=chunk-
|
|
5154
|
+
//# sourceMappingURL=chunk-6CE5XUEF.js.map
|