@xapp/ovai-lib 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.
package/lib/Handler/Types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type EmailHandlerType = "EmailHandlerType";
|
|
3
|
+
export type LogicHandlerType = "LogicHandlerType";
|
|
4
|
+
export type PlayOnDemandHandlerType = "PlayOnDemandIntent";
|
|
@@ -42,7 +42,7 @@ export interface ServiceOrderAccount {
|
|
|
42
42
|
* The new form of `ServiceOrderAccount#numberOfApps`. The key is the type of template
|
|
43
43
|
* which can be found at `templates/Types`.
|
|
44
44
|
*/
|
|
45
|
-
export
|
|
45
|
+
export type ServiceOrderTemplate = Partial<Record<TemplateType, ServiceOrderAccount>>;
|
|
46
46
|
/**
|
|
47
47
|
* The type for number of apps in a `ServiceOrderAccount`.
|
|
48
48
|
*
|
|
@@ -51,7 +51,7 @@ export declare type ServiceOrderTemplate = Partial<Record<TemplateType, ServiceO
|
|
|
51
51
|
* The New Parameter is a ServiceOrderTemplate object in which the key is the service order
|
|
52
52
|
* and the object returned is the service order supplied.
|
|
53
53
|
*/
|
|
54
|
-
export
|
|
54
|
+
export type ServiceOrders = ServiceOrderAccount | ServiceOrderTemplate;
|
|
55
55
|
/**
|
|
56
56
|
* For organizations linked in the AWS marketplace.
|
|
57
57
|
*
|
|
@@ -88,7 +88,7 @@ export interface AWSAccount {
|
|
|
88
88
|
*/
|
|
89
89
|
date: string;
|
|
90
90
|
}
|
|
91
|
-
export
|
|
91
|
+
export type Tier = "FREE" | "STANDARD" | "TRIAL_STANDARD" | "PRO" | "BRONZE_LITE" | "BRONZE" | "SILVER" | "GOLD" | "PLATINUM";
|
|
92
92
|
export interface BaseStudioTier {
|
|
93
93
|
tier: Tier;
|
|
94
94
|
}
|
|
@@ -108,7 +108,7 @@ export interface TrialTier extends BaseStudioTier {
|
|
|
108
108
|
*/
|
|
109
109
|
durationMs: number;
|
|
110
110
|
}
|
|
111
|
-
export
|
|
111
|
+
export type StudioTier = BaseStudioTier | TrialTier;
|
|
112
112
|
/**
|
|
113
113
|
* A collection of accounts associated with the payment on the stentor platform.
|
|
114
114
|
*/
|
package/lib/Template/Types.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type OnDemandTemplateType = "PODCAST_TEMPLATE";
|
|
3
|
+
export type RadioTemplateType = "RADIO_TEMPLATE";
|
|
4
|
+
export type OCStudioStarterTemplateType = "OC_STUDIO_STARTER_TEMPLATE";
|
|
5
5
|
/**
|
|
6
6
|
* Used to communicate the app is custom and does not adhere to a specific
|
|
7
7
|
* predefined template.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type CustomType = "CUSTOM";
|
|
10
|
+
export type TemplateType = RadioTemplateType | OCStudioStarterTemplateType | OnDemandTemplateType | CustomType;
|
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": "Shared library for OVAI",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/chai": "4.3.4",
|
|
19
19
|
"chai": "4.3.7",
|
|
20
|
-
"stentor-guards": "1.57.
|
|
21
|
-
"stentor-media": "1.57.
|
|
22
|
-
"stentor-models": "1.57.
|
|
20
|
+
"stentor-guards": "1.57.39",
|
|
21
|
+
"stentor-media": "1.57.39",
|
|
22
|
+
"stentor-models": "1.57.39",
|
|
23
23
|
"ts-node": "10.9.1",
|
|
24
|
-
"typescript": "4.
|
|
24
|
+
"typescript": "4.9.4"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@xapp/stentor-handler-media": "1.43.
|
|
28
|
-
"@xapp/stentor-media-manager": "1.43.
|
|
27
|
+
"@xapp/stentor-handler-media": "1.43.39",
|
|
28
|
+
"@xapp/stentor-media-manager": "1.43.39"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"stentor-guards": "1.x",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"clean": "rm -rf ./lib/*",
|
|
38
38
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "7e791bce278fa2e6260339e2392a8edb2efccbab"
|
|
41
41
|
}
|