@gemina/sdk 0.14.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +660 -79
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +906 -298
- package/dist/index.d.ts +906 -298
- package/dist/index.js +638 -79
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
+
AddExtractionsInDTOFromJSON: () => AddExtractionsInDTOFromJSON,
|
|
24
|
+
AddExtractionsInDTOFromJSONTyped: () => AddExtractionsInDTOFromJSONTyped,
|
|
25
|
+
AddExtractionsInDTOToJSON: () => AddExtractionsInDTOToJSON,
|
|
26
|
+
AddExtractionsInDTOToJSONTyped: () => AddExtractionsInDTOToJSONTyped,
|
|
23
27
|
AggregateMetaDTOFromJSON: () => AggregateMetaDTOFromJSON,
|
|
24
28
|
AggregateMetaDTOFromJSONTyped: () => AggregateMetaDTOFromJSONTyped,
|
|
25
29
|
AggregateMetaDTOToJSON: () => AggregateMetaDTOToJSON,
|
|
@@ -135,6 +139,14 @@ __export(index_exports, {
|
|
|
135
139
|
DataRetentionPeriodModelToJSON: () => DataRetentionPeriodModelToJSON,
|
|
136
140
|
DataRetentionPeriodModelToJSONTyped: () => DataRetentionPeriodModelToJSONTyped,
|
|
137
141
|
DefaultConfig: () => DefaultConfig,
|
|
142
|
+
DocumentAddExtractionsMetaOutDTOFromJSON: () => DocumentAddExtractionsMetaOutDTOFromJSON,
|
|
143
|
+
DocumentAddExtractionsMetaOutDTOFromJSONTyped: () => DocumentAddExtractionsMetaOutDTOFromJSONTyped,
|
|
144
|
+
DocumentAddExtractionsMetaOutDTOToJSON: () => DocumentAddExtractionsMetaOutDTOToJSON,
|
|
145
|
+
DocumentAddExtractionsMetaOutDTOToJSONTyped: () => DocumentAddExtractionsMetaOutDTOToJSONTyped,
|
|
146
|
+
DocumentAddExtractionsOutDTOFromJSON: () => DocumentAddExtractionsOutDTOFromJSON,
|
|
147
|
+
DocumentAddExtractionsOutDTOFromJSONTyped: () => DocumentAddExtractionsOutDTOFromJSONTyped,
|
|
148
|
+
DocumentAddExtractionsOutDTOToJSON: () => DocumentAddExtractionsOutDTOToJSON,
|
|
149
|
+
DocumentAddExtractionsOutDTOToJSONTyped: () => DocumentAddExtractionsOutDTOToJSONTyped,
|
|
138
150
|
DocumentApi: () => DocumentApi,
|
|
139
151
|
DocumentDataOutDTOFromJSON: () => DocumentDataOutDTOFromJSON,
|
|
140
152
|
DocumentDataOutDTOFromJSONTyped: () => DocumentDataOutDTOFromJSONTyped,
|
|
@@ -393,6 +405,11 @@ __export(index_exports, {
|
|
|
393
405
|
OperationTypeFromJSONTyped: () => OperationTypeFromJSONTyped,
|
|
394
406
|
OperationTypeToJSON: () => OperationTypeToJSON,
|
|
395
407
|
OperationTypeToJSONTyped: () => OperationTypeToJSONTyped,
|
|
408
|
+
PaymentMethodUpdateOutDTOFromJSON: () => PaymentMethodUpdateOutDTOFromJSON,
|
|
409
|
+
PaymentMethodUpdateOutDTOFromJSONTyped: () => PaymentMethodUpdateOutDTOFromJSONTyped,
|
|
410
|
+
PaymentMethodUpdateOutDTOPurposeEnum: () => PaymentMethodUpdateOutDTOPurposeEnum,
|
|
411
|
+
PaymentMethodUpdateOutDTOToJSON: () => PaymentMethodUpdateOutDTOToJSON,
|
|
412
|
+
PaymentMethodUpdateOutDTOToJSONTyped: () => PaymentMethodUpdateOutDTOToJSONTyped,
|
|
396
413
|
PeriodPresetModel: () => PeriodPresetModel,
|
|
397
414
|
PeriodPresetModelFromJSON: () => PeriodPresetModelFromJSON,
|
|
398
415
|
PeriodPresetModelFromJSONTyped: () => PeriodPresetModelFromJSONTyped,
|
|
@@ -429,6 +446,7 @@ __export(index_exports, {
|
|
|
429
446
|
PurgedDocumentsDataOutDTOToJSONTyped: () => PurgedDocumentsDataOutDTOToJSONTyped,
|
|
430
447
|
QueryMetaDTOFromJSON: () => QueryMetaDTOFromJSON,
|
|
431
448
|
QueryMetaDTOFromJSONTyped: () => QueryMetaDTOFromJSONTyped,
|
|
449
|
+
QueryMetaDTOIndexingStateEnum: () => QueryMetaDTOIndexingStateEnum,
|
|
432
450
|
QueryMetaDTOToJSON: () => QueryMetaDTOToJSON,
|
|
433
451
|
QueryMetaDTOToJSONTyped: () => QueryMetaDTOToJSONTyped,
|
|
434
452
|
QueryResultItemDTOFromJSON: () => QueryResultItemDTOFromJSON,
|
|
@@ -680,6 +698,7 @@ __export(index_exports, {
|
|
|
680
698
|
WebhookResponseDTOToJSONTyped: () => WebhookResponseDTOToJSONTyped,
|
|
681
699
|
canConsumeForm: () => canConsumeForm,
|
|
682
700
|
exists: () => exists,
|
|
701
|
+
instanceOfAddExtractionsInDTO: () => instanceOfAddExtractionsInDTO,
|
|
683
702
|
instanceOfAggregateMetaDTO: () => instanceOfAggregateMetaDTO,
|
|
684
703
|
instanceOfAggregateMetricDTO: () => instanceOfAggregateMetricDTO,
|
|
685
704
|
instanceOfAggregateRowDTO: () => instanceOfAggregateRowDTO,
|
|
@@ -704,6 +723,8 @@ __export(index_exports, {
|
|
|
704
723
|
instanceOfCreditTransactionType: () => instanceOfCreditTransactionType,
|
|
705
724
|
instanceOfDataCenterRegionModel: () => instanceOfDataCenterRegionModel,
|
|
706
725
|
instanceOfDataRetentionPeriodModel: () => instanceOfDataRetentionPeriodModel,
|
|
726
|
+
instanceOfDocumentAddExtractionsMetaOutDTO: () => instanceOfDocumentAddExtractionsMetaOutDTO,
|
|
727
|
+
instanceOfDocumentAddExtractionsOutDTO: () => instanceOfDocumentAddExtractionsOutDTO,
|
|
707
728
|
instanceOfDocumentDataOutDTO: () => instanceOfDocumentDataOutDTO,
|
|
708
729
|
instanceOfDocumentFileTypeModel: () => instanceOfDocumentFileTypeModel,
|
|
709
730
|
instanceOfDocumentMetaOutDTO: () => instanceOfDocumentMetaOutDTO,
|
|
@@ -762,6 +783,7 @@ __export(index_exports, {
|
|
|
762
783
|
instanceOfNextActionOutDTO: () => instanceOfNextActionOutDTO,
|
|
763
784
|
instanceOfNumberOfStoredDocumentsOutDTO: () => instanceOfNumberOfStoredDocumentsOutDTO,
|
|
764
785
|
instanceOfOperationType: () => instanceOfOperationType,
|
|
786
|
+
instanceOfPaymentMethodUpdateOutDTO: () => instanceOfPaymentMethodUpdateOutDTO,
|
|
765
787
|
instanceOfPeriodPresetModel: () => instanceOfPeriodPresetModel,
|
|
766
788
|
instanceOfPlanCreditCostOutDTO: () => instanceOfPlanCreditCostOutDTO,
|
|
767
789
|
instanceOfPlanDetailOutDTO: () => instanceOfPlanDetailOutDTO,
|
|
@@ -2101,6 +2123,110 @@ var ContactApi = class extends BaseAPI {
|
|
|
2101
2123
|
}
|
|
2102
2124
|
};
|
|
2103
2125
|
|
|
2126
|
+
// src/generated/models/ModelType.ts
|
|
2127
|
+
var ModelType = {
|
|
2128
|
+
Gemina: "gemina",
|
|
2129
|
+
Google: "google",
|
|
2130
|
+
Openai: "openai",
|
|
2131
|
+
Velox: "velox",
|
|
2132
|
+
Praetorian: "praetorian",
|
|
2133
|
+
Invictus: "invictus"
|
|
2134
|
+
};
|
|
2135
|
+
function instanceOfModelType(value) {
|
|
2136
|
+
for (const key in ModelType) {
|
|
2137
|
+
if (Object.prototype.hasOwnProperty.call(ModelType, key)) {
|
|
2138
|
+
if (ModelType[key] === value) {
|
|
2139
|
+
return true;
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
return false;
|
|
2144
|
+
}
|
|
2145
|
+
function ModelTypeFromJSON(json) {
|
|
2146
|
+
return ModelTypeFromJSONTyped(json, false);
|
|
2147
|
+
}
|
|
2148
|
+
function ModelTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
2149
|
+
return json;
|
|
2150
|
+
}
|
|
2151
|
+
function ModelTypeToJSON(value) {
|
|
2152
|
+
return value;
|
|
2153
|
+
}
|
|
2154
|
+
function ModelTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
2155
|
+
return value;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
// src/generated/models/UploadExtractionTypeEnum.ts
|
|
2159
|
+
var UploadExtractionTypeEnum = {
|
|
2160
|
+
Ocr: "ocr",
|
|
2161
|
+
DocumentDetailsHebrew: "document_details_hebrew",
|
|
2162
|
+
DocumentLineItemsHebrew: "document_line_items_hebrew",
|
|
2163
|
+
InvoiceHeaders: "invoice_headers",
|
|
2164
|
+
InvoiceLineItems: "invoice_line_items",
|
|
2165
|
+
CustomTemplate: "custom_template"
|
|
2166
|
+
};
|
|
2167
|
+
function instanceOfUploadExtractionTypeEnum(value) {
|
|
2168
|
+
for (const key in UploadExtractionTypeEnum) {
|
|
2169
|
+
if (Object.prototype.hasOwnProperty.call(UploadExtractionTypeEnum, key)) {
|
|
2170
|
+
if (UploadExtractionTypeEnum[key] === value) {
|
|
2171
|
+
return true;
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
return false;
|
|
2176
|
+
}
|
|
2177
|
+
function UploadExtractionTypeEnumFromJSON(json) {
|
|
2178
|
+
return UploadExtractionTypeEnumFromJSONTyped(json, false);
|
|
2179
|
+
}
|
|
2180
|
+
function UploadExtractionTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
2181
|
+
return json;
|
|
2182
|
+
}
|
|
2183
|
+
function UploadExtractionTypeEnumToJSON(value) {
|
|
2184
|
+
return value;
|
|
2185
|
+
}
|
|
2186
|
+
function UploadExtractionTypeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
2187
|
+
return value;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
// src/generated/models/AddExtractionsInDTO.ts
|
|
2191
|
+
function instanceOfAddExtractionsInDTO(value) {
|
|
2192
|
+
if (!("extractionTypes" in value) || value["extractionTypes"] === void 0) return false;
|
|
2193
|
+
return true;
|
|
2194
|
+
}
|
|
2195
|
+
function AddExtractionsInDTOFromJSON(json) {
|
|
2196
|
+
return AddExtractionsInDTOFromJSONTyped(json, false);
|
|
2197
|
+
}
|
|
2198
|
+
function AddExtractionsInDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2199
|
+
if (json == null) {
|
|
2200
|
+
return json;
|
|
2201
|
+
}
|
|
2202
|
+
return {
|
|
2203
|
+
"correction": json["correction"] == null ? void 0 : json["correction"],
|
|
2204
|
+
"evaluation": json["evaluation"] == null ? void 0 : json["evaluation"],
|
|
2205
|
+
"extractionTypes": json["extractionTypes"].map(UploadExtractionTypeEnumFromJSON),
|
|
2206
|
+
"includeCoordinates": json["includeCoordinates"] == null ? void 0 : json["includeCoordinates"],
|
|
2207
|
+
"modelType": json["modelType"] == null ? void 0 : ModelTypeFromJSON(json["modelType"]),
|
|
2208
|
+
"templateId": json["templateId"] == null ? void 0 : json["templateId"],
|
|
2209
|
+
"thinking": json["thinking"] == null ? void 0 : json["thinking"]
|
|
2210
|
+
};
|
|
2211
|
+
}
|
|
2212
|
+
function AddExtractionsInDTOToJSON(json) {
|
|
2213
|
+
return AddExtractionsInDTOToJSONTyped(json, false);
|
|
2214
|
+
}
|
|
2215
|
+
function AddExtractionsInDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2216
|
+
if (value == null) {
|
|
2217
|
+
return value;
|
|
2218
|
+
}
|
|
2219
|
+
return {
|
|
2220
|
+
"correction": value["correction"],
|
|
2221
|
+
"evaluation": value["evaluation"],
|
|
2222
|
+
"extractionTypes": value["extractionTypes"].map(UploadExtractionTypeEnumToJSON),
|
|
2223
|
+
"includeCoordinates": value["includeCoordinates"],
|
|
2224
|
+
"modelType": ModelTypeToJSON(value["modelType"]),
|
|
2225
|
+
"templateId": value["templateId"],
|
|
2226
|
+
"thinking": value["thinking"]
|
|
2227
|
+
};
|
|
2228
|
+
}
|
|
2229
|
+
|
|
2104
2230
|
// src/generated/models/ResponseStatus.ts
|
|
2105
2231
|
var ResponseStatus = {
|
|
2106
2232
|
Pending: "pending",
|
|
@@ -2192,16 +2318,16 @@ function DataCenterRegionModelToJSONTyped(value, ignoreDiscriminator) {
|
|
|
2192
2318
|
return value;
|
|
2193
2319
|
}
|
|
2194
2320
|
|
|
2195
|
-
// src/generated/models/
|
|
2196
|
-
function
|
|
2321
|
+
// src/generated/models/DocumentAddExtractionsMetaOutDTO.ts
|
|
2322
|
+
function instanceOfDocumentAddExtractionsMetaOutDTO(value) {
|
|
2197
2323
|
if (!("contentPurgedAt" in value) || value["contentPurgedAt"] === void 0) return false;
|
|
2198
2324
|
if (!("createdAt" in value) || value["createdAt"] === void 0) return false;
|
|
2199
2325
|
return true;
|
|
2200
2326
|
}
|
|
2201
|
-
function
|
|
2202
|
-
return
|
|
2327
|
+
function DocumentAddExtractionsMetaOutDTOFromJSON(json) {
|
|
2328
|
+
return DocumentAddExtractionsMetaOutDTOFromJSONTyped(json, false);
|
|
2203
2329
|
}
|
|
2204
|
-
function
|
|
2330
|
+
function DocumentAddExtractionsMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2205
2331
|
if (json == null) {
|
|
2206
2332
|
return json;
|
|
2207
2333
|
}
|
|
@@ -2209,6 +2335,7 @@ function DocumentViewMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2209
2335
|
"apiKeyId": json["apiKeyId"] == null ? void 0 : json["apiKeyId"],
|
|
2210
2336
|
"contentPurgedAt": json["contentPurgedAt"] == null ? null : new Date(json["contentPurgedAt"]),
|
|
2211
2337
|
"contentType": json["contentType"] == null ? void 0 : json["contentType"],
|
|
2338
|
+
"correlationId": json["correlationId"] == null ? void 0 : json["correlationId"],
|
|
2212
2339
|
"createdAt": new Date(json["createdAt"]),
|
|
2213
2340
|
"documentFileType": json["documentFileType"] == null ? void 0 : DocumentFileTypeModelFromJSON(json["documentFileType"]),
|
|
2214
2341
|
"documentId": json["documentId"] == null ? void 0 : json["documentId"],
|
|
@@ -2217,6 +2344,7 @@ function DocumentViewMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2217
2344
|
"fileSize": json["fileSize"] == null ? void 0 : json["fileSize"],
|
|
2218
2345
|
"filename": json["filename"] == null ? void 0 : json["filename"],
|
|
2219
2346
|
"imageUrl": json["imageUrl"] == null ? void 0 : json["imageUrl"],
|
|
2347
|
+
"next": json["next"] == null ? void 0 : json["next"],
|
|
2220
2348
|
"normalizedHeight": json["normalizedHeight"] == null ? void 0 : json["normalizedHeight"],
|
|
2221
2349
|
"normalizedMegapixels": json["normalizedMegapixels"] == null ? void 0 : json["normalizedMegapixels"],
|
|
2222
2350
|
"normalizedWidth": json["normalizedWidth"] == null ? void 0 : json["normalizedWidth"],
|
|
@@ -2228,10 +2356,10 @@ function DocumentViewMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2228
2356
|
"userId": json["userId"] == null ? void 0 : json["userId"]
|
|
2229
2357
|
};
|
|
2230
2358
|
}
|
|
2231
|
-
function
|
|
2232
|
-
return
|
|
2359
|
+
function DocumentAddExtractionsMetaOutDTOToJSON(json) {
|
|
2360
|
+
return DocumentAddExtractionsMetaOutDTOToJSONTyped(json, false);
|
|
2233
2361
|
}
|
|
2234
|
-
function
|
|
2362
|
+
function DocumentAddExtractionsMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2235
2363
|
if (value == null) {
|
|
2236
2364
|
return value;
|
|
2237
2365
|
}
|
|
@@ -2239,6 +2367,7 @@ function DocumentViewMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2239
2367
|
"apiKeyId": value["apiKeyId"],
|
|
2240
2368
|
"contentPurgedAt": value["contentPurgedAt"] == null ? value["contentPurgedAt"] : value["contentPurgedAt"].toISOString(),
|
|
2241
2369
|
"contentType": value["contentType"],
|
|
2370
|
+
"correlationId": value["correlationId"],
|
|
2242
2371
|
"createdAt": value["createdAt"].toISOString(),
|
|
2243
2372
|
"documentFileType": DocumentFileTypeModelToJSON(value["documentFileType"]),
|
|
2244
2373
|
"documentId": value["documentId"],
|
|
@@ -2247,6 +2376,7 @@ function DocumentViewMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2247
2376
|
"fileSize": value["fileSize"],
|
|
2248
2377
|
"filename": value["filename"],
|
|
2249
2378
|
"imageUrl": value["imageUrl"],
|
|
2379
|
+
"next": value["next"],
|
|
2250
2380
|
"normalizedHeight": value["normalizedHeight"],
|
|
2251
2381
|
"normalizedMegapixels": value["normalizedMegapixels"],
|
|
2252
2382
|
"normalizedWidth": value["normalizedWidth"],
|
|
@@ -2363,38 +2493,6 @@ function ExtractionTypeModelToJSONTyped(value, ignoreDiscriminator) {
|
|
|
2363
2493
|
return value;
|
|
2364
2494
|
}
|
|
2365
2495
|
|
|
2366
|
-
// src/generated/models/ModelType.ts
|
|
2367
|
-
var ModelType = {
|
|
2368
|
-
Gemina: "gemina",
|
|
2369
|
-
Google: "google",
|
|
2370
|
-
Openai: "openai",
|
|
2371
|
-
Velox: "velox",
|
|
2372
|
-
Praetorian: "praetorian",
|
|
2373
|
-
Invictus: "invictus"
|
|
2374
|
-
};
|
|
2375
|
-
function instanceOfModelType(value) {
|
|
2376
|
-
for (const key in ModelType) {
|
|
2377
|
-
if (Object.prototype.hasOwnProperty.call(ModelType, key)) {
|
|
2378
|
-
if (ModelType[key] === value) {
|
|
2379
|
-
return true;
|
|
2380
|
-
}
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
return false;
|
|
2384
|
-
}
|
|
2385
|
-
function ModelTypeFromJSON(json) {
|
|
2386
|
-
return ModelTypeFromJSONTyped(json, false);
|
|
2387
|
-
}
|
|
2388
|
-
function ModelTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
2389
|
-
return json;
|
|
2390
|
-
}
|
|
2391
|
-
function ModelTypeToJSON(value) {
|
|
2392
|
-
return value;
|
|
2393
|
-
}
|
|
2394
|
-
function ModelTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
2395
|
-
return value;
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
2496
|
// src/generated/models/ValidationFieldModel.ts
|
|
2399
2497
|
var ValidationFieldModelTypeEnum = {
|
|
2400
2498
|
String: "string",
|
|
@@ -2683,6 +2781,118 @@ function DocumentDataOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2683
2781
|
};
|
|
2684
2782
|
}
|
|
2685
2783
|
|
|
2784
|
+
// src/generated/models/DocumentAddExtractionsOutDTO.ts
|
|
2785
|
+
function instanceOfDocumentAddExtractionsOutDTO(value) {
|
|
2786
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
2787
|
+
if (!("meta" in value) || value["meta"] === void 0) return false;
|
|
2788
|
+
if (!("pollCorrelationId" in value) || value["pollCorrelationId"] === void 0) return false;
|
|
2789
|
+
if (!("status" in value) || value["status"] === void 0) return false;
|
|
2790
|
+
return true;
|
|
2791
|
+
}
|
|
2792
|
+
function DocumentAddExtractionsOutDTOFromJSON(json) {
|
|
2793
|
+
return DocumentAddExtractionsOutDTOFromJSONTyped(json, false);
|
|
2794
|
+
}
|
|
2795
|
+
function DocumentAddExtractionsOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2796
|
+
if (json == null) {
|
|
2797
|
+
return json;
|
|
2798
|
+
}
|
|
2799
|
+
return {
|
|
2800
|
+
"createdAt": json["createdAt"] == null ? void 0 : new Date(json["createdAt"]),
|
|
2801
|
+
"createdAtTimestamp": json["createdAtTimestamp"] == null ? void 0 : json["createdAtTimestamp"],
|
|
2802
|
+
"data": DocumentDataOutDTOFromJSON(json["data"]),
|
|
2803
|
+
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
2804
|
+
"meta": DocumentAddExtractionsMetaOutDTOFromJSON(json["meta"]),
|
|
2805
|
+
"newExtractionIds": json["newExtractionIds"] == null ? void 0 : json["newExtractionIds"],
|
|
2806
|
+
"pollCorrelationId": json["pollCorrelationId"],
|
|
2807
|
+
"status": ResponseStatusFromJSON(json["status"])
|
|
2808
|
+
};
|
|
2809
|
+
}
|
|
2810
|
+
function DocumentAddExtractionsOutDTOToJSON(json) {
|
|
2811
|
+
return DocumentAddExtractionsOutDTOToJSONTyped(json, false);
|
|
2812
|
+
}
|
|
2813
|
+
function DocumentAddExtractionsOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2814
|
+
if (value == null) {
|
|
2815
|
+
return value;
|
|
2816
|
+
}
|
|
2817
|
+
return {
|
|
2818
|
+
"createdAt": value["createdAt"] == null ? value["createdAt"] : value["createdAt"].toISOString(),
|
|
2819
|
+
"createdAtTimestamp": value["createdAtTimestamp"],
|
|
2820
|
+
"data": DocumentDataOutDTOToJSON(value["data"]),
|
|
2821
|
+
"errors": value["errors"],
|
|
2822
|
+
"meta": DocumentAddExtractionsMetaOutDTOToJSON(value["meta"]),
|
|
2823
|
+
"newExtractionIds": value["newExtractionIds"],
|
|
2824
|
+
"pollCorrelationId": value["pollCorrelationId"],
|
|
2825
|
+
"status": ResponseStatusToJSON(value["status"])
|
|
2826
|
+
};
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
// src/generated/models/DocumentViewMetaOutDTO.ts
|
|
2830
|
+
function instanceOfDocumentViewMetaOutDTO(value) {
|
|
2831
|
+
if (!("contentPurgedAt" in value) || value["contentPurgedAt"] === void 0) return false;
|
|
2832
|
+
if (!("createdAt" in value) || value["createdAt"] === void 0) return false;
|
|
2833
|
+
return true;
|
|
2834
|
+
}
|
|
2835
|
+
function DocumentViewMetaOutDTOFromJSON(json) {
|
|
2836
|
+
return DocumentViewMetaOutDTOFromJSONTyped(json, false);
|
|
2837
|
+
}
|
|
2838
|
+
function DocumentViewMetaOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
2839
|
+
if (json == null) {
|
|
2840
|
+
return json;
|
|
2841
|
+
}
|
|
2842
|
+
return {
|
|
2843
|
+
"apiKeyId": json["apiKeyId"] == null ? void 0 : json["apiKeyId"],
|
|
2844
|
+
"contentPurgedAt": json["contentPurgedAt"] == null ? null : new Date(json["contentPurgedAt"]),
|
|
2845
|
+
"contentType": json["contentType"] == null ? void 0 : json["contentType"],
|
|
2846
|
+
"createdAt": new Date(json["createdAt"]),
|
|
2847
|
+
"documentFileType": json["documentFileType"] == null ? void 0 : DocumentFileTypeModelFromJSON(json["documentFileType"]),
|
|
2848
|
+
"documentId": json["documentId"] == null ? void 0 : json["documentId"],
|
|
2849
|
+
"endUserId": json["endUserId"] == null ? void 0 : json["endUserId"],
|
|
2850
|
+
"externalId": json["externalId"] == null ? void 0 : json["externalId"],
|
|
2851
|
+
"fileSize": json["fileSize"] == null ? void 0 : json["fileSize"],
|
|
2852
|
+
"filename": json["filename"] == null ? void 0 : json["filename"],
|
|
2853
|
+
"imageUrl": json["imageUrl"] == null ? void 0 : json["imageUrl"],
|
|
2854
|
+
"normalizedHeight": json["normalizedHeight"] == null ? void 0 : json["normalizedHeight"],
|
|
2855
|
+
"normalizedMegapixels": json["normalizedMegapixels"] == null ? void 0 : json["normalizedMegapixels"],
|
|
2856
|
+
"normalizedWidth": json["normalizedWidth"] == null ? void 0 : json["normalizedWidth"],
|
|
2857
|
+
"numberOfPages": json["numberOfPages"] == null ? void 0 : json["numberOfPages"],
|
|
2858
|
+
"originalDocumentUrl": json["originalDocumentUrl"] == null ? void 0 : json["originalDocumentUrl"],
|
|
2859
|
+
"processingStatus": json["processingStatus"] == null ? void 0 : ResponseStatusFromJSON(json["processingStatus"]),
|
|
2860
|
+
"storageLocation": json["storageLocation"] == null ? void 0 : DataCenterRegionModelFromJSON(json["storageLocation"]),
|
|
2861
|
+
"thumbnailUrl": json["thumbnailUrl"] == null ? void 0 : json["thumbnailUrl"],
|
|
2862
|
+
"userId": json["userId"] == null ? void 0 : json["userId"]
|
|
2863
|
+
};
|
|
2864
|
+
}
|
|
2865
|
+
function DocumentViewMetaOutDTOToJSON(json) {
|
|
2866
|
+
return DocumentViewMetaOutDTOToJSONTyped(json, false);
|
|
2867
|
+
}
|
|
2868
|
+
function DocumentViewMetaOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2869
|
+
if (value == null) {
|
|
2870
|
+
return value;
|
|
2871
|
+
}
|
|
2872
|
+
return {
|
|
2873
|
+
"apiKeyId": value["apiKeyId"],
|
|
2874
|
+
"contentPurgedAt": value["contentPurgedAt"] == null ? value["contentPurgedAt"] : value["contentPurgedAt"].toISOString(),
|
|
2875
|
+
"contentType": value["contentType"],
|
|
2876
|
+
"createdAt": value["createdAt"].toISOString(),
|
|
2877
|
+
"documentFileType": DocumentFileTypeModelToJSON(value["documentFileType"]),
|
|
2878
|
+
"documentId": value["documentId"],
|
|
2879
|
+
"endUserId": value["endUserId"],
|
|
2880
|
+
"externalId": value["externalId"],
|
|
2881
|
+
"fileSize": value["fileSize"],
|
|
2882
|
+
"filename": value["filename"],
|
|
2883
|
+
"imageUrl": value["imageUrl"],
|
|
2884
|
+
"normalizedHeight": value["normalizedHeight"],
|
|
2885
|
+
"normalizedMegapixels": value["normalizedMegapixels"],
|
|
2886
|
+
"normalizedWidth": value["normalizedWidth"],
|
|
2887
|
+
"numberOfPages": value["numberOfPages"],
|
|
2888
|
+
"originalDocumentUrl": value["originalDocumentUrl"],
|
|
2889
|
+
"processingStatus": ResponseStatusToJSON(value["processingStatus"]),
|
|
2890
|
+
"storageLocation": DataCenterRegionModelToJSON(value["storageLocation"]),
|
|
2891
|
+
"thumbnailUrl": value["thumbnailUrl"],
|
|
2892
|
+
"userId": value["userId"]
|
|
2893
|
+
};
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2686
2896
|
// src/generated/models/DocumentPrimaryViewOutDTO.ts
|
|
2687
2897
|
function instanceOfDocumentPrimaryViewOutDTO(value) {
|
|
2688
2898
|
if (!("data" in value) || value["data"] === void 0) return false;
|
|
@@ -4029,38 +4239,6 @@ function NumberOfStoredDocumentsOutDTOToJSONTyped(value, ignoreDiscriminator = f
|
|
|
4029
4239
|
};
|
|
4030
4240
|
}
|
|
4031
4241
|
|
|
4032
|
-
// src/generated/models/UploadExtractionTypeEnum.ts
|
|
4033
|
-
var UploadExtractionTypeEnum = {
|
|
4034
|
-
Ocr: "ocr",
|
|
4035
|
-
DocumentDetailsHebrew: "document_details_hebrew",
|
|
4036
|
-
DocumentLineItemsHebrew: "document_line_items_hebrew",
|
|
4037
|
-
InvoiceHeaders: "invoice_headers",
|
|
4038
|
-
InvoiceLineItems: "invoice_line_items",
|
|
4039
|
-
CustomTemplate: "custom_template"
|
|
4040
|
-
};
|
|
4041
|
-
function instanceOfUploadExtractionTypeEnum(value) {
|
|
4042
|
-
for (const key in UploadExtractionTypeEnum) {
|
|
4043
|
-
if (Object.prototype.hasOwnProperty.call(UploadExtractionTypeEnum, key)) {
|
|
4044
|
-
if (UploadExtractionTypeEnum[key] === value) {
|
|
4045
|
-
return true;
|
|
4046
|
-
}
|
|
4047
|
-
}
|
|
4048
|
-
}
|
|
4049
|
-
return false;
|
|
4050
|
-
}
|
|
4051
|
-
function UploadExtractionTypeEnumFromJSON(json) {
|
|
4052
|
-
return UploadExtractionTypeEnumFromJSONTyped(json, false);
|
|
4053
|
-
}
|
|
4054
|
-
function UploadExtractionTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
4055
|
-
return json;
|
|
4056
|
-
}
|
|
4057
|
-
function UploadExtractionTypeEnumToJSON(value) {
|
|
4058
|
-
return value;
|
|
4059
|
-
}
|
|
4060
|
-
function UploadExtractionTypeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
4061
|
-
return value;
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
4242
|
// src/generated/models/WebDocumentUploadInDTO.ts
|
|
4065
4243
|
function instanceOfWebDocumentUploadInDTO(value) {
|
|
4066
4244
|
if (!("externalId" in value) || value["externalId"] === void 0) return false;
|
|
@@ -4115,6 +4293,102 @@ function WebDocumentUploadInDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4115
4293
|
|
|
4116
4294
|
// src/generated/apis/DocumentApi.ts
|
|
4117
4295
|
var DocumentApi = class extends BaseAPI {
|
|
4296
|
+
/**
|
|
4297
|
+
* Creates request options for addDocumentExtractions without sending the request
|
|
4298
|
+
*/
|
|
4299
|
+
async addDocumentExtractionsRequestOpts(requestParameters) {
|
|
4300
|
+
if (requestParameters["documentId"] == null) {
|
|
4301
|
+
throw new RequiredError(
|
|
4302
|
+
"documentId",
|
|
4303
|
+
'Required parameter "documentId" was null or undefined when calling addDocumentExtractions().'
|
|
4304
|
+
);
|
|
4305
|
+
}
|
|
4306
|
+
if (requestParameters["addExtractionsInDTO"] == null) {
|
|
4307
|
+
throw new RequiredError(
|
|
4308
|
+
"addExtractionsInDTO",
|
|
4309
|
+
'Required parameter "addExtractionsInDTO" was null or undefined when calling addDocumentExtractions().'
|
|
4310
|
+
);
|
|
4311
|
+
}
|
|
4312
|
+
const queryParameters = {};
|
|
4313
|
+
const headerParameters = {};
|
|
4314
|
+
headerParameters["Content-Type"] = "application/json";
|
|
4315
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
4316
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
4317
|
+
}
|
|
4318
|
+
let urlPath = `/api/v1/documents/{document_id}/extractions`;
|
|
4319
|
+
urlPath = urlPath.replace("{document_id}", encodeURIComponent(String(requestParameters["documentId"])));
|
|
4320
|
+
return {
|
|
4321
|
+
path: urlPath,
|
|
4322
|
+
method: "POST",
|
|
4323
|
+
headers: headerParameters,
|
|
4324
|
+
query: queryParameters,
|
|
4325
|
+
body: AddExtractionsInDTOToJSON(requestParameters["addExtractionsInDTO"])
|
|
4326
|
+
};
|
|
4327
|
+
}
|
|
4328
|
+
/**
|
|
4329
|
+
* Run additional extraction types on a document that is already stored. No upload: the document\'s stored artifacts are reused and only the extraction step runs. Billed per extraction like an upload. Returns the whole document (all extractions, old and new). When the new extractions are still running the response is HTTP 202 and ``pollCorrelationId`` / ``Location`` point at the existing results endpoint.
|
|
4330
|
+
* Add extraction types to an existing document
|
|
4331
|
+
*/
|
|
4332
|
+
async addDocumentExtractionsRaw(requestParameters, initOverrides) {
|
|
4333
|
+
const requestOptions = await this.addDocumentExtractionsRequestOpts(requestParameters);
|
|
4334
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
4335
|
+
return new JSONApiResponse(response, (jsonValue) => DocumentAddExtractionsOutDTOFromJSON(jsonValue));
|
|
4336
|
+
}
|
|
4337
|
+
/**
|
|
4338
|
+
* Run additional extraction types on a document that is already stored. No upload: the document\'s stored artifacts are reused and only the extraction step runs. Billed per extraction like an upload. Returns the whole document (all extractions, old and new). When the new extractions are still running the response is HTTP 202 and ``pollCorrelationId`` / ``Location`` point at the existing results endpoint.
|
|
4339
|
+
* Add extraction types to an existing document
|
|
4340
|
+
*/
|
|
4341
|
+
async addDocumentExtractions(requestParameters, initOverrides) {
|
|
4342
|
+
const response = await this.addDocumentExtractionsRaw(requestParameters, initOverrides);
|
|
4343
|
+
return await response.value();
|
|
4344
|
+
}
|
|
4345
|
+
/**
|
|
4346
|
+
* Creates request options for addDocumentExtractionsByUser without sending the request
|
|
4347
|
+
*/
|
|
4348
|
+
async addDocumentExtractionsByUserRequestOpts(requestParameters) {
|
|
4349
|
+
if (requestParameters["documentId"] == null) {
|
|
4350
|
+
throw new RequiredError(
|
|
4351
|
+
"documentId",
|
|
4352
|
+
'Required parameter "documentId" was null or undefined when calling addDocumentExtractionsByUser().'
|
|
4353
|
+
);
|
|
4354
|
+
}
|
|
4355
|
+
if (requestParameters["addExtractionsInDTO"] == null) {
|
|
4356
|
+
throw new RequiredError(
|
|
4357
|
+
"addExtractionsInDTO",
|
|
4358
|
+
'Required parameter "addExtractionsInDTO" was null or undefined when calling addDocumentExtractionsByUser().'
|
|
4359
|
+
);
|
|
4360
|
+
}
|
|
4361
|
+
const queryParameters = {};
|
|
4362
|
+
const headerParameters = {};
|
|
4363
|
+
headerParameters["Content-Type"] = "application/json";
|
|
4364
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
4365
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2PasswordBearer", []);
|
|
4366
|
+
}
|
|
4367
|
+
let urlPath = `/api/v1/documents/{document_id}/extractions/user`;
|
|
4368
|
+
urlPath = urlPath.replace("{document_id}", encodeURIComponent(String(requestParameters["documentId"])));
|
|
4369
|
+
return {
|
|
4370
|
+
path: urlPath,
|
|
4371
|
+
method: "POST",
|
|
4372
|
+
headers: headerParameters,
|
|
4373
|
+
query: queryParameters,
|
|
4374
|
+
body: AddExtractionsInDTOToJSON(requestParameters["addExtractionsInDTO"])
|
|
4375
|
+
};
|
|
4376
|
+
}
|
|
4377
|
+
/**
|
|
4378
|
+
* Add extraction types to an existing document (user credentials)
|
|
4379
|
+
*/
|
|
4380
|
+
async addDocumentExtractionsByUserRaw(requestParameters, initOverrides) {
|
|
4381
|
+
const requestOptions = await this.addDocumentExtractionsByUserRequestOpts(requestParameters);
|
|
4382
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
4383
|
+
return new JSONApiResponse(response, (jsonValue) => DocumentAddExtractionsOutDTOFromJSON(jsonValue));
|
|
4384
|
+
}
|
|
4385
|
+
/**
|
|
4386
|
+
* Add extraction types to an existing document (user credentials)
|
|
4387
|
+
*/
|
|
4388
|
+
async addDocumentExtractionsByUser(requestParameters, initOverrides) {
|
|
4389
|
+
const response = await this.addDocumentExtractionsByUserRaw(requestParameters, initOverrides);
|
|
4390
|
+
return await response.value();
|
|
4391
|
+
}
|
|
4118
4392
|
/**
|
|
4119
4393
|
* Creates request options for createDocumentProcessingRequest without sending the request
|
|
4120
4394
|
*/
|
|
@@ -5310,6 +5584,63 @@ var DocumentApi = class extends BaseAPI {
|
|
|
5310
5584
|
const response = await this.purgeDocumentsWithExternalIdByUserRaw(requestParameters, initOverrides);
|
|
5311
5585
|
return await response.value();
|
|
5312
5586
|
}
|
|
5587
|
+
/**
|
|
5588
|
+
* Creates request options for resumeTutorialRequest without sending the request
|
|
5589
|
+
*/
|
|
5590
|
+
async resumeTutorialRequestRequestOpts(requestParameters) {
|
|
5591
|
+
if (requestParameters["attemptId"] == null) {
|
|
5592
|
+
throw new RequiredError(
|
|
5593
|
+
"attemptId",
|
|
5594
|
+
'Required parameter "attemptId" was null or undefined when calling resumeTutorialRequest().'
|
|
5595
|
+
);
|
|
5596
|
+
}
|
|
5597
|
+
const queryParameters = {};
|
|
5598
|
+
const headerParameters = {};
|
|
5599
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
5600
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
5601
|
+
}
|
|
5602
|
+
const consumes = [
|
|
5603
|
+
{ contentType: "multipart/form-data" }
|
|
5604
|
+
];
|
|
5605
|
+
const canConsumeForm2 = canConsumeForm(consumes);
|
|
5606
|
+
let formParams;
|
|
5607
|
+
let useForm = false;
|
|
5608
|
+
useForm = canConsumeForm2;
|
|
5609
|
+
if (useForm) {
|
|
5610
|
+
formParams = new FormData();
|
|
5611
|
+
} else {
|
|
5612
|
+
formParams = new URLSearchParams();
|
|
5613
|
+
}
|
|
5614
|
+
if (requestParameters["file"] != null) {
|
|
5615
|
+
formParams.append("file", requestParameters["file"]);
|
|
5616
|
+
}
|
|
5617
|
+
let urlPath = `/api/v1/documents/tutorials/{attempt_id}/resume`;
|
|
5618
|
+
urlPath = urlPath.replace("{attempt_id}", encodeURIComponent(String(requestParameters["attemptId"])));
|
|
5619
|
+
return {
|
|
5620
|
+
path: urlPath,
|
|
5621
|
+
method: "POST",
|
|
5622
|
+
headers: headerParameters,
|
|
5623
|
+
query: queryParameters,
|
|
5624
|
+
body: formParams
|
|
5625
|
+
};
|
|
5626
|
+
}
|
|
5627
|
+
/**
|
|
5628
|
+
* Explicitly recover an interrupted guided API request, using its original key and file.
|
|
5629
|
+
* Resume Tutorial Request
|
|
5630
|
+
*/
|
|
5631
|
+
async resumeTutorialRequestRaw(requestParameters, initOverrides) {
|
|
5632
|
+
const requestOptions = await this.resumeTutorialRequestRequestOpts(requestParameters);
|
|
5633
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
5634
|
+
return new JSONApiResponse(response, (jsonValue) => DocumentProcessingResultOutDTOFromJSON(jsonValue));
|
|
5635
|
+
}
|
|
5636
|
+
/**
|
|
5637
|
+
* Explicitly recover an interrupted guided API request, using its original key and file.
|
|
5638
|
+
* Resume Tutorial Request
|
|
5639
|
+
*/
|
|
5640
|
+
async resumeTutorialRequest(requestParameters, initOverrides) {
|
|
5641
|
+
const response = await this.resumeTutorialRequestRaw(requestParameters, initOverrides);
|
|
5642
|
+
return await response.value();
|
|
5643
|
+
}
|
|
5313
5644
|
/**
|
|
5314
5645
|
* Creates request options for uploadDocument without sending the request
|
|
5315
5646
|
*/
|
|
@@ -6717,6 +7048,87 @@ var FileTagApi = class extends BaseAPI {
|
|
|
6717
7048
|
const response = await this.getMyFiletagCreditHistoryRaw(requestParameters, initOverrides);
|
|
6718
7049
|
return await response.value();
|
|
6719
7050
|
}
|
|
7051
|
+
/**
|
|
7052
|
+
* Creates request options for savedFiletagResult without sending the request
|
|
7053
|
+
*/
|
|
7054
|
+
async savedFiletagResultRequestOpts(requestParameters) {
|
|
7055
|
+
if (requestParameters["documentId"] == null) {
|
|
7056
|
+
throw new RequiredError(
|
|
7057
|
+
"documentId",
|
|
7058
|
+
'Required parameter "documentId" was null or undefined when calling savedFiletagResult().'
|
|
7059
|
+
);
|
|
7060
|
+
}
|
|
7061
|
+
const queryParameters = {};
|
|
7062
|
+
const headerParameters = {};
|
|
7063
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
7064
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
7065
|
+
}
|
|
7066
|
+
let urlPath = `/api/v1/filetag/results/{document_id}`;
|
|
7067
|
+
urlPath = urlPath.replace("{document_id}", encodeURIComponent(String(requestParameters["documentId"])));
|
|
7068
|
+
return {
|
|
7069
|
+
path: urlPath,
|
|
7070
|
+
method: "GET",
|
|
7071
|
+
headers: headerParameters,
|
|
7072
|
+
query: queryParameters
|
|
7073
|
+
};
|
|
7074
|
+
}
|
|
7075
|
+
/**
|
|
7076
|
+
* Saved Filetag Result
|
|
7077
|
+
*/
|
|
7078
|
+
async savedFiletagResultRaw(requestParameters, initOverrides) {
|
|
7079
|
+
const requestOptions = await this.savedFiletagResultRequestOpts(requestParameters);
|
|
7080
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
7081
|
+
return new JSONApiResponse(response, (jsonValue) => FileTagResultOutDTOFromJSON(jsonValue));
|
|
7082
|
+
}
|
|
7083
|
+
/**
|
|
7084
|
+
* Saved Filetag Result
|
|
7085
|
+
*/
|
|
7086
|
+
async savedFiletagResult(requestParameters, initOverrides) {
|
|
7087
|
+
const response = await this.savedFiletagResultRaw(requestParameters, initOverrides);
|
|
7088
|
+
return await response.value();
|
|
7089
|
+
}
|
|
7090
|
+
/**
|
|
7091
|
+
* Creates request options for savedFiletagResultUser without sending the request
|
|
7092
|
+
*/
|
|
7093
|
+
async savedFiletagResultUserRequestOpts(requestParameters) {
|
|
7094
|
+
if (requestParameters["documentId"] == null) {
|
|
7095
|
+
throw new RequiredError(
|
|
7096
|
+
"documentId",
|
|
7097
|
+
'Required parameter "documentId" was null or undefined when calling savedFiletagResultUser().'
|
|
7098
|
+
);
|
|
7099
|
+
}
|
|
7100
|
+
const queryParameters = {};
|
|
7101
|
+
const headerParameters = {};
|
|
7102
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
7103
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
7104
|
+
}
|
|
7105
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
7106
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2PasswordBearer", []);
|
|
7107
|
+
}
|
|
7108
|
+
let urlPath = `/api/v1/filetag/results/user/{document_id}`;
|
|
7109
|
+
urlPath = urlPath.replace("{document_id}", encodeURIComponent(String(requestParameters["documentId"])));
|
|
7110
|
+
return {
|
|
7111
|
+
path: urlPath,
|
|
7112
|
+
method: "GET",
|
|
7113
|
+
headers: headerParameters,
|
|
7114
|
+
query: queryParameters
|
|
7115
|
+
};
|
|
7116
|
+
}
|
|
7117
|
+
/**
|
|
7118
|
+
* Saved Filetag Result User
|
|
7119
|
+
*/
|
|
7120
|
+
async savedFiletagResultUserRaw(requestParameters, initOverrides) {
|
|
7121
|
+
const requestOptions = await this.savedFiletagResultUserRequestOpts(requestParameters);
|
|
7122
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
7123
|
+
return new JSONApiResponse(response, (jsonValue) => FileTagResultOutDTOFromJSON(jsonValue));
|
|
7124
|
+
}
|
|
7125
|
+
/**
|
|
7126
|
+
* Saved Filetag Result User
|
|
7127
|
+
*/
|
|
7128
|
+
async savedFiletagResultUser(requestParameters, initOverrides) {
|
|
7129
|
+
const response = await this.savedFiletagResultUserRaw(requestParameters, initOverrides);
|
|
7130
|
+
return await response.value();
|
|
7131
|
+
}
|
|
6720
7132
|
/**
|
|
6721
7133
|
* Creates request options for tagDocument without sending the request
|
|
6722
7134
|
*/
|
|
@@ -6728,6 +7140,9 @@ var FileTagApi = class extends BaseAPI {
|
|
|
6728
7140
|
);
|
|
6729
7141
|
}
|
|
6730
7142
|
const queryParameters = {};
|
|
7143
|
+
if (requestParameters["externalId"] != null) {
|
|
7144
|
+
queryParameters["external_id"] = requestParameters["externalId"];
|
|
7145
|
+
}
|
|
6731
7146
|
const headerParameters = {};
|
|
6732
7147
|
if (this.configuration && this.configuration.apiKey) {
|
|
6733
7148
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
@@ -6784,6 +7199,9 @@ var FileTagApi = class extends BaseAPI {
|
|
|
6784
7199
|
);
|
|
6785
7200
|
}
|
|
6786
7201
|
const queryParameters = {};
|
|
7202
|
+
if (requestParameters["externalId"] != null) {
|
|
7203
|
+
queryParameters["external_id"] = requestParameters["externalId"];
|
|
7204
|
+
}
|
|
6787
7205
|
const headerParameters = {};
|
|
6788
7206
|
if (this.configuration && this.configuration.apiKey) {
|
|
6789
7207
|
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
@@ -6964,6 +7382,7 @@ function FilesUploadInstructionsOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
6964
7382
|
}
|
|
6965
7383
|
return {
|
|
6966
7384
|
"fileId": json["fileId"],
|
|
7385
|
+
"handoffExpiresAt": json["handoffExpiresAt"] == null ? void 0 : new Date(json["handoffExpiresAt"]),
|
|
6967
7386
|
"nextToolCall": FilesNextToolCallOutDTOFromJSON(json["nextToolCall"]),
|
|
6968
7387
|
"upload": FilesUploadDetailsOutDTOFromJSON(json["upload"])
|
|
6969
7388
|
};
|
|
@@ -6977,6 +7396,7 @@ function FilesUploadInstructionsOutDTOToJSONTyped(value, ignoreDiscriminator = f
|
|
|
6977
7396
|
}
|
|
6978
7397
|
return {
|
|
6979
7398
|
"fileId": value["fileId"],
|
|
7399
|
+
"handoffExpiresAt": value["handoffExpiresAt"] == null ? value["handoffExpiresAt"] : value["handoffExpiresAt"].toISOString(),
|
|
6980
7400
|
"nextToolCall": FilesNextToolCallOutDTOToJSON(value["nextToolCall"]),
|
|
6981
7401
|
"upload": FilesUploadDetailsOutDTOToJSON(value["upload"])
|
|
6982
7402
|
};
|
|
@@ -7378,10 +7798,14 @@ function RetrievalFiltersDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
7378
7798
|
}
|
|
7379
7799
|
return {
|
|
7380
7800
|
"buyerName": json["buyerName"] == null ? void 0 : json["buyerName"],
|
|
7801
|
+
"currencies": json["currencies"] == null ? void 0 : json["currencies"],
|
|
7381
7802
|
"currency": json["currency"] == null ? void 0 : json["currency"],
|
|
7382
7803
|
"docNumber": json["docNumber"] == null ? void 0 : json["docNumber"],
|
|
7804
|
+
"docNumbers": json["docNumbers"] == null ? void 0 : json["docNumbers"],
|
|
7383
7805
|
"documentId": json["documentId"] == null ? void 0 : json["documentId"],
|
|
7806
|
+
"documentIds": json["documentIds"] == null ? void 0 : json["documentIds"],
|
|
7384
7807
|
"documentType": json["documentType"] == null ? void 0 : json["documentType"],
|
|
7808
|
+
"documentTypes": json["documentTypes"] == null ? void 0 : json["documentTypes"],
|
|
7385
7809
|
"dueDateFrom": json["dueDateFrom"] == null ? void 0 : new Date(json["dueDateFrom"]),
|
|
7386
7810
|
"dueDateTo": json["dueDateTo"] == null ? void 0 : new Date(json["dueDateTo"]),
|
|
7387
7811
|
"endUserId": json["endUserId"] == null ? void 0 : json["endUserId"],
|
|
@@ -7393,6 +7817,7 @@ function RetrievalFiltersDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
7393
7817
|
"totalAmountMax": json["totalAmountMax"] == null ? void 0 : json["totalAmountMax"],
|
|
7394
7818
|
"totalAmountMin": json["totalAmountMin"] == null ? void 0 : json["totalAmountMin"],
|
|
7395
7819
|
"vendorName": json["vendorName"] == null ? void 0 : json["vendorName"],
|
|
7820
|
+
"vendorNames": json["vendorNames"] == null ? void 0 : json["vendorNames"],
|
|
7396
7821
|
"vendorTaxId": json["vendorTaxId"] == null ? void 0 : json["vendorTaxId"]
|
|
7397
7822
|
};
|
|
7398
7823
|
}
|
|
@@ -7405,10 +7830,14 @@ function RetrievalFiltersDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
7405
7830
|
}
|
|
7406
7831
|
return {
|
|
7407
7832
|
"buyerName": value["buyerName"],
|
|
7833
|
+
"currencies": value["currencies"],
|
|
7408
7834
|
"currency": value["currency"],
|
|
7409
7835
|
"docNumber": value["docNumber"],
|
|
7836
|
+
"docNumbers": value["docNumbers"],
|
|
7410
7837
|
"documentId": value["documentId"],
|
|
7838
|
+
"documentIds": value["documentIds"],
|
|
7411
7839
|
"documentType": value["documentType"],
|
|
7840
|
+
"documentTypes": value["documentTypes"],
|
|
7412
7841
|
"dueDateFrom": value["dueDateFrom"] == null ? value["dueDateFrom"] : value["dueDateFrom"].toISOString().substring(0, 10),
|
|
7413
7842
|
"dueDateTo": value["dueDateTo"] == null ? value["dueDateTo"] : value["dueDateTo"].toISOString().substring(0, 10),
|
|
7414
7843
|
"endUserId": value["endUserId"],
|
|
@@ -7420,6 +7849,7 @@ function RetrievalFiltersDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
7420
7849
|
"totalAmountMax": value["totalAmountMax"],
|
|
7421
7850
|
"totalAmountMin": value["totalAmountMin"],
|
|
7422
7851
|
"vendorName": value["vendorName"],
|
|
7852
|
+
"vendorNames": value["vendorNames"],
|
|
7423
7853
|
"vendorTaxId": value["vendorTaxId"]
|
|
7424
7854
|
};
|
|
7425
7855
|
}
|
|
@@ -7488,7 +7918,8 @@ var AggregateMetricDTOFieldEnum = {
|
|
|
7488
7918
|
TotalAmount: "total_amount",
|
|
7489
7919
|
NetAmount: "net_amount",
|
|
7490
7920
|
VatAmount: "vat_amount",
|
|
7491
|
-
MeasurableQuantity: "measurable_quantity"
|
|
7921
|
+
MeasurableQuantity: "measurable_quantity",
|
|
7922
|
+
LineTotal: "line_total"
|
|
7492
7923
|
};
|
|
7493
7924
|
var AggregateMetricDTOOpEnum = {
|
|
7494
7925
|
Sum: "sum",
|
|
@@ -7539,7 +7970,10 @@ var RetrievalAggregateInDTOGroupByEnum = {
|
|
|
7539
7970
|
Month: "month",
|
|
7540
7971
|
Year: "year",
|
|
7541
7972
|
MeasurableUom: "measurable_uom",
|
|
7542
|
-
Description: "description"
|
|
7973
|
+
Description: "description",
|
|
7974
|
+
DocNumber: "doc_number",
|
|
7975
|
+
IssueDate: "issue_date",
|
|
7976
|
+
DocumentId: "document_id"
|
|
7543
7977
|
};
|
|
7544
7978
|
function instanceOfRetrievalAggregateInDTO(value) {
|
|
7545
7979
|
if (!("metrics" in value) || value["metrics"] === void 0) return false;
|
|
@@ -7823,6 +8257,11 @@ function RetrievalQueryInDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
7823
8257
|
}
|
|
7824
8258
|
|
|
7825
8259
|
// src/generated/models/QueryMetaDTO.ts
|
|
8260
|
+
var QueryMetaDTOIndexingStateEnum = {
|
|
8261
|
+
Preparing: "preparing",
|
|
8262
|
+
Ready: "ready",
|
|
8263
|
+
Unavailable: "unavailable"
|
|
8264
|
+
};
|
|
7826
8265
|
function instanceOfQueryMetaDTO(value) {
|
|
7827
8266
|
if (!("count" in value) || value["count"] === void 0) return false;
|
|
7828
8267
|
if (!("mode" in value) || value["mode"] === void 0) return false;
|
|
@@ -7837,6 +8276,8 @@ function QueryMetaDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
7837
8276
|
}
|
|
7838
8277
|
return {
|
|
7839
8278
|
"count": json["count"],
|
|
8279
|
+
"indexingReady": json["indexingReady"] == null ? void 0 : json["indexingReady"],
|
|
8280
|
+
"indexingState": json["indexingState"] == null ? void 0 : json["indexingState"],
|
|
7840
8281
|
"limit": json["limit"] == null ? void 0 : json["limit"],
|
|
7841
8282
|
"mode": json["mode"],
|
|
7842
8283
|
"skip": json["skip"] == null ? void 0 : json["skip"]
|
|
@@ -7851,6 +8292,8 @@ function QueryMetaDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
7851
8292
|
}
|
|
7852
8293
|
return {
|
|
7853
8294
|
"count": value["count"],
|
|
8295
|
+
"indexingReady": value["indexingReady"],
|
|
8296
|
+
"indexingState": value["indexingState"],
|
|
7854
8297
|
"limit": value["limit"],
|
|
7855
8298
|
"mode": value["mode"],
|
|
7856
8299
|
"skip": value["skip"]
|
|
@@ -8404,6 +8847,48 @@ function CheckoutOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
8404
8847
|
};
|
|
8405
8848
|
}
|
|
8406
8849
|
|
|
8850
|
+
// src/generated/models/PaymentMethodUpdateOutDTO.ts
|
|
8851
|
+
var PaymentMethodUpdateOutDTOPurposeEnum = {
|
|
8852
|
+
UpdatePaymentMethod: "update_payment_method",
|
|
8853
|
+
PayOverdue: "pay_overdue",
|
|
8854
|
+
ResumeSubscription: "resume_subscription"
|
|
8855
|
+
};
|
|
8856
|
+
function instanceOfPaymentMethodUpdateOutDTO(value) {
|
|
8857
|
+
if (!("paddleTransactionId" in value) || value["paddleTransactionId"] === void 0) return false;
|
|
8858
|
+
if (!("purpose" in value) || value["purpose"] === void 0) return false;
|
|
8859
|
+
return true;
|
|
8860
|
+
}
|
|
8861
|
+
function PaymentMethodUpdateOutDTOFromJSON(json) {
|
|
8862
|
+
return PaymentMethodUpdateOutDTOFromJSONTyped(json, false);
|
|
8863
|
+
}
|
|
8864
|
+
function PaymentMethodUpdateOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
8865
|
+
if (json == null) {
|
|
8866
|
+
return json;
|
|
8867
|
+
}
|
|
8868
|
+
return {
|
|
8869
|
+
"checkoutUrl": json["checkoutUrl"] == null ? void 0 : json["checkoutUrl"],
|
|
8870
|
+
"createdAt": json["createdAt"] == null ? void 0 : new Date(json["createdAt"]),
|
|
8871
|
+
"createdAtTimestamp": json["createdAtTimestamp"] == null ? void 0 : json["createdAtTimestamp"],
|
|
8872
|
+
"paddleTransactionId": json["paddleTransactionId"],
|
|
8873
|
+
"purpose": json["purpose"]
|
|
8874
|
+
};
|
|
8875
|
+
}
|
|
8876
|
+
function PaymentMethodUpdateOutDTOToJSON(json) {
|
|
8877
|
+
return PaymentMethodUpdateOutDTOToJSONTyped(json, false);
|
|
8878
|
+
}
|
|
8879
|
+
function PaymentMethodUpdateOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8880
|
+
if (value == null) {
|
|
8881
|
+
return value;
|
|
8882
|
+
}
|
|
8883
|
+
return {
|
|
8884
|
+
"checkoutUrl": value["checkoutUrl"],
|
|
8885
|
+
"createdAt": value["createdAt"] == null ? value["createdAt"] : value["createdAt"].toISOString(),
|
|
8886
|
+
"createdAtTimestamp": value["createdAtTimestamp"],
|
|
8887
|
+
"paddleTransactionId": value["paddleTransactionId"],
|
|
8888
|
+
"purpose": value["purpose"]
|
|
8889
|
+
};
|
|
8890
|
+
}
|
|
8891
|
+
|
|
8407
8892
|
// src/generated/models/DataRetentionPeriodModel.ts
|
|
8408
8893
|
var DataRetentionPeriodModel = {
|
|
8409
8894
|
OneDay: "one_day",
|
|
@@ -9658,6 +10143,40 @@ var SubscriptionsApi = class extends BaseAPI {
|
|
|
9658
10143
|
const response = await this.purchaseTopUpRaw(requestParameters, initOverrides);
|
|
9659
10144
|
return await response.value();
|
|
9660
10145
|
}
|
|
10146
|
+
/**
|
|
10147
|
+
* Creates request options for startPaymentMethodUpdate without sending the request
|
|
10148
|
+
*/
|
|
10149
|
+
async startPaymentMethodUpdateRequestOpts() {
|
|
10150
|
+
const queryParameters = {};
|
|
10151
|
+
const headerParameters = {};
|
|
10152
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
10153
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2PasswordBearer", []);
|
|
10154
|
+
}
|
|
10155
|
+
let urlPath = `/api/v1/subscriptions/me/payment-method-update`;
|
|
10156
|
+
return {
|
|
10157
|
+
path: urlPath,
|
|
10158
|
+
method: "POST",
|
|
10159
|
+
headers: headerParameters,
|
|
10160
|
+
query: queryParameters
|
|
10161
|
+
};
|
|
10162
|
+
}
|
|
10163
|
+
/**
|
|
10164
|
+
* Start replacing the card on file for the caller\'s subscription (or enterprise contract). POST, not GET: for an active subscription Paddle creates a new zero-value transaction on every call.
|
|
10165
|
+
* Start Payment Method Update
|
|
10166
|
+
*/
|
|
10167
|
+
async startPaymentMethodUpdateRaw(initOverrides) {
|
|
10168
|
+
const requestOptions = await this.startPaymentMethodUpdateRequestOpts();
|
|
10169
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
10170
|
+
return new JSONApiResponse(response, (jsonValue) => PaymentMethodUpdateOutDTOFromJSON(jsonValue));
|
|
10171
|
+
}
|
|
10172
|
+
/**
|
|
10173
|
+
* Start replacing the card on file for the caller\'s subscription (or enterprise contract). POST, not GET: for an active subscription Paddle creates a new zero-value transaction on every call.
|
|
10174
|
+
* Start Payment Method Update
|
|
10175
|
+
*/
|
|
10176
|
+
async startPaymentMethodUpdate(initOverrides) {
|
|
10177
|
+
const response = await this.startPaymentMethodUpdateRaw(initOverrides);
|
|
10178
|
+
return await response.value();
|
|
10179
|
+
}
|
|
9661
10180
|
/**
|
|
9662
10181
|
* Creates request options for subscribe without sending the request
|
|
9663
10182
|
*/
|
|
@@ -9995,6 +10514,7 @@ function TemplateOutDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9995
10514
|
"error": json["error"] == null ? void 0 : json["error"],
|
|
9996
10515
|
"id": json["id"],
|
|
9997
10516
|
"isActive": json["isActive"] == null ? void 0 : json["isActive"],
|
|
10517
|
+
"isStarter": json["isStarter"] == null ? void 0 : json["isStarter"],
|
|
9998
10518
|
"name": json["name"],
|
|
9999
10519
|
"schema": json["schema"] == null ? void 0 : TemplateSchemaDTOOutputFromJSON(json["schema"]),
|
|
10000
10520
|
"sourceFilename": json["sourceFilename"] == null ? void 0 : json["sourceFilename"],
|
|
@@ -10015,6 +10535,7 @@ function TemplateOutDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
10015
10535
|
"error": value["error"],
|
|
10016
10536
|
"id": value["id"],
|
|
10017
10537
|
"isActive": value["isActive"],
|
|
10538
|
+
"isStarter": value["isStarter"],
|
|
10018
10539
|
"name": value["name"],
|
|
10019
10540
|
"schema": TemplateSchemaDTOOutputToJSON(value["schema"]),
|
|
10020
10541
|
"sourceFilename": value["sourceFilename"],
|
|
@@ -11149,9 +11670,6 @@ var GeminaClient = class _GeminaClient {
|
|
|
11149
11670
|
'Unsupported document source: pass a Blob/File or { url: "https://..." }. In Node, convert a Buffer with new Blob([buf]).'
|
|
11150
11671
|
);
|
|
11151
11672
|
}
|
|
11152
|
-
return this.pollUntilTerminal(submitted, options);
|
|
11153
|
-
}
|
|
11154
|
-
async pollUntilTerminal(submitted, options) {
|
|
11155
11673
|
if (isTerminal(submitted.status)) {
|
|
11156
11674
|
return finalizeTerminal(submitted);
|
|
11157
11675
|
}
|
|
@@ -11161,6 +11679,47 @@ var GeminaClient = class _GeminaClient {
|
|
|
11161
11679
|
"Malformed server response: non-terminal submit response is missing meta.correlationId"
|
|
11162
11680
|
);
|
|
11163
11681
|
}
|
|
11682
|
+
return this.pollUntilTerminal(correlationId, options, submitted);
|
|
11683
|
+
}
|
|
11684
|
+
/**
|
|
11685
|
+
* Add extraction types to a document Gemina already stores, then poll until
|
|
11686
|
+
* terminal and return the typed result — the add-on twin of
|
|
11687
|
+
* `processDocument` for a document you uploaded earlier (via
|
|
11688
|
+
* `processDocument`, FileTag, or an MCP tool), addressed by its id. No file
|
|
11689
|
+
* is re-uploaded; the stored document is re-extracted with the new
|
|
11690
|
+
* `extractionTypes`. Billing and page limits apply per added type exactly as
|
|
11691
|
+
* on an upload.
|
|
11692
|
+
*
|
|
11693
|
+
* @param documentId The stored document's id (from a prior upload's
|
|
11694
|
+
* `meta.documentId`, a FileTag result, or
|
|
11695
|
+
* `client.documents.getDocument(...)`).
|
|
11696
|
+
* @param extractionTypes Non-empty list of types to add.
|
|
11697
|
+
* @param options Per-extraction options + polling knobs.
|
|
11698
|
+
* @throws GeminaProcessingError on terminal `failed`.
|
|
11699
|
+
* @throws GeminaTimeoutError on the deadline; `.correlationId` resumes polling.
|
|
11700
|
+
* @throws ResponseError if the add-on request itself is rejected —
|
|
11701
|
+
* 404 (unknown document), 409 (type already present), 410 (content purged),
|
|
11702
|
+
* 422 (`custom_template` without `templateId`), 429 (out of credits / over quota). Not retried.
|
|
11703
|
+
*/
|
|
11704
|
+
async addExtractionsAndWait(documentId, extractionTypes, options = {}) {
|
|
11705
|
+
if (!Array.isArray(extractionTypes) || extractionTypes.length === 0) {
|
|
11706
|
+
throw new GeminaError("extractionTypes must be a non-empty array");
|
|
11707
|
+
}
|
|
11708
|
+
const submitted = await this.documents.addDocumentExtractions({
|
|
11709
|
+
documentId,
|
|
11710
|
+
addExtractionsInDTO: {
|
|
11711
|
+
extractionTypes,
|
|
11712
|
+
templateId: options.templateId,
|
|
11713
|
+
modelType: options.modelType,
|
|
11714
|
+
thinking: options.thinking,
|
|
11715
|
+
evaluation: options.evaluation,
|
|
11716
|
+
correction: options.correction,
|
|
11717
|
+
includeCoordinates: options.includeCoordinates
|
|
11718
|
+
}
|
|
11719
|
+
});
|
|
11720
|
+
return this.pollUntilTerminal(submitted.pollCorrelationId, options);
|
|
11721
|
+
}
|
|
11722
|
+
async pollUntilTerminal(correlationId, options, initialResult) {
|
|
11164
11723
|
const timeoutSeconds = options.timeoutSeconds ?? DEFAULT_TIMEOUT_SECONDS;
|
|
11165
11724
|
const initialIntervalSeconds = options.initialIntervalSeconds ?? DEFAULT_INITIAL_INTERVAL_SECONDS;
|
|
11166
11725
|
const maxIntervalSeconds = options.maxIntervalSeconds ?? DEFAULT_MAX_INTERVAL_SECONDS;
|
|
@@ -11169,7 +11728,7 @@ var GeminaClient = class _GeminaClient {
|
|
|
11169
11728
|
const startedAt = Date.now();
|
|
11170
11729
|
let sleptSeconds = 0;
|
|
11171
11730
|
let nominalInterval = Math.min(initialIntervalSeconds, maxIntervalSeconds);
|
|
11172
|
-
let lastResult =
|
|
11731
|
+
let lastResult = initialResult;
|
|
11173
11732
|
let consecutivePollFailures = 0;
|
|
11174
11733
|
for (; ; ) {
|
|
11175
11734
|
const wait = nominalInterval * (JITTER_MIN + JITTER_SPAN * random());
|
|
@@ -11232,9 +11791,13 @@ async function asProcessingErrorIfFailedResult(error) {
|
|
|
11232
11791
|
}
|
|
11233
11792
|
|
|
11234
11793
|
// src/version.ts
|
|
11235
|
-
var VERSION = "0.
|
|
11794
|
+
var VERSION = "0.16.1";
|
|
11236
11795
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11237
11796
|
0 && (module.exports = {
|
|
11797
|
+
AddExtractionsInDTOFromJSON,
|
|
11798
|
+
AddExtractionsInDTOFromJSONTyped,
|
|
11799
|
+
AddExtractionsInDTOToJSON,
|
|
11800
|
+
AddExtractionsInDTOToJSONTyped,
|
|
11238
11801
|
AggregateMetaDTOFromJSON,
|
|
11239
11802
|
AggregateMetaDTOFromJSONTyped,
|
|
11240
11803
|
AggregateMetaDTOToJSON,
|
|
@@ -11350,6 +11913,14 @@ var VERSION = "0.14.0";
|
|
|
11350
11913
|
DataRetentionPeriodModelToJSON,
|
|
11351
11914
|
DataRetentionPeriodModelToJSONTyped,
|
|
11352
11915
|
DefaultConfig,
|
|
11916
|
+
DocumentAddExtractionsMetaOutDTOFromJSON,
|
|
11917
|
+
DocumentAddExtractionsMetaOutDTOFromJSONTyped,
|
|
11918
|
+
DocumentAddExtractionsMetaOutDTOToJSON,
|
|
11919
|
+
DocumentAddExtractionsMetaOutDTOToJSONTyped,
|
|
11920
|
+
DocumentAddExtractionsOutDTOFromJSON,
|
|
11921
|
+
DocumentAddExtractionsOutDTOFromJSONTyped,
|
|
11922
|
+
DocumentAddExtractionsOutDTOToJSON,
|
|
11923
|
+
DocumentAddExtractionsOutDTOToJSONTyped,
|
|
11353
11924
|
DocumentApi,
|
|
11354
11925
|
DocumentDataOutDTOFromJSON,
|
|
11355
11926
|
DocumentDataOutDTOFromJSONTyped,
|
|
@@ -11608,6 +12179,11 @@ var VERSION = "0.14.0";
|
|
|
11608
12179
|
OperationTypeFromJSONTyped,
|
|
11609
12180
|
OperationTypeToJSON,
|
|
11610
12181
|
OperationTypeToJSONTyped,
|
|
12182
|
+
PaymentMethodUpdateOutDTOFromJSON,
|
|
12183
|
+
PaymentMethodUpdateOutDTOFromJSONTyped,
|
|
12184
|
+
PaymentMethodUpdateOutDTOPurposeEnum,
|
|
12185
|
+
PaymentMethodUpdateOutDTOToJSON,
|
|
12186
|
+
PaymentMethodUpdateOutDTOToJSONTyped,
|
|
11611
12187
|
PeriodPresetModel,
|
|
11612
12188
|
PeriodPresetModelFromJSON,
|
|
11613
12189
|
PeriodPresetModelFromJSONTyped,
|
|
@@ -11644,6 +12220,7 @@ var VERSION = "0.14.0";
|
|
|
11644
12220
|
PurgedDocumentsDataOutDTOToJSONTyped,
|
|
11645
12221
|
QueryMetaDTOFromJSON,
|
|
11646
12222
|
QueryMetaDTOFromJSONTyped,
|
|
12223
|
+
QueryMetaDTOIndexingStateEnum,
|
|
11647
12224
|
QueryMetaDTOToJSON,
|
|
11648
12225
|
QueryMetaDTOToJSONTyped,
|
|
11649
12226
|
QueryResultItemDTOFromJSON,
|
|
@@ -11895,6 +12472,7 @@ var VERSION = "0.14.0";
|
|
|
11895
12472
|
WebhookResponseDTOToJSONTyped,
|
|
11896
12473
|
canConsumeForm,
|
|
11897
12474
|
exists,
|
|
12475
|
+
instanceOfAddExtractionsInDTO,
|
|
11898
12476
|
instanceOfAggregateMetaDTO,
|
|
11899
12477
|
instanceOfAggregateMetricDTO,
|
|
11900
12478
|
instanceOfAggregateRowDTO,
|
|
@@ -11919,6 +12497,8 @@ var VERSION = "0.14.0";
|
|
|
11919
12497
|
instanceOfCreditTransactionType,
|
|
11920
12498
|
instanceOfDataCenterRegionModel,
|
|
11921
12499
|
instanceOfDataRetentionPeriodModel,
|
|
12500
|
+
instanceOfDocumentAddExtractionsMetaOutDTO,
|
|
12501
|
+
instanceOfDocumentAddExtractionsOutDTO,
|
|
11922
12502
|
instanceOfDocumentDataOutDTO,
|
|
11923
12503
|
instanceOfDocumentFileTypeModel,
|
|
11924
12504
|
instanceOfDocumentMetaOutDTO,
|
|
@@ -11977,6 +12557,7 @@ var VERSION = "0.14.0";
|
|
|
11977
12557
|
instanceOfNextActionOutDTO,
|
|
11978
12558
|
instanceOfNumberOfStoredDocumentsOutDTO,
|
|
11979
12559
|
instanceOfOperationType,
|
|
12560
|
+
instanceOfPaymentMethodUpdateOutDTO,
|
|
11980
12561
|
instanceOfPeriodPresetModel,
|
|
11981
12562
|
instanceOfPlanCreditCostOutDTO,
|
|
11982
12563
|
instanceOfPlanDetailOutDTO,
|