@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,199 +1,8 @@
1
1
  {
2
2
  "apis": {
3
- "/payment-card/v1/ping": {
4
- "get": {
5
- "request": {
6
- "$schema": "https://json-schema.org/draft/2020-12/schema",
7
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/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/payment-card/v1/schemas/api/PingGetResponseOK",
22
- "type": "object",
23
- "properties": {
24
- "headers": {
25
- "type": "object",
26
- "additionalProperties": true
27
- },
28
- "body": {
29
- "$ref": "/payment-card/v1/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/payment-card/v1/schemas/api/PingGetResponseDefault",
38
- "type": "object",
39
- "properties": {
40
- "headers": {
41
- "type": "object",
42
- "additionalProperties": true
43
- },
44
- "body": {
45
- "$ref": "/payment-card/v1/schemas/definitions/Error"
46
- }
47
- },
48
- "required": ["body"],
49
- "additionalProperties": false
50
- }
51
- }
52
- }
53
- },
54
- "/payment-card/v1/public-key": {
55
- "get": {
56
- "request": {
57
- "$schema": "https://json-schema.org/draft/2020-12/schema",
58
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/PublicKeyGetRequestContext",
59
- "type": "object",
60
- "properties": {
61
- "headers": {
62
- "type": "object",
63
- "additionalProperties": true
64
- }
65
- },
66
- "required": [],
67
- "additionalProperties": false
68
- },
69
- "responses": {
70
- "200": {
71
- "$schema": "https://json-schema.org/draft/2020-12/schema",
72
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/PublicKeyGetResponseOK",
73
- "type": "object",
74
- "properties": {
75
- "headers": {
76
- "type": "object",
77
- "properties": {
78
- "created-on": {
79
- "type": "string",
80
- "format": "date-time"
81
- },
82
- "updated-on": {
83
- "type": "string",
84
- "format": "date-time"
85
- }
86
- }
87
- },
88
- "body": {
89
- "$ref": "/payment-card/v1/schemas/definitions/PublicKeyResponse"
90
- }
91
- },
92
- "required": ["body"],
93
- "additionalProperties": false
94
- },
95
- "default": {
96
- "$schema": "https://json-schema.org/draft/2020-12/schema",
97
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/PublicKeyGetResponseDefault",
98
- "type": "object",
99
- "properties": {
100
- "headers": {
101
- "type": "object",
102
- "additionalProperties": true
103
- },
104
- "body": {
105
- "$ref": "/payment-card/v1/schemas/definitions/Error"
106
- }
107
- },
108
- "required": ["body"],
109
- "additionalProperties": false
110
- }
111
- }
112
- }
113
- },
3
+ "/payment-card/v1/ping": {},
4
+ "/payment-card/v1/public-key": {},
114
5
  "/payment-card/v1/data-encryption-key/:dataEncryptionKeyId": {
115
- "get": {
116
- "request": {
117
- "$schema": "https://json-schema.org/draft/2020-12/schema",
118
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/DataEncryptionKeyGetRequestContext",
119
- "type": "object",
120
- "properties": {
121
- "params": {
122
- "type": "object",
123
- "additionalProperties": false,
124
- "properties": {
125
- "dataEncryptionKeyId": {
126
- "type": "string",
127
- "format": "uuid"
128
- }
129
- },
130
- "required": ["dataEncryptionKeyId"]
131
- },
132
- "headers": {
133
- "type": "object",
134
- "additionalProperties": true
135
- }
136
- },
137
- "required": ["params"],
138
- "additionalProperties": false
139
- },
140
- "responses": {
141
- "200": {
142
- "$schema": "https://json-schema.org/draft/2020-12/schema",
143
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/DataEncryptionKeyGetResponseOK",
144
- "type": "object",
145
- "properties": {
146
- "headers": {
147
- "type": "object",
148
- "properties": {
149
- "created-on": {
150
- "type": "string",
151
- "format": "date-time"
152
- },
153
- "updated-on": {
154
- "type": "string",
155
- "format": "date-time"
156
- }
157
- }
158
- },
159
- "body": {
160
- "$ref": "/payment-card/v1/schemas/definitions/DataEncryptionKeyResponse"
161
- }
162
- },
163
- "required": ["body"],
164
- "additionalProperties": false
165
- },
166
- "404": {
167
- "$schema": "https://json-schema.org/draft/2020-12/schema",
168
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/DataEncryptionKeyGetResponseNotFound",
169
- "type": "object",
170
- "properties": {
171
- "headers": {
172
- "type": "object",
173
- "additionalProperties": true
174
- }
175
- },
176
- "required": [],
177
- "additionalProperties": false
178
- },
179
- "default": {
180
- "$schema": "https://json-schema.org/draft/2020-12/schema",
181
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/DataEncryptionKeyGetResponseDefault",
182
- "type": "object",
183
- "properties": {
184
- "headers": {
185
- "type": "object",
186
- "additionalProperties": true
187
- },
188
- "body": {
189
- "$ref": "/payment-card/v1/schemas/definitions/Error"
190
- }
191
- },
192
- "required": ["body"],
193
- "additionalProperties": false
194
- }
195
- }
196
- },
197
6
  "put": {
198
7
  "request": {
199
8
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -267,164 +76,8 @@
267
76
  }
268
77
  }
269
78
  },
270
- "/payment-card/v1/card": {
271
- "get": {
272
- "request": {
273
- "$schema": "https://json-schema.org/draft/2020-12/schema",
274
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardQueryRequestContext",
275
- "type": "object",
276
- "properties": {
277
- "params": {
278
- "type": "object",
279
- "additionalProperties": false,
280
- "properties": {
281
- "cardNumberHash": {
282
- "$ref": "/payment-card/v1/schemas/definitions/Hash"
283
- },
284
- "at": {
285
- "type": "string",
286
- "format": "date-time"
287
- }
288
- },
289
- "required": ["cardNumberHash", "at"]
290
- },
291
- "headers": {
292
- "type": "object",
293
- "additionalProperties": true
294
- }
295
- },
296
- "required": ["query"],
297
- "additionalProperties": false
298
- },
299
- "responses": {
300
- "200": {
301
- "$schema": "https://json-schema.org/draft/2020-12/schema",
302
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardQueryResponseOK",
303
- "type": "object",
304
- "properties": {
305
- "headers": {
306
- "type": "object",
307
- "additionalProperties": true
308
- },
309
- "body": {
310
- "$ref": "/payment-card/v1/schemas/definitions/Query"
311
- }
312
- },
313
- "required": ["body"],
314
- "additionalProperties": false
315
- },
316
- "default": {
317
- "$schema": "https://json-schema.org/draft/2020-12/schema",
318
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardQueryResponseDefault",
319
- "type": "object",
320
- "properties": {
321
- "headers": {
322
- "type": "object",
323
- "additionalProperties": true
324
- },
325
- "body": {
326
- "$ref": "/payment-card/v1/schemas/definitions/Error"
327
- }
328
- },
329
- "required": ["body"],
330
- "additionalProperties": false
331
- }
332
- }
333
- }
334
- },
79
+ "/payment-card/v1/card": {},
335
80
  "/payment-card/v1/card/:cardId": {
336
- "get": {
337
- "request": {
338
- "$schema": "https://json-schema.org/draft/2020-12/schema",
339
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardGetRequestContext",
340
- "type": "object",
341
- "properties": {
342
- "params": {
343
- "type": "object",
344
- "additionalProperties": false,
345
- "properties": {
346
- "at": {
347
- "type": "string",
348
- "format": "date-time"
349
- },
350
- "publicKeyHashQuery": {
351
- "$ref": "/payment-card/v1/schemas/definitions/Hash"
352
- }
353
- },
354
- "required": ["at"]
355
- },
356
- "headers": {
357
- "type": "object",
358
- "additionalProperties": true
359
- }
360
- },
361
- "required": ["params", "query"],
362
- "additionalProperties": false
363
- },
364
- "responses": {
365
- "200": {
366
- "$schema": "https://json-schema.org/draft/2020-12/schema",
367
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardGetResponseOK",
368
- "type": "object",
369
- "properties": {
370
- "headers": {
371
- "type": "object",
372
- "properties": {
373
- "last-modified": {
374
- "type": "string",
375
- "format": "date-time"
376
- },
377
- "created-on": {
378
- "type": "string",
379
- "format": "date-time"
380
- },
381
- "updated-on": {
382
- "type": "string",
383
- "format": "date-time"
384
- },
385
- "etag": {
386
- "type": "string"
387
- }
388
- }
389
- },
390
- "body": {
391
- "$ref": "/payment-card/v1/schemas/definitions/CardResponse"
392
- }
393
- },
394
- "required": ["body"],
395
- "additionalProperties": false
396
- },
397
- "404": {
398
- "$schema": "https://json-schema.org/draft/2020-12/schema",
399
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardGetResponseNotFound",
400
- "type": "object",
401
- "properties": {
402
- "headers": {
403
- "type": "object",
404
- "additionalProperties": true
405
- }
406
- },
407
- "required": [],
408
- "additionalProperties": false
409
- },
410
- "default": {
411
- "$schema": "https://json-schema.org/draft/2020-12/schema",
412
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardGetResponseDefault",
413
- "type": "object",
414
- "properties": {
415
- "headers": {
416
- "type": "object",
417
- "additionalProperties": true
418
- },
419
- "body": {
420
- "$ref": "/payment-card/v1/schemas/definitions/Error"
421
- }
422
- },
423
- "required": ["body"],
424
- "additionalProperties": false
425
- }
426
- }
427
- },
428
81
  "put": {
429
82
  "request": {
430
83
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1124,88 +777,7 @@
1124
777
  }
1125
778
  }
1126
779
  },
1127
- "/payment-card/v1/card/:cardId/history": {
1128
- "get": {
1129
- "request": {
1130
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1131
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardHistoryGetRequestContext",
1132
- "type": "object",
1133
- "properties": {
1134
- "params": {
1135
- "type": "object",
1136
- "additionalProperties": false,
1137
- "properties": {
1138
- "fromDate": {
1139
- "type": "string",
1140
- "format": "date-time"
1141
- },
1142
- "toDate": {
1143
- "type": "string",
1144
- "format": "date-time"
1145
- },
1146
- "publicKeyHashQuery": {
1147
- "$ref": "/payment-card/v1/schemas/definitions/Hash"
1148
- }
1149
- },
1150
- "required": ["toDate"]
1151
- },
1152
- "headers": {
1153
- "type": "object",
1154
- "additionalProperties": true
1155
- }
1156
- },
1157
- "required": ["params", "query"],
1158
- "additionalProperties": false
1159
- },
1160
- "responses": {
1161
- "200": {
1162
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1163
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardHistoryGetResponseOK",
1164
- "type": "object",
1165
- "properties": {
1166
- "headers": {
1167
- "type": "object",
1168
- "additionalProperties": true
1169
- },
1170
- "body": {
1171
- "$ref": "/payment-card/v1/schemas/definitions/History"
1172
- }
1173
- },
1174
- "required": ["body"],
1175
- "additionalProperties": false
1176
- },
1177
- "404": {
1178
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1179
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardHistoryGetResponseNotFound",
1180
- "type": "object",
1181
- "properties": {
1182
- "headers": {
1183
- "type": "object",
1184
- "additionalProperties": true
1185
- }
1186
- },
1187
- "required": [],
1188
- "additionalProperties": false
1189
- },
1190
- "default": {
1191
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1192
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardHistoryGetResponseDefault",
1193
- "type": "object",
1194
- "properties": {
1195
- "headers": {
1196
- "type": "object",
1197
- "additionalProperties": true
1198
- },
1199
- "body": {
1200
- "$ref": "/payment-card/v1/schemas/definitions/Error"
1201
- }
1202
- },
1203
- "required": ["body"],
1204
- "additionalProperties": false
1205
- }
1206
- }
1207
- }
1208
- },
780
+ "/payment-card/v1/card/:cardId/history": {},
1209
781
  "/payment-card/v1/card/:cardId/lock/:lockStatus": {
1210
782
  "put": {
1211
783
  "request": {
@@ -1531,73 +1103,7 @@
1531
1103
  }
1532
1104
  }
1533
1105
  },
1534
- "/payment-card/v1/card-number/:cardId/key/:publicKeyHashPath": {
1535
- "put": {
1536
- "request": {
1537
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1538
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardNumberKeyPutRequestContext",
1539
- "type": "object",
1540
- "properties": {
1541
- "params": {
1542
- "type": "object",
1543
- "additionalProperties": false,
1544
- "properties": {
1545
- "cardId": {
1546
- "$ref": "/payment-card/v1/schemas/definitions/CardId"
1547
- },
1548
- "publicKeyHashPath": {
1549
- "$ref": "/payment-card/v1/schemas/definitions/Hash"
1550
- }
1551
- },
1552
- "required": ["cardId", "publicKeyHashPath"]
1553
- },
1554
- "headers": {
1555
- "type": "object",
1556
- "additionalProperties": true
1557
- },
1558
- "body": {
1559
- "$ref": "/payment-card/v1/schemas/definitions/CardNumberRequest"
1560
- }
1561
- },
1562
- "required": ["params", "body"],
1563
- "additionalProperties": false
1564
- },
1565
- "responses": {
1566
- "200": {
1567
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1568
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardNumberKeyPutResponseOK",
1569
- "type": "object",
1570
- "properties": {
1571
- "headers": {
1572
- "type": "object",
1573
- "additionalProperties": true
1574
- },
1575
- "body": {
1576
- "$ref": "/payment-card/v1/schemas/definitions/EncryptedCardNumber"
1577
- }
1578
- },
1579
- "required": ["body"],
1580
- "additionalProperties": false
1581
- },
1582
- "default": {
1583
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1584
- "$id": "https://eslint-plugin.checkdigit/payment-card/v1/schemas/api/CardNumberKeyPutResponseDefault",
1585
- "type": "object",
1586
- "properties": {
1587
- "headers": {
1588
- "type": "object",
1589
- "additionalProperties": true
1590
- },
1591
- "body": {
1592
- "$ref": "/payment-card/v1/schemas/definitions/Error"
1593
- }
1594
- },
1595
- "required": ["body"],
1596
- "additionalProperties": false
1597
- }
1598
- }
1599
- }
1600
- },
1106
+ "/payment-card/v1/card-number/:cardId/key/:publicKeyHashPath": {},
1601
1107
  "/payment-card/v1/pin-offset-key/:pinOffsetKeyId": {
1602
1108
  "put": {
1603
1109
  "request": {