@schematichq/schematic-react 0.1.8 → 0.2.0-rc.1
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/dist/schematic-react.cjs.js +8972 -109
- package/dist/schematic-react.d.ts +2154 -13
- package/dist/schematic-react.esm.js +8968 -92
- package/package.json +24 -9
|
@@ -1,38 +1,2107 @@
|
|
|
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';
|
|
1
5
|
import { Event as Event_2 } from '@schematichq/schematic-js';
|
|
2
6
|
import { EventBody } from '@schematichq/schematic-js';
|
|
3
|
-
import { EventBodyCompany } from '@schematichq/schematic-js';
|
|
4
7
|
import { EventBodyIdentify } from '@schematichq/schematic-js';
|
|
5
8
|
import { EventBodyTrack } from '@schematichq/schematic-js';
|
|
6
9
|
import { EventType } from '@schematichq/schematic-js';
|
|
10
|
+
import { FastOmit } from 'styled-components';
|
|
7
11
|
import { FlagCheckResponseBody } from '@schematichq/schematic-js';
|
|
8
12
|
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';
|
|
9
17
|
import { Keys } from '@schematichq/schematic-js';
|
|
10
18
|
import { default as React_2 } from 'react';
|
|
11
19
|
import { ReactNode } from 'react';
|
|
20
|
+
import { RefAttributes } from 'react';
|
|
21
|
+
import { RefObject } from 'react';
|
|
12
22
|
import { Schematic } from '@schematichq/schematic-js';
|
|
13
23
|
import { SchematicContext } from '@schematichq/schematic-js';
|
|
14
24
|
import * as SchematicJS from '@schematichq/schematic-js';
|
|
15
25
|
import { SchematicOptions } from '@schematichq/schematic-js';
|
|
26
|
+
import { Substitute } from 'styled-components/dist/types';
|
|
16
27
|
import { Traits } from '@schematichq/schematic-js';
|
|
17
28
|
|
|
29
|
+
declare type BaseSchematicProviderProps = Omit<SchematicJS.SchematicOptions, "client" | "publishableKey"> & {
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Schematic API
|
|
35
|
+
* Schematic API
|
|
36
|
+
*
|
|
37
|
+
* The version of the OpenAPI document: 0.1
|
|
38
|
+
*
|
|
39
|
+
*
|
|
40
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
41
|
+
* https://openapi-generator.tech
|
|
42
|
+
* Do not edit the class manually.
|
|
43
|
+
*/
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @export
|
|
47
|
+
* @interface BillingPlan
|
|
48
|
+
*/
|
|
49
|
+
declare interface BillingPlan {
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof BillingPlan
|
|
54
|
+
*/
|
|
55
|
+
description?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof BillingPlan
|
|
60
|
+
*/
|
|
61
|
+
id: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof BillingPlan
|
|
66
|
+
*/
|
|
67
|
+
imageUrl?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof BillingPlan
|
|
72
|
+
*/
|
|
73
|
+
name: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof BillingPlan
|
|
78
|
+
*/
|
|
79
|
+
planPeriod?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof BillingPlan
|
|
84
|
+
*/
|
|
85
|
+
planPrice?: number | null;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Schematic API
|
|
90
|
+
* Schematic API
|
|
91
|
+
*
|
|
92
|
+
* The version of the OpenAPI document: 0.1
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
96
|
+
* https://openapi-generator.tech
|
|
97
|
+
* Do not edit the class manually.
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @export
|
|
102
|
+
* @interface BillingPriceResponseData
|
|
103
|
+
*/
|
|
104
|
+
declare interface BillingPriceResponseData {
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof BillingPriceResponseData
|
|
109
|
+
*/
|
|
110
|
+
externalPriceId: string;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof BillingPriceResponseData
|
|
115
|
+
*/
|
|
116
|
+
id: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof BillingPriceResponseData
|
|
121
|
+
*/
|
|
122
|
+
interval: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {number}
|
|
126
|
+
* @memberof BillingPriceResponseData
|
|
127
|
+
*/
|
|
128
|
+
price: number;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @export
|
|
134
|
+
* @interface BillingProductDetailResponseData
|
|
135
|
+
*/
|
|
136
|
+
declare interface BillingProductDetailResponseData {
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {Array<BillingPriceResponseData>}
|
|
140
|
+
* @memberof BillingProductDetailResponseData
|
|
141
|
+
*/
|
|
142
|
+
prices: Array<BillingPriceResponseData>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof BillingProductDetailResponseData
|
|
147
|
+
*/
|
|
148
|
+
accountId: string;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {Date}
|
|
152
|
+
* @memberof BillingProductDetailResponseData
|
|
153
|
+
*/
|
|
154
|
+
createdAt: Date;
|
|
155
|
+
/**
|
|
156
|
+
*
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof BillingProductDetailResponseData
|
|
159
|
+
*/
|
|
160
|
+
currency: string;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof BillingProductDetailResponseData
|
|
165
|
+
*/
|
|
166
|
+
environmentId: string;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {string}
|
|
170
|
+
* @memberof BillingProductDetailResponseData
|
|
171
|
+
*/
|
|
172
|
+
externalId: string;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @type {string}
|
|
176
|
+
* @memberof BillingProductDetailResponseData
|
|
177
|
+
*/
|
|
178
|
+
name: string;
|
|
179
|
+
/**
|
|
180
|
+
*
|
|
181
|
+
* @type {number}
|
|
182
|
+
* @memberof BillingProductDetailResponseData
|
|
183
|
+
*/
|
|
184
|
+
price: number;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @type {string}
|
|
188
|
+
* @memberof BillingProductDetailResponseData
|
|
189
|
+
*/
|
|
190
|
+
productId: string;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @type {number}
|
|
194
|
+
* @memberof BillingProductDetailResponseData
|
|
195
|
+
*/
|
|
196
|
+
quantity: number;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @type {Date}
|
|
200
|
+
* @memberof BillingProductDetailResponseData
|
|
201
|
+
*/
|
|
202
|
+
updatedAt: Date;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export declare const Box: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, ComponentProps>> & string;
|
|
206
|
+
|
|
207
|
+
export declare type BoxProps = ComponentProps;
|
|
208
|
+
|
|
209
|
+
export declare const Button: ({ color, size, variant, disabled, children, ...props }: ButtonProps) => JSX_2.Element;
|
|
210
|
+
|
|
211
|
+
export declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
212
|
+
color?: ButtonStyleTypes;
|
|
213
|
+
size?: ButtonSizeTypes;
|
|
214
|
+
variant?: ButtonVariantTypes;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export declare type ButtonSizeTypes = "sm" | "md" | "lg";
|
|
218
|
+
|
|
219
|
+
export declare type ButtonStyleTypes = "blue" | "white" | "red" | "black";
|
|
220
|
+
|
|
221
|
+
export declare type ButtonVariantTypes = "solid" | "outline" | "ghost" | "link";
|
|
222
|
+
|
|
223
|
+
export declare const Card: ForwardRefExoticComponent<CardProps & RefAttributes<HTMLDivElement | null>>;
|
|
224
|
+
|
|
225
|
+
export declare interface CardProps {
|
|
226
|
+
children?: React.ReactNode;
|
|
227
|
+
className?: string;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @export
|
|
233
|
+
* @interface CompanyDetailResponseData
|
|
234
|
+
*/
|
|
235
|
+
declare interface CompanyDetailResponseData {
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {Array<BillingPlan>}
|
|
239
|
+
* @memberof CompanyDetailResponseData
|
|
240
|
+
*/
|
|
241
|
+
addOns: Array<BillingPlan>;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {Date}
|
|
245
|
+
* @memberof CompanyDetailResponseData
|
|
246
|
+
*/
|
|
247
|
+
createdAt: Date;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {Array<EntityTraitDetailResponseData>}
|
|
251
|
+
* @memberof CompanyDetailResponseData
|
|
252
|
+
*/
|
|
253
|
+
entityTraits: Array<EntityTraitDetailResponseData>;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof CompanyDetailResponseData
|
|
258
|
+
*/
|
|
259
|
+
environmentId: string;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {string}
|
|
263
|
+
* @memberof CompanyDetailResponseData
|
|
264
|
+
*/
|
|
265
|
+
id: string;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {Array<EntityKeyDetailResponseData>}
|
|
269
|
+
* @memberof CompanyDetailResponseData
|
|
270
|
+
*/
|
|
271
|
+
keys: Array<EntityKeyDetailResponseData>;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {Date}
|
|
275
|
+
* @memberof CompanyDetailResponseData
|
|
276
|
+
*/
|
|
277
|
+
lastSeenAt?: Date | null;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof CompanyDetailResponseData
|
|
282
|
+
*/
|
|
283
|
+
logoUrl?: string | null;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {string}
|
|
287
|
+
* @memberof CompanyDetailResponseData
|
|
288
|
+
*/
|
|
289
|
+
name: string;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {BillingPlan}
|
|
293
|
+
* @memberof CompanyDetailResponseData
|
|
294
|
+
*/
|
|
295
|
+
plan?: BillingPlan;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {Array<PreviewObject>}
|
|
299
|
+
* @memberof CompanyDetailResponseData
|
|
300
|
+
*/
|
|
301
|
+
plans: Array<PreviewObject>;
|
|
302
|
+
/**
|
|
303
|
+
* A map of trait names to trait values
|
|
304
|
+
* @type {object}
|
|
305
|
+
* @memberof CompanyDetailResponseData
|
|
306
|
+
*/
|
|
307
|
+
traits?: object;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @type {Date}
|
|
311
|
+
* @memberof CompanyDetailResponseData
|
|
312
|
+
*/
|
|
313
|
+
updatedAt: Date;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {number}
|
|
317
|
+
* @memberof CompanyDetailResponseData
|
|
318
|
+
*/
|
|
319
|
+
userCount: number;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @export
|
|
325
|
+
* @interface CompanyPlanDetailResponseData
|
|
326
|
+
*/
|
|
327
|
+
declare interface CompanyPlanDetailResponseData {
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof CompanyPlanDetailResponseData
|
|
332
|
+
*/
|
|
333
|
+
audienceType?: string | null;
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @type {BillingProductDetailResponseData}
|
|
337
|
+
* @memberof CompanyPlanDetailResponseData
|
|
338
|
+
*/
|
|
339
|
+
billingProduct?: BillingProductDetailResponseData;
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @type {number}
|
|
343
|
+
* @memberof CompanyPlanDetailResponseData
|
|
344
|
+
*/
|
|
345
|
+
companyCount: number;
|
|
346
|
+
/**
|
|
347
|
+
*
|
|
348
|
+
* @type {Date}
|
|
349
|
+
* @memberof CompanyPlanDetailResponseData
|
|
350
|
+
*/
|
|
351
|
+
createdAt: Date;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @type {boolean}
|
|
355
|
+
* @memberof CompanyPlanDetailResponseData
|
|
356
|
+
*/
|
|
357
|
+
current: boolean;
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @type {string}
|
|
361
|
+
* @memberof CompanyPlanDetailResponseData
|
|
362
|
+
*/
|
|
363
|
+
description: string;
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @type {Array<PlanEntitlementResponseData>}
|
|
367
|
+
* @memberof CompanyPlanDetailResponseData
|
|
368
|
+
*/
|
|
369
|
+
entitlements: Array<PlanEntitlementResponseData>;
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {Array<FeatureDetailResponseData>}
|
|
373
|
+
* @memberof CompanyPlanDetailResponseData
|
|
374
|
+
*/
|
|
375
|
+
features: Array<FeatureDetailResponseData>;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {string}
|
|
379
|
+
* @memberof CompanyPlanDetailResponseData
|
|
380
|
+
*/
|
|
381
|
+
icon: string;
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof CompanyPlanDetailResponseData
|
|
386
|
+
*/
|
|
387
|
+
id: string;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @type {BillingPriceResponseData}
|
|
391
|
+
* @memberof CompanyPlanDetailResponseData
|
|
392
|
+
*/
|
|
393
|
+
monthlyPrice?: BillingPriceResponseData;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @type {string}
|
|
397
|
+
* @memberof CompanyPlanDetailResponseData
|
|
398
|
+
*/
|
|
399
|
+
name: string;
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @type {string}
|
|
403
|
+
* @memberof CompanyPlanDetailResponseData
|
|
404
|
+
*/
|
|
405
|
+
planType: string;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @type {Date}
|
|
409
|
+
* @memberof CompanyPlanDetailResponseData
|
|
410
|
+
*/
|
|
411
|
+
updatedAt: Date;
|
|
412
|
+
/**
|
|
413
|
+
*
|
|
414
|
+
* @type {boolean}
|
|
415
|
+
* @memberof CompanyPlanDetailResponseData
|
|
416
|
+
*/
|
|
417
|
+
valid: boolean;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {BillingPriceResponseData}
|
|
421
|
+
* @memberof CompanyPlanDetailResponseData
|
|
422
|
+
*/
|
|
423
|
+
yearlyPrice?: BillingPriceResponseData;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* The returned resource
|
|
428
|
+
* @export
|
|
429
|
+
* @interface ComponentHydrateResponseData
|
|
430
|
+
*/
|
|
431
|
+
declare interface ComponentHydrateResponseData {
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {Array<CompanyPlanDetailResponseData>}
|
|
435
|
+
* @memberof ComponentHydrateResponseData
|
|
436
|
+
*/
|
|
437
|
+
activePlans: Array<CompanyPlanDetailResponseData>;
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @type {CompanyDetailResponseData}
|
|
441
|
+
* @memberof ComponentHydrateResponseData
|
|
442
|
+
*/
|
|
443
|
+
company?: CompanyDetailResponseData;
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {ComponentResponseData}
|
|
447
|
+
* @memberof ComponentHydrateResponseData
|
|
448
|
+
*/
|
|
449
|
+
component?: ComponentResponseData;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @type {FeatureUsageDetailResponseData}
|
|
453
|
+
* @memberof ComponentHydrateResponseData
|
|
454
|
+
*/
|
|
455
|
+
featureUsage?: FeatureUsageDetailResponseData;
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @type {StripeEmbedInfo}
|
|
459
|
+
* @memberof ComponentHydrateResponseData
|
|
460
|
+
*/
|
|
461
|
+
stripeEmbed?: StripeEmbedInfo;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
declare interface ComponentProps extends TransientCSSProperties {
|
|
465
|
+
children?: React.ReactNode;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Schematic API
|
|
470
|
+
* Schematic API
|
|
471
|
+
*
|
|
472
|
+
* The version of the OpenAPI document: 0.1
|
|
473
|
+
*
|
|
474
|
+
*
|
|
475
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
476
|
+
* https://openapi-generator.tech
|
|
477
|
+
* Do not edit the class manually.
|
|
478
|
+
*/
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @export
|
|
482
|
+
* @interface ComponentResponseData
|
|
483
|
+
*/
|
|
484
|
+
declare interface ComponentResponseData {
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {{ [key: string]: number; }}
|
|
488
|
+
* @memberof ComponentResponseData
|
|
489
|
+
*/
|
|
490
|
+
ast?: {
|
|
491
|
+
[key: string]: number;
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @type {Date}
|
|
496
|
+
* @memberof ComponentResponseData
|
|
497
|
+
*/
|
|
498
|
+
createdAt: Date;
|
|
499
|
+
/**
|
|
500
|
+
*
|
|
501
|
+
* @type {string}
|
|
502
|
+
* @memberof ComponentResponseData
|
|
503
|
+
*/
|
|
504
|
+
id: string;
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* @type {string}
|
|
508
|
+
* @memberof ComponentResponseData
|
|
509
|
+
*/
|
|
510
|
+
name: string;
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @type {string}
|
|
514
|
+
* @memberof ComponentResponseData
|
|
515
|
+
*/
|
|
516
|
+
state: string;
|
|
517
|
+
/**
|
|
518
|
+
*
|
|
519
|
+
* @type {string}
|
|
520
|
+
* @memberof ComponentResponseData
|
|
521
|
+
*/
|
|
522
|
+
type: string;
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @type {Date}
|
|
526
|
+
* @memberof ComponentResponseData
|
|
527
|
+
*/
|
|
528
|
+
updatedAt: Date;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
declare interface ConfigurationParameters {
|
|
532
|
+
basePath?: string;
|
|
533
|
+
fetchApi?: FetchAPI;
|
|
534
|
+
middleware?: Middleware[];
|
|
535
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
536
|
+
username?: string;
|
|
537
|
+
password?: string;
|
|
538
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
539
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
540
|
+
headers?: HTTPHeaders;
|
|
541
|
+
credentials?: RequestCredentials;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
declare const _default: {
|
|
545
|
+
alarm: number;
|
|
546
|
+
"arrow-curved": number;
|
|
547
|
+
"arrow-down": number;
|
|
548
|
+
"arrow-left": number;
|
|
549
|
+
"arrow-right": number;
|
|
550
|
+
"arrow-up": number;
|
|
551
|
+
"arrow-upward": number;
|
|
552
|
+
backspace: number;
|
|
553
|
+
bell: number;
|
|
554
|
+
board: number;
|
|
555
|
+
bookmark: number;
|
|
556
|
+
"boolean-on": number;
|
|
557
|
+
boolean: number;
|
|
558
|
+
bulb: number;
|
|
559
|
+
burger: number;
|
|
560
|
+
"check-rounded": number;
|
|
561
|
+
check: number;
|
|
562
|
+
"chevron-down": number;
|
|
563
|
+
"chevron-left": number;
|
|
564
|
+
"chevron-right": number;
|
|
565
|
+
"chevron-up": number;
|
|
566
|
+
chip: number;
|
|
567
|
+
chips: number;
|
|
568
|
+
"close-rounded-filled": number;
|
|
569
|
+
close: number;
|
|
570
|
+
"cloud-up": number;
|
|
571
|
+
club: number;
|
|
572
|
+
cmd: number;
|
|
573
|
+
code: number;
|
|
574
|
+
coffee: number;
|
|
575
|
+
cog: number;
|
|
576
|
+
"collapse-empty": number;
|
|
577
|
+
collapse: number;
|
|
578
|
+
compass: number;
|
|
579
|
+
connection: number;
|
|
580
|
+
copy: number;
|
|
581
|
+
cylnder: number;
|
|
582
|
+
diamond: number;
|
|
583
|
+
"dollar-rounded": number;
|
|
584
|
+
"dots-horizontal": number;
|
|
585
|
+
"dots-vertical": number;
|
|
586
|
+
entitlements: number;
|
|
587
|
+
equalizer: number;
|
|
588
|
+
"exclamation-rounded-filled": number;
|
|
589
|
+
eye: number;
|
|
590
|
+
filter: number;
|
|
591
|
+
"folder-minus": number;
|
|
592
|
+
"folder-plus": number;
|
|
593
|
+
folder: number;
|
|
594
|
+
glasses: number;
|
|
595
|
+
globe: number;
|
|
596
|
+
hammer: number;
|
|
597
|
+
hash: number;
|
|
598
|
+
heart: number;
|
|
599
|
+
hubspot: number;
|
|
600
|
+
image: number;
|
|
601
|
+
"info-rounded": number;
|
|
602
|
+
juice: number;
|
|
603
|
+
key: number;
|
|
604
|
+
music: number;
|
|
605
|
+
"node-minus": number;
|
|
606
|
+
"node-plus": number;
|
|
607
|
+
package: number;
|
|
608
|
+
"paper-plane": number;
|
|
609
|
+
pencil: number;
|
|
610
|
+
picker: number;
|
|
611
|
+
plan: number;
|
|
612
|
+
plug: number;
|
|
613
|
+
"plus-minus": number;
|
|
614
|
+
"plus-rounded-outline": number;
|
|
615
|
+
present: number;
|
|
616
|
+
schematic: number;
|
|
617
|
+
search: number;
|
|
618
|
+
segment: number;
|
|
619
|
+
"server-search": number;
|
|
620
|
+
sidebar: number;
|
|
621
|
+
signal: number;
|
|
622
|
+
silence: number;
|
|
623
|
+
spade: number;
|
|
624
|
+
speaker: number;
|
|
625
|
+
stacks: number;
|
|
626
|
+
stripe: number;
|
|
627
|
+
text: number;
|
|
628
|
+
thunder: number;
|
|
629
|
+
tornado: number;
|
|
630
|
+
truck: number;
|
|
631
|
+
tube: number;
|
|
632
|
+
unprotected: number;
|
|
633
|
+
verified: number;
|
|
634
|
+
"video-camera": number;
|
|
635
|
+
wallet: number;
|
|
636
|
+
"watch-hand": number;
|
|
637
|
+
"watch-pocket": number;
|
|
638
|
+
"water-drop": number;
|
|
639
|
+
waves: number;
|
|
640
|
+
webhook: number;
|
|
641
|
+
wind: number;
|
|
642
|
+
};
|
|
643
|
+
|
|
644
|
+
export declare const defaultSettings: EmbedSettings;
|
|
645
|
+
|
|
646
|
+
export declare const defaultTheme: EmbedThemeSettings;
|
|
647
|
+
|
|
648
|
+
declare interface DesignProps {
|
|
649
|
+
header: {
|
|
650
|
+
isVisible: boolean;
|
|
651
|
+
title: {
|
|
652
|
+
fontStyle: FontStyle;
|
|
653
|
+
};
|
|
654
|
+
description: {
|
|
655
|
+
isVisible: boolean;
|
|
656
|
+
fontStyle: FontStyle;
|
|
657
|
+
};
|
|
658
|
+
price: {
|
|
659
|
+
isVisible: boolean;
|
|
660
|
+
fontStyle: FontStyle;
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
addOns: {
|
|
664
|
+
isVisible: boolean;
|
|
665
|
+
fontStyle: FontStyle;
|
|
666
|
+
showLabel: boolean;
|
|
667
|
+
};
|
|
668
|
+
callToAction: {
|
|
669
|
+
isVisible: boolean;
|
|
670
|
+
buttonSize: "sm" | "md" | "lg";
|
|
671
|
+
buttonStyle: "primary" | "secondary" | "tertiary";
|
|
672
|
+
};
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
declare interface DesignProps_2 {
|
|
676
|
+
header: {
|
|
677
|
+
isVisible: boolean;
|
|
678
|
+
fontStyle: FontStyle;
|
|
679
|
+
text: string;
|
|
680
|
+
};
|
|
681
|
+
icons: {
|
|
682
|
+
isVisible: boolean;
|
|
683
|
+
fontStyle: FontStyle;
|
|
684
|
+
style: "light" | "dark";
|
|
685
|
+
};
|
|
686
|
+
entitlement: {
|
|
687
|
+
isVisible: boolean;
|
|
688
|
+
fontStyle: FontStyle;
|
|
689
|
+
};
|
|
690
|
+
usage: {
|
|
691
|
+
isVisible: boolean;
|
|
692
|
+
fontStyle: FontStyle;
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
declare interface DesignProps_3 {
|
|
697
|
+
isVisible: boolean;
|
|
698
|
+
header: {
|
|
699
|
+
fontStyle: FontStyle;
|
|
700
|
+
};
|
|
701
|
+
description: {
|
|
702
|
+
isVisible: boolean;
|
|
703
|
+
fontStyle: FontStyle;
|
|
704
|
+
};
|
|
705
|
+
icon: {
|
|
706
|
+
isVisible: boolean;
|
|
707
|
+
};
|
|
708
|
+
allocation: {
|
|
709
|
+
isVisible: boolean;
|
|
710
|
+
fontStyle: FontStyle;
|
|
711
|
+
};
|
|
712
|
+
usage: {
|
|
713
|
+
isVisible: boolean;
|
|
714
|
+
fontStyle: FontStyle;
|
|
715
|
+
};
|
|
716
|
+
callToAction: {
|
|
717
|
+
isVisible: boolean;
|
|
718
|
+
buttonSize: "sm" | "md" | "lg";
|
|
719
|
+
buttonStyle: "primary" | "secondary" | "tertiary";
|
|
720
|
+
};
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
declare interface DesignProps_4 {
|
|
724
|
+
header: {
|
|
725
|
+
isVisible: boolean;
|
|
726
|
+
fontStyle: FontStyle;
|
|
727
|
+
prefix: string;
|
|
728
|
+
};
|
|
729
|
+
price: {
|
|
730
|
+
isVisible: boolean;
|
|
731
|
+
fontStyle: FontStyle;
|
|
732
|
+
};
|
|
733
|
+
contractEndDate: {
|
|
734
|
+
isVisible: boolean;
|
|
735
|
+
fontStyle: FontStyle;
|
|
736
|
+
prefix: string;
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
declare interface DesignProps_5 {
|
|
741
|
+
header: {
|
|
742
|
+
isVisible: boolean;
|
|
743
|
+
fontStyle: FontStyle;
|
|
744
|
+
};
|
|
745
|
+
functions: {
|
|
746
|
+
allowEdit: boolean;
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
declare interface DesignProps_6 {
|
|
751
|
+
header: {
|
|
752
|
+
isVisible: boolean;
|
|
753
|
+
fontStyle: FontStyle;
|
|
754
|
+
};
|
|
755
|
+
date: {
|
|
756
|
+
isVisible: boolean;
|
|
757
|
+
fontStyle: FontStyle;
|
|
758
|
+
};
|
|
759
|
+
amount: {
|
|
760
|
+
isVisible: boolean;
|
|
761
|
+
fontStyle: FontStyle;
|
|
762
|
+
};
|
|
763
|
+
limit: {
|
|
764
|
+
isVisible: boolean;
|
|
765
|
+
number: number;
|
|
766
|
+
};
|
|
767
|
+
collapse: {
|
|
768
|
+
isVisible: boolean;
|
|
769
|
+
fontStyle: FontStyle;
|
|
770
|
+
};
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
declare interface ElementProps {
|
|
774
|
+
children?: React.ReactNode;
|
|
775
|
+
className?: string;
|
|
776
|
+
style?: React.CSSProperties;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
export declare const EmbedContext: Context<EmbedContextProps>;
|
|
780
|
+
|
|
781
|
+
export declare interface EmbedContextProps {
|
|
782
|
+
data: RecursivePartial<ComponentHydrateResponseData>;
|
|
783
|
+
nodes: SerializedNodeWithChildren[];
|
|
784
|
+
settings: EmbedSettings;
|
|
785
|
+
layout: EmbedLayout;
|
|
786
|
+
error?: Error;
|
|
787
|
+
setData: (data: RecursivePartial<ComponentHydrateResponseData>) => void;
|
|
788
|
+
updateSettings: (settings: RecursivePartial<EmbedSettings>) => void;
|
|
789
|
+
setLayout: (layout: EmbedLayout) => void;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
declare type EmbedLayout = "portal" | "checkout" | "payment" | "disabled";
|
|
793
|
+
|
|
794
|
+
export declare interface EmbedProps {
|
|
795
|
+
accessToken?: string;
|
|
796
|
+
id?: string;
|
|
797
|
+
apiConfig?: ConfigurationParameters;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export declare const EmbedProvider: ({ id, accessToken, apiConfig, children, }: EmbedProviderProps) => JSX_2.Element;
|
|
801
|
+
|
|
802
|
+
export declare interface EmbedProviderProps {
|
|
803
|
+
id?: string;
|
|
804
|
+
accessToken?: string;
|
|
805
|
+
apiConfig?: ConfigurationParameters;
|
|
806
|
+
children?: React.ReactNode;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare type EmbedSettings = {
|
|
810
|
+
theme: EmbedThemeSettings;
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
declare interface EmbedThemeSettings {
|
|
814
|
+
numberOfColumns: 1 | 2 | 3;
|
|
815
|
+
sectionLayout: "merged" | "separate";
|
|
816
|
+
colorMode: "light" | "dark";
|
|
817
|
+
primary: string;
|
|
818
|
+
secondary: string;
|
|
819
|
+
card: {
|
|
820
|
+
background: string;
|
|
821
|
+
borderRadius: number;
|
|
822
|
+
hasShadow: boolean;
|
|
823
|
+
padding: number;
|
|
824
|
+
};
|
|
825
|
+
typography: {
|
|
826
|
+
heading1: TypographySettings;
|
|
827
|
+
heading2: TypographySettings;
|
|
828
|
+
heading3: TypographySettings;
|
|
829
|
+
heading4: TypographySettings;
|
|
830
|
+
heading5: TypographySettings;
|
|
831
|
+
heading6: TypographySettings;
|
|
832
|
+
text: TypographySettings;
|
|
833
|
+
link: TypographySettings;
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Schematic API
|
|
839
|
+
* Schematic API
|
|
840
|
+
*
|
|
841
|
+
* The version of the OpenAPI document: 0.1
|
|
842
|
+
*
|
|
843
|
+
*
|
|
844
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
845
|
+
* https://openapi-generator.tech
|
|
846
|
+
* Do not edit the class manually.
|
|
847
|
+
*/
|
|
848
|
+
/**
|
|
849
|
+
*
|
|
850
|
+
* @export
|
|
851
|
+
* @interface EntityKeyDefinitionResponseData
|
|
852
|
+
*/
|
|
853
|
+
declare interface EntityKeyDefinitionResponseData {
|
|
854
|
+
/**
|
|
855
|
+
*
|
|
856
|
+
* @type {Date}
|
|
857
|
+
* @memberof EntityKeyDefinitionResponseData
|
|
858
|
+
*/
|
|
859
|
+
createdAt: Date;
|
|
860
|
+
/**
|
|
861
|
+
*
|
|
862
|
+
* @type {string}
|
|
863
|
+
* @memberof EntityKeyDefinitionResponseData
|
|
864
|
+
*/
|
|
865
|
+
entityType: string;
|
|
866
|
+
/**
|
|
867
|
+
*
|
|
868
|
+
* @type {string}
|
|
869
|
+
* @memberof EntityKeyDefinitionResponseData
|
|
870
|
+
*/
|
|
871
|
+
id: string;
|
|
872
|
+
/**
|
|
873
|
+
*
|
|
874
|
+
* @type {string}
|
|
875
|
+
* @memberof EntityKeyDefinitionResponseData
|
|
876
|
+
*/
|
|
877
|
+
key: string;
|
|
878
|
+
/**
|
|
879
|
+
*
|
|
880
|
+
* @type {Date}
|
|
881
|
+
* @memberof EntityKeyDefinitionResponseData
|
|
882
|
+
*/
|
|
883
|
+
updatedAt: Date;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @export
|
|
889
|
+
* @interface EntityKeyDetailResponseData
|
|
890
|
+
*/
|
|
891
|
+
declare interface EntityKeyDetailResponseData {
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @type {Date}
|
|
895
|
+
* @memberof EntityKeyDetailResponseData
|
|
896
|
+
*/
|
|
897
|
+
createdAt: Date;
|
|
898
|
+
/**
|
|
899
|
+
*
|
|
900
|
+
* @type {EntityKeyDefinitionResponseData}
|
|
901
|
+
* @memberof EntityKeyDetailResponseData
|
|
902
|
+
*/
|
|
903
|
+
definition?: EntityKeyDefinitionResponseData;
|
|
904
|
+
/**
|
|
905
|
+
*
|
|
906
|
+
* @type {string}
|
|
907
|
+
* @memberof EntityKeyDetailResponseData
|
|
908
|
+
*/
|
|
909
|
+
definitionId: string;
|
|
910
|
+
/**
|
|
911
|
+
*
|
|
912
|
+
* @type {string}
|
|
913
|
+
* @memberof EntityKeyDetailResponseData
|
|
914
|
+
*/
|
|
915
|
+
entityId: string;
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @type {string}
|
|
919
|
+
* @memberof EntityKeyDetailResponseData
|
|
920
|
+
*/
|
|
921
|
+
entityType: string;
|
|
922
|
+
/**
|
|
923
|
+
*
|
|
924
|
+
* @type {string}
|
|
925
|
+
* @memberof EntityKeyDetailResponseData
|
|
926
|
+
*/
|
|
927
|
+
environmentId: string;
|
|
928
|
+
/**
|
|
929
|
+
*
|
|
930
|
+
* @type {string}
|
|
931
|
+
* @memberof EntityKeyDetailResponseData
|
|
932
|
+
*/
|
|
933
|
+
id: string;
|
|
934
|
+
/**
|
|
935
|
+
*
|
|
936
|
+
* @type {string}
|
|
937
|
+
* @memberof EntityKeyDetailResponseData
|
|
938
|
+
*/
|
|
939
|
+
key: string;
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
* @type {Date}
|
|
943
|
+
* @memberof EntityKeyDetailResponseData
|
|
944
|
+
*/
|
|
945
|
+
updatedAt: Date;
|
|
946
|
+
/**
|
|
947
|
+
*
|
|
948
|
+
* @type {string}
|
|
949
|
+
* @memberof EntityKeyDetailResponseData
|
|
950
|
+
*/
|
|
951
|
+
value: string;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Schematic API
|
|
956
|
+
* Schematic API
|
|
957
|
+
*
|
|
958
|
+
* The version of the OpenAPI document: 0.1
|
|
959
|
+
*
|
|
960
|
+
*
|
|
961
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
962
|
+
* https://openapi-generator.tech
|
|
963
|
+
* Do not edit the class manually.
|
|
964
|
+
*/
|
|
965
|
+
/**
|
|
966
|
+
*
|
|
967
|
+
* @export
|
|
968
|
+
* @interface EntityTraitDefinitionResponseData
|
|
969
|
+
*/
|
|
970
|
+
declare interface EntityTraitDefinitionResponseData {
|
|
971
|
+
/**
|
|
972
|
+
*
|
|
973
|
+
* @type {Date}
|
|
974
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
975
|
+
*/
|
|
976
|
+
createdAt: Date;
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @type {string}
|
|
980
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
981
|
+
*/
|
|
982
|
+
displayName: string;
|
|
983
|
+
/**
|
|
984
|
+
*
|
|
985
|
+
* @type {string}
|
|
986
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
987
|
+
*/
|
|
988
|
+
entityType: string;
|
|
989
|
+
/**
|
|
990
|
+
*
|
|
991
|
+
* @type {Array<string>}
|
|
992
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
993
|
+
*/
|
|
994
|
+
hierarchy: Array<string>;
|
|
995
|
+
/**
|
|
996
|
+
*
|
|
997
|
+
* @type {string}
|
|
998
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
999
|
+
*/
|
|
1000
|
+
id: string;
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @type {string}
|
|
1004
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
1005
|
+
*/
|
|
1006
|
+
traitType: string;
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @type {Date}
|
|
1010
|
+
* @memberof EntityTraitDefinitionResponseData
|
|
1011
|
+
*/
|
|
1012
|
+
updatedAt: Date;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
*
|
|
1017
|
+
* @export
|
|
1018
|
+
* @interface EntityTraitDetailResponseData
|
|
1019
|
+
*/
|
|
1020
|
+
declare interface EntityTraitDetailResponseData {
|
|
1021
|
+
/**
|
|
1022
|
+
*
|
|
1023
|
+
* @type {Date}
|
|
1024
|
+
* @memberof EntityTraitDetailResponseData
|
|
1025
|
+
*/
|
|
1026
|
+
createdAt: Date;
|
|
1027
|
+
/**
|
|
1028
|
+
*
|
|
1029
|
+
* @type {EntityTraitDefinitionResponseData}
|
|
1030
|
+
* @memberof EntityTraitDetailResponseData
|
|
1031
|
+
*/
|
|
1032
|
+
definition?: EntityTraitDefinitionResponseData;
|
|
1033
|
+
/**
|
|
1034
|
+
*
|
|
1035
|
+
* @type {string}
|
|
1036
|
+
* @memberof EntityTraitDetailResponseData
|
|
1037
|
+
*/
|
|
1038
|
+
definitionId: string;
|
|
1039
|
+
/**
|
|
1040
|
+
*
|
|
1041
|
+
* @type {string}
|
|
1042
|
+
* @memberof EntityTraitDetailResponseData
|
|
1043
|
+
*/
|
|
1044
|
+
environmentId: string;
|
|
1045
|
+
/**
|
|
1046
|
+
*
|
|
1047
|
+
* @type {string}
|
|
1048
|
+
* @memberof EntityTraitDetailResponseData
|
|
1049
|
+
*/
|
|
1050
|
+
id: string;
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {Date}
|
|
1054
|
+
* @memberof EntityTraitDetailResponseData
|
|
1055
|
+
*/
|
|
1056
|
+
updatedAt: Date;
|
|
1057
|
+
/**
|
|
1058
|
+
*
|
|
1059
|
+
* @type {string}
|
|
1060
|
+
* @memberof EntityTraitDetailResponseData
|
|
1061
|
+
*/
|
|
1062
|
+
value: string;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
declare interface ErrorContext {
|
|
1066
|
+
fetch: FetchAPI;
|
|
1067
|
+
url: string;
|
|
1068
|
+
init: RequestInit;
|
|
1069
|
+
error: unknown;
|
|
1070
|
+
response?: Response;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
18
1073
|
export { Event_2 as Event }
|
|
19
1074
|
|
|
20
1075
|
export { EventBody }
|
|
21
1076
|
|
|
22
|
-
export { EventBodyCompany }
|
|
23
|
-
|
|
24
1077
|
export { EventBodyIdentify }
|
|
25
1078
|
|
|
26
1079
|
export { EventBodyTrack }
|
|
27
1080
|
|
|
1081
|
+
/**
|
|
1082
|
+
* Schematic API
|
|
1083
|
+
* Schematic API
|
|
1084
|
+
*
|
|
1085
|
+
* The version of the OpenAPI document: 0.1
|
|
1086
|
+
*
|
|
1087
|
+
*
|
|
1088
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1089
|
+
* https://openapi-generator.tech
|
|
1090
|
+
* Do not edit the class manually.
|
|
1091
|
+
*/
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @export
|
|
1095
|
+
* @interface EventSummaryResponseData
|
|
1096
|
+
*/
|
|
1097
|
+
declare interface EventSummaryResponseData {
|
|
1098
|
+
/**
|
|
1099
|
+
*
|
|
1100
|
+
* @type {number}
|
|
1101
|
+
* @memberof EventSummaryResponseData
|
|
1102
|
+
*/
|
|
1103
|
+
companyCount: number;
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @type {string}
|
|
1107
|
+
* @memberof EventSummaryResponseData
|
|
1108
|
+
*/
|
|
1109
|
+
environmentId: string;
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @type {number}
|
|
1113
|
+
* @memberof EventSummaryResponseData
|
|
1114
|
+
*/
|
|
1115
|
+
eventCount: number;
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* @type {string}
|
|
1119
|
+
* @memberof EventSummaryResponseData
|
|
1120
|
+
*/
|
|
1121
|
+
eventSubtype: string;
|
|
1122
|
+
/**
|
|
1123
|
+
*
|
|
1124
|
+
* @type {Date}
|
|
1125
|
+
* @memberof EventSummaryResponseData
|
|
1126
|
+
*/
|
|
1127
|
+
lastSeenAt?: Date | null;
|
|
1128
|
+
/**
|
|
1129
|
+
*
|
|
1130
|
+
* @type {number}
|
|
1131
|
+
* @memberof EventSummaryResponseData
|
|
1132
|
+
*/
|
|
1133
|
+
userCount: number;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
28
1136
|
export { EventType }
|
|
29
1137
|
|
|
1138
|
+
/**
|
|
1139
|
+
*
|
|
1140
|
+
* @export
|
|
1141
|
+
* @interface FeatureDetailResponseData
|
|
1142
|
+
*/
|
|
1143
|
+
declare interface FeatureDetailResponseData {
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* @type {Date}
|
|
1147
|
+
* @memberof FeatureDetailResponseData
|
|
1148
|
+
*/
|
|
1149
|
+
createdAt: Date;
|
|
1150
|
+
/**
|
|
1151
|
+
*
|
|
1152
|
+
* @type {string}
|
|
1153
|
+
* @memberof FeatureDetailResponseData
|
|
1154
|
+
*/
|
|
1155
|
+
description: string;
|
|
1156
|
+
/**
|
|
1157
|
+
*
|
|
1158
|
+
* @type {string}
|
|
1159
|
+
* @memberof FeatureDetailResponseData
|
|
1160
|
+
*/
|
|
1161
|
+
eventSubtype?: string | null;
|
|
1162
|
+
/**
|
|
1163
|
+
*
|
|
1164
|
+
* @type {EventSummaryResponseData}
|
|
1165
|
+
* @memberof FeatureDetailResponseData
|
|
1166
|
+
*/
|
|
1167
|
+
eventSummary?: EventSummaryResponseData;
|
|
1168
|
+
/**
|
|
1169
|
+
*
|
|
1170
|
+
* @type {string}
|
|
1171
|
+
* @memberof FeatureDetailResponseData
|
|
1172
|
+
*/
|
|
1173
|
+
featureType: string;
|
|
1174
|
+
/**
|
|
1175
|
+
*
|
|
1176
|
+
* @type {Array<FlagDetailResponseData>}
|
|
1177
|
+
* @memberof FeatureDetailResponseData
|
|
1178
|
+
*/
|
|
1179
|
+
flags: Array<FlagDetailResponseData>;
|
|
1180
|
+
/**
|
|
1181
|
+
*
|
|
1182
|
+
* @type {string}
|
|
1183
|
+
* @memberof FeatureDetailResponseData
|
|
1184
|
+
*/
|
|
1185
|
+
icon: string;
|
|
1186
|
+
/**
|
|
1187
|
+
*
|
|
1188
|
+
* @type {string}
|
|
1189
|
+
* @memberof FeatureDetailResponseData
|
|
1190
|
+
*/
|
|
1191
|
+
id: string;
|
|
1192
|
+
/**
|
|
1193
|
+
*
|
|
1194
|
+
* @type {string}
|
|
1195
|
+
* @memberof FeatureDetailResponseData
|
|
1196
|
+
*/
|
|
1197
|
+
lifecyclePhase?: string | null;
|
|
1198
|
+
/**
|
|
1199
|
+
*
|
|
1200
|
+
* @type {string}
|
|
1201
|
+
* @memberof FeatureDetailResponseData
|
|
1202
|
+
*/
|
|
1203
|
+
maintainerId?: string | null;
|
|
1204
|
+
/**
|
|
1205
|
+
*
|
|
1206
|
+
* @type {string}
|
|
1207
|
+
* @memberof FeatureDetailResponseData
|
|
1208
|
+
*/
|
|
1209
|
+
name: string;
|
|
1210
|
+
/**
|
|
1211
|
+
*
|
|
1212
|
+
* @type {Array<PreviewObject>}
|
|
1213
|
+
* @memberof FeatureDetailResponseData
|
|
1214
|
+
*/
|
|
1215
|
+
plans: Array<PreviewObject>;
|
|
1216
|
+
/**
|
|
1217
|
+
*
|
|
1218
|
+
* @type {EntityTraitDefinitionResponseData}
|
|
1219
|
+
* @memberof FeatureDetailResponseData
|
|
1220
|
+
*/
|
|
1221
|
+
trait?: EntityTraitDefinitionResponseData;
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @type {string}
|
|
1225
|
+
* @memberof FeatureDetailResponseData
|
|
1226
|
+
*/
|
|
1227
|
+
traitId?: string | null;
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @type {Date}
|
|
1231
|
+
* @memberof FeatureDetailResponseData
|
|
1232
|
+
*/
|
|
1233
|
+
updatedAt: Date;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
/**
|
|
1237
|
+
* Schematic API
|
|
1238
|
+
* Schematic API
|
|
1239
|
+
*
|
|
1240
|
+
* The version of the OpenAPI document: 0.1
|
|
1241
|
+
*
|
|
1242
|
+
*
|
|
1243
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1244
|
+
* https://openapi-generator.tech
|
|
1245
|
+
* Do not edit the class manually.
|
|
1246
|
+
*/
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @export
|
|
1250
|
+
* @interface FeatureResponseData
|
|
1251
|
+
*/
|
|
1252
|
+
declare interface FeatureResponseData {
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @type {Date}
|
|
1256
|
+
* @memberof FeatureResponseData
|
|
1257
|
+
*/
|
|
1258
|
+
createdAt: Date;
|
|
1259
|
+
/**
|
|
1260
|
+
*
|
|
1261
|
+
* @type {string}
|
|
1262
|
+
* @memberof FeatureResponseData
|
|
1263
|
+
*/
|
|
1264
|
+
description: string;
|
|
1265
|
+
/**
|
|
1266
|
+
*
|
|
1267
|
+
* @type {string}
|
|
1268
|
+
* @memberof FeatureResponseData
|
|
1269
|
+
*/
|
|
1270
|
+
eventSubtype?: string | null;
|
|
1271
|
+
/**
|
|
1272
|
+
*
|
|
1273
|
+
* @type {string}
|
|
1274
|
+
* @memberof FeatureResponseData
|
|
1275
|
+
*/
|
|
1276
|
+
featureType: string;
|
|
1277
|
+
/**
|
|
1278
|
+
*
|
|
1279
|
+
* @type {string}
|
|
1280
|
+
* @memberof FeatureResponseData
|
|
1281
|
+
*/
|
|
1282
|
+
icon: string;
|
|
1283
|
+
/**
|
|
1284
|
+
*
|
|
1285
|
+
* @type {string}
|
|
1286
|
+
* @memberof FeatureResponseData
|
|
1287
|
+
*/
|
|
1288
|
+
id: string;
|
|
1289
|
+
/**
|
|
1290
|
+
*
|
|
1291
|
+
* @type {string}
|
|
1292
|
+
* @memberof FeatureResponseData
|
|
1293
|
+
*/
|
|
1294
|
+
lifecyclePhase?: string | null;
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @type {string}
|
|
1298
|
+
* @memberof FeatureResponseData
|
|
1299
|
+
*/
|
|
1300
|
+
maintainerId?: string | null;
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @type {string}
|
|
1304
|
+
* @memberof FeatureResponseData
|
|
1305
|
+
*/
|
|
1306
|
+
name: string;
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @type {string}
|
|
1310
|
+
* @memberof FeatureResponseData
|
|
1311
|
+
*/
|
|
1312
|
+
traitId?: string | null;
|
|
1313
|
+
/**
|
|
1314
|
+
*
|
|
1315
|
+
* @type {Date}
|
|
1316
|
+
* @memberof FeatureResponseData
|
|
1317
|
+
*/
|
|
1318
|
+
updatedAt: Date;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @export
|
|
1324
|
+
* @interface FeatureUsageDetailResponseData
|
|
1325
|
+
*/
|
|
1326
|
+
declare interface FeatureUsageDetailResponseData {
|
|
1327
|
+
/**
|
|
1328
|
+
*
|
|
1329
|
+
* @type {Array<FeatureUsageResponseData>}
|
|
1330
|
+
* @memberof FeatureUsageDetailResponseData
|
|
1331
|
+
*/
|
|
1332
|
+
features: Array<FeatureUsageResponseData>;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
*
|
|
1337
|
+
* @export
|
|
1338
|
+
* @interface FeatureUsageResponseData
|
|
1339
|
+
*/
|
|
1340
|
+
declare interface FeatureUsageResponseData {
|
|
1341
|
+
/**
|
|
1342
|
+
* Whether further usage is permitted.
|
|
1343
|
+
* @type {boolean}
|
|
1344
|
+
* @memberof FeatureUsageResponseData
|
|
1345
|
+
*/
|
|
1346
|
+
access: boolean;
|
|
1347
|
+
/**
|
|
1348
|
+
* The maximum amount of usage that is permitted; a null value indicates that unlimited usage is permitted.
|
|
1349
|
+
* @type {number}
|
|
1350
|
+
* @memberof FeatureUsageResponseData
|
|
1351
|
+
*/
|
|
1352
|
+
allocation?: number | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* The type of allocation that is being used.
|
|
1355
|
+
* @type {string}
|
|
1356
|
+
* @memberof FeatureUsageResponseData
|
|
1357
|
+
*/
|
|
1358
|
+
allocationType: FeatureUsageResponseDataAllocationTypeEnum;
|
|
1359
|
+
/**
|
|
1360
|
+
*
|
|
1361
|
+
* @type {string}
|
|
1362
|
+
* @memberof FeatureUsageResponseData
|
|
1363
|
+
*/
|
|
1364
|
+
entitlementId: string;
|
|
1365
|
+
/**
|
|
1366
|
+
*
|
|
1367
|
+
* @type {string}
|
|
1368
|
+
* @memberof FeatureUsageResponseData
|
|
1369
|
+
*/
|
|
1370
|
+
entitlementType: string;
|
|
1371
|
+
/**
|
|
1372
|
+
*
|
|
1373
|
+
* @type {FeatureDetailResponseData}
|
|
1374
|
+
* @memberof FeatureUsageResponseData
|
|
1375
|
+
*/
|
|
1376
|
+
feature?: FeatureDetailResponseData;
|
|
1377
|
+
/**
|
|
1378
|
+
* The period over which usage is measured.
|
|
1379
|
+
* @type {string}
|
|
1380
|
+
* @memberof FeatureUsageResponseData
|
|
1381
|
+
*/
|
|
1382
|
+
period?: string | null;
|
|
1383
|
+
/**
|
|
1384
|
+
*
|
|
1385
|
+
* @type {PlanResponseData}
|
|
1386
|
+
* @memberof FeatureUsageResponseData
|
|
1387
|
+
*/
|
|
1388
|
+
plan?: PlanResponseData;
|
|
1389
|
+
/**
|
|
1390
|
+
* The amount of usage that has been consumed; a null value indicates that usage is not being measured.
|
|
1391
|
+
* @type {number}
|
|
1392
|
+
* @memberof FeatureUsageResponseData
|
|
1393
|
+
*/
|
|
1394
|
+
usage?: number | null;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* @export
|
|
1399
|
+
*/
|
|
1400
|
+
declare const FeatureUsageResponseDataAllocationTypeEnum: {
|
|
1401
|
+
readonly Boolean: "boolean";
|
|
1402
|
+
readonly Numeric: "numeric";
|
|
1403
|
+
readonly Trait: "trait";
|
|
1404
|
+
readonly Unlimited: "unlimited";
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
declare type FeatureUsageResponseDataAllocationTypeEnum = (typeof FeatureUsageResponseDataAllocationTypeEnum)[keyof typeof FeatureUsageResponseDataAllocationTypeEnum];
|
|
1408
|
+
|
|
1409
|
+
declare type FetchAPI = WindowOrWorkerGlobalScope["fetch"];
|
|
1410
|
+
|
|
1411
|
+
declare interface FetchParams {
|
|
1412
|
+
url: string;
|
|
1413
|
+
init: RequestInit;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
30
1416
|
export { FlagCheckResponseBody }
|
|
31
1417
|
|
|
32
1418
|
export { FlagCheckWithKeyResponseBody }
|
|
33
1419
|
|
|
1420
|
+
/**
|
|
1421
|
+
*
|
|
1422
|
+
* @export
|
|
1423
|
+
* @interface FlagDetailResponseData
|
|
1424
|
+
*/
|
|
1425
|
+
declare interface FlagDetailResponseData {
|
|
1426
|
+
/**
|
|
1427
|
+
*
|
|
1428
|
+
* @type {Date}
|
|
1429
|
+
* @memberof FlagDetailResponseData
|
|
1430
|
+
*/
|
|
1431
|
+
createdAt: Date;
|
|
1432
|
+
/**
|
|
1433
|
+
*
|
|
1434
|
+
* @type {boolean}
|
|
1435
|
+
* @memberof FlagDetailResponseData
|
|
1436
|
+
*/
|
|
1437
|
+
defaultValue: boolean;
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @type {string}
|
|
1441
|
+
* @memberof FlagDetailResponseData
|
|
1442
|
+
*/
|
|
1443
|
+
description: string;
|
|
1444
|
+
/**
|
|
1445
|
+
*
|
|
1446
|
+
* @type {FeatureResponseData}
|
|
1447
|
+
* @memberof FlagDetailResponseData
|
|
1448
|
+
*/
|
|
1449
|
+
feature?: FeatureResponseData;
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @type {string}
|
|
1453
|
+
* @memberof FlagDetailResponseData
|
|
1454
|
+
*/
|
|
1455
|
+
featureId?: string | null;
|
|
1456
|
+
/**
|
|
1457
|
+
*
|
|
1458
|
+
* @type {string}
|
|
1459
|
+
* @memberof FlagDetailResponseData
|
|
1460
|
+
*/
|
|
1461
|
+
flagType: string;
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* @type {string}
|
|
1465
|
+
* @memberof FlagDetailResponseData
|
|
1466
|
+
*/
|
|
1467
|
+
id: string;
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @type {string}
|
|
1471
|
+
* @memberof FlagDetailResponseData
|
|
1472
|
+
*/
|
|
1473
|
+
key: string;
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @type {Date}
|
|
1477
|
+
* @memberof FlagDetailResponseData
|
|
1478
|
+
*/
|
|
1479
|
+
lastCheckedAt?: Date | null;
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof FlagDetailResponseData
|
|
1484
|
+
*/
|
|
1485
|
+
maintainerId?: string | null;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {string}
|
|
1489
|
+
* @memberof FlagDetailResponseData
|
|
1490
|
+
*/
|
|
1491
|
+
name: string;
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @type {Array<RuleDetailResponseData>}
|
|
1495
|
+
* @memberof FlagDetailResponseData
|
|
1496
|
+
*/
|
|
1497
|
+
rules: Array<RuleDetailResponseData>;
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @type {Date}
|
|
1501
|
+
* @memberof FlagDetailResponseData
|
|
1502
|
+
*/
|
|
1503
|
+
updatedAt: Date;
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1506
|
+
export declare const Flex: IStyledComponentBase<"web", FastOmit<Omit<FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof ComponentProps> & ComponentProps, "ref"> & {
|
|
1507
|
+
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;
|
|
1508
|
+
}, never>> & string;
|
|
1509
|
+
|
|
1510
|
+
declare type FontStyle = keyof EmbedThemeSettings["typography"];
|
|
1511
|
+
|
|
1512
|
+
declare type HTTPHeaders = {
|
|
1513
|
+
[key: string]: string;
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1516
|
+
declare type HTTPQuery = {
|
|
1517
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
export declare const Icon: ({ name, className, ...props }: IconProps) => JSX_2.Element;
|
|
1521
|
+
|
|
1522
|
+
export declare type IconNameTypes = keyof typeof _default;
|
|
1523
|
+
|
|
1524
|
+
export declare interface IconProps extends React.HTMLAttributes<HTMLElement> {
|
|
1525
|
+
name: IconNameTypes;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
export declare const IconRound: ({ name, variant, size, colors, ...props }: IconRoundProps) => JSX_2.Element;
|
|
1529
|
+
|
|
1530
|
+
export declare interface IconRoundProps extends React.HTMLAttributes<HTMLElement> {
|
|
1531
|
+
name: IconNameTypes;
|
|
1532
|
+
variant?: "outline" | "filled";
|
|
1533
|
+
size?: "tn" | "sm" | "md" | "lg";
|
|
1534
|
+
colors?: [string, string];
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
export declare const IncludedFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_2> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
1538
|
+
|
|
1539
|
+
export declare type IncludedFeaturesProps = DesignProps_2;
|
|
1540
|
+
|
|
1541
|
+
export declare const Invoices: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_6> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
1542
|
+
|
|
1543
|
+
export declare type InvoicesProps = DesignProps_6;
|
|
1544
|
+
|
|
34
1545
|
export { Keys }
|
|
35
1546
|
|
|
1547
|
+
export declare const MeteredFeatures: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_3> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
1548
|
+
|
|
1549
|
+
export declare type MeteredFeaturesProps = DesignProps_3;
|
|
1550
|
+
|
|
1551
|
+
declare interface Middleware {
|
|
1552
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
1553
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
1554
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
export declare const PaymentMethod: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_5> & HTMLAttributes<HTMLDivElement> & {
|
|
1558
|
+
portal?: HTMLElement | null;
|
|
1559
|
+
} & RefAttributes<HTMLDivElement | null>>;
|
|
1560
|
+
|
|
1561
|
+
export declare type PaymentMethodProps = DesignProps_5;
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
*
|
|
1565
|
+
* @export
|
|
1566
|
+
* @interface PlanEntitlementResponseData
|
|
1567
|
+
*/
|
|
1568
|
+
declare interface PlanEntitlementResponseData {
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @type {Date}
|
|
1572
|
+
* @memberof PlanEntitlementResponseData
|
|
1573
|
+
*/
|
|
1574
|
+
createdAt: Date;
|
|
1575
|
+
/**
|
|
1576
|
+
*
|
|
1577
|
+
* @type {string}
|
|
1578
|
+
* @memberof PlanEntitlementResponseData
|
|
1579
|
+
*/
|
|
1580
|
+
environmentId: string;
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @type {FeatureResponseData}
|
|
1584
|
+
* @memberof PlanEntitlementResponseData
|
|
1585
|
+
*/
|
|
1586
|
+
feature?: FeatureResponseData;
|
|
1587
|
+
/**
|
|
1588
|
+
*
|
|
1589
|
+
* @type {string}
|
|
1590
|
+
* @memberof PlanEntitlementResponseData
|
|
1591
|
+
*/
|
|
1592
|
+
featureId: string;
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
* @type {string}
|
|
1596
|
+
* @memberof PlanEntitlementResponseData
|
|
1597
|
+
*/
|
|
1598
|
+
id: string;
|
|
1599
|
+
/**
|
|
1600
|
+
*
|
|
1601
|
+
* @type {string}
|
|
1602
|
+
* @memberof PlanEntitlementResponseData
|
|
1603
|
+
*/
|
|
1604
|
+
metricPeriod?: string | null;
|
|
1605
|
+
/**
|
|
1606
|
+
*
|
|
1607
|
+
* @type {PlanResponseData}
|
|
1608
|
+
* @memberof PlanEntitlementResponseData
|
|
1609
|
+
*/
|
|
1610
|
+
plan?: PlanResponseData;
|
|
1611
|
+
/**
|
|
1612
|
+
*
|
|
1613
|
+
* @type {string}
|
|
1614
|
+
* @memberof PlanEntitlementResponseData
|
|
1615
|
+
*/
|
|
1616
|
+
planId: string;
|
|
1617
|
+
/**
|
|
1618
|
+
*
|
|
1619
|
+
* @type {string}
|
|
1620
|
+
* @memberof PlanEntitlementResponseData
|
|
1621
|
+
*/
|
|
1622
|
+
ruleId: string;
|
|
1623
|
+
/**
|
|
1624
|
+
*
|
|
1625
|
+
* @type {Date}
|
|
1626
|
+
* @memberof PlanEntitlementResponseData
|
|
1627
|
+
*/
|
|
1628
|
+
updatedAt: Date;
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @type {boolean}
|
|
1632
|
+
* @memberof PlanEntitlementResponseData
|
|
1633
|
+
*/
|
|
1634
|
+
valueBool?: boolean | null;
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @type {number}
|
|
1638
|
+
* @memberof PlanEntitlementResponseData
|
|
1639
|
+
*/
|
|
1640
|
+
valueNumeric?: number | null;
|
|
1641
|
+
/**
|
|
1642
|
+
*
|
|
1643
|
+
* @type {EntityTraitDefinitionResponseData}
|
|
1644
|
+
* @memberof PlanEntitlementResponseData
|
|
1645
|
+
*/
|
|
1646
|
+
valueTrait?: EntityTraitDefinitionResponseData;
|
|
1647
|
+
/**
|
|
1648
|
+
*
|
|
1649
|
+
* @type {string}
|
|
1650
|
+
* @memberof PlanEntitlementResponseData
|
|
1651
|
+
*/
|
|
1652
|
+
valueTraitId?: string | null;
|
|
1653
|
+
/**
|
|
1654
|
+
*
|
|
1655
|
+
* @type {string}
|
|
1656
|
+
* @memberof PlanEntitlementResponseData
|
|
1657
|
+
*/
|
|
1658
|
+
valueType: string;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
export declare const PlanManager: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps> & HTMLAttributes<HTMLDivElement> & {
|
|
1662
|
+
portal?: HTMLElement | null;
|
|
1663
|
+
} & RefAttributes<HTMLDivElement | null>>;
|
|
1664
|
+
|
|
1665
|
+
export declare type PlanManagerProps = DesignProps;
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* Schematic API
|
|
1669
|
+
* Schematic API
|
|
1670
|
+
*
|
|
1671
|
+
* The version of the OpenAPI document: 0.1
|
|
1672
|
+
*
|
|
1673
|
+
*
|
|
1674
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1675
|
+
* https://openapi-generator.tech
|
|
1676
|
+
* Do not edit the class manually.
|
|
1677
|
+
*/
|
|
1678
|
+
/**
|
|
1679
|
+
*
|
|
1680
|
+
* @export
|
|
1681
|
+
* @interface PlanResponseData
|
|
1682
|
+
*/
|
|
1683
|
+
declare interface PlanResponseData {
|
|
1684
|
+
/**
|
|
1685
|
+
*
|
|
1686
|
+
* @type {string}
|
|
1687
|
+
* @memberof PlanResponseData
|
|
1688
|
+
*/
|
|
1689
|
+
audienceType?: string | null;
|
|
1690
|
+
/**
|
|
1691
|
+
*
|
|
1692
|
+
* @type {Date}
|
|
1693
|
+
* @memberof PlanResponseData
|
|
1694
|
+
*/
|
|
1695
|
+
createdAt: Date;
|
|
1696
|
+
/**
|
|
1697
|
+
*
|
|
1698
|
+
* @type {string}
|
|
1699
|
+
* @memberof PlanResponseData
|
|
1700
|
+
*/
|
|
1701
|
+
description: string;
|
|
1702
|
+
/**
|
|
1703
|
+
*
|
|
1704
|
+
* @type {string}
|
|
1705
|
+
* @memberof PlanResponseData
|
|
1706
|
+
*/
|
|
1707
|
+
icon: string;
|
|
1708
|
+
/**
|
|
1709
|
+
*
|
|
1710
|
+
* @type {string}
|
|
1711
|
+
* @memberof PlanResponseData
|
|
1712
|
+
*/
|
|
1713
|
+
id: string;
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @type {string}
|
|
1717
|
+
* @memberof PlanResponseData
|
|
1718
|
+
*/
|
|
1719
|
+
name: string;
|
|
1720
|
+
/**
|
|
1721
|
+
*
|
|
1722
|
+
* @type {string}
|
|
1723
|
+
* @memberof PlanResponseData
|
|
1724
|
+
*/
|
|
1725
|
+
planType: string;
|
|
1726
|
+
/**
|
|
1727
|
+
*
|
|
1728
|
+
* @type {Date}
|
|
1729
|
+
* @memberof PlanResponseData
|
|
1730
|
+
*/
|
|
1731
|
+
updatedAt: Date;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* Schematic API
|
|
1736
|
+
* Schematic API
|
|
1737
|
+
*
|
|
1738
|
+
* The version of the OpenAPI document: 0.1
|
|
1739
|
+
*
|
|
1740
|
+
*
|
|
1741
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1742
|
+
* https://openapi-generator.tech
|
|
1743
|
+
* Do not edit the class manually.
|
|
1744
|
+
*/
|
|
1745
|
+
/**
|
|
1746
|
+
*
|
|
1747
|
+
* @export
|
|
1748
|
+
* @interface PreviewObject
|
|
1749
|
+
*/
|
|
1750
|
+
declare interface PreviewObject {
|
|
1751
|
+
/**
|
|
1752
|
+
*
|
|
1753
|
+
* @type {string}
|
|
1754
|
+
* @memberof PreviewObject
|
|
1755
|
+
*/
|
|
1756
|
+
description?: string | null;
|
|
1757
|
+
/**
|
|
1758
|
+
*
|
|
1759
|
+
* @type {string}
|
|
1760
|
+
* @memberof PreviewObject
|
|
1761
|
+
*/
|
|
1762
|
+
id: string;
|
|
1763
|
+
/**
|
|
1764
|
+
*
|
|
1765
|
+
* @type {string}
|
|
1766
|
+
* @memberof PreviewObject
|
|
1767
|
+
*/
|
|
1768
|
+
imageUrl?: string | null;
|
|
1769
|
+
/**
|
|
1770
|
+
*
|
|
1771
|
+
* @type {string}
|
|
1772
|
+
* @memberof PreviewObject
|
|
1773
|
+
*/
|
|
1774
|
+
name: string;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
export declare const ProgressBar: ({ progress, value, total, color, barWidth, ...props }: ProgressBarProps) => JSX_2.Element;
|
|
1778
|
+
|
|
1779
|
+
export declare interface ProgressBarProps extends React.ComponentPropsWithoutRef<typeof Flex> {
|
|
1780
|
+
progress: number;
|
|
1781
|
+
value: number;
|
|
1782
|
+
total?: number | string;
|
|
1783
|
+
color?: "gray" | "orange" | "blue" | "red";
|
|
1784
|
+
barWidth?: string | number;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
declare type RecursivePartial<T> = {
|
|
1788
|
+
[P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial<U>[] : T[P] extends object | undefined ? RecursivePartial<T[P]> : T[P];
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
declare interface RequestContext {
|
|
1792
|
+
fetch: FetchAPI;
|
|
1793
|
+
url: string;
|
|
1794
|
+
init: RequestInit;
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
declare interface ResponseContext {
|
|
1798
|
+
fetch: FetchAPI;
|
|
1799
|
+
url: string;
|
|
1800
|
+
init: RequestInit;
|
|
1801
|
+
response: Response;
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
*
|
|
1806
|
+
* @export
|
|
1807
|
+
* @interface RuleConditionDetailResponseData
|
|
1808
|
+
*/
|
|
1809
|
+
declare interface RuleConditionDetailResponseData {
|
|
1810
|
+
/**
|
|
1811
|
+
*
|
|
1812
|
+
* @type {EntityTraitDefinitionResponseData}
|
|
1813
|
+
* @memberof RuleConditionDetailResponseData
|
|
1814
|
+
*/
|
|
1815
|
+
comparisonTrait?: EntityTraitDefinitionResponseData;
|
|
1816
|
+
/**
|
|
1817
|
+
*
|
|
1818
|
+
* @type {string}
|
|
1819
|
+
* @memberof RuleConditionDetailResponseData
|
|
1820
|
+
*/
|
|
1821
|
+
comparisonTraitId?: string | null;
|
|
1822
|
+
/**
|
|
1823
|
+
*
|
|
1824
|
+
* @type {string}
|
|
1825
|
+
* @memberof RuleConditionDetailResponseData
|
|
1826
|
+
*/
|
|
1827
|
+
conditionGroupId?: string | null;
|
|
1828
|
+
/**
|
|
1829
|
+
*
|
|
1830
|
+
* @type {string}
|
|
1831
|
+
* @memberof RuleConditionDetailResponseData
|
|
1832
|
+
*/
|
|
1833
|
+
conditionType: string;
|
|
1834
|
+
/**
|
|
1835
|
+
*
|
|
1836
|
+
* @type {Date}
|
|
1837
|
+
* @memberof RuleConditionDetailResponseData
|
|
1838
|
+
*/
|
|
1839
|
+
createdAt: Date;
|
|
1840
|
+
/**
|
|
1841
|
+
*
|
|
1842
|
+
* @type {string}
|
|
1843
|
+
* @memberof RuleConditionDetailResponseData
|
|
1844
|
+
*/
|
|
1845
|
+
environmentId: string;
|
|
1846
|
+
/**
|
|
1847
|
+
*
|
|
1848
|
+
* @type {string}
|
|
1849
|
+
* @memberof RuleConditionDetailResponseData
|
|
1850
|
+
*/
|
|
1851
|
+
eventSubtype?: string | null;
|
|
1852
|
+
/**
|
|
1853
|
+
*
|
|
1854
|
+
* @type {string}
|
|
1855
|
+
* @memberof RuleConditionDetailResponseData
|
|
1856
|
+
*/
|
|
1857
|
+
flagId?: string | null;
|
|
1858
|
+
/**
|
|
1859
|
+
*
|
|
1860
|
+
* @type {string}
|
|
1861
|
+
* @memberof RuleConditionDetailResponseData
|
|
1862
|
+
*/
|
|
1863
|
+
id: string;
|
|
1864
|
+
/**
|
|
1865
|
+
*
|
|
1866
|
+
* @type {string}
|
|
1867
|
+
* @memberof RuleConditionDetailResponseData
|
|
1868
|
+
*/
|
|
1869
|
+
metricPeriod?: string | null;
|
|
1870
|
+
/**
|
|
1871
|
+
*
|
|
1872
|
+
* @type {number}
|
|
1873
|
+
* @memberof RuleConditionDetailResponseData
|
|
1874
|
+
*/
|
|
1875
|
+
metricValue?: number | null;
|
|
1876
|
+
/**
|
|
1877
|
+
*
|
|
1878
|
+
* @type {string}
|
|
1879
|
+
* @memberof RuleConditionDetailResponseData
|
|
1880
|
+
*/
|
|
1881
|
+
operator: string;
|
|
1882
|
+
/**
|
|
1883
|
+
*
|
|
1884
|
+
* @type {string}
|
|
1885
|
+
* @memberof RuleConditionDetailResponseData
|
|
1886
|
+
*/
|
|
1887
|
+
planId?: string | null;
|
|
1888
|
+
/**
|
|
1889
|
+
*
|
|
1890
|
+
* @type {Array<string>}
|
|
1891
|
+
* @memberof RuleConditionDetailResponseData
|
|
1892
|
+
*/
|
|
1893
|
+
resourceIds: Array<string>;
|
|
1894
|
+
/**
|
|
1895
|
+
*
|
|
1896
|
+
* @type {Array<RuleConditionResourceResponseData>}
|
|
1897
|
+
* @memberof RuleConditionDetailResponseData
|
|
1898
|
+
*/
|
|
1899
|
+
resources: Array<RuleConditionResourceResponseData>;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {string}
|
|
1903
|
+
* @memberof RuleConditionDetailResponseData
|
|
1904
|
+
*/
|
|
1905
|
+
ruleId: string;
|
|
1906
|
+
/**
|
|
1907
|
+
*
|
|
1908
|
+
* @type {EntityTraitDefinitionResponseData}
|
|
1909
|
+
* @memberof RuleConditionDetailResponseData
|
|
1910
|
+
*/
|
|
1911
|
+
trait?: EntityTraitDefinitionResponseData;
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @type {string}
|
|
1915
|
+
* @memberof RuleConditionDetailResponseData
|
|
1916
|
+
*/
|
|
1917
|
+
traitEntityType?: string | null;
|
|
1918
|
+
/**
|
|
1919
|
+
*
|
|
1920
|
+
* @type {string}
|
|
1921
|
+
* @memberof RuleConditionDetailResponseData
|
|
1922
|
+
*/
|
|
1923
|
+
traitId?: string | null;
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @type {string}
|
|
1927
|
+
* @memberof RuleConditionDetailResponseData
|
|
1928
|
+
*/
|
|
1929
|
+
traitValue: string;
|
|
1930
|
+
/**
|
|
1931
|
+
*
|
|
1932
|
+
* @type {Date}
|
|
1933
|
+
* @memberof RuleConditionDetailResponseData
|
|
1934
|
+
*/
|
|
1935
|
+
updatedAt: Date;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
*
|
|
1940
|
+
* @export
|
|
1941
|
+
* @interface RuleConditionGroupDetailResponseData
|
|
1942
|
+
*/
|
|
1943
|
+
declare interface RuleConditionGroupDetailResponseData {
|
|
1944
|
+
/**
|
|
1945
|
+
*
|
|
1946
|
+
* @type {Array<RuleConditionDetailResponseData>}
|
|
1947
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1948
|
+
*/
|
|
1949
|
+
conditions: Array<RuleConditionDetailResponseData>;
|
|
1950
|
+
/**
|
|
1951
|
+
*
|
|
1952
|
+
* @type {Date}
|
|
1953
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1954
|
+
*/
|
|
1955
|
+
createdAt: Date;
|
|
1956
|
+
/**
|
|
1957
|
+
*
|
|
1958
|
+
* @type {string}
|
|
1959
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1960
|
+
*/
|
|
1961
|
+
environmentId: string;
|
|
1962
|
+
/**
|
|
1963
|
+
*
|
|
1964
|
+
* @type {string}
|
|
1965
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1966
|
+
*/
|
|
1967
|
+
flagId?: string | null;
|
|
1968
|
+
/**
|
|
1969
|
+
*
|
|
1970
|
+
* @type {string}
|
|
1971
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1972
|
+
*/
|
|
1973
|
+
id: string;
|
|
1974
|
+
/**
|
|
1975
|
+
*
|
|
1976
|
+
* @type {string}
|
|
1977
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1978
|
+
*/
|
|
1979
|
+
planId?: string | null;
|
|
1980
|
+
/**
|
|
1981
|
+
*
|
|
1982
|
+
* @type {string}
|
|
1983
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1984
|
+
*/
|
|
1985
|
+
ruleId: string;
|
|
1986
|
+
/**
|
|
1987
|
+
*
|
|
1988
|
+
* @type {Date}
|
|
1989
|
+
* @memberof RuleConditionGroupDetailResponseData
|
|
1990
|
+
*/
|
|
1991
|
+
updatedAt: Date;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* Schematic API
|
|
1996
|
+
* Schematic API
|
|
1997
|
+
*
|
|
1998
|
+
* The version of the OpenAPI document: 0.1
|
|
1999
|
+
*
|
|
2000
|
+
*
|
|
2001
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2002
|
+
* https://openapi-generator.tech
|
|
2003
|
+
* Do not edit the class manually.
|
|
2004
|
+
*/
|
|
2005
|
+
/**
|
|
2006
|
+
*
|
|
2007
|
+
* @export
|
|
2008
|
+
* @interface RuleConditionResourceResponseData
|
|
2009
|
+
*/
|
|
2010
|
+
declare interface RuleConditionResourceResponseData {
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @type {string}
|
|
2014
|
+
* @memberof RuleConditionResourceResponseData
|
|
2015
|
+
*/
|
|
2016
|
+
id: string;
|
|
2017
|
+
/**
|
|
2018
|
+
*
|
|
2019
|
+
* @type {string}
|
|
2020
|
+
* @memberof RuleConditionResourceResponseData
|
|
2021
|
+
*/
|
|
2022
|
+
name: string;
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
/**
|
|
2026
|
+
*
|
|
2027
|
+
* @export
|
|
2028
|
+
* @interface RuleDetailResponseData
|
|
2029
|
+
*/
|
|
2030
|
+
declare interface RuleDetailResponseData {
|
|
2031
|
+
/**
|
|
2032
|
+
*
|
|
2033
|
+
* @type {Array<RuleConditionGroupDetailResponseData>}
|
|
2034
|
+
* @memberof RuleDetailResponseData
|
|
2035
|
+
*/
|
|
2036
|
+
conditionGroups: Array<RuleConditionGroupDetailResponseData>;
|
|
2037
|
+
/**
|
|
2038
|
+
*
|
|
2039
|
+
* @type {Array<RuleConditionDetailResponseData>}
|
|
2040
|
+
* @memberof RuleDetailResponseData
|
|
2041
|
+
*/
|
|
2042
|
+
conditions: Array<RuleConditionDetailResponseData>;
|
|
2043
|
+
/**
|
|
2044
|
+
*
|
|
2045
|
+
* @type {Date}
|
|
2046
|
+
* @memberof RuleDetailResponseData
|
|
2047
|
+
*/
|
|
2048
|
+
createdAt: Date;
|
|
2049
|
+
/**
|
|
2050
|
+
*
|
|
2051
|
+
* @type {string}
|
|
2052
|
+
* @memberof RuleDetailResponseData
|
|
2053
|
+
*/
|
|
2054
|
+
environmentId: string;
|
|
2055
|
+
/**
|
|
2056
|
+
*
|
|
2057
|
+
* @type {string}
|
|
2058
|
+
* @memberof RuleDetailResponseData
|
|
2059
|
+
*/
|
|
2060
|
+
flagId?: string | null;
|
|
2061
|
+
/**
|
|
2062
|
+
*
|
|
2063
|
+
* @type {string}
|
|
2064
|
+
* @memberof RuleDetailResponseData
|
|
2065
|
+
*/
|
|
2066
|
+
id: string;
|
|
2067
|
+
/**
|
|
2068
|
+
*
|
|
2069
|
+
* @type {string}
|
|
2070
|
+
* @memberof RuleDetailResponseData
|
|
2071
|
+
*/
|
|
2072
|
+
name: string;
|
|
2073
|
+
/**
|
|
2074
|
+
*
|
|
2075
|
+
* @type {string}
|
|
2076
|
+
* @memberof RuleDetailResponseData
|
|
2077
|
+
*/
|
|
2078
|
+
planId?: string | null;
|
|
2079
|
+
/**
|
|
2080
|
+
*
|
|
2081
|
+
* @type {number}
|
|
2082
|
+
* @memberof RuleDetailResponseData
|
|
2083
|
+
*/
|
|
2084
|
+
priority: number;
|
|
2085
|
+
/**
|
|
2086
|
+
*
|
|
2087
|
+
* @type {string}
|
|
2088
|
+
* @memberof RuleDetailResponseData
|
|
2089
|
+
*/
|
|
2090
|
+
ruleType: string;
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @type {Date}
|
|
2094
|
+
* @memberof RuleDetailResponseData
|
|
2095
|
+
*/
|
|
2096
|
+
updatedAt: Date;
|
|
2097
|
+
/**
|
|
2098
|
+
*
|
|
2099
|
+
* @type {boolean}
|
|
2100
|
+
* @memberof RuleDetailResponseData
|
|
2101
|
+
*/
|
|
2102
|
+
value: boolean;
|
|
2103
|
+
}
|
|
2104
|
+
|
|
36
2105
|
export { Schematic }
|
|
37
2106
|
|
|
38
2107
|
export { SchematicContext }
|
|
@@ -42,9 +2111,7 @@ declare interface SchematicContextProps {
|
|
|
42
2111
|
flagValues: Record<string, boolean>;
|
|
43
2112
|
}
|
|
44
2113
|
|
|
45
|
-
export declare
|
|
46
|
-
[key: string]: boolean;
|
|
47
|
-
}
|
|
2114
|
+
export declare const SchematicEmbed: ({ id, accessToken, apiConfig }: EmbedProps) => JSX_2.Element;
|
|
48
2115
|
|
|
49
2116
|
export declare interface SchematicHookOpts {
|
|
50
2117
|
client?: SchematicJS.Schematic;
|
|
@@ -54,15 +2121,89 @@ export { SchematicOptions }
|
|
|
54
2121
|
|
|
55
2122
|
export declare const SchematicProvider: React_2.FC<SchematicProviderProps>;
|
|
56
2123
|
|
|
57
|
-
export declare
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
publishableKey?:
|
|
2124
|
+
export declare type SchematicProviderProps = SchematicProviderPropsWithClient | SchematicProviderPropsWithPublishableKey;
|
|
2125
|
+
|
|
2126
|
+
declare type SchematicProviderPropsWithClient = BaseSchematicProviderProps & {
|
|
2127
|
+
client: SchematicJS.Schematic;
|
|
2128
|
+
publishableKey?: never;
|
|
2129
|
+
};
|
|
2130
|
+
|
|
2131
|
+
declare type SchematicProviderPropsWithPublishableKey = BaseSchematicProviderProps & {
|
|
2132
|
+
client?: never;
|
|
2133
|
+
publishableKey: string;
|
|
2134
|
+
};
|
|
2135
|
+
|
|
2136
|
+
declare type SerializedNode = Omit<Craft.SerializedNode, "parent"> & {
|
|
2137
|
+
id: string;
|
|
2138
|
+
parent?: string | null;
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
declare type SerializedNodeWithChildren = SerializedNode & {
|
|
2142
|
+
children: SerializedNodeWithChildren[];
|
|
2143
|
+
};
|
|
2144
|
+
|
|
2145
|
+
/**
|
|
2146
|
+
* Schematic API
|
|
2147
|
+
* Schematic API
|
|
2148
|
+
*
|
|
2149
|
+
* The version of the OpenAPI document: 0.1
|
|
2150
|
+
*
|
|
2151
|
+
*
|
|
2152
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2153
|
+
* https://openapi-generator.tech
|
|
2154
|
+
* Do not edit the class manually.
|
|
2155
|
+
*/
|
|
2156
|
+
/**
|
|
2157
|
+
*
|
|
2158
|
+
* @export
|
|
2159
|
+
* @interface StripeEmbedInfo
|
|
2160
|
+
*/
|
|
2161
|
+
declare interface StripeEmbedInfo {
|
|
2162
|
+
/**
|
|
2163
|
+
*
|
|
2164
|
+
* @type {string}
|
|
2165
|
+
* @memberof StripeEmbedInfo
|
|
2166
|
+
*/
|
|
2167
|
+
customerEkey: string;
|
|
2168
|
+
/**
|
|
2169
|
+
*
|
|
2170
|
+
* @type {string}
|
|
2171
|
+
* @memberof StripeEmbedInfo
|
|
2172
|
+
*/
|
|
2173
|
+
publishableKey: string;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
declare const Text_2: IStyledComponentBase<"web", Substitute<DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TextProps>> & string;
|
|
2177
|
+
export { Text_2 as Text }
|
|
2178
|
+
|
|
2179
|
+
export declare interface TextProps extends ComponentProps {
|
|
2180
|
+
$align?: ComponentProps["$textAlign"];
|
|
2181
|
+
$font?: ComponentProps["$fontFamily"];
|
|
2182
|
+
$size?: ComponentProps["$fontSize"];
|
|
2183
|
+
$weight?: ComponentProps["$fontWeight"];
|
|
2184
|
+
$color?: ComponentProps["$color"];
|
|
2185
|
+
$lineHeight?: ComponentProps["$lineHeight"];
|
|
62
2186
|
}
|
|
63
2187
|
|
|
64
2188
|
export { Traits }
|
|
65
2189
|
|
|
2190
|
+
declare type TransientCSSProperties = {
|
|
2191
|
+
[Property in keyof React.CSSProperties as `$${string & Property}`]: React.CSSProperties[Property];
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
declare interface TypographySettings {
|
|
2195
|
+
fontFamily: string;
|
|
2196
|
+
fontSize: number;
|
|
2197
|
+
fontWeight: number;
|
|
2198
|
+
color: string;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
export declare const UpcomingBill: ForwardRefExoticComponent<ElementProps & RecursivePartial<DesignProps_4> & HTMLAttributes<HTMLDivElement> & RefAttributes<HTMLDivElement | null>>;
|
|
2202
|
+
|
|
2203
|
+
export declare type UpcomingBillProps = DesignProps_4;
|
|
2204
|
+
|
|
2205
|
+
export declare const useEmbed: () => EmbedContextProps;
|
|
2206
|
+
|
|
66
2207
|
export declare const useSchematic: () => SchematicContextProps;
|
|
67
2208
|
|
|
68
2209
|
export declare const useSchematicContext: (opts?: SchematicHookOpts) => {
|
|
@@ -70,8 +2211,8 @@ export declare const useSchematicContext: (opts?: SchematicHookOpts) => {
|
|
|
70
2211
|
};
|
|
71
2212
|
|
|
72
2213
|
export declare const useSchematicEvents: (opts?: SchematicHookOpts) => {
|
|
73
|
-
track: ((body: SchematicJS.EventBodyTrack) => void) | undefined;
|
|
74
|
-
identify: ((body: SchematicJS.EventBodyIdentify) => void) | undefined;
|
|
2214
|
+
track: ((body: SchematicJS.EventBodyTrack) => Promise<void>) | undefined;
|
|
2215
|
+
identify: ((body: SchematicJS.EventBodyIdentify) => Promise<void>) | undefined;
|
|
75
2216
|
};
|
|
76
2217
|
|
|
77
2218
|
export declare const useSchematicFlag: (key: string, opts?: UseSchematicFlagOpts) => boolean;
|