@schematichq/schematic-components 0.3.12 → 0.3.13

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.
@@ -238,6 +238,12 @@ declare interface BillingProductForSubscriptionResponseData {
238
238
  * @memberof BillingProductForSubscriptionResponseData
239
239
  */
240
240
  interval: string;
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof BillingProductForSubscriptionResponseData
245
+ */
246
+ meterId?: string | null;
241
247
  /**
242
248
  *
243
249
  * @type {string}
@@ -274,6 +280,12 @@ declare interface BillingProductForSubscriptionResponseData {
274
280
  * @memberof BillingProductForSubscriptionResponseData
275
281
  */
276
282
  updatedAt: Date;
283
+ /**
284
+ *
285
+ * @type {string}
286
+ * @memberof BillingProductForSubscriptionResponseData
287
+ */
288
+ usageType: string;
277
289
  }
278
290
 
279
291
  /**
@@ -511,23 +523,18 @@ export declare interface CardProps {
511
523
  className?: string;
512
524
  }
513
525
 
514
- /**
515
- * Schematic API
516
- * Schematic API
517
- *
518
- * The version of the OpenAPI document: 0.1
519
- *
520
- *
521
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
522
- * https://openapi-generator.tech
523
- * Do not edit the class manually.
524
- */
525
526
  /**
526
527
  *
527
528
  * @export
528
529
  * @interface ChangeSubscriptionRequestBody
529
530
  */
530
531
  declare interface ChangeSubscriptionRequestBody {
532
+ /**
533
+ *
534
+ * @type {Array<UpdateAddOnRequestBody>}
535
+ * @memberof ChangeSubscriptionRequestBody
536
+ */
537
+ addOnIds: Array<UpdateAddOnRequestBody>;
531
538
  /**
532
539
  *
533
540
  * @type {string}
@@ -1408,7 +1415,7 @@ declare interface ElementProps {
1408
1415
  export declare const EmbedButton: IStyledComponentBase<"web", Substitute<ButtonProps, {
1409
1416
  $size?: "sm" | "md" | "lg";
1410
1417
  $color?: "primary" | "secondary";
1411
- $variant?: "outline" | "filled";
1418
+ $variant?: "outline" | "filled" | "text";
1412
1419
  }>> & string & Omit<({ color, size, variant, disabled, isLoading, children, ...props }: ButtonProps) => JSX_2.Element, keyof Component<any, {}, any>>;
1413
1420
 
1414
1421
  export declare const EmbedContext: Context<EmbedContextProps>;
@@ -2512,8 +2519,6 @@ declare type ModelPropertyNaming = "camelCase" | "snake_case" | "PascalCase" | "
2512
2519
  export declare const PaymentForm: ({ onConfirm }: PaymentFormProps) => JSX_2.Element;
2513
2520
 
2514
2521
  declare interface PaymentFormProps {
2515
- plan?: CompanyPlanDetailResponseData;
2516
- period?: string;
2517
2522
  onConfirm?: (paymentMethodId: string) => void;
2518
2523
  }
2519
2524
 
@@ -3448,6 +3453,37 @@ export declare const UpcomingBill: ForwardRefExoticComponent<ElementProps & Recu
3448
3453
 
3449
3454
  export declare type UpcomingBillProps = DesignProps_6;
3450
3455
 
3456
+ /**
3457
+ * Schematic API
3458
+ * Schematic API
3459
+ *
3460
+ * The version of the OpenAPI document: 0.1
3461
+ *
3462
+ *
3463
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3464
+ * https://openapi-generator.tech
3465
+ * Do not edit the class manually.
3466
+ */
3467
+ /**
3468
+ *
3469
+ * @export
3470
+ * @interface UpdateAddOnRequestBody
3471
+ */
3472
+ declare interface UpdateAddOnRequestBody {
3473
+ /**
3474
+ *
3475
+ * @type {string}
3476
+ * @memberof UpdateAddOnRequestBody
3477
+ */
3478
+ addOnId: string;
3479
+ /**
3480
+ *
3481
+ * @type {string}
3482
+ * @memberof UpdateAddOnRequestBody
3483
+ */
3484
+ priceId: string;
3485
+ }
3486
+
3451
3487
  declare interface UpdatePaymentMethodRequest {
3452
3488
  updatePaymentMethodRequestBody: UpdatePaymentMethodRequestBody;
3453
3489
  }