@otr-app/shared-backend-generated-client 2.4.30 → 2.4.31

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.
@@ -22,6 +22,7 @@ export interface BillingSubscriptionModel {
22
22
  productName?: string;
23
23
  startAt?: string;
24
24
  status?: BillingSubscriptionModel.StatusEnum;
25
+ trialEndAt?: string;
25
26
  upcomingInvoicePreview?: BillingUpcomingInvoiceModel;
26
27
  }
27
28
  export namespace BillingSubscriptionModel {
@@ -19,6 +19,7 @@ export interface BillingSubscriptionModel {
19
19
  "productName"?: string;
20
20
  "startAt"?: string;
21
21
  "status"?: BillingSubscriptionModel.StatusEnum;
22
+ "trialEndAt"?: string;
22
23
  "upcomingInvoicePreview"?: models.BillingUpcomingInvoiceModel;
23
24
  }
24
25
  export declare namespace BillingSubscriptionModel {
@@ -64,6 +64,12 @@ export interface BillingSubscriptionModel {
64
64
  * @memberof BillingSubscriptionModel
65
65
  */
66
66
  status?: BillingSubscriptionModelStatusEnum;
67
+ /**
68
+ *
69
+ * @type {Date}
70
+ * @memberof BillingSubscriptionModel
71
+ */
72
+ trialEndAt?: Date;
67
73
  /**
68
74
  *
69
75
  * @type {BillingUpcomingInvoiceModel}
@@ -29,6 +29,7 @@ export function BillingSubscriptionModelFromJSONTyped(json, ignoreDiscriminator)
29
29
  'productName': !exists(json, 'productName') ? undefined : json['productName'],
30
30
  'startAt': !exists(json, 'startAt') ? undefined : (new Date(json['startAt'])),
31
31
  'status': !exists(json, 'status') ? undefined : json['status'],
32
+ 'trialEndAt': !exists(json, 'trialEndAt') ? undefined : (new Date(json['trialEndAt'])),
32
33
  'upcomingInvoicePreview': !exists(json, 'upcomingInvoicePreview') ? undefined : BillingUpcomingInvoiceModelFromJSON(json['upcomingInvoicePreview']),
33
34
  };
34
35
  }
@@ -48,6 +49,7 @@ export function BillingSubscriptionModelToJSON(value) {
48
49
  'productName': value.productName,
49
50
  'startAt': value.startAt === undefined ? undefined : (value.startAt.toISOString()),
50
51
  'status': value.status,
52
+ 'trialEndAt': value.trialEndAt === undefined ? undefined : (value.trialEndAt.toISOString()),
51
53
  'upcomingInvoicePreview': BillingUpcomingInvoiceModelToJSON(value.upcomingInvoicePreview),
52
54
  };
53
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.30",
3
+ "version": "2.4.31",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"