@schematichq/schematic-react 0.2.0-rc.9 → 1.0.0
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/README.md +86 -0
- package/dist/schematic-react.cjs.js +909 -12566
- package/dist/schematic-react.d.ts +0 -2988
- package/dist/schematic-react.esm.js +892 -12581
- package/package.json +16 -30
@@ -1,1478 +1,22 @@
|
|
1
|
-
import { Context } from 'react';
|
2
|
-
import * as Craft from '@craftjs/core';
|
3
|
-
import { DetailedHTMLProps } from 'react';
|
4
|
-
import { DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES } from 'react';
|
5
1
|
import { Event as Event_2 } from '@schematichq/schematic-js';
|
6
2
|
import { EventBody } from '@schematichq/schematic-js';
|
7
3
|
import { EventBodyIdentify } from '@schematichq/schematic-js';
|
8
4
|
import { EventBodyTrack } from '@schematichq/schematic-js';
|
9
5
|
import { EventType } from '@schematichq/schematic-js';
|
10
|
-
import { FastOmit } from 'styled-components';
|
11
6
|
import { FlagCheckResponseBody } from '@schematichq/schematic-js';
|
12
7
|
import { FlagCheckWithKeyResponseBody } from '@schematichq/schematic-js';
|
13
|
-
import { ForwardRefExoticComponent } from 'react';
|
14
|
-
import { HTMLAttributes } from 'react';
|
15
|
-
import { IStyledComponentBase } from 'styled-components/dist/types';
|
16
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
17
8
|
import { Keys } from '@schematichq/schematic-js';
|
18
9
|
import { default as React_2 } from 'react';
|
19
|
-
import { RefAttributes } from 'react';
|
20
|
-
import { RefObject } from 'react';
|
21
10
|
import { Schematic } from '@schematichq/schematic-js';
|
22
11
|
import { SchematicContext } from '@schematichq/schematic-js';
|
23
12
|
import * as SchematicJS from '@schematichq/schematic-js';
|
24
13
|
import { SchematicOptions } from '@schematichq/schematic-js';
|
25
|
-
import { Stripe } from '@stripe/stripe-js';
|
26
|
-
import { Substitute } from 'styled-components/dist/types';
|
27
14
|
import { Traits } from '@schematichq/schematic-js';
|
28
15
|
|
29
|
-
declare interface ApiResponse<T> {
|
30
|
-
raw: Response;
|
31
|
-
value(): Promise<T>;
|
32
|
-
}
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Schematic API
|
36
|
-
* Schematic API
|
37
|
-
*
|
38
|
-
* The version of the OpenAPI document: 0.1
|
39
|
-
*
|
40
|
-
*
|
41
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
42
|
-
* https://openapi-generator.tech
|
43
|
-
* Do not edit the class manually.
|
44
|
-
*/
|
45
|
-
declare const BASE_PATH: string;
|
46
|
-
|
47
|
-
/**
|
48
|
-
* This is the base class for all generated API classes.
|
49
|
-
*/
|
50
|
-
declare class BaseAPI {
|
51
|
-
protected configuration: Configuration;
|
52
|
-
private static readonly jsonRegex;
|
53
|
-
private middleware;
|
54
|
-
constructor(configuration?: Configuration);
|
55
|
-
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
56
|
-
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware["pre"]>): T;
|
57
|
-
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware["post"]>): T;
|
58
|
-
/**
|
59
|
-
* Check if the given MIME is a JSON MIME.
|
60
|
-
* JSON MIME examples:
|
61
|
-
* application/json
|
62
|
-
* application/json; charset=UTF8
|
63
|
-
* APPLICATION/JSON
|
64
|
-
* application/vnd.company+json
|
65
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
66
|
-
* @return True if the given MIME is JSON, false otherwise.
|
67
|
-
*/
|
68
|
-
protected isJsonMime(mime: string | null | undefined): boolean;
|
69
|
-
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
70
|
-
private createFetchParams;
|
71
|
-
private fetchApi;
|
72
|
-
/**
|
73
|
-
* Create a shallow clone of `this` by constructing a new instance
|
74
|
-
* and then shallow cloning data members.
|
75
|
-
*/
|
76
|
-
private clone;
|
77
|
-
}
|
78
|
-
|
79
16
|
declare type BaseSchematicProviderProps = Omit<SchematicJS.SchematicOptions, "client" | "publishableKey"> & {
|
80
17
|
children: React_2.ReactNode;
|
81
18
|
};
|
82
19
|
|
83
|
-
/**
|
84
|
-
* Schematic API
|
85
|
-
* Schematic API
|
86
|
-
*
|
87
|
-
* The version of the OpenAPI document: 0.1
|
88
|
-
*
|
89
|
-
*
|
90
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
91
|
-
* https://openapi-generator.tech
|
92
|
-
* Do not edit the class manually.
|
93
|
-
*/
|
94
|
-
/**
|
95
|
-
*
|
96
|
-
* @export
|
97
|
-
* @interface BillingPlan
|
98
|
-
*/
|
99
|
-
declare interface BillingPlan {
|
100
|
-
/**
|
101
|
-
*
|
102
|
-
* @type {string}
|
103
|
-
* @memberof BillingPlan
|
104
|
-
*/
|
105
|
-
description?: string | null;
|
106
|
-
/**
|
107
|
-
*
|
108
|
-
* @type {string}
|
109
|
-
* @memberof BillingPlan
|
110
|
-
*/
|
111
|
-
id: string;
|
112
|
-
/**
|
113
|
-
*
|
114
|
-
* @type {string}
|
115
|
-
* @memberof BillingPlan
|
116
|
-
*/
|
117
|
-
imageUrl?: string | null;
|
118
|
-
/**
|
119
|
-
*
|
120
|
-
* @type {string}
|
121
|
-
* @memberof BillingPlan
|
122
|
-
*/
|
123
|
-
name: string;
|
124
|
-
/**
|
125
|
-
*
|
126
|
-
* @type {string}
|
127
|
-
* @memberof BillingPlan
|
128
|
-
*/
|
129
|
-
planPeriod?: string | null;
|
130
|
-
/**
|
131
|
-
*
|
132
|
-
* @type {number}
|
133
|
-
* @memberof BillingPlan
|
134
|
-
*/
|
135
|
-
planPrice?: number | null;
|
136
|
-
}
|
137
|
-
|
138
|
-
/**
|
139
|
-
* Schematic API
|
140
|
-
* Schematic API
|
141
|
-
*
|
142
|
-
* The version of the OpenAPI document: 0.1
|
143
|
-
*
|
144
|
-
*
|
145
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
146
|
-
* https://openapi-generator.tech
|
147
|
-
* Do not edit the class manually.
|
148
|
-
*/
|
149
|
-
/**
|
150
|
-
*
|
151
|
-
* @export
|
152
|
-
* @interface BillingPriceResponseData
|
153
|
-
*/
|
154
|
-
declare interface BillingPriceResponseData {
|
155
|
-
/**
|
156
|
-
*
|
157
|
-
* @type {string}
|
158
|
-
* @memberof BillingPriceResponseData
|
159
|
-
*/
|
160
|
-
externalPriceId: string;
|
161
|
-
/**
|
162
|
-
*
|
163
|
-
* @type {string}
|
164
|
-
* @memberof BillingPriceResponseData
|
165
|
-
*/
|
166
|
-
id: string;
|
167
|
-
/**
|
168
|
-
*
|
169
|
-
* @type {string}
|
170
|
-
* @memberof BillingPriceResponseData
|
171
|
-
*/
|
172
|
-
interval: string;
|
173
|
-
/**
|
174
|
-
*
|
175
|
-
* @type {number}
|
176
|
-
* @memberof BillingPriceResponseData
|
177
|
-
*/
|
178
|
-
price: number;
|
179
|
-
}
|
180
|
-
|
181
|
-
/**
|
182
|
-
*
|
183
|
-
* @export
|
184
|
-
* @interface BillingProductDetailResponseData
|
185
|
-
*/
|
186
|
-
declare interface BillingProductDetailResponseData {
|
187
|
-
/**
|
188
|
-
*
|
189
|
-
* @type {Array<BillingPriceResponseData>}
|
190
|
-
* @memberof BillingProductDetailResponseData
|
191
|
-
*/
|
192
|
-
prices: Array<BillingPriceResponseData>;
|
193
|
-
/**
|
194
|
-
*
|
195
|
-
* @type {string}
|
196
|
-
* @memberof BillingProductDetailResponseData
|
197
|
-
*/
|
198
|
-
accountId: string;
|
199
|
-
/**
|
200
|
-
*
|
201
|
-
* @type {Date}
|
202
|
-
* @memberof BillingProductDetailResponseData
|
203
|
-
*/
|
204
|
-
createdAt: Date;
|
205
|
-
/**
|
206
|
-
*
|
207
|
-
* @type {string}
|
208
|
-
* @memberof BillingProductDetailResponseData
|
209
|
-
*/
|
210
|
-
currency: string;
|
211
|
-
/**
|
212
|
-
*
|
213
|
-
* @type {string}
|
214
|
-
* @memberof BillingProductDetailResponseData
|
215
|
-
*/
|
216
|
-
environmentId: string;
|
217
|
-
/**
|
218
|
-
*
|
219
|
-
* @type {string}
|
220
|
-
* @memberof BillingProductDetailResponseData
|
221
|
-
*/
|
222
|
-
externalId: string;
|
223
|
-
/**
|
224
|
-
*
|
225
|
-
* @type {string}
|
226
|
-
* @memberof BillingProductDetailResponseData
|
227
|
-
*/
|
228
|
-
name: string;
|
229
|
-
/**
|
230
|
-
*
|
231
|
-
* @type {number}
|
232
|
-
* @memberof BillingProductDetailResponseData
|
233
|
-
*/
|
234
|
-
price: number;
|
235
|
-
/**
|
236
|
-
*
|
237
|
-
* @type {string}
|
238
|
-
* @memberof BillingProductDetailResponseData
|
239
|
-
*/
|
240
|
-
productId: string;
|
241
|
-
/**
|
242
|
-
*
|
243
|
-
* @type {number}
|
244
|
-
* @memberof BillingProductDetailResponseData
|
245
|
-
*/
|
246
|
-
quantity: number;
|
247
|
-
/**
|
248
|
-
*
|
249
|
-
* @type {Date}
|
250
|
-
* @memberof BillingProductDetailResponseData
|
251
|
-
*/
|
252
|
-
updatedAt: Date;
|
253
|
-
}
|
254
|
-
|
255
|
-
/**
|
256
|
-
* Schematic API
|
257
|
-
* Schematic API
|
258
|
-
*
|
259
|
-
* The version of the OpenAPI document: 0.1
|
260
|
-
*
|
261
|
-
*
|
262
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
263
|
-
* https://openapi-generator.tech
|
264
|
-
* Do not edit the class manually.
|
265
|
-
*/
|
266
|
-
/**
|
267
|
-
*
|
268
|
-
* @export
|
269
|
-
* @interface BillingProductForSubscriptionResponseData
|
270
|
-
*/
|
271
|
-
declare interface BillingProductForSubscriptionResponseData {
|
272
|
-
/**
|
273
|
-
*
|
274
|
-
* @type {string}
|
275
|
-
* @memberof BillingProductForSubscriptionResponseData
|
276
|
-
*/
|
277
|
-
accountId: string;
|
278
|
-
/**
|
279
|
-
*
|
280
|
-
* @type {Date}
|
281
|
-
* @memberof BillingProductForSubscriptionResponseData
|
282
|
-
*/
|
283
|
-
createdAt: Date;
|
284
|
-
/**
|
285
|
-
*
|
286
|
-
* @type {string}
|
287
|
-
* @memberof BillingProductForSubscriptionResponseData
|
288
|
-
*/
|
289
|
-
currency: string;
|
290
|
-
/**
|
291
|
-
*
|
292
|
-
* @type {string}
|
293
|
-
* @memberof BillingProductForSubscriptionResponseData
|
294
|
-
*/
|
295
|
-
environmentId: string;
|
296
|
-
/**
|
297
|
-
*
|
298
|
-
* @type {string}
|
299
|
-
* @memberof BillingProductForSubscriptionResponseData
|
300
|
-
*/
|
301
|
-
externalId: string;
|
302
|
-
/**
|
303
|
-
*
|
304
|
-
* @type {string}
|
305
|
-
* @memberof BillingProductForSubscriptionResponseData
|
306
|
-
*/
|
307
|
-
id: string;
|
308
|
-
/**
|
309
|
-
*
|
310
|
-
* @type {string}
|
311
|
-
* @memberof BillingProductForSubscriptionResponseData
|
312
|
-
*/
|
313
|
-
interval?: string | null;
|
314
|
-
/**
|
315
|
-
*
|
316
|
-
* @type {string}
|
317
|
-
* @memberof BillingProductForSubscriptionResponseData
|
318
|
-
*/
|
319
|
-
name: string;
|
320
|
-
/**
|
321
|
-
*
|
322
|
-
* @type {number}
|
323
|
-
* @memberof BillingProductForSubscriptionResponseData
|
324
|
-
*/
|
325
|
-
price: number;
|
326
|
-
/**
|
327
|
-
*
|
328
|
-
* @type {string}
|
329
|
-
* @memberof BillingProductForSubscriptionResponseData
|
330
|
-
*/
|
331
|
-
priceExternalId?: string | null;
|
332
|
-
/**
|
333
|
-
*
|
334
|
-
* @type {number}
|
335
|
-
* @memberof BillingProductForSubscriptionResponseData
|
336
|
-
*/
|
337
|
-
quantity: number;
|
338
|
-
/**
|
339
|
-
*
|
340
|
-
* @type {string}
|
341
|
-
* @memberof BillingProductForSubscriptionResponseData
|
342
|
-
*/
|
343
|
-
subscriptionId: string;
|
344
|
-
/**
|
345
|
-
*
|
346
|
-
* @type {Date}
|
347
|
-
* @memberof BillingProductForSubscriptionResponseData
|
348
|
-
*/
|
349
|
-
updatedAt: Date;
|
350
|
-
}
|
351
|
-
|
352
|
-
/**
|
353
|
-
* Schematic API
|
354
|
-
* Schematic API
|
355
|
-
*
|
356
|
-
* The version of the OpenAPI document: 0.1
|
357
|
-
*
|
358
|
-
*
|
359
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
360
|
-
* https://openapi-generator.tech
|
361
|
-
* Do not edit the class manually.
|
362
|
-
*/
|
363
|
-
/**
|
364
|
-
* The created resource
|
365
|
-
* @export
|
366
|
-
* @interface BillingSubscriptionResponseData
|
367
|
-
*/
|
368
|
-
declare interface BillingSubscriptionResponseData {
|
369
|
-
/**
|
370
|
-
*
|
371
|
-
* @type {Date}
|
372
|
-
* @memberof BillingSubscriptionResponseData
|
373
|
-
*/
|
374
|
-
expiredAt?: Date | null;
|
375
|
-
/**
|
376
|
-
*
|
377
|
-
* @type {string}
|
378
|
-
* @memberof BillingSubscriptionResponseData
|
379
|
-
*/
|
380
|
-
externalId: string;
|
381
|
-
/**
|
382
|
-
*
|
383
|
-
* @type {number}
|
384
|
-
* @memberof BillingSubscriptionResponseData
|
385
|
-
*/
|
386
|
-
id: number;
|
387
|
-
/**
|
388
|
-
*
|
389
|
-
* @type {Date}
|
390
|
-
* @memberof BillingSubscriptionResponseData
|
391
|
-
*/
|
392
|
-
updatedAt: Date;
|
393
|
-
}
|
394
|
-
|
395
|
-
declare class BlobApiResponse {
|
396
|
-
raw: Response;
|
397
|
-
constructor(raw: Response);
|
398
|
-
value(): Promise<Blob>;
|
399
|
-
}
|
400
|
-
|
401
|
-
export declare const Box: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ComponentProps>> & string;
|
402
|
-
|
403
|
-
export declare type BoxProps = ComponentProps;
|
404
|
-
|
405
|
-
export declare const Button: ({ color, size, variant, disabled, children, ...props }: ButtonProps) => JSX_2.Element;
|
406
|
-
|
407
|
-
export declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
408
|
-
color?: ButtonStyleTypes;
|
409
|
-
size?: ButtonSizeTypes;
|
410
|
-
variant?: ButtonVariantTypes;
|
411
|
-
}
|
412
|
-
|
413
|
-
export declare type ButtonSizeTypes = "sm" | "md" | "lg";
|
414
|
-
|
415
|
-
export declare type ButtonStyleTypes = "blue" | "white" | "red" | "black";
|
416
|
-
|
417
|
-
export declare type ButtonVariantTypes = "solid" | "outline" | "ghost" | "link";
|
418
|
-
|
419
|
-
declare function canConsumeForm(consumes: Consume[]): boolean;
|
420
|
-
|
421
|
-
export declare const Card: ForwardRefExoticComponent<CardProps & RefAttributes<HTMLDivElement | null>>;
|
422
|
-
|
423
|
-
export declare interface CardProps {
|
424
|
-
children?: React.ReactNode;
|
425
|
-
className?: string;
|
426
|
-
}
|
427
|
-
|
428
|
-
/**
|
429
|
-
* Schematic API
|
430
|
-
* Schematic API
|
431
|
-
*
|
432
|
-
* The version of the OpenAPI document: 0.1
|
433
|
-
*
|
434
|
-
*
|
435
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
436
|
-
* https://openapi-generator.tech
|
437
|
-
* Do not edit the class manually.
|
438
|
-
*/
|
439
|
-
/**
|
440
|
-
*
|
441
|
-
* @export
|
442
|
-
* @interface ChangeSubscriptionRequestBody
|
443
|
-
*/
|
444
|
-
declare interface ChangeSubscriptionRequestBody {
|
445
|
-
/**
|
446
|
-
*
|
447
|
-
* @type {string}
|
448
|
-
* @memberof ChangeSubscriptionRequestBody
|
449
|
-
*/
|
450
|
-
newPlanId: string;
|
451
|
-
/**
|
452
|
-
*
|
453
|
-
* @type {string}
|
454
|
-
* @memberof ChangeSubscriptionRequestBody
|
455
|
-
*/
|
456
|
-
newPriceId: string;
|
457
|
-
/**
|
458
|
-
*
|
459
|
-
* @type {string}
|
460
|
-
* @memberof ChangeSubscriptionRequestBody
|
461
|
-
*/
|
462
|
-
paymentMethodId?: string | null;
|
463
|
-
}
|
464
|
-
|
465
|
-
/**
|
466
|
-
*
|
467
|
-
*/
|
468
|
-
declare class CheckoutApi extends runtime.BaseAPI {
|
469
|
-
/**
|
470
|
-
* Checkout
|
471
|
-
*/
|
472
|
-
checkoutRaw(requestParameters: CheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CheckoutResponse>>;
|
473
|
-
/**
|
474
|
-
* Checkout
|
475
|
-
*/
|
476
|
-
checkout(requestParameters: CheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CheckoutResponse>;
|
477
|
-
/**
|
478
|
-
* Hydrate component
|
479
|
-
*/
|
480
|
-
hydrateComponentRaw(requestParameters: HydrateComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HydrateComponentResponse>>;
|
481
|
-
/**
|
482
|
-
* Hydrate component
|
483
|
-
*/
|
484
|
-
hydrateComponent(requestParameters: HydrateComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HydrateComponentResponse>;
|
485
|
-
/**
|
486
|
-
* Preview checkout
|
487
|
-
*/
|
488
|
-
previewCheckoutRaw(requestParameters: PreviewCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PreviewCheckoutResponse>>;
|
489
|
-
/**
|
490
|
-
* Preview checkout
|
491
|
-
*/
|
492
|
-
previewCheckout(requestParameters: PreviewCheckoutRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PreviewCheckoutResponse>;
|
493
|
-
}
|
494
|
-
|
495
|
-
declare interface CheckoutRequest {
|
496
|
-
changeSubscriptionRequestBody: ChangeSubscriptionRequestBody;
|
497
|
-
}
|
498
|
-
|
499
|
-
/**
|
500
|
-
*
|
501
|
-
* @export
|
502
|
-
* @interface CheckoutResponse
|
503
|
-
*/
|
504
|
-
declare interface CheckoutResponse {
|
505
|
-
/**
|
506
|
-
*
|
507
|
-
* @type {BillingSubscriptionResponseData}
|
508
|
-
* @memberof CheckoutResponse
|
509
|
-
*/
|
510
|
-
data: BillingSubscriptionResponseData;
|
511
|
-
/**
|
512
|
-
* Input parameters
|
513
|
-
* @type {object}
|
514
|
-
* @memberof CheckoutResponse
|
515
|
-
*/
|
516
|
-
params: object;
|
517
|
-
}
|
518
|
-
|
519
|
-
declare const COLLECTION_FORMATS: {
|
520
|
-
csv: string;
|
521
|
-
ssv: string;
|
522
|
-
tsv: string;
|
523
|
-
pipes: string;
|
524
|
-
};
|
525
|
-
|
526
|
-
export declare const Column: ForwardRefExoticComponent<Omit<ColumnProps, "ref"> & RefAttributes<HTMLDivElement | null>>;
|
527
|
-
|
528
|
-
export declare interface ColumnProps extends React.HTMLProps<HTMLDivElement> {
|
529
|
-
basis?: string;
|
530
|
-
}
|
531
|
-
|
532
|
-
/**
|
533
|
-
*
|
534
|
-
* @export
|
535
|
-
* @interface CompanyDetailResponseData
|
536
|
-
*/
|
537
|
-
declare interface CompanyDetailResponseData {
|
538
|
-
/**
|
539
|
-
*
|
540
|
-
* @type {Array<BillingPlan>}
|
541
|
-
* @memberof CompanyDetailResponseData
|
542
|
-
*/
|
543
|
-
addOns: Array<BillingPlan>;
|
544
|
-
/**
|
545
|
-
*
|
546
|
-
* @type {Date}
|
547
|
-
* @memberof CompanyDetailResponseData
|
548
|
-
*/
|
549
|
-
createdAt: Date;
|
550
|
-
/**
|
551
|
-
*
|
552
|
-
* @type {Array<EntityTraitDetailResponseData>}
|
553
|
-
* @memberof CompanyDetailResponseData
|
554
|
-
*/
|
555
|
-
entityTraits: Array<EntityTraitDetailResponseData>;
|
556
|
-
/**
|
557
|
-
*
|
558
|
-
* @type {string}
|
559
|
-
* @memberof CompanyDetailResponseData
|
560
|
-
*/
|
561
|
-
environmentId: string;
|
562
|
-
/**
|
563
|
-
*
|
564
|
-
* @type {string}
|
565
|
-
* @memberof CompanyDetailResponseData
|
566
|
-
*/
|
567
|
-
id: string;
|
568
|
-
/**
|
569
|
-
*
|
570
|
-
* @type {Array<EntityKeyDetailResponseData>}
|
571
|
-
* @memberof CompanyDetailResponseData
|
572
|
-
*/
|
573
|
-
keys: Array<EntityKeyDetailResponseData>;
|
574
|
-
/**
|
575
|
-
*
|
576
|
-
* @type {Date}
|
577
|
-
* @memberof CompanyDetailResponseData
|
578
|
-
*/
|
579
|
-
lastSeenAt?: Date | null;
|
580
|
-
/**
|
581
|
-
*
|
582
|
-
* @type {string}
|
583
|
-
* @memberof CompanyDetailResponseData
|
584
|
-
*/
|
585
|
-
logoUrl?: string | null;
|
586
|
-
/**
|
587
|
-
*
|
588
|
-
* @type {string}
|
589
|
-
* @memberof CompanyDetailResponseData
|
590
|
-
*/
|
591
|
-
name: string;
|
592
|
-
/**
|
593
|
-
*
|
594
|
-
* @type {BillingPlan}
|
595
|
-
* @memberof CompanyDetailResponseData
|
596
|
-
*/
|
597
|
-
plan?: BillingPlan;
|
598
|
-
/**
|
599
|
-
*
|
600
|
-
* @type {Array<PreviewObject>}
|
601
|
-
* @memberof CompanyDetailResponseData
|
602
|
-
*/
|
603
|
-
plans: Array<PreviewObject>;
|
604
|
-
/**
|
605
|
-
* A map of trait names to trait values
|
606
|
-
* @type {object}
|
607
|
-
* @memberof CompanyDetailResponseData
|
608
|
-
*/
|
609
|
-
traits?: object;
|
610
|
-
/**
|
611
|
-
*
|
612
|
-
* @type {Date}
|
613
|
-
* @memberof CompanyDetailResponseData
|
614
|
-
*/
|
615
|
-
updatedAt: Date;
|
616
|
-
/**
|
617
|
-
*
|
618
|
-
* @type {number}
|
619
|
-
* @memberof CompanyDetailResponseData
|
620
|
-
*/
|
621
|
-
userCount: number;
|
622
|
-
}
|
623
|
-
|
624
|
-
/**
|
625
|
-
*
|
626
|
-
* @export
|
627
|
-
* @interface CompanyPlanDetailResponseData
|
628
|
-
*/
|
629
|
-
declare interface CompanyPlanDetailResponseData {
|
630
|
-
/**
|
631
|
-
*
|
632
|
-
* @type {string}
|
633
|
-
* @memberof CompanyPlanDetailResponseData
|
634
|
-
*/
|
635
|
-
audienceType?: string | null;
|
636
|
-
/**
|
637
|
-
*
|
638
|
-
* @type {BillingProductDetailResponseData}
|
639
|
-
* @memberof CompanyPlanDetailResponseData
|
640
|
-
*/
|
641
|
-
billingProduct?: BillingProductDetailResponseData;
|
642
|
-
/**
|
643
|
-
*
|
644
|
-
* @type {number}
|
645
|
-
* @memberof CompanyPlanDetailResponseData
|
646
|
-
*/
|
647
|
-
companyCount: number;
|
648
|
-
/**
|
649
|
-
*
|
650
|
-
* @type {Date}
|
651
|
-
* @memberof CompanyPlanDetailResponseData
|
652
|
-
*/
|
653
|
-
createdAt: Date;
|
654
|
-
/**
|
655
|
-
*
|
656
|
-
* @type {boolean}
|
657
|
-
* @memberof CompanyPlanDetailResponseData
|
658
|
-
*/
|
659
|
-
current: boolean;
|
660
|
-
/**
|
661
|
-
*
|
662
|
-
* @type {string}
|
663
|
-
* @memberof CompanyPlanDetailResponseData
|
664
|
-
*/
|
665
|
-
description: string;
|
666
|
-
/**
|
667
|
-
*
|
668
|
-
* @type {Array<PlanEntitlementResponseData>}
|
669
|
-
* @memberof CompanyPlanDetailResponseData
|
670
|
-
*/
|
671
|
-
entitlements: Array<PlanEntitlementResponseData>;
|
672
|
-
/**
|
673
|
-
*
|
674
|
-
* @type {Array<FeatureDetailResponseData>}
|
675
|
-
* @memberof CompanyPlanDetailResponseData
|
676
|
-
*/
|
677
|
-
features: Array<FeatureDetailResponseData>;
|
678
|
-
/**
|
679
|
-
*
|
680
|
-
* @type {string}
|
681
|
-
* @memberof CompanyPlanDetailResponseData
|
682
|
-
*/
|
683
|
-
icon: string;
|
684
|
-
/**
|
685
|
-
*
|
686
|
-
* @type {string}
|
687
|
-
* @memberof CompanyPlanDetailResponseData
|
688
|
-
*/
|
689
|
-
id: string;
|
690
|
-
/**
|
691
|
-
*
|
692
|
-
* @type {boolean}
|
693
|
-
* @memberof CompanyPlanDetailResponseData
|
694
|
-
*/
|
695
|
-
isDefault: boolean;
|
696
|
-
/**
|
697
|
-
*
|
698
|
-
* @type {BillingPriceResponseData}
|
699
|
-
* @memberof CompanyPlanDetailResponseData
|
700
|
-
*/
|
701
|
-
monthlyPrice?: BillingPriceResponseData;
|
702
|
-
/**
|
703
|
-
*
|
704
|
-
* @type {string}
|
705
|
-
* @memberof CompanyPlanDetailResponseData
|
706
|
-
*/
|
707
|
-
name: string;
|
708
|
-
/**
|
709
|
-
*
|
710
|
-
* @type {string}
|
711
|
-
* @memberof CompanyPlanDetailResponseData
|
712
|
-
*/
|
713
|
-
planType: string;
|
714
|
-
/**
|
715
|
-
*
|
716
|
-
* @type {Date}
|
717
|
-
* @memberof CompanyPlanDetailResponseData
|
718
|
-
*/
|
719
|
-
updatedAt: Date;
|
720
|
-
/**
|
721
|
-
*
|
722
|
-
* @type {boolean}
|
723
|
-
* @memberof CompanyPlanDetailResponseData
|
724
|
-
*/
|
725
|
-
valid: boolean;
|
726
|
-
/**
|
727
|
-
*
|
728
|
-
* @type {BillingPriceResponseData}
|
729
|
-
* @memberof CompanyPlanDetailResponseData
|
730
|
-
*/
|
731
|
-
yearlyPrice?: BillingPriceResponseData;
|
732
|
-
}
|
733
|
-
|
734
|
-
/**
|
735
|
-
*
|
736
|
-
* @export
|
737
|
-
* @interface CompanySubscriptionResponseData
|
738
|
-
*/
|
739
|
-
declare interface CompanySubscriptionResponseData {
|
740
|
-
/**
|
741
|
-
*
|
742
|
-
* @type {string}
|
743
|
-
* @memberof CompanySubscriptionResponseData
|
744
|
-
*/
|
745
|
-
customerExternalId: string;
|
746
|
-
/**
|
747
|
-
*
|
748
|
-
* @type {Date}
|
749
|
-
* @memberof CompanySubscriptionResponseData
|
750
|
-
*/
|
751
|
-
expiredAt?: Date | null;
|
752
|
-
/**
|
753
|
-
*
|
754
|
-
* @type {string}
|
755
|
-
* @memberof CompanySubscriptionResponseData
|
756
|
-
*/
|
757
|
-
interval: string;
|
758
|
-
/**
|
759
|
-
*
|
760
|
-
* @type {InvoiceResponseData}
|
761
|
-
* @memberof CompanySubscriptionResponseData
|
762
|
-
*/
|
763
|
-
latestInvoice?: InvoiceResponseData;
|
764
|
-
/**
|
765
|
-
*
|
766
|
-
* @type {PaymentMethodResponseData}
|
767
|
-
* @memberof CompanySubscriptionResponseData
|
768
|
-
*/
|
769
|
-
paymentMethod?: PaymentMethodResponseData;
|
770
|
-
/**
|
771
|
-
*
|
772
|
-
* @type {Array<BillingProductForSubscriptionResponseData>}
|
773
|
-
* @memberof CompanySubscriptionResponseData
|
774
|
-
*/
|
775
|
-
products: Array<BillingProductForSubscriptionResponseData>;
|
776
|
-
/**
|
777
|
-
*
|
778
|
-
* @type {string}
|
779
|
-
* @memberof CompanySubscriptionResponseData
|
780
|
-
*/
|
781
|
-
subscriptionExternalId: string;
|
782
|
-
/**
|
783
|
-
*
|
784
|
-
* @type {number}
|
785
|
-
* @memberof CompanySubscriptionResponseData
|
786
|
-
*/
|
787
|
-
totalPrice: number;
|
788
|
-
}
|
789
|
-
|
790
|
-
/**
|
791
|
-
* The returned resource
|
792
|
-
* @export
|
793
|
-
* @interface ComponentHydrateResponseData
|
794
|
-
*/
|
795
|
-
declare interface ComponentHydrateResponseData {
|
796
|
-
/**
|
797
|
-
*
|
798
|
-
* @type {Array<CompanyPlanDetailResponseData>}
|
799
|
-
* @memberof ComponentHydrateResponseData
|
800
|
-
*/
|
801
|
-
activePlans: Array<CompanyPlanDetailResponseData>;
|
802
|
-
/**
|
803
|
-
*
|
804
|
-
* @type {CompanyDetailResponseData}
|
805
|
-
* @memberof ComponentHydrateResponseData
|
806
|
-
*/
|
807
|
-
company?: CompanyDetailResponseData;
|
808
|
-
/**
|
809
|
-
*
|
810
|
-
* @type {ComponentResponseData}
|
811
|
-
* @memberof ComponentHydrateResponseData
|
812
|
-
*/
|
813
|
-
component?: ComponentResponseData;
|
814
|
-
/**
|
815
|
-
*
|
816
|
-
* @type {FeatureUsageDetailResponseData}
|
817
|
-
* @memberof ComponentHydrateResponseData
|
818
|
-
*/
|
819
|
-
featureUsage?: FeatureUsageDetailResponseData;
|
820
|
-
/**
|
821
|
-
*
|
822
|
-
* @type {StripeEmbedInfo}
|
823
|
-
* @memberof ComponentHydrateResponseData
|
824
|
-
*/
|
825
|
-
stripeEmbed?: StripeEmbedInfo;
|
826
|
-
/**
|
827
|
-
*
|
828
|
-
* @type {CompanySubscriptionResponseData}
|
829
|
-
* @memberof ComponentHydrateResponseData
|
830
|
-
*/
|
831
|
-
subscription?: CompanySubscriptionResponseData;
|
832
|
-
/**
|
833
|
-
*
|
834
|
-
* @type {InvoiceResponseData}
|
835
|
-
* @memberof ComponentHydrateResponseData
|
836
|
-
*/
|
837
|
-
upcomingInvoice?: InvoiceResponseData;
|
838
|
-
}
|
839
|
-
|
840
|
-
declare interface ComponentProps extends TransientCSSProperties {
|
841
|
-
children?: React.ReactNode;
|
842
|
-
}
|
843
|
-
|
844
|
-
/**
|
845
|
-
* Schematic API
|
846
|
-
* Schematic API
|
847
|
-
*
|
848
|
-
* The version of the OpenAPI document: 0.1
|
849
|
-
*
|
850
|
-
*
|
851
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
852
|
-
* https://openapi-generator.tech
|
853
|
-
* Do not edit the class manually.
|
854
|
-
*/
|
855
|
-
/**
|
856
|
-
*
|
857
|
-
* @export
|
858
|
-
* @interface ComponentResponseData
|
859
|
-
*/
|
860
|
-
declare interface ComponentResponseData {
|
861
|
-
/**
|
862
|
-
*
|
863
|
-
* @type {{ [key: string]: number; }}
|
864
|
-
* @memberof ComponentResponseData
|
865
|
-
*/
|
866
|
-
ast?: {
|
867
|
-
[key: string]: number;
|
868
|
-
};
|
869
|
-
/**
|
870
|
-
*
|
871
|
-
* @type {Date}
|
872
|
-
* @memberof ComponentResponseData
|
873
|
-
*/
|
874
|
-
createdAt: Date;
|
875
|
-
/**
|
876
|
-
*
|
877
|
-
* @type {string}
|
878
|
-
* @memberof ComponentResponseData
|
879
|
-
*/
|
880
|
-
id: string;
|
881
|
-
/**
|
882
|
-
*
|
883
|
-
* @type {string}
|
884
|
-
* @memberof ComponentResponseData
|
885
|
-
*/
|
886
|
-
name: string;
|
887
|
-
/**
|
888
|
-
*
|
889
|
-
* @type {string}
|
890
|
-
* @memberof ComponentResponseData
|
891
|
-
*/
|
892
|
-
state: string;
|
893
|
-
/**
|
894
|
-
*
|
895
|
-
* @type {string}
|
896
|
-
* @memberof ComponentResponseData
|
897
|
-
*/
|
898
|
-
type: string;
|
899
|
-
/**
|
900
|
-
*
|
901
|
-
* @type {Date}
|
902
|
-
* @memberof ComponentResponseData
|
903
|
-
*/
|
904
|
-
updatedAt: Date;
|
905
|
-
}
|
906
|
-
|
907
|
-
declare class Configuration {
|
908
|
-
private configuration;
|
909
|
-
constructor(configuration?: ConfigurationParameters);
|
910
|
-
set config(configuration: Configuration);
|
911
|
-
get basePath(): string;
|
912
|
-
get fetchApi(): FetchAPI | undefined;
|
913
|
-
get middleware(): Middleware[];
|
914
|
-
get queryParamsStringify(): (params: HTTPQuery) => string;
|
915
|
-
get username(): string | undefined;
|
916
|
-
get password(): string | undefined;
|
917
|
-
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
918
|
-
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
919
|
-
get headers(): HTTPHeaders | undefined;
|
920
|
-
get credentials(): RequestCredentials | undefined;
|
921
|
-
}
|
922
|
-
|
923
|
-
declare interface ConfigurationParameters {
|
924
|
-
basePath?: string;
|
925
|
-
fetchApi?: FetchAPI;
|
926
|
-
middleware?: Middleware[];
|
927
|
-
queryParamsStringify?: (params: HTTPQuery) => string;
|
928
|
-
username?: string;
|
929
|
-
password?: string;
|
930
|
-
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
931
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
932
|
-
headers?: HTTPHeaders;
|
933
|
-
credentials?: RequestCredentials;
|
934
|
-
}
|
935
|
-
|
936
|
-
declare interface Consume {
|
937
|
-
contentType: string;
|
938
|
-
}
|
939
|
-
|
940
|
-
declare const _default: {
|
941
|
-
alarm: number;
|
942
|
-
"arrow-curved": number;
|
943
|
-
"arrow-down": number;
|
944
|
-
"arrow-left": number;
|
945
|
-
"arrow-right": number;
|
946
|
-
"arrow-up": number;
|
947
|
-
"arrow-upward": number;
|
948
|
-
backspace: number;
|
949
|
-
bell: number;
|
950
|
-
board: number;
|
951
|
-
bookmark: number;
|
952
|
-
"boolean-on": number;
|
953
|
-
boolean: number;
|
954
|
-
bulb: number;
|
955
|
-
burger: number;
|
956
|
-
"check-rounded": number;
|
957
|
-
check: number;
|
958
|
-
"chevron-down": number;
|
959
|
-
"chevron-left": number;
|
960
|
-
"chevron-right": number;
|
961
|
-
"chevron-up": number;
|
962
|
-
chip: number;
|
963
|
-
chips: number;
|
964
|
-
"close-rounded-filled": number;
|
965
|
-
close: number;
|
966
|
-
"cloud-up": number;
|
967
|
-
club: number;
|
968
|
-
cmd: number;
|
969
|
-
code: number;
|
970
|
-
coffee: number;
|
971
|
-
cog: number;
|
972
|
-
"collapse-empty": number;
|
973
|
-
collapse: number;
|
974
|
-
compass: number;
|
975
|
-
connection: number;
|
976
|
-
copy: number;
|
977
|
-
cylnder: number;
|
978
|
-
diamond: number;
|
979
|
-
"dollar-rounded": number;
|
980
|
-
"dots-horizontal": number;
|
981
|
-
"dots-vertical": number;
|
982
|
-
entitlements: number;
|
983
|
-
equalizer: number;
|
984
|
-
"exclamation-rounded-filled": number;
|
985
|
-
eye: number;
|
986
|
-
filter: number;
|
987
|
-
"folder-minus": number;
|
988
|
-
"folder-plus": number;
|
989
|
-
folder: number;
|
990
|
-
glasses: number;
|
991
|
-
globe: number;
|
992
|
-
hammer: number;
|
993
|
-
hash: number;
|
994
|
-
heart: number;
|
995
|
-
hubspot: number;
|
996
|
-
image: number;
|
997
|
-
"info-rounded": number;
|
998
|
-
juice: number;
|
999
|
-
key: number;
|
1000
|
-
music: number;
|
1001
|
-
"node-minus": number;
|
1002
|
-
"node-plus": number;
|
1003
|
-
package: number;
|
1004
|
-
"paper-plane": number;
|
1005
|
-
pencil: number;
|
1006
|
-
picker: number;
|
1007
|
-
plan: number;
|
1008
|
-
plug: number;
|
1009
|
-
"plus-minus": number;
|
1010
|
-
"plus-rounded-outline": number;
|
1011
|
-
present: number;
|
1012
|
-
schematic: number;
|
1013
|
-
search: number;
|
1014
|
-
segment: number;
|
1015
|
-
"server-search": number;
|
1016
|
-
sidebar: number;
|
1017
|
-
signal: number;
|
1018
|
-
silence: number;
|
1019
|
-
spade: number;
|
1020
|
-
speaker: number;
|
1021
|
-
stacks: number;
|
1022
|
-
stripe: number;
|
1023
|
-
text: number;
|
1024
|
-
thunder: number;
|
1025
|
-
tornado: number;
|
1026
|
-
truck: number;
|
1027
|
-
tube: number;
|
1028
|
-
unprotected: number;
|
1029
|
-
verified: number;
|
1030
|
-
"video-camera": number;
|
1031
|
-
wallet: number;
|
1032
|
-
"watch-hand": number;
|
1033
|
-
"watch-pocket": number;
|
1034
|
-
"water-drop": number;
|
1035
|
-
waves: number;
|
1036
|
-
webhook: number;
|
1037
|
-
wind: number;
|
1038
|
-
};
|
1039
|
-
|
1040
|
-
declare const DefaultConfig: Configuration;
|
1041
|
-
|
1042
|
-
export declare const defaultSettings: EmbedSettings;
|
1043
|
-
|
1044
|
-
export declare const defaultTheme: EmbedThemeSettings;
|
1045
|
-
|
1046
|
-
declare interface DesignProps {
|
1047
|
-
header: {
|
1048
|
-
isVisible: boolean;
|
1049
|
-
title: {
|
1050
|
-
fontStyle: FontStyle;
|
1051
|
-
};
|
1052
|
-
description: {
|
1053
|
-
isVisible: boolean;
|
1054
|
-
fontStyle: FontStyle;
|
1055
|
-
};
|
1056
|
-
price: {
|
1057
|
-
isVisible: boolean;
|
1058
|
-
fontStyle: FontStyle;
|
1059
|
-
};
|
1060
|
-
};
|
1061
|
-
addOns: {
|
1062
|
-
isVisible: boolean;
|
1063
|
-
fontStyle: FontStyle;
|
1064
|
-
showLabel: boolean;
|
1065
|
-
};
|
1066
|
-
callToAction: {
|
1067
|
-
isVisible: boolean;
|
1068
|
-
buttonSize: "sm" | "md" | "lg";
|
1069
|
-
buttonStyle: "primary" | "secondary" | "tertiary";
|
1070
|
-
};
|
1071
|
-
}
|
1072
|
-
|
1073
|
-
declare interface DesignProps_2 {
|
1074
|
-
header: {
|
1075
|
-
isVisible: boolean;
|
1076
|
-
fontStyle: FontStyle;
|
1077
|
-
text: string;
|
1078
|
-
};
|
1079
|
-
icons: {
|
1080
|
-
isVisible: boolean;
|
1081
|
-
fontStyle: FontStyle;
|
1082
|
-
style: "light" | "dark";
|
1083
|
-
};
|
1084
|
-
entitlement: {
|
1085
|
-
isVisible: boolean;
|
1086
|
-
fontStyle: FontStyle;
|
1087
|
-
};
|
1088
|
-
usage: {
|
1089
|
-
isVisible: boolean;
|
1090
|
-
fontStyle: FontStyle;
|
1091
|
-
};
|
1092
|
-
}
|
1093
|
-
|
1094
|
-
declare interface DesignProps_3 {
|
1095
|
-
isVisible: boolean;
|
1096
|
-
header: {
|
1097
|
-
fontStyle: FontStyle;
|
1098
|
-
};
|
1099
|
-
description: {
|
1100
|
-
isVisible: boolean;
|
1101
|
-
fontStyle: FontStyle;
|
1102
|
-
};
|
1103
|
-
icon: {
|
1104
|
-
isVisible: boolean;
|
1105
|
-
};
|
1106
|
-
allocation: {
|
1107
|
-
isVisible: boolean;
|
1108
|
-
fontStyle: FontStyle;
|
1109
|
-
};
|
1110
|
-
usage: {
|
1111
|
-
isVisible: boolean;
|
1112
|
-
fontStyle: FontStyle;
|
1113
|
-
};
|
1114
|
-
callToAction: {
|
1115
|
-
isVisible: boolean;
|
1116
|
-
buttonSize: "sm" | "md" | "lg";
|
1117
|
-
buttonStyle: "primary" | "secondary" | "tertiary";
|
1118
|
-
};
|
1119
|
-
}
|
1120
|
-
|
1121
|
-
declare interface DesignProps_4 {
|
1122
|
-
header: {
|
1123
|
-
isVisible: boolean;
|
1124
|
-
fontStyle: FontStyle;
|
1125
|
-
prefix: string;
|
1126
|
-
};
|
1127
|
-
price: {
|
1128
|
-
isVisible: boolean;
|
1129
|
-
fontStyle: FontStyle;
|
1130
|
-
};
|
1131
|
-
contractEndDate: {
|
1132
|
-
isVisible: boolean;
|
1133
|
-
fontStyle: FontStyle;
|
1134
|
-
prefix: string;
|
1135
|
-
};
|
1136
|
-
}
|
1137
|
-
|
1138
|
-
declare interface DesignProps_5 {
|
1139
|
-
header: {
|
1140
|
-
isVisible: boolean;
|
1141
|
-
fontStyle: FontStyle;
|
1142
|
-
};
|
1143
|
-
functions: {
|
1144
|
-
allowEdit: boolean;
|
1145
|
-
};
|
1146
|
-
}
|
1147
|
-
|
1148
|
-
declare interface DesignProps_6 {
|
1149
|
-
header: {
|
1150
|
-
isVisible: boolean;
|
1151
|
-
fontStyle: FontStyle;
|
1152
|
-
};
|
1153
|
-
date: {
|
1154
|
-
isVisible: boolean;
|
1155
|
-
fontStyle: FontStyle;
|
1156
|
-
};
|
1157
|
-
amount: {
|
1158
|
-
isVisible: boolean;
|
1159
|
-
fontStyle: FontStyle;
|
1160
|
-
};
|
1161
|
-
limit: {
|
1162
|
-
isVisible: boolean;
|
1163
|
-
number: number;
|
1164
|
-
};
|
1165
|
-
collapse: {
|
1166
|
-
isVisible: boolean;
|
1167
|
-
fontStyle: FontStyle;
|
1168
|
-
};
|
1169
|
-
}
|
1170
|
-
|
1171
|
-
declare interface ElementProps {
|
1172
|
-
children?: React.ReactNode;
|
1173
|
-
className?: string;
|
1174
|
-
style?: React.CSSProperties;
|
1175
|
-
}
|
1176
|
-
|
1177
|
-
export declare const EmbedContext: Context<EmbedContextProps>;
|
1178
|
-
|
1179
|
-
export declare interface EmbedContextProps {
|
1180
|
-
api: CheckoutApi | null;
|
1181
|
-
data: ComponentHydrateResponseData;
|
1182
|
-
nodes: SerializedNodeWithChildren[];
|
1183
|
-
settings: EmbedSettings;
|
1184
|
-
stripe: Promise<Stripe | null> | null;
|
1185
|
-
layout: EmbedLayout;
|
1186
|
-
error?: Error;
|
1187
|
-
isPending: boolean;
|
1188
|
-
hydrate: () => void;
|
1189
|
-
setData: (data: RecursivePartial<ComponentHydrateResponseData>) => void;
|
1190
|
-
updateSettings: (settings: RecursivePartial<EmbedSettings>) => void;
|
1191
|
-
setStripe: (stripe: Promise<Stripe | null> | null) => void;
|
1192
|
-
setLayout: (layout: EmbedLayout) => void;
|
1193
|
-
}
|
1194
|
-
|
1195
|
-
declare type EmbedLayout = "portal" | "checkout" | "payment" | "success" | "disabled";
|
1196
|
-
|
1197
|
-
export declare interface EmbedProps {
|
1198
|
-
accessToken?: string;
|
1199
|
-
id?: string;
|
1200
|
-
apiConfig?: ConfigurationParameters;
|
1201
|
-
}
|
1202
|
-
|
1203
|
-
export declare const EmbedProvider: ({ id, accessToken, apiConfig, children, }: EmbedProviderProps) => JSX_2.Element;
|
1204
|
-
|
1205
|
-
export declare interface EmbedProviderProps {
|
1206
|
-
id?: string;
|
1207
|
-
accessToken?: string;
|
1208
|
-
apiConfig?: ConfigurationParameters;
|
1209
|
-
children?: React.ReactNode;
|
1210
|
-
}
|
1211
|
-
|
1212
|
-
declare type EmbedSettings = {
|
1213
|
-
theme: EmbedThemeSettings;
|
1214
|
-
};
|
1215
|
-
|
1216
|
-
declare interface EmbedThemeSettings {
|
1217
|
-
numberOfColumns: 1 | 2 | 3;
|
1218
|
-
sectionLayout: "merged" | "separate";
|
1219
|
-
colorMode: "light" | "dark";
|
1220
|
-
primary: string;
|
1221
|
-
secondary: string;
|
1222
|
-
card: {
|
1223
|
-
background: string;
|
1224
|
-
borderRadius: number;
|
1225
|
-
hasShadow: boolean;
|
1226
|
-
padding: number;
|
1227
|
-
};
|
1228
|
-
typography: {
|
1229
|
-
heading1: TypographySettings;
|
1230
|
-
heading2: TypographySettings;
|
1231
|
-
heading3: TypographySettings;
|
1232
|
-
heading4: TypographySettings;
|
1233
|
-
heading5: TypographySettings;
|
1234
|
-
heading6: TypographySettings;
|
1235
|
-
text: TypographySettings;
|
1236
|
-
link: TypographySettings;
|
1237
|
-
};
|
1238
|
-
}
|
1239
|
-
|
1240
|
-
/**
|
1241
|
-
* Schematic API
|
1242
|
-
* Schematic API
|
1243
|
-
*
|
1244
|
-
* The version of the OpenAPI document: 0.1
|
1245
|
-
*
|
1246
|
-
*
|
1247
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
1248
|
-
* https://openapi-generator.tech
|
1249
|
-
* Do not edit the class manually.
|
1250
|
-
*/
|
1251
|
-
/**
|
1252
|
-
*
|
1253
|
-
* @export
|
1254
|
-
* @interface EntityKeyDefinitionResponseData
|
1255
|
-
*/
|
1256
|
-
declare interface EntityKeyDefinitionResponseData {
|
1257
|
-
/**
|
1258
|
-
*
|
1259
|
-
* @type {Date}
|
1260
|
-
* @memberof EntityKeyDefinitionResponseData
|
1261
|
-
*/
|
1262
|
-
createdAt: Date;
|
1263
|
-
/**
|
1264
|
-
*
|
1265
|
-
* @type {string}
|
1266
|
-
* @memberof EntityKeyDefinitionResponseData
|
1267
|
-
*/
|
1268
|
-
entityType: string;
|
1269
|
-
/**
|
1270
|
-
*
|
1271
|
-
* @type {string}
|
1272
|
-
* @memberof EntityKeyDefinitionResponseData
|
1273
|
-
*/
|
1274
|
-
id: string;
|
1275
|
-
/**
|
1276
|
-
*
|
1277
|
-
* @type {string}
|
1278
|
-
* @memberof EntityKeyDefinitionResponseData
|
1279
|
-
*/
|
1280
|
-
key: string;
|
1281
|
-
/**
|
1282
|
-
*
|
1283
|
-
* @type {Date}
|
1284
|
-
* @memberof EntityKeyDefinitionResponseData
|
1285
|
-
*/
|
1286
|
-
updatedAt: Date;
|
1287
|
-
}
|
1288
|
-
|
1289
|
-
/**
|
1290
|
-
*
|
1291
|
-
* @export
|
1292
|
-
* @interface EntityKeyDetailResponseData
|
1293
|
-
*/
|
1294
|
-
declare interface EntityKeyDetailResponseData {
|
1295
|
-
/**
|
1296
|
-
*
|
1297
|
-
* @type {Date}
|
1298
|
-
* @memberof EntityKeyDetailResponseData
|
1299
|
-
*/
|
1300
|
-
createdAt: Date;
|
1301
|
-
/**
|
1302
|
-
*
|
1303
|
-
* @type {EntityKeyDefinitionResponseData}
|
1304
|
-
* @memberof EntityKeyDetailResponseData
|
1305
|
-
*/
|
1306
|
-
definition?: EntityKeyDefinitionResponseData;
|
1307
|
-
/**
|
1308
|
-
*
|
1309
|
-
* @type {string}
|
1310
|
-
* @memberof EntityKeyDetailResponseData
|
1311
|
-
*/
|
1312
|
-
definitionId: string;
|
1313
|
-
/**
|
1314
|
-
*
|
1315
|
-
* @type {string}
|
1316
|
-
* @memberof EntityKeyDetailResponseData
|
1317
|
-
*/
|
1318
|
-
entityId: string;
|
1319
|
-
/**
|
1320
|
-
*
|
1321
|
-
* @type {string}
|
1322
|
-
* @memberof EntityKeyDetailResponseData
|
1323
|
-
*/
|
1324
|
-
entityType: string;
|
1325
|
-
/**
|
1326
|
-
*
|
1327
|
-
* @type {string}
|
1328
|
-
* @memberof EntityKeyDetailResponseData
|
1329
|
-
*/
|
1330
|
-
environmentId: string;
|
1331
|
-
/**
|
1332
|
-
*
|
1333
|
-
* @type {string}
|
1334
|
-
* @memberof EntityKeyDetailResponseData
|
1335
|
-
*/
|
1336
|
-
id: string;
|
1337
|
-
/**
|
1338
|
-
*
|
1339
|
-
* @type {string}
|
1340
|
-
* @memberof EntityKeyDetailResponseData
|
1341
|
-
*/
|
1342
|
-
key: string;
|
1343
|
-
/**
|
1344
|
-
*
|
1345
|
-
* @type {Date}
|
1346
|
-
* @memberof EntityKeyDetailResponseData
|
1347
|
-
*/
|
1348
|
-
updatedAt: Date;
|
1349
|
-
/**
|
1350
|
-
*
|
1351
|
-
* @type {string}
|
1352
|
-
* @memberof EntityKeyDetailResponseData
|
1353
|
-
*/
|
1354
|
-
value: string;
|
1355
|
-
}
|
1356
|
-
|
1357
|
-
/**
|
1358
|
-
* Schematic API
|
1359
|
-
* Schematic API
|
1360
|
-
*
|
1361
|
-
* The version of the OpenAPI document: 0.1
|
1362
|
-
*
|
1363
|
-
*
|
1364
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
1365
|
-
* https://openapi-generator.tech
|
1366
|
-
* Do not edit the class manually.
|
1367
|
-
*/
|
1368
|
-
/**
|
1369
|
-
*
|
1370
|
-
* @export
|
1371
|
-
* @interface EntityTraitDefinitionResponseData
|
1372
|
-
*/
|
1373
|
-
declare interface EntityTraitDefinitionResponseData {
|
1374
|
-
/**
|
1375
|
-
*
|
1376
|
-
* @type {Date}
|
1377
|
-
* @memberof EntityTraitDefinitionResponseData
|
1378
|
-
*/
|
1379
|
-
createdAt: Date;
|
1380
|
-
/**
|
1381
|
-
*
|
1382
|
-
* @type {string}
|
1383
|
-
* @memberof EntityTraitDefinitionResponseData
|
1384
|
-
*/
|
1385
|
-
displayName: string;
|
1386
|
-
/**
|
1387
|
-
*
|
1388
|
-
* @type {string}
|
1389
|
-
* @memberof EntityTraitDefinitionResponseData
|
1390
|
-
*/
|
1391
|
-
entityType: string;
|
1392
|
-
/**
|
1393
|
-
*
|
1394
|
-
* @type {Array<string>}
|
1395
|
-
* @memberof EntityTraitDefinitionResponseData
|
1396
|
-
*/
|
1397
|
-
hierarchy: Array<string>;
|
1398
|
-
/**
|
1399
|
-
*
|
1400
|
-
* @type {string}
|
1401
|
-
* @memberof EntityTraitDefinitionResponseData
|
1402
|
-
*/
|
1403
|
-
id: string;
|
1404
|
-
/**
|
1405
|
-
*
|
1406
|
-
* @type {string}
|
1407
|
-
* @memberof EntityTraitDefinitionResponseData
|
1408
|
-
*/
|
1409
|
-
traitType: string;
|
1410
|
-
/**
|
1411
|
-
*
|
1412
|
-
* @type {Date}
|
1413
|
-
* @memberof EntityTraitDefinitionResponseData
|
1414
|
-
*/
|
1415
|
-
updatedAt: Date;
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
/**
|
1419
|
-
*
|
1420
|
-
* @export
|
1421
|
-
* @interface EntityTraitDetailResponseData
|
1422
|
-
*/
|
1423
|
-
declare interface EntityTraitDetailResponseData {
|
1424
|
-
/**
|
1425
|
-
*
|
1426
|
-
* @type {Date}
|
1427
|
-
* @memberof EntityTraitDetailResponseData
|
1428
|
-
*/
|
1429
|
-
createdAt: Date;
|
1430
|
-
/**
|
1431
|
-
*
|
1432
|
-
* @type {EntityTraitDefinitionResponseData}
|
1433
|
-
* @memberof EntityTraitDetailResponseData
|
1434
|
-
*/
|
1435
|
-
definition?: EntityTraitDefinitionResponseData;
|
1436
|
-
/**
|
1437
|
-
*
|
1438
|
-
* @type {string}
|
1439
|
-
* @memberof EntityTraitDetailResponseData
|
1440
|
-
*/
|
1441
|
-
definitionId: string;
|
1442
|
-
/**
|
1443
|
-
*
|
1444
|
-
* @type {string}
|
1445
|
-
* @memberof EntityTraitDetailResponseData
|
1446
|
-
*/
|
1447
|
-
environmentId: string;
|
1448
|
-
/**
|
1449
|
-
*
|
1450
|
-
* @type {string}
|
1451
|
-
* @memberof EntityTraitDetailResponseData
|
1452
|
-
*/
|
1453
|
-
id: string;
|
1454
|
-
/**
|
1455
|
-
*
|
1456
|
-
* @type {Date}
|
1457
|
-
* @memberof EntityTraitDetailResponseData
|
1458
|
-
*/
|
1459
|
-
updatedAt: Date;
|
1460
|
-
/**
|
1461
|
-
*
|
1462
|
-
* @type {string}
|
1463
|
-
* @memberof EntityTraitDetailResponseData
|
1464
|
-
*/
|
1465
|
-
value: string;
|
1466
|
-
}
|
1467
|
-
|
1468
|
-
declare interface ErrorContext {
|
1469
|
-
fetch: FetchAPI;
|
1470
|
-
url: string;
|
1471
|
-
init: RequestInit;
|
1472
|
-
error: unknown;
|
1473
|
-
response?: Response;
|
1474
|
-
}
|
1475
|
-
|
1476
20
|
export { Event_2 as Event }
|
1477
21
|
|
1478
22
|
export { EventBody }
|
@@ -1481,1452 +25,14 @@ export { EventBodyIdentify }
|
|
1481
25
|
|
1482
26
|
export { EventBodyTrack }
|
1483
27
|
|
1484
|
-
/**
|
1485
|
-
* Schematic API
|
1486
|
-
* Schematic API
|
1487
|
-
*
|
1488
|
-
* The version of the OpenAPI document: 0.1
|
1489
|
-
*
|
1490
|
-
*
|
1491
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
1492
|
-
* https://openapi-generator.tech
|
1493
|
-
* Do not edit the class manually.
|
1494
|
-
*/
|
1495
|
-
/**
|
1496
|
-
*
|
1497
|
-
* @export
|
1498
|
-
* @interface EventSummaryResponseData
|
1499
|
-
*/
|
1500
|
-
declare interface EventSummaryResponseData {
|
1501
|
-
/**
|
1502
|
-
*
|
1503
|
-
* @type {number}
|
1504
|
-
* @memberof EventSummaryResponseData
|
1505
|
-
*/
|
1506
|
-
companyCount: number;
|
1507
|
-
/**
|
1508
|
-
*
|
1509
|
-
* @type {string}
|
1510
|
-
* @memberof EventSummaryResponseData
|
1511
|
-
*/
|
1512
|
-
environmentId: string;
|
1513
|
-
/**
|
1514
|
-
*
|
1515
|
-
* @type {number}
|
1516
|
-
* @memberof EventSummaryResponseData
|
1517
|
-
*/
|
1518
|
-
eventCount: number;
|
1519
|
-
/**
|
1520
|
-
*
|
1521
|
-
* @type {string}
|
1522
|
-
* @memberof EventSummaryResponseData
|
1523
|
-
*/
|
1524
|
-
eventSubtype: string;
|
1525
|
-
/**
|
1526
|
-
*
|
1527
|
-
* @type {Date}
|
1528
|
-
* @memberof EventSummaryResponseData
|
1529
|
-
*/
|
1530
|
-
lastSeenAt?: Date | null;
|
1531
|
-
/**
|
1532
|
-
*
|
1533
|
-
* @type {number}
|
1534
|
-
* @memberof EventSummaryResponseData
|
1535
|
-
*/
|
1536
|
-
userCount: number;
|
1537
|
-
}
|
1538
|
-
|
1539
28
|
export { EventType }
|
1540
29
|
|
1541
|
-
/**
|
1542
|
-
*
|
1543
|
-
* @export
|
1544
|
-
* @interface FeatureDetailResponseData
|
1545
|
-
*/
|
1546
|
-
declare interface FeatureDetailResponseData {
|
1547
|
-
/**
|
1548
|
-
*
|
1549
|
-
* @type {Date}
|
1550
|
-
* @memberof FeatureDetailResponseData
|
1551
|
-
*/
|
1552
|
-
createdAt: Date;
|
1553
|
-
/**
|
1554
|
-
*
|
1555
|
-
* @type {string}
|
1556
|
-
* @memberof FeatureDetailResponseData
|
1557
|
-
*/
|
1558
|
-
description: string;
|
1559
|
-
/**
|
1560
|
-
*
|
1561
|
-
* @type {string}
|
1562
|
-
* @memberof FeatureDetailResponseData
|
1563
|
-
*/
|
1564
|
-
eventSubtype?: string | null;
|
1565
|
-
/**
|
1566
|
-
*
|
1567
|
-
* @type {EventSummaryResponseData}
|
1568
|
-
* @memberof FeatureDetailResponseData
|
1569
|
-
*/
|
1570
|
-
eventSummary?: EventSummaryResponseData;
|
1571
|
-
/**
|
1572
|
-
*
|
1573
|
-
* @type {string}
|
1574
|
-
* @memberof FeatureDetailResponseData
|
1575
|
-
*/
|
1576
|
-
featureType: string;
|
1577
|
-
/**
|
1578
|
-
*
|
1579
|
-
* @type {Array<FlagDetailResponseData>}
|
1580
|
-
* @memberof FeatureDetailResponseData
|
1581
|
-
*/
|
1582
|
-
flags: Array<FlagDetailResponseData>;
|
1583
|
-
/**
|
1584
|
-
*
|
1585
|
-
* @type {string}
|
1586
|
-
* @memberof FeatureDetailResponseData
|
1587
|
-
*/
|
1588
|
-
icon: string;
|
1589
|
-
/**
|
1590
|
-
*
|
1591
|
-
* @type {string}
|
1592
|
-
* @memberof FeatureDetailResponseData
|
1593
|
-
*/
|
1594
|
-
id: string;
|
1595
|
-
/**
|
1596
|
-
*
|
1597
|
-
* @type {string}
|
1598
|
-
* @memberof FeatureDetailResponseData
|
1599
|
-
*/
|
1600
|
-
lifecyclePhase?: string | null;
|
1601
|
-
/**
|
1602
|
-
*
|
1603
|
-
* @type {string}
|
1604
|
-
* @memberof FeatureDetailResponseData
|
1605
|
-
*/
|
1606
|
-
maintainerId?: string | null;
|
1607
|
-
/**
|
1608
|
-
*
|
1609
|
-
* @type {string}
|
1610
|
-
* @memberof FeatureDetailResponseData
|
1611
|
-
*/
|
1612
|
-
name: string;
|
1613
|
-
/**
|
1614
|
-
*
|
1615
|
-
* @type {Array<PreviewObject>}
|
1616
|
-
* @memberof FeatureDetailResponseData
|
1617
|
-
*/
|
1618
|
-
plans: Array<PreviewObject>;
|
1619
|
-
/**
|
1620
|
-
*
|
1621
|
-
* @type {EntityTraitDefinitionResponseData}
|
1622
|
-
* @memberof FeatureDetailResponseData
|
1623
|
-
*/
|
1624
|
-
trait?: EntityTraitDefinitionResponseData;
|
1625
|
-
/**
|
1626
|
-
*
|
1627
|
-
* @type {string}
|
1628
|
-
* @memberof FeatureDetailResponseData
|
1629
|
-
*/
|
1630
|
-
traitId?: string | null;
|
1631
|
-
/**
|
1632
|
-
*
|
1633
|
-
* @type {Date}
|
1634
|
-
* @memberof FeatureDetailResponseData
|
1635
|
-
*/
|
1636
|
-
updatedAt: Date;
|
1637
|
-
}
|
1638
|
-
|
1639
|
-
/**
|
1640
|
-
* Schematic API
|
1641
|
-
* Schematic API
|
1642
|
-
*
|
1643
|
-
* The version of the OpenAPI document: 0.1
|
1644
|
-
*
|
1645
|
-
*
|
1646
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
1647
|
-
* https://openapi-generator.tech
|
1648
|
-
* Do not edit the class manually.
|
1649
|
-
*/
|
1650
|
-
/**
|
1651
|
-
*
|
1652
|
-
* @export
|
1653
|
-
* @interface FeatureResponseData
|
1654
|
-
*/
|
1655
|
-
declare interface FeatureResponseData {
|
1656
|
-
/**
|
1657
|
-
*
|
1658
|
-
* @type {Date}
|
1659
|
-
* @memberof FeatureResponseData
|
1660
|
-
*/
|
1661
|
-
createdAt: Date;
|
1662
|
-
/**
|
1663
|
-
*
|
1664
|
-
* @type {string}
|
1665
|
-
* @memberof FeatureResponseData
|
1666
|
-
*/
|
1667
|
-
description: string;
|
1668
|
-
/**
|
1669
|
-
*
|
1670
|
-
* @type {string}
|
1671
|
-
* @memberof FeatureResponseData
|
1672
|
-
*/
|
1673
|
-
eventSubtype?: string | null;
|
1674
|
-
/**
|
1675
|
-
*
|
1676
|
-
* @type {string}
|
1677
|
-
* @memberof FeatureResponseData
|
1678
|
-
*/
|
1679
|
-
featureType: string;
|
1680
|
-
/**
|
1681
|
-
*
|
1682
|
-
* @type {string}
|
1683
|
-
* @memberof FeatureResponseData
|
1684
|
-
*/
|
1685
|
-
icon: string;
|
1686
|
-
/**
|
1687
|
-
*
|
1688
|
-
* @type {string}
|
1689
|
-
* @memberof FeatureResponseData
|
1690
|
-
*/
|
1691
|
-
id: string;
|
1692
|
-
/**
|
1693
|
-
*
|
1694
|
-
* @type {string}
|
1695
|
-
* @memberof FeatureResponseData
|
1696
|
-
*/
|
1697
|
-
lifecyclePhase?: string | null;
|
1698
|
-
/**
|
1699
|
-
*
|
1700
|
-
* @type {string}
|
1701
|
-
* @memberof FeatureResponseData
|
1702
|
-
*/
|
1703
|
-
maintainerId?: string | null;
|
1704
|
-
/**
|
1705
|
-
*
|
1706
|
-
* @type {string}
|
1707
|
-
* @memberof FeatureResponseData
|
1708
|
-
*/
|
1709
|
-
name: string;
|
1710
|
-
/**
|
1711
|
-
*
|
1712
|
-
* @type {string}
|
1713
|
-
* @memberof FeatureResponseData
|
1714
|
-
*/
|
1715
|
-
traitId?: string | null;
|
1716
|
-
/**
|
1717
|
-
*
|
1718
|
-
* @type {Date}
|
1719
|
-
* @memberof FeatureResponseData
|
1720
|
-
*/
|
1721
|
-
updatedAt: Date;
|
1722
|
-
}
|
1723
|
-
|
1724
|
-
/**
|
1725
|
-
*
|
1726
|
-
* @export
|
1727
|
-
* @interface FeatureUsageDetailResponseData
|
1728
|
-
*/
|
1729
|
-
declare interface FeatureUsageDetailResponseData {
|
1730
|
-
/**
|
1731
|
-
*
|
1732
|
-
* @type {Array<FeatureUsageResponseData>}
|
1733
|
-
* @memberof FeatureUsageDetailResponseData
|
1734
|
-
*/
|
1735
|
-
features: Array<FeatureUsageResponseData>;
|
1736
|
-
}
|
1737
|
-
|
1738
|
-
/**
|
1739
|
-
*
|
1740
|
-
* @export
|
1741
|
-
* @interface FeatureUsageResponseData
|
1742
|
-
*/
|
1743
|
-
declare interface FeatureUsageResponseData {
|
1744
|
-
/**
|
1745
|
-
* Whether further usage is permitted.
|
1746
|
-
* @type {boolean}
|
1747
|
-
* @memberof FeatureUsageResponseData
|
1748
|
-
*/
|
1749
|
-
access: boolean;
|
1750
|
-
/**
|
1751
|
-
* The maximum amount of usage that is permitted; a null value indicates that unlimited usage is permitted.
|
1752
|
-
* @type {number}
|
1753
|
-
* @memberof FeatureUsageResponseData
|
1754
|
-
*/
|
1755
|
-
allocation?: number | null;
|
1756
|
-
/**
|
1757
|
-
* The type of allocation that is being used.
|
1758
|
-
* @type {string}
|
1759
|
-
* @memberof FeatureUsageResponseData
|
1760
|
-
*/
|
1761
|
-
allocationType: FeatureUsageResponseDataAllocationTypeEnum;
|
1762
|
-
/**
|
1763
|
-
*
|
1764
|
-
* @type {string}
|
1765
|
-
* @memberof FeatureUsageResponseData
|
1766
|
-
*/
|
1767
|
-
entitlementId: string;
|
1768
|
-
/**
|
1769
|
-
*
|
1770
|
-
* @type {string}
|
1771
|
-
* @memberof FeatureUsageResponseData
|
1772
|
-
*/
|
1773
|
-
entitlementType: string;
|
1774
|
-
/**
|
1775
|
-
*
|
1776
|
-
* @type {FeatureDetailResponseData}
|
1777
|
-
* @memberof FeatureUsageResponseData
|
1778
|
-
*/
|
1779
|
-
feature?: FeatureDetailResponseData;
|
1780
|
-
/**
|
1781
|
-
* The period over which usage is measured.
|
1782
|
-
* @type {string}
|
1783
|
-
* @memberof FeatureUsageResponseData
|
1784
|
-
*/
|
1785
|
-
period?: string | null;
|
1786
|
-
/**
|
1787
|
-
*
|
1788
|
-
* @type {PlanResponseData}
|
1789
|
-
* @memberof FeatureUsageResponseData
|
1790
|
-
*/
|
1791
|
-
plan?: PlanResponseData;
|
1792
|
-
/**
|
1793
|
-
* The amount of usage that has been consumed; a null value indicates that usage is not being measured.
|
1794
|
-
* @type {number}
|
1795
|
-
* @memberof FeatureUsageResponseData
|
1796
|
-
*/
|
1797
|
-
usage?: number | null;
|
1798
|
-
}
|
1799
|
-
|
1800
|
-
/**
|
1801
|
-
* @export
|
1802
|
-
*/
|
1803
|
-
declare const FeatureUsageResponseDataAllocationTypeEnum: {
|
1804
|
-
readonly Boolean: "boolean";
|
1805
|
-
readonly Numeric: "numeric";
|
1806
|
-
readonly Trait: "trait";
|
1807
|
-
readonly Unlimited: "unlimited";
|
1808
|
-
};
|
1809
|
-
|
1810
|
-
declare type FeatureUsageResponseDataAllocationTypeEnum = (typeof FeatureUsageResponseDataAllocationTypeEnum)[keyof typeof FeatureUsageResponseDataAllocationTypeEnum];
|
1811
|
-
|
1812
|
-
declare type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
|
1813
|
-
|
1814
|
-
declare class FetchError extends Error {
|
1815
|
-
cause: Error;
|
1816
|
-
name: "FetchError";
|
1817
|
-
constructor(cause: Error, msg?: string);
|
1818
|
-
}
|
1819
|
-
|
1820
|
-
declare interface FetchParams {
|
1821
|
-
url: string;
|
1822
|
-
init: RequestInit;
|
1823
|
-
}
|
1824
|
-
|
1825
30
|
export { FlagCheckResponseBody }
|
1826
31
|
|
1827
32
|
export { FlagCheckWithKeyResponseBody }
|
1828
33
|
|
1829
|
-
/**
|
1830
|
-
*
|
1831
|
-
* @export
|
1832
|
-
* @interface FlagDetailResponseData
|
1833
|
-
*/
|
1834
|
-
declare interface FlagDetailResponseData {
|
1835
|
-
/**
|
1836
|
-
*
|
1837
|
-
* @type {Date}
|
1838
|
-
* @memberof FlagDetailResponseData
|
1839
|
-
*/
|
1840
|
-
createdAt: Date;
|
1841
|
-
/**
|
1842
|
-
*
|
1843
|
-
* @type {boolean}
|
1844
|
-
* @memberof FlagDetailResponseData
|
1845
|
-
*/
|
1846
|
-
defaultValue: boolean;
|
1847
|
-
/**
|
1848
|
-
*
|
1849
|
-
* @type {string}
|
1850
|
-
* @memberof FlagDetailResponseData
|
1851
|
-
*/
|
1852
|
-
description: string;
|
1853
|
-
/**
|
1854
|
-
*
|
1855
|
-
* @type {FeatureResponseData}
|
1856
|
-
* @memberof FlagDetailResponseData
|
1857
|
-
*/
|
1858
|
-
feature?: FeatureResponseData;
|
1859
|
-
/**
|
1860
|
-
*
|
1861
|
-
* @type {string}
|
1862
|
-
* @memberof FlagDetailResponseData
|
1863
|
-
*/
|
1864
|
-
featureId?: string | null;
|
1865
|
-
/**
|
1866
|
-
*
|
1867
|
-
* @type {string}
|
1868
|
-
* @memberof FlagDetailResponseData
|
1869
|
-
*/
|
1870
|
-
flagType: string;
|
1871
|
-
/**
|
1872
|
-
*
|
1873
|
-
* @type {string}
|
1874
|
-
* @memberof FlagDetailResponseData
|
1875
|
-
*/
|
1876
|
-
id: string;
|
1877
|
-
/**
|
1878
|
-
*
|
1879
|
-
* @type {string}
|
1880
|
-
* @memberof FlagDetailResponseData
|
1881
|
-
*/
|
1882
|
-
key: string;
|
1883
|
-
/**
|
1884
|
-
*
|
1885
|
-
* @type {Date}
|
1886
|
-
* @memberof FlagDetailResponseData
|
1887
|
-
*/
|
1888
|
-
lastCheckedAt?: Date | null;
|
1889
|
-
/**
|
1890
|
-
*
|
1891
|
-
* @type {string}
|
1892
|
-
* @memberof FlagDetailResponseData
|
1893
|
-
*/
|
1894
|
-
maintainerId?: string | null;
|
1895
|
-
/**
|
1896
|
-
*
|
1897
|
-
* @type {string}
|
1898
|
-
* @memberof FlagDetailResponseData
|
1899
|
-
*/
|
1900
|
-
name: string;
|
1901
|
-
/**
|
1902
|
-
*
|
1903
|
-
* @type {Array<RuleDetailResponseData>}
|
1904
|
-
* @memberof FlagDetailResponseData
|
1905
|
-
*/
|
1906
|
-
rules: Array<RuleDetailResponseData>;
|
1907
|
-
/**
|
1908
|
-
*
|
1909
|
-
* @type {Date}
|
1910
|
-
* @memberof FlagDetailResponseData
|
1911
|
-
*/
|
1912
|
-
updatedAt: Date;
|
1913
|
-
}
|
1914
|
-
|
1915
|
-
export declare const Flex: IStyledComponentBase<"web", FastOmit<Omit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ComponentProps> & ComponentProps, "ref"> & {
|
1916
|
-
ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
|
1917
|
-
}, never>> & string;
|
1918
|
-
|
1919
|
-
declare type FontStyle = keyof EmbedThemeSettings["typography"];
|
1920
|
-
|
1921
|
-
declare type HTTPBody = Json | FormData | URLSearchParams;
|
1922
|
-
|
1923
|
-
declare type HTTPHeaders = {
|
1924
|
-
[key: string]: string;
|
1925
|
-
};
|
1926
|
-
|
1927
|
-
declare type HTTPMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD";
|
1928
|
-
|
1929
|
-
declare type HTTPQuery = {
|
1930
|
-
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
1931
|
-
};
|
1932
|
-
|
1933
|
-
declare type HTTPRequestInit = {
|
1934
|
-
headers?: HTTPHeaders;
|
1935
|
-
method: HTTPMethod;
|
1936
|
-
credentials?: RequestCredentials;
|
1937
|
-
body?: HTTPBody;
|
1938
|
-
};
|
1939
|
-
|
1940
|
-
declare interface HydrateComponentRequest {
|
1941
|
-
componentId: string;
|
1942
|
-
}
|
1943
|
-
|
1944
|
-
/**
|
1945
|
-
*
|
1946
|
-
* @export
|
1947
|
-
* @interface HydrateComponentResponse
|
1948
|
-
*/
|
1949
|
-
declare interface HydrateComponentResponse {
|
1950
|
-
/**
|
1951
|
-
*
|
1952
|
-
* @type {ComponentHydrateResponseData}
|
1953
|
-
* @memberof HydrateComponentResponse
|
1954
|
-
*/
|
1955
|
-
data: ComponentHydrateResponseData;
|
1956
|
-
/**
|
1957
|
-
* Input parameters
|
1958
|
-
* @type {object}
|
1959
|
-
* @memberof HydrateComponentResponse
|
1960
|
-
*/
|
1961
|
-
params: object;
|
1962
|
-
}
|
1963
|
-
|
1964
|
-
export declare const Icon: ({ name, className, ...props }: IconProps) => JSX_2.Element;
|
1965
|
-
|
1966
|
-
export declare type IconNameTypes = keyof typeof _default;
|
1967
|
-
|
1968
|
-
export declare interface IconProps extends React.HTMLAttributes<HTMLElement> {
|
1969
|
-
name: IconNameTypes;
|
1970
|
-
}
|
1971
|
-
|
1972
|
-
export declare const IconRound: ({ name, variant, size, colors, ...props }: IconRoundProps) => JSX_2.Element;
|
1973
|
-
|
1974
|
-
export declare interface IconRoundProps extends React.HTMLAttributes<HTMLElement> {
|
1975
|
-
name: IconNameTypes;
|
1976
|
-
variant?: "outline" | "filled";
|
1977
|
-
size?: "tn" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
1978
|
-
colors?: [string, string];
|
1979
|
-
}
|
1980
|
-
|
1981
|
-
export declare const IncludedFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_2> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
1982
|
-
|
1983
|
-
export declare type IncludedFeaturesProps = DesignProps_2;
|
1984
|
-
|
1985
|
-
declare type InitOverrideFunction = (requestContext: {
|
1986
|
-
init: HTTPRequestInit;
|
1987
|
-
context: RequestOpts;
|
1988
|
-
}) => Promise<RequestInit>;
|
1989
|
-
|
1990
|
-
/**
|
1991
|
-
* Schematic API
|
1992
|
-
* Schematic API
|
1993
|
-
*
|
1994
|
-
* The version of the OpenAPI document: 0.1
|
1995
|
-
*
|
1996
|
-
*
|
1997
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
1998
|
-
* https://openapi-generator.tech
|
1999
|
-
* Do not edit the class manually.
|
2000
|
-
*/
|
2001
|
-
/**
|
2002
|
-
*
|
2003
|
-
* @export
|
2004
|
-
* @interface InvoiceResponseData
|
2005
|
-
*/
|
2006
|
-
declare interface InvoiceResponseData {
|
2007
|
-
/**
|
2008
|
-
*
|
2009
|
-
* @type {number}
|
2010
|
-
* @memberof InvoiceResponseData
|
2011
|
-
*/
|
2012
|
-
amountDue: number;
|
2013
|
-
/**
|
2014
|
-
*
|
2015
|
-
* @type {number}
|
2016
|
-
* @memberof InvoiceResponseData
|
2017
|
-
*/
|
2018
|
-
amountPaid: number;
|
2019
|
-
/**
|
2020
|
-
*
|
2021
|
-
* @type {number}
|
2022
|
-
* @memberof InvoiceResponseData
|
2023
|
-
*/
|
2024
|
-
amountRemaining: number;
|
2025
|
-
/**
|
2026
|
-
*
|
2027
|
-
* @type {string}
|
2028
|
-
* @memberof InvoiceResponseData
|
2029
|
-
*/
|
2030
|
-
collectionMethod: string;
|
2031
|
-
/**
|
2032
|
-
*
|
2033
|
-
* @type {string}
|
2034
|
-
* @memberof InvoiceResponseData
|
2035
|
-
*/
|
2036
|
-
companyId?: string | null;
|
2037
|
-
/**
|
2038
|
-
*
|
2039
|
-
* @type {Date}
|
2040
|
-
* @memberof InvoiceResponseData
|
2041
|
-
*/
|
2042
|
-
createdAt: Date;
|
2043
|
-
/**
|
2044
|
-
*
|
2045
|
-
* @type {string}
|
2046
|
-
* @memberof InvoiceResponseData
|
2047
|
-
*/
|
2048
|
-
currency: string;
|
2049
|
-
/**
|
2050
|
-
*
|
2051
|
-
* @type {string}
|
2052
|
-
* @memberof InvoiceResponseData
|
2053
|
-
*/
|
2054
|
-
customerExternalId: string;
|
2055
|
-
/**
|
2056
|
-
*
|
2057
|
-
* @type {Date}
|
2058
|
-
* @memberof InvoiceResponseData
|
2059
|
-
*/
|
2060
|
-
dueDate?: Date | null;
|
2061
|
-
/**
|
2062
|
-
*
|
2063
|
-
* @type {string}
|
2064
|
-
* @memberof InvoiceResponseData
|
2065
|
-
*/
|
2066
|
-
environmentId: string;
|
2067
|
-
/**
|
2068
|
-
*
|
2069
|
-
* @type {string}
|
2070
|
-
* @memberof InvoiceResponseData
|
2071
|
-
*/
|
2072
|
-
externalId?: string | null;
|
2073
|
-
/**
|
2074
|
-
*
|
2075
|
-
* @type {string}
|
2076
|
-
* @memberof InvoiceResponseData
|
2077
|
-
*/
|
2078
|
-
id: string;
|
2079
|
-
/**
|
2080
|
-
*
|
2081
|
-
* @type {string}
|
2082
|
-
* @memberof InvoiceResponseData
|
2083
|
-
*/
|
2084
|
-
paymentMethodExternalId?: string | null;
|
2085
|
-
/**
|
2086
|
-
*
|
2087
|
-
* @type {string}
|
2088
|
-
* @memberof InvoiceResponseData
|
2089
|
-
*/
|
2090
|
-
subscriptionExternalId?: string | null;
|
2091
|
-
/**
|
2092
|
-
*
|
2093
|
-
* @type {number}
|
2094
|
-
* @memberof InvoiceResponseData
|
2095
|
-
*/
|
2096
|
-
subtotal: number;
|
2097
|
-
/**
|
2098
|
-
*
|
2099
|
-
* @type {Date}
|
2100
|
-
* @memberof InvoiceResponseData
|
2101
|
-
*/
|
2102
|
-
updatedAt: Date;
|
2103
|
-
}
|
2104
|
-
|
2105
|
-
export declare const Invoices: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_6> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
2106
|
-
|
2107
|
-
export declare type InvoicesProps = DesignProps_6;
|
2108
|
-
|
2109
|
-
declare type Json = any;
|
2110
|
-
|
2111
|
-
declare class JSONApiResponse<T> {
|
2112
|
-
raw: Response;
|
2113
|
-
private transformer;
|
2114
|
-
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
2115
|
-
value(): Promise<T>;
|
2116
|
-
}
|
2117
|
-
|
2118
34
|
export { Keys }
|
2119
35
|
|
2120
|
-
export declare const Loader: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
2121
|
-
|
2122
|
-
declare function mapValues(data: any, fn: (item: any) => any): {};
|
2123
|
-
|
2124
|
-
export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_3> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
2125
|
-
|
2126
|
-
export declare type MeteredFeaturesProps = DesignProps_3;
|
2127
|
-
|
2128
|
-
declare interface Middleware {
|
2129
|
-
pre?(context: RequestContext): Promise<FetchParams | void>;
|
2130
|
-
post?(context: ResponseContext): Promise<Response | void>;
|
2131
|
-
onError?(context: ErrorContext): Promise<Response | void>;
|
2132
|
-
}
|
2133
|
-
|
2134
|
-
export declare const Modal: ({ children, size, onClose }: ModalProps) => JSX_2.Element;
|
2135
|
-
|
2136
|
-
export declare const ModalHeader: ({ children, bordered, onClose, }: ModalHeaderProps) => JSX_2.Element;
|
2137
|
-
|
2138
|
-
declare interface ModalHeaderProps {
|
2139
|
-
children?: React.ReactNode;
|
2140
|
-
bordered?: boolean;
|
2141
|
-
onClose?: () => void;
|
2142
|
-
}
|
2143
|
-
|
2144
|
-
declare interface ModalProps {
|
2145
|
-
children: React.ReactNode;
|
2146
|
-
size?: "sm" | "md" | "lg" | "auto";
|
2147
|
-
onClose?: () => void;
|
2148
|
-
}
|
2149
|
-
|
2150
|
-
declare type ModelPropertyNaming = "camelCase" | "snake_case" | "PascalCase" | "original";
|
2151
|
-
|
2152
|
-
export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
|
2153
|
-
portal?: HTMLElement | null;
|
2154
|
-
} & RefAttributes<HTMLDivElement | null>>;
|
2155
|
-
|
2156
|
-
export declare type PaymentMethodProps = DesignProps_5;
|
2157
|
-
|
2158
|
-
/**
|
2159
|
-
* Schematic API
|
2160
|
-
* Schematic API
|
2161
|
-
*
|
2162
|
-
* The version of the OpenAPI document: 0.1
|
2163
|
-
*
|
2164
|
-
*
|
2165
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
2166
|
-
* https://openapi-generator.tech
|
2167
|
-
* Do not edit the class manually.
|
2168
|
-
*/
|
2169
|
-
/**
|
2170
|
-
*
|
2171
|
-
* @export
|
2172
|
-
* @interface PaymentMethodResponseData
|
2173
|
-
*/
|
2174
|
-
declare interface PaymentMethodResponseData {
|
2175
|
-
/**
|
2176
|
-
*
|
2177
|
-
* @type {string}
|
2178
|
-
* @memberof PaymentMethodResponseData
|
2179
|
-
*/
|
2180
|
-
cardBrand?: string | null;
|
2181
|
-
/**
|
2182
|
-
*
|
2183
|
-
* @type {number}
|
2184
|
-
* @memberof PaymentMethodResponseData
|
2185
|
-
*/
|
2186
|
-
cardExpMonth?: number | null;
|
2187
|
-
/**
|
2188
|
-
*
|
2189
|
-
* @type {number}
|
2190
|
-
* @memberof PaymentMethodResponseData
|
2191
|
-
*/
|
2192
|
-
cardExpYear?: number | null;
|
2193
|
-
/**
|
2194
|
-
*
|
2195
|
-
* @type {string}
|
2196
|
-
* @memberof PaymentMethodResponseData
|
2197
|
-
*/
|
2198
|
-
cardLast4?: string | null;
|
2199
|
-
/**
|
2200
|
-
*
|
2201
|
-
* @type {string}
|
2202
|
-
* @memberof PaymentMethodResponseData
|
2203
|
-
*/
|
2204
|
-
companyId?: string | null;
|
2205
|
-
/**
|
2206
|
-
*
|
2207
|
-
* @type {Date}
|
2208
|
-
* @memberof PaymentMethodResponseData
|
2209
|
-
*/
|
2210
|
-
createdAt: Date;
|
2211
|
-
/**
|
2212
|
-
*
|
2213
|
-
* @type {string}
|
2214
|
-
* @memberof PaymentMethodResponseData
|
2215
|
-
*/
|
2216
|
-
customerExternalId: string;
|
2217
|
-
/**
|
2218
|
-
*
|
2219
|
-
* @type {string}
|
2220
|
-
* @memberof PaymentMethodResponseData
|
2221
|
-
*/
|
2222
|
-
environmentId: string;
|
2223
|
-
/**
|
2224
|
-
*
|
2225
|
-
* @type {string}
|
2226
|
-
* @memberof PaymentMethodResponseData
|
2227
|
-
*/
|
2228
|
-
externalId: string;
|
2229
|
-
/**
|
2230
|
-
*
|
2231
|
-
* @type {string}
|
2232
|
-
* @memberof PaymentMethodResponseData
|
2233
|
-
*/
|
2234
|
-
id: string;
|
2235
|
-
/**
|
2236
|
-
*
|
2237
|
-
* @type {string}
|
2238
|
-
* @memberof PaymentMethodResponseData
|
2239
|
-
*/
|
2240
|
-
paymentMethodType: string;
|
2241
|
-
/**
|
2242
|
-
*
|
2243
|
-
* @type {string}
|
2244
|
-
* @memberof PaymentMethodResponseData
|
2245
|
-
*/
|
2246
|
-
subscriptionExternalId?: string | null;
|
2247
|
-
/**
|
2248
|
-
*
|
2249
|
-
* @type {Date}
|
2250
|
-
* @memberof PaymentMethodResponseData
|
2251
|
-
*/
|
2252
|
-
updatedAt: Date;
|
2253
|
-
}
|
2254
|
-
|
2255
|
-
/**
|
2256
|
-
*
|
2257
|
-
* @export
|
2258
|
-
* @interface PlanEntitlementResponseData
|
2259
|
-
*/
|
2260
|
-
declare interface PlanEntitlementResponseData {
|
2261
|
-
/**
|
2262
|
-
*
|
2263
|
-
* @type {Date}
|
2264
|
-
* @memberof PlanEntitlementResponseData
|
2265
|
-
*/
|
2266
|
-
createdAt: Date;
|
2267
|
-
/**
|
2268
|
-
*
|
2269
|
-
* @type {string}
|
2270
|
-
* @memberof PlanEntitlementResponseData
|
2271
|
-
*/
|
2272
|
-
environmentId: string;
|
2273
|
-
/**
|
2274
|
-
*
|
2275
|
-
* @type {FeatureResponseData}
|
2276
|
-
* @memberof PlanEntitlementResponseData
|
2277
|
-
*/
|
2278
|
-
feature?: FeatureResponseData;
|
2279
|
-
/**
|
2280
|
-
*
|
2281
|
-
* @type {string}
|
2282
|
-
* @memberof PlanEntitlementResponseData
|
2283
|
-
*/
|
2284
|
-
featureId: string;
|
2285
|
-
/**
|
2286
|
-
*
|
2287
|
-
* @type {string}
|
2288
|
-
* @memberof PlanEntitlementResponseData
|
2289
|
-
*/
|
2290
|
-
id: string;
|
2291
|
-
/**
|
2292
|
-
*
|
2293
|
-
* @type {string}
|
2294
|
-
* @memberof PlanEntitlementResponseData
|
2295
|
-
*/
|
2296
|
-
metricPeriod?: string | null;
|
2297
|
-
/**
|
2298
|
-
*
|
2299
|
-
* @type {PlanResponseData}
|
2300
|
-
* @memberof PlanEntitlementResponseData
|
2301
|
-
*/
|
2302
|
-
plan?: PlanResponseData;
|
2303
|
-
/**
|
2304
|
-
*
|
2305
|
-
* @type {string}
|
2306
|
-
* @memberof PlanEntitlementResponseData
|
2307
|
-
*/
|
2308
|
-
planId: string;
|
2309
|
-
/**
|
2310
|
-
*
|
2311
|
-
* @type {string}
|
2312
|
-
* @memberof PlanEntitlementResponseData
|
2313
|
-
*/
|
2314
|
-
ruleId: string;
|
2315
|
-
/**
|
2316
|
-
*
|
2317
|
-
* @type {Date}
|
2318
|
-
* @memberof PlanEntitlementResponseData
|
2319
|
-
*/
|
2320
|
-
updatedAt: Date;
|
2321
|
-
/**
|
2322
|
-
*
|
2323
|
-
* @type {boolean}
|
2324
|
-
* @memberof PlanEntitlementResponseData
|
2325
|
-
*/
|
2326
|
-
valueBool?: boolean | null;
|
2327
|
-
/**
|
2328
|
-
*
|
2329
|
-
* @type {number}
|
2330
|
-
* @memberof PlanEntitlementResponseData
|
2331
|
-
*/
|
2332
|
-
valueNumeric?: number | null;
|
2333
|
-
/**
|
2334
|
-
*
|
2335
|
-
* @type {EntityTraitDefinitionResponseData}
|
2336
|
-
* @memberof PlanEntitlementResponseData
|
2337
|
-
*/
|
2338
|
-
valueTrait?: EntityTraitDefinitionResponseData;
|
2339
|
-
/**
|
2340
|
-
*
|
2341
|
-
* @type {string}
|
2342
|
-
* @memberof PlanEntitlementResponseData
|
2343
|
-
*/
|
2344
|
-
valueTraitId?: string | null;
|
2345
|
-
/**
|
2346
|
-
*
|
2347
|
-
* @type {string}
|
2348
|
-
* @memberof PlanEntitlementResponseData
|
2349
|
-
*/
|
2350
|
-
valueType: string;
|
2351
|
-
}
|
2352
|
-
|
2353
|
-
export declare const PlanManager: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps> & HTMLAttributes<HTMLDivElement> & {
|
2354
|
-
portal?: HTMLElement | null;
|
2355
|
-
} & RefAttributes<HTMLDivElement | null>>;
|
2356
|
-
|
2357
|
-
export declare type PlanManagerProps = DesignProps;
|
2358
|
-
|
2359
|
-
/**
|
2360
|
-
* Schematic API
|
2361
|
-
* Schematic API
|
2362
|
-
*
|
2363
|
-
* The version of the OpenAPI document: 0.1
|
2364
|
-
*
|
2365
|
-
*
|
2366
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
2367
|
-
* https://openapi-generator.tech
|
2368
|
-
* Do not edit the class manually.
|
2369
|
-
*/
|
2370
|
-
/**
|
2371
|
-
*
|
2372
|
-
* @export
|
2373
|
-
* @interface PlanResponseData
|
2374
|
-
*/
|
2375
|
-
declare interface PlanResponseData {
|
2376
|
-
/**
|
2377
|
-
*
|
2378
|
-
* @type {string}
|
2379
|
-
* @memberof PlanResponseData
|
2380
|
-
*/
|
2381
|
-
audienceType?: string | null;
|
2382
|
-
/**
|
2383
|
-
*
|
2384
|
-
* @type {Date}
|
2385
|
-
* @memberof PlanResponseData
|
2386
|
-
*/
|
2387
|
-
createdAt: Date;
|
2388
|
-
/**
|
2389
|
-
*
|
2390
|
-
* @type {string}
|
2391
|
-
* @memberof PlanResponseData
|
2392
|
-
*/
|
2393
|
-
description: string;
|
2394
|
-
/**
|
2395
|
-
*
|
2396
|
-
* @type {string}
|
2397
|
-
* @memberof PlanResponseData
|
2398
|
-
*/
|
2399
|
-
icon: string;
|
2400
|
-
/**
|
2401
|
-
*
|
2402
|
-
* @type {string}
|
2403
|
-
* @memberof PlanResponseData
|
2404
|
-
*/
|
2405
|
-
id: string;
|
2406
|
-
/**
|
2407
|
-
*
|
2408
|
-
* @type {string}
|
2409
|
-
* @memberof PlanResponseData
|
2410
|
-
*/
|
2411
|
-
name: string;
|
2412
|
-
/**
|
2413
|
-
*
|
2414
|
-
* @type {string}
|
2415
|
-
* @memberof PlanResponseData
|
2416
|
-
*/
|
2417
|
-
planType: string;
|
2418
|
-
/**
|
2419
|
-
*
|
2420
|
-
* @type {Date}
|
2421
|
-
* @memberof PlanResponseData
|
2422
|
-
*/
|
2423
|
-
updatedAt: Date;
|
2424
|
-
}
|
2425
|
-
|
2426
|
-
declare interface PreviewCheckoutRequest {
|
2427
|
-
changeSubscriptionRequestBody: ChangeSubscriptionRequestBody;
|
2428
|
-
}
|
2429
|
-
|
2430
|
-
/**
|
2431
|
-
*
|
2432
|
-
* @export
|
2433
|
-
* @interface PreviewCheckoutResponse
|
2434
|
-
*/
|
2435
|
-
declare interface PreviewCheckoutResponse {
|
2436
|
-
/**
|
2437
|
-
*
|
2438
|
-
* @type {PreviewSubscriptionChangeResponseData}
|
2439
|
-
* @memberof PreviewCheckoutResponse
|
2440
|
-
*/
|
2441
|
-
data: PreviewSubscriptionChangeResponseData;
|
2442
|
-
/**
|
2443
|
-
* Input parameters
|
2444
|
-
* @type {object}
|
2445
|
-
* @memberof PreviewCheckoutResponse
|
2446
|
-
*/
|
2447
|
-
params: object;
|
2448
|
-
}
|
2449
|
-
|
2450
|
-
/**
|
2451
|
-
* Schematic API
|
2452
|
-
* Schematic API
|
2453
|
-
*
|
2454
|
-
* The version of the OpenAPI document: 0.1
|
2455
|
-
*
|
2456
|
-
*
|
2457
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
2458
|
-
* https://openapi-generator.tech
|
2459
|
-
* Do not edit the class manually.
|
2460
|
-
*/
|
2461
|
-
/**
|
2462
|
-
*
|
2463
|
-
* @export
|
2464
|
-
* @interface PreviewObject
|
2465
|
-
*/
|
2466
|
-
declare interface PreviewObject {
|
2467
|
-
/**
|
2468
|
-
*
|
2469
|
-
* @type {string}
|
2470
|
-
* @memberof PreviewObject
|
2471
|
-
*/
|
2472
|
-
description?: string | null;
|
2473
|
-
/**
|
2474
|
-
*
|
2475
|
-
* @type {string}
|
2476
|
-
* @memberof PreviewObject
|
2477
|
-
*/
|
2478
|
-
id: string;
|
2479
|
-
/**
|
2480
|
-
*
|
2481
|
-
* @type {string}
|
2482
|
-
* @memberof PreviewObject
|
2483
|
-
*/
|
2484
|
-
imageUrl?: string | null;
|
2485
|
-
/**
|
2486
|
-
*
|
2487
|
-
* @type {string}
|
2488
|
-
* @memberof PreviewObject
|
2489
|
-
*/
|
2490
|
-
name: string;
|
2491
|
-
}
|
2492
|
-
|
2493
|
-
/**
|
2494
|
-
* Schematic API
|
2495
|
-
* Schematic API
|
2496
|
-
*
|
2497
|
-
* The version of the OpenAPI document: 0.1
|
2498
|
-
*
|
2499
|
-
*
|
2500
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
2501
|
-
* https://openapi-generator.tech
|
2502
|
-
* Do not edit the class manually.
|
2503
|
-
*/
|
2504
|
-
/**
|
2505
|
-
* The created resource
|
2506
|
-
* @export
|
2507
|
-
* @interface PreviewSubscriptionChangeResponseData
|
2508
|
-
*/
|
2509
|
-
declare interface PreviewSubscriptionChangeResponseData {
|
2510
|
-
/**
|
2511
|
-
*
|
2512
|
-
* @type {number}
|
2513
|
-
* @memberof PreviewSubscriptionChangeResponseData
|
2514
|
-
*/
|
2515
|
-
dueNow: number;
|
2516
|
-
/**
|
2517
|
-
*
|
2518
|
-
* @type {number}
|
2519
|
-
* @memberof PreviewSubscriptionChangeResponseData
|
2520
|
-
*/
|
2521
|
-
newCharges: number;
|
2522
|
-
/**
|
2523
|
-
*
|
2524
|
-
* @type {number}
|
2525
|
-
* @memberof PreviewSubscriptionChangeResponseData
|
2526
|
-
*/
|
2527
|
-
proration: number;
|
2528
|
-
}
|
2529
|
-
|
2530
|
-
export declare const ProgressBar: ({ progress, value, total, color, barWidth, ...props }: ProgressBarProps) => JSX_2.Element;
|
2531
|
-
|
2532
|
-
export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef<typeof Flex> {
|
2533
|
-
progress: number;
|
2534
|
-
value: number;
|
2535
|
-
total?: number | string;
|
2536
|
-
color?: "gray" | "orange" | "blue" | "red";
|
2537
|
-
barWidth?: string | number;
|
2538
|
-
}
|
2539
|
-
|
2540
|
-
declare function querystring(params: HTTPQuery, prefix?: string): string;
|
2541
|
-
|
2542
|
-
declare type RecursivePartial<T> = {
|
2543
|
-
[P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object | undefined ? RecursivePartial<T[P]> : T[P];
|
2544
|
-
};
|
2545
|
-
|
2546
|
-
declare interface RequestContext {
|
2547
|
-
fetch: FetchAPI;
|
2548
|
-
url: string;
|
2549
|
-
init: RequestInit;
|
2550
|
-
}
|
2551
|
-
|
2552
|
-
declare interface RequestOpts {
|
2553
|
-
path: string;
|
2554
|
-
method: HTTPMethod;
|
2555
|
-
headers: HTTPHeaders;
|
2556
|
-
query?: HTTPQuery;
|
2557
|
-
body?: HTTPBody;
|
2558
|
-
}
|
2559
|
-
|
2560
|
-
declare class RequiredError extends Error {
|
2561
|
-
field: string;
|
2562
|
-
name: "RequiredError";
|
2563
|
-
constructor(field: string, msg?: string);
|
2564
|
-
}
|
2565
|
-
|
2566
|
-
declare interface ResponseContext {
|
2567
|
-
fetch: FetchAPI;
|
2568
|
-
url: string;
|
2569
|
-
init: RequestInit;
|
2570
|
-
response: Response;
|
2571
|
-
}
|
2572
|
-
|
2573
|
-
declare class ResponseError extends Error {
|
2574
|
-
response: Response;
|
2575
|
-
name: "ResponseError";
|
2576
|
-
constructor(response: Response, msg?: string);
|
2577
|
-
}
|
2578
|
-
|
2579
|
-
declare interface ResponseTransformer<T> {
|
2580
|
-
(json: any): T;
|
2581
|
-
}
|
2582
|
-
|
2583
|
-
export declare const Root: ForwardRefExoticComponent<Omit<RootProps, "ref"> & RefAttributes<HTMLDivElement | null>>;
|
2584
|
-
|
2585
|
-
export declare interface RootProps extends Omit<React.HTMLProps<HTMLDivElement>, "data"> {
|
2586
|
-
data?: ComponentHydrateResponseData;
|
2587
|
-
settings?: EmbedSettings;
|
2588
|
-
}
|
2589
|
-
|
2590
|
-
/**
|
2591
|
-
*
|
2592
|
-
* @export
|
2593
|
-
* @interface RuleConditionDetailResponseData
|
2594
|
-
*/
|
2595
|
-
declare interface RuleConditionDetailResponseData {
|
2596
|
-
/**
|
2597
|
-
*
|
2598
|
-
* @type {EntityTraitDefinitionResponseData}
|
2599
|
-
* @memberof RuleConditionDetailResponseData
|
2600
|
-
*/
|
2601
|
-
comparisonTrait?: EntityTraitDefinitionResponseData;
|
2602
|
-
/**
|
2603
|
-
*
|
2604
|
-
* @type {string}
|
2605
|
-
* @memberof RuleConditionDetailResponseData
|
2606
|
-
*/
|
2607
|
-
comparisonTraitId?: string | null;
|
2608
|
-
/**
|
2609
|
-
*
|
2610
|
-
* @type {string}
|
2611
|
-
* @memberof RuleConditionDetailResponseData
|
2612
|
-
*/
|
2613
|
-
conditionGroupId?: string | null;
|
2614
|
-
/**
|
2615
|
-
*
|
2616
|
-
* @type {string}
|
2617
|
-
* @memberof RuleConditionDetailResponseData
|
2618
|
-
*/
|
2619
|
-
conditionType: string;
|
2620
|
-
/**
|
2621
|
-
*
|
2622
|
-
* @type {Date}
|
2623
|
-
* @memberof RuleConditionDetailResponseData
|
2624
|
-
*/
|
2625
|
-
createdAt: Date;
|
2626
|
-
/**
|
2627
|
-
*
|
2628
|
-
* @type {string}
|
2629
|
-
* @memberof RuleConditionDetailResponseData
|
2630
|
-
*/
|
2631
|
-
environmentId: string;
|
2632
|
-
/**
|
2633
|
-
*
|
2634
|
-
* @type {string}
|
2635
|
-
* @memberof RuleConditionDetailResponseData
|
2636
|
-
*/
|
2637
|
-
eventSubtype?: string | null;
|
2638
|
-
/**
|
2639
|
-
*
|
2640
|
-
* @type {string}
|
2641
|
-
* @memberof RuleConditionDetailResponseData
|
2642
|
-
*/
|
2643
|
-
flagId?: string | null;
|
2644
|
-
/**
|
2645
|
-
*
|
2646
|
-
* @type {string}
|
2647
|
-
* @memberof RuleConditionDetailResponseData
|
2648
|
-
*/
|
2649
|
-
id: string;
|
2650
|
-
/**
|
2651
|
-
*
|
2652
|
-
* @type {string}
|
2653
|
-
* @memberof RuleConditionDetailResponseData
|
2654
|
-
*/
|
2655
|
-
metricPeriod?: string | null;
|
2656
|
-
/**
|
2657
|
-
*
|
2658
|
-
* @type {number}
|
2659
|
-
* @memberof RuleConditionDetailResponseData
|
2660
|
-
*/
|
2661
|
-
metricValue?: number | null;
|
2662
|
-
/**
|
2663
|
-
*
|
2664
|
-
* @type {string}
|
2665
|
-
* @memberof RuleConditionDetailResponseData
|
2666
|
-
*/
|
2667
|
-
operator: string;
|
2668
|
-
/**
|
2669
|
-
*
|
2670
|
-
* @type {string}
|
2671
|
-
* @memberof RuleConditionDetailResponseData
|
2672
|
-
*/
|
2673
|
-
planId?: string | null;
|
2674
|
-
/**
|
2675
|
-
*
|
2676
|
-
* @type {Array<string>}
|
2677
|
-
* @memberof RuleConditionDetailResponseData
|
2678
|
-
*/
|
2679
|
-
resourceIds: Array<string>;
|
2680
|
-
/**
|
2681
|
-
*
|
2682
|
-
* @type {Array<RuleConditionResourceResponseData>}
|
2683
|
-
* @memberof RuleConditionDetailResponseData
|
2684
|
-
*/
|
2685
|
-
resources: Array<RuleConditionResourceResponseData>;
|
2686
|
-
/**
|
2687
|
-
*
|
2688
|
-
* @type {string}
|
2689
|
-
* @memberof RuleConditionDetailResponseData
|
2690
|
-
*/
|
2691
|
-
ruleId: string;
|
2692
|
-
/**
|
2693
|
-
*
|
2694
|
-
* @type {EntityTraitDefinitionResponseData}
|
2695
|
-
* @memberof RuleConditionDetailResponseData
|
2696
|
-
*/
|
2697
|
-
trait?: EntityTraitDefinitionResponseData;
|
2698
|
-
/**
|
2699
|
-
*
|
2700
|
-
* @type {string}
|
2701
|
-
* @memberof RuleConditionDetailResponseData
|
2702
|
-
*/
|
2703
|
-
traitEntityType?: string | null;
|
2704
|
-
/**
|
2705
|
-
*
|
2706
|
-
* @type {string}
|
2707
|
-
* @memberof RuleConditionDetailResponseData
|
2708
|
-
*/
|
2709
|
-
traitId?: string | null;
|
2710
|
-
/**
|
2711
|
-
*
|
2712
|
-
* @type {string}
|
2713
|
-
* @memberof RuleConditionDetailResponseData
|
2714
|
-
*/
|
2715
|
-
traitValue: string;
|
2716
|
-
/**
|
2717
|
-
*
|
2718
|
-
* @type {Date}
|
2719
|
-
* @memberof RuleConditionDetailResponseData
|
2720
|
-
*/
|
2721
|
-
updatedAt: Date;
|
2722
|
-
}
|
2723
|
-
|
2724
|
-
/**
|
2725
|
-
*
|
2726
|
-
* @export
|
2727
|
-
* @interface RuleConditionGroupDetailResponseData
|
2728
|
-
*/
|
2729
|
-
declare interface RuleConditionGroupDetailResponseData {
|
2730
|
-
/**
|
2731
|
-
*
|
2732
|
-
* @type {Array<RuleConditionDetailResponseData>}
|
2733
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2734
|
-
*/
|
2735
|
-
conditions: Array<RuleConditionDetailResponseData>;
|
2736
|
-
/**
|
2737
|
-
*
|
2738
|
-
* @type {Date}
|
2739
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2740
|
-
*/
|
2741
|
-
createdAt: Date;
|
2742
|
-
/**
|
2743
|
-
*
|
2744
|
-
* @type {string}
|
2745
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2746
|
-
*/
|
2747
|
-
environmentId: string;
|
2748
|
-
/**
|
2749
|
-
*
|
2750
|
-
* @type {string}
|
2751
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2752
|
-
*/
|
2753
|
-
flagId?: string | null;
|
2754
|
-
/**
|
2755
|
-
*
|
2756
|
-
* @type {string}
|
2757
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2758
|
-
*/
|
2759
|
-
id: string;
|
2760
|
-
/**
|
2761
|
-
*
|
2762
|
-
* @type {string}
|
2763
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2764
|
-
*/
|
2765
|
-
planId?: string | null;
|
2766
|
-
/**
|
2767
|
-
*
|
2768
|
-
* @type {string}
|
2769
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2770
|
-
*/
|
2771
|
-
ruleId: string;
|
2772
|
-
/**
|
2773
|
-
*
|
2774
|
-
* @type {Date}
|
2775
|
-
* @memberof RuleConditionGroupDetailResponseData
|
2776
|
-
*/
|
2777
|
-
updatedAt: Date;
|
2778
|
-
}
|
2779
|
-
|
2780
|
-
/**
|
2781
|
-
* Schematic API
|
2782
|
-
* Schematic API
|
2783
|
-
*
|
2784
|
-
* The version of the OpenAPI document: 0.1
|
2785
|
-
*
|
2786
|
-
*
|
2787
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
2788
|
-
* https://openapi-generator.tech
|
2789
|
-
* Do not edit the class manually.
|
2790
|
-
*/
|
2791
|
-
/**
|
2792
|
-
*
|
2793
|
-
* @export
|
2794
|
-
* @interface RuleConditionResourceResponseData
|
2795
|
-
*/
|
2796
|
-
declare interface RuleConditionResourceResponseData {
|
2797
|
-
/**
|
2798
|
-
*
|
2799
|
-
* @type {string}
|
2800
|
-
* @memberof RuleConditionResourceResponseData
|
2801
|
-
*/
|
2802
|
-
id: string;
|
2803
|
-
/**
|
2804
|
-
*
|
2805
|
-
* @type {string}
|
2806
|
-
* @memberof RuleConditionResourceResponseData
|
2807
|
-
*/
|
2808
|
-
name: string;
|
2809
|
-
}
|
2810
|
-
|
2811
|
-
/**
|
2812
|
-
*
|
2813
|
-
* @export
|
2814
|
-
* @interface RuleDetailResponseData
|
2815
|
-
*/
|
2816
|
-
declare interface RuleDetailResponseData {
|
2817
|
-
/**
|
2818
|
-
*
|
2819
|
-
* @type {Array<RuleConditionGroupDetailResponseData>}
|
2820
|
-
* @memberof RuleDetailResponseData
|
2821
|
-
*/
|
2822
|
-
conditionGroups: Array<RuleConditionGroupDetailResponseData>;
|
2823
|
-
/**
|
2824
|
-
*
|
2825
|
-
* @type {Array<RuleConditionDetailResponseData>}
|
2826
|
-
* @memberof RuleDetailResponseData
|
2827
|
-
*/
|
2828
|
-
conditions: Array<RuleConditionDetailResponseData>;
|
2829
|
-
/**
|
2830
|
-
*
|
2831
|
-
* @type {Date}
|
2832
|
-
* @memberof RuleDetailResponseData
|
2833
|
-
*/
|
2834
|
-
createdAt: Date;
|
2835
|
-
/**
|
2836
|
-
*
|
2837
|
-
* @type {string}
|
2838
|
-
* @memberof RuleDetailResponseData
|
2839
|
-
*/
|
2840
|
-
environmentId: string;
|
2841
|
-
/**
|
2842
|
-
*
|
2843
|
-
* @type {string}
|
2844
|
-
* @memberof RuleDetailResponseData
|
2845
|
-
*/
|
2846
|
-
flagId?: string | null;
|
2847
|
-
/**
|
2848
|
-
*
|
2849
|
-
* @type {string}
|
2850
|
-
* @memberof RuleDetailResponseData
|
2851
|
-
*/
|
2852
|
-
id: string;
|
2853
|
-
/**
|
2854
|
-
*
|
2855
|
-
* @type {string}
|
2856
|
-
* @memberof RuleDetailResponseData
|
2857
|
-
*/
|
2858
|
-
name: string;
|
2859
|
-
/**
|
2860
|
-
*
|
2861
|
-
* @type {string}
|
2862
|
-
* @memberof RuleDetailResponseData
|
2863
|
-
*/
|
2864
|
-
planId?: string | null;
|
2865
|
-
/**
|
2866
|
-
*
|
2867
|
-
* @type {number}
|
2868
|
-
* @memberof RuleDetailResponseData
|
2869
|
-
*/
|
2870
|
-
priority: number;
|
2871
|
-
/**
|
2872
|
-
*
|
2873
|
-
* @type {string}
|
2874
|
-
* @memberof RuleDetailResponseData
|
2875
|
-
*/
|
2876
|
-
ruleType: string;
|
2877
|
-
/**
|
2878
|
-
*
|
2879
|
-
* @type {Date}
|
2880
|
-
* @memberof RuleDetailResponseData
|
2881
|
-
*/
|
2882
|
-
updatedAt: Date;
|
2883
|
-
/**
|
2884
|
-
*
|
2885
|
-
* @type {boolean}
|
2886
|
-
* @memberof RuleDetailResponseData
|
2887
|
-
*/
|
2888
|
-
value: boolean;
|
2889
|
-
}
|
2890
|
-
|
2891
|
-
declare namespace runtime {
|
2892
|
-
export {
|
2893
|
-
querystring,
|
2894
|
-
mapValues,
|
2895
|
-
canConsumeForm,
|
2896
|
-
BASE_PATH,
|
2897
|
-
ConfigurationParameters,
|
2898
|
-
Configuration,
|
2899
|
-
DefaultConfig,
|
2900
|
-
BaseAPI,
|
2901
|
-
ResponseError,
|
2902
|
-
FetchError,
|
2903
|
-
RequiredError,
|
2904
|
-
COLLECTION_FORMATS,
|
2905
|
-
FetchAPI,
|
2906
|
-
Json,
|
2907
|
-
HTTPMethod,
|
2908
|
-
HTTPHeaders,
|
2909
|
-
HTTPQuery,
|
2910
|
-
HTTPBody,
|
2911
|
-
HTTPRequestInit,
|
2912
|
-
ModelPropertyNaming,
|
2913
|
-
InitOverrideFunction,
|
2914
|
-
FetchParams,
|
2915
|
-
RequestOpts,
|
2916
|
-
Consume,
|
2917
|
-
RequestContext,
|
2918
|
-
ResponseContext,
|
2919
|
-
ErrorContext,
|
2920
|
-
Middleware,
|
2921
|
-
ApiResponse,
|
2922
|
-
ResponseTransformer,
|
2923
|
-
JSONApiResponse,
|
2924
|
-
VoidApiResponse,
|
2925
|
-
BlobApiResponse,
|
2926
|
-
TextApiResponse
|
2927
|
-
}
|
2928
|
-
}
|
2929
|
-
|
2930
36
|
export { Schematic }
|
2931
37
|
|
2932
38
|
export { SchematicContext }
|
@@ -2935,8 +41,6 @@ declare interface SchematicContextProps {
|
|
2935
41
|
client: SchematicJS.Schematic;
|
2936
42
|
}
|
2937
43
|
|
2938
|
-
export declare const SchematicEmbed: ({ id, accessToken, apiConfig }: EmbedProps) => JSX_2.Element;
|
2939
|
-
|
2940
44
|
export declare interface SchematicHookOpts {
|
2941
45
|
client?: SchematicJS.Schematic;
|
2942
46
|
}
|
@@ -2957,89 +61,8 @@ declare type SchematicProviderPropsWithPublishableKey = BaseSchematicProviderPro
|
|
2957
61
|
publishableKey: string;
|
2958
62
|
};
|
2959
63
|
|
2960
|
-
declare type SerializedNode = Omit<Craft.SerializedNode, "parent"> & {
|
2961
|
-
id: string;
|
2962
|
-
parent?: string | null;
|
2963
|
-
};
|
2964
|
-
|
2965
|
-
declare type SerializedNodeWithChildren = SerializedNode & {
|
2966
|
-
children: SerializedNodeWithChildren[];
|
2967
|
-
};
|
2968
|
-
|
2969
|
-
/**
|
2970
|
-
* Schematic API
|
2971
|
-
* Schematic API
|
2972
|
-
*
|
2973
|
-
* The version of the OpenAPI document: 0.1
|
2974
|
-
*
|
2975
|
-
*
|
2976
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
2977
|
-
* https://openapi-generator.tech
|
2978
|
-
* Do not edit the class manually.
|
2979
|
-
*/
|
2980
|
-
/**
|
2981
|
-
*
|
2982
|
-
* @export
|
2983
|
-
* @interface StripeEmbedInfo
|
2984
|
-
*/
|
2985
|
-
declare interface StripeEmbedInfo {
|
2986
|
-
/**
|
2987
|
-
*
|
2988
|
-
* @type {string}
|
2989
|
-
* @memberof StripeEmbedInfo
|
2990
|
-
*/
|
2991
|
-
customerEkey?: string | null;
|
2992
|
-
/**
|
2993
|
-
*
|
2994
|
-
* @type {string}
|
2995
|
-
* @memberof StripeEmbedInfo
|
2996
|
-
*/
|
2997
|
-
publishableKey: string;
|
2998
|
-
/**
|
2999
|
-
*
|
3000
|
-
* @type {string}
|
3001
|
-
* @memberof StripeEmbedInfo
|
3002
|
-
*/
|
3003
|
-
setupIntentClientSecret?: string | null;
|
3004
|
-
}
|
3005
|
-
|
3006
|
-
declare const Text_2: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TextProps>> & string;
|
3007
|
-
export { Text_2 as Text }
|
3008
|
-
|
3009
|
-
declare class TextApiResponse {
|
3010
|
-
raw: Response;
|
3011
|
-
constructor(raw: Response);
|
3012
|
-
value(): Promise<string>;
|
3013
|
-
}
|
3014
|
-
|
3015
|
-
export declare interface TextProps extends ComponentProps {
|
3016
|
-
$align?: ComponentProps["$textAlign"];
|
3017
|
-
$font?: ComponentProps["$fontFamily"];
|
3018
|
-
$size?: ComponentProps["$fontSize"];
|
3019
|
-
$weight?: ComponentProps["$fontWeight"];
|
3020
|
-
$color?: ComponentProps["$color"];
|
3021
|
-
$lineHeight?: ComponentProps["$lineHeight"];
|
3022
|
-
}
|
3023
|
-
|
3024
64
|
export { Traits }
|
3025
65
|
|
3026
|
-
declare type TransientCSSProperties = {
|
3027
|
-
[Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
|
3028
|
-
};
|
3029
|
-
|
3030
|
-
declare interface TypographySettings {
|
3031
|
-
fontFamily: string;
|
3032
|
-
fontSize: number;
|
3033
|
-
fontWeight: number;
|
3034
|
-
color: string;
|
3035
|
-
}
|
3036
|
-
|
3037
|
-
export declare const UpcomingBill: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_4> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
3038
|
-
|
3039
|
-
export declare type UpcomingBillProps = DesignProps_4;
|
3040
|
-
|
3041
|
-
export declare const useEmbed: () => EmbedContextProps;
|
3042
|
-
|
3043
66
|
export declare const useSchematic: () => SchematicContextProps;
|
3044
67
|
|
3045
68
|
export declare const useSchematicContext: (opts?: SchematicHookOpts) => {
|
@@ -3059,15 +82,4 @@ export declare type UseSchematicFlagOpts = SchematicHookOpts & {
|
|
3059
82
|
|
3060
83
|
export declare const useSchematicIsPending: (opts?: SchematicHookOpts) => boolean;
|
3061
84
|
|
3062
|
-
export declare const Viewport: ForwardRefExoticComponent<Omit<ViewportProps, "ref"> & RefAttributes<HTMLDivElement | null>>;
|
3063
|
-
|
3064
|
-
export declare interface ViewportProps extends React.HTMLProps<HTMLDivElement> {
|
3065
|
-
}
|
3066
|
-
|
3067
|
-
declare class VoidApiResponse {
|
3068
|
-
raw: Response;
|
3069
|
-
constructor(raw: Response);
|
3070
|
-
value(): Promise<void>;
|
3071
|
-
}
|
3072
|
-
|
3073
85
|
export { }
|