@arbol-ai/sdk 3.0.0 → 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/agents/client.js +3 -4
- package/dist/raiz/agents/models.d.ts +1 -0
- package/dist/raiz/bulletins/client.d.ts +11 -7
- package/dist/raiz/bulletins/client.js +5 -6
- package/dist/raiz/campaigns/client.d.ts +11 -11
- package/dist/raiz/campaigns/client.js +4 -4
- package/dist/raiz/changes/client.d.ts +2 -2
- package/dist/raiz/channels/client.d.ts +28 -14
- package/dist/raiz/channels/client.js +9 -9
- package/dist/raiz/contacts/client.d.ts +7 -8
- package/dist/raiz/contacts/client.js +5 -5
- package/dist/raiz/conversations/client.d.ts +15 -12
- package/dist/raiz/conversations/client.js +6 -6
- package/dist/raiz/definitions/client.d.ts +9 -9
- package/dist/raiz/definitions/client.js +3 -4
- package/dist/raiz/evalCases/client.d.ts +17 -16
- package/dist/raiz/evalCases/client.js +2 -2
- package/dist/raiz/evalRuns/client.d.ts +10 -8
- package/dist/raiz/evalRuns/client.js +2 -3
- package/dist/raiz/evalRuns/models.d.ts +7 -1
- package/dist/raiz/facts/client.d.ts +3 -4
- package/dist/raiz/facts/client.js +3 -3
- package/dist/raiz/index.d.ts +1 -1
- package/dist/raiz/knowledge/client.d.ts +23 -18
- package/dist/raiz/knowledge/client.js +4 -4
- package/dist/raiz/models.d.ts +8 -44
- package/dist/raiz/organization/client.d.ts +6 -11
- package/dist/raiz/organization/client.js +2 -3
- package/dist/raiz/organization/models.d.ts +0 -10
- package/dist/raiz/profiles/client.d.ts +9 -10
- package/dist/raiz/profiles/client.js +3 -4
- package/dist/raiz/reports/client.d.ts +2 -2
- package/dist/raiz/suppressions/client.d.ts +3 -4
- package/dist/raiz/suppressions/client.js +1 -1
- package/dist/raiz/tasks/client.d.ts +11 -6
- package/dist/raiz/tasks/client.js +6 -7
- package/dist/raiz/templates/client.d.ts +5 -5
- package/dist/raiz/templates/client.js +1 -1
- 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
|
-
import { type Connection, type ConnectionPage, type
|
|
2
|
-
import type { NuevaEpsLoginCooldownFailure, NuevaEpsLoginRejectedFailure, NuevaEpsNotConfiguredFailure, NuevaEpsPortalChangedFailure, NuevaEpsPortalUnavailableFailure, NuevaEpsRegionBlockedFailure,
|
|
1
|
+
import { type Connection, type ConnectionPage, type ForbiddenFailure, type OutcomeUnknownFailure, type RateLimitedFailure, type ResponseMetadata, type UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { NuevaEpsLoginCooldownFailure, NuevaEpsLoginRejectedFailure, NuevaEpsNotConfiguredFailure, NuevaEpsPortalChangedFailure, NuevaEpsPortalUnavailableFailure, NuevaEpsRegionBlockedFailure, NuevaEpsSessionBusyFailure, NuevaEpsSessionRequiredFailure } from "../models.js";
|
|
3
3
|
/**
|
|
4
4
|
* A successful answer.
|
|
5
5
|
*/
|
|
@@ -9,7 +9,7 @@ export interface NuevaEpsConnectionPageResponse {
|
|
|
9
9
|
/**
|
|
10
10
|
* What every answer carries besides its data or error.
|
|
11
11
|
*/
|
|
12
|
-
metadata:
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
13
|
success: true;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
@@ -21,7 +21,7 @@ export interface NuevaEpsConnectionResponse {
|
|
|
21
21
|
/**
|
|
22
22
|
* What every answer carries besides its data or error.
|
|
23
23
|
*/
|
|
24
|
-
metadata:
|
|
24
|
+
metadata: ResponseMetadata;
|
|
25
25
|
success: true;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -33,7 +33,7 @@ export interface NuevaEpsDeleteConnectionBadGatewayError {
|
|
|
33
33
|
/**
|
|
34
34
|
* What every answer carries besides its data or error.
|
|
35
35
|
*/
|
|
36
|
-
metadata:
|
|
36
|
+
metadata: ResponseMetadata;
|
|
37
37
|
success: false;
|
|
38
38
|
}
|
|
39
39
|
export type NuevaEpsDeleteConnectionBadGatewayFailure = OutcomeUnknownFailure | NuevaEpsPortalChangedFailure;
|
|
@@ -46,7 +46,7 @@ export interface NuevaEpsDeleteConnectionConflictError {
|
|
|
46
46
|
/**
|
|
47
47
|
* What every answer carries besides its data or error.
|
|
48
48
|
*/
|
|
49
|
-
metadata:
|
|
49
|
+
metadata: ResponseMetadata;
|
|
50
50
|
success: false;
|
|
51
51
|
}
|
|
52
52
|
export type NuevaEpsDeleteConnectionConflictFailure = NuevaEpsNotConfiguredFailure | NuevaEpsSessionRequiredFailure | NuevaEpsSessionBusyFailure;
|
|
@@ -59,7 +59,7 @@ export interface NuevaEpsDeleteConnectionForbiddenError {
|
|
|
59
59
|
/**
|
|
60
60
|
* What every answer carries besides its data or error.
|
|
61
61
|
*/
|
|
62
|
-
metadata:
|
|
62
|
+
metadata: ResponseMetadata;
|
|
63
63
|
success: false;
|
|
64
64
|
}
|
|
65
65
|
export type NuevaEpsDeleteConnectionForbiddenFailure = ForbiddenFailure | NuevaEpsLoginRejectedFailure;
|
|
@@ -72,7 +72,7 @@ export interface NuevaEpsDeleteConnectionServiceUnavailableError {
|
|
|
72
72
|
/**
|
|
73
73
|
* What every answer carries besides its data or error.
|
|
74
74
|
*/
|
|
75
|
-
metadata:
|
|
75
|
+
metadata: ResponseMetadata;
|
|
76
76
|
success: false;
|
|
77
77
|
}
|
|
78
78
|
export type NuevaEpsDeleteConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | NuevaEpsPortalUnavailableFailure | NuevaEpsRegionBlockedFailure;
|
|
@@ -85,22 +85,10 @@ export interface NuevaEpsDeleteConnectionTooManyRequestsError {
|
|
|
85
85
|
/**
|
|
86
86
|
* What every answer carries besides its data or error.
|
|
87
87
|
*/
|
|
88
|
-
metadata:
|
|
88
|
+
metadata: ResponseMetadata;
|
|
89
89
|
success: false;
|
|
90
90
|
}
|
|
91
91
|
export type NuevaEpsDeleteConnectionTooManyRequestsFailure = RateLimitedFailure | NuevaEpsLoginCooldownFailure;
|
|
92
|
-
/**
|
|
93
|
-
* A successful answer.
|
|
94
|
-
*/
|
|
95
|
-
export interface NuevaEpsDeletedObjectResponse {
|
|
96
|
-
data: DeletedObject;
|
|
97
|
-
error: null;
|
|
98
|
-
/**
|
|
99
|
-
* What every answer carries besides its data or error.
|
|
100
|
-
*/
|
|
101
|
-
metadata: NuevaEpsResponseMetadata;
|
|
102
|
-
success: true;
|
|
103
|
-
}
|
|
104
92
|
/**
|
|
105
93
|
* A failed answer.
|
|
106
94
|
*/
|
|
@@ -110,7 +98,7 @@ export interface NuevaEpsGetConnectionBadGatewayError {
|
|
|
110
98
|
/**
|
|
111
99
|
* What every answer carries besides its data or error.
|
|
112
100
|
*/
|
|
113
|
-
metadata:
|
|
101
|
+
metadata: ResponseMetadata;
|
|
114
102
|
success: false;
|
|
115
103
|
}
|
|
116
104
|
export type NuevaEpsGetConnectionBadGatewayFailure = OutcomeUnknownFailure | NuevaEpsPortalChangedFailure;
|
|
@@ -123,7 +111,7 @@ export interface NuevaEpsGetConnectionConflictError {
|
|
|
123
111
|
/**
|
|
124
112
|
* What every answer carries besides its data or error.
|
|
125
113
|
*/
|
|
126
|
-
metadata:
|
|
114
|
+
metadata: ResponseMetadata;
|
|
127
115
|
success: false;
|
|
128
116
|
}
|
|
129
117
|
export type NuevaEpsGetConnectionConflictFailure = NuevaEpsNotConfiguredFailure | NuevaEpsSessionRequiredFailure | NuevaEpsSessionBusyFailure;
|
|
@@ -136,7 +124,7 @@ export interface NuevaEpsGetConnectionForbiddenError {
|
|
|
136
124
|
/**
|
|
137
125
|
* What every answer carries besides its data or error.
|
|
138
126
|
*/
|
|
139
|
-
metadata:
|
|
127
|
+
metadata: ResponseMetadata;
|
|
140
128
|
success: false;
|
|
141
129
|
}
|
|
142
130
|
export type NuevaEpsGetConnectionForbiddenFailure = ForbiddenFailure | NuevaEpsLoginRejectedFailure;
|
|
@@ -149,7 +137,7 @@ export interface NuevaEpsGetConnectionServiceUnavailableError {
|
|
|
149
137
|
/**
|
|
150
138
|
* What every answer carries besides its data or error.
|
|
151
139
|
*/
|
|
152
|
-
metadata:
|
|
140
|
+
metadata: ResponseMetadata;
|
|
153
141
|
success: false;
|
|
154
142
|
}
|
|
155
143
|
export type NuevaEpsGetConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | NuevaEpsPortalUnavailableFailure | NuevaEpsRegionBlockedFailure;
|
|
@@ -162,7 +150,7 @@ export interface NuevaEpsGetConnectionTooManyRequestsError {
|
|
|
162
150
|
/**
|
|
163
151
|
* What every answer carries besides its data or error.
|
|
164
152
|
*/
|
|
165
|
-
metadata:
|
|
153
|
+
metadata: ResponseMetadata;
|
|
166
154
|
success: false;
|
|
167
155
|
}
|
|
168
156
|
export type NuevaEpsGetConnectionTooManyRequestsFailure = RateLimitedFailure | NuevaEpsLoginCooldownFailure;
|
|
@@ -175,7 +163,7 @@ export interface NuevaEpsListConnectionsBadGatewayError {
|
|
|
175
163
|
/**
|
|
176
164
|
* What every answer carries besides its data or error.
|
|
177
165
|
*/
|
|
178
|
-
metadata:
|
|
166
|
+
metadata: ResponseMetadata;
|
|
179
167
|
success: false;
|
|
180
168
|
}
|
|
181
169
|
export type NuevaEpsListConnectionsBadGatewayFailure = OutcomeUnknownFailure | NuevaEpsPortalChangedFailure;
|
|
@@ -188,7 +176,7 @@ export interface NuevaEpsListConnectionsConflictError {
|
|
|
188
176
|
/**
|
|
189
177
|
* What every answer carries besides its data or error.
|
|
190
178
|
*/
|
|
191
|
-
metadata:
|
|
179
|
+
metadata: ResponseMetadata;
|
|
192
180
|
success: false;
|
|
193
181
|
}
|
|
194
182
|
export type NuevaEpsListConnectionsConflictFailure = NuevaEpsNotConfiguredFailure | NuevaEpsSessionRequiredFailure | NuevaEpsSessionBusyFailure;
|
|
@@ -201,7 +189,7 @@ export interface NuevaEpsListConnectionsForbiddenError {
|
|
|
201
189
|
/**
|
|
202
190
|
* What every answer carries besides its data or error.
|
|
203
191
|
*/
|
|
204
|
-
metadata:
|
|
192
|
+
metadata: ResponseMetadata;
|
|
205
193
|
success: false;
|
|
206
194
|
}
|
|
207
195
|
export type NuevaEpsListConnectionsForbiddenFailure = ForbiddenFailure | NuevaEpsLoginRejectedFailure;
|
|
@@ -214,7 +202,7 @@ export interface NuevaEpsListConnectionsServiceUnavailableError {
|
|
|
214
202
|
/**
|
|
215
203
|
* What every answer carries besides its data or error.
|
|
216
204
|
*/
|
|
217
|
-
metadata:
|
|
205
|
+
metadata: ResponseMetadata;
|
|
218
206
|
success: false;
|
|
219
207
|
}
|
|
220
208
|
export type NuevaEpsListConnectionsServiceUnavailableFailure = UpstreamUnavailableFailure | NuevaEpsPortalUnavailableFailure | NuevaEpsRegionBlockedFailure;
|
|
@@ -227,7 +215,7 @@ export interface NuevaEpsListConnectionsTooManyRequestsError {
|
|
|
227
215
|
/**
|
|
228
216
|
* What every answer carries besides its data or error.
|
|
229
217
|
*/
|
|
230
|
-
metadata:
|
|
218
|
+
metadata: ResponseMetadata;
|
|
231
219
|
success: false;
|
|
232
220
|
}
|
|
233
221
|
export type NuevaEpsListConnectionsTooManyRequestsFailure = RateLimitedFailure | NuevaEpsLoginCooldownFailure;
|
|
@@ -240,7 +228,7 @@ export interface NuevaEpsVerifyConnectionBadGatewayError {
|
|
|
240
228
|
/**
|
|
241
229
|
* What every answer carries besides its data or error.
|
|
242
230
|
*/
|
|
243
|
-
metadata:
|
|
231
|
+
metadata: ResponseMetadata;
|
|
244
232
|
success: false;
|
|
245
233
|
}
|
|
246
234
|
export type NuevaEpsVerifyConnectionBadGatewayFailure = OutcomeUnknownFailure | NuevaEpsPortalChangedFailure;
|
|
@@ -267,7 +255,7 @@ export interface NuevaEpsVerifyConnectionConflictError {
|
|
|
267
255
|
/**
|
|
268
256
|
* What every answer carries besides its data or error.
|
|
269
257
|
*/
|
|
270
|
-
metadata:
|
|
258
|
+
metadata: ResponseMetadata;
|
|
271
259
|
success: false;
|
|
272
260
|
}
|
|
273
261
|
export type NuevaEpsVerifyConnectionConflictFailure = NuevaEpsNotConfiguredFailure | NuevaEpsSessionRequiredFailure | NuevaEpsSessionBusyFailure;
|
|
@@ -280,7 +268,7 @@ export interface NuevaEpsVerifyConnectionForbiddenError {
|
|
|
280
268
|
/**
|
|
281
269
|
* What every answer carries besides its data or error.
|
|
282
270
|
*/
|
|
283
|
-
metadata:
|
|
271
|
+
metadata: ResponseMetadata;
|
|
284
272
|
success: false;
|
|
285
273
|
}
|
|
286
274
|
export type NuevaEpsVerifyConnectionForbiddenFailure = ForbiddenFailure | NuevaEpsLoginRejectedFailure;
|
|
@@ -301,7 +289,7 @@ export interface NuevaEpsVerifyConnectionResultResponse {
|
|
|
301
289
|
/**
|
|
302
290
|
* What every answer carries besides its data or error.
|
|
303
291
|
*/
|
|
304
|
-
metadata:
|
|
292
|
+
metadata: ResponseMetadata;
|
|
305
293
|
success: true;
|
|
306
294
|
}
|
|
307
295
|
/**
|
|
@@ -313,7 +301,7 @@ export interface NuevaEpsVerifyConnectionServiceUnavailableError {
|
|
|
313
301
|
/**
|
|
314
302
|
* What every answer carries besides its data or error.
|
|
315
303
|
*/
|
|
316
|
-
metadata:
|
|
304
|
+
metadata: ResponseMetadata;
|
|
317
305
|
success: false;
|
|
318
306
|
}
|
|
319
307
|
export type NuevaEpsVerifyConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | NuevaEpsPortalUnavailableFailure | NuevaEpsRegionBlockedFailure;
|
|
@@ -326,7 +314,7 @@ export interface NuevaEpsVerifyConnectionTooManyRequestsError {
|
|
|
326
314
|
/**
|
|
327
315
|
* What every answer carries besides its data or error.
|
|
328
316
|
*/
|
|
329
|
-
metadata:
|
|
317
|
+
metadata: ResponseMetadata;
|
|
330
318
|
success: false;
|
|
331
319
|
}
|
|
332
320
|
export type NuevaEpsVerifyConnectionTooManyRequestsFailure = RateLimitedFailure | NuevaEpsLoginCooldownFailure;
|
package/dist/nuevaEps/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 { NuevaEpsAuthorizationsUnavailableError, NuevaEpsAuthorizationsUnavailableFailure,
|
|
5
|
+
export type { NuevaEpsAuthorizationsUnavailableError, NuevaEpsAuthorizationsUnavailableFailure, NuevaEpsLoginCooldownFailure, NuevaEpsLoginRejectedFailure, NuevaEpsNotConfiguredFailure, NuevaEpsPortalChangedFailure, NuevaEpsPortalUnavailableFailure, NuevaEpsRegionBlockedFailure, NuevaEpsSessionBusyFailure, NuevaEpsSessionRequiredFailure, } from "./models.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Empty,
|
|
1
|
+
import type { Empty, ResponseMetadata } from "../models.js";
|
|
2
2
|
/**
|
|
3
3
|
* A failed answer.
|
|
4
4
|
*/
|
|
@@ -12,7 +12,7 @@ export interface NuevaEpsAuthorizationsUnavailableError {
|
|
|
12
12
|
/**
|
|
13
13
|
* What every answer carries besides its data or error.
|
|
14
14
|
*/
|
|
15
|
-
metadata:
|
|
15
|
+
metadata: ResponseMetadata;
|
|
16
16
|
success: false;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
@@ -37,36 +37,6 @@ export interface NuevaEpsAuthorizationsUnavailableFailure {
|
|
|
37
37
|
*/
|
|
38
38
|
retryable: false;
|
|
39
39
|
}
|
|
40
|
-
/**
|
|
41
|
-
* A failed answer.
|
|
42
|
-
*/
|
|
43
|
-
export interface NuevaEpsInternalError {
|
|
44
|
-
data: null;
|
|
45
|
-
/**
|
|
46
|
-
* The service could not complete the operation.
|
|
47
|
-
*/
|
|
48
|
-
error: InternalFailure;
|
|
49
|
-
/**
|
|
50
|
-
* What every answer carries besides its data or error.
|
|
51
|
-
*/
|
|
52
|
-
metadata: NuevaEpsResponseMetadata;
|
|
53
|
-
success: false;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* A failed answer.
|
|
57
|
-
*/
|
|
58
|
-
export interface NuevaEpsInvalidInputError {
|
|
59
|
-
data: null;
|
|
60
|
-
/**
|
|
61
|
-
* The request does not match the published schema.
|
|
62
|
-
*/
|
|
63
|
-
error: InvalidInputFailure;
|
|
64
|
-
/**
|
|
65
|
-
* What every answer carries besides its data or error.
|
|
66
|
-
*/
|
|
67
|
-
metadata: NuevaEpsResponseMetadata;
|
|
68
|
-
success: false;
|
|
69
|
-
}
|
|
70
40
|
/**
|
|
71
41
|
* Login attempts are temporarily paused after a submitted or uncertain attempt.
|
|
72
42
|
*/
|
|
@@ -193,30 +163,6 @@ export interface NuevaEpsRegionBlockedFailure {
|
|
|
193
163
|
*/
|
|
194
164
|
retryable: false;
|
|
195
165
|
}
|
|
196
|
-
/**
|
|
197
|
-
* A failed answer.
|
|
198
|
-
*/
|
|
199
|
-
export interface NuevaEpsRequestTooLargeError {
|
|
200
|
-
data: null;
|
|
201
|
-
/**
|
|
202
|
-
* The request exceeds the allowed size.
|
|
203
|
-
*/
|
|
204
|
-
error: RequestTooLargeFailure;
|
|
205
|
-
/**
|
|
206
|
-
* What every answer carries besides its data or error.
|
|
207
|
-
*/
|
|
208
|
-
metadata: NuevaEpsResponseMetadata;
|
|
209
|
-
success: false;
|
|
210
|
-
}
|
|
211
|
-
/**
|
|
212
|
-
* What every answer carries besides its data or error.
|
|
213
|
-
*/
|
|
214
|
-
export interface NuevaEpsResponseMetadata {
|
|
215
|
-
/**
|
|
216
|
-
* Request correlation identifier, also sent as X-Request-Id.
|
|
217
|
-
*/
|
|
218
|
-
requestId: string;
|
|
219
|
-
}
|
|
220
166
|
/**
|
|
221
167
|
* Another session operation is in progress.
|
|
222
168
|
*/
|
|
@@ -259,48 +205,3 @@ export interface NuevaEpsSessionRequiredFailure {
|
|
|
259
205
|
*/
|
|
260
206
|
retryable: false;
|
|
261
207
|
}
|
|
262
|
-
/**
|
|
263
|
-
* A failed answer.
|
|
264
|
-
*/
|
|
265
|
-
export interface NuevaEpsUnauthorizedError {
|
|
266
|
-
data: null;
|
|
267
|
-
/**
|
|
268
|
-
* A valid access token is required.
|
|
269
|
-
*/
|
|
270
|
-
error: UnauthorizedFailure;
|
|
271
|
-
/**
|
|
272
|
-
* What every answer carries besides its data or error.
|
|
273
|
-
*/
|
|
274
|
-
metadata: NuevaEpsResponseMetadata;
|
|
275
|
-
success: false;
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* A failed answer.
|
|
279
|
-
*/
|
|
280
|
-
export interface NuevaEpsUnsupportedMediaTypeError {
|
|
281
|
-
data: null;
|
|
282
|
-
/**
|
|
283
|
-
* The request content type is not supported.
|
|
284
|
-
*/
|
|
285
|
-
error: UnsupportedMediaTypeFailure;
|
|
286
|
-
/**
|
|
287
|
-
* What every answer carries besides its data or error.
|
|
288
|
-
*/
|
|
289
|
-
metadata: NuevaEpsResponseMetadata;
|
|
290
|
-
success: false;
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* A failed answer.
|
|
294
|
-
*/
|
|
295
|
-
export interface NuevaEpsUpstreamTimeoutError {
|
|
296
|
-
data: null;
|
|
297
|
-
/**
|
|
298
|
-
* The upstream service did not respond before its deadline.
|
|
299
|
-
*/
|
|
300
|
-
error: UpstreamTimeoutFailure;
|
|
301
|
-
/**
|
|
302
|
-
* What every answer carries besides its data or error.
|
|
303
|
-
*/
|
|
304
|
-
metadata: NuevaEpsResponseMetadata;
|
|
305
|
-
success: false;
|
|
306
|
-
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ConnectionNotConfiguredFailure, ConnectionNotFoundFailure, CredentialsRejectedFailure, OutcomeUnknownFailure, PageInfo, ProviderUnavailableFailure, ToolRefusedFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type { OrsovisionClinicNotServedFailure, OrsovisionOrsovisionNotConfiguredFailure,
|
|
1
|
+
import type { ConnectionNotConfiguredFailure, ConnectionNotFoundFailure, CredentialsRejectedFailure, OutcomeUnknownFailure, PageInfo, ProviderUnavailableFailure, ResponseMetadata, ToolRefusedFailure, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { OrsovisionClinicNotServedFailure, OrsovisionOrsovisionNotConfiguredFailure, OrsovisionToolNotAvailableFailure } from "../models.js";
|
|
3
3
|
export interface OrsovisionAgency {
|
|
4
4
|
/**
|
|
5
5
|
* The location, as every later call names it: pass it exactly.
|
|
@@ -37,7 +37,7 @@ export interface OrsovisionAgencyPageResponse {
|
|
|
37
37
|
/**
|
|
38
38
|
* What every answer carries besides its data or error.
|
|
39
39
|
*/
|
|
40
|
-
metadata:
|
|
40
|
+
metadata: ResponseMetadata;
|
|
41
41
|
success: true;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
@@ -49,7 +49,7 @@ export interface OrsovisionListAgenciesBadGatewayError {
|
|
|
49
49
|
/**
|
|
50
50
|
* What every answer carries besides its data or error.
|
|
51
51
|
*/
|
|
52
|
-
metadata:
|
|
52
|
+
metadata: ResponseMetadata;
|
|
53
53
|
success: false;
|
|
54
54
|
}
|
|
55
55
|
export type OrsovisionListAgenciesBadGatewayFailure = OutcomeUnknownFailure | ProviderUnavailableFailure;
|
|
@@ -62,7 +62,7 @@ export interface OrsovisionListAgenciesConflictError {
|
|
|
62
62
|
/**
|
|
63
63
|
* What every answer carries besides its data or error.
|
|
64
64
|
*/
|
|
65
|
-
metadata:
|
|
65
|
+
metadata: ResponseMetadata;
|
|
66
66
|
success: false;
|
|
67
67
|
}
|
|
68
68
|
export type OrsovisionListAgenciesConflictFailure = ConnectionNotConfiguredFailure | OrsovisionClinicNotServedFailure;
|
|
@@ -75,7 +75,7 @@ export interface OrsovisionListAgenciesNotFoundError {
|
|
|
75
75
|
/**
|
|
76
76
|
* What every answer carries besides its data or error.
|
|
77
77
|
*/
|
|
78
|
-
metadata:
|
|
78
|
+
metadata: ResponseMetadata;
|
|
79
79
|
success: false;
|
|
80
80
|
}
|
|
81
81
|
export type OrsovisionListAgenciesNotFoundFailure = ConnectionNotFoundFailure | OrsovisionToolNotAvailableFailure;
|
|
@@ -88,7 +88,7 @@ export interface OrsovisionListAgenciesServiceUnavailableError {
|
|
|
88
88
|
/**
|
|
89
89
|
* What every answer carries besides its data or error.
|
|
90
90
|
*/
|
|
91
|
-
metadata:
|
|
91
|
+
metadata: ResponseMetadata;
|
|
92
92
|
success: false;
|
|
93
93
|
}
|
|
94
94
|
export type OrsovisionListAgenciesServiceUnavailableFailure = UpstreamUnavailableFailure | OrsovisionOrsovisionNotConfiguredFailure;
|
|
@@ -101,7 +101,7 @@ export interface OrsovisionListAgenciesUnprocessableContentError {
|
|
|
101
101
|
/**
|
|
102
102
|
* What every answer carries besides its data or error.
|
|
103
103
|
*/
|
|
104
|
-
metadata:
|
|
104
|
+
metadata: ResponseMetadata;
|
|
105
105
|
success: false;
|
|
106
106
|
}
|
|
107
107
|
export type OrsovisionListAgenciesUnprocessableContentFailure = CredentialsRejectedFailure | ToolRefusedFailure;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ToolResultResponse } from "../../models.js";
|
|
3
3
|
import { type OrsovisionCancelAppointmentBody, type OrsovisionCreateAppointmentBody } from "./models.js";
|
|
4
4
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
5
|
/**
|
|
@@ -34,6 +34,6 @@ export interface Client {
|
|
|
34
34
|
export declare function createClient(options: ClientOptions): Client;
|
|
35
35
|
export declare function bind(transport: Transport): Client;
|
|
36
36
|
export type CancelRequest = OrsovisionCancelAppointmentBody;
|
|
37
|
-
export type CancelResponse =
|
|
37
|
+
export type CancelResponse = ToolResultResponse;
|
|
38
38
|
export type CreateRequest = OrsovisionCreateAppointmentBody;
|
|
39
|
-
export type CreateResponse =
|
|
39
|
+
export type CreateResponse = ToolResultResponse;
|
|
@@ -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, CancelRequest, CancelResponse, CreateRequest, CreateResponse, } from "./client.js";
|
|
5
|
-
export type {
|
|
5
|
+
export type { OrsovisionCancelAppointmentBody, OrsovisionCancelAppointmentConflictError, OrsovisionCancelAppointmentConflictFailure, OrsovisionCancelAppointmentNotFoundError, OrsovisionCancelAppointmentNotFoundFailure, OrsovisionCancelAppointmentServiceUnavailableError, OrsovisionCancelAppointmentServiceUnavailableFailure, OrsovisionCreateAppointmentBody, OrsovisionCreateAppointmentConflictError, OrsovisionCreateAppointmentConflictFailure, OrsovisionCreateAppointmentNotFoundError, OrsovisionCreateAppointmentNotFoundFailure, OrsovisionCreateAppointmentServiceUnavailableError, OrsovisionCreateAppointmentServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { OrsovisionClinicNotServedFailure, OrsovisionOrsovisionNotConfiguredFailure,
|
|
3
|
-
/**
|
|
4
|
-
* A failed answer.
|
|
5
|
-
*/
|
|
6
|
-
export interface OrsovisionCancelAppointmentBadGatewayError {
|
|
7
|
-
data: null;
|
|
8
|
-
error: CancelAppointmentBadGatewayFailure;
|
|
9
|
-
/**
|
|
10
|
-
* What every answer carries besides its data or error.
|
|
11
|
-
*/
|
|
12
|
-
metadata: OrsovisionResponseMetadata;
|
|
13
|
-
success: false;
|
|
14
|
-
}
|
|
1
|
+
import type { ConnectionNotConfiguredFailure, ConnectionNotFoundFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { OrsovisionClinicNotServedFailure, OrsovisionOrsovisionNotConfiguredFailure, OrsovisionToolNotAvailableFailure } from "../models.js";
|
|
15
3
|
export interface OrsovisionCancelAppointmentBody {
|
|
16
4
|
/**
|
|
17
5
|
* El cancelToken de la cita a cancelar, copiado literal de
|
|
@@ -63,7 +51,7 @@ export interface OrsovisionCancelAppointmentConflictError {
|
|
|
63
51
|
/**
|
|
64
52
|
* What every answer carries besides its data or error.
|
|
65
53
|
*/
|
|
66
|
-
metadata:
|
|
54
|
+
metadata: ResponseMetadata;
|
|
67
55
|
success: false;
|
|
68
56
|
}
|
|
69
57
|
export type OrsovisionCancelAppointmentConflictFailure = ConnectionNotConfiguredFailure | OrsovisionClinicNotServedFailure;
|
|
@@ -76,7 +64,7 @@ export interface OrsovisionCancelAppointmentNotFoundError {
|
|
|
76
64
|
/**
|
|
77
65
|
* What every answer carries besides its data or error.
|
|
78
66
|
*/
|
|
79
|
-
metadata:
|
|
67
|
+
metadata: ResponseMetadata;
|
|
80
68
|
success: false;
|
|
81
69
|
}
|
|
82
70
|
export type OrsovisionCancelAppointmentNotFoundFailure = ConnectionNotFoundFailure | OrsovisionToolNotAvailableFailure;
|
|
@@ -89,22 +77,10 @@ export interface OrsovisionCancelAppointmentServiceUnavailableError {
|
|
|
89
77
|
/**
|
|
90
78
|
* What every answer carries besides its data or error.
|
|
91
79
|
*/
|
|
92
|
-
metadata:
|
|
80
|
+
metadata: ResponseMetadata;
|
|
93
81
|
success: false;
|
|
94
82
|
}
|
|
95
83
|
export type OrsovisionCancelAppointmentServiceUnavailableFailure = UpstreamUnavailableFailure | OrsovisionOrsovisionNotConfiguredFailure;
|
|
96
|
-
/**
|
|
97
|
-
* A failed answer.
|
|
98
|
-
*/
|
|
99
|
-
export interface OrsovisionCreateAppointmentBadGatewayError {
|
|
100
|
-
data: null;
|
|
101
|
-
error: CreateAppointmentBadGatewayFailure;
|
|
102
|
-
/**
|
|
103
|
-
* What every answer carries besides its data or error.
|
|
104
|
-
*/
|
|
105
|
-
metadata: OrsovisionResponseMetadata;
|
|
106
|
-
success: false;
|
|
107
|
-
}
|
|
108
84
|
export interface OrsovisionCreateAppointmentBody {
|
|
109
85
|
/**
|
|
110
86
|
* The channel the conversation happens on: voice, whatsapp or web (the
|
|
@@ -172,7 +148,7 @@ export interface OrsovisionCreateAppointmentConflictError {
|
|
|
172
148
|
/**
|
|
173
149
|
* What every answer carries besides its data or error.
|
|
174
150
|
*/
|
|
175
|
-
metadata:
|
|
151
|
+
metadata: ResponseMetadata;
|
|
176
152
|
success: false;
|
|
177
153
|
}
|
|
178
154
|
export type OrsovisionCreateAppointmentConflictFailure = ConnectionNotConfiguredFailure | OrsovisionClinicNotServedFailure;
|
|
@@ -185,7 +161,7 @@ export interface OrsovisionCreateAppointmentNotFoundError {
|
|
|
185
161
|
/**
|
|
186
162
|
* What every answer carries besides its data or error.
|
|
187
163
|
*/
|
|
188
|
-
metadata:
|
|
164
|
+
metadata: ResponseMetadata;
|
|
189
165
|
success: false;
|
|
190
166
|
}
|
|
191
167
|
export type OrsovisionCreateAppointmentNotFoundFailure = ConnectionNotFoundFailure | OrsovisionToolNotAvailableFailure;
|
|
@@ -198,7 +174,7 @@ export interface OrsovisionCreateAppointmentServiceUnavailableError {
|
|
|
198
174
|
/**
|
|
199
175
|
* What every answer carries besides its data or error.
|
|
200
176
|
*/
|
|
201
|
-
metadata:
|
|
177
|
+
metadata: ResponseMetadata;
|
|
202
178
|
success: false;
|
|
203
179
|
}
|
|
204
180
|
export type OrsovisionCreateAppointmentServiceUnavailableFailure = UpstreamUnavailableFailure | OrsovisionOrsovisionNotConfiguredFailure;
|
|
@@ -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 { OrsovisionAvailabilitySlot, OrsovisionAvailabilitySlotPage, OrsovisionAvailabilitySlotPageResponse, OrsovisionListAvailabilityBadGatewayError, OrsovisionListAvailabilityBody, OrsovisionListAvailabilityConflictError, OrsovisionListAvailabilityConflictFailure, OrsovisionListAvailabilityNotFoundError, OrsovisionListAvailabilityNotFoundFailure, OrsovisionListAvailabilityServiceUnavailableError, OrsovisionListAvailabilityServiceUnavailableFailure,
|
|
5
|
+
export type { OrsovisionAvailabilitySlot, OrsovisionAvailabilitySlotPage, OrsovisionAvailabilitySlotPageResponse, OrsovisionListAvailabilityBadGatewayError, OrsovisionListAvailabilityBadGatewayFailure, OrsovisionListAvailabilityBody, OrsovisionListAvailabilityConflictError, OrsovisionListAvailabilityConflictFailure, OrsovisionListAvailabilityNotFoundError, OrsovisionListAvailabilityNotFoundFailure, OrsovisionListAvailabilityServiceUnavailableError, OrsovisionListAvailabilityServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type AvailabilityBookingInput, type ConnectionNotConfiguredFailure, type ConnectionNotFoundFailure, type
|
|
2
|
-
import type { OrsovisionClinicNotServedFailure, OrsovisionOrsovisionNotConfiguredFailure,
|
|
1
|
+
import { type AvailabilityBookingInput, type ConnectionNotConfiguredFailure, type ConnectionNotFoundFailure, type OutcomeUnknownFailure, type PageInfo, type ProviderUnavailableFailure, type ResponseMetadata, type UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { OrsovisionClinicNotServedFailure, OrsovisionOrsovisionNotConfiguredFailure, OrsovisionToolNotAvailableFailure } from "../models.js";
|
|
3
3
|
export interface OrsovisionAvailabilitySlot {
|
|
4
4
|
/**
|
|
5
5
|
* The professional's agenda, when they run several.
|
|
@@ -96,7 +96,7 @@ export interface OrsovisionAvailabilitySlotPageResponse {
|
|
|
96
96
|
/**
|
|
97
97
|
* What every answer carries besides its data or error.
|
|
98
98
|
*/
|
|
99
|
-
metadata:
|
|
99
|
+
metadata: ResponseMetadata;
|
|
100
100
|
success: true;
|
|
101
101
|
}
|
|
102
102
|
/**
|
|
@@ -104,13 +104,14 @@ export interface OrsovisionAvailabilitySlotPageResponse {
|
|
|
104
104
|
*/
|
|
105
105
|
export interface OrsovisionListAvailabilityBadGatewayError {
|
|
106
106
|
data: null;
|
|
107
|
-
error:
|
|
107
|
+
error: OrsovisionListAvailabilityBadGatewayFailure;
|
|
108
108
|
/**
|
|
109
109
|
* What every answer carries besides its data or error.
|
|
110
110
|
*/
|
|
111
|
-
metadata:
|
|
111
|
+
metadata: ResponseMetadata;
|
|
112
112
|
success: false;
|
|
113
113
|
}
|
|
114
|
+
export type OrsovisionListAvailabilityBadGatewayFailure = OutcomeUnknownFailure | ProviderUnavailableFailure;
|
|
114
115
|
export interface OrsovisionListAvailabilityBody {
|
|
115
116
|
/**
|
|
116
117
|
* Código de sede elegido y confirmado con la persona.
|
|
@@ -192,7 +193,7 @@ export interface OrsovisionListAvailabilityConflictError {
|
|
|
192
193
|
/**
|
|
193
194
|
* What every answer carries besides its data or error.
|
|
194
195
|
*/
|
|
195
|
-
metadata:
|
|
196
|
+
metadata: ResponseMetadata;
|
|
196
197
|
success: false;
|
|
197
198
|
}
|
|
198
199
|
export type OrsovisionListAvailabilityConflictFailure = ConnectionNotConfiguredFailure | OrsovisionClinicNotServedFailure;
|
|
@@ -205,7 +206,7 @@ export interface OrsovisionListAvailabilityNotFoundError {
|
|
|
205
206
|
/**
|
|
206
207
|
* What every answer carries besides its data or error.
|
|
207
208
|
*/
|
|
208
|
-
metadata:
|
|
209
|
+
metadata: ResponseMetadata;
|
|
209
210
|
success: false;
|
|
210
211
|
}
|
|
211
212
|
export type OrsovisionListAvailabilityNotFoundFailure = ConnectionNotFoundFailure | OrsovisionToolNotAvailableFailure;
|
|
@@ -218,22 +219,10 @@ export interface OrsovisionListAvailabilityServiceUnavailableError {
|
|
|
218
219
|
/**
|
|
219
220
|
* What every answer carries besides its data or error.
|
|
220
221
|
*/
|
|
221
|
-
metadata:
|
|
222
|
+
metadata: ResponseMetadata;
|
|
222
223
|
success: false;
|
|
223
224
|
}
|
|
224
225
|
export type OrsovisionListAvailabilityServiceUnavailableFailure = UpstreamUnavailableFailure | OrsovisionOrsovisionNotConfiguredFailure;
|
|
225
|
-
/**
|
|
226
|
-
* A failed answer.
|
|
227
|
-
*/
|
|
228
|
-
export interface OrsovisionListAvailabilityUnprocessableContentError {
|
|
229
|
-
data: null;
|
|
230
|
-
error: ListAvailabilityUnprocessableContentFailure;
|
|
231
|
-
/**
|
|
232
|
-
* What every answer carries besides its data or error.
|
|
233
|
-
*/
|
|
234
|
-
metadata: OrsovisionResponseMetadata;
|
|
235
|
-
success: false;
|
|
236
|
-
}
|
|
237
226
|
export declare const OrsovisionAvailabilitySlotCodec: import("../../_/codec.js").Codec;
|
|
238
227
|
export declare const OrsovisionAvailabilitySlotPageCodec: import("../../_/codec.js").Codec;
|
|
239
228
|
export declare const OrsovisionAvailabilitySlotPageResponseCodec: import("../../_/codec.js").Codec;
|
|
@@ -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, GetRequest, GetResponse, } from "./client.js";
|
|
5
|
-
export type { OrsovisionClinic, OrsovisionClinicResponse, OrsovisionGetClinicBadGatewayError, OrsovisionGetClinicConflictError, OrsovisionGetClinicConflictFailure, OrsovisionGetClinicNotFoundError, OrsovisionGetClinicNotFoundFailure, OrsovisionGetClinicServiceUnavailableError, OrsovisionGetClinicServiceUnavailableFailure, } from "./models.js";
|
|
5
|
+
export type { OrsovisionClinic, OrsovisionClinicResponse, OrsovisionGetClinicBadGatewayError, OrsovisionGetClinicBadGatewayFailure, OrsovisionGetClinicConflictError, OrsovisionGetClinicConflictFailure, OrsovisionGetClinicNotFoundError, OrsovisionGetClinicNotFoundFailure, OrsovisionGetClinicServiceUnavailableError, OrsovisionGetClinicServiceUnavailableFailure, } from "./models.js";
|