@arbol-ai/sdk 3.0.1 → 4.0.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/README.md +23 -0
- package/dist/account/apiKeys/client.d.ts +15 -47
- package/dist/account/apiKeys/client.js +11 -12
- package/dist/account/apiKeys/index.d.ts +1 -1
- package/dist/account/apiKeys/models.d.ts +164 -1
- package/dist/account/apiKeys/models.js +6 -0
- package/dist/account/billing/client.d.ts +4 -10
- package/dist/account/billing/client.js +7 -7
- package/dist/account/billing/index.d.ts +2 -2
- package/dist/account/billing/models.d.ts +32 -0
- package/dist/account/billing/models.js +5 -2
- package/dist/account/billingProfiles/client.d.ts +13 -24
- package/dist/account/billingProfiles/client.js +4 -4
- package/dist/account/billingProfiles/index.d.ts +1 -1
- package/dist/account/billingProfiles/models.d.ts +48 -0
- package/dist/account/client.d.ts +6 -0
- package/dist/account/client.js +15 -0
- package/dist/account/connections/client.d.ts +2 -200
- package/dist/account/connections/client.js +1 -25
- package/dist/account/connections/index.d.ts +2 -2
- package/dist/account/connections/models.d.ts +22 -7
- package/dist/account/index.d.ts +1 -1
- package/dist/account/invitations/client.d.ts +9 -38
- package/dist/account/invitations/client.js +8 -9
- package/dist/account/invitations/index.d.ts +1 -1
- package/dist/account/invitations/models.d.ts +221 -2
- package/dist/account/invitations/models.js +6 -0
- package/dist/account/invoiceDocuments/client.d.ts +25 -0
- package/dist/account/invoiceDocuments/client.js +17 -0
- package/dist/account/invoiceDocuments/index.d.ts +5 -0
- package/dist/account/invoiceDocuments/index.js +4 -0
- package/dist/account/invoiceDocuments/models.d.ts +35 -0
- package/dist/account/invoiceDocuments/models.js +3 -0
- package/dist/account/invoices/client.d.ts +7 -34
- package/dist/account/invoices/client.js +7 -14
- package/dist/account/invoices/index.d.ts +2 -2
- package/dist/account/invoices/models.d.ts +66 -1
- package/dist/account/invoices/models.js +8 -0
- package/dist/account/members/client.d.ts +14 -55
- package/dist/account/members/client.js +6 -7
- package/dist/account/members/index.d.ts +1 -1
- package/dist/account/members/models.d.ts +261 -2
- package/dist/account/models.d.ts +210 -259
- package/dist/account/organization/client.d.ts +31 -0
- package/dist/account/organization/client.js +25 -0
- package/dist/account/organization/index.d.ts +5 -0
- package/dist/account/organization/index.js +4 -0
- package/dist/account/organization/models.d.ts +89 -0
- package/dist/account/organization/models.js +3 -0
- package/dist/account/organizations/client.d.ts +2 -48
- package/dist/account/organizations/client.js +1 -16
- package/dist/account/organizations/index.d.ts +2 -2
- package/dist/account/organizations/models.d.ts +26 -37
- package/dist/account/payments/client.d.ts +2 -8
- package/dist/account/payments/client.js +4 -4
- package/dist/account/payments/index.d.ts +1 -1
- package/dist/account/payments/models.d.ts +28 -1
- package/dist/account/payments/models.js +3 -0
- package/dist/account/permissions/client.d.ts +2 -8
- package/dist/account/permissions/client.js +1 -1
- package/dist/account/permissions/index.d.ts +1 -1
- package/dist/account/permissions/models.d.ts +27 -1
- package/dist/account/roles/client.d.ts +2 -8
- package/dist/account/roles/client.js +1 -1
- package/dist/account/roles/index.d.ts +1 -1
- package/dist/account/roles/models.d.ts +27 -1
- package/dist/account/usage/client.d.ts +7 -44
- package/dist/account/usage/client.js +5 -13
- package/dist/account/usage/index.d.ts +2 -2
- package/dist/account/usage/models.d.ts +27 -1
- package/dist/account/usageSummary/client.d.ts +26 -0
- package/dist/account/usageSummary/client.js +19 -0
- package/dist/account/usageSummary/index.d.ts +5 -0
- package/dist/account/usageSummary/index.js +4 -0
- package/dist/account/usageSummary/models.d.ts +50 -0
- package/dist/account/usageSummary/models.js +9 -0
- package/dist/account/walletTransactions/client.d.ts +2 -8
- package/dist/account/walletTransactions/client.js +4 -4
- package/dist/account/walletTransactions/index.d.ts +1 -1
- package/dist/account/walletTransactions/models.d.ts +28 -1
- package/dist/account/walletTransactions/models.js +3 -0
- package/dist/agenda/appointments/client.d.ts +6 -7
- package/dist/agenda/availability/client.d.ts +3 -4
- package/dist/agenda/bookings/client.d.ts +11 -12
- package/dist/agenda/index.d.ts +1 -1
- package/dist/agenda/locations/client.d.ts +2 -3
- package/dist/agenda/locations/client.js +1 -1
- package/dist/agenda/models.d.ts +8 -2
- package/dist/agenda/offerings/client.d.ts +4 -4
- package/dist/agenda/resources/client.d.ts +4 -4
- package/dist/agenda/scheduleRules/client.d.ts +4 -4
- package/dist/agenda/services/client.d.ts +4 -4
- package/dist/agenda/waitlist/client.d.ts +3 -4
- package/dist/axxa/authorizations/client.d.ts +2 -2
- package/dist/axxa/connections/client.d.ts +6 -5
- package/dist/axxa/eligibility/client.d.ts +2 -2
- package/dist/axxa/index.d.ts +1 -1
- package/dist/axxa/models.d.ts +8 -2
- package/dist/axxa/provider/client.d.ts +2 -2
- package/dist/gmedic/agendaServices/client.d.ts +2 -2
- package/dist/gmedic/agendas/client.d.ts +2 -2
- package/dist/gmedic/appointments/client.d.ts +4 -4
- package/dist/gmedic/availability/client.d.ts +2 -2
- package/dist/gmedic/availableDays/client.d.ts +2 -2
- package/dist/gmedic/branchOffices/client.d.ts +2 -2
- package/dist/gmedic/connections/client.d.ts +6 -5
- package/dist/gmedic/dictionaryEntries/client.d.ts +2 -2
- package/dist/gmedic/healthPartners/client.d.ts +2 -2
- package/dist/gmedic/healthPromotionEntities/client.d.ts +2 -2
- package/dist/gmedic/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/client.d.ts +2 -2
- package/dist/gmedic/models.d.ts +8 -2
- package/dist/gmedic/occupations/client.d.ts +2 -2
- package/dist/gmedic/patientNotes/client.d.ts +4 -4
- package/dist/gmedic/patients/client.d.ts +4 -4
- package/dist/gmedic/services/client.d.ts +2 -2
- package/dist/gmedic/sessionPackages/client.d.ts +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +293 -5
- package/dist/nuevaEps/affiliations/models.d.ts +8 -8
- package/dist/nuevaEps/connections/client.d.ts +3 -2
- package/dist/nuevaEps/connections/index.d.ts +1 -1
- package/dist/nuevaEps/connections/models.d.ts +25 -37
- package/dist/nuevaEps/index.d.ts +1 -1
- package/dist/nuevaEps/models.d.ts +2 -101
- package/dist/orsovision/agencies/models.d.ts +8 -8
- package/dist/orsovision/appointments/client.d.ts +3 -3
- package/dist/orsovision/appointments/index.d.ts +1 -1
- package/dist/orsovision/appointments/models.d.ts +8 -32
- package/dist/orsovision/availability/index.d.ts +1 -1
- package/dist/orsovision/availability/models.d.ts +9 -20
- package/dist/orsovision/clinic/index.d.ts +1 -1
- package/dist/orsovision/clinic/models.d.ts +9 -8
- package/dist/orsovision/contracts/index.d.ts +1 -1
- package/dist/orsovision/contracts/models.d.ts +6 -30
- package/dist/orsovision/index.d.ts +1 -1
- package/dist/orsovision/models.d.ts +1 -162
- package/dist/orsovision/patients/client.d.ts +4 -4
- package/dist/orsovision/patients/index.d.ts +1 -1
- package/dist/orsovision/patients/models.d.ts +17 -27
- package/dist/orsovision/services/index.d.ts +1 -1
- package/dist/orsovision/services/models.d.ts +6 -30
- package/dist/orsovision/tools/index.d.ts +1 -1
- package/dist/orsovision/tools/models.d.ts +9 -8
- package/dist/raiz/agents/client.d.ts +5 -6
- package/dist/raiz/bulletins/client.d.ts +7 -6
- package/dist/raiz/campaigns/client.d.ts +5 -6
- package/dist/raiz/changes/client.d.ts +2 -2
- package/dist/raiz/channels/client.d.ts +9 -9
- package/dist/raiz/contacts/client.d.ts +7 -8
- package/dist/raiz/contacts/client.js +1 -1
- package/dist/raiz/conversations/client.d.ts +8 -8
- package/dist/raiz/definitions/client.d.ts +5 -5
- package/dist/raiz/evalCases/client.d.ts +4 -4
- package/dist/raiz/evalRuns/client.d.ts +3 -4
- package/dist/raiz/facts/client.d.ts +3 -4
- package/dist/raiz/facts/client.js +1 -1
- package/dist/raiz/index.d.ts +1 -1
- package/dist/raiz/knowledge/client.d.ts +6 -7
- package/dist/raiz/models.d.ts +8 -2
- package/dist/raiz/organization/client.d.ts +4 -5
- package/dist/raiz/profiles/client.d.ts +5 -6
- package/dist/raiz/reports/client.d.ts +2 -2
- package/dist/raiz/suppressions/client.d.ts +3 -4
- package/dist/raiz/tasks/client.d.ts +5 -6
- package/dist/raiz/tasks/client.js +1 -1
- package/dist/raiz/templates/client.d.ts +3 -4
- package/dist/raiz/voices/client.d.ts +2 -2
- package/dist/somos/appointments/client.d.ts +3 -3
- package/dist/somos/appointments/index.d.ts +1 -1
- package/dist/somos/appointments/models.d.ts +14 -12
- package/dist/somos/availability/index.d.ts +1 -1
- package/dist/somos/availability/models.d.ts +9 -20
- package/dist/somos/clinic/index.d.ts +1 -1
- package/dist/somos/clinic/models.d.ts +9 -8
- package/dist/somos/contracts/index.d.ts +1 -1
- package/dist/somos/contracts/models.d.ts +9 -20
- package/dist/somos/groups/models.d.ts +9 -9
- package/dist/somos/index.d.ts +1 -1
- package/dist/somos/models.d.ts +12 -151
- package/dist/somos/patients/client.d.ts +4 -4
- package/dist/somos/patients/index.d.ts +1 -1
- package/dist/somos/patients/models.d.ts +20 -17
- package/dist/somos/services/index.d.ts +1 -1
- package/dist/somos/services/models.d.ts +15 -26
- package/dist/somos/specialtyRules/client.d.ts +2 -2
- package/dist/somos/specialtyRules/models.d.ts +7 -7
- package/dist/somos/tools/index.d.ts +1 -1
- package/dist/somos/tools/models.d.ts +9 -8
- package/dist/sura/affiliations/client.d.ts +2 -3
- package/dist/sura/appointments/client.d.ts +5 -6
- package/dist/sura/authorizations/client.d.ts +2 -3
- package/dist/sura/availability/client.d.ts +2 -3
- package/dist/sura/connections/client.d.ts +6 -5
- package/dist/sura/copays/client.d.ts +2 -3
- package/dist/sura/index.d.ts +1 -1
- package/dist/sura/models.d.ts +8 -2
- package/dist/sura/operations/client.d.ts +2 -3
- package/dist/sura/patients/client.d.ts +2 -3
- package/dist/sura/professionals/client.d.ts +2 -3
- package/dist/sura/services/client.d.ts +2 -3
- package/dist/visoft/appointments/index.d.ts +1 -1
- package/dist/visoft/appointments/models.d.ts +8 -32
- package/dist/visoft/availability/models.d.ts +6 -6
- package/dist/visoft/clinic/models.d.ts +3 -2
- package/dist/visoft/clinics/models.d.ts +3 -3
- package/dist/visoft/connections/client.d.ts +3 -2
- package/dist/visoft/connections/index.d.ts +1 -1
- package/dist/visoft/connections/models.d.ts +4 -17
- package/dist/visoft/contracts/index.d.ts +1 -1
- package/dist/visoft/contracts/models.d.ts +4 -16
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +3 -162
- package/dist/visoft/patients/index.d.ts +1 -1
- package/dist/visoft/patients/models.d.ts +10 -38
- package/dist/visoft/professionals/models.d.ts +5 -5
- package/dist/visoft/serviceCatalogs/models.d.ts +6 -6
- package/dist/visoft/services/index.d.ts +1 -1
- package/dist/visoft/services/models.d.ts +5 -17
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicAgendaServicesPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -38,6 +38,6 @@ export interface ListRequest {
|
|
|
38
38
|
export interface ListResponse {
|
|
39
39
|
data: GmedicAgendaServicesPage;
|
|
40
40
|
error: null;
|
|
41
|
-
metadata:
|
|
41
|
+
metadata: GmedicResponseMetadata;
|
|
42
42
|
success: true;
|
|
43
43
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicAgendasPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -44,6 +44,6 @@ export interface ListRequest {
|
|
|
44
44
|
export interface ListResponse {
|
|
45
45
|
data: GmedicAgendasPage;
|
|
46
46
|
error: null;
|
|
47
|
-
metadata:
|
|
47
|
+
metadata: GmedicResponseMetadata;
|
|
48
48
|
success: true;
|
|
49
49
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import { type GmedicAppointmentsPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -158,7 +158,7 @@ export interface CreateResponse {
|
|
|
158
158
|
videocallProvider?: string | null;
|
|
159
159
|
};
|
|
160
160
|
error: null;
|
|
161
|
-
metadata:
|
|
161
|
+
metadata: GmedicResponseMetadata;
|
|
162
162
|
success: true;
|
|
163
163
|
}
|
|
164
164
|
export interface ListRequest {
|
|
@@ -185,7 +185,7 @@ export interface ListRequest {
|
|
|
185
185
|
export interface ListResponse {
|
|
186
186
|
data: GmedicAppointmentsPage;
|
|
187
187
|
error: null;
|
|
188
|
-
metadata:
|
|
188
|
+
metadata: GmedicResponseMetadata;
|
|
189
189
|
success: true;
|
|
190
190
|
}
|
|
191
191
|
export interface UpdateRequest {
|
|
@@ -288,6 +288,6 @@ export interface UpdateResponse {
|
|
|
288
288
|
videocallProvider?: string | null;
|
|
289
289
|
};
|
|
290
290
|
error: null;
|
|
291
|
-
metadata:
|
|
291
|
+
metadata: GmedicResponseMetadata;
|
|
292
292
|
success: true;
|
|
293
293
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicAvailabilityPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -42,6 +42,6 @@ export interface ListRequest {
|
|
|
42
42
|
export interface ListResponse {
|
|
43
43
|
data: GmedicAvailabilityPage;
|
|
44
44
|
error: null;
|
|
45
|
-
metadata:
|
|
45
|
+
metadata: GmedicResponseMetadata;
|
|
46
46
|
success: true;
|
|
47
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicAvailableDaysPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -39,6 +39,6 @@ export interface ListRequest {
|
|
|
39
39
|
export interface ListResponse {
|
|
40
40
|
data: GmedicAvailableDaysPage;
|
|
41
41
|
error: null;
|
|
42
|
-
metadata:
|
|
42
|
+
metadata: GmedicResponseMetadata;
|
|
43
43
|
success: true;
|
|
44
44
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicBranchOfficesPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -38,6 +38,6 @@ export interface ListRequest {
|
|
|
38
38
|
export interface ListResponse {
|
|
39
39
|
data: GmedicBranchOfficesPage;
|
|
40
40
|
error: null;
|
|
41
|
-
metadata:
|
|
41
|
+
metadata: GmedicResponseMetadata;
|
|
42
42
|
success: true;
|
|
43
43
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import { type Connection, type ConnectionPage, type DeletedObject
|
|
2
|
+
import { type Connection, type ConnectionPage, type DeletedObject } from "../../models.js";
|
|
3
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
4
5
|
/**
|
|
5
6
|
* The URL the paths of the API are relative to.
|
|
@@ -48,7 +49,7 @@ export interface DeleteRequest {
|
|
|
48
49
|
export interface DeleteResponse {
|
|
49
50
|
data: DeletedObject;
|
|
50
51
|
error: null;
|
|
51
|
-
metadata:
|
|
52
|
+
metadata: GmedicResponseMetadata;
|
|
52
53
|
success: true;
|
|
53
54
|
}
|
|
54
55
|
export interface GetRequest {
|
|
@@ -57,7 +58,7 @@ export interface GetRequest {
|
|
|
57
58
|
export interface GetResponse {
|
|
58
59
|
data: Connection;
|
|
59
60
|
error: null;
|
|
60
|
-
metadata:
|
|
61
|
+
metadata: GmedicResponseMetadata;
|
|
61
62
|
success: true;
|
|
62
63
|
}
|
|
63
64
|
export interface ListRequest {
|
|
@@ -78,7 +79,7 @@ export interface ListRequest {
|
|
|
78
79
|
export interface ListResponse {
|
|
79
80
|
data: ConnectionPage;
|
|
80
81
|
error: null;
|
|
81
|
-
metadata:
|
|
82
|
+
metadata: GmedicResponseMetadata;
|
|
82
83
|
success: true;
|
|
83
84
|
}
|
|
84
85
|
export interface VerifyRequest {
|
|
@@ -96,6 +97,6 @@ export interface VerifyResponse {
|
|
|
96
97
|
status: "rejected";
|
|
97
98
|
};
|
|
98
99
|
error: null;
|
|
99
|
-
metadata:
|
|
100
|
+
metadata: GmedicResponseMetadata;
|
|
100
101
|
success: true;
|
|
101
102
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicDictionaryEntrysPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -40,6 +40,6 @@ export interface ListRequest {
|
|
|
40
40
|
export interface ListResponse {
|
|
41
41
|
data: GmedicDictionaryEntrysPage;
|
|
42
42
|
error: null;
|
|
43
|
-
metadata:
|
|
43
|
+
metadata: GmedicResponseMetadata;
|
|
44
44
|
success: true;
|
|
45
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicHealthPartnersPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -40,6 +40,6 @@ export interface ListRequest {
|
|
|
40
40
|
export interface ListResponse {
|
|
41
41
|
data: GmedicHealthPartnersPage;
|
|
42
42
|
error: null;
|
|
43
|
-
metadata:
|
|
43
|
+
metadata: GmedicResponseMetadata;
|
|
44
44
|
success: true;
|
|
45
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicHealthPromotionEntitysPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -40,6 +40,6 @@ export interface ListRequest {
|
|
|
40
40
|
export interface ListResponse {
|
|
41
41
|
data: GmedicHealthPromotionEntitysPage;
|
|
42
42
|
error: null;
|
|
43
|
-
metadata:
|
|
43
|
+
metadata: GmedicResponseMetadata;
|
|
44
44
|
success: true;
|
|
45
45
|
}
|
package/dist/gmedic/index.d.ts
CHANGED
|
@@ -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 { GmedicFailureResponse } from "./models.js";
|
|
5
|
+
export type { GmedicFailureResponse, GmedicResponseMetadata, } from "./models.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicLaboralRiskManagersPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -40,6 +40,6 @@ export interface ListRequest {
|
|
|
40
40
|
export interface ListResponse {
|
|
41
41
|
data: GmedicLaboralRiskManagersPage;
|
|
42
42
|
error: null;
|
|
43
|
-
metadata:
|
|
43
|
+
metadata: GmedicResponseMetadata;
|
|
44
44
|
success: true;
|
|
45
45
|
}
|
package/dist/gmedic/models.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Failure,
|
|
1
|
+
import type { Failure, ValidationIssue } from "../models.js";
|
|
2
2
|
export interface GmedicFailureResponse {
|
|
3
3
|
data: null;
|
|
4
4
|
error: Failure & ({
|
|
@@ -128,6 +128,12 @@ export interface GmedicFailureResponse {
|
|
|
128
128
|
message: "gMedic rejected the supplied fields.";
|
|
129
129
|
retryable: false;
|
|
130
130
|
});
|
|
131
|
-
metadata:
|
|
131
|
+
metadata: GmedicResponseMetadata;
|
|
132
132
|
success: false;
|
|
133
133
|
}
|
|
134
|
+
export interface GmedicResponseMetadata {
|
|
135
|
+
/**
|
|
136
|
+
* Request correlation identifier, also sent as X-Request-Id.
|
|
137
|
+
*/
|
|
138
|
+
requestId: string;
|
|
139
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicOccupationsPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -40,6 +40,6 @@ export interface ListRequest {
|
|
|
40
40
|
export interface ListResponse {
|
|
41
41
|
data: GmedicOccupationsPage;
|
|
42
42
|
error: null;
|
|
43
|
-
metadata:
|
|
43
|
+
metadata: GmedicResponseMetadata;
|
|
44
44
|
success: true;
|
|
45
45
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicPatientNotesPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -52,7 +52,7 @@ export interface CreateResponse {
|
|
|
52
52
|
user?: string | null;
|
|
53
53
|
};
|
|
54
54
|
error: null;
|
|
55
|
-
metadata:
|
|
55
|
+
metadata: GmedicResponseMetadata;
|
|
56
56
|
success: true;
|
|
57
57
|
}
|
|
58
58
|
export interface ListRequest {
|
|
@@ -76,7 +76,7 @@ export interface ListRequest {
|
|
|
76
76
|
export interface ListResponse {
|
|
77
77
|
data: GmedicPatientNotesPage;
|
|
78
78
|
error: null;
|
|
79
|
-
metadata:
|
|
79
|
+
metadata: GmedicResponseMetadata;
|
|
80
80
|
success: true;
|
|
81
81
|
}
|
|
82
82
|
export interface UpdateRequest {
|
|
@@ -99,6 +99,6 @@ export interface UpdateResponse {
|
|
|
99
99
|
user?: string | null;
|
|
100
100
|
};
|
|
101
101
|
error: null;
|
|
102
|
-
metadata:
|
|
102
|
+
metadata: GmedicResponseMetadata;
|
|
103
103
|
success: true;
|
|
104
104
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicPatientsPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -203,7 +203,7 @@ export interface CreateResponse {
|
|
|
203
203
|
} | null;
|
|
204
204
|
};
|
|
205
205
|
error: null;
|
|
206
|
-
metadata:
|
|
206
|
+
metadata: GmedicResponseMetadata;
|
|
207
207
|
success: true;
|
|
208
208
|
}
|
|
209
209
|
export interface ListRequest {
|
|
@@ -228,7 +228,7 @@ export interface ListRequest {
|
|
|
228
228
|
export interface ListResponse {
|
|
229
229
|
data: GmedicPatientsPage;
|
|
230
230
|
error: null;
|
|
231
|
-
metadata:
|
|
231
|
+
metadata: GmedicResponseMetadata;
|
|
232
232
|
success: true;
|
|
233
233
|
}
|
|
234
234
|
export interface UpdateRequest {
|
|
@@ -403,6 +403,6 @@ export interface UpdateResponse {
|
|
|
403
403
|
} | null;
|
|
404
404
|
};
|
|
405
405
|
error: null;
|
|
406
|
-
metadata:
|
|
406
|
+
metadata: GmedicResponseMetadata;
|
|
407
407
|
success: true;
|
|
408
408
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicAgentServicesText, GmedicServicesPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -73,6 +73,6 @@ export interface ListRequest {
|
|
|
73
73
|
export interface ListResponse {
|
|
74
74
|
data: GmedicServicesPage | GmedicAgentServicesText;
|
|
75
75
|
error: null;
|
|
76
|
-
metadata:
|
|
76
|
+
metadata: GmedicResponseMetadata;
|
|
77
77
|
success: true;
|
|
78
78
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { GmedicResponseMetadata } from "../models.js";
|
|
3
3
|
import type { GmedicSessionPackagesPage } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -71,7 +71,7 @@ export interface CreateResponse {
|
|
|
71
71
|
patientLastName?: string | null;
|
|
72
72
|
};
|
|
73
73
|
error: null;
|
|
74
|
-
metadata:
|
|
74
|
+
metadata: GmedicResponseMetadata;
|
|
75
75
|
success: true;
|
|
76
76
|
}
|
|
77
77
|
export interface ListRequest {
|
|
@@ -96,6 +96,6 @@ export interface ListRequest {
|
|
|
96
96
|
export interface ListResponse {
|
|
97
97
|
data: GmedicSessionPackagesPage;
|
|
98
98
|
error: null;
|
|
99
|
-
metadata:
|
|
99
|
+
metadata: GmedicResponseMetadata;
|
|
100
100
|
success: true;
|
|
101
101
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -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 { AvailabilityBookingInput, CancelAppointmentBadGatewayFailure, Connection, ConnectionNotConfiguredFailure, ConnectionNotFoundFailure, ConnectionPage,
|
|
5
|
+
export type { AvailabilityBookingInput, CancelAppointmentBadGatewayError, CancelAppointmentBadGatewayFailure, Connection, ConnectionNotConfiguredFailure, ConnectionNotFoundFailure, ConnectionPage, CreateAppointmentBadGatewayError, CreateAppointmentBadGatewayFailure, CredentialsRejectedError, CredentialsRejectedFailure, DeletedObject, DeletedObjectResponse, Empty, Failure, ForbiddenError, ForbiddenFailure, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, ListAvailabilityUnprocessableContentError, ListAvailabilityUnprocessableContentFailure, ListContractsBadGatewayError, ListContractsBadGatewayFailure, ListContractsUnprocessableContentError, ListContractsUnprocessableContentFailure, ListServicesBadGatewayError, ListServicesBadGatewayFailure, ListServicesUnprocessableContentError, ListServicesUnprocessableContentFailure, LookupPatientBadGatewayError, LookupPatientBadGatewayFailure, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, ProviderUnavailableFailure, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata, ToolRefusedFailure, ToolRefusedFailureData, ToolResult, ToolResultResponse, UnauthorizedError, UnauthorizedFailure, UnsupportedMediaTypeError, UnsupportedMediaTypeFailure, UpstreamTimeoutError, UpstreamTimeoutFailure, UpstreamUnavailableError, UpstreamUnavailableFailure, ValidationIssue, } from "./models.js";
|