@gravity-rail/sdk 0.34.0 → 0.35.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.
@@ -1,6 +1,6 @@
1
- import { fr as GravityRailClient } from './chat-interaction-C-B463O4.cjs';
2
- export { bM as ChatInteractionController } from './chat-interaction-C-B463O4.cjs';
3
- import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-Co5om-p9.cjs';
1
+ import { fr as GravityRailClient } from './chat-interaction-FU7DSyol.cjs';
2
+ export { bM as ChatInteractionController } from './chat-interaction-FU7DSyol.cjs';
3
+ import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-BH_i_pVb.cjs';
4
4
  import 'zod';
5
5
 
6
6
  interface OutboundPhoneNumberOption {
package/dist/helpers.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { fr as GravityRailClient } from './chat-interaction-BiH_iWSK.js';
2
- export { bM as ChatInteractionController } from './chat-interaction-BiH_iWSK.js';
3
- import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-Co5om-p9.js';
1
+ import { fr as GravityRailClient } from './chat-interaction-BheWK1UA.js';
2
+ export { bM as ChatInteractionController } from './chat-interaction-BheWK1UA.js';
3
+ import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-BH_i_pVb.js';
4
4
  import 'zod';
5
5
 
6
6
  interface OutboundPhoneNumberOption {
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
- return this.fetch(`w/${wid}/calendar-event-types`);
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) {
@@ -13351,6 +13357,8 @@ function bindOrgMethods(target, org) {
13351
13357
  target.enableOrgDomainSite = org.enableOrgDomainSite.bind(org);
13352
13358
  target.getOrgDomainSite = org.getOrgDomainSite.bind(org);
13353
13359
  target.preflightOrgDomainSite = org.preflightOrgDomainSite.bind(org);
13360
+ target.createOrgDomainSiteChildHost = org.createOrgDomainSiteChildHost.bind(org);
13361
+ target.listOrgDomainSiteChildHosts = org.listOrgDomainSiteChildHosts.bind(org);
13354
13362
  target.verifyOrgDomainSite = org.verifyOrgDomainSite.bind(org);
13355
13363
  target.disableOrgDomainSite = org.disableOrgDomainSite.bind(org);
13356
13364
  target.getBusinessProfile = org.getBusinessProfile.bind(org);
@@ -13968,6 +13976,8 @@ var GravityRailClient = class {
13968
13976
  enableOrgDomainSite;
13969
13977
  getOrgDomainSite;
13970
13978
  preflightOrgDomainSite;
13979
+ createOrgDomainSiteChildHost;
13980
+ listOrgDomainSiteChildHosts;
13971
13981
  verifyOrgDomainSite;
13972
13982
  disableOrgDomainSite;
13973
13983
  getBusinessProfile;