@checkdigit/eslint-plugin 7.18.0-PR.143-072f → 7.18.0-PR.143-518d

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.
@@ -1,293 +1,9 @@
1
1
  {
2
2
  "apis": {
3
- "/message/v2/ping": {
4
- "get": {
5
- "request": {
6
- "$schema": "https://json-schema.org/draft/2020-12/schema",
7
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PingGetRequestContext",
8
- "type": "object",
9
- "properties": {
10
- "headers": {
11
- "type": "object",
12
- "additionalProperties": true
13
- }
14
- },
15
- "required": [],
16
- "additionalProperties": false
17
- },
18
- "responses": {
19
- "200": {
20
- "$schema": "https://json-schema.org/draft/2020-12/schema",
21
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PingGetResponseOK",
22
- "type": "object",
23
- "properties": {
24
- "headers": {
25
- "type": "object",
26
- "additionalProperties": true
27
- },
28
- "body": {
29
- "$ref": "/message/v2/schemas/definitions/Ping"
30
- }
31
- },
32
- "required": ["body"],
33
- "additionalProperties": false
34
- },
35
- "default": {
36
- "$schema": "https://json-schema.org/draft/2020-12/schema",
37
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PingGetResponseDefault",
38
- "type": "object",
39
- "properties": {
40
- "headers": {
41
- "type": "object",
42
- "additionalProperties": true
43
- },
44
- "body": {
45
- "$ref": "/message/v2/schemas/definitions/Error"
46
- }
47
- },
48
- "required": ["body"],
49
- "additionalProperties": false
50
- }
51
- }
52
- }
53
- },
54
- "/message/v2/request": {
55
- "get": {
56
- "request": {
57
- "$schema": "https://json-schema.org/draft/2020-12/schema",
58
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestQueryGetRequestContext",
59
- "type": "object",
60
- "properties": {
61
- "params": {
62
- "type": "object",
63
- "additionalProperties": false,
64
- "properties": {
65
- "cardIds": {
66
- "type": "array",
67
- "minItems": 1,
68
- "items": {
69
- "$ref": "/message/v2/schemas/definitions/CardId"
70
- }
71
- },
72
- "toDate": {
73
- "type": "string",
74
- "format": "date-time"
75
- },
76
- "fromDate": {
77
- "type": "string",
78
- "format": "date-time"
79
- }
80
- },
81
- "required": ["cardIds", "toDate"]
82
- },
83
- "headers": {
84
- "type": "object",
85
- "additionalProperties": true
86
- }
87
- },
88
- "required": ["query"],
89
- "additionalProperties": false
90
- },
91
- "responses": {
92
- "200": {
93
- "$schema": "https://json-schema.org/draft/2020-12/schema",
94
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestQueryGetResponseOK",
95
- "type": "object",
96
- "properties": {
97
- "headers": {
98
- "type": "object",
99
- "additionalProperties": true
100
- },
101
- "body": {
102
- "$ref": "/message/v2/schemas/definitions/Requests"
103
- }
104
- },
105
- "required": ["body"],
106
- "additionalProperties": false
107
- },
108
- "default": {
109
- "$schema": "https://json-schema.org/draft/2020-12/schema",
110
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestQueryGetResponseDefault",
111
- "type": "object",
112
- "properties": {
113
- "headers": {
114
- "type": "object",
115
- "additionalProperties": true
116
- },
117
- "body": {
118
- "$ref": "/message/v2/schemas/definitions/Error"
119
- }
120
- },
121
- "required": ["body"],
122
- "additionalProperties": false
123
- }
124
- }
125
- }
126
- },
127
- "/message/v2/picked-request": {
128
- "get": {
129
- "request": {
130
- "$schema": "https://json-schema.org/draft/2020-12/schema",
131
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PickedRequestGetRequestContext",
132
- "type": "object",
133
- "properties": {
134
- "params": {
135
- "type": "object",
136
- "additionalProperties": false,
137
- "properties": {
138
- "cardIds": {
139
- "type": "array",
140
- "minItems": 1,
141
- "items": {
142
- "$ref": "/message/v2/schemas/definitions/CardId"
143
- }
144
- },
145
- "toDate": {
146
- "type": "string",
147
- "format": "date-time"
148
- },
149
- "fromDate": {
150
- "type": "string",
151
- "format": "date-time"
152
- },
153
- "fields": {
154
- "type": "array",
155
- "minItems": 1,
156
- "items": {
157
- "$ref": "/message/v2/schemas/definitions/RequestField"
158
- }
159
- }
160
- },
161
- "required": ["cardIds", "toDate", "fields"]
162
- },
163
- "headers": {
164
- "type": "object",
165
- "additionalProperties": true
166
- }
167
- },
168
- "required": ["query"],
169
- "additionalProperties": false
170
- },
171
- "responses": {
172
- "200": {
173
- "$schema": "https://json-schema.org/draft/2020-12/schema",
174
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PickedRequestGetResponseOK",
175
- "type": "object",
176
- "properties": {
177
- "headers": {
178
- "type": "object",
179
- "additionalProperties": true
180
- },
181
- "body": {
182
- "$ref": "/message/v2/schemas/definitions/PickedRequests"
183
- }
184
- },
185
- "required": ["body"],
186
- "additionalProperties": false
187
- },
188
- "default": {
189
- "$schema": "https://json-schema.org/draft/2020-12/schema",
190
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PickedRequestGetResponseDefault",
191
- "type": "object",
192
- "properties": {
193
- "headers": {
194
- "type": "object",
195
- "additionalProperties": true
196
- },
197
- "body": {
198
- "$ref": "/message/v2/schemas/definitions/Error"
199
- }
200
- },
201
- "required": ["body"],
202
- "additionalProperties": false
203
- }
204
- }
205
- }
206
- },
3
+ "/message/v2/ping": {},
4
+ "/message/v2/request": {},
5
+ "/message/v2/picked-request": {},
207
6
  "/message/v2/request/:messageId": {
208
- "get": {
209
- "request": {
210
- "$schema": "https://json-schema.org/draft/2020-12/schema",
211
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestGetRequestContext",
212
- "type": "object",
213
- "properties": {
214
- "params": {
215
- "type": "object",
216
- "additionalProperties": false,
217
- "properties": {
218
- "at": {
219
- "type": "string",
220
- "format": "date-time"
221
- }
222
- },
223
- "required": ["at"]
224
- },
225
- "headers": {
226
- "type": "object",
227
- "additionalProperties": true
228
- }
229
- },
230
- "required": ["params", "query"],
231
- "additionalProperties": false
232
- },
233
- "responses": {
234
- "200": {
235
- "$schema": "https://json-schema.org/draft/2020-12/schema",
236
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestGetResponseOK",
237
- "type": "object",
238
- "properties": {
239
- "headers": {
240
- "type": "object",
241
- "properties": {
242
- "created-on": {
243
- "type": "string",
244
- "format": "date-time"
245
- },
246
- "updated-on": {
247
- "type": "string",
248
- "format": "date-time"
249
- }
250
- },
251
- "required": ["created-on", "updated-on"]
252
- },
253
- "body": {
254
- "$ref": "/message/v2/schemas/definitions/Request"
255
- }
256
- },
257
- "required": ["headers", "body"],
258
- "additionalProperties": false
259
- },
260
- "404": {
261
- "$schema": "https://json-schema.org/draft/2020-12/schema",
262
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestGetResponseNotFound",
263
- "type": "object",
264
- "properties": {
265
- "headers": {
266
- "type": "object",
267
- "additionalProperties": true
268
- }
269
- },
270
- "required": [],
271
- "additionalProperties": false
272
- },
273
- "default": {
274
- "$schema": "https://json-schema.org/draft/2020-12/schema",
275
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/RequestGetResponseDefault",
276
- "type": "object",
277
- "properties": {
278
- "headers": {
279
- "type": "object",
280
- "additionalProperties": true
281
- },
282
- "body": {
283
- "$ref": "/message/v2/schemas/definitions/Error"
284
- }
285
- },
286
- "required": ["body"],
287
- "additionalProperties": false
288
- }
289
- }
290
- },
291
7
  "put": {
292
8
  "request": {
293
9
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -378,243 +94,9 @@
378
94
  }
379
95
  }
380
96
  },
381
- "/message/v2/response": {
382
- "get": {
383
- "request": {
384
- "$schema": "https://json-schema.org/draft/2020-12/schema",
385
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseQueryGetRequestContext",
386
- "type": "object",
387
- "properties": {
388
- "params": {
389
- "type": "object",
390
- "additionalProperties": false,
391
- "properties": {
392
- "cardIds": {
393
- "type": "array",
394
- "minItems": 1,
395
- "items": {
396
- "$ref": "/message/v2/schemas/definitions/CardId"
397
- }
398
- },
399
- "toDate": {
400
- "type": "string",
401
- "format": "date-time"
402
- },
403
- "fromDate": {
404
- "type": "string",
405
- "format": "date-time"
406
- }
407
- },
408
- "required": ["cardIds", "toDate"]
409
- },
410
- "headers": {
411
- "type": "object",
412
- "additionalProperties": true
413
- }
414
- },
415
- "required": ["query"],
416
- "additionalProperties": false
417
- },
418
- "responses": {
419
- "200": {
420
- "$schema": "https://json-schema.org/draft/2020-12/schema",
421
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseQueryGetResponseOK",
422
- "type": "object",
423
- "properties": {
424
- "headers": {
425
- "type": "object",
426
- "additionalProperties": true
427
- },
428
- "body": {
429
- "$ref": "/message/v2/schemas/definitions/Responses"
430
- }
431
- },
432
- "required": ["body"],
433
- "additionalProperties": false
434
- },
435
- "default": {
436
- "$schema": "https://json-schema.org/draft/2020-12/schema",
437
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseQueryGetResponseDefault",
438
- "type": "object",
439
- "properties": {
440
- "headers": {
441
- "type": "object",
442
- "additionalProperties": true
443
- },
444
- "body": {
445
- "$ref": "/message/v2/schemas/definitions/Error"
446
- }
447
- },
448
- "required": ["body"],
449
- "additionalProperties": false
450
- }
451
- }
452
- }
453
- },
454
- "/message/v2/picked-response": {
455
- "get": {
456
- "request": {
457
- "$schema": "https://json-schema.org/draft/2020-12/schema",
458
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PickedResponseGetRequestContext",
459
- "type": "object",
460
- "properties": {
461
- "params": {
462
- "type": "object",
463
- "additionalProperties": false,
464
- "properties": {
465
- "cardIds": {
466
- "type": "array",
467
- "minItems": 1,
468
- "items": {
469
- "$ref": "/message/v2/schemas/definitions/CardId"
470
- }
471
- },
472
- "toDate": {
473
- "type": "string",
474
- "format": "date-time"
475
- },
476
- "fromDate": {
477
- "type": "string",
478
- "format": "date-time"
479
- },
480
- "fields": {
481
- "type": "array",
482
- "minItems": 1,
483
- "items": {
484
- "$ref": "/message/v2/schemas/definitions/ResponseField"
485
- }
486
- }
487
- },
488
- "required": ["cardIds", "toDate", "fields"]
489
- },
490
- "headers": {
491
- "type": "object",
492
- "additionalProperties": true
493
- }
494
- },
495
- "required": ["query"],
496
- "additionalProperties": false
497
- },
498
- "responses": {
499
- "200": {
500
- "$schema": "https://json-schema.org/draft/2020-12/schema",
501
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PickedResponseGetResponseOK",
502
- "type": "object",
503
- "properties": {
504
- "headers": {
505
- "type": "object",
506
- "additionalProperties": true
507
- },
508
- "body": {
509
- "$ref": "/message/v2/schemas/definitions/PickedResponses"
510
- }
511
- },
512
- "required": ["body"],
513
- "additionalProperties": false
514
- },
515
- "default": {
516
- "$schema": "https://json-schema.org/draft/2020-12/schema",
517
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/PickedResponseGetResponseDefault",
518
- "type": "object",
519
- "properties": {
520
- "headers": {
521
- "type": "object",
522
- "additionalProperties": true
523
- },
524
- "body": {
525
- "$ref": "/message/v2/schemas/definitions/Error"
526
- }
527
- },
528
- "required": ["body"],
529
- "additionalProperties": false
530
- }
531
- }
532
- }
533
- },
97
+ "/message/v2/response": {},
98
+ "/message/v2/picked-response": {},
534
99
  "/message/v2/response/:messageId": {
535
- "get": {
536
- "request": {
537
- "$schema": "https://json-schema.org/draft/2020-12/schema",
538
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseGetRequestContext",
539
- "type": "object",
540
- "properties": {
541
- "params": {
542
- "type": "object",
543
- "additionalProperties": false,
544
- "properties": {
545
- "at": {
546
- "type": "string",
547
- "format": "date-time"
548
- }
549
- },
550
- "required": ["at"]
551
- },
552
- "headers": {
553
- "type": "object",
554
- "additionalProperties": true
555
- }
556
- },
557
- "required": ["params", "query"],
558
- "additionalProperties": false
559
- },
560
- "responses": {
561
- "200": {
562
- "$schema": "https://json-schema.org/draft/2020-12/schema",
563
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseGetResponseOK",
564
- "type": "object",
565
- "properties": {
566
- "headers": {
567
- "type": "object",
568
- "properties": {
569
- "created-on": {
570
- "type": "string",
571
- "format": "date-time"
572
- },
573
- "updated-on": {
574
- "type": "string",
575
- "format": "date-time"
576
- }
577
- },
578
- "required": ["created-on", "updated-on"]
579
- },
580
- "body": {
581
- "$ref": "/message/v2/schemas/definitions/Response"
582
- }
583
- },
584
- "required": ["headers", "body"],
585
- "additionalProperties": false
586
- },
587
- "404": {
588
- "$schema": "https://json-schema.org/draft/2020-12/schema",
589
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseGetResponseNotFound",
590
- "type": "object",
591
- "properties": {
592
- "headers": {
593
- "type": "object",
594
- "additionalProperties": true
595
- }
596
- },
597
- "required": [],
598
- "additionalProperties": false
599
- },
600
- "default": {
601
- "$schema": "https://json-schema.org/draft/2020-12/schema",
602
- "$id": "https://eslint-plugin.checkdigit/message/v2/schemas/api/ResponseGetResponseDefault",
603
- "type": "object",
604
- "properties": {
605
- "headers": {
606
- "type": "object",
607
- "additionalProperties": true
608
- },
609
- "body": {
610
- "$ref": "/message/v2/schemas/definitions/Error"
611
- }
612
- },
613
- "required": ["body"],
614
- "additionalProperties": false
615
- }
616
- }
617
- },
618
100
  "put": {
619
101
  "request": {
620
102
  "$schema": "https://json-schema.org/draft/2020-12/schema",