@gravity-rail/sdk 0.34.0 → 0.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chat-interaction-C-B463O4.d.cts → chat-interaction-SVa5dCEM.d.cts} +4 -1
- package/dist/{chat-interaction-BiH_iWSK.d.ts → chat-interaction-cAFv3O2a.d.ts} +4 -1
- package/dist/{chunk-ON7HBHJA.js → chunk-F3DHHYCJ.js} +9 -3
- package/dist/chunk-F3DHHYCJ.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +8 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/internal.cjs +8 -2
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +3 -3
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +1 -1
- package/dist/{revision-state-DLQDfN6Z.d.ts → revision-state-DS8Uf2P2.d.ts} +1 -1
- package/dist/{revision-state-CXEcwfWa.d.cts → revision-state-DY4l_agA.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-ON7HBHJA.js.map +0 -1
|
@@ -16497,7 +16497,10 @@ declare class CalendarsApi extends BaseApiClient {
|
|
|
16497
16497
|
/** Update an attendee's details on a calendar event. */
|
|
16498
16498
|
updateEventAttendee(wid: string, eventId: number, attendeeId: number, update: UpdateAttendeeRequest): Promise<void>;
|
|
16499
16499
|
/** List all calendar event types in the workspace. */
|
|
16500
|
-
getEventTypes(wid: string
|
|
16500
|
+
getEventTypes(wid: string, options?: {
|
|
16501
|
+
page?: number;
|
|
16502
|
+
pageSize?: number;
|
|
16503
|
+
}): Promise<PaginatedResponse<EventTypeResponse>>;
|
|
16501
16504
|
/** Get a single calendar event type by ID. */
|
|
16502
16505
|
getEventType(wid: string, id: number): Promise<EventTypeResponse>;
|
|
16503
16506
|
/** Create a new calendar event type. */
|
|
@@ -16497,7 +16497,10 @@ declare class CalendarsApi extends BaseApiClient {
|
|
|
16497
16497
|
/** Update an attendee's details on a calendar event. */
|
|
16498
16498
|
updateEventAttendee(wid: string, eventId: number, attendeeId: number, update: UpdateAttendeeRequest): Promise<void>;
|
|
16499
16499
|
/** List all calendar event types in the workspace. */
|
|
16500
|
-
getEventTypes(wid: string
|
|
16500
|
+
getEventTypes(wid: string, options?: {
|
|
16501
|
+
page?: number;
|
|
16502
|
+
pageSize?: number;
|
|
16503
|
+
}): Promise<PaginatedResponse<EventTypeResponse>>;
|
|
16501
16504
|
/** Get a single calendar event type by ID. */
|
|
16502
16505
|
getEventType(wid: string, id: number): Promise<EventTypeResponse>;
|
|
16503
16506
|
/** Create a new calendar event type. */
|
|
@@ -1139,8 +1139,14 @@ var CalendarsApi = class extends BaseApiClient {
|
|
|
1139
1139
|
});
|
|
1140
1140
|
}
|
|
1141
1141
|
/** List all calendar event types in the workspace. */
|
|
1142
|
-
async getEventTypes(wid) {
|
|
1143
|
-
|
|
1142
|
+
async getEventTypes(wid, options) {
|
|
1143
|
+
const params = new URLSearchParams();
|
|
1144
|
+
if (options?.page !== void 0) params.set("page", String(options.page));
|
|
1145
|
+
if (options?.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
|
|
1146
|
+
const query = params.size ? `?${params}` : "";
|
|
1147
|
+
return this.fetch(
|
|
1148
|
+
`w/${wid}/calendar-event-types${query}`
|
|
1149
|
+
);
|
|
1144
1150
|
}
|
|
1145
1151
|
/** Get a single calendar event type by ID. */
|
|
1146
1152
|
async getEventType(wid, id) {
|
|
@@ -15620,4 +15626,4 @@ export {
|
|
|
15620
15626
|
SCOPE_PRESETS,
|
|
15621
15627
|
getRevisionState
|
|
15622
15628
|
};
|
|
15623
|
-
//# sourceMappingURL=chunk-
|
|
15629
|
+
//# sourceMappingURL=chunk-F3DHHYCJ.js.map
|