@alfresco/js-api 7.9.0-9127362140 → 7.9.0-9164374178

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 +1 @@
1
- {"version":3,"file":"formDefinitionRepresentation.js","sourceRoot":"","sources":["formDefinitionRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { FieldValueInfo } from './fieldValueInfo';\nimport { FormFieldRepresentation } from './formFieldRepresentation';\nimport { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';\nimport { FormOutcomeRepresentation } from './formOutcomeRepresentation';\nimport { FormTabRepresentation } from './formTabRepresentation';\nimport { FormVariableRepresentation } from './formVariableRepresentation';\n\nexport interface FormDefinitionRepresentation {\n className?: string;\n customFieldTemplates?: { [key: string]: string };\n customFieldsValueInfo?: { [key: string]: FieldValueInfo };\n fields?: FormFieldRepresentation[];\n globalDateFormat?: string;\n gridsterForm?: boolean;\n id?: number;\n javascriptEvents?: FormJavascriptEventRepresentation[];\n metadata?: { [key: string]: string };\n name?: string;\n outcomeTarget?: string;\n outcomes?: FormOutcomeRepresentation[];\n processDefinitionId?: string;\n processDefinitionKey?: string;\n processDefinitionName?: string;\n selectedOutcome?: string;\n style?: string;\n tabs?: FormTabRepresentation[];\n taskDefinitionKey?: string;\n taskId?: string;\n taskName?: string;\n variables?: FormVariableRepresentation[];\n}\n"]}
1
+ {"version":3,"file":"formDefinitionRepresentation.js","sourceRoot":"","sources":["formDefinitionRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { FieldValueInfo } from './fieldValueInfo';\nimport { FormFieldRepresentation } from './formFieldRepresentation';\nimport { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';\nimport { FormOutcomeRepresentation } from './formOutcomeRepresentation';\nimport { FormTabRepresentation } from './formTabRepresentation';\nimport { FormVariableRepresentation } from './formVariableRepresentation';\nimport { RestVariable } from './restVariable';\n\nexport interface FormDefinitionRepresentation {\n className?: string;\n customFieldTemplates?: { [key: string]: string };\n customFieldsValueInfo?: { [key: string]: FieldValueInfo };\n fields?: FormFieldRepresentation[];\n globalDateFormat?: string;\n gridsterForm?: boolean;\n id?: number;\n javascriptEvents?: FormJavascriptEventRepresentation[];\n metadata?: { [key: string]: string };\n name?: string;\n outcomeTarget?: string;\n outcomes?: FormOutcomeRepresentation[];\n processDefinitionId?: string;\n processDefinitionKey?: string;\n processDefinitionName?: string;\n selectedOutcome?: string;\n style?: string;\n tabs?: FormTabRepresentation[];\n taskDefinitionKey?: string;\n taskId?: string;\n taskName?: string;\n variables?: FormVariableRepresentation[];\n processVariables?: RestVariable[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processInstanceFilterRepresentation.js","sourceRoot":"","sources":["processInstanceFilterRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceFilterRepresentation {\n asc?: boolean;\n name?: string;\n processDefinitionId?: string;\n processDefinitionKey?: string;\n sort?: string;\n state?: string;\n}\n"]}
1
+ {"version":3,"file":"processInstanceFilterRepresentation.js","sourceRoot":"","sources":["processInstanceFilterRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceFilterRepresentation {\n asc?: boolean;\n name?: string;\n processDefinitionId?: string;\n processDefinitionKey?: string;\n sort?: string;\n state?: string;\n assignment?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processInstanceQueryRepresentation.js","sourceRoot":"","sources":["processInstanceQueryRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceQueryRepresentation {\n appDefinitionId?: number;\n page?: number;\n processDefinitionId?: string;\n processInstanceId?: string;\n size?: number;\n sort?: 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc';\n start?: number;\n state?: 'running' | 'completed' | 'all';\n}\n"]}
1
+ {"version":3,"file":"processInstanceQueryRepresentation.js","sourceRoot":"","sources":["processInstanceQueryRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { Union } from '../../../../types';\n\nexport interface ProcessInstanceQueryRepresentation {\n appDefinitionId?: number;\n page?: number;\n processDefinitionId?: string;\n processInstanceId?: string;\n size?: number;\n sort?: ProcessInstanceQueryRepresentationSort;\n start?: number;\n state?: ProcessInstanceQueryRepresentationState;\n}\n\nexport type ProcessInstanceQueryRepresentationSort = Union<string, 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc'>;\nexport type ProcessInstanceQueryRepresentationState = Union<string, 'running' | 'completed' | 'all' | 'open'>;\n"]}
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=../../../../lib/js-api/types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\nexport type Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"formDefinitionRepresentation.js","sourceRoot":"","sources":["formDefinitionRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { FieldValueInfo } from './fieldValueInfo';\nimport { FormFieldRepresentation } from './formFieldRepresentation';\nimport { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';\nimport { FormOutcomeRepresentation } from './formOutcomeRepresentation';\nimport { FormTabRepresentation } from './formTabRepresentation';\nimport { FormVariableRepresentation } from './formVariableRepresentation';\n\nexport interface FormDefinitionRepresentation {\n className?: string;\n customFieldTemplates?: { [key: string]: string };\n customFieldsValueInfo?: { [key: string]: FieldValueInfo };\n fields?: FormFieldRepresentation[];\n globalDateFormat?: string;\n gridsterForm?: boolean;\n id?: number;\n javascriptEvents?: FormJavascriptEventRepresentation[];\n metadata?: { [key: string]: string };\n name?: string;\n outcomeTarget?: string;\n outcomes?: FormOutcomeRepresentation[];\n processDefinitionId?: string;\n processDefinitionKey?: string;\n processDefinitionName?: string;\n selectedOutcome?: string;\n style?: string;\n tabs?: FormTabRepresentation[];\n taskDefinitionKey?: string;\n taskId?: string;\n taskName?: string;\n variables?: FormVariableRepresentation[];\n}\n"]}
1
+ {"version":3,"file":"formDefinitionRepresentation.js","sourceRoot":"","sources":["formDefinitionRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { FieldValueInfo } from './fieldValueInfo';\nimport { FormFieldRepresentation } from './formFieldRepresentation';\nimport { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';\nimport { FormOutcomeRepresentation } from './formOutcomeRepresentation';\nimport { FormTabRepresentation } from './formTabRepresentation';\nimport { FormVariableRepresentation } from './formVariableRepresentation';\nimport { RestVariable } from './restVariable';\n\nexport interface FormDefinitionRepresentation {\n className?: string;\n customFieldTemplates?: { [key: string]: string };\n customFieldsValueInfo?: { [key: string]: FieldValueInfo };\n fields?: FormFieldRepresentation[];\n globalDateFormat?: string;\n gridsterForm?: boolean;\n id?: number;\n javascriptEvents?: FormJavascriptEventRepresentation[];\n metadata?: { [key: string]: string };\n name?: string;\n outcomeTarget?: string;\n outcomes?: FormOutcomeRepresentation[];\n processDefinitionId?: string;\n processDefinitionKey?: string;\n processDefinitionName?: string;\n selectedOutcome?: string;\n style?: string;\n tabs?: FormTabRepresentation[];\n taskDefinitionKey?: string;\n taskId?: string;\n taskName?: string;\n variables?: FormVariableRepresentation[];\n processVariables?: RestVariable[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processInstanceFilterRepresentation.js","sourceRoot":"","sources":["processInstanceFilterRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceFilterRepresentation {\n asc?: boolean;\n name?: string;\n processDefinitionId?: string;\n processDefinitionKey?: string;\n sort?: string;\n state?: string;\n}\n"]}
1
+ {"version":3,"file":"processInstanceFilterRepresentation.js","sourceRoot":"","sources":["processInstanceFilterRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceFilterRepresentation {\n asc?: boolean;\n name?: string;\n processDefinitionId?: string;\n processDefinitionKey?: string;\n sort?: string;\n state?: string;\n assignment?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processInstanceQueryRepresentation.js","sourceRoot":"","sources":["processInstanceQueryRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceQueryRepresentation {\n appDefinitionId?: number;\n page?: number;\n processDefinitionId?: string;\n processInstanceId?: string;\n size?: number;\n sort?: 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc';\n start?: number;\n state?: 'running' | 'completed' | 'all';\n}\n"]}
1
+ {"version":3,"file":"processInstanceQueryRepresentation.js","sourceRoot":"","sources":["processInstanceQueryRepresentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { Union } from '../../../../types';\n\nexport interface ProcessInstanceQueryRepresentation {\n appDefinitionId?: number;\n page?: number;\n processDefinitionId?: string;\n processInstanceId?: string;\n size?: number;\n sort?: ProcessInstanceQueryRepresentationSort;\n start?: number;\n state?: ProcessInstanceQueryRepresentationState;\n}\n\nexport type ProcessInstanceQueryRepresentationSort = Union<string, 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc'>;\nexport type ProcessInstanceQueryRepresentationState = Union<string, 'running' | 'completed' | 'all' | 'open'>;\n"]}
package/esm5/types.js ADDED
@@ -0,0 +1,18 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export {};
18
+ //# sourceMappingURL=../../../../lib/js-api/types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\nexport type Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfresco/js-api",
3
- "version": "7.9.0-9127362140",
3
+ "version": "7.9.0-9164374178",
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",
@@ -1 +1 @@
1
- {"version":3,"file":"formDefinitionRepresentation.js","sourceRoot":"","sources":["formDefinitionRepresentation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { FieldValueInfo } from './fieldValueInfo';\nimport { FormFieldRepresentation } from './formFieldRepresentation';\nimport { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';\nimport { FormOutcomeRepresentation } from './formOutcomeRepresentation';\nimport { FormTabRepresentation } from './formTabRepresentation';\nimport { FormVariableRepresentation } from './formVariableRepresentation';\n\nexport interface FormDefinitionRepresentation {\n className?: string;\n customFieldTemplates?: { [key: string]: string };\n customFieldsValueInfo?: { [key: string]: FieldValueInfo };\n fields?: FormFieldRepresentation[];\n globalDateFormat?: string;\n gridsterForm?: boolean;\n id?: number;\n javascriptEvents?: FormJavascriptEventRepresentation[];\n metadata?: { [key: string]: string };\n name?: string;\n outcomeTarget?: string;\n outcomes?: FormOutcomeRepresentation[];\n processDefinitionId?: string;\n processDefinitionKey?: string;\n processDefinitionName?: string;\n selectedOutcome?: string;\n style?: string;\n tabs?: FormTabRepresentation[];\n taskDefinitionKey?: string;\n taskId?: string;\n taskName?: string;\n variables?: FormVariableRepresentation[];\n}\n"]}
1
+ {"version":3,"file":"formDefinitionRepresentation.js","sourceRoot":"","sources":["formDefinitionRepresentation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { FieldValueInfo } from './fieldValueInfo';\nimport { FormFieldRepresentation } from './formFieldRepresentation';\nimport { FormJavascriptEventRepresentation } from './formJavascriptEventRepresentation';\nimport { FormOutcomeRepresentation } from './formOutcomeRepresentation';\nimport { FormTabRepresentation } from './formTabRepresentation';\nimport { FormVariableRepresentation } from './formVariableRepresentation';\nimport { RestVariable } from './restVariable';\n\nexport interface FormDefinitionRepresentation {\n className?: string;\n customFieldTemplates?: { [key: string]: string };\n customFieldsValueInfo?: { [key: string]: FieldValueInfo };\n fields?: FormFieldRepresentation[];\n globalDateFormat?: string;\n gridsterForm?: boolean;\n id?: number;\n javascriptEvents?: FormJavascriptEventRepresentation[];\n metadata?: { [key: string]: string };\n name?: string;\n outcomeTarget?: string;\n outcomes?: FormOutcomeRepresentation[];\n processDefinitionId?: string;\n processDefinitionKey?: string;\n processDefinitionName?: string;\n selectedOutcome?: string;\n style?: string;\n tabs?: FormTabRepresentation[];\n taskDefinitionKey?: string;\n taskId?: string;\n taskName?: string;\n variables?: FormVariableRepresentation[];\n processVariables?: RestVariable[];\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processInstanceFilterRepresentation.js","sourceRoot":"","sources":["processInstanceFilterRepresentation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceFilterRepresentation {\n asc?: boolean;\n name?: string;\n processDefinitionId?: string;\n processDefinitionKey?: string;\n sort?: string;\n state?: string;\n}\n"]}
1
+ {"version":3,"file":"processInstanceFilterRepresentation.js","sourceRoot":"","sources":["processInstanceFilterRepresentation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceFilterRepresentation {\n asc?: boolean;\n name?: string;\n processDefinitionId?: string;\n processDefinitionKey?: string;\n sort?: string;\n state?: string;\n assignment?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processInstanceQueryRepresentation.js","sourceRoot":"","sources":["processInstanceQueryRepresentation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\nexport interface ProcessInstanceQueryRepresentation {\n appDefinitionId?: number;\n page?: number;\n processDefinitionId?: string;\n processInstanceId?: string;\n size?: number;\n sort?: 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc';\n start?: number;\n state?: 'running' | 'completed' | 'all';\n}\n"]}
1
+ {"version":3,"file":"processInstanceQueryRepresentation.js","sourceRoot":"","sources":["processInstanceQueryRepresentation.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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 { Union } from '../../../../types';\n\nexport interface ProcessInstanceQueryRepresentation {\n appDefinitionId?: number;\n page?: number;\n processDefinitionId?: string;\n processInstanceId?: string;\n size?: number;\n sort?: ProcessInstanceQueryRepresentationSort;\n start?: number;\n state?: ProcessInstanceQueryRepresentationState;\n}\n\nexport type ProcessInstanceQueryRepresentationSort = Union<string, 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc'>;\nexport type ProcessInstanceQueryRepresentationState = Union<string, 'running' | 'completed' | 'all' | 'open'>;\n"]}
package/types.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /*!
3
+ * @license
4
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ //# sourceMappingURL=../../../lib/js-api/types.js.map
package/types.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG","sourcesContent":["/*!\n * @license\n * Copyright © 2005-2024 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\n// Creates a union type of string literals with strings, but retains intellisense for the literals.\n// Union<string, 'foo' | 'bar'> => string | Omit<string, 'foo' | 'bar'>\nexport type Union<S = string, T extends string | number = string> = T | Omit<S, T>;\n"]}
@@ -20,6 +20,7 @@ import { FormJavascriptEventRepresentation } from './formJavascriptEventRepresen
20
20
  import { FormOutcomeRepresentation } from './formOutcomeRepresentation';
21
21
  import { FormTabRepresentation } from './formTabRepresentation';
22
22
  import { FormVariableRepresentation } from './formVariableRepresentation';
23
+ import { RestVariable } from './restVariable';
23
24
  export interface FormDefinitionRepresentation {
24
25
  className?: string;
25
26
  customFieldTemplates?: {
@@ -49,4 +50,5 @@ export interface FormDefinitionRepresentation {
49
50
  taskId?: string;
50
51
  taskName?: string;
51
52
  variables?: FormVariableRepresentation[];
53
+ processVariables?: RestVariable[];
52
54
  }
@@ -21,4 +21,5 @@ export interface ProcessInstanceFilterRepresentation {
21
21
  processDefinitionKey?: string;
22
22
  sort?: string;
23
23
  state?: string;
24
+ assignment?: string;
24
25
  }
@@ -14,13 +14,16 @@
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
+ import { Union } from '../../../../types';
17
18
  export interface ProcessInstanceQueryRepresentation {
18
19
  appDefinitionId?: number;
19
20
  page?: number;
20
21
  processDefinitionId?: string;
21
22
  processInstanceId?: string;
22
23
  size?: number;
23
- sort?: 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc';
24
+ sort?: ProcessInstanceQueryRepresentationSort;
24
25
  start?: number;
25
- state?: 'running' | 'completed' | 'all';
26
+ state?: ProcessInstanceQueryRepresentationState;
26
27
  }
28
+ export declare type ProcessInstanceQueryRepresentationSort = Union<string, 'created-desc' | 'created-asc' | 'ended-desc' | 'ended-asc'>;
29
+ export declare type ProcessInstanceQueryRepresentationState = Union<string, 'running' | 'completed' | 'all' | 'open'>;
@@ -0,0 +1,17 @@
1
+ /*!
2
+ * @license
3
+ * Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export declare type Union<S = string, T extends string | number = string> = T | Omit<S, T>;