@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,1134 +1,6 @@
1
1
  {
2
2
  "openapi": "3.0.0",
3
3
  "paths": {
4
- "/v1/health-check": {
5
- "get": {
6
- "operationId": "HealthController_healthCheck",
7
- "x-ignore": true,
8
- "parameters": [
9
- {
10
- "name": "idempotency-key",
11
- "in": "header",
12
- "description": "A header for idempotency purposes",
13
- "required": false,
14
- "schema": {
15
- "type": "string"
16
- }
17
- }
18
- ],
19
- "responses": {
20
- "200": {
21
- "description": "The Health Check is successful",
22
- "content": {
23
- "application/json": {
24
- "schema": {
25
- "type": "object",
26
- "properties": {
27
- "status": {
28
- "type": "string",
29
- "example": "ok"
30
- },
31
- "info": {
32
- "type": "object",
33
- "example": {
34
- "database": {
35
- "status": "up"
36
- }
37
- },
38
- "additionalProperties": {
39
- "type": "object",
40
- "required": [
41
- "status"
42
- ],
43
- "properties": {
44
- "status": {
45
- "type": "string"
46
- }
47
- },
48
- "additionalProperties": true
49
- },
50
- "nullable": true
51
- },
52
- "error": {
53
- "type": "object",
54
- "example": {},
55
- "additionalProperties": {
56
- "type": "object",
57
- "required": [
58
- "status"
59
- ],
60
- "properties": {
61
- "status": {
62
- "type": "string"
63
- }
64
- },
65
- "additionalProperties": true
66
- },
67
- "nullable": true
68
- },
69
- "details": {
70
- "type": "object",
71
- "example": {
72
- "database": {
73
- "status": "up"
74
- }
75
- },
76
- "additionalProperties": {
77
- "type": "object",
78
- "required": [
79
- "status"
80
- ],
81
- "properties": {
82
- "status": {
83
- "type": "string"
84
- }
85
- },
86
- "additionalProperties": true
87
- }
88
- }
89
- }
90
- }
91
- }
92
- }
93
- },
94
- "503": {
95
- "description": "The Health Check is not successful",
96
- "content": {
97
- "application/json": {
98
- "schema": {
99
- "type": "object",
100
- "properties": {
101
- "status": {
102
- "type": "string",
103
- "example": "error"
104
- },
105
- "info": {
106
- "type": "object",
107
- "example": {
108
- "database": {
109
- "status": "up"
110
- }
111
- },
112
- "additionalProperties": {
113
- "type": "object",
114
- "required": [
115
- "status"
116
- ],
117
- "properties": {
118
- "status": {
119
- "type": "string"
120
- }
121
- },
122
- "additionalProperties": true
123
- },
124
- "nullable": true
125
- },
126
- "error": {
127
- "type": "object",
128
- "example": {
129
- "redis": {
130
- "status": "down",
131
- "message": "Could not connect"
132
- }
133
- },
134
- "additionalProperties": {
135
- "type": "object",
136
- "required": [
137
- "status"
138
- ],
139
- "properties": {
140
- "status": {
141
- "type": "string"
142
- }
143
- },
144
- "additionalProperties": true
145
- },
146
- "nullable": true
147
- },
148
- "details": {
149
- "type": "object",
150
- "example": {
151
- "database": {
152
- "status": "up"
153
- },
154
- "redis": {
155
- "status": "down",
156
- "message": "Could not connect"
157
- }
158
- },
159
- "additionalProperties": {
160
- "type": "object",
161
- "required": [
162
- "status"
163
- ],
164
- "properties": {
165
- "status": {
166
- "type": "string"
167
- }
168
- },
169
- "additionalProperties": true
170
- }
171
- }
172
- }
173
- }
174
- }
175
- }
176
- }
177
- }
178
- }
179
- },
180
- "/v1/health-check/test-idempotency": {
181
- "post": {
182
- "operationId": "HealthController_testIdempotency",
183
- "x-speakeasy-name-override": "testIdempotency",
184
- "x-ignore": true,
185
- "parameters": [
186
- {
187
- "name": "idempotency-key",
188
- "in": "header",
189
- "description": "A header for idempotency purposes",
190
- "required": false,
191
- "schema": {
192
- "type": "string"
193
- }
194
- }
195
- ],
196
- "requestBody": {
197
- "required": true,
198
- "content": {
199
- "application/json": {
200
- "schema": {
201
- "$ref": "#/components/schemas/IdempotencyTestingDto"
202
- }
203
- }
204
- }
205
- },
206
- "responses": {
207
- "201": {
208
- "headers": {
209
- "Content-Type": {
210
- "$ref": "#/components/headers/Content-Type"
211
- },
212
- "RateLimit-Limit": {
213
- "$ref": "#/components/headers/RateLimit-Limit"
214
- },
215
- "RateLimit-Remaining": {
216
- "$ref": "#/components/headers/RateLimit-Remaining"
217
- },
218
- "RateLimit-Reset": {
219
- "$ref": "#/components/headers/RateLimit-Reset"
220
- },
221
- "RateLimit-Policy": {
222
- "$ref": "#/components/headers/RateLimit-Policy"
223
- },
224
- "Idempotency-Key": {
225
- "$ref": "#/components/headers/Idempotency-Key"
226
- },
227
- "Idempotency-Replay": {
228
- "$ref": "#/components/headers/Idempotency-Replay"
229
- }
230
- },
231
- "description": "",
232
- "content": {
233
- "application/json": {
234
- "schema": {
235
- "$ref": "#/components/schemas/IdempotenceTestingResponse"
236
- }
237
- }
238
- }
239
- },
240
- "400": {
241
- "description": "Bad Request",
242
- "headers": {
243
- "Content-Type": {
244
- "$ref": "#/components/headers/Content-Type"
245
- },
246
- "RateLimit-Limit": {
247
- "$ref": "#/components/headers/RateLimit-Limit"
248
- },
249
- "RateLimit-Remaining": {
250
- "$ref": "#/components/headers/RateLimit-Remaining"
251
- },
252
- "RateLimit-Reset": {
253
- "$ref": "#/components/headers/RateLimit-Reset"
254
- },
255
- "RateLimit-Policy": {
256
- "$ref": "#/components/headers/RateLimit-Policy"
257
- },
258
- "Idempotency-Key": {
259
- "$ref": "#/components/headers/Idempotency-Key"
260
- },
261
- "Idempotency-Replay": {
262
- "$ref": "#/components/headers/Idempotency-Replay"
263
- }
264
- },
265
- "content": {
266
- "application/json": {
267
- "schema": {
268
- "$ref": "#/components/schemas/ErrorDto"
269
- }
270
- }
271
- }
272
- },
273
- "401": {
274
- "description": "Unauthorized",
275
- "headers": {
276
- "Content-Type": {
277
- "$ref": "#/components/headers/Content-Type"
278
- },
279
- "RateLimit-Limit": {
280
- "$ref": "#/components/headers/RateLimit-Limit"
281
- },
282
- "RateLimit-Remaining": {
283
- "$ref": "#/components/headers/RateLimit-Remaining"
284
- },
285
- "RateLimit-Reset": {
286
- "$ref": "#/components/headers/RateLimit-Reset"
287
- },
288
- "RateLimit-Policy": {
289
- "$ref": "#/components/headers/RateLimit-Policy"
290
- },
291
- "Idempotency-Key": {
292
- "$ref": "#/components/headers/Idempotency-Key"
293
- },
294
- "Idempotency-Replay": {
295
- "$ref": "#/components/headers/Idempotency-Replay"
296
- }
297
- },
298
- "content": {
299
- "application/json": {
300
- "schema": {
301
- "$ref": "#/components/schemas/ErrorDto"
302
- }
303
- }
304
- }
305
- },
306
- "403": {
307
- "description": "Forbidden",
308
- "headers": {
309
- "Content-Type": {
310
- "$ref": "#/components/headers/Content-Type"
311
- },
312
- "RateLimit-Limit": {
313
- "$ref": "#/components/headers/RateLimit-Limit"
314
- },
315
- "RateLimit-Remaining": {
316
- "$ref": "#/components/headers/RateLimit-Remaining"
317
- },
318
- "RateLimit-Reset": {
319
- "$ref": "#/components/headers/RateLimit-Reset"
320
- },
321
- "RateLimit-Policy": {
322
- "$ref": "#/components/headers/RateLimit-Policy"
323
- },
324
- "Idempotency-Key": {
325
- "$ref": "#/components/headers/Idempotency-Key"
326
- },
327
- "Idempotency-Replay": {
328
- "$ref": "#/components/headers/Idempotency-Replay"
329
- }
330
- },
331
- "content": {
332
- "application/json": {
333
- "schema": {
334
- "$ref": "#/components/schemas/ErrorDto"
335
- }
336
- }
337
- }
338
- },
339
- "404": {
340
- "description": "Not Found",
341
- "headers": {
342
- "Content-Type": {
343
- "$ref": "#/components/headers/Content-Type"
344
- },
345
- "RateLimit-Limit": {
346
- "$ref": "#/components/headers/RateLimit-Limit"
347
- },
348
- "RateLimit-Remaining": {
349
- "$ref": "#/components/headers/RateLimit-Remaining"
350
- },
351
- "RateLimit-Reset": {
352
- "$ref": "#/components/headers/RateLimit-Reset"
353
- },
354
- "RateLimit-Policy": {
355
- "$ref": "#/components/headers/RateLimit-Policy"
356
- },
357
- "Idempotency-Key": {
358
- "$ref": "#/components/headers/Idempotency-Key"
359
- },
360
- "Idempotency-Replay": {
361
- "$ref": "#/components/headers/Idempotency-Replay"
362
- }
363
- },
364
- "content": {
365
- "application/json": {
366
- "schema": {
367
- "$ref": "#/components/schemas/ErrorDto"
368
- }
369
- }
370
- }
371
- },
372
- "405": {
373
- "description": "Method Not Allowed",
374
- "headers": {
375
- "Content-Type": {
376
- "$ref": "#/components/headers/Content-Type"
377
- },
378
- "RateLimit-Limit": {
379
- "$ref": "#/components/headers/RateLimit-Limit"
380
- },
381
- "RateLimit-Remaining": {
382
- "$ref": "#/components/headers/RateLimit-Remaining"
383
- },
384
- "RateLimit-Reset": {
385
- "$ref": "#/components/headers/RateLimit-Reset"
386
- },
387
- "RateLimit-Policy": {
388
- "$ref": "#/components/headers/RateLimit-Policy"
389
- },
390
- "Idempotency-Key": {
391
- "$ref": "#/components/headers/Idempotency-Key"
392
- },
393
- "Idempotency-Replay": {
394
- "$ref": "#/components/headers/Idempotency-Replay"
395
- }
396
- },
397
- "content": {
398
- "application/json": {
399
- "schema": {
400
- "$ref": "#/components/schemas/ErrorDto"
401
- }
402
- }
403
- }
404
- },
405
- "409": {
406
- "description": "Conflict",
407
- "headers": {
408
- "Content-Type": {
409
- "$ref": "#/components/headers/Content-Type"
410
- },
411
- "RateLimit-Limit": {
412
- "$ref": "#/components/headers/RateLimit-Limit"
413
- },
414
- "RateLimit-Remaining": {
415
- "$ref": "#/components/headers/RateLimit-Remaining"
416
- },
417
- "RateLimit-Reset": {
418
- "$ref": "#/components/headers/RateLimit-Reset"
419
- },
420
- "RateLimit-Policy": {
421
- "$ref": "#/components/headers/RateLimit-Policy"
422
- },
423
- "Idempotency-Key": {
424
- "$ref": "#/components/headers/Idempotency-Key"
425
- },
426
- "Idempotency-Replay": {
427
- "$ref": "#/components/headers/Idempotency-Replay"
428
- }
429
- },
430
- "content": {
431
- "application/json": {
432
- "schema": {
433
- "$ref": "#/components/schemas/ErrorDto"
434
- }
435
- }
436
- }
437
- },
438
- "413": {
439
- "description": "Payload Too Large",
440
- "headers": {
441
- "Content-Type": {
442
- "$ref": "#/components/headers/Content-Type"
443
- },
444
- "RateLimit-Limit": {
445
- "$ref": "#/components/headers/RateLimit-Limit"
446
- },
447
- "RateLimit-Remaining": {
448
- "$ref": "#/components/headers/RateLimit-Remaining"
449
- },
450
- "RateLimit-Reset": {
451
- "$ref": "#/components/headers/RateLimit-Reset"
452
- },
453
- "RateLimit-Policy": {
454
- "$ref": "#/components/headers/RateLimit-Policy"
455
- },
456
- "Idempotency-Key": {
457
- "$ref": "#/components/headers/Idempotency-Key"
458
- },
459
- "Idempotency-Replay": {
460
- "$ref": "#/components/headers/Idempotency-Replay"
461
- }
462
- },
463
- "content": {
464
- "application/json": {
465
- "schema": {
466
- "$ref": "#/components/schemas/ErrorDto"
467
- }
468
- }
469
- }
470
- },
471
- "414": {
472
- "description": "URI Too Long",
473
- "content": {
474
- "application/json": {
475
- "schema": {
476
- "$ref": "#/components/schemas/ErrorDto"
477
- }
478
- }
479
- }
480
- },
481
- "415": {
482
- "description": "Unsupported Media Type",
483
- "headers": {
484
- "Content-Type": {
485
- "$ref": "#/components/headers/Content-Type"
486
- },
487
- "RateLimit-Limit": {
488
- "$ref": "#/components/headers/RateLimit-Limit"
489
- },
490
- "RateLimit-Remaining": {
491
- "$ref": "#/components/headers/RateLimit-Remaining"
492
- },
493
- "RateLimit-Reset": {
494
- "$ref": "#/components/headers/RateLimit-Reset"
495
- },
496
- "RateLimit-Policy": {
497
- "$ref": "#/components/headers/RateLimit-Policy"
498
- },
499
- "Idempotency-Key": {
500
- "$ref": "#/components/headers/Idempotency-Key"
501
- },
502
- "Idempotency-Replay": {
503
- "$ref": "#/components/headers/Idempotency-Replay"
504
- }
505
- },
506
- "content": {
507
- "application/json": {
508
- "schema": {
509
- "$ref": "#/components/schemas/ErrorDto"
510
- }
511
- }
512
- }
513
- },
514
- "422": {
515
- "description": "Unprocessable Entity",
516
- "headers": {
517
- "Content-Type": {
518
- "$ref": "#/components/headers/Content-Type"
519
- },
520
- "RateLimit-Limit": {
521
- "$ref": "#/components/headers/RateLimit-Limit"
522
- },
523
- "RateLimit-Remaining": {
524
- "$ref": "#/components/headers/RateLimit-Remaining"
525
- },
526
- "RateLimit-Reset": {
527
- "$ref": "#/components/headers/RateLimit-Reset"
528
- },
529
- "RateLimit-Policy": {
530
- "$ref": "#/components/headers/RateLimit-Policy"
531
- },
532
- "Idempotency-Key": {
533
- "$ref": "#/components/headers/Idempotency-Key"
534
- },
535
- "Idempotency-Replay": {
536
- "$ref": "#/components/headers/Idempotency-Replay"
537
- }
538
- },
539
- "content": {
540
- "application/json": {
541
- "schema": {
542
- "$ref": "#/components/schemas/ValidationErrorDto"
543
- }
544
- }
545
- }
546
- },
547
- "429": {
548
- "description": "The client has sent too many requests in a given amount of time. ",
549
- "headers": {
550
- "Content-Type": {
551
- "$ref": "#/components/headers/Content-Type"
552
- },
553
- "RateLimit-Limit": {
554
- "$ref": "#/components/headers/RateLimit-Limit"
555
- },
556
- "RateLimit-Remaining": {
557
- "$ref": "#/components/headers/RateLimit-Remaining"
558
- },
559
- "RateLimit-Reset": {
560
- "$ref": "#/components/headers/RateLimit-Reset"
561
- },
562
- "RateLimit-Policy": {
563
- "$ref": "#/components/headers/RateLimit-Policy"
564
- },
565
- "Idempotency-Key": {
566
- "$ref": "#/components/headers/Idempotency-Key"
567
- },
568
- "Idempotency-Replay": {
569
- "$ref": "#/components/headers/Idempotency-Replay"
570
- },
571
- "Retry-After": {
572
- "$ref": "#/components/headers/Retry-After"
573
- }
574
- },
575
- "content": {
576
- "application/json": {
577
- "schema": {
578
- "type": "string",
579
- "example": "API rate limit exceeded"
580
- }
581
- }
582
- }
583
- },
584
- "500": {
585
- "description": "Internal Server Error",
586
- "headers": {
587
- "Content-Type": {
588
- "$ref": "#/components/headers/Content-Type"
589
- },
590
- "RateLimit-Limit": {
591
- "$ref": "#/components/headers/RateLimit-Limit"
592
- },
593
- "RateLimit-Remaining": {
594
- "$ref": "#/components/headers/RateLimit-Remaining"
595
- },
596
- "RateLimit-Reset": {
597
- "$ref": "#/components/headers/RateLimit-Reset"
598
- },
599
- "RateLimit-Policy": {
600
- "$ref": "#/components/headers/RateLimit-Policy"
601
- },
602
- "Idempotency-Key": {
603
- "$ref": "#/components/headers/Idempotency-Key"
604
- },
605
- "Idempotency-Replay": {
606
- "$ref": "#/components/headers/Idempotency-Replay"
607
- }
608
- },
609
- "content": {
610
- "application/json": {
611
- "schema": {
612
- "$ref": "#/components/schemas/ErrorDto"
613
- }
614
- }
615
- }
616
- },
617
- "503": {
618
- "description": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.",
619
- "headers": {
620
- "Content-Type": {
621
- "$ref": "#/components/headers/Content-Type"
622
- },
623
- "RateLimit-Limit": {
624
- "$ref": "#/components/headers/RateLimit-Limit"
625
- },
626
- "RateLimit-Remaining": {
627
- "$ref": "#/components/headers/RateLimit-Remaining"
628
- },
629
- "RateLimit-Reset": {
630
- "$ref": "#/components/headers/RateLimit-Reset"
631
- },
632
- "RateLimit-Policy": {
633
- "$ref": "#/components/headers/RateLimit-Policy"
634
- },
635
- "Idempotency-Key": {
636
- "$ref": "#/components/headers/Idempotency-Key"
637
- },
638
- "Idempotency-Replay": {
639
- "$ref": "#/components/headers/Idempotency-Replay"
640
- },
641
- "Retry-After": {
642
- "$ref": "#/components/headers/Retry-After"
643
- }
644
- },
645
- "content": {
646
- "application/json": {
647
- "schema": {
648
- "type": "string",
649
- "example": "Please wait some time, then try again."
650
- }
651
- }
652
- }
653
- }
654
- },
655
- "security": [
656
- {
657
- "api-key": []
658
- }
659
- ]
660
- },
661
- "get": {
662
- "operationId": "HealthController_generateRandomNumber",
663
- "x-speakeasy-name-override": "generateRandomNumber",
664
- "x-ignore": true,
665
- "parameters": [
666
- {
667
- "name": "idempotency-key",
668
- "in": "header",
669
- "description": "A header for idempotency purposes",
670
- "required": false,
671
- "schema": {
672
- "type": "string"
673
- }
674
- }
675
- ],
676
- "responses": {
677
- "201": {
678
- "headers": {
679
- "Content-Type": {
680
- "$ref": "#/components/headers/Content-Type"
681
- },
682
- "RateLimit-Limit": {
683
- "$ref": "#/components/headers/RateLimit-Limit"
684
- },
685
- "RateLimit-Remaining": {
686
- "$ref": "#/components/headers/RateLimit-Remaining"
687
- },
688
- "RateLimit-Reset": {
689
- "$ref": "#/components/headers/RateLimit-Reset"
690
- },
691
- "RateLimit-Policy": {
692
- "$ref": "#/components/headers/RateLimit-Policy"
693
- },
694
- "Idempotency-Key": {
695
- "$ref": "#/components/headers/Idempotency-Key"
696
- },
697
- "Idempotency-Replay": {
698
- "$ref": "#/components/headers/Idempotency-Replay"
699
- }
700
- },
701
- "description": "",
702
- "content": {
703
- "application/json": {
704
- "schema": {
705
- "$ref": "#/components/schemas/IdempotenceTestingResponse"
706
- }
707
- }
708
- }
709
- },
710
- "400": {
711
- "description": "Bad Request",
712
- "headers": {
713
- "Content-Type": {
714
- "$ref": "#/components/headers/Content-Type"
715
- },
716
- "RateLimit-Limit": {
717
- "$ref": "#/components/headers/RateLimit-Limit"
718
- },
719
- "RateLimit-Remaining": {
720
- "$ref": "#/components/headers/RateLimit-Remaining"
721
- },
722
- "RateLimit-Reset": {
723
- "$ref": "#/components/headers/RateLimit-Reset"
724
- },
725
- "RateLimit-Policy": {
726
- "$ref": "#/components/headers/RateLimit-Policy"
727
- },
728
- "Idempotency-Key": {
729
- "$ref": "#/components/headers/Idempotency-Key"
730
- },
731
- "Idempotency-Replay": {
732
- "$ref": "#/components/headers/Idempotency-Replay"
733
- }
734
- },
735
- "content": {
736
- "application/json": {
737
- "schema": {
738
- "$ref": "#/components/schemas/ErrorDto"
739
- }
740
- }
741
- }
742
- },
743
- "401": {
744
- "description": "Unauthorized",
745
- "headers": {
746
- "Content-Type": {
747
- "$ref": "#/components/headers/Content-Type"
748
- },
749
- "RateLimit-Limit": {
750
- "$ref": "#/components/headers/RateLimit-Limit"
751
- },
752
- "RateLimit-Remaining": {
753
- "$ref": "#/components/headers/RateLimit-Remaining"
754
- },
755
- "RateLimit-Reset": {
756
- "$ref": "#/components/headers/RateLimit-Reset"
757
- },
758
- "RateLimit-Policy": {
759
- "$ref": "#/components/headers/RateLimit-Policy"
760
- },
761
- "Idempotency-Key": {
762
- "$ref": "#/components/headers/Idempotency-Key"
763
- },
764
- "Idempotency-Replay": {
765
- "$ref": "#/components/headers/Idempotency-Replay"
766
- }
767
- },
768
- "content": {
769
- "application/json": {
770
- "schema": {
771
- "$ref": "#/components/schemas/ErrorDto"
772
- }
773
- }
774
- }
775
- },
776
- "403": {
777
- "description": "Forbidden",
778
- "headers": {
779
- "Content-Type": {
780
- "$ref": "#/components/headers/Content-Type"
781
- },
782
- "RateLimit-Limit": {
783
- "$ref": "#/components/headers/RateLimit-Limit"
784
- },
785
- "RateLimit-Remaining": {
786
- "$ref": "#/components/headers/RateLimit-Remaining"
787
- },
788
- "RateLimit-Reset": {
789
- "$ref": "#/components/headers/RateLimit-Reset"
790
- },
791
- "RateLimit-Policy": {
792
- "$ref": "#/components/headers/RateLimit-Policy"
793
- },
794
- "Idempotency-Key": {
795
- "$ref": "#/components/headers/Idempotency-Key"
796
- },
797
- "Idempotency-Replay": {
798
- "$ref": "#/components/headers/Idempotency-Replay"
799
- }
800
- },
801
- "content": {
802
- "application/json": {
803
- "schema": {
804
- "$ref": "#/components/schemas/ErrorDto"
805
- }
806
- }
807
- }
808
- },
809
- "404": {
810
- "description": "Not Found",
811
- "headers": {
812
- "Content-Type": {
813
- "$ref": "#/components/headers/Content-Type"
814
- },
815
- "RateLimit-Limit": {
816
- "$ref": "#/components/headers/RateLimit-Limit"
817
- },
818
- "RateLimit-Remaining": {
819
- "$ref": "#/components/headers/RateLimit-Remaining"
820
- },
821
- "RateLimit-Reset": {
822
- "$ref": "#/components/headers/RateLimit-Reset"
823
- },
824
- "RateLimit-Policy": {
825
- "$ref": "#/components/headers/RateLimit-Policy"
826
- },
827
- "Idempotency-Key": {
828
- "$ref": "#/components/headers/Idempotency-Key"
829
- },
830
- "Idempotency-Replay": {
831
- "$ref": "#/components/headers/Idempotency-Replay"
832
- }
833
- },
834
- "content": {
835
- "application/json": {
836
- "schema": {
837
- "$ref": "#/components/schemas/ErrorDto"
838
- }
839
- }
840
- }
841
- },
842
- "405": {
843
- "description": "Method Not Allowed",
844
- "headers": {
845
- "Content-Type": {
846
- "$ref": "#/components/headers/Content-Type"
847
- },
848
- "RateLimit-Limit": {
849
- "$ref": "#/components/headers/RateLimit-Limit"
850
- },
851
- "RateLimit-Remaining": {
852
- "$ref": "#/components/headers/RateLimit-Remaining"
853
- },
854
- "RateLimit-Reset": {
855
- "$ref": "#/components/headers/RateLimit-Reset"
856
- },
857
- "RateLimit-Policy": {
858
- "$ref": "#/components/headers/RateLimit-Policy"
859
- },
860
- "Idempotency-Key": {
861
- "$ref": "#/components/headers/Idempotency-Key"
862
- },
863
- "Idempotency-Replay": {
864
- "$ref": "#/components/headers/Idempotency-Replay"
865
- }
866
- },
867
- "content": {
868
- "application/json": {
869
- "schema": {
870
- "$ref": "#/components/schemas/ErrorDto"
871
- }
872
- }
873
- }
874
- },
875
- "409": {
876
- "description": "Conflict",
877
- "headers": {
878
- "Content-Type": {
879
- "$ref": "#/components/headers/Content-Type"
880
- },
881
- "RateLimit-Limit": {
882
- "$ref": "#/components/headers/RateLimit-Limit"
883
- },
884
- "RateLimit-Remaining": {
885
- "$ref": "#/components/headers/RateLimit-Remaining"
886
- },
887
- "RateLimit-Reset": {
888
- "$ref": "#/components/headers/RateLimit-Reset"
889
- },
890
- "RateLimit-Policy": {
891
- "$ref": "#/components/headers/RateLimit-Policy"
892
- },
893
- "Idempotency-Key": {
894
- "$ref": "#/components/headers/Idempotency-Key"
895
- },
896
- "Idempotency-Replay": {
897
- "$ref": "#/components/headers/Idempotency-Replay"
898
- }
899
- },
900
- "content": {
901
- "application/json": {
902
- "schema": {
903
- "$ref": "#/components/schemas/ErrorDto"
904
- }
905
- }
906
- }
907
- },
908
- "413": {
909
- "description": "Payload Too Large",
910
- "headers": {
911
- "Content-Type": {
912
- "$ref": "#/components/headers/Content-Type"
913
- },
914
- "RateLimit-Limit": {
915
- "$ref": "#/components/headers/RateLimit-Limit"
916
- },
917
- "RateLimit-Remaining": {
918
- "$ref": "#/components/headers/RateLimit-Remaining"
919
- },
920
- "RateLimit-Reset": {
921
- "$ref": "#/components/headers/RateLimit-Reset"
922
- },
923
- "RateLimit-Policy": {
924
- "$ref": "#/components/headers/RateLimit-Policy"
925
- },
926
- "Idempotency-Key": {
927
- "$ref": "#/components/headers/Idempotency-Key"
928
- },
929
- "Idempotency-Replay": {
930
- "$ref": "#/components/headers/Idempotency-Replay"
931
- }
932
- },
933
- "content": {
934
- "application/json": {
935
- "schema": {
936
- "$ref": "#/components/schemas/ErrorDto"
937
- }
938
- }
939
- }
940
- },
941
- "414": {
942
- "description": "URI Too Long",
943
- "content": {
944
- "application/json": {
945
- "schema": {
946
- "$ref": "#/components/schemas/ErrorDto"
947
- }
948
- }
949
- }
950
- },
951
- "415": {
952
- "description": "Unsupported Media Type",
953
- "headers": {
954
- "Content-Type": {
955
- "$ref": "#/components/headers/Content-Type"
956
- },
957
- "RateLimit-Limit": {
958
- "$ref": "#/components/headers/RateLimit-Limit"
959
- },
960
- "RateLimit-Remaining": {
961
- "$ref": "#/components/headers/RateLimit-Remaining"
962
- },
963
- "RateLimit-Reset": {
964
- "$ref": "#/components/headers/RateLimit-Reset"
965
- },
966
- "RateLimit-Policy": {
967
- "$ref": "#/components/headers/RateLimit-Policy"
968
- },
969
- "Idempotency-Key": {
970
- "$ref": "#/components/headers/Idempotency-Key"
971
- },
972
- "Idempotency-Replay": {
973
- "$ref": "#/components/headers/Idempotency-Replay"
974
- }
975
- },
976
- "content": {
977
- "application/json": {
978
- "schema": {
979
- "$ref": "#/components/schemas/ErrorDto"
980
- }
981
- }
982
- }
983
- },
984
- "422": {
985
- "description": "Unprocessable Entity",
986
- "headers": {
987
- "Content-Type": {
988
- "$ref": "#/components/headers/Content-Type"
989
- },
990
- "RateLimit-Limit": {
991
- "$ref": "#/components/headers/RateLimit-Limit"
992
- },
993
- "RateLimit-Remaining": {
994
- "$ref": "#/components/headers/RateLimit-Remaining"
995
- },
996
- "RateLimit-Reset": {
997
- "$ref": "#/components/headers/RateLimit-Reset"
998
- },
999
- "RateLimit-Policy": {
1000
- "$ref": "#/components/headers/RateLimit-Policy"
1001
- },
1002
- "Idempotency-Key": {
1003
- "$ref": "#/components/headers/Idempotency-Key"
1004
- },
1005
- "Idempotency-Replay": {
1006
- "$ref": "#/components/headers/Idempotency-Replay"
1007
- }
1008
- },
1009
- "content": {
1010
- "application/json": {
1011
- "schema": {
1012
- "$ref": "#/components/schemas/ValidationErrorDto"
1013
- }
1014
- }
1015
- }
1016
- },
1017
- "429": {
1018
- "description": "The client has sent too many requests in a given amount of time. ",
1019
- "headers": {
1020
- "Content-Type": {
1021
- "$ref": "#/components/headers/Content-Type"
1022
- },
1023
- "RateLimit-Limit": {
1024
- "$ref": "#/components/headers/RateLimit-Limit"
1025
- },
1026
- "RateLimit-Remaining": {
1027
- "$ref": "#/components/headers/RateLimit-Remaining"
1028
- },
1029
- "RateLimit-Reset": {
1030
- "$ref": "#/components/headers/RateLimit-Reset"
1031
- },
1032
- "RateLimit-Policy": {
1033
- "$ref": "#/components/headers/RateLimit-Policy"
1034
- },
1035
- "Idempotency-Key": {
1036
- "$ref": "#/components/headers/Idempotency-Key"
1037
- },
1038
- "Idempotency-Replay": {
1039
- "$ref": "#/components/headers/Idempotency-Replay"
1040
- },
1041
- "Retry-After": {
1042
- "$ref": "#/components/headers/Retry-After"
1043
- }
1044
- },
1045
- "content": {
1046
- "application/json": {
1047
- "schema": {
1048
- "type": "string",
1049
- "example": "API rate limit exceeded"
1050
- }
1051
- }
1052
- }
1053
- },
1054
- "500": {
1055
- "description": "Internal Server Error",
1056
- "headers": {
1057
- "Content-Type": {
1058
- "$ref": "#/components/headers/Content-Type"
1059
- },
1060
- "RateLimit-Limit": {
1061
- "$ref": "#/components/headers/RateLimit-Limit"
1062
- },
1063
- "RateLimit-Remaining": {
1064
- "$ref": "#/components/headers/RateLimit-Remaining"
1065
- },
1066
- "RateLimit-Reset": {
1067
- "$ref": "#/components/headers/RateLimit-Reset"
1068
- },
1069
- "RateLimit-Policy": {
1070
- "$ref": "#/components/headers/RateLimit-Policy"
1071
- },
1072
- "Idempotency-Key": {
1073
- "$ref": "#/components/headers/Idempotency-Key"
1074
- },
1075
- "Idempotency-Replay": {
1076
- "$ref": "#/components/headers/Idempotency-Replay"
1077
- }
1078
- },
1079
- "content": {
1080
- "application/json": {
1081
- "schema": {
1082
- "$ref": "#/components/schemas/ErrorDto"
1083
- }
1084
- }
1085
- }
1086
- },
1087
- "503": {
1088
- "description": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.",
1089
- "headers": {
1090
- "Content-Type": {
1091
- "$ref": "#/components/headers/Content-Type"
1092
- },
1093
- "RateLimit-Limit": {
1094
- "$ref": "#/components/headers/RateLimit-Limit"
1095
- },
1096
- "RateLimit-Remaining": {
1097
- "$ref": "#/components/headers/RateLimit-Remaining"
1098
- },
1099
- "RateLimit-Reset": {
1100
- "$ref": "#/components/headers/RateLimit-Reset"
1101
- },
1102
- "RateLimit-Policy": {
1103
- "$ref": "#/components/headers/RateLimit-Policy"
1104
- },
1105
- "Idempotency-Key": {
1106
- "$ref": "#/components/headers/Idempotency-Key"
1107
- },
1108
- "Idempotency-Replay": {
1109
- "$ref": "#/components/headers/Idempotency-Replay"
1110
- },
1111
- "Retry-After": {
1112
- "$ref": "#/components/headers/Retry-After"
1113
- }
1114
- },
1115
- "content": {
1116
- "application/json": {
1117
- "schema": {
1118
- "type": "string",
1119
- "example": "Please wait some time, then try again."
1120
- }
1121
- }
1122
- }
1123
- }
1124
- },
1125
- "security": [
1126
- {
1127
- "api-key": []
1128
- }
1129
- ]
1130
- }
1131
- },
1132
4
  "/v1/events/trigger": {
1133
5
  "post": {
1134
6
  "operationId": "EventsController_trigger",
@@ -24761,39 +23633,6 @@
24761
23633
  "errors"
24762
23634
  ]
24763
23635
  },
24764
- "IdempotencyBehaviorEnum": {
24765
- "type": "string",
24766
- "description": "The expected behavior of the idempotency request",
24767
- "enum": [
24768
- "IMMEDIATE_RESPONSE",
24769
- "IMMEDIATE_EXCEPTION",
24770
- "DELAYED_RESPONSE"
24771
- ]
24772
- },
24773
- "IdempotencyTestingDto": {
24774
- "type": "object",
24775
- "properties": {
24776
- "expectedBehavior": {
24777
- "$ref": "#/components/schemas/IdempotencyBehaviorEnum"
24778
- }
24779
- },
24780
- "required": [
24781
- "expectedBehavior"
24782
- ]
24783
- },
24784
- "IdempotenceTestingResponse": {
24785
- "type": "object",
24786
- "properties": {
24787
- "number": {
24788
- "type": "number",
24789
- "description": "A unique number representing the idempotency response",
24790
- "example": 1
24791
- }
24792
- },
24793
- "required": [
24794
- "number"
24795
- ]
24796
- },
24797
23636
  "TriggerEventResponseDto": {
24798
23637
  "type": "object",
24799
23638
  "properties": {