@whooshbang/contracts 2.0.0-rc.4 → 2.0.0-rc.5
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 +11 -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.js +660 -351
- package/dist/generated/validators-standalone.js.map +1 -1
- package/dist/generated/whooshbang-v1.d.ts +17 -2
- 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 +31 -9
- package/openapi/whooshbang-v1.yaml +25 -12
- 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 +30 -4
|
@@ -5,115 +5,115 @@
|
|
|
5
5
|
export const contractManifest = {
|
|
6
6
|
schema: "flowxo.contract-manifest.v1",
|
|
7
7
|
artifact: "@whooshbang/contracts",
|
|
8
|
-
version: "2.0.0-rc.
|
|
8
|
+
version: "2.0.0-rc.5",
|
|
9
9
|
openapi: [
|
|
10
10
|
{
|
|
11
11
|
id: "whooshbang-rest-v1",
|
|
12
|
-
version: "2.0.0-rc.
|
|
12
|
+
version: "2.0.0-rc.5",
|
|
13
13
|
path: "openapi/whooshbang-v1.yaml",
|
|
14
14
|
},
|
|
15
15
|
],
|
|
16
16
|
schemas: [
|
|
17
17
|
{
|
|
18
18
|
id: "whooshbang-v1",
|
|
19
|
-
version: "2.0.0-rc.
|
|
19
|
+
version: "2.0.0-rc.5",
|
|
20
20
|
path: "schemas/whooshbang-v1.schema.json",
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
id: "interaction-v1",
|
|
24
|
-
version: "2.0.0-rc.
|
|
24
|
+
version: "2.0.0-rc.5",
|
|
25
25
|
path: "schemas/interaction-v1.schema.json",
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
id: "machine-v1",
|
|
29
|
-
version: "2.0.0-rc.
|
|
29
|
+
version: "2.0.0-rc.5",
|
|
30
30
|
path: "schemas/machine-v1.schema.json",
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
id: "provider-capabilities-v1",
|
|
34
|
-
version: "2.0.0-rc.
|
|
34
|
+
version: "2.0.0-rc.5",
|
|
35
35
|
path: "schemas/provider-capabilities-v1.schema.json",
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
id: "whooshbang-event-v1",
|
|
39
|
-
version: "2.0.0-rc.
|
|
39
|
+
version: "2.0.0-rc.5",
|
|
40
40
|
path: "schemas/events/whooshbang-event-v1.schema.json",
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
id: "subscription-activated-event-v1",
|
|
44
|
-
version: "2.0.0-rc.
|
|
44
|
+
version: "2.0.0-rc.5",
|
|
45
45
|
path: "schemas/events/subscription-activated-v1.schema.json",
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
id: "subscription-revoked-event-v1",
|
|
49
|
-
version: "2.0.0-rc.
|
|
49
|
+
version: "2.0.0-rc.5",
|
|
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.0.0-rc.
|
|
54
|
+
version: "2.0.0-rc.5",
|
|
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.0.0-rc.
|
|
59
|
+
version: "2.0.0-rc.5",
|
|
60
60
|
path: "schemas/events/message-delivered-v1.schema.json",
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
id: "message-failed-event-v1",
|
|
64
|
-
version: "2.0.0-rc.
|
|
64
|
+
version: "2.0.0-rc.5",
|
|
65
65
|
path: "schemas/events/message-failed-v1.schema.json",
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
id: "message-expired-event-v1",
|
|
69
|
-
version: "2.0.0-rc.
|
|
69
|
+
version: "2.0.0-rc.5",
|
|
70
70
|
path: "schemas/events/message-expired-v1.schema.json",
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
id: "interaction-received-event-v1",
|
|
74
|
-
version: "2.0.0-rc.
|
|
74
|
+
version: "2.0.0-rc.5",
|
|
75
75
|
path: "schemas/events/interaction-received-v1.schema.json",
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
id: "interaction-expired-event-v1",
|
|
79
|
-
version: "2.0.0-rc.
|
|
79
|
+
version: "2.0.0-rc.5",
|
|
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.0.0-rc.
|
|
84
|
+
version: "2.0.0-rc.5",
|
|
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.0.0-rc.
|
|
89
|
+
version: "2.0.0-rc.5",
|
|
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.0.0-rc.
|
|
94
|
+
version: "2.0.0-rc.5",
|
|
95
95
|
path: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
98
|
id: "interaction-machine-scenario",
|
|
99
|
-
version: "2.0.0-rc.
|
|
99
|
+
version: "2.0.0-rc.5",
|
|
100
100
|
path: "schemas/interaction-machine-scenario.schema.json",
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
id: "core-contract-scenario",
|
|
104
|
-
version: "2.0.0-rc.
|
|
104
|
+
version: "2.0.0-rc.5",
|
|
105
105
|
path: "schemas/core-scenario.schema.json",
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
id: "core-fixture-index",
|
|
109
|
-
version: "2.0.0-rc.
|
|
109
|
+
version: "2.0.0-rc.5",
|
|
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.0.0-rc.
|
|
116
|
+
version: "2.0.0-rc.5",
|
|
117
117
|
schema: "schemas/whooshbang-v1.schema.json",
|
|
118
118
|
fixtures: [
|
|
119
119
|
"fixtures/core-v1/requests/create-project.json",
|
|
@@ -288,7 +288,7 @@ export const contractManifest = {
|
|
|
288
288
|
},
|
|
289
289
|
{
|
|
290
290
|
id: "core-semantic-scenarios",
|
|
291
|
-
version: "2.0.0-rc.
|
|
291
|
+
version: "2.0.0-rc.5",
|
|
292
292
|
schema: "schemas/core-scenario.schema.json",
|
|
293
293
|
fixtures: [
|
|
294
294
|
"fixtures/core-v1/scenarios/project-create-equivalent-replay.json",
|
|
@@ -320,7 +320,7 @@ export const contractManifest = {
|
|
|
320
320
|
},
|
|
321
321
|
{
|
|
322
322
|
id: "interaction-message-api-bodies",
|
|
323
|
-
version: "2.0.0-rc.
|
|
323
|
+
version: "2.0.0-rc.5",
|
|
324
324
|
schema: "schemas/whooshbang-v1.schema.json",
|
|
325
325
|
fixtures: [
|
|
326
326
|
"fixtures/interaction-machine-v1/requests/create-message-confirm.json",
|
|
@@ -332,7 +332,7 @@ export const contractManifest = {
|
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
id: "interaction-contract-bodies",
|
|
335
|
-
version: "2.0.0-rc.
|
|
335
|
+
version: "2.0.0-rc.5",
|
|
336
336
|
schema: "schemas/interaction-v1.schema.json",
|
|
337
337
|
fixtures: [
|
|
338
338
|
"fixtures/interaction-machine-v1/success/interaction-open.json",
|
|
@@ -349,7 +349,7 @@ export const contractManifest = {
|
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
351
|
id: "machine-api-bodies",
|
|
352
|
-
version: "2.0.0-rc.
|
|
352
|
+
version: "2.0.0-rc.5",
|
|
353
353
|
schema: "schemas/machine-v1.schema.json",
|
|
354
354
|
fixtures: [
|
|
355
355
|
"fixtures/interaction-machine-v1/requests/create-machine-client.json",
|
|
@@ -370,13 +370,13 @@ export const contractManifest = {
|
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
372
|
id: "provider-capability-bodies",
|
|
373
|
-
version: "2.0.0-rc.
|
|
373
|
+
version: "2.0.0-rc.5",
|
|
374
374
|
schema: "schemas/provider-capabilities-v1.schema.json",
|
|
375
375
|
fixtures: ["fixtures/interaction-machine-v1/capabilities/telegram.json"],
|
|
376
376
|
},
|
|
377
377
|
{
|
|
378
378
|
id: "interaction-machine-semantic-scenarios",
|
|
379
|
-
version: "2.0.0-rc.
|
|
379
|
+
version: "2.0.0-rc.5",
|
|
380
380
|
schema: "schemas/interaction-machine-scenario.schema.json",
|
|
381
381
|
fixtures: [
|
|
382
382
|
"fixtures/interaction-machine-v1/scenarios/interaction-duplicate.json",
|
|
@@ -413,7 +413,7 @@ export const contractManifest = {
|
|
|
413
413
|
},
|
|
414
414
|
{
|
|
415
415
|
id: "customer-event-bodies",
|
|
416
|
-
version: "2.0.0-rc.
|
|
416
|
+
version: "2.0.0-rc.5",
|
|
417
417
|
schema: "schemas/events/whooshbang-event-v1.schema.json",
|
|
418
418
|
fixtures: [
|
|
419
419
|
"fixtures/whooshbang-events-v1/events/subscription-activated.json",
|
|
@@ -431,19 +431,19 @@ export const contractManifest = {
|
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
433
|
id: "webhook-signing-vectors",
|
|
434
|
-
version: "2.0.0-rc.
|
|
434
|
+
version: "2.0.0-rc.5",
|
|
435
435
|
schema: "schemas/webhooks/webhook-signing-vector-v1.schema.json",
|
|
436
436
|
fixtures: ["fixtures/whooshbang-events-v1/signing/vectors.json"],
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
439
|
id: "webhook-delivery-cases",
|
|
440
|
-
version: "2.0.0-rc.
|
|
440
|
+
version: "2.0.0-rc.5",
|
|
441
441
|
schema: "schemas/webhooks/webhook-delivery-case-v1.schema.json",
|
|
442
442
|
fixtures: ["fixtures/whooshbang-events-v1/delivery/cases.json"],
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
445
|
id: "core-fixture-index",
|
|
446
|
-
version: "2.0.0-rc.
|
|
446
|
+
version: "2.0.0-rc.5",
|
|
447
447
|
schema: "schemas/fixture-index.schema.json",
|
|
448
448
|
fixtures: ["fixtures/core-v1/fixture-index.json"],
|
|
449
449
|
},
|