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.
Files changed (34) hide show
  1. package/changelog.md +28 -0
  2. package/lib/index.d.ts +244 -2
  3. package/lib/index.js +541 -0
  4. package/lib/types/index.d.ts +4533 -1
  5. package/package.json +1 -1
  6. package/src/index.ts +1270 -0
  7. package/src/oas/activity-ai-object-detection-session-frame.yaml +600 -0
  8. package/src/oas/ai-object-detection-assigned-missions.yaml +283 -0
  9. package/src/oas/ai-object-detection-assignment-rule.yaml +357 -0
  10. package/src/oas/ai-object-detection-category.yaml +338 -0
  11. package/src/oas/ai-object-detection-dataset.yaml +342 -0
  12. package/src/oas/ai-object-detection-detection-settings.yaml +410 -0
  13. package/src/oas/ai-object-detection-inference.yaml +818 -0
  14. package/src/oas/ai-object-detection-label-group.yaml +265 -0
  15. package/src/oas/ai-object-detection-label-report.yaml +366 -0
  16. package/src/oas/ai-object-detection-label.yaml +395 -0
  17. package/src/oas/ai-object-detection-metric-result.yaml +734 -0
  18. package/src/oas/ai-object-detection-metric.yaml +559 -0
  19. package/src/oas/ai-object-detection-mission-results.yaml +370 -0
  20. package/src/oas/ai-object-detection-mission-set.yaml +250 -0
  21. package/src/oas/ai-object-detection-mission.yaml +349 -0
  22. package/src/oas/ai-object-detection-model-version-epoch.yaml +214 -0
  23. package/src/oas/ai-object-detection-model-version-train-agent.yaml +88 -0
  24. package/src/oas/ai-object-detection-model-version.yaml +567 -0
  25. package/src/oas/ai-object-detection-model.yaml +369 -0
  26. package/src/oas/ai-object-detection-segment.yaml +301 -0
  27. package/src/oas/ai-object-detection-session-analysis.yaml +1306 -0
  28. package/src/oas/ai-object-detection-session-election.yaml +193 -0
  29. package/src/oas/ai-object-detection-session-insight.yaml +418 -0
  30. package/src/oas/ai-object-detection-session.yaml +840 -0
  31. package/src/oas/ai-object-detection-settings.yaml +249 -0
  32. package/src/oas/ai-object-detection-task.yaml +1007 -0
  33. package/src/oas/object-detection-analytics-report.yaml +674 -0
  34. package/src/types/index.ts +5159 -1
package/src/index.ts CHANGED
@@ -162,6 +162,38 @@ export const end_points = {
162
162
  BULK_EXPORT: "bulk-export",
163
163
  DELIVERY_NOTE: "delivery-note",
164
164
  RESERVATION: "reservation",
165
+ AI_OBJECT_DETECTION_DATASET: "ai-object-detection-dataset",
166
+ AI_OBJECT_DETECTION_MODEL: "ai-object-detection-model",
167
+ AI_OBJECT_DETECTION_MODEL_VERSION: "ai-object-detection-model-version",
168
+ AI_OBJECT_DETECTION_MODEL_VERSION_EPOCH:
169
+ "ai-object-detection-model-version-epoch",
170
+ AI_OBJECT_DETECTION_MODEL_VERSION_TRAIN_AGENT:
171
+ "ai-object-detection-model-version-train-agent",
172
+ AI_OBJECT_DETECTION_LABEL: "ai-object-detection-label",
173
+ AI_OBJECT_DETECTION_LABEL_GROUP: "ai-object-detection-label-group",
174
+ AI_OBJECT_DETECTION_CATEGORY: "ai-object-detection-category",
175
+ AI_OBJECT_DETECTION_SEGMENT: "ai-object-detection-segment",
176
+ AI_OBJECT_DETECTION_LABEL_REPORT: "ai-object-detection-label-report",
177
+ AI_OBJECT_DETECTION_SETTINGS: "ai-object-detection-settings",
178
+ AI_OBJECT_DETECTION_DETECTION_SETTINGS:
179
+ "ai-object-detection-detection-settings",
180
+ AI_OBJECT_DETECTION_INFERENCE: "ai-object-detection-inference",
181
+ AI_OBJECT_DETECTION_TASK: "ai-object-detection-task",
182
+ AI_OBJECT_DETECTION_SESSION: "ai-object-detection-session",
183
+ ACTIVITY_AI_OBJECT_DETECTION_SESSION_FRAME:
184
+ "activity-ai-object-detection-session-frame",
185
+ AI_OBJECT_DETECTION_SESSION_ANALYSIS: "ai-object-detection-session-analysis",
186
+ AI_OBJECT_DETECTION_SESSION_ELECTION: "ai-object-detection-session-election",
187
+ AI_OBJECT_DETECTION_SESSION_INSIGHT: "ai-object-detection-session-insight",
188
+ AI_OBJECT_DETECTION_METRIC: "ai-object-detection-metric",
189
+ AI_OBJECT_DETECTION_METRIC_RESULT: "ai-object-detection-metric-result",
190
+ AI_OBJECT_DETECTION_MISSION: "ai-object-detection-mission",
191
+ AI_OBJECT_DETECTION_MISSION_SET: "ai-object-detection-mission-set",
192
+ AI_OBJECT_DETECTION_MISSION_RESULTS: "ai-object-detection-mission-results",
193
+ AI_OBJECT_DETECTION_ASSIGNMENT_RULE: "ai-object-detection-assignment-rule",
194
+ AI_OBJECT_DETECTION_ASSIGNED_MISSIONS:
195
+ "ai-object-detection-assigned-missions",
196
+ OBJECT_DETECTION_ANALYTICS_REPORT: "object-detection-analytics-report",
165
197
  } as const;
166
198
  export type EndPoints = (typeof end_points)[keyof typeof end_points];
167
199
 
@@ -271,6 +303,33 @@ export const availableService = [
271
303
  "lineTarget",
272
304
  "bulkImport",
273
305
  "bulkExport",
306
+ "aiObjectDetectionDataset",
307
+ "aiObjectDetectionModel",
308
+ "aiObjectDetectionModelVersion",
309
+ "aiObjectDetectionModelVersionEpoch",
310
+ "aiObjectDetectionModelVersionTrainAgent",
311
+ "aiObjectDetectionLabel",
312
+ "aiObjectDetectionLabelGroup",
313
+ "aiObjectDetectionCategory",
314
+ "aiObjectDetectionSegment",
315
+ "aiObjectDetectionLabelReport",
316
+ "aiObjectDetectionSettings",
317
+ "aiObjectDetectionDetectionSettings",
318
+ "aiObjectDetectionInference",
319
+ "aiObjectDetectionTask",
320
+ "aiObjectDetectionSession",
321
+ "activityAiObjectDetectionSessionFrame",
322
+ "aiObjectDetectionSessionAnalysis",
323
+ "aiObjectDetectionSessionElection",
324
+ "aiObjectDetectionSessionInsight",
325
+ "aiObjectDetectionMetric",
326
+ "aiObjectDetectionMetricResult",
327
+ "aiObjectDetectionMission",
328
+ "aiObjectDetectionMissionSet",
329
+ "aiObjectDetectionMissionResults",
330
+ "aiObjectDetectionAssignmentRule",
331
+ "aiObjectDetectionAssignedMissions",
332
+ "objectDetectionAnalyticsReport",
274
333
  ] as const;
275
334
  export type AvailableService = (typeof availableService)[number];
276
335
 
@@ -423,6 +482,1217 @@ export default class Repzo {
423
482
  });
424
483
  }
425
484
 
485
+ aiObjectDetectionDataset = {
486
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_DATASET,
487
+ find: async (
488
+ params?: Service.AiObjectDetectionDataset.Find.Params,
489
+ ): Promise<Service.AiObjectDetectionDataset.Find.Result> => {
490
+ let res: Service.AiObjectDetectionDataset.Find.Result = await this._fetch(
491
+ this.svAPIEndpoint,
492
+ this.aiObjectDetectionDataset._path,
493
+ params,
494
+ );
495
+ return res;
496
+ },
497
+ get: async (
498
+ id: Service.AiObjectDetectionDataset.Get.ID,
499
+ params?: Service.AiObjectDetectionDataset.Get.Params,
500
+ ): Promise<Service.AiObjectDetectionDataset.Get.Result> => {
501
+ return await this._fetch(
502
+ this.svAPIEndpoint,
503
+ this.aiObjectDetectionDataset._path + `/${id}`,
504
+ params,
505
+ );
506
+ },
507
+ create: async (
508
+ body: Service.AiObjectDetectionDataset.Create.Body,
509
+ ): Promise<Service.AiObjectDetectionDataset.Create.Result> => {
510
+ let res = await this._create(
511
+ this.svAPIEndpoint,
512
+ this.aiObjectDetectionDataset._path,
513
+ body,
514
+ );
515
+ return res;
516
+ },
517
+ update: async (
518
+ id: Service.AiObjectDetectionDataset.Update.ID,
519
+ body: Service.AiObjectDetectionDataset.Update.Body,
520
+ ): Promise<Service.AiObjectDetectionDataset.Update.Result> => {
521
+ let res: Service.AiObjectDetectionDataset.Update.Result =
522
+ await this._update(
523
+ this.svAPIEndpoint,
524
+ this.aiObjectDetectionDataset._path + `/${id}`,
525
+ body,
526
+ );
527
+ return res;
528
+ },
529
+ remove: async (
530
+ id: Service.AiObjectDetectionDataset.Remove.ID,
531
+ ): Promise<Service.AiObjectDetectionDataset.Remove.Result> => {
532
+ let res: Service.AiObjectDetectionDataset.Remove.Result =
533
+ await this._delete(
534
+ this.svAPIEndpoint,
535
+ this.aiObjectDetectionDataset._path + `/${id}`,
536
+ );
537
+ return res;
538
+ },
539
+ };
540
+
541
+ aiObjectDetectionModel = {
542
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL,
543
+ find: async (
544
+ params?: Service.AiObjectDetectionModel.Find.Params,
545
+ ): Promise<Service.AiObjectDetectionModel.Find.Result> => {
546
+ let res: Service.AiObjectDetectionModel.Find.Result = await this._fetch(
547
+ this.svAPIEndpoint,
548
+ this.aiObjectDetectionModel._path,
549
+ params,
550
+ );
551
+ return res;
552
+ },
553
+ get: async (
554
+ id: Service.AiObjectDetectionModel.Get.ID,
555
+ params?: Service.AiObjectDetectionModel.Get.Params,
556
+ ): Promise<Service.AiObjectDetectionModel.Get.Result> => {
557
+ return await this._fetch(
558
+ this.svAPIEndpoint,
559
+ this.aiObjectDetectionModel._path + `/${id}`,
560
+ params,
561
+ );
562
+ },
563
+ create: async (
564
+ body: Service.AiObjectDetectionModel.Create.Body,
565
+ ): Promise<Service.AiObjectDetectionModel.Create.Result> => {
566
+ let res = await this._create(
567
+ this.svAPIEndpoint,
568
+ this.aiObjectDetectionModel._path,
569
+ body,
570
+ );
571
+ return res;
572
+ },
573
+ update: async (
574
+ id: Service.AiObjectDetectionModel.Update.ID,
575
+ body: Service.AiObjectDetectionModel.Update.Body,
576
+ ): Promise<Service.AiObjectDetectionModel.Update.Result> => {
577
+ let res: Service.AiObjectDetectionModel.Update.Result =
578
+ await this._update(
579
+ this.svAPIEndpoint,
580
+ this.aiObjectDetectionModel._path + `/${id}`,
581
+ body,
582
+ );
583
+ return res;
584
+ },
585
+ remove: async (
586
+ id: Service.AiObjectDetectionModel.Remove.ID,
587
+ ): Promise<Service.AiObjectDetectionModel.Remove.Result> => {
588
+ let res: Service.AiObjectDetectionModel.Remove.Result =
589
+ await this._delete(
590
+ this.svAPIEndpoint,
591
+ this.aiObjectDetectionModel._path + `/${id}`,
592
+ );
593
+ return res;
594
+ },
595
+ };
596
+
597
+ aiObjectDetectionModelVersion = {
598
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL_VERSION,
599
+ find: async (
600
+ params?: Service.AiObjectDetectionModelVersion.Find.Params,
601
+ ): Promise<Service.AiObjectDetectionModelVersion.Find.Result> => {
602
+ let res: Service.AiObjectDetectionModelVersion.Find.Result =
603
+ await this._fetch(
604
+ this.svAPIEndpoint,
605
+ this.aiObjectDetectionModelVersion._path,
606
+ params,
607
+ );
608
+ return res;
609
+ },
610
+ get: async (
611
+ id: Service.AiObjectDetectionModelVersion.Get.ID,
612
+ params?: Service.AiObjectDetectionModelVersion.Get.Params,
613
+ ): Promise<Service.AiObjectDetectionModelVersion.Get.Result> => {
614
+ return await this._fetch(
615
+ this.svAPIEndpoint,
616
+ this.aiObjectDetectionModelVersion._path + `/${id}`,
617
+ params,
618
+ );
619
+ },
620
+ create: async (
621
+ body: Service.AiObjectDetectionModelVersion.Create.Body,
622
+ ): Promise<Service.AiObjectDetectionModelVersion.Create.Result> => {
623
+ let res = await this._create(
624
+ this.svAPIEndpoint,
625
+ this.aiObjectDetectionModelVersion._path,
626
+ body,
627
+ );
628
+ return res;
629
+ },
630
+ remove: async (
631
+ id: Service.AiObjectDetectionModelVersion.Remove.ID,
632
+ ): Promise<Service.AiObjectDetectionModelVersion.Remove.Result> => {
633
+ let res: Service.AiObjectDetectionModelVersion.Remove.Result =
634
+ await this._delete(
635
+ this.svAPIEndpoint,
636
+ this.aiObjectDetectionModelVersion._path + `/${id}`,
637
+ );
638
+ return res;
639
+ },
640
+ };
641
+
642
+ aiObjectDetectionModelVersionEpoch = {
643
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL_VERSION_EPOCH,
644
+ find: async (
645
+ params: Service.AiObjectDetectionModelVersionEpoch.Find.Params,
646
+ ): Promise<Service.AiObjectDetectionModelVersionEpoch.Find.Result> => {
647
+ let res: Service.AiObjectDetectionModelVersionEpoch.Find.Result =
648
+ await this._fetch(
649
+ this.svAPIEndpoint,
650
+ this.aiObjectDetectionModelVersionEpoch._path,
651
+ params,
652
+ );
653
+ return res;
654
+ },
655
+ get: async (
656
+ id: Service.AiObjectDetectionModelVersionEpoch.Get.ID,
657
+ ): Promise<Service.AiObjectDetectionModelVersionEpoch.Get.Result> => {
658
+ return await this._fetch(
659
+ this.svAPIEndpoint,
660
+ this.aiObjectDetectionModelVersionEpoch._path + `/${id}`,
661
+ );
662
+ },
663
+ };
664
+
665
+ aiObjectDetectionModelVersionTrainAgent = {
666
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MODEL_VERSION_TRAIN_AGENT,
667
+ get: async (
668
+ id: Service.AiObjectDetectionModelVersionTrainAgent.Get.ID,
669
+ ): Promise<Service.AiObjectDetectionModelVersionTrainAgent.Get.Result> => {
670
+ return await this._fetch(
671
+ this.svAPIEndpoint,
672
+ this.aiObjectDetectionModelVersionTrainAgent._path + `/${id}`,
673
+ );
674
+ },
675
+ };
676
+
677
+ aiObjectDetectionLabel = {
678
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_LABEL,
679
+ find: async (
680
+ params?: Service.AiObjectDetectionLabel.Find.Params,
681
+ ): Promise<Service.AiObjectDetectionLabel.Find.Result> => {
682
+ let res: Service.AiObjectDetectionLabel.Find.Result = await this._fetch(
683
+ this.svAPIEndpoint,
684
+ this.aiObjectDetectionLabel._path,
685
+ params,
686
+ );
687
+ return res;
688
+ },
689
+ get: async (
690
+ id: Service.AiObjectDetectionLabel.Get.ID,
691
+ params?: Service.AiObjectDetectionLabel.Get.Params,
692
+ ): Promise<Service.AiObjectDetectionLabel.Get.Result> => {
693
+ return await this._fetch(
694
+ this.svAPIEndpoint,
695
+ this.aiObjectDetectionLabel._path + `/${id}`,
696
+ params,
697
+ );
698
+ },
699
+ create: async (
700
+ body: Service.AiObjectDetectionLabel.Create.Body,
701
+ ): Promise<Service.AiObjectDetectionLabel.Create.Result> => {
702
+ let res = await this._create(
703
+ this.svAPIEndpoint,
704
+ this.aiObjectDetectionLabel._path,
705
+ body,
706
+ );
707
+ return res;
708
+ },
709
+ update: async (
710
+ id: Service.AiObjectDetectionLabel.Update.ID,
711
+ body: Service.AiObjectDetectionLabel.Update.Body,
712
+ ): Promise<Service.AiObjectDetectionLabel.Update.Result> => {
713
+ let res: Service.AiObjectDetectionLabel.Update.Result =
714
+ await this._update(
715
+ this.svAPIEndpoint,
716
+ this.aiObjectDetectionLabel._path + `/${id}`,
717
+ body,
718
+ );
719
+ return res;
720
+ },
721
+ remove: async (
722
+ id: Service.AiObjectDetectionLabel.Remove.ID,
723
+ ): Promise<Service.AiObjectDetectionLabel.Remove.Result> => {
724
+ let res: Service.AiObjectDetectionLabel.Remove.Result =
725
+ await this._delete(
726
+ this.svAPIEndpoint,
727
+ this.aiObjectDetectionLabel._path + `/${id}`,
728
+ );
729
+ return res;
730
+ },
731
+ };
732
+
733
+ aiObjectDetectionLabelGroup = {
734
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_LABEL_GROUP,
735
+ find: async (
736
+ params?: Service.AiObjectDetectionLabelGroup.Find.Params,
737
+ ): Promise<Service.AiObjectDetectionLabelGroup.Find.Result> => {
738
+ let res: Service.AiObjectDetectionLabelGroup.Find.Result =
739
+ await this._fetch(
740
+ this.svAPIEndpoint,
741
+ this.aiObjectDetectionLabelGroup._path,
742
+ params,
743
+ );
744
+ return res;
745
+ },
746
+ get: async (
747
+ id: Service.AiObjectDetectionLabelGroup.Get.ID,
748
+ ): Promise<Service.AiObjectDetectionLabelGroup.Get.Result> => {
749
+ return await this._fetch(
750
+ this.svAPIEndpoint,
751
+ this.aiObjectDetectionLabelGroup._path + `/${id}`,
752
+ );
753
+ },
754
+ create: async (
755
+ body: Service.AiObjectDetectionLabelGroup.Create.Body,
756
+ ): Promise<Service.AiObjectDetectionLabelGroup.Create.Result> => {
757
+ let res = await this._create(
758
+ this.svAPIEndpoint,
759
+ this.aiObjectDetectionLabelGroup._path,
760
+ body,
761
+ );
762
+ return res;
763
+ },
764
+ update: async (
765
+ id: Service.AiObjectDetectionLabelGroup.Update.ID,
766
+ body: Service.AiObjectDetectionLabelGroup.Update.Body,
767
+ ): Promise<Service.AiObjectDetectionLabelGroup.Update.Result> => {
768
+ let res: Service.AiObjectDetectionLabelGroup.Update.Result =
769
+ await this._update(
770
+ this.svAPIEndpoint,
771
+ this.aiObjectDetectionLabelGroup._path + `/${id}`,
772
+ body,
773
+ );
774
+ return res;
775
+ },
776
+ remove: async (
777
+ id: Service.AiObjectDetectionLabelGroup.Remove.ID,
778
+ params?: Service.AiObjectDetectionLabelGroup.Remove.Params,
779
+ ): Promise<Service.AiObjectDetectionLabelGroup.Remove.Result> => {
780
+ let res: Service.AiObjectDetectionLabelGroup.Remove.Result =
781
+ await this._delete(
782
+ this.svAPIEndpoint,
783
+ this.aiObjectDetectionLabelGroup._path + `/${id}`,
784
+ params,
785
+ );
786
+ return res;
787
+ },
788
+ };
789
+
790
+ aiObjectDetectionCategory = {
791
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_CATEGORY,
792
+ find: async (
793
+ params?: Service.AiObjectDetectionCategory.Find.Params,
794
+ ): Promise<Service.AiObjectDetectionCategory.Find.Result> => {
795
+ let res: Service.AiObjectDetectionCategory.Find.Result =
796
+ await this._fetch(
797
+ this.svAPIEndpoint,
798
+ this.aiObjectDetectionCategory._path,
799
+ params,
800
+ );
801
+ return res;
802
+ },
803
+ get: async (
804
+ id: Service.AiObjectDetectionCategory.Get.ID,
805
+ ): Promise<Service.AiObjectDetectionCategory.Get.Result> => {
806
+ return await this._fetch(
807
+ this.svAPIEndpoint,
808
+ this.aiObjectDetectionCategory._path + `/${id}`,
809
+ );
810
+ },
811
+ create: async (
812
+ body: Service.AiObjectDetectionCategory.Create.Body,
813
+ ): Promise<Service.AiObjectDetectionCategory.Create.Result> => {
814
+ let res = await this._create(
815
+ this.svAPIEndpoint,
816
+ this.aiObjectDetectionCategory._path,
817
+ body,
818
+ );
819
+ return res;
820
+ },
821
+ update: async (
822
+ id: Service.AiObjectDetectionCategory.Update.ID,
823
+ body: Service.AiObjectDetectionCategory.Update.Body,
824
+ ): Promise<Service.AiObjectDetectionCategory.Update.Result> => {
825
+ let res: Service.AiObjectDetectionCategory.Update.Result =
826
+ await this._update(
827
+ this.svAPIEndpoint,
828
+ this.aiObjectDetectionCategory._path + `/${id}`,
829
+ body,
830
+ );
831
+ return res;
832
+ },
833
+ remove: async (
834
+ id: Service.AiObjectDetectionCategory.Remove.ID,
835
+ params?: Service.AiObjectDetectionCategory.Remove.Params,
836
+ ): Promise<Service.AiObjectDetectionCategory.Remove.Result> => {
837
+ let res: Service.AiObjectDetectionCategory.Remove.Result =
838
+ await this._delete(
839
+ this.svAPIEndpoint,
840
+ this.aiObjectDetectionCategory._path + `/${id}`,
841
+ params,
842
+ );
843
+ return res;
844
+ },
845
+ };
846
+
847
+ aiObjectDetectionSegment = {
848
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_SEGMENT,
849
+ find: async (
850
+ params?: Service.AiObjectDetectionSegment.Find.Params,
851
+ ): Promise<Service.AiObjectDetectionSegment.Find.Result> => {
852
+ let res: Service.AiObjectDetectionSegment.Find.Result = await this._fetch(
853
+ this.svAPIEndpoint,
854
+ this.aiObjectDetectionSegment._path,
855
+ params,
856
+ );
857
+ return res;
858
+ },
859
+ get: async (
860
+ id: Service.AiObjectDetectionSegment.Get.ID,
861
+ ): Promise<Service.AiObjectDetectionSegment.Get.Result> => {
862
+ return await this._fetch(
863
+ this.svAPIEndpoint,
864
+ this.aiObjectDetectionSegment._path + `/${id}`,
865
+ );
866
+ },
867
+ create: async (
868
+ body: Service.AiObjectDetectionSegment.Create.Body,
869
+ ): Promise<Service.AiObjectDetectionSegment.Create.Result> => {
870
+ let res = await this._create(
871
+ this.svAPIEndpoint,
872
+ this.aiObjectDetectionSegment._path,
873
+ body,
874
+ );
875
+ return res;
876
+ },
877
+ update: async (
878
+ id: Service.AiObjectDetectionSegment.Update.ID,
879
+ body: Service.AiObjectDetectionSegment.Update.Body,
880
+ ): Promise<Service.AiObjectDetectionSegment.Update.Result> => {
881
+ let res: Service.AiObjectDetectionSegment.Update.Result =
882
+ await this._update(
883
+ this.svAPIEndpoint,
884
+ this.aiObjectDetectionSegment._path + `/${id}`,
885
+ body,
886
+ );
887
+ return res;
888
+ },
889
+ remove: async (
890
+ id: Service.AiObjectDetectionSegment.Remove.ID,
891
+ ): Promise<Service.AiObjectDetectionSegment.Remove.Result> => {
892
+ let res: Service.AiObjectDetectionSegment.Remove.Result =
893
+ await this._delete(
894
+ this.svAPIEndpoint,
895
+ this.aiObjectDetectionSegment._path + `/${id}`,
896
+ );
897
+ return res;
898
+ },
899
+ };
900
+
901
+ aiObjectDetectionLabelReport = {
902
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_LABEL_REPORT,
903
+ find: async (
904
+ params: Service.AiObjectDetectionLabelReport.Find.Params,
905
+ ): Promise<Service.AiObjectDetectionLabelReport.Find.Result> => {
906
+ let res: Service.AiObjectDetectionLabelReport.Find.Result =
907
+ await this._fetch(
908
+ this.svAPIEndpoint,
909
+ this.aiObjectDetectionLabelReport._path,
910
+ params,
911
+ );
912
+ return res;
913
+ },
914
+ };
915
+
916
+ aiObjectDetectionSettings = {
917
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_SETTINGS,
918
+ find: async (): Promise<Service.AiObjectDetectionSettings.Find.Result> => {
919
+ let res: Service.AiObjectDetectionSettings.Find.Result =
920
+ await this._fetch(
921
+ this.svAPIEndpoint,
922
+ this.aiObjectDetectionSettings._path,
923
+ );
924
+ return res;
925
+ },
926
+ get: async (
927
+ id: Service.AiObjectDetectionSettings.Get.ID,
928
+ ): Promise<Service.AiObjectDetectionSettings.Get.Result> => {
929
+ return await this._fetch(
930
+ this.svAPIEndpoint,
931
+ this.aiObjectDetectionSettings._path + `/${id}`,
932
+ );
933
+ },
934
+ create: async (
935
+ body: Service.AiObjectDetectionSettings.Create.Body,
936
+ ): Promise<Service.AiObjectDetectionSettings.Create.Result> => {
937
+ let res = await this._create(
938
+ this.svAPIEndpoint,
939
+ this.aiObjectDetectionSettings._path,
940
+ body,
941
+ );
942
+ return res;
943
+ },
944
+ update: async (
945
+ id: Service.AiObjectDetectionSettings.Update.ID,
946
+ body: Service.AiObjectDetectionSettings.Update.Body,
947
+ ): Promise<Service.AiObjectDetectionSettings.Update.Result> => {
948
+ let res: Service.AiObjectDetectionSettings.Update.Result =
949
+ await this._update(
950
+ this.svAPIEndpoint,
951
+ this.aiObjectDetectionSettings._path + `/${id}`,
952
+ body,
953
+ );
954
+ return res;
955
+ },
956
+ patch: async (
957
+ body: Service.AiObjectDetectionSettings.Patch.Body,
958
+ ): Promise<Service.AiObjectDetectionSettings.Patch.Result> => {
959
+ let res: Service.AiObjectDetectionSettings.Patch.Result =
960
+ await this._patch(
961
+ this.svAPIEndpoint,
962
+ this.aiObjectDetectionSettings._path,
963
+ body,
964
+ );
965
+ return res;
966
+ },
967
+ remove: async (
968
+ id: Service.AiObjectDetectionSettings.Remove.ID,
969
+ ): Promise<Service.AiObjectDetectionSettings.Remove.Result> => {
970
+ let res: Service.AiObjectDetectionSettings.Remove.Result =
971
+ await this._delete(
972
+ this.svAPIEndpoint,
973
+ this.aiObjectDetectionSettings._path + `/${id}`,
974
+ );
975
+ return res;
976
+ },
977
+ };
978
+
979
+ aiObjectDetectionDetectionSettings = {
980
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_DETECTION_SETTINGS,
981
+ find: async (): Promise<Service.AiObjectDetectionDetectionSettings.Find.Result> => {
982
+ let res: Service.AiObjectDetectionDetectionSettings.Find.Result =
983
+ await this._fetch(
984
+ this.svAPIEndpoint,
985
+ this.aiObjectDetectionDetectionSettings._path,
986
+ );
987
+ return res;
988
+ },
989
+ get: async (
990
+ id: Service.AiObjectDetectionDetectionSettings.Get.ID,
991
+ ): Promise<Service.AiObjectDetectionDetectionSettings.Get.Result> => {
992
+ return await this._fetch(
993
+ this.svAPIEndpoint,
994
+ this.aiObjectDetectionDetectionSettings._path + `/${id}`,
995
+ );
996
+ },
997
+ create: async (
998
+ body: Service.AiObjectDetectionDetectionSettings.Create.Body,
999
+ ): Promise<Service.AiObjectDetectionDetectionSettings.Create.Result> => {
1000
+ let res = await this._create(
1001
+ this.svAPIEndpoint,
1002
+ this.aiObjectDetectionDetectionSettings._path,
1003
+ body,
1004
+ );
1005
+ return res;
1006
+ },
1007
+ update: async (
1008
+ id: Service.AiObjectDetectionDetectionSettings.Update.ID,
1009
+ body: Service.AiObjectDetectionDetectionSettings.Update.Body,
1010
+ ): Promise<Service.AiObjectDetectionDetectionSettings.Update.Result> => {
1011
+ let res: Service.AiObjectDetectionDetectionSettings.Update.Result =
1012
+ await this._update(
1013
+ this.svAPIEndpoint,
1014
+ this.aiObjectDetectionDetectionSettings._path + `/${id}`,
1015
+ body,
1016
+ );
1017
+ return res;
1018
+ },
1019
+ patch: async (
1020
+ body: Service.AiObjectDetectionDetectionSettings.Patch.Body,
1021
+ ): Promise<Service.AiObjectDetectionDetectionSettings.Patch.Result> => {
1022
+ let res: Service.AiObjectDetectionDetectionSettings.Patch.Result =
1023
+ await this._patch(
1024
+ this.svAPIEndpoint,
1025
+ this.aiObjectDetectionDetectionSettings._path,
1026
+ body,
1027
+ );
1028
+ return res;
1029
+ },
1030
+ remove: async (
1031
+ id: Service.AiObjectDetectionDetectionSettings.Remove.ID,
1032
+ ): Promise<Service.AiObjectDetectionDetectionSettings.Remove.Result> => {
1033
+ let res: Service.AiObjectDetectionDetectionSettings.Remove.Result =
1034
+ await this._delete(
1035
+ this.svAPIEndpoint,
1036
+ this.aiObjectDetectionDetectionSettings._path + `/${id}`,
1037
+ );
1038
+ return res;
1039
+ },
1040
+ };
1041
+
1042
+ aiObjectDetectionInference = {
1043
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_INFERENCE,
1044
+ create: async (
1045
+ body: Service.AiObjectDetectionInference.Create.Body,
1046
+ ): Promise<Service.AiObjectDetectionInference.Create.Result> => {
1047
+ let res = await this._create(
1048
+ this.svAPIEndpoint,
1049
+ this.aiObjectDetectionInference._path,
1050
+ body,
1051
+ );
1052
+ return res;
1053
+ },
1054
+ };
1055
+
1056
+ aiObjectDetectionTask = {
1057
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_TASK,
1058
+ find: async (
1059
+ params?: Service.AiObjectDetectionTask.Find.Params,
1060
+ ): Promise<Service.AiObjectDetectionTask.Find.Result> => {
1061
+ let res: Service.AiObjectDetectionTask.Find.Result = await this._fetch(
1062
+ this.svAPIEndpoint,
1063
+ this.aiObjectDetectionTask._path,
1064
+ params,
1065
+ );
1066
+ return res;
1067
+ },
1068
+ get: async (
1069
+ id: Service.AiObjectDetectionTask.Get.ID,
1070
+ params?: Service.AiObjectDetectionTask.Get.Params,
1071
+ ): Promise<Service.AiObjectDetectionTask.Get.Result> => {
1072
+ return await this._fetch(
1073
+ this.svAPIEndpoint,
1074
+ this.aiObjectDetectionTask._path + `/${id}`,
1075
+ params,
1076
+ );
1077
+ },
1078
+ create: async (
1079
+ body: Service.AiObjectDetectionTask.Create.Body,
1080
+ ): Promise<Service.AiObjectDetectionTask.Create.Result> => {
1081
+ let res = await this._create(
1082
+ this.svAPIEndpoint,
1083
+ this.aiObjectDetectionTask._path,
1084
+ body,
1085
+ );
1086
+ return res;
1087
+ },
1088
+ update: async (
1089
+ id: Service.AiObjectDetectionTask.Update.ID,
1090
+ body: Service.AiObjectDetectionTask.Update.Body,
1091
+ ): Promise<Service.AiObjectDetectionTask.Update.Result> => {
1092
+ let res: Service.AiObjectDetectionTask.Update.Result = await this._update(
1093
+ this.svAPIEndpoint,
1094
+ this.aiObjectDetectionTask._path + `/${id}`,
1095
+ body,
1096
+ );
1097
+ return res;
1098
+ },
1099
+ patch: async (
1100
+ params: Service.AiObjectDetectionTask.Patch.Params,
1101
+ body: Service.AiObjectDetectionTask.Patch.Body,
1102
+ ): Promise<Service.AiObjectDetectionTask.Patch.Result> => {
1103
+ let res: Service.AiObjectDetectionTask.Patch.Result = await this._patch(
1104
+ this.svAPIEndpoint,
1105
+ this.aiObjectDetectionTask._path,
1106
+ body,
1107
+ params,
1108
+ );
1109
+ return res;
1110
+ },
1111
+ remove: async (
1112
+ id: Service.AiObjectDetectionTask.Remove.ID,
1113
+ ): Promise<Service.AiObjectDetectionTask.Remove.Result> => {
1114
+ let res: Service.AiObjectDetectionTask.Remove.Result = await this._delete(
1115
+ this.svAPIEndpoint,
1116
+ this.aiObjectDetectionTask._path + `/${id}`,
1117
+ );
1118
+ return res;
1119
+ },
1120
+ };
1121
+
1122
+ aiObjectDetectionSession = {
1123
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION,
1124
+ find: async (
1125
+ params?: Service.AiObjectDetectionSession.Find.Params,
1126
+ ): Promise<Service.AiObjectDetectionSession.Find.Result> => {
1127
+ let res: Service.AiObjectDetectionSession.Find.Result = await this._fetch(
1128
+ this.svAPIEndpoint,
1129
+ this.aiObjectDetectionSession._path,
1130
+ params,
1131
+ );
1132
+ return res;
1133
+ },
1134
+ get: async (
1135
+ id: Service.AiObjectDetectionSession.Get.ID,
1136
+ params?: Service.AiObjectDetectionSession.Get.Params,
1137
+ ): Promise<Service.AiObjectDetectionSession.Get.Result> => {
1138
+ return await this._fetch(
1139
+ this.svAPIEndpoint,
1140
+ this.aiObjectDetectionSession._path + `/${id}`,
1141
+ params,
1142
+ );
1143
+ },
1144
+ create: async (
1145
+ body: Service.AiObjectDetectionSession.Create.Body,
1146
+ ): Promise<Service.AiObjectDetectionSession.Create.Result> => {
1147
+ let res = await this._create(
1148
+ this.svAPIEndpoint,
1149
+ this.aiObjectDetectionSession._path,
1150
+ body,
1151
+ );
1152
+ return res;
1153
+ },
1154
+ update: async (
1155
+ id: Service.AiObjectDetectionSession.Update.ID,
1156
+ body: Service.AiObjectDetectionSession.Update.Body,
1157
+ ): Promise<Service.AiObjectDetectionSession.Update.Result> => {
1158
+ let res: Service.AiObjectDetectionSession.Update.Result =
1159
+ await this._update(
1160
+ this.svAPIEndpoint,
1161
+ this.aiObjectDetectionSession._path + `/${id}`,
1162
+ body,
1163
+ );
1164
+ return res;
1165
+ },
1166
+ patch: async (
1167
+ params: Service.AiObjectDetectionSession.Patch.Params,
1168
+ body: Service.AiObjectDetectionSession.Patch.Body,
1169
+ ): Promise<Service.AiObjectDetectionSession.Patch.Result> => {
1170
+ let res: Service.AiObjectDetectionSession.Patch.Result =
1171
+ await this._patch(
1172
+ this.svAPIEndpoint,
1173
+ this.aiObjectDetectionSession._path,
1174
+ body,
1175
+ params,
1176
+ );
1177
+ return res;
1178
+ },
1179
+ remove: async (
1180
+ id: Service.AiObjectDetectionSession.Remove.ID,
1181
+ params?: Service.AiObjectDetectionSession.Remove.Params,
1182
+ ): Promise<Service.AiObjectDetectionSession.Remove.Result> => {
1183
+ let res: Service.AiObjectDetectionSession.Remove.Result =
1184
+ await this._delete(
1185
+ this.svAPIEndpoint,
1186
+ this.aiObjectDetectionSession._path + `/${id}`,
1187
+ params,
1188
+ );
1189
+ return res;
1190
+ },
1191
+ };
1192
+
1193
+ activityAiObjectDetectionSessionFrame = {
1194
+ _path: Repzo._end_points.ACTIVITY_AI_OBJECT_DETECTION_SESSION_FRAME,
1195
+ create: async (
1196
+ body: Service.ActivityAiObjectDetectionSessionFrame.Create.Body,
1197
+ ): Promise<Service.ActivityAiObjectDetectionSessionFrame.Create.Result> => {
1198
+ let res = await this._create(
1199
+ this.svAPIEndpoint,
1200
+ this.activityAiObjectDetectionSessionFrame._path,
1201
+ body,
1202
+ );
1203
+ return res;
1204
+ },
1205
+ };
1206
+
1207
+ aiObjectDetectionSessionAnalysis = {
1208
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION_ANALYSIS,
1209
+ find: async (
1210
+ params?: Service.AiObjectDetectionSessionAnalysis.Find.Params,
1211
+ ): Promise<Service.AiObjectDetectionSessionAnalysis.Find.Result> => {
1212
+ let res: Service.AiObjectDetectionSessionAnalysis.Find.Result =
1213
+ await this._fetch(
1214
+ this.svAPIEndpoint,
1215
+ this.aiObjectDetectionSessionAnalysis._path,
1216
+ params,
1217
+ );
1218
+ return res;
1219
+ },
1220
+ get: async (
1221
+ id: Service.AiObjectDetectionSessionAnalysis.Get.ID,
1222
+ params?: Service.AiObjectDetectionSessionAnalysis.Get.Params,
1223
+ ): Promise<Service.AiObjectDetectionSessionAnalysis.Get.Result> => {
1224
+ return await this._fetch(
1225
+ this.svAPIEndpoint,
1226
+ this.aiObjectDetectionSessionAnalysis._path + `/${id}`,
1227
+ params,
1228
+ );
1229
+ },
1230
+ create: async (
1231
+ body: Service.AiObjectDetectionSessionAnalysis.Create.Body,
1232
+ ): Promise<Service.AiObjectDetectionSessionAnalysis.Create.Result> => {
1233
+ let res = await this._create(
1234
+ this.svAPIEndpoint,
1235
+ this.aiObjectDetectionSessionAnalysis._path,
1236
+ body,
1237
+ );
1238
+ return res;
1239
+ },
1240
+ update: async (
1241
+ id: Service.AiObjectDetectionSessionAnalysis.Update.ID,
1242
+ body: Service.AiObjectDetectionSessionAnalysis.Update.Body,
1243
+ ): Promise<Service.AiObjectDetectionSessionAnalysis.Update.Result> => {
1244
+ let res: Service.AiObjectDetectionSessionAnalysis.Update.Result =
1245
+ await this._update(
1246
+ this.svAPIEndpoint,
1247
+ this.aiObjectDetectionSessionAnalysis._path + `/${id}`,
1248
+ body,
1249
+ );
1250
+ return res;
1251
+ },
1252
+ patch: async (
1253
+ params: Service.AiObjectDetectionSessionAnalysis.Patch.Params,
1254
+ body: Service.AiObjectDetectionSessionAnalysis.Patch.Body,
1255
+ ): Promise<Service.AiObjectDetectionSessionAnalysis.Patch.Result> => {
1256
+ let res: Service.AiObjectDetectionSessionAnalysis.Patch.Result =
1257
+ await this._patch(
1258
+ this.svAPIEndpoint,
1259
+ this.aiObjectDetectionSessionAnalysis._path,
1260
+ body,
1261
+ params,
1262
+ );
1263
+ return res;
1264
+ },
1265
+ remove: async (
1266
+ id: Service.AiObjectDetectionSessionAnalysis.Remove.ID,
1267
+ ): Promise<Service.AiObjectDetectionSessionAnalysis.Remove.Result> => {
1268
+ let res: Service.AiObjectDetectionSessionAnalysis.Remove.Result =
1269
+ await this._delete(
1270
+ this.svAPIEndpoint,
1271
+ this.aiObjectDetectionSessionAnalysis._path + `/${id}`,
1272
+ );
1273
+ return res;
1274
+ },
1275
+ };
1276
+
1277
+ aiObjectDetectionSessionElection = {
1278
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION_ELECTION,
1279
+ create: async (
1280
+ body: Service.AiObjectDetectionSessionElection.Create.Body,
1281
+ ): Promise<Service.AiObjectDetectionSessionElection.Create.Result> => {
1282
+ let res = await this._create(
1283
+ this.svAPIEndpoint,
1284
+ this.aiObjectDetectionSessionElection._path,
1285
+ body,
1286
+ );
1287
+ return res;
1288
+ },
1289
+ };
1290
+
1291
+ aiObjectDetectionSessionInsight = {
1292
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_SESSION_INSIGHT,
1293
+ find: async (
1294
+ params?: Service.AiObjectDetectionSessionInsight.Find.Params,
1295
+ ): Promise<Service.AiObjectDetectionSessionInsight.Find.Result> => {
1296
+ let res: Service.AiObjectDetectionSessionInsight.Find.Result =
1297
+ await this._fetch(
1298
+ this.svAPIEndpoint,
1299
+ this.aiObjectDetectionSessionInsight._path,
1300
+ params,
1301
+ );
1302
+ return res;
1303
+ },
1304
+ get: async (
1305
+ id: Service.AiObjectDetectionSessionInsight.Get.ID,
1306
+ ): Promise<Service.AiObjectDetectionSessionInsight.Get.Result> => {
1307
+ return await this._fetch(
1308
+ this.svAPIEndpoint,
1309
+ this.aiObjectDetectionSessionInsight._path + `/${id}`,
1310
+ );
1311
+ },
1312
+ create: async (
1313
+ body: Service.AiObjectDetectionSessionInsight.Create.Body,
1314
+ ): Promise<Service.AiObjectDetectionSessionInsight.Create.Result> => {
1315
+ let res = await this._create(
1316
+ this.svAPIEndpoint,
1317
+ this.aiObjectDetectionSessionInsight._path,
1318
+ body,
1319
+ );
1320
+ return res;
1321
+ },
1322
+ };
1323
+
1324
+ aiObjectDetectionMetric = {
1325
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_METRIC,
1326
+ find: async (
1327
+ params?: Service.AiObjectDetectionMetric.Find.Params,
1328
+ ): Promise<Service.AiObjectDetectionMetric.Find.Result> => {
1329
+ let res: Service.AiObjectDetectionMetric.Find.Result = await this._fetch(
1330
+ this.svAPIEndpoint,
1331
+ this.aiObjectDetectionMetric._path,
1332
+ params,
1333
+ );
1334
+ return res;
1335
+ },
1336
+ get: async (
1337
+ id: Service.AiObjectDetectionMetric.Get.ID,
1338
+ ): Promise<Service.AiObjectDetectionMetric.Get.Result> => {
1339
+ return await this._fetch(
1340
+ this.svAPIEndpoint,
1341
+ this.aiObjectDetectionMetric._path + `/${id}`,
1342
+ );
1343
+ },
1344
+ create: async (
1345
+ body: Service.AiObjectDetectionMetric.Create.Body,
1346
+ ): Promise<Service.AiObjectDetectionMetric.Create.Result> => {
1347
+ let res = await this._create(
1348
+ this.svAPIEndpoint,
1349
+ this.aiObjectDetectionMetric._path,
1350
+ body,
1351
+ );
1352
+ return res;
1353
+ },
1354
+ update: async (
1355
+ id: Service.AiObjectDetectionMetric.Update.ID,
1356
+ body: Service.AiObjectDetectionMetric.Update.Body,
1357
+ ): Promise<Service.AiObjectDetectionMetric.Update.Result> => {
1358
+ let res: Service.AiObjectDetectionMetric.Update.Result =
1359
+ await this._update(
1360
+ this.svAPIEndpoint,
1361
+ this.aiObjectDetectionMetric._path + `/${id}`,
1362
+ body,
1363
+ );
1364
+ return res;
1365
+ },
1366
+ remove: async (
1367
+ id: Service.AiObjectDetectionMetric.Remove.ID,
1368
+ ): Promise<Service.AiObjectDetectionMetric.Remove.Result> => {
1369
+ let res: Service.AiObjectDetectionMetric.Remove.Result =
1370
+ await this._delete(
1371
+ this.svAPIEndpoint,
1372
+ this.aiObjectDetectionMetric._path + `/${id}`,
1373
+ );
1374
+ return res;
1375
+ },
1376
+ };
1377
+
1378
+ aiObjectDetectionMetricResult = {
1379
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_METRIC_RESULT,
1380
+ find: async (
1381
+ params?: Service.AiObjectDetectionMetricResult.Find.Params,
1382
+ ): Promise<Service.AiObjectDetectionMetricResult.Find.Result> => {
1383
+ let res: Service.AiObjectDetectionMetricResult.Find.Result =
1384
+ await this._fetch(
1385
+ this.svAPIEndpoint,
1386
+ this.aiObjectDetectionMetricResult._path,
1387
+ params,
1388
+ );
1389
+ return res;
1390
+ },
1391
+ get: async (
1392
+ id: Service.AiObjectDetectionMetricResult.Get.ID,
1393
+ ): Promise<Service.AiObjectDetectionMetricResult.Get.Result> => {
1394
+ return await this._fetch(
1395
+ this.svAPIEndpoint,
1396
+ this.aiObjectDetectionMetricResult._path + `/${id}`,
1397
+ );
1398
+ },
1399
+ create: async (
1400
+ body: Service.AiObjectDetectionMetricResult.Create.Body,
1401
+ ): Promise<Service.AiObjectDetectionMetricResult.Create.Result> => {
1402
+ let res = await this._create(
1403
+ this.svAPIEndpoint,
1404
+ this.aiObjectDetectionMetricResult._path,
1405
+ body,
1406
+ );
1407
+ return res;
1408
+ },
1409
+ update: async (
1410
+ id: Service.AiObjectDetectionMetricResult.Update.ID,
1411
+ body: Service.AiObjectDetectionMetricResult.Update.Body,
1412
+ ): Promise<Service.AiObjectDetectionMetricResult.Update.Result> => {
1413
+ let res: Service.AiObjectDetectionMetricResult.Update.Result =
1414
+ await this._update(
1415
+ this.svAPIEndpoint,
1416
+ this.aiObjectDetectionMetricResult._path + `/${id}`,
1417
+ body,
1418
+ );
1419
+ return res;
1420
+ },
1421
+ remove: async (
1422
+ id: Service.AiObjectDetectionMetricResult.Remove.ID,
1423
+ ): Promise<Service.AiObjectDetectionMetricResult.Remove.Result> => {
1424
+ let res: Service.AiObjectDetectionMetricResult.Remove.Result =
1425
+ await this._delete(
1426
+ this.svAPIEndpoint,
1427
+ this.aiObjectDetectionMetricResult._path + `/${id}`,
1428
+ );
1429
+ return res;
1430
+ },
1431
+ };
1432
+
1433
+ aiObjectDetectionMission = {
1434
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MISSION,
1435
+ find: async (
1436
+ params?: Service.AiObjectDetectionMission.Find.Params,
1437
+ ): Promise<Service.AiObjectDetectionMission.Find.Result> => {
1438
+ let res: Service.AiObjectDetectionMission.Find.Result = await this._fetch(
1439
+ this.svAPIEndpoint,
1440
+ this.aiObjectDetectionMission._path,
1441
+ params,
1442
+ );
1443
+ return res;
1444
+ },
1445
+ get: async (
1446
+ id: Service.AiObjectDetectionMission.Get.ID,
1447
+ ): Promise<Service.AiObjectDetectionMission.Get.Result> => {
1448
+ return await this._fetch(
1449
+ this.svAPIEndpoint,
1450
+ this.aiObjectDetectionMission._path + `/${id}`,
1451
+ );
1452
+ },
1453
+ create: async (
1454
+ body: Service.AiObjectDetectionMission.Create.Body,
1455
+ ): Promise<Service.AiObjectDetectionMission.Create.Result> => {
1456
+ let res = await this._create(
1457
+ this.svAPIEndpoint,
1458
+ this.aiObjectDetectionMission._path,
1459
+ body,
1460
+ );
1461
+ return res;
1462
+ },
1463
+ update: async (
1464
+ id: Service.AiObjectDetectionMission.Update.ID,
1465
+ body: Service.AiObjectDetectionMission.Update.Body,
1466
+ ): Promise<Service.AiObjectDetectionMission.Update.Result> => {
1467
+ let res: Service.AiObjectDetectionMission.Update.Result =
1468
+ await this._update(
1469
+ this.svAPIEndpoint,
1470
+ this.aiObjectDetectionMission._path + `/${id}`,
1471
+ body,
1472
+ );
1473
+ return res;
1474
+ },
1475
+ remove: async (
1476
+ id: Service.AiObjectDetectionMission.Remove.ID,
1477
+ ): Promise<Service.AiObjectDetectionMission.Remove.Result> => {
1478
+ let res: Service.AiObjectDetectionMission.Remove.Result =
1479
+ await this._delete(
1480
+ this.svAPIEndpoint,
1481
+ this.aiObjectDetectionMission._path + `/${id}`,
1482
+ );
1483
+ return res;
1484
+ },
1485
+ };
1486
+
1487
+ aiObjectDetectionMissionSet = {
1488
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MISSION_SET,
1489
+ find: async (
1490
+ params?: Service.AiObjectDetectionMissionSet.Find.Params,
1491
+ ): Promise<Service.AiObjectDetectionMissionSet.Find.Result> => {
1492
+ let res: Service.AiObjectDetectionMissionSet.Find.Result =
1493
+ await this._fetch(
1494
+ this.svAPIEndpoint,
1495
+ this.aiObjectDetectionMissionSet._path,
1496
+ params,
1497
+ );
1498
+ return res;
1499
+ },
1500
+ get: async (
1501
+ id: Service.AiObjectDetectionMissionSet.Get.ID,
1502
+ ): Promise<Service.AiObjectDetectionMissionSet.Get.Result> => {
1503
+ return await this._fetch(
1504
+ this.svAPIEndpoint,
1505
+ this.aiObjectDetectionMissionSet._path + `/${id}`,
1506
+ );
1507
+ },
1508
+ create: async (
1509
+ body: Service.AiObjectDetectionMissionSet.Create.Body,
1510
+ ): Promise<Service.AiObjectDetectionMissionSet.Create.Result> => {
1511
+ let res = await this._create(
1512
+ this.svAPIEndpoint,
1513
+ this.aiObjectDetectionMissionSet._path,
1514
+ body,
1515
+ );
1516
+ return res;
1517
+ },
1518
+ update: async (
1519
+ id: Service.AiObjectDetectionMissionSet.Update.ID,
1520
+ body: Service.AiObjectDetectionMissionSet.Update.Body,
1521
+ ): Promise<Service.AiObjectDetectionMissionSet.Update.Result> => {
1522
+ let res: Service.AiObjectDetectionMissionSet.Update.Result =
1523
+ await this._update(
1524
+ this.svAPIEndpoint,
1525
+ this.aiObjectDetectionMissionSet._path + `/${id}`,
1526
+ body,
1527
+ );
1528
+ return res;
1529
+ },
1530
+ remove: async (
1531
+ id: Service.AiObjectDetectionMissionSet.Remove.ID,
1532
+ ): Promise<Service.AiObjectDetectionMissionSet.Remove.Result> => {
1533
+ let res: Service.AiObjectDetectionMissionSet.Remove.Result =
1534
+ await this._delete(
1535
+ this.svAPIEndpoint,
1536
+ this.aiObjectDetectionMissionSet._path + `/${id}`,
1537
+ );
1538
+ return res;
1539
+ },
1540
+ };
1541
+
1542
+ aiObjectDetectionMissionResults = {
1543
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_MISSION_RESULTS,
1544
+ find: async (
1545
+ params?: Service.AiObjectDetectionMissionResults.Find.Params,
1546
+ ): Promise<Service.AiObjectDetectionMissionResults.Find.Result> => {
1547
+ let res: Service.AiObjectDetectionMissionResults.Find.Result =
1548
+ await this._fetch(
1549
+ this.svAPIEndpoint,
1550
+ this.aiObjectDetectionMissionResults._path,
1551
+ params,
1552
+ );
1553
+ return res;
1554
+ },
1555
+ get: async (
1556
+ id: Service.AiObjectDetectionMissionResults.Get.ID,
1557
+ params?: Service.AiObjectDetectionMissionResults.Get.Params,
1558
+ ): Promise<Service.AiObjectDetectionMissionResults.Get.Result> => {
1559
+ return await this._fetch(
1560
+ this.svAPIEndpoint,
1561
+ this.aiObjectDetectionMissionResults._path + `/${id}`,
1562
+ params,
1563
+ );
1564
+ },
1565
+ update: async (
1566
+ id: Service.AiObjectDetectionMissionResults.Update.ID,
1567
+ body: Service.AiObjectDetectionMissionResults.Update.Body,
1568
+ ): Promise<Service.AiObjectDetectionMissionResults.Update.Result> => {
1569
+ let res: Service.AiObjectDetectionMissionResults.Update.Result =
1570
+ await this._update(
1571
+ this.svAPIEndpoint,
1572
+ this.aiObjectDetectionMissionResults._path + `/${id}`,
1573
+ body,
1574
+ );
1575
+ return res;
1576
+ },
1577
+ remove: async (
1578
+ id: Service.AiObjectDetectionMissionResults.Remove.ID,
1579
+ ): Promise<Service.AiObjectDetectionMissionResults.Remove.Result> => {
1580
+ let res: Service.AiObjectDetectionMissionResults.Remove.Result =
1581
+ await this._delete(
1582
+ this.svAPIEndpoint,
1583
+ this.aiObjectDetectionMissionResults._path + `/${id}`,
1584
+ );
1585
+ return res;
1586
+ },
1587
+ };
1588
+
1589
+ aiObjectDetectionAssignmentRule = {
1590
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_ASSIGNMENT_RULE,
1591
+ find: async (
1592
+ params?: Service.AiObjectDetectionAssignmentRule.Find.Params,
1593
+ ): Promise<Service.AiObjectDetectionAssignmentRule.Find.Result> => {
1594
+ let res: Service.AiObjectDetectionAssignmentRule.Find.Result =
1595
+ await this._fetch(
1596
+ this.svAPIEndpoint,
1597
+ this.aiObjectDetectionAssignmentRule._path,
1598
+ params,
1599
+ );
1600
+ return res;
1601
+ },
1602
+ get: async (
1603
+ id: Service.AiObjectDetectionAssignmentRule.Get.ID,
1604
+ ): Promise<Service.AiObjectDetectionAssignmentRule.Get.Result> => {
1605
+ return await this._fetch(
1606
+ this.svAPIEndpoint,
1607
+ this.aiObjectDetectionAssignmentRule._path + `/${id}`,
1608
+ );
1609
+ },
1610
+ create: async (
1611
+ body: Service.AiObjectDetectionAssignmentRule.Create.Body,
1612
+ ): Promise<Service.AiObjectDetectionAssignmentRule.Create.Result> => {
1613
+ let res = await this._create(
1614
+ this.svAPIEndpoint,
1615
+ this.aiObjectDetectionAssignmentRule._path,
1616
+ body,
1617
+ );
1618
+ return res;
1619
+ },
1620
+ update: async (
1621
+ id: Service.AiObjectDetectionAssignmentRule.Update.ID,
1622
+ body: Service.AiObjectDetectionAssignmentRule.Update.Body,
1623
+ ): Promise<Service.AiObjectDetectionAssignmentRule.Update.Result> => {
1624
+ let res: Service.AiObjectDetectionAssignmentRule.Update.Result =
1625
+ await this._update(
1626
+ this.svAPIEndpoint,
1627
+ this.aiObjectDetectionAssignmentRule._path + `/${id}`,
1628
+ body,
1629
+ );
1630
+ return res;
1631
+ },
1632
+ remove: async (
1633
+ id: Service.AiObjectDetectionAssignmentRule.Remove.ID,
1634
+ ): Promise<Service.AiObjectDetectionAssignmentRule.Remove.Result> => {
1635
+ let res: Service.AiObjectDetectionAssignmentRule.Remove.Result =
1636
+ await this._delete(
1637
+ this.svAPIEndpoint,
1638
+ this.aiObjectDetectionAssignmentRule._path + `/${id}`,
1639
+ );
1640
+ return res;
1641
+ },
1642
+ };
1643
+
1644
+ aiObjectDetectionAssignedMissions = {
1645
+ _path: Repzo._end_points.AI_OBJECT_DETECTION_ASSIGNED_MISSIONS,
1646
+ find: async (
1647
+ params: Service.AiObjectDetectionAssignedMissions.Find.Params,
1648
+ ): Promise<Service.AiObjectDetectionAssignedMissions.Find.Result> => {
1649
+ let res: Service.AiObjectDetectionAssignedMissions.Find.Result =
1650
+ await this._fetch(
1651
+ this.svAPIEndpoint,
1652
+ this.aiObjectDetectionAssignedMissions._path,
1653
+ params,
1654
+ );
1655
+ return res;
1656
+ },
1657
+ get: async (
1658
+ id: Service.AiObjectDetectionAssignedMissions.Get.ID,
1659
+ params?: Service.AiObjectDetectionAssignedMissions.Get.Params,
1660
+ ): Promise<Service.AiObjectDetectionAssignedMissions.Get.Result> => {
1661
+ return await this._fetch(
1662
+ this.svAPIEndpoint,
1663
+ this.aiObjectDetectionAssignedMissions._path + `/${id}`,
1664
+ params,
1665
+ );
1666
+ },
1667
+ };
1668
+
1669
+ objectDetectionAnalyticsReport = {
1670
+ _path: Repzo._end_points.OBJECT_DETECTION_ANALYTICS_REPORT,
1671
+ find: async (
1672
+ params?: Service.ObjectDetectionAnalyticsReport.Find.Params,
1673
+ ): Promise<Service.ObjectDetectionAnalyticsReport.Find.Result> => {
1674
+ let res: Service.ObjectDetectionAnalyticsReport.Find.Result =
1675
+ await this._fetch(
1676
+ this.svAPIEndpoint,
1677
+ this.objectDetectionAnalyticsReport._path,
1678
+ params,
1679
+ );
1680
+ return res;
1681
+ },
1682
+ create: async (
1683
+ body: Service.ObjectDetectionAnalyticsReport.Create.Body,
1684
+ params?: Service.ObjectDetectionAnalyticsReport.Create.Params,
1685
+ ): Promise<Service.ObjectDetectionAnalyticsReport.Create.Result> => {
1686
+ let res = await this._create(
1687
+ this.svAPIEndpoint,
1688
+ this.objectDetectionAnalyticsReport._path,
1689
+ body,
1690
+ params,
1691
+ );
1692
+ return res;
1693
+ },
1694
+ };
1695
+
426
1696
  available_services = availableService;
427
1697
 
428
1698
  generateUUID = ({