@smartbooks-ai/api-client 0.0.8 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/apis/AppsApi.d.ts +169 -0
- package/dist/src/apis/AppsApi.js +257 -0
- package/dist/src/apis/IntercompanyMatchingApi.js +5 -5
- package/dist/src/apis/MaintenanceApi.d.ts +33 -1
- package/dist/src/apis/MaintenanceApi.js +60 -0
- package/dist/src/apis/StructureApi.js +3 -3
- package/dist/src/apis/index.d.ts +1 -0
- package/dist/src/apis/index.js +1 -0
- package/dist/src/models/index.d.ts +234 -1
- package/dist/src/models/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,169 @@
|
|
|
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 { AppAccessUpdateRequest, AppCreateRequest, AppUpdateRequest, AppWithDetails, Apps, AppsList } from '../models/index';
|
|
13
|
+
import * as runtime from '../runtime';
|
|
14
|
+
export interface AppsApiCreateAppRequest {
|
|
15
|
+
appCreateRequest: AppCreateRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface AppsApiDeleteAppRequest {
|
|
18
|
+
id: string;
|
|
19
|
+
}
|
|
20
|
+
export interface AppsApiGetAppRequest {
|
|
21
|
+
id: string;
|
|
22
|
+
}
|
|
23
|
+
export interface AppsApiUpdateAppRequest {
|
|
24
|
+
id: string;
|
|
25
|
+
appUpdateRequest: AppUpdateRequest;
|
|
26
|
+
}
|
|
27
|
+
export interface AppsApiUpdateAppAccessRequest {
|
|
28
|
+
id: string;
|
|
29
|
+
appAccessUpdateRequest: AppAccessUpdateRequest;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* AppsApi - interface
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @interface AppsApiInterface
|
|
36
|
+
*/
|
|
37
|
+
export interface AppsApiInterface {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param {AppCreateRequest} appCreateRequest
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
* @memberof AppsApiInterface
|
|
44
|
+
*/
|
|
45
|
+
createAppRaw(requestParameters: AppsApiCreateAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppWithDetails>>;
|
|
46
|
+
/**
|
|
47
|
+
*/
|
|
48
|
+
createApp(appCreateRequest: AppCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppWithDetails>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @param {string} id
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
* @memberof AppsApiInterface
|
|
55
|
+
*/
|
|
56
|
+
deleteAppRaw(requestParameters: AppsApiDeleteAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
57
|
+
/**
|
|
58
|
+
*/
|
|
59
|
+
deleteApp(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @param {string} id
|
|
63
|
+
* @param {*} [options] Override http request option.
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
* @memberof AppsApiInterface
|
|
66
|
+
*/
|
|
67
|
+
getAppRaw(requestParameters: AppsApiGetAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppWithDetails>>;
|
|
68
|
+
/**
|
|
69
|
+
*/
|
|
70
|
+
getApp(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppWithDetails>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
* @memberof AppsApiInterface
|
|
76
|
+
*/
|
|
77
|
+
listAppsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppsList>>;
|
|
78
|
+
/**
|
|
79
|
+
*/
|
|
80
|
+
listApps(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppsList>;
|
|
81
|
+
/**
|
|
82
|
+
* Returns a list of apps that the current user has access to.
|
|
83
|
+
* @summary List apps available for the current user
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
* @memberof AppsApiInterface
|
|
87
|
+
*/
|
|
88
|
+
myAppsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Apps>>;
|
|
89
|
+
/**
|
|
90
|
+
* Returns a list of apps that the current user has access to.
|
|
91
|
+
* List apps available for the current user
|
|
92
|
+
*/
|
|
93
|
+
myApps(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Apps>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @param {string} id
|
|
97
|
+
* @param {AppUpdateRequest} appUpdateRequest
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
* @memberof AppsApiInterface
|
|
101
|
+
*/
|
|
102
|
+
updateAppRaw(requestParameters: AppsApiUpdateAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
103
|
+
/**
|
|
104
|
+
*/
|
|
105
|
+
updateApp(id: string, appUpdateRequest: AppUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @param {string} id
|
|
109
|
+
* @param {AppAccessUpdateRequest} appAccessUpdateRequest
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @throws {RequiredError}
|
|
112
|
+
* @memberof AppsApiInterface
|
|
113
|
+
*/
|
|
114
|
+
updateAppAccessRaw(requestParameters: AppsApiUpdateAppAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
115
|
+
/**
|
|
116
|
+
*/
|
|
117
|
+
updateAppAccess(id: string, appAccessUpdateRequest: AppAccessUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
*/
|
|
122
|
+
export declare class AppsApi extends runtime.BaseAPI implements AppsApiInterface {
|
|
123
|
+
/**
|
|
124
|
+
*/
|
|
125
|
+
createAppRaw(requestParameters: AppsApiCreateAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppWithDetails>>;
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
128
|
+
createApp(appCreateRequest: AppCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppWithDetails>;
|
|
129
|
+
/**
|
|
130
|
+
*/
|
|
131
|
+
deleteAppRaw(requestParameters: AppsApiDeleteAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
132
|
+
/**
|
|
133
|
+
*/
|
|
134
|
+
deleteApp(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
135
|
+
/**
|
|
136
|
+
*/
|
|
137
|
+
getAppRaw(requestParameters: AppsApiGetAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppWithDetails>>;
|
|
138
|
+
/**
|
|
139
|
+
*/
|
|
140
|
+
getApp(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppWithDetails>;
|
|
141
|
+
/**
|
|
142
|
+
*/
|
|
143
|
+
listAppsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AppsList>>;
|
|
144
|
+
/**
|
|
145
|
+
*/
|
|
146
|
+
listApps(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AppsList>;
|
|
147
|
+
/**
|
|
148
|
+
* Returns a list of apps that the current user has access to.
|
|
149
|
+
* List apps available for the current user
|
|
150
|
+
*/
|
|
151
|
+
myAppsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Apps>>;
|
|
152
|
+
/**
|
|
153
|
+
* Returns a list of apps that the current user has access to.
|
|
154
|
+
* List apps available for the current user
|
|
155
|
+
*/
|
|
156
|
+
myApps(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Apps>;
|
|
157
|
+
/**
|
|
158
|
+
*/
|
|
159
|
+
updateAppRaw(requestParameters: AppsApiUpdateAppRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
160
|
+
/**
|
|
161
|
+
*/
|
|
162
|
+
updateApp(id: string, appUpdateRequest: AppUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
163
|
+
/**
|
|
164
|
+
*/
|
|
165
|
+
updateAppAccessRaw(requestParameters: AppsApiUpdateAppAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
166
|
+
/**
|
|
167
|
+
*/
|
|
168
|
+
updateAppAccess(id: string, appAccessUpdateRequest: AppAccessUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
169
|
+
}
|
|
@@ -0,0 +1,257 @@
|
|
|
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.AppsApi = void 0;
|
|
13
|
+
const runtime = require("../runtime");
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
class AppsApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
*/
|
|
20
|
+
createAppRaw(requestParameters, initOverrides) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
if (requestParameters['appCreateRequest'] == null) {
|
|
23
|
+
throw new runtime.RequiredError('appCreateRequest', 'Required parameter "appCreateRequest" was null or undefined when calling createApp().');
|
|
24
|
+
}
|
|
25
|
+
const queryParameters = {};
|
|
26
|
+
const headerParameters = {};
|
|
27
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
28
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
29
|
+
const token = this.configuration.accessToken;
|
|
30
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
31
|
+
if (tokenString) {
|
|
32
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const response = yield this.request({
|
|
36
|
+
path: `/api/v1/apps`,
|
|
37
|
+
method: 'POST',
|
|
38
|
+
headers: headerParameters,
|
|
39
|
+
query: queryParameters,
|
|
40
|
+
body: requestParameters['appCreateRequest'],
|
|
41
|
+
}, initOverrides);
|
|
42
|
+
return new runtime.JSONApiResponse(response);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
*/
|
|
47
|
+
createApp(appCreateRequest, initOverrides) {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
const response = yield this.createAppRaw({ appCreateRequest: appCreateRequest }, initOverrides);
|
|
50
|
+
return yield response.value();
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
*/
|
|
55
|
+
deleteAppRaw(requestParameters, initOverrides) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
if (requestParameters['id'] == null) {
|
|
58
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling deleteApp().');
|
|
59
|
+
}
|
|
60
|
+
const queryParameters = {};
|
|
61
|
+
const headerParameters = {};
|
|
62
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
63
|
+
const token = this.configuration.accessToken;
|
|
64
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
65
|
+
if (tokenString) {
|
|
66
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const response = yield this.request({
|
|
70
|
+
path: `/api/v1/apps/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
71
|
+
method: 'DELETE',
|
|
72
|
+
headers: headerParameters,
|
|
73
|
+
query: queryParameters,
|
|
74
|
+
}, initOverrides);
|
|
75
|
+
return new runtime.VoidApiResponse(response);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
*/
|
|
80
|
+
deleteApp(id, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
yield this.deleteAppRaw({ id: id }, initOverrides);
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
*/
|
|
87
|
+
getAppRaw(requestParameters, initOverrides) {
|
|
88
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
if (requestParameters['id'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApp().');
|
|
91
|
+
}
|
|
92
|
+
const queryParameters = {};
|
|
93
|
+
const headerParameters = {};
|
|
94
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
95
|
+
const token = this.configuration.accessToken;
|
|
96
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
97
|
+
if (tokenString) {
|
|
98
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
const response = yield this.request({
|
|
102
|
+
path: `/api/v1/apps/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
103
|
+
method: 'GET',
|
|
104
|
+
headers: headerParameters,
|
|
105
|
+
query: queryParameters,
|
|
106
|
+
}, initOverrides);
|
|
107
|
+
return new runtime.JSONApiResponse(response);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
*/
|
|
112
|
+
getApp(id, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
const response = yield this.getAppRaw({ id: id }, initOverrides);
|
|
115
|
+
return yield response.value();
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
*/
|
|
120
|
+
listAppsRaw(initOverrides) {
|
|
121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
const queryParameters = {};
|
|
123
|
+
const headerParameters = {};
|
|
124
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
125
|
+
const token = this.configuration.accessToken;
|
|
126
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
127
|
+
if (tokenString) {
|
|
128
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
const response = yield this.request({
|
|
132
|
+
path: `/api/v1/apps`,
|
|
133
|
+
method: 'GET',
|
|
134
|
+
headers: headerParameters,
|
|
135
|
+
query: queryParameters,
|
|
136
|
+
}, initOverrides);
|
|
137
|
+
return new runtime.JSONApiResponse(response);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
*/
|
|
142
|
+
listApps(initOverrides) {
|
|
143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
144
|
+
const response = yield this.listAppsRaw(initOverrides);
|
|
145
|
+
return yield response.value();
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Returns a list of apps that the current user has access to.
|
|
150
|
+
* List apps available for the current user
|
|
151
|
+
*/
|
|
152
|
+
myAppsRaw(initOverrides) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const queryParameters = {};
|
|
155
|
+
const headerParameters = {};
|
|
156
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
157
|
+
const token = this.configuration.accessToken;
|
|
158
|
+
const tokenString = yield token('bearerToken', ['profile:read']);
|
|
159
|
+
if (tokenString) {
|
|
160
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
const response = yield this.request({
|
|
164
|
+
path: `/api/v1/profile/apps`,
|
|
165
|
+
method: 'GET',
|
|
166
|
+
headers: headerParameters,
|
|
167
|
+
query: queryParameters,
|
|
168
|
+
}, initOverrides);
|
|
169
|
+
return new runtime.JSONApiResponse(response);
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Returns a list of apps that the current user has access to.
|
|
174
|
+
* List apps available for the current user
|
|
175
|
+
*/
|
|
176
|
+
myApps(initOverrides) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
const response = yield this.myAppsRaw(initOverrides);
|
|
179
|
+
return yield response.value();
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
*/
|
|
184
|
+
updateAppRaw(requestParameters, initOverrides) {
|
|
185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
if (requestParameters['id'] == null) {
|
|
187
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateApp().');
|
|
188
|
+
}
|
|
189
|
+
if (requestParameters['appUpdateRequest'] == null) {
|
|
190
|
+
throw new runtime.RequiredError('appUpdateRequest', 'Required parameter "appUpdateRequest" was null or undefined when calling updateApp().');
|
|
191
|
+
}
|
|
192
|
+
const queryParameters = {};
|
|
193
|
+
const headerParameters = {};
|
|
194
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
195
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
196
|
+
const token = this.configuration.accessToken;
|
|
197
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
198
|
+
if (tokenString) {
|
|
199
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
const response = yield this.request({
|
|
203
|
+
path: `/api/v1/apps/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
204
|
+
method: 'PATCH',
|
|
205
|
+
headers: headerParameters,
|
|
206
|
+
query: queryParameters,
|
|
207
|
+
body: requestParameters['appUpdateRequest'],
|
|
208
|
+
}, initOverrides);
|
|
209
|
+
return new runtime.VoidApiResponse(response);
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
*/
|
|
214
|
+
updateApp(id, appUpdateRequest, initOverrides) {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
yield this.updateAppRaw({ id: id, appUpdateRequest: appUpdateRequest }, initOverrides);
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
*/
|
|
221
|
+
updateAppAccessRaw(requestParameters, initOverrides) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
if (requestParameters['id'] == null) {
|
|
224
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateAppAccess().');
|
|
225
|
+
}
|
|
226
|
+
if (requestParameters['appAccessUpdateRequest'] == null) {
|
|
227
|
+
throw new runtime.RequiredError('appAccessUpdateRequest', 'Required parameter "appAccessUpdateRequest" was null or undefined when calling updateAppAccess().');
|
|
228
|
+
}
|
|
229
|
+
const queryParameters = {};
|
|
230
|
+
const headerParameters = {};
|
|
231
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
232
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
233
|
+
const token = this.configuration.accessToken;
|
|
234
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
235
|
+
if (tokenString) {
|
|
236
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
const response = yield this.request({
|
|
240
|
+
path: `/api/v1/apps/{id}/access`.replace(`{${'id'}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
241
|
+
method: 'PATCH',
|
|
242
|
+
headers: headerParameters,
|
|
243
|
+
query: queryParameters,
|
|
244
|
+
body: requestParameters['appAccessUpdateRequest'],
|
|
245
|
+
}, initOverrides);
|
|
246
|
+
return new runtime.VoidApiResponse(response);
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
*/
|
|
251
|
+
updateAppAccess(id, appAccessUpdateRequest, initOverrides) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
yield this.updateAppAccessRaw({ id: id, appAccessUpdateRequest: appAccessUpdateRequest }, initOverrides);
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
exports.AppsApi = AppsApi;
|
|
@@ -35,7 +35,7 @@ class IntercompanyMatchingApi extends runtime.BaseAPI {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
const response = yield this.request({
|
|
38
|
-
path: `/api/v1/c/{company_code}/
|
|
38
|
+
path: `/api/v1/c/{company_code}/ic-matching/synchronizations`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
39
39
|
method: 'GET',
|
|
40
40
|
headers: headerParameters,
|
|
41
41
|
query: queryParameters,
|
|
@@ -71,7 +71,7 @@ class IntercompanyMatchingApi extends runtime.BaseAPI {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
const response = yield this.request({
|
|
74
|
-
path: `/api/v1/c/{company_code}/
|
|
74
|
+
path: `/api/v1/c/{company_code}/ic-matching/synchronizations/{synchronization_id}`
|
|
75
75
|
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
76
76
|
.replace(`{${'synchronization_id'}}`, encodeURIComponent(String(requestParameters['synchronizationId']))),
|
|
77
77
|
method: 'GET',
|
|
@@ -110,7 +110,7 @@ class IntercompanyMatchingApi extends runtime.BaseAPI {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
const response = yield this.request({
|
|
113
|
-
path: `/api/v1/c/{company_code}/
|
|
113
|
+
path: `/api/v1/c/{company_code}/ic-matching/synchronizations`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
114
114
|
method: 'POST',
|
|
115
115
|
headers: headerParameters,
|
|
116
116
|
query: queryParameters,
|
|
@@ -149,7 +149,7 @@ class IntercompanyMatchingApi extends runtime.BaseAPI {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
const response = yield this.request({
|
|
152
|
-
path: `/api/v1/c/{company_code}/
|
|
152
|
+
path: `/api/v1/c/{company_code}/ic-matching/matches/{match_id}`
|
|
153
153
|
.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode'])))
|
|
154
154
|
.replace(`{${'match_id'}}`, encodeURIComponent(String(requestParameters['matchId']))),
|
|
155
155
|
method: 'GET',
|
|
@@ -227,7 +227,7 @@ class IntercompanyMatchingApi extends runtime.BaseAPI {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
const response = yield this.request({
|
|
230
|
-
path: `/api/v1/c/{company_code}/
|
|
230
|
+
path: `/api/v1/c/{company_code}/ic-matching/transactions`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
231
231
|
method: 'GET',
|
|
232
232
|
headers: headerParameters,
|
|
233
233
|
query: queryParameters,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { CompanyGraphCalculationResponse, CompanyHealthIssuesResponse, CompanyHealthPutRequest, RecalculatePartitionsRequest, SupportUsers } from '../models/index';
|
|
12
|
+
import type { CompanyGraphCalculationResponse, CompanyHealthIssuesResponse, CompanyHealthPutRequest, RecalculatePartitionsRequest, SupportTenants, SupportUsers } from '../models/index';
|
|
13
13
|
import * as runtime from '../runtime';
|
|
14
14
|
export interface MaintenanceApiGetCalculationVisualizationForCompanyRequest {
|
|
15
15
|
companyCode: string;
|
|
@@ -59,6 +59,16 @@ export interface MaintenanceApiInterface {
|
|
|
59
59
|
/**
|
|
60
60
|
*/
|
|
61
61
|
getIssues(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyHealthIssuesResponse>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof MaintenanceApiInterface
|
|
67
|
+
*/
|
|
68
|
+
getSupportTenantsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupportTenants>>;
|
|
69
|
+
/**
|
|
70
|
+
*/
|
|
71
|
+
getSupportTenants(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportTenants>;
|
|
62
72
|
/**
|
|
63
73
|
*
|
|
64
74
|
* @param {*} [options] Override http request option.
|
|
@@ -69,6 +79,16 @@ export interface MaintenanceApiInterface {
|
|
|
69
79
|
/**
|
|
70
80
|
*/
|
|
71
81
|
getSupportUsers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportUsers>;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
* @memberof MaintenanceApiInterface
|
|
87
|
+
*/
|
|
88
|
+
getUsersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupportUsers>>;
|
|
89
|
+
/**
|
|
90
|
+
*/
|
|
91
|
+
getUsers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportUsers>;
|
|
72
92
|
/**
|
|
73
93
|
*
|
|
74
94
|
* @param {string} companyCode
|
|
@@ -143,12 +163,24 @@ export declare class MaintenanceApi extends runtime.BaseAPI implements Maintenan
|
|
|
143
163
|
/**
|
|
144
164
|
*/
|
|
145
165
|
getIssues(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyHealthIssuesResponse>;
|
|
166
|
+
/**
|
|
167
|
+
*/
|
|
168
|
+
getSupportTenantsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupportTenants>>;
|
|
169
|
+
/**
|
|
170
|
+
*/
|
|
171
|
+
getSupportTenants(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportTenants>;
|
|
146
172
|
/**
|
|
147
173
|
*/
|
|
148
174
|
getSupportUsersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupportUsers>>;
|
|
149
175
|
/**
|
|
150
176
|
*/
|
|
151
177
|
getSupportUsers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportUsers>;
|
|
178
|
+
/**
|
|
179
|
+
*/
|
|
180
|
+
getUsersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SupportUsers>>;
|
|
181
|
+
/**
|
|
182
|
+
*/
|
|
183
|
+
getUsers(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SupportUsers>;
|
|
152
184
|
/**
|
|
153
185
|
*/
|
|
154
186
|
muteCompanyAlertsRaw(requestParameters: MaintenanceApiMuteCompanyAlertsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
@@ -78,6 +78,36 @@ class MaintenanceApi extends runtime.BaseAPI {
|
|
|
78
78
|
return yield response.value();
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
*/
|
|
83
|
+
getSupportTenantsRaw(initOverrides) {
|
|
84
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
+
const queryParameters = {};
|
|
86
|
+
const headerParameters = {};
|
|
87
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
88
|
+
const token = this.configuration.accessToken;
|
|
89
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
90
|
+
if (tokenString) {
|
|
91
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
const response = yield this.request({
|
|
95
|
+
path: `/api/v1/maintenance/tenants`,
|
|
96
|
+
method: 'GET',
|
|
97
|
+
headers: headerParameters,
|
|
98
|
+
query: queryParameters,
|
|
99
|
+
}, initOverrides);
|
|
100
|
+
return new runtime.JSONApiResponse(response);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
*/
|
|
105
|
+
getSupportTenants(initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const response = yield this.getSupportTenantsRaw(initOverrides);
|
|
108
|
+
return yield response.value();
|
|
109
|
+
});
|
|
110
|
+
}
|
|
81
111
|
/**
|
|
82
112
|
*/
|
|
83
113
|
getSupportUsersRaw(initOverrides) {
|
|
@@ -108,6 +138,36 @@ class MaintenanceApi extends runtime.BaseAPI {
|
|
|
108
138
|
return yield response.value();
|
|
109
139
|
});
|
|
110
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
*/
|
|
143
|
+
getUsersRaw(initOverrides) {
|
|
144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
const queryParameters = {};
|
|
146
|
+
const headerParameters = {};
|
|
147
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
148
|
+
const token = this.configuration.accessToken;
|
|
149
|
+
const tokenString = yield token('bearerToken', ['internal']);
|
|
150
|
+
if (tokenString) {
|
|
151
|
+
headerParameters['Authorization'] = `Bearer ${tokenString}`;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
const response = yield this.request({
|
|
155
|
+
path: `/api/v1/maintenance/users`,
|
|
156
|
+
method: 'GET',
|
|
157
|
+
headers: headerParameters,
|
|
158
|
+
query: queryParameters,
|
|
159
|
+
}, initOverrides);
|
|
160
|
+
return new runtime.JSONApiResponse(response);
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
*/
|
|
165
|
+
getUsers(initOverrides) {
|
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
167
|
+
const response = yield this.getUsersRaw(initOverrides);
|
|
168
|
+
return yield response.value();
|
|
169
|
+
});
|
|
170
|
+
}
|
|
111
171
|
/**
|
|
112
172
|
*/
|
|
113
173
|
muteCompanyAlertsRaw(requestParameters, initOverrides) {
|
|
@@ -34,7 +34,7 @@ class StructureApi extends runtime.BaseAPI {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
const response = yield this.request({
|
|
37
|
-
path: `/api/v1/c/{company_code}/structure/
|
|
37
|
+
path: `/api/v1/c/{company_code}/structure/balance-sheet`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
38
38
|
method: 'GET',
|
|
39
39
|
headers: headerParameters,
|
|
40
40
|
query: queryParameters,
|
|
@@ -71,7 +71,7 @@ class StructureApi extends runtime.BaseAPI {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
const response = yield this.request({
|
|
74
|
-
path: `/api/v1/c/{company_code}/structure/
|
|
74
|
+
path: `/api/v1/c/{company_code}/structure/cash-flow`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
75
75
|
method: 'GET',
|
|
76
76
|
headers: headerParameters,
|
|
77
77
|
query: queryParameters,
|
|
@@ -145,7 +145,7 @@ class StructureApi extends runtime.BaseAPI {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
const response = yield this.request({
|
|
148
|
-
path: `/api/v1/c/{company_code}/structure/
|
|
148
|
+
path: `/api/v1/c/{company_code}/structure/profit-and-loss`.replace(`{${'company_code'}}`, encodeURIComponent(String(requestParameters['companyCode']))),
|
|
149
149
|
method: 'GET',
|
|
150
150
|
headers: headerParameters,
|
|
151
151
|
query: queryParameters,
|
package/dist/src/apis/index.d.ts
CHANGED
package/dist/src/apis/index.js
CHANGED
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AiApi"), exports);
|
|
20
20
|
__exportStar(require("./AnalyticsApi"), exports);
|
|
21
|
+
__exportStar(require("./AppsApi"), exports);
|
|
21
22
|
__exportStar(require("./AsyncOperationsApi"), exports);
|
|
22
23
|
__exportStar(require("./BusinessModelModulesApi"), exports);
|
|
23
24
|
__exportStar(require("./ColorPalettesApi"), exports);
|
|
@@ -1248,6 +1248,200 @@ export interface AnalyticsTransaction {
|
|
|
1248
1248
|
*/
|
|
1249
1249
|
customDim1SourceId: string | null;
|
|
1250
1250
|
}
|
|
1251
|
+
/**
|
|
1252
|
+
*
|
|
1253
|
+
* @export
|
|
1254
|
+
* @interface App
|
|
1255
|
+
*/
|
|
1256
|
+
export interface App {
|
|
1257
|
+
/**
|
|
1258
|
+
*
|
|
1259
|
+
* @type {string}
|
|
1260
|
+
* @memberof App
|
|
1261
|
+
*/
|
|
1262
|
+
url: string;
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @type {string}
|
|
1266
|
+
* @memberof App
|
|
1267
|
+
*/
|
|
1268
|
+
description: string;
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @type {string}
|
|
1272
|
+
* @memberof App
|
|
1273
|
+
*/
|
|
1274
|
+
icon: string;
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @export
|
|
1279
|
+
* @interface AppAccess
|
|
1280
|
+
*/
|
|
1281
|
+
export interface AppAccess {
|
|
1282
|
+
/**
|
|
1283
|
+
*
|
|
1284
|
+
* @type {Array<string>}
|
|
1285
|
+
* @memberof AppAccess
|
|
1286
|
+
*/
|
|
1287
|
+
tenants: Array<string>;
|
|
1288
|
+
/**
|
|
1289
|
+
*
|
|
1290
|
+
* @type {Array<string>}
|
|
1291
|
+
* @memberof AppAccess
|
|
1292
|
+
*/
|
|
1293
|
+
users: Array<string>;
|
|
1294
|
+
}
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @export
|
|
1298
|
+
* @interface AppAccessUpdateRequest
|
|
1299
|
+
*/
|
|
1300
|
+
export interface AppAccessUpdateRequest {
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @type {Array<string>}
|
|
1304
|
+
* @memberof AppAccessUpdateRequest
|
|
1305
|
+
*/
|
|
1306
|
+
tenants: Array<string>;
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @type {Array<string>}
|
|
1310
|
+
* @memberof AppAccessUpdateRequest
|
|
1311
|
+
*/
|
|
1312
|
+
users: Array<string>;
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @export
|
|
1317
|
+
* @interface AppCreateRequest
|
|
1318
|
+
*/
|
|
1319
|
+
export interface AppCreateRequest {
|
|
1320
|
+
/**
|
|
1321
|
+
*
|
|
1322
|
+
* @type {string}
|
|
1323
|
+
* @memberof AppCreateRequest
|
|
1324
|
+
*/
|
|
1325
|
+
url: string;
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @type {string}
|
|
1329
|
+
* @memberof AppCreateRequest
|
|
1330
|
+
*/
|
|
1331
|
+
description: string;
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof AppCreateRequest
|
|
1336
|
+
*/
|
|
1337
|
+
icon: string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {AppAccessUpdateRequest}
|
|
1341
|
+
* @memberof AppCreateRequest
|
|
1342
|
+
*/
|
|
1343
|
+
access: AppAccessUpdateRequest;
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
*
|
|
1347
|
+
* @export
|
|
1348
|
+
* @interface AppUpdateRequest
|
|
1349
|
+
*/
|
|
1350
|
+
export interface AppUpdateRequest {
|
|
1351
|
+
/**
|
|
1352
|
+
*
|
|
1353
|
+
* @type {string}
|
|
1354
|
+
* @memberof AppUpdateRequest
|
|
1355
|
+
*/
|
|
1356
|
+
url: string;
|
|
1357
|
+
/**
|
|
1358
|
+
*
|
|
1359
|
+
* @type {string}
|
|
1360
|
+
* @memberof AppUpdateRequest
|
|
1361
|
+
*/
|
|
1362
|
+
description: string;
|
|
1363
|
+
/**
|
|
1364
|
+
*
|
|
1365
|
+
* @type {string}
|
|
1366
|
+
* @memberof AppUpdateRequest
|
|
1367
|
+
*/
|
|
1368
|
+
icon: string;
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @export
|
|
1373
|
+
* @interface AppWithDetails
|
|
1374
|
+
*/
|
|
1375
|
+
export interface AppWithDetails {
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {string}
|
|
1379
|
+
* @memberof AppWithDetails
|
|
1380
|
+
*/
|
|
1381
|
+
id: string;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {string}
|
|
1385
|
+
* @memberof AppWithDetails
|
|
1386
|
+
*/
|
|
1387
|
+
url: string;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof AppWithDetails
|
|
1392
|
+
*/
|
|
1393
|
+
description: string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof AppWithDetails
|
|
1398
|
+
*/
|
|
1399
|
+
icon: string;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {AppAccess}
|
|
1403
|
+
* @memberof AppWithDetails
|
|
1404
|
+
*/
|
|
1405
|
+
access: AppAccess;
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {string}
|
|
1409
|
+
* @memberof AppWithDetails
|
|
1410
|
+
*/
|
|
1411
|
+
createdAt: string;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {string}
|
|
1415
|
+
* @memberof AppWithDetails
|
|
1416
|
+
*/
|
|
1417
|
+
updatedAt: string;
|
|
1418
|
+
}
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @export
|
|
1422
|
+
* @interface Apps
|
|
1423
|
+
*/
|
|
1424
|
+
export interface Apps {
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @type {Array<App>}
|
|
1428
|
+
* @memberof Apps
|
|
1429
|
+
*/
|
|
1430
|
+
apps: Array<App>;
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
*
|
|
1434
|
+
* @export
|
|
1435
|
+
* @interface AppsList
|
|
1436
|
+
*/
|
|
1437
|
+
export interface AppsList {
|
|
1438
|
+
/**
|
|
1439
|
+
*
|
|
1440
|
+
* @type {Array<AppWithDetails>}
|
|
1441
|
+
* @memberof AppsList
|
|
1442
|
+
*/
|
|
1443
|
+
apps: Array<AppWithDetails>;
|
|
1444
|
+
}
|
|
1251
1445
|
/**
|
|
1252
1446
|
*
|
|
1253
1447
|
* @export
|
|
@@ -8771,7 +8965,7 @@ export interface Match {
|
|
|
8771
8965
|
* @type {string}
|
|
8772
8966
|
* @memberof Match
|
|
8773
8967
|
*/
|
|
8774
|
-
companyCode2: string;
|
|
8968
|
+
companyCode2: string | null;
|
|
8775
8969
|
/**
|
|
8776
8970
|
*
|
|
8777
8971
|
* @type {number}
|
|
@@ -8807,6 +9001,7 @@ export declare const MatchReason: {
|
|
|
8807
9001
|
readonly ManyToMany: "many_to_many";
|
|
8808
9002
|
readonly JournalEntryMatch: "journal_entry_match";
|
|
8809
9003
|
readonly YtdMatch: "ytd_match";
|
|
9004
|
+
readonly OppositeAmountsMatch: "opposite_amounts_match";
|
|
8810
9005
|
};
|
|
8811
9006
|
export type MatchReason = (typeof MatchReason)[keyof typeof MatchReason];
|
|
8812
9007
|
/**
|
|
@@ -13453,6 +13648,38 @@ export declare const SummaryReportRowTypeEnum: {
|
|
|
13453
13648
|
readonly Summary: "summary";
|
|
13454
13649
|
};
|
|
13455
13650
|
export type SummaryReportRowTypeEnum = (typeof SummaryReportRowTypeEnum)[keyof typeof SummaryReportRowTypeEnum];
|
|
13651
|
+
/**
|
|
13652
|
+
*
|
|
13653
|
+
* @export
|
|
13654
|
+
* @interface SupportTenant
|
|
13655
|
+
*/
|
|
13656
|
+
export interface SupportTenant {
|
|
13657
|
+
/**
|
|
13658
|
+
*
|
|
13659
|
+
* @type {string}
|
|
13660
|
+
* @memberof SupportTenant
|
|
13661
|
+
*/
|
|
13662
|
+
tenantCode: string;
|
|
13663
|
+
/**
|
|
13664
|
+
*
|
|
13665
|
+
* @type {string}
|
|
13666
|
+
* @memberof SupportTenant
|
|
13667
|
+
*/
|
|
13668
|
+
tenantDescription: string;
|
|
13669
|
+
}
|
|
13670
|
+
/**
|
|
13671
|
+
*
|
|
13672
|
+
* @export
|
|
13673
|
+
* @interface SupportTenants
|
|
13674
|
+
*/
|
|
13675
|
+
export interface SupportTenants {
|
|
13676
|
+
/**
|
|
13677
|
+
*
|
|
13678
|
+
* @type {Array<SupportTenant>}
|
|
13679
|
+
* @memberof SupportTenants
|
|
13680
|
+
*/
|
|
13681
|
+
tenants: Array<SupportTenant>;
|
|
13682
|
+
}
|
|
13456
13683
|
/**
|
|
13457
13684
|
*
|
|
13458
13685
|
* @export
|
|
@@ -13471,6 +13698,12 @@ export interface SupportUser {
|
|
|
13471
13698
|
* @memberof SupportUser
|
|
13472
13699
|
*/
|
|
13473
13700
|
name: string;
|
|
13701
|
+
/**
|
|
13702
|
+
*
|
|
13703
|
+
* @type {string}
|
|
13704
|
+
* @memberof SupportUser
|
|
13705
|
+
*/
|
|
13706
|
+
email: string;
|
|
13474
13707
|
}
|
|
13475
13708
|
/**
|
|
13476
13709
|
*
|
package/dist/src/models/index.js
CHANGED
package/package.json
CHANGED