@schematichq/schematic-components 0.3.9 → 0.3.11

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.
@@ -117,12 +117,6 @@ declare interface BillingPriceResponseData {
117
117
  * @interface BillingProductDetailResponseData
118
118
  */
119
119
  declare interface BillingProductDetailResponseData {
120
- /**
121
- *
122
- * @type {Array<BillingPriceResponseData>}
123
- * @memberof BillingProductDetailResponseData
124
- */
125
- prices: Array<BillingPriceResponseData>;
126
120
  /**
127
121
  *
128
122
  * @type {string}
@@ -165,6 +159,12 @@ declare interface BillingProductDetailResponseData {
165
159
  * @memberof BillingProductDetailResponseData
166
160
  */
167
161
  price: number;
162
+ /**
163
+ *
164
+ * @type {Array<BillingPriceResponseData>}
165
+ * @memberof BillingProductDetailResponseData
166
+ */
167
+ prices: Array<BillingPriceResponseData>;
168
168
  /**
169
169
  *
170
170
  * @type {string}
@@ -202,12 +202,6 @@ declare interface BillingProductDetailResponseData {
202
202
  * @interface BillingProductForSubscriptionResponseData
203
203
  */
204
204
  declare interface BillingProductForSubscriptionResponseData {
205
- /**
206
- *
207
- * @type {string}
208
- * @memberof BillingProductForSubscriptionResponseData
209
- */
210
- accountId: string;
211
205
  /**
212
206
  *
213
207
  * @type {Date}
@@ -304,19 +298,31 @@ declare interface BillingSubscriptionResponseData {
304
298
  * @type {string}
305
299
  * @memberof BillingSubscriptionResponseData
306
300
  */
307
- currency: string;
301
+ companyId?: string | null;
308
302
  /**
309
303
  *
310
304
  * @type {Date}
311
305
  * @memberof BillingSubscriptionResponseData
312
306
  */
313
- expiredAt?: Date | null;
307
+ createdAt: Date;
314
308
  /**
315
309
  *
316
310
  * @type {string}
317
311
  * @memberof BillingSubscriptionResponseData
318
312
  */
319
- externalId: string;
313
+ currency: string;
314
+ /**
315
+ *
316
+ * @type {string}
317
+ * @memberof BillingSubscriptionResponseData
318
+ */
319
+ customerExternalId: string;
320
+ /**
321
+ *
322
+ * @type {Date}
323
+ * @memberof BillingSubscriptionResponseData
324
+ */
325
+ expiredAt?: Date | null;
320
326
  /**
321
327
  *
322
328
  * @type {string}
@@ -329,18 +335,146 @@ declare interface BillingSubscriptionResponseData {
329
335
  * @memberof BillingSubscriptionResponseData
330
336
  */
331
337
  interval: string;
338
+ /**
339
+ *
340
+ * @type {object}
341
+ * @memberof BillingSubscriptionResponseData
342
+ */
343
+ metadata?: object;
344
+ /**
345
+ *
346
+ * @type {number}
347
+ * @memberof BillingSubscriptionResponseData
348
+ */
349
+ periodEnd: number;
350
+ /**
351
+ *
352
+ * @type {number}
353
+ * @memberof BillingSubscriptionResponseData
354
+ */
355
+ periodStart: number;
356
+ /**
357
+ *
358
+ * @type {string}
359
+ * @memberof BillingSubscriptionResponseData
360
+ */
361
+ status: string;
362
+ /**
363
+ *
364
+ * @type {string}
365
+ * @memberof BillingSubscriptionResponseData
366
+ */
367
+ subscriptionExternalId: string;
332
368
  /**
333
369
  *
334
370
  * @type {number}
335
371
  * @memberof BillingSubscriptionResponseData
336
372
  */
337
373
  totalPrice: number;
374
+ }
375
+
376
+ /**
377
+ *
378
+ * @export
379
+ * @interface BillingSubscriptionView
380
+ */
381
+ declare interface BillingSubscriptionView {
382
+ /**
383
+ *
384
+ * @type {string}
385
+ * @memberof BillingSubscriptionView
386
+ */
387
+ companyId?: string | null;
338
388
  /**
339
389
  *
340
390
  * @type {Date}
341
- * @memberof BillingSubscriptionResponseData
391
+ * @memberof BillingSubscriptionView
342
392
  */
343
- updatedAt: Date;
393
+ createdAt: Date;
394
+ /**
395
+ *
396
+ * @type {string}
397
+ * @memberof BillingSubscriptionView
398
+ */
399
+ currency: string;
400
+ /**
401
+ *
402
+ * @type {string}
403
+ * @memberof BillingSubscriptionView
404
+ */
405
+ customerExternalId: string;
406
+ /**
407
+ *
408
+ * @type {Date}
409
+ * @memberof BillingSubscriptionView
410
+ */
411
+ expiredAt?: Date | null;
412
+ /**
413
+ *
414
+ * @type {string}
415
+ * @memberof BillingSubscriptionView
416
+ */
417
+ id: string;
418
+ /**
419
+ *
420
+ * @type {string}
421
+ * @memberof BillingSubscriptionView
422
+ */
423
+ interval: string;
424
+ /**
425
+ *
426
+ * @type {InvoiceResponseData}
427
+ * @memberof BillingSubscriptionView
428
+ */
429
+ latestInvoice?: InvoiceResponseData;
430
+ /**
431
+ *
432
+ * @type {object}
433
+ * @memberof BillingSubscriptionView
434
+ */
435
+ metadata?: object;
436
+ /**
437
+ *
438
+ * @type {PaymentMethodResponseData}
439
+ * @memberof BillingSubscriptionView
440
+ */
441
+ paymentMethod?: PaymentMethodResponseData;
442
+ /**
443
+ *
444
+ * @type {number}
445
+ * @memberof BillingSubscriptionView
446
+ */
447
+ periodEnd: number;
448
+ /**
449
+ *
450
+ * @type {number}
451
+ * @memberof BillingSubscriptionView
452
+ */
453
+ periodStart: number;
454
+ /**
455
+ *
456
+ * @type {Array<BillingProductForSubscriptionResponseData>}
457
+ * @memberof BillingSubscriptionView
458
+ */
459
+ products: Array<BillingProductForSubscriptionResponseData>;
460
+ /**
461
+ *
462
+ * @type {string}
463
+ * @memberof BillingSubscriptionView
464
+ */
465
+ status: string;
466
+ /**
467
+ *
468
+ * @type {string}
469
+ * @memberof BillingSubscriptionView
470
+ */
471
+ subscriptionExternalId: string;
472
+ /**
473
+ *
474
+ * @type {number}
475
+ * @memberof BillingSubscriptionView
476
+ */
477
+ totalPrice: number;
344
478
  }
345
479
 
346
480
  declare class BlobApiResponse {
@@ -521,10 +655,10 @@ declare interface CompanyDetailResponseData {
521
655
  addOns: Array<CompanyPlanWithBillingSubView>;
522
656
  /**
523
657
  *
524
- * @type {Array<BillingSubscriptionResponseData>}
658
+ * @type {Array<BillingSubscriptionView>}
525
659
  * @memberof CompanyDetailResponseData
526
660
  */
527
- billingSubscriptions: Array<BillingSubscriptionResponseData>;
661
+ billingSubscriptions: Array<BillingSubscriptionView>;
528
662
  /**
529
663
  *
530
664
  * @type {Date}
@@ -844,18 +978,55 @@ declare interface CompanySubscriptionResponseData {
844
978
  totalPrice: number;
845
979
  }
846
980
 
981
+ /**
982
+ * Schematic API
983
+ * Schematic API
984
+ *
985
+ * The version of the OpenAPI document: 0.1
986
+ *
987
+ *
988
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
989
+ * https://openapi-generator.tech
990
+ * Do not edit the class manually.
991
+ */
992
+ /**
993
+ *
994
+ * @export
995
+ * @interface ComponentCapabilities
996
+ */
997
+ declare interface ComponentCapabilities {
998
+ /**
999
+ *
1000
+ * @type {boolean}
1001
+ * @memberof ComponentCapabilities
1002
+ */
1003
+ checkout: boolean;
1004
+ }
1005
+
847
1006
  /**
848
1007
  * The returned resource
849
1008
  * @export
850
1009
  * @interface ComponentHydrateResponseData
851
1010
  */
852
1011
  declare interface ComponentHydrateResponseData {
1012
+ /**
1013
+ *
1014
+ * @type {Array<CompanyPlanDetailResponseData>}
1015
+ * @memberof ComponentHydrateResponseData
1016
+ */
1017
+ activeAddOns: Array<CompanyPlanDetailResponseData>;
853
1018
  /**
854
1019
  *
855
1020
  * @type {Array<CompanyPlanDetailResponseData>}
856
1021
  * @memberof ComponentHydrateResponseData
857
1022
  */
858
1023
  activePlans: Array<CompanyPlanDetailResponseData>;
1024
+ /**
1025
+ *
1026
+ * @type {ComponentCapabilities}
1027
+ * @memberof ComponentHydrateResponseData
1028
+ */
1029
+ capabilities?: ComponentCapabilities;
859
1030
  /**
860
1031
  *
861
1032
  * @type {CompanyDetailResponseData}
@@ -1119,6 +1290,7 @@ declare interface DesignProps {
1119
1290
  isVisible: boolean;
1120
1291
  fontStyle: FontStyle;
1121
1292
  };
1293
+ visibleFeatures?: string[];
1122
1294
  }
1123
1295
 
1124
1296
  declare interface DesignProps_2 {
@@ -1164,6 +1336,7 @@ declare interface DesignProps_3 {
1164
1336
  isVisible: boolean;
1165
1337
  fontStyle: FontStyle;
1166
1338
  };
1339
+ visibleFeatures?: string[];
1167
1340
  }
1168
1341
 
1169
1342
  declare interface DesignProps_4 {