@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,206 +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.healthControllerHealthCheckResponseBodyFromJSON = exports.healthControllerHealthCheckResponseBodyToJSON = 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.healthControllerHealthCheckRequestFromJSON = exports.healthControllerHealthCheckRequestToJSON = exports.HealthControllerHealthCheckRequest$ = exports.HealthControllerHealthCheckRequest$outboundSchema = exports.HealthControllerHealthCheckRequest$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
- /** @internal */
34
- exports.HealthControllerHealthCheckRequest$inboundSchema = z.object({
35
- "idempotency-key": z.string().optional(),
36
- }).transform((v) => {
37
- return (0, primitives_js_1.remap)(v, {
38
- "idempotency-key": "idempotencyKey",
39
- });
40
- });
41
- /** @internal */
42
- exports.HealthControllerHealthCheckRequest$outboundSchema = z.object({
43
- idempotencyKey: z.string().optional(),
44
- }).transform((v) => {
45
- return (0, primitives_js_1.remap)(v, {
46
- idempotencyKey: "idempotency-key",
47
- });
48
- });
49
- /**
50
- * @internal
51
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
52
- */
53
- var HealthControllerHealthCheckRequest$;
54
- (function (HealthControllerHealthCheckRequest$) {
55
- /** @deprecated use `HealthControllerHealthCheckRequest$inboundSchema` instead. */
56
- HealthControllerHealthCheckRequest$.inboundSchema = exports.HealthControllerHealthCheckRequest$inboundSchema;
57
- /** @deprecated use `HealthControllerHealthCheckRequest$outboundSchema` instead. */
58
- HealthControllerHealthCheckRequest$.outboundSchema = exports.HealthControllerHealthCheckRequest$outboundSchema;
59
- })(HealthControllerHealthCheckRequest$ || (exports.HealthControllerHealthCheckRequest$ = HealthControllerHealthCheckRequest$ = {}));
60
- function healthControllerHealthCheckRequestToJSON(healthControllerHealthCheckRequest) {
61
- return JSON.stringify(exports.HealthControllerHealthCheckRequest$outboundSchema.parse(healthControllerHealthCheckRequest));
62
- }
63
- exports.healthControllerHealthCheckRequestToJSON = healthControllerHealthCheckRequestToJSON;
64
- function healthControllerHealthCheckRequestFromJSON(jsonString) {
65
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HealthControllerHealthCheckRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HealthControllerHealthCheckRequest' from JSON`);
66
- }
67
- exports.healthControllerHealthCheckRequestFromJSON = healthControllerHealthCheckRequestFromJSON;
68
- /** @internal */
69
- exports.Info$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
70
- status: z.string(),
71
- }).catchall(z.any()), "additionalProperties");
72
- /** @internal */
73
- exports.Info$outboundSchema = z.object({
74
- status: z.string(),
75
- additionalProperties: z.record(z.any()),
76
- }).transform((v) => {
77
- return {
78
- ...v.additionalProperties,
79
- ...(0, primitives_js_1.remap)(v, {
80
- additionalProperties: null,
81
- }),
82
- };
83
- });
84
- /**
85
- * @internal
86
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
87
- */
88
- var Info$;
89
- (function (Info$) {
90
- /** @deprecated use `Info$inboundSchema` instead. */
91
- Info$.inboundSchema = exports.Info$inboundSchema;
92
- /** @deprecated use `Info$outboundSchema` instead. */
93
- Info$.outboundSchema = exports.Info$outboundSchema;
94
- })(Info$ || (exports.Info$ = Info$ = {}));
95
- function infoToJSON(info) {
96
- return JSON.stringify(exports.Info$outboundSchema.parse(info));
97
- }
98
- exports.infoToJSON = infoToJSON;
99
- function infoFromJSON(jsonString) {
100
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Info$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Info' from JSON`);
101
- }
102
- exports.infoFromJSON = infoFromJSON;
103
- /** @internal */
104
- exports.ErrorT$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
105
- status: z.string(),
106
- }).catchall(z.any()), "additionalProperties");
107
- /** @internal */
108
- exports.ErrorT$outboundSchema = z.object({
109
- status: z.string(),
110
- additionalProperties: z.record(z.any()),
111
- }).transform((v) => {
112
- return {
113
- ...v.additionalProperties,
114
- ...(0, primitives_js_1.remap)(v, {
115
- additionalProperties: null,
116
- }),
117
- };
118
- });
119
- /**
120
- * @internal
121
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
122
- */
123
- var ErrorT$;
124
- (function (ErrorT$) {
125
- /** @deprecated use `ErrorT$inboundSchema` instead. */
126
- ErrorT$.inboundSchema = exports.ErrorT$inboundSchema;
127
- /** @deprecated use `ErrorT$outboundSchema` instead. */
128
- ErrorT$.outboundSchema = exports.ErrorT$outboundSchema;
129
- })(ErrorT$ || (exports.ErrorT$ = ErrorT$ = {}));
130
- function errorToJSON(errorT) {
131
- return JSON.stringify(exports.ErrorT$outboundSchema.parse(errorT));
132
- }
133
- exports.errorToJSON = errorToJSON;
134
- function errorFromJSON(jsonString) {
135
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ErrorT$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ErrorT' from JSON`);
136
- }
137
- exports.errorFromJSON = errorFromJSON;
138
- /** @internal */
139
- exports.Details$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
140
- status: z.string(),
141
- }).catchall(z.any()), "additionalProperties");
142
- /** @internal */
143
- exports.Details$outboundSchema = z.object({
144
- status: z.string(),
145
- additionalProperties: z.record(z.any()),
146
- }).transform((v) => {
147
- return {
148
- ...v.additionalProperties,
149
- ...(0, primitives_js_1.remap)(v, {
150
- additionalProperties: null,
151
- }),
152
- };
153
- });
154
- /**
155
- * @internal
156
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
157
- */
158
- var Details$;
159
- (function (Details$) {
160
- /** @deprecated use `Details$inboundSchema` instead. */
161
- Details$.inboundSchema = exports.Details$inboundSchema;
162
- /** @deprecated use `Details$outboundSchema` instead. */
163
- Details$.outboundSchema = exports.Details$outboundSchema;
164
- })(Details$ || (exports.Details$ = Details$ = {}));
165
- function detailsToJSON(details) {
166
- return JSON.stringify(exports.Details$outboundSchema.parse(details));
167
- }
168
- exports.detailsToJSON = detailsToJSON;
169
- function detailsFromJSON(jsonString) {
170
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Details$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Details' from JSON`);
171
- }
172
- exports.detailsFromJSON = detailsFromJSON;
173
- /** @internal */
174
- exports.HealthControllerHealthCheckResponseBody$inboundSchema = z.object({
175
- status: z.string().optional(),
176
- info: z.nullable(z.record(z.lazy(() => exports.Info$inboundSchema))).optional(),
177
- error: z.nullable(z.record(z.lazy(() => exports.ErrorT$inboundSchema))).optional(),
178
- details: z.record(z.lazy(() => exports.Details$inboundSchema)).optional(),
179
- });
180
- /** @internal */
181
- exports.HealthControllerHealthCheckResponseBody$outboundSchema = z.object({
182
- status: z.string().optional(),
183
- info: z.nullable(z.record(z.lazy(() => exports.Info$outboundSchema))).optional(),
184
- error: z.nullable(z.record(z.lazy(() => exports.ErrorT$outboundSchema))).optional(),
185
- details: z.record(z.lazy(() => exports.Details$outboundSchema)).optional(),
186
- });
187
- /**
188
- * @internal
189
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
190
- */
191
- var HealthControllerHealthCheckResponseBody$;
192
- (function (HealthControllerHealthCheckResponseBody$) {
193
- /** @deprecated use `HealthControllerHealthCheckResponseBody$inboundSchema` instead. */
194
- HealthControllerHealthCheckResponseBody$.inboundSchema = exports.HealthControllerHealthCheckResponseBody$inboundSchema;
195
- /** @deprecated use `HealthControllerHealthCheckResponseBody$outboundSchema` instead. */
196
- HealthControllerHealthCheckResponseBody$.outboundSchema = exports.HealthControllerHealthCheckResponseBody$outboundSchema;
197
- })(HealthControllerHealthCheckResponseBody$ || (exports.HealthControllerHealthCheckResponseBody$ = HealthControllerHealthCheckResponseBody$ = {}));
198
- function healthControllerHealthCheckResponseBodyToJSON(healthControllerHealthCheckResponseBody) {
199
- return JSON.stringify(exports.HealthControllerHealthCheckResponseBody$outboundSchema.parse(healthControllerHealthCheckResponseBody));
200
- }
201
- exports.healthControllerHealthCheckResponseBodyToJSON = healthControllerHealthCheckResponseBodyToJSON;
202
- function healthControllerHealthCheckResponseBodyFromJSON(jsonString) {
203
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HealthControllerHealthCheckResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HealthControllerHealthCheckResponseBody' from JSON`);
204
- }
205
- exports.healthControllerHealthCheckResponseBodyFromJSON = healthControllerHealthCheckResponseBodyFromJSON;
206
- //# sourceMappingURL=healthcontrollerhealthcheck.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollerhealthcheck.js","sourceRoot":"","sources":["../../src/models/operations/healthcontrollerhealthcheck.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;AAoC9B,gBAAgB;AACH,QAAA,gDAAgD,GAIzD,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;AAOH,gBAAgB;AACH,QAAA,iDAAiD,GAI1D,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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,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,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;AAEH;;;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;AAED,SAAgB,6CAA6C,CAC3D,uCACyC;IAEzC,OAAO,IAAI,CAAC,SAAS,CACnB,8DAAsD,CAAC,KAAK,CAC1D,uCAAuC,CACxC,CACF,CAAC;AACJ,CAAC;AATD,sGASC;AAED,SAAgB,+CAA+C,CAC7D,UAAkB;IAKlB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,6DAAqD,CAAC,KAAK,CACzD,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACd,EACH,qEAAqE,CACtE,CAAC;AACJ,CAAC;AAdD,0GAcC"}
@@ -1,66 +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 HealthControllerTestIdempotencyRequest = {
6
- /**
7
- * A header for idempotency purposes
8
- */
9
- idempotencyKey?: string | undefined;
10
- idempotencyTestingDto: components.IdempotencyTestingDto;
11
- };
12
- export type HealthControllerTestIdempotencyResponse = {
13
- headers: {
14
- [k: string]: Array<string>;
15
- };
16
- result: components.IdempotenceTestingResponse;
17
- };
18
- /** @internal */
19
- export declare const HealthControllerTestIdempotencyRequest$inboundSchema: z.ZodType<HealthControllerTestIdempotencyRequest, z.ZodTypeDef, unknown>;
20
- /** @internal */
21
- export type HealthControllerTestIdempotencyRequest$Outbound = {
22
- "idempotency-key"?: string | undefined;
23
- IdempotencyTestingDto: components.IdempotencyTestingDto$Outbound;
24
- };
25
- /** @internal */
26
- export declare const HealthControllerTestIdempotencyRequest$outboundSchema: z.ZodType<HealthControllerTestIdempotencyRequest$Outbound, z.ZodTypeDef, HealthControllerTestIdempotencyRequest>;
27
- /**
28
- * @internal
29
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
30
- */
31
- export declare namespace HealthControllerTestIdempotencyRequest$ {
32
- /** @deprecated use `HealthControllerTestIdempotencyRequest$inboundSchema` instead. */
33
- const inboundSchema: z.ZodType<HealthControllerTestIdempotencyRequest, z.ZodTypeDef, unknown>;
34
- /** @deprecated use `HealthControllerTestIdempotencyRequest$outboundSchema` instead. */
35
- const outboundSchema: z.ZodType<HealthControllerTestIdempotencyRequest$Outbound, z.ZodTypeDef, HealthControllerTestIdempotencyRequest>;
36
- /** @deprecated use `HealthControllerTestIdempotencyRequest$Outbound` instead. */
37
- type Outbound = HealthControllerTestIdempotencyRequest$Outbound;
38
- }
39
- export declare function healthControllerTestIdempotencyRequestToJSON(healthControllerTestIdempotencyRequest: HealthControllerTestIdempotencyRequest): string;
40
- export declare function healthControllerTestIdempotencyRequestFromJSON(jsonString: string): SafeParseResult<HealthControllerTestIdempotencyRequest, SDKValidationError>;
41
- /** @internal */
42
- export declare const HealthControllerTestIdempotencyResponse$inboundSchema: z.ZodType<HealthControllerTestIdempotencyResponse, z.ZodTypeDef, unknown>;
43
- /** @internal */
44
- export type HealthControllerTestIdempotencyResponse$Outbound = {
45
- Headers: {
46
- [k: string]: Array<string>;
47
- };
48
- Result: components.IdempotenceTestingResponse$Outbound;
49
- };
50
- /** @internal */
51
- export declare const HealthControllerTestIdempotencyResponse$outboundSchema: z.ZodType<HealthControllerTestIdempotencyResponse$Outbound, z.ZodTypeDef, HealthControllerTestIdempotencyResponse>;
52
- /**
53
- * @internal
54
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
55
- */
56
- export declare namespace HealthControllerTestIdempotencyResponse$ {
57
- /** @deprecated use `HealthControllerTestIdempotencyResponse$inboundSchema` instead. */
58
- const inboundSchema: z.ZodType<HealthControllerTestIdempotencyResponse, z.ZodTypeDef, unknown>;
59
- /** @deprecated use `HealthControllerTestIdempotencyResponse$outboundSchema` instead. */
60
- const outboundSchema: z.ZodType<HealthControllerTestIdempotencyResponse$Outbound, z.ZodTypeDef, HealthControllerTestIdempotencyResponse>;
61
- /** @deprecated use `HealthControllerTestIdempotencyResponse$Outbound` instead. */
62
- type Outbound = HealthControllerTestIdempotencyResponse$Outbound;
63
- }
64
- export declare function healthControllerTestIdempotencyResponseToJSON(healthControllerTestIdempotencyResponse: HealthControllerTestIdempotencyResponse): string;
65
- export declare function healthControllerTestIdempotencyResponseFromJSON(jsonString: string): SafeParseResult<HealthControllerTestIdempotencyResponse, SDKValidationError>;
66
- //# sourceMappingURL=healthcontrollertestidempotency.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollertestidempotency.d.ts","sourceRoot":"","sources":["../../src/models/operations/healthcontrollertestidempotency.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,sCAAsC,GAAG;IACnD;;OAEG;IACH,cAAc,CAA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AAG;IAC7D,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,mCAAmC,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sDAAsD,EAAE,CAAC,CAAC,OAAO,CAC5E,gDAAgD,EAChD,CAAC,CAAC,UAAU,EACZ,uCAAuC,CASvC,CAAC;AAEH;;;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;AAED,wBAAgB,6CAA6C,CAC3D,uCAAuC,EACrC,uCAAuC,GACxC,MAAM,CAMR;AAED,wBAAgB,+CAA+C,CAC7D,UAAU,EAAE,MAAM,GACjB,eAAe,CAChB,uCAAuC,EACvC,kBAAkB,CACnB,CASA"}
@@ -1,112 +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.healthControllerTestIdempotencyResponseFromJSON = exports.healthControllerTestIdempotencyResponseToJSON = exports.HealthControllerTestIdempotencyResponse$ = exports.HealthControllerTestIdempotencyResponse$outboundSchema = exports.HealthControllerTestIdempotencyResponse$inboundSchema = exports.healthControllerTestIdempotencyRequestFromJSON = exports.healthControllerTestIdempotencyRequestToJSON = exports.HealthControllerTestIdempotencyRequest$ = exports.HealthControllerTestIdempotencyRequest$outboundSchema = exports.HealthControllerTestIdempotencyRequest$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.HealthControllerTestIdempotencyRequest$inboundSchema = z.object({
36
- "idempotency-key": z.string().optional(),
37
- IdempotencyTestingDto: components.IdempotencyTestingDto$inboundSchema,
38
- }).transform((v) => {
39
- return (0, primitives_js_1.remap)(v, {
40
- "idempotency-key": "idempotencyKey",
41
- "IdempotencyTestingDto": "idempotencyTestingDto",
42
- });
43
- });
44
- /** @internal */
45
- exports.HealthControllerTestIdempotencyRequest$outboundSchema = z.object({
46
- idempotencyKey: z.string().optional(),
47
- idempotencyTestingDto: components.IdempotencyTestingDto$outboundSchema,
48
- }).transform((v) => {
49
- return (0, primitives_js_1.remap)(v, {
50
- idempotencyKey: "idempotency-key",
51
- idempotencyTestingDto: "IdempotencyTestingDto",
52
- });
53
- });
54
- /**
55
- * @internal
56
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
- */
58
- var HealthControllerTestIdempotencyRequest$;
59
- (function (HealthControllerTestIdempotencyRequest$) {
60
- /** @deprecated use `HealthControllerTestIdempotencyRequest$inboundSchema` instead. */
61
- HealthControllerTestIdempotencyRequest$.inboundSchema = exports.HealthControllerTestIdempotencyRequest$inboundSchema;
62
- /** @deprecated use `HealthControllerTestIdempotencyRequest$outboundSchema` instead. */
63
- HealthControllerTestIdempotencyRequest$.outboundSchema = exports.HealthControllerTestIdempotencyRequest$outboundSchema;
64
- })(HealthControllerTestIdempotencyRequest$ || (exports.HealthControllerTestIdempotencyRequest$ = HealthControllerTestIdempotencyRequest$ = {}));
65
- function healthControllerTestIdempotencyRequestToJSON(healthControllerTestIdempotencyRequest) {
66
- return JSON.stringify(exports.HealthControllerTestIdempotencyRequest$outboundSchema.parse(healthControllerTestIdempotencyRequest));
67
- }
68
- exports.healthControllerTestIdempotencyRequestToJSON = healthControllerTestIdempotencyRequestToJSON;
69
- function healthControllerTestIdempotencyRequestFromJSON(jsonString) {
70
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HealthControllerTestIdempotencyRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HealthControllerTestIdempotencyRequest' from JSON`);
71
- }
72
- exports.healthControllerTestIdempotencyRequestFromJSON = healthControllerTestIdempotencyRequestFromJSON;
73
- /** @internal */
74
- exports.HealthControllerTestIdempotencyResponse$inboundSchema = z.object({
75
- Headers: z.record(z.array(z.string())),
76
- Result: components.IdempotenceTestingResponse$inboundSchema,
77
- }).transform((v) => {
78
- return (0, primitives_js_1.remap)(v, {
79
- "Headers": "headers",
80
- "Result": "result",
81
- });
82
- });
83
- /** @internal */
84
- exports.HealthControllerTestIdempotencyResponse$outboundSchema = z.object({
85
- headers: z.record(z.array(z.string())),
86
- result: components.IdempotenceTestingResponse$outboundSchema,
87
- }).transform((v) => {
88
- return (0, primitives_js_1.remap)(v, {
89
- headers: "Headers",
90
- result: "Result",
91
- });
92
- });
93
- /**
94
- * @internal
95
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
96
- */
97
- var HealthControllerTestIdempotencyResponse$;
98
- (function (HealthControllerTestIdempotencyResponse$) {
99
- /** @deprecated use `HealthControllerTestIdempotencyResponse$inboundSchema` instead. */
100
- HealthControllerTestIdempotencyResponse$.inboundSchema = exports.HealthControllerTestIdempotencyResponse$inboundSchema;
101
- /** @deprecated use `HealthControllerTestIdempotencyResponse$outboundSchema` instead. */
102
- HealthControllerTestIdempotencyResponse$.outboundSchema = exports.HealthControllerTestIdempotencyResponse$outboundSchema;
103
- })(HealthControllerTestIdempotencyResponse$ || (exports.HealthControllerTestIdempotencyResponse$ = HealthControllerTestIdempotencyResponse$ = {}));
104
- function healthControllerTestIdempotencyResponseToJSON(healthControllerTestIdempotencyResponse) {
105
- return JSON.stringify(exports.HealthControllerTestIdempotencyResponse$outboundSchema.parse(healthControllerTestIdempotencyResponse));
106
- }
107
- exports.healthControllerTestIdempotencyResponseToJSON = healthControllerTestIdempotencyResponseToJSON;
108
- function healthControllerTestIdempotencyResponseFromJSON(jsonString) {
109
- return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HealthControllerTestIdempotencyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HealthControllerTestIdempotencyResponse' from JSON`);
110
- }
111
- exports.healthControllerTestIdempotencyResponseFromJSON = healthControllerTestIdempotencyResponseFromJSON;
112
- //# sourceMappingURL=healthcontrollertestidempotency.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"healthcontrollertestidempotency.js","sourceRoot":"","sources":["../../src/models/operations/healthcontrollertestidempotency.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AAgBrD,gBAAgB;AACH,QAAA,oDAAoD,GAI7D,CAAC,CAAC,MAAM,CAAC;IACX,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,qBAAqB,EAAE,UAAU,CAAC,mCAAmC;CACtE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,E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in.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as components from "../models/components/index.js";
3
- import * as operations from "../models/operations/index.js";
4
- export declare class Admin extends ClientSDK {
5
- healthControllerHealthCheck(idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.HealthControllerHealthCheckResponseBody>;
6
- testIdempotency(idempotencyTestingDto: components.IdempotencyTestingDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.HealthControllerTestIdempotencyResponse>;
7
- generateRandomNumber(idempotencyKey?: string | undefined, options?: RequestOptions): Promise<operations.HealthControllerGenerateRandomNumberResponse>;
8
- }
9
- //# sourceMappingURL=admin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../src/sdk/admin.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,KAAM,SAAQ,SAAS;IAC5B,2BAA2B,CAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uCAAuC,CAAC;IAQxD,eAAe,CACnB,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,EACvD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uCAAuC,CAAC;IASxD,oBAAoB,CACxB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4CAA4C,CAAC;CAOpE"}
package/sdk/admin.js DELETED
@@ -1,24 +0,0 @@
1
- "use strict";
2
- /*
3
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Admin = void 0;
7
- const adminGenerateRandomNumber_js_1 = require("../funcs/adminGenerateRandomNumber.js");
8
- const adminHealthControllerHealthCheck_js_1 = require("../funcs/adminHealthControllerHealthCheck.js");
9
- const adminTestIdempotency_js_1 = require("../funcs/adminTestIdempotency.js");
10
- const sdks_js_1 = require("../lib/sdks.js");
11
- const fp_js_1 = require("../types/fp.js");
12
- class Admin extends sdks_js_1.ClientSDK {
13
- async healthControllerHealthCheck(idempotencyKey, options) {
14
- return (0, fp_js_1.unwrapAsync)((0, adminHealthControllerHealthCheck_js_1.adminHealthControllerHealthCheck)(this, idempotencyKey, options));
15
- }
16
- async testIdempotency(idempotencyTestingDto, idempotencyKey, options) {
17
- return (0, fp_js_1.unwrapAsync)((0, adminTestIdempotency_js_1.adminTestIdempotency)(this, idempotencyTestingDto, idempotencyKey, options));
18
- }
19
- async generateRandomNumber(idempotencyKey, options) {
20
- return (0, fp_js_1.unwrapAsync)((0, adminGenerateRandomNumber_js_1.adminGenerateRandomNumber)(this, idempotencyKey, options));
21
- }
22
- }
23
- exports.Admin = Admin;
24
- //# sourceMappingURL=admin.js.map
package/sdk/admin.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.js","sourceRoot":"","sources":["../src/sdk/admin.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,wFAAkF;AAClF,sGAAgG;AAChG,8EAAwE;AACxE,4CAA2D;AAG3D,0CAA6C;AAE7C,MAAa,KAAM,SAAQ,mBAAS;IAClC,KAAK,CAAC,2BAA2B,CAC/B,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sEAAgC,EACjD,IAAI,EACJ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,eAAe,CACnB,qBAAuD,EACvD,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,qBAAqB,EACrB,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED,KAAK,CAAC,oBAAoB,CACxB,cAAmC,EACnC,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,wDAAyB,EAC1C,IAAI,EACJ,cAAc,EACd,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAnCD,sBAmCC"}
@@ -1,183 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { NovuCore } from "../core.js";
6
- import { encodeSimple } from "../lib/encodings.js";
7
- import * as M from "../lib/matchers.js";
8
- import { compactMap } from "../lib/primitives.js";
9
- import { safeParse } from "../lib/schemas.js";
10
- import { RequestOptions } from "../lib/sdks.js";
11
- import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
12
- import { pathToFunc } from "../lib/url.js";
13
- import {
14
- ConnectionError,
15
- InvalidRequestError,
16
- RequestAbortedError,
17
- RequestTimeoutError,
18
- UnexpectedClientError,
19
- } from "../models/errors/httpclienterrors.js";
20
- import * as errors from "../models/errors/index.js";
21
- import { SDKError } from "../models/errors/sdkerror.js";
22
- import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
23
- import * as operations from "../models/operations/index.js";
24
- import { Result } from "../types/fp.js";
25
-
26
- export async function adminGenerateRandomNumber(
27
- client: NovuCore,
28
- idempotencyKey?: string | undefined,
29
- options?: RequestOptions,
30
- ): Promise<
31
- Result<
32
- operations.HealthControllerGenerateRandomNumberResponse,
33
- | errors.ErrorDto
34
- | errors.ErrorDto
35
- | errors.ValidationErrorDto
36
- | errors.ErrorDto
37
- | SDKError
38
- | SDKValidationError
39
- | UnexpectedClientError
40
- | InvalidRequestError
41
- | RequestAbortedError
42
- | RequestTimeoutError
43
- | ConnectionError
44
- >
45
- > {
46
- const input: operations.HealthControllerGenerateRandomNumberRequest = {
47
- idempotencyKey: idempotencyKey,
48
- };
49
-
50
- const parsed = safeParse(
51
- input,
52
- (value) =>
53
- operations.HealthControllerGenerateRandomNumberRequest$outboundSchema
54
- .parse(value),
55
- "Input validation failed",
56
- );
57
- if (!parsed.ok) {
58
- return parsed;
59
- }
60
- const payload = parsed.value;
61
- const body = null;
62
-
63
- const path = pathToFunc("/v1/health-check/test-idempotency")();
64
-
65
- const headers = new Headers(compactMap({
66
- Accept: "application/json",
67
- "idempotency-key": encodeSimple(
68
- "idempotency-key",
69
- payload["idempotency-key"],
70
- { explode: false, charEncoding: "none" },
71
- ),
72
- }));
73
-
74
- const secConfig = await extractSecurity(client._options.apiKey);
75
- const securityInput = secConfig == null ? {} : { apiKey: secConfig };
76
- const requestSecurity = resolveGlobalSecurity(securityInput);
77
-
78
- const context = {
79
- operationID: "HealthController_generateRandomNumber",
80
- oAuth2Scopes: [],
81
-
82
- resolvedSecurity: requestSecurity,
83
-
84
- securitySource: client._options.apiKey,
85
- retryConfig: options?.retries
86
- || client._options.retryConfig
87
- || {
88
- strategy: "backoff",
89
- backoff: {
90
- initialInterval: 1000,
91
- maxInterval: 30000,
92
- exponent: 1.5,
93
- maxElapsedTime: 3600000,
94
- },
95
- retryConnectionErrors: true,
96
- }
97
- || { strategy: "none" },
98
- retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
99
- };
100
-
101
- const requestRes = client._createRequest(context, {
102
- security: requestSecurity,
103
- method: "GET",
104
- baseURL: options?.serverURL,
105
- path: path,
106
- headers: headers,
107
- body: body,
108
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
109
- }, options);
110
- if (!requestRes.ok) {
111
- return requestRes;
112
- }
113
- const req = requestRes.value;
114
-
115
- const doResult = await client._do(req, {
116
- context,
117
- errorCodes: [
118
- "400",
119
- "401",
120
- "403",
121
- "404",
122
- "405",
123
- "409",
124
- "413",
125
- "414",
126
- "415",
127
- "422",
128
- "429",
129
- "4XX",
130
- "500",
131
- "503",
132
- "5XX",
133
- ],
134
- retryConfig: context.retryConfig,
135
- retryCodes: context.retryCodes,
136
- });
137
- if (!doResult.ok) {
138
- return doResult;
139
- }
140
- const response = doResult.value;
141
-
142
- const responseFields = {
143
- HttpMeta: { Response: response, Request: req },
144
- };
145
-
146
- const [result] = await M.match<
147
- operations.HealthControllerGenerateRandomNumberResponse,
148
- | errors.ErrorDto
149
- | errors.ErrorDto
150
- | errors.ValidationErrorDto
151
- | errors.ErrorDto
152
- | SDKError
153
- | SDKValidationError
154
- | UnexpectedClientError
155
- | InvalidRequestError
156
- | RequestAbortedError
157
- | RequestTimeoutError
158
- | ConnectionError
159
- >(
160
- M.json(
161
- 201,
162
- operations.HealthControllerGenerateRandomNumberResponse$inboundSchema,
163
- { hdrs: true, key: "Result" },
164
- ),
165
- M.jsonErr(
166
- [400, 401, 403, 404, 405, 409, 413, 415],
167
- errors.ErrorDto$inboundSchema,
168
- { hdrs: true },
169
- ),
170
- M.jsonErr(414, errors.ErrorDto$inboundSchema),
171
- M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }),
172
- M.fail(429),
173
- M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }),
174
- M.fail(503),
175
- M.fail("4XX"),
176
- M.fail("5XX"),
177
- )(response, { extraFields: responseFields });
178
- if (!result.ok) {
179
- return result;
180
- }
181
-
182
- return result;
183
- }