@gravity-rail/sdk 8.0.0 → 8.2.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.
@@ -1956,6 +1956,10 @@ var ChatsApi = class extends BaseApiClient {
1956
1956
  async getChat(wid, id) {
1957
1957
  return this.fetch(`w/${wid}/chats/${id}`);
1958
1958
  }
1959
+ /** Get the current viewer's attention state for a Chat. */
1960
+ async getChatAttention(wid, id) {
1961
+ return this.fetch(`w/${wid}/chats/${id}/attention`);
1962
+ }
1959
1963
  /**
1960
1964
  * Get a single chat by UUID.
1961
1965
  *
@@ -2195,10 +2199,10 @@ var ChatsApi = class extends BaseApiClient {
2195
2199
  });
2196
2200
  }
2197
2201
  /** Update the mute status of a chat. */
2198
- async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
2202
+ async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound, dismissInboundMessageId) {
2199
2203
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
2200
2204
  method: "PUT",
2201
- body: JSON.stringify({ muted, muteReason, muteExpiresOnInbound })
2205
+ body: JSON.stringify({ muted, muteReason, muteExpiresOnInbound, dismissInboundMessageId })
2202
2206
  });
2203
2207
  }
2204
2208
  /** Generate an AI summary for a chat, optionally updating its labels. */
@@ -2624,15 +2628,15 @@ var DataTypesApi = class extends BaseApiClient {
2624
2628
  return this.fetch(`w/${wid}/data-types${queryString ? `?${queryString}` : ""}`);
2625
2629
  }
2626
2630
  /** Get a single data type by numeric ID, or by UUID when a UUID string is supplied. */
2627
- async getDataType(wid, id) {
2631
+ async getDataType(wid, id, init) {
2628
2632
  if (typeof id === "string" && isUuid(id)) {
2629
- return this.getDataTypeByUuid(wid, id);
2633
+ return this.getDataTypeByUuid(wid, id, init);
2630
2634
  }
2631
- return this.fetch(`w/${wid}/data-types/${id}`);
2635
+ return this.fetch(`w/${wid}/data-types/${id}`, init);
2632
2636
  }
2633
2637
  /** Get a single data type by UUID. */
2634
- async getDataTypeByUuid(wid, uuid) {
2635
- return this.fetch(`w/${wid}/data-types/${uuid}`);
2638
+ async getDataTypeByUuid(wid, uuid, init) {
2639
+ return this.fetch(`w/${wid}/data-types/${uuid}`, init);
2636
2640
  }
2637
2641
  /** Get a single data type by its slug. */
2638
2642
  async getDataTypeBySlug(wid, slug) {
@@ -2698,7 +2702,8 @@ var DataTypesApi = class extends BaseApiClient {
2698
2702
  if (options?.page) params.append("page", options.page.toString());
2699
2703
  if (options?.pageSize) params.append("page_size", options.pageSize.toString());
2700
2704
  return this.fetch(
2701
- `w/${wid}/data-types/${dataTypeId}/records${params?.toString() ? `?${params.toString()}` : ""}`
2705
+ `w/${wid}/data-types/${dataTypeId}/records${params?.toString() ? `?${params.toString()}` : ""}`,
2706
+ options?.signal ? { signal: options.signal } : void 0
2702
2707
  );
2703
2708
  }
2704
2709
  /**
@@ -2770,8 +2775,8 @@ var DataTypesApi = class extends BaseApiClient {
2770
2775
  return this.fetch(`w/${wid}/data-record-filters/${filterId}/count`);
2771
2776
  }
2772
2777
  /** Get a single data record by ID. */
2773
- async getDataRecord(wid, recordId) {
2774
- return this.fetch(`w/${wid}/data-types/records/${recordId}`);
2778
+ async getDataRecord(wid, recordId, init) {
2779
+ return this.fetch(`w/${wid}/data-types/records/${recordId}`, init);
2775
2780
  }
2776
2781
  /**
2777
2782
  * Get a single data record by UUID.
@@ -14463,6 +14468,7 @@ var WORKSPACE_METHOD_NAMES = [
14463
14468
  "getCelContext",
14464
14469
  "getCharlestonTestDeliveryRecipients",
14465
14470
  "getChat",
14471
+ "getChatAttention",
14466
14472
  "getChatByUuid",
14467
14473
  "getChatAssignmentTasks",
14468
14474
  "getChatBrowserLiveView",
@@ -14853,7 +14859,6 @@ var WORKSPACE_METHOD_NAMES = [
14853
14859
  "initiateOutboundCall",
14854
14860
  "inspectPrompt",
14855
14861
  "installHubspot",
14856
- "installDocumoFax",
14857
14862
  "installMondayConnection",
14858
14863
  "installSalesforce",
14859
14864
  "inviteMemberCredentialUpdate",
@@ -14970,7 +14975,6 @@ var WORKSPACE_METHOD_NAMES = [
14970
14975
  "upgradeInstallation",
14971
14976
  "replaceBundleDraft",
14972
14977
  "replyToEmail",
14973
- "rotateDocumoFaxCredentials",
14974
14978
  "requestPhoneNumber",
14975
14979
  "requestWorkspaceMembership",
14976
14980
  "resetRoutineRuns",
@@ -15227,6 +15231,7 @@ function bindChatsMethods(target, chats) {
15227
15231
  target.transitionChatInteractionSession = chats.transitionChatInteractionSession.bind(chats);
15228
15232
  target.getChats = chats.getChats.bind(chats);
15229
15233
  target.getChat = chats.getChat.bind(chats);
15234
+ target.getChatAttention = chats.getChatAttention.bind(chats);
15230
15235
  target.getChatByUuid = chats.getChatByUuid.bind(chats);
15231
15236
  target.saveChatBrowserStorage = chats.saveChatBrowserStorage.bind(chats);
15232
15237
  target.clearChatBrowserStorage = chats.clearChatBrowserStorage.bind(chats);
@@ -16039,238 +16044,272 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16039
16044
  }
16040
16045
 
16041
16046
  // src/client/bindings/integrations.ts
16042
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, stedi, salesforce, hubspot, appConnections, connectionSync, confluence) {
16043
- target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16044
- target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16045
- target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
16046
- target.getMondayCurrentUserInfo = mondayIntegration.getCurrentUserInfo.bind(mondayIntegration);
16047
- target.installMondayConnection = mondayIntegration.installMondayConnection.bind(mondayIntegration);
16048
- target.configureMondayConnection = mondayIntegration.configureMondayConnection.bind(mondayIntegration);
16049
- target.getMondayConnectionStatus = mondayIntegration.getMondayConnectionStatus.bind(mondayIntegration);
16050
- target.authorizeMondayConnection = mondayIntegration.authorizeMondayConnection.bind(mondayIntegration);
16051
- target.testMondayConnection = mondayIntegration.testMondayConnection.bind(mondayIntegration);
16052
- target.disconnectMondayConnection = mondayIntegration.disconnectMondayConnection.bind(mondayIntegration);
16053
- target.disableMondayConnection = mondayIntegration.disableMondayConnection.bind(mondayIntegration);
16054
- target.enableMondayConnection = mondayIntegration.enableMondayConnection.bind(mondayIntegration);
16055
- target.deleteMondayConnection = mondayIntegration.deleteMondayConnection.bind(mondayIntegration);
16056
- target.getMondayConnectionBoards = mondayIntegration.getMondayConnectionBoards.bind(mondayIntegration);
16057
- target.getMondayConnectionBoardColumns = mondayIntegration.getMondayConnectionBoardColumns.bind(mondayIntegration);
16058
- target.getMondayConnectionBoardGroups = mondayIntegration.getMondayConnectionBoardGroups.bind(mondayIntegration);
16059
- target.getMondaySyncConfig = mondayIntegration.getMondaySyncConfig.bind(mondayIntegration);
16060
- target.getMondaySyncLogs = mondayIntegration.getMondaySyncLogs.bind(mondayIntegration);
16061
- target.updateMondaySyncConfig = mondayIntegration.updateMondaySyncConfig.bind(mondayIntegration);
16062
- target.validateMondaySyncConfig = mondayIntegration.validateMondaySyncConfig.bind(mondayIntegration);
16063
- target.getLinkedMondayMembers = mondayIntegration.getLinkedMondayMembers.bind(mondayIntegration);
16064
- target.getMondayReconciliationMatches = mondayIntegration.getMondayReconciliationMatches.bind(mondayIntegration);
16065
- target.linkMemberToMonday = mondayIntegration.linkMemberToMonday.bind(mondayIntegration);
16066
- target.bulkLinkMembersToMonday = mondayIntegration.bulkLinkMembersToMonday.bind(mondayIntegration);
16067
- target.unlinkMemberFromMonday = mondayIntegration.unlinkMemberFromMonday.bind(mondayIntegration);
16068
- target.getLinkedRecords = mondayIntegration.getLinkedRecords.bind(mondayIntegration);
16069
- target.importFromBoard = mondayIntegration.importFromBoard.bind(mondayIntegration);
16070
- target.autoCreateDataTypeFromBoard = mondayIntegration.autoCreateDataTypeFromBoard.bind(mondayIntegration);
16071
- target.getDiscordBots = discordBots.getDiscordBots.bind(discordBots);
16072
- target.getDiscordBot = discordBots.getDiscordBot.bind(discordBots);
16073
- target.createDiscordBot = discordBots.createDiscordBot.bind(discordBots);
16074
- target.updateDiscordBot = discordBots.updateDiscordBot.bind(discordBots);
16075
- target.deleteDiscordBot = discordBots.deleteDiscordBot.bind(discordBots);
16076
- target.registerDiscordSlashCommands = discordBots.registerSlashCommands.bind(discordBots);
16077
- target.registerLinkedRolesMetadata = discordBots.registerLinkedRolesMetadata.bind(discordBots);
16078
- target.getDiscordThreads = discordBots.getDiscordThreads.bind(discordBots);
16079
- target.getDiscordGuilds = discordBots.getDiscordGuilds.bind(discordBots);
16080
- target.getDiscordBotAccounts = discordBots.getDiscordBotAccounts.bind(discordBots);
16081
- target.getMyCredentials = discordBots.getMyCredentials.bind(discordBots);
16082
- target.unlinkCredential = discordBots.unlinkCredential.bind(discordBots);
16083
- target.completeDiscordLink = discordBots.completeDiscordLink.bind(discordBots);
16084
- target.discordLinkPreflight = discordBots.discordLinkPreflight.bind(discordBots);
16085
- target.getSlackApps = slackApps.getSlackApps.bind(slackApps);
16086
- target.getSlackApp = slackApps.getSlackApp.bind(slackApps);
16087
- target.createSlackApp = slackApps.createSlackApp.bind(slackApps);
16088
- target.updateSlackApp = slackApps.updateSlackApp.bind(slackApps);
16089
- target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
16090
- target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
16091
- target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
16092
- target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
16093
- target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
16094
- target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
16095
- target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
16096
- target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
16097
- target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
16098
- target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
16099
- target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
16100
- target.createTeamsApp = teamsApps.createTeamsApp.bind(teamsApps);
16101
- target.updateTeamsApp = teamsApps.updateTeamsApp.bind(teamsApps);
16102
- target.deleteTeamsApp = teamsApps.deleteTeamsApp.bind(teamsApps);
16103
- target.getTeamsConversations = teamsApps.getTeamsConversations.bind(teamsApps);
16104
- target.getTeamsInstallations = teamsApps.getTeamsInstallations.bind(teamsApps);
16105
- target.getTeamsAppAccounts = teamsApps.getTeamsAppAccounts.bind(teamsApps);
16106
- target.getTeamsNotificationDelivery = teamsApps.getTeamsNotificationDelivery.bind(teamsApps);
16107
- target.getFhirConnections = fhirConnections.getFhirConnections.bind(fhirConnections);
16108
- target.getFhirConnection = fhirConnections.getFhirConnection.bind(fhirConnections);
16109
- target.getFhirConnectionByUuid = fhirConnections.getFhirConnectionByUuid.bind(fhirConnections);
16110
- target.createFhirConnection = fhirConnections.createFhirConnection.bind(fhirConnections);
16111
- target.updateFhirConnection = fhirConnections.updateFhirConnection.bind(fhirConnections);
16112
- target.deleteFhirConnection = fhirConnections.deleteFhirConnection.bind(fhirConnections);
16113
- target.testFhirConnection = fhirConnections.testFhirConnection.bind(fhirConnections);
16114
- target.fhirSearchPatients = fhirConnections.fhirSearchPatients.bind(fhirConnections);
16115
- target.fhirSearchPractitioners = fhirConnections.fhirSearchPractitioners.bind(fhirConnections);
16116
- target.fhirSearchLocations = fhirConnections.fhirSearchLocations.bind(fhirConnections);
16117
- target.fhirFetchCareTeam = fhirConnections.fhirFetchCareTeam.bind(fhirConnections);
16118
- target.fhirFetchEncounters = fhirConnections.fhirFetchEncounters.bind(fhirConnections);
16119
- target.fhirCreateEncounter = fhirConnections.fhirCreateEncounter.bind(fhirConnections);
16120
- target.fhirListLinkedMembers = fhirConnections.fhirListLinkedMembers.bind(fhirConnections);
16121
- target.fhirCheckPatientLinks = fhirConnections.fhirCheckPatientLinks.bind(fhirConnections);
16122
- target.fhirLinkMember = fhirConnections.fhirLinkMember.bind(fhirConnections);
16123
- target.fhirUnlinkMember = fhirConnections.fhirUnlinkMember.bind(fhirConnections);
16124
- target.fhirSyncMember = fhirConnections.fhirSyncMember.bind(fhirConnections);
16125
- target.fhirImportPatient = fhirConnections.fhirImportPatient.bind(fhirConnections);
16126
- target.fhirCsvImportInspect = fhirConnections.fhirCsvImportInspect.bind(fhirConnections);
16127
- target.fhirGetCsvImportSettings = fhirConnections.fhirGetCsvImportSettings.bind(fhirConnections);
16128
- target.fhirUpdateCsvImportSettings = fhirConnections.fhirUpdateCsvImportSettings.bind(fhirConnections);
16129
- target.fhirCsvImportApply = fhirConnections.fhirCsvImportApply.bind(fhirConnections);
16130
- target.fhirGetCsvImportRuns = fhirConnections.fhirGetCsvImportRuns.bind(fhirConnections);
16131
- target.fhirGetCsvImportRunItems = fhirConnections.fhirGetCsvImportRunItems.bind(fhirConnections);
16132
- target.fhirGetEncounterSyncStatus = fhirConnections.fhirGetEncounterSyncStatus.bind(fhirConnections);
16133
- target.fhirUpdateEncounterSync = fhirConnections.fhirUpdateEncounterSync.bind(fhirConnections);
16134
- target.fhirRunEncounterSync = fhirConnections.fhirRunEncounterSync.bind(fhirConnections);
16135
- target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
16136
- target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
16137
- target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
16138
- target.getFhirConnectionSyncConfig = fhirConnections.getFhirConnectionSyncConfig.bind(fhirConnections);
16139
- target.getAthenaPlatformApp = fhirConnections.getAthenaPlatformApp.bind(fhirConnections);
16140
- target.verifyAthenaAccess = fhirConnections.verifyAthenaAccess.bind(fhirConnections);
16141
- target.connectAthena = fhirConnections.connectAthena.bind(fhirConnections);
16142
- target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
16143
- target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
16144
- target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
16145
- target.getDocumoFaxStatus = documoFax.getDocumoFaxStatus.bind(documoFax);
16146
- target.getDocumoFaxSetup = documoFax.getDocumoFaxSetup.bind(documoFax);
16147
- target.listDocumoFaxes = documoFax.listDocumoFaxes.bind(documoFax);
16148
- target.installDocumoFax = documoFax.installDocumoFax.bind(documoFax);
16149
- target.configureDocumoFax = documoFax.configureDocumoFax.bind(documoFax);
16150
- target.verifyDocumoFax = documoFax.verifyDocumoFax.bind(documoFax);
16151
- target.rotateDocumoFaxCredentials = documoFax.rotateDocumoFaxCredentials.bind(documoFax);
16152
- target.getClaimMdStatus = claimMd.getClaimMdStatus.bind(claimMd);
16153
- target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
16154
- target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
16155
- target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
16156
- target.getStediConnections = stedi.getStediConnections.bind(stedi);
16157
- target.getStediConnectionStatus = stedi.getStediConnectionStatus.bind(stedi);
16158
- target.configureHealthie = healthie.configureHealthie.bind(healthie);
16159
- target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16160
- target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
16161
- target.linkCalendarToHealthie = healthie.linkCalendarToHealthie.bind(healthie);
16162
- target.unlinkCalendarFromHealthie = healthie.unlinkCalendarFromHealthie.bind(healthie);
16163
- target.syncCalendarWithHealthie = healthie.syncCalendarWithHealthie.bind(healthie);
16164
- target.getLinkedHealthieMembers = healthie.getLinkedHealthieMembers.bind(healthie);
16165
- target.getHealthieReconciliationMatches = healthie.getHealthieReconciliationMatches.bind(healthie);
16166
- target.getHealthieAppointmentPatientMatches = healthie.getHealthieAppointmentPatientMatches.bind(healthie);
16167
- target.linkMemberToHealthie = healthie.linkMemberToHealthie.bind(healthie);
16168
- target.unlinkMemberFromHealthie = healthie.unlinkMemberFromHealthie.bind(healthie);
16169
- target.listHealthieAppointmentTypes = healthie.listHealthieAppointmentTypes.bind(healthie);
16170
- target.listHealthiePatients = healthie.listHealthiePatients.bind(healthie);
16171
- target.getHealthieAvailableSlots = healthie.getHealthieAvailableSlots.bind(healthie);
16172
- target.bookHealthieAppointment = healthie.bookHealthieAppointment.bind(healthie);
16173
- target.configureConfluence = confluence.configureConfluence.bind(confluence);
16174
- target.startConfluenceOAuth = confluence.startConfluenceOAuth.bind(confluence);
16175
- target.getConfluenceStatus = confluence.getConfluenceStatus.bind(confluence);
16176
- target.disconnectConfluence = confluence.disconnectConfluence.bind(confluence);
16177
- target.disableConfluence = confluence.disableConfluence.bind(confluence);
16178
- target.enableConfluence = confluence.enableConfluence.bind(confluence);
16179
- target.deleteConfluence = confluence.deleteConfluence.bind(confluence);
16180
- target.listConfluenceSpaces = confluence.listConfluenceSpaces.bind(confluence);
16181
- target.listConfluencePages = confluence.listConfluencePages.bind(confluence);
16182
- target.installSalesforce = salesforce.installSalesforce.bind(salesforce);
16183
- target.configureSalesforce = salesforce.configureSalesforce.bind(salesforce);
16184
- target.startSalesforceOAuth = salesforce.startSalesforceOAuth.bind(salesforce);
16185
- target.getSalesforceStatus = salesforce.getSalesforceStatus.bind(salesforce);
16186
- target.disconnectSalesforce = salesforce.disconnectSalesforce.bind(salesforce);
16187
- target.disableSalesforce = salesforce.disableSalesforce.bind(salesforce);
16188
- target.enableSalesforce = salesforce.enableSalesforce.bind(salesforce);
16189
- target.deleteSalesforce = salesforce.deleteSalesforce.bind(salesforce);
16190
- target.getSalesforceReconciliationMatches = salesforce.getSalesforceReconciliationMatches.bind(salesforce);
16191
- target.linkMemberToSalesforce = salesforce.linkMemberToSalesforce.bind(salesforce);
16192
- target.linkUnlinkedSalesforceMembersByIdentity = salesforce.linkUnlinkedSalesforceMembersByIdentity.bind(salesforce);
16193
- target.bulkLinkMembersToSalesforce = salesforce.bulkLinkMembersToSalesforce.bind(salesforce);
16194
- target.unlinkMemberFromSalesforce = salesforce.unlinkMemberFromSalesforce.bind(salesforce);
16195
- target.getLinkedSalesforceMembers = salesforce.getLinkedSalesforceMembers.bind(salesforce);
16196
- target.getSalesforceSyncConfig = salesforce.getSalesforceSyncConfig.bind(salesforce);
16197
- target.getSalesforceSyncLogs = salesforce.getSalesforceSyncLogs.bind(salesforce);
16198
- target.updateSalesforceSyncConfig = salesforce.updateSalesforceSyncConfig.bind(salesforce);
16199
- target.validateSalesforceSyncConfig = salesforce.validateSalesforceSyncConfig.bind(salesforce);
16200
- target.resyncSalesforceLinkedMembers = salesforce.resyncSalesforceLinkedMembers.bind(salesforce);
16201
- target.listSalesforceObjects = salesforce.listSalesforceObjects.bind(salesforce);
16202
- target.describeSalesforceObject = salesforce.describeSalesforceObject.bind(salesforce);
16203
- target.searchSalesforceRecords = salesforce.searchSalesforceRecords.bind(salesforce);
16204
- target.importSalesforceMembers = salesforce.importSalesforceMembers.bind(salesforce);
16205
- target.bindHubspotCalendar = hubspot.bindHubspotCalendar.bind(hubspot);
16206
- target.unlinkHubspotCalendar = hubspot.unlinkHubspotCalendar.bind(hubspot);
16207
- target.importHubspotCalendarEvents = hubspot.importHubspotCalendarEvents.bind(hubspot);
16208
- target.getHubspotBookingReceipt = hubspot.getHubspotBookingReceipt.bind(hubspot);
16209
- target.releaseHubspotBookingAttempt = hubspot.releaseHubspotBookingAttempt.bind(hubspot);
16210
- target.installHubspot = hubspot.installHubspot.bind(hubspot);
16211
- target.configureHubspot = hubspot.configureHubspot.bind(hubspot);
16212
- target.startHubspotOAuth = hubspot.startHubspotOAuth.bind(hubspot);
16213
- target.getHubspotStatus = hubspot.getHubspotStatus.bind(hubspot);
16214
- target.disconnectHubspot = hubspot.disconnectHubspot.bind(hubspot);
16215
- target.switchHubspotToPlatformApp = hubspot.switchHubspotToPlatformApp.bind(hubspot);
16216
- target.disableHubspot = hubspot.disableHubspot.bind(hubspot);
16217
- target.enableHubspot = hubspot.enableHubspot.bind(hubspot);
16218
- target.deleteHubspot = hubspot.deleteHubspot.bind(hubspot);
16219
- target.getHubspotReconciliationMatches = hubspot.getHubspotReconciliationMatches.bind(hubspot);
16220
- target.linkMemberToHubspot = hubspot.linkMemberToHubspot.bind(hubspot);
16221
- target.bulkLinkMembersToHubspot = hubspot.bulkLinkMembersToHubspot.bind(hubspot);
16222
- target.unlinkMemberFromHubspot = hubspot.unlinkMemberFromHubspot.bind(hubspot);
16223
- target.getLinkedHubspotMembers = hubspot.getLinkedHubspotMembers.bind(hubspot);
16224
- target.searchHubspotRecords = hubspot.searchHubspotRecords.bind(hubspot);
16225
- target.importHubspotMembers = hubspot.importHubspotMembers.bind(hubspot);
16226
- target.getHubspotContactProperties = hubspot.getHubspotContactProperties.bind(hubspot);
16227
- target.getHubspotDealProperties = hubspot.getHubspotDealProperties.bind(hubspot);
16228
- target.getHubspotForms = hubspot.getHubspotForms.bind(hubspot);
16229
- target.getHubspotMeetingLinks = hubspot.getHubspotMeetingLinks.bind(hubspot);
16230
- target.getHubspotCrmObjects = hubspot.getHubspotCrmObjects.bind(hubspot);
16231
- target.getHubspotObjectProperties = hubspot.getHubspotObjectProperties.bind(hubspot);
16232
- target.getHubspotManagedRules = hubspot.getHubspotManagedRules.bind(hubspot);
16233
- target.getHubspotSyncLogs = hubspot.getHubspotSyncLogs.bind(hubspot);
16234
- target.getHubspotTransformPresets = hubspot.getHubspotTransformPresets.bind(hubspot);
16235
- target.getConnectionSyncCapabilities = connectionSync.getConnectionSyncCapabilities.bind(connectionSync);
16236
- target.getConnectionSyncConfig = connectionSync.getConnectionSyncConfig.bind(connectionSync);
16237
- target.updateConnectionSyncConfig = connectionSync.updateConnectionSyncConfig.bind(connectionSync);
16238
- target.validateConnectionSyncConfig = connectionSync.validateConnectionSyncConfig.bind(connectionSync);
16239
- target.getConnectionSyncCheckpoint = connectionSync.getConnectionSyncCheckpoint.bind(connectionSync);
16240
- target.startSyncRun = connectionSync.startSyncRun.bind(connectionSync);
16241
- target.getSyncRuns = connectionSync.getSyncRuns.bind(connectionSync);
16242
- target.getSyncRunItems = connectionSync.getSyncRunItems.bind(connectionSync);
16243
- target.getSyncRunItemsPage = connectionSync.getSyncRunItemsPage.bind(connectionSync);
16244
- target.getMemberSyncSummary = connectionSync.getMemberSyncSummary.bind(connectionSync);
16245
- target.getSyncFailureSummary = connectionSync.getSyncFailureSummary.bind(connectionSync);
16246
- target.getSyncFailures = connectionSync.getSyncFailures.bind(connectionSync);
16247
- target.getConnectionFieldHomes = connectionSync.getConnectionFieldHomes.bind(connectionSync);
16248
- target.getInboundRecordStatus = connectionSync.getInboundRecordStatus.bind(connectionSync);
16249
- target.getOwnerMemberStatus = connectionSync.getOwnerMemberStatus.bind(connectionSync);
16250
- target.getConnectionWritePreview = connectionSync.getConnectionWritePreview.bind(connectionSync);
16251
- target.clearConnectionMemberExclusion = connectionSync.clearConnectionMemberExclusion.bind(connectionSync);
16252
- target.linkUnlinkedMembersByIdentity = connectionSync.linkUnlinkedMembersByIdentity.bind(connectionSync);
16253
- target.listSubsetImports = connectionSync.listSubsetImports.bind(connectionSync);
16254
- target.getSubsetImport = connectionSync.getSubsetImport.bind(connectionSync);
16255
- target.createSubsetImport = connectionSync.createSubsetImport.bind(connectionSync);
16256
- target.updateSubsetImport = connectionSync.updateSubsetImport.bind(connectionSync);
16257
- target.deleteSubsetImport = connectionSync.deleteSubsetImport.bind(connectionSync);
16258
- target.previewSubsetImportSelection = connectionSync.previewSubsetImportSelection.bind(connectionSync);
16259
- target.previewSubsetImport = connectionSync.previewSubsetImport.bind(connectionSync);
16260
- target.runSubsetImport = connectionSync.runSubsetImport.bind(connectionSync);
16261
- target.cancelSubsetImport = connectionSync.cancelSubsetImport.bind(connectionSync);
16262
- target.listSubsetImportRuns = connectionSync.listSubsetImportRuns.bind(connectionSync);
16263
- target.listSubsetImportVendorLists = connectionSync.listSubsetImportVendorLists.bind(connectionSync);
16264
- target.listSubsetImportFilterFields = connectionSync.listSubsetImportFilterFields.bind(connectionSync);
16265
- target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
16266
- target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
16267
- target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
16268
- target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
16269
- target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
16270
- target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
16271
- target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
16272
- target.listConnectionMemberFieldKeys = appConnections.listConnectionMemberFieldKeys.bind(appConnections);
16273
- target.setDefaultGooglePlatformAccount = appConnections.setDefaultGooglePlatformAccount.bind(appConnections);
16047
+ function bindMethods(api, keys) {
16048
+ return Object.fromEntries(keys.map((key) => [key, api[key].bind(api)]));
16049
+ }
16050
+ function createIntegrationsBindings(apis) {
16051
+ return {
16052
+ getMondayBoards: apis.mondayIntegration.getBoards.bind(apis.mondayIntegration),
16053
+ getMondayBoardColumns: apis.mondayIntegration.getBoardColumns.bind(apis.mondayIntegration),
16054
+ getMondayBoardGroups: apis.mondayIntegration.getBoardGroups.bind(apis.mondayIntegration),
16055
+ getMondayCurrentUserInfo: apis.mondayIntegration.getCurrentUserInfo.bind(
16056
+ apis.mondayIntegration
16057
+ ),
16058
+ ...bindMethods(apis.mondayIntegration, [
16059
+ "installMondayConnection",
16060
+ "configureMondayConnection",
16061
+ "getMondayConnectionStatus",
16062
+ "authorizeMondayConnection",
16063
+ "testMondayConnection",
16064
+ "disconnectMondayConnection",
16065
+ "disableMondayConnection",
16066
+ "enableMondayConnection",
16067
+ "deleteMondayConnection",
16068
+ "getMondayConnectionBoards",
16069
+ "getMondayConnectionBoardColumns",
16070
+ "getMondayConnectionBoardGroups",
16071
+ "getMondaySyncConfig",
16072
+ "getMondaySyncLogs",
16073
+ "updateMondaySyncConfig",
16074
+ "validateMondaySyncConfig",
16075
+ "getLinkedMondayMembers",
16076
+ "getMondayReconciliationMatches",
16077
+ "linkMemberToMonday",
16078
+ "bulkLinkMembersToMonday",
16079
+ "unlinkMemberFromMonday",
16080
+ "getLinkedRecords",
16081
+ "importFromBoard",
16082
+ "autoCreateDataTypeFromBoard"
16083
+ ]),
16084
+ registerDiscordSlashCommands: apis.discordBots.registerSlashCommands.bind(apis.discordBots),
16085
+ ...bindMethods(apis.discordBots, [
16086
+ "getDiscordBots",
16087
+ "getDiscordBot",
16088
+ "createDiscordBot",
16089
+ "updateDiscordBot",
16090
+ "deleteDiscordBot",
16091
+ "registerLinkedRolesMetadata",
16092
+ "getDiscordThreads",
16093
+ "getDiscordGuilds",
16094
+ "getDiscordBotAccounts",
16095
+ "getMyCredentials",
16096
+ "unlinkCredential",
16097
+ "completeDiscordLink",
16098
+ "discordLinkPreflight"
16099
+ ]),
16100
+ ...bindMethods(apis.slackApps, [
16101
+ "getSlackApps",
16102
+ "getSlackApp",
16103
+ "createSlackApp",
16104
+ "updateSlackApp",
16105
+ "deleteSlackApp",
16106
+ "getSlackThreads",
16107
+ "getSlackInstallations",
16108
+ "removeSlackAccount",
16109
+ "removeSlackInstallation",
16110
+ "getSlackChannelChoices",
16111
+ "getSlackEntryPoints",
16112
+ "connectSlackEntryPoint",
16113
+ "getSlackAppAccounts"
16114
+ ]),
16115
+ ...bindMethods(apis.teamsApps, [
16116
+ "getTeamsApps",
16117
+ "getTeamsApp",
16118
+ "createTeamsApp",
16119
+ "updateTeamsApp",
16120
+ "deleteTeamsApp",
16121
+ "getTeamsConversations",
16122
+ "getTeamsInstallations",
16123
+ "getTeamsAppAccounts",
16124
+ "getTeamsNotificationDelivery"
16125
+ ]),
16126
+ ...bindMethods(apis.fhirConnections, [
16127
+ "getFhirConnections",
16128
+ "getFhirConnection",
16129
+ "getFhirConnectionByUuid",
16130
+ "createFhirConnection",
16131
+ "updateFhirConnection",
16132
+ "deleteFhirConnection",
16133
+ "testFhirConnection",
16134
+ "fhirSearchPatients",
16135
+ "fhirSearchPractitioners",
16136
+ "fhirSearchLocations",
16137
+ "fhirFetchCareTeam",
16138
+ "fhirFetchEncounters",
16139
+ "fhirCreateEncounter",
16140
+ "fhirListLinkedMembers",
16141
+ "fhirCheckPatientLinks",
16142
+ "fhirLinkMember",
16143
+ "fhirUnlinkMember",
16144
+ "fhirSyncMember",
16145
+ "fhirImportPatient",
16146
+ "fhirCsvImportInspect",
16147
+ "fhirGetCsvImportSettings",
16148
+ "fhirUpdateCsvImportSettings",
16149
+ "fhirCsvImportApply",
16150
+ "fhirGetCsvImportRuns",
16151
+ "fhirGetCsvImportRunItems",
16152
+ "fhirGetEncounterSyncStatus",
16153
+ "fhirUpdateEncounterSync",
16154
+ "fhirRunEncounterSync",
16155
+ "fhirGetEncounterSyncRuns",
16156
+ "fhirRefreshEncounterPatient",
16157
+ "fhirBackfillEncounterSync",
16158
+ "getFhirConnectionSyncConfig",
16159
+ "getAthenaPlatformApp",
16160
+ "verifyAthenaAccess",
16161
+ "connectAthena"
16162
+ ]),
16163
+ ...bindMethods(apis.patientSyncConnections, [
16164
+ "configurePatientSync",
16165
+ "getPatientSyncStatus",
16166
+ "deletePatientSyncConnection"
16167
+ ]),
16168
+ ...bindMethods(apis.documoFax, [
16169
+ "getDocumoFaxStatus",
16170
+ "getDocumoFaxSetup",
16171
+ "listDocumoFaxes",
16172
+ "installDocumoFax",
16173
+ "configureDocumoFax",
16174
+ "verifyDocumoFax",
16175
+ "rotateDocumoFaxCredentials"
16176
+ ]),
16177
+ ...bindMethods(apis.claimMd, [
16178
+ "getClaimMdStatus",
16179
+ "installClaimMd",
16180
+ "configureClaimMd",
16181
+ "verifyClaimMdKey"
16182
+ ]),
16183
+ ...bindMethods(apis.stedi, ["getStediConnections", "getStediConnectionStatus"]),
16184
+ ...bindMethods(apis.healthie, [
16185
+ "configureHealthie",
16186
+ "getHealthieStatus",
16187
+ "listHealthieProviders",
16188
+ "linkCalendarToHealthie",
16189
+ "unlinkCalendarFromHealthie",
16190
+ "syncCalendarWithHealthie",
16191
+ "getLinkedHealthieMembers",
16192
+ "getHealthieReconciliationMatches",
16193
+ "getHealthieAppointmentPatientMatches",
16194
+ "linkMemberToHealthie",
16195
+ "unlinkMemberFromHealthie",
16196
+ "listHealthieAppointmentTypes",
16197
+ "listHealthiePatients",
16198
+ "getHealthieAvailableSlots",
16199
+ "bookHealthieAppointment"
16200
+ ]),
16201
+ ...bindMethods(apis.confluence, [
16202
+ "configureConfluence",
16203
+ "startConfluenceOAuth",
16204
+ "getConfluenceStatus",
16205
+ "disconnectConfluence",
16206
+ "disableConfluence",
16207
+ "enableConfluence",
16208
+ "deleteConfluence",
16209
+ "listConfluenceSpaces",
16210
+ "listConfluencePages"
16211
+ ]),
16212
+ ...bindMethods(apis.salesforce, [
16213
+ "installSalesforce",
16214
+ "configureSalesforce",
16215
+ "startSalesforceOAuth",
16216
+ "getSalesforceStatus",
16217
+ "disconnectSalesforce",
16218
+ "disableSalesforce",
16219
+ "enableSalesforce",
16220
+ "deleteSalesforce",
16221
+ "getSalesforceReconciliationMatches",
16222
+ "linkMemberToSalesforce",
16223
+ "linkUnlinkedSalesforceMembersByIdentity",
16224
+ "bulkLinkMembersToSalesforce",
16225
+ "unlinkMemberFromSalesforce",
16226
+ "getLinkedSalesforceMembers",
16227
+ "getSalesforceSyncConfig",
16228
+ "getSalesforceSyncLogs",
16229
+ "updateSalesforceSyncConfig",
16230
+ "validateSalesforceSyncConfig",
16231
+ "resyncSalesforceLinkedMembers",
16232
+ "listSalesforceObjects",
16233
+ "describeSalesforceObject",
16234
+ "searchSalesforceRecords",
16235
+ "importSalesforceMembers"
16236
+ ]),
16237
+ ...bindMethods(apis.hubspot, [
16238
+ "bindHubspotCalendar",
16239
+ "unlinkHubspotCalendar",
16240
+ "importHubspotCalendarEvents",
16241
+ "getHubspotBookingReceipt",
16242
+ "releaseHubspotBookingAttempt",
16243
+ "installHubspot",
16244
+ "configureHubspot",
16245
+ "startHubspotOAuth",
16246
+ "getHubspotStatus",
16247
+ "disconnectHubspot",
16248
+ "switchHubspotToPlatformApp",
16249
+ "disableHubspot",
16250
+ "enableHubspot",
16251
+ "deleteHubspot",
16252
+ "getHubspotReconciliationMatches",
16253
+ "linkMemberToHubspot",
16254
+ "bulkLinkMembersToHubspot",
16255
+ "unlinkMemberFromHubspot",
16256
+ "getLinkedHubspotMembers",
16257
+ "searchHubspotRecords",
16258
+ "importHubspotMembers",
16259
+ "getHubspotContactProperties",
16260
+ "getHubspotDealProperties",
16261
+ "getHubspotForms",
16262
+ "getHubspotMeetingLinks",
16263
+ "getHubspotCrmObjects",
16264
+ "getHubspotObjectProperties",
16265
+ "getHubspotManagedRules",
16266
+ "getHubspotSyncLogs",
16267
+ "getHubspotTransformPresets"
16268
+ ]),
16269
+ ...bindMethods(apis.connectionSync, [
16270
+ "getConnectionSyncCapabilities",
16271
+ "getConnectionSyncConfig",
16272
+ "updateConnectionSyncConfig",
16273
+ "validateConnectionSyncConfig",
16274
+ "getConnectionSyncCheckpoint",
16275
+ "startSyncRun",
16276
+ "getSyncRuns",
16277
+ "getSyncRunItems",
16278
+ "getSyncRunItemsPage",
16279
+ "getMemberSyncSummary",
16280
+ "getSyncFailureSummary",
16281
+ "getSyncFailures",
16282
+ "getConnectionFieldHomes",
16283
+ "getInboundRecordStatus",
16284
+ "getOwnerMemberStatus",
16285
+ "getConnectionWritePreview",
16286
+ "clearConnectionMemberExclusion",
16287
+ "linkUnlinkedMembersByIdentity",
16288
+ "listSubsetImports",
16289
+ "getSubsetImport",
16290
+ "createSubsetImport",
16291
+ "updateSubsetImport",
16292
+ "deleteSubsetImport",
16293
+ "previewSubsetImportSelection",
16294
+ "previewSubsetImport",
16295
+ "runSubsetImport",
16296
+ "cancelSubsetImport",
16297
+ "listSubsetImportRuns",
16298
+ "listSubsetImportVendorLists",
16299
+ "listSubsetImportFilterFields"
16300
+ ]),
16301
+ ...bindMethods(apis.appConnections, [
16302
+ "listAvailableAppConnections",
16303
+ "listAppConnections",
16304
+ "enablePlatformApp",
16305
+ "configureZendeskConnection",
16306
+ "getPlatformApp",
16307
+ "updatePlatformApp",
16308
+ "deletePlatformApp",
16309
+ "listConnectionMemberFieldKeys",
16310
+ "setDefaultGooglePlatformAccount"
16311
+ ])
16312
+ };
16274
16313
  }
16275
16314
 
16276
16315
  // src/client/bindings/operator-groups.ts
@@ -16640,6 +16679,7 @@ var GravityRailClient = class {
16640
16679
  chat;
16641
16680
  getChats;
16642
16681
  getChat;
16682
+ getChatAttention;
16643
16683
  getChatByUuid;
16644
16684
  saveChatBrowserStorage;
16645
16685
  clearChatBrowserStorage;
@@ -18039,24 +18079,7 @@ var GravityRailClient = class {
18039
18079
  apis.oauth,
18040
18080
  apis.oauthConnections
18041
18081
  );
18042
- bindIntegrationsMethods(
18043
- this,
18044
- apis.mondayIntegration,
18045
- apis.discordBots,
18046
- apis.slackApps,
18047
- apis.teamsApps,
18048
- apis.fhirConnections,
18049
- apis.patientSyncConnections,
18050
- apis.healthie,
18051
- apis.documoFax,
18052
- apis.claimMd,
18053
- apis.stedi,
18054
- apis.salesforce,
18055
- apis.hubspot,
18056
- apis.appConnections,
18057
- apis.connectionSync,
18058
- apis.confluence
18059
- );
18082
+ Object.assign(this, createIntegrationsBindings(apis));
18060
18083
  bindPronunciationsMethods(this, apis.pronunciations);
18061
18084
  bindOrganizationBillingMethods(this, apis.customers);
18062
18085
  bindResellersMethods(this, apis.resellers);
@@ -19840,7 +19863,7 @@ export {
19840
19863
  bindToolkitsMethods,
19841
19864
  bindBillingMethods,
19842
19865
  bindAppsMethods,
19843
- bindIntegrationsMethods,
19866
+ createIntegrationsBindings,
19844
19867
  bindOperatorMethods,
19845
19868
  bindOrgMethods,
19846
19869
  bindPronunciationsMethods,
@@ -19944,4 +19967,4 @@ export {
19944
19967
  pathDraftFromStorage,
19945
19968
  pathDraftToStorage
19946
19969
  };
19947
- //# sourceMappingURL=chunk-FWDDHKTM.js.map
19970
+ //# sourceMappingURL=chunk-U2U5X3LY.js.map