@7365admin1/core 3.118.0 → 3.120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +81 -11
- package/dist/index.js +145 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +193 -58
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/test/ounitech-timestamp-probe.test.mjs +169 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 3.120.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 117f437: Robots (Ounitech): Super Admin Diagnose gains `?probe=timestamp-offset`, which keeps `yyyyMMddHHmmss` and tries it at UTC, +2 h, +1 h, +8 h, -8 h, +9 h and ±1 min (based on Ounitech's own clock from its Date header) on the read-only robot list, stopping at the first accepted.
|
|
8
|
+
|
|
9
|
+
## 3.119.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 8b40067: Robots (Ounitech): the signed timestamp format is now a per-brand setting (`OUNITECH_TIMESTAMP_FORMAT`, unchanged default `yyyyMMddHHmmss` UTC), and Super Admin Diagnose gains `?probe=timestamp`, which tries each candidate format on the read-only robot list (once a minute per robot) and reports which one Ounitech accepts.
|
|
14
|
+
|
|
3
15
|
## 3.118.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -7063,17 +7063,36 @@ declare function useRobotController(): {
|
|
|
7063
7063
|
*/
|
|
7064
7064
|
declare function robotCloudSigningString(appid: string, timestamp: string, path: string, secret: string): string;
|
|
7065
7065
|
/**
|
|
7066
|
-
* `
|
|
7066
|
+
* The shapes a signed `timestamp` can take. All are UTC+0.
|
|
7067
7067
|
*
|
|
7068
|
-
*
|
|
7069
|
-
*
|
|
7070
|
-
*
|
|
7071
|
-
*
|
|
7072
|
-
*
|
|
7073
|
-
*
|
|
7074
|
-
*
|
|
7068
|
+
* Why this is a setting: on 2026-09-26 production sign-in was refused with
|
|
7069
|
+
* "bad timestamp" while our clock matched Ounitech's to the second, so the
|
|
7070
|
+
* CLOCK is right and the FORMAT is in question. Ounitech said the document's
|
|
7071
|
+
* examples are wrong; the document's format is `yyyyMMddHHmmss`. The Super
|
|
7072
|
+
* Admin diagnose probe (`?probe=timestamp`) tries each of these against the
|
|
7073
|
+
* read-only robot list and reports which one Ounitech accepts.
|
|
7074
|
+
*
|
|
7075
|
+
* `*-number` sends the same Unix value as a JSON number instead of a string;
|
|
7076
|
+
* the sign always hashes its decimal text.
|
|
7077
|
+
*/
|
|
7078
|
+
declare const ROBOT_CLOUD_TIMESTAMP_FORMATS: readonly ["yyyyMMddHHmmss", "unix-s", "unix-ms", "yyyy-MM-dd HH:mm:ss", "iso8601", "unix-s-number", "unix-ms-number"];
|
|
7079
|
+
type TRobotCloudTimestampFormat = (typeof ROBOT_CLOUD_TIMESTAMP_FORMATS)[number];
|
|
7080
|
+
/**
|
|
7081
|
+
* Ounitech's timestamp format - the per-brand setting.
|
|
7082
|
+
*
|
|
7083
|
+
* ponytail: still the document's format until the production probe proves
|
|
7084
|
+
* another; flip this one constant then (every signed call reads it).
|
|
7085
|
+
*/
|
|
7086
|
+
declare const OUNITECH_TIMESTAMP_FORMAT: TRobotCloudTimestampFormat;
|
|
7087
|
+
/**
|
|
7088
|
+
* The timestamp text, in **UTC+0**, to the second (milliseconds for the
|
|
7089
|
+
* `unix-ms` formats).
|
|
7090
|
+
*
|
|
7091
|
+
* Read with `getUTC*` / epoch values, never the server's local clock - the
|
|
7092
|
+
* staging box and a developer laptop in Singapore would be 8 hours out.
|
|
7093
|
+
* Ounitech, 2026-09-26 (Part 1, Q4): "You must use the UTC+0 time zone."
|
|
7075
7094
|
*/
|
|
7076
|
-
declare function robotCloudTimestamp(now?: Date): string;
|
|
7095
|
+
declare function robotCloudTimestamp(now?: Date, format?: TRobotCloudTimestampFormat): string;
|
|
7077
7096
|
/**
|
|
7078
7097
|
* SHA-1 of the signing string, lower-case hex.
|
|
7079
7098
|
*
|
|
@@ -7087,7 +7106,7 @@ declare function robotCloudSign(appid: string, timestamp: string, path: string,
|
|
|
7087
7106
|
* parameters. The secret goes into the hash and is NEVER a field - if it ever
|
|
7088
7107
|
* appears in a request body, that is the bug to look for.
|
|
7089
7108
|
*/
|
|
7090
|
-
declare function robotCloudBody(appid: string, secret: string, path: string, params?: Record<string, unknown>, now?: Date): Record<string, unknown>;
|
|
7109
|
+
declare function robotCloudBody(appid: string, secret: string, path: string, params?: Record<string, unknown>, now?: Date, format?: TRobotCloudTimestampFormat): Record<string, unknown>;
|
|
7091
7110
|
/** Every documented endpoint. The key is also the signed `url`. */
|
|
7092
7111
|
declare const ROBOT_CLOUD_PATHS: {
|
|
7093
7112
|
readonly robotList: "/portal/robots/get-robot-list";
|
|
@@ -8577,6 +8596,10 @@ declare function useRobotCloudService(credentials: TRobotCloudCredentials, optio
|
|
|
8577
8596
|
timeoutMs?: number;
|
|
8578
8597
|
/** Told about every answer (including HTTP failures) - the diagnostic reads the vendor's clock from it. */
|
|
8579
8598
|
onReply?: (info: TRobotCloudReplyInfo) => void;
|
|
8599
|
+
/** Defaults to OUNITECH_TIMESTAMP_FORMAT; only the diagnose probe overrides it. */
|
|
8600
|
+
timestampFormat?: TRobotCloudTimestampFormat;
|
|
8601
|
+
/** The instant to stamp; defaults to our clock. Only the diagnose offset probe overrides it. */
|
|
8602
|
+
now?: () => Date;
|
|
8580
8603
|
}): {
|
|
8581
8604
|
getRobots: () => Promise<TCloudRobot[]>;
|
|
8582
8605
|
getMaps: (robotSn: string) => Promise<TCloudMap[]>;
|
|
@@ -10010,6 +10033,51 @@ type TRobotDiagnosis = {
|
|
|
10010
10033
|
summary: string;
|
|
10011
10034
|
checkedAt: string;
|
|
10012
10035
|
};
|
|
10036
|
+
type TTimestampProbe = {
|
|
10037
|
+
robotId: string;
|
|
10038
|
+
cloudHost: string;
|
|
10039
|
+
/** The format every signed call uses today. */
|
|
10040
|
+
currentFormat: TRobotCloudTimestampFormat;
|
|
10041
|
+
/** The first format Ounitech accepted, or null when none was. */
|
|
10042
|
+
accepted: TRobotCloudTimestampFormat | null;
|
|
10043
|
+
/** One per format tried, in order; stops at the first accepted. `sent` is the timestamp text (not a secret); the sign is never returned. */
|
|
10044
|
+
attempts: Array<{
|
|
10045
|
+
format: TRobotCloudTimestampFormat;
|
|
10046
|
+
sent: string;
|
|
10047
|
+
ok: boolean;
|
|
10048
|
+
detail: string;
|
|
10049
|
+
httpStatus?: number;
|
|
10050
|
+
vendorCode?: string;
|
|
10051
|
+
vendorMessage?: string;
|
|
10052
|
+
}>;
|
|
10053
|
+
summary: string;
|
|
10054
|
+
checkedAt: string;
|
|
10055
|
+
};
|
|
10056
|
+
type TTimestampOffsetProbe = {
|
|
10057
|
+
robotId: string;
|
|
10058
|
+
cloudHost: string;
|
|
10059
|
+
/** Ounitech's clock minus ours, from its Date header (null when it sent none). */
|
|
10060
|
+
vendorSkewSeconds: number | null;
|
|
10061
|
+
/** The first offset from UTC Ounitech accepted (minutes), or null. */
|
|
10062
|
+
acceptedOffsetMinutes: number | null;
|
|
10063
|
+
attempts: Array<{
|
|
10064
|
+
offsetMinutes: number;
|
|
10065
|
+
label: string;
|
|
10066
|
+
sent: string;
|
|
10067
|
+
ok: boolean;
|
|
10068
|
+
detail: string;
|
|
10069
|
+
httpStatus?: number;
|
|
10070
|
+
vendorCode?: string;
|
|
10071
|
+
vendorMessage?: string;
|
|
10072
|
+
}>;
|
|
10073
|
+
summary: string;
|
|
10074
|
+
checkedAt: string;
|
|
10075
|
+
};
|
|
10076
|
+
/** yyyyMMddHHmmss shifted from UTC by these minutes, in this order (after plain UTC). */
|
|
10077
|
+
declare const TIMESTAMP_OFFSET_CANDIDATES: ReadonlyArray<{
|
|
10078
|
+
offsetMinutes: number;
|
|
10079
|
+
label: string;
|
|
10080
|
+
}>;
|
|
10013
10081
|
declare function useRobotFleetService(deps?: {
|
|
10014
10082
|
/** Injected so the whole service runs in a test with no network. */
|
|
10015
10083
|
adapterFor?: (robot: TStoredRobot$1) => TRobotAdapter;
|
|
@@ -10031,6 +10099,8 @@ declare function useRobotFleetService(deps?: {
|
|
|
10031
10099
|
}) => unknown;
|
|
10032
10100
|
}): {
|
|
10033
10101
|
diagnose: (robot: TStoredRobot$1) => Promise<TRobotDiagnosis>;
|
|
10102
|
+
probeTimestampFormat: (robot: TStoredRobot$1) => Promise<TTimestampProbe>;
|
|
10103
|
+
probeTimestampOffset: (robot: TStoredRobot$1) => Promise<TTimestampOffsetProbe>;
|
|
10034
10104
|
getLiveVideo: (robot: TStoredRobot$1, quality?: "hd" | "smooth") => Promise<{
|
|
10035
10105
|
url: string;
|
|
10036
10106
|
expiresAt: string | null;
|
|
@@ -20218,4 +20288,4 @@ declare function usePersonalEmergencyChainController(): {
|
|
|
20218
20288
|
update: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
20219
20289
|
};
|
|
20220
20290
|
|
|
20221
|
-
export { ANPRMode, APP_BASE_URLS, AUDIT_VALUE_MAX_LENGTH, AccessTypeProps, AppKey, AppServiceType, AssignCardConfig, BLOCKLIST_CATEGORIES, BULK_CAMERA_COLUMNS, BidStatus, BidType, BuildingLevelStatus, BuildingStatus, BulkCameraAccepted, BulkCameraOutcome, BulkCameraPlan, BulkCameraResult, BulkCardUpdate, BulletinOrder, BulletinRecipient, BulletinSort, BulletinStatus, BulletinVideoOrder, BulletinVideoSort, CAMERA_ANPR_PERMISSIONS, CAMERA_CAPABILITIES, CAMERA_CAPABILITY_REASONS, CAMERA_MANAGE_ANY_PERMISSIONS, CAMERA_NOT_PATROL_OR_CCTV, CAMERA_NO_SUB_STREAM_TTL_SECONDS, CAMERA_PTZ_PERMISSIONS, CAMERA_RECORDINGS_PERMISSIONS, CAMERA_REQUEST_TIMEOUT_MS, CAMERA_RTSP_TIMEOUT_MS, CAMERA_SETUP_PERMISSIONS, CAMERA_SNAPSHOT_CACHE_SECONDS, CAMERA_SNAPSHOT_MAX_BYTES, CAMERA_TEST_MIN_INTERVAL_SECONDS, CAMERA_TEST_ROUND_LIMIT, CAMERA_TEST_ROUND_SECONDS, CAMERA_TYPE_ANPR, CAMERA_TYPE_IP, CAMERA_VIEW_PERMISSIONS, CLIENT_ACTIONS, CLOCK_DRIFT_WARN_SECONDS, CONSOLE_AUDIT_LABELS, CONSOLE_PERMISSIONS, CONTRACTOR_TYPE_LABELS, CROSS_CLIENT_GRANT, CURRENT_TIME_ENDPOINT, Camera, CameraAddressInput, CameraCapability, CameraCapabilityContext, CameraCapabilityDescriptor, CameraCapabilityEntry, CameraCapabilityReason, CameraCapabilityState, CameraCapabilityTrace, CameraDevice, CameraFrame, CameraMembership, CameraStream, CameraTestStatus, CameraTransport, CameraType, ConsoleAuditAction, ConsoleAuditTarget, ConsoleGrant, DEFAULT_EMAIL_ALLOWLIST, DEFAULT_RING_SECONDS, DEFAULT_SCALE_M_PER_PX, DEFAULT_SITE_TIMEZONE, DEMO_ADD_MAX, DEMO_BRAND, DEMO_CAPABILITIES, DEMO_FAULT_ROBOT, DEMO_ROUTES, DEVICE_STATUS, DISCONNECT, DOBStatus, DOOR_MODE, DRIVE_END_TEXT, DUPLICATE_TERMS_VERSION_MESSAGE, DayOfWeek, DeviceHttpTarget, DeviceProbeResult, DynamicFormFields, E164, EAccessCardTypes, EAccessCardUserTypes, EMAIL_CODE_MAX_ATTEMPTS, EMAIL_CODE_RESEND_MS, EMAIL_CODE_TTL_MS, EMAIL_PER_MODULE_PER_HOUR, EMAIL_WINDOW_MS, EmailSender, EntryOrder, EntrySort, EventOrder, EventSort, EventStatus, EventType, FLOOR_PLANS_TOTAL_MAX_BYTES, FLOOR_PLAN_MAX_BYTES, FacilitySort, FacilityStatus, FormEntryStatus, GOVERNED_MODULES, GuestSort, GuestStatus, HID_CARD_VALUE_FACTOR, HID_PERMISSION_CATEGORIES, HID_UINT32_MAX, HID_UINT64_MAX, HidRawUint64, IAccessCard, IAccessCardTransaction, InviteActor, LIFT_DOOR, LIFT_LEASE_MS, LIFT_MODE, LIFT_MOTION, LIFT_QUEUE_TTL_MS, LIFT_REQUEST, LIFT_SESSION_STATUS, LIFT_SIM_BOARD_MS, LIFT_SIM_DOOR_DWELL_MS, LIFT_SIM_MS_PER_FLOOR, LIVE_ROLE, LIVE_VEHICLE_STATUSES, MANAGE_SITE_MODULES, MAX_BULK_CAMERA_ROWS, MAX_CAMERA_CHANNEL, MAX_CAMERA_NAME_LENGTH, MAX_PERSONAL_EMERGENCY_CONTACTS, MAX_RING_SECONDS, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBidPreloved, MBillingConfiguration, MBillingItem, MBuilding, MBuildingLevel, MBuildingUnit, MBulletinBoard, MBulletinVideo, MCategoryPreloved, MChannelPreloved, MChat, MChatPreloved, MConsoleAudit, MCustomer, MCustomerSite, MDocumentManagement, MEMBER_TYPES, MEntryPassSettings, MEventManagement, MFeedback, MFile, MFormEntry, MGuestManagement, MHidAmicoEvent, MHidAmicoIdentity, MHidAmicoReader, MHidSipAccount, MHidSitePermissions, MIN_RING_SECONDS, MIncidentReport, MManpowerDesignations, MManpowerMonitoring, MManpowerRemarks, MManpowerSites, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MNotification, MNotificationPreference, MODULE_GATE_MODE_DEFAULT, MODULE_LIST_GATE_DEFAULT, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MOvernightParkingApprovalHours, MOvernightParkingRequest, MPatrolEmail, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPersonalEmergencyChain, MPlatformTerms, MPost, MPostFavorite, MPromoCode, MQTT, MQTT_MAX_PACKET, MRobot, MRobotBuildingMap, MRole, MRoleV2, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubcategoryPreloved, MSubscription, MSubscriptionPlan, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, MembershipPreference, NETWORK_STATES_MAX, NOTIFICATION_CATEGORIES, NOTIFICATION_CHANNELS, NOTIFICATION_CHANNEL_LABELS, NOTIFICATION_NAMESPACE, NOTIFY_ACCESS_FILTER_DEFAULT, NotificationAppSlug, NotificationCategory, NotificationChannel, NotificationModule, NotificationPreferenceView, NotificationService, OFFLINE_FAULT_CODE, OPEN_RMF_BRAND, OPEN_RMF_CAPABILITIES, OPEN_RMF_DISPLAY_NAME, ORG_MARKETPLACE_VENDOR_FIELD, ORG_OWNER_REPAIR_CLAIM_STALE_MS, ORG_OWNER_REPAIR_CLAIM_TAKEN_REASON, ORG_OWNER_REPAIR_DEFAULT, ORG_OWNER_REPAIR_OFF_REASON, OUNITECH_BRAND, OUNITECH_CAPABILITIES, OUNITECH_PENDING_COMMANDS, OpenRmfError, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PADBOT_ACTION_TEXT, PADBOT_ALARM_POLL_MS, PADBOT_ALARM_TEXT, PADBOT_BRAND, PADBOT_CAPABILITIES, PADBOT_DISPLAY_NAME, PADBOT_LIVE_POSE_MS, PADBOT_MOTION, PADBOT_MQTT_SYNC_MS, PADBOT_ONLINE_WINDOW_MS, PADBOT_PATHS, PATROL_CCTV_CAMERA_FILTER, PATROL_EMAIL_MAX_LOGS, PATROL_EMAIL_MAX_PER_HOUR, PATROL_EMAIL_MAX_RECIPIENTS, PERSON_TYPES, PINGREQ, PLAN_RANGE, PLATFORM_STAFF_MEMBER_TYPE, PLATFORM_STAFF_ROLE_TYPE, PLAYBACK_LINK_SECONDS, PLAYBACK_MAX_WINDOW_SECONDS, PROPERTY_MANAGEMENT_MEMBER_TYPES, PStatus, PTZ_ALLOWED_ACTIONS, PTZ_ALLOWED_CODES, Period, PersonStatus, PersonType, PersonTypes, PlatformTermsStatus, PostOrder, PostSort, PostStatus, QrTagProps, REALTIME_MAX_FANOUT, RECEIVED_INVITE_LABELS, RECEIVED_INVITE_TABS, REGISTERED_VEHICLE_CATEGORIES, ROBOT_APP_SCOPES, ROBOT_AUDIT_ACTIONS, ROBOT_CAPABILITIES, ROBOT_CLOUD_DOC_CONFIRMATIONS, ROBOT_CLOUD_PATHS, ROBOT_CLOUD_TIMEOUT_MS, ROBOT_CREDENTIALS_ENV, ROBOT_MODULE, ROBOT_PERMISSIONS, ROBOT_STATUS_NAMES, ROBOT_TYPES, ReceivedInviteTab, ResidentAppModuleKey, RobotCloudError, RobotCredentialsError, SELF_SERVICE_RESEND_COOLDOWN_MS, SELF_SIGNUP_PLATFORM, SELF_SIGNUP_STATUS, SELF_SIGNUP_TYPES, SERVICE_PROVIDER_INVITE_EXPIRED_MESSAGE, SERVICE_PROVIDER_INVITE_LABELS, SERVICE_PROVIDER_INVITE_TRANSITIONS, SERVICE_PROVIDER_SIGN_IN_SUBJECT, SERVICE_PROVIDER_SIGN_IN_TYPE, SERVICE_PROVIDER_SIGN_UP_SUBJECT, SERVICE_PROVIDER_SIGN_UP_TYPE, SITE_STATES_MAX, SOFTWARE_VERSION_ENDPOINT, ServiceProviderInviteAction, ServiceProviderInviteDecision, ServiceProviderInviteFacts, SiteAddress, SiteCategories, SiteStatus, SortFields, SortOrder, Status, SubjectOrder, SubjectSort, SubscriptionBillingMode, SubscriptionType, TAccessMngmntSettings, TActionStatus, TAdapterCommand, TAdapterRobot, TAddress, TAffectedEntities, TAffectedInjured, TAppServiceType, TApprovedBy, TApprover, TAreaColour, TAttendance, TAttendanceCheckIn, TAttendanceCheckOut, TAttendanceCheckTime, TAttendanceLocation, TAttendanceSettings, TAttendanceSettingsGetBySite, TAuthorities, TAuthoritiesCalled, TBidPreloved, TBilling, TBillingConfiguration, TBillingItem, TBuilding, TBuildingFloorPlan, TBuildingLevel, TBuildingMapDoor, TBuildingMapLevel, TBuildingMapLift, TBuildingUnit, TBulletinBoard, TBulletinVideo, TCamera, TCameraHealthClaim, TCategoryPreloved, TChannelPreloved, TChat, TChatPreloved, TCheckPoint$1 as TCheckPoint, TCleanLevel, TCleanMode, TCleanOptionValues, TCleanOptions, TCleanSubMode, TCloudArea, TCloudFile, TCloudMap, TCloudPlan, TCloudPlanJob, TCloudRobot, TComplaintInfo, TComplaintReceivedTo, TConsoleAudit, TConsoleAuditQuery, TCounter, TCreateNfcPatrolLog, TCredentialField, TCrossSiteRoleMode, TCustomer, TCustomerSite, TCustomerSitePropertyField, TDayNumber, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentCreate, TDocumentManagement, TDoorDriver, TDoorMode, TDoorRequest, TDoorState, TDriveSignal, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TFiles, TFleetRobot, TFloorPlanLevel, TFloorPlanMap, TFloorSlab, TFolderUpdate, TFormEntry, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, THidAmicoEvent, THidAmicoGatewayJob, THidAmicoIdentity, THidAmicoPhysicalCard, THidAmicoReader, THidPermissionAssignment, THidPermissionCategory, THidPermissionUserBinding, THidPhysicalCardInput, THidPhysicalCardType$1 as THidPhysicalCardType, THidSipAccount, THidSitePermissions, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TKeyRef, TLevelSolids, TLiftDoorState, TLiftDriver, TLiftMode, TLiftMotionState, TLiftPhase, TLiftRequest, TLiftRequestType, TLiftSessionStatus, TLiftState, TManpowerDesignations, TManpowerDesignationsUpdate, TManpowerMonitoring, TManpowerMonitoringUpdate, TManpowerRemarks, TManpowerRemarksStatusUpdate, TManpowerRemarksUpdate, TManpowerSearchFilter, TManpowerSites, TMapDoor, TMapFloor, TMapMeasurement, TMapPointM, TMapSegment, TMapVertex, TMapWall, TMember, TMemberModulesDeps, TMemberUpdateStatus, TMessagePreloved, TMiniRole, TModuleAccess, TModuleGateMode, TModuleImpact, TMqttPacket, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TNotification, TNotificationEmail, TNotificationEmailJob, TNotificationEmailSettings, TNotificationPreference, TNotificationPreferenceOff, TNotifyAccessContext, TNotifyAccessMode, TNotifyAccessReport, TOccupancyGrid, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOpenRmfClient, TOpenRmfConfig, TOrg, TOrgModulesDeps, TOrgOwnerRepairClaim, TOrgOwnerRepairDeps, TOrgOwnerRepairInput, TOrgOwnerRepairPayload, TOrgOwnerRepairPlan, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPadbotDriveLimits, TPadbotLiveEvent, TPadbotMapFrame, TPadbotMqttEvent, TPadbotMqttMessage, TPadbotPoint, TPatrolEmail, TPatrolEmailCreatedBy, TPatrolEmailLogRef, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPendingCommand, TPerson, TPersonalEmergencyChain, TPersonalEmergencyContact, TPlaceOfIncident, TPlates, TPlatformTerms, TPost, TPostFavorite, TPreferenceViewOptions, TPrice, TPriceType, TPromoCode, TPromoCurrencyInput, TPromoTier, TRACKING_BACKOFF_BASE_MS, TRACKING_BACKOFF_CAP_MS, TRACKING_IDLE_TIMEOUT_MS, TRANSPORT_DEVICE_HTTP, TRANSPORT_RELAY_PLAYBACK, TRANSPORT_RELAY_PLAYER, TRANSPORT_RTSP_FRAME, TRecipientOfComplaint, TRemarks, TResident, TResidentAppModules, TRmfBuildingMap, TRmfFleetState, TRmfLocation, TRmfRobotState, TRobot, TRobotAction, TRobotAdapter, TRobotAppScope, TRobotBrand, TRobotBuildingMap, TRobotCapabilities, TRobotCapability, TRobotCloudCredentials, TRobotCloudErrorKind, TRobotCloudPath, TRobotCloudReply, TRobotCloudReplyInfo, TRobotCommand, TRobotDiagnosis, TRobotDiagnosisStep, TRobotLiftSession, TRobotLiveState, TRobotMetadata, TRobotMode, TRobotPage, TRobotPatrolCheckpoint, TRobotPatrolCheckpointVisit, TRobotPatrolPlan, TRobotPatrolRecord, TRobotPatrolRoute, TRobotPatrolScheduleRow, TRobotPermissionActor, TRobotPose, TRobotTier, TRobotType, TRole, TRolePermissionHistoryEntry, TRoleV2, TRoute, TSOABillingItem, TSOAStatus, TSelfServiceEmailOccasion, TSelfServiceEmailRecord, TSelfServiceResendDecision, TSelfServiceResendFacts, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TShifts, TSignNfcPatrolLog, TSite, TSiteCamera, TSiteDayBounds, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteInformation, TSiteMetadata, TSiteModulesDeps, TSiteUpdateBlock, TSseEvent, TStatementOfAccount, TSubcategoryPreloved, TSubmissionForm, TSubscription, TSubscriptionPlan, TSubscriptionPlanApplication, TTrackingEvent, TTrackingHandle, TUnitBilling, TUnits, TUpdateFormEntry, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleAnprCamera, TVehicleFieldChange, TVehicleHistoryEntry, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationCode, TVerificationEvent, TVerificationMetadata, TVerificationMetadataV2, TVerificationOnboarding, TVerificationV2, TVisitorTransaction, TWallSolid, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UNSTORED_COLUMNS, UseAccessManagementRepo, UserStatus, VEHICLE_HISTORY_LIMIT, VERIFICATION_OPEN_STATUSES, VehicleCategory, VehicleListView, VehicleOrder, VehicleSort, VehicleStatus, VehicleType, VerificationLinkType, VerificationStatus, VerificationSubjectType, VerificationType, VisitorSort, VisitorStatus, WALL_HEIGHT_M, WALL_THICKNESS_M, adapterForRobot, addressSchema, allowedFieldsSite, allowedNatures, allowedPlanApplications, allowsRobotAction, allowsRobotListing, applyTrackingFrame, areaColourToHex, asList, attendanceSchema, attendanceSettingsSchema, buildSelfServiceEmailContext, buildingFileImportSchema, buildingFromRmf, buildingInPlanFrame, buildingMapBodySchema, buildingMapCreateSchema, buildingMapFromRobotMaps, buildingMapUpdateSchema, buildingSolids, building_level_namespace_collection, building_units_namespace_collection, buildings_namespace_collection, bulletin_boards_namespace_collection, callerAccountApproved, callerId, cameraBaseUrl, cameraCapabilitiesFor, cameraDevices, cameraGrant, cameraHealthClaim, cameraHealthSummary, cameraListClearConfirmation, cameraManagePermissions, cameraProbeCacheKey, cameraTransports, canManageSiteModules, canMonitorRobotType, canRevokeRefreshTokenFamily, canSetUpRobotType, categoriesForPermissions, categorySupportsChannel, chatPrelovedEvents, chatSchema, claimReadsAsStale, clampChassis, clampPtzSpeed, clearPadbotCache, clearRobotBrands, clockDriftSeconds, codeMatches, commandSupported, connackCode, consoleRoleAllows, consoleRoleAllowsAll, consoleSpellings, console_audit_namespace_collection, createDemoAdapter, createDriveWatchdog, createLiftSimulator, createManpowerRemarksDaily, createMessageDeduper, createMqttReader, createOpenRmfAdapter, createOpenRmfClient, createOunitechAdapter, createPadbotAdapter, createPadbotClient, createSseParser, crossSiteRoleGrants, crossSiteRoleMode, customerSchema, customerSitePropertyFields, decideSelfServiceResend, decideServiceProviderInvite, decodeHidPacsCard, decodePublish, decodeTrackingFrame, decryptCredential, deliverEmail, demoFault, demoPatrolPoint, deniedModules, deriveBulletinStatus, deriveCameraHost, derivedDemoRobot, describeCameraCapabilities, designationsSchema, deviceControlEnabled, deviceHttpEnabled, deviceHttpTargets, deviceHttpTimeoutMs, deviceProbeTtlSeconds, disconnectedState, doorModeOf, effectiveEmailAllowlist, emailOpenToEveryone, emitNotificationCreated, emptyPersonalEmergencyChain, encodeConnect, encodeGreyscalePng, encodeHidPacsCard, encodePuback, encodePublish, encodeSubscribe, encryptCredential, encryptedPairUpdate, endAllPadbotDrives, entitledSiteScope, escapeHtml, events_namespace_collection, expandModules, expiredBulletinSweepFilter, expiredVehicleSweepFilter, facility_bookings_namespace_collection, feedbackSchema, feedbacks2_namespace_collection, feedbacks_namespace_collection, fetchPadbotMqttCredentials, ffmpegFrameArgs, ffmpegPath, filterByAccess, floorNoOf, floorPlanBodySchema, flushNotificationEmails, forgetPadbotMaps, formatCapabilityTrace, formatDahuaDate, getIO, getSessionIdFromRequest, grabWithSubStreamFallback, greyscalePngDataUri, guests_namespace_collection, hasAnyCapability, hasAnyPermission, hasOrgInvitation, hasOrgOwnership, hasOrgSiteReach, hashCode, headParams, hexToAreaColour, hidRawUint64, holdsLift, holdsRole, incidentReport, incidentReportLog, incidents_namespace_collection, invitationOffersRole, isAvailableForWork, isCameraEntitled, isCrossSiteRole, isDispatchable, isDoorPassable, isDuplicateMemberError, isDuplicateVersionError, isEmailAllowed, isEncryptedCredential, isLiftAvailable, isLikelySelfServiceEmail, isLiveVehicleStatus, isPatrolCctvCamera, isPlatformOwner, isProductionWebBase, isPromoCodeExpired, isRelayPlayerUrl, isSafeRelativePath, isSafeToCross, isSeasonPassVehicle, isServiceProviderInviteExpired, isSuperAdmin, isTermsCurrent, isTrackingStale, isValidTimezone, jcs, keepStoredPassword, levelPixelToMetres, levelScale, levelSolids, liftQueueKey, liftRequestSchema, listPadbotAlarmsSince, listStaffUserIds, liveStatusFor, logCamera, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, mapWithLimit, maskNric, memberModulesHandlers, metresToPixel, missingForTier, moduleDeniedForCaller, moduleGateEnforceKeys, moduleGateMode, moduleImpact, moduleListGateOn, motionMessage, mqttBackoffMs, mqttRefreshDelayMs, networkText, newCode, newSecret, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, normalisePatrolPlan, normalizeAcceptedTerms, normalizeEmail, normalizeHidCardValue, notificationAccessReport, notificationCategory, notificationCategoryLabel, notificationEmail, notificationEvents, notificationKind, notificationRoom, notifyAccessMode, notifyRobotFault, occasionForStatus, occurrence_book_namespace_collection, offLink, offPage, offToken, offTokenMatches, onBookTimezonesChanged, onPadbotLive, online_forms_namespace_collection, openLink, openRmfConfig, openRmfDoorDriver, openRmfLiftDriver, orgLevelRoles, orgModulesHandlers, orgOwnerRepairHandlers, orgOwnerRepairOn, orgQualifiesForOwnerRepair, orgRoleSets, orgSchema, overnight_parking_requests_namespace_collection, padbotAccountKey, padbotAlarmFault, padbotAlarmPlace, padbotAlarmPollEnabled, padbotBaseUrl, padbotCheckpointVisit, padbotCommandLog, padbotDriveBlock, padbotDriveLimits, padbotDriveSignal, padbotErrorText, padbotLinkUp, padbotLive, padbotManualDriveEnabled, padbotMode, padbotMqttEnabled, padbotPatrolPlan, padbotPatrolRecord, padbotPlanShare, padbotSignature, padbotSignedRequest, parseCameraChannel, parseCameraHost, parseDahuaFind, parseDeviceTime, parseHidJsonLossless, parsePadbotAuthorization, parsePadbotMessage, parsePromoExpiry, parseRobotCommand, parseSoftwareVersion, pickAuditFields, pickCustomerSiteProperties, pixelToMetres, planBulkCameraImport, planDayFromJsDay, planDemoRobots, planOrgOwnerRepair, planShareOf, platform_terms_namespace_collection, playbackRelays, playbackWindowRefusal, promoCodeRefusal, promoCodeSchema, promoCodeStatusSchema, promoCodeUpdate, promoCodeUpdateSchema, ptzEndpoint, publicCameraFields, publishToPadbotRobot, queueNotificationEmails, readLiveItems, readPadbotStates, readPadbotStatesMany, readsAsApprovedAccount, receivedInviteTab, recordConsoleAction, recordPadbotLive, refuseServiceProviderInviteAction, registerCameraTransport, registerDemoBrand, registerOpenRmfBrand, registerOunitechBrand, registerPadbotBrand, registerRobotBrand, registeredRobotBrands, relayForRecorder, remarksSchema, renderPagePdf, requireConsolePermission, requirePlatformStaff, resetCameraTransports, residentAppModuleKeys, residentAppModulesSchema, residentFormEntry, resolutionRefusalReason, resolveCamera, resolveDeviceHttp, resolveHidPhysicalCardValue, resolveInviteActor, resolveSiteTimezone, resolveStaffRole, rmfBuilding_util as rmfBuilding, rmfBuildingSchema, robotActionsFor, robotBrandFor, robotCloudBody, robotCloudCredentials, robotCloudSign, robotCloudSigningString, robotCloudStepName, robotCloudTimestamp, robotCredentialsKey, robotFaultSweepConfig, robotMode, robotModeFromList, robotSchema, robotScopeForApp, robotTier, robotTypesVisibleTo, rtspUrl, safeTopic, scaleFromMeasurement, schema, schemaAppSlugNotification, schemaApprovedBy, schemaApprover, schemaBidPreloved, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingLevel, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCategoryPreloved, schemaChannelPreloved, schemaChatPreloved, schemaConsoleAudit, schemaCreateHidAmicoIdentity, schemaCreateNfcPatrolLog, schemaCreateNotification, schemaCustomerSite, schemaDiscoverHidAmicoReader, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaFiles, schemaFormEntry, schemaGuestManagement, schemaHidAmicoAccessLogQuery, schemaHidAmicoAssignUserCard, schemaHidAmicoConfiguration, schemaHidAmicoEnrollUserCard, schemaHidAmicoEvent, schemaHidAmicoExecuteActions, schemaHidAmicoIdentity, schemaHidAmicoIdentityIdParams, schemaHidAmicoIdentityQuery, schemaHidAmicoIntercomCall, schemaHidAmicoLogQuery, schemaHidAmicoMonitor, schemaHidAmicoNotificationParams, schemaHidAmicoObjectOperation, schemaHidAmicoOperatingMode, schemaHidAmicoReader, schemaHidAmicoReaderIdParams, schemaHidAmicoReaderListQuery, schemaHidAmicoReaderUserQuery, schemaHidAmicoSetConfiguration, schemaHidAmicoSiteIdParams, schemaHidAmicoSync, schemaHidAmicoUserCardIdParams, schemaHidAmicoUserCardParams, schemaHidAmicoUserImageParams, schemaHidAmicoUserImageUploadQuery, schemaHidAmicoUserPin, schemaHidAmicoUserPinParams, schemaHidAmicoVisitorImageParams, schemaHidAmicoVisitorImageUploadQuery, schemaHidAmicoVisitorQr, schemaHidPermissionCandidateQuery, schemaHidPermissionScopeQuery, schemaHidSipAccountRequest, schemaIncidentReport, schemaListNotification, schemaMultipleDocumentManagement, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaNotification, schemaNotificationEmailAddress, schemaNotificationEmailCode, schemaNotificationEmailOff, schemaNotificationPreference, schemaNotificationPreferenceOff, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaOvernightParkingApprovalHours, schemaOvernightParkingRequest, schemaPatrolEmail, schemaPatrolEmailCreatedBy, schemaPatrolEmailLogRef, schemaPatrolEmailQuery, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPersonalEmergencyContact, schemaPlate, schemaPlatformTerms, schemaPost, schemaPostFavorite, schemaResendPatrolEmail, schemaResidentSelfSignUp, schemaSelfServiceVisitor, schemaSendPatrolEmail, schemaServiceProvider, schemaServiceProviderBilling, schemaSignNfcPatrolLog, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaSubcategoryPreloved, schemaUnitBilling, schemaUpdateBidPreloved, schemaUpdateBuildingLevel, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateCategoryPreloved, schemaUpdateChatPreloved, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateFolderManagement, schemaUpdateFormEntry, schemaUpdateGuestManagement, schemaUpdateHidAmicoIdentity, schemaUpdateHidAmicoReader, schemaUpdateHidSitePermissions, schemaUpdateIncidentReport, schemaUpdateNotification, schemaUpdateNotificationPreference, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdateOvernightParkingRequest, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdatePersonalEmergencyChain, schemaUpdatePost, schemaUpdatePostFavorite, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteFacilityBooking, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateSubcategoryPreloved, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, selectHealthTargets, selfServiceEmailSubject, sendNotificationEmails, servesFloor, serviceProviderInviteLabel, serviceProviderInviteViewStatus, sessionSchema, setIO, sha256Hex, shiftSchema, signLiveLink, signPlaybackLink, signedPath, simulatedLiftState, siteDayBounds, siteModulesHandlers, siteSchema, site_people_namespace_collection, snapshotEndpoint, snapshotRefusalReason, splitRobotSn, staffMayBypass, startDemoTracking, startPadbotDrive, startPadbotLiveFeed, startRobotTracking, startTodaysBookForSite, statesByType, stringifyHidJson, stripFacialImageMetadata, subackOk, subscriptionPlanSchema, summariseBulkCameraPlan, supports, taskRequestFor, toAdapterRobot, trackingBackoffMs, uncontrollableFleetWarning, updateRemarksStatusEod, updateRemarksisAcknowledged, updateSiteSchema, useAccessManagementController, useAddressRepo, useAttendanceController, useAttendanceRepository, useAttendanceSettingsController, useAttendanceSettingsRepository, useAttendanceSettingsService, useAuthController, useAuthControllerV2, useAuthService, useAuthServiceV2, useBidPrelovedController, useBidPrelovedRepo, useBidPrelovedService, useBuildingController, useBuildingLevelController, useBuildingLevelRepo, useBuildingLevelService, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBulletinBoardController, useBulletinBoardRepo, useBulletinBoardService, useBulletinVideoController, useBulletinVideoRepo, useBulletinVideoService, useCameraViewController, useCameraViewService, useCategoryPrelovedController, useCategoryPrelovedRepo, useChannelPrelovedController, useChannelPrelovedRepo, useChatController, useChatPrelovedController, useChatPrelovedRepo, useChatPrelovedService, useChatRepo, useConsoleAuditController, useConsoleAuditRepo, useCounterModel, useCounterRepo, useCustomerController, useCustomerRepo, useCustomerSiteController, useCustomerSiteRepo, useCustomerSiteService, useDahuaService, useDashboardController, useDashboardRepo, useDocumentManagementController, useDocumentManagementRepo, useDocumentManagementService, useEntryPassSettingsController, useEntryPassSettingsRepo, useEventManagementController, useEventManagementRepo, useEventManagementService, useFeedbackController, useFeedbackRepo, useFeedbackService, useFileController, useFileRepo, useFileService, useFormEntryController, useFormEntryRepo, useGuestManagementController, useGuestManagementRepo, useGuestManagementService, useHidAmicoController, useHidAmicoRepo, useHidAmicoService, useHrmLabsAttendanceCtrl, useHrmLabsAttendanceSrvc, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useManpowerDesignationCtrl, useManpowerDesignationRepo, useManpowerMonitoringCtrl, useManpowerMonitoringRepo, useManpowerMonitoringSrvc, useManpowerRemarkCtrl, useManpowerRemarksRepo, useManpowerSitesCtrl, useManpowerSitesRepo, useManpowerSitesSrvc, useMemberController, useMemberRepo, useMemberService, useNewDashboardController, useNewDashboardRepo, useNfcPatrolLogController, useNfcPatrolLogRepo, useNfcPatrolLogService, useNfcPatrolRouteController, useNfcPatrolRouteRepo, useNfcPatrolRouteService, useNfcPatrolSettingsController, useNfcPatrolSettingsRepository, useNfcPatrolSettingsService, useNfcPatrolTagController, useNfcPatrolTagRepo, useNfcPatrolTagService, useNotificationController, useNotificationPreferenceController, useNotificationPreferenceRepo, useNotificationPreferenceService, useNotificationRepo, useOccurrenceBookController, useOccurrenceBookRepo, useOccurrenceBookService, useOccurrenceEntryController, useOccurrenceEntryRepo, useOccurrenceEntryService, useOccurrenceSubjectController, useOccurrenceSubjectRepo, useOccurrenceSubjectService, useOnlineFormController, useOnlineFormRepo, useOrgController, useOrgControllerV2, useOrgOwnerRepairRepo, useOrgRepo, useOvernightParkingController, useOvernightParkingRepo, useOvernightParkingRequestController, useOvernightParkingRequestRepo, useOvernightParkingRequestService, usePatrolEmailController, usePatrolEmailRepo, usePatrolEmailService, usePatrolLogController, usePatrolLogRepo, usePatrolLogService, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePersonalEmergencyChainController, usePersonalEmergencyChainRepo, usePersonalEmergencyChainService, usePlatformTermsController, usePlatformTermsRepo, usePlatformTermsService, usePostFavoriteController, usePostFavoriteRepo, usePostFavoriteService, usePostPrelovedController, usePostPrelovedRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRedDotPaymentController, useRedDotPaymentRepo, useRedDotPaymentSvc, useRobotBuildingMapRepo, useRobotCloudService, useRobotController, useRobotFaultRepo, useRobotFaultSweep, useRobotFleetController, useRobotFleetService, useRobotLiftSessionRepo, useRobotMapController, useRobotNetworkController, useRobotRepo, useRobotService, useRobotSiteController, useRoleController, useRoleControllerV2, useRoleRepo, useRoleRepoV2, useRoleServiceV2, useServiceProviderBillingController, useServiceProviderBillingRepo, useServiceProviderBillingService, useServiceProviderController, useServiceProviderInviteController, useServiceProviderInviteService, useServiceProviderRepo, useSessionRepo, useSiteBillingConfigurationController, useSiteBillingConfigurationRepo, useSiteBillingItemController, useSiteBillingItemRepo, useSiteCameraController, useSiteCameraRepo, useSiteCameraService, useSiteController, useSiteFacilityBookingController, useSiteFacilityBookingRepo, useSiteFacilityBookingService, useSiteFacilityController, useSiteFacilityRepo, useSiteFacilityService, useSiteRepo, useSiteService, useSiteUnitBillingController, useSiteUnitBillingRepo, useSiteUnitBillingService, useStatementOfAccountController, useStatementOfAccountRepo, useSubcategoryPrelovedController, useSubcategoryPrelovedRepo, useSubscriptionController, useSubscriptionPlanController, useSubscriptionPlanRepo, useSubscriptionRepo, useSubscriptionService, useUserController, useUserControllerV2, useUserRepo, useUserRepoV2, useUserService, useUserServiceV2, useVehicleController, useVehicleRepo, useVehicleService, useVerificationController, useVerificationControllerV2, useVerificationRepo, useVerificationRepoV2, useVerificationService, useVerificationServiceV2, useVisitorTransactionController, useVisitorTransactionRepo, useVisitorTransactionService, useWorkOrderController, useWorkOrderRepo, useWorkOrderService, userSchema, vehicleCategoryFor, vehicleHistoryEntry, vehicleHistoryValue, vehicleListViewQuery, vehicleSchema, vehicleViewOf, vehicles_namespace_collection, verificationEmail, vertexDistancePx, visitorPersonRepo, visitorPersonService, visitorType, visitors_namespace_collection, wallConfig, wallsFromOccupancyGrid, waypointsFor, webBase, withLiveLink, withNotificationKind, workOrderSchema, work_orders2_namespace_collection, work_orders_namespace_collection };
|
|
20291
|
+
export { ANPRMode, APP_BASE_URLS, AUDIT_VALUE_MAX_LENGTH, AccessTypeProps, AppKey, AppServiceType, AssignCardConfig, BLOCKLIST_CATEGORIES, BULK_CAMERA_COLUMNS, BidStatus, BidType, BuildingLevelStatus, BuildingStatus, BulkCameraAccepted, BulkCameraOutcome, BulkCameraPlan, BulkCameraResult, BulkCardUpdate, BulletinOrder, BulletinRecipient, BulletinSort, BulletinStatus, BulletinVideoOrder, BulletinVideoSort, CAMERA_ANPR_PERMISSIONS, CAMERA_CAPABILITIES, CAMERA_CAPABILITY_REASONS, CAMERA_MANAGE_ANY_PERMISSIONS, CAMERA_NOT_PATROL_OR_CCTV, CAMERA_NO_SUB_STREAM_TTL_SECONDS, CAMERA_PTZ_PERMISSIONS, CAMERA_RECORDINGS_PERMISSIONS, CAMERA_REQUEST_TIMEOUT_MS, CAMERA_RTSP_TIMEOUT_MS, CAMERA_SETUP_PERMISSIONS, CAMERA_SNAPSHOT_CACHE_SECONDS, CAMERA_SNAPSHOT_MAX_BYTES, CAMERA_TEST_MIN_INTERVAL_SECONDS, CAMERA_TEST_ROUND_LIMIT, CAMERA_TEST_ROUND_SECONDS, CAMERA_TYPE_ANPR, CAMERA_TYPE_IP, CAMERA_VIEW_PERMISSIONS, CLIENT_ACTIONS, CLOCK_DRIFT_WARN_SECONDS, CONSOLE_AUDIT_LABELS, CONSOLE_PERMISSIONS, CONTRACTOR_TYPE_LABELS, CROSS_CLIENT_GRANT, CURRENT_TIME_ENDPOINT, Camera, CameraAddressInput, CameraCapability, CameraCapabilityContext, CameraCapabilityDescriptor, CameraCapabilityEntry, CameraCapabilityReason, CameraCapabilityState, CameraCapabilityTrace, CameraDevice, CameraFrame, CameraMembership, CameraStream, CameraTestStatus, CameraTransport, CameraType, ConsoleAuditAction, ConsoleAuditTarget, ConsoleGrant, DEFAULT_EMAIL_ALLOWLIST, DEFAULT_RING_SECONDS, DEFAULT_SCALE_M_PER_PX, DEFAULT_SITE_TIMEZONE, DEMO_ADD_MAX, DEMO_BRAND, DEMO_CAPABILITIES, DEMO_FAULT_ROBOT, DEMO_ROUTES, DEVICE_STATUS, DISCONNECT, DOBStatus, DOOR_MODE, DRIVE_END_TEXT, DUPLICATE_TERMS_VERSION_MESSAGE, DayOfWeek, DeviceHttpTarget, DeviceProbeResult, DynamicFormFields, E164, EAccessCardTypes, EAccessCardUserTypes, EMAIL_CODE_MAX_ATTEMPTS, EMAIL_CODE_RESEND_MS, EMAIL_CODE_TTL_MS, EMAIL_PER_MODULE_PER_HOUR, EMAIL_WINDOW_MS, EmailSender, EntryOrder, EntrySort, EventOrder, EventSort, EventStatus, EventType, FLOOR_PLANS_TOTAL_MAX_BYTES, FLOOR_PLAN_MAX_BYTES, FacilitySort, FacilityStatus, FormEntryStatus, GOVERNED_MODULES, GuestSort, GuestStatus, HID_CARD_VALUE_FACTOR, HID_PERMISSION_CATEGORIES, HID_UINT32_MAX, HID_UINT64_MAX, HidRawUint64, IAccessCard, IAccessCardTransaction, InviteActor, LIFT_DOOR, LIFT_LEASE_MS, LIFT_MODE, LIFT_MOTION, LIFT_QUEUE_TTL_MS, LIFT_REQUEST, LIFT_SESSION_STATUS, LIFT_SIM_BOARD_MS, LIFT_SIM_DOOR_DWELL_MS, LIFT_SIM_MS_PER_FLOOR, LIVE_ROLE, LIVE_VEHICLE_STATUSES, MANAGE_SITE_MODULES, MAX_BULK_CAMERA_ROWS, MAX_CAMERA_CHANNEL, MAX_CAMERA_NAME_LENGTH, MAX_PERSONAL_EMERGENCY_CONTACTS, MAX_RING_SECONDS, MAccessCard, MAccessCardTransaction, MAddress, MAttendance, MAttendanceSettings, MBidPreloved, MBillingConfiguration, MBillingItem, MBuilding, MBuildingLevel, MBuildingUnit, MBulletinBoard, MBulletinVideo, MCategoryPreloved, MChannelPreloved, MChat, MChatPreloved, MConsoleAudit, MCustomer, MCustomerSite, MDocumentManagement, MEMBER_TYPES, MEntryPassSettings, MEventManagement, MFeedback, MFile, MFormEntry, MGuestManagement, MHidAmicoEvent, MHidAmicoIdentity, MHidAmicoReader, MHidSipAccount, MHidSitePermissions, MIN_RING_SECONDS, MIncidentReport, MManpowerDesignations, MManpowerMonitoring, MManpowerRemarks, MManpowerSites, MMember, MNfcPatrolLog, MNfcPatrolRoute, MNfcPatrolSettings, MNfcPatrolSettingsUpdate, MNfcPatrolTag, MNotification, MNotificationPreference, MODULE_GATE_MODE_DEFAULT, MODULE_LIST_GATE_DEFAULT, MOccurrenceBook, MOccurrenceEntry, MOccurrenceSubject, MOnlineForm, MOrg, MOvernightParkingApprovalHours, MOvernightParkingRequest, MPatrolEmail, MPatrolLog, MPatrolQuestion, MPatrolRoute, MPerson, MPersonalEmergencyChain, MPlatformTerms, MPost, MPostFavorite, MPromoCode, MQTT, MQTT_MAX_PACKET, MRobot, MRobotBuildingMap, MRole, MRoleV2, MServiceProvider, MServiceProviderBilling, MSession, MSite, MSiteCamera, MSiteFacility, MSiteFacilityBooking, MStatementOfAccount, MSubcategoryPreloved, MSubscription, MSubscriptionPlan, MUnitBilling, MUser, MVehicle, MVehicleTransaction, MVerification, MVerificationV2, MVisitorTransaction, MWorkOrder, MembershipPreference, NETWORK_STATES_MAX, NOTIFICATION_CATEGORIES, NOTIFICATION_CHANNELS, NOTIFICATION_CHANNEL_LABELS, NOTIFICATION_NAMESPACE, NOTIFY_ACCESS_FILTER_DEFAULT, NotificationAppSlug, NotificationCategory, NotificationChannel, NotificationModule, NotificationPreferenceView, NotificationService, OFFLINE_FAULT_CODE, OPEN_RMF_BRAND, OPEN_RMF_CAPABILITIES, OPEN_RMF_DISPLAY_NAME, ORG_MARKETPLACE_VENDOR_FIELD, ORG_OWNER_REPAIR_CLAIM_STALE_MS, ORG_OWNER_REPAIR_CLAIM_TAKEN_REASON, ORG_OWNER_REPAIR_DEFAULT, ORG_OWNER_REPAIR_OFF_REASON, OUNITECH_BRAND, OUNITECH_CAPABILITIES, OUNITECH_PENDING_COMMANDS, OUNITECH_TIMESTAMP_FORMAT, OpenRmfError, OrgNature, OvernightParkingRequestSort, OvernightParkingRequestStatus, PADBOT_ACTION_TEXT, PADBOT_ALARM_POLL_MS, PADBOT_ALARM_TEXT, PADBOT_BRAND, PADBOT_CAPABILITIES, PADBOT_DISPLAY_NAME, PADBOT_LIVE_POSE_MS, PADBOT_MOTION, PADBOT_MQTT_SYNC_MS, PADBOT_ONLINE_WINDOW_MS, PADBOT_PATHS, PATROL_CCTV_CAMERA_FILTER, PATROL_EMAIL_MAX_LOGS, PATROL_EMAIL_MAX_PER_HOUR, PATROL_EMAIL_MAX_RECIPIENTS, PERSON_TYPES, PINGREQ, PLAN_RANGE, PLATFORM_STAFF_MEMBER_TYPE, PLATFORM_STAFF_ROLE_TYPE, PLAYBACK_LINK_SECONDS, PLAYBACK_MAX_WINDOW_SECONDS, PROPERTY_MANAGEMENT_MEMBER_TYPES, PStatus, PTZ_ALLOWED_ACTIONS, PTZ_ALLOWED_CODES, Period, PersonStatus, PersonType, PersonTypes, PlatformTermsStatus, PostOrder, PostSort, PostStatus, QrTagProps, REALTIME_MAX_FANOUT, RECEIVED_INVITE_LABELS, RECEIVED_INVITE_TABS, REGISTERED_VEHICLE_CATEGORIES, ROBOT_APP_SCOPES, ROBOT_AUDIT_ACTIONS, ROBOT_CAPABILITIES, ROBOT_CLOUD_DOC_CONFIRMATIONS, ROBOT_CLOUD_PATHS, ROBOT_CLOUD_TIMEOUT_MS, ROBOT_CLOUD_TIMESTAMP_FORMATS, ROBOT_CREDENTIALS_ENV, ROBOT_MODULE, ROBOT_PERMISSIONS, ROBOT_STATUS_NAMES, ROBOT_TYPES, ReceivedInviteTab, ResidentAppModuleKey, RobotCloudError, RobotCredentialsError, SELF_SERVICE_RESEND_COOLDOWN_MS, SELF_SIGNUP_PLATFORM, SELF_SIGNUP_STATUS, SELF_SIGNUP_TYPES, SERVICE_PROVIDER_INVITE_EXPIRED_MESSAGE, SERVICE_PROVIDER_INVITE_LABELS, SERVICE_PROVIDER_INVITE_TRANSITIONS, SERVICE_PROVIDER_SIGN_IN_SUBJECT, SERVICE_PROVIDER_SIGN_IN_TYPE, SERVICE_PROVIDER_SIGN_UP_SUBJECT, SERVICE_PROVIDER_SIGN_UP_TYPE, SITE_STATES_MAX, SOFTWARE_VERSION_ENDPOINT, ServiceProviderInviteAction, ServiceProviderInviteDecision, ServiceProviderInviteFacts, SiteAddress, SiteCategories, SiteStatus, SortFields, SortOrder, Status, SubjectOrder, SubjectSort, SubscriptionBillingMode, SubscriptionType, TAccessMngmntSettings, TActionStatus, TAdapterCommand, TAdapterRobot, TAddress, TAffectedEntities, TAffectedInjured, TAppServiceType, TApprovedBy, TApprover, TAreaColour, TAttendance, TAttendanceCheckIn, TAttendanceCheckOut, TAttendanceCheckTime, TAttendanceLocation, TAttendanceSettings, TAttendanceSettingsGetBySite, TAuthorities, TAuthoritiesCalled, TBidPreloved, TBilling, TBillingConfiguration, TBillingItem, TBuilding, TBuildingFloorPlan, TBuildingLevel, TBuildingMapDoor, TBuildingMapLevel, TBuildingMapLift, TBuildingUnit, TBulletinBoard, TBulletinVideo, TCamera, TCameraHealthClaim, TCategoryPreloved, TChannelPreloved, TChat, TChatPreloved, TCheckPoint$1 as TCheckPoint, TCleanLevel, TCleanMode, TCleanOptionValues, TCleanOptions, TCleanSubMode, TCloudArea, TCloudFile, TCloudMap, TCloudPlan, TCloudPlanJob, TCloudRobot, TComplaintInfo, TComplaintReceivedTo, TConsoleAudit, TConsoleAuditQuery, TCounter, TCreateNfcPatrolLog, TCredentialField, TCrossSiteRoleMode, TCustomer, TCustomerSite, TCustomerSitePropertyField, TDayNumber, TDaySchedule, TDefaultAccessCard, TDesignations, TDocs, TDocumentCreate, TDocumentManagement, TDoorDriver, TDoorMode, TDoorRequest, TDoorState, TDriveSignal, TEntryPassSettings, TEventManagement, TFeedback, TFeedbackMetadata, TFeedbackUpdate, TFeedbackUpdateCategory, TFeedbackUpdateServiceProvider, TFeedbackUpdateStatus, TFeedbackUpdateToCompleted, TFile, TFiles, TFleetRobot, TFloorPlanLevel, TFloorPlanMap, TFloorSlab, TFolderUpdate, TFormEntry, TGetAttendancesByUserQuery, TGetAttendancesQuery, TGuestManagement, THidAmicoEvent, THidAmicoGatewayJob, THidAmicoIdentity, THidAmicoPhysicalCard, THidAmicoReader, THidPermissionAssignment, THidPermissionCategory, THidPermissionUserBinding, THidPhysicalCardInput, THidPhysicalCardType$1 as THidPhysicalCardType, THidSipAccount, THidSitePermissions, TIMESTAMP_OFFSET_CANDIDATES, TIncidentInformation, TIncidentReport, TIncidentTypeAndTime, TInvoice, TKeyRef, TLevelSolids, TLiftDoorState, TLiftDriver, TLiftMode, TLiftMotionState, TLiftPhase, TLiftRequest, TLiftRequestType, TLiftSessionStatus, TLiftState, TManpowerDesignations, TManpowerDesignationsUpdate, TManpowerMonitoring, TManpowerMonitoringUpdate, TManpowerRemarks, TManpowerRemarksStatusUpdate, TManpowerRemarksUpdate, TManpowerSearchFilter, TManpowerSites, TMapDoor, TMapFloor, TMapMeasurement, TMapPointM, TMapSegment, TMapVertex, TMapWall, TMember, TMemberModulesDeps, TMemberUpdateStatus, TMessagePreloved, TMiniRole, TModuleAccess, TModuleGateMode, TModuleImpact, TMqttPacket, TNfcPatrolLog, TNfcPatrolRoute, TNfcPatrolRouteEdit, TNfcPatrolSettings, TNfcPatrolSettingsGetBySite, TNfcPatrolSettingsUpdate, TNfcPatrolTag, TNfcPatrolTagConfigureReset, TNfcPatrolTagEdit, TNfcPatrolTagUpdateData, TNotification, TNotificationEmail, TNotificationEmailJob, TNotificationEmailSettings, TNotificationPreference, TNotificationPreferenceOff, TNotifyAccessContext, TNotifyAccessMode, TNotifyAccessReport, TOccupancyGrid, TOccurrenceBook, TOccurrenceEntry, TOccurrenceSubject, TOnlineForm, TOpenRmfClient, TOpenRmfConfig, TOrg, TOrgModulesDeps, TOrgOwnerRepairClaim, TOrgOwnerRepairDeps, TOrgOwnerRepairInput, TOrgOwnerRepairPayload, TOrgOwnerRepairPlan, TOvernightParkingApprovalHours, TOvernightParkingRequest, TPadbotDriveLimits, TPadbotLiveEvent, TPadbotMapFrame, TPadbotMqttEvent, TPadbotMqttMessage, TPadbotPoint, TPatrolEmail, TPatrolEmailCreatedBy, TPatrolEmailLogRef, TPatrolLog, TPatrolQuestion, TPatrolRoute, TPendingCommand, TPerson, TPersonalEmergencyChain, TPersonalEmergencyContact, TPlaceOfIncident, TPlates, TPlatformTerms, TPost, TPostFavorite, TPreferenceViewOptions, TPrice, TPriceType, TPromoCode, TPromoCurrencyInput, TPromoTier, TRACKING_BACKOFF_BASE_MS, TRACKING_BACKOFF_CAP_MS, TRACKING_IDLE_TIMEOUT_MS, TRANSPORT_DEVICE_HTTP, TRANSPORT_RELAY_PLAYBACK, TRANSPORT_RELAY_PLAYER, TRANSPORT_RTSP_FRAME, TRecipientOfComplaint, TRemarks, TResident, TResidentAppModules, TRmfBuildingMap, TRmfFleetState, TRmfLocation, TRmfRobotState, TRobot, TRobotAction, TRobotAdapter, TRobotAppScope, TRobotBrand, TRobotBuildingMap, TRobotCapabilities, TRobotCapability, TRobotCloudCredentials, TRobotCloudErrorKind, TRobotCloudPath, TRobotCloudReply, TRobotCloudReplyInfo, TRobotCloudTimestampFormat, TRobotCommand, TRobotDiagnosis, TRobotDiagnosisStep, TRobotLiftSession, TRobotLiveState, TRobotMetadata, TRobotMode, TRobotPage, TRobotPatrolCheckpoint, TRobotPatrolCheckpointVisit, TRobotPatrolPlan, TRobotPatrolRecord, TRobotPatrolRoute, TRobotPatrolScheduleRow, TRobotPermissionActor, TRobotPose, TRobotTier, TRobotType, TRole, TRolePermissionHistoryEntry, TRoleV2, TRoute, TSOABillingItem, TSOAStatus, TSelfServiceEmailOccasion, TSelfServiceEmailRecord, TSelfServiceResendDecision, TSelfServiceResendFacts, TServiceProvider, TServiceProviderBilling, TSession, TSessionCreate, TShifts, TSignNfcPatrolLog, TSite, TSiteCamera, TSiteDayBounds, TSiteFacility, TSiteFacilityBooking, TSiteInfo, TSiteInformation, TSiteMetadata, TSiteModulesDeps, TSiteUpdateBlock, TSseEvent, TStatementOfAccount, TSubcategoryPreloved, TSubmissionForm, TSubscription, TSubscriptionPlan, TSubscriptionPlanApplication, TTimestampOffsetProbe, TTimestampProbe, TTrackingEvent, TTrackingHandle, TUnitBilling, TUnits, TUpdateFormEntry, TUpdateName, TUser, TUserCreate, TVehicle, TVehicleAnprCamera, TVehicleFieldChange, TVehicleHistoryEntry, TVehicleTransaction, TVehicleUpdate, TVerification, TVerificationCode, TVerificationEvent, TVerificationMetadata, TVerificationMetadataV2, TVerificationOnboarding, TVerificationV2, TVisitorTransaction, TWallSolid, TWorkOrder, TWorkOrderMetadata, TWorkOrderUpdate, TWorkOrderUpdateStatus, TWorkOrderUpdateToCompleted, TanyoneDamageToProperty, UNSTORED_COLUMNS, UseAccessManagementRepo, UserStatus, VEHICLE_HISTORY_LIMIT, VERIFICATION_OPEN_STATUSES, VehicleCategory, VehicleListView, VehicleOrder, VehicleSort, VehicleStatus, VehicleType, VerificationLinkType, VerificationStatus, VerificationSubjectType, VerificationType, VisitorSort, VisitorStatus, WALL_HEIGHT_M, WALL_THICKNESS_M, adapterForRobot, addressSchema, allowedFieldsSite, allowedNatures, allowedPlanApplications, allowsRobotAction, allowsRobotListing, applyTrackingFrame, areaColourToHex, asList, attendanceSchema, attendanceSettingsSchema, buildSelfServiceEmailContext, buildingFileImportSchema, buildingFromRmf, buildingInPlanFrame, buildingMapBodySchema, buildingMapCreateSchema, buildingMapFromRobotMaps, buildingMapUpdateSchema, buildingSolids, building_level_namespace_collection, building_units_namespace_collection, buildings_namespace_collection, bulletin_boards_namespace_collection, callerAccountApproved, callerId, cameraBaseUrl, cameraCapabilitiesFor, cameraDevices, cameraGrant, cameraHealthClaim, cameraHealthSummary, cameraListClearConfirmation, cameraManagePermissions, cameraProbeCacheKey, cameraTransports, canManageSiteModules, canMonitorRobotType, canRevokeRefreshTokenFamily, canSetUpRobotType, categoriesForPermissions, categorySupportsChannel, chatPrelovedEvents, chatSchema, claimReadsAsStale, clampChassis, clampPtzSpeed, clearPadbotCache, clearRobotBrands, clockDriftSeconds, codeMatches, commandSupported, connackCode, consoleRoleAllows, consoleRoleAllowsAll, consoleSpellings, console_audit_namespace_collection, createDemoAdapter, createDriveWatchdog, createLiftSimulator, createManpowerRemarksDaily, createMessageDeduper, createMqttReader, createOpenRmfAdapter, createOpenRmfClient, createOunitechAdapter, createPadbotAdapter, createPadbotClient, createSseParser, crossSiteRoleGrants, crossSiteRoleMode, customerSchema, customerSitePropertyFields, decideSelfServiceResend, decideServiceProviderInvite, decodeHidPacsCard, decodePublish, decodeTrackingFrame, decryptCredential, deliverEmail, demoFault, demoPatrolPoint, deniedModules, deriveBulletinStatus, deriveCameraHost, derivedDemoRobot, describeCameraCapabilities, designationsSchema, deviceControlEnabled, deviceHttpEnabled, deviceHttpTargets, deviceHttpTimeoutMs, deviceProbeTtlSeconds, disconnectedState, doorModeOf, effectiveEmailAllowlist, emailOpenToEveryone, emitNotificationCreated, emptyPersonalEmergencyChain, encodeConnect, encodeGreyscalePng, encodeHidPacsCard, encodePuback, encodePublish, encodeSubscribe, encryptCredential, encryptedPairUpdate, endAllPadbotDrives, entitledSiteScope, escapeHtml, events_namespace_collection, expandModules, expiredBulletinSweepFilter, expiredVehicleSweepFilter, facility_bookings_namespace_collection, feedbackSchema, feedbacks2_namespace_collection, feedbacks_namespace_collection, fetchPadbotMqttCredentials, ffmpegFrameArgs, ffmpegPath, filterByAccess, floorNoOf, floorPlanBodySchema, flushNotificationEmails, forgetPadbotMaps, formatCapabilityTrace, formatDahuaDate, getIO, getSessionIdFromRequest, grabWithSubStreamFallback, greyscalePngDataUri, guests_namespace_collection, hasAnyCapability, hasAnyPermission, hasOrgInvitation, hasOrgOwnership, hasOrgSiteReach, hashCode, headParams, hexToAreaColour, hidRawUint64, holdsLift, holdsRole, incidentReport, incidentReportLog, incidents_namespace_collection, invitationOffersRole, isAvailableForWork, isCameraEntitled, isCrossSiteRole, isDispatchable, isDoorPassable, isDuplicateMemberError, isDuplicateVersionError, isEmailAllowed, isEncryptedCredential, isLiftAvailable, isLikelySelfServiceEmail, isLiveVehicleStatus, isPatrolCctvCamera, isPlatformOwner, isProductionWebBase, isPromoCodeExpired, isRelayPlayerUrl, isSafeRelativePath, isSafeToCross, isSeasonPassVehicle, isServiceProviderInviteExpired, isSuperAdmin, isTermsCurrent, isTrackingStale, isValidTimezone, jcs, keepStoredPassword, levelPixelToMetres, levelScale, levelSolids, liftQueueKey, liftRequestSchema, listPadbotAlarmsSince, listStaffUserIds, liveStatusFor, logCamera, manpowerDesignationsSchema, manpowerEvents, manpowerMonitoringSchema, manpowerRemarksSchema, manpowerSitesSchema, mapWithLimit, maskNric, memberModulesHandlers, metresToPixel, missingForTier, moduleDeniedForCaller, moduleGateEnforceKeys, moduleGateMode, moduleImpact, moduleListGateOn, motionMessage, mqttBackoffMs, mqttRefreshDelayMs, networkText, newCode, newSecret, nfcPatrolSettingsSchema, nfcPatrolSettingsSchemaUpdate, normalisePatrolPlan, normalizeAcceptedTerms, normalizeEmail, normalizeHidCardValue, notificationAccessReport, notificationCategory, notificationCategoryLabel, notificationEmail, notificationEvents, notificationKind, notificationRoom, notifyAccessMode, notifyRobotFault, occasionForStatus, occurrence_book_namespace_collection, offLink, offPage, offToken, offTokenMatches, onBookTimezonesChanged, onPadbotLive, online_forms_namespace_collection, openLink, openRmfConfig, openRmfDoorDriver, openRmfLiftDriver, orgLevelRoles, orgModulesHandlers, orgOwnerRepairHandlers, orgOwnerRepairOn, orgQualifiesForOwnerRepair, orgRoleSets, orgSchema, overnight_parking_requests_namespace_collection, padbotAccountKey, padbotAlarmFault, padbotAlarmPlace, padbotAlarmPollEnabled, padbotBaseUrl, padbotCheckpointVisit, padbotCommandLog, padbotDriveBlock, padbotDriveLimits, padbotDriveSignal, padbotErrorText, padbotLinkUp, padbotLive, padbotManualDriveEnabled, padbotMode, padbotMqttEnabled, padbotPatrolPlan, padbotPatrolRecord, padbotPlanShare, padbotSignature, padbotSignedRequest, parseCameraChannel, parseCameraHost, parseDahuaFind, parseDeviceTime, parseHidJsonLossless, parsePadbotAuthorization, parsePadbotMessage, parsePromoExpiry, parseRobotCommand, parseSoftwareVersion, pickAuditFields, pickCustomerSiteProperties, pixelToMetres, planBulkCameraImport, planDayFromJsDay, planDemoRobots, planOrgOwnerRepair, planShareOf, platform_terms_namespace_collection, playbackRelays, playbackWindowRefusal, promoCodeRefusal, promoCodeSchema, promoCodeStatusSchema, promoCodeUpdate, promoCodeUpdateSchema, ptzEndpoint, publicCameraFields, publishToPadbotRobot, queueNotificationEmails, readLiveItems, readPadbotStates, readPadbotStatesMany, readsAsApprovedAccount, receivedInviteTab, recordConsoleAction, recordPadbotLive, refuseServiceProviderInviteAction, registerCameraTransport, registerDemoBrand, registerOpenRmfBrand, registerOunitechBrand, registerPadbotBrand, registerRobotBrand, registeredRobotBrands, relayForRecorder, remarksSchema, renderPagePdf, requireConsolePermission, requirePlatformStaff, resetCameraTransports, residentAppModuleKeys, residentAppModulesSchema, residentFormEntry, resolutionRefusalReason, resolveCamera, resolveDeviceHttp, resolveHidPhysicalCardValue, resolveInviteActor, resolveSiteTimezone, resolveStaffRole, rmfBuilding_util as rmfBuilding, rmfBuildingSchema, robotActionsFor, robotBrandFor, robotCloudBody, robotCloudCredentials, robotCloudSign, robotCloudSigningString, robotCloudStepName, robotCloudTimestamp, robotCredentialsKey, robotFaultSweepConfig, robotMode, robotModeFromList, robotSchema, robotScopeForApp, robotTier, robotTypesVisibleTo, rtspUrl, safeTopic, scaleFromMeasurement, schema, schemaAppSlugNotification, schemaApprovedBy, schemaApprover, schemaBidPreloved, schemaBilling, schemaBillingConfiguration, schemaBillingItem, schemaBuilding, schemaBuildingLevel, schemaBuildingUnit, schemaBuildingUpdateOptions, schemaBulletinBoard, schemaBulletinVideo, schemaCategoryPreloved, schemaChannelPreloved, schemaChatPreloved, schemaConsoleAudit, schemaCreateHidAmicoIdentity, schemaCreateNfcPatrolLog, schemaCreateNotification, schemaCustomerSite, schemaDiscoverHidAmicoReader, schemaDocumentManagement, schemaEntryPassSettings, schemaEventManagement, schemaFiles, schemaFormEntry, schemaGuestManagement, schemaHidAmicoAccessLogQuery, schemaHidAmicoAssignUserCard, schemaHidAmicoConfiguration, schemaHidAmicoEnrollUserCard, schemaHidAmicoEvent, schemaHidAmicoExecuteActions, schemaHidAmicoIdentity, schemaHidAmicoIdentityIdParams, schemaHidAmicoIdentityQuery, schemaHidAmicoIntercomCall, schemaHidAmicoLogQuery, schemaHidAmicoMonitor, schemaHidAmicoNotificationParams, schemaHidAmicoObjectOperation, schemaHidAmicoOperatingMode, schemaHidAmicoReader, schemaHidAmicoReaderIdParams, schemaHidAmicoReaderListQuery, schemaHidAmicoReaderUserQuery, schemaHidAmicoSetConfiguration, schemaHidAmicoSiteIdParams, schemaHidAmicoSync, schemaHidAmicoUserCardIdParams, schemaHidAmicoUserCardParams, schemaHidAmicoUserImageParams, schemaHidAmicoUserImageUploadQuery, schemaHidAmicoUserPin, schemaHidAmicoUserPinParams, schemaHidAmicoVisitorImageParams, schemaHidAmicoVisitorImageUploadQuery, schemaHidAmicoVisitorQr, schemaHidPermissionCandidateQuery, schemaHidPermissionScopeQuery, schemaHidSipAccountRequest, schemaIncidentReport, schemaListNotification, schemaMultipleDocumentManagement, schemaNfcPatrolLog, schemaNfcPatrolRoute, schemaNfcPatrolTag, schemaNfcPatrolTagUpdateData, schemaNotification, schemaNotificationEmailAddress, schemaNotificationEmailCode, schemaNotificationEmailOff, schemaNotificationPreference, schemaNotificationPreferenceOff, schemaOccurrenceBook, schemaOccurrenceEntry, schemaOccurrenceSubject, schemaOnlineForm, schemaOvernightParkingApprovalHours, schemaOvernightParkingRequest, schemaPatrolEmail, schemaPatrolEmailCreatedBy, schemaPatrolEmailLogRef, schemaPatrolEmailQuery, schemaPatrolLog, schemaPatrolQuestion, schemaPatrolRoute, schemaPerson, schemaPersonalEmergencyContact, schemaPlate, schemaPlatformTerms, schemaPost, schemaPostFavorite, schemaResendPatrolEmail, schemaResidentSelfSignUp, schemaSelfServiceVisitor, schemaSendPatrolEmail, schemaServiceProvider, schemaServiceProviderBilling, schemaSignNfcPatrolLog, schemaSiteCamera, schemaSiteFacility, schemaSiteFacilityBooking, schemaStatementOfAccount, schemaSubcategoryPreloved, schemaUnitBilling, schemaUpdateBidPreloved, schemaUpdateBuildingLevel, schemaUpdateBulletinBoard, schemaUpdateBulletinVideo, schemaUpdateCategoryPreloved, schemaUpdateChatPreloved, schemaUpdateDocumentManagement, schemaUpdateEntryPassSettings, schemaUpdateEventManagement, schemaUpdateFolderManagement, schemaUpdateFormEntry, schemaUpdateGuestManagement, schemaUpdateHidAmicoIdentity, schemaUpdateHidAmicoReader, schemaUpdateHidSitePermissions, schemaUpdateIncidentReport, schemaUpdateNotification, schemaUpdateNotificationPreference, schemaUpdateOccurrenceBook, schemaUpdateOccurrenceEntry, schemaUpdateOccurrenceSubject, schemaUpdateOnlineForm, schemaUpdateOptions, schemaUpdateOvernightParkingRequest, schemaUpdatePatrolLog, schemaUpdatePatrolQuestion, schemaUpdatePatrolRoute, schemaUpdatePerson, schemaUpdatePersonalEmergencyChain, schemaUpdatePost, schemaUpdatePostFavorite, schemaUpdateServiceProviderBilling, schemaUpdateSiteBillingConfiguration, schemaUpdateSiteBillingItem, schemaUpdateSiteCamera, schemaUpdateSiteFacility, schemaUpdateSiteFacilityBooking, schemaUpdateSiteUnitBilling, schemaUpdateStatementOfAccount, schemaUpdateSubcategoryPreloved, schemaUpdateVisTrans, schemaVehicleTransaction, schemaVisitorTransaction, schemeCamera, schemeLogCamera, selectHealthTargets, selfServiceEmailSubject, sendNotificationEmails, servesFloor, serviceProviderInviteLabel, serviceProviderInviteViewStatus, sessionSchema, setIO, sha256Hex, shiftSchema, signLiveLink, signPlaybackLink, signedPath, simulatedLiftState, siteDayBounds, siteModulesHandlers, siteSchema, site_people_namespace_collection, snapshotEndpoint, snapshotRefusalReason, splitRobotSn, staffMayBypass, startDemoTracking, startPadbotDrive, startPadbotLiveFeed, startRobotTracking, startTodaysBookForSite, statesByType, stringifyHidJson, stripFacialImageMetadata, subackOk, subscriptionPlanSchema, summariseBulkCameraPlan, supports, taskRequestFor, toAdapterRobot, trackingBackoffMs, uncontrollableFleetWarning, updateRemarksStatusEod, updateRemarksisAcknowledged, updateSiteSchema, useAccessManagementController, useAddressRepo, useAttendanceController, useAttendanceRepository, useAttendanceSettingsController, useAttendanceSettingsRepository, useAttendanceSettingsService, useAuthController, useAuthControllerV2, useAuthService, useAuthServiceV2, useBidPrelovedController, useBidPrelovedRepo, useBidPrelovedService, useBuildingController, useBuildingLevelController, useBuildingLevelRepo, useBuildingLevelService, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBulletinBoardController, useBulletinBoardRepo, useBulletinBoardService, useBulletinVideoController, useBulletinVideoRepo, useBulletinVideoService, useCameraViewController, useCameraViewService, useCategoryPrelovedController, useCategoryPrelovedRepo, useChannelPrelovedController, useChannelPrelovedRepo, useChatController, useChatPrelovedController, useChatPrelovedRepo, useChatPrelovedService, useChatRepo, useConsoleAuditController, useConsoleAuditRepo, useCounterModel, useCounterRepo, useCustomerController, useCustomerRepo, useCustomerSiteController, useCustomerSiteRepo, useCustomerSiteService, useDahuaService, useDashboardController, useDashboardRepo, useDocumentManagementController, useDocumentManagementRepo, useDocumentManagementService, useEntryPassSettingsController, useEntryPassSettingsRepo, useEventManagementController, useEventManagementRepo, useEventManagementService, useFeedbackController, useFeedbackRepo, useFeedbackService, useFileController, useFileRepo, useFileService, useFormEntryController, useFormEntryRepo, useGuestManagementController, useGuestManagementRepo, useGuestManagementService, useHidAmicoController, useHidAmicoRepo, useHidAmicoService, useHrmLabsAttendanceCtrl, useHrmLabsAttendanceSrvc, useIncidentReportController, useIncidentReportRepo, useIncidentReportService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useManpowerDesignationCtrl, useManpowerDesignationRepo, useManpowerMonitoringCtrl, useManpowerMonitoringRepo, useManpowerMonitoringSrvc, useManpowerRemarkCtrl, useManpowerRemarksRepo, useManpowerSitesCtrl, useManpowerSitesRepo, useManpowerSitesSrvc, useMemberController, useMemberRepo, useMemberService, useNewDashboardController, useNewDashboardRepo, useNfcPatrolLogController, useNfcPatrolLogRepo, useNfcPatrolLogService, useNfcPatrolRouteController, useNfcPatrolRouteRepo, useNfcPatrolRouteService, useNfcPatrolSettingsController, useNfcPatrolSettingsRepository, useNfcPatrolSettingsService, useNfcPatrolTagController, useNfcPatrolTagRepo, useNfcPatrolTagService, useNotificationController, useNotificationPreferenceController, useNotificationPreferenceRepo, useNotificationPreferenceService, useNotificationRepo, useOccurrenceBookController, useOccurrenceBookRepo, useOccurrenceBookService, useOccurrenceEntryController, useOccurrenceEntryRepo, useOccurrenceEntryService, useOccurrenceSubjectController, useOccurrenceSubjectRepo, useOccurrenceSubjectService, useOnlineFormController, useOnlineFormRepo, useOrgController, useOrgControllerV2, useOrgOwnerRepairRepo, useOrgRepo, useOvernightParkingController, useOvernightParkingRepo, useOvernightParkingRequestController, useOvernightParkingRequestRepo, useOvernightParkingRequestService, usePatrolEmailController, usePatrolEmailRepo, usePatrolEmailService, usePatrolLogController, usePatrolLogRepo, usePatrolLogService, usePatrolQuestionController, usePatrolQuestionRepo, usePatrolRouteController, usePatrolRouteRepo, usePersonController, usePersonRepo, usePersonalEmergencyChainController, usePersonalEmergencyChainRepo, usePersonalEmergencyChainService, usePlatformTermsController, usePlatformTermsRepo, usePlatformTermsService, usePostFavoriteController, usePostFavoriteRepo, usePostFavoriteService, usePostPrelovedController, usePostPrelovedRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRedDotPaymentController, useRedDotPaymentRepo, useRedDotPaymentSvc, useRobotBuildingMapRepo, useRobotCloudService, useRobotController, useRobotFaultRepo, useRobotFaultSweep, useRobotFleetController, useRobotFleetService, useRobotLiftSessionRepo, useRobotMapController, useRobotNetworkController, useRobotRepo, useRobotService, useRobotSiteController, useRoleController, useRoleControllerV2, useRoleRepo, useRoleRepoV2, useRoleServiceV2, useServiceProviderBillingController, useServiceProviderBillingRepo, useServiceProviderBillingService, useServiceProviderController, useServiceProviderInviteController, useServiceProviderInviteService, useServiceProviderRepo, useSessionRepo, useSiteBillingConfigurationController, useSiteBillingConfigurationRepo, useSiteBillingItemController, useSiteBillingItemRepo, useSiteCameraController, useSiteCameraRepo, useSiteCameraService, useSiteController, useSiteFacilityBookingController, useSiteFacilityBookingRepo, useSiteFacilityBookingService, useSiteFacilityController, useSiteFacilityRepo, useSiteFacilityService, useSiteRepo, useSiteService, useSiteUnitBillingController, useSiteUnitBillingRepo, useSiteUnitBillingService, useStatementOfAccountController, useStatementOfAccountRepo, useSubcategoryPrelovedController, useSubcategoryPrelovedRepo, useSubscriptionController, useSubscriptionPlanController, useSubscriptionPlanRepo, useSubscriptionRepo, useSubscriptionService, useUserController, useUserControllerV2, useUserRepo, useUserRepoV2, useUserService, useUserServiceV2, useVehicleController, useVehicleRepo, useVehicleService, useVerificationController, useVerificationControllerV2, useVerificationRepo, useVerificationRepoV2, useVerificationService, useVerificationServiceV2, useVisitorTransactionController, useVisitorTransactionRepo, useVisitorTransactionService, useWorkOrderController, useWorkOrderRepo, useWorkOrderService, userSchema, vehicleCategoryFor, vehicleHistoryEntry, vehicleHistoryValue, vehicleListViewQuery, vehicleSchema, vehicleViewOf, vehicles_namespace_collection, verificationEmail, vertexDistancePx, visitorPersonRepo, visitorPersonService, visitorType, visitors_namespace_collection, wallConfig, wallsFromOccupancyGrid, waypointsFor, webBase, withLiveLink, withNotificationKind, workOrderSchema, work_orders2_namespace_collection, work_orders_namespace_collection };
|
package/dist/index.js
CHANGED
|
@@ -249,6 +249,7 @@ __export(src_exports, {
|
|
|
249
249
|
OUNITECH_BRAND: () => OUNITECH_BRAND,
|
|
250
250
|
OUNITECH_CAPABILITIES: () => OUNITECH_CAPABILITIES,
|
|
251
251
|
OUNITECH_PENDING_COMMANDS: () => OUNITECH_PENDING_COMMANDS,
|
|
252
|
+
OUNITECH_TIMESTAMP_FORMAT: () => OUNITECH_TIMESTAMP_FORMAT,
|
|
252
253
|
OpenRmfError: () => OpenRmfError,
|
|
253
254
|
OrgNature: () => OrgNature,
|
|
254
255
|
OvernightParkingRequestSort: () => OvernightParkingRequestSort,
|
|
@@ -296,6 +297,7 @@ __export(src_exports, {
|
|
|
296
297
|
ROBOT_CLOUD_DOC_CONFIRMATIONS: () => ROBOT_CLOUD_DOC_CONFIRMATIONS,
|
|
297
298
|
ROBOT_CLOUD_PATHS: () => ROBOT_CLOUD_PATHS,
|
|
298
299
|
ROBOT_CLOUD_TIMEOUT_MS: () => ROBOT_CLOUD_TIMEOUT_MS,
|
|
300
|
+
ROBOT_CLOUD_TIMESTAMP_FORMATS: () => ROBOT_CLOUD_TIMESTAMP_FORMATS,
|
|
299
301
|
ROBOT_CREDENTIALS_ENV: () => ROBOT_CREDENTIALS_ENV,
|
|
300
302
|
ROBOT_MODULE: () => ROBOT_MODULE,
|
|
301
303
|
ROBOT_PERMISSIONS: () => ROBOT_PERMISSIONS,
|
|
@@ -325,6 +327,7 @@ __export(src_exports, {
|
|
|
325
327
|
SubjectSort: () => SubjectSort,
|
|
326
328
|
SubscriptionBillingMode: () => SubscriptionBillingMode,
|
|
327
329
|
SubscriptionType: () => SubscriptionType,
|
|
330
|
+
TIMESTAMP_OFFSET_CANDIDATES: () => TIMESTAMP_OFFSET_CANDIDATES,
|
|
328
331
|
TRACKING_BACKOFF_BASE_MS: () => TRACKING_BACKOFF_BASE_MS,
|
|
329
332
|
TRACKING_BACKOFF_CAP_MS: () => TRACKING_BACKOFF_CAP_MS,
|
|
330
333
|
TRACKING_IDLE_TIMEOUT_MS: () => TRACKING_IDLE_TIMEOUT_MS,
|
|
@@ -62639,9 +62642,36 @@ var crypto10 = __toESM(require("crypto"));
|
|
|
62639
62642
|
function robotCloudSigningString(appid, timestamp, path5, secret) {
|
|
62640
62643
|
return `appid=${appid},timestamp=${timestamp},url=${path5},secret=${secret}`;
|
|
62641
62644
|
}
|
|
62642
|
-
|
|
62645
|
+
var ROBOT_CLOUD_TIMESTAMP_FORMATS = [
|
|
62646
|
+
"yyyyMMddHHmmss",
|
|
62647
|
+
"unix-s",
|
|
62648
|
+
"unix-ms",
|
|
62649
|
+
"yyyy-MM-dd HH:mm:ss",
|
|
62650
|
+
"iso8601",
|
|
62651
|
+
"unix-s-number",
|
|
62652
|
+
"unix-ms-number"
|
|
62653
|
+
];
|
|
62654
|
+
var OUNITECH_TIMESTAMP_FORMAT = "yyyyMMddHHmmss";
|
|
62655
|
+
function robotCloudTimestamp(now = /* @__PURE__ */ new Date(), format2 = OUNITECH_TIMESTAMP_FORMAT) {
|
|
62643
62656
|
const p = (n, w = 2) => String(n).padStart(w, "0");
|
|
62644
|
-
|
|
62657
|
+
const date = `${p(now.getUTCFullYear(), 4)}-${p(now.getUTCMonth() + 1)}-${p(now.getUTCDate())}`;
|
|
62658
|
+
const time = `${p(now.getUTCHours())}:${p(now.getUTCMinutes())}:${p(now.getUTCSeconds())}`;
|
|
62659
|
+
switch (format2) {
|
|
62660
|
+
case "unix-s":
|
|
62661
|
+
case "unix-s-number":
|
|
62662
|
+
return String(Math.floor(now.getTime() / 1e3));
|
|
62663
|
+
case "unix-ms":
|
|
62664
|
+
case "unix-ms-number":
|
|
62665
|
+
return String(now.getTime());
|
|
62666
|
+
case "yyyy-MM-dd HH:mm:ss":
|
|
62667
|
+
return `${date} ${time}`;
|
|
62668
|
+
case "iso8601":
|
|
62669
|
+
return `${date}T${time}Z`;
|
|
62670
|
+
case "yyyyMMddHHmmss":
|
|
62671
|
+
return `${date}${time}`.replace(/[-:]/g, "");
|
|
62672
|
+
default:
|
|
62673
|
+
throw new Error(`Robot cloud: unknown timestamp format "${format2}".`);
|
|
62674
|
+
}
|
|
62645
62675
|
}
|
|
62646
62676
|
function robotCloudSign(appid, timestamp, path5, secret) {
|
|
62647
62677
|
if (!appid)
|
|
@@ -62653,11 +62683,11 @@ function robotCloudSign(appid, timestamp, path5, secret) {
|
|
|
62653
62683
|
}
|
|
62654
62684
|
return crypto10.createHash("sha1").update(robotCloudSigningString(appid, timestamp, path5, secret)).digest("hex");
|
|
62655
62685
|
}
|
|
62656
|
-
function robotCloudBody(appid, secret, path5, params = {}, now) {
|
|
62657
|
-
const timestamp = robotCloudTimestamp(now);
|
|
62686
|
+
function robotCloudBody(appid, secret, path5, params = {}, now, format2 = OUNITECH_TIMESTAMP_FORMAT) {
|
|
62687
|
+
const timestamp = robotCloudTimestamp(now, format2);
|
|
62658
62688
|
return {
|
|
62659
62689
|
appid,
|
|
62660
|
-
timestamp,
|
|
62690
|
+
timestamp: format2.endsWith("-number") ? Number(timestamp) : timestamp,
|
|
62661
62691
|
sign: robotCloudSign(appid, timestamp, path5, secret),
|
|
62662
62692
|
...params
|
|
62663
62693
|
};
|
|
@@ -63014,7 +63044,9 @@ function useRobotCloudService(credentials, options = {}) {
|
|
|
63014
63044
|
credentials.appid,
|
|
63015
63045
|
credentials.secret,
|
|
63016
63046
|
path5,
|
|
63017
|
-
params
|
|
63047
|
+
params,
|
|
63048
|
+
options.now?.(),
|
|
63049
|
+
options.timestampFormat
|
|
63018
63050
|
);
|
|
63019
63051
|
const step = robotCloudStepName(path5);
|
|
63020
63052
|
let data;
|
|
@@ -65678,6 +65710,17 @@ function registerPadbotBrand() {
|
|
|
65678
65710
|
registerPadbotBrand();
|
|
65679
65711
|
|
|
65680
65712
|
// src/services/robot-fleet.service.ts
|
|
65713
|
+
var TIMESTAMP_OFFSET_CANDIDATES = [
|
|
65714
|
+
{ offsetMinutes: 120, label: "UTC+2 (Frankfurt summer time)" },
|
|
65715
|
+
{ offsetMinutes: 60, label: "UTC+1 (Frankfurt winter time)" },
|
|
65716
|
+
{ offsetMinutes: 480, label: "UTC+8 (China / Singapore)" },
|
|
65717
|
+
{ offsetMinutes: -480, label: "UTC-8" },
|
|
65718
|
+
{ offsetMinutes: 540, label: "UTC+9" },
|
|
65719
|
+
{ offsetMinutes: 1, label: "UTC +1 min drift" },
|
|
65720
|
+
{ offsetMinutes: -1, label: "UTC -1 min drift" }
|
|
65721
|
+
];
|
|
65722
|
+
var lastTimestampProbe = /* @__PURE__ */ new Map();
|
|
65723
|
+
var TIMESTAMP_PROBE_INTERVAL_MS = 6e4;
|
|
65681
65724
|
function cloudHost(baseUrl) {
|
|
65682
65725
|
try {
|
|
65683
65726
|
return new URL(baseUrl).host;
|
|
@@ -66021,8 +66064,93 @@ function useRobotFleetService(deps) {
|
|
|
66021
66064
|
}
|
|
66022
66065
|
return out(null, "Every step worked.");
|
|
66023
66066
|
}
|
|
66067
|
+
function probeGate(robot, kind) {
|
|
66068
|
+
if (String(robot.brand ?? "").trim() !== OUNITECH_BRAND) {
|
|
66069
|
+
throw new import_node_server_utils163.BadRequestError("The timestamp probe is for Ounitech robots only.");
|
|
66070
|
+
}
|
|
66071
|
+
const id = robot._id ? String(robot._id) : "";
|
|
66072
|
+
const key = `${id}:${kind}`;
|
|
66073
|
+
const last = lastTimestampProbe.get(key);
|
|
66074
|
+
if (last && Date.now() - last < TIMESTAMP_PROBE_INTERVAL_MS) {
|
|
66075
|
+
const wait = Math.ceil((TIMESTAMP_PROBE_INTERVAL_MS - (Date.now() - last)) / 1e3);
|
|
66076
|
+
throw new import_node_server_utils163.AppError(`The timestamp probe ran for this robot less than a minute ago - try again in ${wait} s.`, 429);
|
|
66077
|
+
}
|
|
66078
|
+
const pair = robotCloudCredentials(robot);
|
|
66079
|
+
if (!pair.appid || !pair.secret) {
|
|
66080
|
+
throw new import_node_server_utils163.BadRequestError("No AppID and Secret saved on this robot - run Diagnose first.");
|
|
66081
|
+
}
|
|
66082
|
+
lastTimestampProbe.set(key, Date.now());
|
|
66083
|
+
return { id, pair };
|
|
66084
|
+
}
|
|
66085
|
+
async function probeTimestampOffset(robot) {
|
|
66086
|
+
const { id, pair } = probeGate(robot, "offset");
|
|
66087
|
+
const baseUrl = deps?.cloudOptions?.baseUrl ?? ROBOT_CLOUD_BASE_URL;
|
|
66088
|
+
let skewMs = null;
|
|
66089
|
+
const onReply = ({ date }) => {
|
|
66090
|
+
const t = date ? Date.parse(date) : NaN;
|
|
66091
|
+
if (skewMs === null && !Number.isNaN(t))
|
|
66092
|
+
skewMs = t - Date.now();
|
|
66093
|
+
};
|
|
66094
|
+
const attempts = [];
|
|
66095
|
+
let accepted = null;
|
|
66096
|
+
for (const c of [{ offsetMinutes: 0, label: "UTC (current)" }, ...TIMESTAMP_OFFSET_CANDIDATES]) {
|
|
66097
|
+
const now = () => new Date(Date.now() + (skewMs ?? 0) + c.offsetMinutes * 6e4);
|
|
66098
|
+
const sent = robotCloudTimestamp(now(), "yyyyMMddHHmmss");
|
|
66099
|
+
try {
|
|
66100
|
+
const robots = await useRobotCloudService(pair, { ...deps?.cloudOptions, timestampFormat: "yyyyMMddHHmmss", now, onReply }).getRobots();
|
|
66101
|
+
attempts.push({ ...c, sent, ok: true, detail: `Accepted. The account lists ${robots.length} robot${robots.length === 1 ? "" : "s"}.` });
|
|
66102
|
+
accepted = c.offsetMinutes;
|
|
66103
|
+
break;
|
|
66104
|
+
} catch (e) {
|
|
66105
|
+
attempts.push({ ...c, sent, ok: false, ...describeFailure(e) });
|
|
66106
|
+
if (e instanceof RobotCloudError && (e.kind === "unreachable" || e.kind === "timeout"))
|
|
66107
|
+
break;
|
|
66108
|
+
}
|
|
66109
|
+
}
|
|
66110
|
+
const skew = skewMs;
|
|
66111
|
+
const winner = attempts[attempts.length - 1];
|
|
66112
|
+
return {
|
|
66113
|
+
robotId: id,
|
|
66114
|
+
cloudHost: cloudHost(baseUrl),
|
|
66115
|
+
vendorSkewSeconds: skew === null ? null : Math.round(skew / 1e3),
|
|
66116
|
+
acceptedOffsetMinutes: accepted,
|
|
66117
|
+
attempts,
|
|
66118
|
+
summary: accepted === null ? "Ounitech accepted none of the offsets tried - ask Ounitech for an exact example timestamp." : accepted === 0 ? "Ounitech accepts plain UTC now - the earlier refusal was not the offset." : `Ounitech accepts yyyyMMddHHmmss at ${winner.label} (${accepted > 0 ? "+" : ""}${accepted} min from UTC).`,
|
|
66119
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
66120
|
+
};
|
|
66121
|
+
}
|
|
66122
|
+
async function probeTimestampFormat(robot) {
|
|
66123
|
+
const { id, pair } = probeGate(robot, "format");
|
|
66124
|
+
const baseUrl = deps?.cloudOptions?.baseUrl ?? ROBOT_CLOUD_BASE_URL;
|
|
66125
|
+
const attempts = [];
|
|
66126
|
+
let accepted = null;
|
|
66127
|
+
for (const format2 of ROBOT_CLOUD_TIMESTAMP_FORMATS) {
|
|
66128
|
+
const sent = robotCloudTimestamp(/* @__PURE__ */ new Date(), format2);
|
|
66129
|
+
try {
|
|
66130
|
+
const robots = await useRobotCloudService(pair, { ...deps?.cloudOptions, timestampFormat: format2 }).getRobots();
|
|
66131
|
+
attempts.push({ format: format2, sent, ok: true, detail: `Accepted. The account lists ${robots.length} robot${robots.length === 1 ? "" : "s"}.` });
|
|
66132
|
+
accepted = format2;
|
|
66133
|
+
break;
|
|
66134
|
+
} catch (e) {
|
|
66135
|
+
attempts.push({ format: format2, sent, ok: false, ...describeFailure(e) });
|
|
66136
|
+
if (e instanceof RobotCloudError && (e.kind === "unreachable" || e.kind === "timeout"))
|
|
66137
|
+
break;
|
|
66138
|
+
}
|
|
66139
|
+
}
|
|
66140
|
+
return {
|
|
66141
|
+
robotId: id,
|
|
66142
|
+
cloudHost: cloudHost(baseUrl),
|
|
66143
|
+
currentFormat: OUNITECH_TIMESTAMP_FORMAT,
|
|
66144
|
+
accepted,
|
|
66145
|
+
attempts,
|
|
66146
|
+
summary: accepted ? accepted === OUNITECH_TIMESTAMP_FORMAT ? `Ounitech accepts "${accepted}", the format already in use - the refusal is not the timestamp format.` : `Ounitech accepts "${accepted}". Switch OUNITECH_TIMESTAMP_FORMAT to it.` : "Ounitech accepted none of the formats tried - ask Ounitech for the exact format with an example.",
|
|
66147
|
+
checkedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
66148
|
+
};
|
|
66149
|
+
}
|
|
66024
66150
|
return {
|
|
66025
66151
|
diagnose,
|
|
66152
|
+
probeTimestampFormat,
|
|
66153
|
+
probeTimestampOffset,
|
|
66026
66154
|
getLiveVideo,
|
|
66027
66155
|
resolveAlerts,
|
|
66028
66156
|
getPatrolHistory,
|
|
@@ -69083,9 +69211,16 @@ function useRobotFleetController(deps) {
|
|
|
69083
69211
|
async function diagnoseRobot(req, res, next) {
|
|
69084
69212
|
try {
|
|
69085
69213
|
await requirePlatformStaff(req, CROSS_CLIENT_GRANT);
|
|
69214
|
+
const probe = req.query.probe;
|
|
69215
|
+
if (probe !== void 0 && probe !== "timestamp" && probe !== "timestamp-offset") {
|
|
69216
|
+
return fail(next, new import_node_server_utils169.BadRequestError('probe must be "timestamp" or "timestamp-offset".'));
|
|
69217
|
+
}
|
|
69086
69218
|
const robot = await entitleRobot(req, req.params.id);
|
|
69087
69219
|
res.set("Cache-Control", "no-store");
|
|
69088
|
-
|
|
69220
|
+
const fleet2 = getFleet2();
|
|
69221
|
+
res.json(
|
|
69222
|
+
probe === "timestamp" ? await fleet2.probeTimestampFormat(robot) : probe === "timestamp-offset" ? await fleet2.probeTimestampOffset(robot) : await fleet2.diagnose(robot)
|
|
69223
|
+
);
|
|
69089
69224
|
} catch (error) {
|
|
69090
69225
|
fail(next, error);
|
|
69091
69226
|
}
|
|
@@ -104526,6 +104661,7 @@ function usePersonalEmergencyChainController() {
|
|
|
104526
104661
|
OUNITECH_BRAND,
|
|
104527
104662
|
OUNITECH_CAPABILITIES,
|
|
104528
104663
|
OUNITECH_PENDING_COMMANDS,
|
|
104664
|
+
OUNITECH_TIMESTAMP_FORMAT,
|
|
104529
104665
|
OpenRmfError,
|
|
104530
104666
|
OrgNature,
|
|
104531
104667
|
OvernightParkingRequestSort,
|
|
@@ -104573,6 +104709,7 @@ function usePersonalEmergencyChainController() {
|
|
|
104573
104709
|
ROBOT_CLOUD_DOC_CONFIRMATIONS,
|
|
104574
104710
|
ROBOT_CLOUD_PATHS,
|
|
104575
104711
|
ROBOT_CLOUD_TIMEOUT_MS,
|
|
104712
|
+
ROBOT_CLOUD_TIMESTAMP_FORMATS,
|
|
104576
104713
|
ROBOT_CREDENTIALS_ENV,
|
|
104577
104714
|
ROBOT_MODULE,
|
|
104578
104715
|
ROBOT_PERMISSIONS,
|
|
@@ -104602,6 +104739,7 @@ function usePersonalEmergencyChainController() {
|
|
|
104602
104739
|
SubjectSort,
|
|
104603
104740
|
SubscriptionBillingMode,
|
|
104604
104741
|
SubscriptionType,
|
|
104742
|
+
TIMESTAMP_OFFSET_CANDIDATES,
|
|
104605
104743
|
TRACKING_BACKOFF_BASE_MS,
|
|
104606
104744
|
TRACKING_BACKOFF_CAP_MS,
|
|
104607
104745
|
TRACKING_IDLE_TIMEOUT_MS,
|