@gravity-rail/sdk 0.55.0 → 0.55.1
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/{chat-interaction-CZnqOfut.d.ts → chat-interaction-C620llgG.d.cts} +472 -326
- package/dist/{chat-interaction-DZCWRbDi.d.cts → chat-interaction-DDz9ZtQ8.d.ts} +472 -326
- package/dist/{chunk-BF4MOZZO.js → chunk-7R22EG5F.js} +52 -4
- package/dist/chunk-7R22EG5F.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +52 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +52 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +4 -4
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +3 -1
- package/dist/internal.js.map +1 -1
- package/dist/{path-C6Ujx-3w.d.cts → path-BIk9UPr0.d.cts} +46 -2
- package/dist/{path-YfkJBAbf.d.ts → path-kbfnY2gB.d.ts} +46 -2
- package/package.json +3 -3
- package/dist/chunk-BF4MOZZO.js.map +0 -1
|
@@ -5457,6 +5457,33 @@ var OrgApi = class extends BaseApiClient {
|
|
|
5457
5457
|
method: "DELETE"
|
|
5458
5458
|
});
|
|
5459
5459
|
}
|
|
5460
|
+
/**
|
|
5461
|
+
* Read the organization's AI connector policy and the connectors (MCP
|
|
5462
|
+
* clients such as claude.ai or ChatGPT) that have requested access to it.
|
|
5463
|
+
* Requires `org:admin`.
|
|
5464
|
+
*/
|
|
5465
|
+
async getOrgAiConnectorPolicy(orgIdOrUuid) {
|
|
5466
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors`);
|
|
5467
|
+
}
|
|
5468
|
+
/** Set the AI connector mode: `any` or `allowlist`. Requires `org:admin`. */
|
|
5469
|
+
async updateOrgAiConnectorPolicy(orgIdOrUuid, data) {
|
|
5470
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors`, {
|
|
5471
|
+
method: "PUT",
|
|
5472
|
+
body: JSON.stringify(data)
|
|
5473
|
+
});
|
|
5474
|
+
}
|
|
5475
|
+
/** Allow a connector that has requested access. Requires `org:admin`. */
|
|
5476
|
+
async allowOrgAiConnector(orgIdOrUuid, appId) {
|
|
5477
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
|
|
5478
|
+
method: "PUT"
|
|
5479
|
+
});
|
|
5480
|
+
}
|
|
5481
|
+
/** Remove a connector from the allowlist. Requires `org:admin`. */
|
|
5482
|
+
async removeOrgAiConnector(orgIdOrUuid, appId) {
|
|
5483
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
|
|
5484
|
+
method: "DELETE"
|
|
5485
|
+
});
|
|
5486
|
+
}
|
|
5460
5487
|
/**
|
|
5461
5488
|
* Get the billing customer and this organization's billable subscription.
|
|
5462
5489
|
*
|
|
@@ -6284,13 +6311,22 @@ var OrgApi = class extends BaseApiClient {
|
|
|
6284
6311
|
method: "DELETE"
|
|
6285
6312
|
});
|
|
6286
6313
|
}
|
|
6287
|
-
async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50) {
|
|
6314
|
+
async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50, offset = 0) {
|
|
6288
6315
|
return this.fetch(
|
|
6289
|
-
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
|
|
6316
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}&offset=${offset}`
|
|
6290
6317
|
);
|
|
6291
6318
|
}
|
|
6319
|
+
async getOrgWebhookDeliveryDetail(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
6320
|
+
return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}`);
|
|
6321
|
+
}
|
|
6322
|
+
async clearOrgWebhookDeliveries(orgIdOrUuid, endpointUuid, failedOnly) {
|
|
6323
|
+
return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/clear`, {
|
|
6324
|
+
method: "POST",
|
|
6325
|
+
body: JSON.stringify({ failedOnly })
|
|
6326
|
+
});
|
|
6327
|
+
}
|
|
6292
6328
|
/**
|
|
6293
|
-
* Requeue one
|
|
6329
|
+
* Requeue one failed or expired delivery on its existing row.
|
|
6294
6330
|
*
|
|
6295
6331
|
* The response is identifiers only. The drain signs a fresh timestamp
|
|
6296
6332
|
* when it sends; this call does not POST to the receiver.
|
|
@@ -14139,6 +14175,8 @@ function bindOrgMethods(target, org) {
|
|
|
14139
14175
|
target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
|
|
14140
14176
|
target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
|
|
14141
14177
|
target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
|
|
14178
|
+
target.getOrgWebhookDeliveryDetail = org.getOrgWebhookDeliveryDetail.bind(org);
|
|
14179
|
+
target.clearOrgWebhookDeliveries = org.clearOrgWebhookDeliveries.bind(org);
|
|
14142
14180
|
target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
|
|
14143
14181
|
target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
|
|
14144
14182
|
target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
|
|
@@ -14911,6 +14949,8 @@ var GravityRailClient = class {
|
|
|
14911
14949
|
listOrgWebhookEndpointDeliveries;
|
|
14912
14950
|
replayOrgWebhookDelivery;
|
|
14913
14951
|
discardPendingOrgWebhookDeliveries;
|
|
14952
|
+
getOrgWebhookDeliveryDetail;
|
|
14953
|
+
clearOrgWebhookDeliveries;
|
|
14914
14954
|
getOrgWebhookEndpointCoverage;
|
|
14915
14955
|
testOrgWebhookEndpoint;
|
|
14916
14956
|
listWorkspaceLabels;
|
|
@@ -15773,6 +15813,7 @@ var AbilityTypeSlugs = {
|
|
|
15773
15813
|
GOOGLE_SHEETS: "integration:google_sheets",
|
|
15774
15814
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
15775
15815
|
COSAN_PATHWAYS_SCHEDULING: "integration:cosan_pathways_scheduling",
|
|
15816
|
+
ATHENA_SCHEDULING: "integration:athena_scheduling",
|
|
15776
15817
|
// Communication
|
|
15777
15818
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
15778
15819
|
SEND_SMS: "communication:send_sms",
|
|
@@ -15990,6 +16031,12 @@ var SiteDnsRecordType = {
|
|
|
15990
16031
|
TXT: "TXT"
|
|
15991
16032
|
};
|
|
15992
16033
|
|
|
16034
|
+
// src/types/generated/ai_connector_policy.ts
|
|
16035
|
+
var AiConnectorPolicy = {
|
|
16036
|
+
any: "any",
|
|
16037
|
+
allowlist: "allowlist"
|
|
16038
|
+
};
|
|
16039
|
+
|
|
15993
16040
|
// src/types/generated/site.ts
|
|
15994
16041
|
var MenuItemResponseItemType = {
|
|
15995
16042
|
page: "page",
|
|
@@ -17410,6 +17457,7 @@ export {
|
|
|
17410
17457
|
Region,
|
|
17411
17458
|
RegistrationIdentifier,
|
|
17412
17459
|
SiteDnsRecordType,
|
|
17460
|
+
AiConnectorPolicy,
|
|
17413
17461
|
MenuItemResponseItemType,
|
|
17414
17462
|
AbilityConfigIssueCode,
|
|
17415
17463
|
AbilityConfigIssueSeverity,
|
|
@@ -17470,4 +17518,4 @@ export {
|
|
|
17470
17518
|
pathDraftFromStorage,
|
|
17471
17519
|
pathDraftToStorage
|
|
17472
17520
|
};
|
|
17473
|
-
//# sourceMappingURL=chunk-
|
|
17521
|
+
//# sourceMappingURL=chunk-7R22EG5F.js.map
|