@djangocfg/api 1.2.32 → 1.2.34

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.
Files changed (52) hide show
  1. package/dist/index.cjs +3306 -5
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +75 -2
  4. package/dist/index.d.ts +75 -2
  5. package/dist/index.mjs +3303 -5
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +2 -2
  8. package/src/cfg/generated/_utils/fetchers/cfg__accounts.ts +44 -0
  9. package/src/cfg/generated/_utils/fetchers/cfg__accounts__auth.ts +22 -0
  10. package/src/cfg/generated/_utils/fetchers/cfg__accounts__user_profile.ts +132 -0
  11. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo.ts +22 -0
  12. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_admin_api.ts +110 -0
  13. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_auth.ts +22 -0
  14. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_monitoring.ts +88 -0
  15. package/src/cfg/generated/_utils/fetchers/cfg__centrifugo__centrifugo_testing.ts +66 -0
  16. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_api_zones.ts +22 -0
  17. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_charts.ts +44 -0
  18. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_commands.ts +44 -0
  19. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_config.ts +22 -0
  20. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_overview.ts +22 -0
  21. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_statistics.ts +22 -0
  22. package/src/cfg/generated/_utils/fetchers/cfg__dashboard__dashboard_system.ts +44 -0
  23. package/src/cfg/generated/_utils/fetchers/cfg__endpoints.ts +44 -0
  24. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_api_keys.ts +66 -0
  25. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_charts.ts +154 -0
  26. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_configuration.ts +44 -0
  27. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_monitoring.ts +88 -0
  28. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_proto_files.ts +22 -0
  29. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_services.ts +66 -0
  30. package/src/cfg/generated/_utils/fetchers/cfg__grpc__grpc_testing.ts +66 -0
  31. package/src/cfg/generated/_utils/fetchers/cfg__health.ts +44 -0
  32. package/src/cfg/generated/_utils/fetchers/cfg__knowbase.ts +1078 -0
  33. package/src/cfg/generated/_utils/fetchers/cfg__leads.ts +110 -0
  34. package/src/cfg/generated/_utils/fetchers/cfg__leads__lead_submission.ts +22 -0
  35. package/src/cfg/generated/_utils/fetchers/cfg__newsletter.ts +66 -0
  36. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__bulk_email.ts +22 -0
  37. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__campaigns.ts +110 -0
  38. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__logs.ts +22 -0
  39. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__newsletters.ts +44 -0
  40. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__subscriptions.ts +66 -0
  41. package/src/cfg/generated/_utils/fetchers/cfg__newsletter__testing.ts +22 -0
  42. package/src/cfg/generated/_utils/fetchers/cfg__payments.ts +132 -0
  43. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_jobs.ts +110 -0
  44. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_monitoring.ts +44 -0
  45. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_queues.ts +22 -0
  46. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_registries.ts +154 -0
  47. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_schedules.ts +88 -0
  48. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_testing.ts +88 -0
  49. package/src/cfg/generated/_utils/fetchers/cfg__rq__rq_workers.ts +22 -0
  50. package/src/cfg/generated/_utils/fetchers/cfg__support.ts +220 -0
  51. package/src/cfg/generated/index.ts +4 -0
  52. package/src/cfg/generated/validation-events.ts +133 -0
package/dist/index.cjs CHANGED
@@ -169,6 +169,8 @@ __export(index_exports, {
169
169
  deleteRqTestingCleanupDestroy: () => deleteRqTestingCleanupDestroy,
170
170
  deleteSupportTicketsDestroy: () => deleteSupportTicketsDestroy,
171
171
  deleteSupportTicketsMessagesDestroy: () => deleteSupportTicketsMessagesDestroy,
172
+ dispatchValidationError: () => dispatchValidationError,
173
+ formatZodError: () => formatZodError,
172
174
  getAPIInstance: () => getAPIInstance,
173
175
  getAccountsProfileRetrieve: () => getAccountsProfileRetrieve,
174
176
  getCentrifugoAuthTokenRetrieve: () => getCentrifugoAuthTokenRetrieve,
@@ -288,6 +290,7 @@ __export(index_exports, {
288
290
  getSupportTicketsMessagesRetrieve: () => getSupportTicketsMessagesRetrieve,
289
291
  getSupportTicketsRetrieve: () => getSupportTicketsRetrieve,
290
292
  isAPIConfigured: () => isAPIConfigured,
293
+ onValidationError: () => onValidationError,
291
294
  partialUpdateAccountsProfilePartialPartialUpdate: () => partialUpdateAccountsProfilePartialPartialUpdate,
292
295
  partialUpdateAccountsProfilePartialUpdate: () => partialUpdateAccountsProfilePartialUpdate,
293
296
  partialUpdateAccountsProfileUpdatePartialUpdate: () => partialUpdateAccountsProfileUpdatePartialUpdate,
@@ -7246,6 +7249,52 @@ var WorkerStatsSchema = import_zod256.z.object({
7246
7249
  workers: import_zod256.z.array(WorkerSchema).optional()
7247
7250
  });
7248
7251
 
7252
+ // src/cfg/generated/validation-events.ts
7253
+ function dispatchValidationError(detail) {
7254
+ if (typeof window === "undefined") {
7255
+ return;
7256
+ }
7257
+ try {
7258
+ const event = new CustomEvent("zod-validation-error", {
7259
+ detail,
7260
+ bubbles: true,
7261
+ cancelable: false
7262
+ });
7263
+ window.dispatchEvent(event);
7264
+ } catch (error) {
7265
+ console.warn("Failed to dispatch validation error event:", error);
7266
+ }
7267
+ }
7268
+ function onValidationError(callback) {
7269
+ if (typeof window === "undefined") {
7270
+ return () => {
7271
+ };
7272
+ }
7273
+ const handler = (event) => {
7274
+ if (event instanceof CustomEvent) {
7275
+ callback(event.detail);
7276
+ }
7277
+ };
7278
+ window.addEventListener("zod-validation-error", handler);
7279
+ return () => {
7280
+ window.removeEventListener("zod-validation-error", handler);
7281
+ };
7282
+ }
7283
+ function formatZodError(error) {
7284
+ const issues = error.issues.map((issue, index) => {
7285
+ const path = issue.path.join(".") || "root";
7286
+ const parts = [`${index + 1}. ${path}: ${issue.message}`];
7287
+ if ("expected" in issue && issue.expected) {
7288
+ parts.push(` Expected: ${issue.expected}`);
7289
+ }
7290
+ if ("received" in issue && issue.received) {
7291
+ parts.push(` Received: ${issue.received}`);
7292
+ }
7293
+ return parts.join("\n");
7294
+ });
7295
+ return issues.join("\n");
7296
+ }
7297
+
7249
7298
  // src/cfg/generated/_utils/fetchers/index.ts
7250
7299
  var fetchers_exports = {};
7251
7300
  __export(fetchers_exports, {
@@ -7529,6 +7578,25 @@ Method: POST`,
7529
7578
  });
7530
7579
  }
7531
7580
  import_consola2.consola.error("Response data:", response);
7581
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7582
+ try {
7583
+ const event = new CustomEvent("zod-validation-error", {
7584
+ detail: {
7585
+ operation: "createAccountsOtpRequestCreate",
7586
+ path: "/cfg/accounts/otp/request/",
7587
+ method: "POST",
7588
+ error,
7589
+ response,
7590
+ timestamp: /* @__PURE__ */ new Date()
7591
+ },
7592
+ bubbles: true,
7593
+ cancelable: false
7594
+ });
7595
+ window.dispatchEvent(event);
7596
+ } catch (eventError) {
7597
+ import_consola2.consola.warn("Failed to dispatch validation error event:", eventError);
7598
+ }
7599
+ }
7532
7600
  throw error;
7533
7601
  }
7534
7602
  }
@@ -7558,6 +7626,25 @@ Method: POST`,
7558
7626
  });
7559
7627
  }
7560
7628
  import_consola2.consola.error("Response data:", response);
7629
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7630
+ try {
7631
+ const event = new CustomEvent("zod-validation-error", {
7632
+ detail: {
7633
+ operation: "createAccountsOtpVerifyCreate",
7634
+ path: "/cfg/accounts/otp/verify/",
7635
+ method: "POST",
7636
+ error,
7637
+ response,
7638
+ timestamp: /* @__PURE__ */ new Date()
7639
+ },
7640
+ bubbles: true,
7641
+ cancelable: false
7642
+ });
7643
+ window.dispatchEvent(event);
7644
+ } catch (eventError) {
7645
+ import_consola2.consola.warn("Failed to dispatch validation error event:", eventError);
7646
+ }
7647
+ }
7561
7648
  throw error;
7562
7649
  }
7563
7650
  }
@@ -7590,6 +7677,25 @@ Method: POST`,
7590
7677
  });
7591
7678
  }
7592
7679
  import_consola3.consola.error("Response data:", response);
7680
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7681
+ try {
7682
+ const event = new CustomEvent("zod-validation-error", {
7683
+ detail: {
7684
+ operation: "createAccountsTokenRefreshCreate",
7685
+ path: "/cfg/accounts/token/refresh/",
7686
+ method: "POST",
7687
+ error,
7688
+ response,
7689
+ timestamp: /* @__PURE__ */ new Date()
7690
+ },
7691
+ bubbles: true,
7692
+ cancelable: false
7693
+ });
7694
+ window.dispatchEvent(event);
7695
+ } catch (eventError) {
7696
+ import_consola3.consola.warn("Failed to dispatch validation error event:", eventError);
7697
+ }
7698
+ }
7593
7699
  throw error;
7594
7700
  }
7595
7701
  }
@@ -7622,6 +7728,25 @@ Method: GET`,
7622
7728
  });
7623
7729
  }
7624
7730
  import_consola4.consola.error("Response data:", response);
7731
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7732
+ try {
7733
+ const event = new CustomEvent("zod-validation-error", {
7734
+ detail: {
7735
+ operation: "getAccountsProfileRetrieve",
7736
+ path: "/cfg/accounts/profile/",
7737
+ method: "GET",
7738
+ error,
7739
+ response,
7740
+ timestamp: /* @__PURE__ */ new Date()
7741
+ },
7742
+ bubbles: true,
7743
+ cancelable: false
7744
+ });
7745
+ window.dispatchEvent(event);
7746
+ } catch (eventError) {
7747
+ import_consola4.consola.warn("Failed to dispatch validation error event:", eventError);
7748
+ }
7749
+ }
7625
7750
  throw error;
7626
7751
  }
7627
7752
  }
@@ -7651,6 +7776,25 @@ Method: POST`,
7651
7776
  });
7652
7777
  }
7653
7778
  import_consola4.consola.error("Response data:", response);
7779
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7780
+ try {
7781
+ const event = new CustomEvent("zod-validation-error", {
7782
+ detail: {
7783
+ operation: "createAccountsProfileAvatarCreate",
7784
+ path: "/cfg/accounts/profile/avatar/",
7785
+ method: "POST",
7786
+ error,
7787
+ response,
7788
+ timestamp: /* @__PURE__ */ new Date()
7789
+ },
7790
+ bubbles: true,
7791
+ cancelable: false
7792
+ });
7793
+ window.dispatchEvent(event);
7794
+ } catch (eventError) {
7795
+ import_consola4.consola.warn("Failed to dispatch validation error event:", eventError);
7796
+ }
7797
+ }
7654
7798
  throw error;
7655
7799
  }
7656
7800
  }
@@ -7680,6 +7824,25 @@ Method: PUT`,
7680
7824
  });
7681
7825
  }
7682
7826
  import_consola4.consola.error("Response data:", response);
7827
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7828
+ try {
7829
+ const event = new CustomEvent("zod-validation-error", {
7830
+ detail: {
7831
+ operation: "partialUpdateAccountsProfilePartialUpdate",
7832
+ path: "/cfg/accounts/profile/partial/",
7833
+ method: "PUT",
7834
+ error,
7835
+ response,
7836
+ timestamp: /* @__PURE__ */ new Date()
7837
+ },
7838
+ bubbles: true,
7839
+ cancelable: false
7840
+ });
7841
+ window.dispatchEvent(event);
7842
+ } catch (eventError) {
7843
+ import_consola4.consola.warn("Failed to dispatch validation error event:", eventError);
7844
+ }
7845
+ }
7683
7846
  throw error;
7684
7847
  }
7685
7848
  }
@@ -7709,6 +7872,25 @@ Method: PATCH`,
7709
7872
  });
7710
7873
  }
7711
7874
  import_consola4.consola.error("Response data:", response);
7875
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7876
+ try {
7877
+ const event = new CustomEvent("zod-validation-error", {
7878
+ detail: {
7879
+ operation: "partialUpdateAccountsProfilePartialPartialUpdate",
7880
+ path: "/cfg/accounts/profile/partial/",
7881
+ method: "PATCH",
7882
+ error,
7883
+ response,
7884
+ timestamp: /* @__PURE__ */ new Date()
7885
+ },
7886
+ bubbles: true,
7887
+ cancelable: false
7888
+ });
7889
+ window.dispatchEvent(event);
7890
+ } catch (eventError) {
7891
+ import_consola4.consola.warn("Failed to dispatch validation error event:", eventError);
7892
+ }
7893
+ }
7712
7894
  throw error;
7713
7895
  }
7714
7896
  }
@@ -7738,6 +7920,25 @@ Method: PUT`,
7738
7920
  });
7739
7921
  }
7740
7922
  import_consola4.consola.error("Response data:", response);
7923
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7924
+ try {
7925
+ const event = new CustomEvent("zod-validation-error", {
7926
+ detail: {
7927
+ operation: "updateAccountsProfileUpdateUpdate",
7928
+ path: "/cfg/accounts/profile/update/",
7929
+ method: "PUT",
7930
+ error,
7931
+ response,
7932
+ timestamp: /* @__PURE__ */ new Date()
7933
+ },
7934
+ bubbles: true,
7935
+ cancelable: false
7936
+ });
7937
+ window.dispatchEvent(event);
7938
+ } catch (eventError) {
7939
+ import_consola4.consola.warn("Failed to dispatch validation error event:", eventError);
7940
+ }
7941
+ }
7741
7942
  throw error;
7742
7943
  }
7743
7944
  }
@@ -7767,6 +7968,25 @@ Method: PATCH`,
7767
7968
  });
7768
7969
  }
7769
7970
  import_consola4.consola.error("Response data:", response);
7971
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
7972
+ try {
7973
+ const event = new CustomEvent("zod-validation-error", {
7974
+ detail: {
7975
+ operation: "partialUpdateAccountsProfileUpdatePartialUpdate",
7976
+ path: "/cfg/accounts/profile/update/",
7977
+ method: "PATCH",
7978
+ error,
7979
+ response,
7980
+ timestamp: /* @__PURE__ */ new Date()
7981
+ },
7982
+ bubbles: true,
7983
+ cancelable: false
7984
+ });
7985
+ window.dispatchEvent(event);
7986
+ } catch (eventError) {
7987
+ import_consola4.consola.warn("Failed to dispatch validation error event:", eventError);
7988
+ }
7989
+ }
7770
7990
  throw error;
7771
7991
  }
7772
7992
  }
@@ -7799,6 +8019,25 @@ Method: GET`,
7799
8019
  });
7800
8020
  }
7801
8021
  import_consola5.consola.error("Response data:", response);
8022
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8023
+ try {
8024
+ const event = new CustomEvent("zod-validation-error", {
8025
+ detail: {
8026
+ operation: "getCentrifugoMonitorChannelsRetrieve",
8027
+ path: "/cfg/centrifugo/monitor/channels/",
8028
+ method: "GET",
8029
+ error,
8030
+ response,
8031
+ timestamp: /* @__PURE__ */ new Date()
8032
+ },
8033
+ bubbles: true,
8034
+ cancelable: false
8035
+ });
8036
+ window.dispatchEvent(event);
8037
+ } catch (eventError) {
8038
+ import_consola5.consola.warn("Failed to dispatch validation error event:", eventError);
8039
+ }
8040
+ }
7802
8041
  throw error;
7803
8042
  }
7804
8043
  }
@@ -7836,6 +8075,25 @@ Method: POST`,
7836
8075
  });
7837
8076
  }
7838
8077
  import_consola6.consola.error("Response data:", response);
8078
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8079
+ try {
8080
+ const event = new CustomEvent("zod-validation-error", {
8081
+ detail: {
8082
+ operation: "createCentrifugoServerChannelsCreate",
8083
+ path: "/cfg/centrifugo/server/channels/",
8084
+ method: "POST",
8085
+ error,
8086
+ response,
8087
+ timestamp: /* @__PURE__ */ new Date()
8088
+ },
8089
+ bubbles: true,
8090
+ cancelable: false
8091
+ });
8092
+ window.dispatchEvent(event);
8093
+ } catch (eventError) {
8094
+ import_consola6.consola.warn("Failed to dispatch validation error event:", eventError);
8095
+ }
8096
+ }
7839
8097
  throw error;
7840
8098
  }
7841
8099
  }
@@ -7865,6 +8123,25 @@ Method: POST`,
7865
8123
  });
7866
8124
  }
7867
8125
  import_consola6.consola.error("Response data:", response);
8126
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8127
+ try {
8128
+ const event = new CustomEvent("zod-validation-error", {
8129
+ detail: {
8130
+ operation: "createCentrifugoServerHistoryCreate",
8131
+ path: "/cfg/centrifugo/server/history/",
8132
+ method: "POST",
8133
+ error,
8134
+ response,
8135
+ timestamp: /* @__PURE__ */ new Date()
8136
+ },
8137
+ bubbles: true,
8138
+ cancelable: false
8139
+ });
8140
+ window.dispatchEvent(event);
8141
+ } catch (eventError) {
8142
+ import_consola6.consola.warn("Failed to dispatch validation error event:", eventError);
8143
+ }
8144
+ }
7868
8145
  throw error;
7869
8146
  }
7870
8147
  }
@@ -7894,6 +8171,25 @@ Method: POST`,
7894
8171
  });
7895
8172
  }
7896
8173
  import_consola6.consola.error("Response data:", response);
8174
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8175
+ try {
8176
+ const event = new CustomEvent("zod-validation-error", {
8177
+ detail: {
8178
+ operation: "createCentrifugoServerInfoCreate",
8179
+ path: "/cfg/centrifugo/server/info/",
8180
+ method: "POST",
8181
+ error,
8182
+ response,
8183
+ timestamp: /* @__PURE__ */ new Date()
8184
+ },
8185
+ bubbles: true,
8186
+ cancelable: false
8187
+ });
8188
+ window.dispatchEvent(event);
8189
+ } catch (eventError) {
8190
+ import_consola6.consola.warn("Failed to dispatch validation error event:", eventError);
8191
+ }
8192
+ }
7897
8193
  throw error;
7898
8194
  }
7899
8195
  }
@@ -7923,6 +8219,25 @@ Method: POST`,
7923
8219
  });
7924
8220
  }
7925
8221
  import_consola6.consola.error("Response data:", response);
8222
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8223
+ try {
8224
+ const event = new CustomEvent("zod-validation-error", {
8225
+ detail: {
8226
+ operation: "createCentrifugoServerPresenceCreate",
8227
+ path: "/cfg/centrifugo/server/presence/",
8228
+ method: "POST",
8229
+ error,
8230
+ response,
8231
+ timestamp: /* @__PURE__ */ new Date()
8232
+ },
8233
+ bubbles: true,
8234
+ cancelable: false
8235
+ });
8236
+ window.dispatchEvent(event);
8237
+ } catch (eventError) {
8238
+ import_consola6.consola.warn("Failed to dispatch validation error event:", eventError);
8239
+ }
8240
+ }
7926
8241
  throw error;
7927
8242
  }
7928
8243
  }
@@ -7952,6 +8267,25 @@ Method: POST`,
7952
8267
  });
7953
8268
  }
7954
8269
  import_consola6.consola.error("Response data:", response);
8270
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8271
+ try {
8272
+ const event = new CustomEvent("zod-validation-error", {
8273
+ detail: {
8274
+ operation: "createCentrifugoServerPresenceStatsCreate",
8275
+ path: "/cfg/centrifugo/server/presence-stats/",
8276
+ method: "POST",
8277
+ error,
8278
+ response,
8279
+ timestamp: /* @__PURE__ */ new Date()
8280
+ },
8281
+ bubbles: true,
8282
+ cancelable: false
8283
+ });
8284
+ window.dispatchEvent(event);
8285
+ } catch (eventError) {
8286
+ import_consola6.consola.warn("Failed to dispatch validation error event:", eventError);
8287
+ }
8288
+ }
7955
8289
  throw error;
7956
8290
  }
7957
8291
  }
@@ -7984,6 +8318,25 @@ Method: GET`,
7984
8318
  });
7985
8319
  }
7986
8320
  import_consola7.consola.error("Response data:", response);
8321
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8322
+ try {
8323
+ const event = new CustomEvent("zod-validation-error", {
8324
+ detail: {
8325
+ operation: "getCentrifugoAuthTokenRetrieve",
8326
+ path: "/cfg/centrifugo/auth/token/",
8327
+ method: "GET",
8328
+ error,
8329
+ response,
8330
+ timestamp: /* @__PURE__ */ new Date()
8331
+ },
8332
+ bubbles: true,
8333
+ cancelable: false
8334
+ });
8335
+ window.dispatchEvent(event);
8336
+ } catch (eventError) {
8337
+ import_consola7.consola.warn("Failed to dispatch validation error event:", eventError);
8338
+ }
8339
+ }
7987
8340
  throw error;
7988
8341
  }
7989
8342
  }
@@ -8016,6 +8369,25 @@ Method: GET`,
8016
8369
  });
8017
8370
  }
8018
8371
  import_consola8.consola.error("Response data:", response);
8372
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8373
+ try {
8374
+ const event = new CustomEvent("zod-validation-error", {
8375
+ detail: {
8376
+ operation: "getCentrifugoMonitorHealthRetrieve",
8377
+ path: "/cfg/centrifugo/monitor/health/",
8378
+ method: "GET",
8379
+ error,
8380
+ response,
8381
+ timestamp: /* @__PURE__ */ new Date()
8382
+ },
8383
+ bubbles: true,
8384
+ cancelable: false
8385
+ });
8386
+ window.dispatchEvent(event);
8387
+ } catch (eventError) {
8388
+ import_consola8.consola.warn("Failed to dispatch validation error event:", eventError);
8389
+ }
8390
+ }
8019
8391
  throw error;
8020
8392
  }
8021
8393
  }
@@ -8045,6 +8417,25 @@ Method: GET`,
8045
8417
  });
8046
8418
  }
8047
8419
  import_consola8.consola.error("Response data:", response);
8420
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8421
+ try {
8422
+ const event = new CustomEvent("zod-validation-error", {
8423
+ detail: {
8424
+ operation: "getCentrifugoMonitorOverviewRetrieve",
8425
+ path: "/cfg/centrifugo/monitor/overview/",
8426
+ method: "GET",
8427
+ error,
8428
+ response,
8429
+ timestamp: /* @__PURE__ */ new Date()
8430
+ },
8431
+ bubbles: true,
8432
+ cancelable: false
8433
+ });
8434
+ window.dispatchEvent(event);
8435
+ } catch (eventError) {
8436
+ import_consola8.consola.warn("Failed to dispatch validation error event:", eventError);
8437
+ }
8438
+ }
8048
8439
  throw error;
8049
8440
  }
8050
8441
  }
@@ -8074,6 +8465,25 @@ Method: GET`,
8074
8465
  });
8075
8466
  }
8076
8467
  import_consola8.consola.error("Response data:", response);
8468
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8469
+ try {
8470
+ const event = new CustomEvent("zod-validation-error", {
8471
+ detail: {
8472
+ operation: "getCentrifugoMonitorPublishesList",
8473
+ path: "/cfg/centrifugo/monitor/publishes/",
8474
+ method: "GET",
8475
+ error,
8476
+ response,
8477
+ timestamp: /* @__PURE__ */ new Date()
8478
+ },
8479
+ bubbles: true,
8480
+ cancelable: false
8481
+ });
8482
+ window.dispatchEvent(event);
8483
+ } catch (eventError) {
8484
+ import_consola8.consola.warn("Failed to dispatch validation error event:", eventError);
8485
+ }
8486
+ }
8077
8487
  throw error;
8078
8488
  }
8079
8489
  }
@@ -8103,6 +8513,25 @@ Method: GET`,
8103
8513
  });
8104
8514
  }
8105
8515
  import_consola8.consola.error("Response data:", response);
8516
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8517
+ try {
8518
+ const event = new CustomEvent("zod-validation-error", {
8519
+ detail: {
8520
+ operation: "getCentrifugoMonitorTimelineRetrieve",
8521
+ path: "/cfg/centrifugo/monitor/timeline/",
8522
+ method: "GET",
8523
+ error,
8524
+ response,
8525
+ timestamp: /* @__PURE__ */ new Date()
8526
+ },
8527
+ bubbles: true,
8528
+ cancelable: false
8529
+ });
8530
+ window.dispatchEvent(event);
8531
+ } catch (eventError) {
8532
+ import_consola8.consola.warn("Failed to dispatch validation error event:", eventError);
8533
+ }
8534
+ }
8106
8535
  throw error;
8107
8536
  }
8108
8537
  }
@@ -8135,6 +8564,25 @@ Method: POST`,
8135
8564
  });
8136
8565
  }
8137
8566
  import_consola9.consola.error("Response data:", response);
8567
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8568
+ try {
8569
+ const event = new CustomEvent("zod-validation-error", {
8570
+ detail: {
8571
+ operation: "createCentrifugoTestingPublishTestCreate",
8572
+ path: "/cfg/centrifugo/testing/publish-test/",
8573
+ method: "POST",
8574
+ error,
8575
+ response,
8576
+ timestamp: /* @__PURE__ */ new Date()
8577
+ },
8578
+ bubbles: true,
8579
+ cancelable: false
8580
+ });
8581
+ window.dispatchEvent(event);
8582
+ } catch (eventError) {
8583
+ import_consola9.consola.warn("Failed to dispatch validation error event:", eventError);
8584
+ }
8585
+ }
8138
8586
  throw error;
8139
8587
  }
8140
8588
  }
@@ -8164,6 +8612,25 @@ Method: POST`,
8164
8612
  });
8165
8613
  }
8166
8614
  import_consola9.consola.error("Response data:", response);
8615
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8616
+ try {
8617
+ const event = new CustomEvent("zod-validation-error", {
8618
+ detail: {
8619
+ operation: "createCentrifugoTestingPublishWithLoggingCreate",
8620
+ path: "/cfg/centrifugo/testing/publish-with-logging/",
8621
+ method: "POST",
8622
+ error,
8623
+ response,
8624
+ timestamp: /* @__PURE__ */ new Date()
8625
+ },
8626
+ bubbles: true,
8627
+ cancelable: false
8628
+ });
8629
+ window.dispatchEvent(event);
8630
+ } catch (eventError) {
8631
+ import_consola9.consola.warn("Failed to dispatch validation error event:", eventError);
8632
+ }
8633
+ }
8167
8634
  throw error;
8168
8635
  }
8169
8636
  }
@@ -8193,6 +8660,25 @@ Method: POST`,
8193
8660
  });
8194
8661
  }
8195
8662
  import_consola9.consola.error("Response data:", response);
8663
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8664
+ try {
8665
+ const event = new CustomEvent("zod-validation-error", {
8666
+ detail: {
8667
+ operation: "createCentrifugoTestingSendAckCreate",
8668
+ path: "/cfg/centrifugo/testing/send-ack/",
8669
+ method: "POST",
8670
+ error,
8671
+ response,
8672
+ timestamp: /* @__PURE__ */ new Date()
8673
+ },
8674
+ bubbles: true,
8675
+ cancelable: false
8676
+ });
8677
+ window.dispatchEvent(event);
8678
+ } catch (eventError) {
8679
+ import_consola9.consola.warn("Failed to dispatch validation error event:", eventError);
8680
+ }
8681
+ }
8196
8682
  throw error;
8197
8683
  }
8198
8684
  }
@@ -8242,6 +8728,25 @@ Method: GET`,
8242
8728
  });
8243
8729
  }
8244
8730
  import_consola10.consola.error("Response data:", response);
8731
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8732
+ try {
8733
+ const event = new CustomEvent("zod-validation-error", {
8734
+ detail: {
8735
+ operation: "getDashboardApiZonesSummaryRetrieve",
8736
+ path: "/cfg/dashboard/api/zones/summary/",
8737
+ method: "GET",
8738
+ error,
8739
+ response,
8740
+ timestamp: /* @__PURE__ */ new Date()
8741
+ },
8742
+ bubbles: true,
8743
+ cancelable: false
8744
+ });
8745
+ window.dispatchEvent(event);
8746
+ } catch (eventError) {
8747
+ import_consola10.consola.warn("Failed to dispatch validation error event:", eventError);
8748
+ }
8749
+ }
8245
8750
  throw error;
8246
8751
  }
8247
8752
  }
@@ -8274,6 +8779,25 @@ Method: GET`,
8274
8779
  });
8275
8780
  }
8276
8781
  import_consola11.consola.error("Response data:", response);
8782
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8783
+ try {
8784
+ const event = new CustomEvent("zod-validation-error", {
8785
+ detail: {
8786
+ operation: "getDashboardApiChartsActivityRetrieve",
8787
+ path: "/cfg/dashboard/api/charts/activity/",
8788
+ method: "GET",
8789
+ error,
8790
+ response,
8791
+ timestamp: /* @__PURE__ */ new Date()
8792
+ },
8793
+ bubbles: true,
8794
+ cancelable: false
8795
+ });
8796
+ window.dispatchEvent(event);
8797
+ } catch (eventError) {
8798
+ import_consola11.consola.warn("Failed to dispatch validation error event:", eventError);
8799
+ }
8800
+ }
8277
8801
  throw error;
8278
8802
  }
8279
8803
  }
@@ -8308,6 +8832,25 @@ Method: GET`,
8308
8832
  });
8309
8833
  }
8310
8834
  import_consola11.consola.error("Response data:", response);
8835
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8836
+ try {
8837
+ const event = new CustomEvent("zod-validation-error", {
8838
+ detail: {
8839
+ operation: "getDashboardApiChartsRegistrationsRetrieve",
8840
+ path: "/cfg/dashboard/api/charts/registrations/",
8841
+ method: "GET",
8842
+ error,
8843
+ response,
8844
+ timestamp: /* @__PURE__ */ new Date()
8845
+ },
8846
+ bubbles: true,
8847
+ cancelable: false
8848
+ });
8849
+ window.dispatchEvent(event);
8850
+ } catch (eventError) {
8851
+ import_consola11.consola.warn("Failed to dispatch validation error event:", eventError);
8852
+ }
8853
+ }
8311
8854
  throw error;
8312
8855
  }
8313
8856
  }
@@ -8350,6 +8893,25 @@ Method: GET`,
8350
8893
  });
8351
8894
  }
8352
8895
  import_consola12.consola.error("Response data:", response);
8896
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8897
+ try {
8898
+ const event = new CustomEvent("zod-validation-error", {
8899
+ detail: {
8900
+ operation: "getDashboardApiCommandsHelpRetrieve",
8901
+ path: "/cfg/dashboard/api/commands/{id}/help/",
8902
+ method: "GET",
8903
+ error,
8904
+ response,
8905
+ timestamp: /* @__PURE__ */ new Date()
8906
+ },
8907
+ bubbles: true,
8908
+ cancelable: false
8909
+ });
8910
+ window.dispatchEvent(event);
8911
+ } catch (eventError) {
8912
+ import_consola12.consola.warn("Failed to dispatch validation error event:", eventError);
8913
+ }
8914
+ }
8353
8915
  throw error;
8354
8916
  }
8355
8917
  }
@@ -8384,6 +8946,25 @@ Method: GET`,
8384
8946
  });
8385
8947
  }
8386
8948
  import_consola12.consola.error("Response data:", response);
8949
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
8950
+ try {
8951
+ const event = new CustomEvent("zod-validation-error", {
8952
+ detail: {
8953
+ operation: "getDashboardApiCommandsSummaryRetrieve",
8954
+ path: "/cfg/dashboard/api/commands/summary/",
8955
+ method: "GET",
8956
+ error,
8957
+ response,
8958
+ timestamp: /* @__PURE__ */ new Date()
8959
+ },
8960
+ bubbles: true,
8961
+ cancelable: false
8962
+ });
8963
+ window.dispatchEvent(event);
8964
+ } catch (eventError) {
8965
+ import_consola12.consola.warn("Failed to dispatch validation error event:", eventError);
8966
+ }
8967
+ }
8387
8968
  throw error;
8388
8969
  }
8389
8970
  }
@@ -8416,6 +8997,25 @@ Method: GET`,
8416
8997
  });
8417
8998
  }
8418
8999
  import_consola13.consola.error("Response data:", response);
9000
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9001
+ try {
9002
+ const event = new CustomEvent("zod-validation-error", {
9003
+ detail: {
9004
+ operation: "getDashboardApiConfigConfigRetrieve",
9005
+ path: "/cfg/dashboard/api/config/config/",
9006
+ method: "GET",
9007
+ error,
9008
+ response,
9009
+ timestamp: /* @__PURE__ */ new Date()
9010
+ },
9011
+ bubbles: true,
9012
+ cancelable: false
9013
+ });
9014
+ window.dispatchEvent(event);
9015
+ } catch (eventError) {
9016
+ import_consola13.consola.warn("Failed to dispatch validation error event:", eventError);
9017
+ }
9018
+ }
8419
9019
  throw error;
8420
9020
  }
8421
9021
  }
@@ -8448,6 +9048,25 @@ Method: GET`,
8448
9048
  });
8449
9049
  }
8450
9050
  import_consola14.consola.error("Response data:", response);
9051
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9052
+ try {
9053
+ const event = new CustomEvent("zod-validation-error", {
9054
+ detail: {
9055
+ operation: "getDashboardApiOverviewOverviewRetrieve",
9056
+ path: "/cfg/dashboard/api/overview/overview/",
9057
+ method: "GET",
9058
+ error,
9059
+ response,
9060
+ timestamp: /* @__PURE__ */ new Date()
9061
+ },
9062
+ bubbles: true,
9063
+ cancelable: false
9064
+ });
9065
+ window.dispatchEvent(event);
9066
+ } catch (eventError) {
9067
+ import_consola14.consola.warn("Failed to dispatch validation error event:", eventError);
9068
+ }
9069
+ }
8451
9070
  throw error;
8452
9071
  }
8453
9072
  }
@@ -8490,6 +9109,25 @@ Method: GET`,
8490
9109
  });
8491
9110
  }
8492
9111
  import_consola15.consola.error("Response data:", response);
9112
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9113
+ try {
9114
+ const event = new CustomEvent("zod-validation-error", {
9115
+ detail: {
9116
+ operation: "getDashboardApiStatisticsUsersRetrieve",
9117
+ path: "/cfg/dashboard/api/statistics/users/",
9118
+ method: "GET",
9119
+ error,
9120
+ response,
9121
+ timestamp: /* @__PURE__ */ new Date()
9122
+ },
9123
+ bubbles: true,
9124
+ cancelable: false
9125
+ });
9126
+ window.dispatchEvent(event);
9127
+ } catch (eventError) {
9128
+ import_consola15.consola.warn("Failed to dispatch validation error event:", eventError);
9129
+ }
9130
+ }
8493
9131
  throw error;
8494
9132
  }
8495
9133
  }
@@ -8522,6 +9160,25 @@ Method: GET`,
8522
9160
  });
8523
9161
  }
8524
9162
  import_consola16.consola.error("Response data:", response);
9163
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9164
+ try {
9165
+ const event = new CustomEvent("zod-validation-error", {
9166
+ detail: {
9167
+ operation: "getDashboardApiSystemHealthRetrieve",
9168
+ path: "/cfg/dashboard/api/system/health/",
9169
+ method: "GET",
9170
+ error,
9171
+ response,
9172
+ timestamp: /* @__PURE__ */ new Date()
9173
+ },
9174
+ bubbles: true,
9175
+ cancelable: false
9176
+ });
9177
+ window.dispatchEvent(event);
9178
+ } catch (eventError) {
9179
+ import_consola16.consola.warn("Failed to dispatch validation error event:", eventError);
9180
+ }
9181
+ }
8525
9182
  throw error;
8526
9183
  }
8527
9184
  }
@@ -8551,6 +9208,25 @@ Method: GET`,
8551
9208
  });
8552
9209
  }
8553
9210
  import_consola16.consola.error("Response data:", response);
9211
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9212
+ try {
9213
+ const event = new CustomEvent("zod-validation-error", {
9214
+ detail: {
9215
+ operation: "getDashboardApiSystemMetricsRetrieve",
9216
+ path: "/cfg/dashboard/api/system/metrics/",
9217
+ method: "GET",
9218
+ error,
9219
+ response,
9220
+ timestamp: /* @__PURE__ */ new Date()
9221
+ },
9222
+ bubbles: true,
9223
+ cancelable: false
9224
+ });
9225
+ window.dispatchEvent(event);
9226
+ } catch (eventError) {
9227
+ import_consola16.consola.warn("Failed to dispatch validation error event:", eventError);
9228
+ }
9229
+ }
8554
9230
  throw error;
8555
9231
  }
8556
9232
  }
@@ -8583,6 +9259,25 @@ Method: GET`,
8583
9259
  });
8584
9260
  }
8585
9261
  import_consola17.consola.error("Response data:", response);
9262
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9263
+ try {
9264
+ const event = new CustomEvent("zod-validation-error", {
9265
+ detail: {
9266
+ operation: "getEndpointsDrfRetrieve",
9267
+ path: "/cfg/endpoints/drf/",
9268
+ method: "GET",
9269
+ error,
9270
+ response,
9271
+ timestamp: /* @__PURE__ */ new Date()
9272
+ },
9273
+ bubbles: true,
9274
+ cancelable: false
9275
+ });
9276
+ window.dispatchEvent(event);
9277
+ } catch (eventError) {
9278
+ import_consola17.consola.warn("Failed to dispatch validation error event:", eventError);
9279
+ }
9280
+ }
8586
9281
  throw error;
8587
9282
  }
8588
9283
  }
@@ -8612,6 +9307,25 @@ Method: GET`,
8612
9307
  });
8613
9308
  }
8614
9309
  import_consola17.consola.error("Response data:", response);
9310
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9311
+ try {
9312
+ const event = new CustomEvent("zod-validation-error", {
9313
+ detail: {
9314
+ operation: "getEndpointsUrlsRetrieve",
9315
+ path: "/cfg/endpoints/urls/",
9316
+ method: "GET",
9317
+ error,
9318
+ response,
9319
+ timestamp: /* @__PURE__ */ new Date()
9320
+ },
9321
+ bubbles: true,
9322
+ cancelable: false
9323
+ });
9324
+ window.dispatchEvent(event);
9325
+ } catch (eventError) {
9326
+ import_consola17.consola.warn("Failed to dispatch validation error event:", eventError);
9327
+ }
9328
+ }
8615
9329
  throw error;
8616
9330
  }
8617
9331
  }
@@ -8649,6 +9363,25 @@ Method: GET`,
8649
9363
  });
8650
9364
  }
8651
9365
  import_consola18.consola.error("Response data:", response);
9366
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9367
+ try {
9368
+ const event = new CustomEvent("zod-validation-error", {
9369
+ detail: {
9370
+ operation: "getGrpcApiKeysList",
9371
+ path: "/cfg/grpc/api-keys/",
9372
+ method: "GET",
9373
+ error,
9374
+ response,
9375
+ timestamp: /* @__PURE__ */ new Date()
9376
+ },
9377
+ bubbles: true,
9378
+ cancelable: false
9379
+ });
9380
+ window.dispatchEvent(event);
9381
+ } catch (eventError) {
9382
+ import_consola18.consola.warn("Failed to dispatch validation error event:", eventError);
9383
+ }
9384
+ }
8652
9385
  throw error;
8653
9386
  }
8654
9387
  }
@@ -8678,6 +9411,25 @@ Method: GET`,
8678
9411
  });
8679
9412
  }
8680
9413
  import_consola18.consola.error("Response data:", response);
9414
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9415
+ try {
9416
+ const event = new CustomEvent("zod-validation-error", {
9417
+ detail: {
9418
+ operation: "getGrpcApiKeysRetrieve",
9419
+ path: "/cfg/grpc/api-keys/{id}/",
9420
+ method: "GET",
9421
+ error,
9422
+ response,
9423
+ timestamp: /* @__PURE__ */ new Date()
9424
+ },
9425
+ bubbles: true,
9426
+ cancelable: false
9427
+ });
9428
+ window.dispatchEvent(event);
9429
+ } catch (eventError) {
9430
+ import_consola18.consola.warn("Failed to dispatch validation error event:", eventError);
9431
+ }
9432
+ }
8681
9433
  throw error;
8682
9434
  }
8683
9435
  }
@@ -8707,6 +9459,25 @@ Method: GET`,
8707
9459
  });
8708
9460
  }
8709
9461
  import_consola18.consola.error("Response data:", response);
9462
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9463
+ try {
9464
+ const event = new CustomEvent("zod-validation-error", {
9465
+ detail: {
9466
+ operation: "getGrpcApiKeysStatsRetrieve",
9467
+ path: "/cfg/grpc/api-keys/stats/",
9468
+ method: "GET",
9469
+ error,
9470
+ response,
9471
+ timestamp: /* @__PURE__ */ new Date()
9472
+ },
9473
+ bubbles: true,
9474
+ cancelable: false
9475
+ });
9476
+ window.dispatchEvent(event);
9477
+ } catch (eventError) {
9478
+ import_consola18.consola.warn("Failed to dispatch validation error event:", eventError);
9479
+ }
9480
+ }
8710
9481
  throw error;
8711
9482
  }
8712
9483
  }
@@ -8739,6 +9510,25 @@ Method: GET`,
8739
9510
  });
8740
9511
  }
8741
9512
  import_consola19.consola.error("Response data:", response);
9513
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9514
+ try {
9515
+ const event = new CustomEvent("zod-validation-error", {
9516
+ detail: {
9517
+ operation: "getGrpcChartsDashboardRetrieve",
9518
+ path: "/cfg/grpc/charts/dashboard/",
9519
+ method: "GET",
9520
+ error,
9521
+ response,
9522
+ timestamp: /* @__PURE__ */ new Date()
9523
+ },
9524
+ bubbles: true,
9525
+ cancelable: false
9526
+ });
9527
+ window.dispatchEvent(event);
9528
+ } catch (eventError) {
9529
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9530
+ }
9531
+ }
8742
9532
  throw error;
8743
9533
  }
8744
9534
  }
@@ -8768,6 +9558,25 @@ Method: GET`,
8768
9558
  });
8769
9559
  }
8770
9560
  import_consola19.consola.error("Response data:", response);
9561
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9562
+ try {
9563
+ const event = new CustomEvent("zod-validation-error", {
9564
+ detail: {
9565
+ operation: "getGrpcChartsErrorDistributionRetrieve",
9566
+ path: "/cfg/grpc/charts/error-distribution/",
9567
+ method: "GET",
9568
+ error,
9569
+ response,
9570
+ timestamp: /* @__PURE__ */ new Date()
9571
+ },
9572
+ bubbles: true,
9573
+ cancelable: false
9574
+ });
9575
+ window.dispatchEvent(event);
9576
+ } catch (eventError) {
9577
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9578
+ }
9579
+ }
8771
9580
  throw error;
8772
9581
  }
8773
9582
  }
@@ -8797,6 +9606,25 @@ Method: GET`,
8797
9606
  });
8798
9607
  }
8799
9608
  import_consola19.consola.error("Response data:", response);
9609
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9610
+ try {
9611
+ const event = new CustomEvent("zod-validation-error", {
9612
+ detail: {
9613
+ operation: "getGrpcChartsRequestVolumeRetrieve",
9614
+ path: "/cfg/grpc/charts/request-volume/",
9615
+ method: "GET",
9616
+ error,
9617
+ response,
9618
+ timestamp: /* @__PURE__ */ new Date()
9619
+ },
9620
+ bubbles: true,
9621
+ cancelable: false
9622
+ });
9623
+ window.dispatchEvent(event);
9624
+ } catch (eventError) {
9625
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9626
+ }
9627
+ }
8800
9628
  throw error;
8801
9629
  }
8802
9630
  }
@@ -8826,6 +9654,25 @@ Method: GET`,
8826
9654
  });
8827
9655
  }
8828
9656
  import_consola19.consola.error("Response data:", response);
9657
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9658
+ try {
9659
+ const event = new CustomEvent("zod-validation-error", {
9660
+ detail: {
9661
+ operation: "getGrpcChartsResponseTimeRetrieve",
9662
+ path: "/cfg/grpc/charts/response-time/",
9663
+ method: "GET",
9664
+ error,
9665
+ response,
9666
+ timestamp: /* @__PURE__ */ new Date()
9667
+ },
9668
+ bubbles: true,
9669
+ cancelable: false
9670
+ });
9671
+ window.dispatchEvent(event);
9672
+ } catch (eventError) {
9673
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9674
+ }
9675
+ }
8829
9676
  throw error;
8830
9677
  }
8831
9678
  }
@@ -8855,6 +9702,25 @@ Method: GET`,
8855
9702
  });
8856
9703
  }
8857
9704
  import_consola19.consola.error("Response data:", response);
9705
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9706
+ try {
9707
+ const event = new CustomEvent("zod-validation-error", {
9708
+ detail: {
9709
+ operation: "getGrpcChartsServerLifecycleRetrieve",
9710
+ path: "/cfg/grpc/charts/server-lifecycle/",
9711
+ method: "GET",
9712
+ error,
9713
+ response,
9714
+ timestamp: /* @__PURE__ */ new Date()
9715
+ },
9716
+ bubbles: true,
9717
+ cancelable: false
9718
+ });
9719
+ window.dispatchEvent(event);
9720
+ } catch (eventError) {
9721
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9722
+ }
9723
+ }
8858
9724
  throw error;
8859
9725
  }
8860
9726
  }
@@ -8884,6 +9750,25 @@ Method: GET`,
8884
9750
  });
8885
9751
  }
8886
9752
  import_consola19.consola.error("Response data:", response);
9753
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9754
+ try {
9755
+ const event = new CustomEvent("zod-validation-error", {
9756
+ detail: {
9757
+ operation: "getGrpcChartsServerUptimeRetrieve",
9758
+ path: "/cfg/grpc/charts/server-uptime/",
9759
+ method: "GET",
9760
+ error,
9761
+ response,
9762
+ timestamp: /* @__PURE__ */ new Date()
9763
+ },
9764
+ bubbles: true,
9765
+ cancelable: false
9766
+ });
9767
+ window.dispatchEvent(event);
9768
+ } catch (eventError) {
9769
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9770
+ }
9771
+ }
8887
9772
  throw error;
8888
9773
  }
8889
9774
  }
@@ -8913,6 +9798,25 @@ Method: GET`,
8913
9798
  });
8914
9799
  }
8915
9800
  import_consola19.consola.error("Response data:", response);
9801
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9802
+ try {
9803
+ const event = new CustomEvent("zod-validation-error", {
9804
+ detail: {
9805
+ operation: "getGrpcChartsServiceActivityRetrieve",
9806
+ path: "/cfg/grpc/charts/service-activity/",
9807
+ method: "GET",
9808
+ error,
9809
+ response,
9810
+ timestamp: /* @__PURE__ */ new Date()
9811
+ },
9812
+ bubbles: true,
9813
+ cancelable: false
9814
+ });
9815
+ window.dispatchEvent(event);
9816
+ } catch (eventError) {
9817
+ import_consola19.consola.warn("Failed to dispatch validation error event:", eventError);
9818
+ }
9819
+ }
8916
9820
  throw error;
8917
9821
  }
8918
9822
  }
@@ -8945,6 +9849,25 @@ Method: GET`,
8945
9849
  });
8946
9850
  }
8947
9851
  import_consola20.consola.error("Response data:", response);
9852
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9853
+ try {
9854
+ const event = new CustomEvent("zod-validation-error", {
9855
+ detail: {
9856
+ operation: "getGrpcConfigConfigRetrieve",
9857
+ path: "/cfg/grpc/config/config/",
9858
+ method: "GET",
9859
+ error,
9860
+ response,
9861
+ timestamp: /* @__PURE__ */ new Date()
9862
+ },
9863
+ bubbles: true,
9864
+ cancelable: false
9865
+ });
9866
+ window.dispatchEvent(event);
9867
+ } catch (eventError) {
9868
+ import_consola20.consola.warn("Failed to dispatch validation error event:", eventError);
9869
+ }
9870
+ }
8948
9871
  throw error;
8949
9872
  }
8950
9873
  }
@@ -8974,6 +9897,25 @@ Method: GET`,
8974
9897
  });
8975
9898
  }
8976
9899
  import_consola20.consola.error("Response data:", response);
9900
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9901
+ try {
9902
+ const event = new CustomEvent("zod-validation-error", {
9903
+ detail: {
9904
+ operation: "getGrpcConfigServerInfoRetrieve",
9905
+ path: "/cfg/grpc/config/server-info/",
9906
+ method: "GET",
9907
+ error,
9908
+ response,
9909
+ timestamp: /* @__PURE__ */ new Date()
9910
+ },
9911
+ bubbles: true,
9912
+ cancelable: false
9913
+ });
9914
+ window.dispatchEvent(event);
9915
+ } catch (eventError) {
9916
+ import_consola20.consola.warn("Failed to dispatch validation error event:", eventError);
9917
+ }
9918
+ }
8977
9919
  throw error;
8978
9920
  }
8979
9921
  }
@@ -9006,10 +9948,29 @@ Method: GET`,
9006
9948
  });
9007
9949
  }
9008
9950
  import_consola21.consola.error("Response data:", response);
9009
- throw error;
9010
- }
9011
- }
9012
- async function getGrpcMonitorMethodsRetrieve(params, client) {
9951
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
9952
+ try {
9953
+ const event = new CustomEvent("zod-validation-error", {
9954
+ detail: {
9955
+ operation: "getGrpcMonitorHealthRetrieve",
9956
+ path: "/cfg/grpc/monitor/health/",
9957
+ method: "GET",
9958
+ error,
9959
+ response,
9960
+ timestamp: /* @__PURE__ */ new Date()
9961
+ },
9962
+ bubbles: true,
9963
+ cancelable: false
9964
+ });
9965
+ window.dispatchEvent(event);
9966
+ } catch (eventError) {
9967
+ import_consola21.consola.warn("Failed to dispatch validation error event:", eventError);
9968
+ }
9969
+ }
9970
+ throw error;
9971
+ }
9972
+ }
9973
+ async function getGrpcMonitorMethodsRetrieve(params, client) {
9013
9974
  const api2 = client || getAPIInstance();
9014
9975
  const response = await api2.cfg_grpc_monitoring.grpcMonitorMethodsRetrieve(params?.hours, params?.service);
9015
9976
  try {
@@ -9035,6 +9996,25 @@ Method: GET`,
9035
9996
  });
9036
9997
  }
9037
9998
  import_consola21.consola.error("Response data:", response);
9999
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10000
+ try {
10001
+ const event = new CustomEvent("zod-validation-error", {
10002
+ detail: {
10003
+ operation: "getGrpcMonitorMethodsRetrieve",
10004
+ path: "/cfg/grpc/monitor/methods/",
10005
+ method: "GET",
10006
+ error,
10007
+ response,
10008
+ timestamp: /* @__PURE__ */ new Date()
10009
+ },
10010
+ bubbles: true,
10011
+ cancelable: false
10012
+ });
10013
+ window.dispatchEvent(event);
10014
+ } catch (eventError) {
10015
+ import_consola21.consola.warn("Failed to dispatch validation error event:", eventError);
10016
+ }
10017
+ }
9038
10018
  throw error;
9039
10019
  }
9040
10020
  }
@@ -9064,6 +10044,25 @@ Method: GET`,
9064
10044
  });
9065
10045
  }
9066
10046
  import_consola21.consola.error("Response data:", response);
10047
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10048
+ try {
10049
+ const event = new CustomEvent("zod-validation-error", {
10050
+ detail: {
10051
+ operation: "getGrpcMonitorOverviewRetrieve",
10052
+ path: "/cfg/grpc/monitor/overview/",
10053
+ method: "GET",
10054
+ error,
10055
+ response,
10056
+ timestamp: /* @__PURE__ */ new Date()
10057
+ },
10058
+ bubbles: true,
10059
+ cancelable: false
10060
+ });
10061
+ window.dispatchEvent(event);
10062
+ } catch (eventError) {
10063
+ import_consola21.consola.warn("Failed to dispatch validation error event:", eventError);
10064
+ }
10065
+ }
9067
10066
  throw error;
9068
10067
  }
9069
10068
  }
@@ -9093,6 +10092,25 @@ Method: GET`,
9093
10092
  });
9094
10093
  }
9095
10094
  import_consola21.consola.error("Response data:", response);
10095
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10096
+ try {
10097
+ const event = new CustomEvent("zod-validation-error", {
10098
+ detail: {
10099
+ operation: "getGrpcMonitorRequestsList",
10100
+ path: "/cfg/grpc/monitor/requests/",
10101
+ method: "GET",
10102
+ error,
10103
+ response,
10104
+ timestamp: /* @__PURE__ */ new Date()
10105
+ },
10106
+ bubbles: true,
10107
+ cancelable: false
10108
+ });
10109
+ window.dispatchEvent(event);
10110
+ } catch (eventError) {
10111
+ import_consola21.consola.warn("Failed to dispatch validation error event:", eventError);
10112
+ }
10113
+ }
9096
10114
  throw error;
9097
10115
  }
9098
10116
  }
@@ -9145,6 +10163,25 @@ Method: POST`,
9145
10163
  });
9146
10164
  }
9147
10165
  import_consola22.consola.error("Response data:", response);
10166
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10167
+ try {
10168
+ const event = new CustomEvent("zod-validation-error", {
10169
+ detail: {
10170
+ operation: "createGrpcProtoFilesGenerateCreate",
10171
+ path: "/cfg/grpc/proto-files/generate/",
10172
+ method: "POST",
10173
+ error,
10174
+ response,
10175
+ timestamp: /* @__PURE__ */ new Date()
10176
+ },
10177
+ bubbles: true,
10178
+ cancelable: false
10179
+ });
10180
+ window.dispatchEvent(event);
10181
+ } catch (eventError) {
10182
+ import_consola22.consola.warn("Failed to dispatch validation error event:", eventError);
10183
+ }
10184
+ }
9148
10185
  throw error;
9149
10186
  }
9150
10187
  }
@@ -9177,6 +10214,25 @@ Method: GET`,
9177
10214
  });
9178
10215
  }
9179
10216
  import_consola23.consola.error("Response data:", response);
10217
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10218
+ try {
10219
+ const event = new CustomEvent("zod-validation-error", {
10220
+ detail: {
10221
+ operation: "getGrpcServicesList",
10222
+ path: "/cfg/grpc/services/",
10223
+ method: "GET",
10224
+ error,
10225
+ response,
10226
+ timestamp: /* @__PURE__ */ new Date()
10227
+ },
10228
+ bubbles: true,
10229
+ cancelable: false
10230
+ });
10231
+ window.dispatchEvent(event);
10232
+ } catch (eventError) {
10233
+ import_consola23.consola.warn("Failed to dispatch validation error event:", eventError);
10234
+ }
10235
+ }
9180
10236
  throw error;
9181
10237
  }
9182
10238
  }
@@ -9206,6 +10262,25 @@ Method: GET`,
9206
10262
  });
9207
10263
  }
9208
10264
  import_consola23.consola.error("Response data:", response);
10265
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10266
+ try {
10267
+ const event = new CustomEvent("zod-validation-error", {
10268
+ detail: {
10269
+ operation: "getGrpcServicesRetrieve",
10270
+ path: "/cfg/grpc/services/{id}/",
10271
+ method: "GET",
10272
+ error,
10273
+ response,
10274
+ timestamp: /* @__PURE__ */ new Date()
10275
+ },
10276
+ bubbles: true,
10277
+ cancelable: false
10278
+ });
10279
+ window.dispatchEvent(event);
10280
+ } catch (eventError) {
10281
+ import_consola23.consola.warn("Failed to dispatch validation error event:", eventError);
10282
+ }
10283
+ }
9209
10284
  throw error;
9210
10285
  }
9211
10286
  }
@@ -9235,6 +10310,25 @@ Method: GET`,
9235
10310
  });
9236
10311
  }
9237
10312
  import_consola23.consola.error("Response data:", response);
10313
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10314
+ try {
10315
+ const event = new CustomEvent("zod-validation-error", {
10316
+ detail: {
10317
+ operation: "getGrpcServicesMethodsRetrieve",
10318
+ path: "/cfg/grpc/services/{id}/methods/",
10319
+ method: "GET",
10320
+ error,
10321
+ response,
10322
+ timestamp: /* @__PURE__ */ new Date()
10323
+ },
10324
+ bubbles: true,
10325
+ cancelable: false
10326
+ });
10327
+ window.dispatchEvent(event);
10328
+ } catch (eventError) {
10329
+ import_consola23.consola.warn("Failed to dispatch validation error event:", eventError);
10330
+ }
10331
+ }
9238
10332
  throw error;
9239
10333
  }
9240
10334
  }
@@ -9267,6 +10361,25 @@ Method: POST`,
9267
10361
  });
9268
10362
  }
9269
10363
  import_consola24.consola.error("Response data:", response);
10364
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10365
+ try {
10366
+ const event = new CustomEvent("zod-validation-error", {
10367
+ detail: {
10368
+ operation: "createGrpcTestCallCreate",
10369
+ path: "/cfg/grpc/test/call/",
10370
+ method: "POST",
10371
+ error,
10372
+ response,
10373
+ timestamp: /* @__PURE__ */ new Date()
10374
+ },
10375
+ bubbles: true,
10376
+ cancelable: false
10377
+ });
10378
+ window.dispatchEvent(event);
10379
+ } catch (eventError) {
10380
+ import_consola24.consola.warn("Failed to dispatch validation error event:", eventError);
10381
+ }
10382
+ }
9270
10383
  throw error;
9271
10384
  }
9272
10385
  }
@@ -9296,6 +10409,25 @@ Method: GET`,
9296
10409
  });
9297
10410
  }
9298
10411
  import_consola24.consola.error("Response data:", response);
10412
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10413
+ try {
10414
+ const event = new CustomEvent("zod-validation-error", {
10415
+ detail: {
10416
+ operation: "getGrpcTestExamplesRetrieve",
10417
+ path: "/cfg/grpc/test/examples/",
10418
+ method: "GET",
10419
+ error,
10420
+ response,
10421
+ timestamp: /* @__PURE__ */ new Date()
10422
+ },
10423
+ bubbles: true,
10424
+ cancelable: false
10425
+ });
10426
+ window.dispatchEvent(event);
10427
+ } catch (eventError) {
10428
+ import_consola24.consola.warn("Failed to dispatch validation error event:", eventError);
10429
+ }
10430
+ }
9299
10431
  throw error;
9300
10432
  }
9301
10433
  }
@@ -9325,6 +10457,25 @@ Method: GET`,
9325
10457
  });
9326
10458
  }
9327
10459
  import_consola24.consola.error("Response data:", response);
10460
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10461
+ try {
10462
+ const event = new CustomEvent("zod-validation-error", {
10463
+ detail: {
10464
+ operation: "getGrpcTestLogsRetrieve",
10465
+ path: "/cfg/grpc/test/logs/",
10466
+ method: "GET",
10467
+ error,
10468
+ response,
10469
+ timestamp: /* @__PURE__ */ new Date()
10470
+ },
10471
+ bubbles: true,
10472
+ cancelable: false
10473
+ });
10474
+ window.dispatchEvent(event);
10475
+ } catch (eventError) {
10476
+ import_consola24.consola.warn("Failed to dispatch validation error event:", eventError);
10477
+ }
10478
+ }
9328
10479
  throw error;
9329
10480
  }
9330
10481
  }
@@ -9357,6 +10508,25 @@ Method: GET`,
9357
10508
  });
9358
10509
  }
9359
10510
  import_consola25.consola.error("Response data:", response);
10511
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10512
+ try {
10513
+ const event = new CustomEvent("zod-validation-error", {
10514
+ detail: {
10515
+ operation: "getHealthDrfRetrieve",
10516
+ path: "/cfg/health/drf/",
10517
+ method: "GET",
10518
+ error,
10519
+ response,
10520
+ timestamp: /* @__PURE__ */ new Date()
10521
+ },
10522
+ bubbles: true,
10523
+ cancelable: false
10524
+ });
10525
+ window.dispatchEvent(event);
10526
+ } catch (eventError) {
10527
+ import_consola25.consola.warn("Failed to dispatch validation error event:", eventError);
10528
+ }
10529
+ }
9360
10530
  throw error;
9361
10531
  }
9362
10532
  }
@@ -9386,6 +10556,25 @@ Method: GET`,
9386
10556
  });
9387
10557
  }
9388
10558
  import_consola25.consola.error("Response data:", response);
10559
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10560
+ try {
10561
+ const event = new CustomEvent("zod-validation-error", {
10562
+ detail: {
10563
+ operation: "getHealthDrfQuickRetrieve",
10564
+ path: "/cfg/health/drf/quick/",
10565
+ method: "GET",
10566
+ error,
10567
+ response,
10568
+ timestamp: /* @__PURE__ */ new Date()
10569
+ },
10570
+ bubbles: true,
10571
+ cancelable: false
10572
+ });
10573
+ window.dispatchEvent(event);
10574
+ } catch (eventError) {
10575
+ import_consola25.consola.warn("Failed to dispatch validation error event:", eventError);
10576
+ }
10577
+ }
9389
10578
  throw error;
9390
10579
  }
9391
10580
  }
@@ -9418,6 +10607,25 @@ Method: GET`,
9418
10607
  });
9419
10608
  }
9420
10609
  import_consola26.consola.error("Response data:", response);
10610
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10611
+ try {
10612
+ const event = new CustomEvent("zod-validation-error", {
10613
+ detail: {
10614
+ operation: "getKnowbaseAdminChatList",
10615
+ path: "/cfg/knowbase/admin/chat/",
10616
+ method: "GET",
10617
+ error,
10618
+ response,
10619
+ timestamp: /* @__PURE__ */ new Date()
10620
+ },
10621
+ bubbles: true,
10622
+ cancelable: false
10623
+ });
10624
+ window.dispatchEvent(event);
10625
+ } catch (eventError) {
10626
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10627
+ }
10628
+ }
9421
10629
  throw error;
9422
10630
  }
9423
10631
  }
@@ -9447,6 +10655,25 @@ Method: POST`,
9447
10655
  });
9448
10656
  }
9449
10657
  import_consola26.consola.error("Response data:", response);
10658
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10659
+ try {
10660
+ const event = new CustomEvent("zod-validation-error", {
10661
+ detail: {
10662
+ operation: "createKnowbaseAdminChatCreate",
10663
+ path: "/cfg/knowbase/admin/chat/",
10664
+ method: "POST",
10665
+ error,
10666
+ response,
10667
+ timestamp: /* @__PURE__ */ new Date()
10668
+ },
10669
+ bubbles: true,
10670
+ cancelable: false
10671
+ });
10672
+ window.dispatchEvent(event);
10673
+ } catch (eventError) {
10674
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10675
+ }
10676
+ }
9450
10677
  throw error;
9451
10678
  }
9452
10679
  }
@@ -9476,6 +10703,25 @@ Method: GET`,
9476
10703
  });
9477
10704
  }
9478
10705
  import_consola26.consola.error("Response data:", response);
10706
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10707
+ try {
10708
+ const event = new CustomEvent("zod-validation-error", {
10709
+ detail: {
10710
+ operation: "getKnowbaseAdminChatRetrieve",
10711
+ path: "/cfg/knowbase/admin/chat/{id}/",
10712
+ method: "GET",
10713
+ error,
10714
+ response,
10715
+ timestamp: /* @__PURE__ */ new Date()
10716
+ },
10717
+ bubbles: true,
10718
+ cancelable: false
10719
+ });
10720
+ window.dispatchEvent(event);
10721
+ } catch (eventError) {
10722
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10723
+ }
10724
+ }
9479
10725
  throw error;
9480
10726
  }
9481
10727
  }
@@ -9505,6 +10751,25 @@ Method: PUT`,
9505
10751
  });
9506
10752
  }
9507
10753
  import_consola26.consola.error("Response data:", response);
10754
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10755
+ try {
10756
+ const event = new CustomEvent("zod-validation-error", {
10757
+ detail: {
10758
+ operation: "updateKnowbaseAdminChatUpdate",
10759
+ path: "/cfg/knowbase/admin/chat/{id}/",
10760
+ method: "PUT",
10761
+ error,
10762
+ response,
10763
+ timestamp: /* @__PURE__ */ new Date()
10764
+ },
10765
+ bubbles: true,
10766
+ cancelable: false
10767
+ });
10768
+ window.dispatchEvent(event);
10769
+ } catch (eventError) {
10770
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10771
+ }
10772
+ }
9508
10773
  throw error;
9509
10774
  }
9510
10775
  }
@@ -9534,6 +10799,25 @@ Method: PATCH`,
9534
10799
  });
9535
10800
  }
9536
10801
  import_consola26.consola.error("Response data:", response);
10802
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10803
+ try {
10804
+ const event = new CustomEvent("zod-validation-error", {
10805
+ detail: {
10806
+ operation: "partialUpdateKnowbaseAdminChatPartialUpdate",
10807
+ path: "/cfg/knowbase/admin/chat/{id}/",
10808
+ method: "PATCH",
10809
+ error,
10810
+ response,
10811
+ timestamp: /* @__PURE__ */ new Date()
10812
+ },
10813
+ bubbles: true,
10814
+ cancelable: false
10815
+ });
10816
+ window.dispatchEvent(event);
10817
+ } catch (eventError) {
10818
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10819
+ }
10820
+ }
9537
10821
  throw error;
9538
10822
  }
9539
10823
  }
@@ -9568,6 +10852,25 @@ Method: GET`,
9568
10852
  });
9569
10853
  }
9570
10854
  import_consola26.consola.error("Response data:", response);
10855
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10856
+ try {
10857
+ const event = new CustomEvent("zod-validation-error", {
10858
+ detail: {
10859
+ operation: "getKnowbaseAdminChatHistoryRetrieve",
10860
+ path: "/cfg/knowbase/admin/chat/{id}/history/",
10861
+ method: "GET",
10862
+ error,
10863
+ response,
10864
+ timestamp: /* @__PURE__ */ new Date()
10865
+ },
10866
+ bubbles: true,
10867
+ cancelable: false
10868
+ });
10869
+ window.dispatchEvent(event);
10870
+ } catch (eventError) {
10871
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10872
+ }
10873
+ }
9571
10874
  throw error;
9572
10875
  }
9573
10876
  }
@@ -9597,6 +10900,25 @@ Method: POST`,
9597
10900
  });
9598
10901
  }
9599
10902
  import_consola26.consola.error("Response data:", response);
10903
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10904
+ try {
10905
+ const event = new CustomEvent("zod-validation-error", {
10906
+ detail: {
10907
+ operation: "createKnowbaseAdminChatQueryCreate",
10908
+ path: "/cfg/knowbase/admin/chat/query/",
10909
+ method: "POST",
10910
+ error,
10911
+ response,
10912
+ timestamp: /* @__PURE__ */ new Date()
10913
+ },
10914
+ bubbles: true,
10915
+ cancelable: false
10916
+ });
10917
+ window.dispatchEvent(event);
10918
+ } catch (eventError) {
10919
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10920
+ }
10921
+ }
9600
10922
  throw error;
9601
10923
  }
9602
10924
  }
@@ -9626,6 +10948,25 @@ Method: GET`,
9626
10948
  });
9627
10949
  }
9628
10950
  import_consola26.consola.error("Response data:", response);
10951
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
10952
+ try {
10953
+ const event = new CustomEvent("zod-validation-error", {
10954
+ detail: {
10955
+ operation: "getKnowbaseAdminDocumentsList",
10956
+ path: "/cfg/knowbase/admin/documents/",
10957
+ method: "GET",
10958
+ error,
10959
+ response,
10960
+ timestamp: /* @__PURE__ */ new Date()
10961
+ },
10962
+ bubbles: true,
10963
+ cancelable: false
10964
+ });
10965
+ window.dispatchEvent(event);
10966
+ } catch (eventError) {
10967
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
10968
+ }
10969
+ }
9629
10970
  throw error;
9630
10971
  }
9631
10972
  }
@@ -9655,6 +10996,25 @@ Method: POST`,
9655
10996
  });
9656
10997
  }
9657
10998
  import_consola26.consola.error("Response data:", response);
10999
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11000
+ try {
11001
+ const event = new CustomEvent("zod-validation-error", {
11002
+ detail: {
11003
+ operation: "createKnowbaseAdminDocumentsCreate",
11004
+ path: "/cfg/knowbase/admin/documents/",
11005
+ method: "POST",
11006
+ error,
11007
+ response,
11008
+ timestamp: /* @__PURE__ */ new Date()
11009
+ },
11010
+ bubbles: true,
11011
+ cancelable: false
11012
+ });
11013
+ window.dispatchEvent(event);
11014
+ } catch (eventError) {
11015
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11016
+ }
11017
+ }
9658
11018
  throw error;
9659
11019
  }
9660
11020
  }
@@ -9684,6 +11044,25 @@ Method: GET`,
9684
11044
  });
9685
11045
  }
9686
11046
  import_consola26.consola.error("Response data:", response);
11047
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11048
+ try {
11049
+ const event = new CustomEvent("zod-validation-error", {
11050
+ detail: {
11051
+ operation: "getKnowbaseAdminDocumentsRetrieve",
11052
+ path: "/cfg/knowbase/admin/documents/{id}/",
11053
+ method: "GET",
11054
+ error,
11055
+ response,
11056
+ timestamp: /* @__PURE__ */ new Date()
11057
+ },
11058
+ bubbles: true,
11059
+ cancelable: false
11060
+ });
11061
+ window.dispatchEvent(event);
11062
+ } catch (eventError) {
11063
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11064
+ }
11065
+ }
9687
11066
  throw error;
9688
11067
  }
9689
11068
  }
@@ -9713,6 +11092,25 @@ Method: PUT`,
9713
11092
  });
9714
11093
  }
9715
11094
  import_consola26.consola.error("Response data:", response);
11095
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11096
+ try {
11097
+ const event = new CustomEvent("zod-validation-error", {
11098
+ detail: {
11099
+ operation: "updateKnowbaseAdminDocumentsUpdate",
11100
+ path: "/cfg/knowbase/admin/documents/{id}/",
11101
+ method: "PUT",
11102
+ error,
11103
+ response,
11104
+ timestamp: /* @__PURE__ */ new Date()
11105
+ },
11106
+ bubbles: true,
11107
+ cancelable: false
11108
+ });
11109
+ window.dispatchEvent(event);
11110
+ } catch (eventError) {
11111
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11112
+ }
11113
+ }
9716
11114
  throw error;
9717
11115
  }
9718
11116
  }
@@ -9742,6 +11140,25 @@ Method: PATCH`,
9742
11140
  });
9743
11141
  }
9744
11142
  import_consola26.consola.error("Response data:", response);
11143
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11144
+ try {
11145
+ const event = new CustomEvent("zod-validation-error", {
11146
+ detail: {
11147
+ operation: "partialUpdateKnowbaseAdminDocumentsPartialUpdate",
11148
+ path: "/cfg/knowbase/admin/documents/{id}/",
11149
+ method: "PATCH",
11150
+ error,
11151
+ response,
11152
+ timestamp: /* @__PURE__ */ new Date()
11153
+ },
11154
+ bubbles: true,
11155
+ cancelable: false
11156
+ });
11157
+ window.dispatchEvent(event);
11158
+ } catch (eventError) {
11159
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11160
+ }
11161
+ }
9745
11162
  throw error;
9746
11163
  }
9747
11164
  }
@@ -9776,6 +11193,25 @@ Method: POST`,
9776
11193
  });
9777
11194
  }
9778
11195
  import_consola26.consola.error("Response data:", response);
11196
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11197
+ try {
11198
+ const event = new CustomEvent("zod-validation-error", {
11199
+ detail: {
11200
+ operation: "createKnowbaseAdminDocumentsReprocessCreate",
11201
+ path: "/cfg/knowbase/admin/documents/{id}/reprocess/",
11202
+ method: "POST",
11203
+ error,
11204
+ response,
11205
+ timestamp: /* @__PURE__ */ new Date()
11206
+ },
11207
+ bubbles: true,
11208
+ cancelable: false
11209
+ });
11210
+ window.dispatchEvent(event);
11211
+ } catch (eventError) {
11212
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11213
+ }
11214
+ }
9779
11215
  throw error;
9780
11216
  }
9781
11217
  }
@@ -9805,6 +11241,25 @@ Method: GET`,
9805
11241
  });
9806
11242
  }
9807
11243
  import_consola26.consola.error("Response data:", response);
11244
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11245
+ try {
11246
+ const event = new CustomEvent("zod-validation-error", {
11247
+ detail: {
11248
+ operation: "getKnowbaseAdminDocumentsStatusRetrieve",
11249
+ path: "/cfg/knowbase/admin/documents/{id}/status/",
11250
+ method: "GET",
11251
+ error,
11252
+ response,
11253
+ timestamp: /* @__PURE__ */ new Date()
11254
+ },
11255
+ bubbles: true,
11256
+ cancelable: false
11257
+ });
11258
+ window.dispatchEvent(event);
11259
+ } catch (eventError) {
11260
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11261
+ }
11262
+ }
9808
11263
  throw error;
9809
11264
  }
9810
11265
  }
@@ -9834,6 +11289,25 @@ Method: GET`,
9834
11289
  });
9835
11290
  }
9836
11291
  import_consola26.consola.error("Response data:", response);
11292
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11293
+ try {
11294
+ const event = new CustomEvent("zod-validation-error", {
11295
+ detail: {
11296
+ operation: "getKnowbaseAdminDocumentsStatsRetrieve",
11297
+ path: "/cfg/knowbase/admin/documents/stats/",
11298
+ method: "GET",
11299
+ error,
11300
+ response,
11301
+ timestamp: /* @__PURE__ */ new Date()
11302
+ },
11303
+ bubbles: true,
11304
+ cancelable: false
11305
+ });
11306
+ window.dispatchEvent(event);
11307
+ } catch (eventError) {
11308
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11309
+ }
11310
+ }
9837
11311
  throw error;
9838
11312
  }
9839
11313
  }
@@ -9863,6 +11337,25 @@ Method: GET`,
9863
11337
  });
9864
11338
  }
9865
11339
  import_consola26.consola.error("Response data:", response);
11340
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11341
+ try {
11342
+ const event = new CustomEvent("zod-validation-error", {
11343
+ detail: {
11344
+ operation: "getKnowbaseAdminSessionsList",
11345
+ path: "/cfg/knowbase/admin/sessions/",
11346
+ method: "GET",
11347
+ error,
11348
+ response,
11349
+ timestamp: /* @__PURE__ */ new Date()
11350
+ },
11351
+ bubbles: true,
11352
+ cancelable: false
11353
+ });
11354
+ window.dispatchEvent(event);
11355
+ } catch (eventError) {
11356
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11357
+ }
11358
+ }
9866
11359
  throw error;
9867
11360
  }
9868
11361
  }
@@ -9892,6 +11385,25 @@ Method: POST`,
9892
11385
  });
9893
11386
  }
9894
11387
  import_consola26.consola.error("Response data:", response);
11388
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11389
+ try {
11390
+ const event = new CustomEvent("zod-validation-error", {
11391
+ detail: {
11392
+ operation: "createKnowbaseAdminSessionsCreate",
11393
+ path: "/cfg/knowbase/admin/sessions/",
11394
+ method: "POST",
11395
+ error,
11396
+ response,
11397
+ timestamp: /* @__PURE__ */ new Date()
11398
+ },
11399
+ bubbles: true,
11400
+ cancelable: false
11401
+ });
11402
+ window.dispatchEvent(event);
11403
+ } catch (eventError) {
11404
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11405
+ }
11406
+ }
9895
11407
  throw error;
9896
11408
  }
9897
11409
  }
@@ -9921,6 +11433,25 @@ Method: GET`,
9921
11433
  });
9922
11434
  }
9923
11435
  import_consola26.consola.error("Response data:", response);
11436
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11437
+ try {
11438
+ const event = new CustomEvent("zod-validation-error", {
11439
+ detail: {
11440
+ operation: "getKnowbaseAdminSessionsRetrieve",
11441
+ path: "/cfg/knowbase/admin/sessions/{id}/",
11442
+ method: "GET",
11443
+ error,
11444
+ response,
11445
+ timestamp: /* @__PURE__ */ new Date()
11446
+ },
11447
+ bubbles: true,
11448
+ cancelable: false
11449
+ });
11450
+ window.dispatchEvent(event);
11451
+ } catch (eventError) {
11452
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11453
+ }
11454
+ }
9924
11455
  throw error;
9925
11456
  }
9926
11457
  }
@@ -9950,6 +11481,25 @@ Method: PUT`,
9950
11481
  });
9951
11482
  }
9952
11483
  import_consola26.consola.error("Response data:", response);
11484
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11485
+ try {
11486
+ const event = new CustomEvent("zod-validation-error", {
11487
+ detail: {
11488
+ operation: "updateKnowbaseAdminSessionsUpdate",
11489
+ path: "/cfg/knowbase/admin/sessions/{id}/",
11490
+ method: "PUT",
11491
+ error,
11492
+ response,
11493
+ timestamp: /* @__PURE__ */ new Date()
11494
+ },
11495
+ bubbles: true,
11496
+ cancelable: false
11497
+ });
11498
+ window.dispatchEvent(event);
11499
+ } catch (eventError) {
11500
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11501
+ }
11502
+ }
9953
11503
  throw error;
9954
11504
  }
9955
11505
  }
@@ -9979,6 +11529,25 @@ Method: PATCH`,
9979
11529
  });
9980
11530
  }
9981
11531
  import_consola26.consola.error("Response data:", response);
11532
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11533
+ try {
11534
+ const event = new CustomEvent("zod-validation-error", {
11535
+ detail: {
11536
+ operation: "partialUpdateKnowbaseAdminSessionsPartialUpdate",
11537
+ path: "/cfg/knowbase/admin/sessions/{id}/",
11538
+ method: "PATCH",
11539
+ error,
11540
+ response,
11541
+ timestamp: /* @__PURE__ */ new Date()
11542
+ },
11543
+ bubbles: true,
11544
+ cancelable: false
11545
+ });
11546
+ window.dispatchEvent(event);
11547
+ } catch (eventError) {
11548
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11549
+ }
11550
+ }
9982
11551
  throw error;
9983
11552
  }
9984
11553
  }
@@ -10013,6 +11582,25 @@ Method: POST`,
10013
11582
  });
10014
11583
  }
10015
11584
  import_consola26.consola.error("Response data:", response);
11585
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11586
+ try {
11587
+ const event = new CustomEvent("zod-validation-error", {
11588
+ detail: {
11589
+ operation: "createKnowbaseAdminSessionsActivateCreate",
11590
+ path: "/cfg/knowbase/admin/sessions/{id}/activate/",
11591
+ method: "POST",
11592
+ error,
11593
+ response,
11594
+ timestamp: /* @__PURE__ */ new Date()
11595
+ },
11596
+ bubbles: true,
11597
+ cancelable: false
11598
+ });
11599
+ window.dispatchEvent(event);
11600
+ } catch (eventError) {
11601
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11602
+ }
11603
+ }
10016
11604
  throw error;
10017
11605
  }
10018
11606
  }
@@ -10042,6 +11630,25 @@ Method: POST`,
10042
11630
  });
10043
11631
  }
10044
11632
  import_consola26.consola.error("Response data:", response);
11633
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11634
+ try {
11635
+ const event = new CustomEvent("zod-validation-error", {
11636
+ detail: {
11637
+ operation: "createKnowbaseAdminSessionsArchiveCreate",
11638
+ path: "/cfg/knowbase/admin/sessions/{id}/archive/",
11639
+ method: "POST",
11640
+ error,
11641
+ response,
11642
+ timestamp: /* @__PURE__ */ new Date()
11643
+ },
11644
+ bubbles: true,
11645
+ cancelable: false
11646
+ });
11647
+ window.dispatchEvent(event);
11648
+ } catch (eventError) {
11649
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11650
+ }
11651
+ }
10045
11652
  throw error;
10046
11653
  }
10047
11654
  }
@@ -10071,6 +11678,25 @@ Method: GET`,
10071
11678
  });
10072
11679
  }
10073
11680
  import_consola26.consola.error("Response data:", response);
11681
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11682
+ try {
11683
+ const event = new CustomEvent("zod-validation-error", {
11684
+ detail: {
11685
+ operation: "getKnowbaseCategoriesList",
11686
+ path: "/cfg/knowbase/categories/",
11687
+ method: "GET",
11688
+ error,
11689
+ response,
11690
+ timestamp: /* @__PURE__ */ new Date()
11691
+ },
11692
+ bubbles: true,
11693
+ cancelable: false
11694
+ });
11695
+ window.dispatchEvent(event);
11696
+ } catch (eventError) {
11697
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11698
+ }
11699
+ }
10074
11700
  throw error;
10075
11701
  }
10076
11702
  }
@@ -10100,6 +11726,25 @@ Method: GET`,
10100
11726
  });
10101
11727
  }
10102
11728
  import_consola26.consola.error("Response data:", response);
11729
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11730
+ try {
11731
+ const event = new CustomEvent("zod-validation-error", {
11732
+ detail: {
11733
+ operation: "getKnowbaseCategoriesRetrieve",
11734
+ path: "/cfg/knowbase/categories/{id}/",
11735
+ method: "GET",
11736
+ error,
11737
+ response,
11738
+ timestamp: /* @__PURE__ */ new Date()
11739
+ },
11740
+ bubbles: true,
11741
+ cancelable: false
11742
+ });
11743
+ window.dispatchEvent(event);
11744
+ } catch (eventError) {
11745
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11746
+ }
11747
+ }
10103
11748
  throw error;
10104
11749
  }
10105
11750
  }
@@ -10129,6 +11774,25 @@ Method: GET`,
10129
11774
  });
10130
11775
  }
10131
11776
  import_consola26.consola.error("Response data:", response);
11777
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11778
+ try {
11779
+ const event = new CustomEvent("zod-validation-error", {
11780
+ detail: {
11781
+ operation: "getKnowbaseDocumentsList",
11782
+ path: "/cfg/knowbase/documents/",
11783
+ method: "GET",
11784
+ error,
11785
+ response,
11786
+ timestamp: /* @__PURE__ */ new Date()
11787
+ },
11788
+ bubbles: true,
11789
+ cancelable: false
11790
+ });
11791
+ window.dispatchEvent(event);
11792
+ } catch (eventError) {
11793
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11794
+ }
11795
+ }
10132
11796
  throw error;
10133
11797
  }
10134
11798
  }
@@ -10158,6 +11822,25 @@ Method: GET`,
10158
11822
  });
10159
11823
  }
10160
11824
  import_consola26.consola.error("Response data:", response);
11825
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11826
+ try {
11827
+ const event = new CustomEvent("zod-validation-error", {
11828
+ detail: {
11829
+ operation: "getKnowbaseDocumentsRetrieve",
11830
+ path: "/cfg/knowbase/documents/{id}/",
11831
+ method: "GET",
11832
+ error,
11833
+ response,
11834
+ timestamp: /* @__PURE__ */ new Date()
11835
+ },
11836
+ bubbles: true,
11837
+ cancelable: false
11838
+ });
11839
+ window.dispatchEvent(event);
11840
+ } catch (eventError) {
11841
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11842
+ }
11843
+ }
10161
11844
  throw error;
10162
11845
  }
10163
11846
  }
@@ -10187,6 +11870,25 @@ Method: GET`,
10187
11870
  });
10188
11871
  }
10189
11872
  import_consola26.consola.error("Response data:", response);
11873
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11874
+ try {
11875
+ const event = new CustomEvent("zod-validation-error", {
11876
+ detail: {
11877
+ operation: "getKnowbaseSystemArchivesList",
11878
+ path: "/cfg/knowbase/system/archives/",
11879
+ method: "GET",
11880
+ error,
11881
+ response,
11882
+ timestamp: /* @__PURE__ */ new Date()
11883
+ },
11884
+ bubbles: true,
11885
+ cancelable: false
11886
+ });
11887
+ window.dispatchEvent(event);
11888
+ } catch (eventError) {
11889
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11890
+ }
11891
+ }
10190
11892
  throw error;
10191
11893
  }
10192
11894
  }
@@ -10216,6 +11918,25 @@ Method: POST`,
10216
11918
  });
10217
11919
  }
10218
11920
  import_consola26.consola.error("Response data:", response);
11921
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11922
+ try {
11923
+ const event = new CustomEvent("zod-validation-error", {
11924
+ detail: {
11925
+ operation: "createKnowbaseSystemArchivesCreate",
11926
+ path: "/cfg/knowbase/system/archives/",
11927
+ method: "POST",
11928
+ error,
11929
+ response,
11930
+ timestamp: /* @__PURE__ */ new Date()
11931
+ },
11932
+ bubbles: true,
11933
+ cancelable: false
11934
+ });
11935
+ window.dispatchEvent(event);
11936
+ } catch (eventError) {
11937
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11938
+ }
11939
+ }
10219
11940
  throw error;
10220
11941
  }
10221
11942
  }
@@ -10245,6 +11966,25 @@ Method: GET`,
10245
11966
  });
10246
11967
  }
10247
11968
  import_consola26.consola.error("Response data:", response);
11969
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
11970
+ try {
11971
+ const event = new CustomEvent("zod-validation-error", {
11972
+ detail: {
11973
+ operation: "getKnowbaseSystemArchivesRetrieve",
11974
+ path: "/cfg/knowbase/system/archives/{id}/",
11975
+ method: "GET",
11976
+ error,
11977
+ response,
11978
+ timestamp: /* @__PURE__ */ new Date()
11979
+ },
11980
+ bubbles: true,
11981
+ cancelable: false
11982
+ });
11983
+ window.dispatchEvent(event);
11984
+ } catch (eventError) {
11985
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
11986
+ }
11987
+ }
10248
11988
  throw error;
10249
11989
  }
10250
11990
  }
@@ -10274,6 +12014,25 @@ Method: PUT`,
10274
12014
  });
10275
12015
  }
10276
12016
  import_consola26.consola.error("Response data:", response);
12017
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12018
+ try {
12019
+ const event = new CustomEvent("zod-validation-error", {
12020
+ detail: {
12021
+ operation: "updateKnowbaseSystemArchivesUpdate",
12022
+ path: "/cfg/knowbase/system/archives/{id}/",
12023
+ method: "PUT",
12024
+ error,
12025
+ response,
12026
+ timestamp: /* @__PURE__ */ new Date()
12027
+ },
12028
+ bubbles: true,
12029
+ cancelable: false
12030
+ });
12031
+ window.dispatchEvent(event);
12032
+ } catch (eventError) {
12033
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12034
+ }
12035
+ }
10277
12036
  throw error;
10278
12037
  }
10279
12038
  }
@@ -10303,6 +12062,25 @@ Method: PATCH`,
10303
12062
  });
10304
12063
  }
10305
12064
  import_consola26.consola.error("Response data:", response);
12065
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12066
+ try {
12067
+ const event = new CustomEvent("zod-validation-error", {
12068
+ detail: {
12069
+ operation: "partialUpdateKnowbaseSystemArchivesPartialUpdate",
12070
+ path: "/cfg/knowbase/system/archives/{id}/",
12071
+ method: "PATCH",
12072
+ error,
12073
+ response,
12074
+ timestamp: /* @__PURE__ */ new Date()
12075
+ },
12076
+ bubbles: true,
12077
+ cancelable: false
12078
+ });
12079
+ window.dispatchEvent(event);
12080
+ } catch (eventError) {
12081
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12082
+ }
12083
+ }
10306
12084
  throw error;
10307
12085
  }
10308
12086
  }
@@ -10342,6 +12120,25 @@ Method: GET`,
10342
12120
  });
10343
12121
  }
10344
12122
  import_consola26.consola.error("Response data:", response);
12123
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12124
+ try {
12125
+ const event = new CustomEvent("zod-validation-error", {
12126
+ detail: {
12127
+ operation: "getKnowbaseSystemArchivesItemsList",
12128
+ path: "/cfg/knowbase/system/archives/{id}/items/",
12129
+ method: "GET",
12130
+ error,
12131
+ response,
12132
+ timestamp: /* @__PURE__ */ new Date()
12133
+ },
12134
+ bubbles: true,
12135
+ cancelable: false
12136
+ });
12137
+ window.dispatchEvent(event);
12138
+ } catch (eventError) {
12139
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12140
+ }
12141
+ }
10345
12142
  throw error;
10346
12143
  }
10347
12144
  }
@@ -10371,6 +12168,25 @@ Method: POST`,
10371
12168
  });
10372
12169
  }
10373
12170
  import_consola26.consola.error("Response data:", response);
12171
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12172
+ try {
12173
+ const event = new CustomEvent("zod-validation-error", {
12174
+ detail: {
12175
+ operation: "createKnowbaseSystemArchivesSearchCreate",
12176
+ path: "/cfg/knowbase/system/archives/{id}/search/",
12177
+ method: "POST",
12178
+ error,
12179
+ response,
12180
+ timestamp: /* @__PURE__ */ new Date()
12181
+ },
12182
+ bubbles: true,
12183
+ cancelable: false
12184
+ });
12185
+ window.dispatchEvent(event);
12186
+ } catch (eventError) {
12187
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12188
+ }
12189
+ }
10374
12190
  throw error;
10375
12191
  }
10376
12192
  }
@@ -10400,6 +12216,25 @@ Method: POST`,
10400
12216
  });
10401
12217
  }
10402
12218
  import_consola26.consola.error("Response data:", response);
12219
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12220
+ try {
12221
+ const event = new CustomEvent("zod-validation-error", {
12222
+ detail: {
12223
+ operation: "createKnowbaseSystemArchivesRevectorizeCreate",
12224
+ path: "/cfg/knowbase/system/archives/revectorize/",
12225
+ method: "POST",
12226
+ error,
12227
+ response,
12228
+ timestamp: /* @__PURE__ */ new Date()
12229
+ },
12230
+ bubbles: true,
12231
+ cancelable: false
12232
+ });
12233
+ window.dispatchEvent(event);
12234
+ } catch (eventError) {
12235
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12236
+ }
12237
+ }
10403
12238
  throw error;
10404
12239
  }
10405
12240
  }
@@ -10429,6 +12264,25 @@ Method: GET`,
10429
12264
  });
10430
12265
  }
10431
12266
  import_consola26.consola.error("Response data:", response);
12267
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12268
+ try {
12269
+ const event = new CustomEvent("zod-validation-error", {
12270
+ detail: {
12271
+ operation: "getKnowbaseSystemArchivesStatisticsRetrieve",
12272
+ path: "/cfg/knowbase/system/archives/statistics/",
12273
+ method: "GET",
12274
+ error,
12275
+ response,
12276
+ timestamp: /* @__PURE__ */ new Date()
12277
+ },
12278
+ bubbles: true,
12279
+ cancelable: false
12280
+ });
12281
+ window.dispatchEvent(event);
12282
+ } catch (eventError) {
12283
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12284
+ }
12285
+ }
10432
12286
  throw error;
10433
12287
  }
10434
12288
  }
@@ -10458,6 +12312,25 @@ Method: GET`,
10458
12312
  });
10459
12313
  }
10460
12314
  import_consola26.consola.error("Response data:", response);
12315
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12316
+ try {
12317
+ const event = new CustomEvent("zod-validation-error", {
12318
+ detail: {
12319
+ operation: "getKnowbaseSystemArchivesVectorizationStatsRetrieve",
12320
+ path: "/cfg/knowbase/system/archives/vectorization_stats/",
12321
+ method: "GET",
12322
+ error,
12323
+ response,
12324
+ timestamp: /* @__PURE__ */ new Date()
12325
+ },
12326
+ bubbles: true,
12327
+ cancelable: false
12328
+ });
12329
+ window.dispatchEvent(event);
12330
+ } catch (eventError) {
12331
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12332
+ }
12333
+ }
10461
12334
  throw error;
10462
12335
  }
10463
12336
  }
@@ -10487,6 +12360,25 @@ Method: GET`,
10487
12360
  });
10488
12361
  }
10489
12362
  import_consola26.consola.error("Response data:", response);
12363
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12364
+ try {
12365
+ const event = new CustomEvent("zod-validation-error", {
12366
+ detail: {
12367
+ operation: "getKnowbaseSystemChunksList",
12368
+ path: "/cfg/knowbase/system/chunks/",
12369
+ method: "GET",
12370
+ error,
12371
+ response,
12372
+ timestamp: /* @__PURE__ */ new Date()
12373
+ },
12374
+ bubbles: true,
12375
+ cancelable: false
12376
+ });
12377
+ window.dispatchEvent(event);
12378
+ } catch (eventError) {
12379
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12380
+ }
12381
+ }
10490
12382
  throw error;
10491
12383
  }
10492
12384
  }
@@ -10516,6 +12408,25 @@ Method: POST`,
10516
12408
  });
10517
12409
  }
10518
12410
  import_consola26.consola.error("Response data:", response);
12411
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12412
+ try {
12413
+ const event = new CustomEvent("zod-validation-error", {
12414
+ detail: {
12415
+ operation: "createKnowbaseSystemChunksCreate",
12416
+ path: "/cfg/knowbase/system/chunks/",
12417
+ method: "POST",
12418
+ error,
12419
+ response,
12420
+ timestamp: /* @__PURE__ */ new Date()
12421
+ },
12422
+ bubbles: true,
12423
+ cancelable: false
12424
+ });
12425
+ window.dispatchEvent(event);
12426
+ } catch (eventError) {
12427
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12428
+ }
12429
+ }
10519
12430
  throw error;
10520
12431
  }
10521
12432
  }
@@ -10545,6 +12456,25 @@ Method: GET`,
10545
12456
  });
10546
12457
  }
10547
12458
  import_consola26.consola.error("Response data:", response);
12459
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12460
+ try {
12461
+ const event = new CustomEvent("zod-validation-error", {
12462
+ detail: {
12463
+ operation: "getKnowbaseSystemChunksRetrieve",
12464
+ path: "/cfg/knowbase/system/chunks/{id}/",
12465
+ method: "GET",
12466
+ error,
12467
+ response,
12468
+ timestamp: /* @__PURE__ */ new Date()
12469
+ },
12470
+ bubbles: true,
12471
+ cancelable: false
12472
+ });
12473
+ window.dispatchEvent(event);
12474
+ } catch (eventError) {
12475
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12476
+ }
12477
+ }
10548
12478
  throw error;
10549
12479
  }
10550
12480
  }
@@ -10574,6 +12504,25 @@ Method: PUT`,
10574
12504
  });
10575
12505
  }
10576
12506
  import_consola26.consola.error("Response data:", response);
12507
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12508
+ try {
12509
+ const event = new CustomEvent("zod-validation-error", {
12510
+ detail: {
12511
+ operation: "updateKnowbaseSystemChunksUpdate",
12512
+ path: "/cfg/knowbase/system/chunks/{id}/",
12513
+ method: "PUT",
12514
+ error,
12515
+ response,
12516
+ timestamp: /* @__PURE__ */ new Date()
12517
+ },
12518
+ bubbles: true,
12519
+ cancelable: false
12520
+ });
12521
+ window.dispatchEvent(event);
12522
+ } catch (eventError) {
12523
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12524
+ }
12525
+ }
10577
12526
  throw error;
10578
12527
  }
10579
12528
  }
@@ -10603,6 +12552,25 @@ Method: PATCH`,
10603
12552
  });
10604
12553
  }
10605
12554
  import_consola26.consola.error("Response data:", response);
12555
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12556
+ try {
12557
+ const event = new CustomEvent("zod-validation-error", {
12558
+ detail: {
12559
+ operation: "partialUpdateKnowbaseSystemChunksPartialUpdate",
12560
+ path: "/cfg/knowbase/system/chunks/{id}/",
12561
+ method: "PATCH",
12562
+ error,
12563
+ response,
12564
+ timestamp: /* @__PURE__ */ new Date()
12565
+ },
12566
+ bubbles: true,
12567
+ cancelable: false
12568
+ });
12569
+ window.dispatchEvent(event);
12570
+ } catch (eventError) {
12571
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12572
+ }
12573
+ }
10606
12574
  throw error;
10607
12575
  }
10608
12576
  }
@@ -10637,6 +12605,25 @@ Method: GET`,
10637
12605
  });
10638
12606
  }
10639
12607
  import_consola26.consola.error("Response data:", response);
12608
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12609
+ try {
12610
+ const event = new CustomEvent("zod-validation-error", {
12611
+ detail: {
12612
+ operation: "getKnowbaseSystemChunksContextRetrieve",
12613
+ path: "/cfg/knowbase/system/chunks/{id}/context/",
12614
+ method: "GET",
12615
+ error,
12616
+ response,
12617
+ timestamp: /* @__PURE__ */ new Date()
12618
+ },
12619
+ bubbles: true,
12620
+ cancelable: false
12621
+ });
12622
+ window.dispatchEvent(event);
12623
+ } catch (eventError) {
12624
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12625
+ }
12626
+ }
10640
12627
  throw error;
10641
12628
  }
10642
12629
  }
@@ -10671,6 +12658,25 @@ Method: GET`,
10671
12658
  });
10672
12659
  }
10673
12660
  import_consola26.consola.error("Response data:", response);
12661
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12662
+ try {
12663
+ const event = new CustomEvent("zod-validation-error", {
12664
+ detail: {
12665
+ operation: "getKnowbaseSystemItemsList",
12666
+ path: "/cfg/knowbase/system/items/",
12667
+ method: "GET",
12668
+ error,
12669
+ response,
12670
+ timestamp: /* @__PURE__ */ new Date()
12671
+ },
12672
+ bubbles: true,
12673
+ cancelable: false
12674
+ });
12675
+ window.dispatchEvent(event);
12676
+ } catch (eventError) {
12677
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12678
+ }
12679
+ }
10674
12680
  throw error;
10675
12681
  }
10676
12682
  }
@@ -10700,6 +12706,25 @@ Method: POST`,
10700
12706
  });
10701
12707
  }
10702
12708
  import_consola26.consola.error("Response data:", response);
12709
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12710
+ try {
12711
+ const event = new CustomEvent("zod-validation-error", {
12712
+ detail: {
12713
+ operation: "createKnowbaseSystemItemsCreate",
12714
+ path: "/cfg/knowbase/system/items/",
12715
+ method: "POST",
12716
+ error,
12717
+ response,
12718
+ timestamp: /* @__PURE__ */ new Date()
12719
+ },
12720
+ bubbles: true,
12721
+ cancelable: false
12722
+ });
12723
+ window.dispatchEvent(event);
12724
+ } catch (eventError) {
12725
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12726
+ }
12727
+ }
10703
12728
  throw error;
10704
12729
  }
10705
12730
  }
@@ -10729,6 +12754,25 @@ Method: GET`,
10729
12754
  });
10730
12755
  }
10731
12756
  import_consola26.consola.error("Response data:", response);
12757
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12758
+ try {
12759
+ const event = new CustomEvent("zod-validation-error", {
12760
+ detail: {
12761
+ operation: "getKnowbaseSystemItemsRetrieve",
12762
+ path: "/cfg/knowbase/system/items/{id}/",
12763
+ method: "GET",
12764
+ error,
12765
+ response,
12766
+ timestamp: /* @__PURE__ */ new Date()
12767
+ },
12768
+ bubbles: true,
12769
+ cancelable: false
12770
+ });
12771
+ window.dispatchEvent(event);
12772
+ } catch (eventError) {
12773
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12774
+ }
12775
+ }
10732
12776
  throw error;
10733
12777
  }
10734
12778
  }
@@ -10758,6 +12802,25 @@ Method: PUT`,
10758
12802
  });
10759
12803
  }
10760
12804
  import_consola26.consola.error("Response data:", response);
12805
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12806
+ try {
12807
+ const event = new CustomEvent("zod-validation-error", {
12808
+ detail: {
12809
+ operation: "updateKnowbaseSystemItemsUpdate",
12810
+ path: "/cfg/knowbase/system/items/{id}/",
12811
+ method: "PUT",
12812
+ error,
12813
+ response,
12814
+ timestamp: /* @__PURE__ */ new Date()
12815
+ },
12816
+ bubbles: true,
12817
+ cancelable: false
12818
+ });
12819
+ window.dispatchEvent(event);
12820
+ } catch (eventError) {
12821
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12822
+ }
12823
+ }
10761
12824
  throw error;
10762
12825
  }
10763
12826
  }
@@ -10787,6 +12850,25 @@ Method: PATCH`,
10787
12850
  });
10788
12851
  }
10789
12852
  import_consola26.consola.error("Response data:", response);
12853
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12854
+ try {
12855
+ const event = new CustomEvent("zod-validation-error", {
12856
+ detail: {
12857
+ operation: "partialUpdateKnowbaseSystemItemsPartialUpdate",
12858
+ path: "/cfg/knowbase/system/items/{id}/",
12859
+ method: "PATCH",
12860
+ error,
12861
+ response,
12862
+ timestamp: /* @__PURE__ */ new Date()
12863
+ },
12864
+ bubbles: true,
12865
+ cancelable: false
12866
+ });
12867
+ window.dispatchEvent(event);
12868
+ } catch (eventError) {
12869
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12870
+ }
12871
+ }
10790
12872
  throw error;
10791
12873
  }
10792
12874
  }
@@ -10821,6 +12903,25 @@ Method: GET`,
10821
12903
  });
10822
12904
  }
10823
12905
  import_consola26.consola.error("Response data:", response);
12906
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12907
+ try {
12908
+ const event = new CustomEvent("zod-validation-error", {
12909
+ detail: {
12910
+ operation: "getKnowbaseSystemItemsChunksList",
12911
+ path: "/cfg/knowbase/system/items/{id}/chunks/",
12912
+ method: "GET",
12913
+ error,
12914
+ response,
12915
+ timestamp: /* @__PURE__ */ new Date()
12916
+ },
12917
+ bubbles: true,
12918
+ cancelable: false
12919
+ });
12920
+ window.dispatchEvent(event);
12921
+ } catch (eventError) {
12922
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12923
+ }
12924
+ }
10824
12925
  throw error;
10825
12926
  }
10826
12927
  }
@@ -10850,6 +12951,25 @@ Method: GET`,
10850
12951
  });
10851
12952
  }
10852
12953
  import_consola26.consola.error("Response data:", response);
12954
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
12955
+ try {
12956
+ const event = new CustomEvent("zod-validation-error", {
12957
+ detail: {
12958
+ operation: "getKnowbaseSystemItemsContentRetrieve",
12959
+ path: "/cfg/knowbase/system/items/{id}/content/",
12960
+ method: "GET",
12961
+ error,
12962
+ response,
12963
+ timestamp: /* @__PURE__ */ new Date()
12964
+ },
12965
+ bubbles: true,
12966
+ cancelable: false
12967
+ });
12968
+ window.dispatchEvent(event);
12969
+ } catch (eventError) {
12970
+ import_consola26.consola.warn("Failed to dispatch validation error event:", eventError);
12971
+ }
12972
+ }
10853
12973
  throw error;
10854
12974
  }
10855
12975
  }
@@ -10882,6 +13002,25 @@ Method: GET`,
10882
13002
  });
10883
13003
  }
10884
13004
  import_consola27.consola.error("Response data:", response);
13005
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13006
+ try {
13007
+ const event = new CustomEvent("zod-validation-error", {
13008
+ detail: {
13009
+ operation: "getLeadsList",
13010
+ path: "/cfg/leads/",
13011
+ method: "GET",
13012
+ error,
13013
+ response,
13014
+ timestamp: /* @__PURE__ */ new Date()
13015
+ },
13016
+ bubbles: true,
13017
+ cancelable: false
13018
+ });
13019
+ window.dispatchEvent(event);
13020
+ } catch (eventError) {
13021
+ import_consola27.consola.warn("Failed to dispatch validation error event:", eventError);
13022
+ }
13023
+ }
10885
13024
  throw error;
10886
13025
  }
10887
13026
  }
@@ -10911,6 +13050,25 @@ Method: POST`,
10911
13050
  });
10912
13051
  }
10913
13052
  import_consola27.consola.error("Response data:", response);
13053
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13054
+ try {
13055
+ const event = new CustomEvent("zod-validation-error", {
13056
+ detail: {
13057
+ operation: "createLeadsCreate",
13058
+ path: "/cfg/leads/",
13059
+ method: "POST",
13060
+ error,
13061
+ response,
13062
+ timestamp: /* @__PURE__ */ new Date()
13063
+ },
13064
+ bubbles: true,
13065
+ cancelable: false
13066
+ });
13067
+ window.dispatchEvent(event);
13068
+ } catch (eventError) {
13069
+ import_consola27.consola.warn("Failed to dispatch validation error event:", eventError);
13070
+ }
13071
+ }
10914
13072
  throw error;
10915
13073
  }
10916
13074
  }
@@ -10940,6 +13098,25 @@ Method: GET`,
10940
13098
  });
10941
13099
  }
10942
13100
  import_consola27.consola.error("Response data:", response);
13101
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13102
+ try {
13103
+ const event = new CustomEvent("zod-validation-error", {
13104
+ detail: {
13105
+ operation: "getLeadsRetrieve",
13106
+ path: "/cfg/leads/{id}/",
13107
+ method: "GET",
13108
+ error,
13109
+ response,
13110
+ timestamp: /* @__PURE__ */ new Date()
13111
+ },
13112
+ bubbles: true,
13113
+ cancelable: false
13114
+ });
13115
+ window.dispatchEvent(event);
13116
+ } catch (eventError) {
13117
+ import_consola27.consola.warn("Failed to dispatch validation error event:", eventError);
13118
+ }
13119
+ }
10943
13120
  throw error;
10944
13121
  }
10945
13122
  }
@@ -10969,6 +13146,25 @@ Method: PUT`,
10969
13146
  });
10970
13147
  }
10971
13148
  import_consola27.consola.error("Response data:", response);
13149
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13150
+ try {
13151
+ const event = new CustomEvent("zod-validation-error", {
13152
+ detail: {
13153
+ operation: "updateLeadsUpdate",
13154
+ path: "/cfg/leads/{id}/",
13155
+ method: "PUT",
13156
+ error,
13157
+ response,
13158
+ timestamp: /* @__PURE__ */ new Date()
13159
+ },
13160
+ bubbles: true,
13161
+ cancelable: false
13162
+ });
13163
+ window.dispatchEvent(event);
13164
+ } catch (eventError) {
13165
+ import_consola27.consola.warn("Failed to dispatch validation error event:", eventError);
13166
+ }
13167
+ }
10972
13168
  throw error;
10973
13169
  }
10974
13170
  }
@@ -10998,6 +13194,25 @@ Method: PATCH`,
10998
13194
  });
10999
13195
  }
11000
13196
  import_consola27.consola.error("Response data:", response);
13197
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13198
+ try {
13199
+ const event = new CustomEvent("zod-validation-error", {
13200
+ detail: {
13201
+ operation: "partialUpdateLeadsPartialUpdate",
13202
+ path: "/cfg/leads/{id}/",
13203
+ method: "PATCH",
13204
+ error,
13205
+ response,
13206
+ timestamp: /* @__PURE__ */ new Date()
13207
+ },
13208
+ bubbles: true,
13209
+ cancelable: false
13210
+ });
13211
+ window.dispatchEvent(event);
13212
+ } catch (eventError) {
13213
+ import_consola27.consola.warn("Failed to dispatch validation error event:", eventError);
13214
+ }
13215
+ }
11001
13216
  throw error;
11002
13217
  }
11003
13218
  }
@@ -11035,6 +13250,25 @@ Method: POST`,
11035
13250
  });
11036
13251
  }
11037
13252
  import_consola28.consola.error("Response data:", response);
13253
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13254
+ try {
13255
+ const event = new CustomEvent("zod-validation-error", {
13256
+ detail: {
13257
+ operation: "createLeadsSubmitCreate",
13258
+ path: "/cfg/leads/submit/",
13259
+ method: "POST",
13260
+ error,
13261
+ response,
13262
+ timestamp: /* @__PURE__ */ new Date()
13263
+ },
13264
+ bubbles: true,
13265
+ cancelable: false
13266
+ });
13267
+ window.dispatchEvent(event);
13268
+ } catch (eventError) {
13269
+ import_consola28.consola.warn("Failed to dispatch validation error event:", eventError);
13270
+ }
13271
+ }
11038
13272
  throw error;
11039
13273
  }
11040
13274
  }
@@ -11067,6 +13301,25 @@ Method: PATCH`,
11067
13301
  });
11068
13302
  }
11069
13303
  import_consola29.consola.error("Response data:", response);
13304
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13305
+ try {
13306
+ const event = new CustomEvent("zod-validation-error", {
13307
+ detail: {
13308
+ operation: "partialUpdateNewsletterCampaignsPartialUpdate",
13309
+ path: "/cfg/newsletter/campaigns/{id}/",
13310
+ method: "PATCH",
13311
+ error,
13312
+ response,
13313
+ timestamp: /* @__PURE__ */ new Date()
13314
+ },
13315
+ bubbles: true,
13316
+ cancelable: false
13317
+ });
13318
+ window.dispatchEvent(event);
13319
+ } catch (eventError) {
13320
+ import_consola29.consola.warn("Failed to dispatch validation error event:", eventError);
13321
+ }
13322
+ }
11070
13323
  throw error;
11071
13324
  }
11072
13325
  }
@@ -11096,6 +13349,25 @@ Method: PUT`,
11096
13349
  });
11097
13350
  }
11098
13351
  import_consola29.consola.error("Response data:", response);
13352
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13353
+ try {
13354
+ const event = new CustomEvent("zod-validation-error", {
13355
+ detail: {
13356
+ operation: "updateNewsletterUnsubscribeUpdate",
13357
+ path: "/cfg/newsletter/unsubscribe/",
13358
+ method: "PUT",
13359
+ error,
13360
+ response,
13361
+ timestamp: /* @__PURE__ */ new Date()
13362
+ },
13363
+ bubbles: true,
13364
+ cancelable: false
13365
+ });
13366
+ window.dispatchEvent(event);
13367
+ } catch (eventError) {
13368
+ import_consola29.consola.warn("Failed to dispatch validation error event:", eventError);
13369
+ }
13370
+ }
11099
13371
  throw error;
11100
13372
  }
11101
13373
  }
@@ -11125,6 +13397,25 @@ Method: PATCH`,
11125
13397
  });
11126
13398
  }
11127
13399
  import_consola29.consola.error("Response data:", response);
13400
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13401
+ try {
13402
+ const event = new CustomEvent("zod-validation-error", {
13403
+ detail: {
13404
+ operation: "partialUpdateNewsletterUnsubscribePartialUpdate",
13405
+ path: "/cfg/newsletter/unsubscribe/",
13406
+ method: "PATCH",
13407
+ error,
13408
+ response,
13409
+ timestamp: /* @__PURE__ */ new Date()
13410
+ },
13411
+ bubbles: true,
13412
+ cancelable: false
13413
+ });
13414
+ window.dispatchEvent(event);
13415
+ } catch (eventError) {
13416
+ import_consola29.consola.warn("Failed to dispatch validation error event:", eventError);
13417
+ }
13418
+ }
11128
13419
  throw error;
11129
13420
  }
11130
13421
  }
@@ -11157,6 +13448,25 @@ Method: POST`,
11157
13448
  });
11158
13449
  }
11159
13450
  import_consola30.consola.error("Response data:", response);
13451
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13452
+ try {
13453
+ const event = new CustomEvent("zod-validation-error", {
13454
+ detail: {
13455
+ operation: "createNewsletterBulkCreate",
13456
+ path: "/cfg/newsletter/bulk/",
13457
+ method: "POST",
13458
+ error,
13459
+ response,
13460
+ timestamp: /* @__PURE__ */ new Date()
13461
+ },
13462
+ bubbles: true,
13463
+ cancelable: false
13464
+ });
13465
+ window.dispatchEvent(event);
13466
+ } catch (eventError) {
13467
+ import_consola30.consola.warn("Failed to dispatch validation error event:", eventError);
13468
+ }
13469
+ }
11160
13470
  throw error;
11161
13471
  }
11162
13472
  }
@@ -11188,7 +13498,26 @@ Method: GET`,
11188
13498
  if (issue.received) import_consola31.consola.error(` \u2514\u2500 Received: ${issue.received}`);
11189
13499
  });
11190
13500
  }
11191
- import_consola31.consola.error("Response data:", response);
13501
+ import_consola31.consola.error("Response data:", response);
13502
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13503
+ try {
13504
+ const event = new CustomEvent("zod-validation-error", {
13505
+ detail: {
13506
+ operation: "getNewsletterCampaignsList",
13507
+ path: "/cfg/newsletter/campaigns/",
13508
+ method: "GET",
13509
+ error,
13510
+ response,
13511
+ timestamp: /* @__PURE__ */ new Date()
13512
+ },
13513
+ bubbles: true,
13514
+ cancelable: false
13515
+ });
13516
+ window.dispatchEvent(event);
13517
+ } catch (eventError) {
13518
+ import_consola31.consola.warn("Failed to dispatch validation error event:", eventError);
13519
+ }
13520
+ }
11192
13521
  throw error;
11193
13522
  }
11194
13523
  }
@@ -11218,6 +13547,25 @@ Method: POST`,
11218
13547
  });
11219
13548
  }
11220
13549
  import_consola31.consola.error("Response data:", response);
13550
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13551
+ try {
13552
+ const event = new CustomEvent("zod-validation-error", {
13553
+ detail: {
13554
+ operation: "createNewsletterCampaignsCreate",
13555
+ path: "/cfg/newsletter/campaigns/",
13556
+ method: "POST",
13557
+ error,
13558
+ response,
13559
+ timestamp: /* @__PURE__ */ new Date()
13560
+ },
13561
+ bubbles: true,
13562
+ cancelable: false
13563
+ });
13564
+ window.dispatchEvent(event);
13565
+ } catch (eventError) {
13566
+ import_consola31.consola.warn("Failed to dispatch validation error event:", eventError);
13567
+ }
13568
+ }
11221
13569
  throw error;
11222
13570
  }
11223
13571
  }
@@ -11247,6 +13595,25 @@ Method: GET`,
11247
13595
  });
11248
13596
  }
11249
13597
  import_consola31.consola.error("Response data:", response);
13598
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13599
+ try {
13600
+ const event = new CustomEvent("zod-validation-error", {
13601
+ detail: {
13602
+ operation: "getNewsletterCampaignsRetrieve",
13603
+ path: "/cfg/newsletter/campaigns/{id}/",
13604
+ method: "GET",
13605
+ error,
13606
+ response,
13607
+ timestamp: /* @__PURE__ */ new Date()
13608
+ },
13609
+ bubbles: true,
13610
+ cancelable: false
13611
+ });
13612
+ window.dispatchEvent(event);
13613
+ } catch (eventError) {
13614
+ import_consola31.consola.warn("Failed to dispatch validation error event:", eventError);
13615
+ }
13616
+ }
11250
13617
  throw error;
11251
13618
  }
11252
13619
  }
@@ -11276,6 +13643,25 @@ Method: PUT`,
11276
13643
  });
11277
13644
  }
11278
13645
  import_consola31.consola.error("Response data:", response);
13646
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13647
+ try {
13648
+ const event = new CustomEvent("zod-validation-error", {
13649
+ detail: {
13650
+ operation: "updateNewsletterCampaignsUpdate",
13651
+ path: "/cfg/newsletter/campaigns/{id}/",
13652
+ method: "PUT",
13653
+ error,
13654
+ response,
13655
+ timestamp: /* @__PURE__ */ new Date()
13656
+ },
13657
+ bubbles: true,
13658
+ cancelable: false
13659
+ });
13660
+ window.dispatchEvent(event);
13661
+ } catch (eventError) {
13662
+ import_consola31.consola.warn("Failed to dispatch validation error event:", eventError);
13663
+ }
13664
+ }
11279
13665
  throw error;
11280
13666
  }
11281
13667
  }
@@ -11310,6 +13696,25 @@ Method: POST`,
11310
13696
  });
11311
13697
  }
11312
13698
  import_consola31.consola.error("Response data:", response);
13699
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13700
+ try {
13701
+ const event = new CustomEvent("zod-validation-error", {
13702
+ detail: {
13703
+ operation: "createNewsletterCampaignsSendCreate",
13704
+ path: "/cfg/newsletter/campaigns/send/",
13705
+ method: "POST",
13706
+ error,
13707
+ response,
13708
+ timestamp: /* @__PURE__ */ new Date()
13709
+ },
13710
+ bubbles: true,
13711
+ cancelable: false
13712
+ });
13713
+ window.dispatchEvent(event);
13714
+ } catch (eventError) {
13715
+ import_consola31.consola.warn("Failed to dispatch validation error event:", eventError);
13716
+ }
13717
+ }
11313
13718
  throw error;
11314
13719
  }
11315
13720
  }
@@ -11342,6 +13747,25 @@ Method: GET`,
11342
13747
  });
11343
13748
  }
11344
13749
  import_consola32.consola.error("Response data:", response);
13750
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13751
+ try {
13752
+ const event = new CustomEvent("zod-validation-error", {
13753
+ detail: {
13754
+ operation: "getNewsletterLogsList",
13755
+ path: "/cfg/newsletter/logs/",
13756
+ method: "GET",
13757
+ error,
13758
+ response,
13759
+ timestamp: /* @__PURE__ */ new Date()
13760
+ },
13761
+ bubbles: true,
13762
+ cancelable: false
13763
+ });
13764
+ window.dispatchEvent(event);
13765
+ } catch (eventError) {
13766
+ import_consola32.consola.warn("Failed to dispatch validation error event:", eventError);
13767
+ }
13768
+ }
11345
13769
  throw error;
11346
13770
  }
11347
13771
  }
@@ -11374,6 +13798,25 @@ Method: GET`,
11374
13798
  });
11375
13799
  }
11376
13800
  import_consola33.consola.error("Response data:", response);
13801
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13802
+ try {
13803
+ const event = new CustomEvent("zod-validation-error", {
13804
+ detail: {
13805
+ operation: "getNewsletterNewslettersList",
13806
+ path: "/cfg/newsletter/newsletters/",
13807
+ method: "GET",
13808
+ error,
13809
+ response,
13810
+ timestamp: /* @__PURE__ */ new Date()
13811
+ },
13812
+ bubbles: true,
13813
+ cancelable: false
13814
+ });
13815
+ window.dispatchEvent(event);
13816
+ } catch (eventError) {
13817
+ import_consola33.consola.warn("Failed to dispatch validation error event:", eventError);
13818
+ }
13819
+ }
11377
13820
  throw error;
11378
13821
  }
11379
13822
  }
@@ -11403,6 +13846,25 @@ Method: GET`,
11403
13846
  });
11404
13847
  }
11405
13848
  import_consola33.consola.error("Response data:", response);
13849
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13850
+ try {
13851
+ const event = new CustomEvent("zod-validation-error", {
13852
+ detail: {
13853
+ operation: "getNewsletterNewslettersRetrieve",
13854
+ path: "/cfg/newsletter/newsletters/{id}/",
13855
+ method: "GET",
13856
+ error,
13857
+ response,
13858
+ timestamp: /* @__PURE__ */ new Date()
13859
+ },
13860
+ bubbles: true,
13861
+ cancelable: false
13862
+ });
13863
+ window.dispatchEvent(event);
13864
+ } catch (eventError) {
13865
+ import_consola33.consola.warn("Failed to dispatch validation error event:", eventError);
13866
+ }
13867
+ }
11406
13868
  throw error;
11407
13869
  }
11408
13870
  }
@@ -11435,6 +13897,25 @@ Method: POST`,
11435
13897
  });
11436
13898
  }
11437
13899
  import_consola34.consola.error("Response data:", response);
13900
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13901
+ try {
13902
+ const event = new CustomEvent("zod-validation-error", {
13903
+ detail: {
13904
+ operation: "createNewsletterSubscribeCreate",
13905
+ path: "/cfg/newsletter/subscribe/",
13906
+ method: "POST",
13907
+ error,
13908
+ response,
13909
+ timestamp: /* @__PURE__ */ new Date()
13910
+ },
13911
+ bubbles: true,
13912
+ cancelable: false
13913
+ });
13914
+ window.dispatchEvent(event);
13915
+ } catch (eventError) {
13916
+ import_consola34.consola.warn("Failed to dispatch validation error event:", eventError);
13917
+ }
13918
+ }
11438
13919
  throw error;
11439
13920
  }
11440
13921
  }
@@ -11464,6 +13945,25 @@ Method: GET`,
11464
13945
  });
11465
13946
  }
11466
13947
  import_consola34.consola.error("Response data:", response);
13948
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13949
+ try {
13950
+ const event = new CustomEvent("zod-validation-error", {
13951
+ detail: {
13952
+ operation: "getNewsletterSubscriptionsList",
13953
+ path: "/cfg/newsletter/subscriptions/",
13954
+ method: "GET",
13955
+ error,
13956
+ response,
13957
+ timestamp: /* @__PURE__ */ new Date()
13958
+ },
13959
+ bubbles: true,
13960
+ cancelable: false
13961
+ });
13962
+ window.dispatchEvent(event);
13963
+ } catch (eventError) {
13964
+ import_consola34.consola.warn("Failed to dispatch validation error event:", eventError);
13965
+ }
13966
+ }
11467
13967
  throw error;
11468
13968
  }
11469
13969
  }
@@ -11493,6 +13993,25 @@ Method: POST`,
11493
13993
  });
11494
13994
  }
11495
13995
  import_consola34.consola.error("Response data:", response);
13996
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
13997
+ try {
13998
+ const event = new CustomEvent("zod-validation-error", {
13999
+ detail: {
14000
+ operation: "createNewsletterUnsubscribeCreate",
14001
+ path: "/cfg/newsletter/unsubscribe/",
14002
+ method: "POST",
14003
+ error,
14004
+ response,
14005
+ timestamp: /* @__PURE__ */ new Date()
14006
+ },
14007
+ bubbles: true,
14008
+ cancelable: false
14009
+ });
14010
+ window.dispatchEvent(event);
14011
+ } catch (eventError) {
14012
+ import_consola34.consola.warn("Failed to dispatch validation error event:", eventError);
14013
+ }
14014
+ }
11496
14015
  throw error;
11497
14016
  }
11498
14017
  }
@@ -11525,6 +14044,25 @@ Method: POST`,
11525
14044
  });
11526
14045
  }
11527
14046
  import_consola35.consola.error("Response data:", response);
14047
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14048
+ try {
14049
+ const event = new CustomEvent("zod-validation-error", {
14050
+ detail: {
14051
+ operation: "createNewsletterTestCreate",
14052
+ path: "/cfg/newsletter/test/",
14053
+ method: "POST",
14054
+ error,
14055
+ response,
14056
+ timestamp: /* @__PURE__ */ new Date()
14057
+ },
14058
+ bubbles: true,
14059
+ cancelable: false
14060
+ });
14061
+ window.dispatchEvent(event);
14062
+ } catch (eventError) {
14063
+ import_consola35.consola.warn("Failed to dispatch validation error event:", eventError);
14064
+ }
14065
+ }
11528
14066
  throw error;
11529
14067
  }
11530
14068
  }
@@ -11557,6 +14095,25 @@ Method: GET`,
11557
14095
  });
11558
14096
  }
11559
14097
  import_consola36.consola.error("Response data:", response);
14098
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14099
+ try {
14100
+ const event = new CustomEvent("zod-validation-error", {
14101
+ detail: {
14102
+ operation: "getPaymentsBalanceRetrieve",
14103
+ path: "/cfg/payments/balance/",
14104
+ method: "GET",
14105
+ error,
14106
+ response,
14107
+ timestamp: /* @__PURE__ */ new Date()
14108
+ },
14109
+ bubbles: true,
14110
+ cancelable: false
14111
+ });
14112
+ window.dispatchEvent(event);
14113
+ } catch (eventError) {
14114
+ import_consola36.consola.warn("Failed to dispatch validation error event:", eventError);
14115
+ }
14116
+ }
11560
14117
  throw error;
11561
14118
  }
11562
14119
  }
@@ -11591,6 +14148,25 @@ Method: GET`,
11591
14148
  });
11592
14149
  }
11593
14150
  import_consola36.consola.error("Response data:", response);
14151
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14152
+ try {
14153
+ const event = new CustomEvent("zod-validation-error", {
14154
+ detail: {
14155
+ operation: "getPaymentsPaymentsList",
14156
+ path: "/cfg/payments/payments/",
14157
+ method: "GET",
14158
+ error,
14159
+ response,
14160
+ timestamp: /* @__PURE__ */ new Date()
14161
+ },
14162
+ bubbles: true,
14163
+ cancelable: false
14164
+ });
14165
+ window.dispatchEvent(event);
14166
+ } catch (eventError) {
14167
+ import_consola36.consola.warn("Failed to dispatch validation error event:", eventError);
14168
+ }
14169
+ }
11594
14170
  throw error;
11595
14171
  }
11596
14172
  }
@@ -11620,6 +14196,25 @@ Method: GET`,
11620
14196
  });
11621
14197
  }
11622
14198
  import_consola36.consola.error("Response data:", response);
14199
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14200
+ try {
14201
+ const event = new CustomEvent("zod-validation-error", {
14202
+ detail: {
14203
+ operation: "getPaymentsPaymentsRetrieve",
14204
+ path: "/cfg/payments/payments/{id}/",
14205
+ method: "GET",
14206
+ error,
14207
+ response,
14208
+ timestamp: /* @__PURE__ */ new Date()
14209
+ },
14210
+ bubbles: true,
14211
+ cancelable: false
14212
+ });
14213
+ window.dispatchEvent(event);
14214
+ } catch (eventError) {
14215
+ import_consola36.consola.warn("Failed to dispatch validation error event:", eventError);
14216
+ }
14217
+ }
11623
14218
  throw error;
11624
14219
  }
11625
14220
  }
@@ -11649,6 +14244,25 @@ Method: POST`,
11649
14244
  });
11650
14245
  }
11651
14246
  import_consola36.consola.error("Response data:", response);
14247
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14248
+ try {
14249
+ const event = new CustomEvent("zod-validation-error", {
14250
+ detail: {
14251
+ operation: "createPaymentsPaymentsConfirmCreate",
14252
+ path: "/cfg/payments/payments/{id}/confirm/",
14253
+ method: "POST",
14254
+ error,
14255
+ response,
14256
+ timestamp: /* @__PURE__ */ new Date()
14257
+ },
14258
+ bubbles: true,
14259
+ cancelable: false
14260
+ });
14261
+ window.dispatchEvent(event);
14262
+ } catch (eventError) {
14263
+ import_consola36.consola.warn("Failed to dispatch validation error event:", eventError);
14264
+ }
14265
+ }
11652
14266
  throw error;
11653
14267
  }
11654
14268
  }
@@ -11678,6 +14292,25 @@ Method: GET`,
11678
14292
  });
11679
14293
  }
11680
14294
  import_consola36.consola.error("Response data:", response);
14295
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14296
+ try {
14297
+ const event = new CustomEvent("zod-validation-error", {
14298
+ detail: {
14299
+ operation: "getPaymentsPaymentsStatusRetrieve",
14300
+ path: "/cfg/payments/payments/{id}/status/",
14301
+ method: "GET",
14302
+ error,
14303
+ response,
14304
+ timestamp: /* @__PURE__ */ new Date()
14305
+ },
14306
+ bubbles: true,
14307
+ cancelable: false
14308
+ });
14309
+ window.dispatchEvent(event);
14310
+ } catch (eventError) {
14311
+ import_consola36.consola.warn("Failed to dispatch validation error event:", eventError);
14312
+ }
14313
+ }
11681
14314
  throw error;
11682
14315
  }
11683
14316
  }
@@ -11707,6 +14340,25 @@ Method: POST`,
11707
14340
  });
11708
14341
  }
11709
14342
  import_consola36.consola.error("Response data:", response);
14343
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14344
+ try {
14345
+ const event = new CustomEvent("zod-validation-error", {
14346
+ detail: {
14347
+ operation: "createPaymentsPaymentsCreateCreate",
14348
+ path: "/cfg/payments/payments/create/",
14349
+ method: "POST",
14350
+ error,
14351
+ response,
14352
+ timestamp: /* @__PURE__ */ new Date()
14353
+ },
14354
+ bubbles: true,
14355
+ cancelable: false
14356
+ });
14357
+ window.dispatchEvent(event);
14358
+ } catch (eventError) {
14359
+ import_consola36.consola.warn("Failed to dispatch validation error event:", eventError);
14360
+ }
14361
+ }
11710
14362
  throw error;
11711
14363
  }
11712
14364
  }
@@ -11744,6 +14396,25 @@ Method: GET`,
11744
14396
  });
11745
14397
  }
11746
14398
  import_consola37.consola.error("Response data:", response);
14399
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14400
+ try {
14401
+ const event = new CustomEvent("zod-validation-error", {
14402
+ detail: {
14403
+ operation: "getRqJobsList",
14404
+ path: "/cfg/rq/jobs/",
14405
+ method: "GET",
14406
+ error,
14407
+ response,
14408
+ timestamp: /* @__PURE__ */ new Date()
14409
+ },
14410
+ bubbles: true,
14411
+ cancelable: false
14412
+ });
14413
+ window.dispatchEvent(event);
14414
+ } catch (eventError) {
14415
+ import_consola37.consola.warn("Failed to dispatch validation error event:", eventError);
14416
+ }
14417
+ }
11747
14418
  throw error;
11748
14419
  }
11749
14420
  }
@@ -11773,6 +14444,25 @@ Method: GET`,
11773
14444
  });
11774
14445
  }
11775
14446
  import_consola37.consola.error("Response data:", response);
14447
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14448
+ try {
14449
+ const event = new CustomEvent("zod-validation-error", {
14450
+ detail: {
14451
+ operation: "getRqJobsRetrieve",
14452
+ path: "/cfg/rq/jobs/{id}/",
14453
+ method: "GET",
14454
+ error,
14455
+ response,
14456
+ timestamp: /* @__PURE__ */ new Date()
14457
+ },
14458
+ bubbles: true,
14459
+ cancelable: false
14460
+ });
14461
+ window.dispatchEvent(event);
14462
+ } catch (eventError) {
14463
+ import_consola37.consola.warn("Failed to dispatch validation error event:", eventError);
14464
+ }
14465
+ }
11776
14466
  throw error;
11777
14467
  }
11778
14468
  }
@@ -11802,6 +14492,25 @@ Method: DELETE`,
11802
14492
  });
11803
14493
  }
11804
14494
  import_consola37.consola.error("Response data:", response);
14495
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14496
+ try {
14497
+ const event = new CustomEvent("zod-validation-error", {
14498
+ detail: {
14499
+ operation: "deleteRqJobsDestroy",
14500
+ path: "/cfg/rq/jobs/{id}/",
14501
+ method: "DELETE",
14502
+ error,
14503
+ response,
14504
+ timestamp: /* @__PURE__ */ new Date()
14505
+ },
14506
+ bubbles: true,
14507
+ cancelable: false
14508
+ });
14509
+ window.dispatchEvent(event);
14510
+ } catch (eventError) {
14511
+ import_consola37.consola.warn("Failed to dispatch validation error event:", eventError);
14512
+ }
14513
+ }
11805
14514
  throw error;
11806
14515
  }
11807
14516
  }
@@ -11831,6 +14540,25 @@ Method: POST`,
11831
14540
  });
11832
14541
  }
11833
14542
  import_consola37.consola.error("Response data:", response);
14543
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14544
+ try {
14545
+ const event = new CustomEvent("zod-validation-error", {
14546
+ detail: {
14547
+ operation: "createRqJobsCancelCreate",
14548
+ path: "/cfg/rq/jobs/{id}/cancel/",
14549
+ method: "POST",
14550
+ error,
14551
+ response,
14552
+ timestamp: /* @__PURE__ */ new Date()
14553
+ },
14554
+ bubbles: true,
14555
+ cancelable: false
14556
+ });
14557
+ window.dispatchEvent(event);
14558
+ } catch (eventError) {
14559
+ import_consola37.consola.warn("Failed to dispatch validation error event:", eventError);
14560
+ }
14561
+ }
11834
14562
  throw error;
11835
14563
  }
11836
14564
  }
@@ -11860,6 +14588,25 @@ Method: POST`,
11860
14588
  });
11861
14589
  }
11862
14590
  import_consola37.consola.error("Response data:", response);
14591
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14592
+ try {
14593
+ const event = new CustomEvent("zod-validation-error", {
14594
+ detail: {
14595
+ operation: "createRqJobsRequeueCreate",
14596
+ path: "/cfg/rq/jobs/{id}/requeue/",
14597
+ method: "POST",
14598
+ error,
14599
+ response,
14600
+ timestamp: /* @__PURE__ */ new Date()
14601
+ },
14602
+ bubbles: true,
14603
+ cancelable: false
14604
+ });
14605
+ window.dispatchEvent(event);
14606
+ } catch (eventError) {
14607
+ import_consola37.consola.warn("Failed to dispatch validation error event:", eventError);
14608
+ }
14609
+ }
11863
14610
  throw error;
11864
14611
  }
11865
14612
  }
@@ -11892,6 +14639,25 @@ Method: GET`,
11892
14639
  });
11893
14640
  }
11894
14641
  import_consola38.consola.error("Response data:", response);
14642
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14643
+ try {
14644
+ const event = new CustomEvent("zod-validation-error", {
14645
+ detail: {
14646
+ operation: "getRqMonitorConfigRetrieve",
14647
+ path: "/cfg/rq/monitor/config/",
14648
+ method: "GET",
14649
+ error,
14650
+ response,
14651
+ timestamp: /* @__PURE__ */ new Date()
14652
+ },
14653
+ bubbles: true,
14654
+ cancelable: false
14655
+ });
14656
+ window.dispatchEvent(event);
14657
+ } catch (eventError) {
14658
+ import_consola38.consola.warn("Failed to dispatch validation error event:", eventError);
14659
+ }
14660
+ }
11895
14661
  throw error;
11896
14662
  }
11897
14663
  }
@@ -11921,6 +14687,25 @@ Method: GET`,
11921
14687
  });
11922
14688
  }
11923
14689
  import_consola38.consola.error("Response data:", response);
14690
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14691
+ try {
14692
+ const event = new CustomEvent("zod-validation-error", {
14693
+ detail: {
14694
+ operation: "getRqMonitorHealthRetrieve",
14695
+ path: "/cfg/rq/monitor/health/",
14696
+ method: "GET",
14697
+ error,
14698
+ response,
14699
+ timestamp: /* @__PURE__ */ new Date()
14700
+ },
14701
+ bubbles: true,
14702
+ cancelable: false
14703
+ });
14704
+ window.dispatchEvent(event);
14705
+ } catch (eventError) {
14706
+ import_consola38.consola.warn("Failed to dispatch validation error event:", eventError);
14707
+ }
14708
+ }
11924
14709
  throw error;
11925
14710
  }
11926
14711
  }
@@ -11963,6 +14748,25 @@ Method: GET`,
11963
14748
  });
11964
14749
  }
11965
14750
  import_consola39.consola.error("Response data:", response);
14751
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14752
+ try {
14753
+ const event = new CustomEvent("zod-validation-error", {
14754
+ detail: {
14755
+ operation: "getRqQueuesRetrieve",
14756
+ path: "/cfg/rq/queues/{id}/",
14757
+ method: "GET",
14758
+ error,
14759
+ response,
14760
+ timestamp: /* @__PURE__ */ new Date()
14761
+ },
14762
+ bubbles: true,
14763
+ cancelable: false
14764
+ });
14765
+ window.dispatchEvent(event);
14766
+ } catch (eventError) {
14767
+ import_consola39.consola.warn("Failed to dispatch validation error event:", eventError);
14768
+ }
14769
+ }
11966
14770
  throw error;
11967
14771
  }
11968
14772
  }
@@ -12005,6 +14809,25 @@ Method: GET`,
12005
14809
  });
12006
14810
  }
12007
14811
  import_consola40.consola.error("Response data:", response);
14812
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14813
+ try {
14814
+ const event = new CustomEvent("zod-validation-error", {
14815
+ detail: {
14816
+ operation: "getRqJobsRegistriesDeferredList",
14817
+ path: "/cfg/rq/jobs/registries/deferred/",
14818
+ method: "GET",
14819
+ error,
14820
+ response,
14821
+ timestamp: /* @__PURE__ */ new Date()
14822
+ },
14823
+ bubbles: true,
14824
+ cancelable: false
14825
+ });
14826
+ window.dispatchEvent(event);
14827
+ } catch (eventError) {
14828
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
14829
+ }
14830
+ }
12008
14831
  throw error;
12009
14832
  }
12010
14833
  }
@@ -12034,6 +14857,25 @@ Method: GET`,
12034
14857
  });
12035
14858
  }
12036
14859
  import_consola40.consola.error("Response data:", response);
14860
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14861
+ try {
14862
+ const event = new CustomEvent("zod-validation-error", {
14863
+ detail: {
14864
+ operation: "getRqJobsRegistriesFailedList",
14865
+ path: "/cfg/rq/jobs/registries/failed/",
14866
+ method: "GET",
14867
+ error,
14868
+ response,
14869
+ timestamp: /* @__PURE__ */ new Date()
14870
+ },
14871
+ bubbles: true,
14872
+ cancelable: false
14873
+ });
14874
+ window.dispatchEvent(event);
14875
+ } catch (eventError) {
14876
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
14877
+ }
14878
+ }
12037
14879
  throw error;
12038
14880
  }
12039
14881
  }
@@ -12063,6 +14905,25 @@ Method: POST`,
12063
14905
  });
12064
14906
  }
12065
14907
  import_consola40.consola.error("Response data:", response);
14908
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14909
+ try {
14910
+ const event = new CustomEvent("zod-validation-error", {
14911
+ detail: {
14912
+ operation: "createRqJobsRegistriesFailedClearCreate",
14913
+ path: "/cfg/rq/jobs/registries/failed/clear/",
14914
+ method: "POST",
14915
+ error,
14916
+ response,
14917
+ timestamp: /* @__PURE__ */ new Date()
14918
+ },
14919
+ bubbles: true,
14920
+ cancelable: false
14921
+ });
14922
+ window.dispatchEvent(event);
14923
+ } catch (eventError) {
14924
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
14925
+ }
14926
+ }
12066
14927
  throw error;
12067
14928
  }
12068
14929
  }
@@ -12092,6 +14953,25 @@ Method: POST`,
12092
14953
  });
12093
14954
  }
12094
14955
  import_consola40.consola.error("Response data:", response);
14956
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
14957
+ try {
14958
+ const event = new CustomEvent("zod-validation-error", {
14959
+ detail: {
14960
+ operation: "createRqJobsRegistriesFailedRequeueAllCreate",
14961
+ path: "/cfg/rq/jobs/registries/failed/requeue-all/",
14962
+ method: "POST",
14963
+ error,
14964
+ response,
14965
+ timestamp: /* @__PURE__ */ new Date()
14966
+ },
14967
+ bubbles: true,
14968
+ cancelable: false
14969
+ });
14970
+ window.dispatchEvent(event);
14971
+ } catch (eventError) {
14972
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
14973
+ }
14974
+ }
12095
14975
  throw error;
12096
14976
  }
12097
14977
  }
@@ -12121,6 +15001,25 @@ Method: GET`,
12121
15001
  });
12122
15002
  }
12123
15003
  import_consola40.consola.error("Response data:", response);
15004
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15005
+ try {
15006
+ const event = new CustomEvent("zod-validation-error", {
15007
+ detail: {
15008
+ operation: "getRqJobsRegistriesFinishedList",
15009
+ path: "/cfg/rq/jobs/registries/finished/",
15010
+ method: "GET",
15011
+ error,
15012
+ response,
15013
+ timestamp: /* @__PURE__ */ new Date()
15014
+ },
15015
+ bubbles: true,
15016
+ cancelable: false
15017
+ });
15018
+ window.dispatchEvent(event);
15019
+ } catch (eventError) {
15020
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
15021
+ }
15022
+ }
12124
15023
  throw error;
12125
15024
  }
12126
15025
  }
@@ -12150,6 +15049,25 @@ Method: POST`,
12150
15049
  });
12151
15050
  }
12152
15051
  import_consola40.consola.error("Response data:", response);
15052
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15053
+ try {
15054
+ const event = new CustomEvent("zod-validation-error", {
15055
+ detail: {
15056
+ operation: "createRqJobsRegistriesFinishedClearCreate",
15057
+ path: "/cfg/rq/jobs/registries/finished/clear/",
15058
+ method: "POST",
15059
+ error,
15060
+ response,
15061
+ timestamp: /* @__PURE__ */ new Date()
15062
+ },
15063
+ bubbles: true,
15064
+ cancelable: false
15065
+ });
15066
+ window.dispatchEvent(event);
15067
+ } catch (eventError) {
15068
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
15069
+ }
15070
+ }
12153
15071
  throw error;
12154
15072
  }
12155
15073
  }
@@ -12179,6 +15097,25 @@ Method: GET`,
12179
15097
  });
12180
15098
  }
12181
15099
  import_consola40.consola.error("Response data:", response);
15100
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15101
+ try {
15102
+ const event = new CustomEvent("zod-validation-error", {
15103
+ detail: {
15104
+ operation: "getRqJobsRegistriesStartedList",
15105
+ path: "/cfg/rq/jobs/registries/started/",
15106
+ method: "GET",
15107
+ error,
15108
+ response,
15109
+ timestamp: /* @__PURE__ */ new Date()
15110
+ },
15111
+ bubbles: true,
15112
+ cancelable: false
15113
+ });
15114
+ window.dispatchEvent(event);
15115
+ } catch (eventError) {
15116
+ import_consola40.consola.warn("Failed to dispatch validation error event:", eventError);
15117
+ }
15118
+ }
12182
15119
  throw error;
12183
15120
  }
12184
15121
  }
@@ -12211,6 +15148,25 @@ Method: GET`,
12211
15148
  });
12212
15149
  }
12213
15150
  import_consola41.consola.error("Response data:", response);
15151
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15152
+ try {
15153
+ const event = new CustomEvent("zod-validation-error", {
15154
+ detail: {
15155
+ operation: "getRqSchedulesList",
15156
+ path: "/cfg/rq/schedules/",
15157
+ method: "GET",
15158
+ error,
15159
+ response,
15160
+ timestamp: /* @__PURE__ */ new Date()
15161
+ },
15162
+ bubbles: true,
15163
+ cancelable: false
15164
+ });
15165
+ window.dispatchEvent(event);
15166
+ } catch (eventError) {
15167
+ import_consola41.consola.warn("Failed to dispatch validation error event:", eventError);
15168
+ }
15169
+ }
12214
15170
  throw error;
12215
15171
  }
12216
15172
  }
@@ -12240,6 +15196,25 @@ Method: POST`,
12240
15196
  });
12241
15197
  }
12242
15198
  import_consola41.consola.error("Response data:", response);
15199
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15200
+ try {
15201
+ const event = new CustomEvent("zod-validation-error", {
15202
+ detail: {
15203
+ operation: "createRqSchedulesCreate",
15204
+ path: "/cfg/rq/schedules/",
15205
+ method: "POST",
15206
+ error,
15207
+ response,
15208
+ timestamp: /* @__PURE__ */ new Date()
15209
+ },
15210
+ bubbles: true,
15211
+ cancelable: false
15212
+ });
15213
+ window.dispatchEvent(event);
15214
+ } catch (eventError) {
15215
+ import_consola41.consola.warn("Failed to dispatch validation error event:", eventError);
15216
+ }
15217
+ }
12243
15218
  throw error;
12244
15219
  }
12245
15220
  }
@@ -12269,6 +15244,25 @@ Method: GET`,
12269
15244
  });
12270
15245
  }
12271
15246
  import_consola41.consola.error("Response data:", response);
15247
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15248
+ try {
15249
+ const event = new CustomEvent("zod-validation-error", {
15250
+ detail: {
15251
+ operation: "getRqSchedulesRetrieve",
15252
+ path: "/cfg/rq/schedules/{id}/",
15253
+ method: "GET",
15254
+ error,
15255
+ response,
15256
+ timestamp: /* @__PURE__ */ new Date()
15257
+ },
15258
+ bubbles: true,
15259
+ cancelable: false
15260
+ });
15261
+ window.dispatchEvent(event);
15262
+ } catch (eventError) {
15263
+ import_consola41.consola.warn("Failed to dispatch validation error event:", eventError);
15264
+ }
15265
+ }
12272
15266
  throw error;
12273
15267
  }
12274
15268
  }
@@ -12298,6 +15292,25 @@ Method: DELETE`,
12298
15292
  });
12299
15293
  }
12300
15294
  import_consola41.consola.error("Response data:", response);
15295
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15296
+ try {
15297
+ const event = new CustomEvent("zod-validation-error", {
15298
+ detail: {
15299
+ operation: "deleteRqSchedulesDestroy",
15300
+ path: "/cfg/rq/schedules/{id}/",
15301
+ method: "DELETE",
15302
+ error,
15303
+ response,
15304
+ timestamp: /* @__PURE__ */ new Date()
15305
+ },
15306
+ bubbles: true,
15307
+ cancelable: false
15308
+ });
15309
+ window.dispatchEvent(event);
15310
+ } catch (eventError) {
15311
+ import_consola41.consola.warn("Failed to dispatch validation error event:", eventError);
15312
+ }
15313
+ }
12301
15314
  throw error;
12302
15315
  }
12303
15316
  }
@@ -12335,6 +15348,25 @@ Method: DELETE`,
12335
15348
  });
12336
15349
  }
12337
15350
  import_consola42.consola.error("Response data:", response);
15351
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15352
+ try {
15353
+ const event = new CustomEvent("zod-validation-error", {
15354
+ detail: {
15355
+ operation: "deleteRqTestingCleanupDestroy",
15356
+ path: "/cfg/rq/testing/cleanup/",
15357
+ method: "DELETE",
15358
+ error,
15359
+ response,
15360
+ timestamp: /* @__PURE__ */ new Date()
15361
+ },
15362
+ bubbles: true,
15363
+ cancelable: false
15364
+ });
15365
+ window.dispatchEvent(event);
15366
+ } catch (eventError) {
15367
+ import_consola42.consola.warn("Failed to dispatch validation error event:", eventError);
15368
+ }
15369
+ }
12338
15370
  throw error;
12339
15371
  }
12340
15372
  }
@@ -12369,6 +15401,25 @@ Method: POST`,
12369
15401
  });
12370
15402
  }
12371
15403
  import_consola42.consola.error("Response data:", response);
15404
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15405
+ try {
15406
+ const event = new CustomEvent("zod-validation-error", {
15407
+ detail: {
15408
+ operation: "createRqTestingRunDemoCreate",
15409
+ path: "/cfg/rq/testing/run-demo/",
15410
+ method: "POST",
15411
+ error,
15412
+ response,
15413
+ timestamp: /* @__PURE__ */ new Date()
15414
+ },
15415
+ bubbles: true,
15416
+ cancelable: false
15417
+ });
15418
+ window.dispatchEvent(event);
15419
+ } catch (eventError) {
15420
+ import_consola42.consola.warn("Failed to dispatch validation error event:", eventError);
15421
+ }
15422
+ }
12372
15423
  throw error;
12373
15424
  }
12374
15425
  }
@@ -12398,6 +15449,25 @@ Method: POST`,
12398
15449
  });
12399
15450
  }
12400
15451
  import_consola42.consola.error("Response data:", response);
15452
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15453
+ try {
15454
+ const event = new CustomEvent("zod-validation-error", {
15455
+ detail: {
15456
+ operation: "createRqTestingScheduleDemoCreate",
15457
+ path: "/cfg/rq/testing/schedule-demo/",
15458
+ method: "POST",
15459
+ error,
15460
+ response,
15461
+ timestamp: /* @__PURE__ */ new Date()
15462
+ },
15463
+ bubbles: true,
15464
+ cancelable: false
15465
+ });
15466
+ window.dispatchEvent(event);
15467
+ } catch (eventError) {
15468
+ import_consola42.consola.warn("Failed to dispatch validation error event:", eventError);
15469
+ }
15470
+ }
12401
15471
  throw error;
12402
15472
  }
12403
15473
  }
@@ -12427,6 +15497,25 @@ Method: POST`,
12427
15497
  });
12428
15498
  }
12429
15499
  import_consola42.consola.error("Response data:", response);
15500
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15501
+ try {
15502
+ const event = new CustomEvent("zod-validation-error", {
15503
+ detail: {
15504
+ operation: "createRqTestingStressTestCreate",
15505
+ path: "/cfg/rq/testing/stress-test/",
15506
+ method: "POST",
15507
+ error,
15508
+ response,
15509
+ timestamp: /* @__PURE__ */ new Date()
15510
+ },
15511
+ bubbles: true,
15512
+ cancelable: false
15513
+ });
15514
+ window.dispatchEvent(event);
15515
+ } catch (eventError) {
15516
+ import_consola42.consola.warn("Failed to dispatch validation error event:", eventError);
15517
+ }
15518
+ }
12430
15519
  throw error;
12431
15520
  }
12432
15521
  }
@@ -12464,6 +15553,25 @@ Method: GET`,
12464
15553
  });
12465
15554
  }
12466
15555
  import_consola43.consola.error("Response data:", response);
15556
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15557
+ try {
15558
+ const event = new CustomEvent("zod-validation-error", {
15559
+ detail: {
15560
+ operation: "getRqWorkersStatsRetrieve",
15561
+ path: "/cfg/rq/workers/stats/",
15562
+ method: "GET",
15563
+ error,
15564
+ response,
15565
+ timestamp: /* @__PURE__ */ new Date()
15566
+ },
15567
+ bubbles: true,
15568
+ cancelable: false
15569
+ });
15570
+ window.dispatchEvent(event);
15571
+ } catch (eventError) {
15572
+ import_consola43.consola.warn("Failed to dispatch validation error event:", eventError);
15573
+ }
15574
+ }
12467
15575
  throw error;
12468
15576
  }
12469
15577
  }
@@ -12496,6 +15604,25 @@ Method: GET`,
12496
15604
  });
12497
15605
  }
12498
15606
  import_consola44.consola.error("Response data:", response);
15607
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15608
+ try {
15609
+ const event = new CustomEvent("zod-validation-error", {
15610
+ detail: {
15611
+ operation: "getSupportTicketsList",
15612
+ path: "/cfg/support/tickets/",
15613
+ method: "GET",
15614
+ error,
15615
+ response,
15616
+ timestamp: /* @__PURE__ */ new Date()
15617
+ },
15618
+ bubbles: true,
15619
+ cancelable: false
15620
+ });
15621
+ window.dispatchEvent(event);
15622
+ } catch (eventError) {
15623
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15624
+ }
15625
+ }
12499
15626
  throw error;
12500
15627
  }
12501
15628
  }
@@ -12525,6 +15652,25 @@ Method: POST`,
12525
15652
  });
12526
15653
  }
12527
15654
  import_consola44.consola.error("Response data:", response);
15655
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15656
+ try {
15657
+ const event = new CustomEvent("zod-validation-error", {
15658
+ detail: {
15659
+ operation: "createSupportTicketsCreate",
15660
+ path: "/cfg/support/tickets/",
15661
+ method: "POST",
15662
+ error,
15663
+ response,
15664
+ timestamp: /* @__PURE__ */ new Date()
15665
+ },
15666
+ bubbles: true,
15667
+ cancelable: false
15668
+ });
15669
+ window.dispatchEvent(event);
15670
+ } catch (eventError) {
15671
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15672
+ }
15673
+ }
12528
15674
  throw error;
12529
15675
  }
12530
15676
  }
@@ -12554,6 +15700,25 @@ Method: GET`,
12554
15700
  });
12555
15701
  }
12556
15702
  import_consola44.consola.error("Response data:", response);
15703
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15704
+ try {
15705
+ const event = new CustomEvent("zod-validation-error", {
15706
+ detail: {
15707
+ operation: "getSupportTicketsMessagesList",
15708
+ path: "/cfg/support/tickets/{ticket_uuid}/messages/",
15709
+ method: "GET",
15710
+ error,
15711
+ response,
15712
+ timestamp: /* @__PURE__ */ new Date()
15713
+ },
15714
+ bubbles: true,
15715
+ cancelable: false
15716
+ });
15717
+ window.dispatchEvent(event);
15718
+ } catch (eventError) {
15719
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15720
+ }
15721
+ }
12557
15722
  throw error;
12558
15723
  }
12559
15724
  }
@@ -12583,6 +15748,25 @@ Method: POST`,
12583
15748
  });
12584
15749
  }
12585
15750
  import_consola44.consola.error("Response data:", response);
15751
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15752
+ try {
15753
+ const event = new CustomEvent("zod-validation-error", {
15754
+ detail: {
15755
+ operation: "createSupportTicketsMessagesCreate",
15756
+ path: "/cfg/support/tickets/{ticket_uuid}/messages/",
15757
+ method: "POST",
15758
+ error,
15759
+ response,
15760
+ timestamp: /* @__PURE__ */ new Date()
15761
+ },
15762
+ bubbles: true,
15763
+ cancelable: false
15764
+ });
15765
+ window.dispatchEvent(event);
15766
+ } catch (eventError) {
15767
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15768
+ }
15769
+ }
12586
15770
  throw error;
12587
15771
  }
12588
15772
  }
@@ -12612,6 +15796,25 @@ Method: GET`,
12612
15796
  });
12613
15797
  }
12614
15798
  import_consola44.consola.error("Response data:", response);
15799
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15800
+ try {
15801
+ const event = new CustomEvent("zod-validation-error", {
15802
+ detail: {
15803
+ operation: "getSupportTicketsMessagesRetrieve",
15804
+ path: "/cfg/support/tickets/{ticket_uuid}/messages/{uuid}/",
15805
+ method: "GET",
15806
+ error,
15807
+ response,
15808
+ timestamp: /* @__PURE__ */ new Date()
15809
+ },
15810
+ bubbles: true,
15811
+ cancelable: false
15812
+ });
15813
+ window.dispatchEvent(event);
15814
+ } catch (eventError) {
15815
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15816
+ }
15817
+ }
12615
15818
  throw error;
12616
15819
  }
12617
15820
  }
@@ -12641,6 +15844,25 @@ Method: PUT`,
12641
15844
  });
12642
15845
  }
12643
15846
  import_consola44.consola.error("Response data:", response);
15847
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15848
+ try {
15849
+ const event = new CustomEvent("zod-validation-error", {
15850
+ detail: {
15851
+ operation: "updateSupportTicketsMessagesUpdate",
15852
+ path: "/cfg/support/tickets/{ticket_uuid}/messages/{uuid}/",
15853
+ method: "PUT",
15854
+ error,
15855
+ response,
15856
+ timestamp: /* @__PURE__ */ new Date()
15857
+ },
15858
+ bubbles: true,
15859
+ cancelable: false
15860
+ });
15861
+ window.dispatchEvent(event);
15862
+ } catch (eventError) {
15863
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15864
+ }
15865
+ }
12644
15866
  throw error;
12645
15867
  }
12646
15868
  }
@@ -12670,6 +15892,25 @@ Method: PATCH`,
12670
15892
  });
12671
15893
  }
12672
15894
  import_consola44.consola.error("Response data:", response);
15895
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15896
+ try {
15897
+ const event = new CustomEvent("zod-validation-error", {
15898
+ detail: {
15899
+ operation: "partialUpdateSupportTicketsMessagesPartialUpdate",
15900
+ path: "/cfg/support/tickets/{ticket_uuid}/messages/{uuid}/",
15901
+ method: "PATCH",
15902
+ error,
15903
+ response,
15904
+ timestamp: /* @__PURE__ */ new Date()
15905
+ },
15906
+ bubbles: true,
15907
+ cancelable: false
15908
+ });
15909
+ window.dispatchEvent(event);
15910
+ } catch (eventError) {
15911
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15912
+ }
15913
+ }
12673
15914
  throw error;
12674
15915
  }
12675
15916
  }
@@ -12704,6 +15945,25 @@ Method: GET`,
12704
15945
  });
12705
15946
  }
12706
15947
  import_consola44.consola.error("Response data:", response);
15948
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15949
+ try {
15950
+ const event = new CustomEvent("zod-validation-error", {
15951
+ detail: {
15952
+ operation: "getSupportTicketsRetrieve",
15953
+ path: "/cfg/support/tickets/{uuid}/",
15954
+ method: "GET",
15955
+ error,
15956
+ response,
15957
+ timestamp: /* @__PURE__ */ new Date()
15958
+ },
15959
+ bubbles: true,
15960
+ cancelable: false
15961
+ });
15962
+ window.dispatchEvent(event);
15963
+ } catch (eventError) {
15964
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
15965
+ }
15966
+ }
12707
15967
  throw error;
12708
15968
  }
12709
15969
  }
@@ -12733,6 +15993,25 @@ Method: PUT`,
12733
15993
  });
12734
15994
  }
12735
15995
  import_consola44.consola.error("Response data:", response);
15996
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
15997
+ try {
15998
+ const event = new CustomEvent("zod-validation-error", {
15999
+ detail: {
16000
+ operation: "updateSupportTicketsUpdate",
16001
+ path: "/cfg/support/tickets/{uuid}/",
16002
+ method: "PUT",
16003
+ error,
16004
+ response,
16005
+ timestamp: /* @__PURE__ */ new Date()
16006
+ },
16007
+ bubbles: true,
16008
+ cancelable: false
16009
+ });
16010
+ window.dispatchEvent(event);
16011
+ } catch (eventError) {
16012
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
16013
+ }
16014
+ }
12736
16015
  throw error;
12737
16016
  }
12738
16017
  }
@@ -12762,6 +16041,25 @@ Method: PATCH`,
12762
16041
  });
12763
16042
  }
12764
16043
  import_consola44.consola.error("Response data:", response);
16044
+ if (typeof window !== "undefined" && error instanceof Error && "issues" in error) {
16045
+ try {
16046
+ const event = new CustomEvent("zod-validation-error", {
16047
+ detail: {
16048
+ operation: "partialUpdateSupportTicketsPartialUpdate",
16049
+ path: "/cfg/support/tickets/{uuid}/",
16050
+ method: "PATCH",
16051
+ error,
16052
+ response,
16053
+ timestamp: /* @__PURE__ */ new Date()
16054
+ },
16055
+ bubbles: true,
16056
+ cancelable: false
16057
+ });
16058
+ window.dispatchEvent(event);
16059
+ } catch (eventError) {
16060
+ import_consola44.consola.warn("Failed to dispatch validation error event:", eventError);
16061
+ }
16062
+ }
12765
16063
  throw error;
12766
16064
  }
12767
16065
  }
@@ -15771,6 +19069,8 @@ function useKnowbaseSessionsContext() {
15771
19069
  deleteRqTestingCleanupDestroy,
15772
19070
  deleteSupportTicketsDestroy,
15773
19071
  deleteSupportTicketsMessagesDestroy,
19072
+ dispatchValidationError,
19073
+ formatZodError,
15774
19074
  getAPIInstance,
15775
19075
  getAccountsProfileRetrieve,
15776
19076
  getCentrifugoAuthTokenRetrieve,
@@ -15890,6 +19190,7 @@ function useKnowbaseSessionsContext() {
15890
19190
  getSupportTicketsMessagesRetrieve,
15891
19191
  getSupportTicketsRetrieve,
15892
19192
  isAPIConfigured,
19193
+ onValidationError,
15893
19194
  partialUpdateAccountsProfilePartialPartialUpdate,
15894
19195
  partialUpdateAccountsProfilePartialUpdate,
15895
19196
  partialUpdateAccountsProfileUpdatePartialUpdate,