@gravity-rail/cli 0.21.0 → 0.22.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/gr.js +22 -7
- package/dist/gr.js.map +1 -1
- package/package.json +2 -2
package/dist/gr.js
CHANGED
|
@@ -3225,7 +3225,7 @@ var init_libphonenumber_js = __esm({
|
|
|
3225
3225
|
}
|
|
3226
3226
|
});
|
|
3227
3227
|
|
|
3228
|
-
// ../sdk/dist/chunk-
|
|
3228
|
+
// ../sdk/dist/chunk-WMA6YCAS.js
|
|
3229
3229
|
function sanitizePhoneForBackend(phoneNumber) {
|
|
3230
3230
|
try {
|
|
3231
3231
|
let parsed = parsePhoneNumber4(phoneNumber);
|
|
@@ -4066,6 +4066,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
4066
4066
|
target.getThreadEmails = inboxes.getThreadEmails.bind(inboxes);
|
|
4067
4067
|
target.getChatEmails = inboxes.getChatEmails.bind(inboxes);
|
|
4068
4068
|
target.replyToEmail = inboxes.replyToEmail.bind(inboxes);
|
|
4069
|
+
target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
|
|
4069
4070
|
target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
|
|
4070
4071
|
target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
|
|
4071
4072
|
target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
|
|
@@ -4386,6 +4387,8 @@ function bindOrgMethods(target, org) {
|
|
|
4386
4387
|
target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
|
|
4387
4388
|
target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
|
|
4388
4389
|
target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
|
|
4390
|
+
target.getA2PCampaignConfig = org.getA2PCampaignConfig.bind(org);
|
|
4391
|
+
target.updateA2PCampaignConfig = org.updateA2PCampaignConfig.bind(org);
|
|
4389
4392
|
target.getOrgWorkspaceUsage = org.getOrgWorkspaceUsage.bind(org);
|
|
4390
4393
|
}
|
|
4391
4394
|
function bindPronunciationsMethods(target, pronunciations) {
|
|
@@ -4531,8 +4534,8 @@ function getRevisionState(workflow, revision) {
|
|
|
4531
4534
|
};
|
|
4532
4535
|
}
|
|
4533
4536
|
var AbilitiesApi, AccessGrantsApi, AgentTasksApi, AgentsApi, AIModelsApi, ApiKeysApi, AppsApi, AssignmentsApi, VoiceApi, AuthApi, BuildersApi, CalendarsApi, CallsApi, CELApi, ChatsApi, ConfluenceApi, CustomToolkitsApi, DataTypesApi, DiscordBotsApi, SlackAppsApi, EventsApi, FeaturesApi, FhirConnectionsApi, InboundFaxStatus, DocumoFaxApi, HealthieApi, FilesApi, InboxesApi, InquiriesApi, AppConnectionsApi, McpServersApi, MemberImportValidationError, MembersApi, MondayIntegrationApi, NotificationRulesApi, OperatorApi, OrgApi, OAuthConnectionsApi, OAuthApi, PhoneNumbersApi, PronunciationsApi, PromptsApi, PersonasApi, QueriesApi, QualificationsApi, ReportsApi, SalesforceApi, ConnectionSyncApi, HubspotApi, SitesApi, SubscriptionsApi, SupportRequestsApi, CustomersApi, ResellersApi, SupervisorsApi, TasksApi, TemplatesApi, ToolkitsApi, JourneysApi, WorkflowsApi, WorkflowNotesApi, EventRuleObjectType, EventRuleEventType, EventRuleActionType, DriverMode, WorkspaceInvitationsApi, WorkspacesApi, DashboardsApi, DevicesApi, TeamsAppsApi, ExperimentsApi, PatientSyncConnectionsApi, ActivityTimelineApi, MotdApi, InterventionRequestsApi, MetricsApi, ProjectsApi, TrackedLinksApi, WORKSPACE_METHOD_NAMES, WORKSPACE_METHOD_NAME_SET, GravityRailClient, WIDGET_SLUGS, CHAT_TYPES, BUILTIN_ASSISTANT_CHAT_TYPES, MEMBER_AGENT_CHAT_TYPES;
|
|
4534
|
-
var
|
|
4535
|
-
"../sdk/dist/chunk-
|
|
4537
|
+
var init_chunk_WMA6YCAS = __esm({
|
|
4538
|
+
"../sdk/dist/chunk-WMA6YCAS.js"() {
|
|
4536
4539
|
init_chunk_7OLBLLV7();
|
|
4537
4540
|
init_libphonenumber_js();
|
|
4538
4541
|
AbilitiesApi = class extends BaseApiClient {
|
|
@@ -7823,10 +7826,18 @@ var init_chunk_24L4RD4Z = __esm({
|
|
|
7823
7826
|
});
|
|
7824
7827
|
}
|
|
7825
7828
|
/** Reply to an email from the inbox. */
|
|
7826
|
-
async replyToEmail(wid, inboxId, emailId, content) {
|
|
7829
|
+
async replyToEmail(wid, inboxId, emailId, content, htmlContent) {
|
|
7830
|
+
const body = { content, htmlContent };
|
|
7827
7831
|
return this.fetch(`w/${wid}/inboxes/${inboxId}/emails/${emailId}/reply`, {
|
|
7828
7832
|
method: "POST",
|
|
7829
|
-
body: JSON.stringify(
|
|
7833
|
+
body: JSON.stringify(body)
|
|
7834
|
+
});
|
|
7835
|
+
}
|
|
7836
|
+
/** Compose and send a new email from an inbox. */
|
|
7837
|
+
async sendInboxEmail(wid, inboxId, body) {
|
|
7838
|
+
return this.fetch(`w/${wid}/inboxes/${inboxId}/emails`, {
|
|
7839
|
+
method: "POST",
|
|
7840
|
+
body: JSON.stringify(body)
|
|
7830
7841
|
});
|
|
7831
7842
|
}
|
|
7832
7843
|
/**
|
|
@@ -13965,6 +13976,7 @@ var init_chunk_24L4RD4Z = __esm({
|
|
|
13965
13976
|
"selectCurrentAssignmentTask",
|
|
13966
13977
|
"sendAssistantMessage",
|
|
13967
13978
|
"sendChatMessage",
|
|
13979
|
+
"sendInboxEmail",
|
|
13968
13980
|
"sendOperatorMessage",
|
|
13969
13981
|
"siteGoogleOAuthInitiate",
|
|
13970
13982
|
"siteSendEmailCode",
|
|
@@ -14497,6 +14509,8 @@ var init_chunk_24L4RD4Z = __esm({
|
|
|
14497
14509
|
syncVoiceTrustProducts;
|
|
14498
14510
|
createOrganizationWorkspace;
|
|
14499
14511
|
getOrgBillingCustomer;
|
|
14512
|
+
getA2PCampaignConfig;
|
|
14513
|
+
updateA2PCampaignConfig;
|
|
14500
14514
|
getOrgWorkspaceUsage;
|
|
14501
14515
|
getVapidPublicKey;
|
|
14502
14516
|
registerPushSubscription;
|
|
@@ -14799,6 +14813,7 @@ var init_chunk_24L4RD4Z = __esm({
|
|
|
14799
14813
|
getThreadEmails;
|
|
14800
14814
|
getChatEmails;
|
|
14801
14815
|
replyToEmail;
|
|
14816
|
+
sendInboxEmail;
|
|
14802
14817
|
getNotificationRules;
|
|
14803
14818
|
createNotificationRule;
|
|
14804
14819
|
updateNotificationRule;
|
|
@@ -15349,7 +15364,7 @@ var init_chunk_3HAV5XUJ = __esm({
|
|
|
15349
15364
|
var SEARCHABLE_EVENT_RULE_SOURCE_FIELDS;
|
|
15350
15365
|
var init_dist = __esm({
|
|
15351
15366
|
"../sdk/dist/index.js"() {
|
|
15352
|
-
|
|
15367
|
+
init_chunk_WMA6YCAS();
|
|
15353
15368
|
init_chunk_3HAV5XUJ();
|
|
15354
15369
|
init_chunk_7OLBLLV7();
|
|
15355
15370
|
SEARCHABLE_EVENT_RULE_SOURCE_FIELDS = [
|
|
@@ -37273,7 +37288,7 @@ init_concierge_api();
|
|
|
37273
37288
|
|
|
37274
37289
|
// package.json
|
|
37275
37290
|
var package_default = {
|
|
37276
|
-
version: "0.
|
|
37291
|
+
version: "0.22.0"};
|
|
37277
37292
|
|
|
37278
37293
|
// src/gr.ts
|
|
37279
37294
|
var VERSION = package_default.version;
|