@arbol-ai/sdk 5.75.0 → 5.76.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/oficlinic/client.d.ts +2 -0
- package/dist/oficlinic/client.js +5 -0
- package/dist/oficlinic/consentForms/client.d.ts +41 -0
- package/dist/oficlinic/consentForms/client.js +18 -0
- package/dist/oficlinic/consentForms/index.d.ts +5 -0
- package/dist/oficlinic/consentForms/index.js +4 -0
- package/dist/oficlinic/consentForms/models.d.ts +119 -0
- package/dist/oficlinic/consentForms/models.js +3 -0
- package/package.json +3 -3
|
@@ -8,6 +8,7 @@ import { type Client as BookingRoomsClient } from "./bookingRooms/client.js";
|
|
|
8
8
|
import { type Client as BookingSlotsClient } from "./bookingSlots/client.js";
|
|
9
9
|
import { type Client as CancellationReasonsClient } from "./cancellationReasons/client.js";
|
|
10
10
|
import { type Client as ConnectionsClient } from "./connections/client.js";
|
|
11
|
+
import { type Client as ConsentFormsClient } from "./consentForms/client.js";
|
|
11
12
|
import { type Client as DailyRosterClient } from "./dailyRoster/client.js";
|
|
12
13
|
import { type Client as PatientRegistrationOptionsClient } from "./patientRegistrationOptions/client.js";
|
|
13
14
|
import { type Client as PatientsClient } from "./patients/client.js";
|
|
@@ -39,6 +40,7 @@ export interface Client {
|
|
|
39
40
|
readonly bookingSlots: BookingSlotsClient;
|
|
40
41
|
readonly cancellationReasons: CancellationReasonsClient;
|
|
41
42
|
readonly connections: ConnectionsClient;
|
|
43
|
+
readonly consentForms: ConsentFormsClient;
|
|
42
44
|
readonly dailyRoster: DailyRosterClient;
|
|
43
45
|
readonly patientRegistrationOptions: PatientRegistrationOptionsClient;
|
|
44
46
|
readonly patients: PatientsClient;
|
package/dist/oficlinic/client.js
CHANGED
|
@@ -10,6 +10,7 @@ import { bind as bindBookingRooms, } from "./bookingRooms/client.js";
|
|
|
10
10
|
import { bind as bindBookingSlots, } from "./bookingSlots/client.js";
|
|
11
11
|
import { bind as bindCancellationReasons, } from "./cancellationReasons/client.js";
|
|
12
12
|
import { bind as bindConnections, } from "./connections/client.js";
|
|
13
|
+
import { bind as bindConsentForms, } from "./consentForms/client.js";
|
|
13
14
|
import { bind as bindDailyRoster, } from "./dailyRoster/client.js";
|
|
14
15
|
import { bind as bindPatientRegistrationOptions, } from "./patientRegistrationOptions/client.js";
|
|
15
16
|
import { bind as bindPatients, } from "./patients/client.js";
|
|
@@ -38,6 +39,7 @@ export function bind(transport) {
|
|
|
38
39
|
let bookingSlotsClient;
|
|
39
40
|
let cancellationReasonsClient;
|
|
40
41
|
let connectionsClient;
|
|
42
|
+
let consentFormsClient;
|
|
41
43
|
let dailyRosterClient;
|
|
42
44
|
let patientRegistrationOptionsClient;
|
|
43
45
|
let patientsClient;
|
|
@@ -81,6 +83,9 @@ export function bind(transport) {
|
|
|
81
83
|
get connections() {
|
|
82
84
|
return (connectionsClient ??= bindConnections(transport));
|
|
83
85
|
},
|
|
86
|
+
get consentForms() {
|
|
87
|
+
return (consentFormsClient ??= bindConsentForms(transport));
|
|
88
|
+
},
|
|
84
89
|
get dailyRoster() {
|
|
85
90
|
return (dailyRosterClient ??= bindDailyRoster(transport));
|
|
86
91
|
},
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
+
import type { OficlinicConsentFormPageResponse } from "./models.js";
|
|
3
|
+
export interface ClientOptions extends BaseClientOptions {
|
|
4
|
+
/**
|
|
5
|
+
* The URL the paths of the API are relative to.
|
|
6
|
+
*/
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Client {
|
|
10
|
+
/**
|
|
11
|
+
* List consent forms
|
|
12
|
+
*
|
|
13
|
+
* List consent form definitions offered by the organization's bound clinic
|
|
14
|
+
* login. A catalog entry identifies a form and supplies no evidence of any
|
|
15
|
+
* patient's signature or communication preferences.
|
|
16
|
+
*/
|
|
17
|
+
list(request?: ListRequest, options?: RequestOptions): Promise<ListResponse>;
|
|
18
|
+
}
|
|
19
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
20
|
+
export declare function bind(transport: Transport): Client;
|
|
21
|
+
export interface ListRequest {
|
|
22
|
+
/**
|
|
23
|
+
* An Account connection id of the caller's organization.
|
|
24
|
+
*/
|
|
25
|
+
connectionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* An opaque cursor from a previous page's pageInfo.nextCursor or
|
|
28
|
+
* pageInfo.previousCursor.
|
|
29
|
+
*/
|
|
30
|
+
cursor?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Direction to traverse the stable keyset ordering from the supplied cursor.
|
|
33
|
+
*/
|
|
34
|
+
direction?: "forward" | "backward";
|
|
35
|
+
/**
|
|
36
|
+
* Maximum items returned in one page. Defaults to 50; larger reads require
|
|
37
|
+
* another cursor.
|
|
38
|
+
*/
|
|
39
|
+
limit?: number;
|
|
40
|
+
}
|
|
41
|
+
export type ListResponse = OficlinicConsentFormPageResponse;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
export function createClient(options) {
|
|
5
|
+
return bind(new Transport(options));
|
|
6
|
+
}
|
|
7
|
+
export function bind(transport) {
|
|
8
|
+
return {
|
|
9
|
+
list: (request, options) => transport.send(ListOperation, request, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const ListOperation = {
|
|
13
|
+
method: "GET",
|
|
14
|
+
route: "/v1/oficlinic/consent-forms",
|
|
15
|
+
query: { connectionId: "connectionId", cursor: "cursor", direction: "direction", limit: "limit" },
|
|
16
|
+
response: null,
|
|
17
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ApiError } from "../../_/index.js";
|
|
2
|
+
export type { RequestOptions } from "../../_/index.js";
|
|
3
|
+
export { createClient } from "./client.js";
|
|
4
|
+
export type { Client, ClientOptions, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
+
export type { OficlinicConsentForm, OficlinicConsentFormPage, OficlinicConsentFormPageResponse, OficlinicListConsentFormsBadGatewayError, OficlinicListConsentFormsBadGatewayFailure, OficlinicListConsentFormsBadRequestError, OficlinicListConsentFormsBadRequestFailure, OficlinicListConsentFormsConflictError, OficlinicListConsentFormsConflictFailure, OficlinicListConsentFormsServiceUnavailableError, OficlinicListConsentFormsServiceUnavailableFailure, OficlinicListConsentFormsTooManyRequestsError, OficlinicListConsentFormsTooManyRequestsFailure, OficlinicListConsentFormsUnprocessableContentError, OficlinicListConsentFormsUnprocessableContentFailure, } from "./models.js";
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { CredentialsRejectedFailure, InvalidInputFailure, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
|
|
3
|
+
export interface OficlinicConsentForm {
|
|
4
|
+
/**
|
|
5
|
+
* A local template reference; external, parameterized and unrecognized
|
|
6
|
+
* references are omitted.
|
|
7
|
+
*/
|
|
8
|
+
file: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* The format of the blank form reference offered by the picker.
|
|
13
|
+
*/
|
|
14
|
+
template: "unspecified" | "pdf" | "office" | "web" | "rendered" | "other";
|
|
15
|
+
}
|
|
16
|
+
export interface OficlinicConsentFormPage {
|
|
17
|
+
/**
|
|
18
|
+
* Items admitted by this resource contract within the verified organization.
|
|
19
|
+
*/
|
|
20
|
+
data: OficlinicConsentForm[];
|
|
21
|
+
/**
|
|
22
|
+
* Discriminator for a resource list response.
|
|
23
|
+
*/
|
|
24
|
+
object: "list";
|
|
25
|
+
/**
|
|
26
|
+
* Opaque navigation cursors for this page’s stable keyset order.
|
|
27
|
+
*/
|
|
28
|
+
pageInfo: PageInfo;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* A successful answer.
|
|
32
|
+
*/
|
|
33
|
+
export interface OficlinicConsentFormPageResponse {
|
|
34
|
+
data: OficlinicConsentFormPage;
|
|
35
|
+
error: null;
|
|
36
|
+
/**
|
|
37
|
+
* What every answer carries besides its data or error.
|
|
38
|
+
*/
|
|
39
|
+
metadata: ResponseMetadata;
|
|
40
|
+
success: true;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A failed answer.
|
|
44
|
+
*/
|
|
45
|
+
export interface OficlinicListConsentFormsBadGatewayError {
|
|
46
|
+
data: null;
|
|
47
|
+
error: OficlinicListConsentFormsBadGatewayFailure;
|
|
48
|
+
/**
|
|
49
|
+
* What every answer carries besides its data or error.
|
|
50
|
+
*/
|
|
51
|
+
metadata: ResponseMetadata;
|
|
52
|
+
success: false;
|
|
53
|
+
}
|
|
54
|
+
export type OficlinicListConsentFormsBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure;
|
|
55
|
+
/**
|
|
56
|
+
* A failed answer.
|
|
57
|
+
*/
|
|
58
|
+
export interface OficlinicListConsentFormsBadRequestError {
|
|
59
|
+
data: null;
|
|
60
|
+
error: OficlinicListConsentFormsBadRequestFailure;
|
|
61
|
+
/**
|
|
62
|
+
* What every answer carries besides its data or error.
|
|
63
|
+
*/
|
|
64
|
+
metadata: ResponseMetadata;
|
|
65
|
+
success: false;
|
|
66
|
+
}
|
|
67
|
+
export type OficlinicListConsentFormsBadRequestFailure = InvalidInputFailure | OficlinicInvalidCursorFailure;
|
|
68
|
+
/**
|
|
69
|
+
* A failed answer.
|
|
70
|
+
*/
|
|
71
|
+
export interface OficlinicListConsentFormsConflictError {
|
|
72
|
+
data: null;
|
|
73
|
+
error: OficlinicListConsentFormsConflictFailure;
|
|
74
|
+
/**
|
|
75
|
+
* What every answer carries besides its data or error.
|
|
76
|
+
*/
|
|
77
|
+
metadata: ResponseMetadata;
|
|
78
|
+
success: false;
|
|
79
|
+
}
|
|
80
|
+
export type OficlinicListConsentFormsConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure;
|
|
81
|
+
/**
|
|
82
|
+
* A failed answer.
|
|
83
|
+
*/
|
|
84
|
+
export interface OficlinicListConsentFormsServiceUnavailableError {
|
|
85
|
+
data: null;
|
|
86
|
+
error: OficlinicListConsentFormsServiceUnavailableFailure;
|
|
87
|
+
/**
|
|
88
|
+
* What every answer carries besides its data or error.
|
|
89
|
+
*/
|
|
90
|
+
metadata: ResponseMetadata;
|
|
91
|
+
success: false;
|
|
92
|
+
}
|
|
93
|
+
export type OficlinicListConsentFormsServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure;
|
|
94
|
+
/**
|
|
95
|
+
* A failed answer.
|
|
96
|
+
*/
|
|
97
|
+
export interface OficlinicListConsentFormsTooManyRequestsError {
|
|
98
|
+
data: null;
|
|
99
|
+
error: OficlinicListConsentFormsTooManyRequestsFailure;
|
|
100
|
+
/**
|
|
101
|
+
* What every answer carries besides its data or error.
|
|
102
|
+
*/
|
|
103
|
+
metadata: ResponseMetadata;
|
|
104
|
+
success: false;
|
|
105
|
+
}
|
|
106
|
+
export type OficlinicListConsentFormsTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
|
|
107
|
+
/**
|
|
108
|
+
* A failed answer.
|
|
109
|
+
*/
|
|
110
|
+
export interface OficlinicListConsentFormsUnprocessableContentError {
|
|
111
|
+
data: null;
|
|
112
|
+
error: OficlinicListConsentFormsUnprocessableContentFailure;
|
|
113
|
+
/**
|
|
114
|
+
* What every answer carries besides its data or error.
|
|
115
|
+
*/
|
|
116
|
+
metadata: ResponseMetadata;
|
|
117
|
+
success: false;
|
|
118
|
+
}
|
|
119
|
+
export type OficlinicListConsentFormsUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.76.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.5",
|
|
59
59
|
"arbol": {
|
|
60
60
|
"openapi": {
|
|
61
|
-
"release": "1.20261130.
|
|
62
|
-
"sha256": "
|
|
61
|
+
"release": "1.20261130.131600",
|
|
62
|
+
"sha256": "520895bb55c56e2386a57d6a0736d5d781cf1b7f02759efee07319460230de18"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|