repzo 1.0.291 → 1.0.293
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/changelog.md +28 -0
- package/lib/index.d.ts +244 -2
- package/lib/index.js +541 -0
- package/lib/types/index.d.ts +4533 -1
- package/package.json +1 -1
- package/src/index.ts +1270 -0
- package/src/oas/activity-ai-object-detection-session-frame.yaml +600 -0
- package/src/oas/ai-object-detection-assigned-missions.yaml +283 -0
- package/src/oas/ai-object-detection-assignment-rule.yaml +357 -0
- package/src/oas/ai-object-detection-category.yaml +338 -0
- package/src/oas/ai-object-detection-dataset.yaml +342 -0
- package/src/oas/ai-object-detection-detection-settings.yaml +410 -0
- package/src/oas/ai-object-detection-inference.yaml +818 -0
- package/src/oas/ai-object-detection-label-group.yaml +265 -0
- package/src/oas/ai-object-detection-label-report.yaml +366 -0
- package/src/oas/ai-object-detection-label.yaml +395 -0
- package/src/oas/ai-object-detection-metric-result.yaml +734 -0
- package/src/oas/ai-object-detection-metric.yaml +559 -0
- package/src/oas/ai-object-detection-mission-results.yaml +370 -0
- package/src/oas/ai-object-detection-mission-set.yaml +250 -0
- package/src/oas/ai-object-detection-mission.yaml +349 -0
- package/src/oas/ai-object-detection-model-version-epoch.yaml +214 -0
- package/src/oas/ai-object-detection-model-version-train-agent.yaml +88 -0
- package/src/oas/ai-object-detection-model-version.yaml +567 -0
- package/src/oas/ai-object-detection-model.yaml +369 -0
- package/src/oas/ai-object-detection-segment.yaml +301 -0
- package/src/oas/ai-object-detection-session-analysis.yaml +1306 -0
- package/src/oas/ai-object-detection-session-election.yaml +193 -0
- package/src/oas/ai-object-detection-session-insight.yaml +418 -0
- package/src/oas/ai-object-detection-session.yaml +840 -0
- package/src/oas/ai-object-detection-settings.yaml +249 -0
- package/src/oas/ai-object-detection-task.yaml +1007 -0
- package/src/oas/object-detection-analytics-report.yaml +674 -0
- package/src/types/index.ts +5159 -1
package/lib/index.js
CHANGED
|
@@ -152,6 +152,33 @@ export const end_points = {
|
|
|
152
152
|
BULK_EXPORT: "bulk-export",
|
|
153
153
|
DELIVERY_NOTE: "delivery-note",
|
|
154
154
|
RESERVATION: "reservation",
|
|
155
|
+
AI_OBJECT_DETECTION_DATASET: "ai-object-detection-dataset",
|
|
156
|
+
AI_OBJECT_DETECTION_MODEL: "ai-object-detection-model",
|
|
157
|
+
AI_OBJECT_DETECTION_MODEL_VERSION: "ai-object-detection-model-version",
|
|
158
|
+
AI_OBJECT_DETECTION_MODEL_VERSION_EPOCH: "ai-object-detection-model-version-epoch",
|
|
159
|
+
AI_OBJECT_DETECTION_MODEL_VERSION_TRAIN_AGENT: "ai-object-detection-model-version-train-agent",
|
|
160
|
+
AI_OBJECT_DETECTION_LABEL: "ai-object-detection-label",
|
|
161
|
+
AI_OBJECT_DETECTION_LABEL_GROUP: "ai-object-detection-label-group",
|
|
162
|
+
AI_OBJECT_DETECTION_CATEGORY: "ai-object-detection-category",
|
|
163
|
+
AI_OBJECT_DETECTION_SEGMENT: "ai-object-detection-segment",
|
|
164
|
+
AI_OBJECT_DETECTION_LABEL_REPORT: "ai-object-detection-label-report",
|
|
165
|
+
AI_OBJECT_DETECTION_SETTINGS: "ai-object-detection-settings",
|
|
166
|
+
AI_OBJECT_DETECTION_DETECTION_SETTINGS: "ai-object-detection-detection-settings",
|
|
167
|
+
AI_OBJECT_DETECTION_INFERENCE: "ai-object-detection-inference",
|
|
168
|
+
AI_OBJECT_DETECTION_TASK: "ai-object-detection-task",
|
|
169
|
+
AI_OBJECT_DETECTION_SESSION: "ai-object-detection-session",
|
|
170
|
+
ACTIVITY_AI_OBJECT_DETECTION_SESSION_FRAME: "activity-ai-object-detection-session-frame",
|
|
171
|
+
AI_OBJECT_DETECTION_SESSION_ANALYSIS: "ai-object-detection-session-analysis",
|
|
172
|
+
AI_OBJECT_DETECTION_SESSION_ELECTION: "ai-object-detection-session-election",
|
|
173
|
+
AI_OBJECT_DETECTION_SESSION_INSIGHT: "ai-object-detection-session-insight",
|
|
174
|
+
AI_OBJECT_DETECTION_METRIC: "ai-object-detection-metric",
|
|
175
|
+
AI_OBJECT_DETECTION_METRIC_RESULT: "ai-object-detection-metric-result",
|
|
176
|
+
AI_OBJECT_DETECTION_MISSION: "ai-object-detection-mission",
|
|
177
|
+
AI_OBJECT_DETECTION_MISSION_SET: "ai-object-detection-mission-set",
|
|
178
|
+
AI_OBJECT_DETECTION_MISSION_RESULTS: "ai-object-detection-mission-results",
|
|
179
|
+
AI_OBJECT_DETECTION_ASSIGNMENT_RULE: "ai-object-detection-assignment-rule",
|
|
180
|
+
AI_OBJECT_DETECTION_ASSIGNED_MISSIONS: "ai-object-detection-assigned-missions",
|
|
181
|
+
OBJECT_DETECTION_ANALYTICS_REPORT: "object-detection-analytics-report",
|
|
155
182
|
};
|
|
156
183
|
export const availableService = [
|
|
157
184
|
"client",
|
|
@@ -259,9 +286,523 @@ export const availableService = [
|
|
|
259
286
|
"lineTarget",
|
|
260
287
|
"bulkImport",
|
|
261
288
|
"bulkExport",
|
|
289
|
+
"aiObjectDetectionDataset",
|
|
290
|
+
"aiObjectDetectionModel",
|
|
291
|
+
"aiObjectDetectionModelVersion",
|
|
292
|
+
"aiObjectDetectionModelVersionEpoch",
|
|
293
|
+
"aiObjectDetectionModelVersionTrainAgent",
|
|
294
|
+
"aiObjectDetectionLabel",
|
|
295
|
+
"aiObjectDetectionLabelGroup",
|
|
296
|
+
"aiObjectDetectionCategory",
|
|
297
|
+
"aiObjectDetectionSegment",
|
|
298
|
+
"aiObjectDetectionLabelReport",
|
|
299
|
+
"aiObjectDetectionSettings",
|
|
300
|
+
"aiObjectDetectionDetectionSettings",
|
|
301
|
+
"aiObjectDetectionInference",
|
|
302
|
+
"aiObjectDetectionTask",
|
|
303
|
+
"aiObjectDetectionSession",
|
|
304
|
+
"activityAiObjectDetectionSessionFrame",
|
|
305
|
+
"aiObjectDetectionSessionAnalysis",
|
|
306
|
+
"aiObjectDetectionSessionElection",
|
|
307
|
+
"aiObjectDetectionSessionInsight",
|
|
308
|
+
"aiObjectDetectionMetric",
|
|
309
|
+
"aiObjectDetectionMetricResult",
|
|
310
|
+
"aiObjectDetectionMission",
|
|
311
|
+
"aiObjectDetectionMissionSet",
|
|
312
|
+
"aiObjectDetectionMissionResults",
|
|
313
|
+
"aiObjectDetectionAssignmentRule",
|
|
314
|
+
"aiObjectDetectionAssignedMissions",
|
|
315
|
+
"objectDetectionAnalyticsReport",
|
|
262
316
|
];
|
|
263
317
|
class Repzo {
|
|
264
318
|
constructor(apiKey, options) {
|
|
319
|
+
this.aiObjectDetectionDataset = {
|
|
320
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_DATASET,
|
|
321
|
+
find: async (params) => {
|
|
322
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionDataset._path, params);
|
|
323
|
+
return res;
|
|
324
|
+
},
|
|
325
|
+
get: async (id, params) => {
|
|
326
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionDataset._path + `/${id}`, params);
|
|
327
|
+
},
|
|
328
|
+
create: async (body) => {
|
|
329
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionDataset._path, body);
|
|
330
|
+
return res;
|
|
331
|
+
},
|
|
332
|
+
update: async (id, body) => {
|
|
333
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionDataset._path + `/${id}`, body);
|
|
334
|
+
return res;
|
|
335
|
+
},
|
|
336
|
+
remove: async (id) => {
|
|
337
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionDataset._path + `/${id}`);
|
|
338
|
+
return res;
|
|
339
|
+
},
|
|
340
|
+
};
|
|
341
|
+
this.aiObjectDetectionModel = {
|
|
342
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL,
|
|
343
|
+
find: async (params) => {
|
|
344
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModel._path, params);
|
|
345
|
+
return res;
|
|
346
|
+
},
|
|
347
|
+
get: async (id, params) => {
|
|
348
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModel._path + `/${id}`, params);
|
|
349
|
+
},
|
|
350
|
+
create: async (body) => {
|
|
351
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionModel._path, body);
|
|
352
|
+
return res;
|
|
353
|
+
},
|
|
354
|
+
update: async (id, body) => {
|
|
355
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionModel._path + `/${id}`, body);
|
|
356
|
+
return res;
|
|
357
|
+
},
|
|
358
|
+
remove: async (id) => {
|
|
359
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionModel._path + `/${id}`);
|
|
360
|
+
return res;
|
|
361
|
+
},
|
|
362
|
+
};
|
|
363
|
+
this.aiObjectDetectionModelVersion = {
|
|
364
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL_VERSION,
|
|
365
|
+
find: async (params) => {
|
|
366
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModelVersion._path, params);
|
|
367
|
+
return res;
|
|
368
|
+
},
|
|
369
|
+
get: async (id, params) => {
|
|
370
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModelVersion._path + `/${id}`, params);
|
|
371
|
+
},
|
|
372
|
+
create: async (body) => {
|
|
373
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionModelVersion._path, body);
|
|
374
|
+
return res;
|
|
375
|
+
},
|
|
376
|
+
remove: async (id) => {
|
|
377
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionModelVersion._path + `/${id}`);
|
|
378
|
+
return res;
|
|
379
|
+
},
|
|
380
|
+
};
|
|
381
|
+
this.aiObjectDetectionModelVersionEpoch = {
|
|
382
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL_VERSION_EPOCH,
|
|
383
|
+
find: async (params) => {
|
|
384
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModelVersionEpoch._path, params);
|
|
385
|
+
return res;
|
|
386
|
+
},
|
|
387
|
+
get: async (id) => {
|
|
388
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModelVersionEpoch._path + `/${id}`);
|
|
389
|
+
},
|
|
390
|
+
};
|
|
391
|
+
this.aiObjectDetectionModelVersionTrainAgent = {
|
|
392
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL_VERSION_TRAIN_AGENT,
|
|
393
|
+
get: async (id) => {
|
|
394
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionModelVersionTrainAgent._path + `/${id}`);
|
|
395
|
+
},
|
|
396
|
+
};
|
|
397
|
+
this.aiObjectDetectionLabel = {
|
|
398
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_LABEL,
|
|
399
|
+
find: async (params) => {
|
|
400
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionLabel._path, params);
|
|
401
|
+
return res;
|
|
402
|
+
},
|
|
403
|
+
get: async (id, params) => {
|
|
404
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionLabel._path + `/${id}`, params);
|
|
405
|
+
},
|
|
406
|
+
create: async (body) => {
|
|
407
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionLabel._path, body);
|
|
408
|
+
return res;
|
|
409
|
+
},
|
|
410
|
+
update: async (id, body) => {
|
|
411
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionLabel._path + `/${id}`, body);
|
|
412
|
+
return res;
|
|
413
|
+
},
|
|
414
|
+
remove: async (id) => {
|
|
415
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionLabel._path + `/${id}`);
|
|
416
|
+
return res;
|
|
417
|
+
},
|
|
418
|
+
};
|
|
419
|
+
this.aiObjectDetectionLabelGroup = {
|
|
420
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_LABEL_GROUP,
|
|
421
|
+
find: async (params) => {
|
|
422
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionLabelGroup._path, params);
|
|
423
|
+
return res;
|
|
424
|
+
},
|
|
425
|
+
get: async (id) => {
|
|
426
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionLabelGroup._path + `/${id}`);
|
|
427
|
+
},
|
|
428
|
+
create: async (body) => {
|
|
429
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionLabelGroup._path, body);
|
|
430
|
+
return res;
|
|
431
|
+
},
|
|
432
|
+
update: async (id, body) => {
|
|
433
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionLabelGroup._path + `/${id}`, body);
|
|
434
|
+
return res;
|
|
435
|
+
},
|
|
436
|
+
remove: async (id, params) => {
|
|
437
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionLabelGroup._path + `/${id}`, params);
|
|
438
|
+
return res;
|
|
439
|
+
},
|
|
440
|
+
};
|
|
441
|
+
this.aiObjectDetectionCategory = {
|
|
442
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_CATEGORY,
|
|
443
|
+
find: async (params) => {
|
|
444
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionCategory._path, params);
|
|
445
|
+
return res;
|
|
446
|
+
},
|
|
447
|
+
get: async (id) => {
|
|
448
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionCategory._path + `/${id}`);
|
|
449
|
+
},
|
|
450
|
+
create: async (body) => {
|
|
451
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionCategory._path, body);
|
|
452
|
+
return res;
|
|
453
|
+
},
|
|
454
|
+
update: async (id, body) => {
|
|
455
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionCategory._path + `/${id}`, body);
|
|
456
|
+
return res;
|
|
457
|
+
},
|
|
458
|
+
remove: async (id, params) => {
|
|
459
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionCategory._path + `/${id}`, params);
|
|
460
|
+
return res;
|
|
461
|
+
},
|
|
462
|
+
};
|
|
463
|
+
this.aiObjectDetectionSegment = {
|
|
464
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_SEGMENT,
|
|
465
|
+
find: async (params) => {
|
|
466
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSegment._path, params);
|
|
467
|
+
return res;
|
|
468
|
+
},
|
|
469
|
+
get: async (id) => {
|
|
470
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSegment._path + `/${id}`);
|
|
471
|
+
},
|
|
472
|
+
create: async (body) => {
|
|
473
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionSegment._path, body);
|
|
474
|
+
return res;
|
|
475
|
+
},
|
|
476
|
+
update: async (id, body) => {
|
|
477
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionSegment._path + `/${id}`, body);
|
|
478
|
+
return res;
|
|
479
|
+
},
|
|
480
|
+
remove: async (id) => {
|
|
481
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionSegment._path + `/${id}`);
|
|
482
|
+
return res;
|
|
483
|
+
},
|
|
484
|
+
};
|
|
485
|
+
this.aiObjectDetectionLabelReport = {
|
|
486
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_LABEL_REPORT,
|
|
487
|
+
find: async (params) => {
|
|
488
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionLabelReport._path, params);
|
|
489
|
+
return res;
|
|
490
|
+
},
|
|
491
|
+
};
|
|
492
|
+
this.aiObjectDetectionSettings = {
|
|
493
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_SETTINGS,
|
|
494
|
+
find: async () => {
|
|
495
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSettings._path);
|
|
496
|
+
return res;
|
|
497
|
+
},
|
|
498
|
+
get: async (id) => {
|
|
499
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSettings._path + `/${id}`);
|
|
500
|
+
},
|
|
501
|
+
create: async (body) => {
|
|
502
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionSettings._path, body);
|
|
503
|
+
return res;
|
|
504
|
+
},
|
|
505
|
+
update: async (id, body) => {
|
|
506
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionSettings._path + `/${id}`, body);
|
|
507
|
+
return res;
|
|
508
|
+
},
|
|
509
|
+
patch: async (body) => {
|
|
510
|
+
let res = await this._patch(this.svAPIEndpoint, this.aiObjectDetectionSettings._path, body);
|
|
511
|
+
return res;
|
|
512
|
+
},
|
|
513
|
+
remove: async (id) => {
|
|
514
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionSettings._path + `/${id}`);
|
|
515
|
+
return res;
|
|
516
|
+
},
|
|
517
|
+
};
|
|
518
|
+
this.aiObjectDetectionDetectionSettings = {
|
|
519
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_DETECTION_SETTINGS,
|
|
520
|
+
find: async () => {
|
|
521
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionDetectionSettings._path);
|
|
522
|
+
return res;
|
|
523
|
+
},
|
|
524
|
+
get: async (id) => {
|
|
525
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionDetectionSettings._path + `/${id}`);
|
|
526
|
+
},
|
|
527
|
+
create: async (body) => {
|
|
528
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionDetectionSettings._path, body);
|
|
529
|
+
return res;
|
|
530
|
+
},
|
|
531
|
+
update: async (id, body) => {
|
|
532
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionDetectionSettings._path + `/${id}`, body);
|
|
533
|
+
return res;
|
|
534
|
+
},
|
|
535
|
+
patch: async (body) => {
|
|
536
|
+
let res = await this._patch(this.svAPIEndpoint, this.aiObjectDetectionDetectionSettings._path, body);
|
|
537
|
+
return res;
|
|
538
|
+
},
|
|
539
|
+
remove: async (id) => {
|
|
540
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionDetectionSettings._path + `/${id}`);
|
|
541
|
+
return res;
|
|
542
|
+
},
|
|
543
|
+
};
|
|
544
|
+
this.aiObjectDetectionInference = {
|
|
545
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_INFERENCE,
|
|
546
|
+
create: async (body) => {
|
|
547
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionInference._path, body);
|
|
548
|
+
return res;
|
|
549
|
+
},
|
|
550
|
+
};
|
|
551
|
+
this.aiObjectDetectionTask = {
|
|
552
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_TASK,
|
|
553
|
+
find: async (params) => {
|
|
554
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionTask._path, params);
|
|
555
|
+
return res;
|
|
556
|
+
},
|
|
557
|
+
get: async (id, params) => {
|
|
558
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionTask._path + `/${id}`, params);
|
|
559
|
+
},
|
|
560
|
+
create: async (body) => {
|
|
561
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionTask._path, body);
|
|
562
|
+
return res;
|
|
563
|
+
},
|
|
564
|
+
update: async (id, body) => {
|
|
565
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionTask._path + `/${id}`, body);
|
|
566
|
+
return res;
|
|
567
|
+
},
|
|
568
|
+
patch: async (params, body) => {
|
|
569
|
+
let res = await this._patch(this.svAPIEndpoint, this.aiObjectDetectionTask._path, body, params);
|
|
570
|
+
return res;
|
|
571
|
+
},
|
|
572
|
+
remove: async (id) => {
|
|
573
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionTask._path + `/${id}`);
|
|
574
|
+
return res;
|
|
575
|
+
},
|
|
576
|
+
};
|
|
577
|
+
this.aiObjectDetectionSession = {
|
|
578
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION,
|
|
579
|
+
find: async (params) => {
|
|
580
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSession._path, params);
|
|
581
|
+
return res;
|
|
582
|
+
},
|
|
583
|
+
get: async (id, params) => {
|
|
584
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSession._path + `/${id}`, params);
|
|
585
|
+
},
|
|
586
|
+
create: async (body) => {
|
|
587
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionSession._path, body);
|
|
588
|
+
return res;
|
|
589
|
+
},
|
|
590
|
+
update: async (id, body) => {
|
|
591
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionSession._path + `/${id}`, body);
|
|
592
|
+
return res;
|
|
593
|
+
},
|
|
594
|
+
patch: async (params, body) => {
|
|
595
|
+
let res = await this._patch(this.svAPIEndpoint, this.aiObjectDetectionSession._path, body, params);
|
|
596
|
+
return res;
|
|
597
|
+
},
|
|
598
|
+
remove: async (id, params) => {
|
|
599
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionSession._path + `/${id}`, params);
|
|
600
|
+
return res;
|
|
601
|
+
},
|
|
602
|
+
};
|
|
603
|
+
this.activityAiObjectDetectionSessionFrame = {
|
|
604
|
+
_path: Repzo._end_points.ACTIVITY_AI_OBJECT_DETECTION_SESSION_FRAME,
|
|
605
|
+
create: async (body) => {
|
|
606
|
+
let res = await this._create(this.svAPIEndpoint, this.activityAiObjectDetectionSessionFrame._path, body);
|
|
607
|
+
return res;
|
|
608
|
+
},
|
|
609
|
+
};
|
|
610
|
+
this.aiObjectDetectionSessionAnalysis = {
|
|
611
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION_ANALYSIS,
|
|
612
|
+
find: async (params) => {
|
|
613
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSessionAnalysis._path, params);
|
|
614
|
+
return res;
|
|
615
|
+
},
|
|
616
|
+
get: async (id, params) => {
|
|
617
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSessionAnalysis._path + `/${id}`, params);
|
|
618
|
+
},
|
|
619
|
+
create: async (body) => {
|
|
620
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionSessionAnalysis._path, body);
|
|
621
|
+
return res;
|
|
622
|
+
},
|
|
623
|
+
update: async (id, body) => {
|
|
624
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionSessionAnalysis._path + `/${id}`, body);
|
|
625
|
+
return res;
|
|
626
|
+
},
|
|
627
|
+
patch: async (params, body) => {
|
|
628
|
+
let res = await this._patch(this.svAPIEndpoint, this.aiObjectDetectionSessionAnalysis._path, body, params);
|
|
629
|
+
return res;
|
|
630
|
+
},
|
|
631
|
+
remove: async (id) => {
|
|
632
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionSessionAnalysis._path + `/${id}`);
|
|
633
|
+
return res;
|
|
634
|
+
},
|
|
635
|
+
};
|
|
636
|
+
this.aiObjectDetectionSessionElection = {
|
|
637
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION_ELECTION,
|
|
638
|
+
create: async (body) => {
|
|
639
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionSessionElection._path, body);
|
|
640
|
+
return res;
|
|
641
|
+
},
|
|
642
|
+
};
|
|
643
|
+
this.aiObjectDetectionSessionInsight = {
|
|
644
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION_INSIGHT,
|
|
645
|
+
find: async (params) => {
|
|
646
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSessionInsight._path, params);
|
|
647
|
+
return res;
|
|
648
|
+
},
|
|
649
|
+
get: async (id) => {
|
|
650
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionSessionInsight._path + `/${id}`);
|
|
651
|
+
},
|
|
652
|
+
create: async (body) => {
|
|
653
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionSessionInsight._path, body);
|
|
654
|
+
return res;
|
|
655
|
+
},
|
|
656
|
+
};
|
|
657
|
+
this.aiObjectDetectionMetric = {
|
|
658
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_METRIC,
|
|
659
|
+
find: async (params) => {
|
|
660
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMetric._path, params);
|
|
661
|
+
return res;
|
|
662
|
+
},
|
|
663
|
+
get: async (id) => {
|
|
664
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMetric._path + `/${id}`);
|
|
665
|
+
},
|
|
666
|
+
create: async (body) => {
|
|
667
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionMetric._path, body);
|
|
668
|
+
return res;
|
|
669
|
+
},
|
|
670
|
+
update: async (id, body) => {
|
|
671
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionMetric._path + `/${id}`, body);
|
|
672
|
+
return res;
|
|
673
|
+
},
|
|
674
|
+
remove: async (id) => {
|
|
675
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionMetric._path + `/${id}`);
|
|
676
|
+
return res;
|
|
677
|
+
},
|
|
678
|
+
};
|
|
679
|
+
this.aiObjectDetectionMetricResult = {
|
|
680
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_METRIC_RESULT,
|
|
681
|
+
find: async (params) => {
|
|
682
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMetricResult._path, params);
|
|
683
|
+
return res;
|
|
684
|
+
},
|
|
685
|
+
get: async (id) => {
|
|
686
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMetricResult._path + `/${id}`);
|
|
687
|
+
},
|
|
688
|
+
create: async (body) => {
|
|
689
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionMetricResult._path, body);
|
|
690
|
+
return res;
|
|
691
|
+
},
|
|
692
|
+
update: async (id, body) => {
|
|
693
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionMetricResult._path + `/${id}`, body);
|
|
694
|
+
return res;
|
|
695
|
+
},
|
|
696
|
+
remove: async (id) => {
|
|
697
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionMetricResult._path + `/${id}`);
|
|
698
|
+
return res;
|
|
699
|
+
},
|
|
700
|
+
};
|
|
701
|
+
this.aiObjectDetectionMission = {
|
|
702
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MISSION,
|
|
703
|
+
find: async (params) => {
|
|
704
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMission._path, params);
|
|
705
|
+
return res;
|
|
706
|
+
},
|
|
707
|
+
get: async (id) => {
|
|
708
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMission._path + `/${id}`);
|
|
709
|
+
},
|
|
710
|
+
create: async (body) => {
|
|
711
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionMission._path, body);
|
|
712
|
+
return res;
|
|
713
|
+
},
|
|
714
|
+
update: async (id, body) => {
|
|
715
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionMission._path + `/${id}`, body);
|
|
716
|
+
return res;
|
|
717
|
+
},
|
|
718
|
+
remove: async (id) => {
|
|
719
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionMission._path + `/${id}`);
|
|
720
|
+
return res;
|
|
721
|
+
},
|
|
722
|
+
};
|
|
723
|
+
this.aiObjectDetectionMissionSet = {
|
|
724
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MISSION_SET,
|
|
725
|
+
find: async (params) => {
|
|
726
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMissionSet._path, params);
|
|
727
|
+
return res;
|
|
728
|
+
},
|
|
729
|
+
get: async (id) => {
|
|
730
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMissionSet._path + `/${id}`);
|
|
731
|
+
},
|
|
732
|
+
create: async (body) => {
|
|
733
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionMissionSet._path, body);
|
|
734
|
+
return res;
|
|
735
|
+
},
|
|
736
|
+
update: async (id, body) => {
|
|
737
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionMissionSet._path + `/${id}`, body);
|
|
738
|
+
return res;
|
|
739
|
+
},
|
|
740
|
+
remove: async (id) => {
|
|
741
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionMissionSet._path + `/${id}`);
|
|
742
|
+
return res;
|
|
743
|
+
},
|
|
744
|
+
};
|
|
745
|
+
this.aiObjectDetectionMissionResults = {
|
|
746
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_MISSION_RESULTS,
|
|
747
|
+
find: async (params) => {
|
|
748
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMissionResults._path, params);
|
|
749
|
+
return res;
|
|
750
|
+
},
|
|
751
|
+
get: async (id, params) => {
|
|
752
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionMissionResults._path + `/${id}`, params);
|
|
753
|
+
},
|
|
754
|
+
update: async (id, body) => {
|
|
755
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionMissionResults._path + `/${id}`, body);
|
|
756
|
+
return res;
|
|
757
|
+
},
|
|
758
|
+
remove: async (id) => {
|
|
759
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionMissionResults._path + `/${id}`);
|
|
760
|
+
return res;
|
|
761
|
+
},
|
|
762
|
+
};
|
|
763
|
+
this.aiObjectDetectionAssignmentRule = {
|
|
764
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_ASSIGNMENT_RULE,
|
|
765
|
+
find: async (params) => {
|
|
766
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionAssignmentRule._path, params);
|
|
767
|
+
return res;
|
|
768
|
+
},
|
|
769
|
+
get: async (id) => {
|
|
770
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionAssignmentRule._path + `/${id}`);
|
|
771
|
+
},
|
|
772
|
+
create: async (body) => {
|
|
773
|
+
let res = await this._create(this.svAPIEndpoint, this.aiObjectDetectionAssignmentRule._path, body);
|
|
774
|
+
return res;
|
|
775
|
+
},
|
|
776
|
+
update: async (id, body) => {
|
|
777
|
+
let res = await this._update(this.svAPIEndpoint, this.aiObjectDetectionAssignmentRule._path + `/${id}`, body);
|
|
778
|
+
return res;
|
|
779
|
+
},
|
|
780
|
+
remove: async (id) => {
|
|
781
|
+
let res = await this._delete(this.svAPIEndpoint, this.aiObjectDetectionAssignmentRule._path + `/${id}`);
|
|
782
|
+
return res;
|
|
783
|
+
},
|
|
784
|
+
};
|
|
785
|
+
this.aiObjectDetectionAssignedMissions = {
|
|
786
|
+
_path: Repzo._end_points.AI_OBJECT_DETECTION_ASSIGNED_MISSIONS,
|
|
787
|
+
find: async (params) => {
|
|
788
|
+
let res = await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionAssignedMissions._path, params);
|
|
789
|
+
return res;
|
|
790
|
+
},
|
|
791
|
+
get: async (id, params) => {
|
|
792
|
+
return await this._fetch(this.svAPIEndpoint, this.aiObjectDetectionAssignedMissions._path + `/${id}`, params);
|
|
793
|
+
},
|
|
794
|
+
};
|
|
795
|
+
this.objectDetectionAnalyticsReport = {
|
|
796
|
+
_path: Repzo._end_points.OBJECT_DETECTION_ANALYTICS_REPORT,
|
|
797
|
+
find: async (params) => {
|
|
798
|
+
let res = await this._fetch(this.svAPIEndpoint, this.objectDetectionAnalyticsReport._path, params);
|
|
799
|
+
return res;
|
|
800
|
+
},
|
|
801
|
+
create: async (body, params) => {
|
|
802
|
+
let res = await this._create(this.svAPIEndpoint, this.objectDetectionAnalyticsReport._path, body, params);
|
|
803
|
+
return res;
|
|
804
|
+
},
|
|
805
|
+
};
|
|
265
806
|
this.available_services = availableService;
|
|
266
807
|
this.generateUUID = ({ prefix, suffix, length, }) => {
|
|
267
808
|
return generateUUID(prefix, suffix, length);
|