@lcdp/api-react-rest-client 2.14.5-develop.18880025637 → 2.14.5
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/package.json
CHANGED
|
@@ -41,17 +41,11 @@ export interface Subscription {
|
|
|
41
41
|
*/
|
|
42
42
|
status: SubscriptionStatus;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof Subscription
|
|
47
|
-
*/
|
|
48
|
-
startDate?: Date;
|
|
49
|
-
/**
|
|
50
|
-
* Will be null if subscription is in the future
|
|
44
|
+
*
|
|
51
45
|
* @type {Date}
|
|
52
46
|
* @memberof Subscription
|
|
53
47
|
*/
|
|
54
|
-
startedAt: Date
|
|
48
|
+
startedAt: Date;
|
|
55
49
|
/**
|
|
56
50
|
*
|
|
57
51
|
* @type {Date}
|
|
@@ -45,7 +45,6 @@ function SubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'familyName': json['familyName'],
|
|
46
46
|
'name': json['name'],
|
|
47
47
|
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, SubscriptionStatus_1.SubscriptionStatusFromJSON)(json['status']),
|
|
48
|
-
'startDate': (json['startDate'] === null || json['startDate'] === undefined) ? json['startDate'] : new Date(json['startDate']),
|
|
49
48
|
'startedAt': (json['startedAt'] === null || json['startedAt'] === undefined) ? json['startedAt'] : new Date(json['startedAt']),
|
|
50
49
|
'nextBillingAt': (json['nextBillingAt'] === null || json['nextBillingAt'] === undefined) ? json['nextBillingAt'] : new Date(json['nextBillingAt']),
|
|
51
50
|
'currentTermEnd': (json['currentTermEnd'] === null || json['currentTermEnd'] === undefined) ? json['currentTermEnd'] : new Date(json['currentTermEnd']),
|
|
@@ -63,8 +62,7 @@ function SubscriptionToJSON(value) {
|
|
|
63
62
|
'familyName': value['familyName'],
|
|
64
63
|
'name': value['name'],
|
|
65
64
|
'status': (0, SubscriptionStatus_1.SubscriptionStatusToJSON)(value['status']),
|
|
66
|
-
'
|
|
67
|
-
'startedAt': (value['startedAt'] === null || value['startedAt'] === undefined) ? value['startedAt'] : value['startedAt'].toISOString(),
|
|
65
|
+
'startedAt': (value['startedAt'] === null || value['startedAt'] === undefined) ? value['startedAt'] : (value['startedAt']).toISOString(),
|
|
68
66
|
'nextBillingAt': (value['nextBillingAt'] === null || value['nextBillingAt'] === undefined) ? value['nextBillingAt'] : (value['nextBillingAt']).toISOString(),
|
|
69
67
|
'currentTermEnd': (value['currentTermEnd'] === null || value['currentTermEnd'] === undefined) ? value['currentTermEnd'] : (value['currentTermEnd']).toISOString(),
|
|
70
68
|
'trialStart': (value['trialStart'] === null || value['trialStart'] === undefined) ? value['trialStart'] : (value['trialStart']).toISOString(),
|