@managespace/sdk 0.0.17 → 0.0.19

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.
@@ -39,6 +39,18 @@ export interface PlanResponse {
39
39
  * @memberof PlanResponse
40
40
  */
41
41
  name: string;
42
+ /**
43
+ * Product ID
44
+ * @type {string}
45
+ * @memberof PlanResponse
46
+ */
47
+ productId: string;
48
+ /**
49
+ * Product name
50
+ * @type {string}
51
+ * @memberof PlanResponse
52
+ */
53
+ productName: string;
42
54
  /**
43
55
  * Plan status
44
56
  * @type {string}
@@ -57,6 +69,12 @@ export interface PlanResponse {
57
69
  * @memberof PlanResponse
58
70
  */
59
71
  showSsp: boolean;
72
+ /**
73
+ * URL used for self sign up
74
+ * @type {string}
75
+ * @memberof PlanResponse
76
+ */
77
+ publicUrl: string;
60
78
  /**
61
79
  * Email of user who created record
62
80
  * @type {string}
@@ -87,12 +105,6 @@ export interface PlanResponse {
87
105
  * @memberof PlanResponse
88
106
  */
89
107
  charges: Array<PlanChargeResponse>;
90
- /**
91
- * URL used for self sign up
92
- * @type {string}
93
- * @memberof PlanResponse
94
- */
95
- publicUrl: string;
96
108
  /**
97
109
  * Custom fields on the invoice
98
110
  * @type {object}
@@ -107,15 +119,17 @@ export interface PlanResponse {
107
119
  export function instanceOfPlanResponse(value: object): value is PlanResponse {
108
120
  if (!('id' in value) || value['id'] === undefined) return false;
109
121
  if (!('name' in value) || value['name'] === undefined) return false;
122
+ if (!('productId' in value) || value['productId'] === undefined) return false;
123
+ if (!('productName' in value) || value['productName'] === undefined) return false;
110
124
  if (!('status' in value) || value['status'] === undefined) return false;
111
125
  if (!('description' in value) || value['description'] === undefined) return false;
112
126
  if (!('showSsp' in value) || value['showSsp'] === undefined) return false;
127
+ if (!('publicUrl' in value) || value['publicUrl'] === undefined) return false;
113
128
  if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
114
129
  if (!('updatedBy' in value) || value['updatedBy'] === undefined) return false;
115
130
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
116
131
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
117
132
  if (!('charges' in value) || value['charges'] === undefined) return false;
118
- if (!('publicUrl' in value) || value['publicUrl'] === undefined) return false;
119
133
  if (!('customFields' in value) || value['customFields'] === undefined) return false;
120
134
  return true;
121
135
  }
@@ -132,15 +146,17 @@ export function PlanResponseFromJSONTyped(json: any, ignoreDiscriminator: boolea
132
146
 
133
147
  'id': json['id'],
134
148
  'name': json['name'],
149
+ 'productId': json['productId'],
150
+ 'productName': json['productName'],
135
151
  'status': json['status'],
136
152
  'description': json['description'],
137
153
  'showSsp': json['showSsp'],
154
+ 'publicUrl': json['publicUrl'],
138
155
  'createdBy': json['createdBy'],
139
156
  'updatedBy': json['updatedBy'],
140
157
  'createdAt': json['createdAt'],
141
158
  'updatedAt': json['updatedAt'],
142
159
  'charges': ((json['charges'] as Array<any>).map(PlanChargeResponseFromJSON)),
143
- 'publicUrl': json['publicUrl'],
144
160
  'customFields': json['customFields'],
145
161
  };
146
162
  }
@@ -158,15 +174,17 @@ export function PlanResponseToJSONTyped(value?: PlanResponse | null, ignoreDiscr
158
174
 
159
175
  'id': value['id'],
160
176
  'name': value['name'],
177
+ 'productId': value['productId'],
178
+ 'productName': value['productName'],
161
179
  'status': value['status'],
162
180
  'description': value['description'],
163
181
  'showSsp': value['showSsp'],
182
+ 'publicUrl': value['publicUrl'],
164
183
  'createdBy': value['createdBy'],
165
184
  'updatedBy': value['updatedBy'],
166
185
  'createdAt': value['createdAt'],
167
186
  'updatedAt': value['updatedAt'],
168
187
  'charges': ((value['charges'] as Array<any>).map(PlanChargeResponseToJSON)),
169
- 'publicUrl': value['publicUrl'],
170
188
  'customFields': value['customFields'],
171
189
  };
172
190
  }