@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,515 +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 DashboardsApi extends runtime.BaseAPI {
|
|
15
|
-
/**
|
|
16
|
-
*/
|
|
17
|
-
deleteRaw(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 delete().');
|
|
21
|
-
}
|
|
22
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
23
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling delete().');
|
|
24
|
-
}
|
|
25
|
-
const queryParameters = {};
|
|
26
|
-
const headerParameters = {};
|
|
27
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
28
|
-
const token = this.configuration.accessToken;
|
|
29
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
30
|
-
if (tokenString) {
|
|
31
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
const response = yield this.request({
|
|
35
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}`
|
|
36
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
37
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode']))),
|
|
38
|
-
method: 'DELETE',
|
|
39
|
-
headers: headerParameters,
|
|
40
|
-
query: queryParameters,
|
|
41
|
-
}, initOverrides);
|
|
42
|
-
return new runtime.VoidApiResponse(response);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
*/
|
|
47
|
-
delete(companyCode, dashboardCode, initOverrides) {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
yield this.deleteRaw({ companyCode: companyCode, dashboardCode: dashboardCode }, initOverrides);
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
*/
|
|
54
|
-
deleteCardRaw(requestParameters, initOverrides) {
|
|
55
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
-
if (requestParameters['companyCode'] == null) {
|
|
57
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling deleteCard().');
|
|
58
|
-
}
|
|
59
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
60
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling deleteCard().');
|
|
61
|
-
}
|
|
62
|
-
if (requestParameters['cardCode'] == null) {
|
|
63
|
-
throw new runtime.RequiredError('cardCode', 'Required parameter "cardCode" was null or undefined when calling deleteCard().');
|
|
64
|
-
}
|
|
65
|
-
const queryParameters = {};
|
|
66
|
-
const headerParameters = {};
|
|
67
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
68
|
-
const token = this.configuration.accessToken;
|
|
69
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
70
|
-
if (tokenString) {
|
|
71
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
const response = yield this.request({
|
|
75
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}/cards/{card_code}`
|
|
76
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
77
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode'])))
|
|
78
|
-
.replace(`{${'card_code'}}`, encodeURIComponent(String(requestParameters['cardCode']))),
|
|
79
|
-
method: 'DELETE',
|
|
80
|
-
headers: headerParameters,
|
|
81
|
-
query: queryParameters,
|
|
82
|
-
}, initOverrides);
|
|
83
|
-
return new runtime.VoidApiResponse(response);
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
*/
|
|
88
|
-
deleteCard(companyCode, dashboardCode, cardCode, initOverrides) {
|
|
89
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
90
|
-
yield this.deleteCardRaw({ companyCode: companyCode, dashboardCode: dashboardCode, cardCode: cardCode }, initOverrides);
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
*/
|
|
95
|
-
getRaw(requestParameters, initOverrides) {
|
|
96
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
-
if (requestParameters['companyCode'] == null) {
|
|
98
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling get().');
|
|
99
|
-
}
|
|
100
|
-
const queryParameters = {};
|
|
101
|
-
const headerParameters = {};
|
|
102
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
103
|
-
const token = this.configuration.accessToken;
|
|
104
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
105
|
-
if (tokenString) {
|
|
106
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
const response = yield this.request({
|
|
110
|
-
path: `/api/v1/c/{company_code}/dashboards`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
111
|
-
method: 'GET',
|
|
112
|
-
headers: headerParameters,
|
|
113
|
-
query: queryParameters,
|
|
114
|
-
}, initOverrides);
|
|
115
|
-
return new runtime.JSONApiResponse(response);
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
*/
|
|
120
|
-
get(companyCode, initOverrides) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
const response = yield this.getRaw({ companyCode: companyCode }, initOverrides);
|
|
123
|
-
return yield response.value();
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
/**
|
|
127
|
-
*/
|
|
128
|
-
getItemRaw(requestParameters, initOverrides) {
|
|
129
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
-
if (requestParameters['companyCode'] == null) {
|
|
131
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getItem().');
|
|
132
|
-
}
|
|
133
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
134
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling getItem().');
|
|
135
|
-
}
|
|
136
|
-
const queryParameters = {};
|
|
137
|
-
const headerParameters = {};
|
|
138
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
139
|
-
const token = this.configuration.accessToken;
|
|
140
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
141
|
-
if (tokenString) {
|
|
142
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
const response = yield this.request({
|
|
146
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}`
|
|
147
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
148
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode']))),
|
|
149
|
-
method: 'GET',
|
|
150
|
-
headers: headerParameters,
|
|
151
|
-
query: queryParameters,
|
|
152
|
-
}, initOverrides);
|
|
153
|
-
return new runtime.JSONApiResponse(response);
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
*/
|
|
158
|
-
getItem(companyCode, dashboardCode, initOverrides) {
|
|
159
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
160
|
-
const response = yield this.getItemRaw({ companyCode: companyCode, dashboardCode: dashboardCode }, initOverrides);
|
|
161
|
-
return yield response.value();
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
*/
|
|
166
|
-
getLatestCardVersionRaw(requestParameters, initOverrides) {
|
|
167
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
168
|
-
if (requestParameters['companyCode'] == null) {
|
|
169
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getLatestCardVersion().');
|
|
170
|
-
}
|
|
171
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
172
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling getLatestCardVersion().');
|
|
173
|
-
}
|
|
174
|
-
if (requestParameters['cardCode'] == null) {
|
|
175
|
-
throw new runtime.RequiredError('cardCode', 'Required parameter "cardCode" was null or undefined when calling getLatestCardVersion().');
|
|
176
|
-
}
|
|
177
|
-
const queryParameters = {};
|
|
178
|
-
const headerParameters = {};
|
|
179
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
180
|
-
const token = this.configuration.accessToken;
|
|
181
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
182
|
-
if (tokenString) {
|
|
183
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
const response = yield this.request({
|
|
187
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}/cards/{card_code}/versions/latest`
|
|
188
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
189
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode'])))
|
|
190
|
-
.replace(`{${'card_code'}}`, encodeURIComponent(String(requestParameters['cardCode']))),
|
|
191
|
-
method: 'GET',
|
|
192
|
-
headers: headerParameters,
|
|
193
|
-
query: queryParameters,
|
|
194
|
-
}, initOverrides);
|
|
195
|
-
return new runtime.JSONApiResponse(response);
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
*/
|
|
200
|
-
getLatestCardVersion(companyCode, dashboardCode, cardCode, initOverrides) {
|
|
201
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
-
const response = yield this.getLatestCardVersionRaw({ companyCode: companyCode, dashboardCode: dashboardCode, cardCode: cardCode }, initOverrides);
|
|
203
|
-
return yield response.value();
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
*/
|
|
208
|
-
getLatestVersionRaw(requestParameters, initOverrides) {
|
|
209
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
-
if (requestParameters['companyCode'] == null) {
|
|
211
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getLatestVersion().');
|
|
212
|
-
}
|
|
213
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
214
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling getLatestVersion().');
|
|
215
|
-
}
|
|
216
|
-
const queryParameters = {};
|
|
217
|
-
const headerParameters = {};
|
|
218
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
219
|
-
const token = this.configuration.accessToken;
|
|
220
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
221
|
-
if (tokenString) {
|
|
222
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
const response = yield this.request({
|
|
226
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}/versions/latest`
|
|
227
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
228
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode']))),
|
|
229
|
-
method: 'GET',
|
|
230
|
-
headers: headerParameters,
|
|
231
|
-
query: queryParameters,
|
|
232
|
-
}, initOverrides);
|
|
233
|
-
return new runtime.JSONApiResponse(response);
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
*/
|
|
238
|
-
getLatestVersion(companyCode, dashboardCode, initOverrides) {
|
|
239
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
-
const response = yield this.getLatestVersionRaw({ companyCode: companyCode, dashboardCode: dashboardCode }, initOverrides);
|
|
241
|
-
return yield response.value();
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
*/
|
|
246
|
-
patchRaw(requestParameters, initOverrides) {
|
|
247
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
248
|
-
if (requestParameters['companyCode'] == null) {
|
|
249
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling patch().');
|
|
250
|
-
}
|
|
251
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
252
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling patch().');
|
|
253
|
-
}
|
|
254
|
-
if (requestParameters['dashboardPatchRequest'] == null) {
|
|
255
|
-
throw new runtime.RequiredError('dashboardPatchRequest', 'Required parameter "dashboardPatchRequest" was null or undefined when calling patch().');
|
|
256
|
-
}
|
|
257
|
-
const queryParameters = {};
|
|
258
|
-
const headerParameters = {};
|
|
259
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
260
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
261
|
-
const token = this.configuration.accessToken;
|
|
262
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
263
|
-
if (tokenString) {
|
|
264
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
const response = yield this.request({
|
|
268
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}`
|
|
269
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
270
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode']))),
|
|
271
|
-
method: 'PATCH',
|
|
272
|
-
headers: headerParameters,
|
|
273
|
-
query: queryParameters,
|
|
274
|
-
body: requestParameters['dashboardPatchRequest'],
|
|
275
|
-
}, initOverrides);
|
|
276
|
-
return new runtime.VoidApiResponse(response);
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
*/
|
|
281
|
-
patch(companyCode, dashboardCode, dashboardPatchRequest, initOverrides) {
|
|
282
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
-
yield this.patchRaw({ companyCode: companyCode, dashboardCode: dashboardCode, dashboardPatchRequest: dashboardPatchRequest }, initOverrides);
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
*/
|
|
288
|
-
postRaw(requestParameters, initOverrides) {
|
|
289
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
290
|
-
if (requestParameters['companyCode'] == null) {
|
|
291
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling post().');
|
|
292
|
-
}
|
|
293
|
-
if (requestParameters['dashboardCreate'] == null) {
|
|
294
|
-
throw new runtime.RequiredError('dashboardCreate', 'Required parameter "dashboardCreate" was null or undefined when calling post().');
|
|
295
|
-
}
|
|
296
|
-
const queryParameters = {};
|
|
297
|
-
const headerParameters = {};
|
|
298
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
299
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
300
|
-
const token = this.configuration.accessToken;
|
|
301
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
302
|
-
if (tokenString) {
|
|
303
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
const response = yield this.request({
|
|
307
|
-
path: `/api/v1/c/{company_code}/dashboards`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
308
|
-
method: 'POST',
|
|
309
|
-
headers: headerParameters,
|
|
310
|
-
query: queryParameters,
|
|
311
|
-
body: requestParameters['dashboardCreate'],
|
|
312
|
-
}, initOverrides);
|
|
313
|
-
return new runtime.JSONApiResponse(response);
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
/**
|
|
317
|
-
*/
|
|
318
|
-
post(companyCode, dashboardCreate, initOverrides) {
|
|
319
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
320
|
-
const response = yield this.postRaw({ companyCode: companyCode, dashboardCreate: dashboardCreate }, initOverrides);
|
|
321
|
-
return yield response.value();
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
/**
|
|
325
|
-
*/
|
|
326
|
-
postCardRaw(requestParameters, initOverrides) {
|
|
327
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
328
|
-
if (requestParameters['companyCode'] == null) {
|
|
329
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling postCard().');
|
|
330
|
-
}
|
|
331
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
332
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling postCard().');
|
|
333
|
-
}
|
|
334
|
-
if (requestParameters['dashboardCardPostRequest'] == null) {
|
|
335
|
-
throw new runtime.RequiredError('dashboardCardPostRequest', 'Required parameter "dashboardCardPostRequest" was null or undefined when calling postCard().');
|
|
336
|
-
}
|
|
337
|
-
const queryParameters = {};
|
|
338
|
-
if (requestParameters['copyFrom'] != null) {
|
|
339
|
-
queryParameters['copy-from'] = requestParameters['copyFrom'];
|
|
340
|
-
}
|
|
341
|
-
if (requestParameters['copyFromReportGroup'] != null) {
|
|
342
|
-
queryParameters['copy-from-report-group'] = requestParameters['copyFromReportGroup'];
|
|
343
|
-
}
|
|
344
|
-
const headerParameters = {};
|
|
345
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
346
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
347
|
-
const token = this.configuration.accessToken;
|
|
348
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
349
|
-
if (tokenString) {
|
|
350
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
const response = yield this.request({
|
|
354
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}/cards`
|
|
355
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
356
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode']))),
|
|
357
|
-
method: 'POST',
|
|
358
|
-
headers: headerParameters,
|
|
359
|
-
query: queryParameters,
|
|
360
|
-
body: requestParameters['dashboardCardPostRequest'],
|
|
361
|
-
}, initOverrides);
|
|
362
|
-
return new runtime.JSONApiResponse(response);
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
/**
|
|
366
|
-
*/
|
|
367
|
-
postCard(companyCode, dashboardCode, dashboardCardPostRequest, copyFrom, copyFromReportGroup, initOverrides) {
|
|
368
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
369
|
-
const response = yield this.postCardRaw({
|
|
370
|
-
companyCode: companyCode,
|
|
371
|
-
dashboardCode: dashboardCode,
|
|
372
|
-
dashboardCardPostRequest: dashboardCardPostRequest,
|
|
373
|
-
copyFrom: copyFrom,
|
|
374
|
-
copyFromReportGroup: copyFromReportGroup,
|
|
375
|
-
}, initOverrides);
|
|
376
|
-
return yield response.value();
|
|
377
|
-
});
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
*/
|
|
381
|
-
postCardVersionRaw(requestParameters, initOverrides) {
|
|
382
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
383
|
-
if (requestParameters['companyCode'] == null) {
|
|
384
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling postCardVersion().');
|
|
385
|
-
}
|
|
386
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
387
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling postCardVersion().');
|
|
388
|
-
}
|
|
389
|
-
if (requestParameters['cardCode'] == null) {
|
|
390
|
-
throw new runtime.RequiredError('cardCode', 'Required parameter "cardCode" was null or undefined when calling postCardVersion().');
|
|
391
|
-
}
|
|
392
|
-
if (requestParameters['dashboardCardVersionPostRequest'] == null) {
|
|
393
|
-
throw new runtime.RequiredError('dashboardCardVersionPostRequest', 'Required parameter "dashboardCardVersionPostRequest" was null or undefined when calling postCardVersion().');
|
|
394
|
-
}
|
|
395
|
-
const queryParameters = {};
|
|
396
|
-
const headerParameters = {};
|
|
397
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
398
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
399
|
-
const token = this.configuration.accessToken;
|
|
400
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
401
|
-
if (tokenString) {
|
|
402
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
const response = yield this.request({
|
|
406
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}/cards/{card_code}/versions`
|
|
407
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
408
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode'])))
|
|
409
|
-
.replace(`{${'card_code'}}`, encodeURIComponent(String(requestParameters['cardCode']))),
|
|
410
|
-
method: 'POST',
|
|
411
|
-
headers: headerParameters,
|
|
412
|
-
query: queryParameters,
|
|
413
|
-
body: requestParameters['dashboardCardVersionPostRequest'],
|
|
414
|
-
}, initOverrides);
|
|
415
|
-
return new runtime.JSONApiResponse(response);
|
|
416
|
-
});
|
|
417
|
-
}
|
|
418
|
-
/**
|
|
419
|
-
*/
|
|
420
|
-
postCardVersion(companyCode, dashboardCode, cardCode, dashboardCardVersionPostRequest, initOverrides) {
|
|
421
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
-
const response = yield this.postCardVersionRaw({
|
|
423
|
-
companyCode: companyCode,
|
|
424
|
-
dashboardCode: dashboardCode,
|
|
425
|
-
cardCode: cardCode,
|
|
426
|
-
dashboardCardVersionPostRequest: dashboardCardVersionPostRequest,
|
|
427
|
-
}, initOverrides);
|
|
428
|
-
return yield response.value();
|
|
429
|
-
});
|
|
430
|
-
}
|
|
431
|
-
/**
|
|
432
|
-
*/
|
|
433
|
-
postVersionRaw(requestParameters, initOverrides) {
|
|
434
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
435
|
-
if (requestParameters['companyCode'] == null) {
|
|
436
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling postVersion().');
|
|
437
|
-
}
|
|
438
|
-
if (requestParameters['dashboardCode'] == null) {
|
|
439
|
-
throw new runtime.RequiredError('dashboardCode', 'Required parameter "dashboardCode" was null or undefined when calling postVersion().');
|
|
440
|
-
}
|
|
441
|
-
if (requestParameters['dashboardVersionPostRequest'] == null) {
|
|
442
|
-
throw new runtime.RequiredError('dashboardVersionPostRequest', 'Required parameter "dashboardVersionPostRequest" was null or undefined when calling postVersion().');
|
|
443
|
-
}
|
|
444
|
-
const queryParameters = {};
|
|
445
|
-
const headerParameters = {};
|
|
446
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
447
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
448
|
-
const token = this.configuration.accessToken;
|
|
449
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
450
|
-
if (tokenString) {
|
|
451
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
const response = yield this.request({
|
|
455
|
-
path: `/api/v1/c/{company_code}/dashboards/{dashboard_code}/versions`
|
|
456
|
-
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
457
|
-
.replace(`{${'dashboard_code'}}`, encodeURIComponent(String(requestParameters['dashboardCode']))),
|
|
458
|
-
method: 'POST',
|
|
459
|
-
headers: headerParameters,
|
|
460
|
-
query: queryParameters,
|
|
461
|
-
body: requestParameters['dashboardVersionPostRequest'],
|
|
462
|
-
}, initOverrides);
|
|
463
|
-
return new runtime.JSONApiResponse(response);
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
/**
|
|
467
|
-
*/
|
|
468
|
-
postVersion(companyCode, dashboardCode, dashboardVersionPostRequest, initOverrides) {
|
|
469
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
470
|
-
const response = yield this.postVersionRaw({
|
|
471
|
-
companyCode: companyCode,
|
|
472
|
-
dashboardCode: dashboardCode,
|
|
473
|
-
dashboardVersionPostRequest: dashboardVersionPostRequest,
|
|
474
|
-
}, initOverrides);
|
|
475
|
-
return yield response.value();
|
|
476
|
-
});
|
|
477
|
-
}
|
|
478
|
-
/**
|
|
479
|
-
*/
|
|
480
|
-
reorderRaw(requestParameters, initOverrides) {
|
|
481
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
482
|
-
if (requestParameters['companyCode'] == null) {
|
|
483
|
-
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling reorder().');
|
|
484
|
-
}
|
|
485
|
-
if (requestParameters['reportReorderRequest'] == null) {
|
|
486
|
-
throw new runtime.RequiredError('reportReorderRequest', 'Required parameter "reportReorderRequest" was null or undefined when calling reorder().');
|
|
487
|
-
}
|
|
488
|
-
const queryParameters = {};
|
|
489
|
-
const headerParameters = {};
|
|
490
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
491
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
492
|
-
const token = this.configuration.accessToken;
|
|
493
|
-
const tokenString = yield token('bearerToken', ['internal']);
|
|
494
|
-
if (tokenString) {
|
|
495
|
-
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
496
|
-
}
|
|
497
|
-
}
|
|
498
|
-
const response = yield this.request({
|
|
499
|
-
path: `/api/v1/c/{company_code}/dashboards/reorder`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
500
|
-
method: 'POST',
|
|
501
|
-
headers: headerParameters,
|
|
502
|
-
query: queryParameters,
|
|
503
|
-
body: requestParameters['reportReorderRequest'],
|
|
504
|
-
}, initOverrides);
|
|
505
|
-
return new runtime.VoidApiResponse(response);
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
/**
|
|
509
|
-
*/
|
|
510
|
-
reorder(companyCode, reportReorderRequest, initOverrides) {
|
|
511
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
512
|
-
yield this.reorderRaw({ companyCode: companyCode, reportReorderRequest: reportReorderRequest }, initOverrides);
|
|
513
|
-
});
|
|
514
|
-
}
|
|
515
|
-
}
|
|
@@ -1,92 +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 { Synchronization, SynchronizationCreate, Synchronizations } from '../models/index';
|
|
13
|
-
import * as runtime from '../runtime';
|
|
14
|
-
export interface DataSynchronizationApiGetRequest {
|
|
15
|
-
companyCode: string;
|
|
16
|
-
limit?: number | null;
|
|
17
|
-
}
|
|
18
|
-
export interface DataSynchronizationApiGetItemRequest {
|
|
19
|
-
companyCode: string;
|
|
20
|
-
synchronizationId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface DataSynchronizationApiPostRequest {
|
|
23
|
-
companyCode: string;
|
|
24
|
-
synchronizationCreate: SynchronizationCreate;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* DataSynchronizationApi - interface
|
|
28
|
-
*
|
|
29
|
-
* @export
|
|
30
|
-
* @interface DataSynchronizationApiInterface
|
|
31
|
-
*/
|
|
32
|
-
export interface DataSynchronizationApiInterface {
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @param {string} companyCode
|
|
36
|
-
* @param {number} [limit]
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
* @memberof DataSynchronizationApiInterface
|
|
40
|
-
*/
|
|
41
|
-
getRaw(requestParameters: DataSynchronizationApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchronizations>>;
|
|
42
|
-
/**
|
|
43
|
-
*/
|
|
44
|
-
get(companyCode: string, limit?: number | null, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchronizations>;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @param {string} companyCode
|
|
48
|
-
* @param {string} synchronizationId
|
|
49
|
-
* @param {*} [options] Override http request option.
|
|
50
|
-
* @throws {RequiredError}
|
|
51
|
-
* @memberof DataSynchronizationApiInterface
|
|
52
|
-
*/
|
|
53
|
-
getItemRaw(requestParameters: DataSynchronizationApiGetItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchronization>>;
|
|
54
|
-
/**
|
|
55
|
-
*/
|
|
56
|
-
getItem(companyCode: string, synchronizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchronization>;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @param {string} companyCode
|
|
60
|
-
* @param {SynchronizationCreate} synchronizationCreate
|
|
61
|
-
* @param {*} [options] Override http request option.
|
|
62
|
-
* @throws {RequiredError}
|
|
63
|
-
* @memberof DataSynchronizationApiInterface
|
|
64
|
-
*/
|
|
65
|
-
postRaw(requestParameters: DataSynchronizationApiPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchronization>>;
|
|
66
|
-
/**
|
|
67
|
-
*/
|
|
68
|
-
post(companyCode: string, synchronizationCreate: SynchronizationCreate, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchronization>;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
export declare class DataSynchronizationApi extends runtime.BaseAPI implements DataSynchronizationApiInterface {
|
|
74
|
-
/**
|
|
75
|
-
*/
|
|
76
|
-
getRaw(requestParameters: DataSynchronizationApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchronizations>>;
|
|
77
|
-
/**
|
|
78
|
-
*/
|
|
79
|
-
get(companyCode: string, limit?: number | null, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchronizations>;
|
|
80
|
-
/**
|
|
81
|
-
*/
|
|
82
|
-
getItemRaw(requestParameters: DataSynchronizationApiGetItemRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchronization>>;
|
|
83
|
-
/**
|
|
84
|
-
*/
|
|
85
|
-
getItem(companyCode: string, synchronizationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchronization>;
|
|
86
|
-
/**
|
|
87
|
-
*/
|
|
88
|
-
postRaw(requestParameters: DataSynchronizationApiPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchronization>>;
|
|
89
|
-
/**
|
|
90
|
-
*/
|
|
91
|
-
post(companyCode: string, synchronizationCreate: SynchronizationCreate, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchronization>;
|
|
92
|
-
}
|