@spotto/contract 1.0.67-alpha.1 → 1.0.67-alpha.3

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.
@@ -6,4 +6,5 @@ export interface UpdateAssetsLocationRequest {
6
6
  lon?: number;
7
7
  readerId?: string;
8
8
  timestamp?: number;
9
+ withAssetId?: string;
9
10
  }
@@ -61,7 +61,8 @@ export interface ISnapshotCrudEvent extends IBaseEvent {
61
61
  snapshot: {
62
62
  id: string;
63
63
  };
64
- location: EventLocation;
64
+ location?: EventLocation;
65
+ asset?: IEmbeddedEntity;
65
66
  user: IEmbeddedEntity;
66
67
  payload: ISnapshotEventPayload;
67
68
  }
@@ -8,7 +8,8 @@ export interface IManifestType {
8
8
  countMin?: number;
9
9
  countMax?: number;
10
10
  untagged?: boolean;
11
- manifestId?: string;
11
+ selectedManifestId?: string;
12
+ manifestIds?: string[];
12
13
  manifest?: GetManifestResponse;
13
14
  }
14
15
  export interface IManifestAsset {
@@ -1 +1 @@
1
- {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/manifests/[id]/get.ts"],"names":[],"mappings":";;;AAoCA,QAAQ;AACK,QAAA,sBAAsB,GAAwB;IACzD,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC;IAC7C,KAAK,EAAE;QACL;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,SAAS;SACnB;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,GAAG;YACV,OAAO,EAAE,WAAW;SACrB;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACf;KACF;IACD,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;CACf,CAAA"}
1
+ {"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/manifests/[id]/get.ts"],"names":[],"mappings":";;;AAqCA,QAAQ;AACK,QAAA,sBAAsB,GAAwB;IACzD,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,CAAC;IAC7C,KAAK,EAAE;QACL;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,SAAS;SACnB;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,KAAK,EAAE,GAAG;YACV,OAAO,EAAE,WAAW;SACrB;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACZ;QACD;YACE,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,YAAY;YACtB,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACf;KACF;IACD,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;CACf,CAAA"}
@@ -25,6 +25,7 @@ export declare type NewWorkflow = {
25
25
  trigger: 'SNAPSHOT_CREATED';
26
26
  conditions?: WorkflowCondition[];
27
27
  actions: WorkflowAction[];
28
+ customMessage?: string;
28
29
  };
29
30
  export declare type Workflow = NewWorkflow & {
30
31
  id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "1.0.67-alpha.1",
4
+ "version": "1.0.67-alpha.3",
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": "7c14252c2785c03cdcfdca77695e8344eaed908c"
21
+ "gitHead": "0486e44d92fd4177ca8324a0077521896d18539c"
22
22
  }