@arbol-ai/sdk 2.17.0 → 2.18.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.
|
@@ -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, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { VisoftAvailabilitySlot, VisoftAvailabilitySlotPage, } from "./models.js";
|
|
5
|
+
export type { VisoftAvailabilityBookingInput, VisoftAvailabilitySlot, VisoftAvailabilitySlotPage, } from "./models.js";
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import type { PageInfo } from "../../models.js";
|
|
2
|
+
export interface VisoftAvailabilityBookingInput {
|
|
3
|
+
agency: string;
|
|
4
|
+
authorizationService?: string;
|
|
5
|
+
contract: string;
|
|
6
|
+
date: Temporal.PlainDate;
|
|
7
|
+
fonoGroup?: string;
|
|
8
|
+
intent?: string;
|
|
9
|
+
medicName: string;
|
|
10
|
+
modality?: string;
|
|
11
|
+
pairWithNext?: boolean;
|
|
12
|
+
patientAgeMonths?: string;
|
|
13
|
+
professionalChangeConfirmed?: boolean;
|
|
14
|
+
sala?: string;
|
|
15
|
+
service: string;
|
|
16
|
+
specialty?: string;
|
|
17
|
+
time: string;
|
|
18
|
+
toGroup?: string;
|
|
19
|
+
}
|
|
2
20
|
export interface VisoftAvailabilitySlot {
|
|
3
21
|
/**
|
|
4
22
|
* The professional's agenda, when they run several.
|
|
5
23
|
*/
|
|
6
24
|
agenda?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Copy these exact arguments to visoft.appointments.create only after the
|
|
27
|
+
* person confirms this slot and service; add the confirmed documentNumber.
|
|
28
|
+
* Retain separately confirmed consent. Never replace the service or contract
|
|
29
|
+
* with a fresh EPS guess.
|
|
30
|
+
*/
|
|
31
|
+
bookingInput?: VisoftAvailabilityBookingInput;
|
|
7
32
|
/**
|
|
8
33
|
* The day, in the clinic's timezone.
|
|
9
34
|
*/
|
|
@@ -70,5 +95,6 @@ export interface VisoftAvailabilitySlotPage {
|
|
|
70
95
|
*/
|
|
71
96
|
pageInfo: PageInfo;
|
|
72
97
|
}
|
|
98
|
+
export declare const VisoftAvailabilityBookingInputCodec: import("../../_/codec.js").Codec;
|
|
73
99
|
export declare const VisoftAvailabilitySlotCodec: import("../../_/codec.js").Codec;
|
|
74
100
|
export declare const VisoftAvailabilitySlotPageCodec: import("../../_/codec.js").Codec;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// Code generated by forge. DO NOT EDIT.
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
import { array, date, object } from "../../_/index.js";
|
|
4
|
+
export const VisoftAvailabilityBookingInputCodec = object([
|
|
5
|
+
["date", null, date],
|
|
6
|
+
]);
|
|
4
7
|
export const VisoftAvailabilitySlotCodec = object([
|
|
8
|
+
["bookingInput", null, () => VisoftAvailabilityBookingInputCodec],
|
|
5
9
|
["date", null, date],
|
|
6
10
|
]);
|
|
7
11
|
export const VisoftAvailabilitySlotPageCodec = object([
|
|
@@ -111,6 +111,11 @@ export interface CorrectRequest {
|
|
|
111
111
|
* meaning, accepted values and whether it is required.
|
|
112
112
|
*/
|
|
113
113
|
phoneOffice?: string;
|
|
114
|
+
/**
|
|
115
|
+
* As the connection's clinic defines it: visoft.tools.list answers its
|
|
116
|
+
* meaning, accepted values and whether it is required.
|
|
117
|
+
*/
|
|
118
|
+
sex?: string;
|
|
114
119
|
}
|
|
115
120
|
export interface CorrectResponse {
|
|
116
121
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.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",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"packageManager": "bun@1.4.3",
|
|
51
51
|
"arbol": {
|
|
52
52
|
"openapi": {
|
|
53
|
-
"release": "1.20261029.
|
|
54
|
-
"sha256": "
|
|
53
|
+
"release": "1.20261029.184453",
|
|
54
|
+
"sha256": "cc685cd801f985527bf5a7ddbb9fc69e1c400e8edace983dce97fde1d6e8475e"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
}
|