@arbol-ai/sdk 5.36.0 → 5.38.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/dist/client.d.ts +4 -0
- package/dist/client.js +10 -0
- package/dist/comfachoco/affiliations/client.d.ts +3 -1
- package/dist/comfachoco/affiliations/index.d.ts +1 -1
- package/dist/comfachoco/affiliations/models.d.ts +13 -6
- package/dist/comfachoco/connections/models.d.ts +11 -11
- package/dist/comfachoco/index.d.ts +1 -1
- package/dist/comfachoco/models.d.ts +0 -63
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +63 -0
- package/dist/oficlinic/affiliateTypes/client.d.ts +55 -0
- package/dist/oficlinic/affiliateTypes/client.js +18 -0
- package/dist/oficlinic/affiliateTypes/index.d.ts +5 -0
- package/dist/oficlinic/affiliateTypes/index.js +4 -0
- package/dist/oficlinic/affiliateTypes/models.d.ts +135 -0
- package/dist/oficlinic/affiliateTypes/models.js +3 -0
- package/dist/oficlinic/appointments/client.d.ts +91 -0
- package/dist/oficlinic/appointments/client.js +35 -0
- package/dist/oficlinic/appointments/index.d.ts +5 -0
- package/dist/oficlinic/appointments/index.js +4 -0
- package/dist/oficlinic/appointments/models.d.ts +777 -0
- package/dist/oficlinic/appointments/models.js +15 -0
- package/dist/oficlinic/bookingDays/client.d.ts +64 -0
- package/dist/oficlinic/bookingDays/client.js +18 -0
- package/dist/oficlinic/bookingDays/index.d.ts +5 -0
- package/dist/oficlinic/bookingDays/index.js +4 -0
- package/dist/oficlinic/bookingDays/models.d.ts +142 -0
- package/dist/oficlinic/bookingDays/models.js +3 -0
- package/dist/oficlinic/bookingProfessionals/client.d.ts +76 -0
- package/dist/oficlinic/bookingProfessionals/client.js +19 -0
- package/dist/oficlinic/bookingProfessionals/index.d.ts +5 -0
- package/dist/oficlinic/bookingProfessionals/index.js +4 -0
- package/dist/oficlinic/bookingProfessionals/models.d.ts +159 -0
- package/dist/oficlinic/bookingProfessionals/models.js +12 -0
- package/dist/oficlinic/bookingRooms/client.d.ts +60 -0
- package/dist/oficlinic/bookingRooms/client.js +18 -0
- package/dist/oficlinic/bookingRooms/index.d.ts +5 -0
- package/dist/oficlinic/bookingRooms/index.js +4 -0
- package/dist/oficlinic/bookingRooms/models.d.ts +136 -0
- package/dist/oficlinic/bookingRooms/models.js +3 -0
- package/dist/oficlinic/bookingSlots/client.d.ts +63 -0
- package/dist/oficlinic/bookingSlots/client.js +19 -0
- package/dist/oficlinic/bookingSlots/index.d.ts +5 -0
- package/dist/oficlinic/bookingSlots/index.js +4 -0
- package/dist/oficlinic/bookingSlots/models.d.ts +167 -0
- package/dist/oficlinic/bookingSlots/models.js +13 -0
- package/dist/oficlinic/cancellationReasons/client.d.ts +49 -0
- package/dist/oficlinic/cancellationReasons/client.js +18 -0
- package/dist/oficlinic/cancellationReasons/index.d.ts +5 -0
- package/dist/oficlinic/cancellationReasons/index.js +4 -0
- package/dist/oficlinic/cancellationReasons/models.d.ts +114 -0
- package/dist/oficlinic/cancellationReasons/models.js +3 -0
- package/dist/oficlinic/client.d.ts +49 -0
- package/dist/oficlinic/client.js +105 -0
- package/dist/oficlinic/connections/client.d.ts +45 -0
- package/dist/oficlinic/connections/client.js +25 -0
- package/dist/oficlinic/connections/index.d.ts +5 -0
- package/dist/oficlinic/connections/index.js +4 -0
- package/dist/oficlinic/connections/models.d.ts +40 -0
- package/dist/oficlinic/connections/models.js +10 -0
- package/dist/oficlinic/index.d.ts +5 -0
- package/dist/oficlinic/index.js +4 -0
- package/dist/oficlinic/models.d.ts +403 -0
- package/dist/oficlinic/models.js +3 -0
- package/dist/oficlinic/patients/client.d.ts +27 -0
- package/dist/oficlinic/patients/client.js +19 -0
- package/dist/oficlinic/patients/index.d.ts +5 -0
- package/dist/oficlinic/patients/index.js +4 -0
- package/dist/oficlinic/patients/models.d.ts +134 -0
- package/dist/oficlinic/patients/models.js +13 -0
- package/dist/oficlinic/payerContracts/client.d.ts +55 -0
- package/dist/oficlinic/payerContracts/client.js +18 -0
- package/dist/oficlinic/payerContracts/index.d.ts +5 -0
- package/dist/oficlinic/payerContracts/index.js +4 -0
- package/dist/oficlinic/payerContracts/models.d.ts +154 -0
- package/dist/oficlinic/payerContracts/models.js +3 -0
- package/dist/oficlinic/payerPlans/client.d.ts +54 -0
- package/dist/oficlinic/payerPlans/client.js +18 -0
- package/dist/oficlinic/payerPlans/index.d.ts +5 -0
- package/dist/oficlinic/payerPlans/index.js +4 -0
- package/dist/oficlinic/payerPlans/models.d.ts +138 -0
- package/dist/oficlinic/payerPlans/models.js +3 -0
- package/dist/oficlinic/payerSubplans/client.d.ts +58 -0
- package/dist/oficlinic/payerSubplans/client.js +18 -0
- package/dist/oficlinic/payerSubplans/index.d.ts +5 -0
- package/dist/oficlinic/payerSubplans/index.js +4 -0
- package/dist/oficlinic/payerSubplans/models.d.ts +150 -0
- package/dist/oficlinic/payerSubplans/models.js +3 -0
- package/dist/oficlinic/payers/client.d.ts +50 -0
- package/dist/oficlinic/payers/client.js +18 -0
- package/dist/oficlinic/payers/index.d.ts +5 -0
- package/dist/oficlinic/payers/index.js +4 -0
- package/dist/oficlinic/payers/models.d.ts +139 -0
- package/dist/oficlinic/payers/models.js +3 -0
- package/dist/oficlinic/professionals/client.d.ts +51 -0
- package/dist/oficlinic/professionals/client.js +18 -0
- package/dist/oficlinic/professionals/index.d.ts +5 -0
- package/dist/oficlinic/professionals/index.js +4 -0
- package/dist/oficlinic/professionals/models.d.ts +125 -0
- package/dist/oficlinic/professionals/models.js +3 -0
- package/dist/oficlinic/programs/client.d.ts +54 -0
- package/dist/oficlinic/programs/client.js +18 -0
- package/dist/oficlinic/programs/index.d.ts +5 -0
- package/dist/oficlinic/programs/index.js +4 -0
- package/dist/oficlinic/programs/models.d.ts +133 -0
- package/dist/oficlinic/programs/models.js +3 -0
- package/dist/oficlinic/regimes/client.d.ts +50 -0
- package/dist/oficlinic/regimes/client.js +18 -0
- package/dist/oficlinic/regimes/index.d.ts +5 -0
- package/dist/oficlinic/regimes/index.js +4 -0
- package/dist/oficlinic/regimes/models.d.ts +117 -0
- package/dist/oficlinic/regimes/models.js +3 -0
- package/dist/oficlinic/relationships/client.d.ts +49 -0
- package/dist/oficlinic/relationships/client.js +18 -0
- package/dist/oficlinic/relationships/index.d.ts +5 -0
- package/dist/oficlinic/relationships/index.js +4 -0
- package/dist/oficlinic/relationships/models.d.ts +118 -0
- package/dist/oficlinic/relationships/models.js +3 -0
- package/dist/oficlinic/serviceCatalog/client.d.ts +50 -0
- package/dist/oficlinic/serviceCatalog/client.js +27 -0
- package/dist/oficlinic/serviceCatalog/index.d.ts +5 -0
- package/dist/oficlinic/serviceCatalog/index.js +4 -0
- package/dist/oficlinic/serviceCatalog/models.d.ts +126 -0
- package/dist/oficlinic/serviceCatalog/models.js +13 -0
- package/dist/oficlinic/services/client.d.ts +84 -0
- package/dist/oficlinic/services/client.js +27 -0
- package/dist/oficlinic/services/index.d.ts +5 -0
- package/dist/oficlinic/services/index.js +4 -0
- package/dist/oficlinic/services/models.d.ts +437 -0
- package/dist/oficlinic/services/models.js +12 -0
- package/dist/sanitas/affiliations/client.d.ts +22 -0
- package/dist/sanitas/affiliations/client.js +19 -0
- package/dist/sanitas/affiliations/index.d.ts +5 -0
- package/dist/sanitas/affiliations/index.js +4 -0
- package/dist/sanitas/affiliations/models.d.ts +86 -0
- package/dist/sanitas/affiliations/models.js +9 -0
- package/dist/sanitas/client.d.ts +15 -0
- package/dist/sanitas/client.js +20 -0
- package/dist/sanitas/connections/client.d.ts +25 -0
- package/dist/sanitas/connections/client.js +18 -0
- package/dist/sanitas/connections/index.d.ts +5 -0
- package/dist/sanitas/connections/index.js +4 -0
- package/dist/sanitas/connections/models.d.ts +74 -0
- package/dist/sanitas/connections/models.js +9 -0
- package/dist/sanitas/index.d.ts +5 -0
- package/dist/sanitas/index.js +4 -0
- package/dist/sanitas/models.d.ts +220 -0
- package/dist/sanitas/models.js +3 -0
- package/package.json +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -6,9 +6,11 @@ import { type Client as AxxaClient } from "./axxa/client.js";
|
|
|
6
6
|
import { type Client as ComfachocoClient } from "./comfachoco/client.js";
|
|
7
7
|
import { type Client as GmedicClient } from "./gmedic/client.js";
|
|
8
8
|
import { type Client as NuevaEpsClient } from "./nuevaEps/client.js";
|
|
9
|
+
import { type Client as OficlinicClient } from "./oficlinic/client.js";
|
|
9
10
|
import { type Client as PoliciaColombiaClient } from "./policiaColombia/client.js";
|
|
10
11
|
import { type Client as RaizClient } from "./raiz/client.js";
|
|
11
12
|
import { type Client as SaludTotalClient } from "./saludTotal/client.js";
|
|
13
|
+
import { type Client as SanitasClient } from "./sanitas/client.js";
|
|
12
14
|
import { type Client as SisbenClient } from "./sisben/client.js";
|
|
13
15
|
import { type Client as SuraClient } from "./sura/client.js";
|
|
14
16
|
import { type Client as VisoftClient } from "./visoft/client.js";
|
|
@@ -26,9 +28,11 @@ export interface Client {
|
|
|
26
28
|
readonly comfachoco: ComfachocoClient;
|
|
27
29
|
readonly gmedic: GmedicClient;
|
|
28
30
|
readonly nuevaEps: NuevaEpsClient;
|
|
31
|
+
readonly oficlinic: OficlinicClient;
|
|
29
32
|
readonly policiaColombia: PoliciaColombiaClient;
|
|
30
33
|
readonly raiz: RaizClient;
|
|
31
34
|
readonly saludTotal: SaludTotalClient;
|
|
35
|
+
readonly sanitas: SanitasClient;
|
|
32
36
|
readonly sisben: SisbenClient;
|
|
33
37
|
readonly sura: SuraClient;
|
|
34
38
|
readonly visoft: VisoftClient;
|
package/dist/client.js
CHANGED
|
@@ -8,9 +8,11 @@ import { bind as bindAxxa } from "./axxa/client.js";
|
|
|
8
8
|
import { bind as bindComfachoco, } from "./comfachoco/client.js";
|
|
9
9
|
import { bind as bindGmedic, } from "./gmedic/client.js";
|
|
10
10
|
import { bind as bindNuevaEps, } from "./nuevaEps/client.js";
|
|
11
|
+
import { bind as bindOficlinic, } from "./oficlinic/client.js";
|
|
11
12
|
import { bind as bindPoliciaColombia, } from "./policiaColombia/client.js";
|
|
12
13
|
import { bind as bindRaiz } from "./raiz/client.js";
|
|
13
14
|
import { bind as bindSaludTotal, } from "./saludTotal/client.js";
|
|
15
|
+
import { bind as bindSanitas, } from "./sanitas/client.js";
|
|
14
16
|
import { bind as bindSisben, } from "./sisben/client.js";
|
|
15
17
|
import { bind as bindSura } from "./sura/client.js";
|
|
16
18
|
import { bind as bindVisoft, } from "./visoft/client.js";
|
|
@@ -25,9 +27,11 @@ export function bind(transport) {
|
|
|
25
27
|
let comfachocoClient;
|
|
26
28
|
let gmedicClient;
|
|
27
29
|
let nuevaEpsClient;
|
|
30
|
+
let oficlinicClient;
|
|
28
31
|
let policiaColombiaClient;
|
|
29
32
|
let raizClient;
|
|
30
33
|
let saludTotalClient;
|
|
34
|
+
let sanitasClient;
|
|
31
35
|
let sisbenClient;
|
|
32
36
|
let suraClient;
|
|
33
37
|
let visoftClient;
|
|
@@ -53,6 +57,9 @@ export function bind(transport) {
|
|
|
53
57
|
get nuevaEps() {
|
|
54
58
|
return (nuevaEpsClient ??= bindNuevaEps(transport));
|
|
55
59
|
},
|
|
60
|
+
get oficlinic() {
|
|
61
|
+
return (oficlinicClient ??= bindOficlinic(transport));
|
|
62
|
+
},
|
|
56
63
|
get policiaColombia() {
|
|
57
64
|
return (policiaColombiaClient ??= bindPoliciaColombia(transport));
|
|
58
65
|
},
|
|
@@ -62,6 +69,9 @@ export function bind(transport) {
|
|
|
62
69
|
get saludTotal() {
|
|
63
70
|
return (saludTotalClient ??= bindSaludTotal(transport));
|
|
64
71
|
},
|
|
72
|
+
get sanitas() {
|
|
73
|
+
return (sanitasClient ??= bindSanitas(transport));
|
|
74
|
+
},
|
|
65
75
|
get sisben() {
|
|
66
76
|
return (sisbenClient ??= bindSisben(transport));
|
|
67
77
|
},
|
|
@@ -14,7 +14,9 @@ export interface Client {
|
|
|
14
14
|
* connection. Returns found only for an exact source identity and not_found
|
|
15
15
|
* only for an explicit source negative. Provider failures are never evidence
|
|
16
16
|
* of non-affiliation. This does not verify the identity of the person
|
|
17
|
-
* presenting the document or determine eligibility.
|
|
17
|
+
* presenting the document or determine eligibility. Set agentMode to true to
|
|
18
|
+
* receive the same observation as one concise Spanish text in the text field
|
|
19
|
+
* instead of structured fields; failures are unchanged.
|
|
18
20
|
*/
|
|
19
21
|
lookup(request: LookupRequest, options?: RequestOptions): Promise<LookupResponse>;
|
|
20
22
|
}
|
|
@@ -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 { ComfachocoComfachocoAffiliationFound, ComfachocoComfachocoAffiliationNotFound, ComfachocoComfachocoMember, ComfachocoLookupAffiliationBadGatewayError, ComfachocoLookupAffiliationBadGatewayFailure, ComfachocoLookupAffiliationBody, ComfachocoLookupAffiliationResult, ComfachocoLookupAffiliationResultResponse, ComfachocoLookupAffiliationServiceUnavailableError, ComfachocoLookupAffiliationServiceUnavailableFailure, ComfachocoLookupAffiliationTooManyRequestsError, ComfachocoLookupAffiliationTooManyRequestsFailure, ComfachocoLookupAffiliationUnprocessableContentError, ComfachocoLookupAffiliationUnprocessableContentFailure, } from "./models.js";
|
|
5
|
+
export type { ComfachocoComfachocoAffiliationFound, ComfachocoComfachocoAffiliationNotFound, ComfachocoComfachocoAffiliationText, ComfachocoComfachocoMember, ComfachocoLookupAffiliationBadGatewayError, ComfachocoLookupAffiliationBadGatewayFailure, ComfachocoLookupAffiliationBody, ComfachocoLookupAffiliationResult, ComfachocoLookupAffiliationResultResponse, ComfachocoLookupAffiliationServiceUnavailableError, ComfachocoLookupAffiliationServiceUnavailableFailure, ComfachocoLookupAffiliationTooManyRequestsError, ComfachocoLookupAffiliationTooManyRequestsFailure, ComfachocoLookupAffiliationUnprocessableContentError, ComfachocoLookupAffiliationUnprocessableContentFailure, } from "./models.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OutcomeUnknownFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type {
|
|
1
|
+
import type { CredentialsRejectedFailure, OutcomeUnknownFailure, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { ComfachocoLoginCoolingDownFailure, ComfachocoMemberIdentityMismatchFailure, ComfachocoProviderAccountInactiveFailure, ComfachocoProviderSessionExpiredFailure } from "../models.js";
|
|
3
3
|
export interface ComfachocoComfachocoAffiliationFound {
|
|
4
4
|
member: ComfachocoComfachocoMember;
|
|
5
5
|
observedAt: Temporal.Instant;
|
|
@@ -10,6 +10,9 @@ export interface ComfachocoComfachocoAffiliationNotFound {
|
|
|
10
10
|
observedAt: Temporal.Instant;
|
|
11
11
|
status: "not_found";
|
|
12
12
|
}
|
|
13
|
+
export interface ComfachocoComfachocoAffiliationText {
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
13
16
|
export interface ComfachocoComfachocoMember {
|
|
14
17
|
affiliationStatus: string;
|
|
15
18
|
documentNumber: string;
|
|
@@ -30,8 +33,12 @@ export interface ComfachocoLookupAffiliationBadGatewayError {
|
|
|
30
33
|
metadata: ResponseMetadata;
|
|
31
34
|
success: false;
|
|
32
35
|
}
|
|
33
|
-
export type ComfachocoLookupAffiliationBadGatewayFailure = OutcomeUnknownFailure |
|
|
36
|
+
export type ComfachocoLookupAffiliationBadGatewayFailure = OutcomeUnknownFailure | ProviderProtocolChangedFailure | ComfachocoMemberIdentityMismatchFailure;
|
|
34
37
|
export interface ComfachocoLookupAffiliationBody {
|
|
38
|
+
/**
|
|
39
|
+
* Answer with one concise Spanish text instead of structured fields.
|
|
40
|
+
*/
|
|
41
|
+
agentMode?: boolean;
|
|
35
42
|
connectionId?: string;
|
|
36
43
|
documentNumber: string;
|
|
37
44
|
/**
|
|
@@ -39,7 +46,7 @@ export interface ComfachocoLookupAffiliationBody {
|
|
|
39
46
|
*/
|
|
40
47
|
documentType: "CC";
|
|
41
48
|
}
|
|
42
|
-
export type ComfachocoLookupAffiliationResult = ComfachocoComfachocoAffiliationNotFound | ComfachocoComfachocoAffiliationFound;
|
|
49
|
+
export type ComfachocoLookupAffiliationResult = ComfachocoComfachocoAffiliationNotFound | ComfachocoComfachocoAffiliationFound | ComfachocoComfachocoAffiliationText;
|
|
43
50
|
/**
|
|
44
51
|
* A successful answer.
|
|
45
52
|
*/
|
|
@@ -64,7 +71,7 @@ export interface ComfachocoLookupAffiliationServiceUnavailableError {
|
|
|
64
71
|
metadata: ResponseMetadata;
|
|
65
72
|
success: false;
|
|
66
73
|
}
|
|
67
|
-
export type ComfachocoLookupAffiliationServiceUnavailableFailure = UpstreamUnavailableFailure |
|
|
74
|
+
export type ComfachocoLookupAffiliationServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure | ComfachocoProviderSessionExpiredFailure;
|
|
68
75
|
/**
|
|
69
76
|
* A failed answer.
|
|
70
77
|
*/
|
|
@@ -90,7 +97,7 @@ export interface ComfachocoLookupAffiliationUnprocessableContentError {
|
|
|
90
97
|
metadata: ResponseMetadata;
|
|
91
98
|
success: false;
|
|
92
99
|
}
|
|
93
|
-
export type ComfachocoLookupAffiliationUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure |
|
|
100
|
+
export type ComfachocoLookupAffiliationUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure | CredentialsRejectedFailure;
|
|
94
101
|
export declare const ComfachocoComfachocoAffiliationFoundCodec: import("../../_/codec.js").Codec;
|
|
95
102
|
export declare const ComfachocoComfachocoAffiliationNotFoundCodec: import("../../_/codec.js").Codec;
|
|
96
103
|
export declare const ComfachocoLookupAffiliationResultCodec: import("../../_/codec.js").Codec;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { OutcomeUnknownFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
-
import type {
|
|
1
|
+
import type { CredentialsRejectedFailure, OutcomeUnknownFailure, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { ComfachocoLoginCoolingDownFailure, ComfachocoMemberIdentityMismatchFailure, ComfachocoProviderAccountInactiveFailure, ComfachocoProviderSessionExpiredFailure } from "../models.js";
|
|
3
3
|
export interface ComfachocoComfachocoConnection {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
@@ -30,7 +30,7 @@ export interface ComfachocoDeleteConnectionBadGatewayError {
|
|
|
30
30
|
metadata: ResponseMetadata;
|
|
31
31
|
success: false;
|
|
32
32
|
}
|
|
33
|
-
export type ComfachocoDeleteConnectionBadGatewayFailure = OutcomeUnknownFailure |
|
|
33
|
+
export type ComfachocoDeleteConnectionBadGatewayFailure = OutcomeUnknownFailure | ProviderProtocolChangedFailure | ComfachocoMemberIdentityMismatchFailure;
|
|
34
34
|
/**
|
|
35
35
|
* A failed answer.
|
|
36
36
|
*/
|
|
@@ -43,7 +43,7 @@ export interface ComfachocoDeleteConnectionServiceUnavailableError {
|
|
|
43
43
|
metadata: ResponseMetadata;
|
|
44
44
|
success: false;
|
|
45
45
|
}
|
|
46
|
-
export type ComfachocoDeleteConnectionServiceUnavailableFailure = UpstreamUnavailableFailure |
|
|
46
|
+
export type ComfachocoDeleteConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure | ComfachocoProviderSessionExpiredFailure;
|
|
47
47
|
/**
|
|
48
48
|
* A failed answer.
|
|
49
49
|
*/
|
|
@@ -69,7 +69,7 @@ export interface ComfachocoDeleteConnectionUnprocessableContentError {
|
|
|
69
69
|
metadata: ResponseMetadata;
|
|
70
70
|
success: false;
|
|
71
71
|
}
|
|
72
|
-
export type ComfachocoDeleteConnectionUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure |
|
|
72
|
+
export type ComfachocoDeleteConnectionUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure | CredentialsRejectedFailure;
|
|
73
73
|
/**
|
|
74
74
|
* A failed answer.
|
|
75
75
|
*/
|
|
@@ -82,7 +82,7 @@ export interface ComfachocoGetConnectionBadGatewayError {
|
|
|
82
82
|
metadata: ResponseMetadata;
|
|
83
83
|
success: false;
|
|
84
84
|
}
|
|
85
|
-
export type ComfachocoGetConnectionBadGatewayFailure = OutcomeUnknownFailure |
|
|
85
|
+
export type ComfachocoGetConnectionBadGatewayFailure = OutcomeUnknownFailure | ProviderProtocolChangedFailure | ComfachocoMemberIdentityMismatchFailure;
|
|
86
86
|
/**
|
|
87
87
|
* A failed answer.
|
|
88
88
|
*/
|
|
@@ -95,7 +95,7 @@ export interface ComfachocoGetConnectionServiceUnavailableError {
|
|
|
95
95
|
metadata: ResponseMetadata;
|
|
96
96
|
success: false;
|
|
97
97
|
}
|
|
98
|
-
export type ComfachocoGetConnectionServiceUnavailableFailure = UpstreamUnavailableFailure |
|
|
98
|
+
export type ComfachocoGetConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure | ComfachocoProviderSessionExpiredFailure;
|
|
99
99
|
/**
|
|
100
100
|
* A failed answer.
|
|
101
101
|
*/
|
|
@@ -121,7 +121,7 @@ export interface ComfachocoGetConnectionUnprocessableContentError {
|
|
|
121
121
|
metadata: ResponseMetadata;
|
|
122
122
|
success: false;
|
|
123
123
|
}
|
|
124
|
-
export type ComfachocoGetConnectionUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure |
|
|
124
|
+
export type ComfachocoGetConnectionUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure | CredentialsRejectedFailure;
|
|
125
125
|
/**
|
|
126
126
|
* A failed answer.
|
|
127
127
|
*/
|
|
@@ -134,7 +134,7 @@ export interface ComfachocoVerifyConnectionBadGatewayError {
|
|
|
134
134
|
metadata: ResponseMetadata;
|
|
135
135
|
success: false;
|
|
136
136
|
}
|
|
137
|
-
export type ComfachocoVerifyConnectionBadGatewayFailure = OutcomeUnknownFailure |
|
|
137
|
+
export type ComfachocoVerifyConnectionBadGatewayFailure = OutcomeUnknownFailure | ProviderProtocolChangedFailure | ComfachocoMemberIdentityMismatchFailure;
|
|
138
138
|
export interface ComfachocoVerifyConnectionBody {
|
|
139
139
|
documentType: "CC";
|
|
140
140
|
name: string;
|
|
@@ -174,7 +174,7 @@ export interface ComfachocoVerifyConnectionServiceUnavailableError {
|
|
|
174
174
|
metadata: ResponseMetadata;
|
|
175
175
|
success: false;
|
|
176
176
|
}
|
|
177
|
-
export type ComfachocoVerifyConnectionServiceUnavailableFailure = UpstreamUnavailableFailure |
|
|
177
|
+
export type ComfachocoVerifyConnectionServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure | ComfachocoProviderSessionExpiredFailure;
|
|
178
178
|
/**
|
|
179
179
|
* A failed answer.
|
|
180
180
|
*/
|
|
@@ -200,6 +200,6 @@ export interface ComfachocoVerifyConnectionUnprocessableContentError {
|
|
|
200
200
|
metadata: ResponseMetadata;
|
|
201
201
|
success: false;
|
|
202
202
|
}
|
|
203
|
-
export type ComfachocoVerifyConnectionUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure |
|
|
203
|
+
export type ComfachocoVerifyConnectionUnprocessableContentFailure = ComfachocoProviderAccountInactiveFailure | CredentialsRejectedFailure;
|
|
204
204
|
export declare const ComfachocoComfachocoConnectionCodec: import("../../_/codec.js").Codec;
|
|
205
205
|
export declare const ComfachocoComfachocoConnectionResponseCodec: 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, } from "./client.js";
|
|
5
|
-
export type { ComfachocoConnectionNotFoundError, ComfachocoConnectionNotFoundFailure, ComfachocoConnectionRequiredError, ComfachocoConnectionRequiredFailure,
|
|
5
|
+
export type { ComfachocoConnectionNotFoundError, ComfachocoConnectionNotFoundFailure, ComfachocoConnectionRequiredError, ComfachocoConnectionRequiredFailure, ComfachocoLoginCoolingDownFailure, ComfachocoMemberIdentityMismatchFailure, ComfachocoProviderAccountInactiveFailure, ComfachocoProviderSessionExpiredFailure, } from "./models.js";
|
|
@@ -71,27 +71,6 @@ export interface ComfachocoConnectionRequiredFailure {
|
|
|
71
71
|
*/
|
|
72
72
|
retryable: false;
|
|
73
73
|
}
|
|
74
|
-
/**
|
|
75
|
-
* The provider refused the credentials.
|
|
76
|
-
*/
|
|
77
|
-
export interface ComfachocoCredentialsRejectedFailure {
|
|
78
|
-
/**
|
|
79
|
-
* The failure code, stable across releases.
|
|
80
|
-
*/
|
|
81
|
-
code: "CREDENTIALS_REJECTED";
|
|
82
|
-
/**
|
|
83
|
-
* No fields.
|
|
84
|
-
*/
|
|
85
|
-
data: Empty;
|
|
86
|
-
/**
|
|
87
|
-
* What went wrong, for people; it never contains input values.
|
|
88
|
-
*/
|
|
89
|
-
message: string;
|
|
90
|
-
/**
|
|
91
|
-
* Whether repeating the same request may succeed.
|
|
92
|
-
*/
|
|
93
|
-
retryable: false;
|
|
94
|
-
}
|
|
95
74
|
/**
|
|
96
75
|
* Provider sign-in is cooling down.
|
|
97
76
|
*/
|
|
@@ -155,27 +134,6 @@ export interface ComfachocoProviderAccountInactiveFailure {
|
|
|
155
134
|
*/
|
|
156
135
|
retryable: false;
|
|
157
136
|
}
|
|
158
|
-
/**
|
|
159
|
-
* The provider returned an unrecognized response.
|
|
160
|
-
*/
|
|
161
|
-
export interface ComfachocoProviderProtocolChangedFailure {
|
|
162
|
-
/**
|
|
163
|
-
* The failure code, stable across releases.
|
|
164
|
-
*/
|
|
165
|
-
code: "PROVIDER_PROTOCOL_CHANGED";
|
|
166
|
-
/**
|
|
167
|
-
* No fields.
|
|
168
|
-
*/
|
|
169
|
-
data: Empty;
|
|
170
|
-
/**
|
|
171
|
-
* What went wrong, for people; it never contains input values.
|
|
172
|
-
*/
|
|
173
|
-
message: string;
|
|
174
|
-
/**
|
|
175
|
-
* Whether repeating the same request may succeed.
|
|
176
|
-
*/
|
|
177
|
-
retryable: false;
|
|
178
|
-
}
|
|
179
137
|
/**
|
|
180
138
|
* The provider session expired.
|
|
181
139
|
*/
|
|
@@ -197,24 +155,3 @@ export interface ComfachocoProviderSessionExpiredFailure {
|
|
|
197
155
|
*/
|
|
198
156
|
retryable: true;
|
|
199
157
|
}
|
|
200
|
-
/**
|
|
201
|
-
* The provider could not complete the request.
|
|
202
|
-
*/
|
|
203
|
-
export interface ComfachocoProviderUnavailableFailure {
|
|
204
|
-
/**
|
|
205
|
-
* The failure code, stable across releases.
|
|
206
|
-
*/
|
|
207
|
-
code: "PROVIDER_UNAVAILABLE";
|
|
208
|
-
/**
|
|
209
|
-
* No fields.
|
|
210
|
-
*/
|
|
211
|
-
data: Empty;
|
|
212
|
-
/**
|
|
213
|
-
* What went wrong, for people; it never contains input values.
|
|
214
|
-
*/
|
|
215
|
-
message: string;
|
|
216
|
-
/**
|
|
217
|
-
* Whether repeating the same request may succeed.
|
|
218
|
-
*/
|
|
219
|
-
retryable: true;
|
|
220
|
-
}
|
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 { Connection, ConnectionNotFoundError, ConnectionNotFoundFailure, ConnectionPage, ConnectionPageResponse, ConnectionResponse, DeletedObject, DeletedObjectResponse, Empty, Failure, ForbiddenError, ForbiddenFailure, HttpsUrl, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata, SignedUrl, UnauthorizedError, UnauthorizedFailure, UnsupportedMediaTypeError, UnsupportedMediaTypeFailure, UpstreamTimeoutError, UpstreamTimeoutFailure, UpstreamUnavailableError, UpstreamUnavailableFailure, ValidationIssue, VerifyConnectionResult, VerifyConnectionResultResponse, } from "./models.js";
|
|
5
|
+
export type { Connection, ConnectionNotFoundError, ConnectionNotFoundFailure, ConnectionPage, ConnectionPageResponse, ConnectionResponse, CredentialsRejectedFailure, DeletedObject, DeletedObjectResponse, Empty, Failure, ForbiddenError, ForbiddenFailure, HttpsUrl, InternalError, InternalFailure, InvalidInputError, InvalidInputFailure, InvalidInputFailureData, OutcomeUnknownError, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedError, RateLimitedFailure, RequestTooLargeError, RequestTooLargeFailure, ResponseMetadata, SignedUrl, UnauthorizedError, UnauthorizedFailure, UnsupportedMediaTypeError, UnsupportedMediaTypeFailure, UpstreamTimeoutError, UpstreamTimeoutFailure, UpstreamUnavailableError, UpstreamUnavailableFailure, ValidationIssue, VerifyConnectionResult, VerifyConnectionResultResponse, } from "./models.js";
|
package/dist/models.d.ts
CHANGED
|
@@ -78,6 +78,27 @@ export interface ConnectionResponse {
|
|
|
78
78
|
metadata: ResponseMetadata;
|
|
79
79
|
success: true;
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* The provider refused the credentials.
|
|
83
|
+
*/
|
|
84
|
+
export interface CredentialsRejectedFailure {
|
|
85
|
+
/**
|
|
86
|
+
* The failure code, stable across releases.
|
|
87
|
+
*/
|
|
88
|
+
code: "CREDENTIALS_REJECTED";
|
|
89
|
+
/**
|
|
90
|
+
* No fields.
|
|
91
|
+
*/
|
|
92
|
+
data: Empty;
|
|
93
|
+
/**
|
|
94
|
+
* What went wrong, for people; it never contains input values.
|
|
95
|
+
*/
|
|
96
|
+
message: string;
|
|
97
|
+
/**
|
|
98
|
+
* Whether repeating the same request may succeed.
|
|
99
|
+
*/
|
|
100
|
+
retryable: false;
|
|
101
|
+
}
|
|
81
102
|
export interface DeletedObject {
|
|
82
103
|
deleted: true;
|
|
83
104
|
/**
|
|
@@ -286,6 +307,48 @@ export interface PageInfo {
|
|
|
286
307
|
*/
|
|
287
308
|
previousCursor: string | null;
|
|
288
309
|
}
|
|
310
|
+
/**
|
|
311
|
+
* The provider returned an unrecognized response.
|
|
312
|
+
*/
|
|
313
|
+
export interface ProviderProtocolChangedFailure {
|
|
314
|
+
/**
|
|
315
|
+
* The failure code, stable across releases.
|
|
316
|
+
*/
|
|
317
|
+
code: "PROVIDER_PROTOCOL_CHANGED";
|
|
318
|
+
/**
|
|
319
|
+
* No fields.
|
|
320
|
+
*/
|
|
321
|
+
data: Empty;
|
|
322
|
+
/**
|
|
323
|
+
* What went wrong, for people; it never contains input values.
|
|
324
|
+
*/
|
|
325
|
+
message: string;
|
|
326
|
+
/**
|
|
327
|
+
* Whether repeating the same request may succeed.
|
|
328
|
+
*/
|
|
329
|
+
retryable: false;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* The provider could not complete the request.
|
|
333
|
+
*/
|
|
334
|
+
export interface ProviderUnavailableFailure {
|
|
335
|
+
/**
|
|
336
|
+
* The failure code, stable across releases.
|
|
337
|
+
*/
|
|
338
|
+
code: "PROVIDER_UNAVAILABLE";
|
|
339
|
+
/**
|
|
340
|
+
* No fields.
|
|
341
|
+
*/
|
|
342
|
+
data: Empty;
|
|
343
|
+
/**
|
|
344
|
+
* What went wrong, for people; it never contains input values.
|
|
345
|
+
*/
|
|
346
|
+
message: string;
|
|
347
|
+
/**
|
|
348
|
+
* Whether repeating the same request may succeed.
|
|
349
|
+
*/
|
|
350
|
+
retryable: true;
|
|
351
|
+
}
|
|
289
352
|
/**
|
|
290
353
|
* A failed answer.
|
|
291
354
|
*/
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
+
import type { OficlinicListAffiliateTypesResultResponse } 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 affiliate types
|
|
12
|
+
*
|
|
13
|
+
* List the affiliate types e-Oficlinic offers for one regime, in the
|
|
14
|
+
* provider's order, as its booking screen loads them (cbtipoafiliado). The
|
|
15
|
+
* regime must be one list_regimes answers, or BOOKING_OPTION_NOT_FOUND. A
|
|
16
|
+
* booking takes one as classification.affiliateType, listed for its
|
|
17
|
+
* classification.regime. Which one applies to a patient is the clinic's
|
|
18
|
+
* decision, never derived here. Pass pageInfo.nextCursor with the same
|
|
19
|
+
* regimeId for more. agentMode true answers concise Spanish text instead.
|
|
20
|
+
*/
|
|
21
|
+
list(request: ListRequest, options?: RequestOptions): Promise<ListResponse>;
|
|
22
|
+
}
|
|
23
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
24
|
+
export declare function bind(transport: Transport): Client;
|
|
25
|
+
export interface ListRequest {
|
|
26
|
+
/**
|
|
27
|
+
* An Account connection id of the caller's organization.
|
|
28
|
+
*/
|
|
29
|
+
connectionId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A regime id from list_regimes.
|
|
32
|
+
*/
|
|
33
|
+
regimeId: string;
|
|
34
|
+
/**
|
|
35
|
+
* An opaque cursor from a previous page's pageInfo.nextCursor or
|
|
36
|
+
* pageInfo.previousCursor.
|
|
37
|
+
*/
|
|
38
|
+
cursor?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Direction to traverse the stable keyset ordering from the supplied cursor.
|
|
41
|
+
*/
|
|
42
|
+
direction?: "forward" | "backward";
|
|
43
|
+
/**
|
|
44
|
+
* Maximum items returned in one page. Defaults to 25; larger reads require
|
|
45
|
+
* another cursor.
|
|
46
|
+
*/
|
|
47
|
+
limit?: number;
|
|
48
|
+
/**
|
|
49
|
+
* true answers { text }: concise Spanish facts for a messaging or voice
|
|
50
|
+
* agent, with the short ids and the cursor needed to continue. false, the
|
|
51
|
+
* default, answers the structured object.
|
|
52
|
+
*/
|
|
53
|
+
agentMode?: boolean;
|
|
54
|
+
}
|
|
55
|
+
export type ListResponse = OficlinicListAffiliateTypesResultResponse;
|
|
@@ -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/affiliate-types",
|
|
15
|
+
query: { connectionId: "connectionId", regimeId: "regimeId", cursor: "cursor", direction: "direction", limit: "limit", agentMode: "agentMode" },
|
|
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 { OficlinicAffiliateType, OficlinicAffiliateTypePage, OficlinicListAffiliateTypesBadGatewayError, OficlinicListAffiliateTypesBadGatewayFailure, OficlinicListAffiliateTypesBadRequestError, OficlinicListAffiliateTypesBadRequestFailure, OficlinicListAffiliateTypesConflictError, OficlinicListAffiliateTypesConflictFailure, OficlinicListAffiliateTypesNotFoundError, OficlinicListAffiliateTypesNotFoundFailure, OficlinicListAffiliateTypesResult, OficlinicListAffiliateTypesResultResponse, OficlinicListAffiliateTypesServiceUnavailableError, OficlinicListAffiliateTypesServiceUnavailableFailure, OficlinicListAffiliateTypesTooManyRequestsError, OficlinicListAffiliateTypesTooManyRequestsFailure, OficlinicListAffiliateTypesUnprocessableContentError, OficlinicListAffiliateTypesUnprocessableContentFailure, } from "./models.js";
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { CredentialsRejectedFailure, InvalidInputFailure, OutcomeUnknownFailure, PageInfo, ProviderProtocolChangedFailure, ProviderUnavailableFailure, RateLimitedFailure, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { OficlinicAgentText, OficlinicBookingOptionNotFoundFailure, OficlinicConnectionBusyFailure, OficlinicConnectionNotActiveFailure, OficlinicConnectionNotFoundFailure, OficlinicConnectionRequiredFailure, OficlinicContextNotAvailableFailure, OficlinicInvalidCursorFailure, OficlinicLoginCoolingDownFailure, OficlinicProviderIdentityMismatchFailure, OficlinicReauthenticationRequiredFailure, OficlinicSignInOutcomeUnknownFailure } from "../models.js";
|
|
3
|
+
export interface OficlinicAffiliateType {
|
|
4
|
+
/**
|
|
5
|
+
* The provider's affiliate type code (Codigo): pass it as
|
|
6
|
+
* classification.affiliateType.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* The affiliate type's name (Descripcion).
|
|
11
|
+
*/
|
|
12
|
+
name: string;
|
|
13
|
+
/**
|
|
14
|
+
* The regime it was listed for.
|
|
15
|
+
*/
|
|
16
|
+
regimeId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface OficlinicAffiliateTypePage {
|
|
19
|
+
/**
|
|
20
|
+
* Items admitted by this resource contract within the verified organization.
|
|
21
|
+
*/
|
|
22
|
+
data: OficlinicAffiliateType[];
|
|
23
|
+
/**
|
|
24
|
+
* Discriminator for a resource list response.
|
|
25
|
+
*/
|
|
26
|
+
object: "list";
|
|
27
|
+
/**
|
|
28
|
+
* Opaque navigation cursors for this page’s stable keyset order.
|
|
29
|
+
*/
|
|
30
|
+
pageInfo: PageInfo;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A failed answer.
|
|
34
|
+
*/
|
|
35
|
+
export interface OficlinicListAffiliateTypesBadGatewayError {
|
|
36
|
+
data: null;
|
|
37
|
+
error: OficlinicListAffiliateTypesBadGatewayFailure;
|
|
38
|
+
/**
|
|
39
|
+
* What every answer carries besides its data or error.
|
|
40
|
+
*/
|
|
41
|
+
metadata: ResponseMetadata;
|
|
42
|
+
success: false;
|
|
43
|
+
}
|
|
44
|
+
export type OficlinicListAffiliateTypesBadGatewayFailure = OutcomeUnknownFailure | OficlinicSignInOutcomeUnknownFailure | ProviderProtocolChangedFailure;
|
|
45
|
+
/**
|
|
46
|
+
* A failed answer.
|
|
47
|
+
*/
|
|
48
|
+
export interface OficlinicListAffiliateTypesBadRequestError {
|
|
49
|
+
data: null;
|
|
50
|
+
error: OficlinicListAffiliateTypesBadRequestFailure;
|
|
51
|
+
/**
|
|
52
|
+
* What every answer carries besides its data or error.
|
|
53
|
+
*/
|
|
54
|
+
metadata: ResponseMetadata;
|
|
55
|
+
success: false;
|
|
56
|
+
}
|
|
57
|
+
export type OficlinicListAffiliateTypesBadRequestFailure = InvalidInputFailure | OficlinicInvalidCursorFailure;
|
|
58
|
+
/**
|
|
59
|
+
* A failed answer.
|
|
60
|
+
*/
|
|
61
|
+
export interface OficlinicListAffiliateTypesConflictError {
|
|
62
|
+
data: null;
|
|
63
|
+
error: OficlinicListAffiliateTypesConflictFailure;
|
|
64
|
+
/**
|
|
65
|
+
* What every answer carries besides its data or error.
|
|
66
|
+
*/
|
|
67
|
+
metadata: ResponseMetadata;
|
|
68
|
+
success: false;
|
|
69
|
+
}
|
|
70
|
+
export type OficlinicListAffiliateTypesConflictFailure = OficlinicConnectionRequiredFailure | OficlinicConnectionNotActiveFailure | OficlinicConnectionBusyFailure | OficlinicReauthenticationRequiredFailure;
|
|
71
|
+
/**
|
|
72
|
+
* A failed answer.
|
|
73
|
+
*/
|
|
74
|
+
export interface OficlinicListAffiliateTypesNotFoundError {
|
|
75
|
+
data: null;
|
|
76
|
+
error: OficlinicListAffiliateTypesNotFoundFailure;
|
|
77
|
+
/**
|
|
78
|
+
* What every answer carries besides its data or error.
|
|
79
|
+
*/
|
|
80
|
+
metadata: ResponseMetadata;
|
|
81
|
+
success: false;
|
|
82
|
+
}
|
|
83
|
+
export type OficlinicListAffiliateTypesNotFoundFailure = OficlinicConnectionNotFoundFailure | OficlinicBookingOptionNotFoundFailure;
|
|
84
|
+
export type OficlinicListAffiliateTypesResult = OficlinicAffiliateTypePage | OficlinicAgentText;
|
|
85
|
+
/**
|
|
86
|
+
* A successful answer.
|
|
87
|
+
*/
|
|
88
|
+
export interface OficlinicListAffiliateTypesResultResponse {
|
|
89
|
+
data: OficlinicListAffiliateTypesResult;
|
|
90
|
+
error: null;
|
|
91
|
+
/**
|
|
92
|
+
* What every answer carries besides its data or error.
|
|
93
|
+
*/
|
|
94
|
+
metadata: ResponseMetadata;
|
|
95
|
+
success: true;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* A failed answer.
|
|
99
|
+
*/
|
|
100
|
+
export interface OficlinicListAffiliateTypesServiceUnavailableError {
|
|
101
|
+
data: null;
|
|
102
|
+
error: OficlinicListAffiliateTypesServiceUnavailableFailure;
|
|
103
|
+
/**
|
|
104
|
+
* What every answer carries besides its data or error.
|
|
105
|
+
*/
|
|
106
|
+
metadata: ResponseMetadata;
|
|
107
|
+
success: false;
|
|
108
|
+
}
|
|
109
|
+
export type OficlinicListAffiliateTypesServiceUnavailableFailure = UpstreamUnavailableFailure | ProviderUnavailableFailure;
|
|
110
|
+
/**
|
|
111
|
+
* A failed answer.
|
|
112
|
+
*/
|
|
113
|
+
export interface OficlinicListAffiliateTypesTooManyRequestsError {
|
|
114
|
+
data: null;
|
|
115
|
+
error: OficlinicListAffiliateTypesTooManyRequestsFailure;
|
|
116
|
+
/**
|
|
117
|
+
* What every answer carries besides its data or error.
|
|
118
|
+
*/
|
|
119
|
+
metadata: ResponseMetadata;
|
|
120
|
+
success: false;
|
|
121
|
+
}
|
|
122
|
+
export type OficlinicListAffiliateTypesTooManyRequestsFailure = RateLimitedFailure | OficlinicLoginCoolingDownFailure;
|
|
123
|
+
/**
|
|
124
|
+
* A failed answer.
|
|
125
|
+
*/
|
|
126
|
+
export interface OficlinicListAffiliateTypesUnprocessableContentError {
|
|
127
|
+
data: null;
|
|
128
|
+
error: OficlinicListAffiliateTypesUnprocessableContentFailure;
|
|
129
|
+
/**
|
|
130
|
+
* What every answer carries besides its data or error.
|
|
131
|
+
*/
|
|
132
|
+
metadata: ResponseMetadata;
|
|
133
|
+
success: false;
|
|
134
|
+
}
|
|
135
|
+
export type OficlinicListAffiliateTypesUnprocessableContentFailure = CredentialsRejectedFailure | OficlinicContextNotAvailableFailure | OficlinicProviderIdentityMismatchFailure;
|