@managespace/sdk 0.0.197 → 0.0.198
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
|
@@ -984,7 +984,6 @@ export interface GetSubscriptionsRequest {
|
|
|
984
984
|
siteId: string;
|
|
985
985
|
offset?: number;
|
|
986
986
|
limit?: number;
|
|
987
|
-
customerId?: string;
|
|
988
987
|
status?: string;
|
|
989
988
|
assetId?: string;
|
|
990
989
|
}
|
|
@@ -5848,10 +5847,6 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
5848
5847
|
queryParameters['limit'] = requestParameters['limit'];
|
|
5849
5848
|
}
|
|
5850
5849
|
|
|
5851
|
-
if (requestParameters['customerId'] != null) {
|
|
5852
|
-
queryParameters['customerId'] = requestParameters['customerId'];
|
|
5853
|
-
}
|
|
5854
|
-
|
|
5855
5850
|
if (requestParameters['status'] != null) {
|
|
5856
5851
|
queryParameters['status'] = requestParameters['status'];
|
|
5857
5852
|
}
|
|
@@ -57,7 +57,7 @@ export interface CreatePayment {
|
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof CreatePayment
|
|
59
59
|
*/
|
|
60
|
-
status
|
|
60
|
+
status?: string;
|
|
61
61
|
/**
|
|
62
62
|
* Total amount of payment
|
|
63
63
|
* @type {string}
|
|
@@ -171,7 +171,7 @@ export interface CreatePayment {
|
|
|
171
171
|
* @type {string}
|
|
172
172
|
* @memberof CreatePayment
|
|
173
173
|
*/
|
|
174
|
-
glAccount
|
|
174
|
+
glAccount?: string;
|
|
175
175
|
/**
|
|
176
176
|
* Number of retry attempts made
|
|
177
177
|
* @type {number}
|
|
@@ -204,12 +204,10 @@ export interface CreatePayment {
|
|
|
204
204
|
export function instanceOfCreatePayment(value: object): value is CreatePayment {
|
|
205
205
|
if (!('customerId' in value) || value['customerId'] === undefined) return false;
|
|
206
206
|
if (!('paymentDate' in value) || value['paymentDate'] === undefined) return false;
|
|
207
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
208
207
|
if (!('paymentAmount' in value) || value['paymentAmount'] === undefined) return false;
|
|
209
208
|
if (!('paymentType' in value) || value['paymentType'] === undefined) return false;
|
|
210
209
|
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
211
210
|
if (!('autoApply' in value) || value['autoApply'] === undefined) return false;
|
|
212
|
-
if (!('glAccount' in value) || value['glAccount'] === undefined) return false;
|
|
213
211
|
return true;
|
|
214
212
|
}
|
|
215
213
|
|
|
@@ -226,7 +224,7 @@ export function CreatePaymentFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
226
224
|
'customerId': json['customerId'],
|
|
227
225
|
'paymentDate': json['paymentDate'],
|
|
228
226
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
229
|
-
'status': json['status'],
|
|
227
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
230
228
|
'paymentAmount': json['paymentAmount'],
|
|
231
229
|
'feeAmount': json['feeAmount'] == null ? undefined : json['feeAmount'],
|
|
232
230
|
'appliedAmount': json['appliedAmount'] == null ? undefined : json['appliedAmount'],
|
|
@@ -245,7 +243,7 @@ export function CreatePaymentFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
245
243
|
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
246
244
|
'invoices': json['invoices'] == null ? undefined : ((json['invoices'] as Array<any>).map(CreatePaymentInvoiceFromJSON)),
|
|
247
245
|
'refunds': json['refunds'] == null ? undefined : ((json['refunds'] as Array<any>).map(CreatePaymentRefundFromJSON)),
|
|
248
|
-
'glAccount': json['glAccount'],
|
|
246
|
+
'glAccount': json['glAccount'] == null ? undefined : json['glAccount'],
|
|
249
247
|
'retriedAttempts': json['retriedAttempts'] == null ? undefined : json['retriedAttempts'],
|
|
250
248
|
'gatewayName': json['gatewayName'] == null ? undefined : json['gatewayName'],
|
|
251
249
|
'emailStatus': json['emailStatus'] == null ? undefined : json['emailStatus'],
|
|
@@ -57,7 +57,7 @@ export interface Payment {
|
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof Payment
|
|
59
59
|
*/
|
|
60
|
-
status
|
|
60
|
+
status?: string;
|
|
61
61
|
/**
|
|
62
62
|
* Total amount of payment
|
|
63
63
|
* @type {string}
|
|
@@ -171,7 +171,7 @@ export interface Payment {
|
|
|
171
171
|
* @type {string}
|
|
172
172
|
* @memberof Payment
|
|
173
173
|
*/
|
|
174
|
-
glAccount
|
|
174
|
+
glAccount?: string;
|
|
175
175
|
/**
|
|
176
176
|
* Number of retry attempts made
|
|
177
177
|
* @type {number}
|
|
@@ -252,12 +252,10 @@ export interface Payment {
|
|
|
252
252
|
export function instanceOfPayment(value: object): value is Payment {
|
|
253
253
|
if (!('customerId' in value) || value['customerId'] === undefined) return false;
|
|
254
254
|
if (!('paymentDate' in value) || value['paymentDate'] === undefined) return false;
|
|
255
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
256
255
|
if (!('paymentAmount' in value) || value['paymentAmount'] === undefined) return false;
|
|
257
256
|
if (!('paymentType' in value) || value['paymentType'] === undefined) return false;
|
|
258
257
|
if (!('currency' in value) || value['currency'] === undefined) return false;
|
|
259
258
|
if (!('autoApply' in value) || value['autoApply'] === undefined) return false;
|
|
260
|
-
if (!('glAccount' in value) || value['glAccount'] === undefined) return false;
|
|
261
259
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
262
260
|
if (!('customerName' in value) || value['customerName'] === undefined) return false;
|
|
263
261
|
if (!('conversionRate' in value) || value['conversionRate'] === undefined) return false;
|
|
@@ -282,7 +280,7 @@ export function PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
282
280
|
'customerId': json['customerId'],
|
|
283
281
|
'paymentDate': json['paymentDate'],
|
|
284
282
|
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
285
|
-
'status': json['status'],
|
|
283
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
286
284
|
'paymentAmount': json['paymentAmount'],
|
|
287
285
|
'feeAmount': json['feeAmount'] == null ? undefined : json['feeAmount'],
|
|
288
286
|
'appliedAmount': json['appliedAmount'] == null ? undefined : json['appliedAmount'],
|
|
@@ -301,7 +299,7 @@ export function PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
|
|
|
301
299
|
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
302
300
|
'invoices': json['invoices'] == null ? undefined : ((json['invoices'] as Array<any>).map(CreatePaymentInvoiceFromJSON)),
|
|
303
301
|
'refunds': json['refunds'] == null ? undefined : ((json['refunds'] as Array<any>).map(CreatePaymentRefundFromJSON)),
|
|
304
|
-
'glAccount': json['glAccount'],
|
|
302
|
+
'glAccount': json['glAccount'] == null ? undefined : json['glAccount'],
|
|
305
303
|
'retriedAttempts': json['retriedAttempts'] == null ? undefined : json['retriedAttempts'],
|
|
306
304
|
'gatewayName': json['gatewayName'] == null ? undefined : json['gatewayName'],
|
|
307
305
|
'emailStatus': json['emailStatus'] == null ? undefined : json['emailStatus'],
|