@@ -6,39 +6,39 @@ namespace OpenAPI2 {
6
6
body : string ;
7
7
}
8
8
export interface UpdateProviderBody {
9
- teamId ?: string ;
9
+ team_id ?: string ;
10
10
label ?: string ;
11
11
name ?: string ;
12
- logoUrl ?: string ;
13
- supportEmail ?: string ;
14
- documentationUrl ?: string ;
12
+ logo_url ?: string ;
13
+ support_email ?: string ;
14
+ documentation_url ?: string ;
15
15
}
16
16
export interface UpdateProvider {
17
17
id : string ;
18
18
body : UpdateProviderBody ;
19
19
}
20
20
export interface UpdateProductBody {
21
21
name ?: string ;
22
- logoUrl ?: string ;
22
+ logo_url ?: string ;
23
23
listing ?: ProductListing ;
24
24
// 140 character sentence positioning the product.
25
25
tagline ?: string ;
26
26
// A list of value propositions of the product.
27
- valueProps ?: ValueProp [ ] ;
27
+ value_props ?: ValueProp [ ] ;
28
28
images ?: string [ ] ;
29
- supportEmail ?: string ;
30
- documentationUrl ?: string ;
29
+ support_email ?: string ;
30
+ documentation_url ?: string ;
31
31
// URL to this Product's Terms of Service. If provided is true, then
32
32
// a url must be set. Otherwise, provided is false.
33
- termsUrl ?: string ;
34
- featureTypes ?: FeatureType [ ] ;
33
+ terms_url ?: string ;
34
+ feature_types ?: FeatureType [ ] ;
35
35
integration ?: UpdateProductBodyIntegration ;
36
36
tags ?: string [ ] ;
37
37
}
38
38
export interface UpdateProductBodyIntegration {
39
39
provisioning ?: string ;
40
- baseUrl ?: string ;
41
- ssoUrl ?: string ;
40
+ base_url ?: string ;
41
+ sso_url ?: string ;
42
42
version ?: UpdateProductBodyIntegrationVersion ;
43
43
features ?: ProductIntegrationFeatures ;
44
44
}
@@ -54,16 +54,16 @@ namespace OpenAPI2 {
54
54
label ?: string ;
55
55
state ?: string ;
56
56
// Used in conjuction with resizable_to to set or unset the list
57
- hasResizeConstraints ?: boolean ;
58
- resizableTo ?: string [ ] ;
57
+ has_resize_constraints ?: boolean ;
58
+ resizable_to ?: string [ ] ;
59
59
// Array of Region IDs
60
60
regions ?: string [ ] ;
61
61
// Array of Feature Values
62
62
features ?: FeatureValue [ ] ;
63
63
// The number of days a user gets as a free trial when subscribing to
64
64
// this plan. Trials are valid only once per product; changing plans
65
65
// or adding an additional subscription will not start a new trial.
66
- trialDays ?: number ;
66
+ trial_days ?: number ;
67
67
// Dollar value in cents
68
68
cost ?: number ;
69
69
}
@@ -90,12 +90,12 @@ namespace OpenAPI2 {
90
90
Region = 'region'
91
91
}
92
92
export interface ProviderBody {
93
- teamId : string ;
93
+ team_id : string ;
94
94
label : string ;
95
95
name : string ;
96
- logoUrl ?: string ;
97
- supportEmail ?: string ;
98
- documentationUrl ?: string ;
96
+ logo_url ?: string ;
97
+ support_email ?: string ;
98
+ documentation_url ?: string ;
99
99
}
100
100
export interface Provider {
101
101
id : string ;
@@ -143,13 +143,13 @@ namespace OpenAPI2 {
143
143
export interface ProductIntegrationFeatures {
144
144
// Indicates whether or not this product supports resource transitions to
145
145
// manifold by access_code.
146
- accessCode ?: boolean ;
146
+ access_code ?: boolean ;
147
147
// Represents whether or not this product supports Single
148
148
// Sign On
149
149
sso ?: boolean ;
150
150
// Represents whether or not this product supports changing
151
151
// the plan of a resource.
152
- planChange ?: boolean ;
152
+ plan_change ?: boolean ;
153
153
// Describes how the region for a resource is specified, if
154
154
// unspecified, then regions have no impact on this
155
155
// resource.
@@ -160,32 +160,32 @@ namespace OpenAPI2 {
160
160
Unspecified = 'unspecified'
161
161
}
162
162
export interface ProductBody {
163
- providerId : string ;
163
+ provider_id : string ;
164
164
// Product labels are globally unique and contain the provider name.
165
165
label : string ;
166
166
name : string ;
167
167
state : string ;
168
168
listing : ProductListing ;
169
- logoUrl : string ;
169
+ logo_url : string ;
170
170
// 140 character sentence positioning the product.
171
171
tagline : string ;
172
172
// A list of value propositions of the product.
173
- valueProps : ValueProp [ ] ;
173
+ value_props : ValueProp [ ] ;
174
174
images : string [ ] ;
175
- supportEmail : string ;
176
- documentationUrl : string ;
175
+ support_email : string ;
176
+ documentation_url : string ;
177
177
// URL to this Product's Terms of Service. If provided is true, then
178
178
// a url must be set. Otherwise, provided is false.
179
179
terms : ProductBodyTerms ;
180
- featureTypes : FeatureType [ ] ;
180
+ feature_types : FeatureType [ ] ;
181
181
billing : ProductBodyBilling ;
182
182
integration : ProductBodyIntegration ;
183
183
tags ?: string [ ] ;
184
184
}
185
185
export interface ProductBodyIntegration {
186
186
provisioning : string ;
187
- baseUrl : string ;
188
- ssoUrl ?: string ;
187
+ base_url : string ;
188
+ sso_url ?: string ;
189
189
version : ProductBodyIntegrationVersion ;
190
190
features : ProductIntegrationFeatures ;
191
191
}
@@ -222,20 +222,20 @@ namespace OpenAPI2 {
222
222
}
223
223
export interface PlanResizeList { }
224
224
export interface PlanBody {
225
- providerId : string ;
226
- productId : string ;
225
+ provider_id : string ;
226
+ product_id : string ;
227
227
name : string ;
228
228
label : string ;
229
229
state : string ;
230
- resizableTo ?: string [ ] ;
230
+ resizable_to ?: string [ ] ;
231
231
// Array of Region IDs
232
232
regions : string [ ] ;
233
233
// Array of Feature Values
234
234
features : FeatureValue [ ] ;
235
235
// The number of days a user gets as a free trial when subscribing to
236
236
// this plan. Trials are valid only once per product; changing plans
237
237
// or adding an additional subscription will not start a new trial.
238
- trialDays ?: number ;
238
+ trial_days ?: number ;
239
239
// Dollar value in cents.
240
240
cost : number ;
241
241
}
@@ -262,7 +262,7 @@ namespace OpenAPI2 {
262
262
// Price describes the cost of a feature. It should be preferred over
263
263
// the `cost` property.
264
264
price ?: FeatureValueDetailsPrice ;
265
- numericDetails ?: FeatureNumericDetails ;
265
+ numeric_details ?: FeatureNumericDetails ;
266
266
}
267
267
export interface FeatureValueDetailsPrice {
268
268
// Cost is the price in cents that will be added to plan's base cost
@@ -272,7 +272,7 @@ namespace OpenAPI2 {
272
272
// When a feature is used to multiply the cost of the plan or of
273
273
// another feature, multiply factor is used for calculation.
274
274
// A feature cannot have both a cost and a multiply factor.
275
- multiplyFactor ?: number ;
275
+ multiply_factor ?: number ;
276
276
// Price describes how the feature cost should be calculated.
277
277
formula ?: string ;
278
278
// Description explains how a feature is calculated to the user.
@@ -314,7 +314,7 @@ namespace OpenAPI2 {
314
314
limit ?: number ;
315
315
// An integer in 10,000,000ths of cents, will be multiplied by the
316
316
// numeric value set in the feature to determine the cost.
317
- costMultiple ?: number ;
317
+ cost_multiple ?: number ;
318
318
}
319
319
export interface FeatureNumericDetails {
320
320
// Sets the increment at which numbers can be selected if customizable, by
@@ -330,7 +330,7 @@ namespace OpenAPI2 {
330
330
max ?: number ;
331
331
// Applied to the end of the number for display, for example the ‘GB’ in ‘20 GB’.
332
332
suffix ?: string ;
333
- costRanges ?: FeatureNumericRange [ ] ;
333
+ cost_ranges ?: FeatureNumericRange [ ] ;
334
334
}
335
335
export interface FeatureMap {
336
336
[ name : string ] : any ;
@@ -351,7 +351,7 @@ namespace OpenAPI2 {
351
351
}
352
352
export interface ExpandedPlanBody extends PlanBody {
353
353
// An array of feature definitions for the plan, as defined on the Product.
354
- expandedFeatures ?: ExpandedFeature [ ] ;
354
+ expanded_features ?: ExpandedFeature [ ] ;
355
355
// A boolean flag that indicates if a plan is free or not based on it's cost and features.
356
356
free ?: boolean ;
357
357
// Plan cost using its default features plus base cost.
@@ -373,7 +373,7 @@ namespace OpenAPI2 {
373
373
}
374
374
export interface ExpandedFeature extends FeatureType {
375
375
// The string value set for the feature on the plan, this should only be used if the value property is null.
376
- valueString ?: string ;
376
+ value_string ?: string ;
377
377
value ?: FeatureValueDetails ;
378
378
}
379
379
export interface Error {
0 commit comments