openxiangda-contracts 2.35.0 → 2.43.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 +6 -0
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +6 -0
- package/dist/browser.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/native-compiler/compiler.d.ts +1 -1
- package/dist/native-compiler/compiler.d.ts.map +1 -1
- package/dist/native-compiler/compiler.js +85 -5
- package/dist/native-compiler/compiler.js.map +1 -1
- package/dist/native-compiler/index.cjs +6 -5
- package/dist/native-compiler/index.d.ts +8 -0
- package/dist/native-compiler/index.d.ts.map +1 -1
- package/dist/native-compiler/index.js +6 -5
- package/dist/native-compiler/role-membership-batch.d.ts +73 -0
- package/dist/native-compiler/role-membership-batch.d.ts.map +1 -0
- package/dist/native-compiler/role-membership-batch.js +91 -0
- package/dist/native-compiler/role-membership-batch.js.map +1 -0
- package/dist/native-compiler/workflow-assignment-routing.d.ts +121 -0
- package/dist/native-compiler/workflow-assignment-routing.d.ts.map +1 -0
- package/dist/native-compiler/workflow-assignment-routing.js +113 -0
- package/dist/native-compiler/workflow-assignment-routing.js.map +1 -0
- package/dist/native-compiler/workflow-automatic-cc.d.ts +20 -0
- package/dist/native-compiler/workflow-automatic-cc.d.ts.map +1 -0
- package/dist/native-compiler/workflow-automatic-cc.js +36 -0
- package/dist/native-compiler/workflow-automatic-cc.js.map +1 -0
- package/dist/native-compiler/workflow-business-step-identity.d.ts +12 -0
- package/dist/native-compiler/workflow-business-step-identity.d.ts.map +1 -0
- package/dist/native-compiler/workflow-business-step-identity.js +11 -0
- package/dist/native-compiler/workflow-business-step-identity.js.map +1 -0
- package/dist/native-compiler/workflow-business-step.d.ts +119 -0
- package/dist/native-compiler/workflow-business-step.d.ts.map +1 -0
- package/dist/native-compiler/workflow-business-step.js +357 -0
- package/dist/native-compiler/workflow-business-step.js.map +1 -0
- package/dist/native-compiler/workflow-delegation-administration.d.ts +1084 -0
- package/dist/native-compiler/workflow-delegation-administration.d.ts.map +1 -0
- package/dist/native-compiler/workflow-delegation-administration.js +68 -0
- package/dist/native-compiler/workflow-delegation-administration.js.map +1 -0
- package/dist/native-compiler/workflow-graph.d.ts +28 -2
- package/dist/native-compiler/workflow-graph.d.ts.map +1 -1
- package/dist/native-compiler/workflow-graph.js +25 -7
- package/dist/native-compiler/workflow-graph.js.map +1 -1
- package/dist/native-compiler/workflow-node-administration.d.ts.map +1 -1
- package/dist/native-compiler/workflow-node-administration.js +12 -3
- package/dist/native-compiler/workflow-node-administration.js.map +1 -1
- package/dist/native-compiler/workflow-task-page.d.ts +119 -0
- package/dist/native-compiler/workflow-task-page.d.ts.map +1 -0
- package/dist/native-compiler/workflow-task-page.js +225 -0
- package/dist/native-compiler/workflow-task-page.js.map +1 -0
- package/dist/native-version.d.ts +9 -0
- package/dist/native-version.d.ts.map +1 -1
- package/dist/native-version.js +9 -0
- package/dist/native-version.js.map +1 -1
- package/dist/native.d.ts +2 -0
- package/dist/native.d.ts.map +1 -1
- package/dist/native.js.map +1 -1
- package/dist/schemas.d.ts +4745 -1006
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +217 -0
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +174 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +13 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1084 @@
|
|
|
1
|
+
import type { WorkflowDelegation } from '../types.js';
|
|
2
|
+
export declare const WORKFLOW_DELEGATION_ADMINISTRATION_SCHEMA = "openxiangda.workflow-delegation-administration/v2";
|
|
3
|
+
export declare const WORKFLOW_DELEGATION_MUTATION_SCHEMA = "openxiangda.workflow-delegation-mutation/v2";
|
|
4
|
+
export declare const WORKFLOW_DELEGATION_PREVIEW_SCHEMA = "openxiangda.workflow-delegation-preview/v2";
|
|
5
|
+
export declare const WORKFLOW_DELEGATION_RECEIPT_SCHEMA = "openxiangda.workflow-delegation-receipt/v2";
|
|
6
|
+
export type WorkflowDelegationEffectiveState = 'active' | 'scheduled' | 'expired' | 'revoked' | 'ineligible';
|
|
7
|
+
export interface WorkflowDelegationAdministration extends Omit<WorkflowDelegation, 'schemaVersion'> {
|
|
8
|
+
schemaVersion: typeof WORKFLOW_DELEGATION_ADMINISTRATION_SCHEMA;
|
|
9
|
+
revision: number;
|
|
10
|
+
roleCode: string;
|
|
11
|
+
roleName: string;
|
|
12
|
+
delegatorDisplayName: string;
|
|
13
|
+
delegateDisplayName: string;
|
|
14
|
+
delegatorRoleSubjectRevision: number;
|
|
15
|
+
delegateRoleSubjectRevision: number;
|
|
16
|
+
effectiveState: WorkflowDelegationEffectiveState;
|
|
17
|
+
evaluatedAt: string;
|
|
18
|
+
issues: string[];
|
|
19
|
+
canRevoke: boolean;
|
|
20
|
+
revokedBy: string | null;
|
|
21
|
+
revokeReason: string | null;
|
|
22
|
+
taskPolicy: 'future-assignments-only';
|
|
23
|
+
}
|
|
24
|
+
interface WorkflowDelegationMutationBase {
|
|
25
|
+
schemaVersion: typeof WORKFLOW_DELEGATION_MUTATION_SCHEMA;
|
|
26
|
+
operationId: string;
|
|
27
|
+
environmentKey: 'preproduction' | 'production';
|
|
28
|
+
reason: string;
|
|
29
|
+
}
|
|
30
|
+
export type WorkflowDelegationMutationRequest = WorkflowDelegationMutationBase & ({
|
|
31
|
+
operation: 'create';
|
|
32
|
+
workflowCode: string | null;
|
|
33
|
+
delegatorRoleSubjectKey: string;
|
|
34
|
+
expectedDelegatorRevision: number;
|
|
35
|
+
delegateUserId: string;
|
|
36
|
+
delegateRoleSubjectKey: string;
|
|
37
|
+
expectedDelegateRevision: number;
|
|
38
|
+
validFrom: string;
|
|
39
|
+
validTo: string;
|
|
40
|
+
} | {
|
|
41
|
+
operation: 'revoke';
|
|
42
|
+
delegationId: string;
|
|
43
|
+
expectedRevision: number;
|
|
44
|
+
});
|
|
45
|
+
export type WorkflowDelegationMutationIntent = Omit<Extract<WorkflowDelegationMutationRequest, {
|
|
46
|
+
operation: 'create';
|
|
47
|
+
}>, 'environmentKey'> | Omit<Extract<WorkflowDelegationMutationRequest, {
|
|
48
|
+
operation: 'revoke';
|
|
49
|
+
}>, 'environmentKey'>;
|
|
50
|
+
export interface WorkflowDelegationMutationPreview {
|
|
51
|
+
schemaVersion: typeof WORKFLOW_DELEGATION_PREVIEW_SCHEMA;
|
|
52
|
+
operationId: string;
|
|
53
|
+
operation: 'create' | 'revoke';
|
|
54
|
+
requestDigest: string;
|
|
55
|
+
before: WorkflowDelegationAdministration | null;
|
|
56
|
+
/** Proposed creates have no persisted id. */
|
|
57
|
+
after: Omit<WorkflowDelegationAdministration, 'id'> & {
|
|
58
|
+
id: string | null;
|
|
59
|
+
};
|
|
60
|
+
taskPolicy: 'future-assignments-only';
|
|
61
|
+
}
|
|
62
|
+
export interface WorkflowDelegationMutationReceipt {
|
|
63
|
+
schemaVersion: typeof WORKFLOW_DELEGATION_RECEIPT_SCHEMA;
|
|
64
|
+
operationId: string;
|
|
65
|
+
operation: 'create' | 'revoke';
|
|
66
|
+
requestDigest: string;
|
|
67
|
+
actorUserId: string;
|
|
68
|
+
appCode: string;
|
|
69
|
+
environmentKey: string;
|
|
70
|
+
committedAt: string;
|
|
71
|
+
delegation: WorkflowDelegationAdministration;
|
|
72
|
+
taskPolicy: 'future-assignments-only';
|
|
73
|
+
}
|
|
74
|
+
export interface WorkflowDelegationListQuery {
|
|
75
|
+
all?: boolean;
|
|
76
|
+
workflowCode?: string;
|
|
77
|
+
roleCode?: string;
|
|
78
|
+
effectiveState?: WorkflowDelegationEffectiveState;
|
|
79
|
+
keyword?: string;
|
|
80
|
+
userId?: string;
|
|
81
|
+
limit?: number;
|
|
82
|
+
offset?: number;
|
|
83
|
+
}
|
|
84
|
+
export interface WorkflowDelegationSource {
|
|
85
|
+
roleSubjectKey: string;
|
|
86
|
+
roleSubjectRevision: number;
|
|
87
|
+
roleCode: string;
|
|
88
|
+
roleName: string;
|
|
89
|
+
validFrom: string | null;
|
|
90
|
+
validTo: string | null;
|
|
91
|
+
}
|
|
92
|
+
export interface WorkflowDelegationCatalog {
|
|
93
|
+
appCode: string;
|
|
94
|
+
environmentKey: 'preproduction' | 'production';
|
|
95
|
+
actorUserId: string;
|
|
96
|
+
canReadAll: boolean;
|
|
97
|
+
canCreate: boolean;
|
|
98
|
+
sources: WorkflowDelegationSource[];
|
|
99
|
+
workflows: Array<{
|
|
100
|
+
code: string;
|
|
101
|
+
title: string;
|
|
102
|
+
}>;
|
|
103
|
+
evaluatedAt: string;
|
|
104
|
+
taskPolicy: 'future-assignments-only';
|
|
105
|
+
}
|
|
106
|
+
export interface WorkflowDelegationCandidateQuery {
|
|
107
|
+
delegatorRoleSubjectKey: string;
|
|
108
|
+
validFrom: string;
|
|
109
|
+
validTo: string;
|
|
110
|
+
workflowCode?: string;
|
|
111
|
+
keyword?: string;
|
|
112
|
+
limit?: number;
|
|
113
|
+
offset?: number;
|
|
114
|
+
}
|
|
115
|
+
export interface WorkflowDelegationCandidate {
|
|
116
|
+
userId: string;
|
|
117
|
+
displayName: string;
|
|
118
|
+
roleSubjectKey: string;
|
|
119
|
+
roleSubjectRevision: number;
|
|
120
|
+
roleCode: string;
|
|
121
|
+
roleName: string;
|
|
122
|
+
validFrom: string | null;
|
|
123
|
+
validTo: string | null;
|
|
124
|
+
}
|
|
125
|
+
export interface WorkflowDelegationPage {
|
|
126
|
+
items: WorkflowDelegationAdministration[];
|
|
127
|
+
total: number;
|
|
128
|
+
limit: number;
|
|
129
|
+
offset: number;
|
|
130
|
+
evaluatedAt: string;
|
|
131
|
+
}
|
|
132
|
+
export interface WorkflowDelegationCandidatePage {
|
|
133
|
+
items: WorkflowDelegationCandidate[];
|
|
134
|
+
total: number;
|
|
135
|
+
limit: number;
|
|
136
|
+
offset: number;
|
|
137
|
+
evaluatedAt: string;
|
|
138
|
+
}
|
|
139
|
+
export declare const workflowDelegationAdministrationProperties: {
|
|
140
|
+
readonly schemaVersion: {
|
|
141
|
+
readonly const: "openxiangda.workflow-delegation-administration/v2";
|
|
142
|
+
};
|
|
143
|
+
readonly id: {
|
|
144
|
+
readonly type: "string";
|
|
145
|
+
readonly format: "uuid";
|
|
146
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
147
|
+
};
|
|
148
|
+
readonly appCode: {
|
|
149
|
+
readonly type: "string";
|
|
150
|
+
readonly minLength: 1;
|
|
151
|
+
readonly maxLength: 255;
|
|
152
|
+
};
|
|
153
|
+
readonly environmentKey: {
|
|
154
|
+
readonly type: "string";
|
|
155
|
+
readonly minLength: 1;
|
|
156
|
+
readonly maxLength: 255;
|
|
157
|
+
};
|
|
158
|
+
readonly workflowCode: {
|
|
159
|
+
readonly anyOf: readonly [{
|
|
160
|
+
readonly type: "string";
|
|
161
|
+
readonly minLength: 1;
|
|
162
|
+
readonly maxLength: 255;
|
|
163
|
+
}, {
|
|
164
|
+
readonly type: "null";
|
|
165
|
+
}];
|
|
166
|
+
};
|
|
167
|
+
readonly delegatorUserId: {
|
|
168
|
+
readonly type: "string";
|
|
169
|
+
readonly minLength: 1;
|
|
170
|
+
readonly maxLength: 255;
|
|
171
|
+
};
|
|
172
|
+
readonly delegateUserId: {
|
|
173
|
+
readonly type: "string";
|
|
174
|
+
readonly minLength: 1;
|
|
175
|
+
readonly maxLength: 255;
|
|
176
|
+
};
|
|
177
|
+
readonly delegatorRoleSubjectKey: {
|
|
178
|
+
readonly type: "string";
|
|
179
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
180
|
+
};
|
|
181
|
+
readonly delegateRoleSubjectKey: {
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
184
|
+
};
|
|
185
|
+
readonly validFrom: {
|
|
186
|
+
readonly type: "string";
|
|
187
|
+
readonly format: "date-time";
|
|
188
|
+
};
|
|
189
|
+
readonly validTo: {
|
|
190
|
+
readonly type: "string";
|
|
191
|
+
readonly format: "date-time";
|
|
192
|
+
};
|
|
193
|
+
readonly status: {
|
|
194
|
+
readonly enum: readonly ["active", "revoked", "expired"];
|
|
195
|
+
};
|
|
196
|
+
readonly reason: {
|
|
197
|
+
readonly type: "string";
|
|
198
|
+
readonly minLength: 1;
|
|
199
|
+
readonly maxLength: 4000;
|
|
200
|
+
};
|
|
201
|
+
readonly createdBy: {
|
|
202
|
+
readonly type: "string";
|
|
203
|
+
readonly minLength: 1;
|
|
204
|
+
readonly maxLength: 255;
|
|
205
|
+
};
|
|
206
|
+
readonly createdAt: {
|
|
207
|
+
readonly type: "string";
|
|
208
|
+
readonly format: "date-time";
|
|
209
|
+
};
|
|
210
|
+
readonly revokedAt: {
|
|
211
|
+
readonly anyOf: readonly [{
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
readonly format: "date-time";
|
|
214
|
+
}, {
|
|
215
|
+
readonly type: "null";
|
|
216
|
+
}];
|
|
217
|
+
};
|
|
218
|
+
readonly revision: {
|
|
219
|
+
readonly type: "integer";
|
|
220
|
+
readonly minimum: 1;
|
|
221
|
+
};
|
|
222
|
+
readonly roleCode: {
|
|
223
|
+
readonly type: "string";
|
|
224
|
+
readonly minLength: 1;
|
|
225
|
+
readonly maxLength: 255;
|
|
226
|
+
};
|
|
227
|
+
readonly roleName: {
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
readonly minLength: 1;
|
|
230
|
+
readonly maxLength: 255;
|
|
231
|
+
};
|
|
232
|
+
readonly delegatorDisplayName: {
|
|
233
|
+
readonly type: "string";
|
|
234
|
+
readonly minLength: 1;
|
|
235
|
+
readonly maxLength: 255;
|
|
236
|
+
};
|
|
237
|
+
readonly delegateDisplayName: {
|
|
238
|
+
readonly type: "string";
|
|
239
|
+
readonly minLength: 1;
|
|
240
|
+
readonly maxLength: 255;
|
|
241
|
+
};
|
|
242
|
+
readonly delegatorRoleSubjectRevision: {
|
|
243
|
+
readonly type: "integer";
|
|
244
|
+
readonly minimum: 1;
|
|
245
|
+
};
|
|
246
|
+
readonly delegateRoleSubjectRevision: {
|
|
247
|
+
readonly type: "integer";
|
|
248
|
+
readonly minimum: 1;
|
|
249
|
+
};
|
|
250
|
+
readonly effectiveState: {
|
|
251
|
+
readonly enum: readonly ["active", "scheduled", "expired", "revoked", "ineligible"];
|
|
252
|
+
};
|
|
253
|
+
readonly evaluatedAt: {
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
readonly format: "date-time";
|
|
256
|
+
};
|
|
257
|
+
readonly issues: {
|
|
258
|
+
readonly type: "array";
|
|
259
|
+
readonly maxItems: 20;
|
|
260
|
+
readonly uniqueItems: true;
|
|
261
|
+
readonly items: {
|
|
262
|
+
readonly type: "string";
|
|
263
|
+
readonly minLength: 1;
|
|
264
|
+
readonly maxLength: 255;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
readonly canRevoke: {
|
|
268
|
+
readonly type: "boolean";
|
|
269
|
+
};
|
|
270
|
+
readonly revokedBy: {
|
|
271
|
+
readonly anyOf: readonly [{
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly minLength: 1;
|
|
274
|
+
readonly maxLength: 255;
|
|
275
|
+
}, {
|
|
276
|
+
readonly type: "null";
|
|
277
|
+
}];
|
|
278
|
+
};
|
|
279
|
+
readonly revokeReason: {
|
|
280
|
+
readonly type: readonly ["string", "null"];
|
|
281
|
+
readonly maxLength: 4000;
|
|
282
|
+
};
|
|
283
|
+
readonly taskPolicy: {
|
|
284
|
+
readonly const: "future-assignments-only";
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
export declare const workflowDelegationAdministrationSchema: {
|
|
288
|
+
readonly type: "object";
|
|
289
|
+
readonly additionalProperties: false;
|
|
290
|
+
readonly required: string[];
|
|
291
|
+
readonly properties: {
|
|
292
|
+
readonly schemaVersion: {
|
|
293
|
+
readonly const: "openxiangda.workflow-delegation-administration/v2";
|
|
294
|
+
};
|
|
295
|
+
readonly id: {
|
|
296
|
+
readonly type: "string";
|
|
297
|
+
readonly format: "uuid";
|
|
298
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
299
|
+
};
|
|
300
|
+
readonly appCode: {
|
|
301
|
+
readonly type: "string";
|
|
302
|
+
readonly minLength: 1;
|
|
303
|
+
readonly maxLength: 255;
|
|
304
|
+
};
|
|
305
|
+
readonly environmentKey: {
|
|
306
|
+
readonly type: "string";
|
|
307
|
+
readonly minLength: 1;
|
|
308
|
+
readonly maxLength: 255;
|
|
309
|
+
};
|
|
310
|
+
readonly workflowCode: {
|
|
311
|
+
readonly anyOf: readonly [{
|
|
312
|
+
readonly type: "string";
|
|
313
|
+
readonly minLength: 1;
|
|
314
|
+
readonly maxLength: 255;
|
|
315
|
+
}, {
|
|
316
|
+
readonly type: "null";
|
|
317
|
+
}];
|
|
318
|
+
};
|
|
319
|
+
readonly delegatorUserId: {
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
readonly minLength: 1;
|
|
322
|
+
readonly maxLength: 255;
|
|
323
|
+
};
|
|
324
|
+
readonly delegateUserId: {
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
readonly minLength: 1;
|
|
327
|
+
readonly maxLength: 255;
|
|
328
|
+
};
|
|
329
|
+
readonly delegatorRoleSubjectKey: {
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
332
|
+
};
|
|
333
|
+
readonly delegateRoleSubjectKey: {
|
|
334
|
+
readonly type: "string";
|
|
335
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
336
|
+
};
|
|
337
|
+
readonly validFrom: {
|
|
338
|
+
readonly type: "string";
|
|
339
|
+
readonly format: "date-time";
|
|
340
|
+
};
|
|
341
|
+
readonly validTo: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
readonly format: "date-time";
|
|
344
|
+
};
|
|
345
|
+
readonly status: {
|
|
346
|
+
readonly enum: readonly ["active", "revoked", "expired"];
|
|
347
|
+
};
|
|
348
|
+
readonly reason: {
|
|
349
|
+
readonly type: "string";
|
|
350
|
+
readonly minLength: 1;
|
|
351
|
+
readonly maxLength: 4000;
|
|
352
|
+
};
|
|
353
|
+
readonly createdBy: {
|
|
354
|
+
readonly type: "string";
|
|
355
|
+
readonly minLength: 1;
|
|
356
|
+
readonly maxLength: 255;
|
|
357
|
+
};
|
|
358
|
+
readonly createdAt: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
readonly format: "date-time";
|
|
361
|
+
};
|
|
362
|
+
readonly revokedAt: {
|
|
363
|
+
readonly anyOf: readonly [{
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly format: "date-time";
|
|
366
|
+
}, {
|
|
367
|
+
readonly type: "null";
|
|
368
|
+
}];
|
|
369
|
+
};
|
|
370
|
+
readonly revision: {
|
|
371
|
+
readonly type: "integer";
|
|
372
|
+
readonly minimum: 1;
|
|
373
|
+
};
|
|
374
|
+
readonly roleCode: {
|
|
375
|
+
readonly type: "string";
|
|
376
|
+
readonly minLength: 1;
|
|
377
|
+
readonly maxLength: 255;
|
|
378
|
+
};
|
|
379
|
+
readonly roleName: {
|
|
380
|
+
readonly type: "string";
|
|
381
|
+
readonly minLength: 1;
|
|
382
|
+
readonly maxLength: 255;
|
|
383
|
+
};
|
|
384
|
+
readonly delegatorDisplayName: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
readonly minLength: 1;
|
|
387
|
+
readonly maxLength: 255;
|
|
388
|
+
};
|
|
389
|
+
readonly delegateDisplayName: {
|
|
390
|
+
readonly type: "string";
|
|
391
|
+
readonly minLength: 1;
|
|
392
|
+
readonly maxLength: 255;
|
|
393
|
+
};
|
|
394
|
+
readonly delegatorRoleSubjectRevision: {
|
|
395
|
+
readonly type: "integer";
|
|
396
|
+
readonly minimum: 1;
|
|
397
|
+
};
|
|
398
|
+
readonly delegateRoleSubjectRevision: {
|
|
399
|
+
readonly type: "integer";
|
|
400
|
+
readonly minimum: 1;
|
|
401
|
+
};
|
|
402
|
+
readonly effectiveState: {
|
|
403
|
+
readonly enum: readonly ["active", "scheduled", "expired", "revoked", "ineligible"];
|
|
404
|
+
};
|
|
405
|
+
readonly evaluatedAt: {
|
|
406
|
+
readonly type: "string";
|
|
407
|
+
readonly format: "date-time";
|
|
408
|
+
};
|
|
409
|
+
readonly issues: {
|
|
410
|
+
readonly type: "array";
|
|
411
|
+
readonly maxItems: 20;
|
|
412
|
+
readonly uniqueItems: true;
|
|
413
|
+
readonly items: {
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
readonly minLength: 1;
|
|
416
|
+
readonly maxLength: 255;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
readonly canRevoke: {
|
|
420
|
+
readonly type: "boolean";
|
|
421
|
+
};
|
|
422
|
+
readonly revokedBy: {
|
|
423
|
+
readonly anyOf: readonly [{
|
|
424
|
+
readonly type: "string";
|
|
425
|
+
readonly minLength: 1;
|
|
426
|
+
readonly maxLength: 255;
|
|
427
|
+
}, {
|
|
428
|
+
readonly type: "null";
|
|
429
|
+
}];
|
|
430
|
+
};
|
|
431
|
+
readonly revokeReason: {
|
|
432
|
+
readonly type: readonly ["string", "null"];
|
|
433
|
+
readonly maxLength: 4000;
|
|
434
|
+
};
|
|
435
|
+
readonly taskPolicy: {
|
|
436
|
+
readonly const: "future-assignments-only";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
readonly $id: "openxiangda.workflow-delegation-administration/v2";
|
|
440
|
+
};
|
|
441
|
+
export declare const workflowDelegationMutationRequestSchema: {
|
|
442
|
+
readonly $id: "openxiangda.workflow-delegation-mutation/v2";
|
|
443
|
+
readonly type: "object";
|
|
444
|
+
readonly oneOf: readonly [{
|
|
445
|
+
readonly type: "object";
|
|
446
|
+
readonly additionalProperties: false;
|
|
447
|
+
readonly required: string[];
|
|
448
|
+
readonly properties: {
|
|
449
|
+
readonly operation: {
|
|
450
|
+
readonly const: "create";
|
|
451
|
+
};
|
|
452
|
+
readonly workflowCode: {
|
|
453
|
+
readonly anyOf: readonly [{
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
readonly minLength: 1;
|
|
456
|
+
readonly maxLength: 255;
|
|
457
|
+
}, {
|
|
458
|
+
readonly type: "null";
|
|
459
|
+
}];
|
|
460
|
+
};
|
|
461
|
+
readonly delegatorRoleSubjectKey: {
|
|
462
|
+
readonly type: "string";
|
|
463
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
464
|
+
};
|
|
465
|
+
readonly expectedDelegatorRevision: {
|
|
466
|
+
readonly type: "integer";
|
|
467
|
+
readonly minimum: 1;
|
|
468
|
+
};
|
|
469
|
+
readonly delegateUserId: {
|
|
470
|
+
readonly type: "string";
|
|
471
|
+
readonly minLength: 1;
|
|
472
|
+
readonly maxLength: 255;
|
|
473
|
+
};
|
|
474
|
+
readonly delegateRoleSubjectKey: {
|
|
475
|
+
readonly type: "string";
|
|
476
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
477
|
+
};
|
|
478
|
+
readonly expectedDelegateRevision: {
|
|
479
|
+
readonly type: "integer";
|
|
480
|
+
readonly minimum: 1;
|
|
481
|
+
};
|
|
482
|
+
readonly validFrom: {
|
|
483
|
+
readonly type: "string";
|
|
484
|
+
readonly format: "date-time";
|
|
485
|
+
};
|
|
486
|
+
readonly validTo: {
|
|
487
|
+
readonly type: "string";
|
|
488
|
+
readonly format: "date-time";
|
|
489
|
+
};
|
|
490
|
+
readonly schemaVersion: {
|
|
491
|
+
readonly const: "openxiangda.workflow-delegation-mutation/v2";
|
|
492
|
+
};
|
|
493
|
+
readonly operationId: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
readonly format: "uuid";
|
|
496
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
497
|
+
};
|
|
498
|
+
readonly environmentKey: {
|
|
499
|
+
readonly enum: readonly ["preproduction", "production"];
|
|
500
|
+
};
|
|
501
|
+
readonly reason: {
|
|
502
|
+
readonly type: "string";
|
|
503
|
+
readonly minLength: 1;
|
|
504
|
+
readonly maxLength: 2000;
|
|
505
|
+
readonly pattern: "\\S";
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
}, {
|
|
509
|
+
readonly type: "object";
|
|
510
|
+
readonly additionalProperties: false;
|
|
511
|
+
readonly required: string[];
|
|
512
|
+
readonly properties: {
|
|
513
|
+
readonly operation: {
|
|
514
|
+
readonly const: "revoke";
|
|
515
|
+
};
|
|
516
|
+
readonly delegationId: {
|
|
517
|
+
readonly type: "string";
|
|
518
|
+
readonly format: "uuid";
|
|
519
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
520
|
+
};
|
|
521
|
+
readonly expectedRevision: {
|
|
522
|
+
readonly type: "integer";
|
|
523
|
+
readonly minimum: 1;
|
|
524
|
+
};
|
|
525
|
+
readonly schemaVersion: {
|
|
526
|
+
readonly const: "openxiangda.workflow-delegation-mutation/v2";
|
|
527
|
+
};
|
|
528
|
+
readonly operationId: {
|
|
529
|
+
readonly type: "string";
|
|
530
|
+
readonly format: "uuid";
|
|
531
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
532
|
+
};
|
|
533
|
+
readonly environmentKey: {
|
|
534
|
+
readonly enum: readonly ["preproduction", "production"];
|
|
535
|
+
};
|
|
536
|
+
readonly reason: {
|
|
537
|
+
readonly type: "string";
|
|
538
|
+
readonly minLength: 1;
|
|
539
|
+
readonly maxLength: 2000;
|
|
540
|
+
readonly pattern: "\\S";
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
}];
|
|
544
|
+
};
|
|
545
|
+
export declare const workflowDelegationMutationPreviewSchema: {
|
|
546
|
+
readonly $id: "openxiangda.workflow-delegation-preview/v2";
|
|
547
|
+
readonly type: "object";
|
|
548
|
+
readonly additionalProperties: false;
|
|
549
|
+
readonly required: readonly ["schemaVersion", "operationId", "operation", "requestDigest", "before", "after", "taskPolicy"];
|
|
550
|
+
readonly properties: {
|
|
551
|
+
readonly schemaVersion: {
|
|
552
|
+
readonly const: "openxiangda.workflow-delegation-preview/v2";
|
|
553
|
+
};
|
|
554
|
+
readonly operationId: {
|
|
555
|
+
readonly type: "string";
|
|
556
|
+
readonly format: "uuid";
|
|
557
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
558
|
+
};
|
|
559
|
+
readonly operation: {
|
|
560
|
+
readonly enum: readonly ["create", "revoke"];
|
|
561
|
+
};
|
|
562
|
+
readonly requestDigest: {
|
|
563
|
+
readonly type: "string";
|
|
564
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
565
|
+
};
|
|
566
|
+
readonly before: {
|
|
567
|
+
readonly anyOf: readonly [{
|
|
568
|
+
readonly type: "object";
|
|
569
|
+
readonly additionalProperties: false;
|
|
570
|
+
readonly required: string[];
|
|
571
|
+
readonly properties: {
|
|
572
|
+
readonly schemaVersion: {
|
|
573
|
+
readonly const: "openxiangda.workflow-delegation-administration/v2";
|
|
574
|
+
};
|
|
575
|
+
readonly id: {
|
|
576
|
+
readonly type: "string";
|
|
577
|
+
readonly format: "uuid";
|
|
578
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
579
|
+
};
|
|
580
|
+
readonly appCode: {
|
|
581
|
+
readonly type: "string";
|
|
582
|
+
readonly minLength: 1;
|
|
583
|
+
readonly maxLength: 255;
|
|
584
|
+
};
|
|
585
|
+
readonly environmentKey: {
|
|
586
|
+
readonly type: "string";
|
|
587
|
+
readonly minLength: 1;
|
|
588
|
+
readonly maxLength: 255;
|
|
589
|
+
};
|
|
590
|
+
readonly workflowCode: {
|
|
591
|
+
readonly anyOf: readonly [{
|
|
592
|
+
readonly type: "string";
|
|
593
|
+
readonly minLength: 1;
|
|
594
|
+
readonly maxLength: 255;
|
|
595
|
+
}, {
|
|
596
|
+
readonly type: "null";
|
|
597
|
+
}];
|
|
598
|
+
};
|
|
599
|
+
readonly delegatorUserId: {
|
|
600
|
+
readonly type: "string";
|
|
601
|
+
readonly minLength: 1;
|
|
602
|
+
readonly maxLength: 255;
|
|
603
|
+
};
|
|
604
|
+
readonly delegateUserId: {
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
readonly minLength: 1;
|
|
607
|
+
readonly maxLength: 255;
|
|
608
|
+
};
|
|
609
|
+
readonly delegatorRoleSubjectKey: {
|
|
610
|
+
readonly type: "string";
|
|
611
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
612
|
+
};
|
|
613
|
+
readonly delegateRoleSubjectKey: {
|
|
614
|
+
readonly type: "string";
|
|
615
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
616
|
+
};
|
|
617
|
+
readonly validFrom: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
readonly format: "date-time";
|
|
620
|
+
};
|
|
621
|
+
readonly validTo: {
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly format: "date-time";
|
|
624
|
+
};
|
|
625
|
+
readonly status: {
|
|
626
|
+
readonly enum: readonly ["active", "revoked", "expired"];
|
|
627
|
+
};
|
|
628
|
+
readonly reason: {
|
|
629
|
+
readonly type: "string";
|
|
630
|
+
readonly minLength: 1;
|
|
631
|
+
readonly maxLength: 4000;
|
|
632
|
+
};
|
|
633
|
+
readonly createdBy: {
|
|
634
|
+
readonly type: "string";
|
|
635
|
+
readonly minLength: 1;
|
|
636
|
+
readonly maxLength: 255;
|
|
637
|
+
};
|
|
638
|
+
readonly createdAt: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly format: "date-time";
|
|
641
|
+
};
|
|
642
|
+
readonly revokedAt: {
|
|
643
|
+
readonly anyOf: readonly [{
|
|
644
|
+
readonly type: "string";
|
|
645
|
+
readonly format: "date-time";
|
|
646
|
+
}, {
|
|
647
|
+
readonly type: "null";
|
|
648
|
+
}];
|
|
649
|
+
};
|
|
650
|
+
readonly revision: {
|
|
651
|
+
readonly type: "integer";
|
|
652
|
+
readonly minimum: 1;
|
|
653
|
+
};
|
|
654
|
+
readonly roleCode: {
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly minLength: 1;
|
|
657
|
+
readonly maxLength: 255;
|
|
658
|
+
};
|
|
659
|
+
readonly roleName: {
|
|
660
|
+
readonly type: "string";
|
|
661
|
+
readonly minLength: 1;
|
|
662
|
+
readonly maxLength: 255;
|
|
663
|
+
};
|
|
664
|
+
readonly delegatorDisplayName: {
|
|
665
|
+
readonly type: "string";
|
|
666
|
+
readonly minLength: 1;
|
|
667
|
+
readonly maxLength: 255;
|
|
668
|
+
};
|
|
669
|
+
readonly delegateDisplayName: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
readonly minLength: 1;
|
|
672
|
+
readonly maxLength: 255;
|
|
673
|
+
};
|
|
674
|
+
readonly delegatorRoleSubjectRevision: {
|
|
675
|
+
readonly type: "integer";
|
|
676
|
+
readonly minimum: 1;
|
|
677
|
+
};
|
|
678
|
+
readonly delegateRoleSubjectRevision: {
|
|
679
|
+
readonly type: "integer";
|
|
680
|
+
readonly minimum: 1;
|
|
681
|
+
};
|
|
682
|
+
readonly effectiveState: {
|
|
683
|
+
readonly enum: readonly ["active", "scheduled", "expired", "revoked", "ineligible"];
|
|
684
|
+
};
|
|
685
|
+
readonly evaluatedAt: {
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
readonly format: "date-time";
|
|
688
|
+
};
|
|
689
|
+
readonly issues: {
|
|
690
|
+
readonly type: "array";
|
|
691
|
+
readonly maxItems: 20;
|
|
692
|
+
readonly uniqueItems: true;
|
|
693
|
+
readonly items: {
|
|
694
|
+
readonly type: "string";
|
|
695
|
+
readonly minLength: 1;
|
|
696
|
+
readonly maxLength: 255;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
readonly canRevoke: {
|
|
700
|
+
readonly type: "boolean";
|
|
701
|
+
};
|
|
702
|
+
readonly revokedBy: {
|
|
703
|
+
readonly anyOf: readonly [{
|
|
704
|
+
readonly type: "string";
|
|
705
|
+
readonly minLength: 1;
|
|
706
|
+
readonly maxLength: 255;
|
|
707
|
+
}, {
|
|
708
|
+
readonly type: "null";
|
|
709
|
+
}];
|
|
710
|
+
};
|
|
711
|
+
readonly revokeReason: {
|
|
712
|
+
readonly type: readonly ["string", "null"];
|
|
713
|
+
readonly maxLength: 4000;
|
|
714
|
+
};
|
|
715
|
+
readonly taskPolicy: {
|
|
716
|
+
readonly const: "future-assignments-only";
|
|
717
|
+
};
|
|
718
|
+
};
|
|
719
|
+
}, {
|
|
720
|
+
readonly type: "null";
|
|
721
|
+
}];
|
|
722
|
+
};
|
|
723
|
+
readonly after: {
|
|
724
|
+
readonly properties: {
|
|
725
|
+
readonly id: {
|
|
726
|
+
readonly anyOf: readonly [{
|
|
727
|
+
readonly type: "string";
|
|
728
|
+
readonly format: "uuid";
|
|
729
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
730
|
+
}, {
|
|
731
|
+
readonly type: "null";
|
|
732
|
+
}];
|
|
733
|
+
};
|
|
734
|
+
readonly schemaVersion: {
|
|
735
|
+
readonly const: "openxiangda.workflow-delegation-administration/v2";
|
|
736
|
+
};
|
|
737
|
+
readonly appCode: {
|
|
738
|
+
readonly type: "string";
|
|
739
|
+
readonly minLength: 1;
|
|
740
|
+
readonly maxLength: 255;
|
|
741
|
+
};
|
|
742
|
+
readonly environmentKey: {
|
|
743
|
+
readonly type: "string";
|
|
744
|
+
readonly minLength: 1;
|
|
745
|
+
readonly maxLength: 255;
|
|
746
|
+
};
|
|
747
|
+
readonly workflowCode: {
|
|
748
|
+
readonly anyOf: readonly [{
|
|
749
|
+
readonly type: "string";
|
|
750
|
+
readonly minLength: 1;
|
|
751
|
+
readonly maxLength: 255;
|
|
752
|
+
}, {
|
|
753
|
+
readonly type: "null";
|
|
754
|
+
}];
|
|
755
|
+
};
|
|
756
|
+
readonly delegatorUserId: {
|
|
757
|
+
readonly type: "string";
|
|
758
|
+
readonly minLength: 1;
|
|
759
|
+
readonly maxLength: 255;
|
|
760
|
+
};
|
|
761
|
+
readonly delegateUserId: {
|
|
762
|
+
readonly type: "string";
|
|
763
|
+
readonly minLength: 1;
|
|
764
|
+
readonly maxLength: 255;
|
|
765
|
+
};
|
|
766
|
+
readonly delegatorRoleSubjectKey: {
|
|
767
|
+
readonly type: "string";
|
|
768
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
769
|
+
};
|
|
770
|
+
readonly delegateRoleSubjectKey: {
|
|
771
|
+
readonly type: "string";
|
|
772
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
773
|
+
};
|
|
774
|
+
readonly validFrom: {
|
|
775
|
+
readonly type: "string";
|
|
776
|
+
readonly format: "date-time";
|
|
777
|
+
};
|
|
778
|
+
readonly validTo: {
|
|
779
|
+
readonly type: "string";
|
|
780
|
+
readonly format: "date-time";
|
|
781
|
+
};
|
|
782
|
+
readonly status: {
|
|
783
|
+
readonly enum: readonly ["active", "revoked", "expired"];
|
|
784
|
+
};
|
|
785
|
+
readonly reason: {
|
|
786
|
+
readonly type: "string";
|
|
787
|
+
readonly minLength: 1;
|
|
788
|
+
readonly maxLength: 4000;
|
|
789
|
+
};
|
|
790
|
+
readonly createdBy: {
|
|
791
|
+
readonly type: "string";
|
|
792
|
+
readonly minLength: 1;
|
|
793
|
+
readonly maxLength: 255;
|
|
794
|
+
};
|
|
795
|
+
readonly createdAt: {
|
|
796
|
+
readonly type: "string";
|
|
797
|
+
readonly format: "date-time";
|
|
798
|
+
};
|
|
799
|
+
readonly revokedAt: {
|
|
800
|
+
readonly anyOf: readonly [{
|
|
801
|
+
readonly type: "string";
|
|
802
|
+
readonly format: "date-time";
|
|
803
|
+
}, {
|
|
804
|
+
readonly type: "null";
|
|
805
|
+
}];
|
|
806
|
+
};
|
|
807
|
+
readonly revision: {
|
|
808
|
+
readonly type: "integer";
|
|
809
|
+
readonly minimum: 1;
|
|
810
|
+
};
|
|
811
|
+
readonly roleCode: {
|
|
812
|
+
readonly type: "string";
|
|
813
|
+
readonly minLength: 1;
|
|
814
|
+
readonly maxLength: 255;
|
|
815
|
+
};
|
|
816
|
+
readonly roleName: {
|
|
817
|
+
readonly type: "string";
|
|
818
|
+
readonly minLength: 1;
|
|
819
|
+
readonly maxLength: 255;
|
|
820
|
+
};
|
|
821
|
+
readonly delegatorDisplayName: {
|
|
822
|
+
readonly type: "string";
|
|
823
|
+
readonly minLength: 1;
|
|
824
|
+
readonly maxLength: 255;
|
|
825
|
+
};
|
|
826
|
+
readonly delegateDisplayName: {
|
|
827
|
+
readonly type: "string";
|
|
828
|
+
readonly minLength: 1;
|
|
829
|
+
readonly maxLength: 255;
|
|
830
|
+
};
|
|
831
|
+
readonly delegatorRoleSubjectRevision: {
|
|
832
|
+
readonly type: "integer";
|
|
833
|
+
readonly minimum: 1;
|
|
834
|
+
};
|
|
835
|
+
readonly delegateRoleSubjectRevision: {
|
|
836
|
+
readonly type: "integer";
|
|
837
|
+
readonly minimum: 1;
|
|
838
|
+
};
|
|
839
|
+
readonly effectiveState: {
|
|
840
|
+
readonly enum: readonly ["active", "scheduled", "expired", "revoked", "ineligible"];
|
|
841
|
+
};
|
|
842
|
+
readonly evaluatedAt: {
|
|
843
|
+
readonly type: "string";
|
|
844
|
+
readonly format: "date-time";
|
|
845
|
+
};
|
|
846
|
+
readonly issues: {
|
|
847
|
+
readonly type: "array";
|
|
848
|
+
readonly maxItems: 20;
|
|
849
|
+
readonly uniqueItems: true;
|
|
850
|
+
readonly items: {
|
|
851
|
+
readonly type: "string";
|
|
852
|
+
readonly minLength: 1;
|
|
853
|
+
readonly maxLength: 255;
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
readonly canRevoke: {
|
|
857
|
+
readonly type: "boolean";
|
|
858
|
+
};
|
|
859
|
+
readonly revokedBy: {
|
|
860
|
+
readonly anyOf: readonly [{
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
readonly minLength: 1;
|
|
863
|
+
readonly maxLength: 255;
|
|
864
|
+
}, {
|
|
865
|
+
readonly type: "null";
|
|
866
|
+
}];
|
|
867
|
+
};
|
|
868
|
+
readonly revokeReason: {
|
|
869
|
+
readonly type: readonly ["string", "null"];
|
|
870
|
+
readonly maxLength: 4000;
|
|
871
|
+
};
|
|
872
|
+
readonly taskPolicy: {
|
|
873
|
+
readonly const: "future-assignments-only";
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
readonly type: "object";
|
|
877
|
+
readonly additionalProperties: false;
|
|
878
|
+
readonly required: string[];
|
|
879
|
+
};
|
|
880
|
+
readonly taskPolicy: {
|
|
881
|
+
readonly const: "future-assignments-only";
|
|
882
|
+
};
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
export declare const workflowDelegationMutationReceiptSchema: {
|
|
886
|
+
readonly $id: "openxiangda.workflow-delegation-receipt/v2";
|
|
887
|
+
readonly type: "object";
|
|
888
|
+
readonly additionalProperties: false;
|
|
889
|
+
readonly required: readonly ["schemaVersion", "operationId", "operation", "requestDigest", "actorUserId", "appCode", "environmentKey", "committedAt", "delegation", "taskPolicy"];
|
|
890
|
+
readonly properties: {
|
|
891
|
+
readonly schemaVersion: {
|
|
892
|
+
readonly const: "openxiangda.workflow-delegation-receipt/v2";
|
|
893
|
+
};
|
|
894
|
+
readonly operationId: {
|
|
895
|
+
readonly type: "string";
|
|
896
|
+
readonly format: "uuid";
|
|
897
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
898
|
+
};
|
|
899
|
+
readonly operation: {
|
|
900
|
+
readonly enum: readonly ["create", "revoke"];
|
|
901
|
+
};
|
|
902
|
+
readonly requestDigest: {
|
|
903
|
+
readonly type: "string";
|
|
904
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
905
|
+
};
|
|
906
|
+
readonly actorUserId: {
|
|
907
|
+
readonly type: "string";
|
|
908
|
+
readonly minLength: 1;
|
|
909
|
+
readonly maxLength: 255;
|
|
910
|
+
};
|
|
911
|
+
readonly appCode: {
|
|
912
|
+
readonly type: "string";
|
|
913
|
+
readonly minLength: 1;
|
|
914
|
+
readonly maxLength: 255;
|
|
915
|
+
};
|
|
916
|
+
readonly environmentKey: {
|
|
917
|
+
readonly type: "string";
|
|
918
|
+
readonly minLength: 1;
|
|
919
|
+
readonly maxLength: 255;
|
|
920
|
+
};
|
|
921
|
+
readonly committedAt: {
|
|
922
|
+
readonly type: "string";
|
|
923
|
+
readonly format: "date-time";
|
|
924
|
+
};
|
|
925
|
+
readonly delegation: {
|
|
926
|
+
readonly type: "object";
|
|
927
|
+
readonly additionalProperties: false;
|
|
928
|
+
readonly required: string[];
|
|
929
|
+
readonly properties: {
|
|
930
|
+
readonly schemaVersion: {
|
|
931
|
+
readonly const: "openxiangda.workflow-delegation-administration/v2";
|
|
932
|
+
};
|
|
933
|
+
readonly id: {
|
|
934
|
+
readonly type: "string";
|
|
935
|
+
readonly format: "uuid";
|
|
936
|
+
readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
|
|
937
|
+
};
|
|
938
|
+
readonly appCode: {
|
|
939
|
+
readonly type: "string";
|
|
940
|
+
readonly minLength: 1;
|
|
941
|
+
readonly maxLength: 255;
|
|
942
|
+
};
|
|
943
|
+
readonly environmentKey: {
|
|
944
|
+
readonly type: "string";
|
|
945
|
+
readonly minLength: 1;
|
|
946
|
+
readonly maxLength: 255;
|
|
947
|
+
};
|
|
948
|
+
readonly workflowCode: {
|
|
949
|
+
readonly anyOf: readonly [{
|
|
950
|
+
readonly type: "string";
|
|
951
|
+
readonly minLength: 1;
|
|
952
|
+
readonly maxLength: 255;
|
|
953
|
+
}, {
|
|
954
|
+
readonly type: "null";
|
|
955
|
+
}];
|
|
956
|
+
};
|
|
957
|
+
readonly delegatorUserId: {
|
|
958
|
+
readonly type: "string";
|
|
959
|
+
readonly minLength: 1;
|
|
960
|
+
readonly maxLength: 255;
|
|
961
|
+
};
|
|
962
|
+
readonly delegateUserId: {
|
|
963
|
+
readonly type: "string";
|
|
964
|
+
readonly minLength: 1;
|
|
965
|
+
readonly maxLength: 255;
|
|
966
|
+
};
|
|
967
|
+
readonly delegatorRoleSubjectKey: {
|
|
968
|
+
readonly type: "string";
|
|
969
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
970
|
+
};
|
|
971
|
+
readonly delegateRoleSubjectKey: {
|
|
972
|
+
readonly type: "string";
|
|
973
|
+
readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
|
|
974
|
+
};
|
|
975
|
+
readonly validFrom: {
|
|
976
|
+
readonly type: "string";
|
|
977
|
+
readonly format: "date-time";
|
|
978
|
+
};
|
|
979
|
+
readonly validTo: {
|
|
980
|
+
readonly type: "string";
|
|
981
|
+
readonly format: "date-time";
|
|
982
|
+
};
|
|
983
|
+
readonly status: {
|
|
984
|
+
readonly enum: readonly ["active", "revoked", "expired"];
|
|
985
|
+
};
|
|
986
|
+
readonly reason: {
|
|
987
|
+
readonly type: "string";
|
|
988
|
+
readonly minLength: 1;
|
|
989
|
+
readonly maxLength: 4000;
|
|
990
|
+
};
|
|
991
|
+
readonly createdBy: {
|
|
992
|
+
readonly type: "string";
|
|
993
|
+
readonly minLength: 1;
|
|
994
|
+
readonly maxLength: 255;
|
|
995
|
+
};
|
|
996
|
+
readonly createdAt: {
|
|
997
|
+
readonly type: "string";
|
|
998
|
+
readonly format: "date-time";
|
|
999
|
+
};
|
|
1000
|
+
readonly revokedAt: {
|
|
1001
|
+
readonly anyOf: readonly [{
|
|
1002
|
+
readonly type: "string";
|
|
1003
|
+
readonly format: "date-time";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly type: "null";
|
|
1006
|
+
}];
|
|
1007
|
+
};
|
|
1008
|
+
readonly revision: {
|
|
1009
|
+
readonly type: "integer";
|
|
1010
|
+
readonly minimum: 1;
|
|
1011
|
+
};
|
|
1012
|
+
readonly roleCode: {
|
|
1013
|
+
readonly type: "string";
|
|
1014
|
+
readonly minLength: 1;
|
|
1015
|
+
readonly maxLength: 255;
|
|
1016
|
+
};
|
|
1017
|
+
readonly roleName: {
|
|
1018
|
+
readonly type: "string";
|
|
1019
|
+
readonly minLength: 1;
|
|
1020
|
+
readonly maxLength: 255;
|
|
1021
|
+
};
|
|
1022
|
+
readonly delegatorDisplayName: {
|
|
1023
|
+
readonly type: "string";
|
|
1024
|
+
readonly minLength: 1;
|
|
1025
|
+
readonly maxLength: 255;
|
|
1026
|
+
};
|
|
1027
|
+
readonly delegateDisplayName: {
|
|
1028
|
+
readonly type: "string";
|
|
1029
|
+
readonly minLength: 1;
|
|
1030
|
+
readonly maxLength: 255;
|
|
1031
|
+
};
|
|
1032
|
+
readonly delegatorRoleSubjectRevision: {
|
|
1033
|
+
readonly type: "integer";
|
|
1034
|
+
readonly minimum: 1;
|
|
1035
|
+
};
|
|
1036
|
+
readonly delegateRoleSubjectRevision: {
|
|
1037
|
+
readonly type: "integer";
|
|
1038
|
+
readonly minimum: 1;
|
|
1039
|
+
};
|
|
1040
|
+
readonly effectiveState: {
|
|
1041
|
+
readonly enum: readonly ["active", "scheduled", "expired", "revoked", "ineligible"];
|
|
1042
|
+
};
|
|
1043
|
+
readonly evaluatedAt: {
|
|
1044
|
+
readonly type: "string";
|
|
1045
|
+
readonly format: "date-time";
|
|
1046
|
+
};
|
|
1047
|
+
readonly issues: {
|
|
1048
|
+
readonly type: "array";
|
|
1049
|
+
readonly maxItems: 20;
|
|
1050
|
+
readonly uniqueItems: true;
|
|
1051
|
+
readonly items: {
|
|
1052
|
+
readonly type: "string";
|
|
1053
|
+
readonly minLength: 1;
|
|
1054
|
+
readonly maxLength: 255;
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
readonly canRevoke: {
|
|
1058
|
+
readonly type: "boolean";
|
|
1059
|
+
};
|
|
1060
|
+
readonly revokedBy: {
|
|
1061
|
+
readonly anyOf: readonly [{
|
|
1062
|
+
readonly type: "string";
|
|
1063
|
+
readonly minLength: 1;
|
|
1064
|
+
readonly maxLength: 255;
|
|
1065
|
+
}, {
|
|
1066
|
+
readonly type: "null";
|
|
1067
|
+
}];
|
|
1068
|
+
};
|
|
1069
|
+
readonly revokeReason: {
|
|
1070
|
+
readonly type: readonly ["string", "null"];
|
|
1071
|
+
readonly maxLength: 4000;
|
|
1072
|
+
};
|
|
1073
|
+
readonly taskPolicy: {
|
|
1074
|
+
readonly const: "future-assignments-only";
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
readonly taskPolicy: {
|
|
1079
|
+
readonly const: "future-assignments-only";
|
|
1080
|
+
};
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
export {};
|
|
1084
|
+
//# sourceMappingURL=workflow-delegation-administration.d.ts.map
|