@arbol-ai/sdk 5.71.0 → 5.72.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/models.d.ts
CHANGED
|
@@ -126,9 +126,8 @@ export interface AccountConnection {
|
|
|
126
126
|
*/
|
|
127
127
|
portal?: string;
|
|
128
128
|
/**
|
|
129
|
-
* Its
|
|
130
|
-
*
|
|
131
|
-
* before.
|
|
129
|
+
* Its appointment reminders, or null when its integration cannot feed them.
|
|
130
|
+
* Until someone changes them they are off, at 09:00, the day before.
|
|
132
131
|
*/
|
|
133
132
|
reminders: {
|
|
134
133
|
daysBefore: number;
|
|
@@ -12,8 +12,10 @@ export interface Client {
|
|
|
12
12
|
*
|
|
13
13
|
* Use the organization gMedic account. Some clinics need every detail of a
|
|
14
14
|
* patient an agent registers (names, document, birth date, sex, mobilePhone,
|
|
15
|
-
* email, address); a refusal names what is missing.
|
|
16
|
-
*
|
|
15
|
+
* email, address); a refusal names what is missing. At clinics with colored
|
|
16
|
+
* booking windows, send the patient's verified bookingRoute: an agreement
|
|
17
|
+
* route (EPS_SURA, AXA_PREPAID) registers them under that health partner. No
|
|
18
|
+
* automatic write retries; reconcile an unknown outcome before repeating.
|
|
17
19
|
*/
|
|
18
20
|
create(request: CreateRequest, options?: RequestOptions): Promise<CreateResponse>;
|
|
19
21
|
/**
|
|
@@ -35,10 +37,15 @@ export interface Client {
|
|
|
35
37
|
/**
|
|
36
38
|
* Update patient
|
|
37
39
|
*
|
|
38
|
-
* Use the organization gMedic account. Send only the fields that change
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
40
|
+
* Use the organization gMedic account. Send only the fields that change; the
|
|
41
|
+
* connector re-sends what gMedic's read answers in a writable form, but
|
|
42
|
+
* gMedic replaces the stored patient, so agreement, residence, EPS, ARL,
|
|
43
|
+
* occupation and fields its read omits are lost and its creation date is
|
|
44
|
+
* reset. An agent cannot change a patient's document, names or birth date,
|
|
45
|
+
* and at clinics with colored booking windows cannot update an existing
|
|
46
|
+
* patient at all: book with the contact in notificationNumber and
|
|
47
|
+
* notificationMail. No automatic write retries; reconcile an unknown outcome
|
|
48
|
+
* before repeating.
|
|
42
49
|
*/
|
|
43
50
|
update(request: UpdateRequest, options?: RequestOptions): Promise<UpdateResponse>;
|
|
44
51
|
}
|
|
@@ -14,6 +14,11 @@ export interface GmedicCreatePatientBadGatewayError {
|
|
|
14
14
|
}
|
|
15
15
|
export type GmedicCreatePatientBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
16
16
|
export interface GmedicCreatePatientBody {
|
|
17
|
+
/**
|
|
18
|
+
* Verified payment route, required for agent scheduling at clinics using
|
|
19
|
+
* colored booking windows.
|
|
20
|
+
*/
|
|
21
|
+
bookingRoute?: "PRIVATE" | "AXA_PREPAID" | "AXA_ARL" | "PONAL_STARKEY" | "EPS_SURA";
|
|
17
22
|
connectionId?: string;
|
|
18
23
|
data: {
|
|
19
24
|
address?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.72.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",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"packageManager": "bun@1.4.3",
|
|
59
59
|
"arbol": {
|
|
60
60
|
"openapi": {
|
|
61
|
-
"release": "1.20261125.
|
|
62
|
-
"sha256": "
|
|
61
|
+
"release": "1.20261125.195549",
|
|
62
|
+
"sha256": "c28321b7270b9775280aafd72c47548f4aff51bf1858677f6a597cd1fd0a0cc1"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|