@xapp/ovai-lib 1.36.2 → 1.36.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.
|
@@ -88,6 +88,27 @@ export interface AWSAccount {
|
|
|
88
88
|
*/
|
|
89
89
|
date: string;
|
|
90
90
|
}
|
|
91
|
+
export declare type Tier = "FREE" | "STANDARD" | "TRIAL_STANDARD" | "PRO";
|
|
92
|
+
export interface BaseStudioTier {
|
|
93
|
+
tier: Tier;
|
|
94
|
+
}
|
|
95
|
+
export interface TrialTier extends BaseStudioTier {
|
|
96
|
+
/**
|
|
97
|
+
* ISO representation of the start date of the tier.
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof TrialTier
|
|
101
|
+
*/
|
|
102
|
+
startDate: string;
|
|
103
|
+
/**
|
|
104
|
+
* The number of milliseconds from the start date the trial should be.
|
|
105
|
+
*
|
|
106
|
+
* @type {number}
|
|
107
|
+
* @memberof TrialTier
|
|
108
|
+
*/
|
|
109
|
+
durationMs: number;
|
|
110
|
+
}
|
|
111
|
+
export declare type StudioTier = BaseStudioTier | TrialTier;
|
|
91
112
|
/**
|
|
92
113
|
* A collection of accounts associated with the payment on the stentor platform.
|
|
93
114
|
*/
|
|
@@ -107,6 +128,15 @@ export interface PaymentAccounts {
|
|
|
107
128
|
* @memberof PaymentAccounts
|
|
108
129
|
*/
|
|
109
130
|
aws?: AWSAccount;
|
|
131
|
+
/**
|
|
132
|
+
* Tiers in the studio platform. These will not override
|
|
133
|
+
* third party payment. They must be unlinked for these tiers
|
|
134
|
+
* to be recognized.
|
|
135
|
+
*
|
|
136
|
+
* @type {StudioTier}
|
|
137
|
+
* @memberof PaymentAccounts
|
|
138
|
+
*/
|
|
139
|
+
studioTier?: StudioTier;
|
|
110
140
|
}
|
|
111
141
|
/**
|
|
112
142
|
* An organization is the name of organization contains a collection of groups.
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "restricted"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.36.
|
|
7
|
+
"version": "1.36.3",
|
|
8
8
|
"description": "Shared library for OVAI",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"clean": "rm -rf ./lib/*",
|
|
39
39
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "dad02b2d562925148fea48cd3c85348735f9c5d3"
|
|
42
42
|
}
|