@camerontaylor/paseo-protocol 0.12.0-beta.1.fork.1 → 0.12.0-fork.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43999,29 +43999,55 @@ export const SessionOutboundMessage207 = /* @__PURE__ */ (() => {
43999
43999
  case "error": return typeof __dx_1 === "object" && __dx_1 !== null && !Array.isArray(__dx_1) && __dx_1["status"] === "error" && typeof __dx_1["error"] === "string";
44000
44000
  default: return false;
44001
44001
  } }
44002
- function __du_18(__dx_19) { switch (__dx_19["kind"]) {
44003
- case "expired": return typeof __dx_19 === "object" && __dx_19 !== null && !Array.isArray(__dx_19) && __dx_19["kind"] === "expired" && typeof __dx_19["expiresAt"] === "string" && __re_re_14.test(__dx_19["expiresAt"]) && (__dx_19["refreshedBy"] === undefined || (typeof __dx_19["refreshedBy"] === "string"));
44004
- case "rejected": return typeof __dx_19 === "object" && __dx_19 !== null && !Array.isArray(__dx_19) && __dx_19["kind"] === "rejected" && typeof __dx_19["status"] === "number" && Number.isSafeInteger(__dx_19["status"]) && (__dx_19["refreshedBy"] === undefined || (typeof __dx_19["refreshedBy"] === "string"));
44005
- case "no_quota": return typeof __dx_19 === "object" && __dx_19 !== null && !Array.isArray(__dx_19) && __dx_19["kind"] === "no_quota" && typeof __dx_19["detail"] === "string";
44002
+ var __enumSet_16 = new Set(["default", "ok", "warning", "danger"]);
44003
+ function __af_17(a) { for (var __ae_15, i = 0; i < a.length; i++) {
44004
+ __ae_15 = a[i];
44005
+ if (!(typeof __ae_15 === "object" && __ae_15 !== null && !Array.isArray(__ae_15) && typeof __ae_15["id"] === "string" && typeof __ae_15["label"] === "string" && (__ae_15["shortLabel"] === undefined || (typeof __ae_15["shortLabel"] === "string")) && (__ae_15["summary"] === undefined || (typeof __ae_15["summary"] === "boolean")) && (__ae_15["usedPct"] === undefined || ((__ae_15["usedPct"] === null || (typeof __ae_15["usedPct"] === "number" && !Number.isNaN(__ae_15["usedPct"]) && Number.isFinite(__ae_15["usedPct"]))))) && (__ae_15["remainingPct"] === undefined || ((__ae_15["remainingPct"] === null || (typeof __ae_15["remainingPct"] === "number" && !Number.isNaN(__ae_15["remainingPct"]) && Number.isFinite(__ae_15["remainingPct"]))))) && (__ae_15["resetsAt"] === undefined || ((__ae_15["resetsAt"] === null || (typeof __ae_15["resetsAt"] === "string")))) && (__ae_15["runsOutAt"] === undefined || ((__ae_15["runsOutAt"] === null || (typeof __ae_15["runsOutAt"] === "string")))) && (__ae_15["shortfallPct"] === undefined || ((__ae_15["shortfallPct"] === null || (typeof __ae_15["shortfallPct"] === "number" && !Number.isNaN(__ae_15["shortfallPct"]) && Number.isFinite(__ae_15["shortfallPct"]))))) && (__ae_15["tone"] === undefined || (__enumSet_16.has(__ae_15["tone"]))))) {
44006
+ return false;
44007
+ }
44008
+ } return true; }
44009
+ var __enumSet_19 = new Set(["usd", "credits", "requests", "tokens"]);
44010
+ var __enumSet_20 = new Set(["default", "ok", "warning", "danger"]);
44011
+ function __af_21(a) { for (var __ae_18, i = 0; i < a.length; i++) {
44012
+ __ae_18 = a[i];
44013
+ if (!(typeof __ae_18 === "object" && __ae_18 !== null && !Array.isArray(__ae_18) && typeof __ae_18["id"] === "string" && typeof __ae_18["label"] === "string" && (__ae_18["used"] === undefined || ((__ae_18["used"] === null || (typeof __ae_18["used"] === "number" && !Number.isNaN(__ae_18["used"]) && Number.isFinite(__ae_18["used"]))))) && (__ae_18["remaining"] === undefined || ((__ae_18["remaining"] === null || (typeof __ae_18["remaining"] === "number" && !Number.isNaN(__ae_18["remaining"]) && Number.isFinite(__ae_18["remaining"]))))) && (__ae_18["limit"] === undefined || ((__ae_18["limit"] === null || (typeof __ae_18["limit"] === "number" && !Number.isNaN(__ae_18["limit"]) && Number.isFinite(__ae_18["limit"]))))) && __enumSet_19.has(__ae_18["unit"]) && (__ae_18["resetsAt"] === undefined || ((__ae_18["resetsAt"] === null || (typeof __ae_18["resetsAt"] === "string")))) && (__ae_18["tone"] === undefined || (__enumSet_20.has(__ae_18["tone"]))))) {
44014
+ return false;
44015
+ }
44016
+ } return true; }
44017
+ var __enumSet_23 = new Set(["default", "ok", "warning", "danger"]);
44018
+ function __af_24(a) { for (var __ae_22, i = 0; i < a.length; i++) {
44019
+ __ae_22 = a[i];
44020
+ if (!(typeof __ae_22 === "object" && __ae_22 !== null && !Array.isArray(__ae_22) && typeof __ae_22["id"] === "string" && typeof __ae_22["label"] === "string" && typeof __ae_22["value"] === "string" && (__ae_22["tone"] === undefined || (__enumSet_23.has(__ae_22["tone"]))))) {
44021
+ return false;
44022
+ }
44023
+ } return true; }
44024
+ function __du_28(__dx_29) { switch (__dx_29["kind"]) {
44025
+ case "expired": return typeof __dx_29 === "object" && __dx_29 !== null && !Array.isArray(__dx_29) && __dx_29["kind"] === "expired" && typeof __dx_29["expiresAt"] === "string" && __re_re_14.test(__dx_29["expiresAt"]) && (__dx_29["refreshedBy"] === undefined || (typeof __dx_29["refreshedBy"] === "string"));
44026
+ case "rejected": return typeof __dx_29 === "object" && __dx_29 !== null && !Array.isArray(__dx_29) && __dx_29["kind"] === "rejected" && typeof __dx_29["status"] === "number" && Number.isSafeInteger(__dx_29["status"]) && (__dx_29["refreshedBy"] === undefined || (typeof __dx_29["refreshedBy"] === "string"));
44027
+ case "no_quota": return typeof __dx_29 === "object" && __dx_29 !== null && !Array.isArray(__dx_29) && __dx_29["kind"] === "no_quota" && typeof __dx_29["detail"] === "string";
44006
44028
  default: return false;
44007
44029
  } }
44008
- function __du_16(__dx_17) { switch (__dx_17["status"]) {
44009
- case "unavailable": return typeof __dx_17 === "object" && __dx_17 !== null && !Array.isArray(__dx_17) && __dx_17["status"] === "unavailable" && typeof __dx_17["problem"] === "object" && __dx_17["problem"] !== null && !Array.isArray(__dx_17["problem"]) && __du_18(__dx_17["problem"]);
44010
- case "error": return typeof __dx_17 === "object" && __dx_17 !== null && !Array.isArray(__dx_17) && __dx_17["status"] === "error" && typeof __dx_17["error"] === "string";
44030
+ function __du_26(__dx_27) { switch (__dx_27["status"]) {
44031
+ case "unavailable": return typeof __dx_27 === "object" && __dx_27 !== null && !Array.isArray(__dx_27) && __dx_27["status"] === "unavailable" && typeof __dx_27["problem"] === "object" && __dx_27["problem"] !== null && !Array.isArray(__dx_27["problem"]) && __du_28(__dx_27["problem"]);
44032
+ case "error": return typeof __dx_27 === "object" && __dx_27 !== null && !Array.isArray(__dx_27) && __dx_27["status"] === "error" && typeof __dx_27["error"] === "string";
44011
44033
  default: return false;
44012
44034
  } }
44013
- function __af_20(a) { for (var __ae_15, i = 0; i < a.length; i++) {
44014
- __ae_15 = a[i];
44015
- if (!(typeof __ae_15 === "object" && __ae_15 !== null && !Array.isArray(__ae_15) && typeof __ae_15["harness"] === "string" && typeof __ae_15["report"] === "object" && __ae_15["report"] !== null && !Array.isArray(__ae_15["report"]) && __du_16(__ae_15["report"]))) {
44035
+ function __af_30(a) { for (var __ae_25, i = 0; i < a.length; i++) {
44036
+ __ae_25 = a[i];
44037
+ if (!(typeof __ae_25 === "object" && __ae_25 !== null && !Array.isArray(__ae_25) && typeof __ae_25["harness"] === "string" && typeof __ae_25["report"] === "object" && __ae_25["report"] !== null && !Array.isArray(__ae_25["report"]) && __du_26(__ae_25["report"]))) {
44016
44038
  return false;
44017
44039
  }
44018
44040
  } return true; }
44019
- var __set_enum_29 = new Set(["default", "ok", "warning", "danger"]);
44020
- var __set_enum_32 = new Set(["usd", "credits", "requests", "tokens"]);
44021
- var __set_enum_33 = new Set(["default", "ok", "warning", "danger"]);
44022
- var __set_enum_36 = new Set(["default", "ok", "warning", "danger"]);
44041
+ var __set_enum_39 = new Set(["default", "ok", "warning", "danger"]);
44042
+ var __set_enum_42 = new Set(["usd", "credits", "requests", "tokens"]);
44043
+ var __set_enum_43 = new Set(["default", "ok", "warning", "danger"]);
44044
+ var __set_enum_46 = new Set(["default", "ok", "warning", "danger"]);
44045
+ var __set_enum_57 = new Set(["default", "ok", "warning", "danger"]);
44046
+ var __set_enum_60 = new Set(["usd", "credits", "requests", "tokens"]);
44047
+ var __set_enum_61 = new Set(["default", "ok", "warning", "danger"]);
44048
+ var __set_enum_64 = new Set(["default", "ok", "warning", "danger"]);
44023
44049
  function safeParse_SessionOutboundMessage207(input) {
44024
- if (typeof input === "object" && input !== null && !Array.isArray(input) && input["type"] === "usage.list_reports.update" && typeof input["payload"] === "object" && input["payload"] !== null && !Array.isArray(input["payload"]) && typeof input["payload"]["requestId"] === "string" && typeof input["payload"]["report"] === "object" && input["payload"]["report"] !== null && !Array.isArray(input["payload"]["report"]) && typeof input["payload"]["report"]["id"] === "string" && typeof input["payload"]["report"]["account"] === "object" && input["payload"]["report"]["account"] !== null && !Array.isArray(input["payload"]["report"]["account"]) && (input["payload"]["report"]["account"]["label"] === undefined || (typeof input["payload"]["report"]["account"]["label"] === "string")) && typeof input["payload"]["report"]["fetchedAt"] === "string" && typeof input["payload"]["report"]["sourceId"] === "string" && typeof input["payload"]["report"]["sourceLabel"] === "string" && (input["payload"]["report"]["icon"] === undefined || (typeof input["payload"]["report"]["icon"] === "string")) && typeof input["payload"]["report"]["report"] === "object" && input["payload"]["report"]["report"] !== null && !Array.isArray(input["payload"]["report"]["report"]) && __du_0(input["payload"]["report"]["report"]) && (input["payload"]["report"]["loginErrors"] === undefined || (Array.isArray(input["payload"]["report"]["loginErrors"]) && __af_20(input["payload"]["report"]["loginErrors"])))) {
44050
+ if (typeof input === "object" && input !== null && !Array.isArray(input) && input["type"] === "usage.list_reports.update" && typeof input["payload"] === "object" && input["payload"] !== null && !Array.isArray(input["payload"]) && typeof input["payload"]["requestId"] === "string" && typeof input["payload"]["report"] === "object" && input["payload"]["report"] !== null && !Array.isArray(input["payload"]["report"]) && typeof input["payload"]["report"]["id"] === "string" && typeof input["payload"]["report"]["account"] === "object" && input["payload"]["report"]["account"] !== null && !Array.isArray(input["payload"]["report"]["account"]) && (input["payload"]["report"]["account"]["label"] === undefined || (typeof input["payload"]["report"]["account"]["label"] === "string")) && typeof input["payload"]["report"]["fetchedAt"] === "string" && typeof input["payload"]["report"]["sourceId"] === "string" && typeof input["payload"]["report"]["sourceLabel"] === "string" && (input["payload"]["report"]["icon"] === undefined || (typeof input["payload"]["report"]["icon"] === "string")) && typeof input["payload"]["report"]["report"] === "object" && input["payload"]["report"]["report"] !== null && !Array.isArray(input["payload"]["report"]["report"]) && __du_0(input["payload"]["report"]["report"]) && (input["payload"]["report"]["successfulAt"] === undefined || (typeof input["payload"]["report"]["successfulAt"] === "string")) && (input["payload"]["report"]["lastSuccessful"] === undefined || (typeof input["payload"]["report"]["lastSuccessful"] === "object" && input["payload"]["report"]["lastSuccessful"] !== null && !Array.isArray(input["payload"]["report"]["lastSuccessful"]) && typeof input["payload"]["report"]["lastSuccessful"]["fetchedAt"] === "string" && typeof input["payload"]["report"]["lastSuccessful"]["report"] === "object" && input["payload"]["report"]["lastSuccessful"]["report"] !== null && !Array.isArray(input["payload"]["report"]["lastSuccessful"]["report"]) && input["payload"]["report"]["lastSuccessful"]["report"]["status"] === "available" && (input["payload"]["report"]["lastSuccessful"]["report"]["planLabel"] === undefined || (typeof input["payload"]["report"]["lastSuccessful"]["report"]["planLabel"] === "string")) && Array.isArray(input["payload"]["report"]["lastSuccessful"]["report"]["windows"]) && __af_17(input["payload"]["report"]["lastSuccessful"]["report"]["windows"]) && (input["payload"]["report"]["lastSuccessful"]["report"]["balances"] === undefined || (Array.isArray(input["payload"]["report"]["lastSuccessful"]["report"]["balances"]) && __af_21(input["payload"]["report"]["lastSuccessful"]["report"]["balances"]))) && (input["payload"]["report"]["lastSuccessful"]["report"]["details"] === undefined || (Array.isArray(input["payload"]["report"]["lastSuccessful"]["report"]["details"]) && __af_24(input["payload"]["report"]["lastSuccessful"]["report"]["details"]))))) && (input["payload"]["report"]["loginErrors"] === undefined || (Array.isArray(input["payload"]["report"]["loginErrors"]) && __af_30(input["payload"]["report"]["loginErrors"])))) {
44025
44051
  return { success: true, data: input };
44026
44052
  }
44027
44053
  var _e = [];
@@ -44030,256 +44056,256 @@ export const SessionOutboundMessage207 = /* @__PURE__ */ (() => {
44030
44056
  _e.push({ code: "invalid_type", expected: "object", input: _d, path: [] });
44031
44057
  }
44032
44058
  else {
44033
- var __o_21 = _d;
44034
- if (__o_21["type"] !== "usage.list_reports.update") {
44035
- _e.push({ code: "invalid_value", values: ["usage.list_reports.update"], input: __o_21["type"], path: ["type"] });
44059
+ var __o_31 = _d;
44060
+ if (__o_31["type"] !== "usage.list_reports.update") {
44061
+ _e.push({ code: "invalid_value", values: ["usage.list_reports.update"], input: __o_31["type"], path: ["type"] });
44036
44062
  }
44037
- if (typeof __o_21["payload"] !== "object" || __o_21["payload"] === null || Array.isArray(__o_21["payload"])) {
44038
- _e.push({ code: "invalid_type", expected: "object", input: __o_21["payload"], path: ["payload"] });
44063
+ if (typeof __o_31["payload"] !== "object" || __o_31["payload"] === null || Array.isArray(__o_31["payload"])) {
44064
+ _e.push({ code: "invalid_type", expected: "object", input: __o_31["payload"], path: ["payload"] });
44039
44065
  }
44040
44066
  else {
44041
- var __o_22 = __o_21["payload"];
44042
- if (typeof __o_22["requestId"] !== "string") {
44043
- _e.push({ code: "invalid_type", expected: "string", input: __o_22["requestId"], path: ["payload"].concat("requestId") });
44067
+ var __o_32 = __o_31["payload"];
44068
+ if (typeof __o_32["requestId"] !== "string") {
44069
+ _e.push({ code: "invalid_type", expected: "string", input: __o_32["requestId"], path: ["payload"].concat("requestId") });
44044
44070
  }
44045
- if (typeof __o_22["report"] !== "object" || __o_22["report"] === null || Array.isArray(__o_22["report"])) {
44046
- _e.push({ code: "invalid_type", expected: "object", input: __o_22["report"], path: ["payload"].concat("report") });
44071
+ if (typeof __o_32["report"] !== "object" || __o_32["report"] === null || Array.isArray(__o_32["report"])) {
44072
+ _e.push({ code: "invalid_type", expected: "object", input: __o_32["report"], path: ["payload"].concat("report") });
44047
44073
  }
44048
44074
  else {
44049
- var __o_23 = __o_22["report"];
44050
- if (typeof __o_23["id"] !== "string") {
44051
- _e.push({ code: "invalid_type", expected: "string", input: __o_23["id"], path: ["payload"].concat("report").concat("id") });
44075
+ var __o_33 = __o_32["report"];
44076
+ if (typeof __o_33["id"] !== "string") {
44077
+ _e.push({ code: "invalid_type", expected: "string", input: __o_33["id"], path: ["payload"].concat("report").concat("id") });
44052
44078
  }
44053
- if (typeof __o_23["account"] !== "object" || __o_23["account"] === null || Array.isArray(__o_23["account"])) {
44054
- _e.push({ code: "invalid_type", expected: "object", input: __o_23["account"], path: ["payload"].concat("report").concat("account") });
44079
+ if (typeof __o_33["account"] !== "object" || __o_33["account"] === null || Array.isArray(__o_33["account"])) {
44080
+ _e.push({ code: "invalid_type", expected: "object", input: __o_33["account"], path: ["payload"].concat("report").concat("account") });
44055
44081
  }
44056
44082
  else {
44057
- var __o_24 = __o_23["account"];
44058
- if (__o_24["label"] !== undefined) {
44059
- if (typeof __o_24["label"] !== "string") {
44060
- _e.push({ code: "invalid_type", expected: "string", input: __o_24["label"], path: ["payload"].concat("report").concat("account").concat("label") });
44083
+ var __o_34 = __o_33["account"];
44084
+ if (__o_34["label"] !== undefined) {
44085
+ if (typeof __o_34["label"] !== "string") {
44086
+ _e.push({ code: "invalid_type", expected: "string", input: __o_34["label"], path: ["payload"].concat("report").concat("account").concat("label") });
44061
44087
  }
44062
44088
  }
44063
44089
  }
44064
- if (typeof __o_23["fetchedAt"] !== "string") {
44065
- _e.push({ code: "invalid_type", expected: "string", input: __o_23["fetchedAt"], path: ["payload"].concat("report").concat("fetchedAt") });
44090
+ if (typeof __o_33["fetchedAt"] !== "string") {
44091
+ _e.push({ code: "invalid_type", expected: "string", input: __o_33["fetchedAt"], path: ["payload"].concat("report").concat("fetchedAt") });
44066
44092
  }
44067
- if (typeof __o_23["sourceId"] !== "string") {
44068
- _e.push({ code: "invalid_type", expected: "string", input: __o_23["sourceId"], path: ["payload"].concat("report").concat("sourceId") });
44093
+ if (typeof __o_33["sourceId"] !== "string") {
44094
+ _e.push({ code: "invalid_type", expected: "string", input: __o_33["sourceId"], path: ["payload"].concat("report").concat("sourceId") });
44069
44095
  }
44070
- if (typeof __o_23["sourceLabel"] !== "string") {
44071
- _e.push({ code: "invalid_type", expected: "string", input: __o_23["sourceLabel"], path: ["payload"].concat("report").concat("sourceLabel") });
44096
+ if (typeof __o_33["sourceLabel"] !== "string") {
44097
+ _e.push({ code: "invalid_type", expected: "string", input: __o_33["sourceLabel"], path: ["payload"].concat("report").concat("sourceLabel") });
44072
44098
  }
44073
- if (__o_23["icon"] !== undefined) {
44074
- if (typeof __o_23["icon"] !== "string") {
44075
- _e.push({ code: "invalid_type", expected: "string", input: __o_23["icon"], path: ["payload"].concat("report").concat("icon") });
44099
+ if (__o_33["icon"] !== undefined) {
44100
+ if (typeof __o_33["icon"] !== "string") {
44101
+ _e.push({ code: "invalid_type", expected: "string", input: __o_33["icon"], path: ["payload"].concat("report").concat("icon") });
44076
44102
  }
44077
44103
  }
44078
- if (typeof __o_23["report"] !== "object" || __o_23["report"] === null || Array.isArray(__o_23["report"])) {
44079
- _e.push({ code: "invalid_type", expected: "object", input: __o_23["report"], path: ["payload"].concat("report").concat("report") });
44104
+ if (typeof __o_33["report"] !== "object" || __o_33["report"] === null || Array.isArray(__o_33["report"])) {
44105
+ _e.push({ code: "invalid_type", expected: "object", input: __o_33["report"], path: ["payload"].concat("report").concat("report") });
44080
44106
  }
44081
44107
  else {
44082
- var __du_25 = __o_23["report"];
44083
- switch (__du_25["status"]) {
44108
+ var __du_35 = __o_33["report"];
44109
+ switch (__du_35["status"]) {
44084
44110
  case "available":
44085
- if (typeof __du_25 !== "object" || __du_25 === null || Array.isArray(__du_25)) {
44086
- _e.push({ code: "invalid_type", expected: "object", input: __du_25, path: ["payload"].concat("report").concat("report") });
44111
+ if (typeof __du_35 !== "object" || __du_35 === null || Array.isArray(__du_35)) {
44112
+ _e.push({ code: "invalid_type", expected: "object", input: __du_35, path: ["payload"].concat("report").concat("report") });
44087
44113
  }
44088
44114
  else {
44089
- var __o_26 = __du_25;
44090
- if (__o_26["status"] !== "available") {
44091
- _e.push({ code: "invalid_value", values: ["available"], input: __o_26["status"], path: ["payload"].concat("report").concat("report").concat("status") });
44115
+ var __o_36 = __du_35;
44116
+ if (__o_36["status"] !== "available") {
44117
+ _e.push({ code: "invalid_value", values: ["available"], input: __o_36["status"], path: ["payload"].concat("report").concat("report").concat("status") });
44092
44118
  }
44093
- if (__o_26["planLabel"] !== undefined) {
44094
- if (typeof __o_26["planLabel"] !== "string") {
44095
- _e.push({ code: "invalid_type", expected: "string", input: __o_26["planLabel"], path: ["payload"].concat("report").concat("report").concat("planLabel") });
44119
+ if (__o_36["planLabel"] !== undefined) {
44120
+ if (typeof __o_36["planLabel"] !== "string") {
44121
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["planLabel"], path: ["payload"].concat("report").concat("report").concat("planLabel") });
44096
44122
  }
44097
44123
  }
44098
- if (!Array.isArray(__o_26["windows"])) {
44099
- _e.push({ code: "invalid_type", expected: "array", input: __o_26["windows"], path: ["payload"].concat("report").concat("report").concat("windows") });
44124
+ if (!Array.isArray(__o_36["windows"])) {
44125
+ _e.push({ code: "invalid_type", expected: "array", input: __o_36["windows"], path: ["payload"].concat("report").concat("report").concat("windows") });
44100
44126
  }
44101
44127
  else {
44102
- for (var __i_27 = 0; __i_27 < __o_26["windows"].length; __i_27++) {
44103
- if (typeof __o_26["windows"][__i_27] !== "object" || __o_26["windows"][__i_27] === null || Array.isArray(__o_26["windows"][__i_27])) {
44104
- _e.push({ code: "invalid_type", expected: "object", input: __o_26["windows"][__i_27], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27) });
44128
+ for (var __i_37 = 0; __i_37 < __o_36["windows"].length; __i_37++) {
44129
+ if (typeof __o_36["windows"][__i_37] !== "object" || __o_36["windows"][__i_37] === null || Array.isArray(__o_36["windows"][__i_37])) {
44130
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["windows"][__i_37], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37) });
44105
44131
  }
44106
44132
  else {
44107
- var __o_28 = __o_26["windows"][__i_27];
44108
- if (typeof __o_28["id"] !== "string") {
44109
- _e.push({ code: "invalid_type", expected: "string", input: __o_28["id"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("id") });
44133
+ var __o_38 = __o_36["windows"][__i_37];
44134
+ if (typeof __o_38["id"] !== "string") {
44135
+ _e.push({ code: "invalid_type", expected: "string", input: __o_38["id"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("id") });
44110
44136
  }
44111
- if (typeof __o_28["label"] !== "string") {
44112
- _e.push({ code: "invalid_type", expected: "string", input: __o_28["label"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("label") });
44137
+ if (typeof __o_38["label"] !== "string") {
44138
+ _e.push({ code: "invalid_type", expected: "string", input: __o_38["label"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("label") });
44113
44139
  }
44114
- if (__o_28["shortLabel"] !== undefined) {
44115
- if (typeof __o_28["shortLabel"] !== "string") {
44116
- _e.push({ code: "invalid_type", expected: "string", input: __o_28["shortLabel"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("shortLabel") });
44140
+ if (__o_38["shortLabel"] !== undefined) {
44141
+ if (typeof __o_38["shortLabel"] !== "string") {
44142
+ _e.push({ code: "invalid_type", expected: "string", input: __o_38["shortLabel"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("shortLabel") });
44117
44143
  }
44118
44144
  }
44119
- if (__o_28["summary"] !== undefined) {
44120
- if (typeof __o_28["summary"] !== "boolean") {
44121
- _e.push({ code: "invalid_type", expected: "boolean", input: __o_28["summary"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("summary") });
44145
+ if (__o_38["summary"] !== undefined) {
44146
+ if (typeof __o_38["summary"] !== "boolean") {
44147
+ _e.push({ code: "invalid_type", expected: "boolean", input: __o_38["summary"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("summary") });
44122
44148
  }
44123
44149
  }
44124
- if (__o_28["usedPct"] !== undefined) {
44125
- if (__o_28["usedPct"] !== null) {
44126
- if (typeof __o_28["usedPct"] !== "number") {
44127
- _e.push({ code: "invalid_type", expected: "number", input: __o_28["usedPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("usedPct") });
44150
+ if (__o_38["usedPct"] !== undefined) {
44151
+ if (__o_38["usedPct"] !== null) {
44152
+ if (typeof __o_38["usedPct"] !== "number") {
44153
+ _e.push({ code: "invalid_type", expected: "number", input: __o_38["usedPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("usedPct") });
44128
44154
  }
44129
- else if (Number.isNaN(__o_28["usedPct"])) {
44130
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_28["usedPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("usedPct") });
44155
+ else if (Number.isNaN(__o_38["usedPct"])) {
44156
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_38["usedPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("usedPct") });
44131
44157
  }
44132
- else if (!Number.isFinite(__o_28["usedPct"])) {
44133
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_28["usedPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("usedPct") });
44158
+ else if (!Number.isFinite(__o_38["usedPct"])) {
44159
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_38["usedPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("usedPct") });
44134
44160
  }
44135
44161
  }
44136
44162
  }
44137
- if (__o_28["remainingPct"] !== undefined) {
44138
- if (__o_28["remainingPct"] !== null) {
44139
- if (typeof __o_28["remainingPct"] !== "number") {
44140
- _e.push({ code: "invalid_type", expected: "number", input: __o_28["remainingPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("remainingPct") });
44163
+ if (__o_38["remainingPct"] !== undefined) {
44164
+ if (__o_38["remainingPct"] !== null) {
44165
+ if (typeof __o_38["remainingPct"] !== "number") {
44166
+ _e.push({ code: "invalid_type", expected: "number", input: __o_38["remainingPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("remainingPct") });
44141
44167
  }
44142
- else if (Number.isNaN(__o_28["remainingPct"])) {
44143
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_28["remainingPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("remainingPct") });
44168
+ else if (Number.isNaN(__o_38["remainingPct"])) {
44169
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_38["remainingPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("remainingPct") });
44144
44170
  }
44145
- else if (!Number.isFinite(__o_28["remainingPct"])) {
44146
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_28["remainingPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("remainingPct") });
44171
+ else if (!Number.isFinite(__o_38["remainingPct"])) {
44172
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_38["remainingPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("remainingPct") });
44147
44173
  }
44148
44174
  }
44149
44175
  }
44150
- if (__o_28["resetsAt"] !== undefined) {
44151
- if (__o_28["resetsAt"] !== null) {
44152
- if (typeof __o_28["resetsAt"] !== "string") {
44153
- _e.push({ code: "invalid_type", expected: "string", input: __o_28["resetsAt"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("resetsAt") });
44176
+ if (__o_38["resetsAt"] !== undefined) {
44177
+ if (__o_38["resetsAt"] !== null) {
44178
+ if (typeof __o_38["resetsAt"] !== "string") {
44179
+ _e.push({ code: "invalid_type", expected: "string", input: __o_38["resetsAt"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("resetsAt") });
44154
44180
  }
44155
44181
  }
44156
44182
  }
44157
- if (__o_28["runsOutAt"] !== undefined) {
44158
- if (__o_28["runsOutAt"] !== null) {
44159
- if (typeof __o_28["runsOutAt"] !== "string") {
44160
- _e.push({ code: "invalid_type", expected: "string", input: __o_28["runsOutAt"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("runsOutAt") });
44183
+ if (__o_38["runsOutAt"] !== undefined) {
44184
+ if (__o_38["runsOutAt"] !== null) {
44185
+ if (typeof __o_38["runsOutAt"] !== "string") {
44186
+ _e.push({ code: "invalid_type", expected: "string", input: __o_38["runsOutAt"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("runsOutAt") });
44161
44187
  }
44162
44188
  }
44163
44189
  }
44164
- if (__o_28["shortfallPct"] !== undefined) {
44165
- if (__o_28["shortfallPct"] !== null) {
44166
- if (typeof __o_28["shortfallPct"] !== "number") {
44167
- _e.push({ code: "invalid_type", expected: "number", input: __o_28["shortfallPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("shortfallPct") });
44190
+ if (__o_38["shortfallPct"] !== undefined) {
44191
+ if (__o_38["shortfallPct"] !== null) {
44192
+ if (typeof __o_38["shortfallPct"] !== "number") {
44193
+ _e.push({ code: "invalid_type", expected: "number", input: __o_38["shortfallPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("shortfallPct") });
44168
44194
  }
44169
- else if (Number.isNaN(__o_28["shortfallPct"])) {
44170
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_28["shortfallPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("shortfallPct") });
44195
+ else if (Number.isNaN(__o_38["shortfallPct"])) {
44196
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_38["shortfallPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("shortfallPct") });
44171
44197
  }
44172
- else if (!Number.isFinite(__o_28["shortfallPct"])) {
44173
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_28["shortfallPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("shortfallPct") });
44198
+ else if (!Number.isFinite(__o_38["shortfallPct"])) {
44199
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_38["shortfallPct"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("shortfallPct") });
44174
44200
  }
44175
44201
  }
44176
44202
  }
44177
- if (__o_28["tone"] !== undefined) {
44178
- if (!__set_enum_29.has(__o_28["tone"])) {
44179
- _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_28["tone"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_27).concat("tone") });
44203
+ if (__o_38["tone"] !== undefined) {
44204
+ if (!__set_enum_39.has(__o_38["tone"])) {
44205
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_38["tone"], path: ["payload"].concat("report").concat("report").concat("windows").concat(__i_37).concat("tone") });
44180
44206
  }
44181
44207
  }
44182
44208
  }
44183
44209
  }
44184
44210
  }
44185
- if (__o_26["balances"] !== undefined) {
44186
- if (!Array.isArray(__o_26["balances"])) {
44187
- _e.push({ code: "invalid_type", expected: "array", input: __o_26["balances"], path: ["payload"].concat("report").concat("report").concat("balances") });
44211
+ if (__o_36["balances"] !== undefined) {
44212
+ if (!Array.isArray(__o_36["balances"])) {
44213
+ _e.push({ code: "invalid_type", expected: "array", input: __o_36["balances"], path: ["payload"].concat("report").concat("report").concat("balances") });
44188
44214
  }
44189
44215
  else {
44190
- for (var __i_30 = 0; __i_30 < __o_26["balances"].length; __i_30++) {
44191
- if (typeof __o_26["balances"][__i_30] !== "object" || __o_26["balances"][__i_30] === null || Array.isArray(__o_26["balances"][__i_30])) {
44192
- _e.push({ code: "invalid_type", expected: "object", input: __o_26["balances"][__i_30], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30) });
44216
+ for (var __i_40 = 0; __i_40 < __o_36["balances"].length; __i_40++) {
44217
+ if (typeof __o_36["balances"][__i_40] !== "object" || __o_36["balances"][__i_40] === null || Array.isArray(__o_36["balances"][__i_40])) {
44218
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["balances"][__i_40], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40) });
44193
44219
  }
44194
44220
  else {
44195
- var __o_31 = __o_26["balances"][__i_30];
44196
- if (typeof __o_31["id"] !== "string") {
44197
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["id"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("id") });
44221
+ var __o_41 = __o_36["balances"][__i_40];
44222
+ if (typeof __o_41["id"] !== "string") {
44223
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["id"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("id") });
44198
44224
  }
44199
- if (typeof __o_31["label"] !== "string") {
44200
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["label"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("label") });
44225
+ if (typeof __o_41["label"] !== "string") {
44226
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["label"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("label") });
44201
44227
  }
44202
- if (__o_31["used"] !== undefined) {
44203
- if (__o_31["used"] !== null) {
44204
- if (typeof __o_31["used"] !== "number") {
44205
- _e.push({ code: "invalid_type", expected: "number", input: __o_31["used"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("used") });
44228
+ if (__o_41["used"] !== undefined) {
44229
+ if (__o_41["used"] !== null) {
44230
+ if (typeof __o_41["used"] !== "number") {
44231
+ _e.push({ code: "invalid_type", expected: "number", input: __o_41["used"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("used") });
44206
44232
  }
44207
- else if (Number.isNaN(__o_31["used"])) {
44208
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_31["used"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("used") });
44233
+ else if (Number.isNaN(__o_41["used"])) {
44234
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_41["used"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("used") });
44209
44235
  }
44210
- else if (!Number.isFinite(__o_31["used"])) {
44211
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_31["used"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("used") });
44236
+ else if (!Number.isFinite(__o_41["used"])) {
44237
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_41["used"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("used") });
44212
44238
  }
44213
44239
  }
44214
44240
  }
44215
- if (__o_31["remaining"] !== undefined) {
44216
- if (__o_31["remaining"] !== null) {
44217
- if (typeof __o_31["remaining"] !== "number") {
44218
- _e.push({ code: "invalid_type", expected: "number", input: __o_31["remaining"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("remaining") });
44241
+ if (__o_41["remaining"] !== undefined) {
44242
+ if (__o_41["remaining"] !== null) {
44243
+ if (typeof __o_41["remaining"] !== "number") {
44244
+ _e.push({ code: "invalid_type", expected: "number", input: __o_41["remaining"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("remaining") });
44219
44245
  }
44220
- else if (Number.isNaN(__o_31["remaining"])) {
44221
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_31["remaining"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("remaining") });
44246
+ else if (Number.isNaN(__o_41["remaining"])) {
44247
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_41["remaining"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("remaining") });
44222
44248
  }
44223
- else if (!Number.isFinite(__o_31["remaining"])) {
44224
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_31["remaining"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("remaining") });
44249
+ else if (!Number.isFinite(__o_41["remaining"])) {
44250
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_41["remaining"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("remaining") });
44225
44251
  }
44226
44252
  }
44227
44253
  }
44228
- if (__o_31["limit"] !== undefined) {
44229
- if (__o_31["limit"] !== null) {
44230
- if (typeof __o_31["limit"] !== "number") {
44231
- _e.push({ code: "invalid_type", expected: "number", input: __o_31["limit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("limit") });
44254
+ if (__o_41["limit"] !== undefined) {
44255
+ if (__o_41["limit"] !== null) {
44256
+ if (typeof __o_41["limit"] !== "number") {
44257
+ _e.push({ code: "invalid_type", expected: "number", input: __o_41["limit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("limit") });
44232
44258
  }
44233
- else if (Number.isNaN(__o_31["limit"])) {
44234
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_31["limit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("limit") });
44259
+ else if (Number.isNaN(__o_41["limit"])) {
44260
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_41["limit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("limit") });
44235
44261
  }
44236
- else if (!Number.isFinite(__o_31["limit"])) {
44237
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_31["limit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("limit") });
44262
+ else if (!Number.isFinite(__o_41["limit"])) {
44263
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_41["limit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("limit") });
44238
44264
  }
44239
44265
  }
44240
44266
  }
44241
- if (!__set_enum_32.has(__o_31["unit"])) {
44242
- _e.push({ code: "invalid_value", values: ["usd", "credits", "requests", "tokens"], input: __o_31["unit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("unit") });
44267
+ if (!__set_enum_42.has(__o_41["unit"])) {
44268
+ _e.push({ code: "invalid_value", values: ["usd", "credits", "requests", "tokens"], input: __o_41["unit"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("unit") });
44243
44269
  }
44244
- if (__o_31["resetsAt"] !== undefined) {
44245
- if (__o_31["resetsAt"] !== null) {
44246
- if (typeof __o_31["resetsAt"] !== "string") {
44247
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["resetsAt"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("resetsAt") });
44270
+ if (__o_41["resetsAt"] !== undefined) {
44271
+ if (__o_41["resetsAt"] !== null) {
44272
+ if (typeof __o_41["resetsAt"] !== "string") {
44273
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["resetsAt"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("resetsAt") });
44248
44274
  }
44249
44275
  }
44250
44276
  }
44251
- if (__o_31["tone"] !== undefined) {
44252
- if (!__set_enum_33.has(__o_31["tone"])) {
44253
- _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_31["tone"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_30).concat("tone") });
44277
+ if (__o_41["tone"] !== undefined) {
44278
+ if (!__set_enum_43.has(__o_41["tone"])) {
44279
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_41["tone"], path: ["payload"].concat("report").concat("report").concat("balances").concat(__i_40).concat("tone") });
44254
44280
  }
44255
44281
  }
44256
44282
  }
44257
44283
  }
44258
44284
  }
44259
44285
  }
44260
- if (__o_26["details"] !== undefined) {
44261
- if (!Array.isArray(__o_26["details"])) {
44262
- _e.push({ code: "invalid_type", expected: "array", input: __o_26["details"], path: ["payload"].concat("report").concat("report").concat("details") });
44286
+ if (__o_36["details"] !== undefined) {
44287
+ if (!Array.isArray(__o_36["details"])) {
44288
+ _e.push({ code: "invalid_type", expected: "array", input: __o_36["details"], path: ["payload"].concat("report").concat("report").concat("details") });
44263
44289
  }
44264
44290
  else {
44265
- for (var __i_34 = 0; __i_34 < __o_26["details"].length; __i_34++) {
44266
- if (typeof __o_26["details"][__i_34] !== "object" || __o_26["details"][__i_34] === null || Array.isArray(__o_26["details"][__i_34])) {
44267
- _e.push({ code: "invalid_type", expected: "object", input: __o_26["details"][__i_34], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_34) });
44291
+ for (var __i_44 = 0; __i_44 < __o_36["details"].length; __i_44++) {
44292
+ if (typeof __o_36["details"][__i_44] !== "object" || __o_36["details"][__i_44] === null || Array.isArray(__o_36["details"][__i_44])) {
44293
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["details"][__i_44], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_44) });
44268
44294
  }
44269
44295
  else {
44270
- var __o_35 = __o_26["details"][__i_34];
44271
- if (typeof __o_35["id"] !== "string") {
44272
- _e.push({ code: "invalid_type", expected: "string", input: __o_35["id"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_34).concat("id") });
44296
+ var __o_45 = __o_36["details"][__i_44];
44297
+ if (typeof __o_45["id"] !== "string") {
44298
+ _e.push({ code: "invalid_type", expected: "string", input: __o_45["id"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_44).concat("id") });
44273
44299
  }
44274
- if (typeof __o_35["label"] !== "string") {
44275
- _e.push({ code: "invalid_type", expected: "string", input: __o_35["label"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_34).concat("label") });
44300
+ if (typeof __o_45["label"] !== "string") {
44301
+ _e.push({ code: "invalid_type", expected: "string", input: __o_45["label"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_44).concat("label") });
44276
44302
  }
44277
- if (typeof __o_35["value"] !== "string") {
44278
- _e.push({ code: "invalid_type", expected: "string", input: __o_35["value"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_34).concat("value") });
44303
+ if (typeof __o_45["value"] !== "string") {
44304
+ _e.push({ code: "invalid_type", expected: "string", input: __o_45["value"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_44).concat("value") });
44279
44305
  }
44280
- if (__o_35["tone"] !== undefined) {
44281
- if (!__set_enum_36.has(__o_35["tone"])) {
44282
- _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_35["tone"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_34).concat("tone") });
44306
+ if (__o_45["tone"] !== undefined) {
44307
+ if (!__set_enum_46.has(__o_45["tone"])) {
44308
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_45["tone"], path: ["payload"].concat("report").concat("report").concat("details").concat(__i_44).concat("tone") });
44283
44309
  }
44284
44310
  }
44285
44311
  }
@@ -44289,233 +44315,454 @@ export const SessionOutboundMessage207 = /* @__PURE__ */ (() => {
44289
44315
  }
44290
44316
  break;
44291
44317
  case "unavailable":
44292
- if (typeof __du_25 !== "object" || __du_25 === null || Array.isArray(__du_25)) {
44293
- _e.push({ code: "invalid_type", expected: "object", input: __du_25, path: ["payload"].concat("report").concat("report") });
44318
+ if (typeof __du_35 !== "object" || __du_35 === null || Array.isArray(__du_35)) {
44319
+ _e.push({ code: "invalid_type", expected: "object", input: __du_35, path: ["payload"].concat("report").concat("report") });
44294
44320
  }
44295
44321
  else {
44296
- var __o_37 = __du_25;
44297
- if (__o_37["status"] !== "unavailable") {
44298
- _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_37["status"], path: ["payload"].concat("report").concat("report").concat("status") });
44322
+ var __o_47 = __du_35;
44323
+ if (__o_47["status"] !== "unavailable") {
44324
+ _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_47["status"], path: ["payload"].concat("report").concat("report").concat("status") });
44299
44325
  }
44300
- if (typeof __o_37["problem"] !== "object" || __o_37["problem"] === null || Array.isArray(__o_37["problem"])) {
44301
- _e.push({ code: "invalid_type", expected: "object", input: __o_37["problem"], path: ["payload"].concat("report").concat("report").concat("problem") });
44326
+ if (typeof __o_47["problem"] !== "object" || __o_47["problem"] === null || Array.isArray(__o_47["problem"])) {
44327
+ _e.push({ code: "invalid_type", expected: "object", input: __o_47["problem"], path: ["payload"].concat("report").concat("report").concat("problem") });
44302
44328
  }
44303
44329
  else {
44304
- var __du_38 = __o_37["problem"];
44305
- switch (__du_38["kind"]) {
44330
+ var __du_48 = __o_47["problem"];
44331
+ switch (__du_48["kind"]) {
44306
44332
  case "expired":
44307
- if (typeof __du_38 !== "object" || __du_38 === null || Array.isArray(__du_38)) {
44308
- _e.push({ code: "invalid_type", expected: "object", input: __du_38, path: ["payload"].concat("report").concat("report").concat("problem") });
44333
+ if (typeof __du_48 !== "object" || __du_48 === null || Array.isArray(__du_48)) {
44334
+ _e.push({ code: "invalid_type", expected: "object", input: __du_48, path: ["payload"].concat("report").concat("report").concat("problem") });
44309
44335
  }
44310
44336
  else {
44311
- var __o_39 = __du_38;
44312
- if (__o_39["kind"] !== "expired") {
44313
- _e.push({ code: "invalid_value", values: ["expired"], input: __o_39["kind"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44337
+ var __o_49 = __du_48;
44338
+ if (__o_49["kind"] !== "expired") {
44339
+ _e.push({ code: "invalid_value", values: ["expired"], input: __o_49["kind"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44314
44340
  }
44315
- if (typeof __o_39["expiresAt"] !== "string") {
44316
- _e.push({ code: "invalid_type", expected: "string", input: __o_39["expiresAt"], path: ["payload"].concat("report").concat("report").concat("problem").concat("expiresAt") });
44341
+ if (typeof __o_49["expiresAt"] !== "string") {
44342
+ _e.push({ code: "invalid_type", expected: "string", input: __o_49["expiresAt"], path: ["payload"].concat("report").concat("report").concat("problem").concat("expiresAt") });
44317
44343
  }
44318
44344
  else {
44319
- if (!__re_re_14.test(__o_39["expiresAt"])) {
44320
- _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_14.toString(), origin: "string", input: __o_39["expiresAt"], path: ["payload"].concat("report").concat("report").concat("problem").concat("expiresAt") });
44345
+ if (!__re_re_14.test(__o_49["expiresAt"])) {
44346
+ _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_14.toString(), origin: "string", input: __o_49["expiresAt"], path: ["payload"].concat("report").concat("report").concat("problem").concat("expiresAt") });
44321
44347
  }
44322
44348
  }
44323
- if (__o_39["refreshedBy"] !== undefined) {
44324
- if (typeof __o_39["refreshedBy"] !== "string") {
44325
- _e.push({ code: "invalid_type", expected: "string", input: __o_39["refreshedBy"], path: ["payload"].concat("report").concat("report").concat("problem").concat("refreshedBy") });
44349
+ if (__o_49["refreshedBy"] !== undefined) {
44350
+ if (typeof __o_49["refreshedBy"] !== "string") {
44351
+ _e.push({ code: "invalid_type", expected: "string", input: __o_49["refreshedBy"], path: ["payload"].concat("report").concat("report").concat("problem").concat("refreshedBy") });
44326
44352
  }
44327
44353
  }
44328
44354
  }
44329
44355
  break;
44330
44356
  case "rejected":
44331
- if (typeof __du_38 !== "object" || __du_38 === null || Array.isArray(__du_38)) {
44332
- _e.push({ code: "invalid_type", expected: "object", input: __du_38, path: ["payload"].concat("report").concat("report").concat("problem") });
44357
+ if (typeof __du_48 !== "object" || __du_48 === null || Array.isArray(__du_48)) {
44358
+ _e.push({ code: "invalid_type", expected: "object", input: __du_48, path: ["payload"].concat("report").concat("report").concat("problem") });
44333
44359
  }
44334
44360
  else {
44335
- var __o_40 = __du_38;
44336
- if (__o_40["kind"] !== "rejected") {
44337
- _e.push({ code: "invalid_value", values: ["rejected"], input: __o_40["kind"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44361
+ var __o_50 = __du_48;
44362
+ if (__o_50["kind"] !== "rejected") {
44363
+ _e.push({ code: "invalid_value", values: ["rejected"], input: __o_50["kind"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44338
44364
  }
44339
- if (typeof __o_40["status"] !== "number") {
44340
- _e.push({ code: "invalid_type", expected: "number", input: __o_40["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44365
+ if (typeof __o_50["status"] !== "number") {
44366
+ _e.push({ code: "invalid_type", expected: "number", input: __o_50["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44341
44367
  }
44342
- else if (Number.isNaN(__o_40["status"])) {
44343
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_40["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44368
+ else if (Number.isNaN(__o_50["status"])) {
44369
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_50["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44344
44370
  }
44345
- else if (!Number.isFinite(__o_40["status"])) {
44346
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_40["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44371
+ else if (!Number.isFinite(__o_50["status"])) {
44372
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_50["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44347
44373
  }
44348
44374
  else {
44349
- if (!Number.isSafeInteger(__o_40["status"])) {
44350
- _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_40["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44375
+ if (!Number.isSafeInteger(__o_50["status"])) {
44376
+ _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_50["status"], path: ["payload"].concat("report").concat("report").concat("problem").concat("status") });
44351
44377
  }
44352
44378
  }
44353
- if (__o_40["refreshedBy"] !== undefined) {
44354
- if (typeof __o_40["refreshedBy"] !== "string") {
44355
- _e.push({ code: "invalid_type", expected: "string", input: __o_40["refreshedBy"], path: ["payload"].concat("report").concat("report").concat("problem").concat("refreshedBy") });
44379
+ if (__o_50["refreshedBy"] !== undefined) {
44380
+ if (typeof __o_50["refreshedBy"] !== "string") {
44381
+ _e.push({ code: "invalid_type", expected: "string", input: __o_50["refreshedBy"], path: ["payload"].concat("report").concat("report").concat("problem").concat("refreshedBy") });
44356
44382
  }
44357
44383
  }
44358
44384
  }
44359
44385
  break;
44360
44386
  case "no_quota":
44361
- if (typeof __du_38 !== "object" || __du_38 === null || Array.isArray(__du_38)) {
44362
- _e.push({ code: "invalid_type", expected: "object", input: __du_38, path: ["payload"].concat("report").concat("report").concat("problem") });
44387
+ if (typeof __du_48 !== "object" || __du_48 === null || Array.isArray(__du_48)) {
44388
+ _e.push({ code: "invalid_type", expected: "object", input: __du_48, path: ["payload"].concat("report").concat("report").concat("problem") });
44363
44389
  }
44364
44390
  else {
44365
- var __o_41 = __du_38;
44366
- if (__o_41["kind"] !== "no_quota") {
44367
- _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_41["kind"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44391
+ var __o_51 = __du_48;
44392
+ if (__o_51["kind"] !== "no_quota") {
44393
+ _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_51["kind"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44368
44394
  }
44369
- if (typeof __o_41["detail"] !== "string") {
44370
- _e.push({ code: "invalid_type", expected: "string", input: __o_41["detail"], path: ["payload"].concat("report").concat("report").concat("problem").concat("detail") });
44395
+ if (typeof __o_51["detail"] !== "string") {
44396
+ _e.push({ code: "invalid_type", expected: "string", input: __o_51["detail"], path: ["payload"].concat("report").concat("report").concat("problem").concat("detail") });
44371
44397
  }
44372
44398
  }
44373
44399
  break;
44374
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_37["problem"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44400
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_47["problem"], path: ["payload"].concat("report").concat("report").concat("problem").concat("kind") });
44375
44401
  }
44376
44402
  }
44377
44403
  }
44378
44404
  break;
44379
44405
  case "error":
44380
- if (typeof __du_25 !== "object" || __du_25 === null || Array.isArray(__du_25)) {
44381
- _e.push({ code: "invalid_type", expected: "object", input: __du_25, path: ["payload"].concat("report").concat("report") });
44406
+ if (typeof __du_35 !== "object" || __du_35 === null || Array.isArray(__du_35)) {
44407
+ _e.push({ code: "invalid_type", expected: "object", input: __du_35, path: ["payload"].concat("report").concat("report") });
44382
44408
  }
44383
44409
  else {
44384
- var __o_42 = __du_25;
44385
- if (__o_42["status"] !== "error") {
44386
- _e.push({ code: "invalid_value", values: ["error"], input: __o_42["status"], path: ["payload"].concat("report").concat("report").concat("status") });
44410
+ var __o_52 = __du_35;
44411
+ if (__o_52["status"] !== "error") {
44412
+ _e.push({ code: "invalid_value", values: ["error"], input: __o_52["status"], path: ["payload"].concat("report").concat("report").concat("status") });
44387
44413
  }
44388
- if (typeof __o_42["error"] !== "string") {
44389
- _e.push({ code: "invalid_type", expected: "string", input: __o_42["error"], path: ["payload"].concat("report").concat("report").concat("error") });
44414
+ if (typeof __o_52["error"] !== "string") {
44415
+ _e.push({ code: "invalid_type", expected: "string", input: __o_52["error"], path: ["payload"].concat("report").concat("report").concat("error") });
44390
44416
  }
44391
44417
  }
44392
44418
  break;
44393
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["available", "unavailable", "error"], input: __o_23["report"], path: ["payload"].concat("report").concat("report").concat("status") });
44419
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["available", "unavailable", "error"], input: __o_33["report"], path: ["payload"].concat("report").concat("report").concat("status") });
44420
+ }
44421
+ }
44422
+ if (__o_33["successfulAt"] !== undefined) {
44423
+ if (typeof __o_33["successfulAt"] !== "string") {
44424
+ _e.push({ code: "invalid_type", expected: "string", input: __o_33["successfulAt"], path: ["payload"].concat("report").concat("successfulAt") });
44425
+ }
44426
+ }
44427
+ if (__o_33["lastSuccessful"] !== undefined) {
44428
+ if (typeof __o_33["lastSuccessful"] !== "object" || __o_33["lastSuccessful"] === null || Array.isArray(__o_33["lastSuccessful"])) {
44429
+ _e.push({ code: "invalid_type", expected: "object", input: __o_33["lastSuccessful"], path: ["payload"].concat("report").concat("lastSuccessful") });
44430
+ }
44431
+ else {
44432
+ var __o_53 = __o_33["lastSuccessful"];
44433
+ if (typeof __o_53["fetchedAt"] !== "string") {
44434
+ _e.push({ code: "invalid_type", expected: "string", input: __o_53["fetchedAt"], path: ["payload"].concat("report").concat("lastSuccessful").concat("fetchedAt") });
44435
+ }
44436
+ if (typeof __o_53["report"] !== "object" || __o_53["report"] === null || Array.isArray(__o_53["report"])) {
44437
+ _e.push({ code: "invalid_type", expected: "object", input: __o_53["report"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report") });
44438
+ }
44439
+ else {
44440
+ var __o_54 = __o_53["report"];
44441
+ if (__o_54["status"] !== "available") {
44442
+ _e.push({ code: "invalid_value", values: ["available"], input: __o_54["status"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("status") });
44443
+ }
44444
+ if (__o_54["planLabel"] !== undefined) {
44445
+ if (typeof __o_54["planLabel"] !== "string") {
44446
+ _e.push({ code: "invalid_type", expected: "string", input: __o_54["planLabel"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("planLabel") });
44447
+ }
44448
+ }
44449
+ if (!Array.isArray(__o_54["windows"])) {
44450
+ _e.push({ code: "invalid_type", expected: "array", input: __o_54["windows"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows") });
44451
+ }
44452
+ else {
44453
+ for (var __i_55 = 0; __i_55 < __o_54["windows"].length; __i_55++) {
44454
+ if (typeof __o_54["windows"][__i_55] !== "object" || __o_54["windows"][__i_55] === null || Array.isArray(__o_54["windows"][__i_55])) {
44455
+ _e.push({ code: "invalid_type", expected: "object", input: __o_54["windows"][__i_55], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55) });
44456
+ }
44457
+ else {
44458
+ var __o_56 = __o_54["windows"][__i_55];
44459
+ if (typeof __o_56["id"] !== "string") {
44460
+ _e.push({ code: "invalid_type", expected: "string", input: __o_56["id"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("id") });
44461
+ }
44462
+ if (typeof __o_56["label"] !== "string") {
44463
+ _e.push({ code: "invalid_type", expected: "string", input: __o_56["label"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("label") });
44464
+ }
44465
+ if (__o_56["shortLabel"] !== undefined) {
44466
+ if (typeof __o_56["shortLabel"] !== "string") {
44467
+ _e.push({ code: "invalid_type", expected: "string", input: __o_56["shortLabel"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("shortLabel") });
44468
+ }
44469
+ }
44470
+ if (__o_56["summary"] !== undefined) {
44471
+ if (typeof __o_56["summary"] !== "boolean") {
44472
+ _e.push({ code: "invalid_type", expected: "boolean", input: __o_56["summary"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("summary") });
44473
+ }
44474
+ }
44475
+ if (__o_56["usedPct"] !== undefined) {
44476
+ if (__o_56["usedPct"] !== null) {
44477
+ if (typeof __o_56["usedPct"] !== "number") {
44478
+ _e.push({ code: "invalid_type", expected: "number", input: __o_56["usedPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("usedPct") });
44479
+ }
44480
+ else if (Number.isNaN(__o_56["usedPct"])) {
44481
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_56["usedPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("usedPct") });
44482
+ }
44483
+ else if (!Number.isFinite(__o_56["usedPct"])) {
44484
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_56["usedPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("usedPct") });
44485
+ }
44486
+ }
44487
+ }
44488
+ if (__o_56["remainingPct"] !== undefined) {
44489
+ if (__o_56["remainingPct"] !== null) {
44490
+ if (typeof __o_56["remainingPct"] !== "number") {
44491
+ _e.push({ code: "invalid_type", expected: "number", input: __o_56["remainingPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("remainingPct") });
44492
+ }
44493
+ else if (Number.isNaN(__o_56["remainingPct"])) {
44494
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_56["remainingPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("remainingPct") });
44495
+ }
44496
+ else if (!Number.isFinite(__o_56["remainingPct"])) {
44497
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_56["remainingPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("remainingPct") });
44498
+ }
44499
+ }
44500
+ }
44501
+ if (__o_56["resetsAt"] !== undefined) {
44502
+ if (__o_56["resetsAt"] !== null) {
44503
+ if (typeof __o_56["resetsAt"] !== "string") {
44504
+ _e.push({ code: "invalid_type", expected: "string", input: __o_56["resetsAt"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("resetsAt") });
44505
+ }
44506
+ }
44507
+ }
44508
+ if (__o_56["runsOutAt"] !== undefined) {
44509
+ if (__o_56["runsOutAt"] !== null) {
44510
+ if (typeof __o_56["runsOutAt"] !== "string") {
44511
+ _e.push({ code: "invalid_type", expected: "string", input: __o_56["runsOutAt"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("runsOutAt") });
44512
+ }
44513
+ }
44514
+ }
44515
+ if (__o_56["shortfallPct"] !== undefined) {
44516
+ if (__o_56["shortfallPct"] !== null) {
44517
+ if (typeof __o_56["shortfallPct"] !== "number") {
44518
+ _e.push({ code: "invalid_type", expected: "number", input: __o_56["shortfallPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("shortfallPct") });
44519
+ }
44520
+ else if (Number.isNaN(__o_56["shortfallPct"])) {
44521
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_56["shortfallPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("shortfallPct") });
44522
+ }
44523
+ else if (!Number.isFinite(__o_56["shortfallPct"])) {
44524
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_56["shortfallPct"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("shortfallPct") });
44525
+ }
44526
+ }
44527
+ }
44528
+ if (__o_56["tone"] !== undefined) {
44529
+ if (!__set_enum_57.has(__o_56["tone"])) {
44530
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_56["tone"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("windows").concat(__i_55).concat("tone") });
44531
+ }
44532
+ }
44533
+ }
44534
+ }
44535
+ }
44536
+ if (__o_54["balances"] !== undefined) {
44537
+ if (!Array.isArray(__o_54["balances"])) {
44538
+ _e.push({ code: "invalid_type", expected: "array", input: __o_54["balances"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances") });
44539
+ }
44540
+ else {
44541
+ for (var __i_58 = 0; __i_58 < __o_54["balances"].length; __i_58++) {
44542
+ if (typeof __o_54["balances"][__i_58] !== "object" || __o_54["balances"][__i_58] === null || Array.isArray(__o_54["balances"][__i_58])) {
44543
+ _e.push({ code: "invalid_type", expected: "object", input: __o_54["balances"][__i_58], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58) });
44544
+ }
44545
+ else {
44546
+ var __o_59 = __o_54["balances"][__i_58];
44547
+ if (typeof __o_59["id"] !== "string") {
44548
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["id"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("id") });
44549
+ }
44550
+ if (typeof __o_59["label"] !== "string") {
44551
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["label"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("label") });
44552
+ }
44553
+ if (__o_59["used"] !== undefined) {
44554
+ if (__o_59["used"] !== null) {
44555
+ if (typeof __o_59["used"] !== "number") {
44556
+ _e.push({ code: "invalid_type", expected: "number", input: __o_59["used"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("used") });
44557
+ }
44558
+ else if (Number.isNaN(__o_59["used"])) {
44559
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_59["used"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("used") });
44560
+ }
44561
+ else if (!Number.isFinite(__o_59["used"])) {
44562
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_59["used"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("used") });
44563
+ }
44564
+ }
44565
+ }
44566
+ if (__o_59["remaining"] !== undefined) {
44567
+ if (__o_59["remaining"] !== null) {
44568
+ if (typeof __o_59["remaining"] !== "number") {
44569
+ _e.push({ code: "invalid_type", expected: "number", input: __o_59["remaining"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("remaining") });
44570
+ }
44571
+ else if (Number.isNaN(__o_59["remaining"])) {
44572
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_59["remaining"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("remaining") });
44573
+ }
44574
+ else if (!Number.isFinite(__o_59["remaining"])) {
44575
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_59["remaining"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("remaining") });
44576
+ }
44577
+ }
44578
+ }
44579
+ if (__o_59["limit"] !== undefined) {
44580
+ if (__o_59["limit"] !== null) {
44581
+ if (typeof __o_59["limit"] !== "number") {
44582
+ _e.push({ code: "invalid_type", expected: "number", input: __o_59["limit"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("limit") });
44583
+ }
44584
+ else if (Number.isNaN(__o_59["limit"])) {
44585
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_59["limit"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("limit") });
44586
+ }
44587
+ else if (!Number.isFinite(__o_59["limit"])) {
44588
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_59["limit"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("limit") });
44589
+ }
44590
+ }
44591
+ }
44592
+ if (!__set_enum_60.has(__o_59["unit"])) {
44593
+ _e.push({ code: "invalid_value", values: ["usd", "credits", "requests", "tokens"], input: __o_59["unit"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("unit") });
44594
+ }
44595
+ if (__o_59["resetsAt"] !== undefined) {
44596
+ if (__o_59["resetsAt"] !== null) {
44597
+ if (typeof __o_59["resetsAt"] !== "string") {
44598
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["resetsAt"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("resetsAt") });
44599
+ }
44600
+ }
44601
+ }
44602
+ if (__o_59["tone"] !== undefined) {
44603
+ if (!__set_enum_61.has(__o_59["tone"])) {
44604
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_59["tone"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("balances").concat(__i_58).concat("tone") });
44605
+ }
44606
+ }
44607
+ }
44608
+ }
44609
+ }
44610
+ }
44611
+ if (__o_54["details"] !== undefined) {
44612
+ if (!Array.isArray(__o_54["details"])) {
44613
+ _e.push({ code: "invalid_type", expected: "array", input: __o_54["details"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("details") });
44614
+ }
44615
+ else {
44616
+ for (var __i_62 = 0; __i_62 < __o_54["details"].length; __i_62++) {
44617
+ if (typeof __o_54["details"][__i_62] !== "object" || __o_54["details"][__i_62] === null || Array.isArray(__o_54["details"][__i_62])) {
44618
+ _e.push({ code: "invalid_type", expected: "object", input: __o_54["details"][__i_62], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("details").concat(__i_62) });
44619
+ }
44620
+ else {
44621
+ var __o_63 = __o_54["details"][__i_62];
44622
+ if (typeof __o_63["id"] !== "string") {
44623
+ _e.push({ code: "invalid_type", expected: "string", input: __o_63["id"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("details").concat(__i_62).concat("id") });
44624
+ }
44625
+ if (typeof __o_63["label"] !== "string") {
44626
+ _e.push({ code: "invalid_type", expected: "string", input: __o_63["label"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("details").concat(__i_62).concat("label") });
44627
+ }
44628
+ if (typeof __o_63["value"] !== "string") {
44629
+ _e.push({ code: "invalid_type", expected: "string", input: __o_63["value"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("details").concat(__i_62).concat("value") });
44630
+ }
44631
+ if (__o_63["tone"] !== undefined) {
44632
+ if (!__set_enum_64.has(__o_63["tone"])) {
44633
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_63["tone"], path: ["payload"].concat("report").concat("lastSuccessful").concat("report").concat("details").concat(__i_62).concat("tone") });
44634
+ }
44635
+ }
44636
+ }
44637
+ }
44638
+ }
44639
+ }
44640
+ }
44394
44641
  }
44395
44642
  }
44396
- if (__o_23["loginErrors"] !== undefined) {
44397
- if (!Array.isArray(__o_23["loginErrors"])) {
44398
- _e.push({ code: "invalid_type", expected: "array", input: __o_23["loginErrors"], path: ["payload"].concat("report").concat("loginErrors") });
44643
+ if (__o_33["loginErrors"] !== undefined) {
44644
+ if (!Array.isArray(__o_33["loginErrors"])) {
44645
+ _e.push({ code: "invalid_type", expected: "array", input: __o_33["loginErrors"], path: ["payload"].concat("report").concat("loginErrors") });
44399
44646
  }
44400
44647
  else {
44401
- for (var __i_43 = 0; __i_43 < __o_23["loginErrors"].length; __i_43++) {
44402
- if (typeof __o_23["loginErrors"][__i_43] !== "object" || __o_23["loginErrors"][__i_43] === null || Array.isArray(__o_23["loginErrors"][__i_43])) {
44403
- _e.push({ code: "invalid_type", expected: "object", input: __o_23["loginErrors"][__i_43], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43) });
44648
+ for (var __i_65 = 0; __i_65 < __o_33["loginErrors"].length; __i_65++) {
44649
+ if (typeof __o_33["loginErrors"][__i_65] !== "object" || __o_33["loginErrors"][__i_65] === null || Array.isArray(__o_33["loginErrors"][__i_65])) {
44650
+ _e.push({ code: "invalid_type", expected: "object", input: __o_33["loginErrors"][__i_65], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65) });
44404
44651
  }
44405
44652
  else {
44406
- var __o_44 = __o_23["loginErrors"][__i_43];
44407
- if (typeof __o_44["harness"] !== "string") {
44408
- _e.push({ code: "invalid_type", expected: "string", input: __o_44["harness"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("harness") });
44653
+ var __o_66 = __o_33["loginErrors"][__i_65];
44654
+ if (typeof __o_66["harness"] !== "string") {
44655
+ _e.push({ code: "invalid_type", expected: "string", input: __o_66["harness"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("harness") });
44409
44656
  }
44410
- if (typeof __o_44["report"] !== "object" || __o_44["report"] === null || Array.isArray(__o_44["report"])) {
44411
- _e.push({ code: "invalid_type", expected: "object", input: __o_44["report"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report") });
44657
+ if (typeof __o_66["report"] !== "object" || __o_66["report"] === null || Array.isArray(__o_66["report"])) {
44658
+ _e.push({ code: "invalid_type", expected: "object", input: __o_66["report"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report") });
44412
44659
  }
44413
44660
  else {
44414
- var __du_45 = __o_44["report"];
44415
- switch (__du_45["status"]) {
44661
+ var __du_67 = __o_66["report"];
44662
+ switch (__du_67["status"]) {
44416
44663
  case "unavailable":
44417
- if (typeof __du_45 !== "object" || __du_45 === null || Array.isArray(__du_45)) {
44418
- _e.push({ code: "invalid_type", expected: "object", input: __du_45, path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report") });
44664
+ if (typeof __du_67 !== "object" || __du_67 === null || Array.isArray(__du_67)) {
44665
+ _e.push({ code: "invalid_type", expected: "object", input: __du_67, path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report") });
44419
44666
  }
44420
44667
  else {
44421
- var __o_46 = __du_45;
44422
- if (__o_46["status"] !== "unavailable") {
44423
- _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_46["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("status") });
44668
+ var __o_68 = __du_67;
44669
+ if (__o_68["status"] !== "unavailable") {
44670
+ _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_68["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("status") });
44424
44671
  }
44425
- if (typeof __o_46["problem"] !== "object" || __o_46["problem"] === null || Array.isArray(__o_46["problem"])) {
44426
- _e.push({ code: "invalid_type", expected: "object", input: __o_46["problem"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem") });
44672
+ if (typeof __o_68["problem"] !== "object" || __o_68["problem"] === null || Array.isArray(__o_68["problem"])) {
44673
+ _e.push({ code: "invalid_type", expected: "object", input: __o_68["problem"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem") });
44427
44674
  }
44428
44675
  else {
44429
- var __du_47 = __o_46["problem"];
44430
- switch (__du_47["kind"]) {
44676
+ var __du_69 = __o_68["problem"];
44677
+ switch (__du_69["kind"]) {
44431
44678
  case "expired":
44432
- if (typeof __du_47 !== "object" || __du_47 === null || Array.isArray(__du_47)) {
44433
- _e.push({ code: "invalid_type", expected: "object", input: __du_47, path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem") });
44679
+ if (typeof __du_69 !== "object" || __du_69 === null || Array.isArray(__du_69)) {
44680
+ _e.push({ code: "invalid_type", expected: "object", input: __du_69, path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem") });
44434
44681
  }
44435
44682
  else {
44436
- var __o_48 = __du_47;
44437
- if (__o_48["kind"] !== "expired") {
44438
- _e.push({ code: "invalid_value", values: ["expired"], input: __o_48["kind"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("kind") });
44683
+ var __o_70 = __du_69;
44684
+ if (__o_70["kind"] !== "expired") {
44685
+ _e.push({ code: "invalid_value", values: ["expired"], input: __o_70["kind"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("kind") });
44439
44686
  }
44440
- if (typeof __o_48["expiresAt"] !== "string") {
44441
- _e.push({ code: "invalid_type", expected: "string", input: __o_48["expiresAt"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("expiresAt") });
44687
+ if (typeof __o_70["expiresAt"] !== "string") {
44688
+ _e.push({ code: "invalid_type", expected: "string", input: __o_70["expiresAt"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("expiresAt") });
44442
44689
  }
44443
44690
  else {
44444
- if (!__re_re_14.test(__o_48["expiresAt"])) {
44445
- _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_14.toString(), origin: "string", input: __o_48["expiresAt"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("expiresAt") });
44691
+ if (!__re_re_14.test(__o_70["expiresAt"])) {
44692
+ _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_14.toString(), origin: "string", input: __o_70["expiresAt"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("expiresAt") });
44446
44693
  }
44447
44694
  }
44448
- if (__o_48["refreshedBy"] !== undefined) {
44449
- if (typeof __o_48["refreshedBy"] !== "string") {
44450
- _e.push({ code: "invalid_type", expected: "string", input: __o_48["refreshedBy"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("refreshedBy") });
44695
+ if (__o_70["refreshedBy"] !== undefined) {
44696
+ if (typeof __o_70["refreshedBy"] !== "string") {
44697
+ _e.push({ code: "invalid_type", expected: "string", input: __o_70["refreshedBy"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("refreshedBy") });
44451
44698
  }
44452
44699
  }
44453
44700
  }
44454
44701
  break;
44455
44702
  case "rejected":
44456
- if (typeof __du_47 !== "object" || __du_47 === null || Array.isArray(__du_47)) {
44457
- _e.push({ code: "invalid_type", expected: "object", input: __du_47, path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem") });
44703
+ if (typeof __du_69 !== "object" || __du_69 === null || Array.isArray(__du_69)) {
44704
+ _e.push({ code: "invalid_type", expected: "object", input: __du_69, path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem") });
44458
44705
  }
44459
44706
  else {
44460
- var __o_49 = __du_47;
44461
- if (__o_49["kind"] !== "rejected") {
44462
- _e.push({ code: "invalid_value", values: ["rejected"], input: __o_49["kind"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("kind") });
44707
+ var __o_71 = __du_69;
44708
+ if (__o_71["kind"] !== "rejected") {
44709
+ _e.push({ code: "invalid_value", values: ["rejected"], input: __o_71["kind"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("kind") });
44463
44710
  }
44464
- if (typeof __o_49["status"] !== "number") {
44465
- _e.push({ code: "invalid_type", expected: "number", input: __o_49["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("status") });
44711
+ if (typeof __o_71["status"] !== "number") {
44712
+ _e.push({ code: "invalid_type", expected: "number", input: __o_71["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("status") });
44466
44713
  }
44467
- else if (Number.isNaN(__o_49["status"])) {
44468
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_49["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("status") });
44714
+ else if (Number.isNaN(__o_71["status"])) {
44715
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_71["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("status") });
44469
44716
  }
44470
- else if (!Number.isFinite(__o_49["status"])) {
44471
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_49["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("status") });
44717
+ else if (!Number.isFinite(__o_71["status"])) {
44718
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_71["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("status") });
44472
44719
  }
44473
44720
  else {
44474
- if (!Number.isSafeInteger(__o_49["status"])) {
44475
- _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_49["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("status") });
44721
+ if (!Number.isSafeInteger(__o_71["status"])) {
44722
+ _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_71["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("status") });
44476
44723
  }
44477
44724
  }
44478
- if (__o_49["refreshedBy"] !== undefined) {
44479
- if (typeof __o_49["refreshedBy"] !== "string") {
44480
- _e.push({ code: "invalid_type", expected: "string", input: __o_49["refreshedBy"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("refreshedBy") });
44725
+ if (__o_71["refreshedBy"] !== undefined) {
44726
+ if (typeof __o_71["refreshedBy"] !== "string") {
44727
+ _e.push({ code: "invalid_type", expected: "string", input: __o_71["refreshedBy"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("refreshedBy") });
44481
44728
  }
44482
44729
  }
44483
44730
  }
44484
44731
  break;
44485
44732
  case "no_quota":
44486
- if (typeof __du_47 !== "object" || __du_47 === null || Array.isArray(__du_47)) {
44487
- _e.push({ code: "invalid_type", expected: "object", input: __du_47, path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem") });
44733
+ if (typeof __du_69 !== "object" || __du_69 === null || Array.isArray(__du_69)) {
44734
+ _e.push({ code: "invalid_type", expected: "object", input: __du_69, path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem") });
44488
44735
  }
44489
44736
  else {
44490
- var __o_50 = __du_47;
44491
- if (__o_50["kind"] !== "no_quota") {
44492
- _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_50["kind"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("kind") });
44737
+ var __o_72 = __du_69;
44738
+ if (__o_72["kind"] !== "no_quota") {
44739
+ _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_72["kind"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("kind") });
44493
44740
  }
44494
- if (typeof __o_50["detail"] !== "string") {
44495
- _e.push({ code: "invalid_type", expected: "string", input: __o_50["detail"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("detail") });
44741
+ if (typeof __o_72["detail"] !== "string") {
44742
+ _e.push({ code: "invalid_type", expected: "string", input: __o_72["detail"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("detail") });
44496
44743
  }
44497
44744
  }
44498
44745
  break;
44499
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_46["problem"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("problem").concat("kind") });
44746
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_68["problem"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("problem").concat("kind") });
44500
44747
  }
44501
44748
  }
44502
44749
  }
44503
44750
  break;
44504
44751
  case "error":
44505
- if (typeof __du_45 !== "object" || __du_45 === null || Array.isArray(__du_45)) {
44506
- _e.push({ code: "invalid_type", expected: "object", input: __du_45, path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report") });
44752
+ if (typeof __du_67 !== "object" || __du_67 === null || Array.isArray(__du_67)) {
44753
+ _e.push({ code: "invalid_type", expected: "object", input: __du_67, path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report") });
44507
44754
  }
44508
44755
  else {
44509
- var __o_51 = __du_45;
44510
- if (__o_51["status"] !== "error") {
44511
- _e.push({ code: "invalid_value", values: ["error"], input: __o_51["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("status") });
44756
+ var __o_73 = __du_67;
44757
+ if (__o_73["status"] !== "error") {
44758
+ _e.push({ code: "invalid_value", values: ["error"], input: __o_73["status"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("status") });
44512
44759
  }
44513
- if (typeof __o_51["error"] !== "string") {
44514
- _e.push({ code: "invalid_type", expected: "string", input: __o_51["error"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("error") });
44760
+ if (typeof __o_73["error"] !== "string") {
44761
+ _e.push({ code: "invalid_type", expected: "string", input: __o_73["error"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("error") });
44515
44762
  }
44516
44763
  }
44517
44764
  break;
44518
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["unavailable", "error"], input: __o_44["report"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_43).concat("report").concat("status") });
44765
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["unavailable", "error"], input: __o_66["report"], path: ["payload"].concat("report").concat("loginErrors").concat(__i_65).concat("report").concat("status") });
44519
44766
  }
44520
44767
  }
44521
44768
  }
@@ -44565,35 +44812,61 @@ export const SessionOutboundMessage208 = /* @__PURE__ */ (() => {
44565
44812
  case "error": return typeof __dx_2 === "object" && __dx_2 !== null && !Array.isArray(__dx_2) && __dx_2["status"] === "error" && typeof __dx_2["error"] === "string";
44566
44813
  default: return false;
44567
44814
  } }
44568
- function __du_19(__dx_20) { switch (__dx_20["kind"]) {
44569
- case "expired": return typeof __dx_20 === "object" && __dx_20 !== null && !Array.isArray(__dx_20) && __dx_20["kind"] === "expired" && typeof __dx_20["expiresAt"] === "string" && __re_re_15.test(__dx_20["expiresAt"]) && (__dx_20["refreshedBy"] === undefined || (typeof __dx_20["refreshedBy"] === "string"));
44570
- case "rejected": return typeof __dx_20 === "object" && __dx_20 !== null && !Array.isArray(__dx_20) && __dx_20["kind"] === "rejected" && typeof __dx_20["status"] === "number" && Number.isSafeInteger(__dx_20["status"]) && (__dx_20["refreshedBy"] === undefined || (typeof __dx_20["refreshedBy"] === "string"));
44571
- case "no_quota": return typeof __dx_20 === "object" && __dx_20 !== null && !Array.isArray(__dx_20) && __dx_20["kind"] === "no_quota" && typeof __dx_20["detail"] === "string";
44815
+ var __enumSet_17 = new Set(["default", "ok", "warning", "danger"]);
44816
+ function __af_18(a) { for (var __ae_16, i = 0; i < a.length; i++) {
44817
+ __ae_16 = a[i];
44818
+ if (!(typeof __ae_16 === "object" && __ae_16 !== null && !Array.isArray(__ae_16) && typeof __ae_16["id"] === "string" && typeof __ae_16["label"] === "string" && (__ae_16["shortLabel"] === undefined || (typeof __ae_16["shortLabel"] === "string")) && (__ae_16["summary"] === undefined || (typeof __ae_16["summary"] === "boolean")) && (__ae_16["usedPct"] === undefined || ((__ae_16["usedPct"] === null || (typeof __ae_16["usedPct"] === "number" && !Number.isNaN(__ae_16["usedPct"]) && Number.isFinite(__ae_16["usedPct"]))))) && (__ae_16["remainingPct"] === undefined || ((__ae_16["remainingPct"] === null || (typeof __ae_16["remainingPct"] === "number" && !Number.isNaN(__ae_16["remainingPct"]) && Number.isFinite(__ae_16["remainingPct"]))))) && (__ae_16["resetsAt"] === undefined || ((__ae_16["resetsAt"] === null || (typeof __ae_16["resetsAt"] === "string")))) && (__ae_16["runsOutAt"] === undefined || ((__ae_16["runsOutAt"] === null || (typeof __ae_16["runsOutAt"] === "string")))) && (__ae_16["shortfallPct"] === undefined || ((__ae_16["shortfallPct"] === null || (typeof __ae_16["shortfallPct"] === "number" && !Number.isNaN(__ae_16["shortfallPct"]) && Number.isFinite(__ae_16["shortfallPct"]))))) && (__ae_16["tone"] === undefined || (__enumSet_17.has(__ae_16["tone"]))))) {
44819
+ return false;
44820
+ }
44821
+ } return true; }
44822
+ var __enumSet_20 = new Set(["usd", "credits", "requests", "tokens"]);
44823
+ var __enumSet_21 = new Set(["default", "ok", "warning", "danger"]);
44824
+ function __af_22(a) { for (var __ae_19, i = 0; i < a.length; i++) {
44825
+ __ae_19 = a[i];
44826
+ if (!(typeof __ae_19 === "object" && __ae_19 !== null && !Array.isArray(__ae_19) && typeof __ae_19["id"] === "string" && typeof __ae_19["label"] === "string" && (__ae_19["used"] === undefined || ((__ae_19["used"] === null || (typeof __ae_19["used"] === "number" && !Number.isNaN(__ae_19["used"]) && Number.isFinite(__ae_19["used"]))))) && (__ae_19["remaining"] === undefined || ((__ae_19["remaining"] === null || (typeof __ae_19["remaining"] === "number" && !Number.isNaN(__ae_19["remaining"]) && Number.isFinite(__ae_19["remaining"]))))) && (__ae_19["limit"] === undefined || ((__ae_19["limit"] === null || (typeof __ae_19["limit"] === "number" && !Number.isNaN(__ae_19["limit"]) && Number.isFinite(__ae_19["limit"]))))) && __enumSet_20.has(__ae_19["unit"]) && (__ae_19["resetsAt"] === undefined || ((__ae_19["resetsAt"] === null || (typeof __ae_19["resetsAt"] === "string")))) && (__ae_19["tone"] === undefined || (__enumSet_21.has(__ae_19["tone"]))))) {
44827
+ return false;
44828
+ }
44829
+ } return true; }
44830
+ var __enumSet_24 = new Set(["default", "ok", "warning", "danger"]);
44831
+ function __af_25(a) { for (var __ae_23, i = 0; i < a.length; i++) {
44832
+ __ae_23 = a[i];
44833
+ if (!(typeof __ae_23 === "object" && __ae_23 !== null && !Array.isArray(__ae_23) && typeof __ae_23["id"] === "string" && typeof __ae_23["label"] === "string" && typeof __ae_23["value"] === "string" && (__ae_23["tone"] === undefined || (__enumSet_24.has(__ae_23["tone"]))))) {
44834
+ return false;
44835
+ }
44836
+ } return true; }
44837
+ function __du_29(__dx_30) { switch (__dx_30["kind"]) {
44838
+ case "expired": return typeof __dx_30 === "object" && __dx_30 !== null && !Array.isArray(__dx_30) && __dx_30["kind"] === "expired" && typeof __dx_30["expiresAt"] === "string" && __re_re_15.test(__dx_30["expiresAt"]) && (__dx_30["refreshedBy"] === undefined || (typeof __dx_30["refreshedBy"] === "string"));
44839
+ case "rejected": return typeof __dx_30 === "object" && __dx_30 !== null && !Array.isArray(__dx_30) && __dx_30["kind"] === "rejected" && typeof __dx_30["status"] === "number" && Number.isSafeInteger(__dx_30["status"]) && (__dx_30["refreshedBy"] === undefined || (typeof __dx_30["refreshedBy"] === "string"));
44840
+ case "no_quota": return typeof __dx_30 === "object" && __dx_30 !== null && !Array.isArray(__dx_30) && __dx_30["kind"] === "no_quota" && typeof __dx_30["detail"] === "string";
44572
44841
  default: return false;
44573
44842
  } }
44574
- function __du_17(__dx_18) { switch (__dx_18["status"]) {
44575
- case "unavailable": return typeof __dx_18 === "object" && __dx_18 !== null && !Array.isArray(__dx_18) && __dx_18["status"] === "unavailable" && typeof __dx_18["problem"] === "object" && __dx_18["problem"] !== null && !Array.isArray(__dx_18["problem"]) && __du_19(__dx_18["problem"]);
44576
- case "error": return typeof __dx_18 === "object" && __dx_18 !== null && !Array.isArray(__dx_18) && __dx_18["status"] === "error" && typeof __dx_18["error"] === "string";
44843
+ function __du_27(__dx_28) { switch (__dx_28["status"]) {
44844
+ case "unavailable": return typeof __dx_28 === "object" && __dx_28 !== null && !Array.isArray(__dx_28) && __dx_28["status"] === "unavailable" && typeof __dx_28["problem"] === "object" && __dx_28["problem"] !== null && !Array.isArray(__dx_28["problem"]) && __du_29(__dx_28["problem"]);
44845
+ case "error": return typeof __dx_28 === "object" && __dx_28 !== null && !Array.isArray(__dx_28) && __dx_28["status"] === "error" && typeof __dx_28["error"] === "string";
44577
44846
  default: return false;
44578
44847
  } }
44579
- function __af_21(a) { for (var __ae_16, i = 0; i < a.length; i++) {
44580
- __ae_16 = a[i];
44581
- if (!(typeof __ae_16 === "object" && __ae_16 !== null && !Array.isArray(__ae_16) && typeof __ae_16["harness"] === "string" && typeof __ae_16["report"] === "object" && __ae_16["report"] !== null && !Array.isArray(__ae_16["report"]) && __du_17(__ae_16["report"]))) {
44848
+ function __af_31(a) { for (var __ae_26, i = 0; i < a.length; i++) {
44849
+ __ae_26 = a[i];
44850
+ if (!(typeof __ae_26 === "object" && __ae_26 !== null && !Array.isArray(__ae_26) && typeof __ae_26["harness"] === "string" && typeof __ae_26["report"] === "object" && __ae_26["report"] !== null && !Array.isArray(__ae_26["report"]) && __du_27(__ae_26["report"]))) {
44582
44851
  return false;
44583
44852
  }
44584
44853
  } return true; }
44585
- function __af_22(a) { for (var __ae_0, i = 0; i < a.length; i++) {
44854
+ function __af_32(a) { for (var __ae_0, i = 0; i < a.length; i++) {
44586
44855
  __ae_0 = a[i];
44587
- if (!(typeof __ae_0 === "object" && __ae_0 !== null && !Array.isArray(__ae_0) && typeof __ae_0["id"] === "string" && typeof __ae_0["account"] === "object" && __ae_0["account"] !== null && !Array.isArray(__ae_0["account"]) && (__ae_0["account"]["label"] === undefined || (typeof __ae_0["account"]["label"] === "string")) && typeof __ae_0["fetchedAt"] === "string" && typeof __ae_0["sourceId"] === "string" && typeof __ae_0["sourceLabel"] === "string" && (__ae_0["icon"] === undefined || (typeof __ae_0["icon"] === "string")) && typeof __ae_0["report"] === "object" && __ae_0["report"] !== null && !Array.isArray(__ae_0["report"]) && __du_1(__ae_0["report"]) && (__ae_0["loginErrors"] === undefined || (Array.isArray(__ae_0["loginErrors"]) && __af_21(__ae_0["loginErrors"]))))) {
44856
+ if (!(typeof __ae_0 === "object" && __ae_0 !== null && !Array.isArray(__ae_0) && typeof __ae_0["id"] === "string" && typeof __ae_0["account"] === "object" && __ae_0["account"] !== null && !Array.isArray(__ae_0["account"]) && (__ae_0["account"]["label"] === undefined || (typeof __ae_0["account"]["label"] === "string")) && typeof __ae_0["fetchedAt"] === "string" && typeof __ae_0["sourceId"] === "string" && typeof __ae_0["sourceLabel"] === "string" && (__ae_0["icon"] === undefined || (typeof __ae_0["icon"] === "string")) && typeof __ae_0["report"] === "object" && __ae_0["report"] !== null && !Array.isArray(__ae_0["report"]) && __du_1(__ae_0["report"]) && (__ae_0["successfulAt"] === undefined || (typeof __ae_0["successfulAt"] === "string")) && (__ae_0["lastSuccessful"] === undefined || (typeof __ae_0["lastSuccessful"] === "object" && __ae_0["lastSuccessful"] !== null && !Array.isArray(__ae_0["lastSuccessful"]) && typeof __ae_0["lastSuccessful"]["fetchedAt"] === "string" && typeof __ae_0["lastSuccessful"]["report"] === "object" && __ae_0["lastSuccessful"]["report"] !== null && !Array.isArray(__ae_0["lastSuccessful"]["report"]) && __ae_0["lastSuccessful"]["report"]["status"] === "available" && (__ae_0["lastSuccessful"]["report"]["planLabel"] === undefined || (typeof __ae_0["lastSuccessful"]["report"]["planLabel"] === "string")) && Array.isArray(__ae_0["lastSuccessful"]["report"]["windows"]) && __af_18(__ae_0["lastSuccessful"]["report"]["windows"]) && (__ae_0["lastSuccessful"]["report"]["balances"] === undefined || (Array.isArray(__ae_0["lastSuccessful"]["report"]["balances"]) && __af_22(__ae_0["lastSuccessful"]["report"]["balances"]))) && (__ae_0["lastSuccessful"]["report"]["details"] === undefined || (Array.isArray(__ae_0["lastSuccessful"]["report"]["details"]) && __af_25(__ae_0["lastSuccessful"]["report"]["details"]))))) && (__ae_0["loginErrors"] === undefined || (Array.isArray(__ae_0["loginErrors"]) && __af_31(__ae_0["loginErrors"]))))) {
44588
44857
  return false;
44589
44858
  }
44590
44859
  } return true; }
44591
- var __set_enum_32 = new Set(["default", "ok", "warning", "danger"]);
44592
- var __set_enum_35 = new Set(["usd", "credits", "requests", "tokens"]);
44593
- var __set_enum_36 = new Set(["default", "ok", "warning", "danger"]);
44594
- var __set_enum_39 = new Set(["default", "ok", "warning", "danger"]);
44860
+ var __set_enum_42 = new Set(["default", "ok", "warning", "danger"]);
44861
+ var __set_enum_45 = new Set(["usd", "credits", "requests", "tokens"]);
44862
+ var __set_enum_46 = new Set(["default", "ok", "warning", "danger"]);
44863
+ var __set_enum_49 = new Set(["default", "ok", "warning", "danger"]);
44864
+ var __set_enum_60 = new Set(["default", "ok", "warning", "danger"]);
44865
+ var __set_enum_63 = new Set(["usd", "credits", "requests", "tokens"]);
44866
+ var __set_enum_64 = new Set(["default", "ok", "warning", "danger"]);
44867
+ var __set_enum_67 = new Set(["default", "ok", "warning", "danger"]);
44595
44868
  function safeParse_SessionOutboundMessage208(input) {
44596
- if (typeof input === "object" && input !== null && !Array.isArray(input) && input["type"] === "usage.list_reports.response" && typeof input["payload"] === "object" && input["payload"] !== null && !Array.isArray(input["payload"]) && typeof input["payload"]["requestId"] === "string" && (input["payload"]["reports"] === undefined || (Array.isArray(input["payload"]["reports"]) && __af_22(input["payload"]["reports"]))) && (input["payload"]["error"] === undefined || ((input["payload"]["error"] === null || (typeof input["payload"]["error"] === "string"))))) {
44869
+ if (typeof input === "object" && input !== null && !Array.isArray(input) && input["type"] === "usage.list_reports.response" && typeof input["payload"] === "object" && input["payload"] !== null && !Array.isArray(input["payload"]) && typeof input["payload"]["requestId"] === "string" && (input["payload"]["reports"] === undefined || (Array.isArray(input["payload"]["reports"]) && __af_32(input["payload"]["reports"]))) && (input["payload"]["error"] === undefined || ((input["payload"]["error"] === null || (typeof input["payload"]["error"] === "string"))))) {
44597
44870
  return { success: true, data: input };
44598
44871
  }
44599
44872
  var _e = [];
@@ -44602,262 +44875,262 @@ export const SessionOutboundMessage208 = /* @__PURE__ */ (() => {
44602
44875
  _e.push({ code: "invalid_type", expected: "object", input: _d, path: [] });
44603
44876
  }
44604
44877
  else {
44605
- var __o_23 = _d;
44606
- if (__o_23["type"] !== "usage.list_reports.response") {
44607
- _e.push({ code: "invalid_value", values: ["usage.list_reports.response"], input: __o_23["type"], path: ["type"] });
44878
+ var __o_33 = _d;
44879
+ if (__o_33["type"] !== "usage.list_reports.response") {
44880
+ _e.push({ code: "invalid_value", values: ["usage.list_reports.response"], input: __o_33["type"], path: ["type"] });
44608
44881
  }
44609
- if (typeof __o_23["payload"] !== "object" || __o_23["payload"] === null || Array.isArray(__o_23["payload"])) {
44610
- _e.push({ code: "invalid_type", expected: "object", input: __o_23["payload"], path: ["payload"] });
44882
+ if (typeof __o_33["payload"] !== "object" || __o_33["payload"] === null || Array.isArray(__o_33["payload"])) {
44883
+ _e.push({ code: "invalid_type", expected: "object", input: __o_33["payload"], path: ["payload"] });
44611
44884
  }
44612
44885
  else {
44613
- var __o_24 = __o_23["payload"];
44614
- if (typeof __o_24["requestId"] !== "string") {
44615
- _e.push({ code: "invalid_type", expected: "string", input: __o_24["requestId"], path: ["payload"].concat("requestId") });
44886
+ var __o_34 = __o_33["payload"];
44887
+ if (typeof __o_34["requestId"] !== "string") {
44888
+ _e.push({ code: "invalid_type", expected: "string", input: __o_34["requestId"], path: ["payload"].concat("requestId") });
44616
44889
  }
44617
- if (__o_24["reports"] !== undefined) {
44618
- if (!Array.isArray(__o_24["reports"])) {
44619
- _e.push({ code: "invalid_type", expected: "array", input: __o_24["reports"], path: ["payload"].concat("reports") });
44890
+ if (__o_34["reports"] !== undefined) {
44891
+ if (!Array.isArray(__o_34["reports"])) {
44892
+ _e.push({ code: "invalid_type", expected: "array", input: __o_34["reports"], path: ["payload"].concat("reports") });
44620
44893
  }
44621
44894
  else {
44622
- for (var __i_25 = 0; __i_25 < __o_24["reports"].length; __i_25++) {
44623
- if (typeof __o_24["reports"][__i_25] !== "object" || __o_24["reports"][__i_25] === null || Array.isArray(__o_24["reports"][__i_25])) {
44624
- _e.push({ code: "invalid_type", expected: "object", input: __o_24["reports"][__i_25], path: ["payload"].concat("reports").concat(__i_25) });
44895
+ for (var __i_35 = 0; __i_35 < __o_34["reports"].length; __i_35++) {
44896
+ if (typeof __o_34["reports"][__i_35] !== "object" || __o_34["reports"][__i_35] === null || Array.isArray(__o_34["reports"][__i_35])) {
44897
+ _e.push({ code: "invalid_type", expected: "object", input: __o_34["reports"][__i_35], path: ["payload"].concat("reports").concat(__i_35) });
44625
44898
  }
44626
44899
  else {
44627
- var __o_26 = __o_24["reports"][__i_25];
44628
- if (typeof __o_26["id"] !== "string") {
44629
- _e.push({ code: "invalid_type", expected: "string", input: __o_26["id"], path: ["payload"].concat("reports").concat(__i_25).concat("id") });
44900
+ var __o_36 = __o_34["reports"][__i_35];
44901
+ if (typeof __o_36["id"] !== "string") {
44902
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["id"], path: ["payload"].concat("reports").concat(__i_35).concat("id") });
44630
44903
  }
44631
- if (typeof __o_26["account"] !== "object" || __o_26["account"] === null || Array.isArray(__o_26["account"])) {
44632
- _e.push({ code: "invalid_type", expected: "object", input: __o_26["account"], path: ["payload"].concat("reports").concat(__i_25).concat("account") });
44904
+ if (typeof __o_36["account"] !== "object" || __o_36["account"] === null || Array.isArray(__o_36["account"])) {
44905
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["account"], path: ["payload"].concat("reports").concat(__i_35).concat("account") });
44633
44906
  }
44634
44907
  else {
44635
- var __o_27 = __o_26["account"];
44636
- if (__o_27["label"] !== undefined) {
44637
- if (typeof __o_27["label"] !== "string") {
44638
- _e.push({ code: "invalid_type", expected: "string", input: __o_27["label"], path: ["payload"].concat("reports").concat(__i_25).concat("account").concat("label") });
44908
+ var __o_37 = __o_36["account"];
44909
+ if (__o_37["label"] !== undefined) {
44910
+ if (typeof __o_37["label"] !== "string") {
44911
+ _e.push({ code: "invalid_type", expected: "string", input: __o_37["label"], path: ["payload"].concat("reports").concat(__i_35).concat("account").concat("label") });
44639
44912
  }
44640
44913
  }
44641
44914
  }
44642
- if (typeof __o_26["fetchedAt"] !== "string") {
44643
- _e.push({ code: "invalid_type", expected: "string", input: __o_26["fetchedAt"], path: ["payload"].concat("reports").concat(__i_25).concat("fetchedAt") });
44915
+ if (typeof __o_36["fetchedAt"] !== "string") {
44916
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["fetchedAt"], path: ["payload"].concat("reports").concat(__i_35).concat("fetchedAt") });
44644
44917
  }
44645
- if (typeof __o_26["sourceId"] !== "string") {
44646
- _e.push({ code: "invalid_type", expected: "string", input: __o_26["sourceId"], path: ["payload"].concat("reports").concat(__i_25).concat("sourceId") });
44918
+ if (typeof __o_36["sourceId"] !== "string") {
44919
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["sourceId"], path: ["payload"].concat("reports").concat(__i_35).concat("sourceId") });
44647
44920
  }
44648
- if (typeof __o_26["sourceLabel"] !== "string") {
44649
- _e.push({ code: "invalid_type", expected: "string", input: __o_26["sourceLabel"], path: ["payload"].concat("reports").concat(__i_25).concat("sourceLabel") });
44921
+ if (typeof __o_36["sourceLabel"] !== "string") {
44922
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["sourceLabel"], path: ["payload"].concat("reports").concat(__i_35).concat("sourceLabel") });
44650
44923
  }
44651
- if (__o_26["icon"] !== undefined) {
44652
- if (typeof __o_26["icon"] !== "string") {
44653
- _e.push({ code: "invalid_type", expected: "string", input: __o_26["icon"], path: ["payload"].concat("reports").concat(__i_25).concat("icon") });
44924
+ if (__o_36["icon"] !== undefined) {
44925
+ if (typeof __o_36["icon"] !== "string") {
44926
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["icon"], path: ["payload"].concat("reports").concat(__i_35).concat("icon") });
44654
44927
  }
44655
44928
  }
44656
- if (typeof __o_26["report"] !== "object" || __o_26["report"] === null || Array.isArray(__o_26["report"])) {
44657
- _e.push({ code: "invalid_type", expected: "object", input: __o_26["report"], path: ["payload"].concat("reports").concat(__i_25).concat("report") });
44929
+ if (typeof __o_36["report"] !== "object" || __o_36["report"] === null || Array.isArray(__o_36["report"])) {
44930
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["report"], path: ["payload"].concat("reports").concat(__i_35).concat("report") });
44658
44931
  }
44659
44932
  else {
44660
- var __du_28 = __o_26["report"];
44661
- switch (__du_28["status"]) {
44933
+ var __du_38 = __o_36["report"];
44934
+ switch (__du_38["status"]) {
44662
44935
  case "available":
44663
- if (typeof __du_28 !== "object" || __du_28 === null || Array.isArray(__du_28)) {
44664
- _e.push({ code: "invalid_type", expected: "object", input: __du_28, path: ["payload"].concat("reports").concat(__i_25).concat("report") });
44936
+ if (typeof __du_38 !== "object" || __du_38 === null || Array.isArray(__du_38)) {
44937
+ _e.push({ code: "invalid_type", expected: "object", input: __du_38, path: ["payload"].concat("reports").concat(__i_35).concat("report") });
44665
44938
  }
44666
44939
  else {
44667
- var __o_29 = __du_28;
44668
- if (__o_29["status"] !== "available") {
44669
- _e.push({ code: "invalid_value", values: ["available"], input: __o_29["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("status") });
44940
+ var __o_39 = __du_38;
44941
+ if (__o_39["status"] !== "available") {
44942
+ _e.push({ code: "invalid_value", values: ["available"], input: __o_39["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("status") });
44670
44943
  }
44671
- if (__o_29["planLabel"] !== undefined) {
44672
- if (typeof __o_29["planLabel"] !== "string") {
44673
- _e.push({ code: "invalid_type", expected: "string", input: __o_29["planLabel"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("planLabel") });
44944
+ if (__o_39["planLabel"] !== undefined) {
44945
+ if (typeof __o_39["planLabel"] !== "string") {
44946
+ _e.push({ code: "invalid_type", expected: "string", input: __o_39["planLabel"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("planLabel") });
44674
44947
  }
44675
44948
  }
44676
- if (!Array.isArray(__o_29["windows"])) {
44677
- _e.push({ code: "invalid_type", expected: "array", input: __o_29["windows"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows") });
44949
+ if (!Array.isArray(__o_39["windows"])) {
44950
+ _e.push({ code: "invalid_type", expected: "array", input: __o_39["windows"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows") });
44678
44951
  }
44679
44952
  else {
44680
- for (var __i_30 = 0; __i_30 < __o_29["windows"].length; __i_30++) {
44681
- if (typeof __o_29["windows"][__i_30] !== "object" || __o_29["windows"][__i_30] === null || Array.isArray(__o_29["windows"][__i_30])) {
44682
- _e.push({ code: "invalid_type", expected: "object", input: __o_29["windows"][__i_30], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30) });
44953
+ for (var __i_40 = 0; __i_40 < __o_39["windows"].length; __i_40++) {
44954
+ if (typeof __o_39["windows"][__i_40] !== "object" || __o_39["windows"][__i_40] === null || Array.isArray(__o_39["windows"][__i_40])) {
44955
+ _e.push({ code: "invalid_type", expected: "object", input: __o_39["windows"][__i_40], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40) });
44683
44956
  }
44684
44957
  else {
44685
- var __o_31 = __o_29["windows"][__i_30];
44686
- if (typeof __o_31["id"] !== "string") {
44687
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["id"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("id") });
44958
+ var __o_41 = __o_39["windows"][__i_40];
44959
+ if (typeof __o_41["id"] !== "string") {
44960
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["id"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("id") });
44688
44961
  }
44689
- if (typeof __o_31["label"] !== "string") {
44690
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["label"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("label") });
44962
+ if (typeof __o_41["label"] !== "string") {
44963
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["label"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("label") });
44691
44964
  }
44692
- if (__o_31["shortLabel"] !== undefined) {
44693
- if (typeof __o_31["shortLabel"] !== "string") {
44694
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["shortLabel"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("shortLabel") });
44965
+ if (__o_41["shortLabel"] !== undefined) {
44966
+ if (typeof __o_41["shortLabel"] !== "string") {
44967
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["shortLabel"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("shortLabel") });
44695
44968
  }
44696
44969
  }
44697
- if (__o_31["summary"] !== undefined) {
44698
- if (typeof __o_31["summary"] !== "boolean") {
44699
- _e.push({ code: "invalid_type", expected: "boolean", input: __o_31["summary"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("summary") });
44970
+ if (__o_41["summary"] !== undefined) {
44971
+ if (typeof __o_41["summary"] !== "boolean") {
44972
+ _e.push({ code: "invalid_type", expected: "boolean", input: __o_41["summary"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("summary") });
44700
44973
  }
44701
44974
  }
44702
- if (__o_31["usedPct"] !== undefined) {
44703
- if (__o_31["usedPct"] !== null) {
44704
- if (typeof __o_31["usedPct"] !== "number") {
44705
- _e.push({ code: "invalid_type", expected: "number", input: __o_31["usedPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("usedPct") });
44975
+ if (__o_41["usedPct"] !== undefined) {
44976
+ if (__o_41["usedPct"] !== null) {
44977
+ if (typeof __o_41["usedPct"] !== "number") {
44978
+ _e.push({ code: "invalid_type", expected: "number", input: __o_41["usedPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("usedPct") });
44706
44979
  }
44707
- else if (Number.isNaN(__o_31["usedPct"])) {
44708
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_31["usedPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("usedPct") });
44980
+ else if (Number.isNaN(__o_41["usedPct"])) {
44981
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_41["usedPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("usedPct") });
44709
44982
  }
44710
- else if (!Number.isFinite(__o_31["usedPct"])) {
44711
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_31["usedPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("usedPct") });
44983
+ else if (!Number.isFinite(__o_41["usedPct"])) {
44984
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_41["usedPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("usedPct") });
44712
44985
  }
44713
44986
  }
44714
44987
  }
44715
- if (__o_31["remainingPct"] !== undefined) {
44716
- if (__o_31["remainingPct"] !== null) {
44717
- if (typeof __o_31["remainingPct"] !== "number") {
44718
- _e.push({ code: "invalid_type", expected: "number", input: __o_31["remainingPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("remainingPct") });
44988
+ if (__o_41["remainingPct"] !== undefined) {
44989
+ if (__o_41["remainingPct"] !== null) {
44990
+ if (typeof __o_41["remainingPct"] !== "number") {
44991
+ _e.push({ code: "invalid_type", expected: "number", input: __o_41["remainingPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("remainingPct") });
44719
44992
  }
44720
- else if (Number.isNaN(__o_31["remainingPct"])) {
44721
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_31["remainingPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("remainingPct") });
44993
+ else if (Number.isNaN(__o_41["remainingPct"])) {
44994
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_41["remainingPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("remainingPct") });
44722
44995
  }
44723
- else if (!Number.isFinite(__o_31["remainingPct"])) {
44724
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_31["remainingPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("remainingPct") });
44996
+ else if (!Number.isFinite(__o_41["remainingPct"])) {
44997
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_41["remainingPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("remainingPct") });
44725
44998
  }
44726
44999
  }
44727
45000
  }
44728
- if (__o_31["resetsAt"] !== undefined) {
44729
- if (__o_31["resetsAt"] !== null) {
44730
- if (typeof __o_31["resetsAt"] !== "string") {
44731
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["resetsAt"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("resetsAt") });
45001
+ if (__o_41["resetsAt"] !== undefined) {
45002
+ if (__o_41["resetsAt"] !== null) {
45003
+ if (typeof __o_41["resetsAt"] !== "string") {
45004
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["resetsAt"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("resetsAt") });
44732
45005
  }
44733
45006
  }
44734
45007
  }
44735
- if (__o_31["runsOutAt"] !== undefined) {
44736
- if (__o_31["runsOutAt"] !== null) {
44737
- if (typeof __o_31["runsOutAt"] !== "string") {
44738
- _e.push({ code: "invalid_type", expected: "string", input: __o_31["runsOutAt"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("runsOutAt") });
45008
+ if (__o_41["runsOutAt"] !== undefined) {
45009
+ if (__o_41["runsOutAt"] !== null) {
45010
+ if (typeof __o_41["runsOutAt"] !== "string") {
45011
+ _e.push({ code: "invalid_type", expected: "string", input: __o_41["runsOutAt"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("runsOutAt") });
44739
45012
  }
44740
45013
  }
44741
45014
  }
44742
- if (__o_31["shortfallPct"] !== undefined) {
44743
- if (__o_31["shortfallPct"] !== null) {
44744
- if (typeof __o_31["shortfallPct"] !== "number") {
44745
- _e.push({ code: "invalid_type", expected: "number", input: __o_31["shortfallPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("shortfallPct") });
45015
+ if (__o_41["shortfallPct"] !== undefined) {
45016
+ if (__o_41["shortfallPct"] !== null) {
45017
+ if (typeof __o_41["shortfallPct"] !== "number") {
45018
+ _e.push({ code: "invalid_type", expected: "number", input: __o_41["shortfallPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("shortfallPct") });
44746
45019
  }
44747
- else if (Number.isNaN(__o_31["shortfallPct"])) {
44748
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_31["shortfallPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("shortfallPct") });
45020
+ else if (Number.isNaN(__o_41["shortfallPct"])) {
45021
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_41["shortfallPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("shortfallPct") });
44749
45022
  }
44750
- else if (!Number.isFinite(__o_31["shortfallPct"])) {
44751
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_31["shortfallPct"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("shortfallPct") });
45023
+ else if (!Number.isFinite(__o_41["shortfallPct"])) {
45024
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_41["shortfallPct"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("shortfallPct") });
44752
45025
  }
44753
45026
  }
44754
45027
  }
44755
- if (__o_31["tone"] !== undefined) {
44756
- if (!__set_enum_32.has(__o_31["tone"])) {
44757
- _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_31["tone"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("windows").concat(__i_30).concat("tone") });
45028
+ if (__o_41["tone"] !== undefined) {
45029
+ if (!__set_enum_42.has(__o_41["tone"])) {
45030
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_41["tone"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("windows").concat(__i_40).concat("tone") });
44758
45031
  }
44759
45032
  }
44760
45033
  }
44761
45034
  }
44762
45035
  }
44763
- if (__o_29["balances"] !== undefined) {
44764
- if (!Array.isArray(__o_29["balances"])) {
44765
- _e.push({ code: "invalid_type", expected: "array", input: __o_29["balances"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances") });
45036
+ if (__o_39["balances"] !== undefined) {
45037
+ if (!Array.isArray(__o_39["balances"])) {
45038
+ _e.push({ code: "invalid_type", expected: "array", input: __o_39["balances"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances") });
44766
45039
  }
44767
45040
  else {
44768
- for (var __i_33 = 0; __i_33 < __o_29["balances"].length; __i_33++) {
44769
- if (typeof __o_29["balances"][__i_33] !== "object" || __o_29["balances"][__i_33] === null || Array.isArray(__o_29["balances"][__i_33])) {
44770
- _e.push({ code: "invalid_type", expected: "object", input: __o_29["balances"][__i_33], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33) });
45041
+ for (var __i_43 = 0; __i_43 < __o_39["balances"].length; __i_43++) {
45042
+ if (typeof __o_39["balances"][__i_43] !== "object" || __o_39["balances"][__i_43] === null || Array.isArray(__o_39["balances"][__i_43])) {
45043
+ _e.push({ code: "invalid_type", expected: "object", input: __o_39["balances"][__i_43], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43) });
44771
45044
  }
44772
45045
  else {
44773
- var __o_34 = __o_29["balances"][__i_33];
44774
- if (typeof __o_34["id"] !== "string") {
44775
- _e.push({ code: "invalid_type", expected: "string", input: __o_34["id"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("id") });
45046
+ var __o_44 = __o_39["balances"][__i_43];
45047
+ if (typeof __o_44["id"] !== "string") {
45048
+ _e.push({ code: "invalid_type", expected: "string", input: __o_44["id"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("id") });
44776
45049
  }
44777
- if (typeof __o_34["label"] !== "string") {
44778
- _e.push({ code: "invalid_type", expected: "string", input: __o_34["label"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("label") });
45050
+ if (typeof __o_44["label"] !== "string") {
45051
+ _e.push({ code: "invalid_type", expected: "string", input: __o_44["label"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("label") });
44779
45052
  }
44780
- if (__o_34["used"] !== undefined) {
44781
- if (__o_34["used"] !== null) {
44782
- if (typeof __o_34["used"] !== "number") {
44783
- _e.push({ code: "invalid_type", expected: "number", input: __o_34["used"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("used") });
45053
+ if (__o_44["used"] !== undefined) {
45054
+ if (__o_44["used"] !== null) {
45055
+ if (typeof __o_44["used"] !== "number") {
45056
+ _e.push({ code: "invalid_type", expected: "number", input: __o_44["used"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("used") });
44784
45057
  }
44785
- else if (Number.isNaN(__o_34["used"])) {
44786
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_34["used"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("used") });
45058
+ else if (Number.isNaN(__o_44["used"])) {
45059
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_44["used"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("used") });
44787
45060
  }
44788
- else if (!Number.isFinite(__o_34["used"])) {
44789
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_34["used"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("used") });
45061
+ else if (!Number.isFinite(__o_44["used"])) {
45062
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_44["used"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("used") });
44790
45063
  }
44791
45064
  }
44792
45065
  }
44793
- if (__o_34["remaining"] !== undefined) {
44794
- if (__o_34["remaining"] !== null) {
44795
- if (typeof __o_34["remaining"] !== "number") {
44796
- _e.push({ code: "invalid_type", expected: "number", input: __o_34["remaining"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("remaining") });
45066
+ if (__o_44["remaining"] !== undefined) {
45067
+ if (__o_44["remaining"] !== null) {
45068
+ if (typeof __o_44["remaining"] !== "number") {
45069
+ _e.push({ code: "invalid_type", expected: "number", input: __o_44["remaining"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("remaining") });
44797
45070
  }
44798
- else if (Number.isNaN(__o_34["remaining"])) {
44799
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_34["remaining"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("remaining") });
45071
+ else if (Number.isNaN(__o_44["remaining"])) {
45072
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_44["remaining"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("remaining") });
44800
45073
  }
44801
- else if (!Number.isFinite(__o_34["remaining"])) {
44802
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_34["remaining"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("remaining") });
45074
+ else if (!Number.isFinite(__o_44["remaining"])) {
45075
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_44["remaining"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("remaining") });
44803
45076
  }
44804
45077
  }
44805
45078
  }
44806
- if (__o_34["limit"] !== undefined) {
44807
- if (__o_34["limit"] !== null) {
44808
- if (typeof __o_34["limit"] !== "number") {
44809
- _e.push({ code: "invalid_type", expected: "number", input: __o_34["limit"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("limit") });
45079
+ if (__o_44["limit"] !== undefined) {
45080
+ if (__o_44["limit"] !== null) {
45081
+ if (typeof __o_44["limit"] !== "number") {
45082
+ _e.push({ code: "invalid_type", expected: "number", input: __o_44["limit"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("limit") });
44810
45083
  }
44811
- else if (Number.isNaN(__o_34["limit"])) {
44812
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_34["limit"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("limit") });
45084
+ else if (Number.isNaN(__o_44["limit"])) {
45085
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_44["limit"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("limit") });
44813
45086
  }
44814
- else if (!Number.isFinite(__o_34["limit"])) {
44815
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_34["limit"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("limit") });
45087
+ else if (!Number.isFinite(__o_44["limit"])) {
45088
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_44["limit"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("limit") });
44816
45089
  }
44817
45090
  }
44818
45091
  }
44819
- if (!__set_enum_35.has(__o_34["unit"])) {
44820
- _e.push({ code: "invalid_value", values: ["usd", "credits", "requests", "tokens"], input: __o_34["unit"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("unit") });
45092
+ if (!__set_enum_45.has(__o_44["unit"])) {
45093
+ _e.push({ code: "invalid_value", values: ["usd", "credits", "requests", "tokens"], input: __o_44["unit"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("unit") });
44821
45094
  }
44822
- if (__o_34["resetsAt"] !== undefined) {
44823
- if (__o_34["resetsAt"] !== null) {
44824
- if (typeof __o_34["resetsAt"] !== "string") {
44825
- _e.push({ code: "invalid_type", expected: "string", input: __o_34["resetsAt"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("resetsAt") });
45095
+ if (__o_44["resetsAt"] !== undefined) {
45096
+ if (__o_44["resetsAt"] !== null) {
45097
+ if (typeof __o_44["resetsAt"] !== "string") {
45098
+ _e.push({ code: "invalid_type", expected: "string", input: __o_44["resetsAt"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("resetsAt") });
44826
45099
  }
44827
45100
  }
44828
45101
  }
44829
- if (__o_34["tone"] !== undefined) {
44830
- if (!__set_enum_36.has(__o_34["tone"])) {
44831
- _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_34["tone"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("balances").concat(__i_33).concat("tone") });
45102
+ if (__o_44["tone"] !== undefined) {
45103
+ if (!__set_enum_46.has(__o_44["tone"])) {
45104
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_44["tone"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("balances").concat(__i_43).concat("tone") });
44832
45105
  }
44833
45106
  }
44834
45107
  }
44835
45108
  }
44836
45109
  }
44837
45110
  }
44838
- if (__o_29["details"] !== undefined) {
44839
- if (!Array.isArray(__o_29["details"])) {
44840
- _e.push({ code: "invalid_type", expected: "array", input: __o_29["details"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("details") });
45111
+ if (__o_39["details"] !== undefined) {
45112
+ if (!Array.isArray(__o_39["details"])) {
45113
+ _e.push({ code: "invalid_type", expected: "array", input: __o_39["details"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("details") });
44841
45114
  }
44842
45115
  else {
44843
- for (var __i_37 = 0; __i_37 < __o_29["details"].length; __i_37++) {
44844
- if (typeof __o_29["details"][__i_37] !== "object" || __o_29["details"][__i_37] === null || Array.isArray(__o_29["details"][__i_37])) {
44845
- _e.push({ code: "invalid_type", expected: "object", input: __o_29["details"][__i_37], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("details").concat(__i_37) });
45116
+ for (var __i_47 = 0; __i_47 < __o_39["details"].length; __i_47++) {
45117
+ if (typeof __o_39["details"][__i_47] !== "object" || __o_39["details"][__i_47] === null || Array.isArray(__o_39["details"][__i_47])) {
45118
+ _e.push({ code: "invalid_type", expected: "object", input: __o_39["details"][__i_47], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("details").concat(__i_47) });
44846
45119
  }
44847
45120
  else {
44848
- var __o_38 = __o_29["details"][__i_37];
44849
- if (typeof __o_38["id"] !== "string") {
44850
- _e.push({ code: "invalid_type", expected: "string", input: __o_38["id"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("details").concat(__i_37).concat("id") });
45121
+ var __o_48 = __o_39["details"][__i_47];
45122
+ if (typeof __o_48["id"] !== "string") {
45123
+ _e.push({ code: "invalid_type", expected: "string", input: __o_48["id"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("details").concat(__i_47).concat("id") });
44851
45124
  }
44852
- if (typeof __o_38["label"] !== "string") {
44853
- _e.push({ code: "invalid_type", expected: "string", input: __o_38["label"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("details").concat(__i_37).concat("label") });
45125
+ if (typeof __o_48["label"] !== "string") {
45126
+ _e.push({ code: "invalid_type", expected: "string", input: __o_48["label"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("details").concat(__i_47).concat("label") });
44854
45127
  }
44855
- if (typeof __o_38["value"] !== "string") {
44856
- _e.push({ code: "invalid_type", expected: "string", input: __o_38["value"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("details").concat(__i_37).concat("value") });
45128
+ if (typeof __o_48["value"] !== "string") {
45129
+ _e.push({ code: "invalid_type", expected: "string", input: __o_48["value"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("details").concat(__i_47).concat("value") });
44857
45130
  }
44858
- if (__o_38["tone"] !== undefined) {
44859
- if (!__set_enum_39.has(__o_38["tone"])) {
44860
- _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_38["tone"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("details").concat(__i_37).concat("tone") });
45131
+ if (__o_48["tone"] !== undefined) {
45132
+ if (!__set_enum_49.has(__o_48["tone"])) {
45133
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_48["tone"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("details").concat(__i_47).concat("tone") });
44861
45134
  }
44862
45135
  }
44863
45136
  }
@@ -44867,233 +45140,454 @@ export const SessionOutboundMessage208 = /* @__PURE__ */ (() => {
44867
45140
  }
44868
45141
  break;
44869
45142
  case "unavailable":
44870
- if (typeof __du_28 !== "object" || __du_28 === null || Array.isArray(__du_28)) {
44871
- _e.push({ code: "invalid_type", expected: "object", input: __du_28, path: ["payload"].concat("reports").concat(__i_25).concat("report") });
45143
+ if (typeof __du_38 !== "object" || __du_38 === null || Array.isArray(__du_38)) {
45144
+ _e.push({ code: "invalid_type", expected: "object", input: __du_38, path: ["payload"].concat("reports").concat(__i_35).concat("report") });
44872
45145
  }
44873
45146
  else {
44874
- var __o_40 = __du_28;
44875
- if (__o_40["status"] !== "unavailable") {
44876
- _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_40["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("status") });
45147
+ var __o_50 = __du_38;
45148
+ if (__o_50["status"] !== "unavailable") {
45149
+ _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_50["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("status") });
44877
45150
  }
44878
- if (typeof __o_40["problem"] !== "object" || __o_40["problem"] === null || Array.isArray(__o_40["problem"])) {
44879
- _e.push({ code: "invalid_type", expected: "object", input: __o_40["problem"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem") });
45151
+ if (typeof __o_50["problem"] !== "object" || __o_50["problem"] === null || Array.isArray(__o_50["problem"])) {
45152
+ _e.push({ code: "invalid_type", expected: "object", input: __o_50["problem"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem") });
44880
45153
  }
44881
45154
  else {
44882
- var __du_41 = __o_40["problem"];
44883
- switch (__du_41["kind"]) {
45155
+ var __du_51 = __o_50["problem"];
45156
+ switch (__du_51["kind"]) {
44884
45157
  case "expired":
44885
- if (typeof __du_41 !== "object" || __du_41 === null || Array.isArray(__du_41)) {
44886
- _e.push({ code: "invalid_type", expected: "object", input: __du_41, path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem") });
45158
+ if (typeof __du_51 !== "object" || __du_51 === null || Array.isArray(__du_51)) {
45159
+ _e.push({ code: "invalid_type", expected: "object", input: __du_51, path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem") });
44887
45160
  }
44888
45161
  else {
44889
- var __o_42 = __du_41;
44890
- if (__o_42["kind"] !== "expired") {
44891
- _e.push({ code: "invalid_value", values: ["expired"], input: __o_42["kind"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("kind") });
45162
+ var __o_52 = __du_51;
45163
+ if (__o_52["kind"] !== "expired") {
45164
+ _e.push({ code: "invalid_value", values: ["expired"], input: __o_52["kind"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("kind") });
44892
45165
  }
44893
- if (typeof __o_42["expiresAt"] !== "string") {
44894
- _e.push({ code: "invalid_type", expected: "string", input: __o_42["expiresAt"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("expiresAt") });
45166
+ if (typeof __o_52["expiresAt"] !== "string") {
45167
+ _e.push({ code: "invalid_type", expected: "string", input: __o_52["expiresAt"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("expiresAt") });
44895
45168
  }
44896
45169
  else {
44897
- if (!__re_re_15.test(__o_42["expiresAt"])) {
44898
- _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_15.toString(), origin: "string", input: __o_42["expiresAt"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("expiresAt") });
45170
+ if (!__re_re_15.test(__o_52["expiresAt"])) {
45171
+ _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_15.toString(), origin: "string", input: __o_52["expiresAt"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("expiresAt") });
44899
45172
  }
44900
45173
  }
44901
- if (__o_42["refreshedBy"] !== undefined) {
44902
- if (typeof __o_42["refreshedBy"] !== "string") {
44903
- _e.push({ code: "invalid_type", expected: "string", input: __o_42["refreshedBy"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("refreshedBy") });
45174
+ if (__o_52["refreshedBy"] !== undefined) {
45175
+ if (typeof __o_52["refreshedBy"] !== "string") {
45176
+ _e.push({ code: "invalid_type", expected: "string", input: __o_52["refreshedBy"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("refreshedBy") });
44904
45177
  }
44905
45178
  }
44906
45179
  }
44907
45180
  break;
44908
45181
  case "rejected":
44909
- if (typeof __du_41 !== "object" || __du_41 === null || Array.isArray(__du_41)) {
44910
- _e.push({ code: "invalid_type", expected: "object", input: __du_41, path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem") });
45182
+ if (typeof __du_51 !== "object" || __du_51 === null || Array.isArray(__du_51)) {
45183
+ _e.push({ code: "invalid_type", expected: "object", input: __du_51, path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem") });
44911
45184
  }
44912
45185
  else {
44913
- var __o_43 = __du_41;
44914
- if (__o_43["kind"] !== "rejected") {
44915
- _e.push({ code: "invalid_value", values: ["rejected"], input: __o_43["kind"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("kind") });
45186
+ var __o_53 = __du_51;
45187
+ if (__o_53["kind"] !== "rejected") {
45188
+ _e.push({ code: "invalid_value", values: ["rejected"], input: __o_53["kind"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("kind") });
44916
45189
  }
44917
- if (typeof __o_43["status"] !== "number") {
44918
- _e.push({ code: "invalid_type", expected: "number", input: __o_43["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("status") });
45190
+ if (typeof __o_53["status"] !== "number") {
45191
+ _e.push({ code: "invalid_type", expected: "number", input: __o_53["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("status") });
44919
45192
  }
44920
- else if (Number.isNaN(__o_43["status"])) {
44921
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_43["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("status") });
45193
+ else if (Number.isNaN(__o_53["status"])) {
45194
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_53["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("status") });
44922
45195
  }
44923
- else if (!Number.isFinite(__o_43["status"])) {
44924
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_43["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("status") });
45196
+ else if (!Number.isFinite(__o_53["status"])) {
45197
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_53["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("status") });
44925
45198
  }
44926
45199
  else {
44927
- if (!Number.isSafeInteger(__o_43["status"])) {
44928
- _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_43["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("status") });
45200
+ if (!Number.isSafeInteger(__o_53["status"])) {
45201
+ _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_53["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("status") });
44929
45202
  }
44930
45203
  }
44931
- if (__o_43["refreshedBy"] !== undefined) {
44932
- if (typeof __o_43["refreshedBy"] !== "string") {
44933
- _e.push({ code: "invalid_type", expected: "string", input: __o_43["refreshedBy"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("refreshedBy") });
45204
+ if (__o_53["refreshedBy"] !== undefined) {
45205
+ if (typeof __o_53["refreshedBy"] !== "string") {
45206
+ _e.push({ code: "invalid_type", expected: "string", input: __o_53["refreshedBy"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("refreshedBy") });
44934
45207
  }
44935
45208
  }
44936
45209
  }
44937
45210
  break;
44938
45211
  case "no_quota":
44939
- if (typeof __du_41 !== "object" || __du_41 === null || Array.isArray(__du_41)) {
44940
- _e.push({ code: "invalid_type", expected: "object", input: __du_41, path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem") });
45212
+ if (typeof __du_51 !== "object" || __du_51 === null || Array.isArray(__du_51)) {
45213
+ _e.push({ code: "invalid_type", expected: "object", input: __du_51, path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem") });
44941
45214
  }
44942
45215
  else {
44943
- var __o_44 = __du_41;
44944
- if (__o_44["kind"] !== "no_quota") {
44945
- _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_44["kind"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("kind") });
45216
+ var __o_54 = __du_51;
45217
+ if (__o_54["kind"] !== "no_quota") {
45218
+ _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_54["kind"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("kind") });
44946
45219
  }
44947
- if (typeof __o_44["detail"] !== "string") {
44948
- _e.push({ code: "invalid_type", expected: "string", input: __o_44["detail"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("detail") });
45220
+ if (typeof __o_54["detail"] !== "string") {
45221
+ _e.push({ code: "invalid_type", expected: "string", input: __o_54["detail"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("detail") });
44949
45222
  }
44950
45223
  }
44951
45224
  break;
44952
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_40["problem"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("problem").concat("kind") });
45225
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_50["problem"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("problem").concat("kind") });
44953
45226
  }
44954
45227
  }
44955
45228
  }
44956
45229
  break;
44957
45230
  case "error":
44958
- if (typeof __du_28 !== "object" || __du_28 === null || Array.isArray(__du_28)) {
44959
- _e.push({ code: "invalid_type", expected: "object", input: __du_28, path: ["payload"].concat("reports").concat(__i_25).concat("report") });
45231
+ if (typeof __du_38 !== "object" || __du_38 === null || Array.isArray(__du_38)) {
45232
+ _e.push({ code: "invalid_type", expected: "object", input: __du_38, path: ["payload"].concat("reports").concat(__i_35).concat("report") });
44960
45233
  }
44961
45234
  else {
44962
- var __o_45 = __du_28;
44963
- if (__o_45["status"] !== "error") {
44964
- _e.push({ code: "invalid_value", values: ["error"], input: __o_45["status"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("status") });
45235
+ var __o_55 = __du_38;
45236
+ if (__o_55["status"] !== "error") {
45237
+ _e.push({ code: "invalid_value", values: ["error"], input: __o_55["status"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("status") });
44965
45238
  }
44966
- if (typeof __o_45["error"] !== "string") {
44967
- _e.push({ code: "invalid_type", expected: "string", input: __o_45["error"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("error") });
45239
+ if (typeof __o_55["error"] !== "string") {
45240
+ _e.push({ code: "invalid_type", expected: "string", input: __o_55["error"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("error") });
44968
45241
  }
44969
45242
  }
44970
45243
  break;
44971
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["available", "unavailable", "error"], input: __o_26["report"], path: ["payload"].concat("reports").concat(__i_25).concat("report").concat("status") });
45244
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["available", "unavailable", "error"], input: __o_36["report"], path: ["payload"].concat("reports").concat(__i_35).concat("report").concat("status") });
45245
+ }
45246
+ }
45247
+ if (__o_36["successfulAt"] !== undefined) {
45248
+ if (typeof __o_36["successfulAt"] !== "string") {
45249
+ _e.push({ code: "invalid_type", expected: "string", input: __o_36["successfulAt"], path: ["payload"].concat("reports").concat(__i_35).concat("successfulAt") });
45250
+ }
45251
+ }
45252
+ if (__o_36["lastSuccessful"] !== undefined) {
45253
+ if (typeof __o_36["lastSuccessful"] !== "object" || __o_36["lastSuccessful"] === null || Array.isArray(__o_36["lastSuccessful"])) {
45254
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["lastSuccessful"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful") });
45255
+ }
45256
+ else {
45257
+ var __o_56 = __o_36["lastSuccessful"];
45258
+ if (typeof __o_56["fetchedAt"] !== "string") {
45259
+ _e.push({ code: "invalid_type", expected: "string", input: __o_56["fetchedAt"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("fetchedAt") });
45260
+ }
45261
+ if (typeof __o_56["report"] !== "object" || __o_56["report"] === null || Array.isArray(__o_56["report"])) {
45262
+ _e.push({ code: "invalid_type", expected: "object", input: __o_56["report"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report") });
45263
+ }
45264
+ else {
45265
+ var __o_57 = __o_56["report"];
45266
+ if (__o_57["status"] !== "available") {
45267
+ _e.push({ code: "invalid_value", values: ["available"], input: __o_57["status"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("status") });
45268
+ }
45269
+ if (__o_57["planLabel"] !== undefined) {
45270
+ if (typeof __o_57["planLabel"] !== "string") {
45271
+ _e.push({ code: "invalid_type", expected: "string", input: __o_57["planLabel"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("planLabel") });
45272
+ }
45273
+ }
45274
+ if (!Array.isArray(__o_57["windows"])) {
45275
+ _e.push({ code: "invalid_type", expected: "array", input: __o_57["windows"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows") });
45276
+ }
45277
+ else {
45278
+ for (var __i_58 = 0; __i_58 < __o_57["windows"].length; __i_58++) {
45279
+ if (typeof __o_57["windows"][__i_58] !== "object" || __o_57["windows"][__i_58] === null || Array.isArray(__o_57["windows"][__i_58])) {
45280
+ _e.push({ code: "invalid_type", expected: "object", input: __o_57["windows"][__i_58], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58) });
45281
+ }
45282
+ else {
45283
+ var __o_59 = __o_57["windows"][__i_58];
45284
+ if (typeof __o_59["id"] !== "string") {
45285
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["id"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("id") });
45286
+ }
45287
+ if (typeof __o_59["label"] !== "string") {
45288
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["label"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("label") });
45289
+ }
45290
+ if (__o_59["shortLabel"] !== undefined) {
45291
+ if (typeof __o_59["shortLabel"] !== "string") {
45292
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["shortLabel"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("shortLabel") });
45293
+ }
45294
+ }
45295
+ if (__o_59["summary"] !== undefined) {
45296
+ if (typeof __o_59["summary"] !== "boolean") {
45297
+ _e.push({ code: "invalid_type", expected: "boolean", input: __o_59["summary"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("summary") });
45298
+ }
45299
+ }
45300
+ if (__o_59["usedPct"] !== undefined) {
45301
+ if (__o_59["usedPct"] !== null) {
45302
+ if (typeof __o_59["usedPct"] !== "number") {
45303
+ _e.push({ code: "invalid_type", expected: "number", input: __o_59["usedPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("usedPct") });
45304
+ }
45305
+ else if (Number.isNaN(__o_59["usedPct"])) {
45306
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_59["usedPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("usedPct") });
45307
+ }
45308
+ else if (!Number.isFinite(__o_59["usedPct"])) {
45309
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_59["usedPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("usedPct") });
45310
+ }
45311
+ }
45312
+ }
45313
+ if (__o_59["remainingPct"] !== undefined) {
45314
+ if (__o_59["remainingPct"] !== null) {
45315
+ if (typeof __o_59["remainingPct"] !== "number") {
45316
+ _e.push({ code: "invalid_type", expected: "number", input: __o_59["remainingPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("remainingPct") });
45317
+ }
45318
+ else if (Number.isNaN(__o_59["remainingPct"])) {
45319
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_59["remainingPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("remainingPct") });
45320
+ }
45321
+ else if (!Number.isFinite(__o_59["remainingPct"])) {
45322
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_59["remainingPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("remainingPct") });
45323
+ }
45324
+ }
45325
+ }
45326
+ if (__o_59["resetsAt"] !== undefined) {
45327
+ if (__o_59["resetsAt"] !== null) {
45328
+ if (typeof __o_59["resetsAt"] !== "string") {
45329
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["resetsAt"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("resetsAt") });
45330
+ }
45331
+ }
45332
+ }
45333
+ if (__o_59["runsOutAt"] !== undefined) {
45334
+ if (__o_59["runsOutAt"] !== null) {
45335
+ if (typeof __o_59["runsOutAt"] !== "string") {
45336
+ _e.push({ code: "invalid_type", expected: "string", input: __o_59["runsOutAt"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("runsOutAt") });
45337
+ }
45338
+ }
45339
+ }
45340
+ if (__o_59["shortfallPct"] !== undefined) {
45341
+ if (__o_59["shortfallPct"] !== null) {
45342
+ if (typeof __o_59["shortfallPct"] !== "number") {
45343
+ _e.push({ code: "invalid_type", expected: "number", input: __o_59["shortfallPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("shortfallPct") });
45344
+ }
45345
+ else if (Number.isNaN(__o_59["shortfallPct"])) {
45346
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_59["shortfallPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("shortfallPct") });
45347
+ }
45348
+ else if (!Number.isFinite(__o_59["shortfallPct"])) {
45349
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_59["shortfallPct"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("shortfallPct") });
45350
+ }
45351
+ }
45352
+ }
45353
+ if (__o_59["tone"] !== undefined) {
45354
+ if (!__set_enum_60.has(__o_59["tone"])) {
45355
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_59["tone"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("windows").concat(__i_58).concat("tone") });
45356
+ }
45357
+ }
45358
+ }
45359
+ }
45360
+ }
45361
+ if (__o_57["balances"] !== undefined) {
45362
+ if (!Array.isArray(__o_57["balances"])) {
45363
+ _e.push({ code: "invalid_type", expected: "array", input: __o_57["balances"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances") });
45364
+ }
45365
+ else {
45366
+ for (var __i_61 = 0; __i_61 < __o_57["balances"].length; __i_61++) {
45367
+ if (typeof __o_57["balances"][__i_61] !== "object" || __o_57["balances"][__i_61] === null || Array.isArray(__o_57["balances"][__i_61])) {
45368
+ _e.push({ code: "invalid_type", expected: "object", input: __o_57["balances"][__i_61], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61) });
45369
+ }
45370
+ else {
45371
+ var __o_62 = __o_57["balances"][__i_61];
45372
+ if (typeof __o_62["id"] !== "string") {
45373
+ _e.push({ code: "invalid_type", expected: "string", input: __o_62["id"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("id") });
45374
+ }
45375
+ if (typeof __o_62["label"] !== "string") {
45376
+ _e.push({ code: "invalid_type", expected: "string", input: __o_62["label"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("label") });
45377
+ }
45378
+ if (__o_62["used"] !== undefined) {
45379
+ if (__o_62["used"] !== null) {
45380
+ if (typeof __o_62["used"] !== "number") {
45381
+ _e.push({ code: "invalid_type", expected: "number", input: __o_62["used"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("used") });
45382
+ }
45383
+ else if (Number.isNaN(__o_62["used"])) {
45384
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_62["used"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("used") });
45385
+ }
45386
+ else if (!Number.isFinite(__o_62["used"])) {
45387
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_62["used"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("used") });
45388
+ }
45389
+ }
45390
+ }
45391
+ if (__o_62["remaining"] !== undefined) {
45392
+ if (__o_62["remaining"] !== null) {
45393
+ if (typeof __o_62["remaining"] !== "number") {
45394
+ _e.push({ code: "invalid_type", expected: "number", input: __o_62["remaining"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("remaining") });
45395
+ }
45396
+ else if (Number.isNaN(__o_62["remaining"])) {
45397
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_62["remaining"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("remaining") });
45398
+ }
45399
+ else if (!Number.isFinite(__o_62["remaining"])) {
45400
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_62["remaining"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("remaining") });
45401
+ }
45402
+ }
45403
+ }
45404
+ if (__o_62["limit"] !== undefined) {
45405
+ if (__o_62["limit"] !== null) {
45406
+ if (typeof __o_62["limit"] !== "number") {
45407
+ _e.push({ code: "invalid_type", expected: "number", input: __o_62["limit"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("limit") });
45408
+ }
45409
+ else if (Number.isNaN(__o_62["limit"])) {
45410
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_62["limit"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("limit") });
45411
+ }
45412
+ else if (!Number.isFinite(__o_62["limit"])) {
45413
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_62["limit"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("limit") });
45414
+ }
45415
+ }
45416
+ }
45417
+ if (!__set_enum_63.has(__o_62["unit"])) {
45418
+ _e.push({ code: "invalid_value", values: ["usd", "credits", "requests", "tokens"], input: __o_62["unit"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("unit") });
45419
+ }
45420
+ if (__o_62["resetsAt"] !== undefined) {
45421
+ if (__o_62["resetsAt"] !== null) {
45422
+ if (typeof __o_62["resetsAt"] !== "string") {
45423
+ _e.push({ code: "invalid_type", expected: "string", input: __o_62["resetsAt"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("resetsAt") });
45424
+ }
45425
+ }
45426
+ }
45427
+ if (__o_62["tone"] !== undefined) {
45428
+ if (!__set_enum_64.has(__o_62["tone"])) {
45429
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_62["tone"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("balances").concat(__i_61).concat("tone") });
45430
+ }
45431
+ }
45432
+ }
45433
+ }
45434
+ }
45435
+ }
45436
+ if (__o_57["details"] !== undefined) {
45437
+ if (!Array.isArray(__o_57["details"])) {
45438
+ _e.push({ code: "invalid_type", expected: "array", input: __o_57["details"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("details") });
45439
+ }
45440
+ else {
45441
+ for (var __i_65 = 0; __i_65 < __o_57["details"].length; __i_65++) {
45442
+ if (typeof __o_57["details"][__i_65] !== "object" || __o_57["details"][__i_65] === null || Array.isArray(__o_57["details"][__i_65])) {
45443
+ _e.push({ code: "invalid_type", expected: "object", input: __o_57["details"][__i_65], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("details").concat(__i_65) });
45444
+ }
45445
+ else {
45446
+ var __o_66 = __o_57["details"][__i_65];
45447
+ if (typeof __o_66["id"] !== "string") {
45448
+ _e.push({ code: "invalid_type", expected: "string", input: __o_66["id"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("details").concat(__i_65).concat("id") });
45449
+ }
45450
+ if (typeof __o_66["label"] !== "string") {
45451
+ _e.push({ code: "invalid_type", expected: "string", input: __o_66["label"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("details").concat(__i_65).concat("label") });
45452
+ }
45453
+ if (typeof __o_66["value"] !== "string") {
45454
+ _e.push({ code: "invalid_type", expected: "string", input: __o_66["value"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("details").concat(__i_65).concat("value") });
45455
+ }
45456
+ if (__o_66["tone"] !== undefined) {
45457
+ if (!__set_enum_67.has(__o_66["tone"])) {
45458
+ _e.push({ code: "invalid_value", values: ["default", "ok", "warning", "danger"], input: __o_66["tone"], path: ["payload"].concat("reports").concat(__i_35).concat("lastSuccessful").concat("report").concat("details").concat(__i_65).concat("tone") });
45459
+ }
45460
+ }
45461
+ }
45462
+ }
45463
+ }
45464
+ }
45465
+ }
44972
45466
  }
44973
45467
  }
44974
- if (__o_26["loginErrors"] !== undefined) {
44975
- if (!Array.isArray(__o_26["loginErrors"])) {
44976
- _e.push({ code: "invalid_type", expected: "array", input: __o_26["loginErrors"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors") });
45468
+ if (__o_36["loginErrors"] !== undefined) {
45469
+ if (!Array.isArray(__o_36["loginErrors"])) {
45470
+ _e.push({ code: "invalid_type", expected: "array", input: __o_36["loginErrors"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors") });
44977
45471
  }
44978
45472
  else {
44979
- for (var __i_46 = 0; __i_46 < __o_26["loginErrors"].length; __i_46++) {
44980
- if (typeof __o_26["loginErrors"][__i_46] !== "object" || __o_26["loginErrors"][__i_46] === null || Array.isArray(__o_26["loginErrors"][__i_46])) {
44981
- _e.push({ code: "invalid_type", expected: "object", input: __o_26["loginErrors"][__i_46], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46) });
45473
+ for (var __i_68 = 0; __i_68 < __o_36["loginErrors"].length; __i_68++) {
45474
+ if (typeof __o_36["loginErrors"][__i_68] !== "object" || __o_36["loginErrors"][__i_68] === null || Array.isArray(__o_36["loginErrors"][__i_68])) {
45475
+ _e.push({ code: "invalid_type", expected: "object", input: __o_36["loginErrors"][__i_68], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68) });
44982
45476
  }
44983
45477
  else {
44984
- var __o_47 = __o_26["loginErrors"][__i_46];
44985
- if (typeof __o_47["harness"] !== "string") {
44986
- _e.push({ code: "invalid_type", expected: "string", input: __o_47["harness"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("harness") });
45478
+ var __o_69 = __o_36["loginErrors"][__i_68];
45479
+ if (typeof __o_69["harness"] !== "string") {
45480
+ _e.push({ code: "invalid_type", expected: "string", input: __o_69["harness"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("harness") });
44987
45481
  }
44988
- if (typeof __o_47["report"] !== "object" || __o_47["report"] === null || Array.isArray(__o_47["report"])) {
44989
- _e.push({ code: "invalid_type", expected: "object", input: __o_47["report"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report") });
45482
+ if (typeof __o_69["report"] !== "object" || __o_69["report"] === null || Array.isArray(__o_69["report"])) {
45483
+ _e.push({ code: "invalid_type", expected: "object", input: __o_69["report"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report") });
44990
45484
  }
44991
45485
  else {
44992
- var __du_48 = __o_47["report"];
44993
- switch (__du_48["status"]) {
45486
+ var __du_70 = __o_69["report"];
45487
+ switch (__du_70["status"]) {
44994
45488
  case "unavailable":
44995
- if (typeof __du_48 !== "object" || __du_48 === null || Array.isArray(__du_48)) {
44996
- _e.push({ code: "invalid_type", expected: "object", input: __du_48, path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report") });
45489
+ if (typeof __du_70 !== "object" || __du_70 === null || Array.isArray(__du_70)) {
45490
+ _e.push({ code: "invalid_type", expected: "object", input: __du_70, path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report") });
44997
45491
  }
44998
45492
  else {
44999
- var __o_49 = __du_48;
45000
- if (__o_49["status"] !== "unavailable") {
45001
- _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_49["status"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("status") });
45493
+ var __o_71 = __du_70;
45494
+ if (__o_71["status"] !== "unavailable") {
45495
+ _e.push({ code: "invalid_value", values: ["unavailable"], input: __o_71["status"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("status") });
45002
45496
  }
45003
- if (typeof __o_49["problem"] !== "object" || __o_49["problem"] === null || Array.isArray(__o_49["problem"])) {
45004
- _e.push({ code: "invalid_type", expected: "object", input: __o_49["problem"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem") });
45497
+ if (typeof __o_71["problem"] !== "object" || __o_71["problem"] === null || Array.isArray(__o_71["problem"])) {
45498
+ _e.push({ code: "invalid_type", expected: "object", input: __o_71["problem"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem") });
45005
45499
  }
45006
45500
  else {
45007
- var __du_50 = __o_49["problem"];
45008
- switch (__du_50["kind"]) {
45501
+ var __du_72 = __o_71["problem"];
45502
+ switch (__du_72["kind"]) {
45009
45503
  case "expired":
45010
- if (typeof __du_50 !== "object" || __du_50 === null || Array.isArray(__du_50)) {
45011
- _e.push({ code: "invalid_type", expected: "object", input: __du_50, path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem") });
45504
+ if (typeof __du_72 !== "object" || __du_72 === null || Array.isArray(__du_72)) {
45505
+ _e.push({ code: "invalid_type", expected: "object", input: __du_72, path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem") });
45012
45506
  }
45013
45507
  else {
45014
- var __o_51 = __du_50;
45015
- if (__o_51["kind"] !== "expired") {
45016
- _e.push({ code: "invalid_value", values: ["expired"], input: __o_51["kind"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("kind") });
45508
+ var __o_73 = __du_72;
45509
+ if (__o_73["kind"] !== "expired") {
45510
+ _e.push({ code: "invalid_value", values: ["expired"], input: __o_73["kind"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("kind") });
45017
45511
  }
45018
- if (typeof __o_51["expiresAt"] !== "string") {
45019
- _e.push({ code: "invalid_type", expected: "string", input: __o_51["expiresAt"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("expiresAt") });
45512
+ if (typeof __o_73["expiresAt"] !== "string") {
45513
+ _e.push({ code: "invalid_type", expected: "string", input: __o_73["expiresAt"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("expiresAt") });
45020
45514
  }
45021
45515
  else {
45022
- if (!__re_re_15.test(__o_51["expiresAt"])) {
45023
- _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_15.toString(), origin: "string", input: __o_51["expiresAt"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("expiresAt") });
45516
+ if (!__re_re_15.test(__o_73["expiresAt"])) {
45517
+ _e.push({ code: "invalid_format", format: "datetime", pattern: __re_re_15.toString(), origin: "string", input: __o_73["expiresAt"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("expiresAt") });
45024
45518
  }
45025
45519
  }
45026
- if (__o_51["refreshedBy"] !== undefined) {
45027
- if (typeof __o_51["refreshedBy"] !== "string") {
45028
- _e.push({ code: "invalid_type", expected: "string", input: __o_51["refreshedBy"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("refreshedBy") });
45520
+ if (__o_73["refreshedBy"] !== undefined) {
45521
+ if (typeof __o_73["refreshedBy"] !== "string") {
45522
+ _e.push({ code: "invalid_type", expected: "string", input: __o_73["refreshedBy"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("refreshedBy") });
45029
45523
  }
45030
45524
  }
45031
45525
  }
45032
45526
  break;
45033
45527
  case "rejected":
45034
- if (typeof __du_50 !== "object" || __du_50 === null || Array.isArray(__du_50)) {
45035
- _e.push({ code: "invalid_type", expected: "object", input: __du_50, path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem") });
45528
+ if (typeof __du_72 !== "object" || __du_72 === null || Array.isArray(__du_72)) {
45529
+ _e.push({ code: "invalid_type", expected: "object", input: __du_72, path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem") });
45036
45530
  }
45037
45531
  else {
45038
- var __o_52 = __du_50;
45039
- if (__o_52["kind"] !== "rejected") {
45040
- _e.push({ code: "invalid_value", values: ["rejected"], input: __o_52["kind"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("kind") });
45532
+ var __o_74 = __du_72;
45533
+ if (__o_74["kind"] !== "rejected") {
45534
+ _e.push({ code: "invalid_value", values: ["rejected"], input: __o_74["kind"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("kind") });
45041
45535
  }
45042
- if (typeof __o_52["status"] !== "number") {
45043
- _e.push({ code: "invalid_type", expected: "number", input: __o_52["status"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("status") });
45536
+ if (typeof __o_74["status"] !== "number") {
45537
+ _e.push({ code: "invalid_type", expected: "number", input: __o_74["status"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("status") });
45044
45538
  }
45045
- else if (Number.isNaN(__o_52["status"])) {
45046
- _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_52["status"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("status") });
45539
+ else if (Number.isNaN(__o_74["status"])) {
45540
+ _e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_74["status"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("status") });
45047
45541
  }
45048
- else if (!Number.isFinite(__o_52["status"])) {
45049
- _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_52["status"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("status") });
45542
+ else if (!Number.isFinite(__o_74["status"])) {
45543
+ _e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_74["status"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("status") });
45050
45544
  }
45051
45545
  else {
45052
- if (!Number.isSafeInteger(__o_52["status"])) {
45053
- _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_52["status"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("status") });
45546
+ if (!Number.isSafeInteger(__o_74["status"])) {
45547
+ _e.push({ code: "invalid_type", expected: "int", format: "safeint", input: __o_74["status"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("status") });
45054
45548
  }
45055
45549
  }
45056
- if (__o_52["refreshedBy"] !== undefined) {
45057
- if (typeof __o_52["refreshedBy"] !== "string") {
45058
- _e.push({ code: "invalid_type", expected: "string", input: __o_52["refreshedBy"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("refreshedBy") });
45550
+ if (__o_74["refreshedBy"] !== undefined) {
45551
+ if (typeof __o_74["refreshedBy"] !== "string") {
45552
+ _e.push({ code: "invalid_type", expected: "string", input: __o_74["refreshedBy"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("refreshedBy") });
45059
45553
  }
45060
45554
  }
45061
45555
  }
45062
45556
  break;
45063
45557
  case "no_quota":
45064
- if (typeof __du_50 !== "object" || __du_50 === null || Array.isArray(__du_50)) {
45065
- _e.push({ code: "invalid_type", expected: "object", input: __du_50, path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem") });
45558
+ if (typeof __du_72 !== "object" || __du_72 === null || Array.isArray(__du_72)) {
45559
+ _e.push({ code: "invalid_type", expected: "object", input: __du_72, path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem") });
45066
45560
  }
45067
45561
  else {
45068
- var __o_53 = __du_50;
45069
- if (__o_53["kind"] !== "no_quota") {
45070
- _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_53["kind"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("kind") });
45562
+ var __o_75 = __du_72;
45563
+ if (__o_75["kind"] !== "no_quota") {
45564
+ _e.push({ code: "invalid_value", values: ["no_quota"], input: __o_75["kind"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("kind") });
45071
45565
  }
45072
- if (typeof __o_53["detail"] !== "string") {
45073
- _e.push({ code: "invalid_type", expected: "string", input: __o_53["detail"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("detail") });
45566
+ if (typeof __o_75["detail"] !== "string") {
45567
+ _e.push({ code: "invalid_type", expected: "string", input: __o_75["detail"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("detail") });
45074
45568
  }
45075
45569
  }
45076
45570
  break;
45077
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_49["problem"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("problem").concat("kind") });
45571
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "kind", options: ["expired", "rejected", "no_quota"], input: __o_71["problem"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("problem").concat("kind") });
45078
45572
  }
45079
45573
  }
45080
45574
  }
45081
45575
  break;
45082
45576
  case "error":
45083
- if (typeof __du_48 !== "object" || __du_48 === null || Array.isArray(__du_48)) {
45084
- _e.push({ code: "invalid_type", expected: "object", input: __du_48, path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report") });
45577
+ if (typeof __du_70 !== "object" || __du_70 === null || Array.isArray(__du_70)) {
45578
+ _e.push({ code: "invalid_type", expected: "object", input: __du_70, path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report") });
45085
45579
  }
45086
45580
  else {
45087
- var __o_54 = __du_48;
45088
- if (__o_54["status"] !== "error") {
45089
- _e.push({ code: "invalid_value", values: ["error"], input: __o_54["status"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("status") });
45581
+ var __o_76 = __du_70;
45582
+ if (__o_76["status"] !== "error") {
45583
+ _e.push({ code: "invalid_value", values: ["error"], input: __o_76["status"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("status") });
45090
45584
  }
45091
- if (typeof __o_54["error"] !== "string") {
45092
- _e.push({ code: "invalid_type", expected: "string", input: __o_54["error"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("error") });
45585
+ if (typeof __o_76["error"] !== "string") {
45586
+ _e.push({ code: "invalid_type", expected: "string", input: __o_76["error"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("error") });
45093
45587
  }
45094
45588
  }
45095
45589
  break;
45096
- default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["unavailable", "error"], input: __o_47["report"], path: ["payload"].concat("reports").concat(__i_25).concat("loginErrors").concat(__i_46).concat("report").concat("status") });
45590
+ default: _e.push({ code: "invalid_union", errors: [], note: "No matching discriminator", discriminator: "status", options: ["unavailable", "error"], input: __o_69["report"], path: ["payload"].concat("reports").concat(__i_35).concat("loginErrors").concat(__i_68).concat("report").concat("status") });
45097
45591
  }
45098
45592
  }
45099
45593
  }
@@ -45104,10 +45598,10 @@ export const SessionOutboundMessage208 = /* @__PURE__ */ (() => {
45104
45598
  }
45105
45599
  }
45106
45600
  }
45107
- if (__o_24["error"] !== undefined) {
45108
- if (__o_24["error"] !== null) {
45109
- if (typeof __o_24["error"] !== "string") {
45110
- _e.push({ code: "invalid_type", expected: "string", input: __o_24["error"], path: ["payload"].concat("error") });
45601
+ if (__o_34["error"] !== undefined) {
45602
+ if (__o_34["error"] !== null) {
45603
+ if (typeof __o_34["error"] !== "string") {
45604
+ _e.push({ code: "invalid_type", expected: "string", input: __o_34["error"], path: ["payload"].concat("error") });
45111
45605
  }
45112
45606
  }
45113
45607
  }