@gravity-rail/sdk 1.0.0 → 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";
@@ -1122,6 +1129,14 @@ var CapturedEffectKind = {
1122
1129
  };
1123
1130
 
1124
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
+ };
1125
1140
  var InboundRefusal = {
1126
1141
  run_not_found: "run_not_found",
1127
1142
  run_ended: "run_ended",
@@ -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";
@@ -2490,6 +2556,24 @@ var SCOPES = {
2490
2556
  implies: ["members:write"],
2491
2557
  dangerous: true
2492
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
+ },
2493
2577
  // =========================================================================
2494
2578
  // MEMBER ROLES
2495
2579
  // =========================================================================
@@ -3608,13 +3692,13 @@ var ResourceWorkflowsApi = class extends BaseApiClient {
3608
3692
  * pin a Workflow item; archived Workflows are excluded unless asked for.
3609
3693
  */
3610
3694
  async listResourceWorkflows(wid, params) {
3611
- const query = new URLSearchParams();
3612
- if (params?.page !== void 0) query.set("page", String(params.page));
3613
- 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));
3614
3698
  if (params?.includeArchived !== void 0) {
3615
- query.set("includeArchived", String(params.includeArchived));
3699
+ query2.set("includeArchived", String(params.includeArchived));
3616
3700
  }
3617
- const qs = query.toString();
3701
+ const qs = query2.toString();
3618
3702
  return this.fetch(
3619
3703
  `w/${encodeURIComponent(wid)}/resource-workflows${qs ? `?${qs}` : ""}`
3620
3704
  );
@@ -3628,10 +3712,10 @@ function bundlesPath(wid, ...segments) {
3628
3712
  return tail ? `${base}/${tail}` : base;
3629
3713
  }
3630
3714
  function pageQuery(params) {
3631
- const query = new URLSearchParams();
3632
- if (params?.page !== void 0) query.set("page", String(params.page));
3633
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
3634
- 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();
3635
3719
  return qs ? `?${qs}` : "";
3636
3720
  }
3637
3721
  var BundlesApi = class extends BaseApiClient {
@@ -3825,9 +3909,9 @@ var InstallationsApi = class extends BaseApiClient {
3825
3909
  * between. `to` must be newer than the version the installation holds.
3826
3910
  */
3827
3911
  async previewInstallationUpgrade(wid, installationUuid, to) {
3828
- const query = new URLSearchParams({ to: String(to) });
3912
+ const query2 = new URLSearchParams({ to: String(to) });
3829
3913
  return this.fetch(
3830
- `${installationsPath(wid, installationUuid, "upgrade-preview")}?${query.toString()}`
3914
+ `${installationsPath(wid, installationUuid, "upgrade-preview")}?${query2.toString()}`
3831
3915
  );
3832
3916
  }
3833
3917
  /**
@@ -5018,9 +5102,9 @@ var CalendarsApi = class extends BaseApiClient {
5018
5102
  const params = new URLSearchParams();
5019
5103
  if (options?.page !== void 0) params.set("page", String(options.page));
5020
5104
  if (options?.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
5021
- const query = params.size ? `?${params}` : "";
5105
+ const query2 = params.size ? `?${params}` : "";
5022
5106
  return this.fetch(
5023
- `w/${wid}/calendar-event-types${query}`
5107
+ `w/${wid}/calendar-event-types${query2}`
5024
5108
  );
5025
5109
  }
5026
5110
  /** Get a single calendar event type by ID. */
@@ -5763,9 +5847,9 @@ var ConfluenceApi = class extends BaseApiClient {
5763
5847
  const qs = new URLSearchParams();
5764
5848
  if (params?.cursor) qs.set("cursor", params.cursor);
5765
5849
  if (params?.limit) qs.set("limit", String(params.limit));
5766
- const query = qs.toString();
5850
+ const query2 = qs.toString();
5767
5851
  return this.fetch(
5768
- `w/${wid}/app-connections/confluence/spaces${query ? `?${query}` : ""}`
5852
+ `w/${wid}/app-connections/confluence/spaces${query2 ? `?${query2}` : ""}`
5769
5853
  );
5770
5854
  }
5771
5855
  async listConfluencePages(wid, spaceId, params) {
@@ -5897,9 +5981,9 @@ var DashboardsApi = class extends BaseApiClient {
5897
5981
  async getDashboardChannelStats(wid, options) {
5898
5982
  const params = new URLSearchParams();
5899
5983
  if (options?.hours !== void 0) params.append("hours", options.hours.toString());
5900
- const query = params.toString();
5984
+ const query2 = params.toString();
5901
5985
  return this.fetch(
5902
- `w/${wid}/dashboards/stats/channels${query ? `?${query}` : ""}`
5986
+ `w/${wid}/dashboards/stats/channels${query2 ? `?${query2}` : ""}`
5903
5987
  );
5904
5988
  }
5905
5989
  /**
@@ -5911,9 +5995,9 @@ var DashboardsApi = class extends BaseApiClient {
5911
5995
  async getDashboardWorkflowAssignmentStats(wid, options) {
5912
5996
  const params = new URLSearchParams();
5913
5997
  if (options?.hours != null) params.append("hours", options.hours.toString());
5914
- const query = params.toString();
5998
+ const query2 = params.toString();
5915
5999
  return this.fetch(
5916
- `w/${wid}/dashboards/stats/workflow-assignments${query ? `?${query}` : ""}`
6000
+ `w/${wid}/dashboards/stats/workflow-assignments${query2 ? `?${query2}` : ""}`
5917
6001
  );
5918
6002
  }
5919
6003
  /**
@@ -5937,9 +6021,9 @@ var DashboardsApi = class extends BaseApiClient {
5937
6021
  if (options?.pageSize !== void 0) params.append("pageSize", options.pageSize.toString());
5938
6022
  if (options?.check !== void 0) params.append("check", options.check);
5939
6023
  if (options?.severity !== void 0) params.append("severity", options.severity);
5940
- const query = params.toString();
6024
+ const query2 = params.toString();
5941
6025
  return this.fetch(
5942
- `w/${wid}/configuration-health${query ? `?${query}` : ""}`
6026
+ `w/${wid}/configuration-health${query2 ? `?${query2}` : ""}`
5943
6027
  );
5944
6028
  }
5945
6029
  };
@@ -6009,9 +6093,9 @@ var DataTypesApi = class extends BaseApiClient {
6009
6093
  if (options?.beforeVersion !== void 0)
6010
6094
  params.set("beforeVersion", String(options.beforeVersion));
6011
6095
  if (options?.limit !== void 0) params.set("limit", String(options.limit));
6012
- const query = params.toString();
6096
+ const query2 = params.toString();
6013
6097
  return this.fetch(
6014
- `w/${wid}/data-types/${id}/schema-versions${query ? `?${query}` : ""}`
6098
+ `w/${wid}/data-types/${id}/schema-versions${query2 ? `?${query2}` : ""}`
6015
6099
  );
6016
6100
  }
6017
6101
  /** List all data types for a workspace, optionally filtering by archived status. */
@@ -6645,10 +6729,10 @@ var TeamsAppsApi = class extends BaseApiClient {
6645
6729
  var EventsApi = class extends BaseApiClient {
6646
6730
  /** List event rules in the workspace, paginated. */
6647
6731
  async getEventRules(wid, params) {
6648
- const query = new URLSearchParams();
6649
- if (params?.page !== void 0) query.set("page", String(params.page));
6650
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
6651
- 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()}` : "";
6652
6736
  return this.fetch(`w/${wid}/event-rules${qs}`);
6653
6737
  }
6654
6738
  /** Get the available action types that can be used in event rules. */
@@ -6860,11 +6944,11 @@ var EventsApi = class extends BaseApiClient {
6860
6944
  var ExperimentsApi = class extends BaseApiClient {
6861
6945
  /** List experiments with group summaries and assignment counts. */
6862
6946
  async getExperiments(wid, params) {
6863
- const query = new URLSearchParams();
6864
- if (params?.page !== void 0) query.set("page", String(params.page));
6865
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
6866
- if (params?.includeArchived) query.set("includeArchived", "true");
6867
- 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()}` : "";
6868
6952
  return this.fetch(`w/${wid}/experiments${qs}`);
6869
6953
  }
6870
6954
  /** Get a single experiment by ID (includes groups). */
@@ -7181,11 +7265,11 @@ var FhirConnectionsApi = class extends BaseApiClient {
7181
7265
  }
7182
7266
  // ==================== Member Sync ====================
7183
7267
  async fhirListLinkedMembers(wid, connectionId, params) {
7184
- const query = new URLSearchParams();
7185
- if (params?.page !== void 0) query.set("page", String(params.page));
7186
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
7187
- if (params?.search?.trim()) query.set("search", params.search.trim());
7188
- 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()}` : "";
7189
7273
  return this.fetch(
7190
7274
  `w/${wid}/app-connections/fhir/connections/${connectionId}/linked-members${qs}`
7191
7275
  );
@@ -7307,6 +7391,18 @@ var ClaimMdApi = class extends BaseApiClient {
7307
7391
  }
7308
7392
  };
7309
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
+
7310
7406
  // src/api/documo-fax.ts
7311
7407
  var DocumoFaxApi = class extends BaseApiClient {
7312
7408
  async getDocumoFaxStatus(wid) {
@@ -7328,13 +7424,13 @@ var DocumoFaxApi = class extends BaseApiClient {
7328
7424
  * failures an operator filtering by date is hunting for.
7329
7425
  */
7330
7426
  async listDocumoFaxes(wid, params) {
7331
- const query = new URLSearchParams();
7332
- if (params?.page !== void 0) query.set("page", String(params.page));
7333
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
7334
- params?.status?.forEach((value) => query.append("status", value));
7335
- if (params?.receivedAfter) query.set("receivedAfter", params.receivedAfter);
7336
- if (params?.receivedBefore) query.set("receivedBefore", params.receivedBefore);
7337
- 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()}`;
7338
7434
  return this.fetch(
7339
7435
  `w/${wid}/app-connections/documo-fax/faxes${suffix2}`
7340
7436
  );
@@ -7409,20 +7505,20 @@ var HealthieApi = class extends BaseApiClient {
7409
7505
  );
7410
7506
  }
7411
7507
  async getLinkedHealthieMembers(wid, params) {
7412
- const query = new URLSearchParams();
7413
- if (params?.page !== void 0) query.set("page", String(params.page));
7414
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
7415
- if (params?.search?.trim()) query.set("search", params.search.trim());
7416
- 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()}` : "";
7417
7513
  return this.fetch(
7418
7514
  `w/${wid}/app-connections/healthie/reconciliation/linked${qs}`
7419
7515
  );
7420
7516
  }
7421
7517
  async getHealthieReconciliationMatches(wid, params) {
7422
- const query = new URLSearchParams();
7423
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
7424
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
7425
- 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()}` : "";
7426
7522
  return this.fetch(
7427
7523
  `w/${wid}/app-connections/healthie/reconciliation/matches${qs}`
7428
7524
  );
@@ -7439,17 +7535,17 @@ var HealthieApi = class extends BaseApiClient {
7439
7535
  });
7440
7536
  }
7441
7537
  async listHealthieAppointmentTypes(wid, providerId) {
7442
- const query = new URLSearchParams();
7443
- if (providerId) query.set("provider_id", providerId);
7444
- 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()}` : "";
7445
7541
  return this.fetch(
7446
7542
  `w/${wid}/app-connections/healthie/appointment-types${qs}`
7447
7543
  );
7448
7544
  }
7449
7545
  async listHealthiePatients(wid, keywords) {
7450
- const query = new URLSearchParams();
7451
- if (keywords?.trim()) query.set("keywords", keywords.trim());
7452
- 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()}` : "";
7453
7549
  return this.fetch(
7454
7550
  `w/${wid}/app-connections/healthie/patients${qs}`
7455
7551
  );
@@ -7972,9 +8068,9 @@ var InboxesApi = class extends BaseApiClient {
7972
8068
  const params = new URLSearchParams();
7973
8069
  if (period.dateFrom) params.append("date_from", period.dateFrom);
7974
8070
  if (period.dateTo) params.append("date_to", period.dateTo);
7975
- const query = params.toString();
8071
+ const query2 = params.toString();
7976
8072
  return this.fetch(
7977
- `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query ? `?${query}` : ""}`
8073
+ `w/${wid}/inboxes/${inboxId}/outbound-email-stats${query2 ? `?${query2}` : ""}`
7978
8074
  );
7979
8075
  }
7980
8076
  /** List email threads in an inbox. */
@@ -8379,10 +8475,10 @@ var MembersApi = class extends BaseApiClient {
8379
8475
  });
8380
8476
  }
8381
8477
  /** List workspace members with pagination, filtering, and sorting. */
8382
- 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) {
8383
8479
  const params = new URLSearchParams();
8384
8480
  if (memberFilterId != null) params.append("memberFilterId", memberFilterId.toString());
8385
- if (query != null) params.append("query", JSON.stringify(query));
8481
+ if (query2 != null) params.append("query", JSON.stringify(query2));
8386
8482
  if (page) params.append("page", page.toString());
8387
8483
  if (pageSize) params.append("pageSize", pageSize.toString());
8388
8484
  if (sortBy) params.append("sortBy", sortBy);
@@ -9212,8 +9308,8 @@ var MotdApi = class extends BaseApiClient {
9212
9308
  const params = new URLSearchParams();
9213
9309
  if (options?.date !== void 0) params.append("date", options.date);
9214
9310
  if (options?.offset !== void 0) params.append("offset", options.offset.toString());
9215
- const query = params.toString();
9216
- return this.fetch(`w/${wid}/motd${query ? `?${query}` : ""}`);
9311
+ const query2 = params.toString();
9312
+ return this.fetch(`w/${wid}/motd${query2 ? `?${query2}` : ""}`);
9217
9313
  }
9218
9314
  };
9219
9315
 
@@ -9323,21 +9419,21 @@ var MondayIntegrationApi = class extends BaseApiClient {
9323
9419
  });
9324
9420
  }
9325
9421
  async getLinkedMondayMembers(wid, params) {
9326
- const query = new URLSearchParams();
9327
- if (params?.board_id) query.set("board_id", params.board_id);
9328
- if (params?.page !== void 0) query.set("page", String(params.page));
9329
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
9330
- if (params?.search?.trim()) query.set("search", params.search.trim());
9331
- 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()}` : "";
9332
9428
  return this.fetch(
9333
9429
  `w/${wid}/app-connections/monday/reconciliation/linked${qs}`
9334
9430
  );
9335
9431
  }
9336
9432
  async getMondayReconciliationMatches(wid, params) {
9337
- const query = new URLSearchParams();
9338
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
9339
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
9340
- 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()}` : "";
9341
9437
  return this.fetch(
9342
9438
  `w/${wid}/app-connections/monday/reconciliation/matches${qs}`
9343
9439
  );
@@ -9361,11 +9457,11 @@ var MondayIntegrationApi = class extends BaseApiClient {
9361
9457
  );
9362
9458
  }
9363
9459
  async getLinkedRecords(wid, params) {
9364
- const query = new URLSearchParams();
9365
- if (params?.board_id) query.set("board_id", params.board_id);
9366
- if (params?.page !== void 0) query.set("page", String(params.page));
9367
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
9368
- 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()}` : "";
9369
9465
  return this.fetch(
9370
9466
  `w/${wid}/app-connections/monday/linked-records${qs}`
9371
9467
  );
@@ -9388,10 +9484,10 @@ var MondayIntegrationApi = class extends BaseApiClient {
9388
9484
  * connection is parked for re-authorization.
9389
9485
  */
9390
9486
  async getMondaySyncLogs(wid, params) {
9391
- const query = new URLSearchParams();
9392
- if (params?.pageSize) query.set("pageSize", String(params.pageSize));
9393
- if (params?.cursor) query.set("cursor", params.cursor);
9394
- 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()}` : "";
9395
9491
  return this.fetch(
9396
9492
  `w/${wid}/app-connections/monday/sync/logs${qs}`
9397
9493
  );
@@ -9406,13 +9502,13 @@ var InterventionRequestsApi = class extends BaseApiClient {
9406
9502
  }
9407
9503
  /** List intervention requests in a workspace, newest first. */
9408
9504
  async getInterventionRequests(wid, params = {}) {
9409
- const query = new URLSearchParams();
9410
- if (params.kind) query.set("kind", params.kind);
9411
- if (params.openOnly) query.set("openOnly", "true");
9412
- if (params.chatId !== void 0) query.set("chatId", String(params.chatId));
9413
- if (params.unroutedOnly) query.set("unroutedOnly", "true");
9414
- if (params.limit !== void 0) query.set("limit", String(params.limit));
9415
- 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();
9416
9512
  return this.fetch(
9417
9513
  `w/${wid}/intervention-requests${qs ? `?${qs}` : ""}`
9418
9514
  );
@@ -9601,7 +9697,7 @@ var OrgApi = class extends BaseApiClient {
9601
9697
  async getOrgAiConnectorPolicy(orgIdOrUuid) {
9602
9698
  return this.fetch(`o/${orgIdOrUuid}/ai-connectors`);
9603
9699
  }
9604
- /** Set the AI connector mode: `any` or `allowlist`. Requires `org:admin`. */
9700
+ /** Set the AI connector mode: `any`, `allowlist` or `none`. Requires `org:admin`. */
9605
9701
  async updateOrgAiConnectorPolicy(orgIdOrUuid, data) {
9606
9702
  return this.fetch(`o/${orgIdOrUuid}/ai-connectors`, {
9607
9703
  method: "PUT",
@@ -9852,13 +9948,13 @@ var OrgApi = class extends BaseApiClient {
9852
9948
  * Search for available phone numbers to purchase from Twilio.
9853
9949
  */
9854
9950
  async searchPhoneNumbers(orgUuid, params) {
9855
- const query = new URLSearchParams();
9856
- if (params?.country) query.set("country", params.country);
9857
- if (params?.numberType) query.set("number_type", params.numberType);
9858
- if (params?.areaCode) query.set("area_code", params.areaCode);
9859
- if (params?.contains) query.set("contains", params.contains);
9860
- if (params?.limit) query.set("limit", String(params.limit));
9861
- 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();
9862
9958
  return this.fetch(
9863
9959
  `o/${orgUuid}/phone-numbers/search${qs ? `?${qs}` : ""}`
9864
9960
  );
@@ -9958,9 +10054,9 @@ var OrgApi = class extends BaseApiClient {
9958
10054
  * Disable email support for an org domain.
9959
10055
  */
9960
10056
  async disableOrgDomainEmail(orgIdOrUuid, domainUuid, confirm = false) {
9961
- const query = `?confirm=${confirm ? "true" : "false"}`;
10057
+ const query2 = `?confirm=${confirm ? "true" : "false"}`;
9962
10058
  const response = await this.fetchRaw(
9963
- `o/${orgIdOrUuid}/domains/${domainUuid}/email${query}`,
10059
+ `o/${orgIdOrUuid}/domains/${domainUuid}/email${query2}`,
9964
10060
  { method: "DELETE" },
9965
10061
  [409]
9966
10062
  );
@@ -10041,9 +10137,9 @@ var OrgApi = class extends BaseApiClient {
10041
10137
  * Disable custom site routing for an org domain.
10042
10138
  */
10043
10139
  async disableOrgDomainSite(orgIdOrUuid, domainUuid, confirm = false) {
10044
- const query = `?confirm=${confirm ? "true" : "false"}`;
10140
+ const query2 = `?confirm=${confirm ? "true" : "false"}`;
10045
10141
  const response = await this.fetchRaw(
10046
- `o/${orgIdOrUuid}/domains/${domainUuid}/site${query}`,
10142
+ `o/${orgIdOrUuid}/domains/${domainUuid}/site${query2}`,
10047
10143
  { method: "DELETE" },
10048
10144
  [409]
10049
10145
  );
@@ -10519,9 +10615,9 @@ var OrgApi = class extends BaseApiClient {
10519
10615
  * endpoint and sit in a workspace it actually covers.
10520
10616
  */
10521
10617
  async getOrgWebhookEventSample(orgIdOrUuid, eventType, endpointUuid) {
10522
- const query = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
10618
+ const query2 = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
10523
10619
  return this.fetch(
10524
- `o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query}`
10620
+ `o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query2}`
10525
10621
  );
10526
10622
  }
10527
10623
  /**
@@ -10751,8 +10847,8 @@ var PhoneNumbersApi = class extends BaseApiClient {
10751
10847
  if (options?.isArchived !== void 0) {
10752
10848
  params.set("is_archived", String(options.isArchived));
10753
10849
  }
10754
- const query = params.toString();
10755
- return this.fetch(`w/${wid}/phone-numbers${query ? `?${query}` : ""}`);
10850
+ const query2 = params.toString();
10851
+ return this.fetch(`w/${wid}/phone-numbers${query2 ? `?${query2}` : ""}`);
10756
10852
  }
10757
10853
  /** List phone numbers available for provisioning. */
10758
10854
  async getAvailablePhoneNumbers(wid) {
@@ -10909,9 +11005,9 @@ var PhoneNumbersApi = class extends BaseApiClient {
10909
11005
  async getPhoneNumberOutboundAnalyticsSummary(wid, id, filters) {
10910
11006
  const params = new URLSearchParams();
10911
11007
  appendAnalyticsFilters(params, filters);
10912
- const query = params.toString();
11008
+ const query2 = params.toString();
10913
11009
  return this.fetch(
10914
- `w/${wid}/phone-numbers/${id}/analytics/summary${query ? `?${query}` : ""}`
11010
+ `w/${wid}/phone-numbers/${id}/analytics/summary${query2 ? `?${query2}` : ""}`
10915
11011
  );
10916
11012
  }
10917
11013
  /**
@@ -11222,24 +11318,24 @@ var QueriesApi = class extends BaseApiClient {
11222
11318
  });
11223
11319
  }
11224
11320
  /** Structure / field / access / cost validation without execution. */
11225
- async validateQuery(wid, query) {
11321
+ async validateQuery(wid, query2) {
11226
11322
  return this.fetch(`w/${wid}/queries/validate`, {
11227
11323
  method: "POST",
11228
- body: JSON.stringify({ query })
11324
+ body: JSON.stringify({ query: query2 })
11229
11325
  });
11230
11326
  }
11231
11327
  /** Bounded sample run (limit capped server-side). */
11232
- async previewQuery(wid, query, mode) {
11328
+ async previewQuery(wid, query2, mode) {
11233
11329
  return this.fetch(`w/${wid}/queries/preview`, {
11234
11330
  method: "POST",
11235
- body: JSON.stringify({ query, mode })
11331
+ body: JSON.stringify({ query: query2, mode })
11236
11332
  });
11237
11333
  }
11238
11334
  /** Execute a query (rows / count / aggregate). */
11239
- async runQuery(wid, query, mode) {
11335
+ async runQuery(wid, query2, mode) {
11240
11336
  return this.fetch(`w/${wid}/queries/run`, {
11241
11337
  method: "POST",
11242
- body: JSON.stringify({ query, mode })
11338
+ body: JSON.stringify({ query: query2, mode })
11243
11339
  });
11244
11340
  }
11245
11341
  };
@@ -11300,10 +11396,10 @@ var QualificationsApi = class extends BaseApiClient {
11300
11396
  }
11301
11397
  /** List qualifications in a workspace, paginated. */
11302
11398
  async getQualifications(wid, params) {
11303
- const query = new URLSearchParams();
11304
- if (params?.page !== void 0) query.set("page", String(params.page));
11305
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
11306
- 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()}` : "";
11307
11403
  return this.fetch(`w/${wid}/qualifications${qs}`);
11308
11404
  }
11309
11405
  /** Get a single qualification by ID. */
@@ -11318,9 +11414,9 @@ var QualificationsApi = class extends BaseApiClient {
11318
11414
  }
11319
11415
  // ===== Scenarios =====
11320
11416
  async listScenarios(wid, qualificationId, params) {
11321
- const query = new URLSearchParams();
11322
- if (params?.includeArchived) query.set("include_archived", "true");
11323
- 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()}` : "";
11324
11420
  return this.fetch(`w/${wid}/qualifications/${qualificationId}/scenarios${qs}`);
11325
11421
  }
11326
11422
  async createScenario(wid, qualificationId, data) {
@@ -11353,19 +11449,19 @@ var QualificationsApi = class extends BaseApiClient {
11353
11449
  * `workflowRevisionId`. Omitting both keeps the unfiltered list.
11354
11450
  */
11355
11451
  async listTestChatRuns(wid, workflowId, params) {
11356
- const query = new URLSearchParams();
11357
- 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));
11358
11454
  if (params?.assistantChatModelId !== void 0) {
11359
- query.set("assistantChatModelId", params.assistantChatModelId);
11455
+ query2.set("assistantChatModelId", params.assistantChatModelId);
11360
11456
  }
11361
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
11457
+ if (params?.limit !== void 0) query2.set("limit", String(params.limit));
11362
11458
  if (params?.workflowRevisionId !== void 0) {
11363
- query.set("workflow_revision_id", String(params.workflowRevisionId));
11459
+ query2.set("workflow_revision_id", String(params.workflowRevisionId));
11364
11460
  }
11365
11461
  if (params?.includeEarlierRevisions !== void 0) {
11366
- query.set("include_earlier_revisions", String(params.includeEarlierRevisions));
11462
+ query2.set("include_earlier_revisions", String(params.includeEarlierRevisions));
11367
11463
  }
11368
- const qs = query.toString() ? `?${query.toString()}` : "";
11464
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11369
11465
  return this.fetch(
11370
11466
  `w/${wid}/qualifications/workflows/${workflowId}/test-chat-runs${qs}`
11371
11467
  );
@@ -11380,11 +11476,11 @@ var QualificationsApi = class extends BaseApiClient {
11380
11476
  * revision it describes and whether it is the current one.
11381
11477
  */
11382
11478
  async listScenarioHealthSummaries(wid, workflowId, params) {
11383
- const query = new URLSearchParams();
11479
+ const query2 = new URLSearchParams();
11384
11480
  if (params?.workflowRevisionId !== void 0) {
11385
- query.set("workflow_revision_id", String(params.workflowRevisionId));
11481
+ query2.set("workflow_revision_id", String(params.workflowRevisionId));
11386
11482
  }
11387
- const qs = query.toString() ? `?${query.toString()}` : "";
11483
+ const qs = query2.toString() ? `?${query2.toString()}` : "";
11388
11484
  return this.fetch(
11389
11485
  `w/${wid}/qualifications/workflows/${workflowId}/scenario-health-summaries${qs}`
11390
11486
  );
@@ -11561,9 +11657,9 @@ var RoutingRulesApi = class extends BaseApiClient {
11561
11657
  async getRoutingRules(wid, filters) {
11562
11658
  const params = new URLSearchParams();
11563
11659
  appendFilters(params, filters);
11564
- const query = params.toString();
11660
+ const query2 = params.toString();
11565
11661
  return this.fetch(
11566
- `w/${wid}/routing${query ? `?${query}` : ""}`
11662
+ `w/${wid}/routing${query2 ? `?${query2}` : ""}`
11567
11663
  );
11568
11664
  }
11569
11665
  /** Read one rule. Requires the rule's endpoint read permission (`phones:read`, or `inboxes:read`). */
@@ -11669,10 +11765,10 @@ var SalesforceApi = class extends BaseApiClient {
11669
11765
  });
11670
11766
  }
11671
11767
  async getSalesforceReconciliationMatches(wid, params) {
11672
- const query = new URLSearchParams();
11673
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
11674
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
11675
- 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()}` : "";
11676
11772
  return this.fetch(
11677
11773
  `w/${wid}/app-connections/salesforce/reconciliation/matches${qs}`
11678
11774
  );
@@ -11709,11 +11805,11 @@ var SalesforceApi = class extends BaseApiClient {
11709
11805
  });
11710
11806
  }
11711
11807
  async getLinkedSalesforceMembers(wid, params) {
11712
- const query = new URLSearchParams();
11713
- if (params?.page !== void 0) query.set("page", String(params.page));
11714
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
11715
- if (params?.search?.trim()) query.set("search", params.search.trim());
11716
- 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()}` : "";
11717
11813
  return this.fetch(
11718
11814
  `w/${wid}/app-connections/salesforce/reconciliation/linked${qs}`
11719
11815
  );
@@ -11791,10 +11887,10 @@ var SalesforceApi = class extends BaseApiClient {
11791
11887
  * connection is parked for re-authorization.
11792
11888
  */
11793
11889
  async getSalesforceSyncLogs(wid, params) {
11794
- const query = new URLSearchParams();
11795
- if (params?.pageSize) query.set("pageSize", String(params.pageSize));
11796
- if (params?.cursor) query.set("cursor", params.cursor);
11797
- 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()}` : "";
11798
11894
  return this.fetch(
11799
11895
  `w/${wid}/app-connections/salesforce/sync/logs${qs}`
11800
11896
  );
@@ -11834,12 +11930,12 @@ var ConnectionSyncApi = class extends BaseApiClient {
11834
11930
  );
11835
11931
  }
11836
11932
  async getConnectionSyncCheckpoint(wid, connectionId, direction = "inbound", syncKey = "default") {
11837
- const query = new URLSearchParams({
11933
+ const query2 = new URLSearchParams({
11838
11934
  direction,
11839
11935
  sync_key: syncKey
11840
11936
  });
11841
11937
  return this.fetch(
11842
- `w/${wid}/app-connections/${connectionId}/sync/checkpoint?${query}`
11938
+ `w/${wid}/app-connections/${connectionId}/sync/checkpoint?${query2}`
11843
11939
  );
11844
11940
  }
11845
11941
  /**
@@ -11889,9 +11985,9 @@ var ConnectionSyncApi = class extends BaseApiClient {
11889
11985
  * ``boardId`` is only meaningful for multi-scope connectors (Monday).
11890
11986
  */
11891
11987
  async clearConnectionMemberExclusion(wid, connectionId, memberId, options) {
11892
- const query = options?.boardId ? `?board_id=${encodeURIComponent(options.boardId)}` : "";
11988
+ const query2 = options?.boardId ? `?board_id=${encodeURIComponent(options.boardId)}` : "";
11893
11989
  return this.fetch(
11894
- `w/${wid}/app-connections/${connectionId}/member-exclusions/${memberId}${query}`,
11990
+ `w/${wid}/app-connections/${connectionId}/member-exclusions/${memberId}${query2}`,
11895
11991
  { method: "DELETE" }
11896
11992
  );
11897
11993
  }
@@ -11983,12 +12079,12 @@ var ConnectionSyncApi = class extends BaseApiClient {
11983
12079
  }
11984
12080
  /** Vendor lists a `vendor_list` import can name (configuration only). */
11985
12081
  async listSubsetImportVendorLists(wid, connectionId, options) {
11986
- const query = new URLSearchParams({
12082
+ const query2 = new URLSearchParams({
11987
12083
  query: options?.query ?? "",
11988
12084
  limit: String(options?.limit ?? 50)
11989
12085
  });
11990
12086
  return this.fetch(
11991
- this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query}`)
12087
+ this.subsetImportsPath(wid, connectionId, `/vendor-lists?${query2}`)
11992
12088
  );
11993
12089
  }
11994
12090
  /** Remote fields a `field_filter` import can name, with their operators. */
@@ -12050,10 +12146,10 @@ var HubspotApi = class extends BaseApiClient {
12050
12146
  });
12051
12147
  }
12052
12148
  async getHubspotReconciliationMatches(wid, params) {
12053
- const query = new URLSearchParams();
12054
- if (params?.limit !== void 0) query.set("limit", String(params.limit));
12055
- if (params?.offset !== void 0) query.set("offset", String(params.offset));
12056
- 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()}` : "";
12057
12153
  return this.fetch(
12058
12154
  `w/${wid}/app-connections/hubspot/reconciliation/matches${qs}`
12059
12155
  );
@@ -12076,11 +12172,11 @@ var HubspotApi = class extends BaseApiClient {
12076
12172
  });
12077
12173
  }
12078
12174
  async getLinkedHubspotMembers(wid, params) {
12079
- const query = new URLSearchParams();
12080
- if (params?.page !== void 0) query.set("page", String(params.page));
12081
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
12082
- if (params?.search?.trim()) query.set("search", params.search.trim());
12083
- 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()}` : "";
12084
12180
  return this.fetch(
12085
12181
  `w/${wid}/app-connections/hubspot/reconciliation/linked${qs}`
12086
12182
  );
@@ -12140,10 +12236,10 @@ var HubspotApi = class extends BaseApiClient {
12140
12236
  * and Monday twins return), with cursor pagination.
12141
12237
  */
12142
12238
  async getHubspotSyncLogs(wid, params) {
12143
- const query = new URLSearchParams();
12144
- if (params?.pageSize) query.set("pageSize", String(params.pageSize));
12145
- if (params?.cursor) query.set("cursor", params.cursor);
12146
- 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()}` : "";
12147
12243
  return this.fetch(
12148
12244
  `w/${wid}/app-connections/hubspot/sync/logs${qs}`
12149
12245
  );
@@ -12277,8 +12373,8 @@ var SitesApi = class extends BaseApiClient {
12277
12373
  * (e.g. one the builder has selected but not yet saved).
12278
12374
  */
12279
12375
  async getThemeSettings(wid, siteId, theme) {
12280
- const query = theme ? `?theme=${encodeURIComponent(theme)}` : "";
12281
- 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}`);
12282
12378
  }
12283
12379
  /** Save values for the active theme's settings (validated against the schema). */
12284
12380
  async updateThemeSettings(wid, siteId, values) {
@@ -12424,9 +12520,9 @@ var SitesApi = class extends BaseApiClient {
12424
12520
  if (parentId !== void 0 && parentId !== null) {
12425
12521
  params.append("parent_id", parentId.toString());
12426
12522
  }
12427
- const query = params.toString();
12523
+ const query2 = params.toString();
12428
12524
  return this.fetch(
12429
- `w/${wid}/sites/${siteId}/menu/items${query ? `?${query}` : ""}`
12525
+ `w/${wid}/sites/${siteId}/menu/items${query2 ? `?${query2}` : ""}`
12430
12526
  );
12431
12527
  }
12432
12528
  /** Create a new menu item in a site's navigation. */
@@ -12667,8 +12763,8 @@ function supportRequestParams(params) {
12667
12763
  if (params?.linearLinked !== void 0) {
12668
12764
  searchParams.append("linearLinked", params.linearLinked.toString());
12669
12765
  }
12670
- const query = searchParams.toString();
12671
- return query ? `?${query}` : "";
12766
+ const query2 = searchParams.toString();
12767
+ return query2 ? `?${query2}` : "";
12672
12768
  }
12673
12769
  var SupportRequestsApi = class extends BaseApiClient {
12674
12770
  async listSupportRequests(params) {
@@ -13060,8 +13156,8 @@ function withFilters(params, options) {
13060
13156
  return params;
13061
13157
  }
13062
13158
  function suffix(params) {
13063
- const query = params.toString();
13064
- return query ? `?${query}` : "";
13159
+ const query2 = params.toString();
13160
+ return query2 ? `?${query2}` : "";
13065
13161
  }
13066
13162
  var TrackedLinksApi = class extends BaseApiClient {
13067
13163
  /** Header counters plus whether shortening is configured and enabled. */
@@ -13194,8 +13290,8 @@ var JourneysApi = class extends BaseApiClient {
13194
13290
  * for is the state it is in.
13195
13291
  */
13196
13292
  async deleteJourneyDraft(wid, journeyId, expectedUpdatedAt) {
13197
- const query = new URLSearchParams({ expectedUpdatedAt });
13198
- 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()}`, {
13199
13295
  method: "DELETE"
13200
13296
  });
13201
13297
  }
@@ -13206,11 +13302,11 @@ var JourneysApi = class extends BaseApiClient {
13206
13302
  * {@link getJourneyAuthoring} for the editor's expression-carrying shape.
13207
13303
  */
13208
13304
  async getJourneys(wid, includeArchived = false, pageOpts) {
13209
- const query = new URLSearchParams();
13210
- if (includeArchived) query.set("include_archived", "true");
13211
- if (pageOpts?.page !== void 0) query.set("page", String(pageOpts.page));
13212
- if (pageOpts?.pageSize !== void 0) query.set("pageSize", String(pageOpts.pageSize));
13213
- 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()}` : "";
13214
13310
  return this.fetch(`w/${wid}/journeys${qs}`);
13215
13311
  }
13216
13312
  /**
@@ -13336,9 +13432,9 @@ var JourneysApi = class extends BaseApiClient {
13336
13432
  * `additionalMembers` is the size of a batch about to be enrolled.
13337
13433
  */
13338
13434
  async getJourneySendEstimate(wid, journeyId, additionalMembers = 0) {
13339
- const query = new URLSearchParams({ additionalMembers: String(additionalMembers) });
13435
+ const query2 = new URLSearchParams({ additionalMembers: String(additionalMembers) });
13340
13436
  return this.fetch(
13341
- `w/${wid}/journeys/${journeyId}/send-estimate?${query.toString()}`
13437
+ `w/${wid}/journeys/${journeyId}/send-estimate?${query2.toString()}`
13342
13438
  );
13343
13439
  }
13344
13440
  /** Create a step within a journey. */
@@ -13427,9 +13523,9 @@ var JourneysApi = class extends BaseApiClient {
13427
13523
  qs.set("currentTaskId", String(params.currentTaskId));
13428
13524
  if (params?.runtimeFailureEdgeId !== void 0)
13429
13525
  qs.set("runtimeFailureEdgeId", String(params.runtimeFailureEdgeId));
13430
- const query = qs.toString();
13526
+ const query2 = qs.toString();
13431
13527
  return this.fetch(
13432
- `w/${wid}/journeys/${journeyId}/members${query ? `?${query}` : ""}`
13528
+ `w/${wid}/journeys/${journeyId}/members${query2 ? `?${query2}` : ""}`
13433
13529
  );
13434
13530
  }
13435
13531
  /** Enroll one or more members in a journey. */
@@ -13488,9 +13584,9 @@ var JourneysApi = class extends BaseApiClient {
13488
13584
  if (params.zeroEmissionOnly !== void 0) {
13489
13585
  qs.set("zeroEmissionOnly", String(params.zeroEmissionOnly));
13490
13586
  }
13491
- const query = qs.toString();
13587
+ const query2 = qs.toString();
13492
13588
  return this.fetch(
13493
- `w/${wid}/journeys/${journeyId}/enrollments/${memberJourneyId}/status-log` + (query ? `?${query}` : "")
13589
+ `w/${wid}/journeys/${journeyId}/enrollments/${memberJourneyId}/status-log` + (query2 ? `?${query2}` : "")
13494
13590
  );
13495
13591
  }
13496
13592
  /** List members currently or historically associated with one journey step. */
@@ -13500,9 +13596,9 @@ var JourneysApi = class extends BaseApiClient {
13500
13596
  if (params.mode) qs.set("mode", params.mode);
13501
13597
  if (params.page) qs.set("page", String(params.page));
13502
13598
  if (params.pageSize) qs.set("pageSize", String(params.pageSize));
13503
- const query = qs.toString();
13599
+ const query2 = qs.toString();
13504
13600
  return this.fetch(
13505
- `w/${wid}/journeys/${journeyId}/steps/${stepUuid}/members${query ? `?${query}` : ""}`
13601
+ `w/${wid}/journeys/${journeyId}/steps/${stepUuid}/members${query2 ? `?${query2}` : ""}`
13506
13602
  );
13507
13603
  }
13508
13604
  /** Get member counts by status for each journey step. */
@@ -13612,8 +13708,8 @@ var WorkflowsApi = class extends BaseApiClient {
13612
13708
  * portion so the active count can be derived.
13613
13709
  */
13614
13710
  async getWorkflowDiagram(wid, id, options = {}) {
13615
- const query = options.includeArchived ? "?include_archived=true" : "";
13616
- 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}`);
13617
13713
  }
13618
13714
  /**
13619
13715
  * The outline a Workflow's diagram is drawn from: its active Tasks, its
@@ -13927,36 +14023,36 @@ var WorkflowsApi = class extends BaseApiClient {
13927
14023
  };
13928
14024
 
13929
14025
  // src/api/workflow-notes.ts
13930
- function notesPath(wid, workflowId, noteId, query) {
14026
+ function notesPath(wid, workflowId, noteId, query2) {
13931
14027
  const base = noteId == null ? `w/${wid}/workflows/${workflowId}/notes` : `w/${wid}/workflows/${workflowId}/notes/${noteId}`;
13932
- if (query?.workflowRevisionId == null) return base;
14028
+ if (query2?.workflowRevisionId == null) return base;
13933
14029
  const params = new URLSearchParams({
13934
- workflowRevisionId: String(query.workflowRevisionId)
14030
+ workflowRevisionId: String(query2.workflowRevisionId)
13935
14031
  });
13936
14032
  return `${base}?${params.toString()}`;
13937
14033
  }
13938
14034
  var WorkflowNotesApi = class extends BaseApiClient {
13939
14035
  /** List notes for a workflow root (draft unless `workflowRevisionId` is set). */
13940
- async getWorkflowNotes(wid, workflowId, query) {
13941
- 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));
13942
14038
  }
13943
14039
  /** Create a new note on a workflow's draft (or a pinned draft revision). */
13944
- async createWorkflowNote(wid, workflowId, data, query) {
13945
- 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), {
13946
14042
  method: "POST",
13947
14043
  body: JSON.stringify(data)
13948
14044
  });
13949
14045
  }
13950
14046
  /** Update an existing workflow note with partial data. */
13951
- async updateWorkflowNote(wid, workflowId, noteId, data, query) {
13952
- 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), {
13953
14049
  method: "PUT",
13954
14050
  body: JSON.stringify(data)
13955
14051
  });
13956
14052
  }
13957
14053
  /** Delete a workflow note by ID. */
13958
- async deleteWorkflowNote(wid, workflowId, noteId, query) {
13959
- return this.fetch(notesPath(wid, workflowId, noteId, query), {
14054
+ async deleteWorkflowNote(wid, workflowId, noteId, query2) {
14055
+ return this.fetch(notesPath(wid, workflowId, noteId, query2), {
13960
14056
  method: "DELETE"
13961
14057
  });
13962
14058
  }
@@ -14324,10 +14420,10 @@ var WorkspacesApi = class extends BaseApiClient {
14324
14420
  }
14325
14421
  /** List client workspaces managed by this reseller workspace, paginated. */
14326
14422
  async getResellerWorkspaces(wid, params) {
14327
- const query = new URLSearchParams();
14328
- if (params?.page !== void 0) query.set("page", String(params.page));
14329
- if (params?.pageSize !== void 0) query.set("pageSize", String(params.pageSize));
14330
- 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()}` : "";
14331
14427
  return this.fetch(`w/${wid}/reseller/workspaces${qs}`);
14332
14428
  }
14333
14429
  /** Create a new client workspace under a reseller workspace. */
@@ -14737,6 +14833,81 @@ var WorkspacesApi = class extends BaseApiClient {
14737
14833
  }
14738
14834
  };
14739
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
+
14740
14911
  // src/client/api-modules.ts
14741
14912
  function createApiModules(apiKey, baseUrl, customFetch) {
14742
14913
  return {
@@ -14772,6 +14943,8 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14772
14943
  healthie: new HealthieApi(apiKey, baseUrl, customFetch),
14773
14944
  documoFax: new DocumoFaxApi(apiKey, baseUrl, customFetch),
14774
14945
  claimMd: new ClaimMdApi(apiKey, baseUrl, customFetch),
14946
+ stedi: new StediApi(apiKey, baseUrl, customFetch),
14947
+ medicalBilling: new MedicalBillingApi(apiKey, baseUrl, customFetch),
14775
14948
  hubspot: new HubspotApi(apiKey, baseUrl, customFetch),
14776
14949
  features: new FeaturesApi(apiKey, baseUrl, customFetch),
14777
14950
  files: new FilesApi(apiKey, baseUrl, customFetch),
@@ -15222,6 +15395,23 @@ var WORKSPACE_METHOD_NAMES = [
15222
15395
  "getDiscordGuilds",
15223
15396
  "getDiscordThreads",
15224
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",
15225
15415
  "getDocumoFaxSetup",
15226
15416
  "listDocumoFaxes",
15227
15417
  "getDocumoFaxStatus",
@@ -16631,7 +16821,7 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
16631
16821
  }
16632
16822
 
16633
16823
  // src/client/bindings/integrations.ts
16634
- 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) {
16635
16825
  target.getMondayBoards = mondayIntegration.getBoards.bind(mondayIntegration);
16636
16826
  target.getMondayBoardColumns = mondayIntegration.getBoardColumns.bind(mondayIntegration);
16637
16827
  target.getMondayBoardGroups = mondayIntegration.getBoardGroups.bind(mondayIntegration);
@@ -16743,6 +16933,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
16743
16933
  target.installClaimMd = claimMd.installClaimMd.bind(claimMd);
16744
16934
  target.configureClaimMd = claimMd.configureClaimMd.bind(claimMd);
16745
16935
  target.verifyClaimMdKey = claimMd.verifyClaimMdKey.bind(claimMd);
16936
+ target.getStediConnections = stedi.getStediConnections.bind(stedi);
16937
+ target.getStediConnectionStatus = stedi.getStediConnectionStatus.bind(stedi);
16746
16938
  target.configureHealthie = healthie.configureHealthie.bind(healthie);
16747
16939
  target.getHealthieStatus = healthie.getHealthieStatus.bind(healthie);
16748
16940
  target.listHealthieProviders = healthie.listHealthieProviders.bind(healthie);
@@ -17160,6 +17352,21 @@ var GravityRailClient = class {
17160
17352
  // WorkspaceInvitations is exposed publicly for backward compatibility
17161
17353
  workspaceInvitations;
17162
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;
17163
17370
  apis;
17164
17371
  // Tasks API
17165
17372
  getTasks;
@@ -18243,6 +18450,8 @@ var GravityRailClient = class {
18243
18450
  installClaimMd;
18244
18451
  configureClaimMd;
18245
18452
  verifyClaimMdKey;
18453
+ getStediConnections;
18454
+ getStediConnectionStatus;
18246
18455
  configurePatientSync;
18247
18456
  getPatientSyncStatus;
18248
18457
  deletePatientSyncConnection;
@@ -18415,6 +18624,39 @@ var GravityRailClient = class {
18415
18624
  constructor(apiKey, baseUrl, customFetch) {
18416
18625
  const apis = createApiModules(apiKey, baseUrl, customFetch);
18417
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
+ );
18418
18660
  this.workspaceInvitations = apis.workspaceInvitations;
18419
18661
  bindTasksMethods(this, apis.tasks, apis.abilities);
18420
18662
  bindChatsMethods(this, apis.chats);
@@ -18480,6 +18722,7 @@ var GravityRailClient = class {
18480
18722
  apis.healthie,
18481
18723
  apis.documoFax,
18482
18724
  apis.claimMd,
18725
+ apis.stedi,
18483
18726
  apis.salesforce,
18484
18727
  apis.hubspot,
18485
18728
  apis.appConnections,
@@ -18789,6 +19032,8 @@ function pathDraftToStorage(draft, original) {
18789
19032
  EventRuleEventType,
18790
19033
  EventRuleObjectType,
18791
19034
  EventsApi,
19035
+ FaxDocumentRefusal,
19036
+ FaxRunRefusal,
18792
19037
  FeatureCategory,
18793
19038
  FeatureVisibility,
18794
19039
  FeaturesApi,
@@ -18956,6 +19201,7 @@ function pathDraftToStorage(draft, original) {
18956
19201
  UpdateMemberContactPointRequestPurpose,
18957
19202
  UpdateMemberContactPointRequestSharing,
18958
19203
  VoiceApi,
19204
+ VoiceIntegrityUseCase,
18959
19205
  WIDGET_SLUGS,
18960
19206
  WorkflowNotesApi,
18961
19207
  WorkflowRoutingMode,