openxiangda-contracts 2.0.0-alpha.75 → 2.0.0-alpha.76
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/schemas.d.ts +504 -2
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +90 -1
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +29 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -1
- package/dist/workflow-detail.d.ts +28 -0
- package/dist/workflow-detail.d.ts.map +1 -0
- package/dist/workflow-detail.js +70 -0
- package/dist/workflow-detail.js.map +1 -0
- package/dist/workflow-summary.d.ts.map +1 -1
- package/dist/workflow-summary.js +10 -0
- package/dist/workflow-summary.js.map +1 -1
- package/package.json +1 -1
package/dist/browser.d.ts
CHANGED
package/dist/browser.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
package/dist/browser.js
CHANGED
package/dist/browser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"browser.js","sourceRoot":"","sources":["../src/browser.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -10736,6 +10736,114 @@ export declare const workflowBusinessDataSchema: {
|
|
|
10736
10736
|
readonly "x-openxiangda-max-bytes": 8192;
|
|
10737
10737
|
readonly "x-openxiangda-text-long-max-bytes": 2048;
|
|
10738
10738
|
};
|
|
10739
|
+
export declare const workflowBusinessDetailSchema: {
|
|
10740
|
+
readonly $id: "openxiangda.workflow-business-detail/v1";
|
|
10741
|
+
readonly type: "object";
|
|
10742
|
+
readonly additionalProperties: false;
|
|
10743
|
+
readonly required: readonly ["status", "resourceCode", "resourceName", "recordId", "requestedRevision", "sourceRevision", "surface", "record", "subtables", "projectionDigest"];
|
|
10744
|
+
readonly properties: {
|
|
10745
|
+
readonly status: {
|
|
10746
|
+
readonly enum: readonly ["ready", "stale", "missing", "forbidden", "unavailable"];
|
|
10747
|
+
};
|
|
10748
|
+
readonly resourceCode: {
|
|
10749
|
+
readonly anyOf: readonly [{
|
|
10750
|
+
readonly type: "string";
|
|
10751
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
10752
|
+
}, {
|
|
10753
|
+
readonly type: "null";
|
|
10754
|
+
}];
|
|
10755
|
+
};
|
|
10756
|
+
readonly resourceName: {
|
|
10757
|
+
readonly anyOf: readonly [{
|
|
10758
|
+
readonly type: "string";
|
|
10759
|
+
readonly minLength: 1;
|
|
10760
|
+
}, {
|
|
10761
|
+
readonly type: "null";
|
|
10762
|
+
}];
|
|
10763
|
+
};
|
|
10764
|
+
readonly recordId: {
|
|
10765
|
+
readonly anyOf: readonly [{
|
|
10766
|
+
readonly type: "string";
|
|
10767
|
+
readonly minLength: 1;
|
|
10768
|
+
}, {
|
|
10769
|
+
readonly type: "null";
|
|
10770
|
+
}];
|
|
10771
|
+
};
|
|
10772
|
+
readonly requestedRevision: {
|
|
10773
|
+
readonly anyOf: readonly [{
|
|
10774
|
+
readonly type: "integer";
|
|
10775
|
+
readonly minimum: 1;
|
|
10776
|
+
}, {
|
|
10777
|
+
readonly type: "null";
|
|
10778
|
+
}];
|
|
10779
|
+
};
|
|
10780
|
+
readonly sourceRevision: {
|
|
10781
|
+
readonly anyOf: readonly [{
|
|
10782
|
+
readonly type: "integer";
|
|
10783
|
+
readonly minimum: 1;
|
|
10784
|
+
}, {
|
|
10785
|
+
readonly type: "null";
|
|
10786
|
+
}];
|
|
10787
|
+
};
|
|
10788
|
+
readonly surface: {
|
|
10789
|
+
readonly anyOf: readonly [{
|
|
10790
|
+
readonly type: "object";
|
|
10791
|
+
}, {
|
|
10792
|
+
readonly type: "null";
|
|
10793
|
+
}];
|
|
10794
|
+
};
|
|
10795
|
+
readonly record: {
|
|
10796
|
+
readonly type: "object";
|
|
10797
|
+
readonly maxProperties: number;
|
|
10798
|
+
readonly additionalProperties: true;
|
|
10799
|
+
};
|
|
10800
|
+
readonly subtables: {
|
|
10801
|
+
readonly type: "object";
|
|
10802
|
+
readonly maxProperties: 200;
|
|
10803
|
+
readonly additionalProperties: {
|
|
10804
|
+
readonly type: "object";
|
|
10805
|
+
readonly additionalProperties: false;
|
|
10806
|
+
readonly required: readonly ["resourceCode", "surface", "rows", "total"];
|
|
10807
|
+
readonly properties: {
|
|
10808
|
+
readonly resourceCode: {
|
|
10809
|
+
readonly type: "string";
|
|
10810
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
10811
|
+
};
|
|
10812
|
+
readonly surface: {
|
|
10813
|
+
readonly type: "object";
|
|
10814
|
+
};
|
|
10815
|
+
readonly rows: {
|
|
10816
|
+
readonly type: "array";
|
|
10817
|
+
readonly maxItems: 200;
|
|
10818
|
+
readonly items: {
|
|
10819
|
+
readonly type: "object";
|
|
10820
|
+
readonly maxProperties: number;
|
|
10821
|
+
};
|
|
10822
|
+
};
|
|
10823
|
+
readonly total: {
|
|
10824
|
+
readonly type: "integer";
|
|
10825
|
+
readonly minimum: 0;
|
|
10826
|
+
readonly maximum: 200;
|
|
10827
|
+
};
|
|
10828
|
+
};
|
|
10829
|
+
};
|
|
10830
|
+
};
|
|
10831
|
+
readonly projectionDigest: {
|
|
10832
|
+
readonly anyOf: readonly [{
|
|
10833
|
+
readonly type: "string";
|
|
10834
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
10835
|
+
}, {
|
|
10836
|
+
readonly type: "null";
|
|
10837
|
+
}];
|
|
10838
|
+
};
|
|
10839
|
+
readonly errorCode: {
|
|
10840
|
+
readonly type: "string";
|
|
10841
|
+
readonly minLength: 1;
|
|
10842
|
+
readonly maxLength: 128;
|
|
10843
|
+
};
|
|
10844
|
+
};
|
|
10845
|
+
readonly "x-openxiangda-max-bytes": number;
|
|
10846
|
+
};
|
|
10739
10847
|
export declare const workflowSurfaceSchema: {
|
|
10740
10848
|
readonly $id: "openxiangda.workflow-surface/v2";
|
|
10741
10849
|
readonly type: "object";
|
|
@@ -10844,7 +10952,7 @@ export declare const workflowSurfaceSchema: {
|
|
|
10844
10952
|
};
|
|
10845
10953
|
readonly presentation: {
|
|
10846
10954
|
readonly type: "object";
|
|
10847
|
-
readonly required: readonly ["businessData"];
|
|
10955
|
+
readonly required: readonly ["businessData", "businessDetail", "summary"];
|
|
10848
10956
|
readonly properties: {
|
|
10849
10957
|
readonly businessData: {
|
|
10850
10958
|
readonly $id: "openxiangda.workflow-business-data/v1";
|
|
@@ -10904,6 +11012,149 @@ export declare const workflowSurfaceSchema: {
|
|
|
10904
11012
|
readonly "x-openxiangda-max-bytes": 8192;
|
|
10905
11013
|
readonly "x-openxiangda-text-long-max-bytes": 2048;
|
|
10906
11014
|
};
|
|
11015
|
+
readonly businessDetail: {
|
|
11016
|
+
readonly $id: "openxiangda.workflow-business-detail/v1";
|
|
11017
|
+
readonly type: "object";
|
|
11018
|
+
readonly additionalProperties: false;
|
|
11019
|
+
readonly required: readonly ["status", "resourceCode", "resourceName", "recordId", "requestedRevision", "sourceRevision", "surface", "record", "subtables", "projectionDigest"];
|
|
11020
|
+
readonly properties: {
|
|
11021
|
+
readonly status: {
|
|
11022
|
+
readonly enum: readonly ["ready", "stale", "missing", "forbidden", "unavailable"];
|
|
11023
|
+
};
|
|
11024
|
+
readonly resourceCode: {
|
|
11025
|
+
readonly anyOf: readonly [{
|
|
11026
|
+
readonly type: "string";
|
|
11027
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
11028
|
+
}, {
|
|
11029
|
+
readonly type: "null";
|
|
11030
|
+
}];
|
|
11031
|
+
};
|
|
11032
|
+
readonly resourceName: {
|
|
11033
|
+
readonly anyOf: readonly [{
|
|
11034
|
+
readonly type: "string";
|
|
11035
|
+
readonly minLength: 1;
|
|
11036
|
+
}, {
|
|
11037
|
+
readonly type: "null";
|
|
11038
|
+
}];
|
|
11039
|
+
};
|
|
11040
|
+
readonly recordId: {
|
|
11041
|
+
readonly anyOf: readonly [{
|
|
11042
|
+
readonly type: "string";
|
|
11043
|
+
readonly minLength: 1;
|
|
11044
|
+
}, {
|
|
11045
|
+
readonly type: "null";
|
|
11046
|
+
}];
|
|
11047
|
+
};
|
|
11048
|
+
readonly requestedRevision: {
|
|
11049
|
+
readonly anyOf: readonly [{
|
|
11050
|
+
readonly type: "integer";
|
|
11051
|
+
readonly minimum: 1;
|
|
11052
|
+
}, {
|
|
11053
|
+
readonly type: "null";
|
|
11054
|
+
}];
|
|
11055
|
+
};
|
|
11056
|
+
readonly sourceRevision: {
|
|
11057
|
+
readonly anyOf: readonly [{
|
|
11058
|
+
readonly type: "integer";
|
|
11059
|
+
readonly minimum: 1;
|
|
11060
|
+
}, {
|
|
11061
|
+
readonly type: "null";
|
|
11062
|
+
}];
|
|
11063
|
+
};
|
|
11064
|
+
readonly surface: {
|
|
11065
|
+
readonly anyOf: readonly [{
|
|
11066
|
+
readonly type: "object";
|
|
11067
|
+
}, {
|
|
11068
|
+
readonly type: "null";
|
|
11069
|
+
}];
|
|
11070
|
+
};
|
|
11071
|
+
readonly record: {
|
|
11072
|
+
readonly type: "object";
|
|
11073
|
+
readonly maxProperties: number;
|
|
11074
|
+
readonly additionalProperties: true;
|
|
11075
|
+
};
|
|
11076
|
+
readonly subtables: {
|
|
11077
|
+
readonly type: "object";
|
|
11078
|
+
readonly maxProperties: 200;
|
|
11079
|
+
readonly additionalProperties: {
|
|
11080
|
+
readonly type: "object";
|
|
11081
|
+
readonly additionalProperties: false;
|
|
11082
|
+
readonly required: readonly ["resourceCode", "surface", "rows", "total"];
|
|
11083
|
+
readonly properties: {
|
|
11084
|
+
readonly resourceCode: {
|
|
11085
|
+
readonly type: "string";
|
|
11086
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
11087
|
+
};
|
|
11088
|
+
readonly surface: {
|
|
11089
|
+
readonly type: "object";
|
|
11090
|
+
};
|
|
11091
|
+
readonly rows: {
|
|
11092
|
+
readonly type: "array";
|
|
11093
|
+
readonly maxItems: 200;
|
|
11094
|
+
readonly items: {
|
|
11095
|
+
readonly type: "object";
|
|
11096
|
+
readonly maxProperties: number;
|
|
11097
|
+
};
|
|
11098
|
+
};
|
|
11099
|
+
readonly total: {
|
|
11100
|
+
readonly type: "integer";
|
|
11101
|
+
readonly minimum: 0;
|
|
11102
|
+
readonly maximum: 200;
|
|
11103
|
+
};
|
|
11104
|
+
};
|
|
11105
|
+
};
|
|
11106
|
+
};
|
|
11107
|
+
readonly projectionDigest: {
|
|
11108
|
+
readonly anyOf: readonly [{
|
|
11109
|
+
readonly type: "string";
|
|
11110
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
11111
|
+
}, {
|
|
11112
|
+
readonly type: "null";
|
|
11113
|
+
}];
|
|
11114
|
+
};
|
|
11115
|
+
readonly errorCode: {
|
|
11116
|
+
readonly type: "string";
|
|
11117
|
+
readonly minLength: 1;
|
|
11118
|
+
readonly maxLength: 128;
|
|
11119
|
+
};
|
|
11120
|
+
};
|
|
11121
|
+
readonly "x-openxiangda-max-bytes": number;
|
|
11122
|
+
};
|
|
11123
|
+
readonly summary: {
|
|
11124
|
+
readonly type: "object";
|
|
11125
|
+
readonly additionalProperties: false;
|
|
11126
|
+
readonly required: readonly ["title", "initiatorDisplayName", "departmentDisplayName", "submittedAt", "businessNumber"];
|
|
11127
|
+
readonly properties: {
|
|
11128
|
+
readonly title: {
|
|
11129
|
+
readonly type: "string";
|
|
11130
|
+
readonly minLength: 1;
|
|
11131
|
+
};
|
|
11132
|
+
readonly initiatorDisplayName: {
|
|
11133
|
+
readonly type: "string";
|
|
11134
|
+
readonly minLength: 1;
|
|
11135
|
+
};
|
|
11136
|
+
readonly departmentDisplayName: {
|
|
11137
|
+
readonly anyOf: readonly [{
|
|
11138
|
+
readonly type: "string";
|
|
11139
|
+
readonly minLength: 1;
|
|
11140
|
+
}, {
|
|
11141
|
+
readonly type: "null";
|
|
11142
|
+
}];
|
|
11143
|
+
};
|
|
11144
|
+
readonly submittedAt: {
|
|
11145
|
+
readonly type: "string";
|
|
11146
|
+
readonly format: "date-time";
|
|
11147
|
+
};
|
|
11148
|
+
readonly businessNumber: {
|
|
11149
|
+
readonly anyOf: readonly [{
|
|
11150
|
+
readonly type: "string";
|
|
11151
|
+
readonly minLength: 1;
|
|
11152
|
+
}, {
|
|
11153
|
+
readonly type: "null";
|
|
11154
|
+
}];
|
|
11155
|
+
};
|
|
11156
|
+
};
|
|
11157
|
+
};
|
|
10907
11158
|
};
|
|
10908
11159
|
};
|
|
10909
11160
|
readonly fieldPolicy: {
|
|
@@ -22245,6 +22496,114 @@ export declare const contractSchemas: {
|
|
|
22245
22496
|
readonly "x-openxiangda-max-bytes": 8192;
|
|
22246
22497
|
readonly "x-openxiangda-text-long-max-bytes": 2048;
|
|
22247
22498
|
};
|
|
22499
|
+
readonly workflowBusinessDetail: {
|
|
22500
|
+
readonly $id: "openxiangda.workflow-business-detail/v1";
|
|
22501
|
+
readonly type: "object";
|
|
22502
|
+
readonly additionalProperties: false;
|
|
22503
|
+
readonly required: readonly ["status", "resourceCode", "resourceName", "recordId", "requestedRevision", "sourceRevision", "surface", "record", "subtables", "projectionDigest"];
|
|
22504
|
+
readonly properties: {
|
|
22505
|
+
readonly status: {
|
|
22506
|
+
readonly enum: readonly ["ready", "stale", "missing", "forbidden", "unavailable"];
|
|
22507
|
+
};
|
|
22508
|
+
readonly resourceCode: {
|
|
22509
|
+
readonly anyOf: readonly [{
|
|
22510
|
+
readonly type: "string";
|
|
22511
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
22512
|
+
}, {
|
|
22513
|
+
readonly type: "null";
|
|
22514
|
+
}];
|
|
22515
|
+
};
|
|
22516
|
+
readonly resourceName: {
|
|
22517
|
+
readonly anyOf: readonly [{
|
|
22518
|
+
readonly type: "string";
|
|
22519
|
+
readonly minLength: 1;
|
|
22520
|
+
}, {
|
|
22521
|
+
readonly type: "null";
|
|
22522
|
+
}];
|
|
22523
|
+
};
|
|
22524
|
+
readonly recordId: {
|
|
22525
|
+
readonly anyOf: readonly [{
|
|
22526
|
+
readonly type: "string";
|
|
22527
|
+
readonly minLength: 1;
|
|
22528
|
+
}, {
|
|
22529
|
+
readonly type: "null";
|
|
22530
|
+
}];
|
|
22531
|
+
};
|
|
22532
|
+
readonly requestedRevision: {
|
|
22533
|
+
readonly anyOf: readonly [{
|
|
22534
|
+
readonly type: "integer";
|
|
22535
|
+
readonly minimum: 1;
|
|
22536
|
+
}, {
|
|
22537
|
+
readonly type: "null";
|
|
22538
|
+
}];
|
|
22539
|
+
};
|
|
22540
|
+
readonly sourceRevision: {
|
|
22541
|
+
readonly anyOf: readonly [{
|
|
22542
|
+
readonly type: "integer";
|
|
22543
|
+
readonly minimum: 1;
|
|
22544
|
+
}, {
|
|
22545
|
+
readonly type: "null";
|
|
22546
|
+
}];
|
|
22547
|
+
};
|
|
22548
|
+
readonly surface: {
|
|
22549
|
+
readonly anyOf: readonly [{
|
|
22550
|
+
readonly type: "object";
|
|
22551
|
+
}, {
|
|
22552
|
+
readonly type: "null";
|
|
22553
|
+
}];
|
|
22554
|
+
};
|
|
22555
|
+
readonly record: {
|
|
22556
|
+
readonly type: "object";
|
|
22557
|
+
readonly maxProperties: number;
|
|
22558
|
+
readonly additionalProperties: true;
|
|
22559
|
+
};
|
|
22560
|
+
readonly subtables: {
|
|
22561
|
+
readonly type: "object";
|
|
22562
|
+
readonly maxProperties: 200;
|
|
22563
|
+
readonly additionalProperties: {
|
|
22564
|
+
readonly type: "object";
|
|
22565
|
+
readonly additionalProperties: false;
|
|
22566
|
+
readonly required: readonly ["resourceCode", "surface", "rows", "total"];
|
|
22567
|
+
readonly properties: {
|
|
22568
|
+
readonly resourceCode: {
|
|
22569
|
+
readonly type: "string";
|
|
22570
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
22571
|
+
};
|
|
22572
|
+
readonly surface: {
|
|
22573
|
+
readonly type: "object";
|
|
22574
|
+
};
|
|
22575
|
+
readonly rows: {
|
|
22576
|
+
readonly type: "array";
|
|
22577
|
+
readonly maxItems: 200;
|
|
22578
|
+
readonly items: {
|
|
22579
|
+
readonly type: "object";
|
|
22580
|
+
readonly maxProperties: number;
|
|
22581
|
+
};
|
|
22582
|
+
};
|
|
22583
|
+
readonly total: {
|
|
22584
|
+
readonly type: "integer";
|
|
22585
|
+
readonly minimum: 0;
|
|
22586
|
+
readonly maximum: 200;
|
|
22587
|
+
};
|
|
22588
|
+
};
|
|
22589
|
+
};
|
|
22590
|
+
};
|
|
22591
|
+
readonly projectionDigest: {
|
|
22592
|
+
readonly anyOf: readonly [{
|
|
22593
|
+
readonly type: "string";
|
|
22594
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
22595
|
+
}, {
|
|
22596
|
+
readonly type: "null";
|
|
22597
|
+
}];
|
|
22598
|
+
};
|
|
22599
|
+
readonly errorCode: {
|
|
22600
|
+
readonly type: "string";
|
|
22601
|
+
readonly minLength: 1;
|
|
22602
|
+
readonly maxLength: 128;
|
|
22603
|
+
};
|
|
22604
|
+
};
|
|
22605
|
+
readonly "x-openxiangda-max-bytes": number;
|
|
22606
|
+
};
|
|
22248
22607
|
readonly workflowSurface: {
|
|
22249
22608
|
readonly $id: "openxiangda.workflow-surface/v2";
|
|
22250
22609
|
readonly type: "object";
|
|
@@ -22353,7 +22712,7 @@ export declare const contractSchemas: {
|
|
|
22353
22712
|
};
|
|
22354
22713
|
readonly presentation: {
|
|
22355
22714
|
readonly type: "object";
|
|
22356
|
-
readonly required: readonly ["businessData"];
|
|
22715
|
+
readonly required: readonly ["businessData", "businessDetail", "summary"];
|
|
22357
22716
|
readonly properties: {
|
|
22358
22717
|
readonly businessData: {
|
|
22359
22718
|
readonly $id: "openxiangda.workflow-business-data/v1";
|
|
@@ -22413,6 +22772,149 @@ export declare const contractSchemas: {
|
|
|
22413
22772
|
readonly "x-openxiangda-max-bytes": 8192;
|
|
22414
22773
|
readonly "x-openxiangda-text-long-max-bytes": 2048;
|
|
22415
22774
|
};
|
|
22775
|
+
readonly businessDetail: {
|
|
22776
|
+
readonly $id: "openxiangda.workflow-business-detail/v1";
|
|
22777
|
+
readonly type: "object";
|
|
22778
|
+
readonly additionalProperties: false;
|
|
22779
|
+
readonly required: readonly ["status", "resourceCode", "resourceName", "recordId", "requestedRevision", "sourceRevision", "surface", "record", "subtables", "projectionDigest"];
|
|
22780
|
+
readonly properties: {
|
|
22781
|
+
readonly status: {
|
|
22782
|
+
readonly enum: readonly ["ready", "stale", "missing", "forbidden", "unavailable"];
|
|
22783
|
+
};
|
|
22784
|
+
readonly resourceCode: {
|
|
22785
|
+
readonly anyOf: readonly [{
|
|
22786
|
+
readonly type: "string";
|
|
22787
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
22788
|
+
}, {
|
|
22789
|
+
readonly type: "null";
|
|
22790
|
+
}];
|
|
22791
|
+
};
|
|
22792
|
+
readonly resourceName: {
|
|
22793
|
+
readonly anyOf: readonly [{
|
|
22794
|
+
readonly type: "string";
|
|
22795
|
+
readonly minLength: 1;
|
|
22796
|
+
}, {
|
|
22797
|
+
readonly type: "null";
|
|
22798
|
+
}];
|
|
22799
|
+
};
|
|
22800
|
+
readonly recordId: {
|
|
22801
|
+
readonly anyOf: readonly [{
|
|
22802
|
+
readonly type: "string";
|
|
22803
|
+
readonly minLength: 1;
|
|
22804
|
+
}, {
|
|
22805
|
+
readonly type: "null";
|
|
22806
|
+
}];
|
|
22807
|
+
};
|
|
22808
|
+
readonly requestedRevision: {
|
|
22809
|
+
readonly anyOf: readonly [{
|
|
22810
|
+
readonly type: "integer";
|
|
22811
|
+
readonly minimum: 1;
|
|
22812
|
+
}, {
|
|
22813
|
+
readonly type: "null";
|
|
22814
|
+
}];
|
|
22815
|
+
};
|
|
22816
|
+
readonly sourceRevision: {
|
|
22817
|
+
readonly anyOf: readonly [{
|
|
22818
|
+
readonly type: "integer";
|
|
22819
|
+
readonly minimum: 1;
|
|
22820
|
+
}, {
|
|
22821
|
+
readonly type: "null";
|
|
22822
|
+
}];
|
|
22823
|
+
};
|
|
22824
|
+
readonly surface: {
|
|
22825
|
+
readonly anyOf: readonly [{
|
|
22826
|
+
readonly type: "object";
|
|
22827
|
+
}, {
|
|
22828
|
+
readonly type: "null";
|
|
22829
|
+
}];
|
|
22830
|
+
};
|
|
22831
|
+
readonly record: {
|
|
22832
|
+
readonly type: "object";
|
|
22833
|
+
readonly maxProperties: number;
|
|
22834
|
+
readonly additionalProperties: true;
|
|
22835
|
+
};
|
|
22836
|
+
readonly subtables: {
|
|
22837
|
+
readonly type: "object";
|
|
22838
|
+
readonly maxProperties: 200;
|
|
22839
|
+
readonly additionalProperties: {
|
|
22840
|
+
readonly type: "object";
|
|
22841
|
+
readonly additionalProperties: false;
|
|
22842
|
+
readonly required: readonly ["resourceCode", "surface", "rows", "total"];
|
|
22843
|
+
readonly properties: {
|
|
22844
|
+
readonly resourceCode: {
|
|
22845
|
+
readonly type: "string";
|
|
22846
|
+
readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
|
|
22847
|
+
};
|
|
22848
|
+
readonly surface: {
|
|
22849
|
+
readonly type: "object";
|
|
22850
|
+
};
|
|
22851
|
+
readonly rows: {
|
|
22852
|
+
readonly type: "array";
|
|
22853
|
+
readonly maxItems: 200;
|
|
22854
|
+
readonly items: {
|
|
22855
|
+
readonly type: "object";
|
|
22856
|
+
readonly maxProperties: number;
|
|
22857
|
+
};
|
|
22858
|
+
};
|
|
22859
|
+
readonly total: {
|
|
22860
|
+
readonly type: "integer";
|
|
22861
|
+
readonly minimum: 0;
|
|
22862
|
+
readonly maximum: 200;
|
|
22863
|
+
};
|
|
22864
|
+
};
|
|
22865
|
+
};
|
|
22866
|
+
};
|
|
22867
|
+
readonly projectionDigest: {
|
|
22868
|
+
readonly anyOf: readonly [{
|
|
22869
|
+
readonly type: "string";
|
|
22870
|
+
readonly pattern: "^[0-9a-f]{64}$";
|
|
22871
|
+
}, {
|
|
22872
|
+
readonly type: "null";
|
|
22873
|
+
}];
|
|
22874
|
+
};
|
|
22875
|
+
readonly errorCode: {
|
|
22876
|
+
readonly type: "string";
|
|
22877
|
+
readonly minLength: 1;
|
|
22878
|
+
readonly maxLength: 128;
|
|
22879
|
+
};
|
|
22880
|
+
};
|
|
22881
|
+
readonly "x-openxiangda-max-bytes": number;
|
|
22882
|
+
};
|
|
22883
|
+
readonly summary: {
|
|
22884
|
+
readonly type: "object";
|
|
22885
|
+
readonly additionalProperties: false;
|
|
22886
|
+
readonly required: readonly ["title", "initiatorDisplayName", "departmentDisplayName", "submittedAt", "businessNumber"];
|
|
22887
|
+
readonly properties: {
|
|
22888
|
+
readonly title: {
|
|
22889
|
+
readonly type: "string";
|
|
22890
|
+
readonly minLength: 1;
|
|
22891
|
+
};
|
|
22892
|
+
readonly initiatorDisplayName: {
|
|
22893
|
+
readonly type: "string";
|
|
22894
|
+
readonly minLength: 1;
|
|
22895
|
+
};
|
|
22896
|
+
readonly departmentDisplayName: {
|
|
22897
|
+
readonly anyOf: readonly [{
|
|
22898
|
+
readonly type: "string";
|
|
22899
|
+
readonly minLength: 1;
|
|
22900
|
+
}, {
|
|
22901
|
+
readonly type: "null";
|
|
22902
|
+
}];
|
|
22903
|
+
};
|
|
22904
|
+
readonly submittedAt: {
|
|
22905
|
+
readonly type: "string";
|
|
22906
|
+
readonly format: "date-time";
|
|
22907
|
+
};
|
|
22908
|
+
readonly businessNumber: {
|
|
22909
|
+
readonly anyOf: readonly [{
|
|
22910
|
+
readonly type: "string";
|
|
22911
|
+
readonly minLength: 1;
|
|
22912
|
+
}, {
|
|
22913
|
+
readonly type: "null";
|
|
22914
|
+
}];
|
|
22915
|
+
};
|
|
22916
|
+
};
|
|
22917
|
+
};
|
|
22416
22918
|
};
|
|
22417
22919
|
};
|
|
22418
22920
|
readonly fieldPolicy: {
|