@gravity-rail/sdk 0.32.0 → 0.34.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/README.md +5 -0
- package/dist/{chat-interaction-BKdImgZ5.d.ts → chat-interaction-BiH_iWSK.d.ts} +13679 -12591
- package/dist/{chat-interaction-DLfC_h_P.d.cts → chat-interaction-C-B463O4.d.cts} +13679 -12591
- package/dist/{chunk-N446FGCT.js → chunk-ON7HBHJA.js} +234 -22
- package/dist/chunk-ON7HBHJA.js.map +1 -0
- package/dist/helpers.d.cts +3 -3
- package/dist/helpers.d.ts +3 -3
- package/dist/index.cjs +236 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -6
- package/dist/index.d.ts +47 -6
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +235 -21
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +30 -12
- package/dist/internal.d.ts +30 -12
- package/dist/internal.js +5 -1
- package/dist/internal.js.map +1 -1
- package/dist/{revision-state-Bsq5dKwi.d.cts → revision-state-CXEcwfWa.d.cts} +44 -44
- package/dist/{revision-state-CQTYcIRG.d.ts → revision-state-DLQDfN6Z.d.ts} +44 -44
- package/dist/schemas.cjs +33 -10
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +26 -23
- package/dist/schemas.d.ts +26 -23
- package/dist/schemas.js +32 -9
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-B-31JPuq.d.cts → tasks-Co5om-p9.d.cts} +3147 -3145
- package/dist/{tasks-B-31JPuq.d.ts → tasks-Co5om-p9.d.ts} +3147 -3145
- package/package.json +3 -3
- package/dist/chunk-N446FGCT.js.map +0 -1
|
@@ -1560,22 +1560,12 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
1560
1560
|
});
|
|
1561
1561
|
}
|
|
1562
1562
|
/** Update the mute status of a chat. */
|
|
1563
|
-
async updateChatMute(wid, id, muted) {
|
|
1563
|
+
async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
|
|
1564
1564
|
return this.fetch(`w/${wid}/chats/${id}/mute`, {
|
|
1565
1565
|
method: "PUT",
|
|
1566
|
-
body: JSON.stringify({ muted })
|
|
1566
|
+
body: JSON.stringify({ muted, muteReason, muteExpiresOnInbound })
|
|
1567
1567
|
});
|
|
1568
1568
|
}
|
|
1569
|
-
/** Update the needs-response flag on a chat. */
|
|
1570
|
-
async updateChatNeedsResponse(wid, id, needsResponse) {
|
|
1571
|
-
return this.fetch(
|
|
1572
|
-
`w/${wid}/chats/${id}/needs-response`,
|
|
1573
|
-
{
|
|
1574
|
-
method: "PUT",
|
|
1575
|
-
body: JSON.stringify({ needsResponse })
|
|
1576
|
-
}
|
|
1577
|
-
);
|
|
1578
|
-
}
|
|
1579
1569
|
/** Generate an AI summary for a chat, optionally updating its labels. */
|
|
1580
1570
|
async summarizeChat(wid, id, updateLabels) {
|
|
1581
1571
|
const params = new URLSearchParams();
|
|
@@ -3518,6 +3508,32 @@ var InboxesApi = class extends BaseApiClient {
|
|
|
3518
3508
|
body: JSON.stringify(body)
|
|
3519
3509
|
});
|
|
3520
3510
|
}
|
|
3511
|
+
/**
|
|
3512
|
+
* Render a compose or `email:send` template draft through the same
|
|
3513
|
+
* outbound body-assembly seam (footer, layout wrapper, markdown fallback)
|
|
3514
|
+
* as sending. Preview excludes delivery-specific MIME transformations,
|
|
3515
|
+
* including inline-image content IDs.
|
|
3516
|
+
*/
|
|
3517
|
+
async previewInboxEmail(wid, inboxId, body) {
|
|
3518
|
+
return this.fetch(`w/${wid}/inboxes/${inboxId}/emails/preview`, {
|
|
3519
|
+
method: "POST",
|
|
3520
|
+
body: JSON.stringify(body)
|
|
3521
|
+
});
|
|
3522
|
+
}
|
|
3523
|
+
/**
|
|
3524
|
+
* Render a reply draft, including its quote, through outbound body
|
|
3525
|
+
* assembly. Preview excludes delivery-specific MIME transformations,
|
|
3526
|
+
* including inline-image content IDs.
|
|
3527
|
+
*/
|
|
3528
|
+
async previewEmailReply(wid, inboxId, emailId, body) {
|
|
3529
|
+
return this.fetch(
|
|
3530
|
+
`w/${wid}/inboxes/${inboxId}/emails/${emailId}/reply-preview`,
|
|
3531
|
+
{
|
|
3532
|
+
method: "POST",
|
|
3533
|
+
body: JSON.stringify(body)
|
|
3534
|
+
}
|
|
3535
|
+
);
|
|
3536
|
+
}
|
|
3521
3537
|
/**
|
|
3522
3538
|
* Make a stored email's sender a Member of this workspace.
|
|
3523
3539
|
*
|
|
@@ -3991,6 +4007,19 @@ var MembersApi = class extends BaseApiClient {
|
|
|
3991
4007
|
async getWorkspaceMember(wid, memberId) {
|
|
3992
4008
|
return this.fetch(`w/${wid}/members/${memberId}`);
|
|
3993
4009
|
}
|
|
4010
|
+
/**
|
|
4011
|
+
* Get one member of an org's workspace, under `org:read`.
|
|
4012
|
+
*
|
|
4013
|
+
* The same record and the same shape as `getWorkspaceMember`, for a reader
|
|
4014
|
+
* whose authority is the org rather than a member row in that workspace —
|
|
4015
|
+
* an org Activity pane opening a member it just listed. A workspace outside
|
|
4016
|
+
* the org is a 404, indistinguishable from a member id that does not exist.
|
|
4017
|
+
*/
|
|
4018
|
+
async getOrgWorkspaceMember(orgUuid, workspaceUuid, memberId) {
|
|
4019
|
+
return this.fetch(
|
|
4020
|
+
`o/${orgUuid}/activity/workspaces/${workspaceUuid}/members/${memberId}`
|
|
4021
|
+
);
|
|
4022
|
+
}
|
|
3994
4023
|
/** Create a new workspace member. */
|
|
3995
4024
|
async createWorkspaceMember(wid, data) {
|
|
3996
4025
|
return this.fetch(`w/${wid}/members`, {
|
|
@@ -5124,10 +5153,19 @@ var OrgApi = class extends BaseApiClient {
|
|
|
5124
5153
|
}
|
|
5125
5154
|
/**
|
|
5126
5155
|
* Enable custom site routing for a verified org domain.
|
|
5156
|
+
*
|
|
5157
|
+
* Pass `{ childHosting: true }` to enable the domain as a **parent**
|
|
5158
|
+
* instead: it publishes one `*.<domain>` wildcard CNAME, serves nothing
|
|
5159
|
+
* at its own name, and hosts are added beneath it afterwards. The mode
|
|
5160
|
+
* is fixed at enable — disable and re-enable to change it.
|
|
5161
|
+
*
|
|
5162
|
+
* The request always carries a JSON body, `{}` by default: the route
|
|
5163
|
+
* requires one as a CSRF barrier.
|
|
5127
5164
|
*/
|
|
5128
|
-
async enableOrgDomainSite(orgIdOrUuid, domainUuid) {
|
|
5165
|
+
async enableOrgDomainSite(orgIdOrUuid, domainUuid, options = {}) {
|
|
5129
5166
|
return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}/site`, {
|
|
5130
|
-
method: "POST"
|
|
5167
|
+
method: "POST",
|
|
5168
|
+
body: JSON.stringify(options)
|
|
5131
5169
|
});
|
|
5132
5170
|
}
|
|
5133
5171
|
/**
|
|
@@ -5139,12 +5177,15 @@ var OrgApi = class extends BaseApiClient {
|
|
|
5139
5177
|
/**
|
|
5140
5178
|
* Pre-enable DNS check: is the site CNAME resolving to the routing
|
|
5141
5179
|
* endpoint yet? Pure DNS — consumes no enable budget.
|
|
5180
|
+
*
|
|
5181
|
+
* Pass `{ childHosting: true }` to check the mode you intend to enable
|
|
5182
|
+
* in: the wildcard is probed instead of the domain's own CNAME.
|
|
5142
5183
|
*/
|
|
5143
|
-
async preflightOrgDomainSite(orgIdOrUuid, domainUuid) {
|
|
5184
|
+
async preflightOrgDomainSite(orgIdOrUuid, domainUuid, options = {}) {
|
|
5144
5185
|
return this.fetch(
|
|
5145
5186
|
`o/${orgIdOrUuid}/domains/${domainUuid}/site/preflight`,
|
|
5146
|
-
//
|
|
5147
|
-
{ method: "POST", body: JSON.stringify(
|
|
5187
|
+
// JSON body, `{}` by default: the route requires one as a CSRF barrier.
|
|
5188
|
+
{ method: "POST", body: JSON.stringify(options) }
|
|
5148
5189
|
);
|
|
5149
5190
|
}
|
|
5150
5191
|
/**
|
|
@@ -5156,6 +5197,27 @@ var OrgApi = class extends BaseApiClient {
|
|
|
5156
5197
|
{ method: "POST" }
|
|
5157
5198
|
);
|
|
5158
5199
|
}
|
|
5200
|
+
/**
|
|
5201
|
+
* Create one child host beneath a child-hosting parent domain.
|
|
5202
|
+
*
|
|
5203
|
+
* The child gets its own CloudFront tenant and managed certificate and
|
|
5204
|
+
* needs no customer DNS: the parent's wildcard CNAME already routes it.
|
|
5205
|
+
*/
|
|
5206
|
+
async createOrgDomainSiteChildHost(orgIdOrUuid, parentDomainUuid, request) {
|
|
5207
|
+
return this.fetch(
|
|
5208
|
+
`o/${orgIdOrUuid}/domains/${parentDomainUuid}/site/children`,
|
|
5209
|
+
{ method: "POST", body: JSON.stringify(request) }
|
|
5210
|
+
);
|
|
5211
|
+
}
|
|
5212
|
+
/**
|
|
5213
|
+
* List the child hosts beneath a child-hosting parent domain, with live
|
|
5214
|
+
* per-host status.
|
|
5215
|
+
*/
|
|
5216
|
+
async listOrgDomainSiteChildHosts(orgIdOrUuid, parentDomainUuid) {
|
|
5217
|
+
return this.fetch(
|
|
5218
|
+
`o/${orgIdOrUuid}/domains/${parentDomainUuid}/site/children`
|
|
5219
|
+
);
|
|
5220
|
+
}
|
|
5159
5221
|
/**
|
|
5160
5222
|
* Disable custom site routing for an org domain.
|
|
5161
5223
|
*/
|
|
@@ -5518,6 +5580,34 @@ var OrgApi = class extends BaseApiClient {
|
|
|
5518
5580
|
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
|
|
5519
5581
|
);
|
|
5520
5582
|
}
|
|
5583
|
+
/**
|
|
5584
|
+
* A representative delivery body for one event type — what the test-send
|
|
5585
|
+
* editor is prefilled with, and the same builder the public event catalog
|
|
5586
|
+
* is generated from. Pass `endpointUuid` to have the sample name that
|
|
5587
|
+
* endpoint and sit in a workspace it actually covers.
|
|
5588
|
+
*/
|
|
5589
|
+
async getOrgWebhookEventSample(orgIdOrUuid, eventType, endpointUuid) {
|
|
5590
|
+
const query = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
|
|
5591
|
+
return this.fetch(
|
|
5592
|
+
`o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query}`
|
|
5593
|
+
);
|
|
5594
|
+
}
|
|
5595
|
+
/**
|
|
5596
|
+
* Send one payload to the endpoint now and report what came back.
|
|
5597
|
+
*
|
|
5598
|
+
* Outside the delivery queue: no delivery row, no retry, no effect on the
|
|
5599
|
+
* endpoint's status — but the same signing, egress vetting and outcome
|
|
5600
|
+
* classification a real delivery goes through.
|
|
5601
|
+
*/
|
|
5602
|
+
async testOrgWebhookEndpoint(orgIdOrUuid, endpointUuid, data) {
|
|
5603
|
+
return this.fetch(
|
|
5604
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/test`,
|
|
5605
|
+
{
|
|
5606
|
+
method: "POST",
|
|
5607
|
+
body: JSON.stringify(data)
|
|
5608
|
+
}
|
|
5609
|
+
);
|
|
5610
|
+
}
|
|
5521
5611
|
};
|
|
5522
5612
|
function businessProfilePath(orgUuid, legalEntityUuid) {
|
|
5523
5613
|
return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
|
|
@@ -10074,6 +10164,39 @@ var ActivityApi = class extends BaseApiClient {
|
|
|
10074
10164
|
body: JSON.stringify(request)
|
|
10075
10165
|
});
|
|
10076
10166
|
}
|
|
10167
|
+
/**
|
|
10168
|
+
* The specifics behind a page of aggregate lines, in one round trip.
|
|
10169
|
+
*
|
|
10170
|
+
* Each entry of `request.lines` is an aggregate line's **own server-issued
|
|
10171
|
+
* drill**, POSTed back verbatim, and the response is positional with it — so
|
|
10172
|
+
* a caller maps groups back to rows without inventing a key and without a
|
|
10173
|
+
* second expression of the slice that could drift from the count above it.
|
|
10174
|
+
*
|
|
10175
|
+
* Aggregate-shaped, never row-level: counts per PHI-silent key. A digest the
|
|
10176
|
+
* server could not finish comes back with `complete: false` and no groups,
|
|
10177
|
+
* which a client renders as the plain count phrase rather than as a slice
|
|
10178
|
+
* presented as the whole.
|
|
10179
|
+
*/
|
|
10180
|
+
async queryActivityDigest(request) {
|
|
10181
|
+
return this.fetch("activity/digest", {
|
|
10182
|
+
method: "POST",
|
|
10183
|
+
body: JSON.stringify(request)
|
|
10184
|
+
});
|
|
10185
|
+
}
|
|
10186
|
+
/** The org mount's digest. */
|
|
10187
|
+
async queryOrgActivityDigest(orgUuid, request) {
|
|
10188
|
+
return this.fetch(`o/${orgUuid}/activity/digest`, {
|
|
10189
|
+
method: "POST",
|
|
10190
|
+
body: JSON.stringify(request)
|
|
10191
|
+
});
|
|
10192
|
+
}
|
|
10193
|
+
/** The workspace mount's digest. */
|
|
10194
|
+
async queryWorkspaceActivityDigest(workspaceUuid, request) {
|
|
10195
|
+
return this.fetch(`w/${workspaceUuid}/activity/digest`, {
|
|
10196
|
+
method: "POST",
|
|
10197
|
+
body: JSON.stringify(request)
|
|
10198
|
+
});
|
|
10199
|
+
}
|
|
10077
10200
|
/** The workspace mount. The request's own member session carries its scopes. */
|
|
10078
10201
|
async queryWorkspaceActivity(workspaceUuid, request) {
|
|
10079
10202
|
return this.fetch(`w/${workspaceUuid}/activity/query`, {
|
|
@@ -10135,6 +10258,49 @@ var ActivityApi = class extends BaseApiClient {
|
|
|
10135
10258
|
body: JSON.stringify(request)
|
|
10136
10259
|
});
|
|
10137
10260
|
}
|
|
10261
|
+
/**
|
|
10262
|
+
* Hydrate a page of typed refs spanning an org's workspaces, in one round
|
|
10263
|
+
* trip. `org:info` is the gate; what it buys differs per workspace, and the
|
|
10264
|
+
* server decides — an `org:read` holder reads every workspace in the org,
|
|
10265
|
+
* an `org:info` holder the ones they belong to.
|
|
10266
|
+
*
|
|
10267
|
+
* The request groups refs by workspace because the same UUID under two
|
|
10268
|
+
* workspaces is two entities. A group naming a workspace this caller cannot
|
|
10269
|
+
* reach comes back entirely `unresolved` — the same answer a denied ref
|
|
10270
|
+
* gets, never an error.
|
|
10271
|
+
*
|
|
10272
|
+
* Caps: at most 500 refs and 25 workspaces across the whole request, and a
|
|
10273
|
+
* workspace may be named at most once in it. Each answered group carries the
|
|
10274
|
+
* same per-entry contract as the workspace mount: every requested ref comes
|
|
10275
|
+
* back, with a marker status rather than an omission.
|
|
10276
|
+
*
|
|
10277
|
+
* PHI: resolved labels are member-identifying data. They belong in the UI
|
|
10278
|
+
* and nowhere else — never a log line, never an error message.
|
|
10279
|
+
*/
|
|
10280
|
+
async resolveOrgEntityRefs(orgUuid, request) {
|
|
10281
|
+
return this.fetch(`o/${orgUuid}/activity/entity-refs/resolve`, {
|
|
10282
|
+
method: "POST",
|
|
10283
|
+
body: JSON.stringify(request)
|
|
10284
|
+
});
|
|
10285
|
+
}
|
|
10286
|
+
/**
|
|
10287
|
+
* Hydrate a page of typed refs spanning the caller's whole estate.
|
|
10288
|
+
*
|
|
10289
|
+
* The same grouped body as the org mount, and the same rule that the server
|
|
10290
|
+
* chooses each group's authority: a workspace the caller belongs to resolves
|
|
10291
|
+
* under their own member row, and a workspace they reach by holding
|
|
10292
|
+
* `org:read` on its org resolves under that. A client never states which,
|
|
10293
|
+
* because stating it would mean carrying a copy of the policy.
|
|
10294
|
+
*
|
|
10295
|
+
* PHI: resolved labels are member-identifying data. They belong in the UI
|
|
10296
|
+
* and nowhere else — never a log line, never an error message.
|
|
10297
|
+
*/
|
|
10298
|
+
async resolveAccountEntityRefs(request) {
|
|
10299
|
+
return this.fetch(`activity/entity-refs/resolve`, {
|
|
10300
|
+
method: "POST",
|
|
10301
|
+
body: JSON.stringify(request)
|
|
10302
|
+
});
|
|
10303
|
+
}
|
|
10138
10304
|
};
|
|
10139
10305
|
|
|
10140
10306
|
// src/api/motd.ts
|
|
@@ -10942,6 +11108,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
10942
11108
|
"queryWorkspaceActivityLatestSubjects",
|
|
10943
11109
|
"queryWorkspaceActivityOpenItems",
|
|
10944
11110
|
"queryWorkspaceActivityOneView",
|
|
11111
|
+
"queryWorkspaceActivityDigest",
|
|
10945
11112
|
"registerDiscordSlashCommands",
|
|
10946
11113
|
"reopenWorkspaceSupportRequest",
|
|
10947
11114
|
"resolveEntityRefs",
|
|
@@ -11211,10 +11378,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11211
11378
|
"markEmailAsUnread",
|
|
11212
11379
|
"markNotificationAsRead",
|
|
11213
11380
|
"mergeMemberRoles",
|
|
11381
|
+
"previewEmailReply",
|
|
11214
11382
|
"previewImportMembers",
|
|
11215
11383
|
"previewMemberWorkflowVoice",
|
|
11216
11384
|
"previewRenameFieldSlug",
|
|
11217
11385
|
"previewImportWorkspace",
|
|
11386
|
+
"previewInboxEmail",
|
|
11218
11387
|
"previewRoutineVoiceReadiness",
|
|
11219
11388
|
"previewRoutineWorkflowAccess",
|
|
11220
11389
|
"previewSchedule",
|
|
@@ -11312,7 +11481,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
11312
11481
|
"updateChatLabel",
|
|
11313
11482
|
"updateChatModelOverride",
|
|
11314
11483
|
"updateChatMute",
|
|
11315
|
-
"updateChatNeedsResponse",
|
|
11316
11484
|
"updateClientWorkspace",
|
|
11317
11485
|
"updateConnection",
|
|
11318
11486
|
"updateConnectionSyncConfig",
|
|
@@ -11496,7 +11664,6 @@ function bindChatsMethods(target, chats) {
|
|
|
11496
11664
|
target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
|
|
11497
11665
|
target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
|
|
11498
11666
|
target.updateChatMute = chats.updateChatMute.bind(chats);
|
|
11499
|
-
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
11500
11667
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
11501
11668
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
11502
11669
|
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
@@ -11557,19 +11724,24 @@ function bindActivityMethods(target, activity) {
|
|
|
11557
11724
|
target.queryActivityLatestSubjects = activity.queryActivityLatestSubjects.bind(activity);
|
|
11558
11725
|
target.queryActivityOpenItems = activity.queryActivityOpenItems.bind(activity);
|
|
11559
11726
|
target.queryActivityOneView = activity.queryActivityOneView.bind(activity);
|
|
11727
|
+
target.queryActivityDigest = activity.queryActivityDigest.bind(activity);
|
|
11560
11728
|
target.getActivityCounts = activity.getActivityCounts.bind(activity);
|
|
11561
11729
|
target.getActivityCapabilities = activity.getActivityCapabilities.bind(activity);
|
|
11562
11730
|
target.queryOrgActivity = activity.queryOrgActivity.bind(activity);
|
|
11563
11731
|
target.queryOrgActivityLatestSubjects = activity.queryOrgActivityLatestSubjects.bind(activity);
|
|
11564
11732
|
target.queryOrgActivityOpenItems = activity.queryOrgActivityOpenItems.bind(activity);
|
|
11565
11733
|
target.queryOrgActivityOneView = activity.queryOrgActivityOneView.bind(activity);
|
|
11734
|
+
target.queryOrgActivityDigest = activity.queryOrgActivityDigest.bind(activity);
|
|
11566
11735
|
target.getOrgActivityCounts = activity.getOrgActivityCounts.bind(activity);
|
|
11567
11736
|
target.queryWorkspaceActivity = activity.queryWorkspaceActivity.bind(activity);
|
|
11568
11737
|
target.queryWorkspaceActivityLatestSubjects = activity.queryWorkspaceActivityLatestSubjects.bind(activity);
|
|
11569
11738
|
target.queryWorkspaceActivityOpenItems = activity.queryWorkspaceActivityOpenItems.bind(activity);
|
|
11570
11739
|
target.queryWorkspaceActivityOneView = activity.queryWorkspaceActivityOneView.bind(activity);
|
|
11740
|
+
target.queryWorkspaceActivityDigest = activity.queryWorkspaceActivityDigest.bind(activity);
|
|
11571
11741
|
target.getWorkspaceActivityCounts = activity.getWorkspaceActivityCounts.bind(activity);
|
|
11572
11742
|
target.resolveEntityRefs = activity.resolveEntityRefs.bind(activity);
|
|
11743
|
+
target.resolveOrgEntityRefs = activity.resolveOrgEntityRefs.bind(activity);
|
|
11744
|
+
target.resolveAccountEntityRefs = activity.resolveAccountEntityRefs.bind(activity);
|
|
11573
11745
|
}
|
|
11574
11746
|
|
|
11575
11747
|
// src/client/bindings/motd.ts
|
|
@@ -11651,6 +11823,7 @@ function bindMembersMethods(target, members) {
|
|
|
11651
11823
|
target.updateCurrentMember = members.updateCurrentMember.bind(members);
|
|
11652
11824
|
target.getWorkspaceMembers = members.getWorkspaceMembers.bind(members);
|
|
11653
11825
|
target.getWorkspaceMember = members.getWorkspaceMember.bind(members);
|
|
11826
|
+
target.getOrgWorkspaceMember = members.getOrgWorkspaceMember.bind(members);
|
|
11654
11827
|
target.createWorkspaceMember = members.createWorkspaceMember.bind(members);
|
|
11655
11828
|
target.updateMember = members.updateMember.bind(members);
|
|
11656
11829
|
target.deleteMember = members.deleteMember.bind(members);
|
|
@@ -12111,6 +12284,8 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
12111
12284
|
target.getChatEmails = inboxes.getChatEmails.bind(inboxes);
|
|
12112
12285
|
target.replyToEmail = inboxes.replyToEmail.bind(inboxes);
|
|
12113
12286
|
target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
|
|
12287
|
+
target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
|
|
12288
|
+
target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
|
|
12114
12289
|
target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
|
|
12115
12290
|
target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
|
|
12116
12291
|
target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
|
|
@@ -12654,7 +12829,6 @@ var GravityRailClient = class {
|
|
|
12654
12829
|
getChatModelOverride;
|
|
12655
12830
|
updateChatModelOverride;
|
|
12656
12831
|
updateChatMute;
|
|
12657
|
-
updateChatNeedsResponse;
|
|
12658
12832
|
summarizeChat;
|
|
12659
12833
|
getChatMessages;
|
|
12660
12834
|
getChildThreadMessages;
|
|
@@ -12740,6 +12914,9 @@ var GravityRailClient = class {
|
|
|
12740
12914
|
updateCurrentMember;
|
|
12741
12915
|
getWorkspaceMembers;
|
|
12742
12916
|
getWorkspaceMember;
|
|
12917
|
+
// Org-scoped, so deliberately absent from WORKSPACE_METHOD_NAMES: that proxy
|
|
12918
|
+
// passes a workspace uuid as the first argument.
|
|
12919
|
+
getOrgWorkspaceMember;
|
|
12743
12920
|
createWorkspaceMember;
|
|
12744
12921
|
updateMember;
|
|
12745
12922
|
deleteMember;
|
|
@@ -12861,20 +13038,26 @@ var GravityRailClient = class {
|
|
|
12861
13038
|
queryActivityLatestSubjects;
|
|
12862
13039
|
queryActivityOpenItems;
|
|
12863
13040
|
queryActivityOneView;
|
|
13041
|
+
queryActivityDigest;
|
|
12864
13042
|
getActivityCounts;
|
|
12865
13043
|
getActivityCapabilities;
|
|
12866
13044
|
queryOrgActivity;
|
|
12867
13045
|
queryOrgActivityLatestSubjects;
|
|
12868
13046
|
queryOrgActivityOpenItems;
|
|
12869
13047
|
queryOrgActivityOneView;
|
|
13048
|
+
queryOrgActivityDigest;
|
|
12870
13049
|
getOrgActivityCounts;
|
|
12871
13050
|
queryWorkspaceActivity;
|
|
12872
13051
|
queryWorkspaceActivityLatestSubjects;
|
|
12873
13052
|
queryWorkspaceActivityOpenItems;
|
|
12874
13053
|
queryWorkspaceActivityOneView;
|
|
13054
|
+
queryWorkspaceActivityDigest;
|
|
12875
13055
|
getWorkspaceActivityCounts;
|
|
12876
|
-
// Hydration: typed refs in, display summaries out, one round trip.
|
|
13056
|
+
// Hydration: typed refs in, display summaries out, one round trip. The org
|
|
13057
|
+
// variant carries several workspaces' groups in that one trip.
|
|
12877
13058
|
resolveEntityRefs;
|
|
13059
|
+
resolveOrgEntityRefs;
|
|
13060
|
+
resolveAccountEntityRefs;
|
|
12878
13061
|
// MOTD API
|
|
12879
13062
|
getMotd;
|
|
12880
13063
|
// Tracked Links analytics (#10934)
|
|
@@ -13361,6 +13544,8 @@ var GravityRailClient = class {
|
|
|
13361
13544
|
getChatEmails;
|
|
13362
13545
|
replyToEmail;
|
|
13363
13546
|
sendInboxEmail;
|
|
13547
|
+
previewInboxEmail;
|
|
13548
|
+
previewEmailReply;
|
|
13364
13549
|
getNotificationRules;
|
|
13365
13550
|
createNotificationRule;
|
|
13366
13551
|
updateNotificationRule;
|
|
@@ -13979,6 +14164,12 @@ var ChannelMessagesUnavailableReason = {
|
|
|
13979
14164
|
no_phone_number: "no_phone_number",
|
|
13980
14165
|
no_counterpart_phone: "no_counterpart_phone"
|
|
13981
14166
|
};
|
|
14167
|
+
var ChatMuteReason = {
|
|
14168
|
+
working: "working",
|
|
14169
|
+
waiting_on_person: "waiting_on_person",
|
|
14170
|
+
resolved_elsewhere: "resolved_elsewhere",
|
|
14171
|
+
not_mine: "not_mine"
|
|
14172
|
+
};
|
|
13982
14173
|
|
|
13983
14174
|
// src/types/generated/ehr_writeback.ts
|
|
13984
14175
|
var EhrWritebackOutcomeResponseStatus = {
|
|
@@ -14410,6 +14601,25 @@ function getAllResourceSlugs() {
|
|
|
14410
14601
|
return Object.keys(RESOURCE_METADATA);
|
|
14411
14602
|
}
|
|
14412
14603
|
|
|
14604
|
+
// src/types/generated/digest.ts
|
|
14605
|
+
var DigestSlotRole = {
|
|
14606
|
+
people: "people",
|
|
14607
|
+
subject: "subject",
|
|
14608
|
+
actor: "actor",
|
|
14609
|
+
workflow: "workflow",
|
|
14610
|
+
journey: "journey",
|
|
14611
|
+
phone_number: "phone_number",
|
|
14612
|
+
data_type: "data_type",
|
|
14613
|
+
operator_group: "operator_group",
|
|
14614
|
+
channel: "channel",
|
|
14615
|
+
origin: "origin",
|
|
14616
|
+
source: "source",
|
|
14617
|
+
reason: "reason",
|
|
14618
|
+
direction: "direction",
|
|
14619
|
+
area: "area",
|
|
14620
|
+
conclusion: "conclusion"
|
|
14621
|
+
};
|
|
14622
|
+
|
|
14413
14623
|
// src/types/generated/activity_feed.ts
|
|
14414
14624
|
var ActivityGrain = {
|
|
14415
14625
|
month: "month",
|
|
@@ -15337,6 +15547,7 @@ export {
|
|
|
15337
15547
|
ChannelMessageDirection,
|
|
15338
15548
|
ChannelMessageSource,
|
|
15339
15549
|
ChannelMessagesUnavailableReason,
|
|
15550
|
+
ChatMuteReason,
|
|
15340
15551
|
EhrWritebackOutcomeResponseStatus,
|
|
15341
15552
|
SMS_DELIVERY_FAILURE_STATUSES,
|
|
15342
15553
|
isSMSDeliveryFailureStatus,
|
|
@@ -15395,6 +15606,7 @@ export {
|
|
|
15395
15606
|
DEFAULT_CUSTOM_VOICE_MODEL,
|
|
15396
15607
|
getResourceMetadata,
|
|
15397
15608
|
getAllResourceSlugs,
|
|
15609
|
+
DigestSlotRole,
|
|
15398
15610
|
ActivityGrain,
|
|
15399
15611
|
ActivityGroupBy,
|
|
15400
15612
|
ActivityOpenItemOrder,
|
|
@@ -15408,4 +15620,4 @@ export {
|
|
|
15408
15620
|
SCOPE_PRESETS,
|
|
15409
15621
|
getRevisionState
|
|
15410
15622
|
};
|
|
15411
|
-
//# sourceMappingURL=chunk-
|
|
15623
|
+
//# sourceMappingURL=chunk-ON7HBHJA.js.map
|