@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
package/dist/internal.cjs
CHANGED
|
@@ -69,6 +69,7 @@ __export(internal_exports, {
|
|
|
69
69
|
ChannelMessageSource: () => ChannelMessageSource,
|
|
70
70
|
ChannelMessagesUnavailableReason: () => ChannelMessagesUnavailableReason,
|
|
71
71
|
ChatInteractionController: () => ChatInteractionController,
|
|
72
|
+
ChatMuteReason: () => ChatMuteReason,
|
|
72
73
|
ChatsApi: () => ChatsApi,
|
|
73
74
|
ConfluenceApi: () => ConfluenceApi,
|
|
74
75
|
ConnectionSyncApi: () => ConnectionSyncApi,
|
|
@@ -97,6 +98,7 @@ __export(internal_exports, {
|
|
|
97
98
|
DataTypeRecordScope: () => DataTypeRecordScope,
|
|
98
99
|
DataTypesApi: () => DataTypesApi,
|
|
99
100
|
DeclaredDataUse: () => DeclaredDataUse,
|
|
101
|
+
DigestSlotRole: () => DigestSlotRole,
|
|
100
102
|
DiscordBotsApi: () => DiscordBotsApi,
|
|
101
103
|
DriverMode: () => DriverMode,
|
|
102
104
|
EhrWritebackOutcomeResponseStatus: () => EhrWritebackOutcomeResponseStatus,
|
|
@@ -1373,6 +1375,25 @@ var QUERY_VALUELESS_OPS = /* @__PURE__ */ new Set([
|
|
|
1373
1375
|
"exists"
|
|
1374
1376
|
]);
|
|
1375
1377
|
|
|
1378
|
+
// src/types/generated/digest.ts
|
|
1379
|
+
var DigestSlotRole = {
|
|
1380
|
+
people: "people",
|
|
1381
|
+
subject: "subject",
|
|
1382
|
+
actor: "actor",
|
|
1383
|
+
workflow: "workflow",
|
|
1384
|
+
journey: "journey",
|
|
1385
|
+
phone_number: "phone_number",
|
|
1386
|
+
data_type: "data_type",
|
|
1387
|
+
operator_group: "operator_group",
|
|
1388
|
+
channel: "channel",
|
|
1389
|
+
origin: "origin",
|
|
1390
|
+
source: "source",
|
|
1391
|
+
reason: "reason",
|
|
1392
|
+
direction: "direction",
|
|
1393
|
+
area: "area",
|
|
1394
|
+
conclusion: "conclusion"
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1376
1397
|
// src/types/generated/activity_feed.ts
|
|
1377
1398
|
var ActivityGrain = {
|
|
1378
1399
|
month: "month",
|
|
@@ -1747,6 +1768,12 @@ var ChannelMessagesUnavailableReason = {
|
|
|
1747
1768
|
no_phone_number: "no_phone_number",
|
|
1748
1769
|
no_counterpart_phone: "no_counterpart_phone"
|
|
1749
1770
|
};
|
|
1771
|
+
var ChatMuteReason = {
|
|
1772
|
+
working: "working",
|
|
1773
|
+
waiting_on_person: "waiting_on_person",
|
|
1774
|
+
resolved_elsewhere: "resolved_elsewhere",
|
|
1775
|
+
not_mine: "not_mine"
|
|
1776
|
+
};
|
|
1750
1777
|
|
|
1751
1778
|
// src/types/generated/ehr_writeback.ts
|
|
1752
1779
|
var EhrWritebackOutcomeResponseStatus = {
|
|
@@ -4809,22 +4836,12 @@ var ChatsApi = class extends BaseApiClient {
|
|
|
4809
4836
|
});
|
|
4810
4837
|
}
|
|
4811
4838
|
/** Update the mute status of a chat. */
|
|
4812
|
-
async updateChatMute(wid, id, muted) {
|
|
4839
|
+
async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
|
|
4813
4840
|
return this.fetch(`w/${wid}/chats/${id}/mute`, {
|
|
4814
4841
|
method: "PUT",
|
|
4815
|
-
body: JSON.stringify({ muted })
|
|
4842
|
+
body: JSON.stringify({ muted, muteReason, muteExpiresOnInbound })
|
|
4816
4843
|
});
|
|
4817
4844
|
}
|
|
4818
|
-
/** Update the needs-response flag on a chat. */
|
|
4819
|
-
async updateChatNeedsResponse(wid, id, needsResponse) {
|
|
4820
|
-
return this.fetch(
|
|
4821
|
-
`w/${wid}/chats/${id}/needs-response`,
|
|
4822
|
-
{
|
|
4823
|
-
method: "PUT",
|
|
4824
|
-
body: JSON.stringify({ needsResponse })
|
|
4825
|
-
}
|
|
4826
|
-
);
|
|
4827
|
-
}
|
|
4828
4845
|
/** Generate an AI summary for a chat, optionally updating its labels. */
|
|
4829
4846
|
async summarizeChat(wid, id, updateLabels) {
|
|
4830
4847
|
const params = new URLSearchParams();
|
|
@@ -7042,6 +7059,32 @@ var InboxesApi = class extends BaseApiClient {
|
|
|
7042
7059
|
body: JSON.stringify(body)
|
|
7043
7060
|
});
|
|
7044
7061
|
}
|
|
7062
|
+
/**
|
|
7063
|
+
* Render a compose or `email:send` template draft through the same
|
|
7064
|
+
* outbound body-assembly seam (footer, layout wrapper, markdown fallback)
|
|
7065
|
+
* as sending. Preview excludes delivery-specific MIME transformations,
|
|
7066
|
+
* including inline-image content IDs.
|
|
7067
|
+
*/
|
|
7068
|
+
async previewInboxEmail(wid, inboxId, body) {
|
|
7069
|
+
return this.fetch(`w/${wid}/inboxes/${inboxId}/emails/preview`, {
|
|
7070
|
+
method: "POST",
|
|
7071
|
+
body: JSON.stringify(body)
|
|
7072
|
+
});
|
|
7073
|
+
}
|
|
7074
|
+
/**
|
|
7075
|
+
* Render a reply draft, including its quote, through outbound body
|
|
7076
|
+
* assembly. Preview excludes delivery-specific MIME transformations,
|
|
7077
|
+
* including inline-image content IDs.
|
|
7078
|
+
*/
|
|
7079
|
+
async previewEmailReply(wid, inboxId, emailId, body) {
|
|
7080
|
+
return this.fetch(
|
|
7081
|
+
`w/${wid}/inboxes/${inboxId}/emails/${emailId}/reply-preview`,
|
|
7082
|
+
{
|
|
7083
|
+
method: "POST",
|
|
7084
|
+
body: JSON.stringify(body)
|
|
7085
|
+
}
|
|
7086
|
+
);
|
|
7087
|
+
}
|
|
7045
7088
|
/**
|
|
7046
7089
|
* Make a stored email's sender a Member of this workspace.
|
|
7047
7090
|
*
|
|
@@ -7515,6 +7558,19 @@ var MembersApi = class extends BaseApiClient {
|
|
|
7515
7558
|
async getWorkspaceMember(wid, memberId) {
|
|
7516
7559
|
return this.fetch(`w/${wid}/members/${memberId}`);
|
|
7517
7560
|
}
|
|
7561
|
+
/**
|
|
7562
|
+
* Get one member of an org's workspace, under `org:read`.
|
|
7563
|
+
*
|
|
7564
|
+
* The same record and the same shape as `getWorkspaceMember`, for a reader
|
|
7565
|
+
* whose authority is the org rather than a member row in that workspace —
|
|
7566
|
+
* an org Activity pane opening a member it just listed. A workspace outside
|
|
7567
|
+
* the org is a 404, indistinguishable from a member id that does not exist.
|
|
7568
|
+
*/
|
|
7569
|
+
async getOrgWorkspaceMember(orgUuid, workspaceUuid, memberId) {
|
|
7570
|
+
return this.fetch(
|
|
7571
|
+
`o/${orgUuid}/activity/workspaces/${workspaceUuid}/members/${memberId}`
|
|
7572
|
+
);
|
|
7573
|
+
}
|
|
7518
7574
|
/** Create a new workspace member. */
|
|
7519
7575
|
async createWorkspaceMember(wid, data) {
|
|
7520
7576
|
return this.fetch(`w/${wid}/members`, {
|
|
@@ -8089,6 +8145,39 @@ var ActivityApi = class extends BaseApiClient {
|
|
|
8089
8145
|
body: JSON.stringify(request)
|
|
8090
8146
|
});
|
|
8091
8147
|
}
|
|
8148
|
+
/**
|
|
8149
|
+
* The specifics behind a page of aggregate lines, in one round trip.
|
|
8150
|
+
*
|
|
8151
|
+
* Each entry of `request.lines` is an aggregate line's **own server-issued
|
|
8152
|
+
* drill**, POSTed back verbatim, and the response is positional with it — so
|
|
8153
|
+
* a caller maps groups back to rows without inventing a key and without a
|
|
8154
|
+
* second expression of the slice that could drift from the count above it.
|
|
8155
|
+
*
|
|
8156
|
+
* Aggregate-shaped, never row-level: counts per PHI-silent key. A digest the
|
|
8157
|
+
* server could not finish comes back with `complete: false` and no groups,
|
|
8158
|
+
* which a client renders as the plain count phrase rather than as a slice
|
|
8159
|
+
* presented as the whole.
|
|
8160
|
+
*/
|
|
8161
|
+
async queryActivityDigest(request) {
|
|
8162
|
+
return this.fetch("activity/digest", {
|
|
8163
|
+
method: "POST",
|
|
8164
|
+
body: JSON.stringify(request)
|
|
8165
|
+
});
|
|
8166
|
+
}
|
|
8167
|
+
/** The org mount's digest. */
|
|
8168
|
+
async queryOrgActivityDigest(orgUuid, request) {
|
|
8169
|
+
return this.fetch(`o/${orgUuid}/activity/digest`, {
|
|
8170
|
+
method: "POST",
|
|
8171
|
+
body: JSON.stringify(request)
|
|
8172
|
+
});
|
|
8173
|
+
}
|
|
8174
|
+
/** The workspace mount's digest. */
|
|
8175
|
+
async queryWorkspaceActivityDigest(workspaceUuid, request) {
|
|
8176
|
+
return this.fetch(`w/${workspaceUuid}/activity/digest`, {
|
|
8177
|
+
method: "POST",
|
|
8178
|
+
body: JSON.stringify(request)
|
|
8179
|
+
});
|
|
8180
|
+
}
|
|
8092
8181
|
/** The workspace mount. The request's own member session carries its scopes. */
|
|
8093
8182
|
async queryWorkspaceActivity(workspaceUuid, request) {
|
|
8094
8183
|
return this.fetch(`w/${workspaceUuid}/activity/query`, {
|
|
@@ -8150,6 +8239,49 @@ var ActivityApi = class extends BaseApiClient {
|
|
|
8150
8239
|
body: JSON.stringify(request)
|
|
8151
8240
|
});
|
|
8152
8241
|
}
|
|
8242
|
+
/**
|
|
8243
|
+
* Hydrate a page of typed refs spanning an org's workspaces, in one round
|
|
8244
|
+
* trip. `org:info` is the gate; what it buys differs per workspace, and the
|
|
8245
|
+
* server decides — an `org:read` holder reads every workspace in the org,
|
|
8246
|
+
* an `org:info` holder the ones they belong to.
|
|
8247
|
+
*
|
|
8248
|
+
* The request groups refs by workspace because the same UUID under two
|
|
8249
|
+
* workspaces is two entities. A group naming a workspace this caller cannot
|
|
8250
|
+
* reach comes back entirely `unresolved` — the same answer a denied ref
|
|
8251
|
+
* gets, never an error.
|
|
8252
|
+
*
|
|
8253
|
+
* Caps: at most 500 refs and 25 workspaces across the whole request, and a
|
|
8254
|
+
* workspace may be named at most once in it. Each answered group carries the
|
|
8255
|
+
* same per-entry contract as the workspace mount: every requested ref comes
|
|
8256
|
+
* back, with a marker status rather than an omission.
|
|
8257
|
+
*
|
|
8258
|
+
* PHI: resolved labels are member-identifying data. They belong in the UI
|
|
8259
|
+
* and nowhere else — never a log line, never an error message.
|
|
8260
|
+
*/
|
|
8261
|
+
async resolveOrgEntityRefs(orgUuid, request) {
|
|
8262
|
+
return this.fetch(`o/${orgUuid}/activity/entity-refs/resolve`, {
|
|
8263
|
+
method: "POST",
|
|
8264
|
+
body: JSON.stringify(request)
|
|
8265
|
+
});
|
|
8266
|
+
}
|
|
8267
|
+
/**
|
|
8268
|
+
* Hydrate a page of typed refs spanning the caller's whole estate.
|
|
8269
|
+
*
|
|
8270
|
+
* The same grouped body as the org mount, and the same rule that the server
|
|
8271
|
+
* chooses each group's authority: a workspace the caller belongs to resolves
|
|
8272
|
+
* under their own member row, and a workspace they reach by holding
|
|
8273
|
+
* `org:read` on its org resolves under that. A client never states which,
|
|
8274
|
+
* because stating it would mean carrying a copy of the policy.
|
|
8275
|
+
*
|
|
8276
|
+
* PHI: resolved labels are member-identifying data. They belong in the UI
|
|
8277
|
+
* and nowhere else — never a log line, never an error message.
|
|
8278
|
+
*/
|
|
8279
|
+
async resolveAccountEntityRefs(request) {
|
|
8280
|
+
return this.fetch(`activity/entity-refs/resolve`, {
|
|
8281
|
+
method: "POST",
|
|
8282
|
+
body: JSON.stringify(request)
|
|
8283
|
+
});
|
|
8284
|
+
}
|
|
8153
8285
|
};
|
|
8154
8286
|
|
|
8155
8287
|
// src/api/motd.ts
|
|
@@ -8860,10 +8992,19 @@ var OrgApi = class extends BaseApiClient {
|
|
|
8860
8992
|
}
|
|
8861
8993
|
/**
|
|
8862
8994
|
* Enable custom site routing for a verified org domain.
|
|
8995
|
+
*
|
|
8996
|
+
* Pass `{ childHosting: true }` to enable the domain as a **parent**
|
|
8997
|
+
* instead: it publishes one `*.<domain>` wildcard CNAME, serves nothing
|
|
8998
|
+
* at its own name, and hosts are added beneath it afterwards. The mode
|
|
8999
|
+
* is fixed at enable — disable and re-enable to change it.
|
|
9000
|
+
*
|
|
9001
|
+
* The request always carries a JSON body, `{}` by default: the route
|
|
9002
|
+
* requires one as a CSRF barrier.
|
|
8863
9003
|
*/
|
|
8864
|
-
async enableOrgDomainSite(orgIdOrUuid, domainUuid) {
|
|
9004
|
+
async enableOrgDomainSite(orgIdOrUuid, domainUuid, options = {}) {
|
|
8865
9005
|
return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}/site`, {
|
|
8866
|
-
method: "POST"
|
|
9006
|
+
method: "POST",
|
|
9007
|
+
body: JSON.stringify(options)
|
|
8867
9008
|
});
|
|
8868
9009
|
}
|
|
8869
9010
|
/**
|
|
@@ -8875,12 +9016,15 @@ var OrgApi = class extends BaseApiClient {
|
|
|
8875
9016
|
/**
|
|
8876
9017
|
* Pre-enable DNS check: is the site CNAME resolving to the routing
|
|
8877
9018
|
* endpoint yet? Pure DNS — consumes no enable budget.
|
|
9019
|
+
*
|
|
9020
|
+
* Pass `{ childHosting: true }` to check the mode you intend to enable
|
|
9021
|
+
* in: the wildcard is probed instead of the domain's own CNAME.
|
|
8878
9022
|
*/
|
|
8879
|
-
async preflightOrgDomainSite(orgIdOrUuid, domainUuid) {
|
|
9023
|
+
async preflightOrgDomainSite(orgIdOrUuid, domainUuid, options = {}) {
|
|
8880
9024
|
return this.fetch(
|
|
8881
9025
|
`o/${orgIdOrUuid}/domains/${domainUuid}/site/preflight`,
|
|
8882
|
-
//
|
|
8883
|
-
{ method: "POST", body: JSON.stringify(
|
|
9026
|
+
// JSON body, `{}` by default: the route requires one as a CSRF barrier.
|
|
9027
|
+
{ method: "POST", body: JSON.stringify(options) }
|
|
8884
9028
|
);
|
|
8885
9029
|
}
|
|
8886
9030
|
/**
|
|
@@ -8892,6 +9036,27 @@ var OrgApi = class extends BaseApiClient {
|
|
|
8892
9036
|
{ method: "POST" }
|
|
8893
9037
|
);
|
|
8894
9038
|
}
|
|
9039
|
+
/**
|
|
9040
|
+
* Create one child host beneath a child-hosting parent domain.
|
|
9041
|
+
*
|
|
9042
|
+
* The child gets its own CloudFront tenant and managed certificate and
|
|
9043
|
+
* needs no customer DNS: the parent's wildcard CNAME already routes it.
|
|
9044
|
+
*/
|
|
9045
|
+
async createOrgDomainSiteChildHost(orgIdOrUuid, parentDomainUuid, request) {
|
|
9046
|
+
return this.fetch(
|
|
9047
|
+
`o/${orgIdOrUuid}/domains/${parentDomainUuid}/site/children`,
|
|
9048
|
+
{ method: "POST", body: JSON.stringify(request) }
|
|
9049
|
+
);
|
|
9050
|
+
}
|
|
9051
|
+
/**
|
|
9052
|
+
* List the child hosts beneath a child-hosting parent domain, with live
|
|
9053
|
+
* per-host status.
|
|
9054
|
+
*/
|
|
9055
|
+
async listOrgDomainSiteChildHosts(orgIdOrUuid, parentDomainUuid) {
|
|
9056
|
+
return this.fetch(
|
|
9057
|
+
`o/${orgIdOrUuid}/domains/${parentDomainUuid}/site/children`
|
|
9058
|
+
);
|
|
9059
|
+
}
|
|
8895
9060
|
/**
|
|
8896
9061
|
* Disable custom site routing for an org domain.
|
|
8897
9062
|
*/
|
|
@@ -9254,6 +9419,34 @@ var OrgApi = class extends BaseApiClient {
|
|
|
9254
9419
|
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
|
|
9255
9420
|
);
|
|
9256
9421
|
}
|
|
9422
|
+
/**
|
|
9423
|
+
* A representative delivery body for one event type — what the test-send
|
|
9424
|
+
* editor is prefilled with, and the same builder the public event catalog
|
|
9425
|
+
* is generated from. Pass `endpointUuid` to have the sample name that
|
|
9426
|
+
* endpoint and sit in a workspace it actually covers.
|
|
9427
|
+
*/
|
|
9428
|
+
async getOrgWebhookEventSample(orgIdOrUuid, eventType, endpointUuid) {
|
|
9429
|
+
const query = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
|
|
9430
|
+
return this.fetch(
|
|
9431
|
+
`o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query}`
|
|
9432
|
+
);
|
|
9433
|
+
}
|
|
9434
|
+
/**
|
|
9435
|
+
* Send one payload to the endpoint now and report what came back.
|
|
9436
|
+
*
|
|
9437
|
+
* Outside the delivery queue: no delivery row, no retry, no effect on the
|
|
9438
|
+
* endpoint's status — but the same signing, egress vetting and outcome
|
|
9439
|
+
* classification a real delivery goes through.
|
|
9440
|
+
*/
|
|
9441
|
+
async testOrgWebhookEndpoint(orgIdOrUuid, endpointUuid, data) {
|
|
9442
|
+
return this.fetch(
|
|
9443
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/test`,
|
|
9444
|
+
{
|
|
9445
|
+
method: "POST",
|
|
9446
|
+
body: JSON.stringify(data)
|
|
9447
|
+
}
|
|
9448
|
+
);
|
|
9449
|
+
}
|
|
9257
9450
|
};
|
|
9258
9451
|
function businessProfilePath(orgUuid, legalEntityUuid) {
|
|
9259
9452
|
return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
|
|
@@ -13262,6 +13455,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13262
13455
|
"queryWorkspaceActivityLatestSubjects",
|
|
13263
13456
|
"queryWorkspaceActivityOpenItems",
|
|
13264
13457
|
"queryWorkspaceActivityOneView",
|
|
13458
|
+
"queryWorkspaceActivityDigest",
|
|
13265
13459
|
"registerDiscordSlashCommands",
|
|
13266
13460
|
"reopenWorkspaceSupportRequest",
|
|
13267
13461
|
"resolveEntityRefs",
|
|
@@ -13531,10 +13725,12 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13531
13725
|
"markEmailAsUnread",
|
|
13532
13726
|
"markNotificationAsRead",
|
|
13533
13727
|
"mergeMemberRoles",
|
|
13728
|
+
"previewEmailReply",
|
|
13534
13729
|
"previewImportMembers",
|
|
13535
13730
|
"previewMemberWorkflowVoice",
|
|
13536
13731
|
"previewRenameFieldSlug",
|
|
13537
13732
|
"previewImportWorkspace",
|
|
13733
|
+
"previewInboxEmail",
|
|
13538
13734
|
"previewRoutineVoiceReadiness",
|
|
13539
13735
|
"previewRoutineWorkflowAccess",
|
|
13540
13736
|
"previewSchedule",
|
|
@@ -13632,7 +13828,6 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13632
13828
|
"updateChatLabel",
|
|
13633
13829
|
"updateChatModelOverride",
|
|
13634
13830
|
"updateChatMute",
|
|
13635
|
-
"updateChatNeedsResponse",
|
|
13636
13831
|
"updateClientWorkspace",
|
|
13637
13832
|
"updateConnection",
|
|
13638
13833
|
"updateConnectionSyncConfig",
|
|
@@ -13816,7 +14011,6 @@ function bindChatsMethods(target, chats) {
|
|
|
13816
14011
|
target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
|
|
13817
14012
|
target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
|
|
13818
14013
|
target.updateChatMute = chats.updateChatMute.bind(chats);
|
|
13819
|
-
target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
|
|
13820
14014
|
target.summarizeChat = chats.summarizeChat.bind(chats);
|
|
13821
14015
|
target.getChatMessages = chats.getChatMessages.bind(chats);
|
|
13822
14016
|
target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
|
|
@@ -13877,19 +14071,24 @@ function bindActivityMethods(target, activity) {
|
|
|
13877
14071
|
target.queryActivityLatestSubjects = activity.queryActivityLatestSubjects.bind(activity);
|
|
13878
14072
|
target.queryActivityOpenItems = activity.queryActivityOpenItems.bind(activity);
|
|
13879
14073
|
target.queryActivityOneView = activity.queryActivityOneView.bind(activity);
|
|
14074
|
+
target.queryActivityDigest = activity.queryActivityDigest.bind(activity);
|
|
13880
14075
|
target.getActivityCounts = activity.getActivityCounts.bind(activity);
|
|
13881
14076
|
target.getActivityCapabilities = activity.getActivityCapabilities.bind(activity);
|
|
13882
14077
|
target.queryOrgActivity = activity.queryOrgActivity.bind(activity);
|
|
13883
14078
|
target.queryOrgActivityLatestSubjects = activity.queryOrgActivityLatestSubjects.bind(activity);
|
|
13884
14079
|
target.queryOrgActivityOpenItems = activity.queryOrgActivityOpenItems.bind(activity);
|
|
13885
14080
|
target.queryOrgActivityOneView = activity.queryOrgActivityOneView.bind(activity);
|
|
14081
|
+
target.queryOrgActivityDigest = activity.queryOrgActivityDigest.bind(activity);
|
|
13886
14082
|
target.getOrgActivityCounts = activity.getOrgActivityCounts.bind(activity);
|
|
13887
14083
|
target.queryWorkspaceActivity = activity.queryWorkspaceActivity.bind(activity);
|
|
13888
14084
|
target.queryWorkspaceActivityLatestSubjects = activity.queryWorkspaceActivityLatestSubjects.bind(activity);
|
|
13889
14085
|
target.queryWorkspaceActivityOpenItems = activity.queryWorkspaceActivityOpenItems.bind(activity);
|
|
13890
14086
|
target.queryWorkspaceActivityOneView = activity.queryWorkspaceActivityOneView.bind(activity);
|
|
14087
|
+
target.queryWorkspaceActivityDigest = activity.queryWorkspaceActivityDigest.bind(activity);
|
|
13891
14088
|
target.getWorkspaceActivityCounts = activity.getWorkspaceActivityCounts.bind(activity);
|
|
13892
14089
|
target.resolveEntityRefs = activity.resolveEntityRefs.bind(activity);
|
|
14090
|
+
target.resolveOrgEntityRefs = activity.resolveOrgEntityRefs.bind(activity);
|
|
14091
|
+
target.resolveAccountEntityRefs = activity.resolveAccountEntityRefs.bind(activity);
|
|
13893
14092
|
}
|
|
13894
14093
|
|
|
13895
14094
|
// src/client/bindings/motd.ts
|
|
@@ -13971,6 +14170,7 @@ function bindMembersMethods(target, members) {
|
|
|
13971
14170
|
target.updateCurrentMember = members.updateCurrentMember.bind(members);
|
|
13972
14171
|
target.getWorkspaceMembers = members.getWorkspaceMembers.bind(members);
|
|
13973
14172
|
target.getWorkspaceMember = members.getWorkspaceMember.bind(members);
|
|
14173
|
+
target.getOrgWorkspaceMember = members.getOrgWorkspaceMember.bind(members);
|
|
13974
14174
|
target.createWorkspaceMember = members.createWorkspaceMember.bind(members);
|
|
13975
14175
|
target.updateMember = members.updateMember.bind(members);
|
|
13976
14176
|
target.deleteMember = members.deleteMember.bind(members);
|
|
@@ -14431,6 +14631,8 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
|
|
|
14431
14631
|
target.getChatEmails = inboxes.getChatEmails.bind(inboxes);
|
|
14432
14632
|
target.replyToEmail = inboxes.replyToEmail.bind(inboxes);
|
|
14433
14633
|
target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
|
|
14634
|
+
target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
|
|
14635
|
+
target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
|
|
14434
14636
|
target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
|
|
14435
14637
|
target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
|
|
14436
14638
|
target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
|
|
@@ -14974,7 +15176,6 @@ var GravityRailClient = class {
|
|
|
14974
15176
|
getChatModelOverride;
|
|
14975
15177
|
updateChatModelOverride;
|
|
14976
15178
|
updateChatMute;
|
|
14977
|
-
updateChatNeedsResponse;
|
|
14978
15179
|
summarizeChat;
|
|
14979
15180
|
getChatMessages;
|
|
14980
15181
|
getChildThreadMessages;
|
|
@@ -15060,6 +15261,9 @@ var GravityRailClient = class {
|
|
|
15060
15261
|
updateCurrentMember;
|
|
15061
15262
|
getWorkspaceMembers;
|
|
15062
15263
|
getWorkspaceMember;
|
|
15264
|
+
// Org-scoped, so deliberately absent from WORKSPACE_METHOD_NAMES: that proxy
|
|
15265
|
+
// passes a workspace uuid as the first argument.
|
|
15266
|
+
getOrgWorkspaceMember;
|
|
15063
15267
|
createWorkspaceMember;
|
|
15064
15268
|
updateMember;
|
|
15065
15269
|
deleteMember;
|
|
@@ -15181,20 +15385,26 @@ var GravityRailClient = class {
|
|
|
15181
15385
|
queryActivityLatestSubjects;
|
|
15182
15386
|
queryActivityOpenItems;
|
|
15183
15387
|
queryActivityOneView;
|
|
15388
|
+
queryActivityDigest;
|
|
15184
15389
|
getActivityCounts;
|
|
15185
15390
|
getActivityCapabilities;
|
|
15186
15391
|
queryOrgActivity;
|
|
15187
15392
|
queryOrgActivityLatestSubjects;
|
|
15188
15393
|
queryOrgActivityOpenItems;
|
|
15189
15394
|
queryOrgActivityOneView;
|
|
15395
|
+
queryOrgActivityDigest;
|
|
15190
15396
|
getOrgActivityCounts;
|
|
15191
15397
|
queryWorkspaceActivity;
|
|
15192
15398
|
queryWorkspaceActivityLatestSubjects;
|
|
15193
15399
|
queryWorkspaceActivityOpenItems;
|
|
15194
15400
|
queryWorkspaceActivityOneView;
|
|
15401
|
+
queryWorkspaceActivityDigest;
|
|
15195
15402
|
getWorkspaceActivityCounts;
|
|
15196
|
-
// Hydration: typed refs in, display summaries out, one round trip.
|
|
15403
|
+
// Hydration: typed refs in, display summaries out, one round trip. The org
|
|
15404
|
+
// variant carries several workspaces' groups in that one trip.
|
|
15197
15405
|
resolveEntityRefs;
|
|
15406
|
+
resolveOrgEntityRefs;
|
|
15407
|
+
resolveAccountEntityRefs;
|
|
15198
15408
|
// MOTD API
|
|
15199
15409
|
getMotd;
|
|
15200
15410
|
// Tracked Links analytics (#10934)
|
|
@@ -15681,6 +15891,8 @@ var GravityRailClient = class {
|
|
|
15681
15891
|
getChatEmails;
|
|
15682
15892
|
replyToEmail;
|
|
15683
15893
|
sendInboxEmail;
|
|
15894
|
+
previewInboxEmail;
|
|
15895
|
+
previewEmailReply;
|
|
15684
15896
|
getNotificationRules;
|
|
15685
15897
|
createNotificationRule;
|
|
15686
15898
|
updateNotificationRule;
|
|
@@ -16298,6 +16510,7 @@ var ChatInteractionController = class {
|
|
|
16298
16510
|
ChannelMessageSource,
|
|
16299
16511
|
ChannelMessagesUnavailableReason,
|
|
16300
16512
|
ChatInteractionController,
|
|
16513
|
+
ChatMuteReason,
|
|
16301
16514
|
ChatsApi,
|
|
16302
16515
|
ConfluenceApi,
|
|
16303
16516
|
ConnectionSyncApi,
|
|
@@ -16326,6 +16539,7 @@ var ChatInteractionController = class {
|
|
|
16326
16539
|
DataTypeRecordScope,
|
|
16327
16540
|
DataTypesApi,
|
|
16328
16541
|
DeclaredDataUse,
|
|
16542
|
+
DigestSlotRole,
|
|
16329
16543
|
DiscordBotsApi,
|
|
16330
16544
|
DriverMode,
|
|
16331
16545
|
EhrWritebackOutcomeResponseStatus,
|