@gravity-rail/sdk 9.2.0 → 10.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.
@@ -41,7 +41,7 @@ declare const SessionKind: {
41
41
  */
42
42
 
43
43
  /**
44
- * One Organization in which the Account has finance access.
44
+ * One Organization in which the Account is an active Owner.
45
45
  */
46
46
  interface AccountBillingOrganizationRef {
47
47
  id: number;
@@ -41,7 +41,7 @@ declare const SessionKind: {
41
41
  */
42
42
 
43
43
  /**
44
- * One Organization in which the Account has finance access.
44
+ * One Organization in which the Account is an active Owner.
45
45
  */
46
46
  interface AccountBillingOrganizationRef {
47
47
  id: number;
@@ -1,5 +1,5 @@
1
- import { dz as ChannelMessagesUnavailableReason, w2 as UiPromptProposedMessage, KO as XAIRealtimeModelConfig$1, ra as Resource$1, a7 as ActivityEventLine, X as ActivityAggregateResponse, a9 as ActivityEventsResponse, ot as PathDefinition, cp as BotTimeWindow, bV as BotConfiguration } from './client-DVF3qwNq.js';
2
- import { ew as SortOrder } from './tasks-BGLfmf5y.js';
1
+ import { dz as ChannelMessagesUnavailableReason, w2 as UiPromptProposedMessage, KO as XAIRealtimeModelConfig$1, ra as Resource$1, a7 as ActivityEventLine, X as ActivityAggregateResponse, a9 as ActivityEventsResponse, ot as PathDefinition, cp as BotTimeWindow, bV as BotConfiguration } from './client-BaF3v-ux.js';
2
+ import { ew as SortOrder } from './tasks-DssYoZDt.js';
3
3
 
4
4
  /**
5
5
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -1,5 +1,5 @@
1
- import { dz as ChannelMessagesUnavailableReason, w2 as UiPromptProposedMessage, KO as XAIRealtimeModelConfig$1, ra as Resource$1, a7 as ActivityEventLine, X as ActivityAggregateResponse, a9 as ActivityEventsResponse, ot as PathDefinition, cp as BotTimeWindow, bV as BotConfiguration } from './client-DwslF70Y.cjs';
2
- import { ew as SortOrder } from './tasks-BZb3rt5m.cjs';
1
+ import { dz as ChannelMessagesUnavailableReason, w2 as UiPromptProposedMessage, KO as XAIRealtimeModelConfig$1, ra as Resource$1, a7 as ActivityEventLine, X as ActivityAggregateResponse, a9 as ActivityEventsResponse, ot as PathDefinition, cp as BotTimeWindow, bV as BotConfiguration } from './client-Cb9pM31S.cjs';
2
+ import { ew as SortOrder } from './tasks-yScacy3c.cjs';
3
3
 
4
4
  /**
5
5
  * Generated by Orval, grouped by scripts/types-codegen/group_generated.ts
@@ -6124,12 +6124,6 @@ var OrgApi = class extends BaseApiClient {
6124
6124
  body: JSON.stringify(data)
6125
6125
  });
6126
6126
  }
6127
- async setOrganizationMemberBillingRole(orgUuid, memberId, billingRole) {
6128
- return this.fetch(`o/${orgUuid}/members/${memberId}/billing-role`, {
6129
- method: "PUT",
6130
- body: JSON.stringify({ billingRole })
6131
- });
6132
- }
6133
6127
  /**
6134
6128
  * Remove a member from an organization.
6135
6129
  */
@@ -6843,8 +6837,8 @@ var OrgApi = class extends BaseApiClient {
6843
6837
  }
6844
6838
  /**
6845
6839
  * Submit a later campaign that has never been submitted. The caller must be
6846
- * an org admin with recent 2FA, and the billing owner on subscription
6847
- * billing (the submission buys the campaign's vetting). The brand's first
6840
+ * an org admin with recent 2FA, and — on subscription billing — an active
6841
+ * Organization Owner (the submission buys the campaign's vetting). The brand's first
6848
6842
  * campaign is submitted by approving its sample messages during registration;
6849
6843
  * an ineligible campaign comes back as a structured 409 with a `code`. A brand
6850
6844
  * that no longer reads approved at the carrier, or a use case it no longer
@@ -7570,6 +7564,18 @@ var PhoneNumbersApi = class extends BaseApiClient {
7570
7564
  async getVoicemailByUuid(wid, uuid) {
7571
7565
  return this.fetch(`w/${wid}/voicemails/by-uuid/${encodeURIComponent(uuid)}`);
7572
7566
  }
7567
+ /** Fetch one authorized SMS delivery by uuid with failure reason and trigger provenance. */
7568
+ async getSmsDeliveryByUuid(wid, uuid) {
7569
+ return this.fetch(
7570
+ `w/${wid}/phone-numbers/sms-messages/by-uuid/${encodeURIComponent(uuid)}`
7571
+ );
7572
+ }
7573
+ /** Fetch one org-authorized SMS delivery by uuid inside a workspace of the org. */
7574
+ async getOrgWorkspaceSmsDeliveryByUuid(orgUuid, wid, uuid) {
7575
+ return this.fetch(
7576
+ `o/${orgUuid}/activity/workspaces/${wid}/sms-messages/by-uuid/${encodeURIComponent(uuid)}`
7577
+ );
7578
+ }
7573
7579
  /** Fetch voicemail audio through the authenticated client path. */
7574
7580
  async fetchVoicemailAudio(wid, phoneNumberId, voicemailId) {
7575
7581
  const response = await this.fetchRaw(
@@ -14403,6 +14409,7 @@ var WORKSPACE_METHOD_NAMES = [
14403
14409
  "exportWorkspaceZip",
14404
14410
  "fetchVoicemailAudio",
14405
14411
  "getVoicemailByUuid",
14412
+ "getSmsDeliveryByUuid",
14406
14413
  "fhirBackfillEncounterSync",
14407
14414
  "fhirCheckPatientLinks",
14408
14415
  "fhirCreateEncounter",
@@ -15908,6 +15915,8 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
15908
15915
  target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
15909
15916
  target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
15910
15917
  target.getVoicemailByUuid = phoneNumbers.getVoicemailByUuid.bind(phoneNumbers);
15918
+ target.getSmsDeliveryByUuid = phoneNumbers.getSmsDeliveryByUuid.bind(phoneNumbers);
15919
+ target.getOrgWorkspaceSmsDeliveryByUuid = phoneNumbers.getOrgWorkspaceSmsDeliveryByUuid.bind(phoneNumbers);
15911
15920
  target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
15912
15921
  target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
15913
15922
  target.releasePhoneNumber = phoneNumbers.releasePhoneNumber.bind(phoneNumbers);
@@ -17557,6 +17566,8 @@ var GravityRailClient = class {
17557
17566
  getPhoneNumberFaxes;
17558
17567
  getPhoneNumberVoicemails;
17559
17568
  getVoicemailByUuid;
17569
+ getSmsDeliveryByUuid;
17570
+ getOrgWorkspaceSmsDeliveryByUuid;
17560
17571
  fetchVoicemailAudio;
17561
17572
  updateVoicemailStatus;
17562
17573
  releasePhoneNumber;
@@ -19986,4 +19997,4 @@ export {
19986
19997
  pathDraftFromStorage,
19987
19998
  pathDraftToStorage
19988
19999
  };
19989
- //# sourceMappingURL=chunk-7LQYEV5Y.js.map
20000
+ //# sourceMappingURL=chunk-XTB2HFSI.js.map