@faiber/faiber-reservation 0.24.0 → 1.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 +47 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/contracts.types.d.ts +28 -0
- package/dist/contracts.types.d.ts.map +1 -0
- package/dist/contracts.types.js +2 -0
- package/dist/contracts.types.js.map +1 -0
- package/dist/index.d.ts +29 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +126 -116
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +99 -87
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +73 -55
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +46 -104
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
- package/provenance.json +27 -0
package/dist/operations.d.ts
CHANGED
|
@@ -2,268 +2,278 @@ import { ServiceApi, type Identifier, type RequestOptions } from "@faiber/sdk-co
|
|
|
2
2
|
import type * as T from "./operations.types.js";
|
|
3
3
|
export declare class ReservationOperations extends ServiceApi {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Same health envelope as /health; not a management dashboard. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
6
6
|
* Calls `GET /` through the shared IDP-aware Faiber client.
|
|
7
7
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
8
|
-
* @returns The complete Axios response, including the typed
|
|
9
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
8
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
9
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Public read handler; no customer-specific authorization..
|
|
10
10
|
*/
|
|
11
|
-
routerHealthGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
11
|
+
routerHealthGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationProcessHealthResponse, unknown, {}, any>>;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Raw OpenAPI document; mounted slot show/edit, capacity report and integration routes are not fully represented by the declared paths. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
14
14
|
* Calls `GET /api/openapi.json` through the shared IDP-aware Faiber client.
|
|
15
15
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
16
|
-
* @returns The complete Axios response, including the typed
|
|
17
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
16
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
17
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Public read handler; no customer-specific authorization..
|
|
18
18
|
*/
|
|
19
|
-
routerOpenapiJsonGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
19
|
+
routerOpenapiJsonGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("@faiber/sdk-core").ServiceOpenApiDocument, unknown, {}, any>>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Public GET; success envelope with configured RABBITMQ_QUEUE defaultreservation_queue and empty action list. Metadata is not proof of event publication, durable delivery or consumer deduplication. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
22
22
|
* Calls `GET /api/v1/integration/flow` through the shared IDP-aware Faiber client.
|
|
23
23
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
24
|
-
* @returns The complete Axios response, including the typed
|
|
25
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
24
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
25
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Public read handler; no customer-specific authorization..
|
|
26
26
|
*/
|
|
27
|
-
integrationFlowIntegrationShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
27
|
+
integrationFlowIntegrationShowGet(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationFlowIntegrationResponse, unknown, {}, any>>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Paged provider responses ordered ID ascending; no search, user or active filter implemented. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
30
30
|
* Calls `GET /api/v1/providers` through the shared IDP-aware Faiber client.
|
|
31
31
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
32
32
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
33
|
-
* @returns The complete Axios response, including the typed
|
|
34
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
33
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
34
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:read, admin:provider:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
35
35
|
*/
|
|
36
|
-
providerIndexGet(params?: T.ProviderIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderIndexGetResponse, unknown, {}>>;
|
|
36
|
+
providerIndexGet(params?: T.ProviderIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderIndexGetResponse, unknown, {}, any>>;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* name length1..200; optional user_id UUID,bio,avatar_url,is_active defaulttrue, capacity integer1..1000 default1. Linked IDP user existence is not checked here. Returns HTTP200 provider. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
39
39
|
* Calls `POST /api/v1/providers` through the shared IDP-aware Faiber client.
|
|
40
40
|
* @param data Typed JSON request body.
|
|
41
41
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
42
|
-
* @returns The complete Axios response, including the typed
|
|
43
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
42
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
43
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:create, admin:provider:manage, reservation:create, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
44
44
|
*/
|
|
45
|
-
providerStorePost(data: T.ProviderStorePostInput, options?: RequestOptions<T.ProviderStorePostInput>): Promise<import("axios").AxiosResponse<T.ProviderStorePostResponse, T.ProviderStorePostInput, {}>>;
|
|
45
|
+
providerStorePost(data: T.ProviderStorePostInput, options?: RequestOptions<T.ProviderStorePostInput>): Promise<import("axios").AxiosResponse<T.ProviderStorePostResponse, T.ProviderStorePostInput, {}, any>>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Numeric provider ID; missing404; booked or cancelled historical slots prevent cascade deletion409; success envelope data:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
48
48
|
* Calls `DELETE /api/v1/providers/{id}` through the shared IDP-aware Faiber client.
|
|
49
49
|
* @param id Backend path identifier `id`.
|
|
50
50
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
51
|
-
* @returns The complete Axios response, including the typed
|
|
52
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
51
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
52
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:delete, admin:provider:manage, reservation:delete, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
53
53
|
*/
|
|
54
|
-
providerDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
54
|
+
providerDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationMutationReceipt, unknown, {}, any>>;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* Numeric provider ID; missing404; optional user UUID, text, active, capacity and created_at. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
57
57
|
* Calls `GET /api/v1/providers/{id}` through the shared IDP-aware Faiber client.
|
|
58
58
|
* @param id Backend path identifier `id`.
|
|
59
59
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
60
|
-
* @returns The complete Axios response, including the typed
|
|
61
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
60
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
61
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:read, admin:provider:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
62
62
|
*/
|
|
63
|
-
providerShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderShowGetResponse, unknown, {}>>;
|
|
63
|
+
providerShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderShowGetResponse, unknown, {}, any>>;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Optional create fields; null/omitted text or user_id cannot explicitly clear. Changed capacity below current/future peak returns409; unchanged limit allowed even with legacy conflicts. Provider transaction lock serializes booking and configuration. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
66
66
|
* Calls `PATCH /api/v1/providers/{id}` through the shared IDP-aware Faiber client.
|
|
67
67
|
* @param id Backend path identifier `id`.
|
|
68
68
|
* @param data Typed JSON request body.
|
|
69
69
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
70
|
-
* @returns The complete Axios response, including the typed
|
|
71
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
70
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
71
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:update, admin:provider:manage, reservation:update, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
72
72
|
*/
|
|
73
|
-
providerUpdatePatch(id: Identifier, data: T.ProviderUpdatePatchInput, options?: RequestOptions<T.ProviderUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ProviderUpdatePatchResponse, T.ProviderUpdatePatchInput, {}>>;
|
|
73
|
+
providerUpdatePatch(id: Identifier, data: T.ProviderUpdatePatchInput, options?: RequestOptions<T.ProviderUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ProviderUpdatePatchResponse, T.ProviderUpdatePatchInput, {}, any>>;
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Read in a transaction with an exclusive provider lock shared with booking/capacity/cancellation. Computes future occupancy and conflict windows, reports them without cancelling or repairing bookings. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
76
|
+
* Calls `GET /api/v1/providers/{id}/capacity` through the shared IDP-aware Faiber client.
|
|
77
|
+
* @param id Backend path identifier `id`.
|
|
78
|
+
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
79
|
+
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
80
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
81
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:read, admin:provider:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
82
|
+
*/
|
|
83
|
+
providerCapacityReportGet(id: Identifier, params?: T.ProviderCapacityReportGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderCapacityReportGetResponse, unknown, {}, any>>;
|
|
84
|
+
/**
|
|
85
|
+
* Provider ID selects assignment rows then service rows. Unpaged array; no explicit missing-provider check, so missing provider can return empty array; order unspecified. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
76
86
|
* Calls `GET /api/v1/providers/{id}/services` through the shared IDP-aware Faiber client.
|
|
77
87
|
* @param id Backend path identifier `id`.
|
|
78
88
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
79
|
-
* @returns The complete Axios response, including the typed
|
|
80
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
89
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
90
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:read, admin:provider:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
81
91
|
*/
|
|
82
|
-
providerListServicesGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderListServicesGetResponse, unknown, {}>>;
|
|
92
|
+
providerListServicesGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ProviderListServicesGetResponse, unknown, {}, any>>;
|
|
83
93
|
/**
|
|
84
|
-
*
|
|
94
|
+
* Numeric provider ID and JSON service_id; existing assignment409; missing relations FK409. Check-then-insert concurrent duplicate outcome is not certified. Success envelope data:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
85
95
|
* Calls `POST /api/v1/providers/{id}/services` through the shared IDP-aware Faiber client.
|
|
86
96
|
* @param id Backend path identifier `id`.
|
|
87
97
|
* @param data Typed JSON request body.
|
|
88
98
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
89
|
-
* @returns The complete Axios response, including the typed
|
|
90
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
99
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
100
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:create, admin:provider:manage, reservation:create, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
91
101
|
*/
|
|
92
|
-
providerAssignServicePost(id: Identifier, data: T.ProviderAssignServicePostInput, options?: RequestOptions<T.ProviderAssignServicePostInput>): Promise<import("axios").AxiosResponse<
|
|
102
|
+
providerAssignServicePost(id: Identifier, data: T.ProviderAssignServicePostInput, options?: RequestOptions<T.ProviderAssignServicePostInput>): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationMutationReceipt, T.ProviderAssignServicePostInput, {}, any>>;
|
|
93
103
|
/**
|
|
94
|
-
*
|
|
104
|
+
* Two numeric IDs; absent assignment still succeeds. Existing slots/bookings remain; booking currently does not revalidate assignment. Success envelope data:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
95
105
|
* Calls `DELETE /api/v1/providers/{id}/services/{service_id}` through the shared IDP-aware Faiber client.
|
|
96
106
|
* @param id Backend path identifier `id`.
|
|
97
107
|
* @param serviceId Backend path identifier `service_id`.
|
|
98
108
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
99
|
-
* @returns The complete Axios response, including the typed
|
|
100
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
109
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
110
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:delete, admin:provider:manage, reservation:delete, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
101
111
|
*/
|
|
102
|
-
providerRemoveServiceDelete(id: Identifier, serviceId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
112
|
+
providerRemoveServiceDelete(id: Identifier, serviceId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationMutationReceipt, unknown, {}, any>>;
|
|
103
113
|
/**
|
|
104
|
-
*
|
|
114
|
+
* Provider ID; unpaged schedule array, unspecified order, missing provider can yield empty list. Lowercase English weekday, HH:MM times, active flag. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
105
115
|
* Calls `GET /api/v1/providers/{provider_id}/schedules` through the shared IDP-aware Faiber client.
|
|
106
116
|
* @param providerId Backend path identifier `provider_id`.
|
|
107
117
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
108
|
-
* @returns The complete Axios response, including the typed
|
|
109
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
118
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
119
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:read, admin:provider:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
110
120
|
*/
|
|
111
|
-
workScheduleIndexGet(providerId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.WorkScheduleIndexGetResponse, unknown, {}>>;
|
|
121
|
+
workScheduleIndexGet(providerId: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.WorkScheduleIndexGetResponse, unknown, {}, any>>;
|
|
112
122
|
/**
|
|
113
|
-
*
|
|
123
|
+
* JSON schedules array; empty array clears all. Case-insensitive weekday; parsed 4..5 character time is normalized HH:MM; same-day end must exceed start. Active defaults true. All entries validated before transaction deletion; provider lock serializes replacement/generation. Overlapping schedules allowed; generation deduplicates candidate starts. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
114
124
|
* Calls `PUT /api/v1/providers/{provider_id}/schedules` through the shared IDP-aware Faiber client.
|
|
115
125
|
* @param providerId Backend path identifier `provider_id`.
|
|
116
126
|
* @param data Typed JSON request body.
|
|
117
127
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
118
|
-
* @returns The complete Axios response, including the typed
|
|
119
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
128
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
129
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:provider:update, admin:provider:manage, reservation:update, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
120
130
|
*/
|
|
121
|
-
workScheduleUpsertPut(providerId: Identifier, data: T.WorkScheduleUpsertPutInput, options?: RequestOptions<T.WorkScheduleUpsertPutInput>): Promise<import("axios").AxiosResponse<T.WorkScheduleUpsertPutResponse, T.WorkScheduleUpsertPutInput, {}>>;
|
|
131
|
+
workScheduleUpsertPut(providerId: Identifier, data: T.WorkScheduleUpsertPutInput, options?: RequestOptions<T.WorkScheduleUpsertPutInput>): Promise<import("axios").AxiosResponse<T.WorkScheduleUpsertPutResponse, T.WorkScheduleUpsertPutInput, {}, any>>;
|
|
122
132
|
/**
|
|
123
|
-
*
|
|
133
|
+
* Optional user_id UUID,provider_id/service_id numeric,status exact lowercase pending/confirmed/cancelled/completed, bracket pagination; all combine AND. Created_at descending; ties not stabilized by ID. Responses currently starts_at:null because list does not join slot. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
124
134
|
* Calls `GET /api/v1/reservations` through the shared IDP-aware Faiber client.
|
|
125
135
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
126
136
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
127
|
-
* @returns The complete Axios response, including the typed
|
|
128
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
137
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
138
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:reservation:read, admin:reservation:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
129
139
|
*/
|
|
130
|
-
reservationIndexGet(params?: T.ReservationIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationIndexGetResponse, unknown, {}>>;
|
|
140
|
+
reservationIndexGet(params?: T.ReservationIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationIndexGetResponse, unknown, {}, any>>;
|
|
131
141
|
/**
|
|
132
|
-
*
|
|
142
|
+
* JSON numeric time_slot_id,user_id UUID,optional notes. Provider/service derived from slot. HTTP200 confirmed reservation with starts_at populated. Provider lock and slot claim enforce interval capacity/one owner. Missing404, claimed/full409. Does not validate IDP customer existence, future date, current active provider/service or current assignment; no client idempotency receipt. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
133
143
|
* Calls `POST /api/v1/reservations` through the shared IDP-aware Faiber client.
|
|
134
144
|
* @param data Typed JSON request body.
|
|
135
145
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
136
|
-
* @returns The complete Axios response, including the typed
|
|
137
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
146
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
147
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:reservation:create, admin:reservation:manage, reservation:create, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
138
148
|
*/
|
|
139
|
-
reservationStorePost(data: T.ReservationStorePostInput, options?: RequestOptions<T.ReservationStorePostInput>): Promise<import("axios").AxiosResponse<T.ReservationStorePostResponse, T.ReservationStorePostInput, {}>>;
|
|
149
|
+
reservationStorePost(data: T.ReservationStorePostInput, options?: RequestOptions<T.ReservationStorePostInput>): Promise<import("axios").AxiosResponse<T.ReservationStorePostResponse, T.ReservationStorePostInput, {}, any>>;
|
|
140
150
|
/**
|
|
141
|
-
*
|
|
151
|
+
* Same transition rules as PATCH cancelled; missing404, completed conflict409, repeated cancelled succeeds. Preserves reservation row; successful envelope data:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
142
152
|
* Calls `DELETE /api/v1/reservations/{id}` through the shared IDP-aware Faiber client.
|
|
143
153
|
* @param id Backend path identifier `id`.
|
|
144
154
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
145
|
-
* @returns The complete Axios response, including the typed
|
|
146
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
155
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
156
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:reservation:delete, admin:reservation:manage, reservation:delete, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
147
157
|
*/
|
|
148
|
-
reservationCancelDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
158
|
+
reservationCancelDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationMutationReceipt, unknown, {}, any>>;
|
|
149
159
|
/**
|
|
150
|
-
*
|
|
160
|
+
* Numeric reservation ID; missing404; status lowercase, customer UUID, relation numeric IDs, notes and created_at. starts_at:null on this route; requires separate slot read for interval. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
151
161
|
* Calls `GET /api/v1/reservations/{id}` through the shared IDP-aware Faiber client.
|
|
152
162
|
* @param id Backend path identifier `id`.
|
|
153
163
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
154
|
-
* @returns The complete Axios response, including the typed
|
|
155
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
164
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
165
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:reservation:read, admin:reservation:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
156
166
|
*/
|
|
157
|
-
reservationShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationShowGetResponse, unknown, {}>>;
|
|
167
|
+
reservationShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationShowGetResponse, unknown, {}, any>>;
|
|
158
168
|
/**
|
|
159
|
-
*
|
|
169
|
+
* Optional exact lowercase status and notes; null cannot explicitly clear notes. Pending->confirmed/cancelled, confirmed->completed/cancelled, same-state retry allowed; cancelled/completed terminal. Cancellation releases only the currently owned slot transactionally, stale retry never releases rebooking; notes-only updates on terminal bookings still allowed. Returns record starts_at:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
160
170
|
* Calls `PATCH /api/v1/reservations/{id}` through the shared IDP-aware Faiber client.
|
|
161
171
|
* @param id Backend path identifier `id`.
|
|
162
172
|
* @param data Typed JSON request body.
|
|
163
173
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
164
|
-
* @returns The complete Axios response, including the typed
|
|
165
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
174
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
175
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:reservation:update, admin:reservation:manage, reservation:update, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
166
176
|
*/
|
|
167
|
-
reservationUpdatePatch(id: Identifier, data: T.ReservationUpdatePatchInput, options?: RequestOptions<T.ReservationUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ReservationUpdatePatchResponse, T.ReservationUpdatePatchInput, {}>>;
|
|
177
|
+
reservationUpdatePatch(id: Identifier, data: T.ReservationUpdatePatchInput, options?: RequestOptions<T.ReservationUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ReservationUpdatePatchResponse, T.ReservationUpdatePatchInput, {}, any>>;
|
|
168
178
|
/**
|
|
169
|
-
*
|
|
179
|
+
* Paged service responses ordered numeric ID ascending; no active, name or search filter implemented. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
170
180
|
* Calls `GET /api/v1/services` through the shared IDP-aware Faiber client.
|
|
171
181
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
172
182
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
173
|
-
* @returns The complete Axios response, including the typed
|
|
174
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
183
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
184
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:service:read, admin:service:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
175
185
|
*/
|
|
176
|
-
reservationServiceIndexGet(params?: T.ReservationServiceIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceIndexGetResponse, unknown, {}>>;
|
|
186
|
+
reservationServiceIndexGet(params?: T.ReservationServiceIndexGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceIndexGetResponse, unknown, {}, any>>;
|
|
177
187
|
/**
|
|
178
|
-
*
|
|
188
|
+
* name length 1..200, duration_minutes 5..480; optional description, image_url, buffer_minutes 0..120 default0, is_active defaulttrue. Returns created service with HTTP200. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
179
189
|
* Calls `POST /api/v1/services` through the shared IDP-aware Faiber client.
|
|
180
190
|
* @param data Typed JSON request body.
|
|
181
191
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
182
|
-
* @returns The complete Axios response, including the typed
|
|
183
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
192
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
193
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:service:create, admin:service:manage, reservation:create, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
184
194
|
*/
|
|
185
|
-
reservationServiceStorePost(data: T.ReservationServiceStorePostInput, options?: RequestOptions<T.ReservationServiceStorePostInput>): Promise<import("axios").AxiosResponse<T.ReservationServiceStorePostResponse, T.ReservationServiceStorePostInput, {}>>;
|
|
195
|
+
reservationServiceStorePost(data: T.ReservationServiceStorePostInput, options?: RequestOptions<T.ReservationServiceStorePostInput>): Promise<import("axios").AxiosResponse<T.ReservationServiceStorePostResponse, T.ReservationServiceStorePostInput, {}, any>>;
|
|
186
196
|
/**
|
|
187
|
-
*
|
|
197
|
+
* Numeric service ID; missing404; referenced historical slot causes409 through restrictive reservation FK. Successful delete returns envelope data:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
188
198
|
* Calls `DELETE /api/v1/services/{id}` through the shared IDP-aware Faiber client.
|
|
189
199
|
* @param id Backend path identifier `id`.
|
|
190
200
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
191
|
-
* @returns The complete Axios response, including the typed
|
|
192
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
201
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
202
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:service:delete, admin:service:manage, reservation:delete, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
193
203
|
*/
|
|
194
|
-
reservationServiceDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
204
|
+
reservationServiceDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationMutationReceipt, unknown, {}, any>>;
|
|
195
205
|
/**
|
|
196
|
-
*
|
|
206
|
+
* Numeric service ID; missing404; returns fields including duration, buffer, active flag and RFC3339 created_at. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
197
207
|
* Calls `GET /api/v1/services/{id}` through the shared IDP-aware Faiber client.
|
|
198
208
|
* @param id Backend path identifier `id`.
|
|
199
209
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
200
|
-
* @returns The complete Axios response, including the typed
|
|
201
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
210
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
211
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:service:read, admin:service:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
202
212
|
*/
|
|
203
|
-
reservationServiceShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceShowGetResponse, unknown, {}>>;
|
|
213
|
+
reservationServiceShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.ReservationServiceShowGetResponse, unknown, {}, any>>;
|
|
204
214
|
/**
|
|
205
|
-
*
|
|
215
|
+
* Optional create fields with same bounds. Omitted and null optional text leave existing values unchanged; no explicit clear-to-null. Existing slot durations are preserved. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
206
216
|
* Calls `PATCH /api/v1/services/{id}` through the shared IDP-aware Faiber client.
|
|
207
217
|
* @param id Backend path identifier `id`.
|
|
208
218
|
* @param data Typed JSON request body.
|
|
209
219
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
210
|
-
* @returns The complete Axios response, including the typed
|
|
211
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
220
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
221
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:service:update, admin:service:manage, reservation:update, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
212
222
|
*/
|
|
213
|
-
reservationServiceUpdatePatch(id: Identifier, data: T.ReservationServiceUpdatePatchInput, options?: RequestOptions<T.ReservationServiceUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ReservationServiceUpdatePatchResponse, T.ReservationServiceUpdatePatchInput, {}>>;
|
|
223
|
+
reservationServiceUpdatePatch(id: Identifier, data: T.ReservationServiceUpdatePatchInput, options?: RequestOptions<T.ReservationServiceUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.ReservationServiceUpdatePatchResponse, T.ReservationServiceUpdatePatchInput, {}, any>>;
|
|
214
224
|
/**
|
|
215
|
-
*
|
|
225
|
+
* Numeric provider/service plus strict YYYY-MM-DD from_date,to_date UTC, inclusive1..366days. Active assigned provider/service and valid stored configuration required. Duration5..480,buffer0..120. Fills capacity-many copies per start, preserves existing rows, returns HTTP200 envelope numeric count; max100000 created rows, all batches atomic. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
216
226
|
* Calls `POST /api/v1/slots` through the shared IDP-aware Faiber client.
|
|
217
227
|
* @param data Typed JSON request body.
|
|
218
228
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
219
|
-
* @returns The complete Axios response, including the typed
|
|
220
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
229
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
230
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:slot:create, admin:slot:manage, reservation:create, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
221
231
|
*/
|
|
222
|
-
timeSlotGeneratePost(data: T.TimeSlotGeneratePostInput, options?: RequestOptions<T.TimeSlotGeneratePostInput>): Promise<import("axios").AxiosResponse<T.TimeSlotGeneratePostResponse, T.TimeSlotGeneratePostInput, {}>>;
|
|
232
|
+
timeSlotGeneratePost(data: T.TimeSlotGeneratePostInput, options?: RequestOptions<T.TimeSlotGeneratePostInput>): Promise<import("axios").AxiosResponse<T.TimeSlotGeneratePostResponse, T.TimeSlotGeneratePostInput, {}, any>>;
|
|
223
233
|
/**
|
|
224
|
-
*
|
|
234
|
+
* Numeric slot ID; missing404; claimed, inconsistent owner or any reservation history409; success envelope data:null. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
225
235
|
* Calls `DELETE /api/v1/slots/{id}` through the shared IDP-aware Faiber client.
|
|
226
236
|
* @param id Backend path identifier `id`.
|
|
227
237
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
228
|
-
* @returns The complete Axios response, including the typed
|
|
229
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
238
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
239
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:slot:delete, admin:slot:manage, reservation:delete, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
230
240
|
*/
|
|
231
|
-
timeSlotDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
241
|
+
timeSlotDestroyDelete(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationMutationReceipt, unknown, {}, any>>;
|
|
232
242
|
/**
|
|
233
|
-
*
|
|
243
|
+
* Numeric slot ID; missing404; RFC3339 interval, provider/service numeric IDs, claim bit and optional customer UUID. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
234
244
|
* Calls `GET /api/v1/slots/{id}` through the shared IDP-aware Faiber client.
|
|
235
245
|
* @param id Backend path identifier `id`.
|
|
236
246
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
237
|
-
* @returns The complete Axios response, including the typed
|
|
238
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
247
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
248
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:slot:read, admin:slot:manage, reservation:read, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
239
249
|
*/
|
|
240
|
-
timeSlotShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotShowGetResponse, unknown, {}>>;
|
|
250
|
+
timeSlotShowGet(id: Identifier, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotShowGetResponse, unknown, {}, any>>;
|
|
241
251
|
/**
|
|
242
|
-
*
|
|
252
|
+
* Optional provider_id,service_id,starts_at,ends_at,is_reserved. Times RFC3339 with end>start. Cannot independently toggle claim; any claimed/historically referenced structural edit409; equivalent patch allowed. Unreferenced edit requires active assigned service/provider and same-start pool below capacity. Locks providers in sorted order then slot. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
243
253
|
* Calls `PATCH /api/v1/slots/{id}` through the shared IDP-aware Faiber client.
|
|
244
254
|
* @param id Backend path identifier `id`.
|
|
245
255
|
* @param data Typed JSON request body.
|
|
246
256
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
247
|
-
* @returns The complete Axios response, including the typed
|
|
248
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
257
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
258
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Authenticated nonnil user and organization UUID required. Accepts admin:slot:update, admin:slot:manage, reservation:update, reservation:manage, reservation:* or *. Schedule and assignment operations use provider resource permissions. Forwarded identity and owning-project membership require independent gateway verification; handler does not restrict booking.user_id to current user..
|
|
249
259
|
*/
|
|
250
|
-
timeSlotUpdatePatch(id: Identifier, data: T.TimeSlotUpdatePatchInput, options?: RequestOptions<T.TimeSlotUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.TimeSlotUpdatePatchResponse, T.TimeSlotUpdatePatchInput, {}>>;
|
|
260
|
+
timeSlotUpdatePatch(id: Identifier, data: T.TimeSlotUpdatePatchInput, options?: RequestOptions<T.TimeSlotUpdatePatchInput>): Promise<import("axios").AxiosResponse<T.TimeSlotUpdatePatchResponse, T.TimeSlotUpdatePatchInput, {}, any>>;
|
|
251
261
|
/**
|
|
252
|
-
*
|
|
262
|
+
* Optional numeric provider_id/service_id and strict UTC date YYYY-MM-DD combine AND. Unpaged array ordered starts_at ascending with no stable tie order. Excludes invalid intervals, claimed slots and provider-full intervals; does not validate current active assignment. Date uses inclusive midnight/exclusive next midnight. Snapshot is advisory. Explicitly requires reserved_by_user_id IS NULL, excluding legacy held rows even when is_reserved is false. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
253
263
|
* Calls `GET /api/v1/slots/available` through the shared IDP-aware Faiber client.
|
|
254
264
|
* @param params Typed query parameters; omitted members retain backend defaults.
|
|
255
265
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
256
|
-
* @returns The complete Axios response, including the typed
|
|
257
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
266
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
267
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Public read handler; no customer-specific authorization..
|
|
258
268
|
*/
|
|
259
|
-
timeSlotAvailableGet(params?: T.TimeSlotAvailableGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotAvailableGetResponse, unknown, {}>>;
|
|
269
|
+
timeSlotAvailableGet(params?: T.TimeSlotAvailableGetQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<T.TimeSlotAvailableGetResponse, unknown, {}, any>>;
|
|
260
270
|
/**
|
|
261
|
-
*
|
|
271
|
+
* No inputs; success envelope contains version; no dependency readiness guarantee. Success uses {status:"success",message,data}; AppError uses {error:string}, extractor failures may be text.
|
|
262
272
|
* Calls `GET /health` through the shared IDP-aware Faiber client.
|
|
263
273
|
* @param options Axios headers, timeout, cancellation signal, credentials, adapter, and other request options.
|
|
264
|
-
* @returns The complete Axios response, including the typed
|
|
265
|
-
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission:
|
|
274
|
+
* @returns The complete Axios response, including the typed handler payload, status, and headers.
|
|
275
|
+
* @throws AxiosError for authentication, permission, validation, not-found, conflict, or transport failures; required permission: Public read handler; no customer-specific authorization..
|
|
266
276
|
*/
|
|
267
|
-
routerHealthGetHealth(options?: RequestOptions): Promise<import("axios").AxiosResponse<
|
|
277
|
+
routerHealthGetHealth(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./contracts.types.js").ReservationProcessHealthResponse, unknown, {}, any>>;
|
|
268
278
|
}
|
|
269
279
|
//# sourceMappingURL=operations.d.ts.map
|
package/dist/operations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../src/operations.ts"],"names":[],"mappings":"AAAA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