@nu-art/analytics-shared 0.400.8 → 0.400.13

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/api-def.d.ts CHANGED
@@ -19,10 +19,23 @@ export type Analytics_UpdateUser = {
19
19
  };
20
20
  response: void;
21
21
  };
22
+ export type Analytics_UpdateLexicon = {
23
+ request: {
24
+ mode: 'set' | 'set_once';
25
+ lexiconMap: {
26
+ [groupKey: string]: {
27
+ id: string;
28
+ label: string;
29
+ };
30
+ };
31
+ };
32
+ response: void;
33
+ };
22
34
  export type ApiStruct_Analytics = {
23
35
  _v1: {
24
36
  sendEvent: BodyApi<Analytics_SendEvent['response'], Analytics_SendEvent['request']>;
25
37
  updateUser: BodyApi<Analytics_UpdateUser['response'], Analytics_UpdateUser['request']>;
38
+ updateLexicon: BodyApi<Analytics_UpdateLexicon['response'], Analytics_UpdateLexicon['request']>;
26
39
  };
27
40
  };
28
41
  export declare const ApiDef_Analytics: (baseUrl?: string) => ApiDefResolver<ApiStruct_Analytics>;
package/api-def.js CHANGED
@@ -3,5 +3,6 @@ export const ApiDef_Analytics = (baseUrl) => ({
3
3
  _v1: {
4
4
  sendEvent: { baseUrl, method: HttpMethod.POST, path: '/v1/analytics/send-event' },
5
5
  updateUser: { baseUrl, method: HttpMethod.POST, path: '/v1/analytics/update-user' },
6
+ updateLexicon: { baseUrl, method: HttpMethod.POST, path: '/v1/analytics/update-lexicon' },
6
7
  }
7
8
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nu-art/analytics-shared",
3
- "version": "0.400.8",
3
+ "version": "0.400.13",
4
4
  "description": "Analytics Shared",
5
5
  "license": "Apache-2.0",
6
6
  "scripts": {
@@ -11,8 +11,8 @@
11
11
  "linkDirectory": true
12
12
  },
13
13
  "dependencies": {
14
- "@nu-art/ts-common": "0.400.8",
15
- "@nu-art/thunderstorm-shared": "0.400.8"
14
+ "@nu-art/ts-common": "0.400.13",
15
+ "@nu-art/thunderstorm-shared": "0.400.13"
16
16
  },
17
17
  "devDependencies": {},
18
18
  "private": false,