@arbol-ai/sdk 4.0.0 → 5.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 +15 -3
- package/dist/agenda/appointments/client.d.ts +165 -52
- package/dist/agenda/appointments/client.js +19 -11
- package/dist/agenda/appointments/index.d.ts +1 -1
- package/dist/agenda/availability/client.d.ts +11 -72
- package/dist/agenda/availability/client.js +5 -14
- package/dist/agenda/availability/index.d.ts +1 -1
- package/dist/agenda/bookingLocations/client.d.ts +51 -0
- package/dist/agenda/bookingLocations/client.js +19 -0
- package/dist/agenda/bookingLocations/index.d.ts +4 -0
- package/dist/agenda/bookingLocations/index.js +4 -0
- package/dist/agenda/bookingOfferings/client.d.ts +82 -0
- package/dist/agenda/bookingOfferings/client.js +18 -0
- package/dist/agenda/bookingOfferings/index.d.ts +5 -0
- package/dist/agenda/bookingOfferings/index.js +4 -0
- package/dist/agenda/bookingOfferings/models.d.ts +92 -0
- package/dist/agenda/bookingOfferings/models.js +3 -0
- package/dist/agenda/bookingRequirements/client.d.ts +118 -0
- package/dist/agenda/bookingRequirements/client.js +18 -0
- package/dist/agenda/bookingRequirements/index.d.ts +4 -0
- package/dist/agenda/bookingRequirements/index.js +4 -0
- package/dist/agenda/bookingSlots/client.d.ts +78 -0
- package/dist/agenda/bookingSlots/client.js +19 -0
- package/dist/agenda/bookingSlots/index.d.ts +4 -0
- package/dist/agenda/bookingSlots/index.js +4 -0
- package/dist/agenda/bookings/client.d.ts +44 -375
- package/dist/agenda/bookings/client.js +10 -52
- package/dist/agenda/bookings/index.d.ts +2 -2
- package/dist/agenda/bookings/models.d.ts +0 -92
- package/dist/agenda/client.d.ts +14 -0
- package/dist/agenda/client.js +35 -0
- package/dist/agenda/firstAvailability/client.d.ts +74 -0
- package/dist/agenda/firstAvailability/client.js +19 -0
- package/dist/agenda/firstAvailability/index.d.ts +5 -0
- package/dist/agenda/firstAvailability/index.js +4 -0
- package/dist/agenda/firstAvailability/models.d.ts +31 -0
- package/dist/agenda/firstAvailability/models.js +7 -0
- package/dist/agenda/index.d.ts +1 -1
- package/dist/agenda/models.d.ts +19 -94
- package/dist/agenda/models.js +0 -3
- package/dist/agenda/nearestBookingSlots/client.d.ts +93 -0
- package/dist/agenda/nearestBookingSlots/client.js +19 -0
- package/dist/agenda/nearestBookingSlots/index.d.ts +5 -0
- package/dist/agenda/nearestBookingSlots/index.js +4 -0
- package/dist/agenda/nearestBookingSlots/models.d.ts +38 -0
- package/dist/agenda/nearestBookingSlots/models.js +7 -0
- package/dist/agenda/offerings/client.d.ts +2 -2
- package/dist/agenda/offerings/client.js +1 -1
- package/dist/agenda/resourceSchedules/client.d.ts +75 -0
- package/dist/agenda/resourceSchedules/client.js +19 -0
- package/dist/agenda/resourceSchedules/index.d.ts +4 -0
- package/dist/agenda/resourceSchedules/index.js +4 -0
- package/dist/agenda/resources/client.d.ts +2 -2
- package/dist/agenda/resources/client.js +1 -1
- package/dist/agenda/scheduleRules/client.d.ts +125 -85
- package/dist/agenda/scheduleRules/client.js +17 -16
- package/dist/agenda/scheduleRules/index.d.ts +2 -1
- package/dist/agenda/scheduleRules/models.d.ts +33 -0
- package/dist/agenda/scheduleRules/models.js +6 -0
- package/dist/agenda/services/client.d.ts +2 -2
- package/dist/agenda/services/client.js +1 -1
- package/dist/agenda/waitlist/client.d.ts +40 -29
- package/dist/agenda/waitlist/client.js +4 -4
- package/dist/agenda/waitlist/index.d.ts +1 -1
- package/dist/agenda/waitlist/models.d.ts +17 -0
- package/dist/agenda/waitlist/models.js +4 -1
- package/dist/axxa/authorizations/client.d.ts +3 -35
- package/dist/axxa/authorizations/client.js +1 -1
- package/dist/axxa/authorizations/index.d.ts +1 -0
- package/dist/axxa/authorizations/models.d.ts +112 -0
- package/dist/axxa/authorizations/models.js +3 -0
- package/dist/axxa/connections/client.d.ts +19 -45
- package/dist/axxa/connections/client.js +10 -11
- package/dist/axxa/connections/index.d.ts +1 -0
- package/dist/axxa/connections/models.d.ts +269 -0
- package/dist/axxa/connections/models.js +3 -0
- package/dist/axxa/eligibility/client.d.ts +3 -25
- package/dist/axxa/eligibility/client.js +1 -1
- package/dist/axxa/eligibility/index.d.ts +1 -0
- package/dist/axxa/eligibility/models.d.ts +102 -0
- package/dist/axxa/eligibility/models.js +3 -0
- package/dist/axxa/index.d.ts +1 -1
- package/dist/axxa/models.d.ts +243 -168
- package/dist/axxa/provider/client.d.ts +5 -11
- package/dist/axxa/provider/client.js +1 -1
- package/dist/axxa/provider/index.d.ts +1 -0
- package/dist/axxa/provider/models.d.ts +87 -0
- package/dist/axxa/provider/models.js +3 -0
- package/dist/gmedic/agendaServices/client.d.ts +13 -9
- package/dist/gmedic/agendaServices/client.js +2 -2
- package/dist/gmedic/agendaServices/index.d.ts +1 -1
- package/dist/gmedic/agendaServices/models.d.ts +53 -1
- package/dist/gmedic/agendas/client.d.ts +16 -9
- package/dist/gmedic/agendas/client.js +2 -2
- package/dist/gmedic/agendas/index.d.ts +1 -1
- package/dist/gmedic/agendas/models.d.ts +53 -1
- package/dist/gmedic/appointments/client.d.ts +34 -241
- package/dist/gmedic/appointments/client.js +12 -10
- package/dist/gmedic/appointments/index.d.ts +1 -1
- package/dist/gmedic/appointments/models.d.ts +518 -1
- package/dist/gmedic/appointments/models.js +28 -2
- package/dist/gmedic/availability/client.d.ts +24 -10
- package/dist/gmedic/availability/client.js +4 -3
- package/dist/gmedic/availability/index.d.ts +1 -1
- package/dist/gmedic/availability/models.d.ts +57 -1
- package/dist/gmedic/availability/models.js +7 -1
- package/dist/gmedic/availableDays/client.d.ts +11 -8
- package/dist/gmedic/availableDays/client.js +1 -1
- package/dist/gmedic/availableDays/index.d.ts +1 -1
- package/dist/gmedic/availableDays/models.d.ts +53 -1
- package/dist/gmedic/branchOffices/client.d.ts +13 -9
- package/dist/gmedic/branchOffices/client.js +2 -2
- package/dist/gmedic/branchOffices/index.d.ts +1 -1
- package/dist/gmedic/branchOffices/models.d.ts +58 -1
- package/dist/gmedic/connections/client.d.ts +19 -42
- package/dist/gmedic/connections/client.js +10 -11
- package/dist/gmedic/connections/index.d.ts +1 -0
- package/dist/gmedic/connections/models.d.ts +162 -0
- package/dist/gmedic/connections/models.js +3 -0
- package/dist/gmedic/dictionaryEntries/client.d.ts +20 -10
- package/dist/gmedic/dictionaryEntries/client.js +2 -2
- package/dist/gmedic/dictionaryEntries/index.d.ts +1 -1
- package/dist/gmedic/dictionaryEntries/models.d.ts +53 -1
- package/dist/gmedic/healthPartners/client.d.ts +19 -9
- package/dist/gmedic/healthPartners/client.js +2 -2
- package/dist/gmedic/healthPartners/index.d.ts +1 -1
- package/dist/gmedic/healthPartners/models.d.ts +53 -1
- package/dist/gmedic/healthPromotionEntities/client.d.ts +20 -10
- package/dist/gmedic/healthPromotionEntities/client.js +2 -2
- package/dist/gmedic/healthPromotionEntities/index.d.ts +1 -1
- package/dist/gmedic/healthPromotionEntities/models.d.ts +53 -1
- package/dist/gmedic/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/client.d.ts +20 -10
- package/dist/gmedic/laboralRiskManagers/client.js +2 -2
- package/dist/gmedic/laboralRiskManagers/index.d.ts +1 -1
- package/dist/gmedic/laboralRiskManagers/models.d.ts +53 -1
- package/dist/gmedic/models.d.ts +194 -133
- package/dist/gmedic/occupations/client.d.ts +19 -9
- package/dist/gmedic/occupations/client.js +2 -2
- package/dist/gmedic/occupations/index.d.ts +1 -1
- package/dist/gmedic/occupations/models.d.ts +53 -1
- package/dist/gmedic/patientNotes/client.d.ts +25 -55
- package/dist/gmedic/patientNotes/client.js +5 -5
- package/dist/gmedic/patientNotes/index.d.ts +1 -1
- package/dist/gmedic/patientNotes/models.d.ts +232 -1
- package/dist/gmedic/patients/client.d.ts +40 -359
- package/dist/gmedic/patients/client.js +13 -5
- package/dist/gmedic/patients/index.d.ts +2 -2
- package/dist/gmedic/patients/models.d.ts +795 -1
- package/dist/gmedic/services/client.d.ts +22 -16
- package/dist/gmedic/services/client.js +2 -2
- package/dist/gmedic/services/index.d.ts +1 -1
- package/dist/gmedic/services/models.d.ts +53 -3
- package/dist/gmedic/sessionPackages/client.d.ts +21 -58
- package/dist/gmedic/sessionPackages/client.js +5 -5
- package/dist/gmedic/sessionPackages/index.d.ts +1 -1
- package/dist/gmedic/sessionPackages/models.d.ts +183 -1
- package/dist/index.d.ts +1 -1
- package/dist/models.d.ts +61 -0
- package/dist/models.js +6 -0
- package/dist/nuevaEps/affiliations/client.js +1 -1
- package/dist/nuevaEps/affiliations/models.d.ts +3 -1
- package/dist/nuevaEps/connections/client.d.ts +9 -9
- package/dist/nuevaEps/connections/client.js +9 -9
- package/dist/nuevaEps/connections/index.d.ts +1 -1
- package/dist/nuevaEps/connections/models.d.ts +1 -47
- package/dist/nuevaEps/connections/models.js +1 -8
- package/dist/sura/affiliations/client.d.ts +3 -35
- package/dist/sura/affiliations/client.js +6 -6
- package/dist/sura/affiliations/index.d.ts +1 -0
- package/dist/sura/affiliations/models.d.ts +71 -0
- package/dist/sura/affiliations/models.js +8 -0
- package/dist/sura/appointments/client.d.ts +27 -327
- package/dist/sura/appointments/client.js +15 -21
- package/dist/sura/appointments/index.d.ts +2 -1
- package/dist/sura/appointments/models.d.ts +310 -0
- package/dist/sura/appointments/models.js +22 -0
- package/dist/sura/authorizations/client.d.ts +3 -43
- package/dist/sura/authorizations/client.js +6 -6
- package/dist/sura/authorizations/index.d.ts +1 -0
- package/dist/sura/authorizations/models.d.ts +79 -0
- package/dist/sura/authorizations/models.js +8 -0
- package/dist/sura/availability/client.d.ts +4 -68
- package/dist/sura/availability/client.js +9 -9
- package/dist/sura/availability/index.d.ts +2 -1
- package/dist/sura/availability/models.d.ts +103 -0
- package/dist/sura/availability/models.js +8 -0
- package/dist/sura/bookingOptions/client.d.ts +35 -0
- package/dist/sura/bookingOptions/client.js +19 -0
- package/dist/sura/bookingOptions/index.d.ts +5 -0
- package/dist/sura/bookingOptions/index.js +4 -0
- package/dist/sura/bookingOptions/models.d.ts +143 -0
- package/dist/sura/bookingOptions/models.js +8 -0
- package/dist/sura/client.d.ts +2 -0
- package/dist/sura/client.js +5 -0
- package/dist/sura/connections/client.d.ts +20 -98
- package/dist/sura/connections/client.js +10 -10
- package/dist/sura/connections/index.d.ts +1 -1
- package/dist/sura/connections/models.d.ts +102 -1
- package/dist/sura/connections/models.js +6 -0
- package/dist/sura/copays/client.d.ts +4 -40
- package/dist/sura/copays/client.js +9 -9
- package/dist/sura/copays/index.d.ts +2 -1
- package/dist/sura/copays/models.d.ts +75 -0
- package/dist/sura/copays/models.js +8 -0
- package/dist/sura/index.d.ts +1 -1
- package/dist/sura/models.d.ts +204 -148
- package/dist/sura/models.js +20 -1
- package/dist/sura/operations/client.d.ts +2 -7
- package/dist/sura/operations/client.js +4 -4
- package/dist/sura/operations/index.d.ts +1 -0
- package/dist/sura/operations/models.d.ts +43 -0
- package/dist/sura/operations/models.js +8 -0
- package/dist/sura/patients/client.d.ts +3 -40
- package/dist/sura/patients/client.js +6 -6
- package/dist/sura/patients/index.d.ts +1 -0
- package/dist/sura/patients/models.d.ts +76 -0
- package/dist/sura/patients/models.js +8 -0
- package/dist/sura/professionals/client.d.ts +7 -9
- package/dist/sura/professionals/client.js +3 -4
- package/dist/sura/professionals/index.d.ts +1 -1
- package/dist/sura/professionals/models.d.ts +40 -1
- package/dist/sura/services/client.d.ts +7 -8
- package/dist/sura/services/client.js +3 -4
- package/dist/sura/services/index.d.ts +1 -0
- package/dist/sura/services/models.d.ts +40 -0
- package/dist/sura/services/models.js +3 -0
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +1 -16
- package/package.json +3 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { GmedicDictionaryEntrysPage } from "./models.js";
|
|
2
|
+
import type { GmedicDictionaryEntrysPageResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -9,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
|
|
|
9
8
|
}
|
|
10
9
|
export interface Client {
|
|
11
10
|
/**
|
|
12
|
-
* List dictionary
|
|
11
|
+
* List dictionary entries
|
|
13
12
|
*
|
|
14
13
|
* Use the organization gMedic account. Read-only request; provider failures
|
|
15
14
|
* are never empty results.
|
|
@@ -32,14 +31,25 @@ export interface ListRequest {
|
|
|
32
31
|
* another cursor.
|
|
33
32
|
*/
|
|
34
33
|
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The class.
|
|
36
|
+
*/
|
|
35
37
|
class?: string;
|
|
36
|
-
|
|
38
|
+
/**
|
|
39
|
+
* The dictionary entry id.
|
|
40
|
+
*/
|
|
41
|
+
dictionaryEntryId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name.
|
|
44
|
+
*/
|
|
37
45
|
name?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The connection id.
|
|
48
|
+
*/
|
|
38
49
|
connectionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Deprecated: use `dictionaryEntryId`. Answered until 2027-01-28.
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
39
54
|
}
|
|
40
|
-
export
|
|
41
|
-
data: GmedicDictionaryEntrysPage;
|
|
42
|
-
error: null;
|
|
43
|
-
metadata: GmedicResponseMetadata;
|
|
44
|
-
success: true;
|
|
45
|
-
}
|
|
55
|
+
export type ListResponse = GmedicDictionaryEntrysPageResponse;
|
|
@@ -12,7 +12,7 @@ export function bind(transport) {
|
|
|
12
12
|
const ListOperation = {
|
|
13
13
|
method: "GET",
|
|
14
14
|
route: "/v1/gmedic/dictionary-entries",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", class: "class",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", class: "class", dictionaryEntryId: "dictionaryEntryId", name: "name", connectionId: "connectionId", id: "id" },
|
|
16
16
|
response: null,
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
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
18
|
};
|
|
@@ -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, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicDictionaryEntrysPage } from "./models.js";
|
|
5
|
+
export type { GmedicDictionaryEntrysPage, GmedicDictionaryEntrysPageResponse, GmedicListDictionaryEntrysBadGatewayError, GmedicListDictionaryEntrysBadGatewayFailure, GmedicListDictionaryEntrysNotFoundError, GmedicListDictionaryEntrysNotFoundFailure, GmedicListDictionaryEntrysServiceUnavailableError, GmedicListDictionaryEntrysServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
2
3
|
export interface GmedicDictionaryEntrysPage {
|
|
3
4
|
/**
|
|
4
5
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -18,3 +19,54 @@ export interface GmedicDictionaryEntrysPage {
|
|
|
18
19
|
*/
|
|
19
20
|
pageInfo: PageInfo;
|
|
20
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* A successful answer.
|
|
24
|
+
*/
|
|
25
|
+
export interface GmedicDictionaryEntrysPageResponse {
|
|
26
|
+
data: GmedicDictionaryEntrysPage;
|
|
27
|
+
error: null;
|
|
28
|
+
/**
|
|
29
|
+
* What every answer carries besides its data or error.
|
|
30
|
+
*/
|
|
31
|
+
metadata: ResponseMetadata;
|
|
32
|
+
success: true;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A failed answer.
|
|
36
|
+
*/
|
|
37
|
+
export interface GmedicListDictionaryEntrysBadGatewayError {
|
|
38
|
+
data: null;
|
|
39
|
+
error: GmedicListDictionaryEntrysBadGatewayFailure;
|
|
40
|
+
/**
|
|
41
|
+
* What every answer carries besides its data or error.
|
|
42
|
+
*/
|
|
43
|
+
metadata: ResponseMetadata;
|
|
44
|
+
success: false;
|
|
45
|
+
}
|
|
46
|
+
export type GmedicListDictionaryEntrysBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
47
|
+
/**
|
|
48
|
+
* A failed answer.
|
|
49
|
+
*/
|
|
50
|
+
export interface GmedicListDictionaryEntrysNotFoundError {
|
|
51
|
+
data: null;
|
|
52
|
+
error: GmedicListDictionaryEntrysNotFoundFailure;
|
|
53
|
+
/**
|
|
54
|
+
* What every answer carries besides its data or error.
|
|
55
|
+
*/
|
|
56
|
+
metadata: ResponseMetadata;
|
|
57
|
+
success: false;
|
|
58
|
+
}
|
|
59
|
+
export type GmedicListDictionaryEntrysNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
60
|
+
/**
|
|
61
|
+
* A failed answer.
|
|
62
|
+
*/
|
|
63
|
+
export interface GmedicListDictionaryEntrysServiceUnavailableError {
|
|
64
|
+
data: null;
|
|
65
|
+
error: GmedicListDictionaryEntrysServiceUnavailableFailure;
|
|
66
|
+
/**
|
|
67
|
+
* What every answer carries besides its data or error.
|
|
68
|
+
*/
|
|
69
|
+
metadata: ResponseMetadata;
|
|
70
|
+
success: false;
|
|
71
|
+
}
|
|
72
|
+
export type GmedicListDictionaryEntrysServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { GmedicHealthPartnersPage } from "./models.js";
|
|
2
|
+
import type { GmedicHealthPartnersPageResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -32,14 +31,25 @@ export interface ListRequest {
|
|
|
32
31
|
* another cursor.
|
|
33
32
|
*/
|
|
34
33
|
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The code.
|
|
36
|
+
*/
|
|
35
37
|
code?: string;
|
|
36
|
-
|
|
38
|
+
/**
|
|
39
|
+
* The health partner id.
|
|
40
|
+
*/
|
|
41
|
+
healthPartnerId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name.
|
|
44
|
+
*/
|
|
37
45
|
name?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The connection id.
|
|
48
|
+
*/
|
|
38
49
|
connectionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Deprecated: use `healthPartnerId`. Answered until 2027-01-28.
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
39
54
|
}
|
|
40
|
-
export
|
|
41
|
-
data: GmedicHealthPartnersPage;
|
|
42
|
-
error: null;
|
|
43
|
-
metadata: GmedicResponseMetadata;
|
|
44
|
-
success: true;
|
|
45
|
-
}
|
|
55
|
+
export type ListResponse = GmedicHealthPartnersPageResponse;
|
|
@@ -12,7 +12,7 @@ export function bind(transport) {
|
|
|
12
12
|
const ListOperation = {
|
|
13
13
|
method: "GET",
|
|
14
14
|
route: "/v1/gmedic/health-partners",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", code: "code",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", code: "code", healthPartnerId: "healthPartnerId", name: "name", connectionId: "connectionId", id: "id" },
|
|
16
16
|
response: null,
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
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
18
|
};
|
|
@@ -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, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicHealthPartnersPage } from "./models.js";
|
|
5
|
+
export type { GmedicHealthPartnersPage, GmedicHealthPartnersPageResponse, GmedicListHealthPartnersBadGatewayError, GmedicListHealthPartnersBadGatewayFailure, GmedicListHealthPartnersNotFoundError, GmedicListHealthPartnersNotFoundFailure, GmedicListHealthPartnersServiceUnavailableError, GmedicListHealthPartnersServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
2
3
|
export interface GmedicHealthPartnersPage {
|
|
3
4
|
/**
|
|
4
5
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -20,3 +21,54 @@ export interface GmedicHealthPartnersPage {
|
|
|
20
21
|
*/
|
|
21
22
|
pageInfo: PageInfo;
|
|
22
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* A successful answer.
|
|
26
|
+
*/
|
|
27
|
+
export interface GmedicHealthPartnersPageResponse {
|
|
28
|
+
data: GmedicHealthPartnersPage;
|
|
29
|
+
error: null;
|
|
30
|
+
/**
|
|
31
|
+
* What every answer carries besides its data or error.
|
|
32
|
+
*/
|
|
33
|
+
metadata: ResponseMetadata;
|
|
34
|
+
success: true;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A failed answer.
|
|
38
|
+
*/
|
|
39
|
+
export interface GmedicListHealthPartnersBadGatewayError {
|
|
40
|
+
data: null;
|
|
41
|
+
error: GmedicListHealthPartnersBadGatewayFailure;
|
|
42
|
+
/**
|
|
43
|
+
* What every answer carries besides its data or error.
|
|
44
|
+
*/
|
|
45
|
+
metadata: ResponseMetadata;
|
|
46
|
+
success: false;
|
|
47
|
+
}
|
|
48
|
+
export type GmedicListHealthPartnersBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
49
|
+
/**
|
|
50
|
+
* A failed answer.
|
|
51
|
+
*/
|
|
52
|
+
export interface GmedicListHealthPartnersNotFoundError {
|
|
53
|
+
data: null;
|
|
54
|
+
error: GmedicListHealthPartnersNotFoundFailure;
|
|
55
|
+
/**
|
|
56
|
+
* What every answer carries besides its data or error.
|
|
57
|
+
*/
|
|
58
|
+
metadata: ResponseMetadata;
|
|
59
|
+
success: false;
|
|
60
|
+
}
|
|
61
|
+
export type GmedicListHealthPartnersNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
62
|
+
/**
|
|
63
|
+
* A failed answer.
|
|
64
|
+
*/
|
|
65
|
+
export interface GmedicListHealthPartnersServiceUnavailableError {
|
|
66
|
+
data: null;
|
|
67
|
+
error: GmedicListHealthPartnersServiceUnavailableFailure;
|
|
68
|
+
/**
|
|
69
|
+
* What every answer carries besides its data or error.
|
|
70
|
+
*/
|
|
71
|
+
metadata: ResponseMetadata;
|
|
72
|
+
success: false;
|
|
73
|
+
}
|
|
74
|
+
export type GmedicListHealthPartnersServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { GmedicHealthPromotionEntitysPage } from "./models.js";
|
|
2
|
+
import type { GmedicHealthPromotionEntitysPageResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -9,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
|
|
|
9
8
|
}
|
|
10
9
|
export interface Client {
|
|
11
10
|
/**
|
|
12
|
-
* List health promotion
|
|
11
|
+
* List health promotion entities
|
|
13
12
|
*
|
|
14
13
|
* Use the organization gMedic account. Read-only request; provider failures
|
|
15
14
|
* are never empty results.
|
|
@@ -32,14 +31,25 @@ export interface ListRequest {
|
|
|
32
31
|
* another cursor.
|
|
33
32
|
*/
|
|
34
33
|
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The code.
|
|
36
|
+
*/
|
|
35
37
|
code?: string;
|
|
36
|
-
|
|
38
|
+
/**
|
|
39
|
+
* The health promotion entity id.
|
|
40
|
+
*/
|
|
41
|
+
healthPromotionEntityId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name.
|
|
44
|
+
*/
|
|
37
45
|
name?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The connection id.
|
|
48
|
+
*/
|
|
38
49
|
connectionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Deprecated: use `healthPromotionEntityId`. Answered until 2027-01-28.
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
39
54
|
}
|
|
40
|
-
export
|
|
41
|
-
data: GmedicHealthPromotionEntitysPage;
|
|
42
|
-
error: null;
|
|
43
|
-
metadata: GmedicResponseMetadata;
|
|
44
|
-
success: true;
|
|
45
|
-
}
|
|
55
|
+
export type ListResponse = GmedicHealthPromotionEntitysPageResponse;
|
|
@@ -12,7 +12,7 @@ export function bind(transport) {
|
|
|
12
12
|
const ListOperation = {
|
|
13
13
|
method: "GET",
|
|
14
14
|
route: "/v1/gmedic/health-promotion-entities",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", code: "code",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", code: "code", healthPromotionEntityId: "healthPromotionEntityId", name: "name", connectionId: "connectionId", id: "id" },
|
|
16
16
|
response: null,
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
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
18
|
};
|
|
@@ -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, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicHealthPromotionEntitysPage } from "./models.js";
|
|
5
|
+
export type { GmedicHealthPromotionEntitysPage, GmedicHealthPromotionEntitysPageResponse, GmedicListHealthPromotionEntitysBadGatewayError, GmedicListHealthPromotionEntitysBadGatewayFailure, GmedicListHealthPromotionEntitysNotFoundError, GmedicListHealthPromotionEntitysNotFoundFailure, GmedicListHealthPromotionEntitysServiceUnavailableError, GmedicListHealthPromotionEntitysServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
2
3
|
export interface GmedicHealthPromotionEntitysPage {
|
|
3
4
|
/**
|
|
4
5
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -17,3 +18,54 @@ export interface GmedicHealthPromotionEntitysPage {
|
|
|
17
18
|
*/
|
|
18
19
|
pageInfo: PageInfo;
|
|
19
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* A successful answer.
|
|
23
|
+
*/
|
|
24
|
+
export interface GmedicHealthPromotionEntitysPageResponse {
|
|
25
|
+
data: GmedicHealthPromotionEntitysPage;
|
|
26
|
+
error: null;
|
|
27
|
+
/**
|
|
28
|
+
* What every answer carries besides its data or error.
|
|
29
|
+
*/
|
|
30
|
+
metadata: ResponseMetadata;
|
|
31
|
+
success: true;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A failed answer.
|
|
35
|
+
*/
|
|
36
|
+
export interface GmedicListHealthPromotionEntitysBadGatewayError {
|
|
37
|
+
data: null;
|
|
38
|
+
error: GmedicListHealthPromotionEntitysBadGatewayFailure;
|
|
39
|
+
/**
|
|
40
|
+
* What every answer carries besides its data or error.
|
|
41
|
+
*/
|
|
42
|
+
metadata: ResponseMetadata;
|
|
43
|
+
success: false;
|
|
44
|
+
}
|
|
45
|
+
export type GmedicListHealthPromotionEntitysBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
46
|
+
/**
|
|
47
|
+
* A failed answer.
|
|
48
|
+
*/
|
|
49
|
+
export interface GmedicListHealthPromotionEntitysNotFoundError {
|
|
50
|
+
data: null;
|
|
51
|
+
error: GmedicListHealthPromotionEntitysNotFoundFailure;
|
|
52
|
+
/**
|
|
53
|
+
* What every answer carries besides its data or error.
|
|
54
|
+
*/
|
|
55
|
+
metadata: ResponseMetadata;
|
|
56
|
+
success: false;
|
|
57
|
+
}
|
|
58
|
+
export type GmedicListHealthPromotionEntitysNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
59
|
+
/**
|
|
60
|
+
* A failed answer.
|
|
61
|
+
*/
|
|
62
|
+
export interface GmedicListHealthPromotionEntitysServiceUnavailableError {
|
|
63
|
+
data: null;
|
|
64
|
+
error: GmedicListHealthPromotionEntitysServiceUnavailableFailure;
|
|
65
|
+
/**
|
|
66
|
+
* What every answer carries besides its data or error.
|
|
67
|
+
*/
|
|
68
|
+
metadata: ResponseMetadata;
|
|
69
|
+
success: false;
|
|
70
|
+
}
|
|
71
|
+
export type GmedicListHealthPromotionEntitysServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|
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 {
|
|
5
|
+
export type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicNotConfiguredError, GmedicNotConfiguredFailure, GmedicProviderAccessRejectedFailure, GmedicProviderInputRejectedError, GmedicProviderInputRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure, } from "./models.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { GmedicLaboralRiskManagersPage } from "./models.js";
|
|
2
|
+
import type { GmedicLaboralRiskManagersPageResponse } from "./models.js";
|
|
4
3
|
export interface ClientOptions extends BaseClientOptions {
|
|
5
4
|
/**
|
|
6
5
|
* The URL the paths of the API are relative to.
|
|
@@ -9,7 +8,7 @@ export interface ClientOptions extends BaseClientOptions {
|
|
|
9
8
|
}
|
|
10
9
|
export interface Client {
|
|
11
10
|
/**
|
|
12
|
-
* List
|
|
11
|
+
* List occupational risk managers
|
|
13
12
|
*
|
|
14
13
|
* Use the organization gMedic account. Read-only request; provider failures
|
|
15
14
|
* are never empty results.
|
|
@@ -32,14 +31,25 @@ export interface ListRequest {
|
|
|
32
31
|
* another cursor.
|
|
33
32
|
*/
|
|
34
33
|
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* The code.
|
|
36
|
+
*/
|
|
35
37
|
code?: string;
|
|
36
|
-
|
|
38
|
+
/**
|
|
39
|
+
* The laboral risk manager id.
|
|
40
|
+
*/
|
|
41
|
+
laboralRiskManagerId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name.
|
|
44
|
+
*/
|
|
37
45
|
name?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The connection id.
|
|
48
|
+
*/
|
|
38
49
|
connectionId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Deprecated: use `laboralRiskManagerId`. Answered until 2027-01-28.
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
39
54
|
}
|
|
40
|
-
export
|
|
41
|
-
data: GmedicLaboralRiskManagersPage;
|
|
42
|
-
error: null;
|
|
43
|
-
metadata: GmedicResponseMetadata;
|
|
44
|
-
success: true;
|
|
45
|
-
}
|
|
55
|
+
export type ListResponse = GmedicLaboralRiskManagersPageResponse;
|
|
@@ -12,7 +12,7 @@ export function bind(transport) {
|
|
|
12
12
|
const ListOperation = {
|
|
13
13
|
method: "GET",
|
|
14
14
|
route: "/v1/gmedic/laboral-risk-managers",
|
|
15
|
-
query: { cursor: "cursor", direction: "direction", limit: "limit", code: "code",
|
|
15
|
+
query: { cursor: "cursor", direction: "direction", limit: "limit", code: "code", laboralRiskManagerId: "laboralRiskManagerId", name: "name", connectionId: "connectionId", id: "id" },
|
|
16
16
|
response: null,
|
|
17
|
-
errors: { "400": true, "401": true, "403": true, "404": true, "
|
|
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
18
|
};
|
|
@@ -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, ListRequest, ListResponse, } from "./client.js";
|
|
5
|
-
export type { GmedicLaboralRiskManagersPage } from "./models.js";
|
|
5
|
+
export type { GmedicLaboralRiskManagersPage, GmedicLaboralRiskManagersPageResponse, GmedicListLaboralRiskManagersBadGatewayError, GmedicListLaboralRiskManagersBadGatewayFailure, GmedicListLaboralRiskManagersNotFoundError, GmedicListLaboralRiskManagersNotFoundFailure, GmedicListLaboralRiskManagersServiceUnavailableError, GmedicListLaboralRiskManagersServiceUnavailableFailure, } from "./models.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { PageInfo } from "../../models.js";
|
|
1
|
+
import type { OutcomeUnknownFailure, PageInfo, ResponseMetadata, UpstreamUnavailableFailure } from "../../models.js";
|
|
2
|
+
import type { GmedicCatalogSearchIncompleteFailure, GmedicConnectionNotFoundFailure, GmedicProviderAccessRejectedFailure, GmedicProviderResponseInvalidFailure, GmedicProviderUnavailableFailure, GmedicRecordNotFoundFailure } from "../models.js";
|
|
2
3
|
export interface GmedicLaboralRiskManagersPage {
|
|
3
4
|
/**
|
|
4
5
|
* Items admitted by this resource contract within the verified organization.
|
|
@@ -17,3 +18,54 @@ export interface GmedicLaboralRiskManagersPage {
|
|
|
17
18
|
*/
|
|
18
19
|
pageInfo: PageInfo;
|
|
19
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* A successful answer.
|
|
23
|
+
*/
|
|
24
|
+
export interface GmedicLaboralRiskManagersPageResponse {
|
|
25
|
+
data: GmedicLaboralRiskManagersPage;
|
|
26
|
+
error: null;
|
|
27
|
+
/**
|
|
28
|
+
* What every answer carries besides its data or error.
|
|
29
|
+
*/
|
|
30
|
+
metadata: ResponseMetadata;
|
|
31
|
+
success: true;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* A failed answer.
|
|
35
|
+
*/
|
|
36
|
+
export interface GmedicListLaboralRiskManagersBadGatewayError {
|
|
37
|
+
data: null;
|
|
38
|
+
error: GmedicListLaboralRiskManagersBadGatewayFailure;
|
|
39
|
+
/**
|
|
40
|
+
* What every answer carries besides its data or error.
|
|
41
|
+
*/
|
|
42
|
+
metadata: ResponseMetadata;
|
|
43
|
+
success: false;
|
|
44
|
+
}
|
|
45
|
+
export type GmedicListLaboralRiskManagersBadGatewayFailure = OutcomeUnknownFailure | GmedicProviderAccessRejectedFailure | GmedicProviderResponseInvalidFailure;
|
|
46
|
+
/**
|
|
47
|
+
* A failed answer.
|
|
48
|
+
*/
|
|
49
|
+
export interface GmedicListLaboralRiskManagersNotFoundError {
|
|
50
|
+
data: null;
|
|
51
|
+
error: GmedicListLaboralRiskManagersNotFoundFailure;
|
|
52
|
+
/**
|
|
53
|
+
* What every answer carries besides its data or error.
|
|
54
|
+
*/
|
|
55
|
+
metadata: ResponseMetadata;
|
|
56
|
+
success: false;
|
|
57
|
+
}
|
|
58
|
+
export type GmedicListLaboralRiskManagersNotFoundFailure = GmedicConnectionNotFoundFailure | GmedicRecordNotFoundFailure;
|
|
59
|
+
/**
|
|
60
|
+
* A failed answer.
|
|
61
|
+
*/
|
|
62
|
+
export interface GmedicListLaboralRiskManagersServiceUnavailableError {
|
|
63
|
+
data: null;
|
|
64
|
+
error: GmedicListLaboralRiskManagersServiceUnavailableFailure;
|
|
65
|
+
/**
|
|
66
|
+
* What every answer carries besides its data or error.
|
|
67
|
+
*/
|
|
68
|
+
metadata: ResponseMetadata;
|
|
69
|
+
success: false;
|
|
70
|
+
}
|
|
71
|
+
export type GmedicListLaboralRiskManagersServiceUnavailableFailure = UpstreamUnavailableFailure | GmedicCatalogSearchIncompleteFailure | GmedicProviderUnavailableFailure;
|