@aviaryhq/cloudglue-js 0.5.1 → 0.5.2
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/generated/Face_Detection.d.ts +24 -0
- package/dist/generated/Face_Detection.js +17 -0
- package/dist/generated/Face_Match.d.ts +24 -0
- package/dist/generated/Face_Match.js +17 -0
- package/dist/generated/Search.d.ts +16 -0
- package/dist/generated/Search.js +10 -0
- package/dist/src/api/face-detection.api.d.ts +3 -0
- package/dist/src/api/face-match.api.d.ts +4 -1
- package/dist/src/api/search.api.d.ts +2 -0
- package/dist/src/client.js +1 -1
- package/package.json +1 -1
|
@@ -117,6 +117,18 @@ export declare const Face_DetectionApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
117
117
|
name: "offset";
|
|
118
118
|
type: "Query";
|
|
119
119
|
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
120
|
+
}, {
|
|
121
|
+
name: "created_before";
|
|
122
|
+
type: "Query";
|
|
123
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
124
|
+
}, {
|
|
125
|
+
name: "created_after";
|
|
126
|
+
type: "Query";
|
|
127
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, {
|
|
129
|
+
name: "status";
|
|
130
|
+
type: "Query";
|
|
131
|
+
schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
|
|
120
132
|
}];
|
|
121
133
|
response: z.ZodType<FaceDetectionListResponse, z.ZodTypeDef, FaceDetectionListResponse>;
|
|
122
134
|
}, {
|
|
@@ -268,6 +280,18 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
268
280
|
name: "offset";
|
|
269
281
|
type: "Query";
|
|
270
282
|
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
283
|
+
}, {
|
|
284
|
+
name: "created_before";
|
|
285
|
+
type: "Query";
|
|
286
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
287
|
+
}, {
|
|
288
|
+
name: "created_after";
|
|
289
|
+
type: "Query";
|
|
290
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
291
|
+
}, {
|
|
292
|
+
name: "status";
|
|
293
|
+
type: "Query";
|
|
294
|
+
schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
|
|
271
295
|
}];
|
|
272
296
|
response: z.ZodType<FaceDetectionListResponse, z.ZodTypeDef, FaceDetectionListResponse>;
|
|
273
297
|
}, {
|
|
@@ -126,6 +126,23 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
126
126
|
type: 'Query',
|
|
127
127
|
schema: zod_1.z.number().int().gte(0).optional().default(0),
|
|
128
128
|
},
|
|
129
|
+
{
|
|
130
|
+
name: 'created_before',
|
|
131
|
+
type: 'Query',
|
|
132
|
+
schema: zod_1.z.string().optional(),
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'created_after',
|
|
136
|
+
type: 'Query',
|
|
137
|
+
schema: zod_1.z.string().optional(),
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'status',
|
|
141
|
+
type: 'Query',
|
|
142
|
+
schema: zod_1.z
|
|
143
|
+
.enum(['pending', 'processing', 'completed', 'failed'])
|
|
144
|
+
.optional(),
|
|
145
|
+
},
|
|
129
146
|
],
|
|
130
147
|
response: FaceDetectionListResponse,
|
|
131
148
|
},
|
|
@@ -137,6 +137,18 @@ export declare const Face_MatchApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
137
137
|
name: "offset";
|
|
138
138
|
type: "Query";
|
|
139
139
|
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
140
|
+
}, {
|
|
141
|
+
name: "created_before";
|
|
142
|
+
type: "Query";
|
|
143
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
144
|
+
}, {
|
|
145
|
+
name: "created_after";
|
|
146
|
+
type: "Query";
|
|
147
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, {
|
|
149
|
+
name: "status";
|
|
150
|
+
type: "Query";
|
|
151
|
+
schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
|
|
140
152
|
}];
|
|
141
153
|
response: z.ZodType<FaceMatchListResponse, z.ZodTypeDef, FaceMatchListResponse>;
|
|
142
154
|
}, {
|
|
@@ -291,6 +303,18 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
291
303
|
name: "offset";
|
|
292
304
|
type: "Query";
|
|
293
305
|
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
306
|
+
}, {
|
|
307
|
+
name: "created_before";
|
|
308
|
+
type: "Query";
|
|
309
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
310
|
+
}, {
|
|
311
|
+
name: "created_after";
|
|
312
|
+
type: "Query";
|
|
313
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, {
|
|
315
|
+
name: "status";
|
|
316
|
+
type: "Query";
|
|
317
|
+
schema: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
|
|
294
318
|
}];
|
|
295
319
|
response: z.ZodType<FaceMatchListResponse, z.ZodTypeDef, FaceMatchListResponse>;
|
|
296
320
|
}, {
|
|
@@ -140,6 +140,23 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
140
140
|
type: 'Query',
|
|
141
141
|
schema: zod_1.z.number().int().gte(0).optional().default(0),
|
|
142
142
|
},
|
|
143
|
+
{
|
|
144
|
+
name: 'created_before',
|
|
145
|
+
type: 'Query',
|
|
146
|
+
schema: zod_1.z.string().optional(),
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: 'created_after',
|
|
150
|
+
type: 'Query',
|
|
151
|
+
schema: zod_1.z.string().optional(),
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'status',
|
|
155
|
+
type: 'Query',
|
|
156
|
+
schema: zod_1.z
|
|
157
|
+
.enum(['pending', 'processing', 'completed', 'failed'])
|
|
158
|
+
.optional(),
|
|
159
|
+
},
|
|
143
160
|
],
|
|
144
161
|
response: FaceMatchListResponse,
|
|
145
162
|
},
|
|
@@ -300,6 +300,14 @@ export declare const SearchApi: import("@zodios/core").ZodiosInstance<[{
|
|
|
300
300
|
name: "offset";
|
|
301
301
|
type: "Query";
|
|
302
302
|
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
303
|
+
}, {
|
|
304
|
+
name: "created_before";
|
|
305
|
+
type: "Query";
|
|
306
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
307
|
+
}, {
|
|
308
|
+
name: "created_after";
|
|
309
|
+
type: "Query";
|
|
310
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
303
311
|
}];
|
|
304
312
|
response: z.ZodType<SearchResponseList, z.ZodTypeDef, SearchResponseList>;
|
|
305
313
|
errors: [{
|
|
@@ -445,6 +453,14 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
|
|
|
445
453
|
name: "offset";
|
|
446
454
|
type: "Query";
|
|
447
455
|
schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
456
|
+
}, {
|
|
457
|
+
name: "created_before";
|
|
458
|
+
type: "Query";
|
|
459
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
460
|
+
}, {
|
|
461
|
+
name: "created_after";
|
|
462
|
+
type: "Query";
|
|
463
|
+
schema: z.ZodOptional<z.ZodString>;
|
|
448
464
|
}];
|
|
449
465
|
response: z.ZodType<SearchResponseList, z.ZodTypeDef, SearchResponseList>;
|
|
450
466
|
errors: [{
|
package/dist/generated/Search.js
CHANGED
|
@@ -307,6 +307,16 @@ const endpoints = (0, core_1.makeApi)([
|
|
|
307
307
|
type: 'Query',
|
|
308
308
|
schema: zod_1.z.number().int().gte(0).optional().default(0),
|
|
309
309
|
},
|
|
310
|
+
{
|
|
311
|
+
name: 'created_before',
|
|
312
|
+
type: 'Query',
|
|
313
|
+
schema: zod_1.z.string().optional(),
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: 'created_after',
|
|
317
|
+
type: 'Query',
|
|
318
|
+
schema: zod_1.z.string().optional(),
|
|
319
|
+
},
|
|
310
320
|
],
|
|
311
321
|
response: SearchResponseList,
|
|
312
322
|
errors: [
|
|
@@ -57,6 +57,9 @@ export declare class EnhancedFaceDetectionApi {
|
|
|
57
57
|
listFaceDetections(params?: {
|
|
58
58
|
limit?: number;
|
|
59
59
|
offset?: number;
|
|
60
|
+
created_before?: string;
|
|
61
|
+
created_after?: string;
|
|
62
|
+
status?: 'pending' | 'processing' | 'completed' | 'failed';
|
|
60
63
|
}): Promise<import("../../generated/common").PaginationResponse & Partial<{
|
|
61
64
|
data: Array<{
|
|
62
65
|
job_id: string;
|
|
@@ -69,8 +69,11 @@ export declare class EnhancedFaceMatchApi {
|
|
|
69
69
|
object: import("zod").ZodLiteral<"face_match">;
|
|
70
70
|
}, import("zod").ZodTypeAny, "passthrough">>;
|
|
71
71
|
listFaceMatches(params?: {
|
|
72
|
-
limit?: number;
|
|
73
72
|
offset?: number;
|
|
73
|
+
limit?: number;
|
|
74
|
+
created_before?: string;
|
|
75
|
+
created_after?: string;
|
|
76
|
+
status?: 'pending' | 'processing' | 'completed' | 'failed';
|
|
74
77
|
}): Promise<import("../../generated/common").PaginationResponse & Partial<{
|
|
75
78
|
data: Array<{
|
|
76
79
|
job_id: string;
|
package/dist/src/client.js
CHANGED