@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
package/dist/helpers.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fr as GravityRailClient } from './chat-interaction-
|
|
2
|
-
export { bM as ChatInteractionController } from './chat-interaction-
|
|
1
|
+
import { fr as GravityRailClient } from './chat-interaction-SVa5dCEM.cjs';
|
|
2
|
+
export { bM as ChatInteractionController } from './chat-interaction-SVa5dCEM.cjs';
|
|
3
3
|
import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-Co5om-p9.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { fr as GravityRailClient } from './chat-interaction-
|
|
2
|
-
export { bM as ChatInteractionController } from './chat-interaction-
|
|
1
|
+
import { fr as GravityRailClient } from './chat-interaction-cAFv3O2a.js';
|
|
2
|
+
export { bM as ChatInteractionController } from './chat-interaction-cAFv3O2a.js';
|
|
3
3
|
import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-Co5om-p9.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
package/dist/index.cjs
CHANGED
|
@@ -1853,8 +1853,14 @@ var CalendarsApi = class extends BaseApiClient {
|
|
|
1853
1853
|
});
|
|
1854
1854
|
}
|
|
1855
1855
|
/** List all calendar event types in the workspace. */
|
|
1856
|
-
async getEventTypes(wid) {
|
|
1857
|
-
|
|
1856
|
+
async getEventTypes(wid, options) {
|
|
1857
|
+
const params = new URLSearchParams();
|
|
1858
|
+
if (options?.page !== void 0) params.set("page", String(options.page));
|
|
1859
|
+
if (options?.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
|
|
1860
|
+
const query = params.size ? `?${params}` : "";
|
|
1861
|
+
return this.fetch(
|
|
1862
|
+
`w/${wid}/calendar-event-types${query}`
|
|
1863
|
+
);
|
|
1858
1864
|
}
|
|
1859
1865
|
/** Get a single calendar event type by ID. */
|
|
1860
1866
|
async getEventType(wid, id) {
|