@gravity-rail/cli 0.43.0 → 0.44.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 CHANGED
@@ -633,13 +633,12 @@ gr bundles install -w "$CONSUMER" --bundle "$BUNDLE" --allow-write
633
633
  gr bundles policy -w "$CONSUMER" --installation "$INSTALLATION" --set auto --allow-write
634
634
  gr bundles readiness -w "$CONSUMER" --installation "$INSTALLATION"
635
635
 
636
- # Make an independent editable copy of an installed Workflow
637
- gr workflows clone -w "$CONSUMER" --id "$LOCAL_WORKFLOW_ID" \
638
- --data '{"name":"My customized Workflow"}' --allow-write
636
+ # Edit the installed Workflows: detach the Bundle. Updates stop.
637
+ gr bundles unsubscribe -w "$CONSUMER" --installation "$INSTALLATION" --allow-write
639
638
  ```
640
639
 
641
640
  Installation creates the **consumer's local** Workflow ID and UUID; use those for
642
- consumer reads and copying. Installation and policy changes require
641
+ consumer reads. Detaching keeps them and makes the Workflows editable. Installation and policy changes require
643
642
  `workflows:admin` in the destination plus publisher access;
644
643
  organization-admin status is not an additional requirement.
645
644
  When a Bundle upgrade changes an installed Form schema, the acting administrator
@@ -664,7 +663,7 @@ not revoke the Bundle subscription.
664
663
  | Install the latest version (initially pinned) | `bundles install --bundle <uuid>` |
665
664
  | Follow new releases | `bundles policy --installation <uuid> --set auto` |
666
665
  | Hold the installed release | `bundles policy --installation <uuid> --set pinned` |
667
- | Stop updates and keep installed content | `bundles unsubscribe --installation <uuid>` |
666
+ | Detach: stop updates, keep installed content, make its Workflows editable | `bundles unsubscribe --installation <uuid>` |
668
667
  | Preview an upgrade | `bundles preview --installation <uuid> --to 2` |
669
668
  | Apply an upgrade | `bundles upgrade --installation <uuid> --to 2` |
670
669
  | Inspect missing local dependencies | `bundles readiness --installation <uuid>` |
package/dist/gr.js CHANGED
@@ -3205,7 +3205,7 @@ var init_libphonenumber_js = __esm({
3205
3205
  }
3206
3206
  });
3207
3207
 
3208
- // ../sdk/dist/chunk-G32MQGJD.js
3208
+ // ../sdk/dist/chunk-JKML6WOA.js
3209
3209
  function resourceWorkflowsPath(wid, ...segments) {
3210
3210
  const tail = segments.map((segment) => encodeURIComponent(String(segment))).join("/");
3211
3211
  const base = `w/${encodeURIComponent(wid)}/resource-workflows`;
@@ -3223,9 +3223,6 @@ function pageQuery(params) {
3223
3223
  const qs = query.toString();
3224
3224
  return qs ? `?${qs}` : "";
3225
3225
  }
3226
- function refusalCode(value) {
3227
- return typeof value === "string" && REFUSAL_CODES.includes(value) ? value : void 0;
3228
- }
3229
3226
  function installationsPath(wid, ...segments) {
3230
3227
  const tail = segments.map((segment) => encodeURIComponent(String(segment))).join("/");
3231
3228
  const base = `w/${encodeURIComponent(wid)}/installations`;
@@ -3418,7 +3415,6 @@ function createApiModules(apiKey, baseUrl3, customFetch) {
3418
3415
  auth: new AuthApi(apiKey, baseUrl3, customFetch),
3419
3416
  builders: new BuildersApi(apiKey, baseUrl3, customFetch),
3420
3417
  bundles: new BundlesApi(apiKey, baseUrl3, customFetch),
3421
- demos: new DemosApi(apiKey, baseUrl3, customFetch),
3422
3418
  installations: new InstallationsApi(apiKey, baseUrl3, customFetch),
3423
3419
  calendars: new CalendarsApi(apiKey, baseUrl3, customFetch),
3424
3420
  calls: new CallsApi(apiKey, baseUrl3, customFetch),
@@ -4072,6 +4068,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
4072
4068
  target.getWorkflowTaskAssignmentStats = workflows.getWorkflowTaskAssignmentStats.bind(workflows);
4073
4069
  target.getTaskChats = workflows.getTaskChats.bind(workflows);
4074
4070
  target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
4071
+ target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
4075
4072
  target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
4076
4073
  target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
4077
4074
  target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
@@ -4550,15 +4547,6 @@ function bindBundlesMethods(target, bundles, resourceWorkflows) {
4550
4547
  target.revokeBundleGrant = bundles.revokeBundleGrant.bind(bundles);
4551
4548
  target.listResourceWorkflows = resourceWorkflows.listResourceWorkflows.bind(resourceWorkflows);
4552
4549
  }
4553
- function bindDemosMethods(target, demos) {
4554
- target.getDemo = demos.getDemo.bind(demos);
4555
- target.startDemoSession = demos.startDemoSession.bind(demos);
4556
- target.sendDemoSessionSms = demos.sendDemoSessionSms.bind(demos);
4557
- target.sendDemoSessionEmail = demos.sendDemoSessionEmail.bind(demos);
4558
- target.placeDemoSessionCall = demos.placeDemoSessionCall.bind(demos);
4559
- target.getDemoSessionTimeline = demos.getDemoSessionTimeline.bind(demos);
4560
- target.endDemoSession = demos.endDemoSession.bind(demos);
4561
- }
4562
4550
  function bindInstallationsMethods(target, installations) {
4563
4551
  target.preflightBundleInstallation = installations.preflightBundleInstallation.bind(installations);
4564
4552
  target.installBundle = installations.installBundle.bind(installations);
@@ -4628,10 +4616,10 @@ function bindQualificationsMethods(target, qualifications) {
4628
4616
  target.listTestChatRuns = qualifications.listTestChatRuns.bind(qualifications);
4629
4617
  target.listScenarioHealthSummaries = qualifications.listScenarioHealthSummaries.bind(qualifications);
4630
4618
  target.getTestChatRun = qualifications.getTestChatRun.bind(qualifications);
4631
- target.listTestChatRunCapturedEffects = qualifications.listTestChatRunCapturedEffects.bind(qualifications);
4632
- target.deliverTestChatRunSms = qualifications.deliverTestChatRunSms.bind(qualifications);
4633
- target.deliverTestChatRunEmail = qualifications.deliverTestChatRunEmail.bind(qualifications);
4634
- target.placeTestChatRunCall = qualifications.placeTestChatRunCall.bind(qualifications);
4619
+ target.listChatCapturedEffects = qualifications.listChatCapturedEffects.bind(qualifications);
4620
+ target.listChatRecordChanges = qualifications.listChatRecordChanges.bind(qualifications);
4621
+ target.takeTestChatRunEmailTurn = qualifications.takeTestChatRunEmailTurn.bind(qualifications);
4622
+ target.takeTestChatRunSmsTurn = qualifications.takeTestChatRunSmsTurn.bind(qualifications);
4635
4623
  target.startTestChatRun = qualifications.startTestChatRun.bind(qualifications);
4636
4624
  target.evaluateTestChatRun = qualifications.evaluateTestChatRun.bind(qualifications);
4637
4625
  target.endTestChatRun = qualifications.endTestChatRun.bind(qualifications);
@@ -4724,9 +4712,9 @@ function getRevisionState(workflow, revision) {
4724
4712
  state: revision?.publishedAt != null ? "published" : "draft"
4725
4713
  };
4726
4714
  }
4727
- var AbilitiesApi, ResourceWorkflowsApi, BundlesApi, DemoRefusalCode, REFUSAL_CODES, DemoRequestError, DemosApi, InstallationsApi, AccessGrantsApi, AgentTasksApi, AgentsApi, AIModelsApi, ApiKeysApi, AppsApi, AssignmentsApi, VoiceApi, AuthApi, BuildersApi, CalendarsApi, CallsApi, CELApi, ChatsApi, ConfluenceApi, CustomToolkitsApi, DataTypesApi, DiscordBotsApi, SlackAppsApi, EventsApi, FeaturesApi, FhirConnectionsApi, InboundFaxStatus, DocumoFaxApi, HealthieApi, FilesApi, InboxesApi, InquiriesApi, AppConnectionsApi, McpServersApi, MemberImportValidationError, MembersApi, MondayIntegrationApi, NotificationRulesApi, OperatorApi, OrgApi, OAuthConnectionsApi, OAuthApi, PhoneNumbersApi, PronunciationsApi, PromptsApi, PersonasApi, QueriesApi, QualificationsApi, ReportsApi, RoutingRulesApi, SalesforceApi, ConnectionSyncApi, HubspotApi, SitesApi, SubscriptionsApi, SupportRequestsApi, CustomersApi, ResellersApi, SupervisorsApi, TasksApi, TemplatesApi, ToolkitsApi, JourneysApi, WorkflowsApi, WorkflowNotesApi, EventRuleObjectType, EventRuleEventType, EventRuleActionType, DriverMode, MEMBER_RELATIONSHIP_KINDS, WorkspaceInvitationsApi, WorkspacesApi, DashboardsApi, DevicesApi, TeamsAppsApi, ExperimentsApi, PatientSyncConnectionsApi, ActivityApi, MotdApi, InterventionRequestsApi, MetricsApi, ProjectsApi, TrackedLinksApi, WORKSPACE_METHOD_NAMES, WORKSPACE_METHOD_NAME_SET, GravityRailClient, WIDGET_SLUGS, CHAT_TYPES, BUILTIN_ASSISTANT_CHAT_TYPES, MEMBER_AGENT_CHAT_TYPES, ActivityGrain, ActivityGroupBy, ActivityOpenItemOrder, ActivityWindowBasis;
4728
- var init_chunk_G32MQGJD = __esm({
4729
- "../sdk/dist/chunk-G32MQGJD.js"() {
4715
+ var AbilitiesApi, ResourceWorkflowsApi, BundlesApi, InstallationsApi, AccessGrantsApi, AgentTasksApi, AgentsApi, AIModelsApi, ApiKeysApi, AppsApi, AssignmentsApi, VoiceApi, AuthApi, BuildersApi, CalendarsApi, CallsApi, CELApi, ChatsApi, ConfluenceApi, CustomToolkitsApi, DataTypesApi, DiscordBotsApi, SlackAppsApi, EventsApi, FeaturesApi, FhirConnectionsApi, InboundFaxStatus, DocumoFaxApi, HealthieApi, FilesApi, InboxesApi, InquiriesApi, AppConnectionsApi, McpServersApi, MemberImportValidationError, MembersApi, MondayIntegrationApi, NotificationRulesApi, OperatorApi, OrgApi, OAuthConnectionsApi, OAuthApi, PhoneNumbersApi, PronunciationsApi, PromptsApi, PersonasApi, QueriesApi, QualificationsApi, ReportsApi, RoutingRulesApi, SalesforceApi, ConnectionSyncApi, HubspotApi, SitesApi, SubscriptionsApi, SupportRequestsApi, CustomersApi, ResellersApi, SupervisorsApi, TasksApi, TemplatesApi, ToolkitsApi, JourneysApi, WorkflowsApi, WorkflowNotesApi, EventRuleObjectType, EventRuleEventType, EventRuleActionType, DriverMode, MEMBER_RELATIONSHIP_KINDS, WorkspaceInvitationsApi, WorkspacesApi, DashboardsApi, DevicesApi, TeamsAppsApi, ExperimentsApi, PatientSyncConnectionsApi, ActivityApi, MotdApi, InterventionRequestsApi, MetricsApi, ProjectsApi, TrackedLinksApi, WORKSPACE_METHOD_NAMES, WORKSPACE_METHOD_NAME_SET, GravityRailClient, WIDGET_SLUGS, CHAT_TYPES, BUILTIN_ASSISTANT_CHAT_TYPES, MEMBER_AGENT_CHAT_TYPES, ActivityGrain, ActivityGroupBy, ActivityOpenItemOrder, ActivityWindowBasis;
4716
+ var init_chunk_JKML6WOA = __esm({
4717
+ "../sdk/dist/chunk-JKML6WOA.js"() {
4730
4718
  init_chunk_67QXTQVL();
4731
4719
  init_libphonenumber_js();
4732
4720
  AbilitiesApi = class extends BaseApiClient {
@@ -4965,109 +4953,6 @@ var init_chunk_G32MQGJD = __esm({
4965
4953
  });
4966
4954
  }
4967
4955
  };
4968
- DemoRefusalCode = {
4969
- session_expired: "session_expired",
4970
- session_capped: "session_capped",
4971
- calls_capped: "calls_capped",
4972
- session_ended: "session_ended",
4973
- destination_not_allowed: "destination_not_allowed",
4974
- sender_cannot_send: "sender_cannot_send",
4975
- demo_not_available: "demo_not_available"
4976
- };
4977
- REFUSAL_CODES = Object.values(DemoRefusalCode);
4978
- DemoRequestError = class extends ApiError {
4979
- code;
4980
- constructor(message, statusCode, code) {
4981
- super(message, statusCode);
4982
- this.name = "DemoRequestError";
4983
- this.code = code;
4984
- }
4985
- };
4986
- DemosApi = class extends BaseApiClient {
4987
- /** Whether a Bundle has a Demo, and what a visitor may contact in it. Needs no session. */
4988
- async getDemo(bundleUuid2) {
4989
- return this.anonymous(`demos/${encodeURIComponent(bundleUuid2)}`, {
4990
- method: "GET"
4991
- });
4992
- }
4993
- /** Start a Demo session. Needs no session; `recaptchaToken` is required where reCAPTCHA is enforced. */
4994
- async startDemoSession(bundleUuid2, data = {}) {
4995
- return this.anonymous(
4996
- `demos/${encodeURIComponent(bundleUuid2)}/sessions`,
4997
- { method: "POST", body: JSON.stringify(data) }
4998
- );
4999
- }
5000
- /** Text one of the Demo's numbers as the session's Persona. */
5001
- async sendDemoSessionSms(sessionToken, data) {
5002
- return this.anonymous(
5003
- "demos/sessions/sms",
5004
- { method: "POST", body: JSON.stringify(data) },
5005
- sessionToken
5006
- );
5007
- }
5008
- /** Email one of the Demo's inboxes as the session's Persona. Returns after the Agent's turn. */
5009
- async sendDemoSessionEmail(sessionToken, data) {
5010
- return this.anonymous(
5011
- "demos/sessions/email",
5012
- { method: "POST", body: JSON.stringify(data) },
5013
- sessionToken
5014
- );
5015
- }
5016
- /**
5017
- * Call one of the Demo's numbers as the session's Persona.
5018
- *
5019
- * For an `answered` call, `join` holds what a browser opens the call with:
5020
- * the web voice socket `url`, a single-use login `token` for this call's
5021
- * Chat, and `chatId`. Send them in `voice.login`. For a `not_answered`
5022
- * call, `notAnsweredBranch` says what the number does and nothing connects.
5023
- */
5024
- async placeDemoSessionCall(sessionToken, data) {
5025
- return this.anonymous(
5026
- "demos/sessions/call",
5027
- { method: "POST", body: JSON.stringify(data) },
5028
- sessionToken
5029
- );
5030
- }
5031
- /**
5032
- * The session's own messages, oldest first, and its state. `after` returns
5033
- * only the rows after that row id, so a poll reads what is new.
5034
- */
5035
- async getDemoSessionTimeline(sessionToken, params) {
5036
- const query = params?.after !== void 0 ? `?after=${encodeURIComponent(params.after)}` : "";
5037
- return this.anonymous(
5038
- `demos/sessions/timeline${query}`,
5039
- { method: "GET" },
5040
- sessionToken
5041
- );
5042
- }
5043
- /** End the session. Nothing further is captured on it. */
5044
- async endDemoSession(sessionToken) {
5045
- return this.anonymous(
5046
- "demos/sessions/end",
5047
- { method: "POST" },
5048
- sessionToken
5049
- );
5050
- }
5051
- /**
5052
- * A request that carries the Demo session token, or no credential at all.
5053
- * It never sends this client's API key or the browser's cookies.
5054
- */
5055
- async anonymous(endpoint, init, sessionToken) {
5056
- const headers2 = new Headers({ "Content-Type": "application/json" });
5057
- if (sessionToken) headers2.set("Authorization", `Bearer ${sessionToken}`);
5058
- const response = await this.fetchFunction(`${this.baseUrl}/api/v2/${endpoint}`, {
5059
- ...init,
5060
- headers: headers2,
5061
- credentials: "omit"
5062
- });
5063
- if (!response.ok) {
5064
- const body = await response.json().catch(() => ({}));
5065
- const detail = typeof body.detail === "string" ? body.detail : `Request failed (${response.status})`;
5066
- throw new DemoRequestError(detail, response.status, refusalCode(body.code));
5067
- }
5068
- return await response.json();
5069
- }
5070
- };
5071
4956
  InstallationsApi = class extends BaseApiClient {
5072
4957
  /** Inspect one published release and its selected example dependencies. */
5073
4958
  async preflightBundleInstallation(wid, bundleUuid2, data) {
@@ -5088,9 +4973,18 @@ var init_chunk_G32MQGJD = __esm({
5088
4973
  { method: "POST", body: JSON.stringify(data) }
5089
4974
  );
5090
4975
  }
5091
- /** Every installation this workspace holds, oldest first. */
5092
- async listInstallations(wid) {
5093
- return this.fetch(installationsPath(wid));
4976
+ /**
4977
+ * Every attached installation this workspace holds, oldest first.
4978
+ *
4979
+ * With `includeDetached`, detached installations are listed too
4980
+ * (`subscribed: false`). A detached Bundle cannot be installed again at the
4981
+ * version its row holds.
4982
+ */
4983
+ async listInstallations(wid, options = {}) {
4984
+ const path4 = installationsPath(wid);
4985
+ return this.fetch(
4986
+ options.includeDetached ? `${path4}?includeDetached=true` : path4
4987
+ );
5094
4988
  }
5095
4989
  async getInstallation(wid, installationUuid2) {
5096
4990
  return this.fetch(installationsPath(wid, installationUuid2));
@@ -11415,34 +11309,34 @@ var init_chunk_G32MQGJD = __esm({
11415
11309
  return this.fetch(`w/${wid}/qualifications/test-chat-runs/${runId}`);
11416
11310
  }
11417
11311
  /**
11418
- * What a test run would have sent: the SMS, WhatsApp, email, call,
11419
- * notification and escalation it prepared, with content, oldest first.
11420
- * One entry per Member reached, naming the Member and the workspace phone
11421
- * number or inbox used. Nothing in the list was delivered. `truncated` means the list is
11422
- * incomplete.
11312
+ * What a test run sent and received on other channels: each SMS, WhatsApp
11313
+ * message, email, call, notification and escalation it prepared, and each
11314
+ * message its Persona sent to the workspace, with content, oldest first.
11315
+ * `chatId` is the run's Chat. The list covers the whole run, including the
11316
+ * other Chats it produced. One entry per Member reached, naming the Member
11317
+ * and the workspace phone number or inbox used. Nothing in the list was
11318
+ * delivered. `truncated` means the list is incomplete. A Chat that is not
11319
+ * a test run's Chat has an empty list. Read access is the Chat's own.
11423
11320
  */
11424
- async listTestChatRunCapturedEffects(wid, runId) {
11425
- return this.fetch(
11426
- `w/${wid}/qualifications/test-chat-runs/${runId}/captured-effects`
11427
- );
11428
- }
11429
- async startTestChatRun(wid, workflowId, data = {}) {
11430
- return this.fetch(
11431
- `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
11432
- {
11433
- method: "POST",
11434
- body: JSON.stringify(data)
11435
- }
11436
- );
11321
+ async listChatCapturedEffects(wid, chatId) {
11322
+ return this.fetch(`w/${wid}/chats/${chatId}/captured-effects`);
11437
11323
  }
11438
11324
  /**
11439
- * Text a workspace phone number as the run's Persona. The text enters the
11440
- * inbound SMS pipeline; the Agent's reply is captured on the run and never
11441
- * sent. `chatId` is the Chat the text landed in.
11325
+ * What a test run did to its test Member's records: each record created,
11326
+ * each update and each deletion from the run's start, oldest first, with
11327
+ * the fields touched and their values before and after. `chatId` is the
11328
+ * run's Chat. A scenario's seeded records are the first changes. One entry
11329
+ * per operation on one record, naming the Form and the Member who acted.
11330
+ * `truncated` means the list is incomplete. A Chat that is not a test
11331
+ * run's Chat has an empty list. Requires `records:read` and read access to
11332
+ * the Chat; a Form, record or field the caller may not read is left out.
11442
11333
  */
11443
- async deliverTestChatRunSms(wid, runId, data) {
11334
+ async listChatRecordChanges(wid, chatId) {
11335
+ return this.fetch(`w/${wid}/chats/${chatId}/record-changes`);
11336
+ }
11337
+ async startTestChatRun(wid, workflowId, data = {}) {
11444
11338
  return this.fetch(
11445
- `w/${wid}/qualifications/test-chat-runs/${runId}/inbound/sms`,
11339
+ `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs`,
11446
11340
  {
11447
11341
  method: "POST",
11448
11342
  body: JSON.stringify(data)
@@ -11450,13 +11344,14 @@ var init_chunk_G32MQGJD = __esm({
11450
11344
  );
11451
11345
  }
11452
11346
  /**
11453
- * Email a workspace inbox as the run's Persona. The email enters the
11454
- * inbound email pipeline; the call returns after the Agent's turn, and the
11455
- * reply is captured on the run and never sent.
11347
+ * Take an email turn in the run's own Chat as its Persona. The email is a
11348
+ * Message of that Chat and the email Agent turn runs on it; no Inbox and no
11349
+ * routing is involved. The call returns after the Agent's turn with the
11350
+ * reply the run captured, which is never sent.
11456
11351
  */
11457
- async deliverTestChatRunEmail(wid, runId, data) {
11352
+ async takeTestChatRunEmailTurn(wid, runId, data) {
11458
11353
  return this.fetch(
11459
- `w/${wid}/qualifications/test-chat-runs/${runId}/inbound/email`,
11354
+ `w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/email`,
11460
11355
  {
11461
11356
  method: "POST",
11462
11357
  body: JSON.stringify(data)
@@ -11464,15 +11359,14 @@ var init_chunk_G32MQGJD = __esm({
11464
11359
  );
11465
11360
  }
11466
11361
  /**
11467
- * Call a workspace phone number as the run's Persona. When the Agent
11468
- * answers (`answered: true`), `chatId` is the test Chat a browser joins
11469
- * over the web voice socket (`voice.login` with that Chat id). Otherwise
11470
- * `notAnsweredBranch` names what the number does with the call, and
11471
- * nothing is run. No carrier is dialed.
11362
+ * Take a text turn in the run's own Chat as its Persona. The text is a
11363
+ * Message of that Chat and the SMS turn runs on it; no workspace phone
11364
+ * number and no routing is involved. The call returns after the Agent's
11365
+ * turn with the reply the run captured, which is never sent.
11472
11366
  */
11473
- async placeTestChatRunCall(wid, runId, data) {
11367
+ async takeTestChatRunSmsTurn(wid, runId, data) {
11474
11368
  return this.fetch(
11475
- `w/${wid}/qualifications/test-chat-runs/${runId}/inbound/call`,
11369
+ `w/${wid}/qualifications/test-chat-runs/${runId}/persona-turn/sms`,
11476
11370
  {
11477
11371
  method: "POST",
11478
11372
  body: JSON.stringify(data)
@@ -13366,6 +13260,17 @@ var init_chunk_G32MQGJD = __esm({
13366
13260
  `w/${wid}/workflows/${workflowId}/validate-config`
13367
13261
  );
13368
13262
  }
13263
+ /**
13264
+ * Classify the prompts of a Workflow's draft revision.
13265
+ *
13266
+ * A decision model reads each Task that has a prompt and reports which
13267
+ * prompt classifications probably apply. Each call asks the model again.
13268
+ */
13269
+ async getWorkflowPromptClassifications(wid, workflowId) {
13270
+ return this.fetch(
13271
+ `w/${wid}/workflows/${workflowId}/prompt-classifications`
13272
+ );
13273
+ }
13369
13274
  /**
13370
13275
  * Replay automatic routing for a Chat without performing the transition.
13371
13276
  *
@@ -15904,6 +15809,7 @@ var init_chunk_G32MQGJD = __esm({
15904
15809
  "getWorkflowActivity",
15905
15810
  "getWorkflowConfigValidation",
15906
15811
  "getWorkflowFeedback",
15812
+ "getWorkflowPromptClassifications",
15907
15813
  "getWorkflowContributors",
15908
15814
  "getWorkflowDeletionPreview",
15909
15815
  "getWorkflowDiagram",
@@ -15999,10 +15905,10 @@ var init_chunk_G32MQGJD = __esm({
15999
15905
  "listSalesforceObjects",
16000
15906
  "listScenarioHealthSummaries",
16001
15907
  "listScenarios",
16002
- "listTestChatRunCapturedEffects",
16003
- "deliverTestChatRunSms",
16004
- "deliverTestChatRunEmail",
16005
- "placeTestChatRunCall",
15908
+ "listChatCapturedEffects",
15909
+ "listChatRecordChanges",
15910
+ "takeTestChatRunEmailTurn",
15911
+ "takeTestChatRunSmsTurn",
16006
15912
  "listTestChatRuns",
16007
15913
  "listWidgetDomains",
16008
15914
  "listWorkspaceInvitationsAdmin",
@@ -16433,10 +16339,10 @@ var init_chunk_G32MQGJD = __esm({
16433
16339
  listTestChatRuns;
16434
16340
  listScenarioHealthSummaries;
16435
16341
  getTestChatRun;
16436
- listTestChatRunCapturedEffects;
16437
- deliverTestChatRunSms;
16438
- deliverTestChatRunEmail;
16439
- placeTestChatRunCall;
16342
+ listChatCapturedEffects;
16343
+ listChatRecordChanges;
16344
+ takeTestChatRunEmailTurn;
16345
+ takeTestChatRunSmsTurn;
16440
16346
  startTestChatRun;
16441
16347
  evaluateTestChatRun;
16442
16348
  endTestChatRun;
@@ -16548,14 +16454,6 @@ var init_chunk_G32MQGJD = __esm({
16548
16454
  createJourneyNote;
16549
16455
  updateJourneyNote;
16550
16456
  deleteJourneyNote;
16551
- // Demos API
16552
- getDemo;
16553
- startDemoSession;
16554
- sendDemoSessionSms;
16555
- sendDemoSessionEmail;
16556
- placeDemoSessionCall;
16557
- getDemoSessionTimeline;
16558
- endDemoSession;
16559
16457
  updateBundle;
16560
16458
  listBundleInstallations;
16561
16459
  // Bundles API
@@ -16941,6 +16839,7 @@ var init_chunk_G32MQGJD = __esm({
16941
16839
  getWorkflowTaskAssignmentStats;
16942
16840
  getTaskChats;
16943
16841
  getWorkflowConfigValidation;
16842
+ getWorkflowPromptClassifications;
16944
16843
  getWorkflowNotes;
16945
16844
  createWorkflowNote;
16946
16845
  updateWorkflowNote;
@@ -17418,7 +17317,6 @@ var init_chunk_G32MQGJD = __esm({
17418
17317
  bindTrackedLinksMethods(this, apis.trackedLinks);
17419
17318
  bindJourneysMethods(this, apis.journeys);
17420
17319
  bindBundlesMethods(this, apis.bundles, apis.resourceWorkflows);
17421
- bindDemosMethods(this, apis.demos);
17422
17320
  bindInstallationsMethods(this, apis.installations);
17423
17321
  bindExperimentsMethods(this, apis.experiments);
17424
17322
  bindOperatorMethods(this, apis.operatorGroups);
@@ -17649,7 +17547,7 @@ var init_chunk_6KPGCPGW = __esm({
17649
17547
  var SEARCHABLE_EVENT_RULE_SOURCE_FIELDS, ActivityEventType, EntityKind;
17650
17548
  var init_dist = __esm({
17651
17549
  "../sdk/dist/index.js"() {
17652
- init_chunk_G32MQGJD();
17550
+ init_chunk_JKML6WOA();
17653
17551
  init_chunk_72SWNLVD();
17654
17552
  init_chunk_6KPGCPGW();
17655
17553
  init_chunk_67QXTQVL();
@@ -46348,7 +46246,7 @@ init_concierge_api();
46348
46246
 
46349
46247
  // package.json
46350
46248
  var package_default = {
46351
- version: "0.43.0"};
46249
+ version: "0.44.0"};
46352
46250
 
46353
46251
  // src/gr.ts
46354
46252
  var VERSION = package_default.version;