@equisoft/equisoft-connect-sdk-typescript 13.59.1-snapshot.20261008140706 → 13.60.0
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 +14 -4
- package/README.md +11 -2
- package/dist/apis/ExtractionApi.d.ts +70 -4
- package/dist/apis/ExtractionApi.js +211 -5
- package/dist/esm/apis/ExtractionApi.d.ts +70 -4
- package/dist/esm/apis/ExtractionApi.js +212 -6
- package/dist/esm/models/ChangeMetadata.d.ts +63 -0
- package/dist/esm/models/ChangeMetadata.js +52 -0
- package/dist/esm/models/ExtractionsAddExtractionPayload.d.ts +62 -0
- package/dist/esm/models/{ExtractionAddExtractionPayload.js → ExtractionsAddExtractionPayload.js} +8 -8
- package/dist/esm/models/ExtractionsDetails.d.ts +63 -0
- package/dist/esm/models/ExtractionsDetails.js +52 -0
- package/dist/esm/models/ExtractionsExtraction.d.ts +64 -0
- package/dist/esm/models/ExtractionsExtraction.js +53 -0
- package/dist/esm/models/ExtractionsListExtractionResponse.d.ts +45 -0
- package/dist/esm/models/ExtractionsListExtractionResponse.js +48 -0
- package/dist/esm/models/ExtractionsResumeExtractionPayload.d.ts +32 -0
- package/dist/esm/models/ExtractionsResumeExtractionPayload.js +43 -0
- package/dist/esm/models/ExtraxtionsStatus.d.ts +29 -0
- package/dist/esm/models/ExtraxtionsStatus.js +47 -0
- package/dist/esm/models/UsersUserIdentity.d.ts +6 -0
- package/dist/esm/models/UsersUserIdentity.js +4 -0
- package/dist/esm/models/index.d.ts +7 -2
- package/dist/esm/models/index.js +7 -2
- package/dist/models/ChangeMetadata.d.ts +63 -0
- package/dist/models/ChangeMetadata.js +59 -0
- package/dist/models/ExtractionsAddExtractionPayload.d.ts +62 -0
- package/dist/models/{ExtractionAddExtractionPayload.js → ExtractionsAddExtractionPayload.js} +13 -13
- package/dist/models/ExtractionsDetails.d.ts +63 -0
- package/dist/models/ExtractionsDetails.js +59 -0
- package/dist/models/ExtractionsExtraction.d.ts +64 -0
- package/dist/models/ExtractionsExtraction.js +60 -0
- package/dist/models/ExtractionsListExtractionResponse.d.ts +45 -0
- package/dist/models/ExtractionsListExtractionResponse.js +55 -0
- package/dist/models/ExtractionsResumeExtractionPayload.d.ts +32 -0
- package/dist/models/ExtractionsResumeExtractionPayload.js +50 -0
- package/dist/models/ExtraxtionsStatus.d.ts +29 -0
- package/dist/models/ExtraxtionsStatus.js +55 -0
- package/dist/models/UsersUserIdentity.d.ts +6 -0
- package/dist/models/UsersUserIdentity.js +4 -0
- package/dist/models/index.d.ts +7 -2
- package/dist/models/index.js +7 -2
- package/docs/ChangeMetadata.md +44 -0
- package/docs/ExtractionApi.md +320 -5
- package/docs/{ExtractionAddExtractionPayload.md → ExtractionsAddExtractionPayload.md} +4 -4
- package/docs/ExtractionsDetails.md +44 -0
- package/docs/ExtractionsExtraction.md +44 -0
- package/docs/ExtractionsListExtractionResponse.md +38 -0
- package/docs/ExtractionsResumeExtractionPayload.md +34 -0
- package/docs/{ExtractionAddExtractionResponse.md → ExtraxtionsStatus.md} +5 -6
- package/docs/UsersUserIdentity.md +2 -0
- package/package.json +1 -1
- package/src/apis/ExtractionApi.ts +291 -15
- package/src/models/ChangeMetadata.ts +113 -0
- package/src/models/{ExtractionAddExtractionPayload.ts → ExtractionsAddExtractionPayload.ts} +16 -16
- package/src/models/ExtractionsDetails.ts +113 -0
- package/src/models/ExtractionsExtraction.ts +120 -0
- package/src/models/ExtractionsListExtractionResponse.ts +90 -0
- package/src/models/ExtractionsResumeExtractionPayload.ts +66 -0
- package/src/models/ExtraxtionsStatus.ts +57 -0
- package/src/models/UsersUserIdentity.ts +9 -0
- package/src/models/index.ts +7 -2
- package/dist/esm/models/ExtractionAddExtractionPayload.d.ts +0 -62
- package/dist/esm/models/ExtractionAddExtractionResponse.d.ts +0 -32
- package/dist/esm/models/ExtractionAddExtractionResponse.js +0 -41
- package/dist/models/ExtractionAddExtractionPayload.d.ts +0 -62
- package/dist/models/ExtractionAddExtractionResponse.d.ts +0 -32
- package/dist/models/ExtractionAddExtractionResponse.js +0 -48
- package/src/models/ExtractionAddExtractionResponse.ts +0 -65
package/docs/ExtractionApi.md
CHANGED
|
@@ -5,12 +5,16 @@ All URIs are relative to *http://localhost*
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
| [**addExtraction**](ExtractionApi.md#addextraction) | **POST** /crm/api/v1/extractions | Add an extraction |
|
|
8
|
+
| [**deleteExtraction**](ExtractionApi.md#deleteextraction) | **DELETE** /crm/api/v1/extractions/{uuid} | Delete an extraction |
|
|
9
|
+
| [**getExtraction**](ExtractionApi.md#getextraction) | **GET** /crm/api/v1/extractions/{uuid} | Get an extraction |
|
|
10
|
+
| [**listExtractions**](ExtractionApi.md#listextractions) | **GET** /crm/api/v1/extractions | List extractions |
|
|
11
|
+
| [**resumeExtraction**](ExtractionApi.md#resumeextraction) | **POST** /crm/api/v1/extractions/{uuid}/resume | Resume an extraction |
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
|
|
11
15
|
## addExtraction
|
|
12
16
|
|
|
13
|
-
>
|
|
17
|
+
> addExtraction(extractionsAddExtractionPayload)
|
|
14
18
|
|
|
15
19
|
Add an extraction
|
|
16
20
|
|
|
@@ -32,8 +36,8 @@ async function example() {
|
|
|
32
36
|
const api = new ExtractionApi(config);
|
|
33
37
|
|
|
34
38
|
const body = {
|
|
35
|
-
//
|
|
36
|
-
|
|
39
|
+
// ExtractionsAddExtractionPayload
|
|
40
|
+
extractionsAddExtractionPayload: ...,
|
|
37
41
|
} satisfies AddExtractionRequest;
|
|
38
42
|
|
|
39
43
|
try {
|
|
@@ -53,11 +57,11 @@ example().catch(console.error);
|
|
|
53
57
|
|
|
54
58
|
| Name | Type | Description | Notes |
|
|
55
59
|
|------------- | ------------- | ------------- | -------------|
|
|
56
|
-
| **
|
|
60
|
+
| **extractionsAddExtractionPayload** | [ExtractionsAddExtractionPayload](ExtractionsAddExtractionPayload.md) | | |
|
|
57
61
|
|
|
58
62
|
### Return type
|
|
59
63
|
|
|
60
|
-
|
|
64
|
+
`void` (Empty response body)
|
|
61
65
|
|
|
62
66
|
### Authorization
|
|
63
67
|
|
|
@@ -69,10 +73,321 @@ example().catch(console.error);
|
|
|
69
73
|
- **Accept**: `application/json`
|
|
70
74
|
|
|
71
75
|
|
|
76
|
+
### HTTP response details
|
|
77
|
+
| Status code | Description | Response headers |
|
|
78
|
+
|-------------|-------------|------------------|
|
|
79
|
+
| **201** | Created | * Location - The URI of the created resource <br> |
|
|
80
|
+
| **422** | Unprocessable Content | - |
|
|
81
|
+
| **400** | Bad Request | - |
|
|
82
|
+
| **401** | Unauthorized | - |
|
|
83
|
+
| **500** | Internal Server Error | - |
|
|
84
|
+
|
|
85
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## deleteExtraction
|
|
89
|
+
|
|
90
|
+
> deleteExtraction(uuid)
|
|
91
|
+
|
|
92
|
+
Delete an extraction
|
|
93
|
+
|
|
94
|
+
### Example
|
|
95
|
+
|
|
96
|
+
```ts
|
|
97
|
+
import {
|
|
98
|
+
Configuration,
|
|
99
|
+
ExtractionApi,
|
|
100
|
+
} from '@equisoft/equisoft-connect-sdk-typescript';
|
|
101
|
+
import type { DeleteExtractionRequest } from '@equisoft/equisoft-connect-sdk-typescript';
|
|
102
|
+
|
|
103
|
+
async function example() {
|
|
104
|
+
console.log("🚀 Testing @equisoft/equisoft-connect-sdk-typescript SDK...");
|
|
105
|
+
const config = new Configuration({
|
|
106
|
+
// To configure OAuth2 access token for authorization: OAuth2 accessCode
|
|
107
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
108
|
+
});
|
|
109
|
+
const api = new ExtractionApi(config);
|
|
110
|
+
|
|
111
|
+
const body = {
|
|
112
|
+
// string | Unique identifier.
|
|
113
|
+
uuid: uuid_example,
|
|
114
|
+
} satisfies DeleteExtractionRequest;
|
|
115
|
+
|
|
116
|
+
try {
|
|
117
|
+
const data = await api.deleteExtraction(body);
|
|
118
|
+
console.log(data);
|
|
119
|
+
} catch (error) {
|
|
120
|
+
console.error(error);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Run the test
|
|
125
|
+
example().catch(console.error);
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Parameters
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
| Name | Type | Description | Notes |
|
|
132
|
+
|------------- | ------------- | ------------- | -------------|
|
|
133
|
+
| **uuid** | `string` | Unique identifier. | [Defaults to `undefined`] |
|
|
134
|
+
|
|
135
|
+
### Return type
|
|
136
|
+
|
|
137
|
+
`void` (Empty response body)
|
|
138
|
+
|
|
139
|
+
### Authorization
|
|
140
|
+
|
|
141
|
+
[OAuth2 accessCode](../README.md#OAuth2-accessCode)
|
|
142
|
+
|
|
143
|
+
### HTTP request headers
|
|
144
|
+
|
|
145
|
+
- **Content-Type**: Not defined
|
|
146
|
+
- **Accept**: `application/json`
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### HTTP response details
|
|
150
|
+
| Status code | Description | Response headers |
|
|
151
|
+
|-------------|-------------|------------------|
|
|
152
|
+
| **204** | No Content | - |
|
|
153
|
+
| **400** | Bad Request | - |
|
|
154
|
+
| **401** | Unauthorized | - |
|
|
155
|
+
| **500** | Internal Server Error | - |
|
|
156
|
+
|
|
157
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
## getExtraction
|
|
161
|
+
|
|
162
|
+
> ExtractionsExtraction getExtraction(uuid)
|
|
163
|
+
|
|
164
|
+
Get an extraction
|
|
165
|
+
|
|
166
|
+
### Example
|
|
167
|
+
|
|
168
|
+
```ts
|
|
169
|
+
import {
|
|
170
|
+
Configuration,
|
|
171
|
+
ExtractionApi,
|
|
172
|
+
} from '@equisoft/equisoft-connect-sdk-typescript';
|
|
173
|
+
import type { GetExtractionRequest } from '@equisoft/equisoft-connect-sdk-typescript';
|
|
174
|
+
|
|
175
|
+
async function example() {
|
|
176
|
+
console.log("🚀 Testing @equisoft/equisoft-connect-sdk-typescript SDK...");
|
|
177
|
+
const config = new Configuration({
|
|
178
|
+
// To configure OAuth2 access token for authorization: OAuth2 accessCode
|
|
179
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
180
|
+
});
|
|
181
|
+
const api = new ExtractionApi(config);
|
|
182
|
+
|
|
183
|
+
const body = {
|
|
184
|
+
// string | Unique identifier.
|
|
185
|
+
uuid: uuid_example,
|
|
186
|
+
} satisfies GetExtractionRequest;
|
|
187
|
+
|
|
188
|
+
try {
|
|
189
|
+
const data = await api.getExtraction(body);
|
|
190
|
+
console.log(data);
|
|
191
|
+
} catch (error) {
|
|
192
|
+
console.error(error);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// Run the test
|
|
197
|
+
example().catch(console.error);
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
### Parameters
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
| Name | Type | Description | Notes |
|
|
204
|
+
|------------- | ------------- | ------------- | -------------|
|
|
205
|
+
| **uuid** | `string` | Unique identifier. | [Defaults to `undefined`] |
|
|
206
|
+
|
|
207
|
+
### Return type
|
|
208
|
+
|
|
209
|
+
[**ExtractionsExtraction**](ExtractionsExtraction.md)
|
|
210
|
+
|
|
211
|
+
### Authorization
|
|
212
|
+
|
|
213
|
+
[OAuth2 accessCode](../README.md#OAuth2-accessCode)
|
|
214
|
+
|
|
215
|
+
### HTTP request headers
|
|
216
|
+
|
|
217
|
+
- **Content-Type**: Not defined
|
|
218
|
+
- **Accept**: `application/json`
|
|
219
|
+
|
|
220
|
+
|
|
72
221
|
### HTTP response details
|
|
73
222
|
| Status code | Description | Response headers |
|
|
74
223
|
|-------------|-------------|------------------|
|
|
75
224
|
| **200** | Ok | - |
|
|
225
|
+
| **404** | Not Found | - |
|
|
226
|
+
| **400** | Bad Request | - |
|
|
227
|
+
| **401** | Unauthorized | - |
|
|
228
|
+
| **500** | Internal Server Error | - |
|
|
229
|
+
|
|
230
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
## listExtractions
|
|
234
|
+
|
|
235
|
+
> ExtractionsListExtractionResponse listExtractions(extractionsAddExtractionPayload, status, today, includeDeleted, pageToken, maxResults)
|
|
236
|
+
|
|
237
|
+
List extractions
|
|
238
|
+
|
|
239
|
+
### Example
|
|
240
|
+
|
|
241
|
+
```ts
|
|
242
|
+
import {
|
|
243
|
+
Configuration,
|
|
244
|
+
ExtractionApi,
|
|
245
|
+
} from '@equisoft/equisoft-connect-sdk-typescript';
|
|
246
|
+
import type { ListExtractionsRequest } from '@equisoft/equisoft-connect-sdk-typescript';
|
|
247
|
+
|
|
248
|
+
async function example() {
|
|
249
|
+
console.log("🚀 Testing @equisoft/equisoft-connect-sdk-typescript SDK...");
|
|
250
|
+
const config = new Configuration({
|
|
251
|
+
// To configure OAuth2 access token for authorization: OAuth2 accessCode
|
|
252
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
253
|
+
});
|
|
254
|
+
const api = new ExtractionApi(config);
|
|
255
|
+
|
|
256
|
+
const body = {
|
|
257
|
+
// ExtractionsAddExtractionPayload
|
|
258
|
+
extractionsAddExtractionPayload: ...,
|
|
259
|
+
// string | Filter extraction status. (optional)
|
|
260
|
+
status: status_example,
|
|
261
|
+
// boolean | Filter by today only. Default: false. (optional)
|
|
262
|
+
today: true,
|
|
263
|
+
// boolean | Filter by including deleted extractions. Default: false. (optional)
|
|
264
|
+
includeDeleted: true,
|
|
265
|
+
// string | Token to specify which page to fetch. (optional)
|
|
266
|
+
pageToken: MjUwMDszMDAK,
|
|
267
|
+
// string | Maximum number of records for one result page. If the query return more records, nextPageToken will be specified in the result to get the records of the next page. Defaults to 250 records. Can never be more than 2500 records. (optional)
|
|
268
|
+
maxResults: maxResults_example,
|
|
269
|
+
} satisfies ListExtractionsRequest;
|
|
270
|
+
|
|
271
|
+
try {
|
|
272
|
+
const data = await api.listExtractions(body);
|
|
273
|
+
console.log(data);
|
|
274
|
+
} catch (error) {
|
|
275
|
+
console.error(error);
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// Run the test
|
|
280
|
+
example().catch(console.error);
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
### Parameters
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
| Name | Type | Description | Notes |
|
|
287
|
+
|------------- | ------------- | ------------- | -------------|
|
|
288
|
+
| **extractionsAddExtractionPayload** | [ExtractionsAddExtractionPayload](ExtractionsAddExtractionPayload.md) | | |
|
|
289
|
+
| **status** | `string` | Filter extraction status. | [Optional] [Defaults to `undefined`] |
|
|
290
|
+
| **today** | `boolean` | Filter by today only. Default: false. | [Optional] [Defaults to `undefined`] |
|
|
291
|
+
| **includeDeleted** | `boolean` | Filter by including deleted extractions. Default: false. | [Optional] [Defaults to `undefined`] |
|
|
292
|
+
| **pageToken** | `string` | Token to specify which page to fetch. | [Optional] [Defaults to `undefined`] |
|
|
293
|
+
| **maxResults** | `string` | Maximum number of records for one result page. If the query return more records, nextPageToken will be specified in the result to get the records of the next page. Defaults to 250 records. Can never be more than 2500 records. | [Optional] [Defaults to `undefined`] |
|
|
294
|
+
|
|
295
|
+
### Return type
|
|
296
|
+
|
|
297
|
+
[**ExtractionsListExtractionResponse**](ExtractionsListExtractionResponse.md)
|
|
298
|
+
|
|
299
|
+
### Authorization
|
|
300
|
+
|
|
301
|
+
[OAuth2 accessCode](../README.md#OAuth2-accessCode)
|
|
302
|
+
|
|
303
|
+
### HTTP request headers
|
|
304
|
+
|
|
305
|
+
- **Content-Type**: `application/json`
|
|
306
|
+
- **Accept**: `application/json`
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
### HTTP response details
|
|
310
|
+
| Status code | Description | Response headers |
|
|
311
|
+
|-------------|-------------|------------------|
|
|
312
|
+
| **200** | Ok | - |
|
|
313
|
+
| **400** | Bad Request | - |
|
|
314
|
+
| **401** | Unauthorized | - |
|
|
315
|
+
| **500** | Internal Server Error | - |
|
|
316
|
+
|
|
317
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
## resumeExtraction
|
|
321
|
+
|
|
322
|
+
> resumeExtraction(uuid, extractionsResumeExtractionPayload)
|
|
323
|
+
|
|
324
|
+
Resume an extraction
|
|
325
|
+
|
|
326
|
+
### Example
|
|
327
|
+
|
|
328
|
+
```ts
|
|
329
|
+
import {
|
|
330
|
+
Configuration,
|
|
331
|
+
ExtractionApi,
|
|
332
|
+
} from '@equisoft/equisoft-connect-sdk-typescript';
|
|
333
|
+
import type { ResumeExtractionRequest } from '@equisoft/equisoft-connect-sdk-typescript';
|
|
334
|
+
|
|
335
|
+
async function example() {
|
|
336
|
+
console.log("🚀 Testing @equisoft/equisoft-connect-sdk-typescript SDK...");
|
|
337
|
+
const config = new Configuration({
|
|
338
|
+
// To configure OAuth2 access token for authorization: OAuth2 accessCode
|
|
339
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
340
|
+
});
|
|
341
|
+
const api = new ExtractionApi(config);
|
|
342
|
+
|
|
343
|
+
const body = {
|
|
344
|
+
// string | Unique identifier.
|
|
345
|
+
uuid: uuid_example,
|
|
346
|
+
// ExtractionsResumeExtractionPayload
|
|
347
|
+
extractionsResumeExtractionPayload: ...,
|
|
348
|
+
} satisfies ResumeExtractionRequest;
|
|
349
|
+
|
|
350
|
+
try {
|
|
351
|
+
const data = await api.resumeExtraction(body);
|
|
352
|
+
console.log(data);
|
|
353
|
+
} catch (error) {
|
|
354
|
+
console.error(error);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// Run the test
|
|
359
|
+
example().catch(console.error);
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
### Parameters
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
| Name | Type | Description | Notes |
|
|
366
|
+
|------------- | ------------- | ------------- | -------------|
|
|
367
|
+
| **uuid** | `string` | Unique identifier. | [Defaults to `undefined`] |
|
|
368
|
+
| **extractionsResumeExtractionPayload** | [ExtractionsResumeExtractionPayload](ExtractionsResumeExtractionPayload.md) | | |
|
|
369
|
+
|
|
370
|
+
### Return type
|
|
371
|
+
|
|
372
|
+
`void` (Empty response body)
|
|
373
|
+
|
|
374
|
+
### Authorization
|
|
375
|
+
|
|
376
|
+
[OAuth2 accessCode](../README.md#OAuth2-accessCode)
|
|
377
|
+
|
|
378
|
+
### HTTP request headers
|
|
379
|
+
|
|
380
|
+
- **Content-Type**: `application/json`
|
|
381
|
+
- **Accept**: `application/json`
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
### HTTP response details
|
|
385
|
+
| Status code | Description | Response headers |
|
|
386
|
+
|-------------|-------------|------------------|
|
|
387
|
+
| **204** | No Content | - |
|
|
388
|
+
| **404** | Not Found | - |
|
|
389
|
+
| **422** | Unprocessable Content | - |
|
|
390
|
+
| **409** | Conflict | - |
|
|
76
391
|
| **400** | Bad Request | - |
|
|
77
392
|
| **401** | Unauthorized | - |
|
|
78
393
|
| **500** | Internal Server Error | - |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ExtractionsAddExtractionPayload
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
@@ -16,7 +16,7 @@ Name | Type
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
18
18
|
```typescript
|
|
19
|
-
import type {
|
|
19
|
+
import type { ExtractionsAddExtractionPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
20
20
|
|
|
21
21
|
// TODO: Update the object below with actual values
|
|
22
22
|
const example = {
|
|
@@ -26,7 +26,7 @@ const example = {
|
|
|
26
26
|
"users": null,
|
|
27
27
|
"includeDocument": null,
|
|
28
28
|
"includeGroup": null,
|
|
29
|
-
} satisfies
|
|
29
|
+
} satisfies ExtractionsAddExtractionPayload
|
|
30
30
|
|
|
31
31
|
console.log(example)
|
|
32
32
|
|
|
@@ -35,7 +35,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
35
35
|
console.log(exampleJSON)
|
|
36
36
|
|
|
37
37
|
// Parse the JSON string back to an object
|
|
38
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as ExtractionsAddExtractionPayload
|
|
39
39
|
console.log(exampleParsed)
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# ExtractionsDetails
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`database` | string
|
|
10
|
+
`recipient` | string
|
|
11
|
+
`users` | [Array<UsersUserIdentity>](UsersUserIdentity.md)
|
|
12
|
+
`includeDocuments` | boolean
|
|
13
|
+
`includeGroups` | boolean
|
|
14
|
+
`resume` | boolean
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { ExtractionsDetails } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"database": null,
|
|
24
|
+
"recipient": null,
|
|
25
|
+
"users": null,
|
|
26
|
+
"includeDocuments": null,
|
|
27
|
+
"includeGroups": null,
|
|
28
|
+
"resume": null,
|
|
29
|
+
} satisfies ExtractionsDetails
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as ExtractionsDetails
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# ExtractionsExtraction
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`uuid` | string
|
|
10
|
+
`status` | string
|
|
11
|
+
`scheduledAt` | Date
|
|
12
|
+
`details` | [ExtractionsDetails](ExtractionsDetails.md)
|
|
13
|
+
`changeMetadata` | [ChangeMetadata](ChangeMetadata.md)
|
|
14
|
+
`processedAt` | Date
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { ExtractionsExtraction } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"uuid": null,
|
|
24
|
+
"status": null,
|
|
25
|
+
"scheduledAt": null,
|
|
26
|
+
"details": null,
|
|
27
|
+
"changeMetadata": null,
|
|
28
|
+
"processedAt": null,
|
|
29
|
+
} satisfies ExtractionsExtraction
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as ExtractionsExtraction
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# ExtractionsListExtractionResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`nextPageToken` | string
|
|
10
|
+
`previousPageToken` | string
|
|
11
|
+
`items` | [Array<ExtractionsExtraction>](ExtractionsExtraction.md)
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { ExtractionsListExtractionResponse } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"nextPageToken": MjUwMDszMDAK,
|
|
21
|
+
"previousPageToken": MjUwMDszMDAK,
|
|
22
|
+
"items": null,
|
|
23
|
+
} satisfies ExtractionsListExtractionResponse
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as ExtractionsListExtractionResponse
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ExtractionsResumeExtractionPayload
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`resumeDate` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ExtractionsResumeExtractionPayload } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"resumeDate": null,
|
|
19
|
+
} satisfies ExtractionsResumeExtractionPayload
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ExtractionsResumeExtractionPayload
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
#
|
|
2
|
+
# ExtraxtionsStatus
|
|
3
3
|
|
|
4
|
+
Extraction\'s status.
|
|
4
5
|
|
|
5
6
|
## Properties
|
|
6
7
|
|
|
7
8
|
Name | Type
|
|
8
9
|
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import type {
|
|
14
|
+
import type { ExtraxtionsStatus } from '@equisoft/equisoft-connect-sdk-typescript'
|
|
15
15
|
|
|
16
16
|
// TODO: Update the object below with actual values
|
|
17
17
|
const example = {
|
|
18
|
-
|
|
19
|
-
} satisfies ExtractionAddExtractionResponse
|
|
18
|
+
} satisfies ExtraxtionsStatus
|
|
20
19
|
|
|
21
20
|
console.log(example)
|
|
22
21
|
|
|
@@ -25,7 +24,7 @@ const exampleJSON: string = JSON.stringify(example)
|
|
|
25
24
|
console.log(exampleJSON)
|
|
26
25
|
|
|
27
26
|
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as
|
|
27
|
+
const exampleParsed = JSON.parse(exampleJSON) as ExtraxtionsStatus
|
|
29
28
|
console.log(exampleParsed)
|
|
30
29
|
```
|
|
31
30
|
|
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`uuid` | string
|
|
10
10
|
`displayName` | string
|
|
11
|
+
`email` | string
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ import type { UsersUserIdentity } from '@equisoft/equisoft-connect-sdk-typescrip
|
|
|
18
19
|
const example = {
|
|
19
20
|
"uuid": null,
|
|
20
21
|
"displayName": null,
|
|
22
|
+
"email": null,
|
|
21
23
|
} satisfies UsersUserIdentity
|
|
22
24
|
|
|
23
25
|
console.log(example)
|
package/package.json
CHANGED