@semantha/product-sdk 9.2.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.
Files changed (119) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/dist/chunk-4R65LLWL.js +2 -0
  4. package/dist/chunk-4R65LLWL.js.map +1 -0
  5. package/dist/chunk-7Y3CRYXW.mjs +2 -0
  6. package/dist/chunk-7Y3CRYXW.mjs.map +1 -0
  7. package/dist/chunk-BE73RDIS.mjs +2 -0
  8. package/dist/chunk-BE73RDIS.mjs.map +1 -0
  9. package/dist/chunk-DOK44NQJ.mjs +2 -0
  10. package/dist/chunk-DOK44NQJ.mjs.map +1 -0
  11. package/dist/chunk-DURTIKAP.mjs +2 -0
  12. package/dist/chunk-DURTIKAP.mjs.map +1 -0
  13. package/dist/chunk-F5JCME7D.js +2 -0
  14. package/dist/chunk-F5JCME7D.js.map +1 -0
  15. package/dist/chunk-I2MRAQSD.mjs +2 -0
  16. package/dist/chunk-I2MRAQSD.mjs.map +1 -0
  17. package/dist/chunk-IISTQOX3.js +2 -0
  18. package/dist/chunk-IISTQOX3.js.map +1 -0
  19. package/dist/chunk-JCDJ3B7Q.js +2 -0
  20. package/dist/chunk-JCDJ3B7Q.js.map +1 -0
  21. package/dist/chunk-OP5BUX5G.js +2 -0
  22. package/dist/chunk-OP5BUX5G.js.map +1 -0
  23. package/dist/chunk-TNZ7KC6A.mjs +2 -0
  24. package/dist/chunk-TNZ7KC6A.mjs.map +1 -0
  25. package/dist/chunk-Y763UUOV.mjs +2 -0
  26. package/dist/chunk-Y763UUOV.mjs.map +1 -0
  27. package/dist/chunk-Z3N63BWG.js +2 -0
  28. package/dist/chunk-Z3N63BWG.js.map +1 -0
  29. package/dist/chunk-ZSFNB534.js +2 -0
  30. package/dist/chunk-ZSFNB534.js.map +1 -0
  31. package/dist/eventTypeEnum-B89xECKK.d.mts +240 -0
  32. package/dist/eventTypeEnum-B89xECKK.d.ts +240 -0
  33. package/dist/file-box/api/index.d.mts +133 -0
  34. package/dist/file-box/api/index.d.ts +133 -0
  35. package/dist/file-box/api/index.js +2 -0
  36. package/dist/file-box/api/index.js.map +1 -0
  37. package/dist/file-box/api/index.mjs +2 -0
  38. package/dist/file-box/api/index.mjs.map +1 -0
  39. package/dist/file-box/index.d.mts +4 -0
  40. package/dist/file-box/index.d.ts +4 -0
  41. package/dist/file-box/index.js +2 -0
  42. package/dist/file-box/index.js.map +1 -0
  43. package/dist/file-box/index.mjs +2 -0
  44. package/dist/file-box/index.mjs.map +1 -0
  45. package/dist/file-box/model/index.d.mts +47 -0
  46. package/dist/file-box/model/index.d.ts +47 -0
  47. package/dist/file-box/model/index.js +2 -0
  48. package/dist/file-box/model/index.js.map +1 -0
  49. package/dist/file-box/model/index.mjs +2 -0
  50. package/dist/file-box/model/index.mjs.map +1 -0
  51. package/dist/modeEnum-CSw6xLrL.d.mts +600 -0
  52. package/dist/modeEnum-CSw6xLrL.d.ts +600 -0
  53. package/dist/requirements/api/index.d.mts +466 -0
  54. package/dist/requirements/api/index.d.ts +466 -0
  55. package/dist/requirements/api/index.js +2 -0
  56. package/dist/requirements/api/index.js.map +1 -0
  57. package/dist/requirements/api/index.mjs +2 -0
  58. package/dist/requirements/api/index.mjs.map +1 -0
  59. package/dist/requirements/model/index.d.mts +20 -0
  60. package/dist/requirements/model/index.d.ts +20 -0
  61. package/dist/requirements/model/index.js +2 -0
  62. package/dist/requirements/model/index.js.map +1 -0
  63. package/dist/requirements/model/index.mjs +2 -0
  64. package/dist/requirements/model/index.mjs.map +1 -0
  65. package/dist/rest/index.d.mts +52 -0
  66. package/dist/rest/index.d.ts +52 -0
  67. package/dist/rest/index.js +2 -0
  68. package/dist/rest/index.js.map +1 -0
  69. package/dist/rest/index.mjs +2 -0
  70. package/dist/rest/index.mjs.map +1 -0
  71. package/dist/structure-navigator/api/index.d.mts +311 -0
  72. package/dist/structure-navigator/api/index.d.ts +311 -0
  73. package/dist/structure-navigator/api/index.js +2 -0
  74. package/dist/structure-navigator/api/index.js.map +1 -0
  75. package/dist/structure-navigator/api/index.mjs +2 -0
  76. package/dist/structure-navigator/api/index.mjs.map +1 -0
  77. package/dist/structure-navigator/index.d.mts +5 -0
  78. package/dist/structure-navigator/index.d.ts +5 -0
  79. package/dist/structure-navigator/index.js +2 -0
  80. package/dist/structure-navigator/index.js.map +1 -0
  81. package/dist/structure-navigator/index.mjs +2 -0
  82. package/dist/structure-navigator/index.mjs.map +1 -0
  83. package/dist/structure-navigator/model/index.d.mts +70 -0
  84. package/dist/structure-navigator/model/index.d.ts +70 -0
  85. package/dist/structure-navigator/model/index.js +2 -0
  86. package/dist/structure-navigator/model/index.js.map +1 -0
  87. package/dist/structure-navigator/model/index.mjs +2 -0
  88. package/dist/structure-navigator/model/index.mjs.map +1 -0
  89. package/dist/table-extractor/api/index.d.mts +92 -0
  90. package/dist/table-extractor/api/index.d.ts +92 -0
  91. package/dist/table-extractor/api/index.js +2 -0
  92. package/dist/table-extractor/api/index.js.map +1 -0
  93. package/dist/table-extractor/api/index.mjs +2 -0
  94. package/dist/table-extractor/api/index.mjs.map +1 -0
  95. package/dist/table-extractor/model/index.d.mts +20 -0
  96. package/dist/table-extractor/model/index.d.ts +20 -0
  97. package/dist/table-extractor/model/index.js +2 -0
  98. package/dist/table-extractor/model/index.js.map +1 -0
  99. package/dist/table-extractor/model/index.mjs +2 -0
  100. package/dist/table-extractor/model/index.mjs.map +1 -0
  101. package/dist/tracking/api/index.d.mts +133 -0
  102. package/dist/tracking/api/index.d.ts +133 -0
  103. package/dist/tracking/api/index.js +2 -0
  104. package/dist/tracking/api/index.js.map +1 -0
  105. package/dist/tracking/api/index.mjs +2 -0
  106. package/dist/tracking/api/index.mjs.map +1 -0
  107. package/dist/tracking/index.d.mts +4 -0
  108. package/dist/tracking/index.d.ts +4 -0
  109. package/dist/tracking/index.js +2 -0
  110. package/dist/tracking/index.js.map +1 -0
  111. package/dist/tracking/index.mjs +2 -0
  112. package/dist/tracking/index.mjs.map +1 -0
  113. package/dist/tracking/model/index.d.mts +32 -0
  114. package/dist/tracking/model/index.d.ts +32 -0
  115. package/dist/tracking/model/index.js +2 -0
  116. package/dist/tracking/model/index.js.map +1 -0
  117. package/dist/tracking/model/index.mjs +2 -0
  118. package/dist/tracking/model/index.mjs.map +1 -0
  119. package/package.json +38 -0
@@ -0,0 +1,311 @@
1
+ import { RestClient } from '../../rest/index.js';
2
+ import { C as Configuration, a as ConfigurationUpdate, E as Event, D as DocumentStructure, j as DocumentStructureUpdate, c as DocumentStructureOverview } from '../../eventTypeEnum-B89xECKK.js';
3
+ import 'axios';
4
+
5
+ /**
6
+ * @author semantha
7
+ *
8
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}/binary"
9
+ * This is a generated file do not change manually!
10
+ */
11
+ declare class BinaryEndpoint {
12
+ private readonly restClient;
13
+ private readonly parentEndpoint;
14
+ private readonly ENDPOINT;
15
+ constructor(restClient: RestClient, parentEndpoint: string);
16
+ /**
17
+ * Returns the input document.
18
+ */
19
+ getAsXlsx(): Promise<Blob>;
20
+ /**
21
+ * Returns the input document.
22
+ */
23
+ getAsDocx(): Promise<Blob>;
24
+ /**
25
+ * Returns the input document.
26
+ */
27
+ getAsPdf(): Promise<Blob>;
28
+ }
29
+
30
+ /**
31
+ * @author semantha
32
+ *
33
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/configurations/{configurationid}"
34
+ * This is a generated file do not change manually!
35
+ */
36
+ declare class ConfigurationEndpoint {
37
+ private readonly restClient;
38
+ private readonly parentEndpoint;
39
+ private readonly configurationid;
40
+ private readonly ENDPOINT;
41
+ constructor(restClient: RestClient, parentEndpoint: string, configurationid: string);
42
+ /**
43
+ * Returns the configuration for the given id.
44
+ */
45
+ get(): Promise<Configuration>;
46
+ /**
47
+ * Delete a given configuration. Needs roles: 'Domain Admin' or 'Expert User'
48
+ */
49
+ delete(): Promise<void>;
50
+ /**
51
+ * Make changes to an existing configuration. Needs roles: 'Domain Admin' or 'Expert User'
52
+ *
53
+ * @param body ConfigurationUpdate -
54
+ */
55
+ patch(body: ConfigurationUpdate): Promise<Configuration>;
56
+ }
57
+
58
+ /**
59
+ * @author semantha
60
+ *
61
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/configurations"
62
+ * This is a generated file do not change manually!
63
+ */
64
+ declare class ConfigurationsEndpoint {
65
+ private readonly restClient;
66
+ private readonly parentEndpoint;
67
+ private readonly ENDPOINT;
68
+ constructor(restClient: RestClient, parentEndpoint: string);
69
+ /**
70
+ * Returns all configurations.
71
+ */
72
+ get(): Promise<Configuration[]>;
73
+ /**
74
+ * Delete all configurations. Needs roles: 'Domain Admin' or 'Expert User'
75
+ */
76
+ delete(): Promise<void>;
77
+ /**
78
+ * Creates a new configuration. Needs roles: 'Domain Admin' or 'Expert User'
79
+ *
80
+ * @param body Configuration? -
81
+ */
82
+ post(body?: Configuration): Promise<Configuration>;
83
+ }
84
+
85
+ /**
86
+ * @author semantha
87
+ *
88
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}/events"
89
+ * This is a generated file do not change manually!
90
+ */
91
+ declare class EventsEndpoint {
92
+ private readonly restClient;
93
+ private readonly parentEndpoint;
94
+ private readonly ENDPOINT;
95
+ constructor(restClient: RestClient, parentEndpoint: string);
96
+ /**
97
+ * Returns all events of given document structure
98
+ */
99
+ get(): Promise<Event[]>;
100
+ /**
101
+ * Creates a new event for a document structure.
102
+ *
103
+ * @param body Event? -
104
+ */
105
+ post(body: Event, params?: {
106
+ lasteventid?: string;
107
+ }): Promise<Event>;
108
+ }
109
+
110
+ /**
111
+ * @author semantha
112
+ *
113
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}/screenshots"
114
+ * This is a generated file do not change manually!
115
+ */
116
+ declare class ScreenshotsEndpoint {
117
+ private readonly restClient;
118
+ private readonly parentEndpoint;
119
+ private readonly ENDPOINT;
120
+ constructor(restClient: RestClient, parentEndpoint: string);
121
+ /**
122
+ * Returns a 'screenshot' of a page of the given document structure
123
+ *
124
+ * @param page number? - Number of the page to create a screenshot. Zero based
125
+ * @param x number? - X position of the area to screenshot.
126
+ * @param y number? - Y position of the area to screenshot.
127
+ * @param width number? - Width of the area to screenshot.
128
+ * @param height number? - Height of the area to screenshot.
129
+ */
130
+ getAsPng(params?: {
131
+ page?: number;
132
+ x?: number;
133
+ y?: number;
134
+ width?: number;
135
+ height?: number;
136
+ }): Promise<Blob>;
137
+ }
138
+
139
+ /**
140
+ * @author semantha
141
+ *
142
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures/{documentstructureid}"
143
+ * This is a generated file do not change manually!
144
+ */
145
+ declare class DocumentstructureEndpoint {
146
+ private readonly restClient;
147
+ private readonly parentEndpoint;
148
+ private readonly documentstructureid;
149
+ private readonly ENDPOINT;
150
+ constructor(restClient: RestClient, parentEndpoint: string, documentstructureid: string);
151
+ binary(): BinaryEndpoint;
152
+ events(): EventsEndpoint;
153
+ screenshots(): ScreenshotsEndpoint;
154
+ /**
155
+ * Returns the document structure for the given id.
156
+ */
157
+ get(): Promise<DocumentStructure>;
158
+ /**
159
+ * Returns the document structure for the given id.
160
+ */
161
+ getAsReqifz(): Promise<Blob>;
162
+ /**
163
+ * Delete a given document structure.
164
+ */
165
+ delete(): Promise<void>;
166
+ /**
167
+ * Make changes to an existing document structure.
168
+ *
169
+ * @param body DocumentStructureUpdate -
170
+ */
171
+ patch(body: DocumentStructureUpdate): Promise<DocumentStructureOverview>;
172
+ }
173
+
174
+ /**
175
+ * @author semantha
176
+ *
177
+ * Class to access resource "/api/structurenavigator/domains/{domainname}/documentstructures"
178
+ * This is a generated file do not change manually!
179
+ */
180
+ declare class DocumentstructuresEndpoint {
181
+ private readonly restClient;
182
+ private readonly parentEndpoint;
183
+ private readonly ENDPOINT;
184
+ constructor(restClient: RestClient, parentEndpoint: string);
185
+ /**
186
+ * Returns an overview of all available document structures.
187
+ *
188
+ * @param customfield string? -
189
+ * @param customfieldvalues string? -
190
+ */
191
+ get(params?: {
192
+ customfield?: string;
193
+ customfieldvalues?: string;
194
+ }): Promise<DocumentStructureOverview[]>;
195
+ /**
196
+ * Delete all document structures. Needs role: 'Domain Admin'
197
+ */
198
+ delete(): Promise<void>;
199
+ /**
200
+ * Creates a new document structure.
201
+ *
202
+ * @param file Blob? -
203
+ * @param name string? -
204
+ * @param publicaccess boolean? -
205
+ * @param configurationid string? -
206
+ */
207
+ post(data: {
208
+ file?: Blob;
209
+ name?: string;
210
+ publicaccess?: boolean;
211
+ configurationid?: string;
212
+ }): Promise<DocumentStructureOverview>;
213
+ }
214
+
215
+ /**
216
+ * @author semantha
217
+ *
218
+ * Class to access resource "/api/structurenavigator/domains/{domainname}"
219
+ * This is a generated file do not change manually!
220
+ */
221
+ declare class DomainEndpoint {
222
+ private readonly restClient;
223
+ private readonly parentEndpoint;
224
+ private readonly domainname;
225
+ private readonly ENDPOINT;
226
+ constructor(restClient: RestClient, parentEndpoint: string, domainname: string);
227
+ configurations(): ConfigurationsEndpoint;
228
+ configurations(configurationid: string): ConfigurationEndpoint;
229
+ documentstructures(): DocumentstructuresEndpoint;
230
+ documentstructures(documentstructureid: string): DocumentstructureEndpoint;
231
+ }
232
+
233
+ /**
234
+ * @author semantha
235
+ *
236
+ * Class to access resource "/api/structurenavigator/domains"
237
+ * This is a generated file do not change manually!
238
+ */
239
+ declare class DomainsEndpoint {
240
+ private readonly restClient;
241
+ private readonly parentEndpoint;
242
+ private readonly ENDPOINT;
243
+ constructor(restClient: RestClient, parentEndpoint: string);
244
+ }
245
+
246
+ /**
247
+ * @author semantha
248
+ *
249
+ * Class to access resource "/api/structurenavigator"
250
+ * This is a generated file do not change manually!
251
+ */
252
+ declare class StructurenavigatorEndpoint {
253
+ private readonly restClient;
254
+ private readonly parentEndpoint;
255
+ private readonly ENDPOINT;
256
+ constructor(restClient: RestClient, parentEndpoint: string);
257
+ domains(): DomainsEndpoint;
258
+ domains(domainname: string): DomainEndpoint;
259
+ }
260
+
261
+ /**
262
+ * Entry point to the StructureNavigator API.
263
+ *
264
+ * @author semantha
265
+ * Calls the /structurenavigator, endpoints.
266
+ *
267
+ * Note:
268
+ * The constructor is not meant to be invoked directly
269
+ * use `loginXXX()` with your credentials instead.
270
+ *
271
+ * this is a generated class do not change manually!
272
+ */
273
+ declare class StructureNavigatorAPI {
274
+ private readonly restClient;
275
+ private readonly parentEndpoint;
276
+ constructor(restClient: RestClient, parentEndpoint: string);
277
+ /**
278
+ * Access to the StructureNavigator API
279
+ *
280
+ * @param serverUrl: string - URL to the StructureNavigator server.
281
+ * @param apiKey: string - A valid bearer token for accessing the given url.
282
+ *
283
+ * @return StructureNavigatorAPI: Entry point to the StructureNavigator API.
284
+ */
285
+ static loginWithApiKey(serverUrl: string, apiKey: string): StructureNavigatorAPI;
286
+ /**
287
+ * Access to the StructureNavigator API
288
+ *
289
+ * @param serverUrl: string - URL to the StructureNavigator server.
290
+ * @param clientId: string - OAuth2 client id.
291
+ * @param clientSecret: string - OAuth2 client secret.
292
+ * @param tokenUrl: string OAuth2 url to get a valid access token
293
+ *
294
+ * @return StructureNavigatorAPI: Entry point to the StructureNavigator API.
295
+ */
296
+ static loginWithCredentials(serverUrl: string, clientId: string, clientSecret: string, tokenUrl: string): StructureNavigatorAPI;
297
+ /**
298
+ * Access to the StructureNavigator API
299
+ *
300
+ * @param credentialsFilePath: string - Path to a properties file providing client credentials.
301
+ *
302
+ * @return StructureNavigatorAPI: Entry point to the StructureNavigator API.
303
+ */
304
+ static loginWithCredentialsFile(credentialsFilePath: string): StructureNavigatorAPI;
305
+ private static parseServerUrl;
306
+ private static getValueOfInPropertiesFile;
307
+ endpoint(): string;
308
+ structurenavigator(): StructurenavigatorEndpoint;
309
+ }
310
+
311
+ export { BinaryEndpoint, ConfigurationEndpoint, ConfigurationsEndpoint, DocumentstructureEndpoint, DocumentstructuresEndpoint, DomainEndpoint, DomainsEndpoint, EventsEndpoint, ScreenshotsEndpoint, StructureNavigatorAPI, StructurenavigatorEndpoint };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkOP5BUX5G_js=require('../../chunk-OP5BUX5G.js');require('../../chunk-Z3N63BWG.js');Object.defineProperty(exports,"BinaryEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.a}});Object.defineProperty(exports,"ConfigurationEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.b}});Object.defineProperty(exports,"ConfigurationsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.c}});Object.defineProperty(exports,"DocumentstructureEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.f}});Object.defineProperty(exports,"DocumentstructuresEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.g}});Object.defineProperty(exports,"DomainEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.h}});Object.defineProperty(exports,"DomainsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.i}});Object.defineProperty(exports,"EventsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.d}});Object.defineProperty(exports,"ScreenshotsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.e}});Object.defineProperty(exports,"StructureNavigatorAPI",{enumerable:true,get:function(){return chunkOP5BUX5G_js.k}});Object.defineProperty(exports,"StructurenavigatorEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.j}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{a as BinaryEndpoint,b as ConfigurationEndpoint,c as ConfigurationsEndpoint,f as DocumentstructureEndpoint,g as DocumentstructuresEndpoint,h as DomainEndpoint,i as DomainsEndpoint,d as EventsEndpoint,e as ScreenshotsEndpoint,k as StructureNavigatorAPI,j as StructurenavigatorEndpoint}from'../../chunk-I2MRAQSD.mjs';import'../../chunk-DOK44NQJ.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,5 @@
1
+ export { A as AttributeType, C as Configuration, a as ConfigurationUpdate, b as CustomField, D as DocumentStructure, c as DocumentStructureOverview, e as DocumentStructureOverviewStatusEnum, d as DocumentStructureOverviewStatusEnumValues, g as DocumentStructureStatusEnum, f as DocumentStructureStatusEnumValues, j as DocumentStructureUpdate, E as Event, l as EventTypeEnum, k as EventTypeEnumValues, F as FormatInformation, n as FormatInformationUpdate, P as ParagraphFormatUpdate, R as Rect, S as Section, o as StructureAttachment, p as StructureParagraph, q as StructureSentence, i as isDocumentStructureOverviewStatusEnumValue, h as isDocumentStructureStatusEnumValue, m as isEventTypeEnumValue } from '../eventTypeEnum-B89xECKK.mjs';
2
+ export { BulkConfiguration, BulkDocumentStructure, BulkDocumentStructureStatusEnum, BulkDocumentStructureStatusEnumValues, BulkFormatInformation, isBulkDocumentStructureStatusEnumValue } from './model/index.mjs';
3
+ export { BinaryEndpoint, ConfigurationEndpoint, ConfigurationsEndpoint, DocumentstructureEndpoint, DocumentstructuresEndpoint, DomainEndpoint, DomainsEndpoint, EventsEndpoint, ScreenshotsEndpoint, StructureNavigatorAPI, StructurenavigatorEndpoint } from './api/index.mjs';
4
+ import '../rest/index.mjs';
5
+ import 'axios';
@@ -0,0 +1,5 @@
1
+ export { A as AttributeType, C as Configuration, a as ConfigurationUpdate, b as CustomField, D as DocumentStructure, c as DocumentStructureOverview, e as DocumentStructureOverviewStatusEnum, d as DocumentStructureOverviewStatusEnumValues, g as DocumentStructureStatusEnum, f as DocumentStructureStatusEnumValues, j as DocumentStructureUpdate, E as Event, l as EventTypeEnum, k as EventTypeEnumValues, F as FormatInformation, n as FormatInformationUpdate, P as ParagraphFormatUpdate, R as Rect, S as Section, o as StructureAttachment, p as StructureParagraph, q as StructureSentence, i as isDocumentStructureOverviewStatusEnumValue, h as isDocumentStructureStatusEnumValue, m as isEventTypeEnumValue } from '../eventTypeEnum-B89xECKK.js';
2
+ export { BulkConfiguration, BulkDocumentStructure, BulkDocumentStructureStatusEnum, BulkDocumentStructureStatusEnumValues, BulkFormatInformation, isBulkDocumentStructureStatusEnumValue } from './model/index.js';
3
+ export { BinaryEndpoint, ConfigurationEndpoint, ConfigurationsEndpoint, DocumentstructureEndpoint, DocumentstructuresEndpoint, DomainEndpoint, DomainsEndpoint, EventsEndpoint, ScreenshotsEndpoint, StructureNavigatorAPI, StructurenavigatorEndpoint } from './api/index.js';
4
+ import '../rest/index.js';
5
+ import 'axios';
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkOP5BUX5G_js=require('../chunk-OP5BUX5G.js'),chunk4R65LLWL_js=require('../chunk-4R65LLWL.js');require('../chunk-Z3N63BWG.js');Object.defineProperty(exports,"BinaryEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.a}});Object.defineProperty(exports,"ConfigurationEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.b}});Object.defineProperty(exports,"ConfigurationsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.c}});Object.defineProperty(exports,"DocumentstructureEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.f}});Object.defineProperty(exports,"DocumentstructuresEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.g}});Object.defineProperty(exports,"DomainEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.h}});Object.defineProperty(exports,"DomainsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.i}});Object.defineProperty(exports,"EventsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.d}});Object.defineProperty(exports,"ScreenshotsEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.e}});Object.defineProperty(exports,"StructureNavigatorAPI",{enumerable:true,get:function(){return chunkOP5BUX5G_js.k}});Object.defineProperty(exports,"StructurenavigatorEndpoint",{enumerable:true,get:function(){return chunkOP5BUX5G_js.j}});Object.defineProperty(exports,"BulkDocumentStructureStatusEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.a}});Object.defineProperty(exports,"DocumentStructureOverviewStatusEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.c}});Object.defineProperty(exports,"DocumentStructureStatusEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.e}});Object.defineProperty(exports,"EventTypeEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.g}});Object.defineProperty(exports,"isBulkDocumentStructureStatusEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.b}});Object.defineProperty(exports,"isDocumentStructureOverviewStatusEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.d}});Object.defineProperty(exports,"isDocumentStructureStatusEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.f}});Object.defineProperty(exports,"isEventTypeEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.h}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{a as BinaryEndpoint,b as ConfigurationEndpoint,c as ConfigurationsEndpoint,f as DocumentstructureEndpoint,g as DocumentstructuresEndpoint,h as DomainEndpoint,i as DomainsEndpoint,d as EventsEndpoint,e as ScreenshotsEndpoint,k as StructureNavigatorAPI,j as StructurenavigatorEndpoint}from'../chunk-I2MRAQSD.mjs';export{a as BulkDocumentStructureStatusEnumValues,c as DocumentStructureOverviewStatusEnumValues,e as DocumentStructureStatusEnumValues,g as EventTypeEnumValues,b as isBulkDocumentStructureStatusEnumValue,d as isDocumentStructureOverviewStatusEnumValue,f as isDocumentStructureStatusEnumValue,h as isEventTypeEnumValue}from'../chunk-TNZ7KC6A.mjs';import'../chunk-DOK44NQJ.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,70 @@
1
+ import { A as AttributeType, b as CustomField, S as Section, F as FormatInformation, o as StructureAttachment } from '../../eventTypeEnum-B89xECKK.mjs';
2
+ export { C as Configuration, a as ConfigurationUpdate, D as DocumentStructure, c as DocumentStructureOverview, e as DocumentStructureOverviewStatusEnum, d as DocumentStructureOverviewStatusEnumValues, g as DocumentStructureStatusEnum, f as DocumentStructureStatusEnumValues, j as DocumentStructureUpdate, E as Event, l as EventTypeEnum, k as EventTypeEnumValues, n as FormatInformationUpdate, P as ParagraphFormatUpdate, R as Rect, p as StructureParagraph, q as StructureSentence, i as isDocumentStructureOverviewStatusEnumValue, h as isDocumentStructureStatusEnumValue, m as isEventTypeEnumValue } from '../../eventTypeEnum-B89xECKK.mjs';
3
+
4
+ /**
5
+ * @author semantha
6
+ *
7
+ * This is a generated file do not change manually!
8
+ */
9
+ interface BulkFormatInformation {
10
+ id?: number;
11
+ textType?: string;
12
+ fontsize?: number;
13
+ bold?: boolean;
14
+ italic?: boolean;
15
+ count?: number;
16
+ targetTextType?: string;
17
+ created?: number;
18
+ }
19
+
20
+ /**
21
+ * @author semantha
22
+ *
23
+ * This is a generated file do not change manually!
24
+ */
25
+ interface BulkConfiguration {
26
+ name?: string;
27
+ splitByTextTypes?: string[];
28
+ splitByRegex?: string;
29
+ attributeTypes?: AttributeType[];
30
+ id?: string;
31
+ documentTypeId?: string;
32
+ formatInformations?: BulkFormatInformation[];
33
+ }
34
+
35
+ /**
36
+ * @author semantha
37
+ *
38
+ * This is a generated file do not change manually!
39
+ */
40
+ interface BulkDocumentStructure {
41
+ configurationId: string;
42
+ id?: string;
43
+ name?: string;
44
+ created?: number;
45
+ updated?: number;
46
+ publicAccess?: boolean;
47
+ owner?: string;
48
+ status?: BulkDocumentStructureStatusEnum;
49
+ customFields?: CustomField[];
50
+ sections?: Section[];
51
+ formatInformations?: FormatInformation[];
52
+ attachments?: StructureAttachment[];
53
+ lastEventId?: string;
54
+ base64Binary?: string;
55
+ mimeType?: string;
56
+ userId?: string;
57
+ sectionsJson?: string;
58
+ mimeTpye?: string;
59
+ }
60
+
61
+ /**
62
+ * @author semantha
63
+ *
64
+ * This is a generated file do not change manually!
65
+ */
66
+ declare const BulkDocumentStructureStatusEnumValues: readonly ["MAPPING", "STRUCTURE"];
67
+ type BulkDocumentStructureStatusEnum = (typeof BulkDocumentStructureStatusEnumValues)[number];
68
+ declare function isBulkDocumentStructureStatusEnumValue(value: any): value is BulkDocumentStructureStatusEnum;
69
+
70
+ export { AttributeType, type BulkConfiguration, type BulkDocumentStructure, type BulkDocumentStructureStatusEnum, BulkDocumentStructureStatusEnumValues, type BulkFormatInformation, CustomField, FormatInformation, Section, StructureAttachment, isBulkDocumentStructureStatusEnumValue };
@@ -0,0 +1,70 @@
1
+ import { A as AttributeType, b as CustomField, S as Section, F as FormatInformation, o as StructureAttachment } from '../../eventTypeEnum-B89xECKK.js';
2
+ export { C as Configuration, a as ConfigurationUpdate, D as DocumentStructure, c as DocumentStructureOverview, e as DocumentStructureOverviewStatusEnum, d as DocumentStructureOverviewStatusEnumValues, g as DocumentStructureStatusEnum, f as DocumentStructureStatusEnumValues, j as DocumentStructureUpdate, E as Event, l as EventTypeEnum, k as EventTypeEnumValues, n as FormatInformationUpdate, P as ParagraphFormatUpdate, R as Rect, p as StructureParagraph, q as StructureSentence, i as isDocumentStructureOverviewStatusEnumValue, h as isDocumentStructureStatusEnumValue, m as isEventTypeEnumValue } from '../../eventTypeEnum-B89xECKK.js';
3
+
4
+ /**
5
+ * @author semantha
6
+ *
7
+ * This is a generated file do not change manually!
8
+ */
9
+ interface BulkFormatInformation {
10
+ id?: number;
11
+ textType?: string;
12
+ fontsize?: number;
13
+ bold?: boolean;
14
+ italic?: boolean;
15
+ count?: number;
16
+ targetTextType?: string;
17
+ created?: number;
18
+ }
19
+
20
+ /**
21
+ * @author semantha
22
+ *
23
+ * This is a generated file do not change manually!
24
+ */
25
+ interface BulkConfiguration {
26
+ name?: string;
27
+ splitByTextTypes?: string[];
28
+ splitByRegex?: string;
29
+ attributeTypes?: AttributeType[];
30
+ id?: string;
31
+ documentTypeId?: string;
32
+ formatInformations?: BulkFormatInformation[];
33
+ }
34
+
35
+ /**
36
+ * @author semantha
37
+ *
38
+ * This is a generated file do not change manually!
39
+ */
40
+ interface BulkDocumentStructure {
41
+ configurationId: string;
42
+ id?: string;
43
+ name?: string;
44
+ created?: number;
45
+ updated?: number;
46
+ publicAccess?: boolean;
47
+ owner?: string;
48
+ status?: BulkDocumentStructureStatusEnum;
49
+ customFields?: CustomField[];
50
+ sections?: Section[];
51
+ formatInformations?: FormatInformation[];
52
+ attachments?: StructureAttachment[];
53
+ lastEventId?: string;
54
+ base64Binary?: string;
55
+ mimeType?: string;
56
+ userId?: string;
57
+ sectionsJson?: string;
58
+ mimeTpye?: string;
59
+ }
60
+
61
+ /**
62
+ * @author semantha
63
+ *
64
+ * This is a generated file do not change manually!
65
+ */
66
+ declare const BulkDocumentStructureStatusEnumValues: readonly ["MAPPING", "STRUCTURE"];
67
+ type BulkDocumentStructureStatusEnum = (typeof BulkDocumentStructureStatusEnumValues)[number];
68
+ declare function isBulkDocumentStructureStatusEnumValue(value: any): value is BulkDocumentStructureStatusEnum;
69
+
70
+ export { AttributeType, type BulkConfiguration, type BulkDocumentStructure, type BulkDocumentStructureStatusEnum, BulkDocumentStructureStatusEnumValues, type BulkFormatInformation, CustomField, FormatInformation, Section, StructureAttachment, isBulkDocumentStructureStatusEnumValue };
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunk4R65LLWL_js=require('../../chunk-4R65LLWL.js');Object.defineProperty(exports,"BulkDocumentStructureStatusEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.a}});Object.defineProperty(exports,"DocumentStructureOverviewStatusEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.c}});Object.defineProperty(exports,"DocumentStructureStatusEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.e}});Object.defineProperty(exports,"EventTypeEnumValues",{enumerable:true,get:function(){return chunk4R65LLWL_js.g}});Object.defineProperty(exports,"isBulkDocumentStructureStatusEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.b}});Object.defineProperty(exports,"isDocumentStructureOverviewStatusEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.d}});Object.defineProperty(exports,"isDocumentStructureStatusEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.f}});Object.defineProperty(exports,"isEventTypeEnumValue",{enumerable:true,get:function(){return chunk4R65LLWL_js.h}});//# sourceMappingURL=index.js.map
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,2 @@
1
+ export{a as BulkDocumentStructureStatusEnumValues,c as DocumentStructureOverviewStatusEnumValues,e as DocumentStructureStatusEnumValues,g as EventTypeEnumValues,b as isBulkDocumentStructureStatusEnumValue,d as isDocumentStructureOverviewStatusEnumValue,f as isDocumentStructureStatusEnumValue,h as isEventTypeEnumValue}from'../../chunk-TNZ7KC6A.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,92 @@
1
+ import { RestClient } from '../../rest/index.mjs';
2
+ import { XlRow } from '../model/index.mjs';
3
+ import 'axios';
4
+
5
+ /**
6
+ * @author semantha
7
+ *
8
+ * Class to access resource "/api/tableextractor/values"
9
+ * This is a generated file do not change manually!
10
+ */
11
+ declare class ValuesEndpoint {
12
+ private readonly restClient;
13
+ private readonly parentEndpoint;
14
+ private readonly ENDPOINT;
15
+ constructor(restClient: RestClient, parentEndpoint: string);
16
+ /**
17
+ * Extracts values from a sheet and returns them
18
+ *
19
+ * @param file Blob? - Xlsx file to extract values from.
20
+ * @param language string? - Locale used to format dates in the sheet on reading values.
21
+ */
22
+ post(data: {
23
+ file?: Blob;
24
+ language?: string;
25
+ }): Promise<XlRow[]>;
26
+ }
27
+
28
+ /**
29
+ * @author semantha
30
+ *
31
+ * Class to access resource "/api/tableextractor"
32
+ * This is a generated file do not change manually!
33
+ */
34
+ declare class TableextractorEndpoint {
35
+ private readonly restClient;
36
+ private readonly parentEndpoint;
37
+ private readonly ENDPOINT;
38
+ constructor(restClient: RestClient, parentEndpoint: string);
39
+ values(): ValuesEndpoint;
40
+ }
41
+
42
+ /**
43
+ * Entry point to the TableExtractor API.
44
+ *
45
+ * @author semantha
46
+ * Calls the /tableextractor, endpoints.
47
+ *
48
+ * Note:
49
+ * The constructor is not meant to be invoked directly
50
+ * use `loginXXX()` with your credentials instead.
51
+ *
52
+ * this is a generated class do not change manually!
53
+ */
54
+ declare class TableExtractorAPI {
55
+ private readonly restClient;
56
+ private readonly parentEndpoint;
57
+ constructor(restClient: RestClient, parentEndpoint: string);
58
+ /**
59
+ * Access to the TableExtractor API
60
+ *
61
+ * @param serverUrl: string - URL to the TableExtractor server.
62
+ * @param apiKey: string - A valid bearer token for accessing the given url.
63
+ *
64
+ * @return TableExtractorAPI: Entry point to the TableExtractor API.
65
+ */
66
+ static loginWithApiKey(serverUrl: string, apiKey: string): TableExtractorAPI;
67
+ /**
68
+ * Access to the TableExtractor API
69
+ *
70
+ * @param serverUrl: string - URL to the TableExtractor server.
71
+ * @param clientId: string - OAuth2 client id.
72
+ * @param clientSecret: string - OAuth2 client secret.
73
+ * @param tokenUrl: string OAuth2 url to get a valid access token
74
+ *
75
+ * @return TableExtractorAPI: Entry point to the TableExtractor API.
76
+ */
77
+ static loginWithCredentials(serverUrl: string, clientId: string, clientSecret: string, tokenUrl: string): TableExtractorAPI;
78
+ /**
79
+ * Access to the TableExtractor API
80
+ *
81
+ * @param credentialsFilePath: string - Path to a properties file providing client credentials.
82
+ *
83
+ * @return TableExtractorAPI: Entry point to the TableExtractor API.
84
+ */
85
+ static loginWithCredentialsFile(credentialsFilePath: string): TableExtractorAPI;
86
+ private static parseServerUrl;
87
+ private static getValueOfInPropertiesFile;
88
+ endpoint(): string;
89
+ tableextractor(): TableextractorEndpoint;
90
+ }
91
+
92
+ export { TableExtractorAPI, TableextractorEndpoint, ValuesEndpoint };