@xapp/stentor-service-lex 1.43.35 → 1.43.39
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! Copyright (c) 2020, XAPPmedia */
|
|
2
2
|
import { LexModelsV2 } from "aws-sdk/clients/all";
|
|
3
|
-
export
|
|
3
|
+
export type LexSyncStateV2 = "IN_PROGRESS" | "FAILED" | "COMPLETE";
|
|
4
4
|
export interface LexSyncStatusV2 {
|
|
5
5
|
botId: string;
|
|
6
6
|
aliasId: string;
|
|
@@ -10,7 +10,7 @@ export interface LexSyncStatusV2 {
|
|
|
10
10
|
message?: string;
|
|
11
11
|
}
|
|
12
12
|
export declare const LEX_V2_INTENT_SUFFIX = "_intent";
|
|
13
|
-
export
|
|
13
|
+
export type LexSummary = LexModelsV2.BotSummary | LexModelsV2.BotLocaleSummary | LexModelsV2.IntentSummary | LexModelsV2.SlotSummary | LexModelsV2.SlotTypeSummary;
|
|
14
14
|
export interface SummaryMap {
|
|
15
15
|
[resourceId: string]: LexSummary;
|
|
16
16
|
}
|
|
@@ -50,12 +50,12 @@ export interface LexRequestTree {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
export
|
|
53
|
+
export type ModDated<T> = T & {
|
|
54
54
|
lastUpdatedDateTime: Date;
|
|
55
55
|
};
|
|
56
56
|
export declare function modDate<T>(request: T, lastUpdatedDateTime?: Date): ModDated<T>;
|
|
57
57
|
export declare function unModDate<T>(request: ModDated<T>): ModDated<T>;
|
|
58
|
-
export
|
|
58
|
+
export type Adopted<T> = T & {
|
|
59
59
|
parentId: string;
|
|
60
60
|
};
|
|
61
61
|
export declare function adopt<T>(o: T, parentId?: string): Adopted<T>;
|
|
@@ -3,7 +3,7 @@ import { LexModelsV2 } from "aws-sdk/clients/all";
|
|
|
3
3
|
import { ModDated } from "../models";
|
|
4
4
|
import { LexWaitStatus } from "../models/LexExportModel";
|
|
5
5
|
import { LexResourceListerV2 } from "./LexResourceListerV2";
|
|
6
|
-
|
|
6
|
+
type LexResourceWaitResource = "Bot" | "BotLocale" | "BotAlias";
|
|
7
7
|
export interface LexIdList {
|
|
8
8
|
botId?: string;
|
|
9
9
|
botVersion?: string;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.43.
|
|
7
|
+
"version": "1.43.39",
|
|
8
8
|
"description": "Service to communicate with AWS LEX for :mega: stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -21,21 +21,21 @@
|
|
|
21
21
|
"@types/sinon-chai": "3.2.9",
|
|
22
22
|
"@types/uuid": "9.0.0",
|
|
23
23
|
"@xapp/config": "0.2.3",
|
|
24
|
-
"aws-sdk": "2.
|
|
24
|
+
"aws-sdk": "2.1288.0",
|
|
25
25
|
"chai": "4.3.7",
|
|
26
26
|
"mocha": "10.2.0",
|
|
27
27
|
"sinon": "14.0.2",
|
|
28
28
|
"sinon-chai": "3.7.0",
|
|
29
|
-
"stentor-constants": "1.57.
|
|
30
|
-
"stentor-handler": "1.57.
|
|
31
|
-
"stentor-history": "1.57.
|
|
32
|
-
"stentor-media": "1.57.
|
|
33
|
-
"stentor-models": "1.57.
|
|
34
|
-
"typescript": "4.
|
|
29
|
+
"stentor-constants": "1.57.39",
|
|
30
|
+
"stentor-handler": "1.57.39",
|
|
31
|
+
"stentor-history": "1.57.39",
|
|
32
|
+
"stentor-media": "1.57.39",
|
|
33
|
+
"stentor-models": "1.57.39",
|
|
34
|
+
"typescript": "4.9.4"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@xapp/stentor-alexa-lib": "1.43.
|
|
38
|
-
"@xapp/stentor-lex-lib": "1.43.
|
|
37
|
+
"@xapp/stentor-alexa-lib": "1.43.38",
|
|
38
|
+
"@xapp/stentor-lex-lib": "1.43.39",
|
|
39
39
|
"lodash.merge": "4.6.2",
|
|
40
40
|
"uuid": "9.0.0"
|
|
41
41
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"clean": "rm -rf ./lib/*",
|
|
53
53
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "7e791bce278fa2e6260339e2392a8edb2efccbab"
|
|
56
56
|
}
|