@burdenoff/microfe-movethewheels 2026.1108.4 → 2026.1108.5
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/generated/tracking-quality-operations.d.ts +1 -1
- package/dist/generated/wspace-types.d.ts +8 -2
- package/dist/movethewheels/utils/carrierIntegrations.d.ts +12 -4
- package/dist/pages/IntegrationsPage.js +371 -323
- package/dist/utils/carrierIntegrations.js +52 -45
- package/package.json +1 -1
- package/src/generated/tracking-quality-operations.ts +1 -0
- package/src/generated/wspace-types.ts +8 -2
- package/src/movethewheels/pages/IntegrationsPage.tsx +59 -17
- package/src/movethewheels/utils/carrierIntegrations.ts +24 -7
|
@@ -2747,7 +2747,7 @@ export type MtwIntegrationPollStatus = {
|
|
|
2747
2747
|
/** Records skipped because their vehicle is unknown or has no in-progress route. */
|
|
2748
2748
|
lastUpdatesSkipped: Scalars['Int']['output'];
|
|
2749
2749
|
};
|
|
2750
|
-
export type MtwIntegrationProvider = 'DESCARTES' | 'FOURKITES' | 'GENERIC_WEBHOOK' | 'GEOTAB' | 'PROJECT44' | 'SAMSARA' | 'SHIPROCKET';
|
|
2750
|
+
export type MtwIntegrationProvider = 'DESCARTES' | 'FOURKITES' | 'GENERIC_WEBHOOK' | 'GEOTAB' | 'MOTIVE' | 'PROJECT44' | 'SAMSARA' | 'SHIPROCKET';
|
|
2751
2751
|
export type MtwInventoryCoverPlan = {
|
|
2752
2752
|
__typename?: 'MtwInventoryCoverPlan';
|
|
2753
2753
|
demandChangePct: Scalars['Float']['output'];
|
|
@@ -16811,6 +16811,8 @@ export declare enum ColEventType {
|
|
|
16811
16811
|
}
|
|
16812
16812
|
export type ColFamilyTree = {
|
|
16813
16813
|
__typename?: 'ColFamilyTree';
|
|
16814
|
+
/** Per-tree opt-in for the weekly autonomous AI digest (BOFF-3783 consent gate). Default OFF pre-launch — the scheduled Kin Intelligence loop skips any tree that has not explicitly asked for it. Editable by tree OWNER/STEWARD via colUpdateFamilyTree. */
|
|
16815
|
+
aiDigestEnabled: Scalars['Boolean']['output'];
|
|
16814
16816
|
/** Cover image — references a wspace-files-svc File (blobs live there). */
|
|
16815
16817
|
coverFile?: Maybe<File>;
|
|
16816
16818
|
createdAt: Scalars['DateTime']['output'];
|
|
@@ -17011,6 +17013,8 @@ export declare enum ColMemberRole {
|
|
|
17011
17013
|
export type ColMembership = {
|
|
17012
17014
|
__typename?: 'ColMembership';
|
|
17013
17015
|
acceptedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
17016
|
+
/** Per-member preference for the weekly autonomous AI digest (BOFF-3783). The loop only notifies members whose tree opted in (aiDigestEnabled), whose membership is ACTIVE, and who have not muted themselves here. A member may change this on their own membership; admins may change it for any member. */
|
|
17017
|
+
aiDigestNotifications: Scalars['Boolean']['output'];
|
|
17014
17018
|
createdAt: Scalars['DateTime']['output'];
|
|
17015
17019
|
id: Scalars['ID']['output'];
|
|
17016
17020
|
invitedAt: Scalars['DateTime']['output'];
|
|
@@ -17345,14 +17349,16 @@ export type ColUpdateEventInput = {
|
|
|
17345
17349
|
type?: InputMaybe<ColEventType>;
|
|
17346
17350
|
};
|
|
17347
17351
|
export type ColUpdateFamilyTreeInput = {
|
|
17352
|
+
aiDigestEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
17348
17353
|
coverFileId?: InputMaybe<Scalars['ID']['input']>;
|
|
17349
17354
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
17350
17355
|
name?: InputMaybe<Scalars['String']['input']>;
|
|
17351
17356
|
surname?: InputMaybe<Scalars['String']['input']>;
|
|
17352
17357
|
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
17353
17358
|
};
|
|
17354
|
-
/** Change a family-circle member's tree role and/or linked Person (BOFF-3972). Omitted fields are left unchanged; an explicit null personId unlinks the member from their Person record. */
|
|
17359
|
+
/** Change a family-circle member's tree role and/or linked Person (BOFF-3972). Omitted fields are left unchanged; an explicit null personId unlinks the member from their Person record. `aiDigestNotifications` is the member's weekly AI-digest preference (BOFF-3783): admins may set it for any member, and a member may set it on their OWN membership without holding a tree role (the service rejects a non-admin trying to change anything else). */
|
|
17355
17360
|
export type ColUpdateMembershipInput = {
|
|
17361
|
+
aiDigestNotifications?: InputMaybe<Scalars['Boolean']['input']>;
|
|
17356
17362
|
personId?: InputMaybe<Scalars['ID']['input']>;
|
|
17357
17363
|
role?: InputMaybe<ColMemberRole>;
|
|
17358
17364
|
};
|
|
@@ -67253,7 +67259,7 @@ export type Mutation = {
|
|
|
67253
67259
|
colUntagStory: Scalars['Boolean']['output'];
|
|
67254
67260
|
colUpdateEvent: ColEvent;
|
|
67255
67261
|
colUpdateFamilyTree: ColFamilyTree;
|
|
67256
|
-
/** Change a member's tree role and/or
|
|
67262
|
+
/** Change a member's tree role, linked Person, and/or weekly AI-digest preference (BOFF-3972 / BOFF-3783). Beyond the workspace-level directive below, the service layer requires the caller to be an ACTIVE OWNER/STEWARD of the tree, forbids changing one's own role, and reserves granting or changing OWNER for tree OWNERs — EXCEPT that any member may change aiDigestNotifications on their own membership, with no tree role required. */
|
|
67257
67263
|
colUpdateMembership: ColMembership;
|
|
67258
67264
|
colUpdateMemory: ColMemory;
|
|
67259
67265
|
colUpdatePerson: ColPerson;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Providers this page can connect. The service also ingests SHIPROCKET, which
|
|
3
3
|
* is set up from the Shiprocket carrier flow rather than here.
|
|
4
4
|
*/
|
|
5
|
-
export declare const SUPPORTED_PROVIDERS: readonly ["GENERIC_WEBHOOK", "SAMSARA", "GEOTAB"];
|
|
5
|
+
export declare const SUPPORTED_PROVIDERS: readonly ["GENERIC_WEBHOOK", "SAMSARA", "MOTIVE", "GEOTAB"];
|
|
6
6
|
export type SupportedProvider = (typeof SUPPORTED_PROVIDERS)[number];
|
|
7
7
|
/** Providers the service pulls on a schedule instead of receiving webhooks. */
|
|
8
8
|
export declare const POLLED_PROVIDERS: ReadonlySet<string>;
|
|
@@ -18,11 +18,9 @@ export declare const ROADMAP_PROVIDERS: readonly [{
|
|
|
18
18
|
readonly id: "DESCARTES";
|
|
19
19
|
readonly label: "Descartes";
|
|
20
20
|
}];
|
|
21
|
-
/** ELD networks planned after Samsara and Geotab (BOFF-10703 follow-ups); not in the schema yet. */
|
|
22
|
-
export declare const PLANNED_ELD_PROVIDERS: readonly ["Motive"];
|
|
23
21
|
export declare const INTEGRATION_STATUSES: readonly ["ACTIVE", "PAUSED", "DISABLED"];
|
|
24
22
|
export type IntegrationStatus = (typeof INTEGRATION_STATUSES)[number];
|
|
25
|
-
export type IntegrationProvider = 'GENERIC_WEBHOOK' | 'SAMSARA' | 'GEOTAB' | 'SHIPROCKET' | 'PROJECT44' | 'FOURKITES' | 'DESCARTES';
|
|
23
|
+
export type IntegrationProvider = 'GENERIC_WEBHOOK' | 'SAMSARA' | 'MOTIVE' | 'GEOTAB' | 'SHIPROCKET' | 'PROJECT44' | 'FOURKITES' | 'DESCARTES';
|
|
26
24
|
/** How each provider is named on the page. */
|
|
27
25
|
export declare function providerLabel(provider: IntegrationProvider): string;
|
|
28
26
|
/** Samsara webhook event types the service turns into tracking events. */
|
|
@@ -39,6 +37,16 @@ export declare const SAMSARA_EVENT_TYPES: readonly [{
|
|
|
39
37
|
readonly type: "GeofenceExit";
|
|
40
38
|
readonly becomes: "DEPARTED";
|
|
41
39
|
}];
|
|
40
|
+
/** Motive webhook actions the service turns into tracking events. */
|
|
41
|
+
export declare const MOTIVE_ACTIONS: readonly [{
|
|
42
|
+
readonly action: "vehicle_geofence_event";
|
|
43
|
+
readonly becomes: "Arrived on geofence entry, Departed on exit";
|
|
44
|
+
}, {
|
|
45
|
+
readonly action: "vehicle_location_updated";
|
|
46
|
+
readonly becomes: "In transit, with the reported position";
|
|
47
|
+
}];
|
|
48
|
+
/** Header Motive signs each delivery with (hex HMAC-SHA1 of the raw body); the gateway forwards it. */
|
|
49
|
+
export declare const MOTIVE_SIGNATURE_HEADER = "X-KT-Webhook-Signature";
|
|
42
50
|
/** Route or stop external id key the service reads the shipment reference from by default. */
|
|
43
51
|
export declare const DEFAULT_SAMSARA_SHIPMENT_KEY = "mtwShipment";
|
|
44
52
|
/** The service refuses Samsara secrets that decode to fewer bytes than this. */
|