@xapp/ovai-lib 1.36.0 → 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.0",
7
+ "version": "1.36.3",
8
8
  "description": "Shared library for OVAI",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -17,16 +17,16 @@
17
17
  "devDependencies": {
18
18
  "@types/chai": "4.2.21",
19
19
  "chai": "4.3.4",
20
- "stentor-guards": "1.45.4",
21
- "stentor-media": "1.45.4",
22
- "stentor-models": "1.45.4",
20
+ "stentor-guards": "1.45.5",
21
+ "stentor-media": "1.45.6",
22
+ "stentor-models": "1.45.5",
23
23
  "ts-node": "9.1.1",
24
24
  "typescript": "4.4.2"
25
25
  },
26
26
  "dependencies": {
27
- "@xapp/stentor-handler-media": "1.36.0",
28
- "@xapp/stentor-media-manager": "1.36.0",
29
- "@xapp/stentor-service-search": "1.36.0"
27
+ "@xapp/stentor-handler-media": "1.36.2",
28
+ "@xapp/stentor-media-manager": "1.36.2",
29
+ "@xapp/stentor-service-search": "1.36.2"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "stentor-guards": "1.x",
@@ -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": "fcd3ada319e8bcfacc71d23afe43b103789decc0"
41
+ "gitHead": "dad02b2d562925148fea48cd3c85348735f9c5d3"
42
42
  }