@managespace/sdk 0.1.94 → 0.1.96
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/managespace.d.ts +4 -0
- package/dist/extensibility/functions/project/managespace.d.ts.map +1 -1
- package/dist/extensibility/functions/project/managespace.js +5 -0
- package/dist/generated/apis/default-api.d.ts +22 -9
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +80 -21
- package/dist/generated/models/filter-item-value.d.ts +1 -1
- package/dist/generated/models/filter-item.d.ts +1 -1
- package/dist/generated/models/filter-item.d.ts.map +1 -1
- package/dist/generated/models/filter-operator.d.ts +2 -0
- package/dist/generated/models/filter-operator.d.ts.map +1 -1
- package/dist/generated/models/filter-operator.js +3 -1
- package/dist/generated/models/get-assets200-response.d.ts +41 -0
- package/dist/generated/models/get-assets200-response.d.ts.map +1 -0
- package/dist/generated/models/get-assets200-response.js +55 -0
- package/dist/generated/models/index.d.ts +4 -0
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +4 -0
- package/dist/generated/models/insured-roll-report-filters.d.ts +59 -0
- package/dist/generated/models/insured-roll-report-filters.d.ts.map +1 -0
- package/dist/generated/models/insured-roll-report-filters.js +66 -0
- package/dist/generated/models/plugin-filter-item-value.d.ts +27 -0
- package/dist/generated/models/plugin-filter-item-value.d.ts.map +1 -0
- package/dist/generated/models/plugin-filter-item-value.js +39 -0
- package/dist/generated/models/plugin-filter-item.d.ts +3 -3
- package/dist/generated/models/plugin-filter-item.d.ts.map +1 -1
- package/dist/generated/models/plugin-filter-item.js +3 -3
- package/dist/generated/models/rent-roll-report-filters.d.ts +62 -0
- package/dist/generated/models/rent-roll-report-filters.d.ts.map +1 -0
- package/dist/generated/models/rent-roll-report-filters.js +67 -0
- package/dist/generated/models/subscription-invoice-line.d.ts +6 -0
- package/dist/generated/models/subscription-invoice-line.d.ts.map +1 -1
- package/dist/generated/models/subscription-invoice-line.js +2 -0
- package/dist/generated/models/subscription-preview.d.ts +9 -3
- package/dist/generated/models/subscription-preview.d.ts.map +1 -1
- package/dist/generated/models/subscription-preview.js +5 -9
- package/package.deploy.json +1 -1
- package/package.json +1 -1
- package/src/extensibility/functions/project/managespace.ts +6 -1
- package/src/generated/.openapi-generator/FILES +4 -0
- package/src/generated/apis/default-api.ts +124 -37
- package/src/generated/models/filter-item-value.ts +1 -1
- package/src/generated/models/filter-item.ts +1 -1
- package/src/generated/models/filter-operator.ts +3 -1
- package/src/generated/models/get-assets200-response.ts +89 -0
- package/src/generated/models/index.ts +4 -0
- package/src/generated/models/insured-roll-report-filters.ts +102 -0
- package/src/generated/models/plugin-filter-item-value.ts +46 -0
- package/src/generated/models/plugin-filter-item.ts +10 -10
- package/src/generated/models/rent-roll-report-filters.ts +104 -0
- package/src/generated/models/subscription-invoice-line.ts +8 -0
- package/src/generated/models/subscription-preview.ts +14 -9
|
@@ -298,19 +298,25 @@ export interface SubscriptionPreview {
|
|
|
298
298
|
* @type {SubscriptionInvoice}
|
|
299
299
|
* @memberof SubscriptionPreview
|
|
300
300
|
*/
|
|
301
|
-
currentInvoice
|
|
301
|
+
currentInvoice?: SubscriptionInvoice;
|
|
302
302
|
/**
|
|
303
303
|
* Subscription Next Invoice line items
|
|
304
304
|
* @type {SubscriptionInvoice}
|
|
305
305
|
* @memberof SubscriptionPreview
|
|
306
306
|
*/
|
|
307
|
-
nextInvoice
|
|
307
|
+
nextInvoice?: SubscriptionInvoice;
|
|
308
|
+
/**
|
|
309
|
+
* Subscription Next Invoice line items
|
|
310
|
+
* @type {SubscriptionInvoice}
|
|
311
|
+
* @memberof SubscriptionPreview
|
|
312
|
+
*/
|
|
313
|
+
priorInvoice?: SubscriptionInvoice;
|
|
308
314
|
/**
|
|
309
315
|
* Estimated tax amount
|
|
310
316
|
* @type {string}
|
|
311
317
|
* @memberof SubscriptionPreview
|
|
312
318
|
*/
|
|
313
|
-
estimatedTax
|
|
319
|
+
estimatedTax?: string;
|
|
314
320
|
}
|
|
315
321
|
/**
|
|
316
322
|
* Check if a given object implements the SubscriptionPreview interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-preview.d.ts","sourceRoot":"","sources":["../../../src/generated/models/subscription-preview.ts"],"names":[],"mappings":"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
|
|
1
|
+
{"version":3,"file":"subscription-preview.d.ts","sourceRoot":"","sources":["../../../src/generated/models/subscription-preview.ts"],"names":[],"mappings":"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"}
|
|
@@ -50,12 +50,6 @@ function instanceOfSubscriptionPreview(value) {
|
|
|
50
50
|
return false;
|
|
51
51
|
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
52
52
|
return false;
|
|
53
|
-
if (!('currentInvoice' in value) || value['currentInvoice'] === undefined)
|
|
54
|
-
return false;
|
|
55
|
-
if (!('nextInvoice' in value) || value['nextInvoice'] === undefined)
|
|
56
|
-
return false;
|
|
57
|
-
if (!('estimatedTax' in value) || value['estimatedTax'] === undefined)
|
|
58
|
-
return false;
|
|
59
53
|
return true;
|
|
60
54
|
}
|
|
61
55
|
exports.instanceOfSubscriptionPreview = instanceOfSubscriptionPreview;
|
|
@@ -114,9 +108,10 @@ function SubscriptionPreviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
114
108
|
'createdBy': json['createdBy'],
|
|
115
109
|
'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
|
|
116
110
|
'updatedBy': json['updatedBy'] == null ? undefined : json['updatedBy'],
|
|
117
|
-
'currentInvoice': (0, subscription_invoice_1.SubscriptionInvoiceFromJSON)(json['currentInvoice']),
|
|
118
|
-
'nextInvoice': (0, subscription_invoice_1.SubscriptionInvoiceFromJSON)(json['nextInvoice']),
|
|
119
|
-
'
|
|
111
|
+
'currentInvoice': json['currentInvoice'] == null ? undefined : (0, subscription_invoice_1.SubscriptionInvoiceFromJSON)(json['currentInvoice']),
|
|
112
|
+
'nextInvoice': json['nextInvoice'] == null ? undefined : (0, subscription_invoice_1.SubscriptionInvoiceFromJSON)(json['nextInvoice']),
|
|
113
|
+
'priorInvoice': json['priorInvoice'] == null ? undefined : (0, subscription_invoice_1.SubscriptionInvoiceFromJSON)(json['priorInvoice']),
|
|
114
|
+
'estimatedTax': json['estimatedTax'] == null ? undefined : json['estimatedTax'],
|
|
120
115
|
};
|
|
121
116
|
}
|
|
122
117
|
exports.SubscriptionPreviewFromJSONTyped = SubscriptionPreviewFromJSONTyped;
|
|
@@ -177,6 +172,7 @@ function SubscriptionPreviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
177
172
|
'updatedBy': value['updatedBy'],
|
|
178
173
|
'currentInvoice': (0, subscription_invoice_1.SubscriptionInvoiceToJSON)(value['currentInvoice']),
|
|
179
174
|
'nextInvoice': (0, subscription_invoice_1.SubscriptionInvoiceToJSON)(value['nextInvoice']),
|
|
175
|
+
'priorInvoice': (0, subscription_invoice_1.SubscriptionInvoiceToJSON)(value['priorInvoice']),
|
|
180
176
|
'estimatedTax': value['estimatedTax'],
|
|
181
177
|
};
|
|
182
178
|
}
|
package/package.deploy.json
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
Customer,
|
|
4
4
|
WorkflowStepInstance,
|
|
5
5
|
WorkflowInstance,
|
|
6
|
-
Asset,
|
|
6
|
+
// Asset,
|
|
7
7
|
} from '../../../generated';
|
|
8
8
|
import { ExtPlugin } from '../../types';
|
|
9
9
|
|
|
@@ -38,6 +38,11 @@ export namespace ManageSpace {
|
|
|
38
38
|
payload!: any;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
export class CreatePrepayment implements ExtPlugin {
|
|
42
|
+
responseType!: any;
|
|
43
|
+
payload!: any;
|
|
44
|
+
}
|
|
45
|
+
|
|
41
46
|
export class CreateMoveOut implements ExtPlugin {
|
|
42
47
|
responseType!: any;
|
|
43
48
|
payload!: any;
|
|
@@ -106,6 +106,7 @@ models/filter-operator.ts
|
|
|
106
106
|
models/get-asset-categories200-response.ts
|
|
107
107
|
models/get-asset-classes200-response.ts
|
|
108
108
|
models/get-asset-features200-response.ts
|
|
109
|
+
models/get-assets200-response.ts
|
|
109
110
|
models/get-billing-runs200-response.ts
|
|
110
111
|
models/get-calendars200-response.ts
|
|
111
112
|
models/get-charges200-response.ts
|
|
@@ -145,6 +146,7 @@ models/get-users200-response.ts
|
|
|
145
146
|
models/get-workflow-definitions200-response.ts
|
|
146
147
|
models/get-workflow-instances200-response.ts
|
|
147
148
|
models/index.ts
|
|
149
|
+
models/insured-roll-report-filters.ts
|
|
148
150
|
models/intent.ts
|
|
149
151
|
models/invoice-contact.ts
|
|
150
152
|
models/invoice.ts
|
|
@@ -177,6 +179,7 @@ models/plugin-extensibility-function-definition.ts
|
|
|
177
179
|
models/plugin-extensibility-function-instance.ts
|
|
178
180
|
models/plugin-extensibility-function-metadata.ts
|
|
179
181
|
models/plugin-extensibility-status.ts
|
|
182
|
+
models/plugin-filter-item-value.ts
|
|
180
183
|
models/plugin-filter-item.ts
|
|
181
184
|
models/plugin-filter-operator.ts
|
|
182
185
|
models/plugin-version.ts
|
|
@@ -197,6 +200,7 @@ models/rate-change-status.ts
|
|
|
197
200
|
models/rate-change.ts
|
|
198
201
|
models/refund-invoice.ts
|
|
199
202
|
models/refund.ts
|
|
203
|
+
models/rent-roll-report-filters.ts
|
|
200
204
|
models/revenue-rule.ts
|
|
201
205
|
models/role.ts
|
|
202
206
|
models/role1.ts
|
|
@@ -90,6 +90,7 @@ import type {
|
|
|
90
90
|
GetAssetCategories200Response,
|
|
91
91
|
GetAssetClasses200Response,
|
|
92
92
|
GetAssetFeatures200Response,
|
|
93
|
+
GetAssets200Response,
|
|
93
94
|
GetBillingRuns200Response,
|
|
94
95
|
GetCalendars200Response,
|
|
95
96
|
GetCharges200Response,
|
|
@@ -128,9 +129,9 @@ import type {
|
|
|
128
129
|
GetUsers200Response,
|
|
129
130
|
GetWorkflowDefinitions200Response,
|
|
130
131
|
GetWorkflowInstances200Response,
|
|
132
|
+
InsuredRollReportFilters,
|
|
131
133
|
Intent,
|
|
132
134
|
Invoice,
|
|
133
|
-
LeaseStatus,
|
|
134
135
|
LinkPlugin,
|
|
135
136
|
Login,
|
|
136
137
|
ManualInput,
|
|
@@ -157,6 +158,7 @@ import type {
|
|
|
157
158
|
RateChange,
|
|
158
159
|
Refund,
|
|
159
160
|
RefundInvoice,
|
|
161
|
+
RentRollReportFilters,
|
|
160
162
|
RevenueRule,
|
|
161
163
|
Roles,
|
|
162
164
|
SendEmail,
|
|
@@ -357,6 +359,8 @@ import {
|
|
|
357
359
|
GetAssetClasses200ResponseToJSON,
|
|
358
360
|
GetAssetFeatures200ResponseFromJSON,
|
|
359
361
|
GetAssetFeatures200ResponseToJSON,
|
|
362
|
+
GetAssets200ResponseFromJSON,
|
|
363
|
+
GetAssets200ResponseToJSON,
|
|
360
364
|
GetBillingRuns200ResponseFromJSON,
|
|
361
365
|
GetBillingRuns200ResponseToJSON,
|
|
362
366
|
GetCalendars200ResponseFromJSON,
|
|
@@ -433,12 +437,12 @@ import {
|
|
|
433
437
|
GetWorkflowDefinitions200ResponseToJSON,
|
|
434
438
|
GetWorkflowInstances200ResponseFromJSON,
|
|
435
439
|
GetWorkflowInstances200ResponseToJSON,
|
|
440
|
+
InsuredRollReportFiltersFromJSON,
|
|
441
|
+
InsuredRollReportFiltersToJSON,
|
|
436
442
|
IntentFromJSON,
|
|
437
443
|
IntentToJSON,
|
|
438
444
|
InvoiceFromJSON,
|
|
439
445
|
InvoiceToJSON,
|
|
440
|
-
LeaseStatusFromJSON,
|
|
441
|
-
LeaseStatusToJSON,
|
|
442
446
|
LinkPluginFromJSON,
|
|
443
447
|
LinkPluginToJSON,
|
|
444
448
|
LoginFromJSON,
|
|
@@ -491,6 +495,8 @@ import {
|
|
|
491
495
|
RefundToJSON,
|
|
492
496
|
RefundInvoiceFromJSON,
|
|
493
497
|
RefundInvoiceToJSON,
|
|
498
|
+
RentRollReportFiltersFromJSON,
|
|
499
|
+
RentRollReportFiltersToJSON,
|
|
494
500
|
RevenueRuleFromJSON,
|
|
495
501
|
RevenueRuleToJSON,
|
|
496
502
|
RolesFromJSON,
|
|
@@ -835,6 +841,14 @@ export interface GenerateAccountsReceivableReportRequest {
|
|
|
835
841
|
accountsReceivableReportFilters: AccountsReceivableReportFilters;
|
|
836
842
|
}
|
|
837
843
|
|
|
844
|
+
export interface GenerateInsuredRollReportRequest {
|
|
845
|
+
insuredRollReportFilters: InsuredRollReportFilters;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
export interface GenerateRentRollReportRequest {
|
|
849
|
+
rentRollReportFilters: RentRollReportFilters;
|
|
850
|
+
}
|
|
851
|
+
|
|
838
852
|
export interface GetAssetRequest {
|
|
839
853
|
siteId: string;
|
|
840
854
|
assetId: string;
|
|
@@ -879,12 +893,7 @@ export interface GetAssetReservationsRequest {
|
|
|
879
893
|
|
|
880
894
|
export interface GetAssetsRequest {
|
|
881
895
|
siteId: string;
|
|
882
|
-
|
|
883
|
-
product?: string;
|
|
884
|
-
name?: string;
|
|
885
|
-
leaseStatus?: LeaseStatus;
|
|
886
|
-
isRentable?: string;
|
|
887
|
-
isMerchandise?: boolean;
|
|
896
|
+
complexQuery: ComplexQuery;
|
|
888
897
|
}
|
|
889
898
|
|
|
890
899
|
export interface GetBillingRunRequest {
|
|
@@ -4001,6 +4010,98 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4001
4010
|
return await response.value();
|
|
4002
4011
|
}
|
|
4003
4012
|
|
|
4013
|
+
/**
|
|
4014
|
+
*/
|
|
4015
|
+
async generateInsuredRollReportRaw(requestParameters: GenerateInsuredRollReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
4016
|
+
if (requestParameters['insuredRollReportFilters'] == null) {
|
|
4017
|
+
throw new runtime.RequiredError(
|
|
4018
|
+
'insuredRollReportFilters',
|
|
4019
|
+
'Required parameter "insuredRollReportFilters" was null or undefined when calling generateInsuredRollReport().'
|
|
4020
|
+
);
|
|
4021
|
+
}
|
|
4022
|
+
|
|
4023
|
+
const queryParameters: any = {};
|
|
4024
|
+
|
|
4025
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
4026
|
+
|
|
4027
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
4028
|
+
|
|
4029
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4030
|
+
const token = this.configuration.accessToken;
|
|
4031
|
+
const tokenString = await token("bearer", []);
|
|
4032
|
+
|
|
4033
|
+
if (tokenString) {
|
|
4034
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4035
|
+
}
|
|
4036
|
+
}
|
|
4037
|
+
const response = await this.request({
|
|
4038
|
+
path: `/api/org/reports/insured-roll`,
|
|
4039
|
+
method: 'POST',
|
|
4040
|
+
headers: headerParameters,
|
|
4041
|
+
query: queryParameters,
|
|
4042
|
+
body: InsuredRollReportFiltersToJSON(requestParameters['insuredRollReportFilters']),
|
|
4043
|
+
}, initOverrides);
|
|
4044
|
+
|
|
4045
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
4046
|
+
return new runtime.JSONApiResponse<string>(response);
|
|
4047
|
+
} else {
|
|
4048
|
+
return new runtime.TextApiResponse(response) as any;
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
/**
|
|
4053
|
+
*/
|
|
4054
|
+
async generateInsuredRollReport(requestParameters: GenerateInsuredRollReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
4055
|
+
const response = await this.generateInsuredRollReportRaw(requestParameters, initOverrides);
|
|
4056
|
+
return await response.value();
|
|
4057
|
+
}
|
|
4058
|
+
|
|
4059
|
+
/**
|
|
4060
|
+
*/
|
|
4061
|
+
async generateRentRollReportRaw(requestParameters: GenerateRentRollReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>> {
|
|
4062
|
+
if (requestParameters['rentRollReportFilters'] == null) {
|
|
4063
|
+
throw new runtime.RequiredError(
|
|
4064
|
+
'rentRollReportFilters',
|
|
4065
|
+
'Required parameter "rentRollReportFilters" was null or undefined when calling generateRentRollReport().'
|
|
4066
|
+
);
|
|
4067
|
+
}
|
|
4068
|
+
|
|
4069
|
+
const queryParameters: any = {};
|
|
4070
|
+
|
|
4071
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
4072
|
+
|
|
4073
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
4074
|
+
|
|
4075
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4076
|
+
const token = this.configuration.accessToken;
|
|
4077
|
+
const tokenString = await token("bearer", []);
|
|
4078
|
+
|
|
4079
|
+
if (tokenString) {
|
|
4080
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
4081
|
+
}
|
|
4082
|
+
}
|
|
4083
|
+
const response = await this.request({
|
|
4084
|
+
path: `/api/org/reports/rent-roll`,
|
|
4085
|
+
method: 'POST',
|
|
4086
|
+
headers: headerParameters,
|
|
4087
|
+
query: queryParameters,
|
|
4088
|
+
body: RentRollReportFiltersToJSON(requestParameters['rentRollReportFilters']),
|
|
4089
|
+
}, initOverrides);
|
|
4090
|
+
|
|
4091
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
4092
|
+
return new runtime.JSONApiResponse<string>(response);
|
|
4093
|
+
} else {
|
|
4094
|
+
return new runtime.TextApiResponse(response) as any;
|
|
4095
|
+
}
|
|
4096
|
+
}
|
|
4097
|
+
|
|
4098
|
+
/**
|
|
4099
|
+
*/
|
|
4100
|
+
async generateRentRollReport(requestParameters: GenerateRentRollReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string> {
|
|
4101
|
+
const response = await this.generateRentRollReportRaw(requestParameters, initOverrides);
|
|
4102
|
+
return await response.value();
|
|
4103
|
+
}
|
|
4104
|
+
|
|
4004
4105
|
/**
|
|
4005
4106
|
*/
|
|
4006
4107
|
async getAssetRaw(requestParameters: GetAssetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Asset>> {
|
|
@@ -4375,7 +4476,7 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4375
4476
|
|
|
4376
4477
|
/**
|
|
4377
4478
|
*/
|
|
4378
|
-
async getAssetsRaw(requestParameters: GetAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
4479
|
+
async getAssetsRaw(requestParameters: GetAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAssets200Response>> {
|
|
4379
4480
|
if (requestParameters['siteId'] == null) {
|
|
4380
4481
|
throw new runtime.RequiredError(
|
|
4381
4482
|
'siteId',
|
|
@@ -4383,34 +4484,19 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4383
4484
|
);
|
|
4384
4485
|
}
|
|
4385
4486
|
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
if (requestParameters['product'] != null) {
|
|
4393
|
-
queryParameters['product'] = requestParameters['product'];
|
|
4394
|
-
}
|
|
4395
|
-
|
|
4396
|
-
if (requestParameters['name'] != null) {
|
|
4397
|
-
queryParameters['name'] = requestParameters['name'];
|
|
4398
|
-
}
|
|
4399
|
-
|
|
4400
|
-
if (requestParameters['leaseStatus'] != null) {
|
|
4401
|
-
queryParameters['leaseStatus'] = requestParameters['leaseStatus'];
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
|
-
if (requestParameters['isRentable'] != null) {
|
|
4405
|
-
queryParameters['isRentable'] = requestParameters['isRentable'];
|
|
4487
|
+
if (requestParameters['complexQuery'] == null) {
|
|
4488
|
+
throw new runtime.RequiredError(
|
|
4489
|
+
'complexQuery',
|
|
4490
|
+
'Required parameter "complexQuery" was null or undefined when calling getAssets().'
|
|
4491
|
+
);
|
|
4406
4492
|
}
|
|
4407
4493
|
|
|
4408
|
-
|
|
4409
|
-
queryParameters['isMerchandise'] = requestParameters['isMerchandise'];
|
|
4410
|
-
}
|
|
4494
|
+
const queryParameters: any = {};
|
|
4411
4495
|
|
|
4412
4496
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
4413
4497
|
|
|
4498
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
4499
|
+
|
|
4414
4500
|
if (this.configuration && this.configuration.accessToken) {
|
|
4415
4501
|
const token = this.configuration.accessToken;
|
|
4416
4502
|
const tokenString = await token("bearer", []);
|
|
@@ -4420,18 +4506,19 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
4420
4506
|
}
|
|
4421
4507
|
}
|
|
4422
4508
|
const response = await this.request({
|
|
4423
|
-
path: `/api/org/sites/{siteId}/assets`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))),
|
|
4424
|
-
method: '
|
|
4509
|
+
path: `/api/org/sites/{siteId}/assets/queries`.replace(`{${"siteId"}}`, encodeURIComponent(String(requestParameters['siteId']))),
|
|
4510
|
+
method: 'POST',
|
|
4425
4511
|
headers: headerParameters,
|
|
4426
4512
|
query: queryParameters,
|
|
4513
|
+
body: ComplexQueryToJSON(requestParameters['complexQuery']),
|
|
4427
4514
|
}, initOverrides);
|
|
4428
4515
|
|
|
4429
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
4516
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetAssets200ResponseFromJSON(jsonValue));
|
|
4430
4517
|
}
|
|
4431
4518
|
|
|
4432
4519
|
/**
|
|
4433
4520
|
*/
|
|
4434
|
-
async getAssets(requestParameters: GetAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
4521
|
+
async getAssets(requestParameters: GetAssetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAssets200Response> {
|
|
4435
4522
|
const response = await this.getAssetsRaw(requestParameters, initOverrides);
|
|
4436
4523
|
return await response.value();
|
|
4437
4524
|
}
|
|
@@ -29,7 +29,9 @@ export const FilterOperator = {
|
|
|
29
29
|
not: 'not',
|
|
30
30
|
notIn: 'notIn',
|
|
31
31
|
search: 'search',
|
|
32
|
-
startsWith: 'startsWith'
|
|
32
|
+
startsWith: 'startsWith',
|
|
33
|
+
is: 'is',
|
|
34
|
+
isNot: 'isNot'
|
|
33
35
|
} as const;
|
|
34
36
|
export type FilterOperator = typeof FilterOperator[keyof typeof FilterOperator];
|
|
35
37
|
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { PageMeta } from './page-meta';
|
|
17
|
+
import {
|
|
18
|
+
PageMetaFromJSON,
|
|
19
|
+
PageMetaFromJSONTyped,
|
|
20
|
+
PageMetaToJSON,
|
|
21
|
+
PageMetaToJSONTyped,
|
|
22
|
+
} from './page-meta';
|
|
23
|
+
import type { Asset } from './asset';
|
|
24
|
+
import {
|
|
25
|
+
AssetFromJSON,
|
|
26
|
+
AssetFromJSONTyped,
|
|
27
|
+
AssetToJSON,
|
|
28
|
+
AssetToJSONTyped,
|
|
29
|
+
} from './asset';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface GetAssets200Response
|
|
35
|
+
*/
|
|
36
|
+
export interface GetAssets200Response {
|
|
37
|
+
/**
|
|
38
|
+
* The pagination metadata
|
|
39
|
+
* @type {PageMeta}
|
|
40
|
+
* @memberof GetAssets200Response
|
|
41
|
+
*/
|
|
42
|
+
pageMeta: PageMeta;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<Asset>}
|
|
46
|
+
* @memberof GetAssets200Response
|
|
47
|
+
*/
|
|
48
|
+
results?: Array<Asset>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the GetAssets200Response interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfGetAssets200Response(value: object): value is GetAssets200Response {
|
|
55
|
+
if (!('pageMeta' in value) || value['pageMeta'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function GetAssets200ResponseFromJSON(json: any): GetAssets200Response {
|
|
60
|
+
return GetAssets200ResponseFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function GetAssets200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAssets200Response {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'pageMeta': PageMetaFromJSON(json['pageMeta']),
|
|
70
|
+
'results': json['results'] == null ? undefined : ((json['results'] as Array<any>).map(AssetFromJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function GetAssets200ResponseToJSON(json: any): GetAssets200Response {
|
|
75
|
+
return GetAssets200ResponseToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetAssets200ResponseToJSONTyped(value?: GetAssets200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'pageMeta': PageMetaToJSON(value['pageMeta']),
|
|
86
|
+
'results': value['results'] == null ? undefined : ((value['results'] as Array<any>).map(AssetToJSON)),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -105,6 +105,7 @@ export * from './filter-operator';
|
|
|
105
105
|
export * from './get-asset-categories200-response';
|
|
106
106
|
export * from './get-asset-classes200-response';
|
|
107
107
|
export * from './get-asset-features200-response';
|
|
108
|
+
export * from './get-assets200-response';
|
|
108
109
|
export * from './get-billing-runs200-response';
|
|
109
110
|
export * from './get-calendars200-response';
|
|
110
111
|
export * from './get-charges200-response';
|
|
@@ -143,6 +144,7 @@ export * from './get-templates200-response';
|
|
|
143
144
|
export * from './get-users200-response';
|
|
144
145
|
export * from './get-workflow-definitions200-response';
|
|
145
146
|
export * from './get-workflow-instances200-response';
|
|
147
|
+
export * from './insured-roll-report-filters';
|
|
146
148
|
export * from './intent';
|
|
147
149
|
export * from './invoice';
|
|
148
150
|
export * from './invoice-contact';
|
|
@@ -177,6 +179,7 @@ export * from './plugin-extensibility-function-instance';
|
|
|
177
179
|
export * from './plugin-extensibility-function-metadata';
|
|
178
180
|
export * from './plugin-extensibility-status';
|
|
179
181
|
export * from './plugin-filter-item';
|
|
182
|
+
export * from './plugin-filter-item-value';
|
|
180
183
|
export * from './plugin-filter-operator';
|
|
181
184
|
export * from './plugin-version';
|
|
182
185
|
export * from './preview-subscription';
|
|
@@ -195,6 +198,7 @@ export * from './rate-change';
|
|
|
195
198
|
export * from './rate-change-status';
|
|
196
199
|
export * from './refund';
|
|
197
200
|
export * from './refund-invoice';
|
|
201
|
+
export * from './rent-roll-report-filters';
|
|
198
202
|
export * from './revenue-rule';
|
|
199
203
|
export * from './role';
|
|
200
204
|
export * from './role1';
|
|
@@ -0,0 +1,102 @@
|
|
|
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 InsuredRollReportFilters
|
|
20
|
+
*/
|
|
21
|
+
export interface InsuredRollReportFilters {
|
|
22
|
+
/**
|
|
23
|
+
* Site ID to filter the report
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof InsuredRollReportFilters
|
|
26
|
+
*/
|
|
27
|
+
siteId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Start date for the report
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof InsuredRollReportFilters
|
|
32
|
+
*/
|
|
33
|
+
startDate: Date;
|
|
34
|
+
/**
|
|
35
|
+
* End date for the report
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof InsuredRollReportFilters
|
|
38
|
+
*/
|
|
39
|
+
endDate: Date;
|
|
40
|
+
/**
|
|
41
|
+
* Filter for insured or uninsured units
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof InsuredRollReportFilters
|
|
44
|
+
*/
|
|
45
|
+
filter?: InsuredRollReportFiltersFilter;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export const InsuredRollReportFiltersFilter = {
|
|
53
|
+
INSURED: 'INSURED',
|
|
54
|
+
UNINSURED: 'UNINSURED'
|
|
55
|
+
} as const;
|
|
56
|
+
export type InsuredRollReportFiltersFilter = typeof InsuredRollReportFiltersFilter[keyof typeof InsuredRollReportFiltersFilter];
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the InsuredRollReportFilters interface.
|
|
61
|
+
*/
|
|
62
|
+
export function instanceOfInsuredRollReportFilters(value: object): value is InsuredRollReportFilters {
|
|
63
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
64
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
65
|
+
return true;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function InsuredRollReportFiltersFromJSON(json: any): InsuredRollReportFilters {
|
|
69
|
+
return InsuredRollReportFiltersFromJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function InsuredRollReportFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsuredRollReportFilters {
|
|
73
|
+
if (json == null) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'siteId': json['siteId'] == null ? undefined : json['siteId'],
|
|
79
|
+
'startDate': (new Date(json['startDate'])),
|
|
80
|
+
'endDate': (new Date(json['endDate'])),
|
|
81
|
+
'filter': json['filter'] == null ? undefined : json['filter'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function InsuredRollReportFiltersToJSON(json: any): InsuredRollReportFilters {
|
|
86
|
+
return InsuredRollReportFiltersToJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function InsuredRollReportFiltersToJSONTyped(value?: InsuredRollReportFilters | null, ignoreDiscriminator: boolean = false): any {
|
|
90
|
+
if (value == null) {
|
|
91
|
+
return value;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'siteId': value['siteId'],
|
|
97
|
+
'startDate': ((value['startDate']).toISOString().substring(0,10)),
|
|
98
|
+
'endDate': ((value['endDate']).toISOString().substring(0,10)),
|
|
99
|
+
'filter': value['filter'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|