@arbol-ai/sdk 5.68.0 → 5.69.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.
@@ -10,8 +10,10 @@ export interface Client {
10
10
  /**
11
11
  * Create patient
12
12
  *
13
- * Use the organization gMedic account. No automatic write retries; reconcile
14
- * an unknown outcome before repeating.
13
+ * Use the organization gMedic account. Some clinics need every detail of a
14
+ * patient an agent registers (names, document, birth date, sex, mobilePhone,
15
+ * email, address); a refusal names what is missing. No automatic write
16
+ * retries; reconcile an unknown outcome before repeating.
15
17
  */
16
18
  create(request: CreateRequest, options?: RequestOptions): Promise<CreateResponse>;
17
19
  /**
@@ -33,8 +35,10 @@ export interface Client {
33
35
  /**
34
36
  * Update patient
35
37
  *
36
- * Use the organization gMedic account. No automatic write retries; reconcile
37
- * an unknown outcome before repeating.
38
+ * Use the organization gMedic account. Send only the fields that change:
39
+ * every other field gMedic stores is kept. An agent cannot change a patient’s
40
+ * document, names or birth date. No automatic write retries; reconcile an
41
+ * unknown outcome before repeating.
38
42
  */
39
43
  update(request: UpdateRequest, options?: RequestOptions): Promise<UpdateResponse>;
40
44
  }
@@ -690,8 +690,8 @@ export interface GmedicUpdatePatientBody {
690
690
  countryCode?: string;
691
691
  dependentsCount?: number;
692
692
  disabilityCategoryId?: string;
693
- documentNumber: string;
694
- documentTypeId: string;
693
+ documentNumber?: string;
694
+ documentTypeId?: string;
695
695
  educationLevelId?: string;
696
696
  email?: string;
697
697
  epsId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbol-ai/sdk",
3
- "version": "5.68.0",
3
+ "version": "5.69.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.20261120.15943",
62
- "sha256": "0917ea00c67135dc2457fd9c36487ca28fc5d2d3ae9da7774490a10c1fff638d"
61
+ "release": "1.20261120.163816",
62
+ "sha256": "4dcce28a0d0634fb55805f72d6db8dc586e0a4e9930a869f650c9460d06be606"
63
63
  }
64
64
  }
65
65
  }