@spotto/contract 1.0.70-alpha.24 → 1.0.70-alpha.26
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/ai/chat/request.d.ts +15 -0
- package/dist/ai/chat/response.d.ts +18 -1
- package/dist/assets/location/request.d.ts +10 -1
- package/dist/events/constants.d.ts +14 -0
- package/dist/events/constants.js +19 -1
- package/dist/events/constants.js.map +1 -1
- package/dist/semantic-queries/shared.d.ts +27 -2
- package/dist/semantic-queries/shared.js +1 -0
- package/dist/semantic-queries/shared.js.map +1 -1
- package/dist/snapshots/[id]/get.d.ts +102 -2
- package/dist/snapshots/[id]/get.js.map +1 -1
- package/dist/snapshots/post/request.d.ts +21 -0
- package/dist/snapshots/post/request.js.map +1 -1
- package/package.json +2 -2
|
@@ -7,9 +7,24 @@ import { SemanticQueryEntityType } from '../../semantic-queries';
|
|
|
7
7
|
* the intent is known). Only a supported intent goes on to pay for the big
|
|
8
8
|
* model; everything else is answered honestly as recognised-but-not-built.
|
|
9
9
|
*/
|
|
10
|
+
/** One prior turn of the on-screen transcript, replayed as context. */
|
|
11
|
+
export interface AiChatHistoryTurn {
|
|
12
|
+
role: 'user' | 'assistant';
|
|
13
|
+
content: string;
|
|
14
|
+
}
|
|
10
15
|
export interface PostAiChatRequest {
|
|
11
16
|
/** The user's chat message, verbatim. */
|
|
12
17
|
message: string;
|
|
18
|
+
/**
|
|
19
|
+
* Recent turns of the conversation, oldest first — the client holds the
|
|
20
|
+
* transcript, the server stores none of it.
|
|
21
|
+
*
|
|
22
|
+
* Read by PRODUCT HELP only, where a follow-up ("and how do I undo that?")
|
|
23
|
+
* is meaningless without what came before. Query turns need no transcript:
|
|
24
|
+
* the registered query IS the state and `baseQueryId` carries it, which is
|
|
25
|
+
* why chat conversations are not persisted at all.
|
|
26
|
+
*/
|
|
27
|
+
history?: AiChatHistoryTurn[];
|
|
13
28
|
/**
|
|
14
29
|
* Id of the stored query the user currently has open, if any. Context for
|
|
15
30
|
* the classifier (an instruction fragment refines the open query) and the
|
|
@@ -47,11 +47,28 @@ export interface AiChatQueryResponse extends AiChatResponseBase {
|
|
|
47
47
|
/** The generation outcome, identical to POST /ai/semantic-query. */
|
|
48
48
|
result: PostAiSemanticQueryResponse;
|
|
49
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* A help article an answer drew on — enough to render a link, no more.
|
|
52
|
+
*
|
|
53
|
+
* Matched by TITLE against the reply the model produced, which is why an
|
|
54
|
+
* answer is asked to name its article: a miss costs a link, not an answer.
|
|
55
|
+
*/
|
|
56
|
+
export interface AiHelpSource {
|
|
57
|
+
title: string;
|
|
58
|
+
url: string;
|
|
59
|
+
}
|
|
50
60
|
/** A text-only turn: product help, general chat, or recognised-but-not-built. */
|
|
51
61
|
export interface AiChatReplyResponse extends AiChatResponseBase {
|
|
52
62
|
kind: 'help' | 'general' | 'unsupported';
|
|
53
|
-
/** The reply to show
|
|
63
|
+
/** The reply to show. Markdown — help answers are step-by-step prose. */
|
|
54
64
|
reply: string;
|
|
65
|
+
/**
|
|
66
|
+
* Present on `help` turns that cited an article. The reply's own trailing
|
|
67
|
+
* "Source:" line is stripped server-side once these are extracted, so a
|
|
68
|
+
* client renders links rather than the model's plain-text restatement of
|
|
69
|
+
* them — and every client renders the same thing.
|
|
70
|
+
*/
|
|
71
|
+
sources?: AiHelpSource[];
|
|
55
72
|
}
|
|
56
73
|
export declare type PostAiChatResponse = AiChatQueryResponse | AiChatReplyResponse;
|
|
57
74
|
export {};
|
|
@@ -6,7 +6,16 @@ export interface UpdateAssetsLocationRequest {
|
|
|
6
6
|
lon?: number;
|
|
7
7
|
readerId?: string;
|
|
8
8
|
timestamp?: number;
|
|
9
|
-
|
|
9
|
+
/** The asset these assets are now "with" (the durable carrier pointer).
|
|
10
|
+
* An explicit `null` clears an existing with-link — sent when an asset
|
|
11
|
+
* leaves its group (regrouping plan §5 layer 1); advisory until Slate
|
|
12
|
+
* honours the clear. */
|
|
13
|
+
withAssetId?: string | null;
|
|
14
|
+
/** Subset of `ids` that were located by inference (kit-subtree expansion)
|
|
15
|
+
* rather than physically read — these should be located WITHOUT bumping
|
|
16
|
+
* `lastSeen` (regrouping plan §5 layer 2). Advisory until Slate honours
|
|
17
|
+
* the distinction. */
|
|
18
|
+
inferredAssetIds?: string[];
|
|
10
19
|
dispatchLocationId?: string;
|
|
11
20
|
dispatchWithAssetId?: string;
|
|
12
21
|
dispatchData?: Record<string, unknown>;
|
|
@@ -8,3 +8,17 @@ export declare type FormEventType = 'FormSubmitted' | 'FormSubmissionVoided';
|
|
|
8
8
|
export declare type SlateEventType = 'ReaderArrived' | 'ReaderExited' | 'Arrived' | 'Moved' | 'Exited' | 'ReaderOnline' | 'ReaderOffline' | 'AssetDispatch';
|
|
9
9
|
export declare type EventType = SlateEventType | AssetCrudEventType | LocationCrudEventType | ReaderCrudEventType | SnapshotCrudEventType | FormEventType | 'UserSearch' | 'WorkflowActionExecuted';
|
|
10
10
|
export declare const EVENT_TYPES: EventType[];
|
|
11
|
+
/**
|
|
12
|
+
* The asset CRUD events as a VALUE — the only events whose `thing` is a full
|
|
13
|
+
* asset document (`IAssetCrudSchema`) rather than a bare reference.
|
|
14
|
+
*
|
|
15
|
+
* Exported because the semantic layer scopes `assetType` on activity to exactly
|
|
16
|
+
* these: every movement event embeds a reduced `thing` with no `typePath`, so
|
|
17
|
+
* "movements of forklifts" would match nothing while "forklifts created"
|
|
18
|
+
* worked — right half the time and silent about which half. Compiler,
|
|
19
|
+
* evaluator, AI preamble and the client's chip all read THIS list; four hand
|
|
20
|
+
* written copies would drift the day a fourth asset CRUD event exists.
|
|
21
|
+
*
|
|
22
|
+
* Typed as `AssetCrudEventType[]` so the list cannot diverge from the union.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ASSET_CRUD_EVENT_TYPES: AssetCrudEventType[];
|
package/dist/events/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EVENT_TYPES = exports.EVENT_COUNT_BREAKDOWN = void 0;
|
|
3
|
+
exports.ASSET_CRUD_EVENT_TYPES = exports.EVENT_TYPES = exports.EVENT_COUNT_BREAKDOWN = void 0;
|
|
4
4
|
exports.EVENT_COUNT_BREAKDOWN = [
|
|
5
5
|
'year',
|
|
6
6
|
'week',
|
|
@@ -33,4 +33,22 @@ exports.EVENT_TYPES = [
|
|
|
33
33
|
'UserSearch',
|
|
34
34
|
'WorkflowActionExecuted',
|
|
35
35
|
];
|
|
36
|
+
/**
|
|
37
|
+
* The asset CRUD events as a VALUE — the only events whose `thing` is a full
|
|
38
|
+
* asset document (`IAssetCrudSchema`) rather than a bare reference.
|
|
39
|
+
*
|
|
40
|
+
* Exported because the semantic layer scopes `assetType` on activity to exactly
|
|
41
|
+
* these: every movement event embeds a reduced `thing` with no `typePath`, so
|
|
42
|
+
* "movements of forklifts" would match nothing while "forklifts created"
|
|
43
|
+
* worked — right half the time and silent about which half. Compiler,
|
|
44
|
+
* evaluator, AI preamble and the client's chip all read THIS list; four hand
|
|
45
|
+
* written copies would drift the day a fourth asset CRUD event exists.
|
|
46
|
+
*
|
|
47
|
+
* Typed as `AssetCrudEventType[]` so the list cannot diverge from the union.
|
|
48
|
+
*/
|
|
49
|
+
exports.ASSET_CRUD_EVENT_TYPES = [
|
|
50
|
+
'AssetCreated',
|
|
51
|
+
'AssetUpdated',
|
|
52
|
+
'AssetDeleted',
|
|
53
|
+
];
|
|
36
54
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/events/constants.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAA0B;IAC1D,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,MAAM;CACP,CAAA;AAyCY,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,QAAQ;IACR,cAAc;IACd,eAAe;IACf,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,sBAAsB;IACtB,YAAY;IACZ,wBAAwB;CACzB,CAAA"}
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/events/constants.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAA0B;IAC1D,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,MAAM;CACP,CAAA;AAyCY,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,QAAQ;IACR,cAAc;IACd,eAAe;IACf,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,sBAAsB;IACtB,YAAY;IACZ,wBAAwB;CACzB,CAAA;AAED;;;;;;;;;;;;GAYG;AACU,QAAA,sBAAsB,GAAyB;IAC1D,cAAc;IACd,cAAc;IACd,cAAc;CACf,CAAA"}
|
|
@@ -443,6 +443,31 @@ export interface SemanticEventActionCondition {
|
|
|
443
443
|
type: 'action';
|
|
444
444
|
name: string;
|
|
445
445
|
}
|
|
446
|
+
/**
|
|
447
|
+
* The TYPE of the asset an event was about, by pipe-delimited path.
|
|
448
|
+
*
|
|
449
|
+
* Same word, shape and meaning as the asset vocabulary's `assetType` — hence
|
|
450
|
+
* the alias, exactly as the snapshot vocabulary does it.
|
|
451
|
+
*
|
|
452
|
+
* SCOPED TO THE ASSET CRUD EVENTS, and that is the whole design. It reads
|
|
453
|
+
* `thing.typePath`, which only `IAssetCrudSchema` events carry; every movement
|
|
454
|
+
* event embeds a reduced `thing` with no type at all. So the compiler and the
|
|
455
|
+
* evaluator both AND `ASSET_CRUD_EVENT_TYPES` onto this condition — at the
|
|
456
|
+
* LEAF, not across the query, so an or-group can still ask for movements in
|
|
457
|
+
* its other branch.
|
|
458
|
+
*
|
|
459
|
+
* Two things keep the narrowing honest rather than hidden, which is what kept
|
|
460
|
+
* this word out of the vocabulary until now:
|
|
461
|
+
* - pairing it with an `eventType` that names no CRUD event is REFUSED by
|
|
462
|
+
* validation, because that conjunction can only ever match nothing, and a
|
|
463
|
+
* silent empty feed is the failure this language exists to prevent;
|
|
464
|
+
* - the client states the scope on the chip ("creations, updates & deletions")
|
|
465
|
+
* rather than implying a filter over all activity.
|
|
466
|
+
*
|
|
467
|
+
* The wider version returns if movement events ever embed the type — that is a
|
|
468
|
+
* write-path change plus a backfill, and nothing here blocks it.
|
|
469
|
+
*/
|
|
470
|
+
export declare type SemanticEventAssetTypeCondition = SemanticAssetTypeCondition;
|
|
446
471
|
/**
|
|
447
472
|
* The EVENT vocabulary.
|
|
448
473
|
*
|
|
@@ -454,8 +479,8 @@ export interface SemanticEventActionCondition {
|
|
|
454
479
|
* name, because an event has exactly ONE time and calling it `createdDate`
|
|
455
480
|
* would invite the reading that events have several dates the way assets do.
|
|
456
481
|
*/
|
|
457
|
-
export declare const semanticEventConditionTypes: readonly ["and", "or", "occurred", "eventType", "location", "reader", "user", "action"];
|
|
458
|
-
export declare type SemanticEventCondition = SemanticAndCondition | SemanticOrCondition | SemanticEventOccurredCondition | SemanticEventTypeCondition | SemanticEventLocationCondition | SemanticEventReaderCondition | SemanticEventUserCondition | SemanticEventActionCondition;
|
|
482
|
+
export declare const semanticEventConditionTypes: readonly ["and", "or", "occurred", "eventType", "assetType", "location", "reader", "user", "action"];
|
|
483
|
+
export declare type SemanticEventCondition = SemanticAndCondition | SemanticOrCondition | SemanticEventOccurredCondition | SemanticEventTypeCondition | SemanticEventAssetTypeCondition | SemanticEventLocationCondition | SemanticEventReaderCondition | SemanticEventUserCondition | SemanticEventActionCondition;
|
|
459
484
|
/**
|
|
460
485
|
* WHEN the snapshot happened.
|
|
461
486
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/semantic-queries/shared.ts"],"names":[],"mappings":";;;AASA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,6EAA6E;AAE7E;;;;GAIG;AACU,QAAA,wBAAwB,GAAG;IACtC,OAAO;IACP,UAAU;IACV,OAAO;IACP,QAAQ;IACR,UAAU;IACV,UAAU;CACF,CAAA;AAGV;;;;;;GAMG;AACU,QAAA,kBAAkB,GAAG,CAAC,OAAO,EAAE,WAAW,CAAU,CAAA;AAGpD,QAAA,yBAAyB,GAAG,CAAC,SAAS,EAAE,cAAc,CAAU,CAAA;AAG7E,6EAA6E;AAEhE,QAAA,yBAAyB,GAAG;IACvC,KAAK;IACL,MAAM;IACN,OAAO;IACP,SAAS;IACT,MAAM;CACE,CAAA;AAGG,QAAA,6BAA6B,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAU,CAAA;AAwC9E,6EAA6E;AAEhE,QAAA,sBAAsB,GAAG;IACpC,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,UAAU;IACV,QAAQ;IACR,WAAW;CACH,CAAA;AAGG,QAAA,0BAA0B,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAU,CAAA;AAIhE,QAAA,2BAA2B,GAAG;IACzC,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;CACG,CAAA;AAIG,QAAA,oBAAoB,GAAG,CAAC,KAAK,EAAE,KAAK,CAAU,CAAA;AA+H9C,QAAA,uBAAuB,GAAG;IACrC,SAAS;IACT,aAAa;IACb,SAAS;CACD,CAAA;AAUV,wFAAwF;AAC3E,QAAA,uBAAuB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAU,CAAA;AA6CzD;;;GAGG;AACU,QAAA,2BAA2B,GAAG,CAAC,KAAK,EAAE,IAAI,CAAU,CAAA;AAEjE;;;;GAIG;AACU,QAAA,2BAA2B,GAAG;IACzC,GAAG,mCAA2B;IAC9B,WAAW;IACX,UAAU;IACV,cAAc;IACd,WAAW;IACX,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,UAAU;IACV,WAAW;IACX,aAAa;IACb,MAAM;IACN,WAAW;IACX,WAAW;IACX,KAAK;IACL,gBAAgB;CACR,CAAA;AA6CV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACU,QAAA,8BAA8B,GAAG;IAC5C,GAAG,mCAA2B;IAC9B,MAAM;IACN,cAAc;IACd,YAAY;IACZ,UAAU;IACV,UAAU;IACV,MAAM;IACN,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;CACL,CAAA;
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/semantic-queries/shared.ts"],"names":[],"mappings":";;;AASA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,6EAA6E;AAE7E;;;;GAIG;AACU,QAAA,wBAAwB,GAAG;IACtC,OAAO;IACP,UAAU;IACV,OAAO;IACP,QAAQ;IACR,UAAU;IACV,UAAU;CACF,CAAA;AAGV;;;;;;GAMG;AACU,QAAA,kBAAkB,GAAG,CAAC,OAAO,EAAE,WAAW,CAAU,CAAA;AAGpD,QAAA,yBAAyB,GAAG,CAAC,SAAS,EAAE,cAAc,CAAU,CAAA;AAG7E,6EAA6E;AAEhE,QAAA,yBAAyB,GAAG;IACvC,KAAK;IACL,MAAM;IACN,OAAO;IACP,SAAS;IACT,MAAM;CACE,CAAA;AAGG,QAAA,6BAA6B,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAU,CAAA;AAwC9E,6EAA6E;AAEhE,QAAA,sBAAsB,GAAG;IACpC,I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AI;IACb,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,IAAI;CAChB,CAAA;AACY,QAAA,uBAAuB,GAAG,MAAM,CAAC,IAAI,CAChD,6BAA6B,CACF,CAAA"}
|
|
@@ -22,12 +22,26 @@ export interface ISnapshotType {
|
|
|
22
22
|
typeName?: string;
|
|
23
23
|
typePath: string;
|
|
24
24
|
}
|
|
25
|
+
/** A scan recorded as supporting evidence for an inferred parent kit — the
|
|
26
|
+
* child asset whose tag read proved the kit was present. */
|
|
27
|
+
export interface ISnapshotEvidenceAsset {
|
|
28
|
+
assetId: string;
|
|
29
|
+
assetName?: string;
|
|
30
|
+
tagId?: string;
|
|
31
|
+
}
|
|
25
32
|
export interface ISnapshotDetectedAsset extends ISnapshotType {
|
|
26
33
|
assetId: string;
|
|
27
34
|
assetName?: string;
|
|
28
35
|
section?: string;
|
|
29
36
|
c_additional?: boolean;
|
|
30
37
|
fieldValues?: IFieldValue[];
|
|
38
|
+
/** When this entry is a kit inferred from scans of its members rather than
|
|
39
|
+
* a direct tag read, the member scans that evidenced it. */
|
|
40
|
+
evidenceAssets?: ISnapshotEvidenceAsset[];
|
|
41
|
+
/** The user explicitly confirmed this asset has left its current group — a
|
|
42
|
+
* location or Dispatch check honouring `updateGroupMembership` severs it
|
|
43
|
+
* from its parent kit (it becomes a root asset). */
|
|
44
|
+
unGroup?: boolean;
|
|
31
45
|
}
|
|
32
46
|
export interface ISnapshotUndetectedAsset extends ISnapshotType {
|
|
33
47
|
assetId: string;
|
|
@@ -46,6 +60,20 @@ export interface ISnapshotSightedAsset extends ISnapshotType {
|
|
|
46
60
|
section?: string;
|
|
47
61
|
c_ignored?: boolean;
|
|
48
62
|
fieldValues?: IFieldValue[];
|
|
63
|
+
/**
|
|
64
|
+
* The user explicitly associated this asset with its manifest item (the
|
|
65
|
+
* spec's "otherwise explicitly associated" act) — authorises the
|
|
66
|
+
* kit-membership sync to move it here out of another kit. Without it a
|
|
67
|
+
* manual confirmation adds the asset only when it is ungrouped.
|
|
68
|
+
*/
|
|
69
|
+
selected?: boolean;
|
|
70
|
+
/** When this entry is a kit inferred from scans of its members rather than
|
|
71
|
+
* a direct tag read, the member scans that evidenced it. */
|
|
72
|
+
evidenceAssets?: ISnapshotEvidenceAsset[];
|
|
73
|
+
/** The user explicitly confirmed this asset has left its current group — a
|
|
74
|
+
* location or Dispatch check honouring `updateGroupMembership` severs it
|
|
75
|
+
* from its parent kit (it becomes a root asset). */
|
|
76
|
+
unGroup?: boolean;
|
|
49
77
|
}
|
|
50
78
|
export interface ISnapshotUndetectedAsset extends ISnapshotType {
|
|
51
79
|
assetId: string;
|
|
@@ -76,9 +104,70 @@ export interface ISnapshotComputed {
|
|
|
76
104
|
export interface ISnapshotFields {
|
|
77
105
|
notes?: string;
|
|
78
106
|
}
|
|
107
|
+
/** One asset touched (or deliberately left alone) by the kit-membership sync. */
|
|
108
|
+
export interface ISnapshotMembershipAsset {
|
|
109
|
+
assetId: string;
|
|
110
|
+
assetName?: string;
|
|
111
|
+
/** For retained entries: the manifest type entry the retention satisfied. */
|
|
112
|
+
typeId?: string;
|
|
113
|
+
section?: string;
|
|
114
|
+
/** For added entries: the membership came from a manual confirmation, not a
|
|
115
|
+
* scan — the tag was never read, so it joins the inspection follow-up list. */
|
|
116
|
+
manuallyConfirmed?: boolean;
|
|
117
|
+
/** For severed entries, and added entries that moved in from another kit:
|
|
118
|
+
* ID of the parent kit the asset left. */
|
|
119
|
+
fromKitId?: string;
|
|
120
|
+
/** For severed entries, and added entries that moved in from another kit:
|
|
121
|
+
* name of the parent kit the asset left. */
|
|
122
|
+
fromKitName?: string;
|
|
123
|
+
/** For severed entries: the sever was honoured although an ancestor of the
|
|
124
|
+
* asset was also seen in the check — an explicit `unGroup` outranks the
|
|
125
|
+
* ancestor guard; flagged so the receipt tells the whole story. */
|
|
126
|
+
ancestorPresent?: boolean;
|
|
127
|
+
}
|
|
128
|
+
export declare type SnapshotMembershipSkipReason = 'NOT_INVENTORY' | 'TARGET_NOT_FOUND' | 'TARGET_NOT_KIT' | 'ASSET_NOT_FOUND' | 'ALREADY_NESTED' | 'WOULD_CYCLE' | 'SIGHTED_IN_OTHER_KIT' | 'SIGHTED_UNRESOLVED' | 'ANCESTOR_SEEN';
|
|
129
|
+
export interface ISnapshotMembershipNotApplied {
|
|
130
|
+
reason: SnapshotMembershipSkipReason;
|
|
131
|
+
assetId?: string;
|
|
132
|
+
assetName?: string;
|
|
133
|
+
typeId?: string;
|
|
134
|
+
typePath?: string;
|
|
135
|
+
section?: string;
|
|
136
|
+
/** SIGHTED_UNRESOLVED: how many manually confirmed instances had no member to retain. */
|
|
137
|
+
count?: number;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Result of synchronising the target kit's direct membership with the
|
|
141
|
+
* submitted manifest (present only when the snapshot requested
|
|
142
|
+
* `syncGroupMembership` — the audit record of what the sync did).
|
|
143
|
+
*/
|
|
144
|
+
export interface ISnapshotMembershipSync {
|
|
145
|
+
/** Assets that became direct members (joined or moved in) — by scan, or by
|
|
146
|
+
* manual confirmation of their named line (`manuallyConfirmed: true`). */
|
|
147
|
+
added: ISnapshotMembershipAsset[];
|
|
148
|
+
/** Direct members removed because nothing in the manifest represented them. */
|
|
149
|
+
removed: ISnapshotMembershipAsset[];
|
|
150
|
+
/** Existing members kept without a scan under the manual-confirmation
|
|
151
|
+
* retention rule — the tag-inspection follow-up list. */
|
|
152
|
+
retained: ISnapshotMembershipAsset[];
|
|
153
|
+
/** Membership actions the sync declined, with reasons. */
|
|
154
|
+
notApplied: ISnapshotMembershipNotApplied[];
|
|
155
|
+
/** Assets un-grouped from their previous parent by a location or Dispatch
|
|
156
|
+
* check (`fromKitId`/`fromKitName` record what they left). Absent on
|
|
157
|
+
* snapshots recorded before the generalised sync existed. */
|
|
158
|
+
severed?: ISnapshotMembershipAsset[];
|
|
159
|
+
/** Assets now travelling with the target asset of a carrier check — one
|
|
160
|
+
* whose target is not a kit but is stocktakable. Present (possibly empty)
|
|
161
|
+
* only for that path: a carrier holds no members, so what a check of it
|
|
162
|
+
* states is company, not containment. */
|
|
163
|
+
carried?: ISnapshotMembershipAsset[];
|
|
164
|
+
}
|
|
79
165
|
export interface GetSnapshotResponse {
|
|
80
166
|
id: string;
|
|
81
|
-
user
|
|
167
|
+
/** Submitting user; `type` is the account kind (e.g. `INTERNAL`). */
|
|
168
|
+
user?: IEmbeddedEntity & {
|
|
169
|
+
type?: string;
|
|
170
|
+
};
|
|
82
171
|
reader?: IEmbeddedEntity;
|
|
83
172
|
location?: IEmbeddedEntity & {
|
|
84
173
|
path?: string;
|
|
@@ -94,6 +183,14 @@ export interface GetSnapshotResponse {
|
|
|
94
183
|
submitted?: number;
|
|
95
184
|
created: number;
|
|
96
185
|
meta?: IEntityMeta;
|
|
186
|
+
/** Whether this snapshot asked the server to sync the target kit's direct
|
|
187
|
+
* membership with the manifest result. */
|
|
188
|
+
syncGroupMembership?: boolean;
|
|
189
|
+
/** Whether this snapshot asked the server to update group membership from
|
|
190
|
+
* its evidence (the generalised `updateGroupMembership` flag). */
|
|
191
|
+
updateGroupMembership?: boolean;
|
|
192
|
+
/** What the kit-membership sync did — see `ISnapshotMembershipSync`. */
|
|
193
|
+
membershipSync?: ISnapshotMembershipSync;
|
|
97
194
|
geolocation?: Point;
|
|
98
195
|
timezone?: string;
|
|
99
196
|
types?: Omit<GetTypeResponse & {
|
|
@@ -106,7 +203,10 @@ export interface GetSnapshotResponse {
|
|
|
106
203
|
}
|
|
107
204
|
export interface GetSnapshotsItem {
|
|
108
205
|
id: string;
|
|
109
|
-
user
|
|
206
|
+
/** Submitting user; `type` is the account kind (e.g. `INTERNAL`). */
|
|
207
|
+
user?: IEmbeddedEntity & {
|
|
208
|
+
type?: string;
|
|
209
|
+
};
|
|
110
210
|
reader?: IEmbeddedEntity;
|
|
111
211
|
location?: IEmbeddedEntity & {
|
|
112
212
|
path?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/snapshots/[id]/get.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/snapshots/[id]/get.ts"],"names":[],"mappings":";;;AA2PA,QAAQ;AACK,QAAA,sBAAsB,GAAwB;IACzD,EAAE,EAAE,OAAO;IACX,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE;QACR,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,cAAc;KACrB;IACD,QAAQ,EAAE;QACR,YAAY,EAAE,CAAC;QACf,cAAc,EAAE,CAAC;QACjB,YAAY,EAAE,CAAC;QACf,aAAa,EAAE;YACb,KAAK,EAAE,CAAC;YACR,iBAAiB,EAAE,CAAC;YACpB,YAAY,EAAE,CAAC;YACf,YAAY,EAAE,CAAC,EAAE,+EAA+E;YAChG,4GAA4G;SAC7G;QACD,cAAc,EAAE;YACd,KAAK,EAAE,CAAC;YACR,YAAY,EAAE,CAAC;YACf,YAAY,EAAE,CAAC,EAAE,+EAA+E;SACjG;QACD,UAAU,EAAE;YACV,UAAU,EAAE,CAAC;YACb,WAAW,EAAE,CAAC,EAAE,+DAA+D;SAChF;KACF;IACD,IAAI,EAAE,WAAW;CAClB,CAAA"}
|
|
@@ -26,6 +26,27 @@ export interface PostSnapshotRequest {
|
|
|
26
26
|
};
|
|
27
27
|
}, 'manifest'>[];
|
|
28
28
|
type?: SnapshotTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* Ask the server to synchronise the target kit's direct membership with this
|
|
31
|
+
* manifest result: scanned assets join (or stay), unrepresented members are
|
|
32
|
+
* removed, manually confirmed lines retain existing members. Only honoured
|
|
33
|
+
* for `Inventory` snapshots whose target `asset` is a kit — ignored (and
|
|
34
|
+
* annotated in `membershipSync.notApplied`) otherwise.
|
|
35
|
+
*/
|
|
36
|
+
syncGroupMembership?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Ask the server to update group membership from this check's evidence —
|
|
39
|
+
* the generalised successor to `syncGroupMembership`. A kit-asset target
|
|
40
|
+
* reconciles its direct membership with the check result (Inventory and
|
|
41
|
+
* Stocktake). A location target severs entries the user explicitly
|
|
42
|
+
* confirmed removed (`unGroup`), plus kits detected on their own named
|
|
43
|
+
* manifest lines. A Dispatch snapshot severs every departing entry from
|
|
44
|
+
* parents outside the departing set. An asset is never severed while an
|
|
45
|
+
* ancestor of it was also seen in the same check (an explicit `unGroup`
|
|
46
|
+
* outranks that guard). Severed assets become root assets; their own
|
|
47
|
+
* subtree travels with them. Audited in `membershipSync.severed`.
|
|
48
|
+
*/
|
|
49
|
+
updateGroupMembership?: boolean;
|
|
29
50
|
}
|
|
30
51
|
export declare type PostSnapshotsRequest = PostSnapshotRequest[];
|
|
31
52
|
export declare const testPostSnapshotRequest1: PostSnapshotRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/snapshots/post/request.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../../src/snapshots/post/request.ts"],"names":[],"mappings":";;;AAyDA,SAAS;AACI,QAAA,wBAAwB,GAAwB;IAC3D,MAAM,EAAE,EAAE,EAAE,EAAE,0BAA0B,EAAE,IAAI,EAAE,UAAU,EAAE;IAC5D,QAAQ,EAAE,EAAE,EAAE,EAAE,0BAA0B,EAAE,IAAI,EAAE,YAAY,EAAE;IAChE,cAAc,EAAE;QACd;YACE,OAAO,EAAE,0BAA0B;YACnC,SAAS,EAAE,8BAA8B;YACzC,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,uBAAuB;YACjC,QAAQ,EAAE,iBAAiB;SAC5B;QACD;YACE,OAAO,EAAE,0BAA0B;YACnC,SAAS,EAAE,eAAe;YAC1B,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,iBAAiB;SAC5B;QACD;YACE,OAAO,EAAE,0BAA0B;YACnC,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BAA0B;YAClC,QAAQ,EAAE,uBAAuB;YACjC,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,gBAAgB;SAC1B;QACD;YACE,OAAO,EAAE,0BAA0B;YACnC,SAAS,EAAE,eAAe;YAC1B,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,gBAAgB;SAC1B;QACD;YACE,OAAO,EAAE,0BAA0B;YACnC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,WAAW;YACrB,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,gBAAgB;SAC1B;QACD;YACE,OAAO,EAAE,2BAA2B;YACpC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,WAAW;YACrB,QAAQ,EAAE,YAAY;SACvB;KACF;IACD,aAAa,EAAE;QACb;YACE,OAAO,EAAE,0BAA0B;YACnC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,WAAW;YACrB,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,gBAAgB;SAC1B;KACF;IACD,MAAM,EAAE;QACN,KAAK,EAAE,EAAE;KACV;IACD,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotto/contract",
|
|
3
3
|
"license": "ISC",
|
|
4
|
-
"version": "1.0.70-alpha.
|
|
4
|
+
"version": "1.0.70-alpha.26",
|
|
5
5
|
"description": "Spotto's API Contract type definitions",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"@types/geojson": "^7946.0.11",
|
|
19
19
|
"shx": "^0.3.4"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "bf8c49337cd847f78a8d9a883e9e48e1682f506c"
|
|
22
22
|
}
|