@arbol-ai/sdk 5.19.0 → 5.21.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.
@@ -12,7 +12,6 @@ import { type Client as OrganizationClient } from "./organization/client.js";
12
12
  import { type Client as OrganizationsClient } from "./organizations/client.js";
13
13
  import { type Client as PaymentsClient } from "./payments/client.js";
14
14
  import { type Client as PermissionsClient } from "./permissions/client.js";
15
- import { type Client as PersonalConsentsClient } from "./personalConsents/client.js";
16
15
  import { type Client as RegistryInstallationsClient } from "./registryInstallations/client.js";
17
16
  import { type Client as RolesClient } from "./roles/client.js";
18
17
  import { type Client as UsageClient } from "./usage/client.js";
@@ -38,7 +37,6 @@ export interface Client {
38
37
  readonly organizations: OrganizationsClient;
39
38
  readonly payments: PaymentsClient;
40
39
  readonly permissions: PermissionsClient;
41
- readonly personalConsents: PersonalConsentsClient;
42
40
  readonly registryInstallations: RegistryInstallationsClient;
43
41
  readonly roles: RolesClient;
44
42
  readonly usage: UsageClient;
@@ -14,7 +14,6 @@ import { bind as bindOrganization, } from "./organization/client.js";
14
14
  import { bind as bindOrganizations, } from "./organizations/client.js";
15
15
  import { bind as bindPayments, } from "./payments/client.js";
16
16
  import { bind as bindPermissions, } from "./permissions/client.js";
17
- import { bind as bindPersonalConsents, } from "./personalConsents/client.js";
18
17
  import { bind as bindRegistryInstallations, } from "./registryInstallations/client.js";
19
18
  import { bind as bindRoles, } from "./roles/client.js";
20
19
  import { bind as bindUsage, } from "./usage/client.js";
@@ -37,7 +36,6 @@ export function bind(transport) {
37
36
  let organizationsClient;
38
37
  let paymentsClient;
39
38
  let permissionsClient;
40
- let personalConsentsClient;
41
39
  let registryInstallationsClient;
42
40
  let rolesClient;
43
41
  let usageClient;
@@ -83,9 +81,6 @@ export function bind(transport) {
83
81
  get permissions() {
84
82
  return (permissionsClient ??= bindPermissions(transport));
85
83
  },
86
- get personalConsents() {
87
- return (personalConsentsClient ??= bindPersonalConsents(transport));
88
- },
89
84
  get registryInstallations() {
90
85
  return (registryInstallationsClient ??= bindRegistryInstallations(transport));
91
86
  },
@@ -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, AccountConsultIncludedRecordBody, } from "./models.js";
5
+ export type { AccountColombiaLookupPresentation, AccountColombiaLookupPresentationResponse, AccountColombiaResourceEnvelope, AccountConsultIncludedRecordBody, } from "./models.js";
@@ -1,5 +1,4 @@
1
1
  import type { ResponseMetadata } from "../../models.js";
2
- import type { AccountColombiaResourceEnvelope } from "../models.js";
3
2
  export type AccountColombiaLookupPresentation = AccountColombiaResourceEnvelope | {
4
3
  text: string;
5
4
  };
@@ -15,6 +14,11 @@ export interface AccountColombiaLookupPresentationResponse {
15
14
  metadata: ResponseMetadata;
16
15
  success: true;
17
16
  }
17
+ export interface AccountColombiaResourceEnvelope {
18
+ result: {
19
+ [key: string]: unknown;
20
+ };
21
+ }
18
22
  export type AccountConsultIncludedRecordBody = {
19
23
  agentMode?: boolean;
20
24
  documentNumber?: string;
@@ -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 { AccountAccountNotConfiguredFailure, AccountBillingRecordNotFoundError, AccountBillingRecordNotFoundFailure, AccountBillingRejectedError, AccountBillingRejectedFailure, AccountBillingUnavailableFailure, AccountColombiaResourceEnvelope, AccountIdentityRejectedError, AccountIdentityRejectedFailure, AccountIdentityUnavailableFailure, AccountMemberProtectedFailure, AccountProductRole, AccountRoleNotAssignableFailure, } from "./models.js";
5
+ export type { AccountAccountNotConfiguredFailure, AccountBillingRecordNotFoundError, AccountBillingRecordNotFoundFailure, AccountBillingRejectedError, AccountBillingRejectedFailure, AccountBillingUnavailableFailure, AccountIdentityRejectedError, AccountIdentityRejectedFailure, AccountIdentityUnavailableFailure, AccountMemberProtectedFailure, AccountProductRole, AccountRoleNotAssignableFailure, } from "./models.js";
@@ -113,11 +113,6 @@ export interface AccountBillingUnavailableFailure {
113
113
  */
114
114
  retryable: true;
115
115
  }
116
- export interface AccountColombiaResourceEnvelope {
117
- result: {
118
- [key: string]: unknown;
119
- };
120
- }
121
116
  /**
122
117
  * A failed answer.
123
118
  */
@@ -23,6 +23,15 @@ export interface SomosAvailabilitySlot {
23
23
  */
24
24
  dateSpoken: string;
25
25
  fonoGroup?: string;
26
+ /**
27
+ * The two verified exam times on this slot's local date, with its
28
+ * professional. This is an offer, not a booking.
29
+ */
30
+ hearingPair?: {
31
+ audiometryTime: string;
32
+ logoaudiometryTime: string;
33
+ minutesPerExam: 10;
34
+ };
26
35
  /**
27
36
  * The professional, as a later search names them (medic).
28
37
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.19.0",
3
+ "version": "5.21.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.22054",
61
- "sha256": "5ef2fc5f6234b5d5f5721536a2991ffa1d6ece9bb50ea485c18209b4ec18291e"
60
+ "release": "1.20261101.23407",
61
+ "sha256": "d3a8d1b618cede61acfcfdc5cb37a382692b76584705bf8b8a53d91a40a74bd5"
62
62
  }
63
63
  }
64
64
  }
@@ -1,21 +0,0 @@
1
- import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
2
- import type { AccountColombiaResourceEnvelopeResponse, AccountPrepareColombiaConsentBody } 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
- * Prepare a personal Colombian Police declaration
12
- *
13
- * Send the holder’s explicitly accepted document and receive the matching
14
- * personal-use declaration.
15
- */
16
- prepare(request: PrepareRequest, options?: RequestOptions): Promise<PrepareResponse>;
17
- }
18
- export declare function createClient(options: ClientOptions): Client;
19
- export declare function bind(transport: Transport): Client;
20
- export type PrepareRequest = AccountPrepareColombiaConsentBody;
21
- export type PrepareResponse = AccountColombiaResourceEnvelopeResponse;
@@ -1,18 +0,0 @@
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
- prepare: (request, options) => transport.send(PrepareOperation, request, options),
10
- };
11
- }
12
- const PrepareOperation = {
13
- method: "POST",
14
- route: "/v1/account/personal-consents/prepare",
15
- body: "flat",
16
- response: null,
17
- errors: { "400": true, "401": true, "403": true, "413": true, "415": true, "429": true, "500": true, "502": true, "503": true, "504": true },
18
- };
@@ -1,5 +0,0 @@
1
- export { ApiError } from "../../_/index.js";
2
- export type { RequestOptions } from "../../_/index.js";
3
- export { createClient } from "./client.js";
4
- export type { Client, ClientOptions, PrepareRequest, PrepareResponse, } from "./client.js";
5
- export type { AccountColombiaResourceEnvelopeResponse, AccountPrepareColombiaConsentBody, } from "./models.js";
@@ -1,4 +0,0 @@
1
- // Code generated by forge. DO NOT EDIT.
2
- /* eslint-disable */
3
- export { ApiError } from "../../_/index.js";
4
- export { createClient } from "./client.js";
@@ -1,23 +0,0 @@
1
- import type { ResponseMetadata } from "../../models.js";
2
- import type { AccountColombiaResourceEnvelope } from "../models.js";
3
- /**
4
- * A successful answer.
5
- */
6
- export interface AccountColombiaResourceEnvelopeResponse {
7
- /**
8
- * The result from the selected Colombian source or the holder’s personal
9
- * consent receipt.
10
- */
11
- data: AccountColombiaResourceEnvelope;
12
- error: null;
13
- /**
14
- * What every answer carries besides its data or error.
15
- */
16
- metadata: ResponseMetadata;
17
- success: true;
18
- }
19
- export interface AccountPrepareColombiaConsentBody {
20
- consent: true;
21
- documentNumber: string;
22
- documentType: "CC" | "CE" | "PA" | "DP";
23
- }
@@ -1,3 +0,0 @@
1
- // Code generated by forge. DO NOT EDIT.
2
- /* eslint-disable */
3
- export {};