openxiangda-contracts 2.21.0 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.ts +1 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/process-resolution.d.ts +10 -0
- package/dist/process-resolution.d.ts.map +1 -0
- package/dist/process-resolution.js +47 -0
- package/dist/process-resolution.js.map +1 -0
- package/dist/schemas.d.ts +246 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +35 -0
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +39 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/schemas.js
CHANGED
|
@@ -853,6 +853,22 @@ export const currentInitiatorDirectorySnapshotSchema = {
|
|
|
853
853
|
resolvedAt: dateTime,
|
|
854
854
|
},
|
|
855
855
|
};
|
|
856
|
+
export const assignmentCandidatePageSchema = {
|
|
857
|
+
$id: SCHEMA_VERSIONS.assignmentCandidatePage,
|
|
858
|
+
type: "object",
|
|
859
|
+
additionalProperties: false,
|
|
860
|
+
required: ["schemaVersion", "appCode", "environmentKey", "roleCode", "observedAt", "headRevision", "items", "nextCursor"],
|
|
861
|
+
properties: {
|
|
862
|
+
schemaVersion: { const: SCHEMA_VERSIONS.assignmentCandidatePage },
|
|
863
|
+
appCode: nonEmptyString,
|
|
864
|
+
environmentKey: nonEmptyString,
|
|
865
|
+
roleCode: nonEmptyString,
|
|
866
|
+
observedAt: dateTime,
|
|
867
|
+
headRevision: { type: "integer", minimum: 1 },
|
|
868
|
+
items: { type: "array", maxItems: 50, items: directorySnapshotValueSchema },
|
|
869
|
+
nextCursor: { anyOf: [{ type: "string", minLength: 1, maxLength: 2048 }, { type: "null" }] },
|
|
870
|
+
},
|
|
871
|
+
};
|
|
856
872
|
const roleSubjectChoiceSchema = {
|
|
857
873
|
type: "object",
|
|
858
874
|
additionalProperties: false,
|
|
@@ -5829,6 +5845,23 @@ export const businessProcessReceiptSchema = {
|
|
|
5829
5845
|
createdAt: { anyOf: [dateTime, { type: "null" }] },
|
|
5830
5846
|
},
|
|
5831
5847
|
};
|
|
5848
|
+
export const businessProcessResolutionSchema = {
|
|
5849
|
+
$id: SCHEMA_VERSIONS.businessProcessResolution,
|
|
5850
|
+
type: "object", additionalProperties: false,
|
|
5851
|
+
required: ["schemaVersion", "appCode", "environmentKey", "operationCode", "workflowCode", "idempotencyKey", "observedAt", "outcome", "receipt"],
|
|
5852
|
+
properties: {
|
|
5853
|
+
schemaVersion: { const: SCHEMA_VERSIONS.businessProcessResolution },
|
|
5854
|
+
appCode: nonEmptyString, environmentKey: { enum: ["preproduction", "production"] },
|
|
5855
|
+
operationCode: nonEmptyString, workflowCode: nonEmptyString,
|
|
5856
|
+
idempotencyKey: { type: "string", minLength: 1, maxLength: 128 }, observedAt: dateTime,
|
|
5857
|
+
outcome: { enum: ["committed", "not_observed"] },
|
|
5858
|
+
receipt: { anyOf: [{ $ref: SCHEMA_VERSIONS.businessProcessReceipt }, { type: "null" }] },
|
|
5859
|
+
},
|
|
5860
|
+
oneOf: [
|
|
5861
|
+
{ properties: { outcome: { const: "committed" }, receipt: { type: "object" } } },
|
|
5862
|
+
{ properties: { outcome: { const: "not_observed" }, receipt: { type: "null" } } },
|
|
5863
|
+
],
|
|
5864
|
+
};
|
|
5832
5865
|
export const businessProcessPollSchema = {
|
|
5833
5866
|
$id: SCHEMA_VERSIONS.businessProcessPoll,
|
|
5834
5867
|
type: "object",
|
|
@@ -8539,6 +8572,7 @@ export const contractSchemas = {
|
|
|
8539
8572
|
subjectProfile: subjectProfileSchema,
|
|
8540
8573
|
currentInitiatorDirectoryRequest: currentInitiatorDirectoryRequestSchema,
|
|
8541
8574
|
currentInitiatorDirectorySnapshot: currentInitiatorDirectorySnapshotSchema,
|
|
8575
|
+
assignmentCandidatePage: assignmentCandidatePageSchema,
|
|
8542
8576
|
roleSubjectPage: roleSubjectPageSchema,
|
|
8543
8577
|
runtimeAuthorization: runtimeAuthorizationSchema,
|
|
8544
8578
|
nativeAuthorizationManagementCatalog: nativeAuthorizationManagementCatalogSchema,
|
|
@@ -8614,6 +8648,7 @@ export const contractSchemas = {
|
|
|
8614
8648
|
standardProcessCommit: standardProcessCommitSchema,
|
|
8615
8649
|
businessProcessCommand: businessProcessCommandSchema,
|
|
8616
8650
|
businessProcessReceipt: businessProcessReceiptSchema,
|
|
8651
|
+
businessProcessResolution: businessProcessResolutionSchema,
|
|
8617
8652
|
businessProcessPoll: businessProcessPollSchema,
|
|
8618
8653
|
businessProcessCommandList: businessProcessCommandListSchema,
|
|
8619
8654
|
processCommandSurface: processCommandSurfaceSchema,
|