@managespace/sdk 0.1.160-reports → 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/extensibility/functions/project/billing.d.ts +0 -5
- package/dist/extensibility/functions/project/billing.d.ts.map +1 -1
- package/dist/extensibility/functions/project/billing.js +0 -5
- package/dist/generated/apis/default-api.d.ts +1 -20
- package/dist/generated/apis/default-api.d.ts.map +1 -1
- package/dist/generated/apis/default-api.js +0 -62
- package/dist/generated/models/create-site-custom.d.ts +0 -12
- package/dist/generated/models/create-site-custom.d.ts.map +1 -1
- package/dist/generated/models/create-site-custom.js +0 -4
- package/dist/generated/models/index.d.ts +0 -4
- package/dist/generated/models/index.d.ts.map +1 -1
- package/dist/generated/models/index.js +0 -4
- 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/dist/generated/models/site.d.ts +0 -12
- package/dist/generated/models/site.d.ts.map +1 -1
- package/dist/generated/models/site.js +0 -8
- package/package.deploy.json +4 -8
- package/package.json +4 -8
- package/src/extensibility/functions/project/billing.ts +0 -7
- package/src/generated/.openapi-generator/FILES +0 -4
- package/src/generated/apis/default-api.ts +0 -96
- package/src/generated/models/create-site-custom.ts +0 -16
- package/src/generated/models/index.ts +0 -4
- package/src/generated/models/send-email.ts +8 -0
- package/src/generated/models/site.ts +0 -18
- package/dist/generated/models/accrual-report-filters.d.ts +0 -39
- package/dist/generated/models/accrual-report-filters.d.ts.map +0 -1
- package/dist/generated/models/accrual-report-filters.js +0 -55
- package/dist/generated/models/get-journal-entries200-response.d.ts +0 -41
- package/dist/generated/models/get-journal-entries200-response.d.ts.map +0 -1
- package/dist/generated/models/get-journal-entries200-response.js +0 -55
- package/dist/generated/models/journal-entry-entries.d.ts +0 -63
- package/dist/generated/models/journal-entry-entries.d.ts.map +0 -1
- package/dist/generated/models/journal-entry-entries.js +0 -71
- package/dist/generated/models/journal-entry.d.ts +0 -106
- package/dist/generated/models/journal-entry.d.ts.map +0 -1
- package/dist/generated/models/journal-entry.js +0 -100
- package/src/generated/models/accrual-report-filters.ts +0 -76
- package/src/generated/models/get-journal-entries200-response.ts +0 -90
- package/src/generated/models/journal-entry-entries.ts +0 -112
- package/src/generated/models/journal-entry.ts +0 -183
|
@@ -1,112 +0,0 @@
|
|
|
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 JournalEntryEntries
|
|
21
|
-
*/
|
|
22
|
-
export interface JournalEntryEntries {
|
|
23
|
-
/**
|
|
24
|
-
* Journal Entry Line Number
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof JournalEntryEntries
|
|
27
|
-
*/
|
|
28
|
-
lineNo: string;
|
|
29
|
-
/**
|
|
30
|
-
* Account number
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof JournalEntryEntries
|
|
33
|
-
*/
|
|
34
|
-
account: string;
|
|
35
|
-
/**
|
|
36
|
-
* Debit Account id associated with this Journal Entry
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof JournalEntryEntries
|
|
39
|
-
*/
|
|
40
|
-
debit: string;
|
|
41
|
-
/**
|
|
42
|
-
* Credit Account id associated with this Journal Entry
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof JournalEntryEntries
|
|
45
|
-
*/
|
|
46
|
-
credit: string;
|
|
47
|
-
/**
|
|
48
|
-
* Journal Entry description
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof JournalEntryEntries
|
|
51
|
-
*/
|
|
52
|
-
description: string;
|
|
53
|
-
/**
|
|
54
|
-
* Customer ID associated with journal entry
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof JournalEntryEntries
|
|
57
|
-
*/
|
|
58
|
-
customerId: string;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Check if a given object implements the JournalEntryEntries interface.
|
|
63
|
-
*/
|
|
64
|
-
export function instanceOfJournalEntryEntries(value: object): value is JournalEntryEntries {
|
|
65
|
-
if (!('lineNo' in value) || value['lineNo'] === undefined) return false;
|
|
66
|
-
if (!('account' in value) || value['account'] === undefined) return false;
|
|
67
|
-
if (!('debit' in value) || value['debit'] === undefined) return false;
|
|
68
|
-
if (!('credit' in value) || value['credit'] === undefined) return false;
|
|
69
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
70
|
-
if (!('customerId' in value) || value['customerId'] === undefined) return false;
|
|
71
|
-
return true;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
export function JournalEntryEntriesFromJSON(json: any): JournalEntryEntries {
|
|
75
|
-
return JournalEntryEntriesFromJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export function JournalEntryEntriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryEntries {
|
|
79
|
-
if (json == null) {
|
|
80
|
-
return json;
|
|
81
|
-
}
|
|
82
|
-
return {
|
|
83
|
-
|
|
84
|
-
'lineNo': json['lineNo'],
|
|
85
|
-
'account': json['account'],
|
|
86
|
-
'debit': json['debit'],
|
|
87
|
-
'credit': json['credit'],
|
|
88
|
-
'description': json['description'],
|
|
89
|
-
'customerId': json['customerId'],
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export function JournalEntryEntriesToJSON(json: any): JournalEntryEntries {
|
|
94
|
-
return JournalEntryEntriesToJSONTyped(json, false);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
export function JournalEntryEntriesToJSONTyped(value?: JournalEntryEntries | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
-
if (value == null) {
|
|
99
|
-
return value;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
return {
|
|
103
|
-
|
|
104
|
-
'lineNo': value['lineNo'],
|
|
105
|
-
'account': value['account'],
|
|
106
|
-
'debit': value['debit'],
|
|
107
|
-
'credit': value['credit'],
|
|
108
|
-
'description': value['description'],
|
|
109
|
-
'customerId': value['customerId'],
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
|
|
@@ -1,183 +0,0 @@
|
|
|
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
|
-
import type { JournalEntryEntries } from './journal-entry-entries';
|
|
18
|
-
import {
|
|
19
|
-
JournalEntryEntriesFromJSON,
|
|
20
|
-
JournalEntryEntriesFromJSONTyped,
|
|
21
|
-
JournalEntryEntriesToJSON,
|
|
22
|
-
JournalEntryEntriesToJSONTyped,
|
|
23
|
-
} from './journal-entry-entries';
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface JournalEntry
|
|
29
|
-
*/
|
|
30
|
-
export interface JournalEntry {
|
|
31
|
-
/**
|
|
32
|
-
* Journal Entry ID
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof JournalEntry
|
|
35
|
-
*/
|
|
36
|
-
id: string;
|
|
37
|
-
/**
|
|
38
|
-
* Journal Entry Date
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof JournalEntry
|
|
41
|
-
*/
|
|
42
|
-
date: string;
|
|
43
|
-
/**
|
|
44
|
-
* Customer ID associated with journal entry
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof JournalEntry
|
|
47
|
-
*/
|
|
48
|
-
customerId: string;
|
|
49
|
-
/**
|
|
50
|
-
* Customer name associated with journal entry
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof JournalEntry
|
|
53
|
-
*/
|
|
54
|
-
customerName: string;
|
|
55
|
-
/**
|
|
56
|
-
* Journal Entry description
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof JournalEntry
|
|
59
|
-
*/
|
|
60
|
-
description: string;
|
|
61
|
-
/**
|
|
62
|
-
* Journal entries
|
|
63
|
-
* @type {Array<JournalEntryEntries>}
|
|
64
|
-
* @memberof JournalEntry
|
|
65
|
-
*/
|
|
66
|
-
entries: Array<JournalEntryEntries>;
|
|
67
|
-
/**
|
|
68
|
-
* Custom fields on the invoice
|
|
69
|
-
* @type {object}
|
|
70
|
-
* @memberof JournalEntry
|
|
71
|
-
*/
|
|
72
|
-
customFields: object;
|
|
73
|
-
/**
|
|
74
|
-
* The date the journal entry was created
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof JournalEntry
|
|
77
|
-
*/
|
|
78
|
-
createdAt: string;
|
|
79
|
-
/**
|
|
80
|
-
* The date the journal entry was updated
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof JournalEntry
|
|
83
|
-
*/
|
|
84
|
-
updatedAt: string;
|
|
85
|
-
/**
|
|
86
|
-
* Who created the journal entry
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof JournalEntry
|
|
89
|
-
*/
|
|
90
|
-
createdBy: string;
|
|
91
|
-
/**
|
|
92
|
-
* Who updated the journal entry
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof JournalEntry
|
|
95
|
-
*/
|
|
96
|
-
updatedBy: string;
|
|
97
|
-
/**
|
|
98
|
-
* Currency code of the transaction
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof JournalEntry
|
|
101
|
-
*/
|
|
102
|
-
transactionCurrency: string;
|
|
103
|
-
/**
|
|
104
|
-
* Transaction Conversion Rate
|
|
105
|
-
* @type {number}
|
|
106
|
-
* @memberof JournalEntry
|
|
107
|
-
*/
|
|
108
|
-
transactionConversionRate: number;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/**
|
|
112
|
-
* Check if a given object implements the JournalEntry interface.
|
|
113
|
-
*/
|
|
114
|
-
export function instanceOfJournalEntry(value: object): value is JournalEntry {
|
|
115
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
116
|
-
if (!('date' in value) || value['date'] === undefined) return false;
|
|
117
|
-
if (!('customerId' in value) || value['customerId'] === undefined) return false;
|
|
118
|
-
if (!('customerName' in value) || value['customerName'] === undefined) return false;
|
|
119
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
120
|
-
if (!('entries' in value) || value['entries'] === undefined) return false;
|
|
121
|
-
if (!('customFields' in value) || value['customFields'] === undefined) return false;
|
|
122
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
123
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
|
|
124
|
-
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
|
|
125
|
-
if (!('updatedBy' in value) || value['updatedBy'] === undefined) return false;
|
|
126
|
-
if (!('transactionCurrency' in value) || value['transactionCurrency'] === undefined) return false;
|
|
127
|
-
if (!('transactionConversionRate' in value) || value['transactionConversionRate'] === undefined) return false;
|
|
128
|
-
return true;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export function JournalEntryFromJSON(json: any): JournalEntry {
|
|
132
|
-
return JournalEntryFromJSONTyped(json, false);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export function JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntry {
|
|
136
|
-
if (json == null) {
|
|
137
|
-
return json;
|
|
138
|
-
}
|
|
139
|
-
return {
|
|
140
|
-
|
|
141
|
-
'id': json['id'],
|
|
142
|
-
'date': json['date'],
|
|
143
|
-
'customerId': json['customerId'],
|
|
144
|
-
'customerName': json['customerName'],
|
|
145
|
-
'description': json['description'],
|
|
146
|
-
'entries': ((json['entries'] as Array<any>).map(JournalEntryEntriesFromJSON)),
|
|
147
|
-
'customFields': json['customFields'],
|
|
148
|
-
'createdAt': json['createdAt'],
|
|
149
|
-
'updatedAt': json['updatedAt'],
|
|
150
|
-
'createdBy': json['createdBy'],
|
|
151
|
-
'updatedBy': json['updatedBy'],
|
|
152
|
-
'transactionCurrency': json['transactionCurrency'],
|
|
153
|
-
'transactionConversionRate': json['transactionConversionRate'],
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
export function JournalEntryToJSON(json: any): JournalEntry {
|
|
158
|
-
return JournalEntryToJSONTyped(json, false);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export function JournalEntryToJSONTyped(value?: JournalEntry | null, ignoreDiscriminator: boolean = false): any {
|
|
162
|
-
if (value == null) {
|
|
163
|
-
return value;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
return {
|
|
167
|
-
|
|
168
|
-
'id': value['id'],
|
|
169
|
-
'date': value['date'],
|
|
170
|
-
'customerId': value['customerId'],
|
|
171
|
-
'customerName': value['customerName'],
|
|
172
|
-
'description': value['description'],
|
|
173
|
-
'entries': ((value['entries'] as Array<any>).map(JournalEntryEntriesToJSON)),
|
|
174
|
-
'customFields': value['customFields'],
|
|
175
|
-
'createdAt': value['createdAt'],
|
|
176
|
-
'updatedAt': value['updatedAt'],
|
|
177
|
-
'createdBy': value['createdBy'],
|
|
178
|
-
'updatedBy': value['updatedBy'],
|
|
179
|
-
'transactionCurrency': value['transactionCurrency'],
|
|
180
|
-
'transactionConversionRate': value['transactionConversionRate'],
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
|