@managespace/sdk 0.1.159 → 0.1.160
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/generated/apis/default-api.d.ts +91 -1
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +330 -0
- package/dist/generated/models/billing-run.d.ts +6 -0
- package/dist/generated/models/billing-run.d.ts.map +1 -1
- package/dist/generated/models/billing-run.js +2 -0
- package/dist/generated/models/create-billing-run.d.ts +6 -0
- package/dist/generated/models/create-billing-run.d.ts.map +1 -1
- package/dist/generated/models/create-billing-run.js +2 -0
- package/dist/generated/models/income-report-filters.d.ts +45 -0
- package/dist/generated/models/income-report-filters.d.ts.map +1 -0
- package/dist/generated/models/income-report-filters.js +57 -0
- package/dist/generated/models/index.d.ts +5 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +5 -0
- package/dist/generated/models/occupancy-statistics-report-filters.d.ts +45 -0
- package/dist/generated/models/occupancy-statistics-report-filters.d.ts.map +1 -0
- package/dist/generated/models/occupancy-statistics-report-filters.js +57 -0
- package/dist/generated/models/prepaid-rent-report-filters.d.ts +45 -0
- package/dist/generated/models/prepaid-rent-report-filters.d.ts.map +1 -0
- package/dist/generated/models/prepaid-rent-report-filters.js +57 -0
- package/dist/generated/models/refund-summary-report-filters.d.ts +45 -0
- package/dist/generated/models/refund-summary-report-filters.d.ts.map +1 -0
- package/dist/generated/models/refund-summary-report-filters.js +57 -0
- package/dist/generated/models/security-deposits-report-filters.d.ts +45 -0
- package/dist/generated/models/security-deposits-report-filters.d.ts.map +1 -0
- package/dist/generated/models/security-deposits-report-filters.js +57 -0
- package/dist/generated/models/send-email.d.ts +6 -0
- package/dist/generated/models/send-email.d.ts.map +1 -1
- package/dist/generated/models/send-email.js +2 -0
- package/package.deploy.json +4 -8
- package/package.json +3 -4
- package/src/generated/.openapi-generator/FILES +5 -0
- package/src/generated/apis/default-api.ts +490 -0
- package/src/generated/models/billing-run.ts +8 -0
- package/src/generated/models/create-billing-run.ts +8 -0
- package/src/generated/models/income-report-filters.ts +84 -0
- package/src/generated/models/index.ts +5 -0
- package/src/generated/models/occupancy-statistics-report-filters.ts +84 -0
- package/src/generated/models/prepaid-rent-report-filters.ts +84 -0
- package/src/generated/models/refund-summary-report-filters.ts +84 -0
- package/src/generated/models/security-deposits-report-filters.ts +84 -0
- package/src/generated/models/send-email.ts +8 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface IncomeReportFilters
|
|
21
|
+
*/
|
|
22
|
+
export interface IncomeReportFilters {
|
|
23
|
+
/**
|
|
24
|
+
* Site ID to filter the report
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof IncomeReportFilters
|
|
27
|
+
*/
|
|
28
|
+
siteId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Start date for the report period
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof IncomeReportFilters
|
|
33
|
+
*/
|
|
34
|
+
startDate: Date;
|
|
35
|
+
/**
|
|
36
|
+
* End date for the report period
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof IncomeReportFilters
|
|
39
|
+
*/
|
|
40
|
+
endDate: Date;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the IncomeReportFilters interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfIncomeReportFilters(value: object): value is IncomeReportFilters {
|
|
47
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
48
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function IncomeReportFiltersFromJSON(json: any): IncomeReportFilters {
|
|
53
|
+
return IncomeReportFiltersFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function IncomeReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncomeReportFilters {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'siteId': json['siteId'] == null ? undefined : json['siteId'],
|
|
63
|
+
'startDate': (new Date(json['startDate'])),
|
|
64
|
+
'endDate': (new Date(json['endDate'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function IncomeReportFiltersToJSON(json: any): IncomeReportFilters {
|
|
69
|
+
return IncomeReportFiltersToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function IncomeReportFiltersToJSONTyped(value?: IncomeReportFilters | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'siteId': value['siteId'],
|
|
80
|
+
'startDate': ((value['startDate']).toISOString().substring(0,10)),
|
|
81
|
+
'endDate': ((value['endDate']).toISOString().substring(0,10)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -156,6 +156,7 @@ export * from './get-templates200-response';
|
|
|
156
156
|
export * from './get-users200-response';
|
|
157
157
|
export * from './get-workflow-definitions200-response';
|
|
158
158
|
export * from './get-workflow-instances200-response';
|
|
159
|
+
export * from './income-report-filters';
|
|
159
160
|
export * from './insured-roll-report-filters';
|
|
160
161
|
export * from './intent';
|
|
161
162
|
export * from './invoice';
|
|
@@ -169,6 +170,7 @@ export * from './map-feature';
|
|
|
169
170
|
export * from './merge-assets-custom';
|
|
170
171
|
export * from './note';
|
|
171
172
|
export * from './notification';
|
|
173
|
+
export * from './occupancy-statistics-report-filters';
|
|
172
174
|
export * from './omit-type-class';
|
|
173
175
|
export * from './order';
|
|
174
176
|
export * from './order-line-item';
|
|
@@ -195,6 +197,7 @@ export * from './plugin-filter-item';
|
|
|
195
197
|
export * from './plugin-filter-item-value';
|
|
196
198
|
export * from './plugin-filter-operator';
|
|
197
199
|
export * from './plugin-version';
|
|
200
|
+
export * from './prepaid-rent-report-filters';
|
|
198
201
|
export * from './preview-subscription';
|
|
199
202
|
export * from './pricing-rule';
|
|
200
203
|
export * from './pricing-rule-criteria';
|
|
@@ -209,9 +212,11 @@ export * from './rate-change-status';
|
|
|
209
212
|
export * from './refund';
|
|
210
213
|
export * from './refund-invoice';
|
|
211
214
|
export * from './refund-payment';
|
|
215
|
+
export * from './refund-summary-report-filters';
|
|
212
216
|
export * from './rent-roll-report-filters';
|
|
213
217
|
export * from './revenue-rule';
|
|
214
218
|
export * from './roles';
|
|
219
|
+
export * from './security-deposits-report-filters';
|
|
215
220
|
export * from './send-email';
|
|
216
221
|
export * from './send-sms';
|
|
217
222
|
export * from './separate-assets-custom';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface OccupancyStatisticsReportFilters
|
|
21
|
+
*/
|
|
22
|
+
export interface OccupancyStatisticsReportFilters {
|
|
23
|
+
/**
|
|
24
|
+
* Site ID to filter the report
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof OccupancyStatisticsReportFilters
|
|
27
|
+
*/
|
|
28
|
+
siteId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Start date for the report period
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof OccupancyStatisticsReportFilters
|
|
33
|
+
*/
|
|
34
|
+
startDate: Date;
|
|
35
|
+
/**
|
|
36
|
+
* End date for the report period (snapshot date)
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof OccupancyStatisticsReportFilters
|
|
39
|
+
*/
|
|
40
|
+
endDate: Date;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OccupancyStatisticsReportFilters interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfOccupancyStatisticsReportFilters(value: object): value is OccupancyStatisticsReportFilters {
|
|
47
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
48
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function OccupancyStatisticsReportFiltersFromJSON(json: any): OccupancyStatisticsReportFilters {
|
|
53
|
+
return OccupancyStatisticsReportFiltersFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function OccupancyStatisticsReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): OccupancyStatisticsReportFilters {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'siteId': json['siteId'] == null ? undefined : json['siteId'],
|
|
63
|
+
'startDate': (new Date(json['startDate'])),
|
|
64
|
+
'endDate': (new Date(json['endDate'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function OccupancyStatisticsReportFiltersToJSON(json: any): OccupancyStatisticsReportFilters {
|
|
69
|
+
return OccupancyStatisticsReportFiltersToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function OccupancyStatisticsReportFiltersToJSONTyped(value?: OccupancyStatisticsReportFilters | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'siteId': value['siteId'],
|
|
80
|
+
'startDate': ((value['startDate']).toISOString().substring(0,10)),
|
|
81
|
+
'endDate': ((value['endDate']).toISOString().substring(0,10)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PrepaidRentReportFilters
|
|
21
|
+
*/
|
|
22
|
+
export interface PrepaidRentReportFilters {
|
|
23
|
+
/**
|
|
24
|
+
* Site ID to filter the report
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PrepaidRentReportFilters
|
|
27
|
+
*/
|
|
28
|
+
siteId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Start date for the report period
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof PrepaidRentReportFilters
|
|
33
|
+
*/
|
|
34
|
+
startDate: Date;
|
|
35
|
+
/**
|
|
36
|
+
* End date for the report period
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof PrepaidRentReportFilters
|
|
39
|
+
*/
|
|
40
|
+
endDate: Date;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PrepaidRentReportFilters interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfPrepaidRentReportFilters(value: object): value is PrepaidRentReportFilters {
|
|
47
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
48
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function PrepaidRentReportFiltersFromJSON(json: any): PrepaidRentReportFilters {
|
|
53
|
+
return PrepaidRentReportFiltersFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function PrepaidRentReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): PrepaidRentReportFilters {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'siteId': json['siteId'] == null ? undefined : json['siteId'],
|
|
63
|
+
'startDate': (new Date(json['startDate'])),
|
|
64
|
+
'endDate': (new Date(json['endDate'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function PrepaidRentReportFiltersToJSON(json: any): PrepaidRentReportFilters {
|
|
69
|
+
return PrepaidRentReportFiltersToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function PrepaidRentReportFiltersToJSONTyped(value?: PrepaidRentReportFilters | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'siteId': value['siteId'],
|
|
80
|
+
'startDate': ((value['startDate']).toISOString().substring(0,10)),
|
|
81
|
+
'endDate': ((value['endDate']).toISOString().substring(0,10)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface RefundSummaryReportFilters
|
|
21
|
+
*/
|
|
22
|
+
export interface RefundSummaryReportFilters {
|
|
23
|
+
/**
|
|
24
|
+
* Site ID to filter the report
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RefundSummaryReportFilters
|
|
27
|
+
*/
|
|
28
|
+
siteId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Start date for the report period
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof RefundSummaryReportFilters
|
|
33
|
+
*/
|
|
34
|
+
startDate: Date;
|
|
35
|
+
/**
|
|
36
|
+
* End date for the report period
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof RefundSummaryReportFilters
|
|
39
|
+
*/
|
|
40
|
+
endDate: Date;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the RefundSummaryReportFilters interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfRefundSummaryReportFilters(value: object): value is RefundSummaryReportFilters {
|
|
47
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
48
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RefundSummaryReportFiltersFromJSON(json: any): RefundSummaryReportFilters {
|
|
53
|
+
return RefundSummaryReportFiltersFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function RefundSummaryReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundSummaryReportFilters {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'siteId': json['siteId'] == null ? undefined : json['siteId'],
|
|
63
|
+
'startDate': (new Date(json['startDate'])),
|
|
64
|
+
'endDate': (new Date(json['endDate'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function RefundSummaryReportFiltersToJSON(json: any): RefundSummaryReportFilters {
|
|
69
|
+
return RefundSummaryReportFiltersToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function RefundSummaryReportFiltersToJSONTyped(value?: RefundSummaryReportFilters | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'siteId': value['siteId'],
|
|
80
|
+
'startDate': ((value['startDate']).toISOString().substring(0,10)),
|
|
81
|
+
'endDate': ((value['endDate']).toISOString().substring(0,10)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* ManageSpace API
|
|
6
|
+
* ManageSpace API Documentation
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import { mapValues } from '../runtime';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SecurityDepositsReportFilters
|
|
21
|
+
*/
|
|
22
|
+
export interface SecurityDepositsReportFilters {
|
|
23
|
+
/**
|
|
24
|
+
* Site ID to filter the report
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SecurityDepositsReportFilters
|
|
27
|
+
*/
|
|
28
|
+
siteId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Start date for the report period
|
|
31
|
+
* @type {Date}
|
|
32
|
+
* @memberof SecurityDepositsReportFilters
|
|
33
|
+
*/
|
|
34
|
+
startDate: Date;
|
|
35
|
+
/**
|
|
36
|
+
* End date for the report period
|
|
37
|
+
* @type {Date}
|
|
38
|
+
* @memberof SecurityDepositsReportFilters
|
|
39
|
+
*/
|
|
40
|
+
endDate: Date;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SecurityDepositsReportFilters interface.
|
|
45
|
+
*/
|
|
46
|
+
export function instanceOfSecurityDepositsReportFilters(value: object): value is SecurityDepositsReportFilters {
|
|
47
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
48
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SecurityDepositsReportFiltersFromJSON(json: any): SecurityDepositsReportFilters {
|
|
53
|
+
return SecurityDepositsReportFiltersFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SecurityDepositsReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecurityDepositsReportFilters {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'siteId': json['siteId'] == null ? undefined : json['siteId'],
|
|
63
|
+
'startDate': (new Date(json['startDate'])),
|
|
64
|
+
'endDate': (new Date(json['endDate'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SecurityDepositsReportFiltersToJSON(json: any): SecurityDepositsReportFilters {
|
|
69
|
+
return SecurityDepositsReportFiltersToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function SecurityDepositsReportFiltersToJSONTyped(value?: SecurityDepositsReportFilters | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'siteId': value['siteId'],
|
|
80
|
+
'startDate': ((value['startDate']).toISOString().substring(0,10)),
|
|
81
|
+
'endDate': ((value['endDate']).toISOString().substring(0,10)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -62,6 +62,12 @@ export interface SendEmail {
|
|
|
62
62
|
* @memberof SendEmail
|
|
63
63
|
*/
|
|
64
64
|
html?: string;
|
|
65
|
+
/**
|
|
66
|
+
* The attachments of the email being sent.
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof SendEmail
|
|
69
|
+
*/
|
|
70
|
+
attachmentUrls?: Array<string>;
|
|
65
71
|
}
|
|
66
72
|
|
|
67
73
|
/**
|
|
@@ -93,6 +99,7 @@ export function SendEmailFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
93
99
|
'subject': json['subject'],
|
|
94
100
|
'text': json['text'] == null ? undefined : json['text'],
|
|
95
101
|
'html': json['html'] == null ? undefined : json['html'],
|
|
102
|
+
'attachmentUrls': json['attachmentUrls'] == null ? undefined : json['attachmentUrls'],
|
|
96
103
|
};
|
|
97
104
|
}
|
|
98
105
|
|
|
@@ -114,6 +121,7 @@ export function SendEmailToJSONTyped(value?: SendEmail | null, ignoreDiscriminat
|
|
|
114
121
|
'subject': value['subject'],
|
|
115
122
|
'text': value['text'],
|
|
116
123
|
'html': value['html'],
|
|
124
|
+
'attachmentUrls': value['attachmentUrls'],
|
|
117
125
|
};
|
|
118
126
|
}
|
|
119
127
|
|