@arbol-ai/sdk 5.74.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.
Files changed (36) hide show
  1. package/dist/account/billing/models.d.ts +2 -2
  2. package/dist/account/usageSummary/models.d.ts +1 -1
  3. package/dist/oficlinic/appointmentReport/client.d.ts +36 -0
  4. package/dist/oficlinic/appointmentReport/client.js +19 -0
  5. package/dist/oficlinic/appointmentReport/index.d.ts +5 -0
  6. package/dist/oficlinic/appointmentReport/index.js +4 -0
  7. package/dist/oficlinic/appointmentReport/models.d.ts +100 -0
  8. package/dist/oficlinic/appointmentReport/models.js +9 -0
  9. package/dist/oficlinic/client.d.ts +6 -0
  10. package/dist/oficlinic/client.js +15 -0
  11. package/dist/oficlinic/consentForms/client.d.ts +41 -0
  12. package/dist/oficlinic/consentForms/client.js +18 -0
  13. package/dist/oficlinic/consentForms/index.d.ts +5 -0
  14. package/dist/oficlinic/consentForms/index.js +4 -0
  15. package/dist/oficlinic/consentForms/models.d.ts +119 -0
  16. package/dist/oficlinic/consentForms/models.js +3 -0
  17. package/dist/oficlinic/reportCatalog/client.d.ts +45 -0
  18. package/dist/oficlinic/reportCatalog/client.js +18 -0
  19. package/dist/oficlinic/reportCatalog/index.d.ts +5 -0
  20. package/dist/oficlinic/reportCatalog/index.js +4 -0
  21. package/dist/oficlinic/reportCatalog/models.d.ts +116 -0
  22. package/dist/oficlinic/reportCatalog/models.js +3 -0
  23. package/dist/raiz/agents/models.d.ts +3 -3
  24. package/dist/raiz/client.d.ts +2 -0
  25. package/dist/raiz/client.js +5 -0
  26. package/dist/raiz/conversations/models.d.ts +1 -1
  27. package/dist/raiz/evalRuns/models.d.ts +1 -1
  28. package/dist/raiz/models/client.d.ts +37 -0
  29. package/dist/raiz/models/client.js +18 -0
  30. package/dist/raiz/models/index.d.ts +5 -0
  31. package/dist/raiz/models/index.js +4 -0
  32. package/dist/raiz/models/models.d.ts +55 -0
  33. package/dist/raiz/models/models.js +3 -0
  34. package/dist/raiz/reports/client.d.ts +1 -1
  35. package/dist/raiz/reports/models.d.ts +1 -1
  36. package/package.json +4 -4
@@ -19,7 +19,7 @@ export interface AccountBilling {
19
19
  * credits.
20
20
  */
21
21
  bundles: {
22
- feature: "voice_minutes" | "telephony_minutes" | "telephony_cost" | "whatsapp_conversations" | "whatsapp_messages" | "whatsapp_templates" | "tool_calls" | "ai_cost" | "phone_numbers" | "sisben_lookups" | "adres_lookups" | "policia_colombia_lookups" | "postconsultations" | "agenda_users" | "sms_messages" | "agenda_plan" | "support_fee";
22
+ feature: "voice_minutes" | "telephony_minutes" | "telephony_cost" | "whatsapp_conversations" | "whatsapp_messages" | "whatsapp_templates" | "tool_calls" | "ai_cost" | "phone_numbers" | "sisben_lookups" | "adres_lookups" | "policia_colombia_lookups" | "postconsultations" | "agenda_users" | "sms_messages" | "arbol_cost" | "agenda_plan" | "support_fee";
23
23
  included: number;
24
24
  remaining: number;
25
25
  resetsAt: Temporal.Instant | null;
@@ -122,7 +122,7 @@ export interface AccountBillingPlan {
122
122
  [key: string]: unknown;
123
123
  };
124
124
  creditsPerUnit: number;
125
- feature: "voice_minutes" | "telephony_minutes" | "telephony_cost" | "whatsapp_conversations" | "whatsapp_messages" | "whatsapp_templates" | "tool_calls" | "ai_cost" | "phone_numbers" | "sisben_lookups" | "adres_lookups" | "policia_colombia_lookups" | "postconsultations" | "agenda_users" | "sms_messages" | "agenda_plan" | "support_fee";
125
+ feature: "voice_minutes" | "telephony_minutes" | "telephony_cost" | "whatsapp_conversations" | "whatsapp_messages" | "whatsapp_templates" | "tool_calls" | "ai_cost" | "phone_numbers" | "sisben_lookups" | "adres_lookups" | "policia_colombia_lookups" | "postconsultations" | "agenda_users" | "sms_messages" | "arbol_cost" | "agenda_plan" | "support_fee";
126
126
  }[];
127
127
  status: "active" | "scheduled";
128
128
  }
@@ -22,7 +22,7 @@ export interface AccountUsageFeature {
22
22
  * How many reports made it up.
23
23
  */
24
24
  events: number;
25
- feature: "voice_minutes" | "telephony_minutes" | "telephony_cost" | "whatsapp_conversations" | "whatsapp_messages" | "whatsapp_templates" | "tool_calls" | "ai_cost" | "phone_numbers" | "sisben_lookups" | "adres_lookups" | "policia_colombia_lookups" | "postconsultations" | "agenda_users" | "sms_messages" | "agenda_plan" | "support_fee";
25
+ feature: "voice_minutes" | "telephony_minutes" | "telephony_cost" | "whatsapp_conversations" | "whatsapp_messages" | "whatsapp_templates" | "tool_calls" | "ai_cost" | "phone_numbers" | "sisben_lookups" | "adres_lookups" | "policia_colombia_lookups" | "postconsultations" | "agenda_users" | "sms_messages" | "arbol_cost" | "agenda_plan" | "support_fee";
26
26
  groups: {
27
27
  credits: number;
28
28
  key: string;
@@ -0,0 +1,36 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import { type OficlinicAppointmentReportResponse } 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
+ * Get appointment report
12
+ *
13
+ * Inspect the column labels and table row count of one authorized appointment
14
+ * report for one date. Unrecognized column labels are null. Row count
15
+ * includes headings, repeated headings and totals. No patient values are
16
+ * returned.
17
+ */
18
+ get(request: GetRequest, options?: RequestOptions): Promise<GetResponse>;
19
+ }
20
+ export declare function createClient(options: ClientOptions): Client;
21
+ export declare function bind(transport: Transport): Client;
22
+ export interface GetRequest {
23
+ /**
24
+ * An Account connection id of the caller's organization.
25
+ */
26
+ connectionId?: string;
27
+ /**
28
+ * The date.
29
+ */
30
+ date: Temporal.PlainDate;
31
+ /**
32
+ * The report.
33
+ */
34
+ report: "agendaDetail" | "printedAgenda" | "appointmentTiming";
35
+ }
36
+ export type GetResponse = OficlinicAppointmentReportResponse;
@@ -0,0 +1,19 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { Transport, } from "../../_/index.js";
4
+ import { OficlinicAppointmentReportResponseCodec, } from "./models.js";
5
+ export function createClient(options) {
6
+ return bind(new Transport(options));
7
+ }
8
+ export function bind(transport) {
9
+ return {
10
+ get: (request, options) => transport.send(GetOperation, request, options),
11
+ };
12
+ }
13
+ const GetOperation = {
14
+ method: "GET",
15
+ route: "/v1/oficlinic/appointment-report",
16
+ query: { connectionId: "connectionId", date: "date", report: "report" },
17
+ response: OficlinicAppointmentReportResponseCodec,
18
+ errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
19
+ };
@@ -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, GetRequest, GetResponse, } from "./client.js";
5
+ export type { OficlinicAppointmentReport, OficlinicAppointmentReportResponse, OficlinicGetAppointmentReportBadGatewayError, OficlinicGetAppointmentReportBadGatewayFailure, OficlinicGetAppointmentReportConflictError, OficlinicGetAppointmentReportConflictFailure, OficlinicGetAppointmentReportServiceUnavailableError, OficlinicGetAppointmentReportServiceUnavailableFailure, OficlinicGetAppointmentReportTooManyRequestsError, OficlinicGetAppointmentReportTooManyRequestsFailure, OficlinicGetAppointmentReportUnprocessableContentError, OficlinicGetAppointmentReportUnprocessableContentFailure, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,100 @@
1
+ import type { CredentialsRejectedFailure, OutcomeUnknownFailure, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
2
+ import type { OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicLoginCoolingDownFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
3
+ export interface OficlinicAppointmentReport {
4
+ appointments: {
5
+ distinctCas: number;
6
+ mentioningWhatsAppInNotes: number;
7
+ siteMentions: {
8
+ espinal: number;
9
+ girardot: number;
10
+ honda: number;
11
+ ibague: number;
12
+ };
13
+ withPhone: number;
14
+ withSingleColombianMobile: number;
15
+ } | null;
16
+ date: Temporal.PlainDate;
17
+ format: "htmlTable" | "webPage" | "xmlWorkbook" | "binaryWorkbook" | "pdf" | "other" | "notGranted";
18
+ headers: (string | null)[][];
19
+ report: "agendaDetail" | "printedAgenda" | "appointmentTiming";
20
+ rowCount: number;
21
+ }
22
+ /**
23
+ * A successful answer.
24
+ */
25
+ export interface OficlinicAppointmentReportResponse {
26
+ data: OficlinicAppointmentReport;
27
+ error: null;
28
+ /**
29
+ * What every answer carries besides its data or error.
30
+ */
31
+ metadata: ResponseMetadata;
32
+ success: true;
33
+ }
34
+ /**
35
+ * A failed answer.
36
+ */
37
+ export interface OficlinicGetAppointmentReportBadGatewayError {
38
+ data: null;
39
+ error: OficlinicGetAppointmentReportBadGatewayFailure;
40
+ /**
41
+ * What every answer carries besides its data or error.
42
+ */
43
+ metadata: ResponseMetadata;
44
+ success: false;
45
+ }
46
+ export type OficlinicGetAppointmentReportBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure;
47
+ /**
48
+ * A failed answer.
49
+ */
50
+ export interface OficlinicGetAppointmentReportConflictError {
51
+ data: null;
52
+ error: OficlinicGetAppointmentReportConflictFailure;
53
+ /**
54
+ * What every answer carries besides its data or error.
55
+ */
56
+ metadata: ResponseMetadata;
57
+ success: false;
58
+ }
59
+ export type OficlinicGetAppointmentReportConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure;
60
+ /**
61
+ * A failed answer.
62
+ */
63
+ export interface OficlinicGetAppointmentReportServiceUnavailableError {
64
+ data: null;
65
+ error: OficlinicGetAppointmentReportServiceUnavailableFailure;
66
+ /**
67
+ * What every answer carries besides its data or error.
68
+ */
69
+ metadata: ResponseMetadata;
70
+ success: false;
71
+ }
72
+ export type OficlinicGetAppointmentReportServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure;
73
+ /**
74
+ * A failed answer.
75
+ */
76
+ export interface OficlinicGetAppointmentReportTooManyRequestsError {
77
+ data: null;
78
+ error: OficlinicGetAppointmentReportTooManyRequestsFailure;
79
+ /**
80
+ * What every answer carries besides its data or error.
81
+ */
82
+ metadata: ResponseMetadata;
83
+ success: false;
84
+ }
85
+ export type OficlinicGetAppointmentReportTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
86
+ /**
87
+ * A failed answer.
88
+ */
89
+ export interface OficlinicGetAppointmentReportUnprocessableContentError {
90
+ data: null;
91
+ error: OficlinicGetAppointmentReportUnprocessableContentFailure;
92
+ /**
93
+ * What every answer carries besides its data or error.
94
+ */
95
+ metadata: ResponseMetadata;
96
+ success: false;
97
+ }
98
+ export type OficlinicGetAppointmentReportUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
99
+ export declare const OficlinicAppointmentReportCodec: import("../../_/codec.js").Codec;
100
+ export declare const OficlinicAppointmentReportResponseCodec: import("../../_/codec.js").Codec;
@@ -0,0 +1,9 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ import { date, object } from "../../_/index.js";
4
+ export const OficlinicAppointmentReportCodec = object([
5
+ ["date", null, date],
6
+ ]);
7
+ export const OficlinicAppointmentReportResponseCodec = object([
8
+ ["data", null, () => OficlinicAppointmentReportCodec],
9
+ ]);
@@ -1,5 +1,6 @@
1
1
  import { type BaseClientOptions, Transport } from "../_/index.js";
2
2
  import { type Client as AffiliateTypesClient } from "./affiliateTypes/client.js";
3
+ import { type Client as AppointmentReportClient } from "./appointmentReport/client.js";
3
4
  import { type Client as AppointmentsClient } from "./appointments/client.js";
4
5
  import { type Client as BookingDaysClient } from "./bookingDays/client.js";
5
6
  import { type Client as BookingProfessionalsClient } from "./bookingProfessionals/client.js";
@@ -7,6 +8,7 @@ import { type Client as BookingRoomsClient } from "./bookingRooms/client.js";
7
8
  import { type Client as BookingSlotsClient } from "./bookingSlots/client.js";
8
9
  import { type Client as CancellationReasonsClient } from "./cancellationReasons/client.js";
9
10
  import { type Client as ConnectionsClient } from "./connections/client.js";
11
+ import { type Client as ConsentFormsClient } from "./consentForms/client.js";
10
12
  import { type Client as DailyRosterClient } from "./dailyRoster/client.js";
11
13
  import { type Client as PatientRegistrationOptionsClient } from "./patientRegistrationOptions/client.js";
12
14
  import { type Client as PatientsClient } from "./patients/client.js";
@@ -18,6 +20,7 @@ import { type Client as ProfessionalsClient } from "./professionals/client.js";
18
20
  import { type Client as ProgramsClient } from "./programs/client.js";
19
21
  import { type Client as RegimesClient } from "./regimes/client.js";
20
22
  import { type Client as RelationshipsClient } from "./relationships/client.js";
23
+ import { type Client as ReportCatalogClient } from "./reportCatalog/client.js";
21
24
  import { type Client as SalaryRangesClient } from "./salaryRanges/client.js";
22
25
  import { type Client as ServiceCatalogClient } from "./serviceCatalog/client.js";
23
26
  import { type Client as ServicesClient } from "./services/client.js";
@@ -29,6 +32,7 @@ export interface ClientOptions extends BaseClientOptions {
29
32
  }
30
33
  export interface Client {
31
34
  readonly affiliateTypes: AffiliateTypesClient;
35
+ readonly appointmentReport: AppointmentReportClient;
32
36
  readonly appointments: AppointmentsClient;
33
37
  readonly bookingDays: BookingDaysClient;
34
38
  readonly bookingProfessionals: BookingProfessionalsClient;
@@ -36,6 +40,7 @@ export interface Client {
36
40
  readonly bookingSlots: BookingSlotsClient;
37
41
  readonly cancellationReasons: CancellationReasonsClient;
38
42
  readonly connections: ConnectionsClient;
43
+ readonly consentForms: ConsentFormsClient;
39
44
  readonly dailyRoster: DailyRosterClient;
40
45
  readonly patientRegistrationOptions: PatientRegistrationOptionsClient;
41
46
  readonly patients: PatientsClient;
@@ -47,6 +52,7 @@ export interface Client {
47
52
  readonly programs: ProgramsClient;
48
53
  readonly regimes: RegimesClient;
49
54
  readonly relationships: RelationshipsClient;
55
+ readonly reportCatalog: ReportCatalogClient;
50
56
  readonly salaryRanges: SalaryRangesClient;
51
57
  readonly serviceCatalog: ServiceCatalogClient;
52
58
  readonly services: ServicesClient;
@@ -2,6 +2,7 @@
2
2
  /* eslint-disable */
3
3
  import { Transport } from "../_/index.js";
4
4
  import { bind as bindAffiliateTypes, } from "./affiliateTypes/client.js";
5
+ import { bind as bindAppointmentReport, } from "./appointmentReport/client.js";
5
6
  import { bind as bindAppointments, } from "./appointments/client.js";
6
7
  import { bind as bindBookingDays, } from "./bookingDays/client.js";
7
8
  import { bind as bindBookingProfessionals, } from "./bookingProfessionals/client.js";
@@ -9,6 +10,7 @@ import { bind as bindBookingRooms, } from "./bookingRooms/client.js";
9
10
  import { bind as bindBookingSlots, } from "./bookingSlots/client.js";
10
11
  import { bind as bindCancellationReasons, } from "./cancellationReasons/client.js";
11
12
  import { bind as bindConnections, } from "./connections/client.js";
13
+ import { bind as bindConsentForms, } from "./consentForms/client.js";
12
14
  import { bind as bindDailyRoster, } from "./dailyRoster/client.js";
13
15
  import { bind as bindPatientRegistrationOptions, } from "./patientRegistrationOptions/client.js";
14
16
  import { bind as bindPatients, } from "./patients/client.js";
@@ -20,6 +22,7 @@ import { bind as bindProfessionals, } from "./professionals/client.js";
20
22
  import { bind as bindPrograms, } from "./programs/client.js";
21
23
  import { bind as bindRegimes, } from "./regimes/client.js";
22
24
  import { bind as bindRelationships, } from "./relationships/client.js";
25
+ import { bind as bindReportCatalog, } from "./reportCatalog/client.js";
23
26
  import { bind as bindSalaryRanges, } from "./salaryRanges/client.js";
24
27
  import { bind as bindServiceCatalog, } from "./serviceCatalog/client.js";
25
28
  import { bind as bindServices, } from "./services/client.js";
@@ -28,6 +31,7 @@ export function createClient(options) {
28
31
  }
29
32
  export function bind(transport) {
30
33
  let affiliateTypesClient;
34
+ let appointmentReportClient;
31
35
  let appointmentsClient;
32
36
  let bookingDaysClient;
33
37
  let bookingProfessionalsClient;
@@ -35,6 +39,7 @@ export function bind(transport) {
35
39
  let bookingSlotsClient;
36
40
  let cancellationReasonsClient;
37
41
  let connectionsClient;
42
+ let consentFormsClient;
38
43
  let dailyRosterClient;
39
44
  let patientRegistrationOptionsClient;
40
45
  let patientsClient;
@@ -46,6 +51,7 @@ export function bind(transport) {
46
51
  let programsClient;
47
52
  let regimesClient;
48
53
  let relationshipsClient;
54
+ let reportCatalogClient;
49
55
  let salaryRangesClient;
50
56
  let serviceCatalogClient;
51
57
  let servicesClient;
@@ -53,6 +59,9 @@ export function bind(transport) {
53
59
  get affiliateTypes() {
54
60
  return (affiliateTypesClient ??= bindAffiliateTypes(transport));
55
61
  },
62
+ get appointmentReport() {
63
+ return (appointmentReportClient ??= bindAppointmentReport(transport));
64
+ },
56
65
  get appointments() {
57
66
  return (appointmentsClient ??= bindAppointments(transport));
58
67
  },
@@ -74,6 +83,9 @@ export function bind(transport) {
74
83
  get connections() {
75
84
  return (connectionsClient ??= bindConnections(transport));
76
85
  },
86
+ get consentForms() {
87
+ return (consentFormsClient ??= bindConsentForms(transport));
88
+ },
77
89
  get dailyRoster() {
78
90
  return (dailyRosterClient ??= bindDailyRoster(transport));
79
91
  },
@@ -107,6 +119,9 @@ export function bind(transport) {
107
119
  get relationships() {
108
120
  return (relationshipsClient ??= bindRelationships(transport));
109
121
  },
122
+ get reportCatalog() {
123
+ return (reportCatalogClient ??= bindReportCatalog(transport));
124
+ },
110
125
  get salaryRanges() {
111
126
  return (salaryRangesClient ??= bindSalaryRanges(transport));
112
127
  },
@@ -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,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../../_/index.js";
4
+ export { createClient } from "./client.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;
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
@@ -0,0 +1,45 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import type { OficlinicReportCatalogPageResponse } 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
+ * Get report catalog
12
+ *
13
+ * List the e-Oficlinic Macroinformes modules, or supply a returned moduleId
14
+ * for its report names and codes permitted to the live staff profile. Catalog
15
+ * metadata only. Page with pageInfo.nextCursor.
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
+ * A module id from this connection's report catalog.
28
+ */
29
+ moduleId?: string;
30
+ /**
31
+ * An opaque cursor from a previous page's pageInfo.nextCursor or
32
+ * pageInfo.previousCursor.
33
+ */
34
+ cursor?: string;
35
+ /**
36
+ * Direction to traverse the stable keyset ordering from the supplied cursor.
37
+ */
38
+ direction?: "forward" | "backward";
39
+ /**
40
+ * Maximum items returned in one page. Defaults to 50; larger reads require
41
+ * another cursor.
42
+ */
43
+ limit?: number;
44
+ }
45
+ export type ListResponse = OficlinicReportCatalogPageResponse;
@@ -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/report-catalog",
15
+ query: { connectionId: "connectionId", moduleId: "moduleId", 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 { OficlinicGetReportCatalogBadGatewayError, OficlinicGetReportCatalogBadGatewayFailure, OficlinicGetReportCatalogBadRequestError, OficlinicGetReportCatalogBadRequestFailure, OficlinicGetReportCatalogConflictError, OficlinicGetReportCatalogConflictFailure, OficlinicGetReportCatalogServiceUnavailableError, OficlinicGetReportCatalogServiceUnavailableFailure, OficlinicGetReportCatalogTooManyRequestsError, OficlinicGetReportCatalogTooManyRequestsFailure, OficlinicGetReportCatalogUnprocessableContentError, OficlinicGetReportCatalogUnprocessableContentFailure, OficlinicReportCatalogItem, OficlinicReportCatalogPage, OficlinicReportCatalogPageResponse, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,116 @@
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
+ /**
4
+ * A failed answer.
5
+ */
6
+ export interface OficlinicGetReportCatalogBadGatewayError {
7
+ data: null;
8
+ error: OficlinicGetReportCatalogBadGatewayFailure;
9
+ /**
10
+ * What every answer carries besides its data or error.
11
+ */
12
+ metadata: ResponseMetadata;
13
+ success: false;
14
+ }
15
+ export type OficlinicGetReportCatalogBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure;
16
+ /**
17
+ * A failed answer.
18
+ */
19
+ export interface OficlinicGetReportCatalogBadRequestError {
20
+ data: null;
21
+ error: OficlinicGetReportCatalogBadRequestFailure;
22
+ /**
23
+ * What every answer carries besides its data or error.
24
+ */
25
+ metadata: ResponseMetadata;
26
+ success: false;
27
+ }
28
+ export type OficlinicGetReportCatalogBadRequestFailure = InvalidInputFailure | OficlinicInvalidCursorFailure;
29
+ /**
30
+ * A failed answer.
31
+ */
32
+ export interface OficlinicGetReportCatalogConflictError {
33
+ data: null;
34
+ error: OficlinicGetReportCatalogConflictFailure;
35
+ /**
36
+ * What every answer carries besides its data or error.
37
+ */
38
+ metadata: ResponseMetadata;
39
+ success: false;
40
+ }
41
+ export type OficlinicGetReportCatalogConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure;
42
+ /**
43
+ * A failed answer.
44
+ */
45
+ export interface OficlinicGetReportCatalogServiceUnavailableError {
46
+ data: null;
47
+ error: OficlinicGetReportCatalogServiceUnavailableFailure;
48
+ /**
49
+ * What every answer carries besides its data or error.
50
+ */
51
+ metadata: ResponseMetadata;
52
+ success: false;
53
+ }
54
+ export type OficlinicGetReportCatalogServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure;
55
+ /**
56
+ * A failed answer.
57
+ */
58
+ export interface OficlinicGetReportCatalogTooManyRequestsError {
59
+ data: null;
60
+ error: OficlinicGetReportCatalogTooManyRequestsFailure;
61
+ /**
62
+ * What every answer carries besides its data or error.
63
+ */
64
+ metadata: ResponseMetadata;
65
+ success: false;
66
+ }
67
+ export type OficlinicGetReportCatalogTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
68
+ /**
69
+ * A failed answer.
70
+ */
71
+ export interface OficlinicGetReportCatalogUnprocessableContentError {
72
+ data: null;
73
+ error: OficlinicGetReportCatalogUnprocessableContentFailure;
74
+ /**
75
+ * What every answer carries besides its data or error.
76
+ */
77
+ metadata: ResponseMetadata;
78
+ success: false;
79
+ }
80
+ export type OficlinicGetReportCatalogUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
81
+ export interface OficlinicReportCatalogItem {
82
+ fileName: string | null;
83
+ id: string;
84
+ kind: "module" | "report";
85
+ name: string;
86
+ /**
87
+ * The relative PHP file offered by the picker, with no query or fragment.
88
+ */
89
+ sourcePath: string | null;
90
+ }
91
+ export interface OficlinicReportCatalogPage {
92
+ /**
93
+ * Items admitted by this resource contract within the verified organization.
94
+ */
95
+ data: OficlinicReportCatalogItem[];
96
+ /**
97
+ * Discriminator for a resource list response.
98
+ */
99
+ object: "list";
100
+ /**
101
+ * Opaque navigation cursors for this page’s stable keyset order.
102
+ */
103
+ pageInfo: PageInfo;
104
+ }
105
+ /**
106
+ * A successful answer.
107
+ */
108
+ export interface OficlinicReportCatalogPageResponse {
109
+ data: OficlinicReportCatalogPage;
110
+ error: null;
111
+ /**
112
+ * What every answer carries besides its data or error.
113
+ */
114
+ metadata: ResponseMetadata;
115
+ success: true;
116
+ }
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
@@ -372,7 +372,7 @@ export interface RaizAgentSettings {
372
372
  } | null;
373
373
  humanReplyTimeoutMinutes: number | null;
374
374
  investigationsEnabled: boolean | null;
375
- model: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
375
+ model: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "openai/gpt-6-luna" | "openai/gpt-6.1-sol" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-terra" | "anthropic/claude-opus-5-5" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-sonnet-5" | null;
376
376
  modelTrial: RaizAgentModelTrial | null;
377
377
  monthlyTokenBudget: number | null;
378
378
  pauseOnHumanReply: boolean | null;
@@ -430,7 +430,7 @@ export interface RaizAgentSettingsInput {
430
430
  } | null;
431
431
  humanReplyTimeoutMinutes?: number | null;
432
432
  investigationsEnabled?: boolean | null;
433
- model?: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
433
+ model?: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "openai/gpt-6-luna" | "openai/gpt-6.1-sol" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-terra" | "anthropic/claude-opus-5-5" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-sonnet-5" | null;
434
434
  modelTrial?: RaizAgentModelTrial | null;
435
435
  monthlyTokenBudget?: number | null;
436
436
  pauseOnHumanReply?: boolean | null;
@@ -541,7 +541,7 @@ export interface RaizAgentVoiceSettings {
541
541
  * Names and terms the transcriber should favor (people, places, products).
542
542
  */
543
543
  keywords: string[];
544
- llm: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "arbolito/voice-fast" | null;
544
+ llm: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "openai/gpt-5.6-luna" | "arbolito/voice-fast" | null;
545
545
  maxDurationMessage?: string | null;
546
546
  maxDurationSeconds: number | null;
547
547
  /**
@@ -11,6 +11,7 @@ import { type Client as EvalCasesClient } from "./evalCases/client.js";
11
11
  import { type Client as EvalRunsClient } from "./evalRuns/client.js";
12
12
  import { type Client as FactsClient } from "./facts/client.js";
13
13
  import { type Client as KnowledgeClient } from "./knowledge/client.js";
14
+ import { type Client as ModelsClient } from "./models/client.js";
14
15
  import { type Client as OrganizationClient } from "./organization/client.js";
15
16
  import { type Client as ProfilesClient } from "./profiles/client.js";
16
17
  import { type Client as ReportsClient } from "./reports/client.js";
@@ -37,6 +38,7 @@ export interface Client {
37
38
  readonly evalRuns: EvalRunsClient;
38
39
  readonly facts: FactsClient;
39
40
  readonly knowledge: KnowledgeClient;
41
+ readonly models: ModelsClient;
40
42
  readonly organization: OrganizationClient;
41
43
  readonly profiles: ProfilesClient;
42
44
  readonly reports: ReportsClient;
@@ -13,6 +13,7 @@ import { bind as bindEvalCases, } from "./evalCases/client.js";
13
13
  import { bind as bindEvalRuns, } from "./evalRuns/client.js";
14
14
  import { bind as bindFacts, } from "./facts/client.js";
15
15
  import { bind as bindKnowledge, } from "./knowledge/client.js";
16
+ import { bind as bindModels, } from "./models/client.js";
16
17
  import { bind as bindOrganization, } from "./organization/client.js";
17
18
  import { bind as bindProfiles, } from "./profiles/client.js";
18
19
  import { bind as bindReports, } from "./reports/client.js";
@@ -36,6 +37,7 @@ export function bind(transport) {
36
37
  let evalRunsClient;
37
38
  let factsClient;
38
39
  let knowledgeClient;
40
+ let modelsClient;
39
41
  let organizationClient;
40
42
  let profilesClient;
41
43
  let reportsClient;
@@ -80,6 +82,9 @@ export function bind(transport) {
80
82
  get knowledge() {
81
83
  return (knowledgeClient ??= bindKnowledge(transport));
82
84
  },
85
+ get models() {
86
+ return (modelsClient ??= bindModels(transport));
87
+ },
83
88
  get organization() {
84
89
  return (organizationClient ??= bindOrganization(transport));
85
90
  },
@@ -778,7 +778,7 @@ export interface RaizMessage {
778
778
  firstTokenMs: number | null;
779
779
  inputCachedTokens: number | null;
780
780
  inputTokens: number | null;
781
- model: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
781
+ model: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "openai/gpt-6-luna" | "openai/gpt-6.1-sol" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-terra" | "anthropic/claude-opus-5-5" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-sonnet-5" | null;
782
782
  modelCalls: number | null;
783
783
  outputTokens: number | null;
784
784
  reasoningTokens: number | null;
@@ -13,7 +13,7 @@ export interface RaizCreateEvalRunBody {
13
13
  candidate?: {
14
14
  instructions?: string | null;
15
15
  integrationProcedures?: RaizAgentIntegrationProcedureInput[];
16
- model?: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
16
+ model?: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "openai/gpt-6-luna" | "openai/gpt-6.1-sol" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-terra" | "anthropic/claude-opus-5-5" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-sonnet-5" | null;
17
17
  procedures?: RaizAgentProcedureInput[];
18
18
  reasoningEffort?: "none" | "low" | "medium" | "high" | "xhigh" | null;
19
19
  };
@@ -0,0 +1,37 @@
1
+ import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
+ import type { RaizReplyModelPageResponse } 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 reply models
12
+ *
13
+ * List the versioned models available for WhatsApp and web replies. Use an id
14
+ * in settings.model or keep null to follow the default. A model recommended
15
+ * for voice can also be selected by id in settings.voice.llm. Credits depend
16
+ * on actual model usage and the organization's plan.
17
+ */
18
+ list(request?: ListRequest, options?: RequestOptions): Promise<ListResponse>;
19
+ }
20
+ export declare function createClient(options: ClientOptions): Client;
21
+ export declare function bind(transport: Transport): Client;
22
+ export interface ListRequest {
23
+ /**
24
+ * Opaque cursor returned by pageInfo; omit it to request the first page.
25
+ */
26
+ cursor?: string;
27
+ /**
28
+ * Direction to traverse the stable keyset ordering from the supplied cursor.
29
+ */
30
+ direction?: "forward" | "backward";
31
+ /**
32
+ * Maximum items returned in one page. Defaults to 25; larger reads require
33
+ * another cursor.
34
+ */
35
+ limit?: number;
36
+ }
37
+ export type ListResponse = RaizReplyModelPageResponse;
@@ -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/raiz/models",
15
+ query: { cursor: "cursor", direction: "direction", limit: "limit" },
16
+ response: null,
17
+ errors: { "400": true, "401": true, "403": 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 { RaizListModelsBadRequestError, RaizListModelsBadRequestFailure, RaizReplyModel, RaizReplyModelPage, RaizReplyModelPageResponse, } from "./models.js";
@@ -0,0 +1,4 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export { ApiError } from "../../_/index.js";
4
+ export { createClient } from "./client.js";
@@ -0,0 +1,55 @@
1
+ import type { InvalidInputFailure, PageInfo, ResponseMetadata } from "../../models.js";
2
+ import type { RaizInvalidCursorFailure } from "../models.js";
3
+ /**
4
+ * A failed answer.
5
+ */
6
+ export interface RaizListModelsBadRequestError {
7
+ data: null;
8
+ error: RaizListModelsBadRequestFailure;
9
+ /**
10
+ * What every answer carries besides its data or error.
11
+ */
12
+ metadata: ResponseMetadata;
13
+ success: false;
14
+ }
15
+ export type RaizListModelsBadRequestFailure = InvalidInputFailure | RaizInvalidCursorFailure;
16
+ export interface RaizReplyModel {
17
+ id: "openai/gpt-6-luna" | "openai/gpt-6.1-sol" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-terra" | "anthropic/claude-opus-5-5" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-sonnet-5";
18
+ isDefault: boolean;
19
+ name: string;
20
+ reasoningEfforts: ("none" | "low" | "medium" | "high" | "xhigh")[];
21
+ /**
22
+ * Channels for which Arbol recommends this model.
23
+ */
24
+ recommendedFor: ("voice" | "whatsapp")[];
25
+ /**
26
+ * Selectable for text replies in this release.
27
+ */
28
+ status: "available";
29
+ }
30
+ export interface RaizReplyModelPage {
31
+ /**
32
+ * Items admitted by this resource contract within the verified organization.
33
+ */
34
+ data: RaizReplyModel[];
35
+ /**
36
+ * Discriminator for a resource list response.
37
+ */
38
+ object: "list";
39
+ /**
40
+ * Opaque navigation cursors for this page’s stable keyset order.
41
+ */
42
+ pageInfo: PageInfo;
43
+ }
44
+ /**
45
+ * A successful answer.
46
+ */
47
+ export interface RaizReplyModelPageResponse {
48
+ data: RaizReplyModelPage;
49
+ error: null;
50
+ /**
51
+ * What every answer carries besides its data or error.
52
+ */
53
+ metadata: ResponseMetadata;
54
+ success: true;
55
+ }
@@ -0,0 +1,3 @@
1
+ // Code generated by forge. DO NOT EDIT.
2
+ /* eslint-disable */
3
+ export {};
@@ -99,7 +99,7 @@ export interface GetRequest {
99
99
  * inferred. `campaign_progress`: recipients by status (filter `campaignId`;
100
100
  * no dates). `usage_daily`: what was used per day, Agent, channel type,
101
101
  * campaign and kind, with its credits at the organization's rates and, for
102
- * AI, the model tier and its tokens (filters `agentId`, `channelType`,
102
+ * AI, the model and its tokens (filters `agentId`, `channelType`,
103
103
  * `campaignId`); test conversations count like any other.
104
104
  */
105
105
  name: "conversations_daily" | "handoffs_daily" | "pqrsf_daily" | "tool_calls_daily" | "tool_calls" | "booking_outcomes" | "booking_details" | "assessment_results_daily" | "campaign_progress" | "usage_daily";
@@ -202,7 +202,7 @@ export type RaizReport = {
202
202
  day: Temporal.PlainDate;
203
203
  inputTokens: number;
204
204
  kind: "voice" | "phone_line" | "phone_numbers" | "messages" | "templates" | "conversations" | "tools" | "ai";
205
- model: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | null;
205
+ model: "arbolito/agile" | "arbolito/balanced" | "arbolito/advanced" | "arbolito/top" | "openai/gpt-6-luna" | "openai/gpt-6.1-sol" | "openai/gpt-5.6-luna" | "openai/gpt-6.1-terra" | "anthropic/claude-opus-5-5" | "anthropic/claude-haiku-5-5" | "anthropic/claude-sonnet-5-5" | "anthropic/claude-sonnet-5" | null;
206
206
  outputTokens: number;
207
207
  pendingCount: number;
208
208
  units: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.74.0",
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",
@@ -55,11 +55,11 @@
55
55
  "devDependencies": {
56
56
  "typescript": "7.0.2"
57
57
  },
58
- "packageManager": "bun@1.4.3",
58
+ "packageManager": "bun@1.4.5",
59
59
  "arbol": {
60
60
  "openapi": {
61
- "release": "1.20261129.193637",
62
- "sha256": "9edbf64e7da9d0997fee5d44786561c9a62fc60b6be68751e027359fdb94375b"
61
+ "release": "1.20261130.131600",
62
+ "sha256": "520895bb55c56e2386a57d6a0736d5d781cf1b7f02759efee07319460230de18"
63
63
  }
64
64
  }
65
65
  }