@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,7 +5,7 @@
|
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
"use strict";
|
|
7
7
|
export const validateMessageListEntry = validate439;
|
|
8
|
-
const
|
|
8
|
+
const schema726 = {
|
|
9
9
|
type: "object",
|
|
10
10
|
description: "Content-free accepted-message summary. Includes neither the notification nor an interaction answer.",
|
|
11
11
|
required: [
|
|
@@ -665,7 +665,7 @@ function validate439(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
665
665
|
errors++;
|
|
666
666
|
}
|
|
667
667
|
for (const key0 in data) {
|
|
668
|
-
if (!func14.call(
|
|
668
|
+
if (!func14.call(schema726.properties, key0)) {
|
|
669
669
|
const err12 = {
|
|
670
670
|
instancePath,
|
|
671
671
|
schemaPath: "#/additionalProperties",
|
|
@@ -1506,7 +1506,7 @@ validate439.evaluated = {
|
|
|
1506
1506
|
dynamicItems: false,
|
|
1507
1507
|
};
|
|
1508
1508
|
export const validateMessageListPage = validate441;
|
|
1509
|
-
const
|
|
1509
|
+
const schema739 = {
|
|
1510
1510
|
type: "object",
|
|
1511
1511
|
description: "Newest accepted messages first, bounded by limit. next_after is the opaque continuation for after. No total: filtered history is a time-series read, so listing a page does not scan the entire retained history. Page numbers are optional and bounded; they may move as new messages arrive.",
|
|
1512
1512
|
required: ["items"],
|
|
@@ -1740,7 +1740,7 @@ function validate373(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
1740
1740
|
errors++;
|
|
1741
1741
|
}
|
|
1742
1742
|
for (const key0 in data) {
|
|
1743
|
-
if (!func14.call(
|
|
1743
|
+
if (!func14.call(schema726.properties, key0)) {
|
|
1744
1744
|
const err12 = {
|
|
1745
1745
|
instancePath,
|
|
1746
1746
|
schemaPath: "#/additionalProperties",
|
|
@@ -2872,7 +2872,7 @@ validate441.evaluated = {
|
|
|
2872
2872
|
dynamicItems: false,
|
|
2873
2873
|
};
|
|
2874
2874
|
export const validateMessageDeliveryTimelineEntry = validate443;
|
|
2875
|
-
const
|
|
2875
|
+
const schema742 = {
|
|
2876
2876
|
type: "object",
|
|
2877
2877
|
required: ["at", "kind"],
|
|
2878
2878
|
properties: {
|
|
@@ -3144,7 +3144,7 @@ function validate443(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
3144
3144
|
instancePath: instancePath + "/kind",
|
|
3145
3145
|
schemaPath: "#/properties/kind/enum",
|
|
3146
3146
|
keyword: "enum",
|
|
3147
|
-
params: { allowedValues:
|
|
3147
|
+
params: { allowedValues: schema742.properties.kind.enum },
|
|
3148
3148
|
message: "must be equal to one of the allowed values",
|
|
3149
3149
|
};
|
|
3150
3150
|
if (vErrors === null) {
|
|
@@ -3223,7 +3223,7 @@ validate443.evaluated = {
|
|
|
3223
3223
|
dynamicItems: false,
|
|
3224
3224
|
};
|
|
3225
3225
|
export const validateRetainedMessageContent = validate444;
|
|
3226
|
-
const
|
|
3226
|
+
const schema746 = {
|
|
3227
3227
|
description: "Authorized retained notification. source keeps the complete original portable content, including its title, sections and image. No content remains after irreversible retention purge.",
|
|
3228
3228
|
oneOf: [
|
|
3229
3229
|
{
|
|
@@ -6482,7 +6482,7 @@ function validate444(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
6482
6482
|
}
|
|
6483
6483
|
validate444.evaluated = { dynamicProps: true, dynamicItems: false };
|
|
6484
6484
|
export const validateMessageDeliveryHistory = validate447;
|
|
6485
|
-
const
|
|
6485
|
+
const schema747 = {
|
|
6486
6486
|
type: "object",
|
|
6487
6487
|
description: "Tenant-authorized delivery history and retained original content. interaction_request is present only while the original presentation remains retained; its original expires_at is historical, and a new send must use a new future expiry.",
|
|
6488
6488
|
required: ["message", "content", "timeline"],
|
|
@@ -17021,7 +17021,7 @@ function validate379(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
17021
17021
|
instancePath: instancePath + "/kind",
|
|
17022
17022
|
schemaPath: "#/properties/kind/enum",
|
|
17023
17023
|
keyword: "enum",
|
|
17024
|
-
params: { allowedValues:
|
|
17024
|
+
params: { allowedValues: schema742.properties.kind.enum },
|
|
17025
17025
|
message: "must be equal to one of the allowed values",
|
|
17026
17026
|
};
|
|
17027
17027
|
if (vErrors === null) {
|
|
@@ -18795,7 +18795,7 @@ validate447.evaluated = {
|
|
|
18795
18795
|
dynamicItems: false,
|
|
18796
18796
|
};
|
|
18797
18797
|
export const validateInteractionTimelineEntry = validate453;
|
|
18798
|
-
const
|
|
18798
|
+
const schema748 = {
|
|
18799
18799
|
type: "object",
|
|
18800
18800
|
description: "Content-free timeline: no prompt, option, answer, endpoint URL, provider identity or credential field.",
|
|
18801
18801
|
required: ["at", "kind"],
|
|
@@ -18895,7 +18895,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
18895
18895
|
errors++;
|
|
18896
18896
|
}
|
|
18897
18897
|
for (const key0 in data) {
|
|
18898
|
-
if (!func14.call(
|
|
18898
|
+
if (!func14.call(schema748.properties, key0)) {
|
|
18899
18899
|
const err2 = {
|
|
18900
18900
|
instancePath,
|
|
18901
18901
|
schemaPath: "#/additionalProperties",
|
|
@@ -19091,7 +19091,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19091
19091
|
instancePath: instancePath + "/classification",
|
|
19092
19092
|
schemaPath: "#/properties/classification/enum",
|
|
19093
19093
|
keyword: "enum",
|
|
19094
|
-
params: { allowedValues:
|
|
19094
|
+
params: { allowedValues: schema748.properties.classification.enum },
|
|
19095
19095
|
message: "must be equal to one of the allowed values",
|
|
19096
19096
|
};
|
|
19097
19097
|
if (vErrors === null) {
|
|
@@ -19338,7 +19338,7 @@ function validate453(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19338
19338
|
instancePath: instancePath + "/kind",
|
|
19339
19339
|
schemaPath: "#/properties/kind/enum",
|
|
19340
19340
|
keyword: "enum",
|
|
19341
|
-
params: { allowedValues:
|
|
19341
|
+
params: { allowedValues: schema748.properties.kind.enum },
|
|
19342
19342
|
message: "must be equal to one of the allowed values",
|
|
19343
19343
|
};
|
|
19344
19344
|
if (vErrors === null) {
|
|
@@ -19567,7 +19567,7 @@ validate453.evaluated = {
|
|
|
19567
19567
|
dynamicItems: false,
|
|
19568
19568
|
};
|
|
19569
19569
|
export const validateInteractionTimeline = validate454;
|
|
19570
|
-
const
|
|
19570
|
+
const schema755 = {
|
|
19571
19571
|
type: "object",
|
|
19572
19572
|
description: "The customer-authorized interaction trace. The separately retained answer is never embedded in timeline entries.",
|
|
19573
19573
|
required: [
|
|
@@ -19657,7 +19657,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19657
19657
|
errors++;
|
|
19658
19658
|
}
|
|
19659
19659
|
for (const key0 in data) {
|
|
19660
|
-
if (!func14.call(
|
|
19660
|
+
if (!func14.call(schema748.properties, key0)) {
|
|
19661
19661
|
const err2 = {
|
|
19662
19662
|
instancePath,
|
|
19663
19663
|
schemaPath: "#/additionalProperties",
|
|
@@ -19853,7 +19853,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
19853
19853
|
instancePath: instancePath + "/classification",
|
|
19854
19854
|
schemaPath: "#/properties/classification/enum",
|
|
19855
19855
|
keyword: "enum",
|
|
19856
|
-
params: { allowedValues:
|
|
19856
|
+
params: { allowedValues: schema748.properties.classification.enum },
|
|
19857
19857
|
message: "must be equal to one of the allowed values",
|
|
19858
19858
|
};
|
|
19859
19859
|
if (vErrors === null) {
|
|
@@ -20100,7 +20100,7 @@ function validate392(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20100
20100
|
instancePath: instancePath + "/kind",
|
|
20101
20101
|
schemaPath: "#/properties/kind/enum",
|
|
20102
20102
|
keyword: "enum",
|
|
20103
|
-
params: { allowedValues:
|
|
20103
|
+
params: { allowedValues: schema748.properties.kind.enum },
|
|
20104
20104
|
message: "must be equal to one of the allowed values",
|
|
20105
20105
|
};
|
|
20106
20106
|
if (vErrors === null) {
|
|
@@ -20957,7 +20957,7 @@ function validate454(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
20957
20957
|
instancePath: instancePath + "/state",
|
|
20958
20958
|
schemaPath: "#/properties/state/enum",
|
|
20959
20959
|
keyword: "enum",
|
|
20960
|
-
params: { allowedValues:
|
|
20960
|
+
params: { allowedValues: schema755.properties.state.enum },
|
|
20961
20961
|
message: "must be equal to one of the allowed values",
|
|
20962
20962
|
};
|
|
20963
20963
|
if (vErrors === null) {
|
|
@@ -21031,7 +21031,7 @@ function validate454(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21031
21031
|
instancePath: instancePath + "/type",
|
|
21032
21032
|
schemaPath: "#/properties/type/enum",
|
|
21033
21033
|
keyword: "enum",
|
|
21034
|
-
params: { allowedValues:
|
|
21034
|
+
params: { allowedValues: schema755.properties.type.enum },
|
|
21035
21035
|
message: "must be equal to one of the allowed values",
|
|
21036
21036
|
};
|
|
21037
21037
|
if (vErrors === null) {
|
|
@@ -21069,7 +21069,7 @@ validate454.evaluated = {
|
|
|
21069
21069
|
dynamicItems: false,
|
|
21070
21070
|
};
|
|
21071
21071
|
export const validateUpdateEmailSenderRequest = validate456;
|
|
21072
|
-
const
|
|
21072
|
+
const schema758 = {
|
|
21073
21073
|
type: "object",
|
|
21074
21074
|
description: "Changes the sender name on a customer-owned email-domain connection. Shared addresses keep the WhooshBang sender. Dashboard sessions require an administrator.",
|
|
21075
21075
|
required: ["row_version", "sender_display_name"],
|
|
@@ -21084,7 +21084,7 @@ const schema755 = {
|
|
|
21084
21084
|
},
|
|
21085
21085
|
additionalProperties: false,
|
|
21086
21086
|
};
|
|
21087
|
-
const
|
|
21087
|
+
const pattern446 = new RegExp("^[^\\u0000-\\u001F\\u007F-\\u009F\\u2028\\u2029]+$", "u");
|
|
21088
21088
|
function validate456(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
21089
21089
|
let vErrors = null;
|
|
21090
21090
|
let errors = 0;
|
|
@@ -21221,7 +21221,7 @@ function validate456(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21221
21221
|
}
|
|
21222
21222
|
errors++;
|
|
21223
21223
|
}
|
|
21224
|
-
if (!
|
|
21224
|
+
if (!pattern446.test(data1)) {
|
|
21225
21225
|
const err7 = {
|
|
21226
21226
|
instancePath: instancePath + "/sender_display_name",
|
|
21227
21227
|
schemaPath: "#/properties/sender_display_name/pattern",
|
|
@@ -21285,7 +21285,7 @@ validate456.evaluated = {
|
|
|
21285
21285
|
dynamicItems: false,
|
|
21286
21286
|
};
|
|
21287
21287
|
export const validateCustomerEventDeliveryAttempt = validate457;
|
|
21288
|
-
const
|
|
21288
|
+
const schema759 = {
|
|
21289
21289
|
type: "object",
|
|
21290
21290
|
required: [
|
|
21291
21291
|
"attempt",
|
|
@@ -21464,7 +21464,7 @@ function validate457(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
21464
21464
|
errors++;
|
|
21465
21465
|
}
|
|
21466
21466
|
for (const key0 in data) {
|
|
21467
|
-
if (!func14.call(
|
|
21467
|
+
if (!func14.call(schema759.properties, key0)) {
|
|
21468
21468
|
const err8 = {
|
|
21469
21469
|
instancePath,
|
|
21470
21470
|
schemaPath: "#/additionalProperties",
|
|
@@ -22087,7 +22087,7 @@ function validate457(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22087
22087
|
instancePath: instancePath + "/status",
|
|
22088
22088
|
schemaPath: "#/properties/status/enum",
|
|
22089
22089
|
keyword: "enum",
|
|
22090
|
-
params: { allowedValues:
|
|
22090
|
+
params: { allowedValues: schema759.properties.status.enum },
|
|
22091
22091
|
message: "must be equal to one of the allowed values",
|
|
22092
22092
|
};
|
|
22093
22093
|
if (vErrors === null) {
|
|
@@ -22125,7 +22125,7 @@ validate457.evaluated = {
|
|
|
22125
22125
|
dynamicItems: false,
|
|
22126
22126
|
};
|
|
22127
22127
|
export const validateCustomerEventDeliveryHistory = validate458;
|
|
22128
|
-
const
|
|
22128
|
+
const schema767 = {
|
|
22129
22129
|
type: "object",
|
|
22130
22130
|
description: "Recorded delivery attempts for one customer event, with no endpoint URL, event content or signing secret.",
|
|
22131
22131
|
required: ["attempts", "event_id"],
|
|
@@ -22278,7 +22278,7 @@ function validate397(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22278
22278
|
errors++;
|
|
22279
22279
|
}
|
|
22280
22280
|
for (const key0 in data) {
|
|
22281
|
-
if (!func14.call(
|
|
22281
|
+
if (!func14.call(schema759.properties, key0)) {
|
|
22282
22282
|
const err8 = {
|
|
22283
22283
|
instancePath,
|
|
22284
22284
|
schemaPath: "#/additionalProperties",
|
|
@@ -22901,7 +22901,7 @@ function validate397(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
22901
22901
|
instancePath: instancePath + "/status",
|
|
22902
22902
|
schemaPath: "#/properties/status/enum",
|
|
22903
22903
|
keyword: "enum",
|
|
22904
|
-
params: { allowedValues:
|
|
22904
|
+
params: { allowedValues: schema759.properties.status.enum },
|
|
22905
22905
|
message: "must be equal to one of the allowed values",
|
|
22906
22906
|
};
|
|
22907
22907
|
if (vErrors === null) {
|
|
@@ -23131,7 +23131,7 @@ validate458.evaluated = {
|
|
|
23131
23131
|
dynamicItems: false,
|
|
23132
23132
|
};
|
|
23133
23133
|
export const validateDeliveryHolds = validate460;
|
|
23134
|
-
const
|
|
23134
|
+
const schema769 = {
|
|
23135
23135
|
type: "object",
|
|
23136
23136
|
description: "Which deliveries are held. Operator incident reasons are never returned.",
|
|
23137
23137
|
required: ["held_endpoint_ids"],
|
|
@@ -23229,7 +23229,7 @@ function validate460(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23229
23229
|
instancePath: instancePath + "/held_by",
|
|
23230
23230
|
schemaPath: "#/properties/held_by/enum",
|
|
23231
23231
|
keyword: "enum",
|
|
23232
|
-
params: { allowedValues:
|
|
23232
|
+
params: { allowedValues: schema769.properties.held_by.enum },
|
|
23233
23233
|
message: "must be equal to one of the allowed values",
|
|
23234
23234
|
};
|
|
23235
23235
|
if (vErrors === null) {
|
|
@@ -23360,7 +23360,7 @@ validate460.evaluated = {
|
|
|
23360
23360
|
dynamicItems: false,
|
|
23361
23361
|
};
|
|
23362
23362
|
export const validateMachineClientOperations = validate461;
|
|
23363
|
-
const
|
|
23363
|
+
const schema771 = {
|
|
23364
23364
|
type: "object",
|
|
23365
23365
|
required: [
|
|
23366
23366
|
"active_credentials",
|
|
@@ -23390,7 +23390,7 @@ const schema768 = {
|
|
|
23390
23390
|
},
|
|
23391
23391
|
additionalProperties: false,
|
|
23392
23392
|
};
|
|
23393
|
-
const
|
|
23393
|
+
const schema777 = {
|
|
23394
23394
|
type: "object",
|
|
23395
23395
|
required: [
|
|
23396
23396
|
"id",
|
|
@@ -23433,19 +23433,19 @@ const schema774 = {
|
|
|
23433
23433
|
],
|
|
23434
23434
|
additionalProperties: false,
|
|
23435
23435
|
};
|
|
23436
|
-
const
|
|
23436
|
+
const schema775 = {
|
|
23437
23437
|
type: "string",
|
|
23438
23438
|
minLength: 1,
|
|
23439
23439
|
maxLength: 128,
|
|
23440
23440
|
pattern: "^[^\\u0000-\\u001F\\u007F]+$",
|
|
23441
23441
|
};
|
|
23442
|
-
const
|
|
23443
|
-
const
|
|
23442
|
+
const schema780 = { type: "string", enum: ["test", "live"] };
|
|
23443
|
+
const schema787 = {
|
|
23444
23444
|
type: "string",
|
|
23445
23445
|
format: "date-time",
|
|
23446
23446
|
pattern: "^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])T(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]+)?(?:Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])$",
|
|
23447
23447
|
};
|
|
23448
|
-
const
|
|
23448
|
+
const schema785 = {
|
|
23449
23449
|
type: "array",
|
|
23450
23450
|
items: { $ref: "#/$defs/MachineScope" },
|
|
23451
23451
|
minItems: 4,
|
|
@@ -23453,7 +23453,7 @@ const schema782 = {
|
|
|
23453
23453
|
uniqueItems: true,
|
|
23454
23454
|
description: "Fixed least-privilege capabilities, each constrained to this client's bound destination or stream.",
|
|
23455
23455
|
};
|
|
23456
|
-
const
|
|
23456
|
+
const schema786 = {
|
|
23457
23457
|
type: "string",
|
|
23458
23458
|
enum: [
|
|
23459
23459
|
"machine-messages:write",
|
|
@@ -23549,7 +23549,7 @@ function validate409(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23549
23549
|
instancePath: instancePath + "/" + i0,
|
|
23550
23550
|
schemaPath: "#/$defs/MachineScope/enum",
|
|
23551
23551
|
keyword: "enum",
|
|
23552
|
-
params: { allowedValues:
|
|
23552
|
+
params: { allowedValues: schema786.enum },
|
|
23553
23553
|
message: "must be equal to one of the allowed values",
|
|
23554
23554
|
};
|
|
23555
23555
|
if (vErrors === null) {
|
|
@@ -23919,7 +23919,7 @@ function validate428(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
23919
23919
|
errors++;
|
|
23920
23920
|
}
|
|
23921
23921
|
for (const key0 in data) {
|
|
23922
|
-
if (!func14.call(
|
|
23922
|
+
if (!func14.call(schema777.properties, key0)) {
|
|
23923
23923
|
const err16 = {
|
|
23924
23924
|
instancePath,
|
|
23925
23925
|
schemaPath: "#/additionalProperties",
|
|
@@ -24097,7 +24097,7 @@ function validate428(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24097
24097
|
instancePath: instancePath + "/environment",
|
|
24098
24098
|
schemaPath: "#/$defs/Environment/enum",
|
|
24099
24099
|
keyword: "enum",
|
|
24100
|
-
params: { allowedValues:
|
|
24100
|
+
params: { allowedValues: schema780.enum },
|
|
24101
24101
|
message: "must be equal to one of the allowed values",
|
|
24102
24102
|
};
|
|
24103
24103
|
if (vErrors === null) {
|
|
@@ -24463,7 +24463,7 @@ function validate428(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24463
24463
|
instancePath: instancePath + "/status",
|
|
24464
24464
|
schemaPath: "#/properties/status/enum",
|
|
24465
24465
|
keyword: "enum",
|
|
24466
|
-
params: { allowedValues:
|
|
24466
|
+
params: { allowedValues: schema777.properties.status.enum },
|
|
24467
24467
|
message: "must be equal to one of the allowed values",
|
|
24468
24468
|
};
|
|
24469
24469
|
if (vErrors === null) {
|
|
@@ -24888,7 +24888,7 @@ function validate461(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
24888
24888
|
instancePath: instancePath + "/held_by",
|
|
24889
24889
|
schemaPath: "#/properties/held_by/enum",
|
|
24890
24890
|
keyword: "enum",
|
|
24891
|
-
params: { allowedValues:
|
|
24891
|
+
params: { allowedValues: schema771.properties.held_by.enum },
|
|
24892
24892
|
message: "must be equal to one of the allowed values",
|
|
24893
24893
|
};
|
|
24894
24894
|
if (vErrors === null) {
|
|
@@ -25061,7 +25061,7 @@ validate461.evaluated = {
|
|
|
25061
25061
|
dynamicItems: false,
|
|
25062
25062
|
};
|
|
25063
25063
|
export const validateMachineClientOperationsList = validate463;
|
|
25064
|
-
const
|
|
25064
|
+
const schema834 = {
|
|
25065
25065
|
type: "object",
|
|
25066
25066
|
description: "Machine-client operational summaries, without consuming events or exposing credential material.",
|
|
25067
25067
|
required: ["items", "quarantine"],
|
|
@@ -25303,7 +25303,7 @@ function validate404(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
25303
25303
|
instancePath: instancePath + "/held_by",
|
|
25304
25304
|
schemaPath: "#/properties/held_by/enum",
|
|
25305
25305
|
keyword: "enum",
|
|
25306
|
-
params: { allowedValues:
|
|
25306
|
+
params: { allowedValues: schema771.properties.held_by.enum },
|
|
25307
25307
|
message: "must be equal to one of the allowed values",
|
|
25308
25308
|
};
|
|
25309
25309
|
if (vErrors === null) {
|
|
@@ -26010,7 +26010,7 @@ validate463.evaluated = {
|
|
|
26010
26010
|
dynamicItems: false,
|
|
26011
26011
|
};
|
|
26012
26012
|
export const validateRecipientCopyCatalogue = validate465;
|
|
26013
|
-
const
|
|
26013
|
+
const schema837 = {
|
|
26014
26014
|
type: "object",
|
|
26015
26015
|
description: "The complete bounded text catalogue for one language. Values are raw templates: placeholders and behavioral controls retain their meaning when words change.",
|
|
26016
26016
|
required: ["project_id", "language", "items"],
|
|
@@ -26914,7 +26914,7 @@ validate465.evaluated = {
|
|
|
26914
26914
|
dynamicItems: false,
|
|
26915
26915
|
};
|
|
26916
26916
|
export const validateMessageNotificationImage = validate466;
|
|
26917
|
-
const
|
|
26917
|
+
const schema841 = {
|
|
26918
26918
|
type: "object",
|
|
26919
26919
|
description: "Canonical PNG bytes for the retained image of one authorized message, encoded as base64. A purged message or unavailable image returns404; no provider URL is disclosed.",
|
|
26920
26920
|
required: ["asset_id", "content_type", "data_base64"],
|
|
@@ -26930,7 +26930,7 @@ const schema838 = {
|
|
|
26930
26930
|
},
|
|
26931
26931
|
additionalProperties: false,
|
|
26932
26932
|
};
|
|
26933
|
-
const
|
|
26933
|
+
const pattern508 = new RegExp("^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$", "u");
|
|
26934
26934
|
function validate466(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
26935
26935
|
let vErrors = null;
|
|
26936
26936
|
let errors = 0;
|
|
@@ -27100,7 +27100,7 @@ function validate466(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
27100
27100
|
}
|
|
27101
27101
|
errors++;
|
|
27102
27102
|
}
|
|
27103
|
-
if (!
|
|
27103
|
+
if (!pattern508.test(data2)) {
|
|
27104
27104
|
const err9 = {
|
|
27105
27105
|
instancePath: instancePath + "/data_base64",
|
|
27106
27106
|
schemaPath: "#/properties/data_base64/pattern",
|
|
@@ -33447,7 +33447,7 @@ validate488.evaluated = {
|
|
|
33447
33447
|
dynamicItems: false,
|
|
33448
33448
|
};
|
|
33449
33449
|
export const validateAssertEmailConsentRequest = validate490;
|
|
33450
|
-
const
|
|
33450
|
+
const schema709 = {
|
|
33451
33451
|
type: "object",
|
|
33452
33452
|
description: "Atomically create or resolve one subscriber and assert existing consent for an exact customer-owned email connection and domain. No verification message is sent. Revocation, suppression, recipient pause, holds and unhealthy authority take precedence. An omitted source is recorded as customer.",
|
|
33453
33453
|
required: [
|
|
@@ -38935,11 +38935,11 @@ const schema230 = {
|
|
|
38935
38935
|
},
|
|
38936
38936
|
delivery_target: {
|
|
38937
38937
|
$ref: "#/$defs/MessageDeliveryTarget",
|
|
38938
|
-
description: "Optional routing override. Simulator delivery and the reserved test: subscriber prefix are test-environment-only; live requests are refused with 400 request_invalid. Omit for
|
|
38938
|
+
description: "Optional routing override. Simulator delivery and the reserved test: subscriber prefix are test-environment-only; live requests are refused with 400 request_invalid. Omit for connection delivery, or for the reserved test-environment simulator default.",
|
|
38939
38939
|
},
|
|
38940
38940
|
connection_id: {
|
|
38941
38941
|
allOf: [{ $ref: "#/$defs/OpaqueIdentifier" }],
|
|
38942
|
-
description: "Optional
|
|
38942
|
+
description: "Optional channel connection to send through, from the environment's connections. The subscriber must be connected through it; the service never substitutes another connection or provider. A connection the subscriber has not connected through is refused as `subscriber_not_connected` when they are connected through another, and as an unchosen send would be (`subscriber_unbound` or `preferred_binding_unavailable`) when no connected channel can take the message. Omitted, the service chooses: the subscriber's preferred channel when they set one, otherwise the default connection when they are connected there, otherwise the connection they connected through most recently. The accepted message's `binding.connection_id` records the connection used. Implies `delivery_target: connection`.",
|
|
38943
38943
|
},
|
|
38944
38944
|
content: { $ref: "#/$defs/MessageContent" },
|
|
38945
38945
|
expires_at: {
|
|
@@ -38955,10 +38955,7 @@ const schema230 = {
|
|
|
38955
38955
|
allOf: [
|
|
38956
38956
|
{
|
|
38957
38957
|
if: { required: ["connection_id"], properties: { connection_id: true } },
|
|
38958
|
-
then: {
|
|
38959
|
-
required: ["delivery_target"],
|
|
38960
|
-
properties: { delivery_target: { const: "connection" } },
|
|
38961
|
-
},
|
|
38958
|
+
then: { properties: { delivery_target: { const: "connection" } } },
|
|
38962
38959
|
},
|
|
38963
38960
|
],
|
|
38964
38961
|
additionalProperties: false,
|
|
@@ -39243,25 +39240,9 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39243
39240
|
if (_valid0) {
|
|
39244
39241
|
const _errs4 = errors;
|
|
39245
39242
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
39246
|
-
if (data.delivery_target === undefined) {
|
|
39247
|
-
const err1 = {
|
|
39248
|
-
instancePath,
|
|
39249
|
-
schemaPath: "#/allOf/0/then/required",
|
|
39250
|
-
keyword: "required",
|
|
39251
|
-
params: { missingProperty: "delivery_target" },
|
|
39252
|
-
message: "must have required property '" + "delivery_target" + "'",
|
|
39253
|
-
};
|
|
39254
|
-
if (vErrors === null) {
|
|
39255
|
-
vErrors = [err1];
|
|
39256
|
-
}
|
|
39257
|
-
else {
|
|
39258
|
-
vErrors.push(err1);
|
|
39259
|
-
}
|
|
39260
|
-
errors++;
|
|
39261
|
-
}
|
|
39262
39243
|
if (data.delivery_target !== undefined) {
|
|
39263
39244
|
if ("connection" !== data.delivery_target) {
|
|
39264
|
-
const
|
|
39245
|
+
const err1 = {
|
|
39265
39246
|
instancePath: instancePath + "/delivery_target",
|
|
39266
39247
|
schemaPath: "#/allOf/0/then/properties/delivery_target/const",
|
|
39267
39248
|
keyword: "const",
|
|
@@ -39269,10 +39250,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39269
39250
|
message: "must be equal to constant",
|
|
39270
39251
|
};
|
|
39271
39252
|
if (vErrors === null) {
|
|
39272
|
-
vErrors = [
|
|
39253
|
+
vErrors = [err1];
|
|
39273
39254
|
}
|
|
39274
39255
|
else {
|
|
39275
|
-
vErrors.push(
|
|
39256
|
+
vErrors.push(err1);
|
|
39276
39257
|
}
|
|
39277
39258
|
errors++;
|
|
39278
39259
|
}
|
|
@@ -39287,7 +39268,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39287
39268
|
}
|
|
39288
39269
|
}
|
|
39289
39270
|
if (!valid1) {
|
|
39290
|
-
const
|
|
39271
|
+
const err2 = {
|
|
39291
39272
|
instancePath,
|
|
39292
39273
|
schemaPath: "#/allOf/0/if",
|
|
39293
39274
|
keyword: "if",
|
|
@@ -39295,16 +39276,16 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39295
39276
|
message: 'must match "then" schema',
|
|
39296
39277
|
};
|
|
39297
39278
|
if (vErrors === null) {
|
|
39298
|
-
vErrors = [
|
|
39279
|
+
vErrors = [err2];
|
|
39299
39280
|
}
|
|
39300
39281
|
else {
|
|
39301
|
-
vErrors.push(
|
|
39282
|
+
vErrors.push(err2);
|
|
39302
39283
|
}
|
|
39303
39284
|
errors++;
|
|
39304
39285
|
}
|
|
39305
39286
|
if (data && typeof data == "object" && !Array.isArray(data)) {
|
|
39306
39287
|
if (data.to === undefined) {
|
|
39307
|
-
const
|
|
39288
|
+
const err3 = {
|
|
39308
39289
|
instancePath,
|
|
39309
39290
|
schemaPath: "#/required",
|
|
39310
39291
|
keyword: "required",
|
|
@@ -39312,15 +39293,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39312
39293
|
message: "must have required property '" + "to" + "'",
|
|
39313
39294
|
};
|
|
39314
39295
|
if (vErrors === null) {
|
|
39315
|
-
vErrors = [
|
|
39296
|
+
vErrors = [err3];
|
|
39316
39297
|
}
|
|
39317
39298
|
else {
|
|
39318
|
-
vErrors.push(
|
|
39299
|
+
vErrors.push(err3);
|
|
39319
39300
|
}
|
|
39320
39301
|
errors++;
|
|
39321
39302
|
}
|
|
39322
39303
|
if (data.content === undefined) {
|
|
39323
|
-
const
|
|
39304
|
+
const err4 = {
|
|
39324
39305
|
instancePath,
|
|
39325
39306
|
schemaPath: "#/required",
|
|
39326
39307
|
keyword: "required",
|
|
@@ -39328,16 +39309,16 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39328
39309
|
message: "must have required property '" + "content" + "'",
|
|
39329
39310
|
};
|
|
39330
39311
|
if (vErrors === null) {
|
|
39331
|
-
vErrors = [
|
|
39312
|
+
vErrors = [err4];
|
|
39332
39313
|
}
|
|
39333
39314
|
else {
|
|
39334
|
-
vErrors.push(
|
|
39315
|
+
vErrors.push(err4);
|
|
39335
39316
|
}
|
|
39336
39317
|
errors++;
|
|
39337
39318
|
}
|
|
39338
39319
|
for (const key0 in data) {
|
|
39339
39320
|
if (!func14.call(schema230.properties, key0)) {
|
|
39340
|
-
const
|
|
39321
|
+
const err5 = {
|
|
39341
39322
|
instancePath,
|
|
39342
39323
|
schemaPath: "#/additionalProperties",
|
|
39343
39324
|
keyword: "additionalProperties",
|
|
@@ -39345,10 +39326,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39345
39326
|
message: "must NOT have additional properties",
|
|
39346
39327
|
};
|
|
39347
39328
|
if (vErrors === null) {
|
|
39348
|
-
vErrors = [
|
|
39329
|
+
vErrors = [err5];
|
|
39349
39330
|
}
|
|
39350
39331
|
else {
|
|
39351
|
-
vErrors.push(
|
|
39332
|
+
vErrors.push(err5);
|
|
39352
39333
|
}
|
|
39353
39334
|
errors++;
|
|
39354
39335
|
}
|
|
@@ -39372,7 +39353,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39372
39353
|
let data2 = data.notifier_id;
|
|
39373
39354
|
if (typeof data2 === "string") {
|
|
39374
39355
|
if (func1(data2) > 128) {
|
|
39375
|
-
const
|
|
39356
|
+
const err6 = {
|
|
39376
39357
|
instancePath: instancePath + "/notifier_id",
|
|
39377
39358
|
schemaPath: "#/$defs/OpaqueIdentifier/maxLength",
|
|
39378
39359
|
keyword: "maxLength",
|
|
@@ -39380,15 +39361,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39380
39361
|
message: "must NOT have more than 128 characters",
|
|
39381
39362
|
};
|
|
39382
39363
|
if (vErrors === null) {
|
|
39383
|
-
vErrors = [
|
|
39364
|
+
vErrors = [err6];
|
|
39384
39365
|
}
|
|
39385
39366
|
else {
|
|
39386
|
-
vErrors.push(
|
|
39367
|
+
vErrors.push(err6);
|
|
39387
39368
|
}
|
|
39388
39369
|
errors++;
|
|
39389
39370
|
}
|
|
39390
39371
|
if (func1(data2) < 1) {
|
|
39391
|
-
const
|
|
39372
|
+
const err7 = {
|
|
39392
39373
|
instancePath: instancePath + "/notifier_id",
|
|
39393
39374
|
schemaPath: "#/$defs/OpaqueIdentifier/minLength",
|
|
39394
39375
|
keyword: "minLength",
|
|
@@ -39396,15 +39377,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39396
39377
|
message: "must NOT have fewer than 1 characters",
|
|
39397
39378
|
};
|
|
39398
39379
|
if (vErrors === null) {
|
|
39399
|
-
vErrors = [
|
|
39380
|
+
vErrors = [err7];
|
|
39400
39381
|
}
|
|
39401
39382
|
else {
|
|
39402
|
-
vErrors.push(
|
|
39383
|
+
vErrors.push(err7);
|
|
39403
39384
|
}
|
|
39404
39385
|
errors++;
|
|
39405
39386
|
}
|
|
39406
39387
|
if (!pattern4.test(data2)) {
|
|
39407
|
-
const
|
|
39388
|
+
const err8 = {
|
|
39408
39389
|
instancePath: instancePath + "/notifier_id",
|
|
39409
39390
|
schemaPath: "#/$defs/OpaqueIdentifier/pattern",
|
|
39410
39391
|
keyword: "pattern",
|
|
@@ -39412,16 +39393,16 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39412
39393
|
message: 'must match pattern "' + "^[^\u0000-\u001f-\u2028\u2029]+$" + '"',
|
|
39413
39394
|
};
|
|
39414
39395
|
if (vErrors === null) {
|
|
39415
|
-
vErrors = [
|
|
39396
|
+
vErrors = [err8];
|
|
39416
39397
|
}
|
|
39417
39398
|
else {
|
|
39418
|
-
vErrors.push(
|
|
39399
|
+
vErrors.push(err8);
|
|
39419
39400
|
}
|
|
39420
39401
|
errors++;
|
|
39421
39402
|
}
|
|
39422
39403
|
}
|
|
39423
39404
|
else {
|
|
39424
|
-
const
|
|
39405
|
+
const err9 = {
|
|
39425
39406
|
instancePath: instancePath + "/notifier_id",
|
|
39426
39407
|
schemaPath: "#/$defs/OpaqueIdentifier/type",
|
|
39427
39408
|
keyword: "type",
|
|
@@ -39429,10 +39410,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39429
39410
|
message: "must be string",
|
|
39430
39411
|
};
|
|
39431
39412
|
if (vErrors === null) {
|
|
39432
|
-
vErrors = [
|
|
39413
|
+
vErrors = [err9];
|
|
39433
39414
|
}
|
|
39434
39415
|
else {
|
|
39435
|
-
vErrors.push(
|
|
39416
|
+
vErrors.push(err9);
|
|
39436
39417
|
}
|
|
39437
39418
|
errors++;
|
|
39438
39419
|
}
|
|
@@ -39440,7 +39421,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39440
39421
|
if (data.delivery_target !== undefined) {
|
|
39441
39422
|
let data3 = data.delivery_target;
|
|
39442
39423
|
if (typeof data3 !== "string") {
|
|
39443
|
-
const
|
|
39424
|
+
const err10 = {
|
|
39444
39425
|
instancePath: instancePath + "/delivery_target",
|
|
39445
39426
|
schemaPath: "#/$defs/MessageDeliveryTarget/type",
|
|
39446
39427
|
keyword: "type",
|
|
@@ -39448,15 +39429,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39448
39429
|
message: "must be string",
|
|
39449
39430
|
};
|
|
39450
39431
|
if (vErrors === null) {
|
|
39451
|
-
vErrors = [
|
|
39432
|
+
vErrors = [err10];
|
|
39452
39433
|
}
|
|
39453
39434
|
else {
|
|
39454
|
-
vErrors.push(
|
|
39435
|
+
vErrors.push(err10);
|
|
39455
39436
|
}
|
|
39456
39437
|
errors++;
|
|
39457
39438
|
}
|
|
39458
39439
|
if (!(data3 === "connection" || data3 === "simulator")) {
|
|
39459
|
-
const
|
|
39440
|
+
const err11 = {
|
|
39460
39441
|
instancePath: instancePath + "/delivery_target",
|
|
39461
39442
|
schemaPath: "#/$defs/MessageDeliveryTarget/enum",
|
|
39462
39443
|
keyword: "enum",
|
|
@@ -39464,10 +39445,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39464
39445
|
message: "must be equal to one of the allowed values",
|
|
39465
39446
|
};
|
|
39466
39447
|
if (vErrors === null) {
|
|
39467
|
-
vErrors = [
|
|
39448
|
+
vErrors = [err11];
|
|
39468
39449
|
}
|
|
39469
39450
|
else {
|
|
39470
|
-
vErrors.push(
|
|
39451
|
+
vErrors.push(err11);
|
|
39471
39452
|
}
|
|
39472
39453
|
errors++;
|
|
39473
39454
|
}
|
|
@@ -39476,7 +39457,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39476
39457
|
let data4 = data.connection_id;
|
|
39477
39458
|
if (typeof data4 === "string") {
|
|
39478
39459
|
if (func1(data4) > 128) {
|
|
39479
|
-
const
|
|
39460
|
+
const err12 = {
|
|
39480
39461
|
instancePath: instancePath + "/connection_id",
|
|
39481
39462
|
schemaPath: "#/$defs/OpaqueIdentifier/maxLength",
|
|
39482
39463
|
keyword: "maxLength",
|
|
@@ -39484,15 +39465,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39484
39465
|
message: "must NOT have more than 128 characters",
|
|
39485
39466
|
};
|
|
39486
39467
|
if (vErrors === null) {
|
|
39487
|
-
vErrors = [
|
|
39468
|
+
vErrors = [err12];
|
|
39488
39469
|
}
|
|
39489
39470
|
else {
|
|
39490
|
-
vErrors.push(
|
|
39471
|
+
vErrors.push(err12);
|
|
39491
39472
|
}
|
|
39492
39473
|
errors++;
|
|
39493
39474
|
}
|
|
39494
39475
|
if (func1(data4) < 1) {
|
|
39495
|
-
const
|
|
39476
|
+
const err13 = {
|
|
39496
39477
|
instancePath: instancePath + "/connection_id",
|
|
39497
39478
|
schemaPath: "#/$defs/OpaqueIdentifier/minLength",
|
|
39498
39479
|
keyword: "minLength",
|
|
@@ -39500,15 +39481,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39500
39481
|
message: "must NOT have fewer than 1 characters",
|
|
39501
39482
|
};
|
|
39502
39483
|
if (vErrors === null) {
|
|
39503
|
-
vErrors = [
|
|
39484
|
+
vErrors = [err13];
|
|
39504
39485
|
}
|
|
39505
39486
|
else {
|
|
39506
|
-
vErrors.push(
|
|
39487
|
+
vErrors.push(err13);
|
|
39507
39488
|
}
|
|
39508
39489
|
errors++;
|
|
39509
39490
|
}
|
|
39510
39491
|
if (!pattern4.test(data4)) {
|
|
39511
|
-
const
|
|
39492
|
+
const err14 = {
|
|
39512
39493
|
instancePath: instancePath + "/connection_id",
|
|
39513
39494
|
schemaPath: "#/$defs/OpaqueIdentifier/pattern",
|
|
39514
39495
|
keyword: "pattern",
|
|
@@ -39516,16 +39497,16 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39516
39497
|
message: 'must match pattern "' + "^[^\u0000-\u001f-\u2028\u2029]+$" + '"',
|
|
39517
39498
|
};
|
|
39518
39499
|
if (vErrors === null) {
|
|
39519
|
-
vErrors = [
|
|
39500
|
+
vErrors = [err14];
|
|
39520
39501
|
}
|
|
39521
39502
|
else {
|
|
39522
|
-
vErrors.push(
|
|
39503
|
+
vErrors.push(err14);
|
|
39523
39504
|
}
|
|
39524
39505
|
errors++;
|
|
39525
39506
|
}
|
|
39526
39507
|
}
|
|
39527
39508
|
else {
|
|
39528
|
-
const
|
|
39509
|
+
const err15 = {
|
|
39529
39510
|
instancePath: instancePath + "/connection_id",
|
|
39530
39511
|
schemaPath: "#/$defs/OpaqueIdentifier/type",
|
|
39531
39512
|
keyword: "type",
|
|
@@ -39533,10 +39514,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39533
39514
|
message: "must be string",
|
|
39534
39515
|
};
|
|
39535
39516
|
if (vErrors === null) {
|
|
39536
|
-
vErrors = [
|
|
39517
|
+
vErrors = [err15];
|
|
39537
39518
|
}
|
|
39538
39519
|
else {
|
|
39539
|
-
vErrors.push(
|
|
39520
|
+
vErrors.push(err15);
|
|
39540
39521
|
}
|
|
39541
39522
|
errors++;
|
|
39542
39523
|
}
|
|
@@ -39560,7 +39541,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39560
39541
|
let data6 = data.expires_at;
|
|
39561
39542
|
if (typeof data6 === "string") {
|
|
39562
39543
|
if (!pattern5.test(data6)) {
|
|
39563
|
-
const
|
|
39544
|
+
const err16 = {
|
|
39564
39545
|
instancePath: instancePath + "/expires_at",
|
|
39565
39546
|
schemaPath: "#/$defs/Timestamp/pattern",
|
|
39566
39547
|
keyword: "pattern",
|
|
@@ -39572,16 +39553,16 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39572
39553
|
'"',
|
|
39573
39554
|
};
|
|
39574
39555
|
if (vErrors === null) {
|
|
39575
|
-
vErrors = [
|
|
39556
|
+
vErrors = [err16];
|
|
39576
39557
|
}
|
|
39577
39558
|
else {
|
|
39578
|
-
vErrors.push(
|
|
39559
|
+
vErrors.push(err16);
|
|
39579
39560
|
}
|
|
39580
39561
|
errors++;
|
|
39581
39562
|
}
|
|
39582
39563
|
}
|
|
39583
39564
|
else {
|
|
39584
|
-
const
|
|
39565
|
+
const err17 = {
|
|
39585
39566
|
instancePath: instancePath + "/expires_at",
|
|
39586
39567
|
schemaPath: "#/$defs/Timestamp/type",
|
|
39587
39568
|
keyword: "type",
|
|
@@ -39589,10 +39570,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39589
39570
|
message: "must be string",
|
|
39590
39571
|
};
|
|
39591
39572
|
if (vErrors === null) {
|
|
39592
|
-
vErrors = [
|
|
39573
|
+
vErrors = [err17];
|
|
39593
39574
|
}
|
|
39594
39575
|
else {
|
|
39595
|
-
vErrors.push(
|
|
39576
|
+
vErrors.push(err17);
|
|
39596
39577
|
}
|
|
39597
39578
|
errors++;
|
|
39598
39579
|
}
|
|
@@ -39601,7 +39582,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39601
39582
|
let data7 = data.correlation_id;
|
|
39602
39583
|
if (typeof data7 === "string") {
|
|
39603
39584
|
if (func1(data7) > 128) {
|
|
39604
|
-
const
|
|
39585
|
+
const err18 = {
|
|
39605
39586
|
instancePath: instancePath + "/correlation_id",
|
|
39606
39587
|
schemaPath: "#/properties/correlation_id/maxLength",
|
|
39607
39588
|
keyword: "maxLength",
|
|
@@ -39609,15 +39590,15 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39609
39590
|
message: "must NOT have more than 128 characters",
|
|
39610
39591
|
};
|
|
39611
39592
|
if (vErrors === null) {
|
|
39612
|
-
vErrors = [
|
|
39593
|
+
vErrors = [err18];
|
|
39613
39594
|
}
|
|
39614
39595
|
else {
|
|
39615
|
-
vErrors.push(
|
|
39596
|
+
vErrors.push(err18);
|
|
39616
39597
|
}
|
|
39617
39598
|
errors++;
|
|
39618
39599
|
}
|
|
39619
39600
|
if (func1(data7) < 1) {
|
|
39620
|
-
const
|
|
39601
|
+
const err19 = {
|
|
39621
39602
|
instancePath: instancePath + "/correlation_id",
|
|
39622
39603
|
schemaPath: "#/properties/correlation_id/minLength",
|
|
39623
39604
|
keyword: "minLength",
|
|
@@ -39625,16 +39606,16 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39625
39606
|
message: "must NOT have fewer than 1 characters",
|
|
39626
39607
|
};
|
|
39627
39608
|
if (vErrors === null) {
|
|
39628
|
-
vErrors = [
|
|
39609
|
+
vErrors = [err19];
|
|
39629
39610
|
}
|
|
39630
39611
|
else {
|
|
39631
|
-
vErrors.push(
|
|
39612
|
+
vErrors.push(err19);
|
|
39632
39613
|
}
|
|
39633
39614
|
errors++;
|
|
39634
39615
|
}
|
|
39635
39616
|
}
|
|
39636
39617
|
else {
|
|
39637
|
-
const
|
|
39618
|
+
const err20 = {
|
|
39638
39619
|
instancePath: instancePath + "/correlation_id",
|
|
39639
39620
|
schemaPath: "#/properties/correlation_id/type",
|
|
39640
39621
|
keyword: "type",
|
|
@@ -39642,10 +39623,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39642
39623
|
message: "must be string",
|
|
39643
39624
|
};
|
|
39644
39625
|
if (vErrors === null) {
|
|
39645
|
-
vErrors = [
|
|
39626
|
+
vErrors = [err20];
|
|
39646
39627
|
}
|
|
39647
39628
|
else {
|
|
39648
|
-
vErrors.push(
|
|
39629
|
+
vErrors.push(err20);
|
|
39649
39630
|
}
|
|
39650
39631
|
errors++;
|
|
39651
39632
|
}
|
|
@@ -39682,7 +39663,7 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39682
39663
|
}
|
|
39683
39664
|
}
|
|
39684
39665
|
else {
|
|
39685
|
-
const
|
|
39666
|
+
const err21 = {
|
|
39686
39667
|
instancePath,
|
|
39687
39668
|
schemaPath: "#/type",
|
|
39688
39669
|
keyword: "type",
|
|
@@ -39690,10 +39671,10 @@ function validate497(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
39690
39671
|
message: "must be object",
|
|
39691
39672
|
};
|
|
39692
39673
|
if (vErrors === null) {
|
|
39693
|
-
vErrors = [
|
|
39674
|
+
vErrors = [err21];
|
|
39694
39675
|
}
|
|
39695
39676
|
else {
|
|
39696
|
-
vErrors.push(
|
|
39677
|
+
vErrors.push(err21);
|
|
39697
39678
|
}
|
|
39698
39679
|
errors++;
|
|
39699
39680
|
}
|
|
@@ -61130,7 +61111,7 @@ validate519.evaluated = {
|
|
|
61130
61111
|
dynamicItems: false,
|
|
61131
61112
|
};
|
|
61132
61113
|
export const validateUsageReport = validate521;
|
|
61133
|
-
const
|
|
61114
|
+
const schema716 = {
|
|
61134
61115
|
type: "object",
|
|
61135
61116
|
description: "An environment's accepted messages per UTC day over an inclusive range, one bucket for every day in the range including days with none, oldest first. `totals` sums the range.",
|
|
61136
61117
|
required: [
|
|
@@ -61175,17 +61156,17 @@ const schema713 = {
|
|
|
61175
61156
|
},
|
|
61176
61157
|
additionalProperties: false,
|
|
61177
61158
|
};
|
|
61178
|
-
const
|
|
61159
|
+
const schema717 = {
|
|
61179
61160
|
type: "string",
|
|
61180
61161
|
pattern: "^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
|
|
61181
61162
|
description: "A calendar day in UTC, as `YYYY-MM-DD`.",
|
|
61182
61163
|
};
|
|
61183
|
-
const
|
|
61164
|
+
const schema719 = {
|
|
61184
61165
|
type: "string",
|
|
61185
61166
|
enum: ["state", "channel", "connection"],
|
|
61186
61167
|
description: "What a usage breakdown splits each day's messages by: their current `MessageState`, their `Channel`, or the channel connection they were sent through.",
|
|
61187
61168
|
};
|
|
61188
|
-
const
|
|
61169
|
+
const schema724 = {
|
|
61189
61170
|
type: "object",
|
|
61190
61171
|
description: "How many of a day's messages fall in one group. `key` is a `MessageState` when grouping by state, a `Channel` when grouping by channel, and a channel connection id when grouping by connection. Groups with no messages are omitted, and a list holds at most the 200 largest groups, largest first.",
|
|
61191
61172
|
required: ["key", "count"],
|
|
@@ -61195,8 +61176,8 @@ const schema721 = {
|
|
|
61195
61176
|
},
|
|
61196
61177
|
additionalProperties: false,
|
|
61197
61178
|
};
|
|
61198
|
-
const
|
|
61199
|
-
const
|
|
61179
|
+
const pattern423 = new RegExp("^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$", "u");
|
|
61180
|
+
const schema722 = {
|
|
61200
61181
|
type: "object",
|
|
61201
61182
|
description: "One UTC day of an environment's accepted messages. `accepted` comes from the usage ledger, which is kept for as long as the environment exists. `groups` comes from the messages themselves, which are kept for 90 days, so a day older than `UsageReport.breakdown_retained_from` has an empty or partial breakdown. Messages sent before channel connections existed carry no connection, so a connection breakdown can sum to less than `accepted`.",
|
|
61202
61183
|
required: ["day", "accepted", "groups"],
|
|
@@ -61291,7 +61272,7 @@ function validate370(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
61291
61272
|
if (data.day !== undefined) {
|
|
61292
61273
|
let data0 = data.day;
|
|
61293
61274
|
if (typeof data0 === "string") {
|
|
61294
|
-
if (!
|
|
61275
|
+
if (!pattern423.test(data0)) {
|
|
61295
61276
|
const err4 = {
|
|
61296
61277
|
instancePath: instancePath + "/day",
|
|
61297
61278
|
schemaPath: "#/$defs/UsageDate/pattern",
|
|
@@ -61730,7 +61711,7 @@ function validate521(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
61730
61711
|
if (data.from !== undefined) {
|
|
61731
61712
|
let data0 = data.from;
|
|
61732
61713
|
if (typeof data0 === "string") {
|
|
61733
|
-
if (!
|
|
61714
|
+
if (!pattern423.test(data0)) {
|
|
61734
61715
|
const err7 = {
|
|
61735
61716
|
instancePath: instancePath + "/from",
|
|
61736
61717
|
schemaPath: "#/$defs/UsageDate/pattern",
|
|
@@ -61771,7 +61752,7 @@ function validate521(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
61771
61752
|
if (data.to !== undefined) {
|
|
61772
61753
|
let data1 = data.to;
|
|
61773
61754
|
if (typeof data1 === "string") {
|
|
61774
|
-
if (!
|
|
61755
|
+
if (!pattern423.test(data1)) {
|
|
61775
61756
|
const err9 = {
|
|
61776
61757
|
instancePath: instancePath + "/to",
|
|
61777
61758
|
schemaPath: "#/$defs/UsageDate/pattern",
|
|
@@ -61834,7 +61815,7 @@ function validate521(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
61834
61815
|
instancePath: instancePath + "/group_by",
|
|
61835
61816
|
schemaPath: "#/$defs/UsageGrouping/enum",
|
|
61836
61817
|
keyword: "enum",
|
|
61837
|
-
params: { allowedValues:
|
|
61818
|
+
params: { allowedValues: schema719.enum },
|
|
61838
61819
|
message: "must be equal to one of the allowed values",
|
|
61839
61820
|
};
|
|
61840
61821
|
if (vErrors === null) {
|
|
@@ -61849,7 +61830,7 @@ function validate521(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
61849
61830
|
if (data.breakdown_retained_from !== undefined) {
|
|
61850
61831
|
let data3 = data.breakdown_retained_from;
|
|
61851
61832
|
if (typeof data3 === "string") {
|
|
61852
|
-
if (!
|
|
61833
|
+
if (!pattern423.test(data3)) {
|
|
61853
61834
|
const err13 = {
|
|
61854
61835
|
instancePath: instancePath + "/breakdown_retained_from",
|
|
61855
61836
|
schemaPath: "#/$defs/UsageDate/pattern",
|
|
@@ -61890,7 +61871,7 @@ function validate521(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
61890
61871
|
if (data.first_accepted_on !== undefined) {
|
|
61891
61872
|
let data4 = data.first_accepted_on;
|
|
61892
61873
|
if (typeof data4 === "string") {
|
|
61893
|
-
if (!
|
|
61874
|
+
if (!pattern423.test(data4)) {
|
|
61894
61875
|
const err15 = {
|
|
61895
61876
|
instancePath: instancePath + "/first_accepted_on",
|
|
61896
61877
|
schemaPath: "#/$defs/UsageDate/pattern",
|
|
@@ -69501,6 +69482,25 @@ const schema585 = {
|
|
|
69501
69482
|
items: { $ref: "#/$defs/RecipientChannelSummary" },
|
|
69502
69483
|
},
|
|
69503
69484
|
preference: { $ref: "#/$defs/PreferredBinding" },
|
|
69485
|
+
send_route: {
|
|
69486
|
+
type: "object",
|
|
69487
|
+
description: "The connection a message to this subscriber goes through when the sender names none, chosen exactly as a send made now would choose it. Absent when no connected channel can take a message, which a send refuses as `subscriber_unbound`, or when the subscriber's preferred channel cannot, which a send refuses as `preferred_binding_unavailable`.",
|
|
69488
|
+
required: ["binding_id", "channel", "reason"],
|
|
69489
|
+
properties: {
|
|
69490
|
+
binding_id: { $ref: "#/$defs/OpaqueIdentifier" },
|
|
69491
|
+
connection_id: {
|
|
69492
|
+
$ref: "#/$defs/OpaqueIdentifier",
|
|
69493
|
+
description: "Absent only on a legacy binding that predates channel connections.",
|
|
69494
|
+
},
|
|
69495
|
+
channel: { $ref: "#/$defs/Channel" },
|
|
69496
|
+
reason: {
|
|
69497
|
+
type: "string",
|
|
69498
|
+
enum: ["preferred", "default_connection", "most_recently_connected"],
|
|
69499
|
+
description: "Why this connection: the subscriber's preferred channel, the default connection, or, when the subscriber is not connected through the default, the connection they connected through most recently.",
|
|
69500
|
+
},
|
|
69501
|
+
},
|
|
69502
|
+
additionalProperties: false,
|
|
69503
|
+
},
|
|
69504
69504
|
diagnostic_id: { $ref: "#/$defs/DiagnosticId" },
|
|
69505
69505
|
},
|
|
69506
69506
|
additionalProperties: false,
|
|
@@ -71523,6 +71523,7 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71523
71523
|
if (!(key0 === "subscriber_id" ||
|
|
71524
71524
|
key0 === "channels" ||
|
|
71525
71525
|
key0 === "preference" ||
|
|
71526
|
+
key0 === "send_route" ||
|
|
71526
71527
|
key0 === "diagnostic_id")) {
|
|
71527
71528
|
const err3 = {
|
|
71528
71529
|
instancePath,
|
|
@@ -71661,11 +71662,319 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71661
71662
|
errors = vErrors.length;
|
|
71662
71663
|
}
|
|
71663
71664
|
}
|
|
71664
|
-
if (data.
|
|
71665
|
-
let data4 = data.
|
|
71666
|
-
if (typeof data4
|
|
71667
|
-
if (
|
|
71665
|
+
if (data.send_route !== undefined) {
|
|
71666
|
+
let data4 = data.send_route;
|
|
71667
|
+
if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
|
|
71668
|
+
if (data4.binding_id === undefined) {
|
|
71668
71669
|
const err9 = {
|
|
71670
|
+
instancePath: instancePath + "/send_route",
|
|
71671
|
+
schemaPath: "#/properties/send_route/required",
|
|
71672
|
+
keyword: "required",
|
|
71673
|
+
params: { missingProperty: "binding_id" },
|
|
71674
|
+
message: "must have required property '" + "binding_id" + "'",
|
|
71675
|
+
};
|
|
71676
|
+
if (vErrors === null) {
|
|
71677
|
+
vErrors = [err9];
|
|
71678
|
+
}
|
|
71679
|
+
else {
|
|
71680
|
+
vErrors.push(err9);
|
|
71681
|
+
}
|
|
71682
|
+
errors++;
|
|
71683
|
+
}
|
|
71684
|
+
if (data4.channel === undefined) {
|
|
71685
|
+
const err10 = {
|
|
71686
|
+
instancePath: instancePath + "/send_route",
|
|
71687
|
+
schemaPath: "#/properties/send_route/required",
|
|
71688
|
+
keyword: "required",
|
|
71689
|
+
params: { missingProperty: "channel" },
|
|
71690
|
+
message: "must have required property '" + "channel" + "'",
|
|
71691
|
+
};
|
|
71692
|
+
if (vErrors === null) {
|
|
71693
|
+
vErrors = [err10];
|
|
71694
|
+
}
|
|
71695
|
+
else {
|
|
71696
|
+
vErrors.push(err10);
|
|
71697
|
+
}
|
|
71698
|
+
errors++;
|
|
71699
|
+
}
|
|
71700
|
+
if (data4.reason === undefined) {
|
|
71701
|
+
const err11 = {
|
|
71702
|
+
instancePath: instancePath + "/send_route",
|
|
71703
|
+
schemaPath: "#/properties/send_route/required",
|
|
71704
|
+
keyword: "required",
|
|
71705
|
+
params: { missingProperty: "reason" },
|
|
71706
|
+
message: "must have required property '" + "reason" + "'",
|
|
71707
|
+
};
|
|
71708
|
+
if (vErrors === null) {
|
|
71709
|
+
vErrors = [err11];
|
|
71710
|
+
}
|
|
71711
|
+
else {
|
|
71712
|
+
vErrors.push(err11);
|
|
71713
|
+
}
|
|
71714
|
+
errors++;
|
|
71715
|
+
}
|
|
71716
|
+
for (const key1 in data4) {
|
|
71717
|
+
if (!(key1 === "binding_id" ||
|
|
71718
|
+
key1 === "connection_id" ||
|
|
71719
|
+
key1 === "channel" ||
|
|
71720
|
+
key1 === "reason")) {
|
|
71721
|
+
const err12 = {
|
|
71722
|
+
instancePath: instancePath + "/send_route",
|
|
71723
|
+
schemaPath: "#/properties/send_route/additionalProperties",
|
|
71724
|
+
keyword: "additionalProperties",
|
|
71725
|
+
params: { additionalProperty: key1 },
|
|
71726
|
+
message: "must NOT have additional properties",
|
|
71727
|
+
};
|
|
71728
|
+
if (vErrors === null) {
|
|
71729
|
+
vErrors = [err12];
|
|
71730
|
+
}
|
|
71731
|
+
else {
|
|
71732
|
+
vErrors.push(err12);
|
|
71733
|
+
}
|
|
71734
|
+
errors++;
|
|
71735
|
+
}
|
|
71736
|
+
}
|
|
71737
|
+
if (data4.binding_id !== undefined) {
|
|
71738
|
+
let data5 = data4.binding_id;
|
|
71739
|
+
if (typeof data5 === "string") {
|
|
71740
|
+
if (func1(data5) > 128) {
|
|
71741
|
+
const err13 = {
|
|
71742
|
+
instancePath: instancePath + "/send_route/binding_id",
|
|
71743
|
+
schemaPath: "#/$defs/OpaqueIdentifier/maxLength",
|
|
71744
|
+
keyword: "maxLength",
|
|
71745
|
+
params: { limit: 128 },
|
|
71746
|
+
message: "must NOT have more than 128 characters",
|
|
71747
|
+
};
|
|
71748
|
+
if (vErrors === null) {
|
|
71749
|
+
vErrors = [err13];
|
|
71750
|
+
}
|
|
71751
|
+
else {
|
|
71752
|
+
vErrors.push(err13);
|
|
71753
|
+
}
|
|
71754
|
+
errors++;
|
|
71755
|
+
}
|
|
71756
|
+
if (func1(data5) < 1) {
|
|
71757
|
+
const err14 = {
|
|
71758
|
+
instancePath: instancePath + "/send_route/binding_id",
|
|
71759
|
+
schemaPath: "#/$defs/OpaqueIdentifier/minLength",
|
|
71760
|
+
keyword: "minLength",
|
|
71761
|
+
params: { limit: 1 },
|
|
71762
|
+
message: "must NOT have fewer than 1 characters",
|
|
71763
|
+
};
|
|
71764
|
+
if (vErrors === null) {
|
|
71765
|
+
vErrors = [err14];
|
|
71766
|
+
}
|
|
71767
|
+
else {
|
|
71768
|
+
vErrors.push(err14);
|
|
71769
|
+
}
|
|
71770
|
+
errors++;
|
|
71771
|
+
}
|
|
71772
|
+
if (!pattern4.test(data5)) {
|
|
71773
|
+
const err15 = {
|
|
71774
|
+
instancePath: instancePath + "/send_route/binding_id",
|
|
71775
|
+
schemaPath: "#/$defs/OpaqueIdentifier/pattern",
|
|
71776
|
+
keyword: "pattern",
|
|
71777
|
+
params: { pattern: "^[^\u0000-\u001f-\u2028\u2029]+$" },
|
|
71778
|
+
message: 'must match pattern "' +
|
|
71779
|
+
"^[^\u0000-\u001f-\u2028\u2029]+$" +
|
|
71780
|
+
'"',
|
|
71781
|
+
};
|
|
71782
|
+
if (vErrors === null) {
|
|
71783
|
+
vErrors = [err15];
|
|
71784
|
+
}
|
|
71785
|
+
else {
|
|
71786
|
+
vErrors.push(err15);
|
|
71787
|
+
}
|
|
71788
|
+
errors++;
|
|
71789
|
+
}
|
|
71790
|
+
}
|
|
71791
|
+
else {
|
|
71792
|
+
const err16 = {
|
|
71793
|
+
instancePath: instancePath + "/send_route/binding_id",
|
|
71794
|
+
schemaPath: "#/$defs/OpaqueIdentifier/type",
|
|
71795
|
+
keyword: "type",
|
|
71796
|
+
params: { type: "string" },
|
|
71797
|
+
message: "must be string",
|
|
71798
|
+
};
|
|
71799
|
+
if (vErrors === null) {
|
|
71800
|
+
vErrors = [err16];
|
|
71801
|
+
}
|
|
71802
|
+
else {
|
|
71803
|
+
vErrors.push(err16);
|
|
71804
|
+
}
|
|
71805
|
+
errors++;
|
|
71806
|
+
}
|
|
71807
|
+
}
|
|
71808
|
+
if (data4.connection_id !== undefined) {
|
|
71809
|
+
let data6 = data4.connection_id;
|
|
71810
|
+
if (typeof data6 === "string") {
|
|
71811
|
+
if (func1(data6) > 128) {
|
|
71812
|
+
const err17 = {
|
|
71813
|
+
instancePath: instancePath + "/send_route/connection_id",
|
|
71814
|
+
schemaPath: "#/$defs/OpaqueIdentifier/maxLength",
|
|
71815
|
+
keyword: "maxLength",
|
|
71816
|
+
params: { limit: 128 },
|
|
71817
|
+
message: "must NOT have more than 128 characters",
|
|
71818
|
+
};
|
|
71819
|
+
if (vErrors === null) {
|
|
71820
|
+
vErrors = [err17];
|
|
71821
|
+
}
|
|
71822
|
+
else {
|
|
71823
|
+
vErrors.push(err17);
|
|
71824
|
+
}
|
|
71825
|
+
errors++;
|
|
71826
|
+
}
|
|
71827
|
+
if (func1(data6) < 1) {
|
|
71828
|
+
const err18 = {
|
|
71829
|
+
instancePath: instancePath + "/send_route/connection_id",
|
|
71830
|
+
schemaPath: "#/$defs/OpaqueIdentifier/minLength",
|
|
71831
|
+
keyword: "minLength",
|
|
71832
|
+
params: { limit: 1 },
|
|
71833
|
+
message: "must NOT have fewer than 1 characters",
|
|
71834
|
+
};
|
|
71835
|
+
if (vErrors === null) {
|
|
71836
|
+
vErrors = [err18];
|
|
71837
|
+
}
|
|
71838
|
+
else {
|
|
71839
|
+
vErrors.push(err18);
|
|
71840
|
+
}
|
|
71841
|
+
errors++;
|
|
71842
|
+
}
|
|
71843
|
+
if (!pattern4.test(data6)) {
|
|
71844
|
+
const err19 = {
|
|
71845
|
+
instancePath: instancePath + "/send_route/connection_id",
|
|
71846
|
+
schemaPath: "#/$defs/OpaqueIdentifier/pattern",
|
|
71847
|
+
keyword: "pattern",
|
|
71848
|
+
params: { pattern: "^[^\u0000-\u001f-\u2028\u2029]+$" },
|
|
71849
|
+
message: 'must match pattern "' +
|
|
71850
|
+
"^[^\u0000-\u001f-\u2028\u2029]+$" +
|
|
71851
|
+
'"',
|
|
71852
|
+
};
|
|
71853
|
+
if (vErrors === null) {
|
|
71854
|
+
vErrors = [err19];
|
|
71855
|
+
}
|
|
71856
|
+
else {
|
|
71857
|
+
vErrors.push(err19);
|
|
71858
|
+
}
|
|
71859
|
+
errors++;
|
|
71860
|
+
}
|
|
71861
|
+
}
|
|
71862
|
+
else {
|
|
71863
|
+
const err20 = {
|
|
71864
|
+
instancePath: instancePath + "/send_route/connection_id",
|
|
71865
|
+
schemaPath: "#/$defs/OpaqueIdentifier/type",
|
|
71866
|
+
keyword: "type",
|
|
71867
|
+
params: { type: "string" },
|
|
71868
|
+
message: "must be string",
|
|
71869
|
+
};
|
|
71870
|
+
if (vErrors === null) {
|
|
71871
|
+
vErrors = [err20];
|
|
71872
|
+
}
|
|
71873
|
+
else {
|
|
71874
|
+
vErrors.push(err20);
|
|
71875
|
+
}
|
|
71876
|
+
errors++;
|
|
71877
|
+
}
|
|
71878
|
+
}
|
|
71879
|
+
if (data4.channel !== undefined) {
|
|
71880
|
+
let data7 = data4.channel;
|
|
71881
|
+
if (typeof data7 !== "string") {
|
|
71882
|
+
const err21 = {
|
|
71883
|
+
instancePath: instancePath + "/send_route/channel",
|
|
71884
|
+
schemaPath: "#/$defs/Channel/type",
|
|
71885
|
+
keyword: "type",
|
|
71886
|
+
params: { type: "string" },
|
|
71887
|
+
message: "must be string",
|
|
71888
|
+
};
|
|
71889
|
+
if (vErrors === null) {
|
|
71890
|
+
vErrors = [err21];
|
|
71891
|
+
}
|
|
71892
|
+
else {
|
|
71893
|
+
vErrors.push(err21);
|
|
71894
|
+
}
|
|
71895
|
+
errors++;
|
|
71896
|
+
}
|
|
71897
|
+
if (!(data7 === "telegram" ||
|
|
71898
|
+
data7 === "slack" ||
|
|
71899
|
+
data7 === "email")) {
|
|
71900
|
+
const err22 = {
|
|
71901
|
+
instancePath: instancePath + "/send_route/channel",
|
|
71902
|
+
schemaPath: "#/$defs/Channel/enum",
|
|
71903
|
+
keyword: "enum",
|
|
71904
|
+
params: { allowedValues: schema168.enum },
|
|
71905
|
+
message: "must be equal to one of the allowed values",
|
|
71906
|
+
};
|
|
71907
|
+
if (vErrors === null) {
|
|
71908
|
+
vErrors = [err22];
|
|
71909
|
+
}
|
|
71910
|
+
else {
|
|
71911
|
+
vErrors.push(err22);
|
|
71912
|
+
}
|
|
71913
|
+
errors++;
|
|
71914
|
+
}
|
|
71915
|
+
}
|
|
71916
|
+
if (data4.reason !== undefined) {
|
|
71917
|
+
let data8 = data4.reason;
|
|
71918
|
+
if (typeof data8 !== "string") {
|
|
71919
|
+
const err23 = {
|
|
71920
|
+
instancePath: instancePath + "/send_route/reason",
|
|
71921
|
+
schemaPath: "#/properties/send_route/properties/reason/type",
|
|
71922
|
+
keyword: "type",
|
|
71923
|
+
params: { type: "string" },
|
|
71924
|
+
message: "must be string",
|
|
71925
|
+
};
|
|
71926
|
+
if (vErrors === null) {
|
|
71927
|
+
vErrors = [err23];
|
|
71928
|
+
}
|
|
71929
|
+
else {
|
|
71930
|
+
vErrors.push(err23);
|
|
71931
|
+
}
|
|
71932
|
+
errors++;
|
|
71933
|
+
}
|
|
71934
|
+
if (!(data8 === "preferred" ||
|
|
71935
|
+
data8 === "default_connection" ||
|
|
71936
|
+
data8 === "most_recently_connected")) {
|
|
71937
|
+
const err24 = {
|
|
71938
|
+
instancePath: instancePath + "/send_route/reason",
|
|
71939
|
+
schemaPath: "#/properties/send_route/properties/reason/enum",
|
|
71940
|
+
keyword: "enum",
|
|
71941
|
+
params: {
|
|
71942
|
+
allowedValues: schema585.properties.send_route.properties.reason.enum,
|
|
71943
|
+
},
|
|
71944
|
+
message: "must be equal to one of the allowed values",
|
|
71945
|
+
};
|
|
71946
|
+
if (vErrors === null) {
|
|
71947
|
+
vErrors = [err24];
|
|
71948
|
+
}
|
|
71949
|
+
else {
|
|
71950
|
+
vErrors.push(err24);
|
|
71951
|
+
}
|
|
71952
|
+
errors++;
|
|
71953
|
+
}
|
|
71954
|
+
}
|
|
71955
|
+
}
|
|
71956
|
+
else {
|
|
71957
|
+
const err25 = {
|
|
71958
|
+
instancePath: instancePath + "/send_route",
|
|
71959
|
+
schemaPath: "#/properties/send_route/type",
|
|
71960
|
+
keyword: "type",
|
|
71961
|
+
params: { type: "object" },
|
|
71962
|
+
message: "must be object",
|
|
71963
|
+
};
|
|
71964
|
+
if (vErrors === null) {
|
|
71965
|
+
vErrors = [err25];
|
|
71966
|
+
}
|
|
71967
|
+
else {
|
|
71968
|
+
vErrors.push(err25);
|
|
71969
|
+
}
|
|
71970
|
+
errors++;
|
|
71971
|
+
}
|
|
71972
|
+
}
|
|
71973
|
+
if (data.diagnostic_id !== undefined) {
|
|
71974
|
+
let data9 = data.diagnostic_id;
|
|
71975
|
+
if (typeof data9 === "string") {
|
|
71976
|
+
if (func1(data9) > 128) {
|
|
71977
|
+
const err26 = {
|
|
71669
71978
|
instancePath: instancePath + "/diagnostic_id",
|
|
71670
71979
|
schemaPath: "#/$defs/DiagnosticId/maxLength",
|
|
71671
71980
|
keyword: "maxLength",
|
|
@@ -71673,15 +71982,15 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71673
71982
|
message: "must NOT have more than 128 characters",
|
|
71674
71983
|
};
|
|
71675
71984
|
if (vErrors === null) {
|
|
71676
|
-
vErrors = [
|
|
71985
|
+
vErrors = [err26];
|
|
71677
71986
|
}
|
|
71678
71987
|
else {
|
|
71679
|
-
vErrors.push(
|
|
71988
|
+
vErrors.push(err26);
|
|
71680
71989
|
}
|
|
71681
71990
|
errors++;
|
|
71682
71991
|
}
|
|
71683
|
-
if (func1(
|
|
71684
|
-
const
|
|
71992
|
+
if (func1(data9) < 8) {
|
|
71993
|
+
const err27 = {
|
|
71685
71994
|
instancePath: instancePath + "/diagnostic_id",
|
|
71686
71995
|
schemaPath: "#/$defs/DiagnosticId/minLength",
|
|
71687
71996
|
keyword: "minLength",
|
|
@@ -71689,15 +71998,15 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71689
71998
|
message: "must NOT have fewer than 8 characters",
|
|
71690
71999
|
};
|
|
71691
72000
|
if (vErrors === null) {
|
|
71692
|
-
vErrors = [
|
|
72001
|
+
vErrors = [err27];
|
|
71693
72002
|
}
|
|
71694
72003
|
else {
|
|
71695
|
-
vErrors.push(
|
|
72004
|
+
vErrors.push(err27);
|
|
71696
72005
|
}
|
|
71697
72006
|
errors++;
|
|
71698
72007
|
}
|
|
71699
|
-
if (!pattern7.test(
|
|
71700
|
-
const
|
|
72008
|
+
if (!pattern7.test(data9)) {
|
|
72009
|
+
const err28 = {
|
|
71701
72010
|
instancePath: instancePath + "/diagnostic_id",
|
|
71702
72011
|
schemaPath: "#/$defs/DiagnosticId/pattern",
|
|
71703
72012
|
keyword: "pattern",
|
|
@@ -71705,16 +72014,16 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71705
72014
|
message: 'must match pattern "' + "^[A-Za-z0-9_-]+$" + '"',
|
|
71706
72015
|
};
|
|
71707
72016
|
if (vErrors === null) {
|
|
71708
|
-
vErrors = [
|
|
72017
|
+
vErrors = [err28];
|
|
71709
72018
|
}
|
|
71710
72019
|
else {
|
|
71711
|
-
vErrors.push(
|
|
72020
|
+
vErrors.push(err28);
|
|
71712
72021
|
}
|
|
71713
72022
|
errors++;
|
|
71714
72023
|
}
|
|
71715
72024
|
}
|
|
71716
72025
|
else {
|
|
71717
|
-
const
|
|
72026
|
+
const err29 = {
|
|
71718
72027
|
instancePath: instancePath + "/diagnostic_id",
|
|
71719
72028
|
schemaPath: "#/$defs/DiagnosticId/type",
|
|
71720
72029
|
keyword: "type",
|
|
@@ -71722,17 +72031,17 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71722
72031
|
message: "must be string",
|
|
71723
72032
|
};
|
|
71724
72033
|
if (vErrors === null) {
|
|
71725
|
-
vErrors = [
|
|
72034
|
+
vErrors = [err29];
|
|
71726
72035
|
}
|
|
71727
72036
|
else {
|
|
71728
|
-
vErrors.push(
|
|
72037
|
+
vErrors.push(err29);
|
|
71729
72038
|
}
|
|
71730
72039
|
errors++;
|
|
71731
72040
|
}
|
|
71732
72041
|
}
|
|
71733
72042
|
}
|
|
71734
72043
|
else {
|
|
71735
|
-
const
|
|
72044
|
+
const err30 = {
|
|
71736
72045
|
instancePath,
|
|
71737
72046
|
schemaPath: "#/type",
|
|
71738
72047
|
keyword: "type",
|
|
@@ -71740,10 +72049,10 @@ function validate542(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
71740
72049
|
message: "must be object",
|
|
71741
72050
|
};
|
|
71742
72051
|
if (vErrors === null) {
|
|
71743
|
-
vErrors = [
|
|
72052
|
+
vErrors = [err30];
|
|
71744
72053
|
}
|
|
71745
72054
|
else {
|
|
71746
|
-
vErrors.push(
|
|
72055
|
+
vErrors.push(err30);
|
|
71747
72056
|
}
|
|
71748
72057
|
errors++;
|
|
71749
72058
|
}
|
|
@@ -71756,7 +72065,7 @@ validate542.evaluated = {
|
|
|
71756
72065
|
dynamicItems: false,
|
|
71757
72066
|
};
|
|
71758
72067
|
export const validateAcknowledgeEmailRemediationRequest = validate545;
|
|
71759
|
-
const
|
|
72068
|
+
const schema602 = {
|
|
71760
72069
|
type: "object",
|
|
71761
72070
|
description: "An organization administrator acknowledges that the cause of the email sending hold has been remediated. This never reactivates revoked or suppressed recipients.",
|
|
71762
72071
|
required: ["acknowledged"],
|
|
@@ -71852,7 +72161,7 @@ validate545.evaluated = {
|
|
|
71852
72161
|
dynamicItems: false,
|
|
71853
72162
|
};
|
|
71854
72163
|
export const validateCreateRecipientSessionRequest = validate546;
|
|
71855
|
-
const
|
|
72164
|
+
const schema603 = {
|
|
71856
72165
|
type: "object",
|
|
71857
72166
|
description: "Creates one short-lived browser capability for the authenticated project environment and one subscriber. Configuration, channel selection, groups, messages, and arbitrary return URLs are structurally absent.",
|
|
71858
72167
|
required: ["subscriber_id"],
|
|
@@ -72187,7 +72496,7 @@ validate546.evaluated = {
|
|
|
72187
72496
|
dynamicItems: false,
|
|
72188
72497
|
};
|
|
72189
72498
|
export const validateCreateRecipientSessionResponse = validate547;
|
|
72190
|
-
const
|
|
72499
|
+
const schema607 = {
|
|
72191
72500
|
type: "object",
|
|
72192
72501
|
description: "The only response that reveals the recipient capability. The hosted URL itself carries no capability in its query string.",
|
|
72193
72502
|
required: ["session", "browser_capability", "hosted_url"],
|
|
@@ -72204,7 +72513,7 @@ const schema604 = {
|
|
|
72204
72513
|
},
|
|
72205
72514
|
additionalProperties: false,
|
|
72206
72515
|
};
|
|
72207
|
-
const
|
|
72516
|
+
const schema616 = {
|
|
72208
72517
|
type: "string",
|
|
72209
72518
|
minLength: 77,
|
|
72210
72519
|
maxLength: 77,
|
|
@@ -72212,7 +72521,7 @@ const schema613 = {
|
|
|
72212
72521
|
writeOnly: true,
|
|
72213
72522
|
description: "Creation-only opaque recipient capability. It is stored by digest and is never accepted as an application bearer credential.",
|
|
72214
72523
|
};
|
|
72215
|
-
const
|
|
72524
|
+
const schema608 = {
|
|
72216
72525
|
type: "object",
|
|
72217
72526
|
description: "A browser-safe projection for the exact subscriber selected when the session was created. Organization, project, environment, subscriber, origin, resolved return URL, provider identity, credentials, and group state are structurally absent.",
|
|
72218
72527
|
required: [
|
|
@@ -72258,14 +72567,14 @@ const schema605 = {
|
|
|
72258
72567
|
},
|
|
72259
72568
|
additionalProperties: false,
|
|
72260
72569
|
};
|
|
72261
|
-
const
|
|
72570
|
+
const schema610 = {
|
|
72262
72571
|
type: "string",
|
|
72263
72572
|
minLength: 33,
|
|
72264
72573
|
maxLength: 33,
|
|
72265
72574
|
pattern: "^wb_rs1\\.rsc_[A-Za-z0-9_-]{22}$",
|
|
72266
72575
|
description: "A non-secret prefix safe for later session projection and support correlation.",
|
|
72267
72576
|
};
|
|
72268
|
-
const
|
|
72577
|
+
const schema612 = {
|
|
72269
72578
|
type: "object",
|
|
72270
72579
|
description: "Sparse recipient panel text for the session locale. Every displayed string is customizable; pause, resume and unsubscribe capability semantics stay fixed.",
|
|
72271
72580
|
properties: {
|
|
@@ -72318,7 +72627,7 @@ const schema609 = {
|
|
|
72318
72627
|
},
|
|
72319
72628
|
additionalProperties: false,
|
|
72320
72629
|
};
|
|
72321
|
-
const
|
|
72630
|
+
const schema613 = {
|
|
72322
72631
|
type: "string",
|
|
72323
72632
|
enum: [
|
|
72324
72633
|
"session:read",
|
|
@@ -72329,7 +72638,7 @@ const schema610 = {
|
|
|
72329
72638
|
"preference:write",
|
|
72330
72639
|
],
|
|
72331
72640
|
};
|
|
72332
|
-
const
|
|
72641
|
+
const pattern351 = new RegExp("^wb_rs1\\.rsc_[A-Za-z0-9_-]{22}$", "u");
|
|
72333
72642
|
function validate317(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
72334
72643
|
let vErrors = null;
|
|
72335
72644
|
let errors = 0;
|
|
@@ -72518,7 +72827,7 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
72518
72827
|
errors++;
|
|
72519
72828
|
}
|
|
72520
72829
|
for (const key0 in data) {
|
|
72521
|
-
if (!func14.call(
|
|
72830
|
+
if (!func14.call(schema608.properties, key0)) {
|
|
72522
72831
|
const err11 = {
|
|
72523
72832
|
instancePath,
|
|
72524
72833
|
schemaPath: "#/additionalProperties",
|
|
@@ -72639,7 +72948,7 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
72639
72948
|
}
|
|
72640
72949
|
errors++;
|
|
72641
72950
|
}
|
|
72642
|
-
if (!
|
|
72951
|
+
if (!pattern351.test(data1)) {
|
|
72643
72952
|
const err18 = {
|
|
72644
72953
|
instancePath: instancePath + "/capability_prefix",
|
|
72645
72954
|
schemaPath: "#/$defs/RecipientSessionCapabilityPrefix/pattern",
|
|
@@ -72696,7 +73005,7 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
72696
73005
|
instancePath: instancePath + "/state",
|
|
72697
73006
|
schemaPath: "#/properties/state/enum",
|
|
72698
73007
|
keyword: "enum",
|
|
72699
|
-
params: { allowedValues:
|
|
73008
|
+
params: { allowedValues: schema608.properties.state.enum },
|
|
72700
73009
|
message: "must be equal to one of the allowed values",
|
|
72701
73010
|
};
|
|
72702
73011
|
if (vErrors === null) {
|
|
@@ -72817,7 +73126,7 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
72817
73126
|
let data6 = data.panel_copy;
|
|
72818
73127
|
if (data6 && typeof data6 == "object" && !Array.isArray(data6)) {
|
|
72819
73128
|
for (const key1 in data6) {
|
|
72820
|
-
if (!func14.call(
|
|
73129
|
+
if (!func14.call(schema612.properties, key1)) {
|
|
72821
73130
|
const err26 = {
|
|
72822
73131
|
instancePath: instancePath + "/panel_copy",
|
|
72823
73132
|
schemaPath: "#/$defs/RecipientPanelCopyOverrides/additionalProperties",
|
|
@@ -74633,7 +74942,7 @@ function validate317(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
74633
74942
|
instancePath: instancePath + "/operations/" + i1,
|
|
74634
74943
|
schemaPath: "#/$defs/RecipientSessionOperation/enum",
|
|
74635
74944
|
keyword: "enum",
|
|
74636
|
-
params: { allowedValues:
|
|
74945
|
+
params: { allowedValues: schema613.enum },
|
|
74637
74946
|
message: "must be equal to one of the allowed values",
|
|
74638
74947
|
};
|
|
74639
74948
|
if (vErrors === null) {
|
|
@@ -74827,7 +75136,7 @@ validate317.evaluated = {
|
|
|
74827
75136
|
dynamicProps: false,
|
|
74828
75137
|
dynamicItems: false,
|
|
74829
75138
|
};
|
|
74830
|
-
const
|
|
75139
|
+
const pattern354 = new RegExp("^wb_rs1\\.rsc_[A-Za-z0-9_-]{22}\\.[A-Za-z0-9_-]{43}$", "u");
|
|
74831
75140
|
function validate547(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
74832
75141
|
let vErrors = null;
|
|
74833
75142
|
let errors = 0;
|
|
@@ -74957,7 +75266,7 @@ function validate547(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
74957
75266
|
}
|
|
74958
75267
|
errors++;
|
|
74959
75268
|
}
|
|
74960
|
-
if (!
|
|
75269
|
+
if (!pattern354.test(data1)) {
|
|
74961
75270
|
const err6 = {
|
|
74962
75271
|
instancePath: instancePath + "/browser_capability",
|
|
74963
75272
|
schemaPath: "#/$defs/RecipientSessionCapability/pattern",
|
|
@@ -75264,7 +75573,7 @@ function validate549(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
75264
75573
|
errors++;
|
|
75265
75574
|
}
|
|
75266
75575
|
for (const key0 in data) {
|
|
75267
|
-
if (!func14.call(
|
|
75576
|
+
if (!func14.call(schema608.properties, key0)) {
|
|
75268
75577
|
const err11 = {
|
|
75269
75578
|
instancePath,
|
|
75270
75579
|
schemaPath: "#/additionalProperties",
|
|
@@ -75385,7 +75694,7 @@ function validate549(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
75385
75694
|
}
|
|
75386
75695
|
errors++;
|
|
75387
75696
|
}
|
|
75388
|
-
if (!
|
|
75697
|
+
if (!pattern351.test(data1)) {
|
|
75389
75698
|
const err18 = {
|
|
75390
75699
|
instancePath: instancePath + "/capability_prefix",
|
|
75391
75700
|
schemaPath: "#/$defs/RecipientSessionCapabilityPrefix/pattern",
|
|
@@ -75442,7 +75751,7 @@ function validate549(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
75442
75751
|
instancePath: instancePath + "/state",
|
|
75443
75752
|
schemaPath: "#/properties/state/enum",
|
|
75444
75753
|
keyword: "enum",
|
|
75445
|
-
params: { allowedValues:
|
|
75754
|
+
params: { allowedValues: schema608.properties.state.enum },
|
|
75446
75755
|
message: "must be equal to one of the allowed values",
|
|
75447
75756
|
};
|
|
75448
75757
|
if (vErrors === null) {
|
|
@@ -75563,7 +75872,7 @@ function validate549(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
75563
75872
|
let data6 = data.panel_copy;
|
|
75564
75873
|
if (data6 && typeof data6 == "object" && !Array.isArray(data6)) {
|
|
75565
75874
|
for (const key1 in data6) {
|
|
75566
|
-
if (!func14.call(
|
|
75875
|
+
if (!func14.call(schema612.properties, key1)) {
|
|
75567
75876
|
const err26 = {
|
|
75568
75877
|
instancePath: instancePath + "/panel_copy",
|
|
75569
75878
|
schemaPath: "#/$defs/RecipientPanelCopyOverrides/additionalProperties",
|
|
@@ -77379,7 +77688,7 @@ function validate549(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
77379
77688
|
instancePath: instancePath + "/operations/" + i1,
|
|
77380
77689
|
schemaPath: "#/$defs/RecipientSessionOperation/enum",
|
|
77381
77690
|
keyword: "enum",
|
|
77382
|
-
params: { allowedValues:
|
|
77691
|
+
params: { allowedValues: schema613.enum },
|
|
77383
77692
|
message: "must be equal to one of the allowed values",
|
|
77384
77693
|
};
|
|
77385
77694
|
if (vErrors === null) {
|
|
@@ -77574,7 +77883,7 @@ validate549.evaluated = {
|
|
|
77574
77883
|
dynamicItems: false,
|
|
77575
77884
|
};
|
|
77576
77885
|
export const validateCreateProviderHandoffRequest = validate553;
|
|
77577
|
-
const
|
|
77886
|
+
const schema617 = {
|
|
77578
77887
|
type: "object",
|
|
77579
77888
|
description: "Requests one single-use provider handoff for a channel already enabled by the session's pinned configuration revision.",
|
|
77580
77889
|
required: ["channel", "completion"],
|
|
@@ -77584,7 +77893,7 @@ const schema614 = {
|
|
|
77584
77893
|
},
|
|
77585
77894
|
additionalProperties: false,
|
|
77586
77895
|
};
|
|
77587
|
-
const
|
|
77896
|
+
const schema619 = {
|
|
77588
77897
|
oneOf: [
|
|
77589
77898
|
{
|
|
77590
77899
|
type: "object",
|
|
@@ -78127,7 +78436,7 @@ validate553.evaluated = {
|
|
|
78127
78436
|
dynamicItems: false,
|
|
78128
78437
|
};
|
|
78129
78438
|
export const validateProviderHandoff = validate555;
|
|
78130
|
-
const
|
|
78439
|
+
const schema621 = {
|
|
78131
78440
|
type: "object",
|
|
78132
78441
|
description: "One independently expiring, opaque, single-use provider handoff. Callback/provider selection is bound server-side and cannot be substituted by a browser field.",
|
|
78133
78442
|
required: [
|
|
@@ -78159,7 +78468,7 @@ const schema618 = {
|
|
|
78159
78468
|
},
|
|
78160
78469
|
additionalProperties: false,
|
|
78161
78470
|
};
|
|
78162
|
-
const
|
|
78471
|
+
const pattern358 = new RegExp("^https://connect\\.whooshbang\\.com/handoffs/wb_rh1\\.rhc_[A-Za-z0-9_-]{22}\\.[A-Za-z0-9_-]{43}$", "u");
|
|
78163
78472
|
function validate555(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
78164
78473
|
let vErrors = null;
|
|
78165
78474
|
let errors = 0;
|
|
@@ -78437,7 +78746,7 @@ function validate555(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
78437
78746
|
instancePath: instancePath + "/state",
|
|
78438
78747
|
schemaPath: "#/properties/state/enum",
|
|
78439
78748
|
keyword: "enum",
|
|
78440
|
-
params: { allowedValues:
|
|
78749
|
+
params: { allowedValues: schema621.properties.state.enum },
|
|
78441
78750
|
message: "must be equal to one of the allowed values",
|
|
78442
78751
|
};
|
|
78443
78752
|
if (vErrors === null) {
|
|
@@ -78468,7 +78777,7 @@ function validate555(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
78468
78777
|
}
|
|
78469
78778
|
errors++;
|
|
78470
78779
|
}
|
|
78471
|
-
if (!
|
|
78780
|
+
if (!pattern358.test(data3)) {
|
|
78472
78781
|
const err17 = {
|
|
78473
78782
|
instancePath: instancePath + "/handoff_url",
|
|
78474
78783
|
schemaPath: "#/properties/handoff_url/pattern",
|
|
@@ -78657,7 +78966,7 @@ validate555.evaluated = {
|
|
|
78657
78966
|
dynamicItems: false,
|
|
78658
78967
|
};
|
|
78659
78968
|
export const validateRecipientHandoffCompletion = validate557;
|
|
78660
|
-
const
|
|
78969
|
+
const schema626 = {
|
|
78661
78970
|
type: "object",
|
|
78662
78971
|
description: "The closed popup/redirect completion payload. A popup accepts it only from WhooshBang's exact hosted origin and after matching the opener nonce.",
|
|
78663
78972
|
required: ["schema", "session_id", "handoff_id", "status", "mode"],
|
|
@@ -79096,7 +79405,7 @@ function validate557(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
79096
79405
|
instancePath: instancePath + "/status",
|
|
79097
79406
|
schemaPath: "#/properties/status/enum",
|
|
79098
79407
|
keyword: "enum",
|
|
79099
|
-
params: { allowedValues:
|
|
79408
|
+
params: { allowedValues: schema626.properties.status.enum },
|
|
79100
79409
|
message: "must be equal to one of the allowed values",
|
|
79101
79410
|
};
|
|
79102
79411
|
if (vErrors === null) {
|
|
@@ -79131,7 +79440,7 @@ function validate557(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
79131
79440
|
instancePath: instancePath + "/mode",
|
|
79132
79441
|
schemaPath: "#/properties/mode/enum",
|
|
79133
79442
|
keyword: "enum",
|
|
79134
|
-
params: { allowedValues:
|
|
79443
|
+
params: { allowedValues: schema626.properties.mode.enum },
|
|
79135
79444
|
message: "must be equal to one of the allowed values",
|
|
79136
79445
|
};
|
|
79137
79446
|
if (vErrors === null) {
|
|
@@ -79238,7 +79547,7 @@ validate557.evaluated = {
|
|
|
79238
79547
|
dynamicItems: false,
|
|
79239
79548
|
};
|
|
79240
79549
|
export const validateSetPreferredBindingRequest = validate558;
|
|
79241
|
-
const
|
|
79550
|
+
const schema629 = {
|
|
79242
79551
|
type: "object",
|
|
79243
79552
|
description: "Selects one exact active binding already owned by this session's subscriber and offered by this notifier/environment.",
|
|
79244
79553
|
required: ["binding_id", "row_version"],
|
|
@@ -80009,7 +80318,7 @@ validate559.evaluated = {
|
|
|
80009
80318
|
dynamicItems: false,
|
|
80010
80319
|
};
|
|
80011
80320
|
export const validateCreateSubscriberRequest = validate560;
|
|
80012
|
-
const
|
|
80321
|
+
const schema631 = {
|
|
80013
80322
|
type: "object",
|
|
80014
80323
|
description: "Creates one subscriber and optional initial static-group memberships in one idempotent transaction. Groups are creation-only input, not a membership replacement operation.",
|
|
80015
80324
|
required: ["subscriber_id"],
|
|
@@ -80032,14 +80341,14 @@ const schema628 = {
|
|
|
80032
80341
|
},
|
|
80033
80342
|
additionalProperties: false,
|
|
80034
80343
|
};
|
|
80035
|
-
const
|
|
80344
|
+
const schema634 = {
|
|
80036
80345
|
type: "string",
|
|
80037
80346
|
minLength: 3,
|
|
80038
80347
|
maxLength: 255,
|
|
80039
80348
|
pattern: "^(?:UTC|[A-Za-z][A-Za-z0-9._+-]*(?:/[A-Za-z][A-Za-z0-9._+-]*)+)$",
|
|
80040
80349
|
description: "A named IANA time-zone identifier. Numeric offsets, abbreviations and display labels are invalid; recognized aliases normalize to the runtime's canonical identifier before persistence. Providers may leave it absent.",
|
|
80041
80350
|
};
|
|
80042
|
-
const
|
|
80351
|
+
const pattern366 = new RegExp("^(?:UTC|[A-Za-z][A-Za-z0-9._+-]*(?:/[A-Za-z][A-Za-z0-9._+-]*)+)$", "u");
|
|
80043
80352
|
function validate560(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
80044
80353
|
let vErrors = null;
|
|
80045
80354
|
let errors = 0;
|
|
@@ -80296,7 +80605,7 @@ function validate560(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
80296
80605
|
}
|
|
80297
80606
|
errors++;
|
|
80298
80607
|
}
|
|
80299
|
-
if (!
|
|
80608
|
+
if (!pattern366.test(data3)) {
|
|
80300
80609
|
const err13 = {
|
|
80301
80610
|
instancePath: instancePath + "/time_zone",
|
|
80302
80611
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -80496,7 +80805,7 @@ validate560.evaluated = {
|
|
|
80496
80805
|
dynamicItems: false,
|
|
80497
80806
|
};
|
|
80498
80807
|
export const validateSubscriber = validate561;
|
|
80499
|
-
const
|
|
80808
|
+
const schema640 = {
|
|
80500
80809
|
type: "object",
|
|
80501
80810
|
description: "An application subscriber with no provider identity or group-member expansion embedded in the resource.",
|
|
80502
80811
|
required: ["subscriber_id", "created_at", "updated_at", "diagnostic_id"],
|
|
@@ -80586,7 +80895,7 @@ const schema637 = {
|
|
|
80586
80895
|
},
|
|
80587
80896
|
additionalProperties: false,
|
|
80588
80897
|
};
|
|
80589
|
-
const
|
|
80898
|
+
const pattern372 = new RegExp("^data:image/(jpeg|png|webp);base64,[A-Za-z0-9+/]+={0,2}$", "u");
|
|
80590
80899
|
function validate561(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
80591
80900
|
let vErrors = null;
|
|
80592
80901
|
let errors = 0;
|
|
@@ -80663,7 +80972,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
80663
80972
|
errors++;
|
|
80664
80973
|
}
|
|
80665
80974
|
for (const key0 in data) {
|
|
80666
|
-
if (!func14.call(
|
|
80975
|
+
if (!func14.call(schema640.properties, key0)) {
|
|
80667
80976
|
const err4 = {
|
|
80668
80977
|
instancePath,
|
|
80669
80978
|
schemaPath: "#/additionalProperties",
|
|
@@ -80940,7 +81249,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
80940
81249
|
}
|
|
80941
81250
|
errors++;
|
|
80942
81251
|
}
|
|
80943
|
-
if (!
|
|
81252
|
+
if (!pattern366.test(data4)) {
|
|
80944
81253
|
const err19 = {
|
|
80945
81254
|
instancePath: instancePath + "/time_zone",
|
|
80946
81255
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -81168,7 +81477,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
81168
81477
|
schemaPath: "#/properties/profiles/items/properties/channel/enum",
|
|
81169
81478
|
keyword: "enum",
|
|
81170
81479
|
params: {
|
|
81171
|
-
allowedValues:
|
|
81480
|
+
allowedValues: schema640.properties.profiles.items.properties.channel
|
|
81172
81481
|
.enum,
|
|
81173
81482
|
},
|
|
81174
81483
|
message: "must be equal to one of the allowed values",
|
|
@@ -81376,7 +81685,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
81376
81685
|
}
|
|
81377
81686
|
errors++;
|
|
81378
81687
|
}
|
|
81379
|
-
if (!
|
|
81688
|
+
if (!pattern366.test(data13)) {
|
|
81380
81689
|
const err42 = {
|
|
81381
81690
|
instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
|
|
81382
81691
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -81433,7 +81742,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
81433
81742
|
}
|
|
81434
81743
|
errors++;
|
|
81435
81744
|
}
|
|
81436
|
-
if (!
|
|
81745
|
+
if (!pattern372.test(data14)) {
|
|
81437
81746
|
const err45 = {
|
|
81438
81747
|
instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
|
|
81439
81748
|
schemaPath: "#/properties/profiles/items/properties/photo_data_url/pattern",
|
|
@@ -81912,7 +82221,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
81912
82221
|
instancePath: instancePath + "/locale_source",
|
|
81913
82222
|
schemaPath: "#/properties/locale_source/enum",
|
|
81914
82223
|
keyword: "enum",
|
|
81915
|
-
params: { allowedValues:
|
|
82224
|
+
params: { allowedValues: schema640.properties.locale_source.enum },
|
|
81916
82225
|
message: "must be equal to one of the allowed values",
|
|
81917
82226
|
};
|
|
81918
82227
|
if (vErrors === null) {
|
|
@@ -82009,7 +82318,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
82009
82318
|
}
|
|
82010
82319
|
errors++;
|
|
82011
82320
|
}
|
|
82012
|
-
if (!
|
|
82321
|
+
if (!pattern366.test(data24)) {
|
|
82013
82322
|
const err74 = {
|
|
82014
82323
|
instancePath: instancePath + "/effective_time_zone",
|
|
82015
82324
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -82082,7 +82391,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
82082
82391
|
}
|
|
82083
82392
|
errors++;
|
|
82084
82393
|
}
|
|
82085
|
-
if (!
|
|
82394
|
+
if (!pattern366.test(data25)) {
|
|
82086
82395
|
const err78 = {
|
|
82087
82396
|
instancePath: instancePath + "/time_zone_override",
|
|
82088
82397
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -82145,7 +82454,7 @@ function validate561(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
82145
82454
|
instancePath: instancePath + "/time_zone_source",
|
|
82146
82455
|
schemaPath: "#/properties/time_zone_source/enum",
|
|
82147
82456
|
keyword: "enum",
|
|
82148
|
-
params: { allowedValues:
|
|
82457
|
+
params: { allowedValues: schema640.properties.time_zone_source.enum },
|
|
82149
82458
|
message: "must be equal to one of the allowed values",
|
|
82150
82459
|
};
|
|
82151
82460
|
if (vErrors === null) {
|
|
@@ -82183,7 +82492,7 @@ validate561.evaluated = {
|
|
|
82183
82492
|
dynamicItems: false,
|
|
82184
82493
|
};
|
|
82185
82494
|
export const validateUpdateSubscriberRequest = validate562;
|
|
82186
|
-
const
|
|
82495
|
+
const schema636 = {
|
|
82187
82496
|
type: "object",
|
|
82188
82497
|
description: "Change subscriber display name, forced language or forced time zone. Null removes the corresponding override.",
|
|
82189
82498
|
properties: {
|
|
@@ -82522,7 +82831,7 @@ function validate562(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
82522
82831
|
}
|
|
82523
82832
|
errors++;
|
|
82524
82833
|
}
|
|
82525
|
-
if (!
|
|
82834
|
+
if (!pattern366.test(data2)) {
|
|
82526
82835
|
const err13 = {
|
|
82527
82836
|
instancePath: instancePath + "/time_zone_override",
|
|
82528
82837
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -82646,7 +82955,7 @@ validate562.evaluated = {
|
|
|
82646
82955
|
dynamicItems: false,
|
|
82647
82956
|
};
|
|
82648
82957
|
export const validateSubscriberCollection = validate563;
|
|
82649
|
-
const
|
|
82958
|
+
const schema639 = {
|
|
82650
82959
|
type: "object",
|
|
82651
82960
|
description: "One page of a project's subscribers, newest first, with how many match the search and filters.",
|
|
82652
82961
|
required: ["items"],
|
|
@@ -82745,7 +83054,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
82745
83054
|
errors++;
|
|
82746
83055
|
}
|
|
82747
83056
|
for (const key0 in data) {
|
|
82748
|
-
if (!func14.call(
|
|
83057
|
+
if (!func14.call(schema640.properties, key0)) {
|
|
82749
83058
|
const err4 = {
|
|
82750
83059
|
instancePath,
|
|
82751
83060
|
schemaPath: "#/additionalProperties",
|
|
@@ -83022,7 +83331,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
83022
83331
|
}
|
|
83023
83332
|
errors++;
|
|
83024
83333
|
}
|
|
83025
|
-
if (!
|
|
83334
|
+
if (!pattern366.test(data4)) {
|
|
83026
83335
|
const err19 = {
|
|
83027
83336
|
instancePath: instancePath + "/time_zone",
|
|
83028
83337
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -83250,7 +83559,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
83250
83559
|
schemaPath: "#/properties/profiles/items/properties/channel/enum",
|
|
83251
83560
|
keyword: "enum",
|
|
83252
83561
|
params: {
|
|
83253
|
-
allowedValues:
|
|
83562
|
+
allowedValues: schema640.properties.profiles.items.properties.channel
|
|
83254
83563
|
.enum,
|
|
83255
83564
|
},
|
|
83256
83565
|
message: "must be equal to one of the allowed values",
|
|
@@ -83458,7 +83767,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
83458
83767
|
}
|
|
83459
83768
|
errors++;
|
|
83460
83769
|
}
|
|
83461
|
-
if (!
|
|
83770
|
+
if (!pattern366.test(data13)) {
|
|
83462
83771
|
const err42 = {
|
|
83463
83772
|
instancePath: instancePath + "/profiles/" + i2 + "/time_zone",
|
|
83464
83773
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -83515,7 +83824,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
83515
83824
|
}
|
|
83516
83825
|
errors++;
|
|
83517
83826
|
}
|
|
83518
|
-
if (!
|
|
83827
|
+
if (!pattern372.test(data14)) {
|
|
83519
83828
|
const err45 = {
|
|
83520
83829
|
instancePath: instancePath + "/profiles/" + i2 + "/photo_data_url",
|
|
83521
83830
|
schemaPath: "#/properties/profiles/items/properties/photo_data_url/pattern",
|
|
@@ -83994,7 +84303,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
83994
84303
|
instancePath: instancePath + "/locale_source",
|
|
83995
84304
|
schemaPath: "#/properties/locale_source/enum",
|
|
83996
84305
|
keyword: "enum",
|
|
83997
|
-
params: { allowedValues:
|
|
84306
|
+
params: { allowedValues: schema640.properties.locale_source.enum },
|
|
83998
84307
|
message: "must be equal to one of the allowed values",
|
|
83999
84308
|
};
|
|
84000
84309
|
if (vErrors === null) {
|
|
@@ -84091,7 +84400,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
84091
84400
|
}
|
|
84092
84401
|
errors++;
|
|
84093
84402
|
}
|
|
84094
|
-
if (!
|
|
84403
|
+
if (!pattern366.test(data24)) {
|
|
84095
84404
|
const err74 = {
|
|
84096
84405
|
instancePath: instancePath + "/effective_time_zone",
|
|
84097
84406
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -84164,7 +84473,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
84164
84473
|
}
|
|
84165
84474
|
errors++;
|
|
84166
84475
|
}
|
|
84167
|
-
if (!
|
|
84476
|
+
if (!pattern366.test(data25)) {
|
|
84168
84477
|
const err78 = {
|
|
84169
84478
|
instancePath: instancePath + "/time_zone_override",
|
|
84170
84479
|
schemaPath: "#/$defs/TimeZone/pattern",
|
|
@@ -84227,7 +84536,7 @@ function validate341(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
84227
84536
|
instancePath: instancePath + "/time_zone_source",
|
|
84228
84537
|
schemaPath: "#/properties/time_zone_source/enum",
|
|
84229
84538
|
keyword: "enum",
|
|
84230
|
-
params: { allowedValues:
|
|
84539
|
+
params: { allowedValues: schema640.properties.time_zone_source.enum },
|
|
84231
84540
|
message: "must be equal to one of the allowed values",
|
|
84232
84541
|
};
|
|
84233
84542
|
if (vErrors === null) {
|
|
@@ -84613,7 +84922,7 @@ validate563.evaluated = {
|
|
|
84613
84922
|
dynamicItems: false,
|
|
84614
84923
|
};
|
|
84615
84924
|
export const validateSubscriberDataExport = validate565;
|
|
84616
|
-
const
|
|
84925
|
+
const schema658 = {
|
|
84617
84926
|
type: "object",
|
|
84618
84927
|
description: "A complete customer-controller access artifact for one subscriber across every environment in one project. provided_by_subscriber is the Article 20 portable subset; all three record groups together are the Article 15 access copy. WhooshBang-controller records are named but never mixed into the customer export.",
|
|
84619
84928
|
required: [
|
|
@@ -84662,7 +84971,7 @@ const schema655 = {
|
|
|
84662
84971
|
},
|
|
84663
84972
|
additionalProperties: false,
|
|
84664
84973
|
};
|
|
84665
|
-
const
|
|
84974
|
+
const schema663 = {
|
|
84666
84975
|
type: "object",
|
|
84667
84976
|
description: "One semantic record held about the subscriber. The source names the durable store or recovered semantic value; data contains plaintext business fields and excludes custody metadata and secrets.",
|
|
84668
84977
|
required: ["source", "data"],
|
|
@@ -84677,7 +84986,7 @@ const schema660 = {
|
|
|
84677
84986
|
},
|
|
84678
84987
|
additionalProperties: false,
|
|
84679
84988
|
};
|
|
84680
|
-
const
|
|
84989
|
+
const schema666 = {
|
|
84681
84990
|
type: "object",
|
|
84682
84991
|
description: "A category deliberately outside the customer-controller artifact because WhooshBang is controller for it.",
|
|
84683
84992
|
required: ["category", "controller", "access"],
|
|
@@ -84691,7 +85000,7 @@ const schema663 = {
|
|
|
84691
85000
|
},
|
|
84692
85001
|
additionalProperties: false,
|
|
84693
85002
|
};
|
|
84694
|
-
const
|
|
85003
|
+
const pattern385 = new RegExp("^[a-z][a-z0-9_.-]*$", "u");
|
|
84695
85004
|
function validate565(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
84696
85005
|
let vErrors = null;
|
|
84697
85006
|
let errors = 0;
|
|
@@ -84864,7 +85173,7 @@ function validate565(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
84864
85173
|
errors++;
|
|
84865
85174
|
}
|
|
84866
85175
|
for (const key0 in data) {
|
|
84867
|
-
if (!func14.call(
|
|
85176
|
+
if (!func14.call(schema658.properties, key0)) {
|
|
84868
85177
|
const err10 = {
|
|
84869
85178
|
instancePath,
|
|
84870
85179
|
schemaPath: "#/additionalProperties",
|
|
@@ -85366,7 +85675,7 @@ function validate565(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
85366
85675
|
}
|
|
85367
85676
|
errors++;
|
|
85368
85677
|
}
|
|
85369
|
-
if (!
|
|
85678
|
+
if (!pattern385.test(data9)) {
|
|
85370
85679
|
const err37 = {
|
|
85371
85680
|
instancePath: instancePath +
|
|
85372
85681
|
"/provided_by_subscriber/" +
|
|
@@ -85552,7 +85861,7 @@ function validate565(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
85552
85861
|
}
|
|
85553
85862
|
errors++;
|
|
85554
85863
|
}
|
|
85555
|
-
if (!
|
|
85864
|
+
if (!pattern385.test(data13)) {
|
|
85556
85865
|
const err47 = {
|
|
85557
85866
|
instancePath: instancePath + "/provided_by_customer/" + i3 + "/source",
|
|
85558
85867
|
schemaPath: "#/$defs/SubscriberDataExportRecord/properties/source/pattern",
|
|
@@ -85735,7 +86044,7 @@ function validate565(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
85735
86044
|
}
|
|
85736
86045
|
errors++;
|
|
85737
86046
|
}
|
|
85738
|
-
if (!
|
|
86047
|
+
if (!pattern385.test(data17)) {
|
|
85739
86048
|
const err57 = {
|
|
85740
86049
|
instancePath: instancePath + "/derived_by_service/" + i4 + "/source",
|
|
85741
86050
|
schemaPath: "#/$defs/SubscriberDataExportRecord/properties/source/pattern",
|
|
@@ -85963,7 +86272,7 @@ function validate565(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
85963
86272
|
"/category",
|
|
85964
86273
|
schemaPath: "#/$defs/SubscriberDataExportExcludedControllerData/properties/category/enum",
|
|
85965
86274
|
keyword: "enum",
|
|
85966
|
-
params: { allowedValues:
|
|
86275
|
+
params: { allowedValues: schema666.properties.category.enum },
|
|
85967
86276
|
message: "must be equal to one of the allowed values",
|
|
85968
86277
|
};
|
|
85969
86278
|
if (vErrors === null) {
|
|
@@ -86782,7 +87091,7 @@ validate567.evaluated = {
|
|
|
86782
87091
|
dynamicItems: false,
|
|
86783
87092
|
};
|
|
86784
87093
|
export const validateCreateSubscriberGroupRequest = validate569;
|
|
86785
|
-
const
|
|
87094
|
+
const schema667 = {
|
|
86786
87095
|
type: "object",
|
|
86787
87096
|
description: "Creates one static, developer-managed subscriber group.",
|
|
86788
87097
|
required: ["key", "display_name"],
|
|
@@ -87041,7 +87350,7 @@ validate569.evaluated = {
|
|
|
87041
87350
|
dynamicItems: false,
|
|
87042
87351
|
};
|
|
87043
87352
|
export const validateUpdateSubscriberGroupRequest = validate570;
|
|
87044
|
-
const
|
|
87353
|
+
const schema1165 = {
|
|
87045
87354
|
type: "object",
|
|
87046
87355
|
description: "Renames or redescribes an active group. Its key and static membership model cannot change.",
|
|
87047
87356
|
required: ["row_version"],
|
|
@@ -87216,7 +87525,7 @@ function validate570(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
87216
87525
|
instancePath: instancePath + "/description",
|
|
87217
87526
|
schemaPath: "#/properties/description/type",
|
|
87218
87527
|
keyword: "type",
|
|
87219
|
-
params: { type:
|
|
87528
|
+
params: { type: schema1165.properties.description.type },
|
|
87220
87529
|
message: "must be string,null",
|
|
87221
87530
|
};
|
|
87222
87531
|
if (vErrors === null) {
|
|
@@ -87272,7 +87581,7 @@ validate570.evaluated = {
|
|
|
87272
87581
|
dynamicItems: false,
|
|
87273
87582
|
};
|
|
87274
87583
|
export const validateSubscriberGroup = validate571;
|
|
87275
|
-
const
|
|
87584
|
+
const schema669 = {
|
|
87276
87585
|
type: "object",
|
|
87277
87586
|
description: "An environment-scoped static group. Deletion is terminal and reserves the immutable key for history.",
|
|
87278
87587
|
required: [
|
|
@@ -87624,7 +87933,7 @@ function validate571(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
87624
87933
|
errors++;
|
|
87625
87934
|
}
|
|
87626
87935
|
for (const key0 in data) {
|
|
87627
|
-
if (!func14.call(
|
|
87936
|
+
if (!func14.call(schema669.properties, key0)) {
|
|
87628
87937
|
const err16 = {
|
|
87629
87938
|
instancePath,
|
|
87630
87939
|
schemaPath: "#/additionalProperties",
|
|
@@ -88036,7 +88345,7 @@ function validate571(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
88036
88345
|
instancePath: instancePath + "/status",
|
|
88037
88346
|
schemaPath: "#/properties/status/enum",
|
|
88038
88347
|
keyword: "enum",
|
|
88039
|
-
params: { allowedValues:
|
|
88348
|
+
params: { allowedValues: schema669.properties.status.enum },
|
|
88040
88349
|
message: "must be equal to one of the allowed values",
|
|
88041
88350
|
};
|
|
88042
88351
|
if (vErrors === null) {
|
|
@@ -88346,7 +88655,7 @@ validate571.evaluated = {
|
|
|
88346
88655
|
dynamicItems: false,
|
|
88347
88656
|
};
|
|
88348
88657
|
export const validateSubscriberGroupCollection = validate572;
|
|
88349
|
-
const
|
|
88658
|
+
const schema678 = {
|
|
88350
88659
|
type: "object",
|
|
88351
88660
|
required: ["items"],
|
|
88352
88661
|
properties: {
|
|
@@ -88671,7 +88980,7 @@ function validate349(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
88671
88980
|
errors++;
|
|
88672
88981
|
}
|
|
88673
88982
|
for (const key0 in data) {
|
|
88674
|
-
if (!func14.call(
|
|
88983
|
+
if (!func14.call(schema669.properties, key0)) {
|
|
88675
88984
|
const err16 = {
|
|
88676
88985
|
instancePath,
|
|
88677
88986
|
schemaPath: "#/additionalProperties",
|
|
@@ -89083,7 +89392,7 @@ function validate349(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
89083
89392
|
instancePath: instancePath + "/status",
|
|
89084
89393
|
schemaPath: "#/properties/status/enum",
|
|
89085
89394
|
keyword: "enum",
|
|
89086
|
-
params: { allowedValues:
|
|
89395
|
+
params: { allowedValues: schema669.properties.status.enum },
|
|
89087
89396
|
message: "must be equal to one of the allowed values",
|
|
89088
89397
|
};
|
|
89089
89398
|
if (vErrors === null) {
|
|
@@ -89741,7 +90050,7 @@ validate572.evaluated = {
|
|
|
89741
90050
|
dynamicItems: false,
|
|
89742
90051
|
};
|
|
89743
90052
|
export const validateSubscriberGroupMembership = validate574;
|
|
89744
|
-
const
|
|
90053
|
+
const schema682 = {
|
|
89745
90054
|
type: "object",
|
|
89746
90055
|
description: "One historical membership generation. Re-adding a removed subscriber creates a larger generation and never revives this one.",
|
|
89747
90056
|
required: [
|
|
@@ -90124,7 +90433,7 @@ function validate574(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
90124
90433
|
errors++;
|
|
90125
90434
|
}
|
|
90126
90435
|
for (const key0 in data) {
|
|
90127
|
-
if (!func14.call(
|
|
90436
|
+
if (!func14.call(schema682.properties, key0)) {
|
|
90128
90437
|
const err17 = {
|
|
90129
90438
|
instancePath,
|
|
90130
90439
|
schemaPath: "#/additionalProperties",
|
|
@@ -90544,7 +90853,7 @@ function validate574(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
90544
90853
|
instancePath: instancePath + "/status",
|
|
90545
90854
|
schemaPath: "#/properties/status/enum",
|
|
90546
90855
|
keyword: "enum",
|
|
90547
|
-
params: { allowedValues:
|
|
90856
|
+
params: { allowedValues: schema682.properties.status.enum },
|
|
90548
90857
|
message: "must be equal to one of the allowed values",
|
|
90549
90858
|
};
|
|
90550
90859
|
if (vErrors === null) {
|
|
@@ -90733,7 +91042,7 @@ validate574.evaluated = {
|
|
|
90733
91042
|
dynamicItems: false,
|
|
90734
91043
|
};
|
|
90735
91044
|
export const validateSubscriberGroupMembershipCollection = validate575;
|
|
90736
|
-
const
|
|
91045
|
+
const schema689 = {
|
|
90737
91046
|
type: "object",
|
|
90738
91047
|
required: ["group_key", "membership_revision", "items"],
|
|
90739
91048
|
properties: {
|
|
@@ -91089,7 +91398,7 @@ function validate354(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
91089
91398
|
errors++;
|
|
91090
91399
|
}
|
|
91091
91400
|
for (const key0 in data) {
|
|
91092
|
-
if (!func14.call(
|
|
91401
|
+
if (!func14.call(schema682.properties, key0)) {
|
|
91093
91402
|
const err17 = {
|
|
91094
91403
|
instancePath,
|
|
91095
91404
|
schemaPath: "#/additionalProperties",
|
|
@@ -91509,7 +91818,7 @@ function validate354(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
91509
91818
|
instancePath: instancePath + "/status",
|
|
91510
91819
|
schemaPath: "#/properties/status/enum",
|
|
91511
91820
|
keyword: "enum",
|
|
91512
|
-
params: { allowedValues:
|
|
91821
|
+
params: { allowedValues: schema682.properties.status.enum },
|
|
91513
91822
|
message: "must be equal to one of the allowed values",
|
|
91514
91823
|
};
|
|
91515
91824
|
if (vErrors === null) {
|
|
@@ -92189,7 +92498,7 @@ validate575.evaluated = {
|
|
|
92189
92498
|
dynamicItems: false,
|
|
92190
92499
|
};
|
|
92191
92500
|
export const validateCreateGroupBroadcastRequest = validate577;
|
|
92192
|
-
const
|
|
92501
|
+
const schema694 = {
|
|
92193
92502
|
type: "object",
|
|
92194
92503
|
description: "Creates one group broadcast using the existing ordinary message envelope. The group target comes only from the path.",
|
|
92195
92504
|
required: ["content"],
|
|
@@ -92492,7 +92801,7 @@ validate577.evaluated = {
|
|
|
92492
92801
|
dynamicItems: false,
|
|
92493
92802
|
};
|
|
92494
92803
|
export const validateGroupBroadcast = validate581;
|
|
92495
|
-
const
|
|
92804
|
+
const schema697 = {
|
|
92496
92805
|
type: "object",
|
|
92497
92806
|
description: "One durable acceptance against an exact group membership revision. Delivery remains represented by ordinary child messages.",
|
|
92498
92807
|
required: [
|
|
@@ -92532,7 +92841,7 @@ const schema694 = {
|
|
|
92532
92841
|
},
|
|
92533
92842
|
additionalProperties: false,
|
|
92534
92843
|
};
|
|
92535
|
-
const
|
|
92844
|
+
const schema704 = {
|
|
92536
92845
|
type: "object",
|
|
92537
92846
|
description: "A projection over expansion and ordinary child-message states, not an independent delivery state machine.",
|
|
92538
92847
|
required: [
|
|
@@ -92763,7 +93072,7 @@ function validate581(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
92763
93072
|
errors++;
|
|
92764
93073
|
}
|
|
92765
93074
|
for (const key0 in data) {
|
|
92766
|
-
if (!func14.call(
|
|
93075
|
+
if (!func14.call(schema697.properties, key0)) {
|
|
92767
93076
|
const err12 = {
|
|
92768
93077
|
instancePath,
|
|
92769
93078
|
schemaPath: "#/additionalProperties",
|
|
@@ -93198,7 +93507,7 @@ function validate581(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
93198
93507
|
instancePath: instancePath + "/status",
|
|
93199
93508
|
schemaPath: "#/properties/status/enum",
|
|
93200
93509
|
keyword: "enum",
|
|
93201
|
-
params: { allowedValues:
|
|
93510
|
+
params: { allowedValues: schema697.properties.status.enum },
|
|
93202
93511
|
message: "must be equal to one of the allowed values",
|
|
93203
93512
|
};
|
|
93204
93513
|
if (vErrors === null) {
|
|
@@ -93358,7 +93667,7 @@ function validate581(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
93358
93667
|
errors++;
|
|
93359
93668
|
}
|
|
93360
93669
|
for (const key1 in data8) {
|
|
93361
|
-
if (!func14.call(
|
|
93670
|
+
if (!func14.call(schema704.properties, key1)) {
|
|
93362
93671
|
const err46 = {
|
|
93363
93672
|
instancePath: instancePath + "/aggregate",
|
|
93364
93673
|
schemaPath: "#/$defs/BroadcastAggregate/additionalProperties",
|
|
@@ -121037,7 +121346,7 @@ validate618.evaluated = {
|
|
|
121037
121346
|
dynamicItems: false,
|
|
121038
121347
|
};
|
|
121039
121348
|
export const validateRotateCustomerEndpointRequest = validate619;
|
|
121040
|
-
const
|
|
121349
|
+
const schema1285 = {
|
|
121041
121350
|
type: "object",
|
|
121042
121351
|
required: ["overlap_seconds"],
|
|
121043
121352
|
properties: {
|
|
@@ -126463,7 +126772,7 @@ function validate634(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
126463
126772
|
}
|
|
126464
126773
|
validate634.evaluated = { dynamicProps: false, dynamicItems: false };
|
|
126465
126774
|
export const validateCreateMachineClientRequest = validate635;
|
|
126466
|
-
const
|
|
126775
|
+
const schema774 = {
|
|
126467
126776
|
type: "object",
|
|
126468
126777
|
required: ["machine_id", "notifier_id", "subscriber_id"],
|
|
126469
126778
|
properties: {
|
|
@@ -127149,7 +127458,7 @@ function validate636(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
127149
127458
|
errors++;
|
|
127150
127459
|
}
|
|
127151
127460
|
for (const key0 in data) {
|
|
127152
|
-
if (!func14.call(
|
|
127461
|
+
if (!func14.call(schema777.properties, key0)) {
|
|
127153
127462
|
const err16 = {
|
|
127154
127463
|
instancePath,
|
|
127155
127464
|
schemaPath: "#/additionalProperties",
|
|
@@ -127327,7 +127636,7 @@ function validate636(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
127327
127636
|
instancePath: instancePath + "/environment",
|
|
127328
127637
|
schemaPath: "#/$defs/Environment/enum",
|
|
127329
127638
|
keyword: "enum",
|
|
127330
|
-
params: { allowedValues:
|
|
127639
|
+
params: { allowedValues: schema780.enum },
|
|
127331
127640
|
message: "must be equal to one of the allowed values",
|
|
127332
127641
|
};
|
|
127333
127642
|
if (vErrors === null) {
|
|
@@ -127693,7 +128002,7 @@ function validate636(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
127693
128002
|
instancePath: instancePath + "/status",
|
|
127694
128003
|
schemaPath: "#/properties/status/enum",
|
|
127695
128004
|
keyword: "enum",
|
|
127696
|
-
params: { allowedValues:
|
|
128005
|
+
params: { allowedValues: schema777.properties.status.enum },
|
|
127697
128006
|
message: "must be equal to one of the allowed values",
|
|
127698
128007
|
};
|
|
127699
128008
|
if (vErrors === null) {
|
|
@@ -127910,7 +128219,7 @@ validate636.evaluated = {
|
|
|
127910
128219
|
dynamicItems: false,
|
|
127911
128220
|
};
|
|
127912
128221
|
export const validateRegisterMachineCredentialRequest = validate638;
|
|
127913
|
-
const
|
|
128222
|
+
const schema791 = {
|
|
127914
128223
|
type: "object",
|
|
127915
128224
|
required: ["credential_id", "secret_sha256"],
|
|
127916
128225
|
properties: {
|
|
@@ -127919,18 +128228,18 @@ const schema788 = {
|
|
|
127919
128228
|
},
|
|
127920
128229
|
additionalProperties: false,
|
|
127921
128230
|
};
|
|
127922
|
-
const
|
|
128231
|
+
const schema792 = {
|
|
127923
128232
|
type: "string",
|
|
127924
128233
|
pattern: "^mcred_[A-Za-z0-9_-]{21}[AQgw]$",
|
|
127925
128234
|
description: "mcred_ followed by the canonical unpadded base64url encoding of exactly 16 random bytes.",
|
|
127926
128235
|
};
|
|
127927
|
-
const
|
|
128236
|
+
const schema793 = {
|
|
127928
128237
|
type: "string",
|
|
127929
128238
|
pattern: "^sha256:[a-f0-9]{64}$",
|
|
127930
128239
|
description: "The only secret-derived value accepted by the administration API.",
|
|
127931
128240
|
};
|
|
127932
|
-
const
|
|
127933
|
-
const
|
|
128241
|
+
const pattern470 = new RegExp("^mcred_[A-Za-z0-9_-]{21}[AQgw]$", "u");
|
|
128242
|
+
const pattern471 = new RegExp("^sha256:[a-f0-9]{64}$", "u");
|
|
127934
128243
|
function validate638(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
127935
128244
|
let vErrors = null;
|
|
127936
128245
|
let errors = 0;
|
|
@@ -127995,7 +128304,7 @@ function validate638(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
127995
128304
|
if (data.credential_id !== undefined) {
|
|
127996
128305
|
let data0 = data.credential_id;
|
|
127997
128306
|
if (typeof data0 === "string") {
|
|
127998
|
-
if (!
|
|
128307
|
+
if (!pattern470.test(data0)) {
|
|
127999
128308
|
const err3 = {
|
|
128000
128309
|
instancePath: instancePath + "/credential_id",
|
|
128001
128310
|
schemaPath: "#/$defs/MachineCredentialId/pattern",
|
|
@@ -128032,7 +128341,7 @@ function validate638(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
128032
128341
|
if (data.secret_sha256 !== undefined) {
|
|
128033
128342
|
let data1 = data.secret_sha256;
|
|
128034
128343
|
if (typeof data1 === "string") {
|
|
128035
|
-
if (!
|
|
128344
|
+
if (!pattern471.test(data1)) {
|
|
128036
128345
|
const err5 = {
|
|
128037
128346
|
instancePath: instancePath + "/secret_sha256",
|
|
128038
128347
|
schemaPath: "#/$defs/MachineSecretDigest/pattern",
|
|
@@ -128092,7 +128401,7 @@ validate638.evaluated = {
|
|
|
128092
128401
|
dynamicItems: false,
|
|
128093
128402
|
};
|
|
128094
128403
|
export const validateMachineCredential = validate639;
|
|
128095
|
-
const
|
|
128404
|
+
const schema794 = {
|
|
128096
128405
|
type: "object",
|
|
128097
128406
|
required: [
|
|
128098
128407
|
"credential_id",
|
|
@@ -128356,7 +128665,7 @@ function validate639(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
128356
128665
|
if (data.credential_id !== undefined) {
|
|
128357
128666
|
let data2 = data.credential_id;
|
|
128358
128667
|
if (typeof data2 === "string") {
|
|
128359
|
-
if (!
|
|
128668
|
+
if (!pattern470.test(data2)) {
|
|
128360
128669
|
const err11 = {
|
|
128361
128670
|
instancePath: instancePath + "/credential_id",
|
|
128362
128671
|
schemaPath: "#/$defs/MachineCredentialId/pattern",
|
|
@@ -128482,7 +128791,7 @@ function validate639(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
128482
128791
|
instancePath: instancePath + "/status",
|
|
128483
128792
|
schemaPath: "#/properties/status/enum",
|
|
128484
128793
|
keyword: "enum",
|
|
128485
|
-
params: { allowedValues:
|
|
128794
|
+
params: { allowedValues: schema794.properties.status.enum },
|
|
128486
128795
|
message: "must be equal to one of the allowed values",
|
|
128487
128796
|
};
|
|
128488
128797
|
if (vErrors === null) {
|
|
@@ -128658,12 +128967,12 @@ validate639.evaluated = {
|
|
|
128658
128967
|
dynamicItems: false,
|
|
128659
128968
|
};
|
|
128660
128969
|
export const validateMachineCredentialBearer = validate641;
|
|
128661
|
-
const
|
|
128970
|
+
const schema821 = {
|
|
128662
128971
|
type: "string",
|
|
128663
128972
|
pattern: "^wb_mc1\\.mcred_[A-Za-z0-9_-]{21}[AQgw]\\.[A-Za-z0-9_-]{42}[AEIMQUYcgkosw048]$",
|
|
128664
128973
|
description: "The exact runtime bearer syntax. The final segment is canonical unpadded base64url for exactly 32 locally generated random bytes.",
|
|
128665
128974
|
};
|
|
128666
|
-
const
|
|
128975
|
+
const pattern493 = new RegExp("^wb_mc1\\.mcred_[A-Za-z0-9_-]{21}[AQgw]\\.[A-Za-z0-9_-]{42}[AEIMQUYcgkosw048]$", "u");
|
|
128667
128976
|
function validate641(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
128668
128977
|
let vErrors = null;
|
|
128669
128978
|
let errors = 0;
|
|
@@ -128675,7 +128984,7 @@ function validate641(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
128675
128984
|
evaluated0.items = undefined;
|
|
128676
128985
|
}
|
|
128677
128986
|
if (typeof data === "string") {
|
|
128678
|
-
if (!
|
|
128987
|
+
if (!pattern493.test(data)) {
|
|
128679
128988
|
const err0 = {
|
|
128680
128989
|
instancePath,
|
|
128681
128990
|
schemaPath: "#/pattern",
|
|
@@ -128717,7 +129026,7 @@ function validate641(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
128717
129026
|
}
|
|
128718
129027
|
validate641.evaluated = { dynamicProps: false, dynamicItems: false };
|
|
128719
129028
|
export const validateMachineEventPollResponse = validate642;
|
|
128720
|
-
const
|
|
129029
|
+
const schema800 = {
|
|
128721
129030
|
type: "object",
|
|
128722
129031
|
required: ["schema", "events", "committed_cursor", "server_time"],
|
|
128723
129032
|
properties: {
|
|
@@ -128735,7 +129044,7 @@ const schema797 = {
|
|
|
128735
129044
|
},
|
|
128736
129045
|
additionalProperties: false,
|
|
128737
129046
|
};
|
|
128738
|
-
const
|
|
129047
|
+
const schema808 = {
|
|
128739
129048
|
type: "string",
|
|
128740
129049
|
minLength: 8,
|
|
128741
129050
|
maxLength: 128,
|
|
@@ -129967,7 +130276,7 @@ validate642.evaluated = {
|
|
|
129967
130276
|
dynamicItems: false,
|
|
129968
130277
|
};
|
|
129969
130278
|
export const validateMachineEventAckRequest = validate644;
|
|
129970
|
-
const
|
|
130279
|
+
const schema810 = {
|
|
129971
130280
|
type: "object",
|
|
129972
130281
|
required: ["cursor", "disposition"],
|
|
129973
130282
|
properties: {
|
|
@@ -129992,13 +130301,13 @@ const schema807 = {
|
|
|
129992
130301
|
],
|
|
129993
130302
|
additionalProperties: false,
|
|
129994
130303
|
};
|
|
129995
|
-
const
|
|
130304
|
+
const schema811 = {
|
|
129996
130305
|
type: "string",
|
|
129997
130306
|
minLength: 1,
|
|
129998
130307
|
maxLength: 64,
|
|
129999
130308
|
pattern: "^[a-z0-9][a-z0-9._-]*$",
|
|
130000
130309
|
};
|
|
130001
|
-
const
|
|
130310
|
+
const schema813 = { type: "string", enum: ["processed", "quarantined"] };
|
|
130002
130311
|
const pattern180 = new RegExp("^[a-z0-9][a-z0-9._-]*$", "u");
|
|
130003
130312
|
function validate644(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
130004
130313
|
let vErrors = null;
|
|
@@ -130342,7 +130651,7 @@ function validate644(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
130342
130651
|
instancePath: instancePath + "/disposition",
|
|
130343
130652
|
schemaPath: "#/$defs/MachineEventAckDisposition/enum",
|
|
130344
130653
|
keyword: "enum",
|
|
130345
|
-
params: { allowedValues:
|
|
130654
|
+
params: { allowedValues: schema813.enum },
|
|
130346
130655
|
message: "must be equal to one of the allowed values",
|
|
130347
130656
|
};
|
|
130348
130657
|
if (vErrors === null) {
|
|
@@ -130513,7 +130822,7 @@ validate644.evaluated = {
|
|
|
130513
130822
|
dynamicItems: false,
|
|
130514
130823
|
};
|
|
130515
130824
|
export const validateMachineEventAckResponse = validate645;
|
|
130516
|
-
const
|
|
130825
|
+
const schema815 = {
|
|
130517
130826
|
type: "object",
|
|
130518
130827
|
required: [
|
|
130519
130828
|
"event_id",
|
|
@@ -130954,7 +131263,7 @@ function validate645(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
130954
131263
|
instancePath: instancePath + "/disposition",
|
|
130955
131264
|
schemaPath: "#/$defs/MachineEventAckDisposition/enum",
|
|
130956
131265
|
keyword: "enum",
|
|
130957
|
-
params: { allowedValues:
|
|
131266
|
+
params: { allowedValues: schema813.enum },
|
|
130958
131267
|
message: "must be equal to one of the allowed values",
|
|
130959
131268
|
};
|
|
130960
131269
|
if (vErrors === null) {
|
|
@@ -131059,7 +131368,7 @@ function validate645(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
131059
131368
|
schemaPath: "#/properties/acknowledgement_status/enum",
|
|
131060
131369
|
keyword: "enum",
|
|
131061
131370
|
params: {
|
|
131062
|
-
allowedValues:
|
|
131371
|
+
allowedValues: schema815.properties.acknowledgement_status.enum,
|
|
131063
131372
|
},
|
|
131064
131373
|
message: "must be equal to one of the allowed values",
|
|
131065
131374
|
};
|
|
@@ -131252,7 +131561,7 @@ export const validateProviderCapabilities = validate187;
|
|
|
131252
131561
|
const schema328 = {
|
|
131253
131562
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
131254
131563
|
$id: "https://whooshbang.flowxo.com/schemas/provider-capabilities-v1.schema.json",
|
|
131255
|
-
"x-contract-version": "2.0.0-rc.
|
|
131564
|
+
"x-contract-version": "2.0.0-rc.5",
|
|
131256
131565
|
title: "ProviderCapabilitiesV1",
|
|
131257
131566
|
description: "Provider-neutral, renderer-facing delivery and interaction capabilities with explicit degradation.",
|
|
131258
131567
|
type: "object",
|
|
@@ -141311,10 +141620,10 @@ validate655.evaluated = {
|
|
|
141311
141620
|
dynamicItems: false,
|
|
141312
141621
|
};
|
|
141313
141622
|
export const validateWhooshBangEvent = validate656;
|
|
141314
|
-
const
|
|
141623
|
+
const schema1377 = {
|
|
141315
141624
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
141316
141625
|
$id: "https://whooshbang.flowxo.com/schemas/events/whooshbang-event-v1.schema.json",
|
|
141317
|
-
"x-contract-version": "2.0.0-rc.
|
|
141626
|
+
"x-contract-version": "2.0.0-rc.5",
|
|
141318
141627
|
title: "WhooshBangEventV1ContractDocument",
|
|
141319
141628
|
description: "Strict public customer-event envelope and initial WhooshBang event union.",
|
|
141320
141629
|
oneOf: [
|
|
@@ -141855,7 +142164,7 @@ const schema1371 = {
|
|
|
141855
142164
|
},
|
|
141856
142165
|
},
|
|
141857
142166
|
};
|
|
141858
|
-
const
|
|
142167
|
+
const schema1378 = {
|
|
141859
142168
|
allOf: [
|
|
141860
142169
|
{ $ref: "#/$defs/BaseEvent" },
|
|
141861
142170
|
{
|
|
@@ -141867,7 +142176,7 @@ const schema1372 = {
|
|
|
141867
142176
|
},
|
|
141868
142177
|
],
|
|
141869
142178
|
};
|
|
141870
|
-
const
|
|
142179
|
+
const schema1379 = {
|
|
141871
142180
|
type: "object",
|
|
141872
142181
|
required: [
|
|
141873
142182
|
"schema",
|
|
@@ -141906,32 +142215,32 @@ const schema1373 = {
|
|
|
141906
142215
|
},
|
|
141907
142216
|
additionalProperties: false,
|
|
141908
142217
|
};
|
|
141909
|
-
const
|
|
142218
|
+
const schema1380 = {
|
|
141910
142219
|
type: "string",
|
|
141911
142220
|
minLength: 8,
|
|
141912
142221
|
maxLength: 128,
|
|
141913
142222
|
pattern: "^evt_[A-Za-z0-9_-]+$",
|
|
141914
142223
|
description: "The stable logical event identifier. Dots and control characters are excluded so it is safe in the Standard Webhooks signing input.",
|
|
141915
142224
|
};
|
|
141916
|
-
const
|
|
142225
|
+
const schema1381 = {
|
|
141917
142226
|
type: "string",
|
|
141918
142227
|
format: "date-time",
|
|
141919
142228
|
pattern: "^[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])T(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]+)?(?:Z|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])$",
|
|
141920
142229
|
description: "An RFC 3339 timestamp with an explicit UTC offset.",
|
|
141921
142230
|
};
|
|
141922
|
-
const
|
|
142231
|
+
const schema1382 = {
|
|
141923
142232
|
type: "string",
|
|
141924
142233
|
minLength: 1,
|
|
141925
142234
|
maxLength: 128,
|
|
141926
142235
|
pattern: "^[^\\u0000-\\u001F\\u007F]+$",
|
|
141927
142236
|
description: "A stable public resource identifier whose internal encoding is not a public promise.",
|
|
141928
142237
|
};
|
|
141929
|
-
const
|
|
142238
|
+
const schema1384 = {
|
|
141930
142239
|
type: "string",
|
|
141931
142240
|
enum: ["test", "live"],
|
|
141932
142241
|
description: "The environment in which the immutable event occurred.",
|
|
141933
142242
|
};
|
|
141934
|
-
const
|
|
142243
|
+
const pattern849 = new RegExp("^evt_[A-Za-z0-9_-]+$", "u");
|
|
141935
142244
|
function validate658(data, { instancePath = "", parentData, parentDataProperty, rootData = data, dynamicAnchors = {}, } = {}) {
|
|
141936
142245
|
let vErrors = null;
|
|
141937
142246
|
let errors = 0;
|
|
@@ -142149,7 +142458,7 @@ function validate658(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
142149
142458
|
}
|
|
142150
142459
|
errors++;
|
|
142151
142460
|
}
|
|
142152
|
-
if (!
|
|
142461
|
+
if (!pattern849.test(data1)) {
|
|
142153
142462
|
const err12 = {
|
|
142154
142463
|
instancePath: instancePath + "/id",
|
|
142155
142464
|
schemaPath: "#/$defs/EventIdentifier/pattern",
|
|
@@ -142216,7 +142525,7 @@ function validate658(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
142216
142525
|
instancePath: instancePath + "/type",
|
|
142217
142526
|
schemaPath: "#/properties/type/enum",
|
|
142218
142527
|
keyword: "enum",
|
|
142219
|
-
params: { allowedValues:
|
|
142528
|
+
params: { allowedValues: schema1379.properties.type.enum },
|
|
142220
142529
|
message: "must be equal to one of the allowed values",
|
|
142221
142530
|
};
|
|
142222
142531
|
if (vErrors === null) {
|
|
@@ -142430,7 +142739,7 @@ function validate658(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
142430
142739
|
instancePath: instancePath + "/environment",
|
|
142431
142740
|
schemaPath: "#/$defs/Environment/enum",
|
|
142432
142741
|
keyword: "enum",
|
|
142433
|
-
params: { allowedValues:
|
|
142742
|
+
params: { allowedValues: schema1384.enum },
|
|
142434
142743
|
message: "must be equal to one of the allowed values",
|
|
142435
142744
|
};
|
|
142436
142745
|
if (vErrors === null) {
|
|
@@ -142486,7 +142795,7 @@ validate658.evaluated = {
|
|
|
142486
142795
|
dynamicProps: false,
|
|
142487
142796
|
dynamicItems: false,
|
|
142488
142797
|
};
|
|
142489
|
-
const
|
|
142798
|
+
const schema1385 = {
|
|
142490
142799
|
type: "object",
|
|
142491
142800
|
required: [
|
|
142492
142801
|
"subscription_link_id",
|
|
@@ -142508,7 +142817,7 @@ const schema1379 = {
|
|
|
142508
142817
|
},
|
|
142509
142818
|
additionalProperties: false,
|
|
142510
142819
|
};
|
|
142511
|
-
const
|
|
142820
|
+
const schema1390 = {
|
|
142512
142821
|
type: "string",
|
|
142513
142822
|
enum: ["telegram", "slack", "email"],
|
|
142514
142823
|
description: "The initial provider-neutral channel vocabulary.",
|
|
@@ -142959,7 +143268,7 @@ function validate660(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
142959
143268
|
instancePath: instancePath + "/channel",
|
|
142960
143269
|
schemaPath: "#/$defs/Channel/enum",
|
|
142961
143270
|
keyword: "enum",
|
|
142962
|
-
params: { allowedValues:
|
|
143271
|
+
params: { allowedValues: schema1390.enum },
|
|
142963
143272
|
message: "must be equal to one of the allowed values",
|
|
142964
143273
|
};
|
|
142965
143274
|
if (vErrors === null) {
|
|
@@ -143137,7 +143446,7 @@ validate657.evaluated = {
|
|
|
143137
143446
|
dynamicProps: false,
|
|
143138
143447
|
dynamicItems: false,
|
|
143139
143448
|
};
|
|
143140
|
-
const
|
|
143449
|
+
const schema1392 = {
|
|
143141
143450
|
allOf: [
|
|
143142
143451
|
{ $ref: "#/$defs/BaseEvent" },
|
|
143143
143452
|
{
|
|
@@ -143149,7 +143458,7 @@ const schema1386 = {
|
|
|
143149
143458
|
},
|
|
143150
143459
|
],
|
|
143151
143460
|
};
|
|
143152
|
-
const
|
|
143461
|
+
const schema1393 = {
|
|
143153
143462
|
type: "object",
|
|
143154
143463
|
required: [
|
|
143155
143464
|
"subscription_link_id",
|
|
@@ -143617,7 +143926,7 @@ function validate665(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
143617
143926
|
instancePath: instancePath + "/channel",
|
|
143618
143927
|
schemaPath: "#/$defs/Channel/enum",
|
|
143619
143928
|
keyword: "enum",
|
|
143620
|
-
params: { allowedValues:
|
|
143929
|
+
params: { allowedValues: schema1390.enum },
|
|
143621
143930
|
message: "must be equal to one of the allowed values",
|
|
143622
143931
|
};
|
|
143623
143932
|
if (vErrors === null) {
|
|
@@ -143795,7 +144104,7 @@ validate663.evaluated = {
|
|
|
143795
144104
|
dynamicProps: false,
|
|
143796
144105
|
dynamicItems: false,
|
|
143797
144106
|
};
|
|
143798
|
-
const
|
|
144107
|
+
const schema1400 = {
|
|
143799
144108
|
allOf: [
|
|
143800
144109
|
{ $ref: "#/$defs/BaseEvent" },
|
|
143801
144110
|
{
|
|
@@ -143807,7 +144116,7 @@ const schema1394 = {
|
|
|
143807
144116
|
},
|
|
143808
144117
|
],
|
|
143809
144118
|
};
|
|
143810
|
-
const
|
|
144119
|
+
const schema1401 = {
|
|
143811
144120
|
type: "object",
|
|
143812
144121
|
required: ["message_id", "state", "accepted_at"],
|
|
143813
144122
|
properties: {
|
|
@@ -143818,7 +144127,7 @@ const schema1395 = {
|
|
|
143818
144127
|
},
|
|
143819
144128
|
additionalProperties: false,
|
|
143820
144129
|
};
|
|
143821
|
-
const
|
|
144130
|
+
const schema1403 = {
|
|
143822
144131
|
type: "string",
|
|
143823
144132
|
minLength: 1,
|
|
143824
144133
|
maxLength: 128,
|
|
@@ -144209,7 +144518,7 @@ validate668.evaluated = {
|
|
|
144209
144518
|
dynamicProps: false,
|
|
144210
144519
|
dynamicItems: false,
|
|
144211
144520
|
};
|
|
144212
|
-
const
|
|
144521
|
+
const schema1405 = {
|
|
144213
144522
|
allOf: [
|
|
144214
144523
|
{ $ref: "#/$defs/BaseEvent" },
|
|
144215
144524
|
{
|
|
@@ -144221,7 +144530,7 @@ const schema1399 = {
|
|
|
144221
144530
|
},
|
|
144222
144531
|
],
|
|
144223
144532
|
};
|
|
144224
|
-
const
|
|
144533
|
+
const schema1406 = {
|
|
144225
144534
|
type: "object",
|
|
144226
144535
|
required: ["message_id", "state", "evidence", "delivered_at"],
|
|
144227
144536
|
properties: {
|
|
@@ -144655,7 +144964,7 @@ validate673.evaluated = {
|
|
|
144655
144964
|
dynamicProps: false,
|
|
144656
144965
|
dynamicItems: false,
|
|
144657
144966
|
};
|
|
144658
|
-
const
|
|
144967
|
+
const schema1410 = {
|
|
144659
144968
|
allOf: [
|
|
144660
144969
|
{ $ref: "#/$defs/BaseEvent" },
|
|
144661
144970
|
{
|
|
@@ -144667,7 +144976,7 @@ const schema1404 = {
|
|
|
144667
144976
|
},
|
|
144668
144977
|
],
|
|
144669
144978
|
};
|
|
144670
|
-
const
|
|
144979
|
+
const schema1411 = {
|
|
144671
144980
|
type: "object",
|
|
144672
144981
|
required: ["message_id", "state", "failure_code", "retryable", "failed_at"],
|
|
144673
144982
|
properties: {
|
|
@@ -145191,7 +145500,7 @@ validate678.evaluated = {
|
|
|
145191
145500
|
dynamicProps: false,
|
|
145192
145501
|
dynamicItems: false,
|
|
145193
145502
|
};
|
|
145194
|
-
const
|
|
145503
|
+
const schema1415 = {
|
|
145195
145504
|
allOf: [
|
|
145196
145505
|
{ $ref: "#/$defs/BaseEvent" },
|
|
145197
145506
|
{
|
|
@@ -145203,7 +145512,7 @@ const schema1409 = {
|
|
|
145203
145512
|
},
|
|
145204
145513
|
],
|
|
145205
145514
|
};
|
|
145206
|
-
const
|
|
145515
|
+
const schema1416 = {
|
|
145207
145516
|
type: "object",
|
|
145208
145517
|
required: ["message_id", "state", "expired_at"],
|
|
145209
145518
|
properties: {
|
|
@@ -145598,7 +145907,7 @@ validate683.evaluated = {
|
|
|
145598
145907
|
dynamicProps: false,
|
|
145599
145908
|
dynamicItems: false,
|
|
145600
145909
|
};
|
|
145601
|
-
const
|
|
145910
|
+
const schema1420 = {
|
|
145602
145911
|
allOf: [
|
|
145603
145912
|
{ $ref: "#/$defs/BaseEvent" },
|
|
145604
145913
|
{
|
|
@@ -145610,7 +145919,7 @@ const schema1414 = {
|
|
|
145610
145919
|
},
|
|
145611
145920
|
],
|
|
145612
145921
|
};
|
|
145613
|
-
const
|
|
145922
|
+
const schema1421 = {
|
|
145614
145923
|
type: "object",
|
|
145615
145924
|
required: [
|
|
145616
145925
|
"interaction_id",
|
|
@@ -145672,13 +145981,13 @@ const schema1415 = {
|
|
|
145672
145981
|
],
|
|
145673
145982
|
additionalProperties: false,
|
|
145674
145983
|
};
|
|
145675
|
-
const
|
|
145984
|
+
const schema1422 = {
|
|
145676
145985
|
type: "object",
|
|
145677
145986
|
required: ["type", "value"],
|
|
145678
145987
|
properties: { type: { const: "confirm" }, value: { type: "boolean" } },
|
|
145679
145988
|
additionalProperties: false,
|
|
145680
145989
|
};
|
|
145681
|
-
const
|
|
145990
|
+
const schema1423 = {
|
|
145682
145991
|
type: "object",
|
|
145683
145992
|
required: ["type", "value"],
|
|
145684
145993
|
properties: {
|
|
@@ -145693,7 +146002,7 @@ const schema1417 = {
|
|
|
145693
146002
|
},
|
|
145694
146003
|
additionalProperties: false,
|
|
145695
146004
|
};
|
|
145696
|
-
const
|
|
146005
|
+
const schema1424 = {
|
|
145697
146006
|
type: "object",
|
|
145698
146007
|
required: ["type", "value"],
|
|
145699
146008
|
properties: {
|
|
@@ -145707,15 +146016,15 @@ const schema1418 = {
|
|
|
145707
146016
|
},
|
|
145708
146017
|
additionalProperties: false,
|
|
145709
146018
|
};
|
|
145710
|
-
const
|
|
146019
|
+
const schema1429 = {
|
|
145711
146020
|
type: "string",
|
|
145712
146021
|
minLength: 8,
|
|
145713
146022
|
maxLength: 128,
|
|
145714
146023
|
pattern: "^[^\\u0000-\\u001F\\u007F]+$",
|
|
145715
146024
|
description: "The C0-03 bounded opaque interaction correlation returned as data and never interpreted as authority.",
|
|
145716
146025
|
};
|
|
145717
|
-
const
|
|
145718
|
-
const
|
|
146026
|
+
const pattern877 = new RegExp("^(?:\\S|\\S[\\s\\S]*\\S)$", "u");
|
|
146027
|
+
const schema1430 = {
|
|
145719
146028
|
oneOf: [
|
|
145720
146029
|
{ $ref: "#/$defs/ConfirmInteractionResponse" },
|
|
145721
146030
|
{ $ref: "#/$defs/SelectInteractionResponse" },
|
|
@@ -146120,7 +146429,7 @@ function validate691(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
146120
146429
|
}
|
|
146121
146430
|
errors++;
|
|
146122
146431
|
}
|
|
146123
|
-
if (!
|
|
146432
|
+
if (!pattern877.test(data5)) {
|
|
146124
146433
|
const err21 = {
|
|
146125
146434
|
instancePath: instancePath + "/value",
|
|
146126
146435
|
schemaPath: "#/$defs/InputInteractionResponse/properties/value/pattern",
|
|
@@ -146860,7 +147169,7 @@ function validate690(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
146860
147169
|
}
|
|
146861
147170
|
errors++;
|
|
146862
147171
|
}
|
|
146863
|
-
if (!
|
|
147172
|
+
if (!pattern877.test(data11)) {
|
|
146864
147173
|
const err34 = {
|
|
146865
147174
|
instancePath: instancePath + "/response/value",
|
|
146866
147175
|
schemaPath: "#/$defs/InputInteractionResponse/properties/value/pattern",
|
|
@@ -147092,7 +147401,7 @@ function validate690(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
147092
147401
|
errors++;
|
|
147093
147402
|
}
|
|
147094
147403
|
for (const key3 in data) {
|
|
147095
|
-
if (!func14.call(
|
|
147404
|
+
if (!func14.call(schema1421.properties, key3)) {
|
|
147096
147405
|
const err47 = {
|
|
147097
147406
|
instancePath,
|
|
147098
147407
|
schemaPath: "#/additionalProperties",
|
|
@@ -147341,7 +147650,7 @@ function validate690(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
147341
147650
|
instancePath: instancePath + "/channel",
|
|
147342
147651
|
schemaPath: "#/$defs/Channel/enum",
|
|
147343
147652
|
keyword: "enum",
|
|
147344
|
-
params: { allowedValues:
|
|
147653
|
+
params: { allowedValues: schema1390.enum },
|
|
147345
147654
|
message: "must be equal to one of the allowed values",
|
|
147346
147655
|
};
|
|
147347
147656
|
if (vErrors === null) {
|
|
@@ -147448,7 +147757,7 @@ function validate690(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
147448
147757
|
schemaPath: "#/properties/interaction_type/enum",
|
|
147449
147758
|
keyword: "enum",
|
|
147450
147759
|
params: {
|
|
147451
|
-
allowedValues:
|
|
147760
|
+
allowedValues: schema1421.properties.interaction_type.enum,
|
|
147452
147761
|
},
|
|
147453
147762
|
message: "must be equal to one of the allowed values",
|
|
147454
147763
|
};
|
|
@@ -147665,7 +147974,7 @@ validate688.evaluated = {
|
|
|
147665
147974
|
dynamicProps: false,
|
|
147666
147975
|
dynamicItems: false,
|
|
147667
147976
|
};
|
|
147668
|
-
const
|
|
147977
|
+
const schema1436 = {
|
|
147669
147978
|
allOf: [
|
|
147670
147979
|
{ $ref: "#/$defs/BaseEvent" },
|
|
147671
147980
|
{
|
|
@@ -147677,7 +147986,7 @@ const schema1430 = {
|
|
|
147677
147986
|
},
|
|
147678
147987
|
],
|
|
147679
147988
|
};
|
|
147680
|
-
const
|
|
147989
|
+
const schema1437 = {
|
|
147681
147990
|
type: "object",
|
|
147682
147991
|
required: ["interaction_id", "message_id", "interaction_type", "expired_at"],
|
|
147683
147992
|
properties: {
|
|
@@ -148017,7 +148326,7 @@ function validate697(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
148017
148326
|
schemaPath: "#/properties/interaction_type/enum",
|
|
148018
148327
|
keyword: "enum",
|
|
148019
148328
|
params: {
|
|
148020
|
-
allowedValues:
|
|
148329
|
+
allowedValues: schema1437.properties.interaction_type.enum,
|
|
148021
148330
|
},
|
|
148022
148331
|
message: "must be equal to one of the allowed values",
|
|
148023
148332
|
};
|
|
@@ -148178,7 +148487,7 @@ validate695.evaluated = {
|
|
|
148178
148487
|
dynamicProps: false,
|
|
148179
148488
|
dynamicItems: false,
|
|
148180
148489
|
};
|
|
148181
|
-
const
|
|
148490
|
+
const schema1442 = {
|
|
148182
148491
|
allOf: [
|
|
148183
148492
|
{ $ref: "#/$defs/BaseEvent" },
|
|
148184
148493
|
{
|
|
@@ -148190,7 +148499,7 @@ const schema1436 = {
|
|
|
148190
148499
|
},
|
|
148191
148500
|
],
|
|
148192
148501
|
};
|
|
148193
|
-
const
|
|
148502
|
+
const schema1443 = {
|
|
148194
148503
|
type: "object",
|
|
148195
148504
|
required: [
|
|
148196
148505
|
"agent_binding_id",
|
|
@@ -148788,7 +149097,7 @@ validate700.evaluated = {
|
|
|
148788
149097
|
dynamicProps: false,
|
|
148789
149098
|
dynamicItems: false,
|
|
148790
149099
|
};
|
|
148791
|
-
const
|
|
149100
|
+
const schema1448 = {
|
|
148792
149101
|
allOf: [
|
|
148793
149102
|
{ $ref: "#/$defs/BaseEvent" },
|
|
148794
149103
|
{
|
|
@@ -148800,7 +149109,7 @@ const schema1442 = {
|
|
|
148800
149109
|
},
|
|
148801
149110
|
],
|
|
148802
149111
|
};
|
|
148803
|
-
const
|
|
149112
|
+
const schema1449 = {
|
|
148804
149113
|
type: "object",
|
|
148805
149114
|
required: [
|
|
148806
149115
|
"consent_assertion_id",
|
|
@@ -149429,7 +149738,7 @@ validate705.evaluated = {
|
|
|
149429
149738
|
dynamicProps: false,
|
|
149430
149739
|
dynamicItems: false,
|
|
149431
149740
|
};
|
|
149432
|
-
const
|
|
149741
|
+
const schema1455 = {
|
|
149433
149742
|
allOf: [
|
|
149434
149743
|
{ $ref: "#/$defs/BaseEvent" },
|
|
149435
149744
|
{
|
|
@@ -149441,7 +149750,7 @@ const schema1449 = {
|
|
|
149441
149750
|
},
|
|
149442
149751
|
],
|
|
149443
149752
|
};
|
|
149444
|
-
const
|
|
149753
|
+
const schema1456 = {
|
|
149445
149754
|
type: "object",
|
|
149446
149755
|
required: [
|
|
149447
149756
|
"consent_assertion_id",
|
|
@@ -151329,10 +151638,10 @@ validate745.evaluated = {
|
|
|
151329
151638
|
dynamicItems: false,
|
|
151330
151639
|
};
|
|
151331
151640
|
export const validateWebhookSigningVectorSet = validate748;
|
|
151332
|
-
const
|
|
151641
|
+
const schema1473 = {
|
|
151333
151642
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
151334
151643
|
$id: "https://whooshbang.flowxo.com/schemas/webhooks/webhook-signing-vector-v1.schema.json",
|
|
151335
|
-
"x-contract-version": "2.0.0-rc.
|
|
151644
|
+
"x-contract-version": "2.0.0-rc.5",
|
|
151336
151645
|
title: "WebhookSigningVectorSetV1",
|
|
151337
151646
|
description: "Language-neutral deterministic Standard Webhooks V1 verification vectors. All key material is public synthetic test data and must never be used outside fixtures.",
|
|
151338
151647
|
type: "object",
|
|
@@ -151469,8 +151778,8 @@ const schema1467 = {
|
|
|
151469
151778
|
},
|
|
151470
151779
|
},
|
|
151471
151780
|
};
|
|
151472
|
-
const
|
|
151473
|
-
const
|
|
151781
|
+
const pattern906 = new RegExp("^whsec_(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$", "u");
|
|
151782
|
+
const schema1474 = {
|
|
151474
151783
|
type: "object",
|
|
151475
151784
|
required: [
|
|
151476
151785
|
"id",
|
|
@@ -151519,7 +151828,7 @@ const schema1468 = {
|
|
|
151519
151828
|
},
|
|
151520
151829
|
additionalProperties: false,
|
|
151521
151830
|
};
|
|
151522
|
-
const
|
|
151831
|
+
const schema1475 = {
|
|
151523
151832
|
type: "object",
|
|
151524
151833
|
required: ["name", "value"],
|
|
151525
151834
|
properties: {
|
|
@@ -151528,7 +151837,7 @@ const schema1469 = {
|
|
|
151528
151837
|
},
|
|
151529
151838
|
additionalProperties: false,
|
|
151530
151839
|
};
|
|
151531
|
-
const
|
|
151840
|
+
const schema1476 = {
|
|
151532
151841
|
type: "object",
|
|
151533
151842
|
required: ["verified", "event_id", "timestamp", "attempt"],
|
|
151534
151843
|
properties: {
|
|
@@ -151539,7 +151848,7 @@ const schema1470 = {
|
|
|
151539
151848
|
},
|
|
151540
151849
|
additionalProperties: false,
|
|
151541
151850
|
};
|
|
151542
|
-
const
|
|
151851
|
+
const schema1477 = {
|
|
151543
151852
|
type: "object",
|
|
151544
151853
|
required: ["verified", "reason"],
|
|
151545
151854
|
properties: {
|
|
@@ -151695,7 +152004,7 @@ function validate749(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
151695
152004
|
errors++;
|
|
151696
152005
|
}
|
|
151697
152006
|
for (const key0 in data) {
|
|
151698
|
-
if (!func14.call(
|
|
152007
|
+
if (!func14.call(schema1474.properties, key0)) {
|
|
151699
152008
|
const err7 = {
|
|
151700
152009
|
instancePath,
|
|
151701
152010
|
schemaPath: "#/additionalProperties",
|
|
@@ -152735,7 +153044,7 @@ function validate749(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
152735
153044
|
instancePath: instancePath + "/expected/reason",
|
|
152736
153045
|
schemaPath: "#/$defs/RejectedExpectation/properties/reason/enum",
|
|
152737
153046
|
keyword: "enum",
|
|
152738
|
-
params: { allowedValues:
|
|
153047
|
+
params: { allowedValues: schema1477.properties.reason.enum },
|
|
152739
153048
|
message: "must be equal to one of the allowed values",
|
|
152740
153049
|
};
|
|
152741
153050
|
if (vErrors === null) {
|
|
@@ -153022,7 +153331,7 @@ function validate748(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
153022
153331
|
for (const key2 in data1) {
|
|
153023
153332
|
let data2 = data1[key2];
|
|
153024
153333
|
if (typeof data2 === "string") {
|
|
153025
|
-
if (!
|
|
153334
|
+
if (!pattern906.test(data2)) {
|
|
153026
153335
|
const err10 = {
|
|
153027
153336
|
instancePath: instancePath +
|
|
153028
153337
|
"/synthetic_verification_keys/" +
|
|
@@ -153346,10 +153655,10 @@ validate748.evaluated = {
|
|
|
153346
153655
|
dynamicItems: false,
|
|
153347
153656
|
};
|
|
153348
153657
|
export const validateWebhookDeliveryCaseSet = validate751;
|
|
153349
|
-
const
|
|
153658
|
+
const schema1478 = {
|
|
153350
153659
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
153351
153660
|
$id: "https://whooshbang.flowxo.com/schemas/webhooks/webhook-delivery-case-v1.schema.json",
|
|
153352
|
-
"x-contract-version": "2.0.0-rc.
|
|
153661
|
+
"x-contract-version": "2.0.0-rc.5",
|
|
153353
153662
|
title: "WebhookDeliveryCaseSetV1",
|
|
153354
153663
|
description: "Deterministic customer webhook response classification, Retry-After, and delivery-bound cases.",
|
|
153355
153664
|
type: "object",
|
|
@@ -153461,7 +153770,7 @@ const schema1472 = {
|
|
|
153461
153770
|
},
|
|
153462
153771
|
},
|
|
153463
153772
|
};
|
|
153464
|
-
const
|
|
153773
|
+
const schema1479 = {
|
|
153465
153774
|
type: "object",
|
|
153466
153775
|
required: [
|
|
153467
153776
|
"id",
|
|
@@ -153497,13 +153806,13 @@ const schema1473 = {
|
|
|
153497
153806
|
},
|
|
153498
153807
|
additionalProperties: false,
|
|
153499
153808
|
};
|
|
153500
|
-
const
|
|
153809
|
+
const schema1480 = {
|
|
153501
153810
|
type: "object",
|
|
153502
153811
|
required: ["kind"],
|
|
153503
153812
|
properties: { kind: { const: "network_failure" } },
|
|
153504
153813
|
additionalProperties: false,
|
|
153505
153814
|
};
|
|
153506
|
-
const
|
|
153815
|
+
const schema1481 = {
|
|
153507
153816
|
type: "object",
|
|
153508
153817
|
required: ["kind", "status"],
|
|
153509
153818
|
properties: {
|
|
@@ -153513,13 +153822,13 @@ const schema1475 = {
|
|
|
153513
153822
|
},
|
|
153514
153823
|
additionalProperties: false,
|
|
153515
153824
|
};
|
|
153516
|
-
const
|
|
153825
|
+
const schema1482 = {
|
|
153517
153826
|
type: "object",
|
|
153518
153827
|
required: ["action", "reason"],
|
|
153519
153828
|
properties: { action: { const: "accepted" }, reason: { const: "http_2xx" } },
|
|
153520
153829
|
additionalProperties: false,
|
|
153521
153830
|
};
|
|
153522
|
-
const
|
|
153831
|
+
const schema1483 = {
|
|
153523
153832
|
type: "object",
|
|
153524
153833
|
required: ["action", "reason"],
|
|
153525
153834
|
properties: {
|
|
@@ -153537,7 +153846,7 @@ const schema1477 = {
|
|
|
153537
153846
|
},
|
|
153538
153847
|
additionalProperties: false,
|
|
153539
153848
|
};
|
|
153540
|
-
const
|
|
153849
|
+
const schema1484 = {
|
|
153541
153850
|
type: "object",
|
|
153542
153851
|
required: ["action", "reason", "latest_retry_at_epoch_seconds"],
|
|
153543
153852
|
properties: {
|
|
@@ -154407,7 +154716,7 @@ function validate752(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
154407
154716
|
instancePath: instancePath + "/expected/reason",
|
|
154408
154717
|
schemaPath: "#/$defs/TerminalExpectation/properties/reason/enum",
|
|
154409
154718
|
keyword: "enum",
|
|
154410
|
-
params: { allowedValues:
|
|
154719
|
+
params: { allowedValues: schema1483.properties.reason.enum },
|
|
154411
154720
|
message: "must be equal to one of the allowed values",
|
|
154412
154721
|
};
|
|
154413
154722
|
if (vErrors === null) {
|
|
@@ -154563,7 +154872,7 @@ function validate752(data, { instancePath = "", parentData, parentDataProperty,
|
|
|
154563
154872
|
instancePath: instancePath + "/expected/reason",
|
|
154564
154873
|
schemaPath: "#/$defs/RetryExpectation/properties/reason/enum",
|
|
154565
154874
|
keyword: "enum",
|
|
154566
|
-
params: { allowedValues:
|
|
154875
|
+
params: { allowedValues: schema1484.properties.reason.enum },
|
|
154567
154876
|
message: "must be equal to one of the allowed values",
|
|
154568
154877
|
};
|
|
154569
154878
|
if (vErrors === null) {
|