@gravity-rail/sdk 0.57.1 → 2.0.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/dist/internal.cjs CHANGED
@@ -114,6 +114,8 @@ __export(internal_exports, {
114
114
  EventRuleEventType: () => EventRuleEventType,
115
115
  EventRuleObjectType: () => EventRuleObjectType,
116
116
  EventsApi: () => EventsApi,
117
+ FaxDocumentRefusal: () => FaxDocumentRefusal,
118
+ FaxRunRefusal: () => FaxRunRefusal,
117
119
  FeatureCategory: () => FeatureCategory,
118
120
  FeatureVisibility: () => FeatureVisibility,
119
121
  FeaturesApi: () => FeaturesApi,
@@ -281,6 +283,7 @@ __export(internal_exports, {
281
283
  UpdateMemberContactPointRequestPurpose: () => UpdateMemberContactPointRequestPurpose,
282
284
  UpdateMemberContactPointRequestSharing: () => UpdateMemberContactPointRequestSharing,
283
285
  VoiceApi: () => VoiceApi,
286
+ VoiceIntegrityUseCase: () => VoiceIntegrityUseCase,
284
287
  WIDGET_SLUGS: () => WIDGET_SLUGS,
285
288
  WorkflowNotesApi: () => WorkflowNotesApi,
286
289
  WorkflowRoutingMode: () => WorkflowRoutingMode,
@@ -423,6 +426,9 @@ var Scope = /* @__PURE__ */ ((Scope2) => {
423
426
  Scope2["WORKSPACE_READ"] = "workspace:read";
424
427
  Scope2["WORKSPACE_WRITE"] = "workspace:write";
425
428
  Scope2["WORKSPACE_ADMIN"] = "workspace:admin";
429
+ Scope2["MEDICAL_BILLING_READ"] = "medical_billing:read";
430
+ Scope2["MEDICAL_BILLING_WRITE"] = "medical_billing:write";
431
+ Scope2["MEDICAL_BILLING_ADMIN"] = "medical_billing:admin";
426
432
  Scope2["MEMBERS_READ"] = "members:read";
427
433
  Scope2["MEMBERS_WRITE"] = "members:write";
428
434
  Scope2["MEMBERS_ADMIN"] = "members:admin";
@@ -783,6 +789,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
783
789
  WorkspaceFeature2["MONDAY"] = "monday";
784
790
  WorkspaceFeature2["DOCUMO_FAX"] = "documo_fax";
785
791
  WorkspaceFeature2["CLAIM_MD"] = "claim_md";
792
+ WorkspaceFeature2["STEDI"] = "stedi";
786
793
  WorkspaceFeature2["RESELL_PRODUCTS"] = "resell_products";
787
794
  WorkspaceFeature2["SOC2_COMPLIANCE"] = "soc2_compliance";
788
795
  WorkspaceFeature2["EHR_FHIR"] = "ehr_fhir";
@@ -790,7 +797,6 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
790
797
  WorkspaceFeature2["EHR_HEALTHIE"] = "ehr_healthie";
791
798
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
792
799
  WorkspaceFeature2["ZENDESK"] = "zendesk";
793
- WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
794
800
  WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
795
801
  WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
796
802
  WorkspaceFeature2["PATIENTSYNC_TRANSFER"] = "patientsync_transfer";
@@ -1123,6 +1129,14 @@ var CapturedEffectKind = {
1123
1129
  };
1124
1130
 
1125
1131
  // src/types/generated/test_chat_run_inbound.ts
1132
+ var FaxDocumentRefusal = {
1133
+ fax_document_invalid: "fax_document_invalid"
1134
+ };
1135
+ var FaxRunRefusal = {
1136
+ fax_run_on_the_fax_channel: "fax_run_on_the_fax_channel",
1137
+ fax_run_is_manual: "fax_run_is_manual",
1138
+ fax_run_takes_no_identity: "fax_run_takes_no_identity"
1139
+ };
1126
1140
  var InboundRefusal = {
1127
1141
  run_not_found: "run_not_found",
1128
1142
  run_ended: "run_ended",
@@ -1512,6 +1526,7 @@ var AbilityTypeSlugs = {
1512
1526
  TOOLKITS: "tools:toolkits",
1513
1527
  WEB_SEARCH: "tools:web_search",
1514
1528
  CONVERSATION_HISTORY: "tools:conversation_history",
1529
+ MEMBER_MEMORY: "memory:member_memory",
1515
1530
  IMAGE_GENERATION: "tools:image_generation",
1516
1531
  CONVERSATION_CONTROL: "tools:conversation_control",
1517
1532
  // Integration
@@ -2090,10 +2105,60 @@ var MetricUnit = {
2090
2105
  custom: "custom"
2091
2106
  };
2092
2107
 
2108
+ // src/types/generated/phone_voice_trust.ts
2109
+ var VoiceIntegrityUseCase = {
2110
+ "Identify_&_Verification": "Identify & Verification",
2111
+ Asset_Management: "Asset Management",
2112
+ Lead_Generation: "Lead Generation",
2113
+ Intelligent_Routing: "Intelligent Routing",
2114
+ Appointment_SchedulingDE: "Appointment SchedulingDE",
2115
+ Customer_Support: "Customer Support",
2116
+ "Self-Service": "Self-Service",
2117
+ Automated_Support: "Automated Support",
2118
+ Appointment_Reminders: "Appointment Reminders",
2119
+ Employee_Notifications: "Employee Notifications",
2120
+ Delivery_Notifications: "Delivery Notifications",
2121
+ Emergency_Notifications: "Emergency Notifications",
2122
+ Contactless_Delivery: "Contactless Delivery",
2123
+ Order_Notifications: "Order Notifications",
2124
+ Service_Alerts: "Service Alerts",
2125
+ Purchase_Confirmation: "Purchase Confirmation",
2126
+ Mass_Alerts: "Mass Alerts",
2127
+ Fraud_Alerts: "Fraud Alerts",
2128
+ Contact_Tracing: "Contact Tracing",
2129
+ Lead_Management: "Lead Management",
2130
+ Lead_Nurturing: "Lead Nurturing",
2131
+ Telemarketing: "Telemarketing",
2132
+ Marketing_Events: "Marketing Events",
2133
+ Rewards_Program: "Rewards Program",
2134
+ Lead_Alerts: "Lead Alerts",
2135
+ Lead_Distribution: "Lead Distribution",
2136
+ Abandoned_Cart: "Abandoned Cart",
2137
+ Call_Tracking: "Call Tracking",
2138
+ Outbound_Dialer: "Outbound Dialer",
2139
+ Click_to_Call: "Click to Call",
2140
+ Phone_System: "Phone System",
2141
+ "Meetings/Ccollaboration": "Meetings/Ccollaboration",
2142
+ Telehealth: "Telehealth",
2143
+ Distance_Learning: "Distance Learning",
2144
+ Shift_Management: "Shift Management",
2145
+ Field_Notifications: "Field Notifications",
2146
+ "Dating/Social": "Dating/Social",
2147
+ Remote_appointments: "Remote appointments",
2148
+ Group_Messaging: "Group Messaging",
2149
+ Exam_Proctoring: "Exam Proctoring",
2150
+ Tutoring: "Tutoring",
2151
+ "Therapy_(Individual+Group)": "Therapy (Individual+Group)",
2152
+ Pharmacy: "Pharmacy",
2153
+ First_Responder: "First Responder",
2154
+ "Survey/Research": "Survey/Research"
2155
+ };
2156
+
2093
2157
  // src/types/generated/ai_connector_policy.ts
2094
2158
  var AiConnectorPolicy = {
2095
2159
  any: "any",
2096
- allowlist: "allowlist"
2160
+ allowlist: "allowlist",
2161
+ none: "none"
2097
2162
  };
2098
2163
 
2099
2164
  // src/types/generated/site.ts
@@ -2419,6 +2484,7 @@ var DEFAULT_CUSTOM_VOICE_MODEL = "xai:voice:lux";
2419
2484
  var ScopeCategory = /* @__PURE__ */ ((ScopeCategory2) => {
2420
2485
  ScopeCategory2["WORKSPACE"] = "workspace";
2421
2486
  ScopeCategory2["MEMBERS"] = "members";
2487
+ ScopeCategory2["MEDICAL_BILLING"] = "medical_billing";
2422
2488
  ScopeCategory2["MEMBER_ROLES"] = "member_roles";
2423
2489
  ScopeCategory2["CHATS"] = "chats";
2424
2490
  ScopeCategory2["DM"] = "dm";
@@ -2428,6 +2494,7 @@ var ScopeCategory = /* @__PURE__ */ ((ScopeCategory2) => {
2428
2494
  ScopeCategory2["DATATYPES"] = "datatypes";
2429
2495
  ScopeCategory2["RECORDS"] = "records";
2430
2496
  ScopeCategory2["FILES"] = "files";
2497
+ ScopeCategory2["SELF_MEMORY"] = "self_memory";
2431
2498
  ScopeCategory2["DEVICES"] = "devices";
2432
2499
  ScopeCategory2["JOURNEYS"] = "journeys";
2433
2500
  ScopeCategory2["EXPERIMENTS"] = "experiments";
@@ -2489,6 +2556,24 @@ var SCOPES = {
2489
2556
  implies: ["members:write"],
2490
2557
  dangerous: true
2491
2558
  },
2559
+ "medical_billing:read": {
2560
+ name: "medical_billing:read",
2561
+ category: "medical_billing" /* MEDICAL_BILLING */,
2562
+ description: "View medical billing coverage, charges and claims"
2563
+ },
2564
+ "medical_billing:write": {
2565
+ name: "medical_billing:write",
2566
+ category: "medical_billing" /* MEDICAL_BILLING */,
2567
+ description: "Create and update medical billing and submit claims",
2568
+ implies: ["medical_billing:read"]
2569
+ },
2570
+ "medical_billing:admin": {
2571
+ name: "medical_billing:admin",
2572
+ category: "medical_billing" /* MEDICAL_BILLING */,
2573
+ description: "Administer medical billing",
2574
+ implies: ["medical_billing:write"],
2575
+ dangerous: true
2576
+ },
2492
2577
  // =========================================================================
2493
2578
  // MEMBER ROLES
2494
2579
  // =========================================================================
@@ -2658,6 +2743,16 @@ var SCOPES = {
2658
2743
  // =========================================================================
2659
2744
  // FILES
2660
2745
  // =========================================================================
2746
+ "self_memory:read": {
2747
+ name: "self_memory:read",
2748
+ category: "self_memory" /* SELF_MEMORY */,
2749
+ description: "Read your private memory Files"
2750
+ },
2751
+ "self_memory:write": {
2752
+ name: "self_memory:write",
2753
+ category: "self_memory" /* SELF_MEMORY */,
2754
+ description: "Write your private memory Files"
2755
+ },
2661
2756
  "files:read": {
2662
2757
  name: "files:read",
2663
2758
  category: "files" /* FILES */,
@@ -3597,13 +3692,13 @@ var ResourceWorkflowsApi = class extends BaseApiClient {
3597
3692
  * pin a Workflow item; archived Workflows are excluded unless asked for.
3598
3693
  */
3599
3694
  async listResourceWorkflows(wid, params) {
3600
- const query = new URLSearchParams();
3601
- if (params?.page !== void 0) query.set("page", String(params.page));
3602
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
3695
+ const query2 = new URLSearchParams();
3696
+ if (params?.page !== void 0) query2.set("page", String(params.page));
3697
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
3603
3698
  if (params?.includeArchived !== void 0) {
3604
- query.set("includeArchived", String(params.includeArchived));
3699
+ query2.set("includeArchived", String(params.includeArchived));
3605
3700
  }
3606
- const qs = query.toString();
3701
+ const qs = query2.toString();
3607
3702
  return this.fetch(
3608
3703
  `w/${encodeURIComponent(wid)}/resource-workflows${qs ? `?${qs}` : ""}`
3609
3704
  );
@@ -3617,10 +3712,10 @@ function bundlesPath(wid, ...segments) {
3617
3712
  return tail ? `${base}/${tail}` : base;
3618
3713
  }
3619
3714
  function pageQuery(params) {
3620
- const query = new URLSearchParams();
3621
- if (params?.page !== void 0) query.set("page", String(params.page));
3622
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
3623
- const qs = query.toString();
3715
+ const query2 = new URLSearchParams();
3716
+ if (params?.page !== void 0) query2.set("page", String(params.page));
3717
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
3718
+ const qs = query2.toString();
3624
3719
  return qs ? `?${qs}` : "";
3625
3720
  }
3626
3721
  var BundlesApi = class extends BaseApiClient {
@@ -3814,9 +3909,9 @@ var InstallationsApi = class extends BaseApiClient {
3814
3909
  * between. `to` must be newer than the version the installation holds.
3815
3910
  */
3816
3911
  async previewInstallationUpgrade(wid, installationUuid, to) {
3817
- const query = new URLSearchParams({ to: String(to) });
3912
+ const query2 = new URLSearchParams({ to: String(to) });
3818
3913
  return this.fetch(
3819
- `${installationsPath(wid, installationUuid, "upgrade-preview")}?${query.toString()}`
3914
+ `${installationsPath(wid, installationUuid, "upgrade-preview")}?${query2.toString()}`
3820
3915
  );
3821
3916
  }
3822
3917
  /**
@@ -5007,9 +5102,9 @@ var CalendarsApi = class extends BaseApiClient {
5007
5102
  const params = new URLSearchParams();
5008
5103
  if (options?.page !== void 0) params.set("page", String(options.page));
5009
5104
  if (options?.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
5010
- const query = params.size ? `?${params}` : "";
5105
+ const query2 = params.size ? `?${params}` : "";
5011
5106
  return this.fetch(
5012
- `w/${wid}/calendar-event-types${query}`
5107
+ `w/${wid}/calendar-event-types${query2}`
5013
5108
  );
5014
5109
  }
5015
5110
  /** Get a single calendar event type by ID. */
@@ -5752,9 +5847,9 @@ var ConfluenceApi = class extends BaseApiClient {
5752
5847
  const qs = new URLSearchParams();
5753
5848
  if (params?.cursor) qs.set("cursor", params.cursor);
5754
5849
  if (params?.limit) qs.set("limit", String(params.limit));
5755
- const query = qs.toString();
5850
+ const query2 = qs.toString();
5756
5851
  return this.fetch(
5757
- `w/${wid}/app-connections/confluence/spaces${query ? `?${query}` : ""}`
5852
+ `w/${wid}/app-connections/confluence/spaces${query2 ? `?${query2}` : ""}`
5758
5853
  );
5759
5854
  }
5760
5855
  async listConfluencePages(wid, spaceId, params) {
@@ -5886,9 +5981,9 @@ var DashboardsApi = class extends BaseApiClient {
5886
5981
  async getDashboardChannelStats(wid, options) {
5887
5982
  const params = new URLSearchParams();
5888
5983
  if (options?.hours !== void 0) params.append("hours", options.hours.toString());
5889
- const query = params.toString();
5984
+ const query2 = params.toString();
5890
5985
  return this.fetch(
5891
- `w/${wid}/dashboards/stats/channels${query ? `?${query}` : ""}`
5986
+ `w/${wid}/dashboards/stats/channels${query2 ? `?${query2}` : ""}`
5892
5987
  );
5893
5988
  }
5894
5989
  /**
@@ -5900,9 +5995,9 @@ var DashboardsApi = class extends BaseApiClient {
5900
5995
  async getDashboardWorkflowAssignmentStats(wid, options) {
5901
5996
  const params = new URLSearchParams();
5902
5997
  if (options?.hours != null) params.append("hours", options.hours.toString());
5903
- const query = params.toString();
5998
+ const query2 = params.toString();
5904
5999
  return this.fetch(
5905
- `w/${wid}/dashboards/stats/workflow-assignments${query ? `?${query}` : ""}`
6000
+ `w/${wid}/dashboards/stats/workflow-assignments${query2 ? `?${query2}` : ""}`
5906
6001
  );
5907
6002
  }
5908
6003
  /**
@@ -5926,9 +6021,9 @@ var DashboardsApi = class extends BaseApiClient {
5926
6021
  if (options?.pageSize !== void 0) params.append("pageSize", options.pageSize.toString());
5927
6022
  if (options?.check !== void 0) params.append("check", options.check);
5928
6023
  if (options?.severity !== void 0) params.append("severity", options.severity);
5929
- const query = params.toString();
6024
+ const query2 = params.toString();
5930
6025
  return this.fetch(
5931
- `w/${wid}/configuration-health${query ? `?${query}` : ""}`
6026
+ `w/${wid}/configuration-health${query2 ? `?${query2}` : ""}`
5932
6027
  );
5933
6028
  }
5934
6029
  };
@@ -5998,9 +6093,9 @@ var DataTypesApi = class extends BaseApiClient {
5998
6093
  if (options?.beforeVersion !== void 0)
5999
6094
  params.set("beforeVersion", String(options.beforeVersion));
6000
6095
  if (options?.limit !== void 0) params.set("limit", String(options.limit));
6001
- const query = params.toString();
6096
+ const query2 = params.toString();
6002
6097
  return this.fetch(
6003
- `w/${wid}/data-types/${id}/schema-versions${query ? `?${query}` : ""}`
6098
+ `w/${wid}/data-types/${id}/schema-versions${query2 ? `?${query2}` : ""}`
6004
6099
  );
6005
6100
  }
6006
6101
  /** List all data types for a workspace, optionally filtering by archived status. */
@@ -6634,10 +6729,10 @@ var TeamsAppsApi = class extends BaseApiClient {
6634
6729
  var EventsApi = class extends BaseApiClient {
6635
6730
  /** List event rules in the workspace, paginated. */
6636
6731
  async getEventRules(wid, params) {
6637
- const query = new URLSearchParams();
6638
- if (params?.page !== void 0) query.set("page", String(params.page));
6639
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
6640
- const qs = query.toString() ? `?${query.toString()}` : "";
6732
+ const query2 = new URLSearchParams();
6733
+ if (params?.page !== void 0) query2.set("page", String(params.page));
6734
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
6735
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
6641
6736
  return this.fetch(`w/${wid}/event-rules${qs}`);
6642
6737
  }
6643
6738
  /** Get the available action types that can be used in event rules. */
@@ -6849,11 +6944,11 @@ var EventsApi = class extends BaseApiClient {
6849
6944
  var ExperimentsApi = class extends BaseApiClient {
6850
6945
  /** List experiments with group summaries and assignment counts. */
6851
6946
  async getExperiments(wid, params) {
6852
- const query = new URLSearchParams();
6853
- if (params?.page !== void 0) query.set("page", String(params.page));
6854
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
6855
- if (params?.includeArchived) query.set("includeArchived", "true");
6856
- const qs = query.toString() ? `?${query.toString()}` : "";
6947
+ const query2 = new URLSearchParams();
6948
+ if (params?.page !== void 0) query2.set("page", String(params.page));
6949
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
6950
+ if (params?.includeArchived) query2.set("includeArchived", "true");
6951
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
6857
6952
  return this.fetch(`w/${wid}/experiments${qs}`);
6858
6953
  }
6859
6954
  /** Get a single experiment by ID (includes groups). */
@@ -7170,11 +7265,11 @@ var FhirConnectionsApi = class extends BaseApiClient {
7170
7265
  }
7171
7266
  // ==================== Member Sync ====================
7172
7267
  async fhirListLinkedMembers(wid, connectionId, params) {
7173
- const query = new URLSearchParams();
7174
- if (params?.page !== void 0) query.set("page", String(params.page));
7175
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
7176
- if (params?.search?.trim()) query.set("search", params.search.trim());
7177
- const qs = query.toString() ? `?${query.toString()}` : "";
7268
+ const query2 = new URLSearchParams();
7269
+ if (params?.page !== void 0) query2.set("page", String(params.page));
7270
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
7271
+ if (params?.search?.trim()) query2.set("search", params.search.trim());
7272
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
7178
7273
  return this.fetch(
7179
7274
  `w/${wid}/app-connections/fhir/connections/${connectionId}/linked-members${qs}`
7180
7275
  );
@@ -7296,6 +7391,18 @@ var ClaimMdApi = class extends BaseApiClient {
7296
7391
  }
7297
7392
  };
7298
7393
 
7394
+ // src/api/stedi.ts
7395
+ var StediApi = class extends BaseApiClient {
7396
+ async getStediConnections(wid) {
7397
+ return this.fetch(`w/${wid}/app-connections/stedi/status`);
7398
+ }
7399
+ async getStediConnectionStatus(wid, connectionUuid) {
7400
+ return this.fetch(
7401
+ `w/${wid}/app-connections/stedi/${connectionUuid}/status`
7402
+ );
7403
+ }
7404
+ };
7405
+
7299
7406
  // src/api/documo-fax.ts
7300
7407
  var DocumoFaxApi = class extends BaseApiClient {
7301
7408
  async getDocumoFaxStatus(wid) {
@@ -7317,13 +7424,13 @@ var DocumoFaxApi = class extends BaseApiClient {
7317
7424
  * failures an operator filtering by date is hunting for.
7318
7425
  */
7319
7426
  async listDocumoFaxes(wid, params) {
7320
- const query = new URLSearchParams();
7321
- if (params?.page !== void 0) query.set("page", String(params.page));
7322
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
7323
- params?.status?.forEach((value) => query.append("status", value));
7324
- if (params?.receivedAfter) query.set("receivedAfter", params.receivedAfter);
7325
- if (params?.receivedBefore) query.set("receivedBefore", params.receivedBefore);
7326
- const suffix2 = query.toString() === "" ? "" : `?${query.toString()}`;
7427
+ const query2 = new URLSearchParams();
7428
+ if (params?.page !== void 0) query2.set("page", String(params.page));
7429
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
7430
+ params?.status?.forEach((value) => query2.append("status", value));
7431
+ if (params?.receivedAfter) query2.set("receivedAfter", params.receivedAfter);
7432
+ if (params?.receivedBefore) query2.set("receivedBefore", params.receivedBefore);
7433
+ const suffix2 = query2.toString() === "" ? "" : `?${query2.toString()}`;
7327
7434
  return this.fetch(
7328
7435
  `w/${wid}/app-connections/documo-fax/faxes${suffix2}`
7329
7436
  );
@@ -7398,20 +7505,20 @@ var HealthieApi = class extends BaseApiClient {
7398
7505
  );
7399
7506
  }
7400
7507
  async getLinkedHealthieMembers(wid, params) {
7401
- const query = new URLSearchParams();
7402
- if (params?.page !== void 0) query.set("page", String(params.page));
7403
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
7404
- if (params?.search?.trim()) query.set("search", params.search.trim());
7405
- const qs = query.toString() ? `?${query.toString()}` : "";
7508
+ const query2 = new URLSearchParams();
7509
+ if (params?.page !== void 0) query2.set("page", String(params.page));
7510
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
7511
+ if (params?.search?.trim()) query2.set("search", params.search.trim());
7512
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
7406
7513
  return this.fetch(
7407
7514
  `w/${wid}/app-connections/healthie/reconciliation/linked${qs}`
7408
7515
  );
7409
7516
  }
7410
7517
  async getHealthieReconciliationMatches(wid, params) {
7411
- const query = new URLSearchParams();
7412
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
7413
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
7414
- const qs = query.toString() ? `?${query.toString()}` : "";
7518
+ const query2 = new URLSearchParams();
7519
+ if (params?.limit !== void 0) query2.set("limit", String(params.limit));
7520
+ if (params?.offset !== void 0) query2.set("offset", String(params.offset));
7521
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
7415
7522
  return this.fetch(
7416
7523
  `w/${wid}/app-connections/healthie/reconciliation/matches${qs}`
7417
7524
  );
@@ -7428,17 +7535,17 @@ var HealthieApi = class extends BaseApiClient {
7428
7535
  });
7429
7536
  }
7430
7537
  async listHealthieAppointmentTypes(wid, providerId) {
7431
- const query = new URLSearchParams();
7432
- if (providerId) query.set("provider_id", providerId);
7433
- const qs = query.toString() ? `?${query.toString()}` : "";
7538
+ const query2 = new URLSearchParams();
7539
+ if (providerId) query2.set("provider_id", providerId);
7540
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
7434
7541
  return this.fetch(
7435
7542
  `w/${wid}/app-connections/healthie/appointment-types${qs}`
7436
7543
  );
7437
7544
  }
7438
7545
  async listHealthiePatients(wid, keywords) {
7439
- const query = new URLSearchParams();
7440
- if (keywords?.trim()) query.set("keywords", keywords.trim());
7441
- const qs = query.toString() ? `?${query.toString()}` : "";
7546
+ const query2 = new URLSearchParams();
7547
+ if (keywords?.trim()) query2.set("keywords", keywords.trim());
7548
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
7442
7549
  return this.fetch(
7443
7550
  `w/${wid}/app-connections/healthie/patients${qs}`
7444
7551
  );
@@ -7961,9 +8068,9 @@ var InboxesApi = class extends BaseApiClient {
7961
8068
  const params = new URLSearchParams();
7962
8069
  if (period.dateFrom) params.append("date_from", period.dateFrom);
7963
8070
  if (period.dateTo) params.append("date_to", period.dateTo);
7964
- const query = params.toString();
8071
+ const query2 = params.toString();
7965
8072
  return this.fetch(
7966
- `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
8073
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query2 ? `?${query2}` : ""}`
7967
8074
  );
7968
8075
  }
7969
8076
  /** List email threads in an inbox. */
@@ -8368,10 +8475,10 @@ var MembersApi = class extends BaseApiClient {
8368
8475
  });
8369
8476
  }
8370
8477
  /** List workspace members with pagination, filtering, and sorting. */
8371
- async getWorkspaceMembers(wid, page = 1, pageSize = 10, search, role, sortBy, sortOrder, memberType, isArchived = false, isManager, memberTypes, hasAccount, excludeIds, memberFilterId, query) {
8478
+ async getWorkspaceMembers(wid, page = 1, pageSize = 10, search, role, sortBy, sortOrder, memberType, isArchived = false, isManager, memberTypes, hasAccount, excludeIds, memberFilterId, query2) {
8372
8479
  const params = new URLSearchParams();
8373
8480
  if (memberFilterId != null) params.append("memberFilterId", memberFilterId.toString());
8374
- if (query != null) params.append("query", JSON.stringify(query));
8481
+ if (query2 != null) params.append("query", JSON.stringify(query2));
8375
8482
  if (page) params.append("page", page.toString());
8376
8483
  if (pageSize) params.append("pageSize", pageSize.toString());
8377
8484
  if (sortBy) params.append("sortBy", sortBy);
@@ -8909,37 +9016,6 @@ var MembersApi = class extends BaseApiClient {
8909
9016
  }
8910
9017
  );
8911
9018
  }
8912
- // ===== Member Memories =====
8913
- async getMemberMemories(wid, memberId, options) {
8914
- const params = new URLSearchParams();
8915
- if (options?.type) params.append("type", options.type);
8916
- if (options?.query) params.append("query", options.query);
8917
- if (options?.limit) params.append("limit", options.limit.toString());
8918
- const qs = params.toString();
8919
- return this.fetch(
8920
- `w/${wid}/members/${memberId}/memories${qs ? `?${qs}` : ""}`
8921
- );
8922
- }
8923
- async getMemberMemory(wid, memberId, key) {
8924
- return this.fetch(
8925
- `w/${wid}/members/${memberId}/memories/${encodeURIComponent(key)}`
8926
- );
8927
- }
8928
- async createMemberMemory(wid, memberId, body) {
8929
- return this.fetch(`w/${wid}/members/${memberId}/memories`, {
8930
- method: "POST",
8931
- body: JSON.stringify(body)
8932
- });
8933
- }
8934
- async deleteMemberMemory(wid, memberId, memoryKey, options) {
8935
- const params = new URLSearchParams();
8936
- if (options?.type) params.append("type", options.type);
8937
- const qs = params.toString();
8938
- await this.fetch(
8939
- `w/${wid}/members/${memberId}/memories/${encodeURIComponent(memoryKey)}${qs ? `?${qs}` : ""}`,
8940
- { method: "DELETE" }
8941
- );
8942
- }
8943
9019
  /** Bulk-create members in a workspace. */
8944
9020
  async bulkCreateMembers(wid, request) {
8945
9021
  return this.fetch(`w/${wid}/members/bulk`, {
@@ -9232,8 +9308,8 @@ var MotdApi = class extends BaseApiClient {
9232
9308
  const params = new URLSearchParams();
9233
9309
  if (options?.date !== void 0) params.append("date", options.date);
9234
9310
  if (options?.offset !== void 0) params.append("offset", options.offset.toString());
9235
- const query = params.toString();
9236
- return this.fetch(`w/${wid}/motd${query ? `?${query}` : ""}`);
9311
+ const query2 = params.toString();
9312
+ return this.fetch(`w/${wid}/motd${query2 ? `?${query2}` : ""}`);
9237
9313
  }
9238
9314
  };
9239
9315
 
@@ -9343,21 +9419,21 @@ var MondayIntegrationApi = class extends BaseApiClient {
9343
9419
  });
9344
9420
  }
9345
9421
  async getLinkedMondayMembers(wid, params) {
9346
- const query = new URLSearchParams();
9347
- if (params?.board_id) query.set("board_id", params.board_id);
9348
- if (params?.page !== void 0) query.set("page", String(params.page));
9349
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
9350
- if (params?.search?.trim()) query.set("search", params.search.trim());
9351
- const qs = query.toString() ? `?${query.toString()}` : "";
9422
+ const query2 = new URLSearchParams();
9423
+ if (params?.board_id) query2.set("board_id", params.board_id);
9424
+ if (params?.page !== void 0) query2.set("page", String(params.page));
9425
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
9426
+ if (params?.search?.trim()) query2.set("search", params.search.trim());
9427
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
9352
9428
  return this.fetch(
9353
9429
  `w/${wid}/app-connections/monday/reconciliation/linked${qs}`
9354
9430
  );
9355
9431
  }
9356
9432
  async getMondayReconciliationMatches(wid, params) {
9357
- const query = new URLSearchParams();
9358
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
9359
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
9360
- const qs = query.toString() ? `?${query.toString()}` : "";
9433
+ const query2 = new URLSearchParams();
9434
+ if (params?.limit !== void 0) query2.set("limit", String(params.limit));
9435
+ if (params?.offset !== void 0) query2.set("offset", String(params.offset));
9436
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
9361
9437
  return this.fetch(
9362
9438
  `w/${wid}/app-connections/monday/reconciliation/matches${qs}`
9363
9439
  );
@@ -9381,11 +9457,11 @@ var MondayIntegrationApi = class extends BaseApiClient {
9381
9457
  );
9382
9458
  }
9383
9459
  async getLinkedRecords(wid, params) {
9384
- const query = new URLSearchParams();
9385
- if (params?.board_id) query.set("board_id", params.board_id);
9386
- if (params?.page !== void 0) query.set("page", String(params.page));
9387
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
9388
- const qs = query.toString() ? `?${query.toString()}` : "";
9460
+ const query2 = new URLSearchParams();
9461
+ if (params?.board_id) query2.set("board_id", params.board_id);
9462
+ if (params?.page !== void 0) query2.set("page", String(params.page));
9463
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
9464
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
9389
9465
  return this.fetch(
9390
9466
  `w/${wid}/app-connections/monday/linked-records${qs}`
9391
9467
  );
@@ -9408,10 +9484,10 @@ var MondayIntegrationApi = class extends BaseApiClient {
9408
9484
  * connection is parked for re-authorization.
9409
9485
  */
9410
9486
  async getMondaySyncLogs(wid, params) {
9411
- const query = new URLSearchParams();
9412
- if (params?.pageSize) query.set("pageSize", String(params.pageSize));
9413
- if (params?.cursor) query.set("cursor", params.cursor);
9414
- const qs = query.toString() ? `?${query.toString()}` : "";
9487
+ const query2 = new URLSearchParams();
9488
+ if (params?.pageSize) query2.set("pageSize", String(params.pageSize));
9489
+ if (params?.cursor) query2.set("cursor", params.cursor);
9490
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
9415
9491
  return this.fetch(
9416
9492
  `w/${wid}/app-connections/monday/sync/logs${qs}`
9417
9493
  );
@@ -9426,13 +9502,13 @@ var InterventionRequestsApi = class extends BaseApiClient {
9426
9502
  }
9427
9503
  /** List intervention requests in a workspace, newest first. */
9428
9504
  async getInterventionRequests(wid, params = {}) {
9429
- const query = new URLSearchParams();
9430
- if (params.kind) query.set("kind", params.kind);
9431
- if (params.openOnly) query.set("openOnly", "true");
9432
- if (params.chatId !== void 0) query.set("chatId", String(params.chatId));
9433
- if (params.unroutedOnly) query.set("unroutedOnly", "true");
9434
- if (params.limit !== void 0) query.set("limit", String(params.limit));
9435
- const qs = query.toString();
9505
+ const query2 = new URLSearchParams();
9506
+ if (params.kind) query2.set("kind", params.kind);
9507
+ if (params.openOnly) query2.set("openOnly", "true");
9508
+ if (params.chatId !== void 0) query2.set("chatId", String(params.chatId));
9509
+ if (params.unroutedOnly) query2.set("unroutedOnly", "true");
9510
+ if (params.limit !== void 0) query2.set("limit", String(params.limit));
9511
+ const qs = query2.toString();
9436
9512
  return this.fetch(
9437
9513
  `w/${wid}/intervention-requests${qs ? `?${qs}` : ""}`
9438
9514
  );
@@ -9621,7 +9697,7 @@ var OrgApi = class extends BaseApiClient {
9621
9697
  async getOrgAiConnectorPolicy(orgIdOrUuid) {
9622
9698
  return this.fetch(`o/${orgIdOrUuid}/ai-connectors`);
9623
9699
  }
9624
- /** Set the AI connector mode: `any` or `allowlist`. Requires `org:admin`. */
9700
+ /** Set the AI connector mode: `any`, `allowlist` or `none`. Requires `org:admin`. */
9625
9701
  async updateOrgAiConnectorPolicy(orgIdOrUuid, data) {
9626
9702
  return this.fetch(`o/${orgIdOrUuid}/ai-connectors`, {
9627
9703
  method: "PUT",
@@ -9872,13 +9948,13 @@ var OrgApi = class extends BaseApiClient {
9872
9948
  * Search for available phone numbers to purchase from Twilio.
9873
9949
  */
9874
9950
  async searchPhoneNumbers(orgUuid, params) {
9875
- const query = new URLSearchParams();
9876
- if (params?.country) query.set("country", params.country);
9877
- if (params?.numberType) query.set("number_type", params.numberType);
9878
- if (params?.areaCode) query.set("area_code", params.areaCode);
9879
- if (params?.contains) query.set("contains", params.contains);
9880
- if (params?.limit) query.set("limit", String(params.limit));
9881
- const qs = query.toString();
9951
+ const query2 = new URLSearchParams();
9952
+ if (params?.country) query2.set("country", params.country);
9953
+ if (params?.numberType) query2.set("number_type", params.numberType);
9954
+ if (params?.areaCode) query2.set("area_code", params.areaCode);
9955
+ if (params?.contains) query2.set("contains", params.contains);
9956
+ if (params?.limit) query2.set("limit", String(params.limit));
9957
+ const qs = query2.toString();
9882
9958
  return this.fetch(
9883
9959
  `o/${orgUuid}/phone-numbers/search${qs ? `?${qs}` : ""}`
9884
9960
  );
@@ -9978,9 +10054,9 @@ var OrgApi = class extends BaseApiClient {
9978
10054
  * Disable email support for an org domain.
9979
10055
  */
9980
10056
  async disableOrgDomainEmail(orgIdOrUuid, domainUuid, confirm = false) {
9981
- const query = `?confirm=${confirm ? "true" : "false"}`;
10057
+ const query2 = `?confirm=${confirm ? "true" : "false"}`;
9982
10058
  const response = await this.fetchRaw(
9983
- `o/${orgIdOrUuid}/domains/${domainUuid}/email${query}`,
10059
+ `o/${orgIdOrUuid}/domains/${domainUuid}/email${query2}`,
9984
10060
  { method: "DELETE" },
9985
10061
  [409]
9986
10062
  );
@@ -10061,9 +10137,9 @@ var OrgApi = class extends BaseApiClient {
10061
10137
  * Disable custom site routing for an org domain.
10062
10138
  */
10063
10139
  async disableOrgDomainSite(orgIdOrUuid, domainUuid, confirm = false) {
10064
- const query = `?confirm=${confirm ? "true" : "false"}`;
10140
+ const query2 = `?confirm=${confirm ? "true" : "false"}`;
10065
10141
  const response = await this.fetchRaw(
10066
- `o/${orgIdOrUuid}/domains/${domainUuid}/site${query}`,
10142
+ `o/${orgIdOrUuid}/domains/${domainUuid}/site${query2}`,
10067
10143
  { method: "DELETE" },
10068
10144
  [409]
10069
10145
  );
@@ -10539,9 +10615,9 @@ var OrgApi = class extends BaseApiClient {
10539
10615
  * endpoint and sit in a workspace it actually covers.
10540
10616
  */
10541
10617
  async getOrgWebhookEventSample(orgIdOrUuid, eventType, endpointUuid) {
10542
- const query = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
10618
+ const query2 = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
10543
10619
  return this.fetch(
10544
- `o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query}`
10620
+ `o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query2}`
10545
10621
  );
10546
10622
  }
10547
10623
  /**
@@ -10771,8 +10847,8 @@ var PhoneNumbersApi = class extends BaseApiClient {
10771
10847
  if (options?.isArchived !== void 0) {
10772
10848
  params.set("is_archived", String(options.isArchived));
10773
10849
  }
10774
- const query = params.toString();
10775
- return this.fetch(`w/${wid}/phone-numbers${query ? `?${query}` : ""}`);
10850
+ const query2 = params.toString();
10851
+ return this.fetch(`w/${wid}/phone-numbers${query2 ? `?${query2}` : ""}`);
10776
10852
  }
10777
10853
  /** List phone numbers available for provisioning. */
10778
10854
  async getAvailablePhoneNumbers(wid) {
@@ -10929,9 +11005,9 @@ var PhoneNumbersApi = class extends BaseApiClient {
10929
11005
  async getPhoneNumberOutboundAnalyticsSummary(wid, id, filters) {
10930
11006
  const params = new URLSearchParams();
10931
11007
  appendAnalyticsFilters(params, filters);
10932
- const query = params.toString();
11008
+ const query2 = params.toString();
10933
11009
  return this.fetch(
10934
- `w/${wid}/phone-numbers/${id}/analytics/summary${query ? `?${query}` : ""}`
11010
+ `w/${wid}/phone-numbers/${id}/analytics/summary${query2 ? `?${query2}` : ""}`
10935
11011
  );
10936
11012
  }
10937
11013
  /**
@@ -11242,24 +11318,24 @@ var QueriesApi = class extends BaseApiClient {
11242
11318
  });
11243
11319
  }
11244
11320
  /** Structure / field / access / cost validation without execution. */
11245
- async validateQuery(wid, query) {
11321
+ async validateQuery(wid, query2) {
11246
11322
  return this.fetch(`w/${wid}/queries/validate`, {
11247
11323
  method: "POST",
11248
- body: JSON.stringify({ query })
11324
+ body: JSON.stringify({ query: query2 })
11249
11325
  });
11250
11326
  }
11251
11327
  /** Bounded sample run (limit capped server-side). */
11252
- async previewQuery(wid, query, mode) {
11328
+ async previewQuery(wid, query2, mode) {
11253
11329
  return this.fetch(`w/${wid}/queries/preview`, {
11254
11330
  method: "POST",
11255
- body: JSON.stringify({ query, mode })
11331
+ body: JSON.stringify({ query: query2, mode })
11256
11332
  });
11257
11333
  }
11258
11334
  /** Execute a query (rows / count / aggregate). */
11259
- async runQuery(wid, query, mode) {
11335
+ async runQuery(wid, query2, mode) {
11260
11336
  return this.fetch(`w/${wid}/queries/run`, {
11261
11337
  method: "POST",
11262
- body: JSON.stringify({ query, mode })
11338
+ body: JSON.stringify({ query: query2, mode })
11263
11339
  });
11264
11340
  }
11265
11341
  };
@@ -11320,10 +11396,10 @@ var QualificationsApi = class extends BaseApiClient {
11320
11396
  }
11321
11397
  /** List qualifications in a workspace, paginated. */
11322
11398
  async getQualifications(wid, params) {
11323
- const query = new URLSearchParams();
11324
- if (params?.page !== void 0) query.set("page", String(params.page));
11325
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
11326
- const qs = query.toString() ? `?${query.toString()}` : "";
11399
+ const query2 = new URLSearchParams();
11400
+ if (params?.page !== void 0) query2.set("page", String(params.page));
11401
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
11402
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11327
11403
  return this.fetch(`w/${wid}/qualifications${qs}`);
11328
11404
  }
11329
11405
  /** Get a single qualification by ID. */
@@ -11338,9 +11414,9 @@ var QualificationsApi = class extends BaseApiClient {
11338
11414
  }
11339
11415
  // ===== Scenarios =====
11340
11416
  async listScenarios(wid, qualificationId, params) {
11341
- const query = new URLSearchParams();
11342
- if (params?.includeArchived) query.set("include_archived", "true");
11343
- const qs = query.toString() ? `?${query.toString()}` : "";
11417
+ const query2 = new URLSearchParams();
11418
+ if (params?.includeArchived) query2.set("include_archived", "true");
11419
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11344
11420
  return this.fetch(`w/${wid}/qualifications/${qualificationId}/scenarios${qs}`);
11345
11421
  }
11346
11422
  async createScenario(wid, qualificationId, data) {
@@ -11373,19 +11449,19 @@ var QualificationsApi = class extends BaseApiClient {
11373
11449
  * `workflowRevisionId`. Omitting both keeps the unfiltered list.
11374
11450
  */
11375
11451
  async listTestChatRuns(wid, workflowId, params) {
11376
- const query = new URLSearchParams();
11377
- if (params?.scenarioId !== void 0) query.set("scenarioId", String(params.scenarioId));
11452
+ const query2 = new URLSearchParams();
11453
+ if (params?.scenarioId !== void 0) query2.set("scenarioId", String(params.scenarioId));
11378
11454
  if (params?.assistantChatModelId !== void 0) {
11379
- query.set("assistantChatModelId", params.assistantChatModelId);
11455
+ query2.set("assistantChatModelId", params.assistantChatModelId);
11380
11456
  }
11381
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
11457
+ if (params?.limit !== void 0) query2.set("limit", String(params.limit));
11382
11458
  if (params?.workflowRevisionId !== void 0) {
11383
- query.set("workflow_revision_id", String(params.workflowRevisionId));
11459
+ query2.set("workflow_revision_id", String(params.workflowRevisionId));
11384
11460
  }
11385
11461
  if (params?.includeEarlierRevisions !== void 0) {
11386
- query.set("include_earlier_revisions", String(params.includeEarlierRevisions));
11462
+ query2.set("include_earlier_revisions", String(params.includeEarlierRevisions));
11387
11463
  }
11388
- const qs = query.toString() ? `?${query.toString()}` : "";
11464
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11389
11465
  return this.fetch(
11390
11466
  `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs${qs}`
11391
11467
  );
@@ -11400,11 +11476,11 @@ var QualificationsApi = class extends BaseApiClient {
11400
11476
  * revision it describes and whether it is the current one.
11401
11477
  */
11402
11478
  async listScenarioHealthSummaries(wid, workflowId, params) {
11403
- const query = new URLSearchParams();
11479
+ const query2 = new URLSearchParams();
11404
11480
  if (params?.workflowRevisionId !== void 0) {
11405
- query.set("workflow_revision_id", String(params.workflowRevisionId));
11481
+ query2.set("workflow_revision_id", String(params.workflowRevisionId));
11406
11482
  }
11407
- const qs = query.toString() ? `?${query.toString()}` : "";
11483
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11408
11484
  return this.fetch(
11409
11485
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
11410
11486
  );
@@ -11581,9 +11657,9 @@ var RoutingRulesApi = class extends BaseApiClient {
11581
11657
  async getRoutingRules(wid, filters) {
11582
11658
  const params = new URLSearchParams();
11583
11659
  appendFilters(params, filters);
11584
- const query = params.toString();
11660
+ const query2 = params.toString();
11585
11661
  return this.fetch(
11586
- `w/${wid}/routing${query ? `?${query}` : ""}`
11662
+ `w/${wid}/routing${query2 ? `?${query2}` : ""}`
11587
11663
  );
11588
11664
  }
11589
11665
  /** Read one rule. Requires the rule's endpoint read permission (`phones:read`, or `inboxes:read`). */
@@ -11689,10 +11765,10 @@ var SalesforceApi = class extends BaseApiClient {
11689
11765
  });
11690
11766
  }
11691
11767
  async getSalesforceReconciliationMatches(wid, params) {
11692
- const query = new URLSearchParams();
11693
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
11694
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
11695
- const qs = query.toString() ? `?${query.toString()}` : "";
11768
+ const query2 = new URLSearchParams();
11769
+ if (params?.limit !== void 0) query2.set("limit", String(params.limit));
11770
+ if (params?.offset !== void 0) query2.set("offset", String(params.offset));
11771
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11696
11772
  return this.fetch(
11697
11773
  `w/${wid}/app-connections/salesforce/reconciliation/matches${qs}`
11698
11774
  );
@@ -11729,11 +11805,11 @@ var SalesforceApi = class extends BaseApiClient {
11729
11805
  });
11730
11806
  }
11731
11807
  async getLinkedSalesforceMembers(wid, params) {
11732
- const query = new URLSearchParams();
11733
- if (params?.page !== void 0) query.set("page", String(params.page));
11734
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
11735
- if (params?.search?.trim()) query.set("search", params.search.trim());
11736
- const qs = query.toString() ? `?${query.toString()}` : "";
11808
+ const query2 = new URLSearchParams();
11809
+ if (params?.page !== void 0) query2.set("page", String(params.page));
11810
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
11811
+ if (params?.search?.trim()) query2.set("search", params.search.trim());
11812
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11737
11813
  return this.fetch(
11738
11814
  `w/${wid}/app-connections/salesforce/reconciliation/linked${qs}`
11739
11815
  );
@@ -11811,10 +11887,10 @@ var SalesforceApi = class extends BaseApiClient {
11811
11887
  * connection is parked for re-authorization.
11812
11888
  */
11813
11889
  async getSalesforceSyncLogs(wid, params) {
11814
- const query = new URLSearchParams();
11815
- if (params?.pageSize) query.set("pageSize", String(params.pageSize));
11816
- if (params?.cursor) query.set("cursor", params.cursor);
11817
- const qs = query.toString() ? `?${query.toString()}` : "";
11890
+ const query2 = new URLSearchParams();
11891
+ if (params?.pageSize) query2.set("pageSize", String(params.pageSize));
11892
+ if (params?.cursor) query2.set("cursor", params.cursor);
11893
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11818
11894
  return this.fetch(
11819
11895
  `w/${wid}/app-connections/salesforce/sync/logs${qs}`
11820
11896
  );
@@ -11854,12 +11930,12 @@ var ConnectionSyncApi = class extends BaseApiClient {
11854
11930
  );
11855
11931
  }
11856
11932
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
11857
- const query = new URLSearchParams({
11933
+ const query2 = new URLSearchParams({
11858
11934
  direction,
11859
11935
  sync_key: syncKey
11860
11936
  });
11861
11937
  return this.fetch(
11862
- `w/${wid}/app-connections/${connectionId}/sync/checkpoint?${query}`
11938
+ `w/${wid}/app-connections/${connectionId}/sync/checkpoint?${query2}`
11863
11939
  );
11864
11940
  }
11865
11941
  /**
@@ -11909,9 +11985,9 @@ var ConnectionSyncApi = class extends BaseApiClient {
11909
11985
  * ``boardId`` is only meaningful for multi-scope connectors (Monday).
11910
11986
  */
11911
11987
  async clearConnectionMemberExclusion(wid, connectionId, memberId, options) {
11912
- const query = options?.boardId ? `?board_id=${encodeURIComponent(options.boardId)}` : "";
11988
+ const query2 = options?.boardId ? `?board_id=${encodeURIComponent(options.boardId)}` : "";
11913
11989
  return this.fetch(
11914
- `w/${wid}/app-connections/${connectionId}/member-exclusions/${memberId}${query}`,
11990
+ `w/${wid}/app-connections/${connectionId}/member-exclusions/${memberId}${query2}`,
11915
11991
  { method: "DELETE" }
11916
11992
  );
11917
11993
  }
@@ -12003,12 +12079,12 @@ var ConnectionSyncApi = class extends BaseApiClient {
12003
12079
  }
12004
12080
  /** Vendor lists a `vendor_list` import can name (configuration only). */
12005
12081
  async listSubsetImportVendorLists(wid, connectionId, options) {
12006
- const query = new URLSearchParams({
12082
+ const query2 = new URLSearchParams({
12007
12083
  query: options?.query ?? "",
12008
12084
  limit: String(options?.limit ?? 50)
12009
12085
  });
12010
12086
  return this.fetch(
12011
- this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
12087
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query2}`)
12012
12088
  );
12013
12089
  }
12014
12090
  /** Remote fields a `field_filter` import can name, with their operators. */
@@ -12070,10 +12146,10 @@ var HubspotApi = class extends BaseApiClient {
12070
12146
  });
12071
12147
  }
12072
12148
  async getHubspotReconciliationMatches(wid, params) {
12073
- const query = new URLSearchParams();
12074
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
12075
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
12076
- const qs = query.toString() ? `?${query.toString()}` : "";
12149
+ const query2 = new URLSearchParams();
12150
+ if (params?.limit !== void 0) query2.set("limit", String(params.limit));
12151
+ if (params?.offset !== void 0) query2.set("offset", String(params.offset));
12152
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
12077
12153
  return this.fetch(
12078
12154
  `w/${wid}/app-connections/hubspot/reconciliation/matches${qs}`
12079
12155
  );
@@ -12096,11 +12172,11 @@ var HubspotApi = class extends BaseApiClient {
12096
12172
  });
12097
12173
  }
12098
12174
  async getLinkedHubspotMembers(wid, params) {
12099
- const query = new URLSearchParams();
12100
- if (params?.page !== void 0) query.set("page", String(params.page));
12101
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
12102
- if (params?.search?.trim()) query.set("search", params.search.trim());
12103
- const qs = query.toString() ? `?${query.toString()}` : "";
12175
+ const query2 = new URLSearchParams();
12176
+ if (params?.page !== void 0) query2.set("page", String(params.page));
12177
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
12178
+ if (params?.search?.trim()) query2.set("search", params.search.trim());
12179
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
12104
12180
  return this.fetch(
12105
12181
  `w/${wid}/app-connections/hubspot/reconciliation/linked${qs}`
12106
12182
  );
@@ -12160,10 +12236,10 @@ var HubspotApi = class extends BaseApiClient {
12160
12236
  * and Monday twins return), with cursor pagination.
12161
12237
  */
12162
12238
  async getHubspotSyncLogs(wid, params) {
12163
- const query = new URLSearchParams();
12164
- if (params?.pageSize) query.set("pageSize", String(params.pageSize));
12165
- if (params?.cursor) query.set("cursor", params.cursor);
12166
- const qs = query.toString() ? `?${query.toString()}` : "";
12239
+ const query2 = new URLSearchParams();
12240
+ if (params?.pageSize) query2.set("pageSize", String(params.pageSize));
12241
+ if (params?.cursor) query2.set("cursor", params.cursor);
12242
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
12167
12243
  return this.fetch(
12168
12244
  `w/${wid}/app-connections/hubspot/sync/logs${qs}`
12169
12245
  );
@@ -12297,8 +12373,8 @@ var SitesApi = class extends BaseApiClient {
12297
12373
  * (e.g. one the builder has selected but not yet saved).
12298
12374
  */
12299
12375
  async getThemeSettings(wid, siteId, theme) {
12300
- const query = theme ? `?theme=${encodeURIComponent(theme)}` : "";
12301
- return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query}`);
12376
+ const query2 = theme ? `?theme=${encodeURIComponent(theme)}` : "";
12377
+ return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`);
12302
12378
  }
12303
12379
  /** Save values for the active theme's settings (validated against the schema). */
12304
12380
  async updateThemeSettings(wid, siteId, values) {
@@ -12444,9 +12520,9 @@ var SitesApi = class extends BaseApiClient {
12444
12520
  if (parentId !== void 0 && parentId !== null) {
12445
12521
  params.append("parent_id", parentId.toString());
12446
12522
  }
12447
- const query = params.toString();
12523
+ const query2 = params.toString();
12448
12524
  return this.fetch(
12449
- `w/${wid}/sites/${siteId}/menu/items${query ? `?${query}` : ""}`
12525
+ `w/${wid}/sites/${siteId}/menu/items${query2 ? `?${query2}` : ""}`
12450
12526
  );
12451
12527
  }
12452
12528
  /** Create a new menu item in a site's navigation. */
@@ -12687,8 +12763,8 @@ function supportRequestParams(params) {
12687
12763
  if (params?.linearLinked !== void 0) {
12688
12764
  searchParams.append("linearLinked", params.linearLinked.toString());
12689
12765
  }
12690
- const query = searchParams.toString();
12691
- return query ? `?${query}` : "";
12766
+ const query2 = searchParams.toString();
12767
+ return query2 ? `?${query2}` : "";
12692
12768
  }
12693
12769
  var SupportRequestsApi = class extends BaseApiClient {
12694
12770
  async listSupportRequests(params) {
@@ -13080,8 +13156,8 @@ function withFilters(params, options) {
13080
13156
  return params;
13081
13157
  }
13082
13158
  function suffix(params) {
13083
- const query = params.toString();
13084
- return query ? `?${query}` : "";
13159
+ const query2 = params.toString();
13160
+ return query2 ? `?${query2}` : "";
13085
13161
  }
13086
13162
  var TrackedLinksApi = class extends BaseApiClient {
13087
13163
  /** Header counters plus whether shortening is configured and enabled. */
@@ -13214,8 +13290,8 @@ var JourneysApi = class extends BaseApiClient {
13214
13290
  * for is the state it is in.
13215
13291
  */
13216
13292
  async deleteJourneyDraft(wid, journeyId, expectedUpdatedAt) {
13217
- const query = new URLSearchParams({ expectedUpdatedAt });
13218
- return this.fetch(`w/${wid}/journeys/${journeyId}/draft?${query.toString()}`, {
13293
+ const query2 = new URLSearchParams({ expectedUpdatedAt });
13294
+ return this.fetch(`w/${wid}/journeys/${journeyId}/draft?${query2.toString()}`, {
13219
13295
  method: "DELETE"
13220
13296
  });
13221
13297
  }
@@ -13226,11 +13302,11 @@ var JourneysApi = class extends BaseApiClient {
13226
13302
  * {@link getJourneyAuthoring} for the editor's expression-carrying shape.
13227
13303
  */
13228
13304
  async getJourneys(wid, includeArchived = false, pageOpts) {
13229
- const query = new URLSearchParams();
13230
- if (includeArchived) query.set("include_archived", "true");
13231
- if (pageOpts?.page !== void 0) query.set("page", String(pageOpts.page));
13232
- if (pageOpts?.pageSize !== void 0) query.set("pageSize", String(pageOpts.pageSize));
13233
- const qs = query.toString() ? `?${query.toString()}` : "";
13305
+ const query2 = new URLSearchParams();
13306
+ if (includeArchived) query2.set("include_archived", "true");
13307
+ if (pageOpts?.page !== void 0) query2.set("page", String(pageOpts.page));
13308
+ if (pageOpts?.pageSize !== void 0) query2.set("pageSize", String(pageOpts.pageSize));
13309
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
13234
13310
  return this.fetch(`w/${wid}/journeys${qs}`);
13235
13311
  }
13236
13312
  /**
@@ -13356,9 +13432,9 @@ var JourneysApi = class extends BaseApiClient {
13356
13432
  * `additionalMembers` is the size of a batch about to be enrolled.
13357
13433
  */
13358
13434
  async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
13359
- const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
13435
+ const query2 = new URLSearchParams({ additionalMembers: String(additionalMembers) });
13360
13436
  return this.fetch(
13361
- `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
13437
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query2.toString()}`
13362
13438
  );
13363
13439
  }
13364
13440
  /** Create a step within a journey. */
@@ -13447,9 +13523,9 @@ var JourneysApi = class extends BaseApiClient {
13447
13523
  qs.set("currentTaskId", String(params.currentTaskId));
13448
13524
  if (params?.runtimeFailureEdgeId !== void 0)
13449
13525
  qs.set("runtimeFailureEdgeId", String(params.runtimeFailureEdgeId));
13450
- const query = qs.toString();
13526
+ const query2 = qs.toString();
13451
13527
  return this.fetch(
13452
- `w/${wid}/journeys/${journeyId}/members${query ? `?${query}` : ""}`
13528
+ `w/${wid}/journeys/${journeyId}/members${query2 ? `?${query2}` : ""}`
13453
13529
  );
13454
13530
  }
13455
13531
  /** Enroll one or more members in a journey. */
@@ -13508,9 +13584,9 @@ var JourneysApi = class extends BaseApiClient {
13508
13584
  if (params.zeroEmissionOnly !== void 0) {
13509
13585
  qs.set("zeroEmissionOnly", String(params.zeroEmissionOnly));
13510
13586
  }
13511
- const query = qs.toString();
13587
+ const query2 = qs.toString();
13512
13588
  return this.fetch(
13513
- `w/${wid}/journeys/${journeyId}/enrollments/${memberJourneyId}/status-log` + (query ? `?${query}` : "")
13589
+ `w/${wid}/journeys/${journeyId}/enrollments/${memberJourneyId}/status-log` + (query2 ? `?${query2}` : "")
13514
13590
  );
13515
13591
  }
13516
13592
  /** List members currently or historically associated with one journey step. */
@@ -13520,9 +13596,9 @@ var JourneysApi = class extends BaseApiClient {
13520
13596
  if (params.mode) qs.set("mode", params.mode);
13521
13597
  if (params.page) qs.set("page", String(params.page));
13522
13598
  if (params.pageSize) qs.set("pageSize", String(params.pageSize));
13523
- const query = qs.toString();
13599
+ const query2 = qs.toString();
13524
13600
  return this.fetch(
13525
- `w/${wid}/journeys/${journeyId}/steps/${stepUuid}/members${query ? `?${query}` : ""}`
13601
+ `w/${wid}/journeys/${journeyId}/steps/${stepUuid}/members${query2 ? `?${query2}` : ""}`
13526
13602
  );
13527
13603
  }
13528
13604
  /** Get member counts by status for each journey step. */
@@ -13632,8 +13708,8 @@ var WorkflowsApi = class extends BaseApiClient {
13632
13708
  * portion so the active count can be derived.
13633
13709
  */
13634
13710
  async getWorkflowDiagram(wid, id, options = {}) {
13635
- const query = options.includeArchived ? "?include_archived=true" : "";
13636
- return this.fetch(`w/${wid}/workflows/${id}/diagram${query}`);
13711
+ const query2 = options.includeArchived ? "?include_archived=true" : "";
13712
+ return this.fetch(`w/${wid}/workflows/${id}/diagram${query2}`);
13637
13713
  }
13638
13714
  /**
13639
13715
  * The outline a Workflow's diagram is drawn from: its active Tasks, its
@@ -13947,36 +14023,36 @@ var WorkflowsApi = class extends BaseApiClient {
13947
14023
  };
13948
14024
 
13949
14025
  // src/api/workflow-notes.ts
13950
- function notesPath(wid, workflowId, noteId, query) {
14026
+ function notesPath(wid, workflowId, noteId, query2) {
13951
14027
  const base = noteId == null ? `w/${wid}/workflows/${workflowId}/notes` : `w/${wid}/workflows/${workflowId}/notes/${noteId}`;
13952
- if (query?.workflowRevisionId == null) return base;
14028
+ if (query2?.workflowRevisionId == null) return base;
13953
14029
  const params = new URLSearchParams({
13954
- workflowRevisionId: String(query.workflowRevisionId)
14030
+ workflowRevisionId: String(query2.workflowRevisionId)
13955
14031
  });
13956
14032
  return `${base}?${params.toString()}`;
13957
14033
  }
13958
14034
  var WorkflowNotesApi = class extends BaseApiClient {
13959
14035
  /** List notes for a workflow root (draft unless `workflowRevisionId` is set). */
13960
- async getWorkflowNotes(wid, workflowId, query) {
13961
- return this.fetch(notesPath(wid, workflowId, void 0, query));
14036
+ async getWorkflowNotes(wid, workflowId, query2) {
14037
+ return this.fetch(notesPath(wid, workflowId, void 0, query2));
13962
14038
  }
13963
14039
  /** Create a new note on a workflow's draft (or a pinned draft revision). */
13964
- async createWorkflowNote(wid, workflowId, data, query) {
13965
- return this.fetch(notesPath(wid, workflowId, void 0, query), {
14040
+ async createWorkflowNote(wid, workflowId, data, query2) {
14041
+ return this.fetch(notesPath(wid, workflowId, void 0, query2), {
13966
14042
  method: "POST",
13967
14043
  body: JSON.stringify(data)
13968
14044
  });
13969
14045
  }
13970
14046
  /** Update an existing workflow note with partial data. */
13971
- async updateWorkflowNote(wid, workflowId, noteId, data, query) {
13972
- return this.fetch(notesPath(wid, workflowId, noteId, query), {
14047
+ async updateWorkflowNote(wid, workflowId, noteId, data, query2) {
14048
+ return this.fetch(notesPath(wid, workflowId, noteId, query2), {
13973
14049
  method: "PUT",
13974
14050
  body: JSON.stringify(data)
13975
14051
  });
13976
14052
  }
13977
14053
  /** Delete a workflow note by ID. */
13978
- async deleteWorkflowNote(wid, workflowId, noteId, query) {
13979
- return this.fetch(notesPath(wid, workflowId, noteId, query), {
14054
+ async deleteWorkflowNote(wid, workflowId, noteId, query2) {
14055
+ return this.fetch(notesPath(wid, workflowId, noteId, query2), {
13980
14056
  method: "DELETE"
13981
14057
  });
13982
14058
  }
@@ -14344,10 +14420,10 @@ var WorkspacesApi = class extends BaseApiClient {
14344
14420
  }
14345
14421
  /** List client workspaces managed by this reseller workspace, paginated. */
14346
14422
  async getResellerWorkspaces(wid, params) {
14347
- const query = new URLSearchParams();
14348
- if (params?.page !== void 0) query.set("page", String(params.page));
14349
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
14350
- const qs = query.toString() ? `?${query.toString()}` : "";
14423
+ const query2 = new URLSearchParams();
14424
+ if (params?.page !== void 0) query2.set("page", String(params.page));
14425
+ if (params?.pageSize !== void 0) query2.set("pageSize", String(params.pageSize));
14426
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
14351
14427
  return this.fetch(`w/${wid}/reseller/workspaces${qs}`);
14352
14428
  }
14353
14429
  /** Create a new client workspace under a reseller workspace. */
@@ -14757,6 +14833,81 @@ var WorkspacesApi = class extends BaseApiClient {
14757
14833
  }
14758
14834
  };
14759
14835
 
14836
+ // src/api/medical-billing.ts
14837
+ function query(params) {
14838
+ const values = new URLSearchParams();
14839
+ if (params?.after != null) values.set("after", String(params.after));
14840
+ if (params?.limit != null) values.set("limit", String(params.limit));
14841
+ if (params?.memberId != null) values.set("member_id", String(params.memberId));
14842
+ if (params?.connectionId != null) values.set("connection_id", String(params.connectionId));
14843
+ return values.size ? `?${values}` : "";
14844
+ }
14845
+ var MedicalBillingApi = class extends BaseApiClient {
14846
+ listMedicalBillingConnections(wid) {
14847
+ return this.fetch(`w/${wid}/medical-billing/connections`);
14848
+ }
14849
+ submitMedicalClaim(wid, body) {
14850
+ return this.fetch(`w/${wid}/medical-billing/claim-submissions`, {
14851
+ method: "POST",
14852
+ body: JSON.stringify(body)
14853
+ });
14854
+ }
14855
+ listMedicalBillingProviders(wid, params) {
14856
+ return this.fetch(`w/${wid}/medical-billing/providers${query(params)}`);
14857
+ }
14858
+ listMedicalCoverages(wid, params) {
14859
+ return this.fetch(`w/${wid}/medical-billing/coverages${query(params)}`);
14860
+ }
14861
+ createMedicalCoverage(wid, body) {
14862
+ return this.fetch(`w/${wid}/medical-billing/coverages`, {
14863
+ method: "POST",
14864
+ body: JSON.stringify(body)
14865
+ });
14866
+ }
14867
+ updateMedicalCoverage(wid, id, body) {
14868
+ return this.fetch(`w/${wid}/medical-billing/coverages/${id}`, {
14869
+ method: "PATCH",
14870
+ body: JSON.stringify(body)
14871
+ });
14872
+ }
14873
+ setMedicalPayerRoute(wid, id, body) {
14874
+ return this.fetch(`w/${wid}/medical-billing/coverages/${id}/payer-routes`, {
14875
+ method: "POST",
14876
+ body: JSON.stringify(body)
14877
+ });
14878
+ }
14879
+ listMedicalCharges(wid, params) {
14880
+ return this.fetch(`w/${wid}/medical-billing/charges${query(params)}`);
14881
+ }
14882
+ createMedicalCharge(wid, body) {
14883
+ return this.fetch(`w/${wid}/medical-billing/charges`, {
14884
+ method: "POST",
14885
+ body: JSON.stringify(body)
14886
+ });
14887
+ }
14888
+ updateMedicalCharge(wid, id, body) {
14889
+ return this.fetch(`w/${wid}/medical-billing/charges/${id}`, {
14890
+ method: "PATCH",
14891
+ body: JSON.stringify(body)
14892
+ });
14893
+ }
14894
+ listMedicalClaims(wid, params) {
14895
+ return this.fetch(`w/${wid}/medical-billing/claims${query(params)}`);
14896
+ }
14897
+ getMedicalClaim(wid, id) {
14898
+ return this.fetch(`w/${wid}/medical-billing/claims/${encodeURIComponent(id)}`);
14899
+ }
14900
+ listMedicalEligibilityChecks(wid, params) {
14901
+ return this.fetch(`w/${wid}/medical-billing/eligibility-checks${query(params)}`);
14902
+ }
14903
+ listMedicalRemittances(wid, params) {
14904
+ return this.fetch(`w/${wid}/medical-billing/remittances${query(params)}`);
14905
+ }
14906
+ getMedicalRemittance(wid, id) {
14907
+ return this.fetch(`w/${wid}/medical-billing/remittances/${id}`);
14908
+ }
14909
+ };
14910
+
14760
14911
  // src/client/api-modules.ts
14761
14912
  function createApiModules(apiKey, baseUrl, customFetch) {
14762
14913
  return {
@@ -14792,6 +14943,8 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14792
14943
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
14793
14944
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
14794
14945
  claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
14946
+ stedi: new StediApi(apiKey, baseUrl, customFetch),
14947
+ medicalBilling: new MedicalBillingApi(apiKey, baseUrl, customFetch),
14795
14948
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
14796
14949
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
14797
14950
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -14956,7 +15109,6 @@ var WORKSPACE_METHOD_NAMES = [
14956
15109
  "createMemberField",
14957
15110
  "createMemberFilter",
14958
15111
  "createMemberLabel",
14959
- "createMemberMemory",
14960
15112
  "createMemberRelationship",
14961
15113
  "createMemberRole",
14962
15114
  "createMenuItem",
@@ -15026,7 +15178,6 @@ var WORKSPACE_METHOD_NAMES = [
15026
15178
  "deleteMemberField",
15027
15179
  "deleteMemberFilter",
15028
15180
  "deleteMemberLabel",
15029
- "deleteMemberMemory",
15030
15181
  "deleteMemberRole",
15031
15182
  "deleteMenuItem",
15032
15183
  "deleteMondayConnection",
@@ -15244,6 +15395,23 @@ var WORKSPACE_METHOD_NAMES = [
15244
15395
  "getDiscordGuilds",
15245
15396
  "getDiscordThreads",
15246
15397
  "getClaimMdStatus",
15398
+ "listMedicalBillingConnections",
15399
+ "submitMedicalClaim",
15400
+ "listMedicalBillingProviders",
15401
+ "listMedicalCoverages",
15402
+ "createMedicalCoverage",
15403
+ "updateMedicalCoverage",
15404
+ "setMedicalPayerRoute",
15405
+ "listMedicalCharges",
15406
+ "createMedicalCharge",
15407
+ "updateMedicalCharge",
15408
+ "listMedicalClaims",
15409
+ "getMedicalClaim",
15410
+ "listMedicalEligibilityChecks",
15411
+ "listMedicalRemittances",
15412
+ "getMedicalRemittance",
15413
+ "getStediConnections",
15414
+ "getStediConnectionStatus",
15247
15415
  "getDocumoFaxSetup",
15248
15416
  "listDocumoFaxes",
15249
15417
  "getDocumoFaxStatus",
@@ -15362,8 +15530,6 @@ var WORKSPACE_METHOD_NAMES = [
15362
15530
  "getMemberLabel",
15363
15531
  "getMemberLabelByUuid",
15364
15532
  "getMemberLabels",
15365
- "getMemberMemories",
15366
- "getMemberMemory",
15367
15533
  "getMemberRecordCounts",
15368
15534
  "getMemberRelationships",
15369
15535
  "getMemberRole",
@@ -16114,10 +16280,6 @@ function bindMembersMethods(target, members) {
16114
16280
  target.getAnonymousResolution = members.getAnonymousResolution.bind(members);
16115
16281
  target.resolveAnonymousMember = members.resolveAnonymousMember.bind(members);
16116
16282
  target.expireAnonymousMember = members.expireAnonymousMember.bind(members);
16117
- target.getMemberMemories = members.getMemberMemories.bind(members);
16118
- target.getMemberMemory = members.getMemberMemory.bind(members);
16119
- target.createMemberMemory = members.createMemberMemory.bind(members);
16120
- target.deleteMemberMemory = members.deleteMemberMemory.bind(members);
16121
16283
  target.getMemberSyncLinks = members.getMemberSyncLinks.bind(members);
16122
16284
  target.getMemberRelationships = members.getMemberRelationships.bind(members);
16123
16285
  target.createMemberRelationship = members.createMemberRelationship.bind(members);
@@ -16659,7 +16821,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16659
16821
  }
16660
16822
 
16661
16823
  // src/client/bindings/integrations.ts
16662
- function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, salesforce, hubspot, appConnections, connectionSync, confluence) {
16824
+ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackApps, teamsApps, fhirConnections, patientSyncConnections, healthie, documoFax, claimMd, stedi, salesforce, hubspot, appConnections, connectionSync, confluence) {
16663
16825
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16664
16826
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16665
16827
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -16771,6 +16933,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16771
16933
  target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
16772
16934
  target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
16773
16935
  target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
16936
+ target.getStediConnections = stedi.getStediConnections.bind(stedi);
16937
+ target.getStediConnectionStatus = stedi.getStediConnectionStatus.bind(stedi);
16774
16938
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
16775
16939
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16776
16940
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -17188,6 +17352,21 @@ var GravityRailClient = class {
17188
17352
  // WorkspaceInvitations is exposed publicly for backward compatibility
17189
17353
  workspaceInvitations;
17190
17354
  // Store all API modules for cross-cutting operations
17355
+ listMedicalBillingProviders;
17356
+ listMedicalCoverages;
17357
+ createMedicalCoverage;
17358
+ updateMedicalCoverage;
17359
+ setMedicalPayerRoute;
17360
+ listMedicalCharges;
17361
+ createMedicalCharge;
17362
+ updateMedicalCharge;
17363
+ listMedicalClaims;
17364
+ getMedicalClaim;
17365
+ listMedicalEligibilityChecks;
17366
+ listMedicalRemittances;
17367
+ getMedicalRemittance;
17368
+ listMedicalBillingConnections;
17369
+ submitMedicalClaim;
17191
17370
  apis;
17192
17371
  // Tasks API
17193
17372
  getTasks;
@@ -17378,10 +17557,6 @@ var GravityRailClient = class {
17378
17557
  resolveAnonymousMember;
17379
17558
  expireAnonymousMember;
17380
17559
  // Member Memories
17381
- getMemberMemories;
17382
- getMemberMemory;
17383
- createMemberMemory;
17384
- deleteMemberMemory;
17385
17560
  // Member Sync Links
17386
17561
  getMemberSyncLinks;
17387
17562
  // Member Relationships
@@ -18275,6 +18450,8 @@ var GravityRailClient = class {
18275
18450
  installClaimMd;
18276
18451
  configureClaimMd;
18277
18452
  verifyClaimMdKey;
18453
+ getStediConnections;
18454
+ getStediConnectionStatus;
18278
18455
  configurePatientSync;
18279
18456
  getPatientSyncStatus;
18280
18457
  deletePatientSyncConnection;
@@ -18447,6 +18624,39 @@ var GravityRailClient = class {
18447
18624
  constructor(apiKey, baseUrl, customFetch) {
18448
18625
  const apis = createApiModules(apiKey, baseUrl, customFetch);
18449
18626
  this.apis = apis;
18627
+ this.listMedicalBillingConnections = apis.medicalBilling.listMedicalBillingConnections.bind(
18628
+ apis.medicalBilling
18629
+ );
18630
+ this.submitMedicalClaim = apis.medicalBilling.submitMedicalClaim.bind(apis.medicalBilling);
18631
+ this.listMedicalBillingProviders = apis.medicalBilling.listMedicalBillingProviders.bind(
18632
+ apis.medicalBilling
18633
+ );
18634
+ this.listMedicalCoverages = apis.medicalBilling.listMedicalCoverages.bind(
18635
+ apis.medicalBilling
18636
+ );
18637
+ this.createMedicalCoverage = apis.medicalBilling.createMedicalCoverage.bind(
18638
+ apis.medicalBilling
18639
+ );
18640
+ this.updateMedicalCoverage = apis.medicalBilling.updateMedicalCoverage.bind(
18641
+ apis.medicalBilling
18642
+ );
18643
+ this.setMedicalPayerRoute = apis.medicalBilling.setMedicalPayerRoute.bind(
18644
+ apis.medicalBilling
18645
+ );
18646
+ this.listMedicalCharges = apis.medicalBilling.listMedicalCharges.bind(apis.medicalBilling);
18647
+ this.createMedicalCharge = apis.medicalBilling.createMedicalCharge.bind(apis.medicalBilling);
18648
+ this.updateMedicalCharge = apis.medicalBilling.updateMedicalCharge.bind(apis.medicalBilling);
18649
+ this.listMedicalClaims = apis.medicalBilling.listMedicalClaims.bind(apis.medicalBilling);
18650
+ this.getMedicalClaim = apis.medicalBilling.getMedicalClaim.bind(apis.medicalBilling);
18651
+ this.listMedicalEligibilityChecks = apis.medicalBilling.listMedicalEligibilityChecks.bind(
18652
+ apis.medicalBilling
18653
+ );
18654
+ this.listMedicalRemittances = apis.medicalBilling.listMedicalRemittances.bind(
18655
+ apis.medicalBilling
18656
+ );
18657
+ this.getMedicalRemittance = apis.medicalBilling.getMedicalRemittance.bind(
18658
+ apis.medicalBilling
18659
+ );
18450
18660
  this.workspaceInvitations = apis.workspaceInvitations;
18451
18661
  bindTasksMethods(this, apis.tasks, apis.abilities);
18452
18662
  bindChatsMethods(this, apis.chats);
@@ -18512,6 +18722,7 @@ var GravityRailClient = class {
18512
18722
  apis.healthie,
18513
18723
  apis.documoFax,
18514
18724
  apis.claimMd,
18725
+ apis.stedi,
18515
18726
  apis.salesforce,
18516
18727
  apis.hubspot,
18517
18728
  apis.appConnections,
@@ -18821,6 +19032,8 @@ function pathDraftToStorage(draft, original) {
18821
19032
  EventRuleEventType,
18822
19033
  EventRuleObjectType,
18823
19034
  EventsApi,
19035
+ FaxDocumentRefusal,
19036
+ FaxRunRefusal,
18824
19037
  FeatureCategory,
18825
19038
  FeatureVisibility,
18826
19039
  FeaturesApi,
@@ -18988,6 +19201,7 @@ function pathDraftToStorage(draft, original) {
18988
19201
  UpdateMemberContactPointRequestPurpose,
18989
19202
  UpdateMemberContactPointRequestSharing,
18990
19203
  VoiceApi,
19204
+ VoiceIntegrityUseCase,
18991
19205
  WIDGET_SLUGS,
18992
19206
  WorkflowNotesApi,
18993
19207
  WorkflowRoutingMode,