@arbol-ai/sdk 5.23.0 → 5.24.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/dist/account/colombianRecords/index.d.ts +1 -1
- package/dist/account/colombianRecords/models.d.ts +46 -2
- package/dist/account/colombianRecords/models.js +3 -3
- package/dist/adres/affiliations/models.d.ts +1 -11
- package/dist/adres/affiliations/models.js +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +0 -44
- package/dist/models.js +1 -2
- package/dist/policiaColombia/judicialRecords/models.d.ts +1 -7
- package/package.json +3 -3
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
-
export type { AccountColombiaLookupPresentation, AccountColombiaLookupPresentationResponse, AccountColombiaResourceEnvelope, AccountConsultIncludedRecordBody, } from "./models.js";
|
|
5
|
+
export type { AccountColombiaLookupPresentation, AccountColombiaLookupPresentationResponse, AccountColombiaResourceEnvelope, AccountConsultIncludedRecordBody, AccountSisbenClassification, } from "./models.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ResponseMetadata } from "../../models.js";
|
|
2
2
|
export type AccountColombiaLookupPresentation = AccountColombiaResourceEnvelope | {
|
|
3
3
|
text: string;
|
|
4
4
|
};
|
|
@@ -15,7 +15,7 @@ export interface AccountColombiaLookupPresentationResponse {
|
|
|
15
15
|
success: true;
|
|
16
16
|
}
|
|
17
17
|
export interface AccountColombiaResourceEnvelope {
|
|
18
|
-
result: string |
|
|
18
|
+
result: string | AccountSisbenClassification;
|
|
19
19
|
}
|
|
20
20
|
export type AccountConsultIncludedRecordBody = {
|
|
21
21
|
agentMode?: boolean;
|
|
@@ -25,5 +25,49 @@ export type AccountConsultIncludedRecordBody = {
|
|
|
25
25
|
} & {
|
|
26
26
|
integration?: "policia-colombia";
|
|
27
27
|
};
|
|
28
|
+
export type AccountSisbenClassification = {
|
|
29
|
+
group: "A";
|
|
30
|
+
observedAt: Temporal.Instant;
|
|
31
|
+
registered: true;
|
|
32
|
+
source: "DNP-SISBEN-IV";
|
|
33
|
+
subgroup: string | null;
|
|
34
|
+
verification: "source_report" | "last_known";
|
|
35
|
+
} | {
|
|
36
|
+
group: "B";
|
|
37
|
+
observedAt: Temporal.Instant;
|
|
38
|
+
registered: true;
|
|
39
|
+
source: "DNP-SISBEN-IV";
|
|
40
|
+
subgroup: string | null;
|
|
41
|
+
verification: "source_report" | "last_known";
|
|
42
|
+
} | {
|
|
43
|
+
group: "C";
|
|
44
|
+
observedAt: Temporal.Instant;
|
|
45
|
+
registered: true;
|
|
46
|
+
source: "DNP-SISBEN-IV";
|
|
47
|
+
subgroup: string | null;
|
|
48
|
+
verification: "source_report" | "last_known";
|
|
49
|
+
} | {
|
|
50
|
+
group: "D";
|
|
51
|
+
observedAt: Temporal.Instant;
|
|
52
|
+
registered: true;
|
|
53
|
+
source: "DNP-SISBEN-IV";
|
|
54
|
+
subgroup: string | null;
|
|
55
|
+
verification: "source_report" | "last_known";
|
|
56
|
+
} | {
|
|
57
|
+
group: null;
|
|
58
|
+
observedAt: Temporal.Instant;
|
|
59
|
+
registered: false;
|
|
60
|
+
source: "DNP-SISBEN-IV";
|
|
61
|
+
subgroup: null;
|
|
62
|
+
verification: "source_report" | "last_known";
|
|
63
|
+
} | {
|
|
64
|
+
group: null;
|
|
65
|
+
observedAt: null;
|
|
66
|
+
registered: null;
|
|
67
|
+
source: "DNP-SISBEN-IV";
|
|
68
|
+
subgroup: null;
|
|
69
|
+
verification: "unavailable" | "unsupported_document";
|
|
70
|
+
};
|
|
28
71
|
export declare const AccountColombiaLookupPresentationResponseCodec: import("../../_/codec.js").Codec;
|
|
29
72
|
export declare const AccountColombiaResourceEnvelopeCodec: import("../../_/codec.js").Codec;
|
|
73
|
+
export declare const AccountSisbenClassificationCodec: import("../../_/codec.js").Codec;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
import { object } from "../../_/index.js";
|
|
4
|
-
import { SisbenClassificationCodec, } from "../../models.js";
|
|
3
|
+
import { instant, object, union } from "../../_/index.js";
|
|
5
4
|
export const AccountColombiaLookupPresentationResponseCodec = object([
|
|
6
5
|
["data", null, () => AccountColombiaResourceEnvelopeCodec],
|
|
7
6
|
]);
|
|
8
7
|
export const AccountColombiaResourceEnvelopeCodec = object([
|
|
9
|
-
["result", null, () =>
|
|
8
|
+
["result", null, () => AccountSisbenClassificationCodec],
|
|
10
9
|
]);
|
|
10
|
+
export const AccountSisbenClassificationCodec = union([object([["observedAt", null, instant]]), object([["observedAt", null, instant]]), object([["observedAt", null, instant]]), object([["observedAt", null, instant]]), object([["observedAt", null, instant]])]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ResponseMetadata } from "../../models.js";
|
|
2
2
|
export type AdresAffiliationPresentation = {
|
|
3
3
|
affiliations: {
|
|
4
4
|
affiliateType: string | null;
|
|
@@ -31,11 +31,6 @@ export type AdresAffiliationPresentation = {
|
|
|
31
31
|
value: string;
|
|
32
32
|
}[];
|
|
33
33
|
};
|
|
34
|
-
sisben: {
|
|
35
|
-
official: SisbenClassification;
|
|
36
|
-
status: "reported" | "explicitly_absent" | "not_reported";
|
|
37
|
-
value: string | null;
|
|
38
|
-
};
|
|
39
34
|
source: string;
|
|
40
35
|
verification: "source_report" | "last_known";
|
|
41
36
|
} | {
|
|
@@ -57,11 +52,6 @@ export type AdresAffiliationPresentation = {
|
|
|
57
52
|
countryCode: "CO";
|
|
58
53
|
outcome: "not_found";
|
|
59
54
|
person: null;
|
|
60
|
-
sisben: {
|
|
61
|
-
official: SisbenClassification;
|
|
62
|
-
status: "reported" | "explicitly_absent" | "not_reported";
|
|
63
|
-
value: string | null;
|
|
64
|
-
};
|
|
65
55
|
source: string;
|
|
66
56
|
verification: "source_report" | "last_known";
|
|
67
57
|
} | {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
import { array, date, instant, object, union } from "../../_/index.js";
|
|
4
|
-
|
|
5
|
-
export const AdresAffiliationPresentationCodec = union([object([["affiliations", null, array(object([["from", null, date], ["to", null, date]]))], ["consultedAt", null, instant], ["person", null, object([["birthDate", null, date]])], ["sisben", null, object([["official", null, () => SisbenClassificationCodec]])]]), object([["affiliations", null, array(object([["from", null, date], ["to", null, date]]))], ["consultedAt", null, instant], ["sisben", null, object([["official", null, () => SisbenClassificationCodec]])]])]);
|
|
4
|
+
export const AdresAffiliationPresentationCodec = union([object([["affiliations", null, array(object([["from", null, date], ["to", null, date]]))], ["consultedAt", null, instant], ["person", null, object([["birthDate", null, date]])]]), object([["affiliations", null, array(object([["from", null, date], ["to", null, date]]))], ["consultedAt", null, instant]])]);
|
|
6
5
|
export const AdresAffiliationPresentationResponseCodec = object([
|
|
7
6
|
["data", null, () => AdresAffiliationPresentationCodec],
|
|
8
7
|
]);
|
package/dist/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export { ApiError } from "./_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "./_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, } from "./client.js";
|
|
5
|
-
export type { AvailabilityBookingInput, CancelAppointmentBadGatewayError, CancelAppointmentBadGatewayFailure, Connection, ConnectionNotConfiguredFailure, ConnectionNotFoundError, ConnectionNotFoundFailure, ConnectionPage, ConnectionPageResponse, ConnectionResponse, CreateAppointmentBadGatewayError, CreateAppointmentBadGatewayFailure, CredentialsRejectedError, CredentialsRejectedFailure, DeletedObject, DeletedObjectResponse, Empty, Failure, ForbiddenError, ForbiddenFailure, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, ListAvailabilityUnprocessableContentError, ListAvailabilityUnprocessableContentFailure, ListContractsBadGatewayError, ListContractsBadGatewayFailure, ListContractsUnprocessableContentError, ListContractsUnprocessableContentFailure, ListServicesBadGatewayError, ListServicesBadGatewayFailure, ListServicesUnprocessableContentError, ListServicesUnprocessableContentFailure, LookupPatientBadGatewayError, LookupPatientBadGatewayFailure, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, ProviderUnavailableFailure, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata,
|
|
5
|
+
export type { AvailabilityBookingInput, CancelAppointmentBadGatewayError, CancelAppointmentBadGatewayFailure, Connection, ConnectionNotConfiguredFailure, ConnectionNotFoundError, ConnectionNotFoundFailure, ConnectionPage, ConnectionPageResponse, ConnectionResponse, CreateAppointmentBadGatewayError, CreateAppointmentBadGatewayFailure, CredentialsRejectedError, CredentialsRejectedFailure, DeletedObject, DeletedObjectResponse, Empty, Failure, ForbiddenError, ForbiddenFailure, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, ListAvailabilityUnprocessableContentError, ListAvailabilityUnprocessableContentFailure, ListContractsBadGatewayError, ListContractsBadGatewayFailure, ListContractsUnprocessableContentError, ListContractsUnprocessableContentFailure, ListServicesBadGatewayError, ListServicesBadGatewayFailure, ListServicesUnprocessableContentError, ListServicesUnprocessableContentFailure, LookupPatientBadGatewayError, LookupPatientBadGatewayFailure, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, ProviderUnavailableFailure, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata, ToolRefusedFailure, ToolRefusedFailureData, ToolResult, ToolResultResponse, UnauthorizedError, UnauthorizedFailure, UnsupportedMediaTypeError, UnsupportedMediaTypeFailure, UpstreamTimeoutError, UpstreamTimeoutFailure, UpstreamUnavailableError, UpstreamUnavailableFailure, ValidationIssue, VerifyConnectionResult, VerifyConnectionResultResponse, } from "./models.js";
|
package/dist/models.d.ts
CHANGED
|
@@ -583,49 +583,6 @@ export interface ResponseMetadata {
|
|
|
583
583
|
*/
|
|
584
584
|
requestId: string;
|
|
585
585
|
}
|
|
586
|
-
export type SisbenClassification = {
|
|
587
|
-
group: "A";
|
|
588
|
-
observedAt: Temporal.Instant;
|
|
589
|
-
registered: true;
|
|
590
|
-
source: "DNP-SISBEN-IV";
|
|
591
|
-
subgroup: string | null;
|
|
592
|
-
verification: "source_report" | "last_known";
|
|
593
|
-
} | {
|
|
594
|
-
group: "B";
|
|
595
|
-
observedAt: Temporal.Instant;
|
|
596
|
-
registered: true;
|
|
597
|
-
source: "DNP-SISBEN-IV";
|
|
598
|
-
subgroup: string | null;
|
|
599
|
-
verification: "source_report" | "last_known";
|
|
600
|
-
} | {
|
|
601
|
-
group: "C";
|
|
602
|
-
observedAt: Temporal.Instant;
|
|
603
|
-
registered: true;
|
|
604
|
-
source: "DNP-SISBEN-IV";
|
|
605
|
-
subgroup: string | null;
|
|
606
|
-
verification: "source_report" | "last_known";
|
|
607
|
-
} | {
|
|
608
|
-
group: "D";
|
|
609
|
-
observedAt: Temporal.Instant;
|
|
610
|
-
registered: true;
|
|
611
|
-
source: "DNP-SISBEN-IV";
|
|
612
|
-
subgroup: string | null;
|
|
613
|
-
verification: "source_report" | "last_known";
|
|
614
|
-
} | {
|
|
615
|
-
group: null;
|
|
616
|
-
observedAt: Temporal.Instant;
|
|
617
|
-
registered: false;
|
|
618
|
-
source: "DNP-SISBEN-IV";
|
|
619
|
-
subgroup: null;
|
|
620
|
-
verification: "source_report" | "last_known";
|
|
621
|
-
} | {
|
|
622
|
-
group: null;
|
|
623
|
-
observedAt: null;
|
|
624
|
-
registered: null;
|
|
625
|
-
source: "DNP-SISBEN-IV";
|
|
626
|
-
subgroup: null;
|
|
627
|
-
verification: "unavailable" | "unsupported_document";
|
|
628
|
-
};
|
|
629
586
|
/**
|
|
630
587
|
* The clinic's rules did not answer the request as asked: data.reason says why
|
|
631
588
|
* and data.guidance what to do next. Nothing was changed.
|
|
@@ -866,4 +823,3 @@ export declare const ConnectionCodec: import("./_/codec.js").Codec;
|
|
|
866
823
|
export declare const ConnectionPageCodec: import("./_/codec.js").Codec;
|
|
867
824
|
export declare const ConnectionPageResponseCodec: import("./_/codec.js").Codec;
|
|
868
825
|
export declare const ConnectionResponseCodec: import("./_/codec.js").Codec;
|
|
869
|
-
export declare const SisbenClassificationCodec: import("./_/codec.js").Codec;
|
package/dist/models.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
import { array, date, instant, object
|
|
3
|
+
import { array, date, instant, object } from "./_/index.js";
|
|
4
4
|
export const AvailabilityBookingInputCodec = object([
|
|
5
5
|
["date", null, date],
|
|
6
6
|
["startsAt", null, instant],
|
|
@@ -17,4 +17,3 @@ export const ConnectionPageResponseCodec = object([
|
|
|
17
17
|
export const ConnectionResponseCodec = object([
|
|
18
18
|
["data", null, () => ConnectionCodec],
|
|
19
19
|
]);
|
|
20
|
-
export const SisbenClassificationCodec = union([object([["observedAt", null, instant]]), object([["observedAt", null, instant]]), object([["observedAt", null, instant]]), object([["observedAt", null, instant]]), object([["observedAt", null, instant]])]);
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import type { ResponseMetadata } from "../../models.js";
|
|
2
2
|
export type PoliciaColombiaJudicialRecordPresentation = {
|
|
3
|
-
arrayName: string[] | null;
|
|
4
3
|
details: string;
|
|
5
4
|
documentNumber: string;
|
|
6
5
|
documentType: "CC" | "CE" | "PA" | "PPT" | "DP";
|
|
7
|
-
familyName: string | null;
|
|
8
6
|
fullName: string | null;
|
|
9
|
-
givenName: string | null;
|
|
10
7
|
identityStatus: "document_matched" | "unverified";
|
|
11
|
-
judicialStatus: "no_pending_matters" | "pending_matters" | "in_person_required" | "other_statement";
|
|
8
|
+
judicialStatus: "no_pending_matters" | "not_currently_required" | "pending_matters" | "in_person_required" | "other_statement";
|
|
12
9
|
observedAt: Temporal.Instant;
|
|
13
10
|
} | {
|
|
14
|
-
arrayName: null;
|
|
15
11
|
details: null;
|
|
16
12
|
documentNumber: string;
|
|
17
13
|
documentType: "CC" | "CE" | "PA" | "PPT" | "DP";
|
|
18
|
-
familyName: null;
|
|
19
14
|
fullName: null;
|
|
20
|
-
givenName: null;
|
|
21
15
|
identityStatus: "unverified";
|
|
22
16
|
judicialStatus: "unverified";
|
|
23
17
|
observedAt: null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.0",
|
|
4
4
|
"description": "The Arbol API for TypeScript and JavaScript, generated by Cloudflare Forge from the platform's public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"packageManager": "bun@1.4.3",
|
|
58
58
|
"arbol": {
|
|
59
59
|
"openapi": {
|
|
60
|
-
"release": "1.20261101.
|
|
61
|
-
"sha256": "
|
|
60
|
+
"release": "1.20261101.50133",
|
|
61
|
+
"sha256": "b5391b5c8b2e6b4cb27f0005a1fdb1b50531d5f455fb868b039f51e7587e03da"
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|