@novu/api 0.0.4 → 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 (83) hide show
  1. package/README.md +0 -9
  2. package/jsr.json +1 -1
  3. package/lib/config.d.ts +2 -2
  4. package/lib/config.js +2 -2
  5. package/models/components/index.d.ts +0 -3
  6. package/models/components/index.d.ts.map +1 -1
  7. package/models/components/index.js +0 -3
  8. package/models/components/index.js.map +1 -1
  9. package/models/errors/index.d.ts +0 -1
  10. package/models/errors/index.d.ts.map +1 -1
  11. package/models/errors/index.js +0 -1
  12. package/models/errors/index.js.map +1 -1
  13. package/models/operations/index.d.ts +0 -3
  14. package/models/operations/index.d.ts.map +1 -1
  15. package/models/operations/index.js +0 -3
  16. package/models/operations/index.js.map +1 -1
  17. package/package.json +1 -1
  18. package/sdk/sdk.d.ts +0 -3
  19. package/sdk/sdk.d.ts.map +1 -1
  20. package/sdk/sdk.js +0 -4
  21. package/sdk/sdk.js.map +1 -1
  22. package/sources/json-development.json +0 -1170
  23. package/src/lib/config.ts +2 -2
  24. package/src/models/components/index.ts +0 -3
  25. package/src/models/errors/index.ts +0 -1
  26. package/src/models/operations/index.ts +0 -3
  27. package/src/sdk/sdk.ts +0 -6
  28. package/docs/sdks/admin/README.md +0 -234
  29. package/funcs/adminGenerateRandomNumber.d.ts +0 -10
  30. package/funcs/adminGenerateRandomNumber.d.ts.map +0 -1
  31. package/funcs/adminGenerateRandomNumber.js +0 -126
  32. package/funcs/adminGenerateRandomNumber.js.map +0 -1
  33. package/funcs/adminHealthControllerHealthCheck.d.ts +0 -10
  34. package/funcs/adminHealthControllerHealthCheck.d.ts.map +0 -1
  35. package/funcs/adminHealthControllerHealthCheck.js +0 -109
  36. package/funcs/adminHealthControllerHealthCheck.js.map +0 -1
  37. package/funcs/adminTestIdempotency.d.ts +0 -11
  38. package/funcs/adminTestIdempotency.d.ts.map +0 -1
  39. package/funcs/adminTestIdempotency.js +0 -129
  40. package/funcs/adminTestIdempotency.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/sdk/admin.d.ts +0 -9
  70. package/sdk/admin.d.ts.map +0 -1
  71. package/sdk/admin.js +0 -24
  72. package/sdk/admin.js.map +0 -1
  73. package/src/funcs/adminGenerateRandomNumber.ts +0 -183
  74. package/src/funcs/adminHealthControllerHealthCheck.ts +0 -153
  75. package/src/funcs/adminTestIdempotency.ts +0 -190
  76. package/src/models/components/idempotencetestingresponse.ts +0 -69
  77. package/src/models/components/idempotencybehaviorenum.ts +0 -42
  78. package/src/models/components/idempotencytestingdto.ts +0 -74
  79. package/src/models/errors/healthcontrollerhealthcheck.ts +0 -291
  80. package/src/models/operations/healthcontrollergeneraterandomnumber.ts +0 -177
  81. package/src/models/operations/healthcontrollerhealthcheck.ts +0 -358
  82. package/src/models/operations/healthcontrollertestidempotency.ts +0 -174
  83. package/src/sdk/admin.ts +0 -48
@@ -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,GAAG,CAAC,IAAI,IAAI,IAAI;YAAE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QAC3C,IAAI,GAAG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AC,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,oDAAoD,GAAG;IACjE,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACxC,CAAC;AAEF,gBAAgB;AAChB,eAA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EAAE,MAAM,GACjB,eAAe,CAChB,4CAA4C,EAC5C,kBAAkB,CACnB,CASA"}
@@ -1,108 +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.healthControllerGenerateRandomNumberResponseFromJSON = exports.healthControllerGenerateRandomNumberResponseToJSON = exports.HealthControllerGenerateRandomNumberResponse$ = exports.HealthControllerGenerateRandomNumberResponse$outboundSchema = exports.HealthControllerGenerateRandomNumberResponse$inboundSchema = exports.healthControllerGenerateRandomNumberRequestFromJSON = exports.healthControllerGenerateRandomNumberRequestToJSON = exports.HealthControllerGenerateRandomNumberRequest$ = exports.HealthControllerGenerateRandomNumberRequest$outboundSchema = exports.HealthControllerGenerateRandomNumberRequest$inboundSchema = 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
- const components = __importStar(require("../components/index.js"));
34
- /** @internal */
35
- exports.HealthControllerGenerateRandomNumberRequest$inboundSchema = z.object({
36
- "idempotency-key": z.string().optional(),
37
- }).transform((v) => {
38
- return (0, primitives_js_1.remap)(v, {
39
- "idempotency-key": "idempotencyKey",
40
- });
41
- });
42
- /** @internal */
43
- exports.HealthControllerGenerateRandomNumberRequest$outboundSchema = z.object({
44
- idempotencyKey: z.string().optional(),
45
- }).transform((v) => {
46
- return (0, primitives_js_1.remap)(v, {
47
- idempotencyKey: "idempotency-key",
48
- });
49
- });
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
- var HealthControllerGenerateRandomNumberRequest$;
55
- (function (HealthControllerGenerateRandomNumberRequest$) {
56
- /** @deprecated use `HealthControllerGenerateRandomNumberRequest$inboundSchema` instead. */
57
- HealthControllerGenerateRandomNumberRequest$.inboundSchema = exports.HealthControllerGenerateRandomNumberRequest$inboundSchema;
58
- /** @deprecated use `HealthControllerGenerateRandomNumberRequest$outboundSchema` instead. */
59
- HealthControllerGenerateRandomNumberRequest$.outboundSchema = exports.HealthControllerGenerateRandomNumberRequest$outboundSchema;
60
- })(HealthControllerGenerateRandomNumberRequest$ || (exports.HealthControllerGenerateRandomNumberRequest$ = HealthControllerGenerateRandomNumberRequest$ = {}));
61
- function healthControllerGenerateRandomNumberRequestToJSON(healthControllerGenerateRandomNumberRequest) {
62
- return JSON.stringify(exports.HealthControllerGenerateRandomNumberRequest$outboundSchema.parse(healthControllerGenerateRandomNumberRequest));
63
- }
64
- exports.healthControllerGenerateRandomNumberRequestToJSON = healthControllerGenerateRandomNumberRequestToJSON;
65
- function healthControllerGenerateRandomNumberRequestFromJSON(jsonString) {
66
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HealthControllerGenerateRandomNumberRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HealthControllerGenerateRandomNumberRequest' from JSON`);
67
- }
68
- exports.healthControllerGenerateRandomNumberRequestFromJSON = healthControllerGenerateRandomNumberRequestFromJSON;
69
- /** @internal */
70
- exports.HealthControllerGenerateRandomNumberResponse$inboundSchema = z.object({
71
- Headers: z.record(z.array(z.string())),
72
- Result: components.IdempotenceTestingResponse$inboundSchema,
73
- }).transform((v) => {
74
- return (0, primitives_js_1.remap)(v, {
75
- "Headers": "headers",
76
- "Result": "result",
77
- });
78
- });
79
- /** @internal */
80
- exports.HealthControllerGenerateRandomNumberResponse$outboundSchema = z.object({
81
- headers: z.record(z.array(z.string())),
82
- result: components.IdempotenceTestingResponse$outboundSchema,
83
- }).transform((v) => {
84
- return (0, primitives_js_1.remap)(v, {
85
- headers: "Headers",
86
- result: "Result",
87
- });
88
- });
89
- /**
90
- * @internal
91
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
92
- */
93
- var HealthControllerGenerateRandomNumberResponse$;
94
- (function (HealthControllerGenerateRandomNumberResponse$) {
95
- /** @deprecated use `HealthControllerGenerateRandomNumberResponse$inboundSchema` instead. */
96
- HealthControllerGenerateRandomNumberResponse$.inboundSchema = exports.HealthControllerGenerateRandomNumberResponse$inboundSchema;
97
- /** @deprecated use `HealthControllerGenerateRandomNumberResponse$outboundSchema` instead. */
98
- HealthControllerGenerateRandomNumberResponse$.outboundSchema = exports.HealthControllerGenerateRandomNumberResponse$outboundSchema;
99
- })(HealthControllerGenerateRandomNumberResponse$ || (exports.HealthControllerGenerateRandomNumberResponse$ = HealthControllerGenerateRandomNumberResponse$ = {}));
100
- function healthControllerGenerateRandomNumberResponseToJSON(healthControllerGenerateRandomNumberResponse) {
101
- return JSON.stringify(exports.HealthControllerGenerateRandomNumberResponse$outboundSchema.parse(healthControllerGenerateRandomNumberResponse));
102
- }
103
- exports.healthControllerGenerateRandomNumberResponseToJSON = healthControllerGenerateRandomNumberResponseToJSON;
104
- function healthControllerGenerateRandomNumberResponseFromJSON(jsonString) {
105
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HealthControllerGenerateRandomNumberResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HealthControllerGenerateRandomNumberResponse' from JSON`);
106
- }
107
- exports.healthControllerGenerateRandomNumberResponseFromJSON = healthControllerGenerateRandomNumberResponseFromJSON;
108
- //# sourceMappingURL=healthcontrollergeneraterandomnumber.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollergeneraterandomnumber.js","sourceRoot":"","sources":["../../src/models/operations/healthcontrollergeneraterandomnumber.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAerD,gBAAgB;AACH,QAAA,yDAAyD,GAKhE,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,iBAAiB,EAAE,gBAAgB;KACpC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,0DAA0D,GAKjE,CAAC,CAAC,MAAM,CAAC;IACX,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,iBAAiB;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL;;;GAGG;AACH,IAAiB,4CAA4C,CAS5D;AATD,WAAiB,4CAA4C;IAC3D,2FAA2F;IAC9E,0DAAa,GACxB,iEAAyD,CAAC;IAC5D,4FAA4F;IAC/E,2DAAc,GACzB,kEAA0D,CAAC;AAG/D,CAAC,EATgB,4CAA4C,4DAA5C,4CAA4C,QAS5D;AAED,SAAgB,iD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2DAAa,GACxB,kEAA0D,CAAC;IAC7D,6FAA6F;IAChF,4DAAc,GACzB,mEAA2D,CAAC;AAGhE,CAAC,EATgB,6CAA6C,6DAA7C,6CAA6C,QAS7D;AAED,SAAgB,kDAAkD,CAChE,4CAC8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,mEAA2D,CAAC,KAAK,CAC/D,4CAA4C,CAC7C,CACF,CAAC;AACJ,CAAC;AATD,gHASC;AAED,SAAgB,oDAAoD,CAClE,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,kEAA0D,CAAC,KAAK,CAC9D,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,0EAA0E,CAC3E,CAAC;AACJ,CAAC;AAdD,oHAcC"}
@@ -1,165 +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
- export type HealthControllerHealthCheckRequest = {
5
- /**
6
- * A header for idempotency purposes
7
- */
8
- idempotencyKey?: string | undefined;
9
- };
10
- export type Info = {
11
- status: string;
12
- additionalProperties: {
13
- [k: string]: any;
14
- };
15
- };
16
- export type ErrorT = {
17
- status: string;
18
- additionalProperties: {
19
- [k: string]: any;
20
- };
21
- };
22
- export type Details = {
23
- status: string;
24
- additionalProperties: {
25
- [k: string]: any;
26
- };
27
- };
28
- /**
29
- * The Health Check is successful
30
- */
31
- export type HealthControllerHealthCheckResponseBody = {
32
- status?: string | undefined;
33
- info?: {
34
- [k: string]: Info;
35
- } | null | undefined;
36
- error?: {
37
- [k: string]: ErrorT;
38
- } | null | undefined;
39
- details?: {
40
- [k: string]: Details;
41
- } | undefined;
42
- };
43
- /** @internal */
44
- export declare const HealthControllerHealthCheckRequest$inboundSchema: z.ZodType<HealthControllerHealthCheckRequest, z.ZodTypeDef, unknown>;
45
- /** @internal */
46
- export type HealthControllerHealthCheckRequest$Outbound = {
47
- "idempotency-key"?: string | undefined;
48
- };
49
- /** @internal */
50
- export declare const HealthControllerHealthCheckRequest$outboundSchema: z.ZodType<HealthControllerHealthCheckRequest$Outbound, z.ZodTypeDef, HealthControllerHealthCheckRequest>;
51
- /**
52
- * @internal
53
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
- */
55
- export declare namespace HealthControllerHealthCheckRequest$ {
56
- /** @deprecated use `HealthControllerHealthCheckRequest$inboundSchema` instead. */
57
- const inboundSchema: z.ZodType<HealthControllerHealthCheckRequest, z.ZodTypeDef, unknown>;
58
- /** @deprecated use `HealthControllerHealthCheckRequest$outboundSchema` instead. */
59
- const outboundSchema: z.ZodType<HealthControllerHealthCheckRequest$Outbound, z.ZodTypeDef, HealthControllerHealthCheckRequest>;
60
- /** @deprecated use `HealthControllerHealthCheckRequest$Outbound` instead. */
61
- type Outbound = HealthControllerHealthCheckRequest$Outbound;
62
- }
63
- export declare function healthControllerHealthCheckRequestToJSON(healthControllerHealthCheckRequest: HealthControllerHealthCheckRequest): string;
64
- export declare function healthControllerHealthCheckRequestFromJSON(jsonString: string): SafeParseResult<HealthControllerHealthCheckRequest, SDKValidationError>;
65
- /** @internal */
66
- export declare const Info$inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
67
- /** @internal */
68
- export type Info$Outbound = {
69
- status: string;
70
- [additionalProperties: string]: unknown;
71
- };
72
- /** @internal */
73
- export declare const Info$outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
74
- /**
75
- * @internal
76
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
77
- */
78
- export declare namespace Info$ {
79
- /** @deprecated use `Info$inboundSchema` instead. */
80
- const inboundSchema: z.ZodType<Info, z.ZodTypeDef, unknown>;
81
- /** @deprecated use `Info$outboundSchema` instead. */
82
- const outboundSchema: z.ZodType<Info$Outbound, z.ZodTypeDef, Info>;
83
- /** @deprecated use `Info$Outbound` instead. */
84
- type Outbound = Info$Outbound;
85
- }
86
- export declare function infoToJSON(info: Info): string;
87
- export declare function infoFromJSON(jsonString: string): SafeParseResult<Info, SDKValidationError>;
88
- /** @internal */
89
- export declare const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
90
- /** @internal */
91
- export type ErrorT$Outbound = {
92
- status: string;
93
- [additionalProperties: string]: unknown;
94
- };
95
- /** @internal */
96
- export declare const ErrorT$outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
97
- /**
98
- * @internal
99
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
100
- */
101
- export declare namespace ErrorT$ {
102
- /** @deprecated use `ErrorT$inboundSchema` instead. */
103
- const inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
104
- /** @deprecated use `ErrorT$outboundSchema` instead. */
105
- const outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
106
- /** @deprecated use `ErrorT$Outbound` instead. */
107
- type Outbound = ErrorT$Outbound;
108
- }
109
- export declare function errorToJSON(errorT: ErrorT): string;
110
- export declare function errorFromJSON(jsonString: string): SafeParseResult<ErrorT, SDKValidationError>;
111
- /** @internal */
112
- export declare const Details$inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
113
- /** @internal */
114
- export type Details$Outbound = {
115
- status: string;
116
- [additionalProperties: string]: unknown;
117
- };
118
- /** @internal */
119
- export declare const Details$outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
120
- /**
121
- * @internal
122
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
123
- */
124
- export declare namespace Details$ {
125
- /** @deprecated use `Details$inboundSchema` instead. */
126
- const inboundSchema: z.ZodType<Details, z.ZodTypeDef, unknown>;
127
- /** @deprecated use `Details$outboundSchema` instead. */
128
- const outboundSchema: z.ZodType<Details$Outbound, z.ZodTypeDef, Details>;
129
- /** @deprecated use `Details$Outbound` instead. */
130
- type Outbound = Details$Outbound;
131
- }
132
- export declare function detailsToJSON(details: Details): string;
133
- export declare function detailsFromJSON(jsonString: string): SafeParseResult<Details, SDKValidationError>;
134
- /** @internal */
135
- export declare const HealthControllerHealthCheckResponseBody$inboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody, z.ZodTypeDef, unknown>;
136
- /** @internal */
137
- export type HealthControllerHealthCheckResponseBody$Outbound = {
138
- status?: string | undefined;
139
- info?: {
140
- [k: string]: Info$Outbound;
141
- } | null | undefined;
142
- error?: {
143
- [k: string]: ErrorT$Outbound;
144
- } | null | undefined;
145
- details?: {
146
- [k: string]: Details$Outbound;
147
- } | undefined;
148
- };
149
- /** @internal */
150
- export declare const HealthControllerHealthCheckResponseBody$outboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody$Outbound, z.ZodTypeDef, HealthControllerHealthCheckResponseBody>;
151
- /**
152
- * @internal
153
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
154
- */
155
- export declare namespace HealthControllerHealthCheckResponseBody$ {
156
- /** @deprecated use `HealthControllerHealthCheckResponseBody$inboundSchema` instead. */
157
- const inboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody, z.ZodTypeDef, unknown>;
158
- /** @deprecated use `HealthControllerHealthCheckResponseBody$outboundSchema` instead. */
159
- const outboundSchema: z.ZodType<HealthControllerHealthCheckResponseBody$Outbound, z.ZodTypeDef, HealthControllerHealthCheckResponseBody>;
160
- /** @deprecated use `HealthControllerHealthCheckResponseBody$Outbound` instead. */
161
- type Outbound = HealthControllerHealthCheckResponseBody$Outbound;
162
- }
163
- export declare function healthControllerHealthCheckResponseBodyToJSON(healthControllerHealthCheckResponseBody: HealthControllerHealthCheckResponseBody): string;
164
- export declare function healthControllerHealthCheckResponseBodyFromJSON(jsonString: string): SafeParseResult<HealthControllerHealthCheckResponseBody, SDKValidationError>;
165
- //# sourceMappingURL=healthcontrollerhealthcheck.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":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