@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.
- package/dist/{account-DLwJWX9b.d.cts → account-DEA-f-I9.d.cts} +1 -1
- package/dist/{account-DLwJWX9b.d.ts → account-DEA-f-I9.d.ts} +1 -1
- package/dist/{agent_team-C4ZYR_m1.d.ts → agent_team-Baa7AvKF.d.ts} +2 -2
- package/dist/{agent_team-C6FdNgYH.d.cts → agent_team-EdLmOQDL.d.cts} +2 -2
- package/dist/{chunk-7LQYEV5Y.js → chunk-XTB2HFSI.js} +20 -9
- package/dist/chunk-XTB2HFSI.js.map +1 -0
- package/dist/{client-DVF3qwNq.d.ts → client-BaF3v-ux.d.ts} +73 -24
- package/dist/{client-DwslF70Y.d.cts → client-Cb9pM31S.d.cts} +73 -24
- package/dist/helpers.d.cts +3 -3
- package/dist/helpers.d.ts +3 -3
- package/dist/index.cjs +19 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/internal.cjs +19 -8
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +44 -8
- package/dist/internal.d.ts +44 -8
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-BpcX-swC.d.ts → member-import-Bq_eC7gx.d.ts} +2 -2
- package/dist/{member-import-CA9YWv3Y.d.cts → member-import-_zu58M9w.d.cts} +2 -2
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.d.cts +20 -20
- package/dist/schemas.d.ts +20 -20
- package/dist/{tasks-BGLfmf5y.d.ts → tasks-DssYoZDt.d.ts} +5 -2
- package/dist/{tasks-BZb3rt5m.d.cts → tasks-yScacy3c.d.cts} +5 -2
- package/package.json +1 -1
- package/dist/chunk-7LQYEV5Y.js.map +0 -1
|
@@ -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-
|
|
2
|
-
import { ew as SortOrder } from './tasks-
|
|
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-
|
|
2
|
-
import { ew as SortOrder } from './tasks-
|
|
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
|
|
6847
|
-
*
|
|
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-
|
|
20000
|
+
//# sourceMappingURL=chunk-XTB2HFSI.js.map
|