@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,56 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
README.md
|
|
4
|
+
package.json
|
|
5
|
+
src/apis/AiApi.ts
|
|
6
|
+
src/apis/AnalyticsApi.ts
|
|
7
|
+
src/apis/AsyncOperationsApi.ts
|
|
8
|
+
src/apis/BusinessModelModulesApi.ts
|
|
9
|
+
src/apis/ColorPalettesApi.ts
|
|
10
|
+
src/apis/CommentsApi.ts
|
|
11
|
+
src/apis/CompaniesApi.ts
|
|
12
|
+
src/apis/CompanyManagementApi.ts
|
|
13
|
+
src/apis/ConnectionParametersApi.ts
|
|
14
|
+
src/apis/ConnectionTypesApi.ts
|
|
15
|
+
src/apis/ConnectionsApi.ts
|
|
16
|
+
src/apis/ConnectionsAuthorizationApi.ts
|
|
17
|
+
src/apis/ConnectionsClientCredentialsApi.ts
|
|
18
|
+
src/apis/ConsolidationApi.ts
|
|
19
|
+
src/apis/CostCenterApi.ts
|
|
20
|
+
src/apis/DashboardsApi.ts
|
|
21
|
+
src/apis/DataSynchronizationApi.ts
|
|
22
|
+
src/apis/ExplanationApi.ts
|
|
23
|
+
src/apis/FormatsApi.ts
|
|
24
|
+
src/apis/FormulasApi.ts
|
|
25
|
+
src/apis/FuturesApi.ts
|
|
26
|
+
src/apis/IdentityLinkingApi.ts
|
|
27
|
+
src/apis/InputApi.ts
|
|
28
|
+
src/apis/IntercompanyMatchingApi.ts
|
|
29
|
+
src/apis/InvitationsApi.ts
|
|
30
|
+
src/apis/MaintenanceApi.ts
|
|
31
|
+
src/apis/ManualInputApi.ts
|
|
32
|
+
src/apis/ModulesApi.ts
|
|
33
|
+
src/apis/NodePurposesApi.ts
|
|
34
|
+
src/apis/ProfileApi.ts
|
|
35
|
+
src/apis/RelationsApi.ts
|
|
36
|
+
src/apis/ReportGroupsApi.ts
|
|
37
|
+
src/apis/ReportingApi.ts
|
|
38
|
+
src/apis/ReportingPeriodsApi.ts
|
|
39
|
+
src/apis/SourceAccountsApi.ts
|
|
40
|
+
src/apis/StructureApi.ts
|
|
41
|
+
src/apis/StructureDefinitionApi.ts
|
|
42
|
+
src/apis/StructureImprovementApi.ts
|
|
43
|
+
src/apis/TemplatesApi.ts
|
|
44
|
+
src/apis/TemplatesGenerationApi.ts
|
|
45
|
+
src/apis/TenantIntercompanySettingsApi.ts
|
|
46
|
+
src/apis/TenantsApi.ts
|
|
47
|
+
src/apis/TransactionDetailsApi.ts
|
|
48
|
+
src/apis/UsersApi.ts
|
|
49
|
+
src/apis/WebhooksApi.ts
|
|
50
|
+
src/apis/WizardApi.ts
|
|
51
|
+
src/apis/index.ts
|
|
52
|
+
src/index.ts
|
|
53
|
+
src/models/index.ts
|
|
54
|
+
src/runtime.ts
|
|
55
|
+
tsconfig.esm.json
|
|
56
|
+
tsconfig.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.12.0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
package/README.md
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
## @smartbooks-ai/api-client@0.0.3
|
|
2
|
+
|
|
3
|
+
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
|
+
|
|
5
|
+
Environment
|
|
6
|
+
|
|
7
|
+
- Node.js
|
|
8
|
+
- Webpack
|
|
9
|
+
- Browserify
|
|
10
|
+
|
|
11
|
+
Language level
|
|
12
|
+
|
|
13
|
+
- ES5 - you must have a Promises/A+ library installed
|
|
14
|
+
- ES6
|
|
15
|
+
|
|
16
|
+
Module system
|
|
17
|
+
|
|
18
|
+
- CommonJS
|
|
19
|
+
- ES6 module system
|
|
20
|
+
|
|
21
|
+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
|
|
22
|
+
|
|
23
|
+
### Building
|
|
24
|
+
|
|
25
|
+
To build and compile the typescript sources to javascript use:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
npm install
|
|
29
|
+
npm run build
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Publishing
|
|
33
|
+
|
|
34
|
+
First build the package then run `npm publish`
|
|
35
|
+
|
|
36
|
+
### Consuming
|
|
37
|
+
|
|
38
|
+
navigate to the folder of your consuming project and run one of the following commands.
|
|
39
|
+
|
|
40
|
+
_published:_
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
npm install @smartbooks-ai/api-client@0.0.3 --save
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
_unPublished (not recommended):_
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
50
|
+
```
|
|
@@ -0,0 +1,289 @@
|
|
|
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 { AiAnalysisRequest, AiFeedback, AiReportFindings, AiSettings, AiStatus, AiSupportHistoryResponse, AiSupportRequest, AiSupportResponseWithThreadId, FeedbackGetResponse, HistoryRetrievalRequest, HistoryRetrievalResponse } from '../models/index';
|
|
13
|
+
import * as runtime from '../runtime';
|
|
14
|
+
export interface AiApiAnalyzeFindingsForReportRequest {
|
|
15
|
+
companyCode: string;
|
|
16
|
+
aiAnalysisRequest: AiAnalysisRequest;
|
|
17
|
+
}
|
|
18
|
+
export interface AiApiDeleteFeedbackRequest {
|
|
19
|
+
companyCode: string;
|
|
20
|
+
feedbackId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface AiApiGetFeedbackRequest {
|
|
23
|
+
companyCode: string;
|
|
24
|
+
}
|
|
25
|
+
export interface AiApiGetSettingsRequest {
|
|
26
|
+
companyCode: string;
|
|
27
|
+
}
|
|
28
|
+
export interface AiApiGetStatusRequest {
|
|
29
|
+
companyCode: string;
|
|
30
|
+
}
|
|
31
|
+
export interface AiApiGetSupportHistoryRequest {
|
|
32
|
+
companyCode: string;
|
|
33
|
+
}
|
|
34
|
+
export interface AiApiPatchSettingsRequest {
|
|
35
|
+
companyCode: string;
|
|
36
|
+
aiSettings: AiSettings;
|
|
37
|
+
}
|
|
38
|
+
export interface AiApiPostSupportRequestRequest {
|
|
39
|
+
companyCode: string;
|
|
40
|
+
aiSupportRequest: AiSupportRequest;
|
|
41
|
+
}
|
|
42
|
+
export interface AiApiPutFeedbackRequest {
|
|
43
|
+
companyCode: string;
|
|
44
|
+
aiFeedback: AiFeedback;
|
|
45
|
+
}
|
|
46
|
+
export interface AiApiRequestFindingsForReportRequest {
|
|
47
|
+
companyCode: string;
|
|
48
|
+
aiAnalysisRequest: AiAnalysisRequest;
|
|
49
|
+
}
|
|
50
|
+
export interface AiApiRetrieveConversationHistoryRequest {
|
|
51
|
+
companyCode: string;
|
|
52
|
+
historyRetrievalRequest: HistoryRetrievalRequest;
|
|
53
|
+
}
|
|
54
|
+
export interface AiApiSupportRestartRequest {
|
|
55
|
+
companyCode: string;
|
|
56
|
+
body: object;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* AiApi - interface
|
|
60
|
+
*
|
|
61
|
+
* @export
|
|
62
|
+
* @interface AiApiInterface
|
|
63
|
+
*/
|
|
64
|
+
export interface AiApiInterface {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param {string} companyCode
|
|
68
|
+
* @param {AiAnalysisRequest} aiAnalysisRequest
|
|
69
|
+
* @param {*} [options] Override http request option.
|
|
70
|
+
* @throws {RequiredError}
|
|
71
|
+
* @memberof AiApiInterface
|
|
72
|
+
*/
|
|
73
|
+
analyzeFindingsForReportRaw(requestParameters: AiApiAnalyzeFindingsForReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
74
|
+
/**
|
|
75
|
+
*/
|
|
76
|
+
analyzeFindingsForReport(companyCode: string, aiAnalysisRequest: AiAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @param {string} companyCode
|
|
80
|
+
* @param {string} feedbackId
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof AiApiInterface
|
|
84
|
+
*/
|
|
85
|
+
deleteFeedbackRaw(requestParameters: AiApiDeleteFeedbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
86
|
+
/**
|
|
87
|
+
*/
|
|
88
|
+
deleteFeedback(companyCode: string, feedbackId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @param {string} companyCode
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
* @memberof AiApiInterface
|
|
95
|
+
*/
|
|
96
|
+
getFeedbackRaw(requestParameters: AiApiGetFeedbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FeedbackGetResponse>>;
|
|
97
|
+
/**
|
|
98
|
+
*/
|
|
99
|
+
getFeedback(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FeedbackGetResponse>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @param {string} companyCode
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
* @memberof AiApiInterface
|
|
106
|
+
*/
|
|
107
|
+
getSettingsRaw(requestParameters: AiApiGetSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSettings>>;
|
|
108
|
+
/**
|
|
109
|
+
*/
|
|
110
|
+
getSettings(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSettings>;
|
|
111
|
+
/**
|
|
112
|
+
* Retrieve whether AI is enabled for the company
|
|
113
|
+
* @summary Get AI status
|
|
114
|
+
* @param {string} companyCode
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
* @memberof AiApiInterface
|
|
118
|
+
*/
|
|
119
|
+
getStatusRaw(requestParameters: AiApiGetStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiStatus>>;
|
|
120
|
+
/**
|
|
121
|
+
* Retrieve whether AI is enabled for the company
|
|
122
|
+
* Get AI status
|
|
123
|
+
*/
|
|
124
|
+
getStatus(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiStatus>;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @param {string} companyCode
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
* @memberof AiApiInterface
|
|
131
|
+
*/
|
|
132
|
+
getSupportHistoryRaw(requestParameters: AiApiGetSupportHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSupportHistoryResponse>>;
|
|
133
|
+
/**
|
|
134
|
+
*/
|
|
135
|
+
getSupportHistory(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSupportHistoryResponse>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @param {string} companyCode
|
|
139
|
+
* @param {AiSettings} aiSettings
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
* @memberof AiApiInterface
|
|
143
|
+
*/
|
|
144
|
+
patchSettingsRaw(requestParameters: AiApiPatchSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
145
|
+
/**
|
|
146
|
+
*/
|
|
147
|
+
patchSettings(companyCode: string, aiSettings: AiSettings, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @param {string} companyCode
|
|
151
|
+
* @param {AiSupportRequest} aiSupportRequest
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
* @memberof AiApiInterface
|
|
155
|
+
*/
|
|
156
|
+
postSupportRequestRaw(requestParameters: AiApiPostSupportRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSupportResponseWithThreadId>>;
|
|
157
|
+
/**
|
|
158
|
+
*/
|
|
159
|
+
postSupportRequest(companyCode: string, aiSupportRequest: AiSupportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSupportResponseWithThreadId>;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @param {string} companyCode
|
|
163
|
+
* @param {AiFeedback} aiFeedback
|
|
164
|
+
* @param {*} [options] Override http request option.
|
|
165
|
+
* @throws {RequiredError}
|
|
166
|
+
* @memberof AiApiInterface
|
|
167
|
+
*/
|
|
168
|
+
putFeedbackRaw(requestParameters: AiApiPutFeedbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiFeedback>>;
|
|
169
|
+
/**
|
|
170
|
+
*/
|
|
171
|
+
putFeedback(companyCode: string, aiFeedback: AiFeedback, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiFeedback>;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @param {string} companyCode
|
|
175
|
+
* @param {AiAnalysisRequest} aiAnalysisRequest
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
* @memberof AiApiInterface
|
|
179
|
+
*/
|
|
180
|
+
requestFindingsForReportRaw(requestParameters: AiApiRequestFindingsForReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiReportFindings>>;
|
|
181
|
+
/**
|
|
182
|
+
*/
|
|
183
|
+
requestFindingsForReport(companyCode: string, aiAnalysisRequest: AiAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiReportFindings>;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @param {string} companyCode
|
|
187
|
+
* @param {HistoryRetrievalRequest} historyRetrievalRequest
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
* @memberof AiApiInterface
|
|
191
|
+
*/
|
|
192
|
+
retrieveConversationHistoryRaw(requestParameters: AiApiRetrieveConversationHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HistoryRetrievalResponse>>;
|
|
193
|
+
/**
|
|
194
|
+
*/
|
|
195
|
+
retrieveConversationHistory(companyCode: string, historyRetrievalRequest: HistoryRetrievalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HistoryRetrievalResponse>;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @param {string} companyCode
|
|
199
|
+
* @param {object} body
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
* @memberof AiApiInterface
|
|
203
|
+
*/
|
|
204
|
+
supportRestartRaw(requestParameters: AiApiSupportRestartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSupportResponseWithThreadId>>;
|
|
205
|
+
/**
|
|
206
|
+
*/
|
|
207
|
+
supportRestart(companyCode: string, body: object, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSupportResponseWithThreadId>;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
export declare class AiApi extends runtime.BaseAPI implements AiApiInterface {
|
|
213
|
+
/**
|
|
214
|
+
*/
|
|
215
|
+
analyzeFindingsForReportRaw(requestParameters: AiApiAnalyzeFindingsForReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
216
|
+
/**
|
|
217
|
+
*/
|
|
218
|
+
analyzeFindingsForReport(companyCode: string, aiAnalysisRequest: AiAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
219
|
+
/**
|
|
220
|
+
*/
|
|
221
|
+
deleteFeedbackRaw(requestParameters: AiApiDeleteFeedbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
222
|
+
/**
|
|
223
|
+
*/
|
|
224
|
+
deleteFeedback(companyCode: string, feedbackId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
225
|
+
/**
|
|
226
|
+
*/
|
|
227
|
+
getFeedbackRaw(requestParameters: AiApiGetFeedbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FeedbackGetResponse>>;
|
|
228
|
+
/**
|
|
229
|
+
*/
|
|
230
|
+
getFeedback(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FeedbackGetResponse>;
|
|
231
|
+
/**
|
|
232
|
+
*/
|
|
233
|
+
getSettingsRaw(requestParameters: AiApiGetSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSettings>>;
|
|
234
|
+
/**
|
|
235
|
+
*/
|
|
236
|
+
getSettings(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSettings>;
|
|
237
|
+
/**
|
|
238
|
+
* Retrieve whether AI is enabled for the company
|
|
239
|
+
* Get AI status
|
|
240
|
+
*/
|
|
241
|
+
getStatusRaw(requestParameters: AiApiGetStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiStatus>>;
|
|
242
|
+
/**
|
|
243
|
+
* Retrieve whether AI is enabled for the company
|
|
244
|
+
* Get AI status
|
|
245
|
+
*/
|
|
246
|
+
getStatus(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiStatus>;
|
|
247
|
+
/**
|
|
248
|
+
*/
|
|
249
|
+
getSupportHistoryRaw(requestParameters: AiApiGetSupportHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSupportHistoryResponse>>;
|
|
250
|
+
/**
|
|
251
|
+
*/
|
|
252
|
+
getSupportHistory(companyCode: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSupportHistoryResponse>;
|
|
253
|
+
/**
|
|
254
|
+
*/
|
|
255
|
+
patchSettingsRaw(requestParameters: AiApiPatchSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
256
|
+
/**
|
|
257
|
+
*/
|
|
258
|
+
patchSettings(companyCode: string, aiSettings: AiSettings, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
259
|
+
/**
|
|
260
|
+
*/
|
|
261
|
+
postSupportRequestRaw(requestParameters: AiApiPostSupportRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSupportResponseWithThreadId>>;
|
|
262
|
+
/**
|
|
263
|
+
*/
|
|
264
|
+
postSupportRequest(companyCode: string, aiSupportRequest: AiSupportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSupportResponseWithThreadId>;
|
|
265
|
+
/**
|
|
266
|
+
*/
|
|
267
|
+
putFeedbackRaw(requestParameters: AiApiPutFeedbackRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiFeedback>>;
|
|
268
|
+
/**
|
|
269
|
+
*/
|
|
270
|
+
putFeedback(companyCode: string, aiFeedback: AiFeedback, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiFeedback>;
|
|
271
|
+
/**
|
|
272
|
+
*/
|
|
273
|
+
requestFindingsForReportRaw(requestParameters: AiApiRequestFindingsForReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiReportFindings>>;
|
|
274
|
+
/**
|
|
275
|
+
*/
|
|
276
|
+
requestFindingsForReport(companyCode: string, aiAnalysisRequest: AiAnalysisRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiReportFindings>;
|
|
277
|
+
/**
|
|
278
|
+
*/
|
|
279
|
+
retrieveConversationHistoryRaw(requestParameters: AiApiRetrieveConversationHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<HistoryRetrievalResponse>>;
|
|
280
|
+
/**
|
|
281
|
+
*/
|
|
282
|
+
retrieveConversationHistory(companyCode: string, historyRetrievalRequest: HistoryRetrievalRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<HistoryRetrievalResponse>;
|
|
283
|
+
/**
|
|
284
|
+
*/
|
|
285
|
+
supportRestartRaw(requestParameters: AiApiSupportRestartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AiSupportResponseWithThreadId>>;
|
|
286
|
+
/**
|
|
287
|
+
*/
|
|
288
|
+
supportRestart(companyCode: string, body: object, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AiSupportResponseWithThreadId>;
|
|
289
|
+
}
|