@managespace/sdk 0.0.208 → 0.0.210
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 +25 -14
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +10 -0
- package/dist/extensibility/functions/project/communication-method.d.ts +1 -1
- package/dist/extensibility/functions/project/communication-method.d.ts.map +1 -1
- package/dist/extensibility/functions/project/managespace.d.ts +6 -0
- package/dist/extensibility/functions/project/managespace.d.ts.map +1 -1
- package/dist/extensibility/functions/project/managespace.js +5 -0
- package/dist/extensibility/functions/project/topics.enum.d.ts +2 -1
- package/dist/extensibility/functions/project/topics.enum.d.ts.map +1 -1
- package/dist/extensibility/functions/project/topics.enum.js +1 -0
- package/dist/generated/apis/default-api.d.ts +77 -38
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +813 -730
- package/dist/generated/models/assets.d.ts +34 -0
- package/dist/generated/models/assets.d.ts.map +1 -0
- package/dist/generated/models/assets.js +52 -0
- package/dist/generated/models/base-pagination-query.d.ts +39 -0
- package/dist/generated/models/base-pagination-query.d.ts.map +1 -0
- package/dist/generated/models/base-pagination-query.js +51 -0
- package/dist/generated/models/complex-query.d.ts +48 -0
- package/dist/generated/models/complex-query.d.ts.map +1 -0
- package/dist/generated/models/complex-query.js +56 -0
- package/dist/generated/models/create-journal-entry.d.ts +58 -0
- package/dist/generated/models/create-journal-entry.d.ts.map +1 -0
- package/dist/generated/models/create-journal-entry.js +64 -0
- package/dist/generated/models/create-notes.d.ts +34 -0
- package/dist/generated/models/create-notes.d.ts.map +1 -0
- package/dist/generated/models/create-notes.js +52 -0
- package/dist/generated/models/create-template.d.ts +2 -2
- package/dist/generated/models/create-template.d.ts.map +1 -1
- package/dist/generated/models/create-template.js +3 -3
- package/dist/generated/models/document-complete.d.ts +2 -2
- package/dist/generated/models/document-complete.d.ts.map +1 -1
- package/dist/generated/models/document-complete.js +3 -3
- package/dist/generated/models/filter-item-value.d.ts +27 -0
- package/dist/generated/models/filter-item-value.d.ts.map +1 -0
- package/dist/generated/models/filter-item-value.js +39 -0
- package/dist/generated/models/filter-item.d.ts +47 -0
- package/dist/generated/models/filter-item.d.ts.map +1 -0
- package/dist/generated/models/filter-item.js +61 -0
- package/dist/generated/models/filter-operator.d.ts +36 -0
- package/dist/generated/models/filter-operator.d.ts.map +1 -0
- package/dist/generated/models/filter-operator.js +61 -0
- package/dist/generated/models/get-customers-query.d.ts +48 -0
- package/dist/generated/models/get-customers-query.d.ts.map +1 -0
- package/dist/generated/models/get-customers-query.js +56 -0
- package/dist/generated/models/get-invoices-query.d.ts +60 -0
- package/dist/generated/models/get-invoices-query.d.ts.map +1 -0
- package/dist/generated/models/get-invoices-query.js +60 -0
- package/dist/generated/models/get-subscriptions-query.d.ts +66 -0
- package/dist/generated/models/get-subscriptions-query.d.ts.map +1 -0
- package/dist/generated/models/get-subscriptions-query.js +62 -0
- package/dist/generated/models/index.d.ts +16 -3
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +16 -3
- package/dist/generated/models/journal-entry-entries.d.ts +75 -0
- package/dist/generated/models/journal-entry-entries.d.ts.map +1 -0
- package/dist/generated/models/journal-entry-entries.js +73 -0
- package/dist/generated/models/journal-entry.d.ts +94 -0
- package/dist/generated/models/journal-entry.d.ts.map +1 -0
- package/dist/generated/models/journal-entry.js +88 -0
- package/dist/generated/models/order-operator.d.ts +26 -0
- package/dist/generated/models/order-operator.d.ts.map +1 -0
- package/dist/generated/models/order-operator.js +51 -0
- package/dist/generated/models/plugin-filter-item.d.ts +41 -0
- package/dist/generated/models/plugin-filter-item.d.ts.map +1 -0
- package/dist/generated/models/plugin-filter-item.js +57 -0
- package/dist/generated/models/plugin-filter-operator.d.ts +27 -0
- package/dist/generated/models/plugin-filter-operator.d.ts.map +1 -0
- package/dist/generated/models/plugin-filter-operator.js +52 -0
- package/dist/generated/models/sort-order.d.ts +40 -0
- package/dist/generated/models/sort-order.d.ts.map +1 -0
- package/dist/generated/models/sort-order.js +52 -0
- package/dist/generated/models/update-customer200-response.d.ts +41 -0
- package/dist/generated/models/update-customer200-response.d.ts.map +1 -0
- package/dist/generated/models/update-customer200-response.js +55 -0
- package/package.json +1 -1
- package/src/extensibility/functions/project/billing.ts +25 -15
- package/src/extensibility/functions/project/communication-method.ts +1 -1
- package/src/extensibility/functions/project/managespace.ts +5 -0
- package/src/extensibility/functions/project/topics.enum.ts +1 -0
- package/src/generated/.openapi-generator/FILES +16 -2
- package/src/generated/apis/default-api.ts +440 -171
- package/src/generated/models/assets.ts +74 -0
- package/src/generated/models/base-pagination-query.ts +73 -0
- package/src/generated/models/complex-query.ts +103 -0
- package/src/generated/models/create-journal-entry.ts +108 -0
- package/src/generated/models/create-notes.ts +74 -0
- package/src/generated/models/create-template.ts +5 -5
- package/src/generated/models/document-complete.ts +5 -5
- package/src/generated/models/filter-item-value.ts +46 -0
- package/src/generated/models/filter-item.ts +101 -0
- package/src/generated/models/filter-operator.ts +63 -0
- package/src/generated/models/get-customers-query.ts +103 -0
- package/src/generated/models/get-invoices-query.ts +119 -0
- package/src/generated/models/get-subscriptions-query.ts +127 -0
- package/src/generated/models/index.ts +16 -2
- package/src/generated/models/journal-entry-entries.ts +126 -0
- package/src/generated/models/journal-entry.ts +162 -0
- package/src/generated/models/order-operator.ts +53 -0
- package/src/generated/models/plugin-filter-item.ts +92 -0
- package/src/generated/models/plugin-filter-operator.ts +54 -0
- package/src/generated/models/sort-order.ts +83 -0
- package/src/generated/models/update-customer200-response.ts +89 -0
- package/src/generated/models/change-active-site.ts +0 -66
- package/src/generated/models/create-checklist.ts +0 -135
- package/src/generated/models/create-task-template.ts +0 -83
- package/src/generated/models/create-task.ts +0 -135
- package/src/generated/models/custom-update-task-template.ts +0 -93
- package/src/generated/models/document-signed.ts +0 -115
- package/src/generated/models/get-payments1200-response.ts +0 -89
- package/src/generated/models/get-task-templates200-response.ts +0 -89
- package/src/generated/models/get-tasks200-response.ts +0 -89
- package/src/generated/models/task-template.ts +0 -187
- package/src/generated/models/task.ts +0 -290
- package/src/generated/models/update-checklist-task-template.ts +0 -66
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The operator to use when filtering
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const FilterOperator = {
|
|
21
|
+
Contains: 'contains',
|
|
22
|
+
EndsWith: 'endsWith',
|
|
23
|
+
Equals: 'equals',
|
|
24
|
+
Gt: 'gt',
|
|
25
|
+
Gte: 'gte',
|
|
26
|
+
In: 'in',
|
|
27
|
+
Lt: 'lt',
|
|
28
|
+
Lte: 'lte',
|
|
29
|
+
Not: 'not',
|
|
30
|
+
NotIn: 'notIn',
|
|
31
|
+
Search: 'search',
|
|
32
|
+
StartsWith: 'startsWith'
|
|
33
|
+
} as const;
|
|
34
|
+
export type FilterOperator = typeof FilterOperator[keyof typeof FilterOperator];
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
export function instanceOfFilterOperator(value: any): boolean {
|
|
38
|
+
for (const key in FilterOperator) {
|
|
39
|
+
if (Object.prototype.hasOwnProperty.call(FilterOperator, key)) {
|
|
40
|
+
if (FilterOperator[key as keyof typeof FilterOperator] === value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function FilterOperatorFromJSON(json: any): FilterOperator {
|
|
49
|
+
return FilterOperatorFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function FilterOperatorFromJSONTyped(json: any, ignoreDiscriminator: boolean): FilterOperator {
|
|
53
|
+
return json as FilterOperator;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function FilterOperatorToJSON(value?: FilterOperator | null): any {
|
|
57
|
+
return value as any;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function FilterOperatorToJSONTyped(value: any, ignoreDiscriminator: boolean): FilterOperator {
|
|
61
|
+
return value as FilterOperator;
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { FilterItem } from './filter-item';
|
|
17
|
+
import {
|
|
18
|
+
FilterItemFromJSON,
|
|
19
|
+
FilterItemFromJSONTyped,
|
|
20
|
+
FilterItemToJSON,
|
|
21
|
+
FilterItemToJSONTyped,
|
|
22
|
+
} from './filter-item';
|
|
23
|
+
import type { BasePaginationQuery } from './base-pagination-query';
|
|
24
|
+
import {
|
|
25
|
+
BasePaginationQueryFromJSON,
|
|
26
|
+
BasePaginationQueryFromJSONTyped,
|
|
27
|
+
BasePaginationQueryToJSON,
|
|
28
|
+
BasePaginationQueryToJSONTyped,
|
|
29
|
+
} from './base-pagination-query';
|
|
30
|
+
import type { SortOrder } from './sort-order';
|
|
31
|
+
import {
|
|
32
|
+
SortOrderFromJSON,
|
|
33
|
+
SortOrderFromJSONTyped,
|
|
34
|
+
SortOrderToJSON,
|
|
35
|
+
SortOrderToJSONTyped,
|
|
36
|
+
} from './sort-order';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetCustomersQuery
|
|
42
|
+
*/
|
|
43
|
+
export interface GetCustomersQuery {
|
|
44
|
+
/**
|
|
45
|
+
* The pagination metadata
|
|
46
|
+
* @type {BasePaginationQuery}
|
|
47
|
+
* @memberof GetCustomersQuery
|
|
48
|
+
*/
|
|
49
|
+
pageOptions?: BasePaginationQuery;
|
|
50
|
+
/**
|
|
51
|
+
* The sort metadata
|
|
52
|
+
* @type {SortOrder}
|
|
53
|
+
* @memberof GetCustomersQuery
|
|
54
|
+
*/
|
|
55
|
+
sort?: SortOrder;
|
|
56
|
+
/**
|
|
57
|
+
* A list of filters to search by.
|
|
58
|
+
* @type {Array<FilterItem>}
|
|
59
|
+
* @memberof GetCustomersQuery
|
|
60
|
+
*/
|
|
61
|
+
filters?: Array<FilterItem>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetCustomersQuery interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfGetCustomersQuery(value: object): value is GetCustomersQuery {
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function GetCustomersQueryFromJSON(json: any): GetCustomersQuery {
|
|
72
|
+
return GetCustomersQueryFromJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function GetCustomersQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCustomersQuery {
|
|
76
|
+
if (json == null) {
|
|
77
|
+
return json;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'pageOptions': json['pageOptions'] == null ? undefined : BasePaginationQueryFromJSON(json['pageOptions']),
|
|
82
|
+
'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
|
|
83
|
+
'filters': json['filters'] == null ? undefined : ((json['filters'] as Array<any>).map(FilterItemFromJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function GetCustomersQueryToJSON(json: any): GetCustomersQuery {
|
|
88
|
+
return GetCustomersQueryToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function GetCustomersQueryToJSONTyped(value?: GetCustomersQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return {
|
|
97
|
+
|
|
98
|
+
'pageOptions': BasePaginationQueryToJSON(value['pageOptions']),
|
|
99
|
+
'sort': SortOrderToJSON(value['sort']),
|
|
100
|
+
'filters': value['filters'] == null ? undefined : ((value['filters'] as Array<any>).map(FilterItemToJSON)),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -0,0 +1,119 @@
|
|
|
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 { BasePaginationQuery } from './base-pagination-query';
|
|
17
|
+
import {
|
|
18
|
+
BasePaginationQueryFromJSON,
|
|
19
|
+
BasePaginationQueryFromJSONTyped,
|
|
20
|
+
BasePaginationQueryToJSON,
|
|
21
|
+
BasePaginationQueryToJSONTyped,
|
|
22
|
+
} from './base-pagination-query';
|
|
23
|
+
import type { PluginFilterItem } from './plugin-filter-item';
|
|
24
|
+
import {
|
|
25
|
+
PluginFilterItemFromJSON,
|
|
26
|
+
PluginFilterItemFromJSONTyped,
|
|
27
|
+
PluginFilterItemToJSON,
|
|
28
|
+
PluginFilterItemToJSONTyped,
|
|
29
|
+
} from './plugin-filter-item';
|
|
30
|
+
import type { SortOrder } from './sort-order';
|
|
31
|
+
import {
|
|
32
|
+
SortOrderFromJSON,
|
|
33
|
+
SortOrderFromJSONTyped,
|
|
34
|
+
SortOrderToJSON,
|
|
35
|
+
SortOrderToJSONTyped,
|
|
36
|
+
} from './sort-order';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetInvoicesQuery
|
|
42
|
+
*/
|
|
43
|
+
export interface GetInvoicesQuery {
|
|
44
|
+
/**
|
|
45
|
+
* The pagination metadata
|
|
46
|
+
* @type {BasePaginationQuery}
|
|
47
|
+
* @memberof GetInvoicesQuery
|
|
48
|
+
*/
|
|
49
|
+
pageOptions?: BasePaginationQuery;
|
|
50
|
+
/**
|
|
51
|
+
* The sort metadata
|
|
52
|
+
* @type {SortOrder}
|
|
53
|
+
* @memberof GetInvoicesQuery
|
|
54
|
+
*/
|
|
55
|
+
sort?: SortOrder;
|
|
56
|
+
/**
|
|
57
|
+
* Status value and operator to filter by
|
|
58
|
+
* @type {PluginFilterItem}
|
|
59
|
+
* @memberof GetInvoicesQuery
|
|
60
|
+
*/
|
|
61
|
+
status?: PluginFilterItem;
|
|
62
|
+
/**
|
|
63
|
+
* External customer ID value and operator to filter by
|
|
64
|
+
* @type {PluginFilterItem}
|
|
65
|
+
* @memberof GetInvoicesQuery
|
|
66
|
+
*/
|
|
67
|
+
externalCustomerId?: PluginFilterItem;
|
|
68
|
+
/**
|
|
69
|
+
* Billing run ID value and operator to filter by
|
|
70
|
+
* @type {PluginFilterItem}
|
|
71
|
+
* @memberof GetInvoicesQuery
|
|
72
|
+
*/
|
|
73
|
+
billingRunId?: PluginFilterItem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the GetInvoicesQuery interface.
|
|
78
|
+
*/
|
|
79
|
+
export function instanceOfGetInvoicesQuery(value: object): value is GetInvoicesQuery {
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function GetInvoicesQueryFromJSON(json: any): GetInvoicesQuery {
|
|
84
|
+
return GetInvoicesQueryFromJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function GetInvoicesQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetInvoicesQuery {
|
|
88
|
+
if (json == null) {
|
|
89
|
+
return json;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
|
|
93
|
+
'pageOptions': json['pageOptions'] == null ? undefined : BasePaginationQueryFromJSON(json['pageOptions']),
|
|
94
|
+
'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
|
|
95
|
+
'status': json['status'] == null ? undefined : PluginFilterItemFromJSON(json['status']),
|
|
96
|
+
'externalCustomerId': json['externalCustomerId'] == null ? undefined : PluginFilterItemFromJSON(json['externalCustomerId']),
|
|
97
|
+
'billingRunId': json['billingRunId'] == null ? undefined : PluginFilterItemFromJSON(json['billingRunId']),
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function GetInvoicesQueryToJSON(json: any): GetInvoicesQuery {
|
|
102
|
+
return GetInvoicesQueryToJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function GetInvoicesQueryToJSONTyped(value?: GetInvoicesQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
106
|
+
if (value == null) {
|
|
107
|
+
return value;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'pageOptions': BasePaginationQueryToJSON(value['pageOptions']),
|
|
113
|
+
'sort': SortOrderToJSON(value['sort']),
|
|
114
|
+
'status': PluginFilterItemToJSON(value['status']),
|
|
115
|
+
'externalCustomerId': PluginFilterItemToJSON(value['externalCustomerId']),
|
|
116
|
+
'billingRunId': PluginFilterItemToJSON(value['billingRunId']),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
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 { BasePaginationQuery } from './base-pagination-query';
|
|
17
|
+
import {
|
|
18
|
+
BasePaginationQueryFromJSON,
|
|
19
|
+
BasePaginationQueryFromJSONTyped,
|
|
20
|
+
BasePaginationQueryToJSON,
|
|
21
|
+
BasePaginationQueryToJSONTyped,
|
|
22
|
+
} from './base-pagination-query';
|
|
23
|
+
import type { PluginFilterItem } from './plugin-filter-item';
|
|
24
|
+
import {
|
|
25
|
+
PluginFilterItemFromJSON,
|
|
26
|
+
PluginFilterItemFromJSONTyped,
|
|
27
|
+
PluginFilterItemToJSON,
|
|
28
|
+
PluginFilterItemToJSONTyped,
|
|
29
|
+
} from './plugin-filter-item';
|
|
30
|
+
import type { SortOrder } from './sort-order';
|
|
31
|
+
import {
|
|
32
|
+
SortOrderFromJSON,
|
|
33
|
+
SortOrderFromJSONTyped,
|
|
34
|
+
SortOrderToJSON,
|
|
35
|
+
SortOrderToJSONTyped,
|
|
36
|
+
} from './sort-order';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface GetSubscriptionsQuery
|
|
42
|
+
*/
|
|
43
|
+
export interface GetSubscriptionsQuery {
|
|
44
|
+
/**
|
|
45
|
+
* The pagination metadata
|
|
46
|
+
* @type {BasePaginationQuery}
|
|
47
|
+
* @memberof GetSubscriptionsQuery
|
|
48
|
+
*/
|
|
49
|
+
pageOptions?: BasePaginationQuery;
|
|
50
|
+
/**
|
|
51
|
+
* The sort metadata
|
|
52
|
+
* @type {SortOrder}
|
|
53
|
+
* @memberof GetSubscriptionsQuery
|
|
54
|
+
*/
|
|
55
|
+
sort?: SortOrder;
|
|
56
|
+
/**
|
|
57
|
+
* Status value and operator to filter by
|
|
58
|
+
* @type {PluginFilterItem}
|
|
59
|
+
* @memberof GetSubscriptionsQuery
|
|
60
|
+
*/
|
|
61
|
+
status?: PluginFilterItem;
|
|
62
|
+
/**
|
|
63
|
+
* Asset ID value and operator to filter by
|
|
64
|
+
* @type {PluginFilterItem}
|
|
65
|
+
* @memberof GetSubscriptionsQuery
|
|
66
|
+
*/
|
|
67
|
+
assetId?: PluginFilterItem;
|
|
68
|
+
/**
|
|
69
|
+
* Customer ID value and operator to filter by
|
|
70
|
+
* @type {PluginFilterItem}
|
|
71
|
+
* @memberof GetSubscriptionsQuery
|
|
72
|
+
*/
|
|
73
|
+
customerId?: PluginFilterItem;
|
|
74
|
+
/**
|
|
75
|
+
* Site ID value and operator to filter by
|
|
76
|
+
* @type {PluginFilterItem}
|
|
77
|
+
* @memberof GetSubscriptionsQuery
|
|
78
|
+
*/
|
|
79
|
+
siteId?: PluginFilterItem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the GetSubscriptionsQuery interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfGetSubscriptionsQuery(value: object): value is GetSubscriptionsQuery {
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function GetSubscriptionsQueryFromJSON(json: any): GetSubscriptionsQuery {
|
|
90
|
+
return GetSubscriptionsQueryFromJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function GetSubscriptionsQueryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSubscriptionsQuery {
|
|
94
|
+
if (json == null) {
|
|
95
|
+
return json;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'pageOptions': json['pageOptions'] == null ? undefined : BasePaginationQueryFromJSON(json['pageOptions']),
|
|
100
|
+
'sort': json['sort'] == null ? undefined : SortOrderFromJSON(json['sort']),
|
|
101
|
+
'status': json['status'] == null ? undefined : PluginFilterItemFromJSON(json['status']),
|
|
102
|
+
'assetId': json['assetId'] == null ? undefined : PluginFilterItemFromJSON(json['assetId']),
|
|
103
|
+
'customerId': json['customerId'] == null ? undefined : PluginFilterItemFromJSON(json['customerId']),
|
|
104
|
+
'siteId': json['siteId'] == null ? undefined : PluginFilterItemFromJSON(json['siteId']),
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function GetSubscriptionsQueryToJSON(json: any): GetSubscriptionsQuery {
|
|
109
|
+
return GetSubscriptionsQueryToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function GetSubscriptionsQueryToJSONTyped(value?: GetSubscriptionsQuery | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'pageOptions': BasePaginationQueryToJSON(value['pageOptions']),
|
|
120
|
+
'sort': SortOrderToJSON(value['sort']),
|
|
121
|
+
'status': PluginFilterItemToJSON(value['status']),
|
|
122
|
+
'assetId': PluginFilterItemToJSON(value['assetId']),
|
|
123
|
+
'customerId': PluginFilterItemToJSON(value['customerId']),
|
|
124
|
+
'siteId': PluginFilterItemToJSON(value['siteId']),
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -7,6 +7,8 @@ export * from './asset-category';
|
|
|
7
7
|
export * from './asset-class';
|
|
8
8
|
export * from './asset-details';
|
|
9
9
|
export * from './asset-feature';
|
|
10
|
+
export * from './assets';
|
|
11
|
+
export * from './base-pagination-query';
|
|
10
12
|
export * from './billing-run';
|
|
11
13
|
export * from './billing-run-filter-condition';
|
|
12
14
|
export * from './billing-run-filter-options';
|
|
@@ -19,6 +21,7 @@ export * from './checklist';
|
|
|
19
21
|
export * from './checklist-recurrence-frequency';
|
|
20
22
|
export * from './communication';
|
|
21
23
|
export * from './communication-type';
|
|
24
|
+
export * from './complex-query';
|
|
22
25
|
export * from './configuration-setting';
|
|
23
26
|
export * from './configuration-setting-type';
|
|
24
27
|
export * from './contact';
|
|
@@ -36,8 +39,10 @@ export * from './create-communication';
|
|
|
36
39
|
export * from './create-configuration-setting';
|
|
37
40
|
export * from './create-document';
|
|
38
41
|
export * from './create-instances';
|
|
42
|
+
export * from './create-journal-entry';
|
|
39
43
|
export * from './create-map-feature';
|
|
40
44
|
export * from './create-note';
|
|
45
|
+
export * from './create-notes';
|
|
41
46
|
export * from './create-notification';
|
|
42
47
|
export * from './create-order';
|
|
43
48
|
export * from './create-org';
|
|
@@ -80,10 +85,12 @@ export * from './field-area';
|
|
|
80
85
|
export * from './field-preferences';
|
|
81
86
|
export * from './field-type';
|
|
82
87
|
export * from './file-uploaded';
|
|
88
|
+
export * from './filter-item';
|
|
89
|
+
export * from './filter-item-value';
|
|
90
|
+
export * from './filter-operator';
|
|
83
91
|
export * from './get-asset-categories200-response';
|
|
84
92
|
export * from './get-asset-classes200-response';
|
|
85
93
|
export * from './get-asset-features200-response';
|
|
86
|
-
export * from './get-assets200-response';
|
|
87
94
|
export * from './get-billing-runs200-response';
|
|
88
95
|
export * from './get-calendar-events-query';
|
|
89
96
|
export * from './get-calendars200-response';
|
|
@@ -97,6 +104,7 @@ export * from './get-customers200-response';
|
|
|
97
104
|
export * from './get-documents200-response';
|
|
98
105
|
export * from './get-intent';
|
|
99
106
|
export * from './get-invoices200-response';
|
|
107
|
+
export * from './get-invoices-query';
|
|
100
108
|
export * from './get-notes200-response';
|
|
101
109
|
export * from './get-notifications200-response';
|
|
102
110
|
export * from './get-orders200-response';
|
|
@@ -111,6 +119,7 @@ export * from './get-revenue-rules200-response';
|
|
|
111
119
|
export * from './get-sites200-response';
|
|
112
120
|
export * from './get-statements200-response';
|
|
113
121
|
export * from './get-subscriptions200-response';
|
|
122
|
+
export * from './get-subscriptions-query';
|
|
114
123
|
export * from './get-task-definitions200-response';
|
|
115
124
|
export * from './get-task-instances200-response';
|
|
116
125
|
export * from './get-templates200-response';
|
|
@@ -120,6 +129,8 @@ export * from './get-workflow-instances200-response';
|
|
|
120
129
|
export * from './intent';
|
|
121
130
|
export * from './invoice';
|
|
122
131
|
export * from './invoice-contact';
|
|
132
|
+
export * from './journal-entry';
|
|
133
|
+
export * from './journal-entry-entries';
|
|
123
134
|
export * from './lease-status';
|
|
124
135
|
export * from './line-item';
|
|
125
136
|
export * from './link-plugin';
|
|
@@ -130,6 +141,7 @@ export * from './note';
|
|
|
130
141
|
export * from './notification';
|
|
131
142
|
export * from './order';
|
|
132
143
|
export * from './order-line-item';
|
|
144
|
+
export * from './order-operator';
|
|
133
145
|
export * from './org';
|
|
134
146
|
export * from './page-meta';
|
|
135
147
|
export * from './paginated';
|
|
@@ -146,6 +158,8 @@ export * from './plugin-extensibility-function-definition';
|
|
|
146
158
|
export * from './plugin-extensibility-function-instance';
|
|
147
159
|
export * from './plugin-extensibility-function-metadata';
|
|
148
160
|
export * from './plugin-extensibility-status';
|
|
161
|
+
export * from './plugin-filter-item';
|
|
162
|
+
export * from './plugin-filter-operator';
|
|
149
163
|
export * from './plugin-version';
|
|
150
164
|
export * from './product-custom';
|
|
151
165
|
export * from './product-tax-group';
|
|
@@ -173,6 +187,7 @@ export * from './site-type2';
|
|
|
173
187
|
export * from './site-type3';
|
|
174
188
|
export * from './site-type4';
|
|
175
189
|
export * from './smart-bar-prompt';
|
|
190
|
+
export * from './sort-order';
|
|
176
191
|
export * from './statement';
|
|
177
192
|
export * from './step-data';
|
|
178
193
|
export * from './sub-total';
|
|
@@ -205,7 +220,6 @@ export * from './update-subscription-charge';
|
|
|
205
220
|
export * from './update-task-instance';
|
|
206
221
|
export * from './update-user-properties';
|
|
207
222
|
export * from './update-workflow-instance-description';
|
|
208
|
-
export * from './upload-document';
|
|
209
223
|
export * from './uploaded-document';
|
|
210
224
|
export * from './user';
|
|
211
225
|
export * from './user-id';
|
|
@@ -0,0 +1,126 @@
|
|
|
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 JournalEntryEntries
|
|
20
|
+
*/
|
|
21
|
+
export interface JournalEntryEntries {
|
|
22
|
+
/**
|
|
23
|
+
* Journal Entry Line Number
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof JournalEntryEntries
|
|
26
|
+
*/
|
|
27
|
+
lineNo: string;
|
|
28
|
+
/**
|
|
29
|
+
* GL Account number
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof JournalEntryEntries
|
|
32
|
+
*/
|
|
33
|
+
account: string;
|
|
34
|
+
/**
|
|
35
|
+
* Debit Account id associated with this Journal Entry
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof JournalEntryEntries
|
|
38
|
+
*/
|
|
39
|
+
debit: string;
|
|
40
|
+
/**
|
|
41
|
+
* Credit Account id associated with this Journal Entry
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof JournalEntryEntries
|
|
44
|
+
*/
|
|
45
|
+
credit: string;
|
|
46
|
+
/**
|
|
47
|
+
* Journal Entry description
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof JournalEntryEntries
|
|
50
|
+
*/
|
|
51
|
+
description?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Customer ID associated with journal entry
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof JournalEntryEntries
|
|
56
|
+
*/
|
|
57
|
+
customerId: string;
|
|
58
|
+
/**
|
|
59
|
+
* Customer name
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof JournalEntryEntries
|
|
62
|
+
*/
|
|
63
|
+
customerName?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Custom fields on the invoice
|
|
66
|
+
* @type {object}
|
|
67
|
+
* @memberof JournalEntryEntries
|
|
68
|
+
*/
|
|
69
|
+
customFields?: object;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the JournalEntryEntries interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfJournalEntryEntries(value: object): value is JournalEntryEntries {
|
|
76
|
+
if (!('lineNo' in value) || value['lineNo'] === undefined) return false;
|
|
77
|
+
if (!('account' in value) || value['account'] === undefined) return false;
|
|
78
|
+
if (!('debit' in value) || value['debit'] === undefined) return false;
|
|
79
|
+
if (!('credit' in value) || value['credit'] === undefined) return false;
|
|
80
|
+
if (!('customerId' in value) || value['customerId'] === undefined) return false;
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function JournalEntryEntriesFromJSON(json: any): JournalEntryEntries {
|
|
85
|
+
return JournalEntryEntriesFromJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function JournalEntryEntriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryEntries {
|
|
89
|
+
if (json == null) {
|
|
90
|
+
return json;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'lineNo': json['lineNo'],
|
|
95
|
+
'account': json['account'],
|
|
96
|
+
'debit': json['debit'],
|
|
97
|
+
'credit': json['credit'],
|
|
98
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
99
|
+
'customerId': json['customerId'],
|
|
100
|
+
'customerName': json['customerName'] == null ? undefined : json['customerName'],
|
|
101
|
+
'customFields': json['customFields'] == null ? undefined : json['customFields'],
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function JournalEntryEntriesToJSON(json: any): JournalEntryEntries {
|
|
106
|
+
return JournalEntryEntriesToJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function JournalEntryEntriesToJSONTyped(value?: JournalEntryEntries | null, ignoreDiscriminator: boolean = false): any {
|
|
110
|
+
if (value == null) {
|
|
111
|
+
return value;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return {
|
|
115
|
+
|
|
116
|
+
'lineNo': value['lineNo'],
|
|
117
|
+
'account': value['account'],
|
|
118
|
+
'debit': value['debit'],
|
|
119
|
+
'credit': value['credit'],
|
|
120
|
+
'description': value['description'],
|
|
121
|
+
'customerId': value['customerId'],
|
|
122
|
+
'customerName': value['customerName'],
|
|
123
|
+
'customFields': value['customFields'],
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|