repzo 1.0.292 → 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 +4530 -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 +5156 -1
package/changelog.md CHANGED
@@ -23,6 +23,34 @@
23
23
  - add: `rep_can_start_visit_out_of_geofence` & `rep_can_create_approval_request_to_start_visit_out_of_geofence` to RepPermissions and the Rep find-params filters — gate starting a visit while outside the geofence / assigned geo zone
24
24
  - add: Settings geo-zone enforcement fields — `start_day_outside_active_zone_action` / `start_visit_outside_active_zone_action` / `work_outside_active_zone_action` (`monitor`/`warning`/`block`), `no_active_zone_action` (`allow`/`block`), `use_accuracy_radius_near_zone_boundary`, `zone_boundary_grace_minutes` (Settings.Data + UpdateBody); OAS `settings.yaml`
25
25
  - add: bulkExport (BulkExport) service + types — `find` (list export jobs) and `create` (start an Excel/Parquet export job for ~50 entity types, keyed by `type`); mirrors `bulkImport` (the backend rejects get/update/patch/remove with 400); OAS `bulk-export.yaml`
26
+ - add: aiObjectDetectionDataset (AiObjectDetectionDataset) service + types — `find`/`get`/`create`/`update`/`remove`, filters by `dataset_labels`/`default_model`/`default_model_version` plus `populatedKeys` (`dataset_labels` / `default_model` / `default_model_version` → `*_populated`) and the `latest`/`null` sentinel that makes `default_model_version` track the model's `current_model_version` (soft-delete via `disabled`; backend rejects patch); OAS `ai-object-detection-dataset.yaml` @moalnatour
27
+ - add: aiObjectDetectionModel (AiObjectDetectionModel) service + types — `find`/`get`/`create`/`update`/`remove`, `train_settings[]`/`predict_settings[]`, `validation_size`/`test_size` split ratios and the auto-advancing `current_model_version` pointer (populate it with `populatedKeys=current_model_version` → `current_model_version_populated`, weights/train-data/confusion-matrix media populated in place; soft-delete via `disabled`; backend rejects patch); OAS `ai-object-detection-model.yaml` @moalnatour
28
+ - add: aiObjectDetectionModelVersion (AiObjectDetectionModelVersion) service + types — `find`/`get`/`create`/`remove` (backend rejects update/patch: a version is immutable), `create` stamps `creator`, assigns the per-model `version_code`, unions the datasets' labels into `dataset_labels`, sets `status: initiated` and queues the YOLO dataset-prep job (progress in `status`/`_errors`, output in `train_data`/`tasks_size`/`annotations_per_label`; `trained` + `metrics`/`model_stats` once weights upload via ul-hub); filters by `model`/`version_code`/`dataset`/`dataset_labels` and 19 `populatedKeys` (`model`, `dataset`, `dataset_labels`, `train_data`, weights and every plot/artifact media → `*_populated`); OAS `ai-object-detection-model-version.yaml` @moalnatour
29
+ - add: aiObjectDetectionModelVersionEpoch (AiObjectDetectionModelVersionEpoch) service + types — read-only `find`/`get`; `find` requires `model_version` and returns the whole run un-paginated in `_index` order (`{ data, total_result, summary }`, with per-epoch `train_loss_metrics`/`val_loss_metrics`/`performance_metrics`/`model_stats` and a derived `summary` of best vs final mAP/precision/recall and `final_generalization_gap`); rows are written by the Ultralytics HUB ingest, so the backend rejects create/update/patch/remove; OAS `ai-object-detection-model-version-epoch.yaml` @moalnatour
30
+ - add: aiObjectDetectionModelVersionTrainAgent (AiObjectDetectionModelVersionTrainAgent) service + types — `get(modelVersionId)` only (backend rejects find/create/update/patch/remove), returns the ordered Ultralytics bootstrap `steps[]` (`code_message` snippets: pinned `pip install ultralytics==8.4.114`, HUB-client training against Repzo's `ul-hub`, artifacts upload) plus `ultralytics_version`; OAS `ai-object-detection-model-version-train-agent.yaml` @moalnatour
31
+ - add: aiObjectDetectionLabel (AiObjectDetectionLabel) service + types — `find`/`get`/`create`/`update`/`remove`, filters by every product-side link (`variants`/`products`/`product_categories`/`product_subcategories`/`product_brands`/`product_groups`) plus `label_group`, `populatedKeys[]` on find/get (`<field>_populated`), `keyboard_shortcut`, `physical_size` (cm) for the dims reclassifier, soft-delete blocked while a dataset lists the label; OAS `ai-object-detection-label.yaml` @moalnatour
32
+ - add: aiObjectDetectionLabelGroup (AiObjectDetectionLabelGroup) service + types — `find`/`get`/`create`/`update`/`remove(id, { force? })`, sibling-label families for the dims reclassifier; delete is rejected while member labels remain unless `force=true` detaches them first; OAS `ai-object-detection-label-group.yaml` @moalnatour
33
+ - add: aiObjectDetectionCategory (AiObjectDetectionCategory) service + types — `find`/`get`/`create`/`update`/`remove(id, { force? })`, per-category `model_settings[]` auto-analysis recipes (`model`, optional `model_version` = latest, `config`) and tracked `labels[]`, `populatedKeys` `labels` / `model_settings.model` / `model_settings.model_version`; delete is rejected while sessions reference the category unless `force=true`; OAS `ai-object-detection-category.yaml` @moalnatour
34
+ - add: aiObjectDetectionSegment (AiObjectDetectionSegment) service + types — `find`/`get`/`create`/`update`/`remove`, reusable named label sets that share-of-shelf metrics reference (`labels` filter + `populatedKeys: ["labels"]`), server-stamped `creator`/`editor`, PUT requires a non-blank `name`, delete rejected while an active metric references the segment; OAS `ai-object-detection-segment.yaml` @moalnatour
35
+ - add: aiObjectDetectionLabelReport (AiObjectDetectionLabelReport) service + types — read-only `find` with two modes: `{ dataset, label, mode?: all|smart, ...item filters }` returns the label's per-dataset annotation-health `summary` + paginated `items[]` (`included_in_training`/`included_in_val` eligibility), and `{ mode: "dims", label, sample?, z_threshold?, ... }` returns the smart dims analyzer (MAD outlier rejection, proposed `physical_size` cm); OAS `ai-object-detection-label-report.yaml` @moalnatour
36
+ - add: aiObjectDetectionSettings (AiObjectDetectionSettings) service + types — `find`/`get`/`create`/`update`/`patch`/`remove`, the per-namespace ANALYZE-defaults knob bag (`analyze_config`, a free-form `SceneMathConfig` subset): one document per namespace, `find`/`get` never 404 (`is_default: true` + `{}` when unsaved), POST/PUT/PATCH upsert the same document (path id ignored), DELETE resets to factory defaults; responses are single objects, not paginated; OAS `ai-object-detection-settings.yaml` @moalnatour
37
+ - add: aiObjectDetectionDetectionSettings (AiObjectDetectionDetectionSettings) service + types — `find`/`get`/`create`/`update`/`patch`/`remove`, the per-namespace unified CAPTURE / frame warn-error limits / election / session-gate config the mobile pulls on session start: reads return the engine defaults deep-merged with the saved `overrides` (`config`), writes upsert a partial `DetectionConfigOverrides` (replacing the stored overrides), DELETE resets to defaults; single-object responses; OAS `ai-object-detection-detection-settings.yaml` @moalnatour
38
+ - add: aiObjectDetectionInference (AiObjectDetectionInference) service + types — `create` only (the backend rejects find/get/update/patch/remove with 400): runs trained (YOLO lambda) or zero-shot (Qwen-VL) detection on one task by `task_id`, resolves the model via `model_version`/`model`/dataset default, back-projects AR session frames (`world_position`, `ignore_reason`), runs the dims reclassifier + size gate, optionally saves an `auto` annotation group, and returns XAI (`explain` / `explain_only`); full `SceneMathConfig` knob typing; OAS `ai-object-detection-inference.yaml` @moalnatour
39
+ - add: aiObjectDetectionTask (AiObjectDetectionTask) service + types — `find`/`get`/`create`/`update`/`patch`/`remove`; filters `session`, `frame_meta.frame_id`, `task_dataset.dataset`, `annotated`, `annotated_label`, `annotation_status` (pending/confirmed/manual/auto_edited/auto) + created/updated ranges, 13 `populatedKeys` (top-level refs under `*_populated`, nested refs inline), bulk `patch(params, body)` with a `writeQuery[]` returning `{ nFound, nModified }`, full annotation-group / AR `frame_meta` / XAI typing; OAS `ai-object-detection-task.yaml` @moalnatour
40
+ - add: aiObjectDetectionSession (AiObjectDetectionSession) service + types — `find`/`get`/`create`/`update`/`patch`/`remove`, filters by `session_id`/`status`/`client`/`category`/`rep`/`visit_id`/`route`/`creator._id`/`inference_runs.model_version` + `from_/to_createdAt|updatedAt`, `populatedKeys` (`client`→`client_populated`, `category`→`category_populated`, in-place `inference_runs.model_version`/`objects.label_id`/`scene.point_cloud_media`), bulk `patch(params, { writeQuery })` → `{ nFound, nModified }`, `remove(id, { cascade })` also soft-deletes child tasks; OAS `ai-object-detection-session.yaml` @moalnatour
41
+ - add: activityAiObjectDetectionSessionFrame (ActivityAiObjectDetectionSessionFrame) service + types — `create` only (the AR frame intake: `media_id` + `client` + `meta_inline` upserts the parent session, materializes a task and returns `FrameResult`; `session_complete: true` flips the session to `uploaded` and fires the category auto-analysis, returning `SessionCompleteResult`); backend rejects find/get/update/patch/remove; OAS `activity-ai-object-detection-session-frame.yaml` @moalnatour
42
+ - add: aiObjectDetectionSessionAnalysis (AiObjectDetectionSessionAnalysis) service + types — `find`/`get`/`create`/`update`/`patch`/`remove`; `create` starts the async cross-frame fusion run for a `session` (returns the `pending` doc + `message`, poll until `status` is `success`/`failed`) or, with `recompute: "compose"` + `analysis`, recomposes shelves synchronously; full `SceneMathConfig` knobs, `objects[]`/`concluded_labels[]`/`detections[]` ledger/`funnel`/`shelf_composition`/`scene` result shapes; filters `session`/`model_version`/`status`/`creator._id` + `from_/to_createdAt|updatedAt`, in-place `populatedKeys`; bulk `patch(params, { writeQuery })`; OAS `ai-object-detection-session-analysis.yaml` @moalnatour
43
+ - add: aiObjectDetectionSessionElection (AiObjectDetectionSessionElection) service + types — `create` only (materializes an election-playground result as a NEW session: clones the source session with a `-E<n>` `session_id` + `source_session`, screens the elected `task_ids` against the error-tier limits, stamps `session_score`/`session_verdict`/`rejection_reasons`/`election_excluded` and duplicates the surviving tasks onto it); backend rejects find/get/update/patch/remove with MethodNotAllowed; OAS `ai-object-detection-session-election.yaml` @moalnatour
44
+ - add: aiObjectDetectionSessionInsight (AiObjectDetectionSessionInsight) service + types — `find({ session | analysis, include_objects?, include_adjacency? })`, `get(sessionId)` and `create(body)` (POST with up to 20 free-text/structured `questions` → `answers[]`); computed on read from the session's latest successful analysis — returns a single payload (not paginated) with `shelves[]`, `share_of_shelf`/`blocking` rollups per label/label-group/brand/category/subcategory/product, optional planogram `objects[]` and `adjacency[]`; backend rejects update/patch/remove; OAS `ai-object-detection-session-insight.yaml` @moalnatour
45
+ - add: aiObjectDetectionMetric (AiObjectDetectionMetric) service + types — `find`/`get`/`create`/`update`/`remove`, schema-strict planogram metric definitions (`adjacent_block` / `facings_count` / `on_shelf_availability` / `share_of_shelf` with per-type `args`), `find({ registry: true })` returns the type registry (`Find.RegistryResult`) instead of documents, `PUT` is a full re-definition (`type` + `args` required), soft-delete via `disabled`; OAS `ai-object-detection-metric.yaml` @moalnatour
46
+ - add: aiObjectDetectionMetricResult (AiObjectDetectionMetricResult) service + types — `find`/`get`/`create`/`update`/`remove`; per-(analysis, metric) results with the machine `computed` layer (strict per-type shapes incl. `SegmentOutput`) and the human `overwrite`/`flag`/`confirmed_edit` layer, effective `score`/`answer`/`ratio`, denormalized scan context; `create` = recalculate an analysis (`{ analysis, metrics? }` → evaluation summary), `update` = human override only, `populatedKeys` `metric`/`analysis`/`session`; OAS `ai-object-detection-metric-result.yaml` @moalnatour
47
+ - add: aiObjectDetectionMission (AiObjectDetectionMission) service + types — `find`/`get`/`create`/`update`/`remove`; weighted metric groups (`metrics[]` of `{ metric, weight }` required on create AND update, `min_score` completion threshold, optional `category`), `find({ scores_for: analysisId })` returns resolved per-mission scores with `assigned`/`via_sets`/`requirement_mode`/`completed` (`Find.ScoresResult`) instead of documents, soft-delete via `disabled`; OAS `ai-object-detection-mission.yaml` @moalnatour
48
+ - add: aiObjectDetectionMissionSet (AiObjectDetectionMissionSet) service + types — `find`/`get`/`create`/`update`/`remove`; named mission groups (`missions[]` of mission ids, required ≥ 1 on create AND update) that assignment rules target, `enabled` toggle, filters `_id`/`name`/`enabled`/`search`/`from_`+`to_` timestamps, soft-delete via `disabled`; OAS `ai-object-detection-mission-set.yaml` @moalnatour
49
+ - add: aiObjectDetectionMissionResults (AiObjectDetectionMissionResults) service + types — `find`/`get`/`update`/`remove` (no `create`: rows are written by the metric evaluator); one stored outcome per (session, mission) with effective `score`/`completed`, derived `flagged`, admin-only `update({ resolved })` review verdict, list defaults to a 30-day `from_time`/`to_time` window newest first, admin `rep` narrowing on find/get; OAS `ai-object-detection-mission-results.yaml` @moalnatour
50
+ - add: aiObjectDetectionAssignmentRule (AiObjectDetectionAssignmentRule) service + types — `find`/`get`/`create`/`update`/`remove`, a rule attaches mission sets (each with a `requirement_mode`) to clients through AND-ed `conditions` lines plus a `frequency` demand, filter by `mission_sets.mission_set` / `enabled` / `search`, soft-delete via `disabled` (PUT is a full re-validation and the backend rejects PATCH); OAS `ai-object-detection-assignment-rule.yaml` @moalnatour
51
+ - add: aiObjectDetectionAssignedMissions (AiObjectDetectionAssignedMissions) service + types — `find`/`get` (read-only, computed per client: `client` required, optional `rep` and device `visit` scope; `get(id)` treats the id as the client), returns every enabled rule with per-condition verdicts plus the assigned missions with `requirements[]`, the strictest `requirement_mode` and a business-day-windowed `done` flag; OAS `ai-object-detection-assigned-missions.yaml` @moalnatour
52
+ - add: objectDetectionAnalyticsReport (ObjectDetectionAnalyticsReport) service + types — `find` (legacy GET adapter) / `create` (V2 body: `view` metrics|segments, `anyOf[0].criteria` filters incl. label-attribute keys, `group`, `projection`, `options`), every read time-bounded (default last 30 days), drilldown-compatible query filters ride along on both verbs and `export=excel` queues the emailed report; OAS `object-detection-analytics-report.yaml` @moalnatour
53
+ - add: `object-detection-metrics` & `object-detection-segments` to the top-level `ReportType` union — the report column/sort rows returned by `objectDetectionAnalyticsReport` carry these `report_types` values @moalnatour
26
54
 
27
55
  ### Changed
28
56
 
package/lib/index.d.ts CHANGED
@@ -150,9 +150,36 @@ export declare const end_points: {
150
150
  readonly BULK_EXPORT: "bulk-export";
151
151
  readonly DELIVERY_NOTE: "delivery-note";
152
152
  readonly RESERVATION: "reservation";
153
+ readonly AI_OBJECT_DETECTION_DATASET: "ai-object-detection-dataset";
154
+ readonly AI_OBJECT_DETECTION_MODEL: "ai-object-detection-model";
155
+ readonly AI_OBJECT_DETECTION_MODEL_VERSION: "ai-object-detection-model-version";
156
+ readonly AI_OBJECT_DETECTION_MODEL_VERSION_EPOCH: "ai-object-detection-model-version-epoch";
157
+ readonly AI_OBJECT_DETECTION_MODEL_VERSION_TRAIN_AGENT: "ai-object-detection-model-version-train-agent";
158
+ readonly AI_OBJECT_DETECTION_LABEL: "ai-object-detection-label";
159
+ readonly AI_OBJECT_DETECTION_LABEL_GROUP: "ai-object-detection-label-group";
160
+ readonly AI_OBJECT_DETECTION_CATEGORY: "ai-object-detection-category";
161
+ readonly AI_OBJECT_DETECTION_SEGMENT: "ai-object-detection-segment";
162
+ readonly AI_OBJECT_DETECTION_LABEL_REPORT: "ai-object-detection-label-report";
163
+ readonly AI_OBJECT_DETECTION_SETTINGS: "ai-object-detection-settings";
164
+ readonly AI_OBJECT_DETECTION_DETECTION_SETTINGS: "ai-object-detection-detection-settings";
165
+ readonly AI_OBJECT_DETECTION_INFERENCE: "ai-object-detection-inference";
166
+ readonly AI_OBJECT_DETECTION_TASK: "ai-object-detection-task";
167
+ readonly AI_OBJECT_DETECTION_SESSION: "ai-object-detection-session";
168
+ readonly ACTIVITY_AI_OBJECT_DETECTION_SESSION_FRAME: "activity-ai-object-detection-session-frame";
169
+ readonly AI_OBJECT_DETECTION_SESSION_ANALYSIS: "ai-object-detection-session-analysis";
170
+ readonly AI_OBJECT_DETECTION_SESSION_ELECTION: "ai-object-detection-session-election";
171
+ readonly AI_OBJECT_DETECTION_SESSION_INSIGHT: "ai-object-detection-session-insight";
172
+ readonly AI_OBJECT_DETECTION_METRIC: "ai-object-detection-metric";
173
+ readonly AI_OBJECT_DETECTION_METRIC_RESULT: "ai-object-detection-metric-result";
174
+ readonly AI_OBJECT_DETECTION_MISSION: "ai-object-detection-mission";
175
+ readonly AI_OBJECT_DETECTION_MISSION_SET: "ai-object-detection-mission-set";
176
+ readonly AI_OBJECT_DETECTION_MISSION_RESULTS: "ai-object-detection-mission-results";
177
+ readonly AI_OBJECT_DETECTION_ASSIGNMENT_RULE: "ai-object-detection-assignment-rule";
178
+ readonly AI_OBJECT_DETECTION_ASSIGNED_MISSIONS: "ai-object-detection-assigned-missions";
179
+ readonly OBJECT_DETECTION_ANALYTICS_REPORT: "object-detection-analytics-report";
153
180
  };
154
181
  export type EndPoints = (typeof end_points)[keyof typeof end_points];
155
- export declare const availableService: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "geoZone", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "voidSettlement", "check", "day", "dayShift", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "activityItemStatus", "itemStatusType", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField", "salesAnalyticsReport", "clmPresentation", "clmSequence", "clmSlide", "clmFetch", "pdfMergeField", "visitReason", "targetRule", "plan", "calendar", "lineTarget", "bulkImport", "bulkExport"];
182
+ export declare const availableService: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "geoZone", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "voidSettlement", "check", "day", "dayShift", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "activityItemStatus", "itemStatusType", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField", "salesAnalyticsReport", "clmPresentation", "clmSequence", "clmSlide", "clmFetch", "pdfMergeField", "visitReason", "targetRule", "plan", "calendar", "lineTarget", "bulkImport", "bulkExport", "aiObjectDetectionDataset", "aiObjectDetectionModel", "aiObjectDetectionModelVersion", "aiObjectDetectionModelVersionEpoch", "aiObjectDetectionModelVersionTrainAgent", "aiObjectDetectionLabel", "aiObjectDetectionLabelGroup", "aiObjectDetectionCategory", "aiObjectDetectionSegment", "aiObjectDetectionLabelReport", "aiObjectDetectionSettings", "aiObjectDetectionDetectionSettings", "aiObjectDetectionInference", "aiObjectDetectionTask", "aiObjectDetectionSession", "activityAiObjectDetectionSessionFrame", "aiObjectDetectionSessionAnalysis", "aiObjectDetectionSessionElection", "aiObjectDetectionSessionInsight", "aiObjectDetectionMetric", "aiObjectDetectionMetricResult", "aiObjectDetectionMission", "aiObjectDetectionMissionSet", "aiObjectDetectionMissionResults", "aiObjectDetectionAssignmentRule", "aiObjectDetectionAssignedMissions", "objectDetectionAnalyticsReport"];
156
183
  export type AvailableService = (typeof availableService)[number];
157
184
  export default class Repzo {
158
185
  private svAPIEndpoint;
@@ -315,6 +342,33 @@ export default class Repzo {
315
342
  readonly BULK_EXPORT: "bulk-export";
316
343
  readonly DELIVERY_NOTE: "delivery-note";
317
344
  readonly RESERVATION: "reservation";
345
+ readonly AI_OBJECT_DETECTION_DATASET: "ai-object-detection-dataset";
346
+ readonly AI_OBJECT_DETECTION_MODEL: "ai-object-detection-model";
347
+ readonly AI_OBJECT_DETECTION_MODEL_VERSION: "ai-object-detection-model-version";
348
+ readonly AI_OBJECT_DETECTION_MODEL_VERSION_EPOCH: "ai-object-detection-model-version-epoch";
349
+ readonly AI_OBJECT_DETECTION_MODEL_VERSION_TRAIN_AGENT: "ai-object-detection-model-version-train-agent";
350
+ readonly AI_OBJECT_DETECTION_LABEL: "ai-object-detection-label";
351
+ readonly AI_OBJECT_DETECTION_LABEL_GROUP: "ai-object-detection-label-group";
352
+ readonly AI_OBJECT_DETECTION_CATEGORY: "ai-object-detection-category";
353
+ readonly AI_OBJECT_DETECTION_SEGMENT: "ai-object-detection-segment";
354
+ readonly AI_OBJECT_DETECTION_LABEL_REPORT: "ai-object-detection-label-report";
355
+ readonly AI_OBJECT_DETECTION_SETTINGS: "ai-object-detection-settings";
356
+ readonly AI_OBJECT_DETECTION_DETECTION_SETTINGS: "ai-object-detection-detection-settings";
357
+ readonly AI_OBJECT_DETECTION_INFERENCE: "ai-object-detection-inference";
358
+ readonly AI_OBJECT_DETECTION_TASK: "ai-object-detection-task";
359
+ readonly AI_OBJECT_DETECTION_SESSION: "ai-object-detection-session";
360
+ readonly ACTIVITY_AI_OBJECT_DETECTION_SESSION_FRAME: "activity-ai-object-detection-session-frame";
361
+ readonly AI_OBJECT_DETECTION_SESSION_ANALYSIS: "ai-object-detection-session-analysis";
362
+ readonly AI_OBJECT_DETECTION_SESSION_ELECTION: "ai-object-detection-session-election";
363
+ readonly AI_OBJECT_DETECTION_SESSION_INSIGHT: "ai-object-detection-session-insight";
364
+ readonly AI_OBJECT_DETECTION_METRIC: "ai-object-detection-metric";
365
+ readonly AI_OBJECT_DETECTION_METRIC_RESULT: "ai-object-detection-metric-result";
366
+ readonly AI_OBJECT_DETECTION_MISSION: "ai-object-detection-mission";
367
+ readonly AI_OBJECT_DETECTION_MISSION_SET: "ai-object-detection-mission-set";
368
+ readonly AI_OBJECT_DETECTION_MISSION_RESULTS: "ai-object-detection-mission-results";
369
+ readonly AI_OBJECT_DETECTION_ASSIGNMENT_RULE: "ai-object-detection-assignment-rule";
370
+ readonly AI_OBJECT_DETECTION_ASSIGNED_MISSIONS: "ai-object-detection-assigned-missions";
371
+ readonly OBJECT_DETECTION_ANALYTICS_REPORT: "object-detection-analytics-report";
318
372
  };
319
373
  private _retryRequest;
320
374
  private _fetch;
@@ -322,7 +376,195 @@ export default class Repzo {
322
376
  private _update;
323
377
  private _patch;
324
378
  private _delete;
325
- available_services: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "geoZone", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "voidSettlement", "check", "day", "dayShift", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "activityItemStatus", "itemStatusType", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField", "salesAnalyticsReport", "clmPresentation", "clmSequence", "clmSlide", "clmFetch", "pdfMergeField", "visitReason", "targetRule", "plan", "calendar", "lineTarget", "bulkImport", "bulkExport"];
379
+ aiObjectDetectionDataset: {
380
+ _path: "ai-object-detection-dataset";
381
+ find: (params?: Service.AiObjectDetectionDataset.Find.Params) => Promise<Service.AiObjectDetectionDataset.Find.Result>;
382
+ get: (id: Service.AiObjectDetectionDataset.Get.ID, params?: Service.AiObjectDetectionDataset.Get.Params) => Promise<Service.AiObjectDetectionDataset.Get.Result>;
383
+ create: (body: Service.AiObjectDetectionDataset.Create.Body) => Promise<Service.AiObjectDetectionDataset.Create.Result>;
384
+ update: (id: Service.AiObjectDetectionDataset.Update.ID, body: Service.AiObjectDetectionDataset.Update.Body) => Promise<Service.AiObjectDetectionDataset.Update.Result>;
385
+ remove: (id: Service.AiObjectDetectionDataset.Remove.ID) => Promise<Service.AiObjectDetectionDataset.Remove.Result>;
386
+ };
387
+ aiObjectDetectionModel: {
388
+ _path: "ai-object-detection-model";
389
+ find: (params?: Service.AiObjectDetectionModel.Find.Params) => Promise<Service.AiObjectDetectionModel.Find.Result>;
390
+ get: (id: Service.AiObjectDetectionModel.Get.ID, params?: Service.AiObjectDetectionModel.Get.Params) => Promise<Service.AiObjectDetectionModel.Get.Result>;
391
+ create: (body: Service.AiObjectDetectionModel.Create.Body) => Promise<Service.AiObjectDetectionModel.Create.Result>;
392
+ update: (id: Service.AiObjectDetectionModel.Update.ID, body: Service.AiObjectDetectionModel.Update.Body) => Promise<Service.AiObjectDetectionModel.Update.Result>;
393
+ remove: (id: Service.AiObjectDetectionModel.Remove.ID) => Promise<Service.AiObjectDetectionModel.Remove.Result>;
394
+ };
395
+ aiObjectDetectionModelVersion: {
396
+ _path: "ai-object-detection-model-version";
397
+ find: (params?: Service.AiObjectDetectionModelVersion.Find.Params) => Promise<Service.AiObjectDetectionModelVersion.Find.Result>;
398
+ get: (id: Service.AiObjectDetectionModelVersion.Get.ID, params?: Service.AiObjectDetectionModelVersion.Get.Params) => Promise<Service.AiObjectDetectionModelVersion.Get.Result>;
399
+ create: (body: Service.AiObjectDetectionModelVersion.Create.Body) => Promise<Service.AiObjectDetectionModelVersion.Create.Result>;
400
+ remove: (id: Service.AiObjectDetectionModelVersion.Remove.ID) => Promise<Service.AiObjectDetectionModelVersion.Remove.Result>;
401
+ };
402
+ aiObjectDetectionModelVersionEpoch: {
403
+ _path: "ai-object-detection-model-version-epoch";
404
+ find: (params: Service.AiObjectDetectionModelVersionEpoch.Find.Params) => Promise<Service.AiObjectDetectionModelVersionEpoch.Find.Result>;
405
+ get: (id: Service.AiObjectDetectionModelVersionEpoch.Get.ID) => Promise<Service.AiObjectDetectionModelVersionEpoch.Get.Result>;
406
+ };
407
+ aiObjectDetectionModelVersionTrainAgent: {
408
+ _path: "ai-object-detection-model-version-train-agent";
409
+ get: (id: Service.AiObjectDetectionModelVersionTrainAgent.Get.ID) => Promise<Service.AiObjectDetectionModelVersionTrainAgent.Get.Result>;
410
+ };
411
+ aiObjectDetectionLabel: {
412
+ _path: "ai-object-detection-label";
413
+ find: (params?: Service.AiObjectDetectionLabel.Find.Params) => Promise<Service.AiObjectDetectionLabel.Find.Result>;
414
+ get: (id: Service.AiObjectDetectionLabel.Get.ID, params?: Service.AiObjectDetectionLabel.Get.Params) => Promise<Service.AiObjectDetectionLabel.Get.Result>;
415
+ create: (body: Service.AiObjectDetectionLabel.Create.Body) => Promise<Service.AiObjectDetectionLabel.Create.Result>;
416
+ update: (id: Service.AiObjectDetectionLabel.Update.ID, body: Service.AiObjectDetectionLabel.Update.Body) => Promise<Service.AiObjectDetectionLabel.Update.Result>;
417
+ remove: (id: Service.AiObjectDetectionLabel.Remove.ID) => Promise<Service.AiObjectDetectionLabel.Remove.Result>;
418
+ };
419
+ aiObjectDetectionLabelGroup: {
420
+ _path: "ai-object-detection-label-group";
421
+ find: (params?: Service.AiObjectDetectionLabelGroup.Find.Params) => Promise<Service.AiObjectDetectionLabelGroup.Find.Result>;
422
+ get: (id: Service.AiObjectDetectionLabelGroup.Get.ID) => Promise<Service.AiObjectDetectionLabelGroup.Get.Result>;
423
+ create: (body: Service.AiObjectDetectionLabelGroup.Create.Body) => Promise<Service.AiObjectDetectionLabelGroup.Create.Result>;
424
+ update: (id: Service.AiObjectDetectionLabelGroup.Update.ID, body: Service.AiObjectDetectionLabelGroup.Update.Body) => Promise<Service.AiObjectDetectionLabelGroup.Update.Result>;
425
+ remove: (id: Service.AiObjectDetectionLabelGroup.Remove.ID, params?: Service.AiObjectDetectionLabelGroup.Remove.Params) => Promise<Service.AiObjectDetectionLabelGroup.Remove.Result>;
426
+ };
427
+ aiObjectDetectionCategory: {
428
+ _path: "ai-object-detection-category";
429
+ find: (params?: Service.AiObjectDetectionCategory.Find.Params) => Promise<Service.AiObjectDetectionCategory.Find.Result>;
430
+ get: (id: Service.AiObjectDetectionCategory.Get.ID) => Promise<Service.AiObjectDetectionCategory.Get.Result>;
431
+ create: (body: Service.AiObjectDetectionCategory.Create.Body) => Promise<Service.AiObjectDetectionCategory.Create.Result>;
432
+ update: (id: Service.AiObjectDetectionCategory.Update.ID, body: Service.AiObjectDetectionCategory.Update.Body) => Promise<Service.AiObjectDetectionCategory.Update.Result>;
433
+ remove: (id: Service.AiObjectDetectionCategory.Remove.ID, params?: Service.AiObjectDetectionCategory.Remove.Params) => Promise<Service.AiObjectDetectionCategory.Remove.Result>;
434
+ };
435
+ aiObjectDetectionSegment: {
436
+ _path: "ai-object-detection-segment";
437
+ find: (params?: Service.AiObjectDetectionSegment.Find.Params) => Promise<Service.AiObjectDetectionSegment.Find.Result>;
438
+ get: (id: Service.AiObjectDetectionSegment.Get.ID) => Promise<Service.AiObjectDetectionSegment.Get.Result>;
439
+ create: (body: Service.AiObjectDetectionSegment.Create.Body) => Promise<Service.AiObjectDetectionSegment.Create.Result>;
440
+ update: (id: Service.AiObjectDetectionSegment.Update.ID, body: Service.AiObjectDetectionSegment.Update.Body) => Promise<Service.AiObjectDetectionSegment.Update.Result>;
441
+ remove: (id: Service.AiObjectDetectionSegment.Remove.ID) => Promise<Service.AiObjectDetectionSegment.Remove.Result>;
442
+ };
443
+ aiObjectDetectionLabelReport: {
444
+ _path: "ai-object-detection-label-report";
445
+ find: (params: Service.AiObjectDetectionLabelReport.Find.Params) => Promise<Service.AiObjectDetectionLabelReport.Find.Result>;
446
+ };
447
+ aiObjectDetectionSettings: {
448
+ _path: "ai-object-detection-settings";
449
+ find: () => Promise<Service.AiObjectDetectionSettings.Find.Result>;
450
+ get: (id: Service.AiObjectDetectionSettings.Get.ID) => Promise<Service.AiObjectDetectionSettings.Get.Result>;
451
+ create: (body: Service.AiObjectDetectionSettings.Create.Body) => Promise<Service.AiObjectDetectionSettings.Create.Result>;
452
+ update: (id: Service.AiObjectDetectionSettings.Update.ID, body: Service.AiObjectDetectionSettings.Update.Body) => Promise<Service.AiObjectDetectionSettings.Update.Result>;
453
+ patch: (body: Service.AiObjectDetectionSettings.Patch.Body) => Promise<Service.AiObjectDetectionSettings.Patch.Result>;
454
+ remove: (id: Service.AiObjectDetectionSettings.Remove.ID) => Promise<Service.AiObjectDetectionSettings.Remove.Result>;
455
+ };
456
+ aiObjectDetectionDetectionSettings: {
457
+ _path: "ai-object-detection-detection-settings";
458
+ find: () => Promise<Service.AiObjectDetectionDetectionSettings.Find.Result>;
459
+ get: (id: Service.AiObjectDetectionDetectionSettings.Get.ID) => Promise<Service.AiObjectDetectionDetectionSettings.Get.Result>;
460
+ create: (body: Service.AiObjectDetectionDetectionSettings.Create.Body) => Promise<Service.AiObjectDetectionDetectionSettings.Create.Result>;
461
+ update: (id: Service.AiObjectDetectionDetectionSettings.Update.ID, body: Service.AiObjectDetectionDetectionSettings.Update.Body) => Promise<Service.AiObjectDetectionDetectionSettings.Update.Result>;
462
+ patch: (body: Service.AiObjectDetectionDetectionSettings.Patch.Body) => Promise<Service.AiObjectDetectionDetectionSettings.Patch.Result>;
463
+ remove: (id: Service.AiObjectDetectionDetectionSettings.Remove.ID) => Promise<Service.AiObjectDetectionDetectionSettings.Remove.Result>;
464
+ };
465
+ aiObjectDetectionInference: {
466
+ _path: "ai-object-detection-inference";
467
+ create: (body: Service.AiObjectDetectionInference.Create.Body) => Promise<Service.AiObjectDetectionInference.Create.Result>;
468
+ };
469
+ aiObjectDetectionTask: {
470
+ _path: "ai-object-detection-task";
471
+ find: (params?: Service.AiObjectDetectionTask.Find.Params) => Promise<Service.AiObjectDetectionTask.Find.Result>;
472
+ get: (id: Service.AiObjectDetectionTask.Get.ID, params?: Service.AiObjectDetectionTask.Get.Params) => Promise<Service.AiObjectDetectionTask.Get.Result>;
473
+ create: (body: Service.AiObjectDetectionTask.Create.Body) => Promise<Service.AiObjectDetectionTask.Create.Result>;
474
+ update: (id: Service.AiObjectDetectionTask.Update.ID, body: Service.AiObjectDetectionTask.Update.Body) => Promise<Service.AiObjectDetectionTask.Update.Result>;
475
+ patch: (params: Service.AiObjectDetectionTask.Patch.Params, body: Service.AiObjectDetectionTask.Patch.Body) => Promise<Service.AiObjectDetectionTask.Patch.Result>;
476
+ remove: (id: Service.AiObjectDetectionTask.Remove.ID) => Promise<Service.AiObjectDetectionTask.Remove.Result>;
477
+ };
478
+ aiObjectDetectionSession: {
479
+ _path: "ai-object-detection-session";
480
+ find: (params?: Service.AiObjectDetectionSession.Find.Params) => Promise<Service.AiObjectDetectionSession.Find.Result>;
481
+ get: (id: Service.AiObjectDetectionSession.Get.ID, params?: Service.AiObjectDetectionSession.Get.Params) => Promise<Service.AiObjectDetectionSession.Get.Result>;
482
+ create: (body: Service.AiObjectDetectionSession.Create.Body) => Promise<Service.AiObjectDetectionSession.Create.Result>;
483
+ update: (id: Service.AiObjectDetectionSession.Update.ID, body: Service.AiObjectDetectionSession.Update.Body) => Promise<Service.AiObjectDetectionSession.Update.Result>;
484
+ patch: (params: Service.AiObjectDetectionSession.Patch.Params, body: Service.AiObjectDetectionSession.Patch.Body) => Promise<Service.AiObjectDetectionSession.Patch.Result>;
485
+ remove: (id: Service.AiObjectDetectionSession.Remove.ID, params?: Service.AiObjectDetectionSession.Remove.Params) => Promise<Service.AiObjectDetectionSession.Remove.Result>;
486
+ };
487
+ activityAiObjectDetectionSessionFrame: {
488
+ _path: "activity-ai-object-detection-session-frame";
489
+ create: (body: Service.ActivityAiObjectDetectionSessionFrame.Create.Body) => Promise<Service.ActivityAiObjectDetectionSessionFrame.Create.Result>;
490
+ };
491
+ aiObjectDetectionSessionAnalysis: {
492
+ _path: "ai-object-detection-session-analysis";
493
+ find: (params?: Service.AiObjectDetectionSessionAnalysis.Find.Params) => Promise<Service.AiObjectDetectionSessionAnalysis.Find.Result>;
494
+ get: (id: Service.AiObjectDetectionSessionAnalysis.Get.ID, params?: Service.AiObjectDetectionSessionAnalysis.Get.Params) => Promise<Service.AiObjectDetectionSessionAnalysis.Get.Result>;
495
+ create: (body: Service.AiObjectDetectionSessionAnalysis.Create.Body) => Promise<Service.AiObjectDetectionSessionAnalysis.Create.Result>;
496
+ update: (id: Service.AiObjectDetectionSessionAnalysis.Update.ID, body: Service.AiObjectDetectionSessionAnalysis.Update.Body) => Promise<Service.AiObjectDetectionSessionAnalysis.Update.Result>;
497
+ patch: (params: Service.AiObjectDetectionSessionAnalysis.Patch.Params, body: Service.AiObjectDetectionSessionAnalysis.Patch.Body) => Promise<Service.AiObjectDetectionSessionAnalysis.Patch.Result>;
498
+ remove: (id: Service.AiObjectDetectionSessionAnalysis.Remove.ID) => Promise<Service.AiObjectDetectionSessionAnalysis.Remove.Result>;
499
+ };
500
+ aiObjectDetectionSessionElection: {
501
+ _path: "ai-object-detection-session-election";
502
+ create: (body: Service.AiObjectDetectionSessionElection.Create.Body) => Promise<Service.AiObjectDetectionSessionElection.Create.Result>;
503
+ };
504
+ aiObjectDetectionSessionInsight: {
505
+ _path: "ai-object-detection-session-insight";
506
+ find: (params?: Service.AiObjectDetectionSessionInsight.Find.Params) => Promise<Service.AiObjectDetectionSessionInsight.Find.Result>;
507
+ get: (id: Service.AiObjectDetectionSessionInsight.Get.ID) => Promise<Service.AiObjectDetectionSessionInsight.Get.Result>;
508
+ create: (body: Service.AiObjectDetectionSessionInsight.Create.Body) => Promise<Service.AiObjectDetectionSessionInsight.Create.Result>;
509
+ };
510
+ aiObjectDetectionMetric: {
511
+ _path: "ai-object-detection-metric";
512
+ find: (params?: Service.AiObjectDetectionMetric.Find.Params) => Promise<Service.AiObjectDetectionMetric.Find.Result>;
513
+ get: (id: Service.AiObjectDetectionMetric.Get.ID) => Promise<Service.AiObjectDetectionMetric.Get.Result>;
514
+ create: (body: Service.AiObjectDetectionMetric.Create.Body) => Promise<Service.AiObjectDetectionMetric.Create.Result>;
515
+ update: (id: Service.AiObjectDetectionMetric.Update.ID, body: Service.AiObjectDetectionMetric.Update.Body) => Promise<Service.AiObjectDetectionMetric.Update.Result>;
516
+ remove: (id: Service.AiObjectDetectionMetric.Remove.ID) => Promise<Service.AiObjectDetectionMetric.Remove.Result>;
517
+ };
518
+ aiObjectDetectionMetricResult: {
519
+ _path: "ai-object-detection-metric-result";
520
+ find: (params?: Service.AiObjectDetectionMetricResult.Find.Params) => Promise<Service.AiObjectDetectionMetricResult.Find.Result>;
521
+ get: (id: Service.AiObjectDetectionMetricResult.Get.ID) => Promise<Service.AiObjectDetectionMetricResult.Get.Result>;
522
+ create: (body: Service.AiObjectDetectionMetricResult.Create.Body) => Promise<Service.AiObjectDetectionMetricResult.Create.Result>;
523
+ update: (id: Service.AiObjectDetectionMetricResult.Update.ID, body: Service.AiObjectDetectionMetricResult.Update.Body) => Promise<Service.AiObjectDetectionMetricResult.Update.Result>;
524
+ remove: (id: Service.AiObjectDetectionMetricResult.Remove.ID) => Promise<Service.AiObjectDetectionMetricResult.Remove.Result>;
525
+ };
526
+ aiObjectDetectionMission: {
527
+ _path: "ai-object-detection-mission";
528
+ find: (params?: Service.AiObjectDetectionMission.Find.Params) => Promise<Service.AiObjectDetectionMission.Find.Result>;
529
+ get: (id: Service.AiObjectDetectionMission.Get.ID) => Promise<Service.AiObjectDetectionMission.Get.Result>;
530
+ create: (body: Service.AiObjectDetectionMission.Create.Body) => Promise<Service.AiObjectDetectionMission.Create.Result>;
531
+ update: (id: Service.AiObjectDetectionMission.Update.ID, body: Service.AiObjectDetectionMission.Update.Body) => Promise<Service.AiObjectDetectionMission.Update.Result>;
532
+ remove: (id: Service.AiObjectDetectionMission.Remove.ID) => Promise<Service.AiObjectDetectionMission.Remove.Result>;
533
+ };
534
+ aiObjectDetectionMissionSet: {
535
+ _path: "ai-object-detection-mission-set";
536
+ find: (params?: Service.AiObjectDetectionMissionSet.Find.Params) => Promise<Service.AiObjectDetectionMissionSet.Find.Result>;
537
+ get: (id: Service.AiObjectDetectionMissionSet.Get.ID) => Promise<Service.AiObjectDetectionMissionSet.Get.Result>;
538
+ create: (body: Service.AiObjectDetectionMissionSet.Create.Body) => Promise<Service.AiObjectDetectionMissionSet.Create.Result>;
539
+ update: (id: Service.AiObjectDetectionMissionSet.Update.ID, body: Service.AiObjectDetectionMissionSet.Update.Body) => Promise<Service.AiObjectDetectionMissionSet.Update.Result>;
540
+ remove: (id: Service.AiObjectDetectionMissionSet.Remove.ID) => Promise<Service.AiObjectDetectionMissionSet.Remove.Result>;
541
+ };
542
+ aiObjectDetectionMissionResults: {
543
+ _path: "ai-object-detection-mission-results";
544
+ find: (params?: Service.AiObjectDetectionMissionResults.Find.Params) => Promise<Service.AiObjectDetectionMissionResults.Find.Result>;
545
+ get: (id: Service.AiObjectDetectionMissionResults.Get.ID, params?: Service.AiObjectDetectionMissionResults.Get.Params) => Promise<Service.AiObjectDetectionMissionResults.Get.Result>;
546
+ update: (id: Service.AiObjectDetectionMissionResults.Update.ID, body: Service.AiObjectDetectionMissionResults.Update.Body) => Promise<Service.AiObjectDetectionMissionResults.Update.Result>;
547
+ remove: (id: Service.AiObjectDetectionMissionResults.Remove.ID) => Promise<Service.AiObjectDetectionMissionResults.Remove.Result>;
548
+ };
549
+ aiObjectDetectionAssignmentRule: {
550
+ _path: "ai-object-detection-assignment-rule";
551
+ find: (params?: Service.AiObjectDetectionAssignmentRule.Find.Params) => Promise<Service.AiObjectDetectionAssignmentRule.Find.Result>;
552
+ get: (id: Service.AiObjectDetectionAssignmentRule.Get.ID) => Promise<Service.AiObjectDetectionAssignmentRule.Get.Result>;
553
+ create: (body: Service.AiObjectDetectionAssignmentRule.Create.Body) => Promise<Service.AiObjectDetectionAssignmentRule.Create.Result>;
554
+ update: (id: Service.AiObjectDetectionAssignmentRule.Update.ID, body: Service.AiObjectDetectionAssignmentRule.Update.Body) => Promise<Service.AiObjectDetectionAssignmentRule.Update.Result>;
555
+ remove: (id: Service.AiObjectDetectionAssignmentRule.Remove.ID) => Promise<Service.AiObjectDetectionAssignmentRule.Remove.Result>;
556
+ };
557
+ aiObjectDetectionAssignedMissions: {
558
+ _path: "ai-object-detection-assigned-missions";
559
+ find: (params: Service.AiObjectDetectionAssignedMissions.Find.Params) => Promise<Service.AiObjectDetectionAssignedMissions.Find.Result>;
560
+ get: (id: Service.AiObjectDetectionAssignedMissions.Get.ID, params?: Service.AiObjectDetectionAssignedMissions.Get.Params) => Promise<Service.AiObjectDetectionAssignedMissions.Get.Result>;
561
+ };
562
+ objectDetectionAnalyticsReport: {
563
+ _path: "object-detection-analytics-report";
564
+ find: (params?: Service.ObjectDetectionAnalyticsReport.Find.Params) => Promise<Service.ObjectDetectionAnalyticsReport.Find.Result>;
565
+ create: (body: Service.ObjectDetectionAnalyticsReport.Create.Body, params?: Service.ObjectDetectionAnalyticsReport.Create.Params) => Promise<Service.ObjectDetectionAnalyticsReport.Create.Result>;
566
+ };
567
+ available_services: readonly ["client", "product", "variant", "category", "sub_category", "brand", "product_group", "tax", "measureunit", "measureunitFamily", "media", "priceList", "priceListItem", "team", "returnReason", "rep", "tag", "warehouse", "route", "geoZone", "productModifiersGroup", "channel", "speciality", "clientContact", "paymentTerm", "bank", "bank_list", "customStatus", "customList", "customListItem", "inventoryAdjustmentReason", "workorder", "workorderRequest", "supplier", "quickConvertToPdf", "visit", "activityFeedback", "activityFeedbackV2", "feedbackOption", "invoice", "proforma", "payment", "refund", "settlement", "voidSettlement", "check", "day", "dayShift", "receivingMaterial", "adjustAccount", "transfer", "msl", "mslProduct", "mediaStorage", "storecheckTemplate", "activityStorecheck", "activityItemStatus", "itemStatusType", "adjustInventory", "inventory", "integrationApp", "joinActionsWebHook", "patchAction", "updateIntegrationMeta", "assetPartType", "assetPart", "assetPartUnit", "assetPartReceival", "assetPartTransfer", "returnAssetPartUnit", "storeAssetPartUnit", "ocrInvoiceJobTemplate", "ocrInvoiceJobGroup", "activityAiSalesOrder", "ocrInvoiceJob", "ocrInvoiceJobPage", "settings", "mailUnsubscribe", "approvalRequest", "safeInvoiceSerialCounter", "clientLocation", "assetType", "asset", "assetUnit", "workorderPortal", "approval", "workorderCategory", "contract", "contractInstallment", "repBalanceSummary", "workorderPortalLink", "customField", "salesAnalyticsReport", "clmPresentation", "clmSequence", "clmSlide", "clmFetch", "pdfMergeField", "visitReason", "targetRule", "plan", "calendar", "lineTarget", "bulkImport", "bulkExport", "aiObjectDetectionDataset", "aiObjectDetectionModel", "aiObjectDetectionModelVersion", "aiObjectDetectionModelVersionEpoch", "aiObjectDetectionModelVersionTrainAgent", "aiObjectDetectionLabel", "aiObjectDetectionLabelGroup", "aiObjectDetectionCategory", "aiObjectDetectionSegment", "aiObjectDetectionLabelReport", "aiObjectDetectionSettings", "aiObjectDetectionDetectionSettings", "aiObjectDetectionInference", "aiObjectDetectionTask", "aiObjectDetectionSession", "activityAiObjectDetectionSessionFrame", "aiObjectDetectionSessionAnalysis", "aiObjectDetectionSessionElection", "aiObjectDetectionSessionInsight", "aiObjectDetectionMetric", "aiObjectDetectionMetricResult", "aiObjectDetectionMission", "aiObjectDetectionMissionSet", "aiObjectDetectionMissionResults", "aiObjectDetectionAssignmentRule", "aiObjectDetectionAssignedMissions", "objectDetectionAnalyticsReport"];
326
568
  generateUUID: ({ prefix, suffix, length, }: {
327
569
  prefix?: string;
328
570
  suffix?: string;