@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.
- package/dist-mjs/openapi/generate-schema.mjs +7 -1
- package/package.json +1 -1
- package/src/openapi/generate-schema.ts +6 -0
- package/src/services/interchange/v1/swagger.schema.deref.json +1 -75
- package/src/services/interchange/v1/swagger.schema.json +1 -51
- package/src/services/ledger/v1/swagger.schema.deref.json +49 -2610
- package/src/services/ledger/v1/swagger.schema.json +106 -878
- package/src/services/link/v1/swagger.schema.deref.json +3 -426
- package/src/services/link/v1/swagger.schema.json +3 -261
- package/src/services/message/v1/swagger.schema.deref.json +1669 -8447
- package/src/services/message/v1/swagger.schema.json +5 -531
- package/src/services/message/v2/swagger.schema.deref.json +5125 -27716
- package/src/services/message/v2/swagger.schema.json +5 -523
- package/src/services/paymentCard/v1/swagger.schema.deref.json +36 -1185
- package/src/services/paymentCard/v1/swagger.schema.json +5 -499
- package/src/services/paymentCard/v2/swagger.schema.deref.json +60 -1186
- package/src/services/paymentCard/v2/swagger.schema.json +5 -511
- package/src/services/person/v1/swagger.schema.deref.json +510 -2348
- package/src/services/person/v1/swagger.schema.json +4 -470
- package/src/services/teampayClientManagement/v1/swagger.schema.deref.json +155 -1254
- package/src/services/teampayClientManagement/v1/swagger.schema.json +3 -369
|
@@ -1,212 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"apis": {
|
|
3
|
-
"/payment-card/v2/ping": {
|
|
4
|
-
|
|
5
|
-
"request": {
|
|
6
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
7
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/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/payment-card/v2/schemas/api/PingGetResponseOK",
|
|
22
|
-
"type": "object",
|
|
23
|
-
"properties": {
|
|
24
|
-
"headers": {
|
|
25
|
-
"type": "object",
|
|
26
|
-
"additionalProperties": true
|
|
27
|
-
},
|
|
28
|
-
"body": {
|
|
29
|
-
"$ref": "/payment-card/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/payment-card/v2/schemas/api/PingGetResponseDefault",
|
|
38
|
-
"type": "object",
|
|
39
|
-
"properties": {
|
|
40
|
-
"headers": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"additionalProperties": true
|
|
43
|
-
},
|
|
44
|
-
"body": {
|
|
45
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"required": ["body"],
|
|
49
|
-
"additionalProperties": false
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"/payment-card/v2/tenant/:tenantId/public-key": {
|
|
55
|
-
"get": {
|
|
56
|
-
"request": {
|
|
57
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
58
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/PublicKeyGetRequestContext",
|
|
59
|
-
"type": "object",
|
|
60
|
-
"properties": {
|
|
61
|
-
"params": {
|
|
62
|
-
"type": "object",
|
|
63
|
-
"additionalProperties": false,
|
|
64
|
-
"properties": {
|
|
65
|
-
"tenantId": {
|
|
66
|
-
"type": "string"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"required": ["tenantId"]
|
|
70
|
-
},
|
|
71
|
-
"headers": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"additionalProperties": true
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"required": ["params"],
|
|
77
|
-
"additionalProperties": false
|
|
78
|
-
},
|
|
79
|
-
"responses": {
|
|
80
|
-
"200": {
|
|
81
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
82
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/PublicKeyGetResponseOK",
|
|
83
|
-
"type": "object",
|
|
84
|
-
"properties": {
|
|
85
|
-
"headers": {
|
|
86
|
-
"type": "object",
|
|
87
|
-
"properties": {
|
|
88
|
-
"created-on": {
|
|
89
|
-
"type": "string",
|
|
90
|
-
"format": "date-time"
|
|
91
|
-
},
|
|
92
|
-
"updated-on": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"format": "date-time"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"body": {
|
|
99
|
-
"$ref": "/payment-card/v2/schemas/definitions/PublicKeyResponse"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"required": ["body"],
|
|
103
|
-
"additionalProperties": false
|
|
104
|
-
},
|
|
105
|
-
"default": {
|
|
106
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
107
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/PublicKeyGetResponseDefault",
|
|
108
|
-
"type": "object",
|
|
109
|
-
"properties": {
|
|
110
|
-
"headers": {
|
|
111
|
-
"type": "object",
|
|
112
|
-
"additionalProperties": true
|
|
113
|
-
},
|
|
114
|
-
"body": {
|
|
115
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"required": ["body"],
|
|
119
|
-
"additionalProperties": false
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
},
|
|
3
|
+
"/payment-card/v2/ping": {},
|
|
4
|
+
"/payment-card/v2/tenant/:tenantId/public-key": {},
|
|
124
5
|
"/payment-card/v2/tenant/:tenantId/data-encryption-key/:dataEncryptionKeyId": {
|
|
125
|
-
"get": {
|
|
126
|
-
"request": {
|
|
127
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
128
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyGetRequestContext",
|
|
129
|
-
"type": "object",
|
|
130
|
-
"properties": {
|
|
131
|
-
"params": {
|
|
132
|
-
"type": "object",
|
|
133
|
-
"additionalProperties": false,
|
|
134
|
-
"properties": {
|
|
135
|
-
"tenantId": {
|
|
136
|
-
"type": "string"
|
|
137
|
-
},
|
|
138
|
-
"dataEncryptionKeyId": {
|
|
139
|
-
"type": "string",
|
|
140
|
-
"format": "uuid"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"required": ["tenantId", "dataEncryptionKeyId"]
|
|
144
|
-
},
|
|
145
|
-
"headers": {
|
|
146
|
-
"type": "object",
|
|
147
|
-
"additionalProperties": true
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"required": ["params"],
|
|
151
|
-
"additionalProperties": false
|
|
152
|
-
},
|
|
153
|
-
"responses": {
|
|
154
|
-
"200": {
|
|
155
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
156
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyGetResponseOK",
|
|
157
|
-
"type": "object",
|
|
158
|
-
"properties": {
|
|
159
|
-
"headers": {
|
|
160
|
-
"type": "object",
|
|
161
|
-
"properties": {
|
|
162
|
-
"created-on": {
|
|
163
|
-
"type": "string",
|
|
164
|
-
"format": "date-time"
|
|
165
|
-
},
|
|
166
|
-
"updated-on": {
|
|
167
|
-
"type": "string",
|
|
168
|
-
"format": "date-time"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
"body": {
|
|
173
|
-
"$ref": "/payment-card/v2/schemas/definitions/DataEncryptionKeyResponse"
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"required": ["body"],
|
|
177
|
-
"additionalProperties": false
|
|
178
|
-
},
|
|
179
|
-
"404": {
|
|
180
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
181
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyGetResponseNotFound",
|
|
182
|
-
"type": "object",
|
|
183
|
-
"properties": {
|
|
184
|
-
"headers": {
|
|
185
|
-
"type": "object",
|
|
186
|
-
"additionalProperties": true
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"required": [],
|
|
190
|
-
"additionalProperties": false
|
|
191
|
-
},
|
|
192
|
-
"default": {
|
|
193
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
194
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/DataEncryptionKeyGetResponseDefault",
|
|
195
|
-
"type": "object",
|
|
196
|
-
"properties": {
|
|
197
|
-
"headers": {
|
|
198
|
-
"type": "object",
|
|
199
|
-
"additionalProperties": true
|
|
200
|
-
},
|
|
201
|
-
"body": {
|
|
202
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"required": ["body"],
|
|
206
|
-
"additionalProperties": false
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
6
|
"put": {
|
|
211
7
|
"request": {
|
|
212
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -283,160 +79,8 @@
|
|
|
283
79
|
}
|
|
284
80
|
}
|
|
285
81
|
},
|
|
286
|
-
"/payment-card/v2/tenant/:tenantId/card": {
|
|
287
|
-
"get": {
|
|
288
|
-
"request": {
|
|
289
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
290
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardQueryRequestContext",
|
|
291
|
-
"type": "object",
|
|
292
|
-
"properties": {
|
|
293
|
-
"params": {
|
|
294
|
-
"type": "object",
|
|
295
|
-
"additionalProperties": false,
|
|
296
|
-
"properties": {
|
|
297
|
-
"cardNumberHash": {
|
|
298
|
-
"$ref": "/payment-card/v2/schemas/definitions/Hash"
|
|
299
|
-
},
|
|
300
|
-
"at": {
|
|
301
|
-
"type": "string",
|
|
302
|
-
"format": "date-time"
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
"required": ["cardNumberHash", "at"]
|
|
306
|
-
},
|
|
307
|
-
"headers": {
|
|
308
|
-
"type": "object",
|
|
309
|
-
"additionalProperties": true
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
"required": ["params", "query"],
|
|
313
|
-
"additionalProperties": false
|
|
314
|
-
},
|
|
315
|
-
"responses": {
|
|
316
|
-
"200": {
|
|
317
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
318
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardQueryResponseOK",
|
|
319
|
-
"type": "object",
|
|
320
|
-
"properties": {
|
|
321
|
-
"headers": {
|
|
322
|
-
"type": "object",
|
|
323
|
-
"additionalProperties": true
|
|
324
|
-
},
|
|
325
|
-
"body": {
|
|
326
|
-
"$ref": "/payment-card/v2/schemas/definitions/Query"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
"required": ["body"],
|
|
330
|
-
"additionalProperties": false
|
|
331
|
-
},
|
|
332
|
-
"default": {
|
|
333
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
334
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardQueryResponseDefault",
|
|
335
|
-
"type": "object",
|
|
336
|
-
"properties": {
|
|
337
|
-
"headers": {
|
|
338
|
-
"type": "object",
|
|
339
|
-
"additionalProperties": true
|
|
340
|
-
},
|
|
341
|
-
"body": {
|
|
342
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
"required": ["body"],
|
|
346
|
-
"additionalProperties": false
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
},
|
|
82
|
+
"/payment-card/v2/tenant/:tenantId/card": {},
|
|
351
83
|
"/payment-card/v2/tenant/:tenantId/card/:cardId": {
|
|
352
|
-
"get": {
|
|
353
|
-
"request": {
|
|
354
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
355
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardGetRequestContext",
|
|
356
|
-
"type": "object",
|
|
357
|
-
"properties": {
|
|
358
|
-
"params": {
|
|
359
|
-
"type": "object",
|
|
360
|
-
"additionalProperties": false,
|
|
361
|
-
"properties": {
|
|
362
|
-
"at": {
|
|
363
|
-
"type": "string",
|
|
364
|
-
"format": "date-time"
|
|
365
|
-
},
|
|
366
|
-
"publicKeyHashQuery": {
|
|
367
|
-
"$ref": "/payment-card/v2/schemas/definitions/Hash"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
"required": ["at"]
|
|
371
|
-
},
|
|
372
|
-
"headers": {
|
|
373
|
-
"type": "object",
|
|
374
|
-
"additionalProperties": true
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
"required": ["params", "query"],
|
|
378
|
-
"additionalProperties": false
|
|
379
|
-
},
|
|
380
|
-
"responses": {
|
|
381
|
-
"200": {
|
|
382
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
383
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardGetResponseOK",
|
|
384
|
-
"type": "object",
|
|
385
|
-
"properties": {
|
|
386
|
-
"headers": {
|
|
387
|
-
"type": "object",
|
|
388
|
-
"properties": {
|
|
389
|
-
"created-on": {
|
|
390
|
-
"type": "string",
|
|
391
|
-
"format": "date-time"
|
|
392
|
-
},
|
|
393
|
-
"updated-on": {
|
|
394
|
-
"type": "string",
|
|
395
|
-
"format": "date-time"
|
|
396
|
-
},
|
|
397
|
-
"etag": {
|
|
398
|
-
"type": "string"
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
"body": {
|
|
403
|
-
"$ref": "/payment-card/v2/schemas/definitions/CardResponse"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
|
-
"required": ["body"],
|
|
407
|
-
"additionalProperties": false
|
|
408
|
-
},
|
|
409
|
-
"404": {
|
|
410
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
411
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardGetResponseNotFound",
|
|
412
|
-
"type": "object",
|
|
413
|
-
"properties": {
|
|
414
|
-
"headers": {
|
|
415
|
-
"type": "object",
|
|
416
|
-
"additionalProperties": true
|
|
417
|
-
}
|
|
418
|
-
},
|
|
419
|
-
"required": [],
|
|
420
|
-
"additionalProperties": false
|
|
421
|
-
},
|
|
422
|
-
"default": {
|
|
423
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
424
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardGetResponseDefault",
|
|
425
|
-
"type": "object",
|
|
426
|
-
"properties": {
|
|
427
|
-
"headers": {
|
|
428
|
-
"type": "object",
|
|
429
|
-
"additionalProperties": true
|
|
430
|
-
},
|
|
431
|
-
"body": {
|
|
432
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
433
|
-
}
|
|
434
|
-
},
|
|
435
|
-
"required": ["body"],
|
|
436
|
-
"additionalProperties": false
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
},
|
|
440
84
|
"put": {
|
|
441
85
|
"request": {
|
|
442
86
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -1042,88 +686,7 @@
|
|
|
1042
686
|
}
|
|
1043
687
|
}
|
|
1044
688
|
},
|
|
1045
|
-
"/payment-card/v2/tenant/:tenantId/card/:cardId/history": {
|
|
1046
|
-
"get": {
|
|
1047
|
-
"request": {
|
|
1048
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1049
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardHistoryGetRequestContext",
|
|
1050
|
-
"type": "object",
|
|
1051
|
-
"properties": {
|
|
1052
|
-
"params": {
|
|
1053
|
-
"type": "object",
|
|
1054
|
-
"additionalProperties": false,
|
|
1055
|
-
"properties": {
|
|
1056
|
-
"fromDate": {
|
|
1057
|
-
"type": "string",
|
|
1058
|
-
"format": "date-time"
|
|
1059
|
-
},
|
|
1060
|
-
"toDate": {
|
|
1061
|
-
"type": "string",
|
|
1062
|
-
"format": "date-time"
|
|
1063
|
-
},
|
|
1064
|
-
"publicKeyHashQuery": {
|
|
1065
|
-
"$ref": "/payment-card/v2/schemas/definitions/Hash"
|
|
1066
|
-
}
|
|
1067
|
-
},
|
|
1068
|
-
"required": ["toDate"]
|
|
1069
|
-
},
|
|
1070
|
-
"headers": {
|
|
1071
|
-
"type": "object",
|
|
1072
|
-
"additionalProperties": true
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
"required": ["params", "query"],
|
|
1076
|
-
"additionalProperties": false
|
|
1077
|
-
},
|
|
1078
|
-
"responses": {
|
|
1079
|
-
"200": {
|
|
1080
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1081
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardHistoryGetResponseOK",
|
|
1082
|
-
"type": "object",
|
|
1083
|
-
"properties": {
|
|
1084
|
-
"headers": {
|
|
1085
|
-
"type": "object",
|
|
1086
|
-
"additionalProperties": true
|
|
1087
|
-
},
|
|
1088
|
-
"body": {
|
|
1089
|
-
"$ref": "/payment-card/v2/schemas/definitions/History"
|
|
1090
|
-
}
|
|
1091
|
-
},
|
|
1092
|
-
"required": ["body"],
|
|
1093
|
-
"additionalProperties": false
|
|
1094
|
-
},
|
|
1095
|
-
"404": {
|
|
1096
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1097
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardHistoryGetResponseNotFound",
|
|
1098
|
-
"type": "object",
|
|
1099
|
-
"properties": {
|
|
1100
|
-
"headers": {
|
|
1101
|
-
"type": "object",
|
|
1102
|
-
"additionalProperties": true
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
"required": [],
|
|
1106
|
-
"additionalProperties": false
|
|
1107
|
-
},
|
|
1108
|
-
"default": {
|
|
1109
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1110
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardHistoryGetResponseDefault",
|
|
1111
|
-
"type": "object",
|
|
1112
|
-
"properties": {
|
|
1113
|
-
"headers": {
|
|
1114
|
-
"type": "object",
|
|
1115
|
-
"additionalProperties": true
|
|
1116
|
-
},
|
|
1117
|
-
"body": {
|
|
1118
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
1119
|
-
}
|
|
1120
|
-
},
|
|
1121
|
-
"required": ["body"],
|
|
1122
|
-
"additionalProperties": false
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
689
|
+
"/payment-card/v2/tenant/:tenantId/card/:cardId/history": {},
|
|
1127
690
|
"/payment-card/v2/tenant/:tenantId/card/:cardId/lock/:lockStatus": {
|
|
1128
691
|
"put": {
|
|
1129
692
|
"request": {
|
|
@@ -1492,76 +1055,7 @@
|
|
|
1492
1055
|
}
|
|
1493
1056
|
}
|
|
1494
1057
|
},
|
|
1495
|
-
"/payment-card/v2/tenant/:tenantId/card-number/:cardId/key/:publicKeyHashPath": {
|
|
1496
|
-
"put": {
|
|
1497
|
-
"request": {
|
|
1498
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1499
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberKeyPutRequestContext",
|
|
1500
|
-
"type": "object",
|
|
1501
|
-
"properties": {
|
|
1502
|
-
"params": {
|
|
1503
|
-
"type": "object",
|
|
1504
|
-
"additionalProperties": false,
|
|
1505
|
-
"properties": {
|
|
1506
|
-
"tenantId": {
|
|
1507
|
-
"type": "string"
|
|
1508
|
-
},
|
|
1509
|
-
"cardId": {
|
|
1510
|
-
"$ref": "/payment-card/v2/schemas/definitions/CardId"
|
|
1511
|
-
},
|
|
1512
|
-
"publicKeyHashPath": {
|
|
1513
|
-
"$ref": "/payment-card/v2/schemas/definitions/Hash"
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
"required": ["tenantId", "cardId", "publicKeyHashPath"]
|
|
1517
|
-
},
|
|
1518
|
-
"headers": {
|
|
1519
|
-
"type": "object",
|
|
1520
|
-
"additionalProperties": true
|
|
1521
|
-
},
|
|
1522
|
-
"body": {
|
|
1523
|
-
"$ref": "/payment-card/v2/schemas/definitions/CardNumberRequest"
|
|
1524
|
-
}
|
|
1525
|
-
},
|
|
1526
|
-
"required": ["params", "body"],
|
|
1527
|
-
"additionalProperties": false
|
|
1528
|
-
},
|
|
1529
|
-
"responses": {
|
|
1530
|
-
"200": {
|
|
1531
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1532
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberKeyPutResponseOK",
|
|
1533
|
-
"type": "object",
|
|
1534
|
-
"properties": {
|
|
1535
|
-
"headers": {
|
|
1536
|
-
"type": "object",
|
|
1537
|
-
"additionalProperties": true
|
|
1538
|
-
},
|
|
1539
|
-
"body": {
|
|
1540
|
-
"$ref": "/payment-card/v2/schemas/definitions/EncryptedCardNumber"
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
"required": ["body"],
|
|
1544
|
-
"additionalProperties": false
|
|
1545
|
-
},
|
|
1546
|
-
"default": {
|
|
1547
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1548
|
-
"$id": "https://eslint-plugin.checkdigit/payment-card/v2/schemas/api/CardNumberKeyPutResponseDefault",
|
|
1549
|
-
"type": "object",
|
|
1550
|
-
"properties": {
|
|
1551
|
-
"headers": {
|
|
1552
|
-
"type": "object",
|
|
1553
|
-
"additionalProperties": true
|
|
1554
|
-
},
|
|
1555
|
-
"body": {
|
|
1556
|
-
"$ref": "/payment-card/v2/schemas/definitions/Error"
|
|
1557
|
-
}
|
|
1558
|
-
},
|
|
1559
|
-
"required": ["body"],
|
|
1560
|
-
"additionalProperties": false
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
},
|
|
1058
|
+
"/payment-card/v2/tenant/:tenantId/card-number/:cardId/key/:publicKeyHashPath": {},
|
|
1565
1059
|
"/payment-card/v2/tenant/:tenantId/pin-offset-key/:pinOffsetKeyId": {
|
|
1566
1060
|
"put": {
|
|
1567
1061
|
"request": {
|