@smartbooks-ai/api-client 0.0.3
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/.openapi-generator/FILES +56 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +50 -0
- package/dist/apis/AiApi.d.ts +289 -0
- package/dist/apis/AiApi.js +456 -0
- package/dist/apis/AnalyticsApi.d.ts +242 -0
- package/dist/apis/AnalyticsApi.js +395 -0
- package/dist/apis/AsyncOperationsApi.d.ts +48 -0
- package/dist/apis/AsyncOperationsApi.js +57 -0
- package/dist/apis/BusinessModelModulesApi.d.ts +182 -0
- package/dist/apis/BusinessModelModulesApi.js +289 -0
- package/dist/apis/ColorPalettesApi.d.ts +62 -0
- package/dist/apis/ColorPalettesApi.js +82 -0
- package/dist/apis/CommentsApi.d.ts +94 -0
- package/dist/apis/CommentsApi.js +138 -0
- package/dist/apis/CompaniesApi.d.ts +88 -0
- package/dist/apis/CompaniesApi.js +122 -0
- package/dist/apis/CompanyManagementApi.d.ts +90 -0
- package/dist/apis/CompanyManagementApi.js +127 -0
- package/dist/apis/ConnectionParametersApi.d.ts +98 -0
- package/dist/apis/ConnectionParametersApi.js +155 -0
- package/dist/apis/ConnectionTypesApi.d.ts +90 -0
- package/dist/apis/ConnectionTypesApi.js +128 -0
- package/dist/apis/ConnectionsApi.d.ts +156 -0
- package/dist/apis/ConnectionsApi.js +240 -0
- package/dist/apis/ConnectionsAuthorizationApi.d.ts +74 -0
- package/dist/apis/ConnectionsAuthorizationApi.js +112 -0
- package/dist/apis/ConnectionsClientCredentialsApi.d.ts +72 -0
- package/dist/apis/ConnectionsClientCredentialsApi.js +104 -0
- package/dist/apis/ConsolidationApi.d.ts +192 -0
- package/dist/apis/ConsolidationApi.js +301 -0
- package/dist/apis/CostCenterApi.d.ts +130 -0
- package/dist/apis/CostCenterApi.js +192 -0
- package/dist/apis/DashboardsApi.d.ts +306 -0
- package/dist/apis/DashboardsApi.js +519 -0
- package/dist/apis/DataSynchronizationApi.d.ts +92 -0
- package/dist/apis/DataSynchronizationApi.js +131 -0
- package/dist/apis/ExplanationApi.d.ts +110 -0
- package/dist/apis/ExplanationApi.js +231 -0
- package/dist/apis/FormatsApi.d.ts +46 -0
- package/dist/apis/FormatsApi.js +52 -0
- package/dist/apis/FormulasApi.d.ts +62 -0
- package/dist/apis/FormulasApi.js +85 -0
- package/dist/apis/FuturesApi.d.ts +136 -0
- package/dist/apis/FuturesApi.js +208 -0
- package/dist/apis/IdentityLinkingApi.d.ts +46 -0
- package/dist/apis/IdentityLinkingApi.js +53 -0
- package/dist/apis/InputApi.d.ts +55 -0
- package/dist/apis/InputApi.js +61 -0
- package/dist/apis/IntercompanyMatchingApi.d.ts +174 -0
- package/dist/apis/IntercompanyMatchingApi.js +264 -0
- package/dist/apis/InvitationsApi.d.ts +156 -0
- package/dist/apis/InvitationsApi.js +239 -0
- package/dist/apis/MaintenanceApi.d.ts +182 -0
- package/dist/apis/MaintenanceApi.js +282 -0
- package/dist/apis/ManualInputApi.d.ts +204 -0
- package/dist/apis/ManualInputApi.js +332 -0
- package/dist/apis/ModulesApi.d.ts +88 -0
- package/dist/apis/ModulesApi.js +116 -0
- package/dist/apis/NodePurposesApi.d.ts +68 -0
- package/dist/apis/NodePurposesApi.js +90 -0
- package/dist/apis/ProfileApi.d.ts +85 -0
- package/dist/apis/ProfileApi.js +118 -0
- package/dist/apis/RelationsApi.d.ts +46 -0
- package/dist/apis/RelationsApi.js +52 -0
- package/dist/apis/ReportGroupsApi.d.ts +72 -0
- package/dist/apis/ReportGroupsApi.js +96 -0
- package/dist/apis/ReportingApi.d.ts +267 -0
- package/dist/apis/ReportingApi.js +383 -0
- package/dist/apis/ReportingPeriodsApi.d.ts +46 -0
- package/dist/apis/ReportingPeriodsApi.js +52 -0
- package/dist/apis/SourceAccountsApi.d.ts +46 -0
- package/dist/apis/SourceAccountsApi.js +52 -0
- package/dist/apis/StructureApi.d.ts +134 -0
- package/dist/apis/StructureApi.js +167 -0
- package/dist/apis/StructureDefinitionApi.d.ts +164 -0
- package/dist/apis/StructureDefinitionApi.js +263 -0
- package/dist/apis/StructureImprovementApi.d.ts +70 -0
- package/dist/apis/StructureImprovementApi.js +95 -0
- package/dist/apis/TemplatesApi.d.ts +120 -0
- package/dist/apis/TemplatesApi.js +182 -0
- package/dist/apis/TemplatesGenerationApi.d.ts +66 -0
- package/dist/apis/TemplatesGenerationApi.js +89 -0
- package/dist/apis/TenantIntercompanySettingsApi.d.ts +90 -0
- package/dist/apis/TenantIntercompanySettingsApi.js +127 -0
- package/dist/apis/TenantsApi.d.ts +124 -0
- package/dist/apis/TenantsApi.js +184 -0
- package/dist/apis/TransactionDetailsApi.d.ts +50 -0
- package/dist/apis/TransactionDetailsApi.js +61 -0
- package/dist/apis/UsersApi.d.ts +114 -0
- package/dist/apis/UsersApi.js +169 -0
- package/dist/apis/WebhooksApi.d.ts +68 -0
- package/dist/apis/WebhooksApi.js +90 -0
- package/dist/apis/WizardApi.d.ts +74 -0
- package/dist/apis/WizardApi.js +105 -0
- package/dist/apis/index.d.ts +46 -0
- package/dist/apis/index.js +64 -0
- package/dist/esm/apis/AiApi.d.ts +289 -0
- package/dist/esm/apis/AiApi.js +452 -0
- package/dist/esm/apis/AnalyticsApi.d.ts +242 -0
- package/dist/esm/apis/AnalyticsApi.js +391 -0
- package/dist/esm/apis/AsyncOperationsApi.d.ts +48 -0
- package/dist/esm/apis/AsyncOperationsApi.js +53 -0
- package/dist/esm/apis/BusinessModelModulesApi.d.ts +182 -0
- package/dist/esm/apis/BusinessModelModulesApi.js +285 -0
- package/dist/esm/apis/ColorPalettesApi.d.ts +62 -0
- package/dist/esm/apis/ColorPalettesApi.js +78 -0
- package/dist/esm/apis/CommentsApi.d.ts +94 -0
- package/dist/esm/apis/CommentsApi.js +134 -0
- package/dist/esm/apis/CompaniesApi.d.ts +88 -0
- package/dist/esm/apis/CompaniesApi.js +118 -0
- package/dist/esm/apis/CompanyManagementApi.d.ts +90 -0
- package/dist/esm/apis/CompanyManagementApi.js +123 -0
- package/dist/esm/apis/ConnectionParametersApi.d.ts +98 -0
- package/dist/esm/apis/ConnectionParametersApi.js +151 -0
- package/dist/esm/apis/ConnectionTypesApi.d.ts +90 -0
- package/dist/esm/apis/ConnectionTypesApi.js +124 -0
- package/dist/esm/apis/ConnectionsApi.d.ts +156 -0
- package/dist/esm/apis/ConnectionsApi.js +236 -0
- package/dist/esm/apis/ConnectionsAuthorizationApi.d.ts +74 -0
- package/dist/esm/apis/ConnectionsAuthorizationApi.js +108 -0
- package/dist/esm/apis/ConnectionsClientCredentialsApi.d.ts +72 -0
- package/dist/esm/apis/ConnectionsClientCredentialsApi.js +100 -0
- package/dist/esm/apis/ConsolidationApi.d.ts +192 -0
- package/dist/esm/apis/ConsolidationApi.js +297 -0
- package/dist/esm/apis/CostCenterApi.d.ts +130 -0
- package/dist/esm/apis/CostCenterApi.js +188 -0
- package/dist/esm/apis/DashboardsApi.d.ts +306 -0
- package/dist/esm/apis/DashboardsApi.js +515 -0
- package/dist/esm/apis/DataSynchronizationApi.d.ts +92 -0
- package/dist/esm/apis/DataSynchronizationApi.js +127 -0
- package/dist/esm/apis/ExplanationApi.d.ts +110 -0
- package/dist/esm/apis/ExplanationApi.js +227 -0
- package/dist/esm/apis/FormatsApi.d.ts +46 -0
- package/dist/esm/apis/FormatsApi.js +48 -0
- package/dist/esm/apis/FormulasApi.d.ts +62 -0
- package/dist/esm/apis/FormulasApi.js +81 -0
- package/dist/esm/apis/FuturesApi.d.ts +136 -0
- package/dist/esm/apis/FuturesApi.js +204 -0
- package/dist/esm/apis/IdentityLinkingApi.d.ts +46 -0
- package/dist/esm/apis/IdentityLinkingApi.js +49 -0
- package/dist/esm/apis/InputApi.d.ts +55 -0
- package/dist/esm/apis/InputApi.js +57 -0
- package/dist/esm/apis/IntercompanyMatchingApi.d.ts +174 -0
- package/dist/esm/apis/IntercompanyMatchingApi.js +260 -0
- package/dist/esm/apis/InvitationsApi.d.ts +156 -0
- package/dist/esm/apis/InvitationsApi.js +235 -0
- package/dist/esm/apis/MaintenanceApi.d.ts +182 -0
- package/dist/esm/apis/MaintenanceApi.js +278 -0
- package/dist/esm/apis/ManualInputApi.d.ts +204 -0
- package/dist/esm/apis/ManualInputApi.js +328 -0
- package/dist/esm/apis/ModulesApi.d.ts +88 -0
- package/dist/esm/apis/ModulesApi.js +112 -0
- package/dist/esm/apis/NodePurposesApi.d.ts +68 -0
- package/dist/esm/apis/NodePurposesApi.js +86 -0
- package/dist/esm/apis/ProfileApi.d.ts +85 -0
- package/dist/esm/apis/ProfileApi.js +114 -0
- package/dist/esm/apis/RelationsApi.d.ts +46 -0
- package/dist/esm/apis/RelationsApi.js +48 -0
- package/dist/esm/apis/ReportGroupsApi.d.ts +72 -0
- package/dist/esm/apis/ReportGroupsApi.js +92 -0
- package/dist/esm/apis/ReportingApi.d.ts +267 -0
- package/dist/esm/apis/ReportingApi.js +379 -0
- package/dist/esm/apis/ReportingPeriodsApi.d.ts +46 -0
- package/dist/esm/apis/ReportingPeriodsApi.js +48 -0
- package/dist/esm/apis/SourceAccountsApi.d.ts +46 -0
- package/dist/esm/apis/SourceAccountsApi.js +48 -0
- package/dist/esm/apis/StructureApi.d.ts +134 -0
- package/dist/esm/apis/StructureApi.js +163 -0
- package/dist/esm/apis/StructureDefinitionApi.d.ts +164 -0
- package/dist/esm/apis/StructureDefinitionApi.js +259 -0
- package/dist/esm/apis/StructureImprovementApi.d.ts +70 -0
- package/dist/esm/apis/StructureImprovementApi.js +91 -0
- package/dist/esm/apis/TemplatesApi.d.ts +120 -0
- package/dist/esm/apis/TemplatesApi.js +178 -0
- package/dist/esm/apis/TemplatesGenerationApi.d.ts +66 -0
- package/dist/esm/apis/TemplatesGenerationApi.js +85 -0
- package/dist/esm/apis/TenantIntercompanySettingsApi.d.ts +90 -0
- package/dist/esm/apis/TenantIntercompanySettingsApi.js +123 -0
- package/dist/esm/apis/TenantsApi.d.ts +124 -0
- package/dist/esm/apis/TenantsApi.js +180 -0
- package/dist/esm/apis/TransactionDetailsApi.d.ts +50 -0
- package/dist/esm/apis/TransactionDetailsApi.js +57 -0
- package/dist/esm/apis/UsersApi.d.ts +114 -0
- package/dist/esm/apis/UsersApi.js +165 -0
- package/dist/esm/apis/WebhooksApi.d.ts +68 -0
- package/dist/esm/apis/WebhooksApi.js +86 -0
- package/dist/esm/apis/WizardApi.d.ts +74 -0
- package/dist/esm/apis/WizardApi.js +101 -0
- package/dist/esm/apis/index.d.ts +46 -0
- package/dist/esm/apis/index.js +48 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/index.d.ts +15406 -0
- package/dist/esm/models/index.js +1279 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/index.d.ts +15406 -0
- package/dist/models/index.js +1285 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +21 -0
- package/src/apis/AiApi.ts +1043 -0
- package/src/apis/AnalyticsApi.ts +925 -0
- package/src/apis/AsyncOperationsApi.ts +112 -0
- package/src/apis/BusinessModelModulesApi.ts +649 -0
- package/src/apis/ColorPalettesApi.ts +148 -0
- package/src/apis/CommentsApi.ts +308 -0
- package/src/apis/CompaniesApi.ts +260 -0
- package/src/apis/CompanyManagementApi.ts +270 -0
- package/src/apis/ConnectionParametersApi.ts +339 -0
- package/src/apis/ConnectionTypesApi.ts +280 -0
- package/src/apis/ConnectionsApi.ts +533 -0
- package/src/apis/ConnectionsAuthorizationApi.ts +241 -0
- package/src/apis/ConnectionsClientCredentialsApi.ts +224 -0
- package/src/apis/ConsolidationApi.ts +682 -0
- package/src/apis/CostCenterApi.ts +428 -0
- package/src/apis/DashboardsApi.ts +1179 -0
- package/src/apis/DataSynchronizationApi.ts +288 -0
- package/src/apis/ExplanationApi.ts +504 -0
- package/src/apis/FormatsApi.ts +96 -0
- package/src/apis/FormulasApi.ts +154 -0
- package/src/apis/FuturesApi.ts +463 -0
- package/src/apis/IdentityLinkingApi.ts +101 -0
- package/src/apis/InputApi.ts +126 -0
- package/src/apis/IntercompanyMatchingApi.ts +588 -0
- package/src/apis/InvitationsApi.ts +523 -0
- package/src/apis/MaintenanceApi.ts +597 -0
- package/src/apis/ManualInputApi.ts +771 -0
- package/src/apis/ModulesApi.ts +246 -0
- package/src/apis/NodePurposesApi.ts +184 -0
- package/src/apis/ProfileApi.ts +203 -0
- package/src/apis/RelationsApi.ts +99 -0
- package/src/apis/ReportGroupsApi.ts +205 -0
- package/src/apis/ReportingApi.ts +851 -0
- package/src/apis/ReportingPeriodsApi.ts +99 -0
- package/src/apis/SourceAccountsApi.ts +102 -0
- package/src/apis/StructureApi.ts +334 -0
- package/src/apis/StructureDefinitionApi.ts +601 -0
- package/src/apis/StructureImprovementApi.ts +214 -0
- package/src/apis/TemplatesApi.ts +334 -0
- package/src/apis/TemplatesGenerationApi.ts +187 -0
- package/src/apis/TenantIntercompanySettingsApi.ts +286 -0
- package/src/apis/TenantsApi.ts +374 -0
- package/src/apis/TransactionDetailsApi.ts +127 -0
- package/src/apis/UsersApi.ts +356 -0
- package/src/apis/WebhooksApi.ts +193 -0
- package/src/apis/WizardApi.ts +230 -0
- package/src/apis/index.ts +48 -0
- package/src/index.ts +5 -0
- package/src/models/index.ts +15625 -0
- package/src/runtime.ts +469 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +11 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UsersApi = void 0;
|
|
13
|
+
const runtime = require("../runtime");
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
class UsersApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
*/
|
|
20
|
+
deleteRaw(requestParameters, initOverrides) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
if (requestParameters['tenantCode'] == null) {
|
|
23
|
+
throw new runtime.RequiredError('tenantCode', 'Required parameter "tenantCode" was null or undefined when calling delete().');
|
|
24
|
+
}
|
|
25
|
+
if (requestParameters['userId'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling delete().');
|
|
27
|
+
}
|
|
28
|
+
const queryParameters = {};
|
|
29
|
+
const headerParameters = {};
|
|
30
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
31
|
+
const token = this.configuration.accessToken;
|
|
32
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
33
|
+
if (tokenString) {
|
|
34
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const response = yield this.request({
|
|
38
|
+
path: `/api/v1/t/{tenant_code}/users/{user_id}`
|
|
39
|
+
.replace(`{${'tenant_code'}}`, encodeURIComponent(String(requestParameters['tenantCode'])))
|
|
40
|
+
.replace(`{${'user_id'}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
41
|
+
method: 'DELETE',
|
|
42
|
+
headers: headerParameters,
|
|
43
|
+
query: queryParameters,
|
|
44
|
+
}, initOverrides);
|
|
45
|
+
return new runtime.VoidApiResponse(response);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
*/
|
|
50
|
+
delete(tenantCode, userId, initOverrides) {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
yield this.deleteRaw({ tenantCode: tenantCode, userId: userId }, initOverrides);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
*/
|
|
57
|
+
getRaw(requestParameters, initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
if (requestParameters['tenantCode'] == null) {
|
|
60
|
+
throw new runtime.RequiredError('tenantCode', 'Required parameter "tenantCode" was null or undefined when calling get().');
|
|
61
|
+
}
|
|
62
|
+
const queryParameters = {};
|
|
63
|
+
const headerParameters = {};
|
|
64
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
65
|
+
const token = this.configuration.accessToken;
|
|
66
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
67
|
+
if (tokenString) {
|
|
68
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const response = yield this.request({
|
|
72
|
+
path: `/api/v1/t/{tenant_code}/users`.replace(`{${'tenant_code'}}`, encodeURIComponent(String(requestParameters['tenantCode']))),
|
|
73
|
+
method: 'GET',
|
|
74
|
+
headers: headerParameters,
|
|
75
|
+
query: queryParameters,
|
|
76
|
+
}, initOverrides);
|
|
77
|
+
return new runtime.JSONApiResponse(response);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
*/
|
|
82
|
+
get(tenantCode, initOverrides) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
const response = yield this.getRaw({ tenantCode: tenantCode }, initOverrides);
|
|
85
|
+
return yield response.value();
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
*/
|
|
90
|
+
getItemRaw(requestParameters, initOverrides) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
if (requestParameters['tenantCode'] == null) {
|
|
93
|
+
throw new runtime.RequiredError('tenantCode', 'Required parameter "tenantCode" was null or undefined when calling getItem().');
|
|
94
|
+
}
|
|
95
|
+
if (requestParameters['userId'] == null) {
|
|
96
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getItem().');
|
|
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/t/{tenant_code}/users/{user_id}`
|
|
109
|
+
.replace(`{${'tenant_code'}}`, encodeURIComponent(String(requestParameters['tenantCode'])))
|
|
110
|
+
.replace(`{${'user_id'}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
111
|
+
method: 'GET',
|
|
112
|
+
headers: headerParameters,
|
|
113
|
+
query: queryParameters,
|
|
114
|
+
}, initOverrides);
|
|
115
|
+
return new runtime.JSONApiResponse(response);
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
*/
|
|
120
|
+
getItem(tenantCode, userId, initOverrides) {
|
|
121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
const response = yield this.getItemRaw({ tenantCode: tenantCode, userId: userId }, initOverrides);
|
|
123
|
+
return yield response.value();
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
128
|
+
putRaw(requestParameters, initOverrides) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
if (requestParameters['tenantCode'] == null) {
|
|
131
|
+
throw new runtime.RequiredError('tenantCode', 'Required parameter "tenantCode" was null or undefined when calling put().');
|
|
132
|
+
}
|
|
133
|
+
if (requestParameters['userId'] == null) {
|
|
134
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling put().');
|
|
135
|
+
}
|
|
136
|
+
if (requestParameters['authorization'] == null) {
|
|
137
|
+
throw new runtime.RequiredError('authorization', 'Required parameter "authorization" was null or undefined when calling put().');
|
|
138
|
+
}
|
|
139
|
+
const queryParameters = {};
|
|
140
|
+
const headerParameters = {};
|
|
141
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
142
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
143
|
+
const token = this.configuration.accessToken;
|
|
144
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
145
|
+
if (tokenString) {
|
|
146
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
const response = yield this.request({
|
|
150
|
+
path: `/api/v1/t/{tenant_code}/users/{user_id}/authorization`
|
|
151
|
+
.replace(`{${'tenant_code'}}`, encodeURIComponent(String(requestParameters['tenantCode'])))
|
|
152
|
+
.replace(`{${'user_id'}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
153
|
+
method: 'PUT',
|
|
154
|
+
headers: headerParameters,
|
|
155
|
+
query: queryParameters,
|
|
156
|
+
body: requestParameters['authorization'],
|
|
157
|
+
}, initOverrides);
|
|
158
|
+
return new runtime.VoidApiResponse(response);
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
*/
|
|
163
|
+
put(tenantCode, userId, authorization, initOverrides) {
|
|
164
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
165
|
+
yield this.putRaw({ tenantCode: tenantCode, userId: userId, authorization: authorization }, initOverrides);
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.UsersApi = UsersApi;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { WebhooksSettingsPostRequest, WebhooksSettingsResponse } from '../models/index';
|
|
13
|
+
import * as runtime from '../runtime';
|
|
14
|
+
export interface WebhooksApiGetWebhooksVersionRequest {
|
|
15
|
+
companyCode: string;
|
|
16
|
+
}
|
|
17
|
+
export interface WebhooksApiPostWebhooksVersionRequest {
|
|
18
|
+
companyCode: string;
|
|
19
|
+
webhooksSettingsPostRequest: WebhooksSettingsPostRequest;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* WebhooksApi - interface
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
* @interface WebhooksApiInterface
|
|
26
|
+
*/
|
|
27
|
+
export interface WebhooksApiInterface {
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @param {string} companyCode
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
* @memberof WebhooksApiInterface
|
|
34
|
+
*/
|
|
35
|
+
getWebhooksVersionRaw(requestParameters: WebhooksApiGetWebhooksVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhooksSettingsResponse>>;
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
getWebhooksVersion(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhooksSettingsResponse>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @param {string} companyCode
|
|
42
|
+
* @param {WebhooksSettingsPostRequest} webhooksSettingsPostRequest
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
* @memberof WebhooksApiInterface
|
|
46
|
+
*/
|
|
47
|
+
postWebhooksVersionRaw(requestParameters: WebhooksApiPostWebhooksVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhooksSettingsResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
*/
|
|
50
|
+
postWebhooksVersion(companyCode: string, webhooksSettingsPostRequest: WebhooksSettingsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhooksSettingsResponse>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
export declare class WebhooksApi extends runtime.BaseAPI implements WebhooksApiInterface {
|
|
56
|
+
/**
|
|
57
|
+
*/
|
|
58
|
+
getWebhooksVersionRaw(requestParameters: WebhooksApiGetWebhooksVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhooksSettingsResponse>>;
|
|
59
|
+
/**
|
|
60
|
+
*/
|
|
61
|
+
getWebhooksVersion(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhooksSettingsResponse>;
|
|
62
|
+
/**
|
|
63
|
+
*/
|
|
64
|
+
postWebhooksVersionRaw(requestParameters: WebhooksApiPostWebhooksVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhooksSettingsResponse>>;
|
|
65
|
+
/**
|
|
66
|
+
*/
|
|
67
|
+
postWebhooksVersion(companyCode: string, webhooksSettingsPostRequest: WebhooksSettingsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhooksSettingsResponse>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WebhooksApi = void 0;
|
|
13
|
+
const runtime = require("../runtime");
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
class WebhooksApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
*/
|
|
20
|
+
getWebhooksVersionRaw(requestParameters, initOverrides) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
if (requestParameters['companyCode'] == null) {
|
|
23
|
+
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling getWebhooksVersion().');
|
|
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}/webhooks/settings`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
36
|
+
method: 'GET',
|
|
37
|
+
headers: headerParameters,
|
|
38
|
+
query: queryParameters,
|
|
39
|
+
}, initOverrides);
|
|
40
|
+
return new runtime.JSONApiResponse(response);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
*/
|
|
45
|
+
getWebhooksVersion(companyCode, initOverrides) {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
+
const response = yield this.getWebhooksVersionRaw({ companyCode: companyCode }, initOverrides);
|
|
48
|
+
return yield response.value();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*/
|
|
53
|
+
postWebhooksVersionRaw(requestParameters, initOverrides) {
|
|
54
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
if (requestParameters['companyCode'] == null) {
|
|
56
|
+
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling postWebhooksVersion().');
|
|
57
|
+
}
|
|
58
|
+
if (requestParameters['webhooksSettingsPostRequest'] == null) {
|
|
59
|
+
throw new runtime.RequiredError('webhooksSettingsPostRequest', 'Required parameter "webhooksSettingsPostRequest" was null or undefined when calling postWebhooksVersion().');
|
|
60
|
+
}
|
|
61
|
+
const queryParameters = {};
|
|
62
|
+
const headerParameters = {};
|
|
63
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
64
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
65
|
+
const token = this.configuration.accessToken;
|
|
66
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
67
|
+
if (tokenString) {
|
|
68
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
const response = yield this.request({
|
|
72
|
+
path: `/api/v1/c/{company_code}/webhooks/settings`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
73
|
+
method: 'POST',
|
|
74
|
+
headers: headerParameters,
|
|
75
|
+
query: queryParameters,
|
|
76
|
+
body: requestParameters['webhooksSettingsPostRequest'],
|
|
77
|
+
}, initOverrides);
|
|
78
|
+
return new runtime.JSONApiResponse(response);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
*/
|
|
83
|
+
postWebhooksVersion(companyCode, webhooksSettingsPostRequest, initOverrides) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
const response = yield this.postWebhooksVersionRaw({ companyCode: companyCode, webhooksSettingsPostRequest: webhooksSettingsPostRequest }, initOverrides);
|
|
86
|
+
return yield response.value();
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.WebhooksApi = WebhooksApi;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { TriggeredOperation, WizardGenerateRequest, WizardResult } from '../models/index';
|
|
13
|
+
import * as runtime from '../runtime';
|
|
14
|
+
export interface WizardApiApplyRequest {
|
|
15
|
+
companyCode: string;
|
|
16
|
+
templateCode: string;
|
|
17
|
+
wizardGenerateRequest: WizardGenerateRequest;
|
|
18
|
+
}
|
|
19
|
+
export interface WizardApiPreviewRequest {
|
|
20
|
+
companyCode: string;
|
|
21
|
+
templateCode: string;
|
|
22
|
+
wizardGenerateRequest: WizardGenerateRequest;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* WizardApi - interface
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface WizardApiInterface
|
|
29
|
+
*/
|
|
30
|
+
export interface WizardApiInterface {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @param {string} companyCode
|
|
34
|
+
* @param {string} templateCode
|
|
35
|
+
* @param {WizardGenerateRequest} wizardGenerateRequest
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
* @memberof WizardApiInterface
|
|
39
|
+
*/
|
|
40
|
+
applyRaw(requestParameters: WizardApiApplyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TriggeredOperation>>;
|
|
41
|
+
/**
|
|
42
|
+
*/
|
|
43
|
+
apply(companyCode: string, templateCode: string, wizardGenerateRequest: WizardGenerateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TriggeredOperation>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param {string} companyCode
|
|
47
|
+
* @param {string} templateCode
|
|
48
|
+
* @param {WizardGenerateRequest} wizardGenerateRequest
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
* @memberof WizardApiInterface
|
|
52
|
+
*/
|
|
53
|
+
previewRaw(requestParameters: WizardApiPreviewRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WizardResult>>;
|
|
54
|
+
/**
|
|
55
|
+
*/
|
|
56
|
+
preview(companyCode: string, templateCode: string, wizardGenerateRequest: WizardGenerateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WizardResult>;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class WizardApi extends runtime.BaseAPI implements WizardApiInterface {
|
|
62
|
+
/**
|
|
63
|
+
*/
|
|
64
|
+
applyRaw(requestParameters: WizardApiApplyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TriggeredOperation>>;
|
|
65
|
+
/**
|
|
66
|
+
*/
|
|
67
|
+
apply(companyCode: string, templateCode: string, wizardGenerateRequest: WizardGenerateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TriggeredOperation>;
|
|
68
|
+
/**
|
|
69
|
+
*/
|
|
70
|
+
previewRaw(requestParameters: WizardApiPreviewRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WizardResult>>;
|
|
71
|
+
/**
|
|
72
|
+
*/
|
|
73
|
+
preview(companyCode: string, templateCode: string, wizardGenerateRequest: WizardGenerateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WizardResult>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.WizardApi = void 0;
|
|
13
|
+
const runtime = require("../runtime");
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
class WizardApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
*/
|
|
20
|
+
applyRaw(requestParameters, initOverrides) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
if (requestParameters['companyCode'] == null) {
|
|
23
|
+
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling apply().');
|
|
24
|
+
}
|
|
25
|
+
if (requestParameters['templateCode'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('templateCode', 'Required parameter "templateCode" was null or undefined when calling apply().');
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['wizardGenerateRequest'] == null) {
|
|
29
|
+
throw new runtime.RequiredError('wizardGenerateRequest', 'Required parameter "wizardGenerateRequest" was null or undefined when calling apply().');
|
|
30
|
+
}
|
|
31
|
+
const queryParameters = {};
|
|
32
|
+
const headerParameters = {};
|
|
33
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
34
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
35
|
+
const token = this.configuration.accessToken;
|
|
36
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
37
|
+
if (tokenString) {
|
|
38
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
const response = yield this.request({
|
|
42
|
+
path: `/api/v1/c/{company_code}/wizard/{template_code}/apply`
|
|
43
|
+
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
44
|
+
.replace(`{${'template_code'}}`, encodeURIComponent(String(requestParameters['templateCode']))),
|
|
45
|
+
method: 'POST',
|
|
46
|
+
headers: headerParameters,
|
|
47
|
+
query: queryParameters,
|
|
48
|
+
body: requestParameters['wizardGenerateRequest'],
|
|
49
|
+
}, initOverrides);
|
|
50
|
+
return new runtime.JSONApiResponse(response);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
*/
|
|
55
|
+
apply(companyCode, templateCode, wizardGenerateRequest, initOverrides) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const response = yield this.applyRaw({ companyCode: companyCode, templateCode: templateCode, wizardGenerateRequest: wizardGenerateRequest }, initOverrides);
|
|
58
|
+
return yield response.value();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*/
|
|
63
|
+
previewRaw(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
if (requestParameters['companyCode'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('companyCode', 'Required parameter "companyCode" was null or undefined when calling preview().');
|
|
67
|
+
}
|
|
68
|
+
if (requestParameters['templateCode'] == null) {
|
|
69
|
+
throw new runtime.RequiredError('templateCode', 'Required parameter "templateCode" was null or undefined when calling preview().');
|
|
70
|
+
}
|
|
71
|
+
if (requestParameters['wizardGenerateRequest'] == null) {
|
|
72
|
+
throw new runtime.RequiredError('wizardGenerateRequest', 'Required parameter "wizardGenerateRequest" was null or undefined when calling preview().');
|
|
73
|
+
}
|
|
74
|
+
const queryParameters = {};
|
|
75
|
+
const headerParameters = {};
|
|
76
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const response = yield this.request({
|
|
85
|
+
path: `/api/v1/c/{company_code}/wizard/{template_code}/preview`
|
|
86
|
+
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
87
|
+
.replace(`{${'template_code'}}`, encodeURIComponent(String(requestParameters['templateCode']))),
|
|
88
|
+
method: 'POST',
|
|
89
|
+
headers: headerParameters,
|
|
90
|
+
query: queryParameters,
|
|
91
|
+
body: requestParameters['wizardGenerateRequest'],
|
|
92
|
+
}, initOverrides);
|
|
93
|
+
return new runtime.JSONApiResponse(response);
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
*/
|
|
98
|
+
preview(companyCode, templateCode, wizardGenerateRequest, initOverrides) {
|
|
99
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
100
|
+
const response = yield this.previewRaw({ companyCode: companyCode, templateCode: templateCode, wizardGenerateRequest: wizardGenerateRequest }, initOverrides);
|
|
101
|
+
return yield response.value();
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.WizardApi = WizardApi;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export * from './AiApi';
|
|
2
|
+
export * from './AnalyticsApi';
|
|
3
|
+
export * from './AsyncOperationsApi';
|
|
4
|
+
export * from './BusinessModelModulesApi';
|
|
5
|
+
export * from './ColorPalettesApi';
|
|
6
|
+
export * from './CommentsApi';
|
|
7
|
+
export * from './CompaniesApi';
|
|
8
|
+
export * from './CompanyManagementApi';
|
|
9
|
+
export * from './ConnectionParametersApi';
|
|
10
|
+
export * from './ConnectionTypesApi';
|
|
11
|
+
export * from './ConnectionsApi';
|
|
12
|
+
export * from './ConnectionsAuthorizationApi';
|
|
13
|
+
export * from './ConnectionsClientCredentialsApi';
|
|
14
|
+
export * from './ConsolidationApi';
|
|
15
|
+
export * from './CostCenterApi';
|
|
16
|
+
export * from './DashboardsApi';
|
|
17
|
+
export * from './DataSynchronizationApi';
|
|
18
|
+
export * from './ExplanationApi';
|
|
19
|
+
export * from './FormatsApi';
|
|
20
|
+
export * from './FormulasApi';
|
|
21
|
+
export * from './FuturesApi';
|
|
22
|
+
export * from './IdentityLinkingApi';
|
|
23
|
+
export * from './InputApi';
|
|
24
|
+
export * from './IntercompanyMatchingApi';
|
|
25
|
+
export * from './InvitationsApi';
|
|
26
|
+
export * from './MaintenanceApi';
|
|
27
|
+
export * from './ManualInputApi';
|
|
28
|
+
export * from './ModulesApi';
|
|
29
|
+
export * from './NodePurposesApi';
|
|
30
|
+
export * from './ProfileApi';
|
|
31
|
+
export * from './RelationsApi';
|
|
32
|
+
export * from './ReportGroupsApi';
|
|
33
|
+
export * from './ReportingApi';
|
|
34
|
+
export * from './ReportingPeriodsApi';
|
|
35
|
+
export * from './SourceAccountsApi';
|
|
36
|
+
export * from './StructureApi';
|
|
37
|
+
export * from './StructureDefinitionApi';
|
|
38
|
+
export * from './StructureImprovementApi';
|
|
39
|
+
export * from './TemplatesApi';
|
|
40
|
+
export * from './TemplatesGenerationApi';
|
|
41
|
+
export * from './TenantIntercompanySettingsApi';
|
|
42
|
+
export * from './TenantsApi';
|
|
43
|
+
export * from './TransactionDetailsApi';
|
|
44
|
+
export * from './UsersApi';
|
|
45
|
+
export * from './WebhooksApi';
|
|
46
|
+
export * from './WizardApi';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AiApi"), exports);
|
|
20
|
+
__exportStar(require("./AnalyticsApi"), exports);
|
|
21
|
+
__exportStar(require("./AsyncOperationsApi"), exports);
|
|
22
|
+
__exportStar(require("./BusinessModelModulesApi"), exports);
|
|
23
|
+
__exportStar(require("./ColorPalettesApi"), exports);
|
|
24
|
+
__exportStar(require("./CommentsApi"), exports);
|
|
25
|
+
__exportStar(require("./CompaniesApi"), exports);
|
|
26
|
+
__exportStar(require("./CompanyManagementApi"), exports);
|
|
27
|
+
__exportStar(require("./ConnectionParametersApi"), exports);
|
|
28
|
+
__exportStar(require("./ConnectionTypesApi"), exports);
|
|
29
|
+
__exportStar(require("./ConnectionsApi"), exports);
|
|
30
|
+
__exportStar(require("./ConnectionsAuthorizationApi"), exports);
|
|
31
|
+
__exportStar(require("./ConnectionsClientCredentialsApi"), exports);
|
|
32
|
+
__exportStar(require("./ConsolidationApi"), exports);
|
|
33
|
+
__exportStar(require("./CostCenterApi"), exports);
|
|
34
|
+
__exportStar(require("./DashboardsApi"), exports);
|
|
35
|
+
__exportStar(require("./DataSynchronizationApi"), exports);
|
|
36
|
+
__exportStar(require("./ExplanationApi"), exports);
|
|
37
|
+
__exportStar(require("./FormatsApi"), exports);
|
|
38
|
+
__exportStar(require("./FormulasApi"), exports);
|
|
39
|
+
__exportStar(require("./FuturesApi"), exports);
|
|
40
|
+
__exportStar(require("./IdentityLinkingApi"), exports);
|
|
41
|
+
__exportStar(require("./InputApi"), exports);
|
|
42
|
+
__exportStar(require("./IntercompanyMatchingApi"), exports);
|
|
43
|
+
__exportStar(require("./InvitationsApi"), exports);
|
|
44
|
+
__exportStar(require("./MaintenanceApi"), exports);
|
|
45
|
+
__exportStar(require("./ManualInputApi"), exports);
|
|
46
|
+
__exportStar(require("./ModulesApi"), exports);
|
|
47
|
+
__exportStar(require("./NodePurposesApi"), exports);
|
|
48
|
+
__exportStar(require("./ProfileApi"), exports);
|
|
49
|
+
__exportStar(require("./RelationsApi"), exports);
|
|
50
|
+
__exportStar(require("./ReportGroupsApi"), exports);
|
|
51
|
+
__exportStar(require("./ReportingApi"), exports);
|
|
52
|
+
__exportStar(require("./ReportingPeriodsApi"), exports);
|
|
53
|
+
__exportStar(require("./SourceAccountsApi"), exports);
|
|
54
|
+
__exportStar(require("./StructureApi"), exports);
|
|
55
|
+
__exportStar(require("./StructureDefinitionApi"), exports);
|
|
56
|
+
__exportStar(require("./StructureImprovementApi"), exports);
|
|
57
|
+
__exportStar(require("./TemplatesApi"), exports);
|
|
58
|
+
__exportStar(require("./TemplatesGenerationApi"), exports);
|
|
59
|
+
__exportStar(require("./TenantIntercompanySettingsApi"), exports);
|
|
60
|
+
__exportStar(require("./TenantsApi"), exports);
|
|
61
|
+
__exportStar(require("./TransactionDetailsApi"), exports);
|
|
62
|
+
__exportStar(require("./UsersApi"), exports);
|
|
63
|
+
__exportStar(require("./WebhooksApi"), exports);
|
|
64
|
+
__exportStar(require("./WizardApi"), exports);
|