@smartbooks-ai/api-client 0.0.6 → 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 +14 -15
- 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,771 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Smartbooks Restful API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.0.1
|
|
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
|
-
import type {
|
|
15
|
-
ManualInputActualRequest,
|
|
16
|
-
ManualInputActualResponse,
|
|
17
|
-
ManualInputConfiguration,
|
|
18
|
-
ManualInputDraft,
|
|
19
|
-
ManualInputPreviewRequest,
|
|
20
|
-
ManualInputPreviewResponse,
|
|
21
|
-
ManualInputRowSet,
|
|
22
|
-
NodeInputs,
|
|
23
|
-
TriggeredOperation,
|
|
24
|
-
} from '../models/index';
|
|
25
|
-
import * as runtime from '../runtime';
|
|
26
|
-
|
|
27
|
-
export interface ManualInputApiActualsRequest {
|
|
28
|
-
companyCode: string;
|
|
29
|
-
manualInputActualRequest: ManualInputActualRequest;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface ManualInputApiApplyDraftRequest {
|
|
33
|
-
companyCode: string;
|
|
34
|
-
manualInputDraft: ManualInputDraft;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface ManualInputApiGetConfigurationRequest {
|
|
38
|
-
companyCode: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface ManualInputApiGetEntriesRequest {
|
|
42
|
-
companyCode: string;
|
|
43
|
-
structureCode: string;
|
|
44
|
-
category: string;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface ManualInputApiGetEntriesForCostcenterRequest {
|
|
48
|
-
companyCode: string;
|
|
49
|
-
costCenter: string;
|
|
50
|
-
structureCode: string;
|
|
51
|
-
category: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface ManualInputApiGetRowsRequest {
|
|
55
|
-
companyCode: string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface ManualInputApiPreviewRequest {
|
|
59
|
-
companyCode: string;
|
|
60
|
-
manualInputPreviewRequest: ManualInputPreviewRequest;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface ManualInputApiPutRowsRequest {
|
|
64
|
-
companyCode: string;
|
|
65
|
-
manualInputRowSet: ManualInputRowSet;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* ManualInputApi - interface
|
|
70
|
-
*
|
|
71
|
-
* @export
|
|
72
|
-
* @interface ManualInputApiInterface
|
|
73
|
-
*/
|
|
74
|
-
export interface ManualInputApiInterface {
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @param {string} companyCode
|
|
78
|
-
* @param {ManualInputActualRequest} manualInputActualRequest
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
* @memberof ManualInputApiInterface
|
|
82
|
-
*/
|
|
83
|
-
actualsRaw(
|
|
84
|
-
requestParameters: ManualInputApiActualsRequest,
|
|
85
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
86
|
-
): Promise<runtime.ApiResponse<ManualInputActualResponse>>;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
*/
|
|
90
|
-
actuals(
|
|
91
|
-
companyCode: string,
|
|
92
|
-
manualInputActualRequest: ManualInputActualRequest,
|
|
93
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
94
|
-
): Promise<ManualInputActualResponse>;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @param {string} companyCode
|
|
99
|
-
* @param {ManualInputDraft} manualInputDraft
|
|
100
|
-
* @param {*} [options] Override http request option.
|
|
101
|
-
* @throws {RequiredError}
|
|
102
|
-
* @memberof ManualInputApiInterface
|
|
103
|
-
*/
|
|
104
|
-
applyDraftRaw(
|
|
105
|
-
requestParameters: ManualInputApiApplyDraftRequest,
|
|
106
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
107
|
-
): Promise<runtime.ApiResponse<TriggeredOperation>>;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
*/
|
|
111
|
-
applyDraft(
|
|
112
|
-
companyCode: string,
|
|
113
|
-
manualInputDraft: ManualInputDraft,
|
|
114
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
115
|
-
): Promise<TriggeredOperation>;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @param {string} companyCode
|
|
120
|
-
* @param {*} [options] Override http request option.
|
|
121
|
-
* @throws {RequiredError}
|
|
122
|
-
* @memberof ManualInputApiInterface
|
|
123
|
-
*/
|
|
124
|
-
getConfigurationRaw(
|
|
125
|
-
requestParameters: ManualInputApiGetConfigurationRequest,
|
|
126
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
127
|
-
): Promise<runtime.ApiResponse<ManualInputConfiguration>>;
|
|
128
|
-
|
|
129
|
-
/**
|
|
130
|
-
*/
|
|
131
|
-
getConfiguration(
|
|
132
|
-
companyCode: string,
|
|
133
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
134
|
-
): Promise<ManualInputConfiguration>;
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @param {string} companyCode
|
|
139
|
-
* @param {string} structureCode
|
|
140
|
-
* @param {string} category
|
|
141
|
-
* @param {*} [options] Override http request option.
|
|
142
|
-
* @throws {RequiredError}
|
|
143
|
-
* @memberof ManualInputApiInterface
|
|
144
|
-
*/
|
|
145
|
-
getEntriesRaw(
|
|
146
|
-
requestParameters: ManualInputApiGetEntriesRequest,
|
|
147
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
148
|
-
): Promise<runtime.ApiResponse<NodeInputs>>;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
*/
|
|
152
|
-
getEntries(
|
|
153
|
-
companyCode: string,
|
|
154
|
-
structureCode: string,
|
|
155
|
-
category: string,
|
|
156
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
157
|
-
): Promise<NodeInputs>;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
* @param {string} companyCode
|
|
162
|
-
* @param {string} costCenter
|
|
163
|
-
* @param {string} structureCode
|
|
164
|
-
* @param {string} category
|
|
165
|
-
* @param {*} [options] Override http request option.
|
|
166
|
-
* @throws {RequiredError}
|
|
167
|
-
* @memberof ManualInputApiInterface
|
|
168
|
-
*/
|
|
169
|
-
getEntriesForCostcenterRaw(
|
|
170
|
-
requestParameters: ManualInputApiGetEntriesForCostcenterRequest,
|
|
171
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
172
|
-
): Promise<runtime.ApiResponse<NodeInputs>>;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
*/
|
|
176
|
-
getEntriesForCostcenter(
|
|
177
|
-
companyCode: string,
|
|
178
|
-
costCenter: string,
|
|
179
|
-
structureCode: string,
|
|
180
|
-
category: string,
|
|
181
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
182
|
-
): Promise<NodeInputs>;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @param {string} companyCode
|
|
187
|
-
* @param {*} [options] Override http request option.
|
|
188
|
-
* @throws {RequiredError}
|
|
189
|
-
* @memberof ManualInputApiInterface
|
|
190
|
-
*/
|
|
191
|
-
getRowsRaw(
|
|
192
|
-
requestParameters: ManualInputApiGetRowsRequest,
|
|
193
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
194
|
-
): Promise<runtime.ApiResponse<ManualInputRowSet>>;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
*/
|
|
198
|
-
getRows(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ManualInputRowSet>;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
* @param {string} companyCode
|
|
203
|
-
* @param {ManualInputPreviewRequest} manualInputPreviewRequest
|
|
204
|
-
* @param {*} [options] Override http request option.
|
|
205
|
-
* @throws {RequiredError}
|
|
206
|
-
* @memberof ManualInputApiInterface
|
|
207
|
-
*/
|
|
208
|
-
previewRaw(
|
|
209
|
-
requestParameters: ManualInputApiPreviewRequest,
|
|
210
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
211
|
-
): Promise<runtime.ApiResponse<ManualInputPreviewResponse>>;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
*/
|
|
215
|
-
preview(
|
|
216
|
-
companyCode: string,
|
|
217
|
-
manualInputPreviewRequest: ManualInputPreviewRequest,
|
|
218
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
219
|
-
): Promise<ManualInputPreviewResponse>;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
* @param {string} companyCode
|
|
224
|
-
* @param {ManualInputRowSet} manualInputRowSet
|
|
225
|
-
* @param {*} [options] Override http request option.
|
|
226
|
-
* @throws {RequiredError}
|
|
227
|
-
* @memberof ManualInputApiInterface
|
|
228
|
-
*/
|
|
229
|
-
putRowsRaw(
|
|
230
|
-
requestParameters: ManualInputApiPutRowsRequest,
|
|
231
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
232
|
-
): Promise<runtime.ApiResponse<ManualInputRowSet>>;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
*/
|
|
236
|
-
putRows(
|
|
237
|
-
companyCode: string,
|
|
238
|
-
manualInputRowSet: ManualInputRowSet,
|
|
239
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
240
|
-
): Promise<ManualInputRowSet>;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
*
|
|
245
|
-
*/
|
|
246
|
-
export class ManualInputApi extends runtime.BaseAPI implements ManualInputApiInterface {
|
|
247
|
-
/**
|
|
248
|
-
*/
|
|
249
|
-
async actualsRaw(
|
|
250
|
-
requestParameters: ManualInputApiActualsRequest,
|
|
251
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
252
|
-
): Promise<runtime.ApiResponse<ManualInputActualResponse>> {
|
|
253
|
-
if (requestParameters['companyCode'] == null) {
|
|
254
|
-
throw new runtime.RequiredError(
|
|
255
|
-
'companyCode',
|
|
256
|
-
'Required parameter "companyCode" was null or undefined when calling actuals().',
|
|
257
|
-
);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
if (requestParameters['manualInputActualRequest'] == null) {
|
|
261
|
-
throw new runtime.RequiredError(
|
|
262
|
-
'manualInputActualRequest',
|
|
263
|
-
'Required parameter "manualInputActualRequest" was null or undefined when calling actuals().',
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
const queryParameters: any = {};
|
|
268
|
-
|
|
269
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
270
|
-
|
|
271
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
272
|
-
|
|
273
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
274
|
-
const token = this.configuration.accessToken;
|
|
275
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
276
|
-
|
|
277
|
-
if (tokenString) {
|
|
278
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
const response = await this.request(
|
|
282
|
-
{
|
|
283
|
-
path: `/api/v1/c/{company_code}/manual-input/actuals`.replace(
|
|
284
|
-
`{${'company_code'}}`,
|
|
285
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
286
|
-
),
|
|
287
|
-
method: 'POST',
|
|
288
|
-
headers: headerParameters,
|
|
289
|
-
query: queryParameters,
|
|
290
|
-
body: requestParameters['manualInputActualRequest'],
|
|
291
|
-
},
|
|
292
|
-
initOverrides,
|
|
293
|
-
);
|
|
294
|
-
|
|
295
|
-
return new runtime.JSONApiResponse(response);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
*/
|
|
300
|
-
async actuals(
|
|
301
|
-
companyCode: string,
|
|
302
|
-
manualInputActualRequest: ManualInputActualRequest,
|
|
303
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
304
|
-
): Promise<ManualInputActualResponse> {
|
|
305
|
-
const response = await this.actualsRaw(
|
|
306
|
-
{ companyCode: companyCode, manualInputActualRequest: manualInputActualRequest },
|
|
307
|
-
initOverrides,
|
|
308
|
-
);
|
|
309
|
-
return await response.value();
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
/**
|
|
313
|
-
*/
|
|
314
|
-
async applyDraftRaw(
|
|
315
|
-
requestParameters: ManualInputApiApplyDraftRequest,
|
|
316
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
317
|
-
): Promise<runtime.ApiResponse<TriggeredOperation>> {
|
|
318
|
-
if (requestParameters['companyCode'] == null) {
|
|
319
|
-
throw new runtime.RequiredError(
|
|
320
|
-
'companyCode',
|
|
321
|
-
'Required parameter "companyCode" was null or undefined when calling applyDraft().',
|
|
322
|
-
);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
if (requestParameters['manualInputDraft'] == null) {
|
|
326
|
-
throw new runtime.RequiredError(
|
|
327
|
-
'manualInputDraft',
|
|
328
|
-
'Required parameter "manualInputDraft" was null or undefined when calling applyDraft().',
|
|
329
|
-
);
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
const queryParameters: any = {};
|
|
333
|
-
|
|
334
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
335
|
-
|
|
336
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
337
|
-
|
|
338
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
339
|
-
const token = this.configuration.accessToken;
|
|
340
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
341
|
-
|
|
342
|
-
if (tokenString) {
|
|
343
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
const response = await this.request(
|
|
347
|
-
{
|
|
348
|
-
path: `/api/v1/c/{company_code}/manual-input/drafts/apply`.replace(
|
|
349
|
-
`{${'company_code'}}`,
|
|
350
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
351
|
-
),
|
|
352
|
-
method: 'POST',
|
|
353
|
-
headers: headerParameters,
|
|
354
|
-
query: queryParameters,
|
|
355
|
-
body: requestParameters['manualInputDraft'],
|
|
356
|
-
},
|
|
357
|
-
initOverrides,
|
|
358
|
-
);
|
|
359
|
-
|
|
360
|
-
return new runtime.JSONApiResponse(response);
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
*/
|
|
365
|
-
async applyDraft(
|
|
366
|
-
companyCode: string,
|
|
367
|
-
manualInputDraft: ManualInputDraft,
|
|
368
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
369
|
-
): Promise<TriggeredOperation> {
|
|
370
|
-
const response = await this.applyDraftRaw(
|
|
371
|
-
{ companyCode: companyCode, manualInputDraft: manualInputDraft },
|
|
372
|
-
initOverrides,
|
|
373
|
-
);
|
|
374
|
-
return await response.value();
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
*/
|
|
379
|
-
async getConfigurationRaw(
|
|
380
|
-
requestParameters: ManualInputApiGetConfigurationRequest,
|
|
381
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
382
|
-
): Promise<runtime.ApiResponse<ManualInputConfiguration>> {
|
|
383
|
-
if (requestParameters['companyCode'] == null) {
|
|
384
|
-
throw new runtime.RequiredError(
|
|
385
|
-
'companyCode',
|
|
386
|
-
'Required parameter "companyCode" was null or undefined when calling getConfiguration().',
|
|
387
|
-
);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
const queryParameters: any = {};
|
|
391
|
-
|
|
392
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
393
|
-
|
|
394
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
395
|
-
const token = this.configuration.accessToken;
|
|
396
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
397
|
-
|
|
398
|
-
if (tokenString) {
|
|
399
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
const response = await this.request(
|
|
403
|
-
{
|
|
404
|
-
path: `/api/v1/c/{company_code}/manual-input/configuration`.replace(
|
|
405
|
-
`{${'company_code'}}`,
|
|
406
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
407
|
-
),
|
|
408
|
-
method: 'GET',
|
|
409
|
-
headers: headerParameters,
|
|
410
|
-
query: queryParameters,
|
|
411
|
-
},
|
|
412
|
-
initOverrides,
|
|
413
|
-
);
|
|
414
|
-
|
|
415
|
-
return new runtime.JSONApiResponse(response);
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
*/
|
|
420
|
-
async getConfiguration(
|
|
421
|
-
companyCode: string,
|
|
422
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
423
|
-
): Promise<ManualInputConfiguration> {
|
|
424
|
-
const response = await this.getConfigurationRaw({ companyCode: companyCode }, initOverrides);
|
|
425
|
-
return await response.value();
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
*/
|
|
430
|
-
async getEntriesRaw(
|
|
431
|
-
requestParameters: ManualInputApiGetEntriesRequest,
|
|
432
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
433
|
-
): Promise<runtime.ApiResponse<NodeInputs>> {
|
|
434
|
-
if (requestParameters['companyCode'] == null) {
|
|
435
|
-
throw new runtime.RequiredError(
|
|
436
|
-
'companyCode',
|
|
437
|
-
'Required parameter "companyCode" was null or undefined when calling getEntries().',
|
|
438
|
-
);
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
if (requestParameters['structureCode'] == null) {
|
|
442
|
-
throw new runtime.RequiredError(
|
|
443
|
-
'structureCode',
|
|
444
|
-
'Required parameter "structureCode" was null or undefined when calling getEntries().',
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
if (requestParameters['category'] == null) {
|
|
449
|
-
throw new runtime.RequiredError(
|
|
450
|
-
'category',
|
|
451
|
-
'Required parameter "category" was null or undefined when calling getEntries().',
|
|
452
|
-
);
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
const queryParameters: any = {};
|
|
456
|
-
|
|
457
|
-
if (requestParameters['structureCode'] != null) {
|
|
458
|
-
queryParameters['structureCode'] = requestParameters['structureCode'];
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
if (requestParameters['category'] != null) {
|
|
462
|
-
queryParameters['category'] = requestParameters['category'];
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
466
|
-
|
|
467
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
468
|
-
const token = this.configuration.accessToken;
|
|
469
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
470
|
-
|
|
471
|
-
if (tokenString) {
|
|
472
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
const response = await this.request(
|
|
476
|
-
{
|
|
477
|
-
path: `/api/v1/c/{company_code}/manual-input/entries`.replace(
|
|
478
|
-
`{${'company_code'}}`,
|
|
479
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
480
|
-
),
|
|
481
|
-
method: 'GET',
|
|
482
|
-
headers: headerParameters,
|
|
483
|
-
query: queryParameters,
|
|
484
|
-
},
|
|
485
|
-
initOverrides,
|
|
486
|
-
);
|
|
487
|
-
|
|
488
|
-
return new runtime.JSONApiResponse(response);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
*/
|
|
493
|
-
async getEntries(
|
|
494
|
-
companyCode: string,
|
|
495
|
-
structureCode: string,
|
|
496
|
-
category: string,
|
|
497
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
498
|
-
): Promise<NodeInputs> {
|
|
499
|
-
const response = await this.getEntriesRaw(
|
|
500
|
-
{ companyCode: companyCode, structureCode: structureCode, category: category },
|
|
501
|
-
initOverrides,
|
|
502
|
-
);
|
|
503
|
-
return await response.value();
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
*/
|
|
508
|
-
async getEntriesForCostcenterRaw(
|
|
509
|
-
requestParameters: ManualInputApiGetEntriesForCostcenterRequest,
|
|
510
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
511
|
-
): Promise<runtime.ApiResponse<NodeInputs>> {
|
|
512
|
-
if (requestParameters['companyCode'] == null) {
|
|
513
|
-
throw new runtime.RequiredError(
|
|
514
|
-
'companyCode',
|
|
515
|
-
'Required parameter "companyCode" was null or undefined when calling getEntriesForCostcenter().',
|
|
516
|
-
);
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
if (requestParameters['costCenter'] == null) {
|
|
520
|
-
throw new runtime.RequiredError(
|
|
521
|
-
'costCenter',
|
|
522
|
-
'Required parameter "costCenter" was null or undefined when calling getEntriesForCostcenter().',
|
|
523
|
-
);
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
if (requestParameters['structureCode'] == null) {
|
|
527
|
-
throw new runtime.RequiredError(
|
|
528
|
-
'structureCode',
|
|
529
|
-
'Required parameter "structureCode" was null or undefined when calling getEntriesForCostcenter().',
|
|
530
|
-
);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
if (requestParameters['category'] == null) {
|
|
534
|
-
throw new runtime.RequiredError(
|
|
535
|
-
'category',
|
|
536
|
-
'Required parameter "category" was null or undefined when calling getEntriesForCostcenter().',
|
|
537
|
-
);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
const queryParameters: any = {};
|
|
541
|
-
|
|
542
|
-
if (requestParameters['structureCode'] != null) {
|
|
543
|
-
queryParameters['structureCode'] = requestParameters['structureCode'];
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
if (requestParameters['category'] != null) {
|
|
547
|
-
queryParameters['category'] = requestParameters['category'];
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
551
|
-
|
|
552
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
553
|
-
const token = this.configuration.accessToken;
|
|
554
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
555
|
-
|
|
556
|
-
if (tokenString) {
|
|
557
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
const response = await this.request(
|
|
561
|
-
{
|
|
562
|
-
path: `/api/v1/c/{company_code}/manual-input/cost-center/{cost_center}/entries`
|
|
563
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
564
|
-
.replace(`{${'cost_center'}}`, encodeURIComponent(String(requestParameters['costCenter']))),
|
|
565
|
-
method: 'GET',
|
|
566
|
-
headers: headerParameters,
|
|
567
|
-
query: queryParameters,
|
|
568
|
-
},
|
|
569
|
-
initOverrides,
|
|
570
|
-
);
|
|
571
|
-
|
|
572
|
-
return new runtime.JSONApiResponse(response);
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
*/
|
|
577
|
-
async getEntriesForCostcenter(
|
|
578
|
-
companyCode: string,
|
|
579
|
-
costCenter: string,
|
|
580
|
-
structureCode: string,
|
|
581
|
-
category: string,
|
|
582
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
583
|
-
): Promise<NodeInputs> {
|
|
584
|
-
const response = await this.getEntriesForCostcenterRaw(
|
|
585
|
-
{ companyCode: companyCode, costCenter: costCenter, structureCode: structureCode, category: category },
|
|
586
|
-
initOverrides,
|
|
587
|
-
);
|
|
588
|
-
return await response.value();
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
*/
|
|
593
|
-
async getRowsRaw(
|
|
594
|
-
requestParameters: ManualInputApiGetRowsRequest,
|
|
595
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
596
|
-
): Promise<runtime.ApiResponse<ManualInputRowSet>> {
|
|
597
|
-
if (requestParameters['companyCode'] == null) {
|
|
598
|
-
throw new runtime.RequiredError(
|
|
599
|
-
'companyCode',
|
|
600
|
-
'Required parameter "companyCode" was null or undefined when calling getRows().',
|
|
601
|
-
);
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
const queryParameters: any = {};
|
|
605
|
-
|
|
606
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
607
|
-
|
|
608
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
609
|
-
const token = this.configuration.accessToken;
|
|
610
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
611
|
-
|
|
612
|
-
if (tokenString) {
|
|
613
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
const response = await this.request(
|
|
617
|
-
{
|
|
618
|
-
path: `/api/v1/c/{company_code}/manual-input/rows`.replace(
|
|
619
|
-
`{${'company_code'}}`,
|
|
620
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
621
|
-
),
|
|
622
|
-
method: 'GET',
|
|
623
|
-
headers: headerParameters,
|
|
624
|
-
query: queryParameters,
|
|
625
|
-
},
|
|
626
|
-
initOverrides,
|
|
627
|
-
);
|
|
628
|
-
|
|
629
|
-
return new runtime.JSONApiResponse(response);
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
*/
|
|
634
|
-
async getRows(
|
|
635
|
-
companyCode: string,
|
|
636
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
637
|
-
): Promise<ManualInputRowSet> {
|
|
638
|
-
const response = await this.getRowsRaw({ companyCode: companyCode }, initOverrides);
|
|
639
|
-
return await response.value();
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
*/
|
|
644
|
-
async previewRaw(
|
|
645
|
-
requestParameters: ManualInputApiPreviewRequest,
|
|
646
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
647
|
-
): Promise<runtime.ApiResponse<ManualInputPreviewResponse>> {
|
|
648
|
-
if (requestParameters['companyCode'] == null) {
|
|
649
|
-
throw new runtime.RequiredError(
|
|
650
|
-
'companyCode',
|
|
651
|
-
'Required parameter "companyCode" was null or undefined when calling preview().',
|
|
652
|
-
);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
if (requestParameters['manualInputPreviewRequest'] == null) {
|
|
656
|
-
throw new runtime.RequiredError(
|
|
657
|
-
'manualInputPreviewRequest',
|
|
658
|
-
'Required parameter "manualInputPreviewRequest" was null or undefined when calling preview().',
|
|
659
|
-
);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
const queryParameters: any = {};
|
|
663
|
-
|
|
664
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
665
|
-
|
|
666
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
667
|
-
|
|
668
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
669
|
-
const token = this.configuration.accessToken;
|
|
670
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
671
|
-
|
|
672
|
-
if (tokenString) {
|
|
673
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
const response = await this.request(
|
|
677
|
-
{
|
|
678
|
-
path: `/api/v1/c/{company_code}/manual-input/preview`.replace(
|
|
679
|
-
`{${'company_code'}}`,
|
|
680
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
681
|
-
),
|
|
682
|
-
method: 'POST',
|
|
683
|
-
headers: headerParameters,
|
|
684
|
-
query: queryParameters,
|
|
685
|
-
body: requestParameters['manualInputPreviewRequest'],
|
|
686
|
-
},
|
|
687
|
-
initOverrides,
|
|
688
|
-
);
|
|
689
|
-
|
|
690
|
-
return new runtime.JSONApiResponse(response);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
*/
|
|
695
|
-
async preview(
|
|
696
|
-
companyCode: string,
|
|
697
|
-
manualInputPreviewRequest: ManualInputPreviewRequest,
|
|
698
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
699
|
-
): Promise<ManualInputPreviewResponse> {
|
|
700
|
-
const response = await this.previewRaw(
|
|
701
|
-
{ companyCode: companyCode, manualInputPreviewRequest: manualInputPreviewRequest },
|
|
702
|
-
initOverrides,
|
|
703
|
-
);
|
|
704
|
-
return await response.value();
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
/**
|
|
708
|
-
*/
|
|
709
|
-
async putRowsRaw(
|
|
710
|
-
requestParameters: ManualInputApiPutRowsRequest,
|
|
711
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
712
|
-
): Promise<runtime.ApiResponse<ManualInputRowSet>> {
|
|
713
|
-
if (requestParameters['companyCode'] == null) {
|
|
714
|
-
throw new runtime.RequiredError(
|
|
715
|
-
'companyCode',
|
|
716
|
-
'Required parameter "companyCode" was null or undefined when calling putRows().',
|
|
717
|
-
);
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
if (requestParameters['manualInputRowSet'] == null) {
|
|
721
|
-
throw new runtime.RequiredError(
|
|
722
|
-
'manualInputRowSet',
|
|
723
|
-
'Required parameter "manualInputRowSet" was null or undefined when calling putRows().',
|
|
724
|
-
);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
const queryParameters: any = {};
|
|
728
|
-
|
|
729
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
730
|
-
|
|
731
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
732
|
-
|
|
733
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
734
|
-
const token = this.configuration.accessToken;
|
|
735
|
-
const tokenString = await token('bearerToken', ['internal']);
|
|
736
|
-
|
|
737
|
-
if (tokenString) {
|
|
738
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
const response = await this.request(
|
|
742
|
-
{
|
|
743
|
-
path: `/api/v1/c/{company_code}/manual-input/rows`.replace(
|
|
744
|
-
`{${'company_code'}}`,
|
|
745
|
-
encodeURIComponent(String(requestParameters['companyCode'])),
|
|
746
|
-
),
|
|
747
|
-
method: 'PUT',
|
|
748
|
-
headers: headerParameters,
|
|
749
|
-
query: queryParameters,
|
|
750
|
-
body: requestParameters['manualInputRowSet'],
|
|
751
|
-
},
|
|
752
|
-
initOverrides,
|
|
753
|
-
);
|
|
754
|
-
|
|
755
|
-
return new runtime.JSONApiResponse(response);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
*/
|
|
760
|
-
async putRows(
|
|
761
|
-
companyCode: string,
|
|
762
|
-
manualInputRowSet: ManualInputRowSet,
|
|
763
|
-
initOverrides?: RequestInit | runtime.InitOverrideFunction,
|
|
764
|
-
): Promise<ManualInputRowSet> {
|
|
765
|
-
const response = await this.putRowsRaw(
|
|
766
|
-
{ companyCode: companyCode, manualInputRowSet: manualInputRowSet },
|
|
767
|
-
initOverrides,
|
|
768
|
-
);
|
|
769
|
-
return await response.value();
|
|
770
|
-
}
|
|
771
|
-
}
|