@omnara/sdk 0.1.6 → 0.1.7

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.
@@ -641,6 +641,7 @@ __export(zod_gen_exports, {
641
641
  zSkill: () => zSkill,
642
642
  zSkillAvailability: () => zSkillAvailability,
643
643
  zSkillAvailabilitySourceFilter: () => zSkillAvailabilitySourceFilter,
644
+ zSkillFile: () => zSkillFile,
644
645
  zSkillGrant: () => zSkillGrant,
645
646
  zSkillGrantCreateRequest: () => zSkillGrantCreateRequest,
646
647
  zSkillGrantId: () => zSkillGrantId,
@@ -739,6 +740,10 @@ __export(zod_gen_exports, {
739
740
  zUpdateSecretPath: () => zUpdateSecretPath,
740
741
  zUpdateSecretRequest: () => zUpdateSecretRequest,
741
742
  zUpdateSecretResponse: () => zUpdateSecretResponse,
743
+ zUpdateSkillBody: () => zUpdateSkillBody,
744
+ zUpdateSkillPath: () => zUpdateSkillPath,
745
+ zUpdateSkillRequest: () => zUpdateSkillRequest,
746
+ zUpdateSkillResponse: () => zUpdateSkillResponse,
742
747
  zUploadArtifactResponse: () => zUploadArtifactResponse,
743
748
  zUploadDaemonArtifactBody: () => zUploadDaemonArtifactBody,
744
749
  zUploadDaemonArtifactPath: () => zUploadDaemonArtifactPath,
@@ -1115,6 +1120,21 @@ var zCreateSkillRequest = z.object({
1115
1120
  owner: zSkillOwnerInput,
1116
1121
  archive: z.string()
1117
1122
  });
1123
+ var zUpdateSkillRequest = z.intersection(z.union([
1124
+ z.object({
1125
+ archive: z.string()
1126
+ }),
1127
+ z.object({
1128
+ skill_md: z.string()
1129
+ })
1130
+ ]), z.object({
1131
+ archive: z.string().optional(),
1132
+ skill_md: z.string().optional()
1133
+ }));
1134
+ var zSkillFile = z.object({
1135
+ path: z.string(),
1136
+ size: z.coerce.bigint().gte(BigInt(0)).max(BigInt("9223372036854775807"), { error: "Invalid value: Expected int64 to be <= 9223372036854775807" })
1137
+ });
1118
1138
  var zSkill = z.object({
1119
1139
  id: zSkillId,
1120
1140
  org_id: zOrganizationId,
@@ -1124,6 +1144,7 @@ var zSkill = z.object({
1124
1144
  revision: z.int().gte(1).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }),
1125
1145
  description: z.string(),
1126
1146
  skill_md: z.string().optional(),
1147
+ files: z.array(zSkillFile).optional(),
1127
1148
  created_at: zTimestamp,
1128
1149
  updated_at: zTimestamp
1129
1150
  });
@@ -1610,6 +1631,15 @@ var zInlineMediaContentBlock = z.object({
1610
1631
  "text/markdown",
1611
1632
  "text/csv",
1612
1633
  "text/tab-separated-values",
1634
+ "text/x-iif",
1635
+ "application/msword",
1636
+ "application/rtf",
1637
+ "application/vnd.oasis.opendocument.text",
1638
+ "application/vnd.apple.pages",
1639
+ "application/vnd.apple.keynote",
1640
+ "application/vnd.apple.iwork",
1641
+ "application/vnd.ms-powerpoint",
1642
+ "application/vnd.ms-excel",
1613
1643
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
1614
1644
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
1615
1645
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
@@ -3047,6 +3077,12 @@ var zGetSkillPath = z.object({
3047
3077
  skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
3048
3078
  });
3049
3079
  var zGetSkillResponse = zSkill;
3080
+ var zUpdateSkillBody = zUpdateSkillRequest;
3081
+ var zUpdateSkillPath = z.object({
3082
+ orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
3083
+ skillID: z.string().regex(/^skl_[a-z2-7]{26}$/)
3084
+ });
3085
+ var zUpdateSkillResponse = zSkill;
3050
3086
  var zListSkillGrantsPath = z.object({
3051
3087
  orgID: z.string().regex(/^org_[a-z2-7]{26}$/),
3052
3088
  skillID: zSkillId
@@ -3947,6 +3983,8 @@ export {
3947
3983
  zUserSkillOwner,
3948
3984
  zSkillOwner,
3949
3985
  zCreateSkillRequest,
3986
+ zUpdateSkillRequest,
3987
+ zSkillFile,
3950
3988
  zSkill,
3951
3989
  zListSkillsResponse,
3952
3990
  zDirectSkillAvailability,
@@ -4320,6 +4358,9 @@ export {
4320
4358
  zDeleteSkillResponse,
4321
4359
  zGetSkillPath,
4322
4360
  zGetSkillResponse,
4361
+ zUpdateSkillBody,
4362
+ zUpdateSkillPath,
4363
+ zUpdateSkillResponse,
4323
4364
  zListSkillGrantsPath,
4324
4365
  zListSkillGrantsQuery,
4325
4366
  zListSkillGrantsResponse2,
@@ -4608,4 +4649,4 @@ export {
4608
4649
  zDownloadDaemonArtifactResponse,
4609
4650
  zod_gen_exports
4610
4651
  };
4611
- //# sourceMappingURL=chunk-6LZMFDIZ.js.map
4652
+ //# sourceMappingURL=chunk-WR57Q743.js.map