@fleetless/contracts 15.6.0 → 16.0.0-next.2
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/CHANGELOG.md +62 -0
- package/artifacts/openapi.json +5501 -90
- package/artifacts/routes.json +30 -7
- package/artifacts/schema/billing-change-response.schema.json +1 -57
- package/artifacts/schema/billing-decision-display-response.schema.json +465 -9
- package/artifacts/schema/billing-decision-snapshot.schema.json +465 -9
- package/artifacts/schema/checkout-draft-response.schema.json +384 -0
- package/artifacts/schema/checkout-open-details.schema.json +46 -0
- package/artifacts/schema/checkout-response.schema.json +1 -4
- package/artifacts/schema/checkout-start-response.schema.json +4141 -0
- package/artifacts/schema/plan-change-prepare-response.schema.json +465 -9
- package/artifacts/schema/purchase-conflict-details.schema.json +20 -4
- package/artifacts/schema/purchase-hold-reason.schema.json +1 -4
- package/artifacts/schema/purchase-intent-draft.schema.json +1 -4
- package/artifacts/schema/purchase-intent-response.schema.json +1 -4
- package/artifacts/schema/vies-unavailable-details.schema.json +28 -0
- package/dist/billing.d.ts +4675 -1146
- package/dist/billing.js +278 -21
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/org-roles.d.ts +4 -4
- package/dist/routes.js +55 -8
- package/package.json +1 -1
|
@@ -966,11 +966,27 @@
|
|
|
966
966
|
"properties": {
|
|
967
967
|
"text_id": {
|
|
968
968
|
"type": "string",
|
|
969
|
-
"
|
|
969
|
+
"enum": [
|
|
970
|
+
"C4-1168-checkout",
|
|
971
|
+
"C4-1168-pay-and-switch",
|
|
972
|
+
"C4-1168-switch",
|
|
973
|
+
"C4-1168-schedule-switch",
|
|
974
|
+
"C4-1168-schedule-downgrade",
|
|
975
|
+
"C4-1168-cancel",
|
|
976
|
+
"C4-1168-keep-basic"
|
|
977
|
+
],
|
|
978
|
+
"description": "The approved sentence this display shows, one per action."
|
|
970
979
|
},
|
|
971
980
|
"text": {
|
|
972
981
|
"type": "string",
|
|
973
|
-
"minLength": 1
|
|
982
|
+
"minLength": 1,
|
|
983
|
+
"pattern": "^By selecting “",
|
|
984
|
+
"description": "The consent sentence shown directly above the button, naming the button."
|
|
985
|
+
},
|
|
986
|
+
"action_label": {
|
|
987
|
+
"type": "string",
|
|
988
|
+
"minLength": 1,
|
|
989
|
+
"description": "The label of the one button that confirms this decision."
|
|
974
990
|
},
|
|
975
991
|
"terms": {
|
|
976
992
|
"type": "object",
|
|
@@ -1030,10 +1046,146 @@
|
|
|
1030
1046
|
"required": [
|
|
1031
1047
|
"text_id",
|
|
1032
1048
|
"text",
|
|
1049
|
+
"action_label",
|
|
1033
1050
|
"terms",
|
|
1034
1051
|
"dpa"
|
|
1035
1052
|
],
|
|
1036
|
-
"additionalProperties": false
|
|
1053
|
+
"additionalProperties": false,
|
|
1054
|
+
"allOf": [
|
|
1055
|
+
{
|
|
1056
|
+
"if": {
|
|
1057
|
+
"properties": {
|
|
1058
|
+
"text_id": {
|
|
1059
|
+
"const": "C4-1168-checkout"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"required": [
|
|
1063
|
+
"text_id"
|
|
1064
|
+
]
|
|
1065
|
+
},
|
|
1066
|
+
"then": {
|
|
1067
|
+
"properties": {
|
|
1068
|
+
"action_label": {
|
|
1069
|
+
"pattern": "^Pay \\S.* with Mollie$"
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"if": {
|
|
1076
|
+
"properties": {
|
|
1077
|
+
"text_id": {
|
|
1078
|
+
"const": "C4-1168-pay-and-switch"
|
|
1079
|
+
}
|
|
1080
|
+
},
|
|
1081
|
+
"required": [
|
|
1082
|
+
"text_id"
|
|
1083
|
+
]
|
|
1084
|
+
},
|
|
1085
|
+
"then": {
|
|
1086
|
+
"properties": {
|
|
1087
|
+
"action_label": {
|
|
1088
|
+
"pattern": "^Pay \\S.* and switch$"
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"if": {
|
|
1095
|
+
"properties": {
|
|
1096
|
+
"text_id": {
|
|
1097
|
+
"const": "C4-1168-switch"
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
"required": [
|
|
1101
|
+
"text_id"
|
|
1102
|
+
]
|
|
1103
|
+
},
|
|
1104
|
+
"then": {
|
|
1105
|
+
"properties": {
|
|
1106
|
+
"action_label": {
|
|
1107
|
+
"pattern": "^Switch to \\S.*$"
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"if": {
|
|
1114
|
+
"properties": {
|
|
1115
|
+
"text_id": {
|
|
1116
|
+
"const": "C4-1168-schedule-switch"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
"required": [
|
|
1120
|
+
"text_id"
|
|
1121
|
+
]
|
|
1122
|
+
},
|
|
1123
|
+
"then": {
|
|
1124
|
+
"properties": {
|
|
1125
|
+
"action_label": {
|
|
1126
|
+
"const": "Switch to monthly at period end"
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
"if": {
|
|
1133
|
+
"properties": {
|
|
1134
|
+
"text_id": {
|
|
1135
|
+
"const": "C4-1168-schedule-downgrade"
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"required": [
|
|
1139
|
+
"text_id"
|
|
1140
|
+
]
|
|
1141
|
+
},
|
|
1142
|
+
"then": {
|
|
1143
|
+
"properties": {
|
|
1144
|
+
"action_label": {
|
|
1145
|
+
"pattern": "^Schedule downgrade to \\S.*$"
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"if": {
|
|
1152
|
+
"properties": {
|
|
1153
|
+
"text_id": {
|
|
1154
|
+
"const": "C4-1168-cancel"
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
"required": [
|
|
1158
|
+
"text_id"
|
|
1159
|
+
]
|
|
1160
|
+
},
|
|
1161
|
+
"then": {
|
|
1162
|
+
"properties": {
|
|
1163
|
+
"action_label": {
|
|
1164
|
+
"const": "Cancel at period end"
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"if": {
|
|
1171
|
+
"properties": {
|
|
1172
|
+
"text_id": {
|
|
1173
|
+
"const": "C4-1168-keep-basic"
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
"required": [
|
|
1177
|
+
"text_id"
|
|
1178
|
+
]
|
|
1179
|
+
},
|
|
1180
|
+
"then": {
|
|
1181
|
+
"properties": {
|
|
1182
|
+
"action_label": {
|
|
1183
|
+
"const": "Delete the rest and stay on Basic"
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
]
|
|
1037
1189
|
},
|
|
1038
1190
|
"expires_at": {
|
|
1039
1191
|
"type": "string",
|
|
@@ -2013,11 +2165,27 @@
|
|
|
2013
2165
|
"properties": {
|
|
2014
2166
|
"text_id": {
|
|
2015
2167
|
"type": "string",
|
|
2016
|
-
"
|
|
2168
|
+
"enum": [
|
|
2169
|
+
"C4-1168-checkout",
|
|
2170
|
+
"C4-1168-pay-and-switch",
|
|
2171
|
+
"C4-1168-switch",
|
|
2172
|
+
"C4-1168-schedule-switch",
|
|
2173
|
+
"C4-1168-schedule-downgrade",
|
|
2174
|
+
"C4-1168-cancel",
|
|
2175
|
+
"C4-1168-keep-basic"
|
|
2176
|
+
],
|
|
2177
|
+
"description": "The approved sentence this display shows, one per action."
|
|
2017
2178
|
},
|
|
2018
2179
|
"text": {
|
|
2019
2180
|
"type": "string",
|
|
2020
|
-
"minLength": 1
|
|
2181
|
+
"minLength": 1,
|
|
2182
|
+
"pattern": "^By selecting “",
|
|
2183
|
+
"description": "The consent sentence shown directly above the button, naming the button."
|
|
2184
|
+
},
|
|
2185
|
+
"action_label": {
|
|
2186
|
+
"type": "string",
|
|
2187
|
+
"minLength": 1,
|
|
2188
|
+
"description": "The label of the one button that confirms this decision."
|
|
2021
2189
|
},
|
|
2022
2190
|
"terms": {
|
|
2023
2191
|
"type": "object",
|
|
@@ -2077,10 +2245,146 @@
|
|
|
2077
2245
|
"required": [
|
|
2078
2246
|
"text_id",
|
|
2079
2247
|
"text",
|
|
2248
|
+
"action_label",
|
|
2080
2249
|
"terms",
|
|
2081
2250
|
"dpa"
|
|
2082
2251
|
],
|
|
2083
|
-
"additionalProperties": false
|
|
2252
|
+
"additionalProperties": false,
|
|
2253
|
+
"allOf": [
|
|
2254
|
+
{
|
|
2255
|
+
"if": {
|
|
2256
|
+
"properties": {
|
|
2257
|
+
"text_id": {
|
|
2258
|
+
"const": "C4-1168-checkout"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2261
|
+
"required": [
|
|
2262
|
+
"text_id"
|
|
2263
|
+
]
|
|
2264
|
+
},
|
|
2265
|
+
"then": {
|
|
2266
|
+
"properties": {
|
|
2267
|
+
"action_label": {
|
|
2268
|
+
"pattern": "^Pay \\S.* with Mollie$"
|
|
2269
|
+
}
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"if": {
|
|
2275
|
+
"properties": {
|
|
2276
|
+
"text_id": {
|
|
2277
|
+
"const": "C4-1168-pay-and-switch"
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
"required": [
|
|
2281
|
+
"text_id"
|
|
2282
|
+
]
|
|
2283
|
+
},
|
|
2284
|
+
"then": {
|
|
2285
|
+
"properties": {
|
|
2286
|
+
"action_label": {
|
|
2287
|
+
"pattern": "^Pay \\S.* and switch$"
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"if": {
|
|
2294
|
+
"properties": {
|
|
2295
|
+
"text_id": {
|
|
2296
|
+
"const": "C4-1168-switch"
|
|
2297
|
+
}
|
|
2298
|
+
},
|
|
2299
|
+
"required": [
|
|
2300
|
+
"text_id"
|
|
2301
|
+
]
|
|
2302
|
+
},
|
|
2303
|
+
"then": {
|
|
2304
|
+
"properties": {
|
|
2305
|
+
"action_label": {
|
|
2306
|
+
"pattern": "^Switch to \\S.*$"
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"if": {
|
|
2313
|
+
"properties": {
|
|
2314
|
+
"text_id": {
|
|
2315
|
+
"const": "C4-1168-schedule-switch"
|
|
2316
|
+
}
|
|
2317
|
+
},
|
|
2318
|
+
"required": [
|
|
2319
|
+
"text_id"
|
|
2320
|
+
]
|
|
2321
|
+
},
|
|
2322
|
+
"then": {
|
|
2323
|
+
"properties": {
|
|
2324
|
+
"action_label": {
|
|
2325
|
+
"const": "Switch to monthly at period end"
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
"if": {
|
|
2332
|
+
"properties": {
|
|
2333
|
+
"text_id": {
|
|
2334
|
+
"const": "C4-1168-schedule-downgrade"
|
|
2335
|
+
}
|
|
2336
|
+
},
|
|
2337
|
+
"required": [
|
|
2338
|
+
"text_id"
|
|
2339
|
+
]
|
|
2340
|
+
},
|
|
2341
|
+
"then": {
|
|
2342
|
+
"properties": {
|
|
2343
|
+
"action_label": {
|
|
2344
|
+
"pattern": "^Schedule downgrade to \\S.*$"
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
"if": {
|
|
2351
|
+
"properties": {
|
|
2352
|
+
"text_id": {
|
|
2353
|
+
"const": "C4-1168-cancel"
|
|
2354
|
+
}
|
|
2355
|
+
},
|
|
2356
|
+
"required": [
|
|
2357
|
+
"text_id"
|
|
2358
|
+
]
|
|
2359
|
+
},
|
|
2360
|
+
"then": {
|
|
2361
|
+
"properties": {
|
|
2362
|
+
"action_label": {
|
|
2363
|
+
"const": "Cancel at period end"
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"if": {
|
|
2370
|
+
"properties": {
|
|
2371
|
+
"text_id": {
|
|
2372
|
+
"const": "C4-1168-keep-basic"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"required": [
|
|
2376
|
+
"text_id"
|
|
2377
|
+
]
|
|
2378
|
+
},
|
|
2379
|
+
"then": {
|
|
2380
|
+
"properties": {
|
|
2381
|
+
"action_label": {
|
|
2382
|
+
"const": "Delete the rest and stay on Basic"
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
}
|
|
2387
|
+
]
|
|
2084
2388
|
},
|
|
2085
2389
|
"expires_at": {
|
|
2086
2390
|
"type": "string",
|
|
@@ -3060,11 +3364,27 @@
|
|
|
3060
3364
|
"properties": {
|
|
3061
3365
|
"text_id": {
|
|
3062
3366
|
"type": "string",
|
|
3063
|
-
"
|
|
3367
|
+
"enum": [
|
|
3368
|
+
"C4-1168-checkout",
|
|
3369
|
+
"C4-1168-pay-and-switch",
|
|
3370
|
+
"C4-1168-switch",
|
|
3371
|
+
"C4-1168-schedule-switch",
|
|
3372
|
+
"C4-1168-schedule-downgrade",
|
|
3373
|
+
"C4-1168-cancel",
|
|
3374
|
+
"C4-1168-keep-basic"
|
|
3375
|
+
],
|
|
3376
|
+
"description": "The approved sentence this display shows, one per action."
|
|
3064
3377
|
},
|
|
3065
3378
|
"text": {
|
|
3066
3379
|
"type": "string",
|
|
3067
|
-
"minLength": 1
|
|
3380
|
+
"minLength": 1,
|
|
3381
|
+
"pattern": "^By selecting “",
|
|
3382
|
+
"description": "The consent sentence shown directly above the button, naming the button."
|
|
3383
|
+
},
|
|
3384
|
+
"action_label": {
|
|
3385
|
+
"type": "string",
|
|
3386
|
+
"minLength": 1,
|
|
3387
|
+
"description": "The label of the one button that confirms this decision."
|
|
3068
3388
|
},
|
|
3069
3389
|
"terms": {
|
|
3070
3390
|
"type": "object",
|
|
@@ -3124,10 +3444,146 @@
|
|
|
3124
3444
|
"required": [
|
|
3125
3445
|
"text_id",
|
|
3126
3446
|
"text",
|
|
3447
|
+
"action_label",
|
|
3127
3448
|
"terms",
|
|
3128
3449
|
"dpa"
|
|
3129
3450
|
],
|
|
3130
|
-
"additionalProperties": false
|
|
3451
|
+
"additionalProperties": false,
|
|
3452
|
+
"allOf": [
|
|
3453
|
+
{
|
|
3454
|
+
"if": {
|
|
3455
|
+
"properties": {
|
|
3456
|
+
"text_id": {
|
|
3457
|
+
"const": "C4-1168-checkout"
|
|
3458
|
+
}
|
|
3459
|
+
},
|
|
3460
|
+
"required": [
|
|
3461
|
+
"text_id"
|
|
3462
|
+
]
|
|
3463
|
+
},
|
|
3464
|
+
"then": {
|
|
3465
|
+
"properties": {
|
|
3466
|
+
"action_label": {
|
|
3467
|
+
"pattern": "^Pay \\S.* with Mollie$"
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"if": {
|
|
3474
|
+
"properties": {
|
|
3475
|
+
"text_id": {
|
|
3476
|
+
"const": "C4-1168-pay-and-switch"
|
|
3477
|
+
}
|
|
3478
|
+
},
|
|
3479
|
+
"required": [
|
|
3480
|
+
"text_id"
|
|
3481
|
+
]
|
|
3482
|
+
},
|
|
3483
|
+
"then": {
|
|
3484
|
+
"properties": {
|
|
3485
|
+
"action_label": {
|
|
3486
|
+
"pattern": "^Pay \\S.* and switch$"
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
"if": {
|
|
3493
|
+
"properties": {
|
|
3494
|
+
"text_id": {
|
|
3495
|
+
"const": "C4-1168-switch"
|
|
3496
|
+
}
|
|
3497
|
+
},
|
|
3498
|
+
"required": [
|
|
3499
|
+
"text_id"
|
|
3500
|
+
]
|
|
3501
|
+
},
|
|
3502
|
+
"then": {
|
|
3503
|
+
"properties": {
|
|
3504
|
+
"action_label": {
|
|
3505
|
+
"pattern": "^Switch to \\S.*$"
|
|
3506
|
+
}
|
|
3507
|
+
}
|
|
3508
|
+
}
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
"if": {
|
|
3512
|
+
"properties": {
|
|
3513
|
+
"text_id": {
|
|
3514
|
+
"const": "C4-1168-schedule-switch"
|
|
3515
|
+
}
|
|
3516
|
+
},
|
|
3517
|
+
"required": [
|
|
3518
|
+
"text_id"
|
|
3519
|
+
]
|
|
3520
|
+
},
|
|
3521
|
+
"then": {
|
|
3522
|
+
"properties": {
|
|
3523
|
+
"action_label": {
|
|
3524
|
+
"const": "Switch to monthly at period end"
|
|
3525
|
+
}
|
|
3526
|
+
}
|
|
3527
|
+
}
|
|
3528
|
+
},
|
|
3529
|
+
{
|
|
3530
|
+
"if": {
|
|
3531
|
+
"properties": {
|
|
3532
|
+
"text_id": {
|
|
3533
|
+
"const": "C4-1168-schedule-downgrade"
|
|
3534
|
+
}
|
|
3535
|
+
},
|
|
3536
|
+
"required": [
|
|
3537
|
+
"text_id"
|
|
3538
|
+
]
|
|
3539
|
+
},
|
|
3540
|
+
"then": {
|
|
3541
|
+
"properties": {
|
|
3542
|
+
"action_label": {
|
|
3543
|
+
"pattern": "^Schedule downgrade to \\S.*$"
|
|
3544
|
+
}
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"if": {
|
|
3550
|
+
"properties": {
|
|
3551
|
+
"text_id": {
|
|
3552
|
+
"const": "C4-1168-cancel"
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
"required": [
|
|
3556
|
+
"text_id"
|
|
3557
|
+
]
|
|
3558
|
+
},
|
|
3559
|
+
"then": {
|
|
3560
|
+
"properties": {
|
|
3561
|
+
"action_label": {
|
|
3562
|
+
"const": "Cancel at period end"
|
|
3563
|
+
}
|
|
3564
|
+
}
|
|
3565
|
+
}
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"if": {
|
|
3569
|
+
"properties": {
|
|
3570
|
+
"text_id": {
|
|
3571
|
+
"const": "C4-1168-keep-basic"
|
|
3572
|
+
}
|
|
3573
|
+
},
|
|
3574
|
+
"required": [
|
|
3575
|
+
"text_id"
|
|
3576
|
+
]
|
|
3577
|
+
},
|
|
3578
|
+
"then": {
|
|
3579
|
+
"properties": {
|
|
3580
|
+
"action_label": {
|
|
3581
|
+
"const": "Delete the rest and stay on Basic"
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
}
|
|
3585
|
+
}
|
|
3586
|
+
]
|
|
3131
3587
|
},
|
|
3132
3588
|
"expires_at": {
|
|
3133
3589
|
"type": "string",
|
|
@@ -19,6 +19,25 @@
|
|
|
19
19
|
],
|
|
20
20
|
"additionalProperties": false
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"field": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"const": "confirmation_proof"
|
|
28
|
+
},
|
|
29
|
+
"rule": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"const": "display_stale"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"field",
|
|
36
|
+
"rule"
|
|
37
|
+
],
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"description": "The display was spent, expired or no longer matches: fetch a fresh one and press again."
|
|
40
|
+
},
|
|
22
41
|
{
|
|
23
42
|
"type": "object",
|
|
24
43
|
"properties": {
|
|
@@ -236,10 +255,7 @@
|
|
|
236
255
|
"legacy_usd_invoice",
|
|
237
256
|
"legacy_payer_unresolved",
|
|
238
257
|
"mandate_policy_unresolved",
|
|
239
|
-
"
|
|
240
|
-
"lexware_contact_changed",
|
|
241
|
-
"issuer_cutover_in_progress",
|
|
242
|
-
"lexware_issuance_paused"
|
|
258
|
+
"issuer_cutover_in_progress"
|
|
243
259
|
]
|
|
244
260
|
},
|
|
245
261
|
"original_amount": {
|
|
@@ -200,10 +200,7 @@
|
|
|
200
200
|
"legacy_usd_invoice",
|
|
201
201
|
"legacy_payer_unresolved",
|
|
202
202
|
"mandate_policy_unresolved",
|
|
203
|
-
"
|
|
204
|
-
"lexware_contact_changed",
|
|
205
|
-
"issuer_cutover_in_progress",
|
|
206
|
-
"lexware_issuance_paused"
|
|
203
|
+
"issuer_cutover_in_progress"
|
|
207
204
|
]
|
|
208
205
|
},
|
|
209
206
|
"original_amount": {
|
|
@@ -202,10 +202,7 @@
|
|
|
202
202
|
"legacy_usd_invoice",
|
|
203
203
|
"legacy_payer_unresolved",
|
|
204
204
|
"mandate_policy_unresolved",
|
|
205
|
-
"
|
|
206
|
-
"lexware_contact_changed",
|
|
207
|
-
"issuer_cutover_in_progress",
|
|
208
|
-
"lexware_issuance_paused"
|
|
205
|
+
"issuer_cutover_in_progress"
|
|
209
206
|
]
|
|
210
207
|
},
|
|
211
208
|
"original_amount": {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"field": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"const": "billing.vat_id"
|
|
8
|
+
},
|
|
9
|
+
"rule": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"const": "vies_unavailable"
|
|
12
|
+
},
|
|
13
|
+
"reason": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": [
|
|
16
|
+
"vies_unavailable",
|
|
17
|
+
"vies_unverified",
|
|
18
|
+
"vies_identifier_missing"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"field",
|
|
24
|
+
"rule",
|
|
25
|
+
"reason"
|
|
26
|
+
],
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
}
|