@novu/api 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +105 -20
  2. package/docs/sdks/novu/README.md +0 -227
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +2 -2
  5. package/lib/config.js +2 -2
  6. package/models/components/index.d.ts +0 -3
  7. package/models/components/index.d.ts.map +1 -1
  8. package/models/components/index.js +0 -3
  9. package/models/components/index.js.map +1 -1
  10. package/models/errors/index.d.ts +0 -1
  11. package/models/errors/index.d.ts.map +1 -1
  12. package/models/errors/index.js +0 -1
  13. package/models/errors/index.js.map +1 -1
  14. package/models/operations/index.d.ts +0 -3
  15. package/models/operations/index.d.ts.map +1 -1
  16. package/models/operations/index.js +0 -3
  17. package/models/operations/index.js.map +1 -1
  18. package/package.json +1 -1
  19. package/sdk/sdk.d.ts +0 -3
  20. package/sdk/sdk.d.ts.map +1 -1
  21. package/sdk/sdk.js +0 -12
  22. package/sdk/sdk.js.map +1 -1
  23. package/sources/json-development.json +0 -1161
  24. package/src/lib/config.ts +2 -2
  25. package/src/models/components/index.ts +0 -3
  26. package/src/models/errors/index.ts +0 -1
  27. package/src/models/operations/index.ts +0 -3
  28. package/src/sdk/sdk.ts +0 -38
  29. package/funcs/generateRandomNumber.d.ts +0 -10
  30. package/funcs/generateRandomNumber.d.ts.map +0 -1
  31. package/funcs/generateRandomNumber.js +0 -126
  32. package/funcs/generateRandomNumber.js.map +0 -1
  33. package/funcs/healthControllerHealthCheck.d.ts +0 -10
  34. package/funcs/healthControllerHealthCheck.d.ts.map +0 -1
  35. package/funcs/healthControllerHealthCheck.js +0 -109
  36. package/funcs/healthControllerHealthCheck.js.map +0 -1
  37. package/funcs/testIdempotency.d.ts +0 -11
  38. package/funcs/testIdempotency.d.ts.map +0 -1
  39. package/funcs/testIdempotency.js +0 -129
  40. package/funcs/testIdempotency.js.map +0 -1
  41. package/models/components/idempotencetestingresponse.d.ts +0 -32
  42. package/models/components/idempotencetestingresponse.d.ts.map +0 -1
  43. package/models/components/idempotencetestingresponse.js +0 -59
  44. package/models/components/idempotencetestingresponse.js.map +0 -1
  45. package/models/components/idempotencybehaviorenum.d.ts +0 -37
  46. package/models/components/idempotencybehaviorenum.d.ts.map +0 -1
  47. package/models/components/idempotencybehaviorenum.js +0 -54
  48. package/models/components/idempotencybehaviorenum.js.map +0 -1
  49. package/models/components/idempotencytestingdto.d.ts +0 -33
  50. package/models/components/idempotencytestingdto.d.ts.map +0 -1
  51. package/models/components/idempotencytestingdto.js +0 -60
  52. package/models/components/idempotencytestingdto.js.map +0 -1
  53. package/models/errors/healthcontrollerhealthcheck.d.ts +0 -153
  54. package/models/errors/healthcontrollerhealthcheck.d.ts.map +0 -1
  55. package/models/errors/healthcontrollerhealthcheck.js +0 -190
  56. package/models/errors/healthcontrollerhealthcheck.js.map +0 -1
  57. package/models/operations/healthcontrollergeneraterandomnumber.d.ts +0 -64
  58. package/models/operations/healthcontrollergeneraterandomnumber.d.ts.map +0 -1
  59. package/models/operations/healthcontrollergeneraterandomnumber.js +0 -108
  60. package/models/operations/healthcontrollergeneraterandomnumber.js.map +0 -1
  61. package/models/operations/healthcontrollerhealthcheck.d.ts +0 -165
  62. package/models/operations/healthcontrollerhealthcheck.d.ts.map +0 -1
  63. package/models/operations/healthcontrollerhealthcheck.js +0 -206
  64. package/models/operations/healthcontrollerhealthcheck.js.map +0 -1
  65. package/models/operations/healthcontrollertestidempotency.d.ts +0 -66
  66. package/models/operations/healthcontrollertestidempotency.d.ts.map +0 -1
  67. package/models/operations/healthcontrollertestidempotency.js +0 -112
  68. package/models/operations/healthcontrollertestidempotency.js.map +0 -1
  69. package/src/funcs/generateRandomNumber.ts +0 -183
  70. package/src/funcs/healthControllerHealthCheck.ts +0 -153
  71. package/src/funcs/testIdempotency.ts +0 -190
  72. package/src/models/components/idempotencetestingresponse.ts +0 -69
  73. package/src/models/components/idempotencybehaviorenum.ts +0 -42
  74. package/src/models/components/idempotencytestingdto.ts +0 -74
  75. package/src/models/errors/healthcontrollerhealthcheck.ts +0 -291
  76. package/src/models/operations/healthcontrollergeneraterandomnumber.ts +0 -177
  77. package/src/models/operations/healthcontrollerhealthcheck.ts +0 -358
  78. package/src/models/operations/healthcontrollertestidempotency.ts +0 -174
@@ -1,37 +0,0 @@
1
- import * as z from "zod";
2
- import { ClosedEnum } from "../../types/enums.js";
3
- /**
4
- * The expected behavior of the idempotency request
5
- */
6
- export declare const IdempotencyBehaviorEnum: {
7
- readonly ImmediateResponse: "IMMEDIATE_RESPONSE";
8
- readonly ImmediateException: "IMMEDIATE_EXCEPTION";
9
- readonly DelayedResponse: "DELAYED_RESPONSE";
10
- };
11
- /**
12
- * The expected behavior of the idempotency request
13
- */
14
- export type IdempotencyBehaviorEnum = ClosedEnum<typeof IdempotencyBehaviorEnum>;
15
- /** @internal */
16
- export declare const IdempotencyBehaviorEnum$inboundSchema: z.ZodNativeEnum<typeof IdempotencyBehaviorEnum>;
17
- /** @internal */
18
- export declare const IdempotencyBehaviorEnum$outboundSchema: z.ZodNativeEnum<typeof IdempotencyBehaviorEnum>;
19
- /**
20
- * @internal
21
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
- */
23
- export declare namespace IdempotencyBehaviorEnum$ {
24
- /** @deprecated use `IdempotencyBehaviorEnum$inboundSchema` instead. */
25
- const inboundSchema: z.ZodNativeEnum<{
26
- readonly ImmediateResponse: "IMMEDIATE_RESPONSE";
27
- readonly ImmediateException: "IMMEDIATE_EXCEPTION";
28
- readonly DelayedResponse: "DELAYED_RESPONSE";
29
- }>;
30
- /** @deprecated use `IdempotencyBehaviorEnum$outboundSchema` instead. */
31
- const outboundSchema: z.ZodNativeEnum<{
32
- readonly ImmediateResponse: "IMMEDIATE_RESPONSE";
33
- readonly ImmediateException: "IMMEDIATE_EXCEPTION";
34
- readonly DelayedResponse: "DELAYED_RESPONSE";
35
- }>;
36
- }
37
- //# sourceMappingURL=idempotencybehaviorenum.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"idempotencybehaviorenum.d.ts","sourceRoot":"","sources":["../../src/models/components/idempotencybehaviorenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,uBAAuB,CACS,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,aAAa,CAClE,OAAO,uBAAuB,CACS,CAAC;AAE1C;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa;;;;MAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc;;;;MAAyC,CAAC;CACtE"}
@@ -1,54 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.IdempotencyBehaviorEnum$ = exports.IdempotencyBehaviorEnum$outboundSchema = exports.IdempotencyBehaviorEnum$inboundSchema = exports.IdempotencyBehaviorEnum = void 0;
30
- const z = __importStar(require("zod"));
31
- /**
32
- * The expected behavior of the idempotency request
33
- */
34
- exports.IdempotencyBehaviorEnum = {
35
- ImmediateResponse: "IMMEDIATE_RESPONSE",
36
- ImmediateException: "IMMEDIATE_EXCEPTION",
37
- DelayedResponse: "DELAYED_RESPONSE",
38
- };
39
- /** @internal */
40
- exports.IdempotencyBehaviorEnum$inboundSchema = z.nativeEnum(exports.IdempotencyBehaviorEnum);
41
- /** @internal */
42
- exports.IdempotencyBehaviorEnum$outboundSchema = exports.IdempotencyBehaviorEnum$inboundSchema;
43
- /**
44
- * @internal
45
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
46
- */
47
- var IdempotencyBehaviorEnum$;
48
- (function (IdempotencyBehaviorEnum$) {
49
- /** @deprecated use `IdempotencyBehaviorEnum$inboundSchema` instead. */
50
- IdempotencyBehaviorEnum$.inboundSchema = exports.IdempotencyBehaviorEnum$inboundSchema;
51
- /** @deprecated use `IdempotencyBehaviorEnum$outboundSchema` instead. */
52
- IdempotencyBehaviorEnum$.outboundSchema = exports.IdempotencyBehaviorEnum$outboundSchema;
53
- })(IdempotencyBehaviorEnum$ || (exports.IdempotencyBehaviorEnum$ = IdempotencyBehaviorEnum$ = {}));
54
- //# sourceMappingURL=idempotencybehaviorenum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"idempotencybehaviorenum.js","sourceRoot":"","sources":["../../src/models/components/idempotencybehaviorenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACrC,iBAAiB,EAAE,oBAAoB;IACvC,kBAAkB,EAAE,qBAAqB;IACzC,eAAe,EAAE,kBAAkB;CAC3B,CAAC;AAQX,gBAAgB;AACH,QAAA,qCAAqC,GAE9C,CAAC,CAAC,UAAU,CAAC,+BAAuB,CAAC,CAAC;AAE1C,gBAAgB;AACH,QAAA,sCAAsC,GAE/C,6CAAqC,CAAC;AAE1C;;;GAGG;AACH,IAAiB,wBAAwB,CAKxC;AALD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AACvE,CAAC,EALgB,wBAAwB,wCAAxB,wBAAwB,QAKxC"}
@@ -1,33 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
- import { IdempotencyBehaviorEnum } from "./idempotencybehaviorenum.js";
5
- export type IdempotencyTestingDto = {
6
- /**
7
- * The expected behavior of the idempotency request
8
- */
9
- expectedBehavior: IdempotencyBehaviorEnum;
10
- };
11
- /** @internal */
12
- export declare const IdempotencyTestingDto$inboundSchema: z.ZodType<IdempotencyTestingDto, z.ZodTypeDef, unknown>;
13
- /** @internal */
14
- export type IdempotencyTestingDto$Outbound = {
15
- expectedBehavior: string;
16
- };
17
- /** @internal */
18
- export declare const IdempotencyTestingDto$outboundSchema: z.ZodType<IdempotencyTestingDto$Outbound, z.ZodTypeDef, IdempotencyTestingDto>;
19
- /**
20
- * @internal
21
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
22
- */
23
- export declare namespace IdempotencyTestingDto$ {
24
- /** @deprecated use `IdempotencyTestingDto$inboundSchema` instead. */
25
- const inboundSchema: z.ZodType<IdempotencyTestingDto, z.ZodTypeDef, unknown>;
26
- /** @deprecated use `IdempotencyTestingDto$outboundSchema` instead. */
27
- const outboundSchema: z.ZodType<IdempotencyTestingDto$Outbound, z.ZodTypeDef, IdempotencyTestingDto>;
28
- /** @deprecated use `IdempotencyTestingDto$Outbound` instead. */
29
- type Outbound = IdempotencyTestingDto$Outbound;
30
- }
31
- export declare function idempotencyTestingDtoToJSON(idempotencyTestingDto: IdempotencyTestingDto): string;
32
- export declare function idempotencyTestingDtoFromJSON(jsonString: string): SafeParseResult<IdempotencyTestingDto, SDKValidationError>;
33
- //# sourceMappingURL=idempotencytestingdto.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"idempotencytestingdto.d.ts","sourceRoot":"","sources":["../../src/models/components/idempotencytestingdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uBAAuB,EAGxB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,gBAAgB,EAAE,uBAAuB,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAGrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -1,60 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.idempotencyTestingDtoFromJSON = exports.idempotencyTestingDtoToJSON = exports.IdempotencyTestingDto$ = exports.IdempotencyTestingDto$outboundSchema = exports.IdempotencyTestingDto$inboundSchema = void 0;
30
- const z = __importStar(require("zod"));
31
- const schemas_js_1 = require("../../lib/schemas.js");
32
- const idempotencybehaviorenum_js_1 = require("./idempotencybehaviorenum.js");
33
- /** @internal */
34
- exports.IdempotencyTestingDto$inboundSchema = z.object({
35
- expectedBehavior: idempotencybehaviorenum_js_1.IdempotencyBehaviorEnum$inboundSchema,
36
- });
37
- /** @internal */
38
- exports.IdempotencyTestingDto$outboundSchema = z.object({
39
- expectedBehavior: idempotencybehaviorenum_js_1.IdempotencyBehaviorEnum$outboundSchema,
40
- });
41
- /**
42
- * @internal
43
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
44
- */
45
- var IdempotencyTestingDto$;
46
- (function (IdempotencyTestingDto$) {
47
- /** @deprecated use `IdempotencyTestingDto$inboundSchema` instead. */
48
- IdempotencyTestingDto$.inboundSchema = exports.IdempotencyTestingDto$inboundSchema;
49
- /** @deprecated use `IdempotencyTestingDto$outboundSchema` instead. */
50
- IdempotencyTestingDto$.outboundSchema = exports.IdempotencyTestingDto$outboundSchema;
51
- })(IdempotencyTestingDto$ || (exports.IdempotencyTestingDto$ = IdempotencyTestingDto$ = {}));
52
- function idempotencyTestingDtoToJSON(idempotencyTestingDto) {
53
- return JSON.stringify(exports.IdempotencyTestingDto$outboundSchema.parse(idempotencyTestingDto));
54
- }
55
- exports.idempotencyTestingDtoToJSON = idempotencyTestingDtoToJSON;
56
- function idempotencyTestingDtoFromJSON(jsonString) {
57
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IdempotencyTestingDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IdempotencyTestingDto' from JSON`);
58
- }
59
- exports.idempotencyTestingDtoFromJSON = idempotencyTestingDtoFromJSON;
60
- //# sourceMappingURL=idempotencytestingdto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"idempotencytestingdto.js","sourceRoot":"","sources":["../../src/models/components/idempotencytestingdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAGjD,6EAIsC;AAStC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,kEAAqC;CACxD,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,mEAAsC;CACzD,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAND,kEAMC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC;AARD,sEAQC"}
@@ -1,153 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import { SDKValidationError } from "./sdkvalidationerror.js";
4
- export type Info = {
5
- status: string;
6
- additionalProperties: {
7
- [k: string]: any;
8
- };
9
- };
10
- export type ErrorT = {
11
- status: string;
12
- additionalProperties: {
13
- [k: string]: any;
14
- };
15
- };
16
- export type Details = {
17
- status: string;
18
- additionalProperties: {
19
- [k: string]: any;
20
- };
21
- };
22
- /**
23
- * The Health Check is not successful
24
- */
25
- export type HealthControllerHealthCheckResponseBodyData = {
26
- status?: string | undefined;
27
- info?: {
28
- [k: string]: Info;
29
- } | null | undefined;
30
- error?: {
31
- [k: string]: ErrorT;
32
- } | null | undefined;
33
- details?: {
34
- [k: string]: Details;
35
- } | undefined;
36
- };
37
- /**
38
- * The Health Check is not successful
39
- */
40
- export declare class HealthControllerHealthCheckResponseBody extends Error {
41
- status?: string | undefined;
42
- info?: {
43
- [k: string]: Info;
44
- } | null | undefined;
45
- error?: {
46
- [k: string]: ErrorT;
47
- } | null | undefined;
48
- details?: {
49
- [k: string]: Details;
50
- } | undefined;
51
- /** The original data that was passed to this error instance. */
52
- data$: HealthControllerHealthCheckResponseBodyData;
53
- constructor(err: HealthControllerHealthCheckResponseBodyData);
54
- }
55
- /** @internal */
56
- export declare const Info$inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
57
- /** @internal */
58
- export type Info$Outbound = {
59
- status: string;
60
- [additionalProperties: string]: unknown;
61
- };
62
- /** @internal */
63
- export declare const Info$outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
64
- /**
65
- * @internal
66
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
- */
68
- export declare namespace Info$ {
69
- /** @deprecated use `Info$inboundSchema` instead. */
70
- const inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
71
- /** @deprecated use `Info$outboundSchema` instead. */
72
- const outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
73
- /** @deprecated use `Info$Outbound` instead. */
74
- type Outbound = Info$Outbound;
75
- }
76
- export declare function infoToJSON(info: Info): string;
77
- export declare function infoFromJSON(jsonString: string): SafeParseResult<Info, SDKValidationError>;
78
- /** @internal */
79
- export declare const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
80
- /** @internal */
81
- export type ErrorT$Outbound = {
82
- status: string;
83
- [additionalProperties: string]: unknown;
84
- };
85
- /** @internal */
86
- export declare const ErrorT$outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
87
- /**
88
- * @internal
89
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
90
- */
91
- export declare namespace ErrorT$ {
92
- /** @deprecated use `ErrorT$inboundSchema` instead. */
93
- const inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
94
- /** @deprecated use `ErrorT$outboundSchema` instead. */
95
- const outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
96
- /** @deprecated use `ErrorT$Outbound` instead. */
97
- type Outbound = ErrorT$Outbound;
98
- }
99
- export declare function errorToJSON(errorT: ErrorT): string;
100
- export declare function errorFromJSON(jsonString: string): SafeParseResult<ErrorT, SDKValidationError>;
101
- /** @internal */
102
- export declare const Details$inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
103
- /** @internal */
104
- export type Details$Outbound = {
105
- status: string;
106
- [additionalProperties: string]: unknown;
107
- };
108
- /** @internal */
109
- export declare const Details$outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
110
- /**
111
- * @internal
112
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
113
- */
114
- export declare namespace Details$ {
115
- /** @deprecated use `Details$inboundSchema` instead. */
116
- const inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
117
- /** @deprecated use `Details$outboundSchema` instead. */
118
- const outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
119
- /** @deprecated use `Details$Outbound` instead. */
120
- type Outbound = Details$Outbound;
121
- }
122
- export declare function detailsToJSON(details: Details): string;
123
- export declare function detailsFromJSON(jsonString: string): SafeParseResult<Details, SDKValidationError>;
124
- /** @internal */
125
- export declare const HealthControllerHealthCheckResponseBody$inboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody, z.ZodTypeDef, unknown>;
126
- /** @internal */
127
- export type HealthControllerHealthCheckResponseBody$Outbound = {
128
- status?: string | undefined;
129
- info?: {
130
- [k: string]: Info$Outbound;
131
- } | null | undefined;
132
- error?: {
133
- [k: string]: ErrorT$Outbound;
134
- } | null | undefined;
135
- details?: {
136
- [k: string]: Details$Outbound;
137
- } | undefined;
138
- };
139
- /** @internal */
140
- export declare const HealthControllerHealthCheckResponseBody$outboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody$Outbound, z.ZodTypeDef, HealthControllerHealthCheckResponseBody>;
141
- /**
142
- * @internal
143
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
144
- */
145
- export declare namespace HealthControllerHealthCheckResponseBody$ {
146
- /** @deprecated use `HealthControllerHealthCheckResponseBody$inboundSchema` instead. */
147
- const inboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody, z.ZodTypeDef, unknown>;
148
- /** @deprecated use `HealthControllerHealthCheckResponseBody$outboundSchema` instead. */
149
- const outboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody$Outbound, z.ZodTypeDef, HealthControllerHealthCheckResponseBody>;
150
- /** @deprecated use `HealthControllerHealthCheckResponseBody$Outbound` instead. */
151
- type Outbound = HealthControllerHealthCheckResponseBody$Outbound;
152
- }
153
- //# sourceMappingURL=healthcontrollerhealthcheck.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollerhealthcheck.d.ts","sourceRoot":"","sources":["../../src/models/errors/healthcontrollerhealthcheck.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,IAAI,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,oBAAoB,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAA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,GAAG,eAAe,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5D,OAAO,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAAA;KAAE,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CAQpC,CAAC;AAEN;;;GAGG;AACH,yBAAiB,wCAAwC,CAAC;IACxD,uFAAuF;IAChF,MAAM,aAAa,2EAC6B,CAAC;IACxD,wFAAwF;IACjF,MAAM,cAAc,oHAC6B,CAAC;IACzD,kFAAkF;IAClF,KAAY,QAAQ,GAAG,gDAAgD,CAAC;CACzE"}
@@ -1,190 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.HealthControllerHealthCheckResponseBody$ = exports.HealthControllerHealthCheckResponseBody$outboundSchema = exports.HealthControllerHealthCheckResponseBody$inboundSchema = exports.detailsFromJSON = exports.detailsToJSON = exports.Details$ = exports.Details$outboundSchema = exports.Details$inboundSchema = exports.errorFromJSON = exports.errorToJSON = exports.ErrorT$ = exports.ErrorT$outboundSchema = exports.ErrorT$inboundSchema = exports.infoFromJSON = exports.infoToJSON = exports.Info$ = exports.Info$outboundSchema = exports.Info$inboundSchema = exports.HealthControllerHealthCheckResponseBody = void 0;
30
- const z = __importStar(require("zod"));
31
- const primitives_js_1 = require("../../lib/primitives.js");
32
- const schemas_js_1 = require("../../lib/schemas.js");
33
- /**
34
- * The Health Check is not successful
35
- */
36
- class HealthControllerHealthCheckResponseBody extends Error {
37
- constructor(err) {
38
- const message = "message" in err && typeof err.message === "string"
39
- ? err.message
40
- : `API error occurred: ${JSON.stringify(err)}`;
41
- super(message);
42
- this.data$ = err;
43
- if (err.status != null)
44
- this.status = err.status;
45
- if (err.info != null)
46
- this.info = err.info;
47
- if (err.error != null)
48
- this.error = err.error;
49
- if (err.details != null)
50
- this.details = err.details;
51
- this.name = "HealthControllerHealthCheckResponseBody";
52
- }
53
- }
54
- exports.HealthControllerHealthCheckResponseBody = HealthControllerHealthCheckResponseBody;
55
- /** @internal */
56
- exports.Info$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
57
- status: z.string(),
58
- }).catchall(z.any()), "additionalProperties");
59
- /** @internal */
60
- exports.Info$outboundSchema = z.object({
61
- status: z.string(),
62
- additionalProperties: z.record(z.any()),
63
- }).transform((v) => {
64
- return {
65
- ...v.additionalProperties,
66
- ...(0, primitives_js_1.remap)(v, {
67
- additionalProperties: null,
68
- }),
69
- };
70
- });
71
- /**
72
- * @internal
73
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
- */
75
- var Info$;
76
- (function (Info$) {
77
- /** @deprecated use `Info$inboundSchema` instead. */
78
- Info$.inboundSchema = exports.Info$inboundSchema;
79
- /** @deprecated use `Info$outboundSchema` instead. */
80
- Info$.outboundSchema = exports.Info$outboundSchema;
81
- })(Info$ || (exports.Info$ = Info$ = {}));
82
- function infoToJSON(info) {
83
- return JSON.stringify(exports.Info$outboundSchema.parse(info));
84
- }
85
- exports.infoToJSON = infoToJSON;
86
- function infoFromJSON(jsonString) {
87
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Info$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Info' from JSON`);
88
- }
89
- exports.infoFromJSON = infoFromJSON;
90
- /** @internal */
91
- exports.ErrorT$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
92
- status: z.string(),
93
- }).catchall(z.any()), "additionalProperties");
94
- /** @internal */
95
- exports.ErrorT$outboundSchema = z.object({
96
- status: z.string(),
97
- additionalProperties: z.record(z.any()),
98
- }).transform((v) => {
99
- return {
100
- ...v.additionalProperties,
101
- ...(0, primitives_js_1.remap)(v, {
102
- additionalProperties: null,
103
- }),
104
- };
105
- });
106
- /**
107
- * @internal
108
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
109
- */
110
- var ErrorT$;
111
- (function (ErrorT$) {
112
- /** @deprecated use `ErrorT$inboundSchema` instead. */
113
- ErrorT$.inboundSchema = exports.ErrorT$inboundSchema;
114
- /** @deprecated use `ErrorT$outboundSchema` instead. */
115
- ErrorT$.outboundSchema = exports.ErrorT$outboundSchema;
116
- })(ErrorT$ || (exports.ErrorT$ = ErrorT$ = {}));
117
- function errorToJSON(errorT) {
118
- return JSON.stringify(exports.ErrorT$outboundSchema.parse(errorT));
119
- }
120
- exports.errorToJSON = errorToJSON;
121
- function errorFromJSON(jsonString) {
122
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ErrorT$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ErrorT' from JSON`);
123
- }
124
- exports.errorFromJSON = errorFromJSON;
125
- /** @internal */
126
- exports.Details$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
127
- status: z.string(),
128
- }).catchall(z.any()), "additionalProperties");
129
- /** @internal */
130
- exports.Details$outboundSchema = z.object({
131
- status: z.string(),
132
- additionalProperties: z.record(z.any()),
133
- }).transform((v) => {
134
- return {
135
- ...v.additionalProperties,
136
- ...(0, primitives_js_1.remap)(v, {
137
- additionalProperties: null,
138
- }),
139
- };
140
- });
141
- /**
142
- * @internal
143
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
144
- */
145
- var Details$;
146
- (function (Details$) {
147
- /** @deprecated use `Details$inboundSchema` instead. */
148
- Details$.inboundSchema = exports.Details$inboundSchema;
149
- /** @deprecated use `Details$outboundSchema` instead. */
150
- Details$.outboundSchema = exports.Details$outboundSchema;
151
- })(Details$ || (exports.Details$ = Details$ = {}));
152
- function detailsToJSON(details) {
153
- return JSON.stringify(exports.Details$outboundSchema.parse(details));
154
- }
155
- exports.detailsToJSON = detailsToJSON;
156
- function detailsFromJSON(jsonString) {
157
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Details$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Details' from JSON`);
158
- }
159
- exports.detailsFromJSON = detailsFromJSON;
160
- /** @internal */
161
- exports.HealthControllerHealthCheckResponseBody$inboundSchema = z.object({
162
- status: z.string().optional(),
163
- info: z.nullable(z.record(z.lazy(() => exports.Info$inboundSchema))).optional(),
164
- error: z.nullable(z.record(z.lazy(() => exports.ErrorT$inboundSchema))).optional(),
165
- details: z.record(z.lazy(() => exports.Details$inboundSchema)).optional(),
166
- })
167
- .transform((v) => {
168
- return new HealthControllerHealthCheckResponseBody(v);
169
- });
170
- /** @internal */
171
- exports.HealthControllerHealthCheckResponseBody$outboundSchema = z.instanceof(HealthControllerHealthCheckResponseBody)
172
- .transform(v => v.data$)
173
- .pipe(z.object({
174
- status: z.string().optional(),
175
- info: z.nullable(z.record(z.lazy(() => exports.Info$outboundSchema))).optional(),
176
- error: z.nullable(z.record(z.lazy(() => exports.ErrorT$outboundSchema))).optional(),
177
- details: z.record(z.lazy(() => exports.Details$outboundSchema)).optional(),
178
- }));
179
- /**
180
- * @internal
181
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
182
- */
183
- var HealthControllerHealthCheckResponseBody$;
184
- (function (HealthControllerHealthCheckResponseBody$) {
185
- /** @deprecated use `HealthControllerHealthCheckResponseBody$inboundSchema` instead. */
186
- HealthControllerHealthCheckResponseBody$.inboundSchema = exports.HealthControllerHealthCheckResponseBody$inboundSchema;
187
- /** @deprecated use `HealthControllerHealthCheckResponseBody$outboundSchema` instead. */
188
- HealthControllerHealthCheckResponseBody$.outboundSchema = exports.HealthControllerHealthCheckResponseBody$outboundSchema;
189
- })(HealthControllerHealthCheckResponseBody$ || (exports.HealthControllerHealthCheckResponseBody$ = HealthControllerHealthCheckResponseBody$ = {}));
190
- //# sourceMappingURL=healthcontrollerhealthcheck.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollerhealthcheck.js","sourceRoot":"","sources":["../../src/models/errors/healthcontrollerhealthcheck.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;AA6B9B;;GAEG;AACH,MAAa,uCAAwC,SAAQ,KAAK;IAShE,YAAY,GAAgD;QAC1D,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,GAAG,CAAC,MAAM,IAAI,IAAI;YAAE,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACjD,IAAI,GAA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,CAAC,2BAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6BAAqB,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC3E,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,8BAAsB,CAAC,CAAC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,wCAAwC,CASxD;AATD,WAAiB,wCAAwC;IACvD,uFAAuF;IAC1E,sDAAa,GACxB,6DAAqD,CAAC;IACxD,wFAAwF;IAC3E,uDAAc,GACzB,8DAAsD,CAAC;AAG3D,CAAC,EATgB,wCAAwC,wDAAxC,wCAAwC,QASxD"}
@@ -1,64 +0,0 @@
1
- import * as z from "zod";
2
- import { Result as SafeParseResult } from "../../types/fp.js";
3
- import * as components from "../components/index.js";
4
- import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
- export type HealthControllerGenerateRandomNumberRequest = {
6
- /**
7
- * A header for idempotency purposes
8
- */
9
- idempotencyKey?: string | undefined;
10
- };
11
- export type HealthControllerGenerateRandomNumberResponse = {
12
- headers: {
13
- [k: string]: Array<string>;
14
- };
15
- result: components.IdempotenceTestingResponse;
16
- };
17
- /** @internal */
18
- export declare const HealthControllerGenerateRandomNumberRequest$inboundSchema: z.ZodType<HealthControllerGenerateRandomNumberRequest, z.ZodTypeDef, unknown>;
19
- /** @internal */
20
- export type HealthControllerGenerateRandomNumberRequest$Outbound = {
21
- "idempotency-key"?: string | undefined;
22
- };
23
- /** @internal */
24
- export declare const HealthControllerGenerateRandomNumberRequest$outboundSchema: z.ZodType<HealthControllerGenerateRandomNumberRequest$Outbound, z.ZodTypeDef, HealthControllerGenerateRandomNumberRequest>;
25
- /**
26
- * @internal
27
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
28
- */
29
- export declare namespace HealthControllerGenerateRandomNumberRequest$ {
30
- /** @deprecated use `HealthControllerGenerateRandomNumberRequest$inboundSchema` instead. */
31
- const inboundSchema: z.ZodType<HealthControllerGenerateRandomNumberRequest, z.ZodTypeDef, unknown>;
32
- /** @deprecated use `HealthControllerGenerateRandomNumberRequest$outboundSchema` instead. */
33
- const outboundSchema: z.ZodType<HealthControllerGenerateRandomNumberRequest$Outbound, z.ZodTypeDef, HealthControllerGenerateRandomNumberRequest>;
34
- /** @deprecated use `HealthControllerGenerateRandomNumberRequest$Outbound` instead. */
35
- type Outbound = HealthControllerGenerateRandomNumberRequest$Outbound;
36
- }
37
- export declare function healthControllerGenerateRandomNumberRequestToJSON(healthControllerGenerateRandomNumberRequest: HealthControllerGenerateRandomNumberRequest): string;
38
- export declare function healthControllerGenerateRandomNumberRequestFromJSON(jsonString: string): SafeParseResult<HealthControllerGenerateRandomNumberRequest, SDKValidationError>;
39
- /** @internal */
40
- export declare const HealthControllerGenerateRandomNumberResponse$inboundSchema: z.ZodType<HealthControllerGenerateRandomNumberResponse, z.ZodTypeDef, unknown>;
41
- /** @internal */
42
- export type HealthControllerGenerateRandomNumberResponse$Outbound = {
43
- Headers: {
44
- [k: string]: Array<string>;
45
- };
46
- Result: components.IdempotenceTestingResponse$Outbound;
47
- };
48
- /** @internal */
49
- export declare const HealthControllerGenerateRandomNumberResponse$outboundSchema: z.ZodType<HealthControllerGenerateRandomNumberResponse$Outbound, z.ZodTypeDef, HealthControllerGenerateRandomNumberResponse>;
50
- /**
51
- * @internal
52
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
53
- */
54
- export declare namespace HealthControllerGenerateRandomNumberResponse$ {
55
- /** @deprecated use `HealthControllerGenerateRandomNumberResponse$inboundSchema` instead. */
56
- const inboundSchema: z.ZodType<HealthControllerGenerateRandomNumberResponse, z.ZodTypeDef, unknown>;
57
- /** @deprecated use `HealthControllerGenerateRandomNumberResponse$outboundSchema` instead. */
58
- const outboundSchema: z.ZodType<HealthControllerGenerateRandomNumberResponse$Outbound, z.ZodTypeDef, HealthControllerGenerateRandomNumberResponse>;
59
- /** @deprecated use `HealthControllerGenerateRandomNumberResponse$Outbound` instead. */
60
- type Outbound = HealthControllerGenerateRandomNumberResponse$Outbound;
61
- }
62
- export declare function healthControllerGenerateRandomNumberResponseToJSON(healthControllerGenerateRandomNumberResponse: HealthControllerGenerateRandomNumberResponse): string;
63
- export declare function healthControllerGenerateRandomNumberResponseFromJSON(jsonString: string): SafeParseResult<HealthControllerGenerateRandomNumberResponse, SDKValidationError>;
64
- //# sourceMappingURL=healthcontrollergeneraterandomnumber.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollergeneraterandomnumber.d.ts","sourceRoot":"","sources":["../../src/models/operations/healthcontrollergeneraterandomnumber.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,2CAA2C,GAAG;IACxD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG;IACzD,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,0BAA0B,CAAC;CAC/C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yDAAyD,EACpE,CAAC,CAAC,OAAO,CACP,2CAA2C,EAC3C,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM,oD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