@alfresco/js-api 9.4.0-21952781203 → 9.4.0-22057737655

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/js-api",
3
- "version": "9.4.0-21952781203",
3
+ "version": "9.4.0-22057737655",
4
4
  "license": "Apache-2.0",
5
5
  "description": "JavaScript client library for the Alfresco REST API",
6
6
  "author": "Hyland Software, Inc. and its affiliates",
@@ -23,10 +23,9 @@ export class Prediction {
23
23
  }
24
24
  }
25
25
  }
26
- export var ReviewStatus;
27
- (function (ReviewStatus) {
28
- ReviewStatus["UNREVIEWED"] = "UNREVIEWED";
29
- ReviewStatus["CONFIRMED"] = "CONFIRMED";
30
- ReviewStatus["REJECTED"] = "REJECTED";
31
- })(ReviewStatus || (ReviewStatus = {}));
26
+ export const ReviewStatus = {
27
+ UNREVIEWED: 'UNREVIEWED',
28
+ CONFIRMED: 'CONFIRMED',
29
+ REJECTED: 'REJECTED'
30
+ };
32
31
  //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/hxi-connector-api/model/prediction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prediction.js","sourceRoot":"","sources":["prediction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,OAAO,UAAU;IAWnB,YAAY,KAA2B;QACnC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtH,CAAC;IACL,CAAC;CACJ;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DateAlfresco } from '../../content-custom-api';\n\nexport class Prediction {\n id: string;\n modelId: string;\n confidenceLevel: number;\n predictionDateTime: Date;\n property: string;\n previousValue: any;\n predictionValue: any;\n updateType: UpdateType;\n reviewStatus: ReviewStatus;\n\n constructor(input?: Partial<Prediction>) {\n if (input) {\n Object.assign(this, input);\n this.predictionDateTime = input.predictionDateTime ? DateAlfresco.parseDate(input.predictionDateTime) : undefined;\n }\n }\n}\n\nexport type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';\n\nexport enum ReviewStatus {\n UNREVIEWED = 'UNREVIEWED',\n CONFIRMED = 'CONFIRMED',\n REJECTED = 'REJECTED'\n}\n"]}
1
+ {"version":3,"file":"prediction.js","sourceRoot":"","sources":["prediction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,OAAO,UAAU;IAWnB,YAAY,KAA2B;QACnC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtH,CAAC;IACL,CAAC;CACJ;AAID,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACd,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DateAlfresco } from '../../content-custom-api';\n\nexport class Prediction {\n id: string;\n modelId: string;\n confidenceLevel: number;\n predictionDateTime: Date;\n property: string;\n previousValue: any;\n predictionValue: any;\n updateType: UpdateType;\n reviewStatus: ReviewStatus;\n\n constructor(input?: Partial<Prediction>) {\n if (input) {\n Object.assign(this, input);\n this.predictionDateTime = input.predictionDateTime ? DateAlfresco.parseDate(input.predictionDateTime) : undefined;\n }\n }\n}\n\nexport type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';\n\nexport const ReviewStatus = {\n UNREVIEWED: 'UNREVIEWED',\n CONFIRMED: 'CONFIRMED',\n REJECTED: 'REJECTED'\n} as const;\n\nexport type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus];\n"]}
package/esm5/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/js-api",
3
- "version": "9.4.0-21952781203",
3
+ "version": "9.4.0-22057737655",
4
4
  "license": "Apache-2.0",
5
5
  "description": "JavaScript client library for the Alfresco REST API",
6
6
  "author": "Hyland Software, Inc. and its affiliates",
@@ -23,10 +23,9 @@ export class Prediction {
23
23
  }
24
24
  }
25
25
  }
26
- export var ReviewStatus;
27
- (function (ReviewStatus) {
28
- ReviewStatus["UNREVIEWED"] = "UNREVIEWED";
29
- ReviewStatus["CONFIRMED"] = "CONFIRMED";
30
- ReviewStatus["REJECTED"] = "REJECTED";
31
- })(ReviewStatus || (ReviewStatus = {}));
26
+ export const ReviewStatus = {
27
+ UNREVIEWED: 'UNREVIEWED',
28
+ CONFIRMED: 'CONFIRMED',
29
+ REJECTED: 'REJECTED'
30
+ };
32
31
  //# sourceMappingURL=../../../../../../../../lib/js-api/src/api/hxi-connector-api/model/prediction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prediction.js","sourceRoot":"","sources":["prediction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,OAAO,UAAU;IAWnB,YAAY,KAA2B;QACnC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtH,CAAC;IACL,CAAC;CACJ;AAID,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DateAlfresco } from '../../content-custom-api';\n\nexport class Prediction {\n id: string;\n modelId: string;\n confidenceLevel: number;\n predictionDateTime: Date;\n property: string;\n previousValue: any;\n predictionValue: any;\n updateType: UpdateType;\n reviewStatus: ReviewStatus;\n\n constructor(input?: Partial<Prediction>) {\n if (input) {\n Object.assign(this, input);\n this.predictionDateTime = input.predictionDateTime ? DateAlfresco.parseDate(input.predictionDateTime) : undefined;\n }\n }\n}\n\nexport type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';\n\nexport enum ReviewStatus {\n UNREVIEWED = 'UNREVIEWED',\n CONFIRMED = 'CONFIRMED',\n REJECTED = 'REJECTED'\n}\n"]}
1
+ {"version":3,"file":"prediction.js","sourceRoot":"","sources":["prediction.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,MAAM,OAAO,UAAU;IAWnB,YAAY,KAA2B;QACnC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtH,CAAC;IACL,CAAC;CACJ;AAID,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACd,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DateAlfresco } from '../../content-custom-api';\n\nexport class Prediction {\n id: string;\n modelId: string;\n confidenceLevel: number;\n predictionDateTime: Date;\n property: string;\n previousValue: any;\n predictionValue: any;\n updateType: UpdateType;\n reviewStatus: ReviewStatus;\n\n constructor(input?: Partial<Prediction>) {\n if (input) {\n Object.assign(this, input);\n this.predictionDateTime = input.predictionDateTime ? DateAlfresco.parseDate(input.predictionDateTime) : undefined;\n }\n }\n}\n\nexport type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';\n\nexport const ReviewStatus = {\n UNREVIEWED: 'UNREVIEWED',\n CONFIRMED: 'CONFIRMED',\n REJECTED: 'REJECTED'\n} as const;\n\nexport type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus];\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/js-api",
3
- "version": "9.4.0-21952781203",
3
+ "version": "9.4.0-22057737655",
4
4
  "license": "Apache-2.0",
5
5
  "description": "JavaScript client library for the Alfresco REST API",
6
6
  "author": "Hyland Software, Inc. and its affiliates",
@@ -27,10 +27,9 @@ class Prediction {
27
27
  }
28
28
  }
29
29
  exports.Prediction = Prediction;
30
- var ReviewStatus;
31
- (function (ReviewStatus) {
32
- ReviewStatus["UNREVIEWED"] = "UNREVIEWED";
33
- ReviewStatus["CONFIRMED"] = "CONFIRMED";
34
- ReviewStatus["REJECTED"] = "REJECTED";
35
- })(ReviewStatus || (exports.ReviewStatus = ReviewStatus = {}));
30
+ exports.ReviewStatus = {
31
+ UNREVIEWED: 'UNREVIEWED',
32
+ CONFIRMED: 'CONFIRMED',
33
+ REJECTED: 'REJECTED'
34
+ };
36
35
  //# sourceMappingURL=../../../../../../../lib/js-api/src/api/hxi-connector-api/model/prediction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prediction.js","sourceRoot":"","sources":["prediction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,iEAAwD;AAExD,MAAa,UAAU;IAWnB,YAAY,KAA2B;QACnC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,iCAAY,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtH,CAAC;IACL,CAAC;CACJ;AAjBD,gCAiBC;AAID,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,yCAAyB,CAAA;IACzB,uCAAuB,CAAA;IACvB,qCAAqB,CAAA;AACzB,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DateAlfresco } from '../../content-custom-api';\n\nexport class Prediction {\n id: string;\n modelId: string;\n confidenceLevel: number;\n predictionDateTime: Date;\n property: string;\n previousValue: any;\n predictionValue: any;\n updateType: UpdateType;\n reviewStatus: ReviewStatus;\n\n constructor(input?: Partial<Prediction>) {\n if (input) {\n Object.assign(this, input);\n this.predictionDateTime = input.predictionDateTime ? DateAlfresco.parseDate(input.predictionDateTime) : undefined;\n }\n }\n}\n\nexport type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';\n\nexport enum ReviewStatus {\n UNREVIEWED = 'UNREVIEWED',\n CONFIRMED = 'CONFIRMED',\n REJECTED = 'REJECTED'\n}\n"]}
1
+ {"version":3,"file":"prediction.js","sourceRoot":"","sources":["prediction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,iEAAwD;AAExD,MAAa,UAAU;IAWnB,YAAY,KAA2B;QACnC,IAAI,KAAK,EAAE,CAAC;YACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC3B,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,iCAAY,CAAC,SAAS,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QACtH,CAAC;IACL,CAAC;CACJ;AAjBD,gCAiBC;AAIY,QAAA,YAAY,GAAG;IACxB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;CACd,CAAC","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DateAlfresco } from '../../content-custom-api';\n\nexport class Prediction {\n id: string;\n modelId: string;\n confidenceLevel: number;\n predictionDateTime: Date;\n property: string;\n previousValue: any;\n predictionValue: any;\n updateType: UpdateType;\n reviewStatus: ReviewStatus;\n\n constructor(input?: Partial<Prediction>) {\n if (input) {\n Object.assign(this, input);\n this.predictionDateTime = input.predictionDateTime ? DateAlfresco.parseDate(input.predictionDateTime) : undefined;\n }\n }\n}\n\nexport type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';\n\nexport const ReviewStatus = {\n UNREVIEWED: 'UNREVIEWED',\n CONFIRMED: 'CONFIRMED',\n REJECTED: 'REJECTED'\n} as const;\n\nexport type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus];\n"]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/js-api",
3
- "version": "9.4.0-21952781203",
3
+ "version": "9.4.0-22057737655",
4
4
  "license": "Apache-2.0",
5
5
  "description": "JavaScript client library for the Alfresco REST API",
6
6
  "author": "Hyland Software, Inc. and its affiliates",
@@ -27,8 +27,9 @@ export declare class Prediction {
27
27
  constructor(input?: Partial<Prediction>);
28
28
  }
29
29
  export type UpdateType = 'AUTOFILL' | 'AUTOCORRECT';
30
- export declare enum ReviewStatus {
31
- UNREVIEWED = "UNREVIEWED",
32
- CONFIRMED = "CONFIRMED",
33
- REJECTED = "REJECTED"
34
- }
30
+ export declare const ReviewStatus: {
31
+ readonly UNREVIEWED: "UNREVIEWED";
32
+ readonly CONFIRMED: "CONFIRMED";
33
+ readonly REJECTED: "REJECTED";
34
+ };
35
+ export type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus];