@smartbooks-ai/api-client 0.0.5 → 0.0.7
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/package.json +15 -16
- package/src/.openapi-generator/FILES +0 -56
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/dist/esm/index.d.ts +0 -1
- package/src/dist/esm/index.js +0 -1
- package/src/dist/esm/src/apis/AiApi.d.ts +0 -289
- package/src/dist/esm/src/apis/AiApi.js +0 -452
- package/src/dist/esm/src/apis/AnalyticsApi.d.ts +0 -242
- package/src/dist/esm/src/apis/AnalyticsApi.js +0 -391
- package/src/dist/esm/src/apis/AsyncOperationsApi.d.ts +0 -48
- package/src/dist/esm/src/apis/AsyncOperationsApi.js +0 -53
- package/src/dist/esm/src/apis/BusinessModelModulesApi.d.ts +0 -182
- package/src/dist/esm/src/apis/BusinessModelModulesApi.js +0 -285
- package/src/dist/esm/src/apis/ColorPalettesApi.d.ts +0 -62
- package/src/dist/esm/src/apis/ColorPalettesApi.js +0 -78
- package/src/dist/esm/src/apis/CommentsApi.d.ts +0 -94
- package/src/dist/esm/src/apis/CommentsApi.js +0 -134
- package/src/dist/esm/src/apis/CompaniesApi.d.ts +0 -88
- package/src/dist/esm/src/apis/CompaniesApi.js +0 -118
- package/src/dist/esm/src/apis/CompanyManagementApi.d.ts +0 -90
- package/src/dist/esm/src/apis/CompanyManagementApi.js +0 -123
- package/src/dist/esm/src/apis/ConnectionParametersApi.d.ts +0 -98
- package/src/dist/esm/src/apis/ConnectionParametersApi.js +0 -151
- package/src/dist/esm/src/apis/ConnectionTypesApi.d.ts +0 -90
- package/src/dist/esm/src/apis/ConnectionTypesApi.js +0 -124
- package/src/dist/esm/src/apis/ConnectionsApi.d.ts +0 -156
- package/src/dist/esm/src/apis/ConnectionsApi.js +0 -236
- package/src/dist/esm/src/apis/ConnectionsAuthorizationApi.d.ts +0 -74
- package/src/dist/esm/src/apis/ConnectionsAuthorizationApi.js +0 -108
- package/src/dist/esm/src/apis/ConnectionsClientCredentialsApi.d.ts +0 -72
- package/src/dist/esm/src/apis/ConnectionsClientCredentialsApi.js +0 -100
- package/src/dist/esm/src/apis/ConsolidationApi.d.ts +0 -192
- package/src/dist/esm/src/apis/ConsolidationApi.js +0 -297
- package/src/dist/esm/src/apis/CostCenterApi.d.ts +0 -130
- package/src/dist/esm/src/apis/CostCenterApi.js +0 -188
- package/src/dist/esm/src/apis/DashboardsApi.d.ts +0 -306
- package/src/dist/esm/src/apis/DashboardsApi.js +0 -515
- package/src/dist/esm/src/apis/DataSynchronizationApi.d.ts +0 -92
- package/src/dist/esm/src/apis/DataSynchronizationApi.js +0 -127
- package/src/dist/esm/src/apis/ExplanationApi.d.ts +0 -110
- package/src/dist/esm/src/apis/ExplanationApi.js +0 -227
- package/src/dist/esm/src/apis/FormatsApi.d.ts +0 -46
- package/src/dist/esm/src/apis/FormatsApi.js +0 -48
- package/src/dist/esm/src/apis/FormulasApi.d.ts +0 -62
- package/src/dist/esm/src/apis/FormulasApi.js +0 -81
- package/src/dist/esm/src/apis/FuturesApi.d.ts +0 -136
- package/src/dist/esm/src/apis/FuturesApi.js +0 -204
- package/src/dist/esm/src/apis/IdentityLinkingApi.d.ts +0 -46
- package/src/dist/esm/src/apis/IdentityLinkingApi.js +0 -49
- package/src/dist/esm/src/apis/InputApi.d.ts +0 -55
- package/src/dist/esm/src/apis/InputApi.js +0 -57
- package/src/dist/esm/src/apis/IntercompanyMatchingApi.d.ts +0 -174
- package/src/dist/esm/src/apis/IntercompanyMatchingApi.js +0 -260
- package/src/dist/esm/src/apis/InvitationsApi.d.ts +0 -156
- package/src/dist/esm/src/apis/InvitationsApi.js +0 -235
- package/src/dist/esm/src/apis/MaintenanceApi.d.ts +0 -182
- package/src/dist/esm/src/apis/MaintenanceApi.js +0 -278
- package/src/dist/esm/src/apis/ManualInputApi.d.ts +0 -204
- package/src/dist/esm/src/apis/ManualInputApi.js +0 -328
- package/src/dist/esm/src/apis/ModulesApi.d.ts +0 -88
- package/src/dist/esm/src/apis/ModulesApi.js +0 -112
- package/src/dist/esm/src/apis/NodePurposesApi.d.ts +0 -68
- package/src/dist/esm/src/apis/NodePurposesApi.js +0 -86
- package/src/dist/esm/src/apis/ProfileApi.d.ts +0 -85
- package/src/dist/esm/src/apis/ProfileApi.js +0 -114
- package/src/dist/esm/src/apis/RelationsApi.d.ts +0 -46
- package/src/dist/esm/src/apis/RelationsApi.js +0 -48
- package/src/dist/esm/src/apis/ReportGroupsApi.d.ts +0 -72
- package/src/dist/esm/src/apis/ReportGroupsApi.js +0 -92
- package/src/dist/esm/src/apis/ReportingApi.d.ts +0 -267
- package/src/dist/esm/src/apis/ReportingApi.js +0 -379
- package/src/dist/esm/src/apis/ReportingPeriodsApi.d.ts +0 -46
- package/src/dist/esm/src/apis/ReportingPeriodsApi.js +0 -48
- package/src/dist/esm/src/apis/SourceAccountsApi.d.ts +0 -46
- package/src/dist/esm/src/apis/SourceAccountsApi.js +0 -48
- package/src/dist/esm/src/apis/StructureApi.d.ts +0 -134
- package/src/dist/esm/src/apis/StructureApi.js +0 -163
- package/src/dist/esm/src/apis/StructureDefinitionApi.d.ts +0 -164
- package/src/dist/esm/src/apis/StructureDefinitionApi.js +0 -259
- package/src/dist/esm/src/apis/StructureImprovementApi.d.ts +0 -70
- package/src/dist/esm/src/apis/StructureImprovementApi.js +0 -91
- package/src/dist/esm/src/apis/TemplatesApi.d.ts +0 -120
- package/src/dist/esm/src/apis/TemplatesApi.js +0 -178
- package/src/dist/esm/src/apis/TemplatesGenerationApi.d.ts +0 -66
- package/src/dist/esm/src/apis/TemplatesGenerationApi.js +0 -85
- package/src/dist/esm/src/apis/TenantIntercompanySettingsApi.d.ts +0 -90
- package/src/dist/esm/src/apis/TenantIntercompanySettingsApi.js +0 -123
- package/src/dist/esm/src/apis/TenantsApi.d.ts +0 -124
- package/src/dist/esm/src/apis/TenantsApi.js +0 -180
- package/src/dist/esm/src/apis/TransactionDetailsApi.d.ts +0 -50
- package/src/dist/esm/src/apis/TransactionDetailsApi.js +0 -57
- package/src/dist/esm/src/apis/UsersApi.d.ts +0 -114
- package/src/dist/esm/src/apis/UsersApi.js +0 -165
- package/src/dist/esm/src/apis/WebhooksApi.d.ts +0 -68
- package/src/dist/esm/src/apis/WebhooksApi.js +0 -86
- package/src/dist/esm/src/apis/WizardApi.d.ts +0 -74
- package/src/dist/esm/src/apis/WizardApi.js +0 -101
- package/src/dist/esm/src/apis/index.d.ts +0 -46
- package/src/dist/esm/src/apis/index.js +0 -48
- package/src/dist/esm/src/index.d.ts +0 -3
- package/src/dist/esm/src/index.js +0 -5
- package/src/dist/esm/src/models/index.d.ts +0 -15406
- package/src/dist/esm/src/models/index.js +0 -1279
- package/src/dist/esm/src/runtime.d.ts +0 -181
- package/src/dist/esm/src/runtime.js +0 -326
- package/src/index.ts +0 -1
- package/src/package.json +0 -24
- package/src/src/apis/AiApi.ts +0 -1043
- package/src/src/apis/AnalyticsApi.ts +0 -925
- package/src/src/apis/AsyncOperationsApi.ts +0 -112
- package/src/src/apis/BusinessModelModulesApi.ts +0 -649
- package/src/src/apis/ColorPalettesApi.ts +0 -148
- package/src/src/apis/CommentsApi.ts +0 -308
- package/src/src/apis/CompaniesApi.ts +0 -260
- package/src/src/apis/CompanyManagementApi.ts +0 -270
- package/src/src/apis/ConnectionParametersApi.ts +0 -339
- package/src/src/apis/ConnectionTypesApi.ts +0 -280
- package/src/src/apis/ConnectionsApi.ts +0 -533
- package/src/src/apis/ConnectionsAuthorizationApi.ts +0 -241
- package/src/src/apis/ConnectionsClientCredentialsApi.ts +0 -224
- package/src/src/apis/ConsolidationApi.ts +0 -682
- package/src/src/apis/CostCenterApi.ts +0 -428
- package/src/src/apis/DashboardsApi.ts +0 -1179
- package/src/src/apis/DataSynchronizationApi.ts +0 -288
- package/src/src/apis/ExplanationApi.ts +0 -504
- package/src/src/apis/FormatsApi.ts +0 -96
- package/src/src/apis/FormulasApi.ts +0 -154
- package/src/src/apis/FuturesApi.ts +0 -463
- package/src/src/apis/IdentityLinkingApi.ts +0 -101
- package/src/src/apis/InputApi.ts +0 -126
- package/src/src/apis/IntercompanyMatchingApi.ts +0 -588
- package/src/src/apis/InvitationsApi.ts +0 -523
- package/src/src/apis/MaintenanceApi.ts +0 -597
- package/src/src/apis/ManualInputApi.ts +0 -771
- package/src/src/apis/ModulesApi.ts +0 -246
- package/src/src/apis/NodePurposesApi.ts +0 -184
- package/src/src/apis/ProfileApi.ts +0 -203
- package/src/src/apis/RelationsApi.ts +0 -99
- package/src/src/apis/ReportGroupsApi.ts +0 -205
- package/src/src/apis/ReportingApi.ts +0 -851
- package/src/src/apis/ReportingPeriodsApi.ts +0 -99
- package/src/src/apis/SourceAccountsApi.ts +0 -102
- package/src/src/apis/StructureApi.ts +0 -334
- package/src/src/apis/StructureDefinitionApi.ts +0 -601
- package/src/src/apis/StructureImprovementApi.ts +0 -214
- package/src/src/apis/TemplatesApi.ts +0 -334
- package/src/src/apis/TemplatesGenerationApi.ts +0 -187
- package/src/src/apis/TenantIntercompanySettingsApi.ts +0 -286
- package/src/src/apis/TenantsApi.ts +0 -374
- package/src/src/apis/TransactionDetailsApi.ts +0 -127
- package/src/src/apis/UsersApi.ts +0 -356
- package/src/src/apis/WebhooksApi.ts +0 -193
- package/src/src/apis/WizardApi.ts +0 -230
- package/src/src/apis/index.ts +0 -48
- package/src/src/index.ts +0 -5
- package/src/src/models/index.ts +0 -15625
- package/src/src/runtime.ts +0 -469
- package/src/tsconfig.esm.json +0 -7
- package/src/tsconfig.json +0 -11
- package/tsconfig.json +0 -11
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import * as runtime from '../runtime';
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export class ManualInputApi extends runtime.BaseAPI {
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
actualsRaw(requestParameters, initOverrides) {
|
|
18
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
if (requestParameters['companyCode'] == null) {
|
|
20
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling actuals().');
|
|
21
|
-
}
|
|
22
|
-
if (requestParameters['manualInputActualRequest'] == null) {
|
|
23
|
-
throw new runtime.RequiredError('manualInputActualRequest', 'Required parameter "manualInputActualRequest" was null or undefined when calling actuals().');
|
|
24
|
-
}
|
|
25
|
-
const queryParameters = {};
|
|
26
|
-
const headerParameters = {};
|
|
27
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
28
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
29
|
-
const token = this.configuration.accessToken;
|
|
30
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
31
|
-
if (tokenString) {
|
|
32
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
const response = yield this.request({
|
|
36
|
-
path: `/api/v1/c/{company_code}/manual-input/actuals`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
37
|
-
method: 'POST',
|
|
38
|
-
headers: headerParameters,
|
|
39
|
-
query: queryParameters,
|
|
40
|
-
body: requestParameters['manualInputActualRequest'],
|
|
41
|
-
}, initOverrides);
|
|
42
|
-
return new runtime.JSONApiResponse(response);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
|
-
actuals(companyCode, manualInputActualRequest, initOverrides) {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
const response = yield this.actualsRaw({ companyCode: companyCode, manualInputActualRequest: manualInputActualRequest }, initOverrides);
|
|
50
|
-
return yield response.value();
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
*/
|
|
55
|
-
applyDraftRaw(requestParameters, initOverrides) {
|
|
56
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
-
if (requestParameters['companyCode'] == null) {
|
|
58
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling applyDraft().');
|
|
59
|
-
}
|
|
60
|
-
if (requestParameters['manualInputDraft'] == null) {
|
|
61
|
-
throw new runtime.RequiredError('manualInputDraft', 'Required parameter "manualInputDraft" was null or undefined when calling applyDraft().');
|
|
62
|
-
}
|
|
63
|
-
const queryParameters = {};
|
|
64
|
-
const headerParameters = {};
|
|
65
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
66
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
67
|
-
const token = this.configuration.accessToken;
|
|
68
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
69
|
-
if (tokenString) {
|
|
70
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
const response = yield this.request({
|
|
74
|
-
path: `/api/v1/c/{company_code}/manual-input/drafts/apply`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
75
|
-
method: 'POST',
|
|
76
|
-
headers: headerParameters,
|
|
77
|
-
query: queryParameters,
|
|
78
|
-
body: requestParameters['manualInputDraft'],
|
|
79
|
-
}, initOverrides);
|
|
80
|
-
return new runtime.JSONApiResponse(response);
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
*/
|
|
85
|
-
applyDraft(companyCode, manualInputDraft, initOverrides) {
|
|
86
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
-
const response = yield this.applyDraftRaw({ companyCode: companyCode, manualInputDraft: manualInputDraft }, initOverrides);
|
|
88
|
-
return yield response.value();
|
|
89
|
-
});
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
*/
|
|
93
|
-
getConfigurationRaw(requestParameters, initOverrides) {
|
|
94
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
-
if (requestParameters['companyCode'] == null) {
|
|
96
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getConfiguration().');
|
|
97
|
-
}
|
|
98
|
-
const queryParameters = {};
|
|
99
|
-
const headerParameters = {};
|
|
100
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
101
|
-
const token = this.configuration.accessToken;
|
|
102
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
103
|
-
if (tokenString) {
|
|
104
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
const response = yield this.request({
|
|
108
|
-
path: `/api/v1/c/{company_code}/manual-input/configuration`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
109
|
-
method: 'GET',
|
|
110
|
-
headers: headerParameters,
|
|
111
|
-
query: queryParameters,
|
|
112
|
-
}, initOverrides);
|
|
113
|
-
return new runtime.JSONApiResponse(response);
|
|
114
|
-
});
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
*/
|
|
118
|
-
getConfiguration(companyCode, initOverrides) {
|
|
119
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
-
const response = yield this.getConfigurationRaw({ companyCode: companyCode }, initOverrides);
|
|
121
|
-
return yield response.value();
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
*/
|
|
126
|
-
getEntriesRaw(requestParameters, initOverrides) {
|
|
127
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
128
|
-
if (requestParameters['companyCode'] == null) {
|
|
129
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getEntries().');
|
|
130
|
-
}
|
|
131
|
-
if (requestParameters['structureCode'] == null) {
|
|
132
|
-
throw new runtime.RequiredError('structureCode', 'Required parameter "structureCode" was null or undefined when calling getEntries().');
|
|
133
|
-
}
|
|
134
|
-
if (requestParameters['category'] == null) {
|
|
135
|
-
throw new runtime.RequiredError('category', 'Required parameter "category" was null or undefined when calling getEntries().');
|
|
136
|
-
}
|
|
137
|
-
const queryParameters = {};
|
|
138
|
-
if (requestParameters['structureCode'] != null) {
|
|
139
|
-
queryParameters['structureCode'] = requestParameters['structureCode'];
|
|
140
|
-
}
|
|
141
|
-
if (requestParameters['category'] != null) {
|
|
142
|
-
queryParameters['category'] = requestParameters['category'];
|
|
143
|
-
}
|
|
144
|
-
const headerParameters = {};
|
|
145
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
146
|
-
const token = this.configuration.accessToken;
|
|
147
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
148
|
-
if (tokenString) {
|
|
149
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
const response = yield this.request({
|
|
153
|
-
path: `/api/v1/c/{company_code}/manual-input/entries`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
154
|
-
method: 'GET',
|
|
155
|
-
headers: headerParameters,
|
|
156
|
-
query: queryParameters,
|
|
157
|
-
}, initOverrides);
|
|
158
|
-
return new runtime.JSONApiResponse(response);
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
*/
|
|
163
|
-
getEntries(companyCode, structureCode, category, initOverrides) {
|
|
164
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
165
|
-
const response = yield this.getEntriesRaw({ companyCode: companyCode, structureCode: structureCode, category: category }, initOverrides);
|
|
166
|
-
return yield response.value();
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
*/
|
|
171
|
-
getEntriesForCostcenterRaw(requestParameters, initOverrides) {
|
|
172
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
173
|
-
if (requestParameters['companyCode'] == null) {
|
|
174
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getEntriesForCostcenter().');
|
|
175
|
-
}
|
|
176
|
-
if (requestParameters['costCenter'] == null) {
|
|
177
|
-
throw new runtime.RequiredError('costCenter', 'Required parameter "costCenter" was null or undefined when calling getEntriesForCostcenter().');
|
|
178
|
-
}
|
|
179
|
-
if (requestParameters['structureCode'] == null) {
|
|
180
|
-
throw new runtime.RequiredError('structureCode', 'Required parameter "structureCode" was null or undefined when calling getEntriesForCostcenter().');
|
|
181
|
-
}
|
|
182
|
-
if (requestParameters['category'] == null) {
|
|
183
|
-
throw new runtime.RequiredError('category', 'Required parameter "category" was null or undefined when calling getEntriesForCostcenter().');
|
|
184
|
-
}
|
|
185
|
-
const queryParameters = {};
|
|
186
|
-
if (requestParameters['structureCode'] != null) {
|
|
187
|
-
queryParameters['structureCode'] = requestParameters['structureCode'];
|
|
188
|
-
}
|
|
189
|
-
if (requestParameters['category'] != null) {
|
|
190
|
-
queryParameters['category'] = requestParameters['category'];
|
|
191
|
-
}
|
|
192
|
-
const headerParameters = {};
|
|
193
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
194
|
-
const token = this.configuration.accessToken;
|
|
195
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
196
|
-
if (tokenString) {
|
|
197
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
const response = yield this.request({
|
|
201
|
-
path: `/api/v1/c/{company_code}/manual-input/cost-center/{cost_center}/entries`
|
|
202
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
203
|
-
.replace(`{${'cost_center'}}`, encodeURIComponent(String(requestParameters['costCenter']))),
|
|
204
|
-
method: 'GET',
|
|
205
|
-
headers: headerParameters,
|
|
206
|
-
query: queryParameters,
|
|
207
|
-
}, initOverrides);
|
|
208
|
-
return new runtime.JSONApiResponse(response);
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
*/
|
|
213
|
-
getEntriesForCostcenter(companyCode, costCenter, structureCode, category, initOverrides) {
|
|
214
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
-
const response = yield this.getEntriesForCostcenterRaw({ companyCode: companyCode, costCenter: costCenter, structureCode: structureCode, category: category }, initOverrides);
|
|
216
|
-
return yield response.value();
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
|
-
/**
|
|
220
|
-
*/
|
|
221
|
-
getRowsRaw(requestParameters, initOverrides) {
|
|
222
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
-
if (requestParameters['companyCode'] == null) {
|
|
224
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getRows().');
|
|
225
|
-
}
|
|
226
|
-
const queryParameters = {};
|
|
227
|
-
const headerParameters = {};
|
|
228
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
229
|
-
const token = this.configuration.accessToken;
|
|
230
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
231
|
-
if (tokenString) {
|
|
232
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
const response = yield this.request({
|
|
236
|
-
path: `/api/v1/c/{company_code}/manual-input/rows`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
237
|
-
method: 'GET',
|
|
238
|
-
headers: headerParameters,
|
|
239
|
-
query: queryParameters,
|
|
240
|
-
}, initOverrides);
|
|
241
|
-
return new runtime.JSONApiResponse(response);
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
*/
|
|
246
|
-
getRows(companyCode, initOverrides) {
|
|
247
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
248
|
-
const response = yield this.getRowsRaw({ companyCode: companyCode }, initOverrides);
|
|
249
|
-
return yield response.value();
|
|
250
|
-
});
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
*/
|
|
254
|
-
previewRaw(requestParameters, initOverrides) {
|
|
255
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
-
if (requestParameters['companyCode'] == null) {
|
|
257
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling preview().');
|
|
258
|
-
}
|
|
259
|
-
if (requestParameters['manualInputPreviewRequest'] == null) {
|
|
260
|
-
throw new runtime.RequiredError('manualInputPreviewRequest', 'Required parameter "manualInputPreviewRequest" was null or undefined when calling preview().');
|
|
261
|
-
}
|
|
262
|
-
const queryParameters = {};
|
|
263
|
-
const headerParameters = {};
|
|
264
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
265
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
266
|
-
const token = this.configuration.accessToken;
|
|
267
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
268
|
-
if (tokenString) {
|
|
269
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
const response = yield this.request({
|
|
273
|
-
path: `/api/v1/c/{company_code}/manual-input/preview`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
274
|
-
method: 'POST',
|
|
275
|
-
headers: headerParameters,
|
|
276
|
-
query: queryParameters,
|
|
277
|
-
body: requestParameters['manualInputPreviewRequest'],
|
|
278
|
-
}, initOverrides);
|
|
279
|
-
return new runtime.JSONApiResponse(response);
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
*/
|
|
284
|
-
preview(companyCode, manualInputPreviewRequest, initOverrides) {
|
|
285
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
286
|
-
const response = yield this.previewRaw({ companyCode: companyCode, manualInputPreviewRequest: manualInputPreviewRequest }, initOverrides);
|
|
287
|
-
return yield response.value();
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
*/
|
|
292
|
-
putRowsRaw(requestParameters, initOverrides) {
|
|
293
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
294
|
-
if (requestParameters['companyCode'] == null) {
|
|
295
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling putRows().');
|
|
296
|
-
}
|
|
297
|
-
if (requestParameters['manualInputRowSet'] == null) {
|
|
298
|
-
throw new runtime.RequiredError('manualInputRowSet', 'Required parameter "manualInputRowSet" was null or undefined when calling putRows().');
|
|
299
|
-
}
|
|
300
|
-
const queryParameters = {};
|
|
301
|
-
const headerParameters = {};
|
|
302
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
303
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
304
|
-
const token = this.configuration.accessToken;
|
|
305
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
306
|
-
if (tokenString) {
|
|
307
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
const response = yield this.request({
|
|
311
|
-
path: `/api/v1/c/{company_code}/manual-input/rows`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
312
|
-
method: 'PUT',
|
|
313
|
-
headers: headerParameters,
|
|
314
|
-
query: queryParameters,
|
|
315
|
-
body: requestParameters['manualInputRowSet'],
|
|
316
|
-
}, initOverrides);
|
|
317
|
-
return new runtime.JSONApiResponse(response);
|
|
318
|
-
});
|
|
319
|
-
}
|
|
320
|
-
/**
|
|
321
|
-
*/
|
|
322
|
-
putRows(companyCode, manualInputRowSet, initOverrides) {
|
|
323
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
324
|
-
const response = yield this.putRowsRaw({ companyCode: companyCode, manualInputRowSet: manualInputRowSet }, initOverrides);
|
|
325
|
-
return yield response.value();
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Smartbooks Restful API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ModuleInfoResponse, ModuleSubaccountsTableAccount } from '../models/index';
|
|
13
|
-
import * as runtime from '../runtime';
|
|
14
|
-
export interface ModulesApiGetItemPublicRequest {
|
|
15
|
-
companyCode: string;
|
|
16
|
-
moduleCode: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ModulesApiPostAccountRequest {
|
|
19
|
-
companyCode: string;
|
|
20
|
-
moduleCode: string;
|
|
21
|
-
subaccountsTableCode: string;
|
|
22
|
-
moduleSubaccountsTableAccount: ModuleSubaccountsTableAccount;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* ModulesApi - interface
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface ModulesApiInterface
|
|
29
|
-
*/
|
|
30
|
-
export interface ModulesApiInterface {
|
|
31
|
-
/**
|
|
32
|
-
* Get a module by code
|
|
33
|
-
* @summary Get module
|
|
34
|
-
* @param {string} companyCode
|
|
35
|
-
* @param {string} moduleCode
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @throws {RequiredError}
|
|
38
|
-
* @memberof ModulesApiInterface
|
|
39
|
-
*/
|
|
40
|
-
getItemPublicRaw(requestParameters: ModulesApiGetItemPublicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ModuleInfoResponse>>;
|
|
41
|
-
/**
|
|
42
|
-
* Get a module by code
|
|
43
|
-
* Get module
|
|
44
|
-
*/
|
|
45
|
-
getItemPublic(companyCode: string, moduleCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ModuleInfoResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* Add an account to a subaccounts table of a module
|
|
48
|
-
* @summary Add account
|
|
49
|
-
* @param {string} companyCode
|
|
50
|
-
* @param {string} moduleCode
|
|
51
|
-
* @param {string} subaccountsTableCode
|
|
52
|
-
* @param {ModuleSubaccountsTableAccount} moduleSubaccountsTableAccount
|
|
53
|
-
* @param {*} [options] Override http request option.
|
|
54
|
-
* @throws {RequiredError}
|
|
55
|
-
* @memberof ModulesApiInterface
|
|
56
|
-
*/
|
|
57
|
-
postAccountRaw(requestParameters: ModulesApiPostAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
58
|
-
/**
|
|
59
|
-
* Add an account to a subaccounts table of a module
|
|
60
|
-
* Add account
|
|
61
|
-
*/
|
|
62
|
-
postAccount(companyCode: string, moduleCode: string, subaccountsTableCode: string, moduleSubaccountsTableAccount: ModuleSubaccountsTableAccount, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
*/
|
|
67
|
-
export declare class ModulesApi extends runtime.BaseAPI implements ModulesApiInterface {
|
|
68
|
-
/**
|
|
69
|
-
* Get a module by code
|
|
70
|
-
* Get module
|
|
71
|
-
*/
|
|
72
|
-
getItemPublicRaw(requestParameters: ModulesApiGetItemPublicRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ModuleInfoResponse>>;
|
|
73
|
-
/**
|
|
74
|
-
* Get a module by code
|
|
75
|
-
* Get module
|
|
76
|
-
*/
|
|
77
|
-
getItemPublic(companyCode: string, moduleCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ModuleInfoResponse>;
|
|
78
|
-
/**
|
|
79
|
-
* Add an account to a subaccounts table of a module
|
|
80
|
-
* Add account
|
|
81
|
-
*/
|
|
82
|
-
postAccountRaw(requestParameters: ModulesApiPostAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
83
|
-
/**
|
|
84
|
-
* Add an account to a subaccounts table of a module
|
|
85
|
-
* Add account
|
|
86
|
-
*/
|
|
87
|
-
postAccount(companyCode: string, moduleCode: string, subaccountsTableCode: string, moduleSubaccountsTableAccount: ModuleSubaccountsTableAccount, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
88
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import * as runtime from '../runtime';
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export class ModulesApi extends runtime.BaseAPI {
|
|
15
|
-
/**
|
|
16
|
-
* Get a module by code
|
|
17
|
-
* Get module
|
|
18
|
-
*/
|
|
19
|
-
getItemPublicRaw(requestParameters, initOverrides) {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
if (requestParameters['companyCode'] == null) {
|
|
22
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getItemPublic().');
|
|
23
|
-
}
|
|
24
|
-
if (requestParameters['moduleCode'] == null) {
|
|
25
|
-
throw new runtime.RequiredError('moduleCode', 'Required parameter "moduleCode" was null or undefined when calling getItemPublic().');
|
|
26
|
-
}
|
|
27
|
-
const queryParameters = {};
|
|
28
|
-
const headerParameters = {};
|
|
29
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
30
|
-
const token = this.configuration.accessToken;
|
|
31
|
-
const tokenString = yield token('bearerToken', ['modeling:read']);
|
|
32
|
-
if (tokenString) {
|
|
33
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
const response = yield this.request({
|
|
37
|
-
path: `/api/v1/c/{company_code}/modules/{moduleCode}`
|
|
38
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
39
|
-
.replace(`{${'moduleCode'}}`, encodeURIComponent(String(requestParameters['moduleCode']))),
|
|
40
|
-
method: 'GET',
|
|
41
|
-
headers: headerParameters,
|
|
42
|
-
query: queryParameters,
|
|
43
|
-
}, initOverrides);
|
|
44
|
-
return new runtime.JSONApiResponse(response);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Get a module by code
|
|
49
|
-
* Get module
|
|
50
|
-
*/
|
|
51
|
-
getItemPublic(companyCode, moduleCode, initOverrides) {
|
|
52
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
const response = yield this.getItemPublicRaw({ companyCode: companyCode, moduleCode: moduleCode }, initOverrides);
|
|
54
|
-
return yield response.value();
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Add an account to a subaccounts table of a module
|
|
59
|
-
* Add account
|
|
60
|
-
*/
|
|
61
|
-
postAccountRaw(requestParameters, initOverrides) {
|
|
62
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
-
if (requestParameters['companyCode'] == null) {
|
|
64
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling postAccount().');
|
|
65
|
-
}
|
|
66
|
-
if (requestParameters['moduleCode'] == null) {
|
|
67
|
-
throw new runtime.RequiredError('moduleCode', 'Required parameter "moduleCode" was null or undefined when calling postAccount().');
|
|
68
|
-
}
|
|
69
|
-
if (requestParameters['subaccountsTableCode'] == null) {
|
|
70
|
-
throw new runtime.RequiredError('subaccountsTableCode', 'Required parameter "subaccountsTableCode" was null or undefined when calling postAccount().');
|
|
71
|
-
}
|
|
72
|
-
if (requestParameters['moduleSubaccountsTableAccount'] == null) {
|
|
73
|
-
throw new runtime.RequiredError('moduleSubaccountsTableAccount', 'Required parameter "moduleSubaccountsTableAccount" was null or undefined when calling postAccount().');
|
|
74
|
-
}
|
|
75
|
-
const queryParameters = {};
|
|
76
|
-
const headerParameters = {};
|
|
77
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
78
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
79
|
-
const token = this.configuration.accessToken;
|
|
80
|
-
const tokenString = yield token('bearerToken', ['modeling:write']);
|
|
81
|
-
if (tokenString) {
|
|
82
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
const response = yield this.request({
|
|
86
|
-
path: `/api/v1/c/{company_code}/modules/{moduleCode}/subaccountstables/{subaccountsTableCode}/accounts`
|
|
87
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
88
|
-
.replace(`{${'moduleCode'}}`, encodeURIComponent(String(requestParameters['moduleCode'])))
|
|
89
|
-
.replace(`{${'subaccountsTableCode'}}`, encodeURIComponent(String(requestParameters['subaccountsTableCode']))),
|
|
90
|
-
method: 'POST',
|
|
91
|
-
headers: headerParameters,
|
|
92
|
-
query: queryParameters,
|
|
93
|
-
body: requestParameters['moduleSubaccountsTableAccount'],
|
|
94
|
-
}, initOverrides);
|
|
95
|
-
return new runtime.VoidApiResponse(response);
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Add an account to a subaccounts table of a module
|
|
100
|
-
* Add account
|
|
101
|
-
*/
|
|
102
|
-
postAccount(companyCode, moduleCode, subaccountsTableCode, moduleSubaccountsTableAccount, initOverrides) {
|
|
103
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
-
yield this.postAccountRaw({
|
|
105
|
-
companyCode: companyCode,
|
|
106
|
-
moduleCode: moduleCode,
|
|
107
|
-
subaccountsTableCode: subaccountsTableCode,
|
|
108
|
-
moduleSubaccountsTableAccount: moduleSubaccountsTableAccount,
|
|
109
|
-
}, initOverrides);
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Smartbooks Restful API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.0.1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { NodePurposes } from '../models/index';
|
|
13
|
-
import * as runtime from '../runtime';
|
|
14
|
-
export interface NodePurposesApiGetRequest {
|
|
15
|
-
companyCode: string;
|
|
16
|
-
}
|
|
17
|
-
export interface NodePurposesApiPostRequest {
|
|
18
|
-
companyCode: string;
|
|
19
|
-
nodePurposes: NodePurposes;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* NodePurposesApi - interface
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
* @interface NodePurposesApiInterface
|
|
26
|
-
*/
|
|
27
|
-
export interface NodePurposesApiInterface {
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @param {string} companyCode
|
|
31
|
-
* @param {*} [options] Override http request option.
|
|
32
|
-
* @throws {RequiredError}
|
|
33
|
-
* @memberof NodePurposesApiInterface
|
|
34
|
-
*/
|
|
35
|
-
getRaw(requestParameters: NodePurposesApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodePurposes>>;
|
|
36
|
-
/**
|
|
37
|
-
*/
|
|
38
|
-
get(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodePurposes>;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @param {string} companyCode
|
|
42
|
-
* @param {NodePurposes} nodePurposes
|
|
43
|
-
* @param {*} [options] Override http request option.
|
|
44
|
-
* @throws {RequiredError}
|
|
45
|
-
* @memberof NodePurposesApiInterface
|
|
46
|
-
*/
|
|
47
|
-
postRaw(requestParameters: NodePurposesApiPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodePurposes>>;
|
|
48
|
-
/**
|
|
49
|
-
*/
|
|
50
|
-
post(companyCode: string, nodePurposes: NodePurposes, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodePurposes>;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export declare class NodePurposesApi extends runtime.BaseAPI implements NodePurposesApiInterface {
|
|
56
|
-
/**
|
|
57
|
-
*/
|
|
58
|
-
getRaw(requestParameters: NodePurposesApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodePurposes>>;
|
|
59
|
-
/**
|
|
60
|
-
*/
|
|
61
|
-
get(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodePurposes>;
|
|
62
|
-
/**
|
|
63
|
-
*/
|
|
64
|
-
postRaw(requestParameters: NodePurposesApiPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<NodePurposes>>;
|
|
65
|
-
/**
|
|
66
|
-
*/
|
|
67
|
-
post(companyCode: string, nodePurposes: NodePurposes, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NodePurposes>;
|
|
68
|
-
}
|