@managespace/sdk 0.1.82 → 0.1.83
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/dist/extensibility/functions/project/billing.d.ts +1 -3
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/generated/apis/default-api.d.ts +1 -12
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +0 -35
- package/dist/generated/models/create-order.d.ts +0 -13
- package/dist/generated/models/create-order.d.ts.map +1 -1
- package/dist/generated/models/create-order.js +0 -7
- package/dist/generated/models/index.d.ts +0 -3
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +0 -3
- package/dist/generated/models/invoice.d.ts +2 -3
- package/dist/generated/models/invoice.d.ts.map +1 -1
- package/dist/generated/models/invoice.js +2 -3
- package/dist/generated/models/lease-status.d.ts +3 -1
- package/dist/generated/models/lease-status.d.ts.map +1 -1
- package/dist/generated/models/lease-status.js +2 -0
- package/dist/generated/models/order.d.ts +0 -13
- package/dist/generated/models/order.d.ts.map +1 -1
- package/dist/generated/models/order.js +0 -7
- package/dist/generated/models/update-order.d.ts +0 -13
- package/dist/generated/models/update-order.d.ts.map +1 -1
- package/dist/generated/models/update-order.js +0 -7
- package/package.deploy.json +2 -2
- package/package.json +2 -2
- package/src/extensibility/functions/project/billing.ts +0 -3
- package/src/generated/.openapi-generator/FILES +0 -3
- package/src/generated/apis/default-api.ts +0 -59
- package/src/generated/models/create-order.ts +0 -26
- package/src/generated/models/index.ts +0 -3
- package/src/generated/models/invoice.ts +4 -11
- package/src/generated/models/lease-status.ts +3 -1
- package/src/generated/models/order.ts +0 -26
- package/src/generated/models/update-order.ts +0 -26
- package/dist/generated/models/order-type.d.ts +0 -26
- package/dist/generated/models/order-type.d.ts.map +0 -1
- package/dist/generated/models/order-type.js +0 -53
- package/dist/generated/models/subscription-activity-line.d.ts +0 -99
- package/dist/generated/models/subscription-activity-line.d.ts.map +0 -1
- package/dist/generated/models/subscription-activity-line.js +0 -77
- package/dist/generated/models/subscription-activity.d.ts +0 -60
- package/dist/generated/models/subscription-activity.d.ts.map +0 -1
- package/dist/generated/models/subscription-activity.js +0 -70
- package/src/generated/models/order-type.ts +0 -52
- package/src/generated/models/subscription-activity-line.ts +0 -156
- package/src/generated/models/subscription-activity.ts +0 -124
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* ManageSpace API
|
|
5
|
-
* ManageSpace API Documentation
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SubscriptionActivityLine
|
|
20
|
-
*/
|
|
21
|
-
export interface SubscriptionActivityLine {
|
|
22
|
-
/**
|
|
23
|
-
* Date of the subscription activity
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SubscriptionActivityLine
|
|
26
|
-
*/
|
|
27
|
-
date: string;
|
|
28
|
-
/**
|
|
29
|
-
* End date of the subscription activity
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof SubscriptionActivityLine
|
|
32
|
-
*/
|
|
33
|
-
endDate?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Description of the subscription activity
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof SubscriptionActivityLine
|
|
38
|
-
*/
|
|
39
|
-
description: string;
|
|
40
|
-
/**
|
|
41
|
-
* The last 4 digits of the card or cheque used for payment
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof SubscriptionActivityLine
|
|
44
|
-
*/
|
|
45
|
-
checkOrCardNumber?: string;
|
|
46
|
-
/**
|
|
47
|
-
* The receipt number of the payment
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof SubscriptionActivityLine
|
|
50
|
-
*/
|
|
51
|
-
receiptNumber?: string;
|
|
52
|
-
/**
|
|
53
|
-
* The ID of the invoice the activity is associated with
|
|
54
|
-
* @type {string}
|
|
55
|
-
* @memberof SubscriptionActivityLine
|
|
56
|
-
*/
|
|
57
|
-
invoiceId?: string;
|
|
58
|
-
/**
|
|
59
|
-
* The ID of the billing run the activity is associated with
|
|
60
|
-
* @type {string}
|
|
61
|
-
* @memberof SubscriptionActivityLine
|
|
62
|
-
*/
|
|
63
|
-
billingRunId?: string;
|
|
64
|
-
/**
|
|
65
|
-
* The amount of refund applied to the subscription activity
|
|
66
|
-
* @type {string}
|
|
67
|
-
* @memberof SubscriptionActivityLine
|
|
68
|
-
*/
|
|
69
|
-
appliedRefund?: string;
|
|
70
|
-
/**
|
|
71
|
-
* The amount of credit applied to the subscription activity
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof SubscriptionActivityLine
|
|
74
|
-
*/
|
|
75
|
-
issuedCredit?: string;
|
|
76
|
-
/**
|
|
77
|
-
* The amount of a payment made towards a subscription
|
|
78
|
-
* @type {string}
|
|
79
|
-
* @memberof SubscriptionActivityLine
|
|
80
|
-
*/
|
|
81
|
-
paymentAmount?: string;
|
|
82
|
-
/**
|
|
83
|
-
* The amount of a payment made towards a subscription
|
|
84
|
-
* @type {string}
|
|
85
|
-
* @memberof SubscriptionActivityLine
|
|
86
|
-
*/
|
|
87
|
-
chargeAmount?: string;
|
|
88
|
-
/**
|
|
89
|
-
* The balance of the subscription
|
|
90
|
-
* @type {string}
|
|
91
|
-
* @memberof SubscriptionActivityLine
|
|
92
|
-
*/
|
|
93
|
-
balance: string;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Check if a given object implements the SubscriptionActivityLine interface.
|
|
98
|
-
*/
|
|
99
|
-
export function instanceOfSubscriptionActivityLine(value: object): value is SubscriptionActivityLine {
|
|
100
|
-
if (!('date' in value) || value['date'] === undefined) return false;
|
|
101
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
102
|
-
if (!('balance' in value) || value['balance'] === undefined) return false;
|
|
103
|
-
return true;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function SubscriptionActivityLineFromJSON(json: any): SubscriptionActivityLine {
|
|
107
|
-
return SubscriptionActivityLineFromJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function SubscriptionActivityLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionActivityLine {
|
|
111
|
-
if (json == null) {
|
|
112
|
-
return json;
|
|
113
|
-
}
|
|
114
|
-
return {
|
|
115
|
-
|
|
116
|
-
'date': json['date'],
|
|
117
|
-
'endDate': json['endDate'] == null ? undefined : json['endDate'],
|
|
118
|
-
'description': json['description'],
|
|
119
|
-
'checkOrCardNumber': json['checkOrCardNumber'] == null ? undefined : json['checkOrCardNumber'],
|
|
120
|
-
'receiptNumber': json['receiptNumber'] == null ? undefined : json['receiptNumber'],
|
|
121
|
-
'invoiceId': json['invoiceId'] == null ? undefined : json['invoiceId'],
|
|
122
|
-
'billingRunId': json['billingRunId'] == null ? undefined : json['billingRunId'],
|
|
123
|
-
'appliedRefund': json['appliedRefund'] == null ? undefined : json['appliedRefund'],
|
|
124
|
-
'issuedCredit': json['issuedCredit'] == null ? undefined : json['issuedCredit'],
|
|
125
|
-
'paymentAmount': json['paymentAmount'] == null ? undefined : json['paymentAmount'],
|
|
126
|
-
'chargeAmount': json['chargeAmount'] == null ? undefined : json['chargeAmount'],
|
|
127
|
-
'balance': json['balance'],
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export function SubscriptionActivityLineToJSON(json: any): SubscriptionActivityLine {
|
|
132
|
-
return SubscriptionActivityLineToJSONTyped(json, false);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export function SubscriptionActivityLineToJSONTyped(value?: SubscriptionActivityLine | null, ignoreDiscriminator: boolean = false): any {
|
|
136
|
-
if (value == null) {
|
|
137
|
-
return value;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
return {
|
|
141
|
-
|
|
142
|
-
'date': value['date'],
|
|
143
|
-
'endDate': value['endDate'],
|
|
144
|
-
'description': value['description'],
|
|
145
|
-
'checkOrCardNumber': value['checkOrCardNumber'],
|
|
146
|
-
'receiptNumber': value['receiptNumber'],
|
|
147
|
-
'invoiceId': value['invoiceId'],
|
|
148
|
-
'billingRunId': value['billingRunId'],
|
|
149
|
-
'appliedRefund': value['appliedRefund'],
|
|
150
|
-
'issuedCredit': value['issuedCredit'],
|
|
151
|
-
'paymentAmount': value['paymentAmount'],
|
|
152
|
-
'chargeAmount': value['chargeAmount'],
|
|
153
|
-
'balance': value['balance'],
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* ManageSpace API
|
|
5
|
-
* ManageSpace API Documentation
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { Site } from './site';
|
|
17
|
-
import {
|
|
18
|
-
SiteFromJSON,
|
|
19
|
-
SiteFromJSONTyped,
|
|
20
|
-
SiteToJSON,
|
|
21
|
-
SiteToJSONTyped,
|
|
22
|
-
} from './site';
|
|
23
|
-
import type { Customer } from './customer';
|
|
24
|
-
import {
|
|
25
|
-
CustomerFromJSON,
|
|
26
|
-
CustomerFromJSONTyped,
|
|
27
|
-
CustomerToJSON,
|
|
28
|
-
CustomerToJSONTyped,
|
|
29
|
-
} from './customer';
|
|
30
|
-
import type { SubscriptionActivityLine } from './subscription-activity-line';
|
|
31
|
-
import {
|
|
32
|
-
SubscriptionActivityLineFromJSON,
|
|
33
|
-
SubscriptionActivityLineFromJSONTyped,
|
|
34
|
-
SubscriptionActivityLineToJSON,
|
|
35
|
-
SubscriptionActivityLineToJSONTyped,
|
|
36
|
-
} from './subscription-activity-line';
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
* @interface SubscriptionActivity
|
|
42
|
-
*/
|
|
43
|
-
export interface SubscriptionActivity {
|
|
44
|
-
/**
|
|
45
|
-
* The site that the subscription is associated with
|
|
46
|
-
* @type {Site}
|
|
47
|
-
* @memberof SubscriptionActivity
|
|
48
|
-
*/
|
|
49
|
-
site: Site;
|
|
50
|
-
/**
|
|
51
|
-
* The customer that the subscription is associated with
|
|
52
|
-
* @type {Customer}
|
|
53
|
-
* @memberof SubscriptionActivity
|
|
54
|
-
*/
|
|
55
|
-
customer: Customer;
|
|
56
|
-
/**
|
|
57
|
-
* The asset that the subscription is associated with
|
|
58
|
-
* @type {Customer}
|
|
59
|
-
* @memberof SubscriptionActivity
|
|
60
|
-
*/
|
|
61
|
-
asset: Customer;
|
|
62
|
-
/**
|
|
63
|
-
* The subscription the activity is related to
|
|
64
|
-
* @type {Customer}
|
|
65
|
-
* @memberof SubscriptionActivity
|
|
66
|
-
*/
|
|
67
|
-
subscription: Customer;
|
|
68
|
-
/**
|
|
69
|
-
* Activity associated the subscription
|
|
70
|
-
* @type {Array<SubscriptionActivityLine>}
|
|
71
|
-
* @memberof SubscriptionActivity
|
|
72
|
-
*/
|
|
73
|
-
activity: Array<SubscriptionActivityLine>;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Check if a given object implements the SubscriptionActivity interface.
|
|
78
|
-
*/
|
|
79
|
-
export function instanceOfSubscriptionActivity(value: object): value is SubscriptionActivity {
|
|
80
|
-
if (!('site' in value) || value['site'] === undefined) return false;
|
|
81
|
-
if (!('customer' in value) || value['customer'] === undefined) return false;
|
|
82
|
-
if (!('asset' in value) || value['asset'] === undefined) return false;
|
|
83
|
-
if (!('subscription' in value) || value['subscription'] === undefined) return false;
|
|
84
|
-
if (!('activity' in value) || value['activity'] === undefined) return false;
|
|
85
|
-
return true;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function SubscriptionActivityFromJSON(json: any): SubscriptionActivity {
|
|
89
|
-
return SubscriptionActivityFromJSONTyped(json, false);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
export function SubscriptionActivityFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionActivity {
|
|
93
|
-
if (json == null) {
|
|
94
|
-
return json;
|
|
95
|
-
}
|
|
96
|
-
return {
|
|
97
|
-
|
|
98
|
-
'site': SiteFromJSON(json['site']),
|
|
99
|
-
'customer': CustomerFromJSON(json['customer']),
|
|
100
|
-
'asset': CustomerFromJSON(json['asset']),
|
|
101
|
-
'subscription': CustomerFromJSON(json['subscription']),
|
|
102
|
-
'activity': ((json['activity'] as Array<any>).map(SubscriptionActivityLineFromJSON)),
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function SubscriptionActivityToJSON(json: any): SubscriptionActivity {
|
|
107
|
-
return SubscriptionActivityToJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function SubscriptionActivityToJSONTyped(value?: SubscriptionActivity | null, ignoreDiscriminator: boolean = false): any {
|
|
111
|
-
if (value == null) {
|
|
112
|
-
return value;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return {
|
|
116
|
-
|
|
117
|
-
'site': SiteToJSON(value['site']),
|
|
118
|
-
'customer': CustomerToJSON(value['customer']),
|
|
119
|
-
'asset': CustomerToJSON(value['asset']),
|
|
120
|
-
'subscription': CustomerToJSON(value['subscription']),
|
|
121
|
-
'activity': ((value['activity'] as Array<any>).map(SubscriptionActivityLineToJSON)),
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
|