@whooshbang/contracts 2.0.0 → 2.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.
- package/CHANGELOG.md +7 -0
- package/contract-manifest.json +32 -32
- package/dist/generated/artifact-index.d.ts +33 -33
- package/dist/generated/artifact-index.js +32 -32
- package/dist/generated/validators-standalone.d.ts +577 -447
- package/dist/generated/validators-standalone.js +7127 -1096
- package/dist/generated/validators-standalone.js.map +1 -1
- package/dist/generated/validators.d.ts +11 -1
- package/dist/generated/validators.js +11 -1
- package/dist/generated/validators.js.map +1 -1
- package/dist/generated/whooshbang-v1.d.ts +135 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/fixtures/core-v1/fixture-index.json +1 -1
- package/fixtures/core-v1/scenarios/api-credential-invalid-indistinguishable.json +1 -1
- package/fixtures/core-v1/scenarios/api-credential-one-time-reveal.json +1 -1
- package/fixtures/core-v1/scenarios/api-credential-revocation-replay.json +1 -1
- package/fixtures/core-v1/scenarios/api-credential-rotation-overlap.json +1 -1
- package/fixtures/core-v1/scenarios/cancellation-too-late.json +1 -1
- package/fixtures/core-v1/scenarios/cross-organization-project.json +1 -1
- package/fixtures/core-v1/scenarios/cross-project-resource.json +1 -1
- package/fixtures/core-v1/scenarios/environment-mismatch.json +1 -1
- package/fixtures/core-v1/scenarios/idempotency-conflict.json +1 -1
- package/fixtures/core-v1/scenarios/idempotency-equivalent-replay.json +1 -1
- package/fixtures/core-v1/scenarios/malformed-bearer.json +1 -1
- package/fixtures/core-v1/scenarios/metadata-overrun.json +1 -1
- package/fixtures/core-v1/scenarios/missing-scope.json +1 -1
- package/fixtures/core-v1/scenarios/project-create-equivalent-replay.json +1 -1
- package/fixtures/core-v1/scenarios/project-slug-conflict.json +1 -1
- package/fixtures/core-v1/scenarios/provider-outcome-unknown.json +1 -1
- package/fixtures/core-v1/scenarios/subscription-activation-replay.json +1 -1
- package/fixtures/core-v1/scenarios/subscription-authorization-capability-opacity.json +1 -1
- package/fixtures/core-v1/scenarios/subscription-cross-connection-callback-rejected.json +1 -1
- package/fixtures/core-v1/scenarios/subscription-expired-replay.json +1 -1
- package/fixtures/core-v1/scenarios/subscription-selected-connection-replay.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/ack-conflict.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/ack-cross-machine.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/ack-out-of-order.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/ack-replay.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/ambiguous-free-text.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/callback-token-opacity.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/credential-registration-conflict.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/credential-registration-replay.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/credential-revocation-replay.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/credential-rotation.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/first-credential-activates.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/interaction-expired.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/interaction-mismatch.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/interaction-retired.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/interaction-stale.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-admin-denied.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-bound-message-create.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-cancel-denied.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-crash-before-ack.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-notifier-mismatch.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-other-message-read.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-owned-message-read.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/machine-subscriber-mismatch.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/poll-uncommitted-cursor-rejected.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/project-credential-machine-endpoint-denied.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/quarantine-integrity-rejected.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/quarantine-signature-rejected.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/quarantine-valid.json +1 -1
- package/fixtures/interaction-machine-v1/scenarios/revoked-machine-credential.json +1 -1
- package/fixtures/recipient-experience-v1/scenarios/membership-broadcast-snapshot.json +1 -1
- package/fixtures/recipient-experience-v1/scenarios/preferred-binding-resolution.json +1 -1
- package/fixtures/recipient-experience-v1/scenarios/recipient-session-security.json +1 -1
- package/fixtures/recipient-experience-v1/scenarios/subscriber-initial-groups-transaction.json +1 -1
- package/openapi/generated/whooshbang-v1.bundle.json +1353 -771
- package/openapi/whooshbang-v1.yaml +291 -2
- package/package.json +1 -1
- package/schemas/core-scenario.schema.json +1 -1
- package/schemas/events/agent-binding-degraded-v1.schema.json +1 -1
- package/schemas/events/interaction-expired-v1.schema.json +1 -1
- package/schemas/events/interaction-received-v1.schema.json +1 -1
- package/schemas/events/message-delivered-v1.schema.json +1 -1
- package/schemas/events/message-expired-v1.schema.json +1 -1
- package/schemas/events/message-failed-v1.schema.json +1 -1
- package/schemas/events/message-provider-accepted-v1.schema.json +1 -1
- package/schemas/events/subscription-activated-v1.schema.json +1 -1
- package/schemas/events/subscription-revoked-v1.schema.json +1 -1
- package/schemas/events/whooshbang-event-v1.schema.json +1 -1
- package/schemas/fixture-index.schema.json +1 -1
- package/schemas/interaction-machine-scenario.schema.json +1 -1
- package/schemas/interaction-v1.schema.json +1 -1
- package/schemas/machine-v1.schema.json +1 -1
- package/schemas/provider-capabilities-v1.schema.json +1 -1
- package/schemas/webhooks/webhook-delivery-case-v1.schema.json +1 -1
- package/schemas/webhooks/webhook-signing-vector-v1.schema.json +1 -1
- package/schemas/whooshbang-v1.schema.json +385 -1
|
@@ -5,115 +5,115 @@
|
|
|
5
5
|
export const contractManifest = {
|
|
6
6
|
schema: "flowxo.contract-manifest.v1",
|
|
7
7
|
artifact: "@whooshbang/contracts",
|
|
8
|
-
version: "2.
|
|
8
|
+
version: "2.1.0",
|
|
9
9
|
openapi: [
|
|
10
10
|
{
|
|
11
11
|
id: "whooshbang-rest-v1",
|
|
12
|
-
version: "2.
|
|
12
|
+
version: "2.1.0",
|
|
13
13
|
path: "openapi/whooshbang-v1.yaml",
|
|
14
14
|
},
|
|
15
15
|
],
|
|
16
16
|
schemas: [
|
|
17
17
|
{
|
|
18
18
|
id: "whooshbang-v1",
|
|
19
|
-
version: "2.
|
|
19
|
+
version: "2.1.0",
|
|
20
20
|
path: "schemas/whooshbang-v1.schema.json",
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
id: "interaction-v1",
|
|
24
|
-
version: "2.
|
|
24
|
+
version: "2.1.0",
|
|
25
25
|
path: "schemas/interaction-v1.schema.json",
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
id: "machine-v1",
|
|
29
|
-
version: "2.
|
|
29
|
+
version: "2.1.0",
|
|
30
30
|
path: "schemas/machine-v1.schema.json",
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
id: "provider-capabilities-v1",
|
|
34
|
-
version: "2.
|
|
34
|
+
version: "2.1.0",
|
|
35
35
|
path: "schemas/provider-capabilities-v1.schema.json",
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
id: "whooshbang-event-v1",
|
|
39
|
-
version: "2.
|
|
39
|
+
version: "2.1.0",
|
|
40
40
|
path: "schemas/events/whooshbang-event-v1.schema.json",
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
id: "subscription-activated-event-v1",
|
|
44
|
-
version: "2.
|
|
44
|
+
version: "2.1.0",
|
|
45
45
|
path: "schemas/events/subscription-activated-v1.schema.json",
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
id: "subscription-revoked-event-v1",
|
|
49
|
-
version: "2.
|
|
49
|
+
version: "2.1.0",
|
|
50
50
|
path: "schemas/events/subscription-revoked-v1.schema.json",
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
id: "message-provider-accepted-event-v1",
|
|
54
|
-
version: "2.
|
|
54
|
+
version: "2.1.0",
|
|
55
55
|
path: "schemas/events/message-provider-accepted-v1.schema.json",
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
id: "message-delivered-event-v1",
|
|
59
|
-
version: "2.
|
|
59
|
+
version: "2.1.0",
|
|
60
60
|
path: "schemas/events/message-delivered-v1.schema.json",
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
id: "message-failed-event-v1",
|
|
64
|
-
version: "2.
|
|
64
|
+
version: "2.1.0",
|
|
65
65
|
path: "schemas/events/message-failed-v1.schema.json",
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
id: "message-expired-event-v1",
|
|
69
|
-
version: "2.
|
|
69
|
+
version: "2.1.0",
|
|
70
70
|
path: "schemas/events/message-expired-v1.schema.json",
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
id: "interaction-received-event-v1",
|
|
74
|
-
version: "2.
|
|
74
|
+
version: "2.1.0",
|
|
75
75
|
path: "schemas/events/interaction-received-v1.schema.json",
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
id: "interaction-expired-event-v1",
|
|
79
|
-
version: "2.
|
|
79
|
+
version: "2.1.0",
|
|
80
80
|
path: "schemas/events/interaction-expired-v1.schema.json",
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
id: "agent-binding-degraded-event-v1",
|
|
84
|
-
version: "2.
|
|
84
|
+
version: "2.1.0",
|
|
85
85
|
path: "schemas/events/agent-binding-degraded-v1.schema.json",
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
id: "webhook-signing-vector-v1",
|
|
89
|
-
version: "2.
|
|
89
|
+
version: "2.1.0",
|
|
90
90
|
path: "schemas/webhooks/webhook-signing-vector-v1.schema.json",
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
id: "webhook-delivery-case-v1",
|
|
94
|
-
version: "2.
|
|
94
|
+
version: "2.1.0",
|
|
95
95
|
path: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
id: "interaction-machine-scenario",
|
|
99
|
-
version: "2.
|
|
99
|
+
version: "2.1.0",
|
|
100
100
|
path: "schemas/interaction-machine-scenario.schema.json",
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
id: "core-contract-scenario",
|
|
104
|
-
version: "2.
|
|
104
|
+
version: "2.1.0",
|
|
105
105
|
path: "schemas/core-scenario.schema.json",
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
id: "core-fixture-index",
|
|
109
|
-
version: "2.
|
|
109
|
+
version: "2.1.0",
|
|
110
110
|
path: "schemas/fixture-index.schema.json",
|
|
111
111
|
},
|
|
112
112
|
],
|
|
113
113
|
fixture_sets: [
|
|
114
114
|
{
|
|
115
115
|
id: "core-api-bodies",
|
|
116
|
-
version: "2.
|
|
116
|
+
version: "2.1.0",
|
|
117
117
|
schema: "schemas/whooshbang-v1.schema.json",
|
|
118
118
|
fixtures: [
|
|
119
119
|
"fixtures/core-v1/requests/create-project.json",
|
|
@@ -306,7 +306,7 @@ export const contractManifest = {
|
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
308
|
id: "core-semantic-scenarios",
|
|
309
|
-
version: "2.
|
|
309
|
+
version: "2.1.0",
|
|
310
310
|
schema: "schemas/core-scenario.schema.json",
|
|
311
311
|
fixtures: [
|
|
312
312
|
"fixtures/core-v1/scenarios/project-create-equivalent-replay.json",
|
|
@@ -338,7 +338,7 @@ export const contractManifest = {
|
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
340
|
id: "interaction-message-api-bodies",
|
|
341
|
-
version: "2.
|
|
341
|
+
version: "2.1.0",
|
|
342
342
|
schema: "schemas/whooshbang-v1.schema.json",
|
|
343
343
|
fixtures: [
|
|
344
344
|
"fixtures/interaction-machine-v1/requests/create-message-confirm.json",
|
|
@@ -350,7 +350,7 @@ export const contractManifest = {
|
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
id: "interaction-contract-bodies",
|
|
353
|
-
version: "2.
|
|
353
|
+
version: "2.1.0",
|
|
354
354
|
schema: "schemas/interaction-v1.schema.json",
|
|
355
355
|
fixtures: [
|
|
356
356
|
"fixtures/interaction-machine-v1/success/interaction-open.json",
|
|
@@ -367,7 +367,7 @@ export const contractManifest = {
|
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
id: "machine-api-bodies",
|
|
370
|
-
version: "2.
|
|
370
|
+
version: "2.1.0",
|
|
371
371
|
schema: "schemas/machine-v1.schema.json",
|
|
372
372
|
fixtures: [
|
|
373
373
|
"fixtures/interaction-machine-v1/requests/create-machine-client.json",
|
|
@@ -388,13 +388,13 @@ export const contractManifest = {
|
|
|
388
388
|
},
|
|
389
389
|
{
|
|
390
390
|
id: "provider-capability-bodies",
|
|
391
|
-
version: "2.
|
|
391
|
+
version: "2.1.0",
|
|
392
392
|
schema: "schemas/provider-capabilities-v1.schema.json",
|
|
393
393
|
fixtures: ["fixtures/interaction-machine-v1/capabilities/telegram.json"],
|
|
394
394
|
},
|
|
395
395
|
{
|
|
396
396
|
id: "interaction-machine-semantic-scenarios",
|
|
397
|
-
version: "2.
|
|
397
|
+
version: "2.1.0",
|
|
398
398
|
schema: "schemas/interaction-machine-scenario.schema.json",
|
|
399
399
|
fixtures: [
|
|
400
400
|
"fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json",
|
|
@@ -431,7 +431,7 @@ export const contractManifest = {
|
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
433
|
id: "customer-event-bodies",
|
|
434
|
-
version: "2.
|
|
434
|
+
version: "2.1.0",
|
|
435
435
|
schema: "schemas/events/whooshbang-event-v1.schema.json",
|
|
436
436
|
fixtures: [
|
|
437
437
|
"fixtures/whooshbang-events-v1/events/subscription-activated.json",
|
|
@@ -449,19 +449,19 @@ export const contractManifest = {
|
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
451
|
id: "webhook-signing-vectors",
|
|
452
|
-
version: "2.
|
|
452
|
+
version: "2.1.0",
|
|
453
453
|
schema: "schemas/webhooks/webhook-signing-vector-v1.schema.json",
|
|
454
454
|
fixtures: ["fixtures/whooshbang-events-v1/signing/vectors.json"],
|
|
455
455
|
},
|
|
456
456
|
{
|
|
457
457
|
id: "webhook-delivery-cases",
|
|
458
|
-
version: "2.
|
|
458
|
+
version: "2.1.0",
|
|
459
459
|
schema: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
|
|
460
460
|
fixtures: ["fixtures/whooshbang-events-v1/delivery/cases.json"],
|
|
461
461
|
},
|
|
462
462
|
{
|
|
463
463
|
id: "core-fixture-index",
|
|
464
|
-
version: "2.
|
|
464
|
+
version: "2.1.0",
|
|
465
465
|
schema: "schemas/fixture-index.schema.json",
|
|
466
466
|
fixtures: ["fixtures/core-v1/fixture-index.json"],
|
|
467
467
|
},
|