@aviaryhq/cloudglue-js 0.4.11 → 0.4.13

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.
Files changed (66) hide show
  1. package/dist/generated/Chat.d.ts +8 -8
  2. package/dist/generated/Chat.js +30 -30
  3. package/dist/generated/Collections.d.ts +25 -23
  4. package/dist/generated/Collections.js +266 -264
  5. package/dist/generated/Describe.d.ts +7 -7
  6. package/dist/generated/Describe.js +58 -58
  7. package/dist/generated/Extract.d.ts +6 -6
  8. package/dist/generated/Extract.js +52 -52
  9. package/dist/generated/Face_Detection.d.ts +6 -6
  10. package/dist/generated/Face_Detection.js +25 -25
  11. package/dist/generated/Face_Match.d.ts +6 -6
  12. package/dist/generated/Face_Match.js +26 -26
  13. package/dist/generated/Files.d.ts +1009 -10
  14. package/dist/generated/Files.js +247 -115
  15. package/dist/generated/Frames.d.ts +2 -2
  16. package/dist/generated/Frames.js +17 -17
  17. package/dist/generated/Search.d.ts +212 -19
  18. package/dist/generated/Search.js +143 -30
  19. package/dist/generated/Segmentations.d.ts +208 -2
  20. package/dist/generated/Segmentations.js +34 -29
  21. package/dist/generated/Segments.d.ts +13 -13
  22. package/dist/generated/Segments.js +49 -49
  23. package/dist/generated/Tags.d.ts +660 -0
  24. package/dist/generated/Tags.js +160 -0
  25. package/dist/generated/Transcribe.d.ts +7 -7
  26. package/dist/generated/Transcribe.js +46 -46
  27. package/dist/generated/Webhooks.d.ts +5 -5
  28. package/dist/generated/Webhooks.js +61 -61
  29. package/dist/generated/common.d.ts +391 -11
  30. package/dist/generated/common.js +63 -28
  31. package/dist/generated/index.d.ts +14 -13
  32. package/dist/generated/index.js +3 -1
  33. package/dist/src/api/chat-completion.api.d.ts +38 -0
  34. package/dist/src/api/chat-completion.api.js +15 -0
  35. package/dist/src/api/collections.api.d.ts +666 -0
  36. package/dist/src/api/collections.api.js +134 -0
  37. package/dist/src/api/describe.api.d.ts +153 -0
  38. package/dist/src/api/describe.api.js +57 -0
  39. package/dist/src/api/extract.api.d.ts +144 -0
  40. package/dist/src/api/extract.api.js +55 -0
  41. package/dist/src/api/face-detection.api.d.ts +77 -0
  42. package/dist/src/api/face-detection.api.js +41 -0
  43. package/dist/src/api/face-match.api.d.ts +94 -0
  44. package/dist/src/api/face-match.api.js +41 -0
  45. package/dist/src/api/files.api.d.ts +705 -0
  46. package/dist/src/api/files.api.js +146 -0
  47. package/dist/src/api/frame-extraction.api.d.ts +264 -0
  48. package/dist/src/api/frame-extraction.api.js +37 -0
  49. package/dist/src/api/search.api.d.ts +316 -0
  50. package/dist/src/api/search.api.js +22 -0
  51. package/dist/src/api/segmentations.api.d.ts +395 -0
  52. package/dist/src/api/segmentations.api.js +36 -0
  53. package/dist/src/api/segments.api.d.ts +141 -0
  54. package/dist/src/api/segments.api.js +40 -0
  55. package/dist/src/api/tags.api.d.ts +71 -0
  56. package/dist/src/api/tags.api.js +31 -0
  57. package/dist/src/api/transcribe.api.d.ts +150 -0
  58. package/dist/src/api/transcribe.api.js +65 -0
  59. package/dist/src/api/webhooks.api.d.ts +69 -0
  60. package/dist/src/api/webhooks.api.js +28 -0
  61. package/dist/src/client.d.ts +20 -2967
  62. package/dist/src/client.js +55 -643
  63. package/dist/src/error.d.ts +7 -0
  64. package/dist/src/error.js +14 -0
  65. package/dist/src/types.d.ts +20 -8
  66. package/package.json +2 -1
@@ -39,12 +39,12 @@ const FaceMatch = zod_1.z
39
39
  face_detection_id: zod_1.z.string().uuid().optional(),
40
40
  frame_extraction_id: zod_1.z.string().uuid().optional(),
41
41
  file_id: zod_1.z.string().uuid().optional(),
42
- status: zod_1.z.enum(["pending", "processing", "completed", "failed"]),
42
+ status: zod_1.z.enum(['pending', 'processing', 'completed', 'failed']),
43
43
  created_at: zod_1.z.number(),
44
44
  source_face_bounding_box: common_1.FaceBoundingBox.nullish(),
45
45
  data: zod_1.z
46
46
  .object({
47
- object: zod_1.z.literal("list"),
47
+ object: zod_1.z.literal('list'),
48
48
  total: zod_1.z.number().int(),
49
49
  limit: zod_1.z.number().int().gte(1).lte(100),
50
50
  offset: zod_1.z.number().int().gte(0),
@@ -65,16 +65,16 @@ exports.schemas = {
65
65
  };
66
66
  const endpoints = (0, core_1.makeApi)([
67
67
  {
68
- method: "post",
69
- path: "/face-match",
70
- alias: "createFaceMatch",
68
+ method: 'post',
69
+ path: '/face-match',
70
+ alias: 'createFaceMatch',
71
71
  description: `Search for a source face in a target video using facial recognition`,
72
- requestFormat: "json",
72
+ requestFormat: 'json',
73
73
  parameters: [
74
74
  {
75
- name: "body",
75
+ name: 'body',
76
76
  description: `Face match request parameters`,
77
- type: "Body",
77
+ type: 'Body',
78
78
  schema: FaceMatchRequest,
79
79
  },
80
80
  ],
@@ -103,25 +103,25 @@ const endpoints = (0, core_1.makeApi)([
103
103
  ],
104
104
  },
105
105
  {
106
- method: "get",
107
- path: "/face-match/:face_match_id",
108
- alias: "getFaceMatch",
106
+ method: 'get',
107
+ path: '/face-match/:face_match_id',
108
+ alias: 'getFaceMatch',
109
109
  description: `Retrieve face match results including detected faces and similarity scores`,
110
- requestFormat: "json",
110
+ requestFormat: 'json',
111
111
  parameters: [
112
112
  {
113
- name: "face_match_id",
114
- type: "Path",
113
+ name: 'face_match_id',
114
+ type: 'Path',
115
115
  schema: zod_1.z.string().uuid(),
116
116
  },
117
117
  {
118
- name: "limit",
119
- type: "Query",
118
+ name: 'limit',
119
+ type: 'Query',
120
120
  schema: zod_1.z.number().int().gte(1).lte(100).optional().default(50),
121
121
  },
122
122
  {
123
- name: "offset",
124
- type: "Query",
123
+ name: 'offset',
124
+ type: 'Query',
125
125
  schema: zod_1.z.number().int().gte(0).optional().default(0),
126
126
  },
127
127
  ],
@@ -140,22 +140,22 @@ const endpoints = (0, core_1.makeApi)([
140
140
  ],
141
141
  },
142
142
  {
143
- method: "delete",
144
- path: "/face-match/:face_match_id",
145
- alias: "deleteFaceMatch",
143
+ method: 'delete',
144
+ path: '/face-match/:face_match_id',
145
+ alias: 'deleteFaceMatch',
146
146
  description: `Delete a specific face match analysis`,
147
- requestFormat: "json",
147
+ requestFormat: 'json',
148
148
  parameters: [
149
149
  {
150
- name: "face_match_id",
151
- type: "Path",
150
+ name: 'face_match_id',
151
+ type: 'Path',
152
152
  schema: zod_1.z.string().uuid(),
153
153
  },
154
154
  ],
155
155
  response: zod_1.z
156
156
  .object({
157
157
  face_match_id: zod_1.z.string().uuid(),
158
- object: zod_1.z.literal("face_match"),
158
+ object: zod_1.z.literal('face_match'),
159
159
  })
160
160
  .strict()
161
161
  .passthrough(),
@@ -173,7 +173,7 @@ const endpoints = (0, core_1.makeApi)([
173
173
  ],
174
174
  },
175
175
  ]);
176
- exports.Face_MatchApi = new core_1.Zodios("https://api.cloudglue.dev/v1", endpoints);
176
+ exports.Face_MatchApi = new core_1.Zodios('https://api.cloudglue.dev/v1', endpoints);
177
177
  function createApiClient(baseUrl, options) {
178
178
  return new core_1.Zodios(baseUrl, endpoints, options);
179
179
  }