@spytecgps/nova-orm 1.4.153 → 1.4.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/index.d.ts +9 -1
- package/dist/entities/retailBleTag.d.ts +12 -0
- package/dist/entities/retailGateway.d.ts +14 -0
- package/dist/entities/retailIncident.d.ts +21 -0
- package/dist/entities/retailItem.d.ts +17 -0
- package/dist/entities/retailItemEvent.d.ts +13 -0
- package/dist/entities/retailProduct.d.ts +15 -0
- package/dist/entities/retailStore.d.ts +21 -0
- package/dist/entities/retailZone.d.ts +14 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/retail.d.ts +8 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -138,6 +138,14 @@ import { Promotion } from './promotion';
|
|
|
138
138
|
import { PromotionHistory } from './promotionHistory';
|
|
139
139
|
import { Region } from './region';
|
|
140
140
|
import { ReportScheduleConfiguration } from './reportScheduleConfiguration';
|
|
141
|
+
import { RetailBleTag } from './retailBleTag';
|
|
142
|
+
import { RetailGateway } from './retailGateway';
|
|
143
|
+
import { RetailIncident } from './retailIncident';
|
|
144
|
+
import { RetailItem } from './retailItem';
|
|
145
|
+
import { RetailItemEvent } from './retailItemEvent';
|
|
146
|
+
import { RetailProduct } from './retailProduct';
|
|
147
|
+
import { RetailStore } from './retailStore';
|
|
148
|
+
import { RetailZone } from './retailZone';
|
|
141
149
|
import { SecurityRole } from './securityRole';
|
|
142
150
|
import { ServiceProvider } from './serviceProvider';
|
|
143
151
|
import { ServiceProviderProduct } from './serviceProviderProduct';
|
|
@@ -181,4 +189,4 @@ import { UserRegistrationAttempt } from './userRegistrationAttempt';
|
|
|
181
189
|
import { UserSecurityRole } from './userSecurityRole';
|
|
182
190
|
import { WebsocketConnection } from './websocketConnection';
|
|
183
191
|
export * from './customerAttribute';
|
|
184
|
-
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertType, AppFeatureType, AsinPromotion, AssetCategory, AssetProfile, AssetProfileCategory, AssetProfileCustomField, AssetProfileCustomStatus, AssetProfileMedia, AssetProfileNote, AssetProfileType, AvalaraExemptCert, AvalaraQueue, BeaconBleMesh, Billing, BillingCustomerAmazon, BillingCustomerBraintree, BillingDeviceHistory, BillingDeviceTypePlan, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingPlanFeatures, BillingPlans, BillingStatusHistoryBraintree, BillingSubscriptionAmazon, BillingSubscriptionBraintree, Blacklist, BlacklistType, BLEMesh, BLEMeshConfiguration, Boundary, BoundaryEvent, CellTower, Client, ClientStatusHistory, ClientAlertConfiguration, ClientAlertRecipient, ClientApiToken, ClientApiTokenShareHistory, ClientAppFeature, ClientConfiguration, ClientDeviceIcon, ClientDeviceSetting, ClientIngestorConfiguration, ClientIssuesConfiguration, ClientType, Country, CustomReport, CustomReportColumn, CustomReportColumnCategory, CustomReportDataSource, CustomReportSelectedColumn, CustomSecurityRole, DataExport, DataSourceType, Deactivation, DeactivationReason, DemoAccountDeviceData, DemoAccountSiteLocation, DemoAccountTemplate, DemoAccountTemplateAssetProfile, DemoAccountTemplateBleMesh, DemoAccountTemplateDevice, DemoAccountTripTemplate, DemoAccountTripTemplatePosition, DemoDeviceData, Device, DeviceBehavior, DeviceBleMesh, DeviceBleMeshUpdateTask, DeviceCameraConfiguration, DeviceCameraMedia, DeviceCameraMediaEventType, DeviceCameraMediaStreamingData, DeviceCameraMediaStreamingSession, DeviceCameraMediaSyncStatus, DeviceCameraRequestedPictureData, DeviceCameraRequestedVideoData, DeviceChangesHistory, DeviceCustomConfiguration, DeviceEventsTriggerConfiguration, DeviceHistory, DeviceModelListener, DevicePairing, DevicePromotion, DeviceReplacement, DeviceStatus, DeviceTask, DeviceType, DeviceTypeFeature, DeviceTypeFirmware, DeviceTypePromotion, EmailDomain, EntityTag, EntityType, Feature, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask, HistoricalBillingPlan, IccidStatus, ImeiIccidCarrier, ImeiIccidHistory, ImeiIccidImport, Industry, Issue, IssueType, LatestPosition, LatestUserAppInfo, LiveLink, LiveLinkMedia, M2Sync, Magento2Gps, Magento2Plan, MarketplacePromotion, MobileNetwork, NotificationRecipient, OrderShipmentInternational, Organization, Plan, Position, Promotion, PromotionHistory, Region, ReportScheduleConfiguration, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Tag, Task, TaskSchedule, Trip, TripCompletionStatus, TripPosition, TripStatus, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertComplain, UserAlertConfiguration, UserAlertNotificationsConfig, UserAppFeedback, UserAppIncident, UserAuthorizedBoundary, UserAuthorizedBoundarySecurityView, UserAuthorizedBoundarySecurityViewV2, UserAuthorizedDevice, UserAuthorizedDeviceSecurityView, UserAuthorizedDeviceSecurityViewV2, UserCancellationDueDevice, UserCarrierDeactivateDevice, UserCarrierReactivateDevice, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserFreeOfferDevice, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, WebsocketConnection, TicketManager, StripePriceMapping, StripeAddonMapping, BillingDunning, BillingSubscriptionStripe, BillingCustomerStripe, BillingCampaign, BillingCampaignFreeOffer, BillingCampaignFreeTrial, BillingCampaignPrepaid, ChurnNotification, };
|
|
192
|
+
export { AcumaticaAmazonProduct, AcumaticaImeiIccidData, AcumaticaOrderShipmentDetails, AcumaticaShipment, AcumaticaShipmentAmazon, AempToken, Alert, AlertType, AppFeatureType, AsinPromotion, AssetCategory, AssetProfile, AssetProfileCategory, AssetProfileCustomField, AssetProfileCustomStatus, AssetProfileMedia, AssetProfileNote, AssetProfileType, AvalaraExemptCert, AvalaraQueue, BeaconBleMesh, Billing, BillingCustomerAmazon, BillingCustomerBraintree, BillingDeviceHistory, BillingDeviceTypePlan, BillingHubspotPaymentLog, BillingKlarnaCustomer, BillingKlarnaOrder, BillingPlanFeatures, BillingPlans, BillingStatusHistoryBraintree, BillingSubscriptionAmazon, BillingSubscriptionBraintree, Blacklist, BlacklistType, BLEMesh, BLEMeshConfiguration, Boundary, BoundaryEvent, CellTower, Client, ClientStatusHistory, ClientAlertConfiguration, ClientAlertRecipient, ClientApiToken, ClientApiTokenShareHistory, ClientAppFeature, ClientConfiguration, ClientDeviceIcon, ClientDeviceSetting, ClientIngestorConfiguration, ClientIssuesConfiguration, ClientType, Country, CustomReport, CustomReportColumn, CustomReportColumnCategory, CustomReportDataSource, CustomReportSelectedColumn, CustomSecurityRole, DataExport, DataSourceType, Deactivation, DeactivationReason, DemoAccountDeviceData, DemoAccountSiteLocation, DemoAccountTemplate, DemoAccountTemplateAssetProfile, DemoAccountTemplateBleMesh, DemoAccountTemplateDevice, DemoAccountTripTemplate, DemoAccountTripTemplatePosition, DemoDeviceData, Device, DeviceBehavior, DeviceBleMesh, DeviceBleMeshUpdateTask, DeviceCameraConfiguration, DeviceCameraMedia, DeviceCameraMediaEventType, DeviceCameraMediaStreamingData, DeviceCameraMediaStreamingSession, DeviceCameraMediaSyncStatus, DeviceCameraRequestedPictureData, DeviceCameraRequestedVideoData, DeviceChangesHistory, DeviceCustomConfiguration, DeviceEventsTriggerConfiguration, DeviceHistory, DeviceModelListener, DevicePairing, DevicePromotion, DeviceReplacement, DeviceStatus, DeviceTask, DeviceType, DeviceTypeFeature, DeviceTypeFirmware, DeviceTypePromotion, EmailDomain, EntityTag, EntityType, Feature, FirmwareAutoUpgradeBlacklist, FirmwareUpgradeTask, HistoricalBillingPlan, IccidStatus, ImeiIccidCarrier, ImeiIccidHistory, ImeiIccidImport, Industry, Issue, IssueType, LatestPosition, LatestUserAppInfo, LiveLink, LiveLinkMedia, M2Sync, Magento2Gps, Magento2Plan, MarketplacePromotion, MobileNetwork, NotificationRecipient, OrderShipmentInternational, Organization, Plan, Position, Promotion, PromotionHistory, Region, RetailBleTag, RetailGateway, RetailIncident, RetailItem, RetailItemEvent, RetailProduct, RetailStore, RetailZone, ReportScheduleConfiguration, SecurityRole, ServiceProvider, ServiceProviderProduct, ServiceProviderProductNetwork, ServiceProviderProductType, Sim, Tag, Task, TaskSchedule, Trip, TripCompletionStatus, TripPosition, TripStatus, User, UserActivation, UserActivationDevice, UserActivationEvent, UserActivationMetric, UserAlertComplain, UserAlertConfiguration, UserAlertNotificationsConfig, UserAppFeedback, UserAppIncident, UserAuthorizedBoundary, UserAuthorizedBoundarySecurityView, UserAuthorizedBoundarySecurityViewV2, UserAuthorizedDevice, UserAuthorizedDeviceSecurityView, UserAuthorizedDeviceSecurityViewV2, UserCancellationDueDevice, UserCarrierDeactivateDevice, UserCarrierReactivateDevice, UserConfiguration, UserDataDeletionRequest, UserDeviceBehaviorTask, UserFreeOfferDevice, UserInvitation, UserRatingRequest, UserRegistrationAttempt, UserSecurityRole, WebsocketConnection, TicketManager, StripePriceMapping, StripeAddonMapping, BillingDunning, BillingSubscriptionStripe, BillingCustomerStripe, BillingCampaign, BillingCampaignFreeOffer, BillingCampaignFreeTrial, BillingCampaignPrepaid, ChurnNotification, };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type RetailBleTagStatus = 'active' | 'inactive' | 'lost' | 'decommissioned';
|
|
2
|
+
export declare class RetailBleTag {
|
|
3
|
+
id: string;
|
|
4
|
+
tagId: string;
|
|
5
|
+
storeId: string;
|
|
6
|
+
status: RetailBleTagStatus;
|
|
7
|
+
batteryLevel?: number | null;
|
|
8
|
+
lastSeenAt?: Date | null;
|
|
9
|
+
lastGatewayId?: number | null;
|
|
10
|
+
createdAt: Date;
|
|
11
|
+
updatedAt: Date;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type RetailGatewayStatus = 'online' | 'offline';
|
|
2
|
+
export declare class RetailGateway {
|
|
3
|
+
id: string;
|
|
4
|
+
storeId: string;
|
|
5
|
+
zoneId?: string | null;
|
|
6
|
+
macAddress: string;
|
|
7
|
+
name: string;
|
|
8
|
+
status: RetailGatewayStatus;
|
|
9
|
+
lastSeenAt?: Date | null;
|
|
10
|
+
firmwareVersion?: string | null;
|
|
11
|
+
signalStrengthThreshold?: number | null;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type RetailIncidentType = 'theft' | 'exit_without_sale' | 'rapid_zone_change' | 'lost_signal' | 'tag_tamper';
|
|
2
|
+
export type RetailIncidentStatus = 'open' | 'investigating' | 'resolved' | 'false_alarm' | 'escalated';
|
|
3
|
+
export type RetailIncidentSeverity = 'low' | 'medium' | 'high' | 'critical';
|
|
4
|
+
export declare class RetailIncident {
|
|
5
|
+
id: string;
|
|
6
|
+
clientId: number;
|
|
7
|
+
storeId: string;
|
|
8
|
+
itemId?: string | null;
|
|
9
|
+
type: RetailIncidentType;
|
|
10
|
+
status: RetailIncidentStatus;
|
|
11
|
+
severity: RetailIncidentSeverity;
|
|
12
|
+
description: string;
|
|
13
|
+
estimatedLoss?: number | null;
|
|
14
|
+
zoneId?: string | null;
|
|
15
|
+
detectedAt: Date;
|
|
16
|
+
resolvedAt?: Date | null;
|
|
17
|
+
resolvedBy?: string | null;
|
|
18
|
+
resolutionNotes?: string | null;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type RetailItemStatus = 'on_floor' | 'fitting_room' | 'checkout' | 'storage' | 'exit_alert' | 'sold' | 'lost' | 'recovered';
|
|
2
|
+
export declare class RetailItem {
|
|
3
|
+
id: string;
|
|
4
|
+
bleTagId: string;
|
|
5
|
+
productId: string;
|
|
6
|
+
storeId: string;
|
|
7
|
+
homeZoneId: string;
|
|
8
|
+
currentZoneId?: string | null;
|
|
9
|
+
status: RetailItemStatus;
|
|
10
|
+
batteryLevel?: number | null;
|
|
11
|
+
lastMovedAt?: Date | null;
|
|
12
|
+
enteredCurrentZoneAt?: Date | null;
|
|
13
|
+
receivedAt: Date;
|
|
14
|
+
soldAt?: Date | null;
|
|
15
|
+
createdAt: Date;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type RetailItemEventType = 'zone_enter' | 'zone_exit' | 'fitting_room_enter' | 'fitting_room_exit' | 'checkout_scan' | 'exit_detected' | 'sale_completed' | 'tag_assigned' | 'tag_removed' | 'touch' | 'pickup' | 'putdown';
|
|
2
|
+
export declare class RetailItemEvent {
|
|
3
|
+
id: string;
|
|
4
|
+
itemId: string;
|
|
5
|
+
bleTagId: string;
|
|
6
|
+
storeId: string;
|
|
7
|
+
eventType: RetailItemEventType;
|
|
8
|
+
fromZoneId?: string | null;
|
|
9
|
+
toZoneId?: string | null;
|
|
10
|
+
gatewayId?: string | null;
|
|
11
|
+
metadata?: Record<string, any> | null;
|
|
12
|
+
timestamp: Date;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class RetailProduct {
|
|
2
|
+
id: string;
|
|
3
|
+
clientId: number;
|
|
4
|
+
upc: string;
|
|
5
|
+
sku: string;
|
|
6
|
+
name: string;
|
|
7
|
+
brand: string;
|
|
8
|
+
category: string;
|
|
9
|
+
defaultZoneId?: string | null;
|
|
10
|
+
price?: number;
|
|
11
|
+
imageUrl?: string | null;
|
|
12
|
+
attributes?: Record<string, string> | null;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type RetailStoreStatus = 'online' | 'offline' | 'maintenance';
|
|
2
|
+
export declare class RetailStore {
|
|
3
|
+
id: string;
|
|
4
|
+
clientId: number;
|
|
5
|
+
storeNumber: string;
|
|
6
|
+
name: string;
|
|
7
|
+
address: string;
|
|
8
|
+
city: string;
|
|
9
|
+
state: string;
|
|
10
|
+
zipCode: string;
|
|
11
|
+
country: string;
|
|
12
|
+
timezone: string;
|
|
13
|
+
region?: string | null;
|
|
14
|
+
businessHours: Record<string, any> | null;
|
|
15
|
+
status: RetailStoreStatus;
|
|
16
|
+
floorplanUrl?: string | null;
|
|
17
|
+
latitude?: number | null;
|
|
18
|
+
longitude?: number | null;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
updatedAt: Date;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type RetailZoneCategory = 'sales_floor' | 'fitting_room' | 'checkout' | 'exit' | 'storage';
|
|
2
|
+
export declare class RetailZone {
|
|
3
|
+
id: string;
|
|
4
|
+
storeId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
code: string;
|
|
7
|
+
category: RetailZoneCategory;
|
|
8
|
+
department?: string | null;
|
|
9
|
+
sortOrder: number;
|
|
10
|
+
capacity?: number | null;
|
|
11
|
+
coordinates?: object | null;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date;
|
|
14
|
+
}
|