@artu-ai/compliance-sdk 0.13.2 → 0.13.4
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/exports/index.d.ts +4 -4
- package/dist/exports/index.d.ts.map +1 -1
- package/dist/exports/index.js +2 -2
- package/dist/exports/mx/av.d.ts +1158 -0
- package/dist/exports/mx/av.d.ts.map +1 -0
- package/dist/exports/mx/av.js +102 -0
- package/dist/exports/mx/cnbv.d.ts +149 -0
- package/dist/exports/mx/cnbv.d.ts.map +1 -0
- package/dist/exports/mx/cnbv.js +94 -0
- package/dist/models/Alert.d.ts +4 -4
- package/dist/models/Alert.d.ts.map +1 -1
- package/dist/models/Alert.js +6 -6
- package/dist/models/AlertClientItem.d.ts +6 -0
- package/dist/models/AlertClientItem.d.ts.map +1 -1
- package/dist/models/AlertClientItem.js +7 -0
- package/dist/models/AlertItem.d.ts +5 -1
- package/dist/models/AlertItem.d.ts.map +1 -1
- package/dist/models/AlertItem.js +7 -1
- package/dist/models/Client.d.ts +9 -0
- package/dist/models/Client.d.ts.map +1 -1
- package/dist/models/Client.js +29 -8
- package/dist/models/Transaction.d.ts +2 -0
- package/dist/models/Transaction.d.ts.map +1 -1
- package/dist/models/Transaction.js +21 -8
- package/dist/models/Workflow.d.ts +89 -0
- package/dist/models/Workflow.d.ts.map +1 -0
- package/dist/models/{Rule.js → Workflow.js} +42 -35
- package/dist/models/{RuleEvaluation.d.ts → WorkflowExecution.d.ts} +11 -11
- package/dist/models/WorkflowExecution.d.ts.map +1 -0
- package/dist/models/{RuleEvaluation.js → WorkflowExecution.js} +11 -11
- package/dist/models/WorkflowTemplate.d.ts +34 -0
- package/dist/models/WorkflowTemplate.d.ts.map +1 -0
- package/dist/models/{RuleTemplate.js → WorkflowTemplate.js} +13 -12
- package/dist/models/{RuleVariable.d.ts → WorkflowVariable.d.ts} +9 -9
- package/dist/models/WorkflowVariable.d.ts.map +1 -0
- package/dist/models/{RuleVariable.js → WorkflowVariable.js} +10 -10
- package/dist/models/index.d.ts +6 -6
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +15 -23
- package/dist/models/mx/MexAlert.d.ts +9 -1
- package/dist/models/mx/MexAlert.d.ts.map +1 -1
- package/dist/models/mx/MexAlert.js +19 -1
- package/dist/models/mx/MexAlertClientItem.d.ts +1 -1
- package/dist/models/mx/MexAlertClientItem.js +1 -1
- package/dist/models/mx/MexAlertItem.d.ts +1 -1
- package/dist/models/mx/MexAlertItem.js +1 -1
- package/dist/models/mx/MexAlertTransactionItem.d.ts +1 -1
- package/dist/models/mx/MexAlertTransactionItem.js +1 -1
- package/dist/models/mx/av/MexAVAlert.d.ts +56 -0
- package/dist/models/mx/av/MexAVAlert.d.ts.map +1 -0
- package/dist/models/mx/av/MexAVAlert.js +84 -0
- package/dist/models/mx/av/MexAVAlertClientItem.d.ts +71 -0
- package/dist/models/mx/av/MexAVAlertClientItem.d.ts.map +1 -0
- package/dist/models/mx/av/MexAVAlertClientItem.js +80 -0
- package/dist/models/mx/av/MexAVAlertItem.d.ts +61 -0
- package/dist/models/mx/av/MexAVAlertItem.d.ts.map +1 -0
- package/dist/models/mx/av/MexAVAlertItem.js +75 -0
- package/dist/models/mx/av/{MexActividadVulnerableAlertTransactionItem.d.ts → MexAVAlertTransactionItem.d.ts} +33 -16
- package/dist/models/mx/av/MexAVAlertTransactionItem.d.ts.map +1 -0
- package/dist/models/mx/av/MexAVAlertTransactionItem.js +80 -0
- package/dist/models/mx/av/MexAVClient.d.ts +36 -0
- package/dist/models/mx/av/MexAVClient.d.ts.map +1 -0
- package/dist/models/mx/av/MexAVClient.js +45 -0
- package/dist/models/mx/av/MexAVProduct.d.ts +34 -0
- package/dist/models/mx/av/MexAVProduct.d.ts.map +1 -0
- package/dist/models/mx/av/{MexActividadVulnerableProduct.js → MexAVProduct.js} +14 -14
- package/dist/models/mx/av/MexAVTransaction.d.ts +29 -0
- package/dist/models/mx/av/MexAVTransaction.d.ts.map +1 -0
- package/dist/models/mx/av/MexAVTransaction.js +37 -0
- package/dist/models/mx/av/ari/MexARIAlert.d.ts +4 -3
- package/dist/models/mx/av/ari/MexARIAlert.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARIAlert.js +5 -3
- package/dist/models/mx/av/ari/MexARIAlertClientItem.d.ts +5 -3
- package/dist/models/mx/av/ari/MexARIAlertClientItem.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARIAlertClientItem.js +7 -5
- package/dist/models/mx/av/ari/MexARIAlertItem.d.ts +5 -3
- package/dist/models/mx/av/ari/MexARIAlertItem.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARIAlertItem.js +9 -5
- package/dist/models/mx/av/ari/MexARIAlertTransactionItem.d.ts +5 -3
- package/dist/models/mx/av/ari/MexARIAlertTransactionItem.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARIAlertTransactionItem.js +7 -5
- package/dist/models/mx/av/ari/MexARIClient.d.ts +2 -2
- package/dist/models/mx/av/ari/MexARIClient.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARIClient.js +2 -2
- package/dist/models/mx/av/ari/MexARIProduct.d.ts +2 -2
- package/dist/models/mx/av/ari/MexARIProduct.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARIProduct.js +2 -2
- package/dist/models/mx/av/ari/MexARITransaction.d.ts +2 -2
- package/dist/models/mx/av/ari/MexARITransaction.d.ts.map +1 -1
- package/dist/models/mx/av/ari/MexARITransaction.js +2 -2
- package/dist/models/mx/av/avi/MexAVIAlert.d.ts +4 -3
- package/dist/models/mx/av/avi/MexAVIAlert.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVIAlert.js +5 -3
- package/dist/models/mx/av/avi/MexAVIAlertClientItem.d.ts +5 -3
- package/dist/models/mx/av/avi/MexAVIAlertClientItem.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVIAlertClientItem.js +7 -5
- package/dist/models/mx/av/avi/MexAVIAlertItem.d.ts +5 -3
- package/dist/models/mx/av/avi/MexAVIAlertItem.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVIAlertItem.js +9 -5
- package/dist/models/mx/av/avi/MexAVIAlertTransactionItem.d.ts +5 -3
- package/dist/models/mx/av/avi/MexAVIAlertTransactionItem.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVIAlertTransactionItem.js +7 -5
- package/dist/models/mx/av/avi/MexAVIClient.d.ts +2 -2
- package/dist/models/mx/av/avi/MexAVIClient.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVIClient.js +2 -2
- package/dist/models/mx/av/avi/MexAVIProduct.d.ts +2 -2
- package/dist/models/mx/av/avi/MexAVIProduct.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVIProduct.js +2 -2
- package/dist/models/mx/av/avi/MexAVITransaction.d.ts +2 -2
- package/dist/models/mx/av/avi/MexAVITransaction.d.ts.map +1 -1
- package/dist/models/mx/av/avi/MexAVITransaction.js +2 -2
- package/dist/models/mx/av/index.d.ts +7 -7
- package/dist/models/mx/av/index.d.ts.map +1 -1
- package/dist/models/mx/av/index.js +8 -13
- package/dist/models/mx/av/jys/MexJYSAlert.d.ts +4 -3
- package/dist/models/mx/av/jys/MexJYSAlert.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSAlert.js +5 -3
- package/dist/models/mx/av/jys/MexJYSAlertClientItem.d.ts +5 -3
- package/dist/models/mx/av/jys/MexJYSAlertClientItem.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSAlertClientItem.js +7 -5
- package/dist/models/mx/av/jys/MexJYSAlertItem.d.ts +5 -3
- package/dist/models/mx/av/jys/MexJYSAlertItem.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSAlertItem.js +9 -5
- package/dist/models/mx/av/jys/MexJYSAlertTransactionItem.d.ts +5 -3
- package/dist/models/mx/av/jys/MexJYSAlertTransactionItem.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSAlertTransactionItem.js +7 -5
- package/dist/models/mx/av/jys/MexJYSClient.d.ts +2 -2
- package/dist/models/mx/av/jys/MexJYSClient.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSClient.js +2 -2
- package/dist/models/mx/av/jys/MexJYSProduct.d.ts +2 -2
- package/dist/models/mx/av/jys/MexJYSProduct.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSProduct.js +2 -2
- package/dist/models/mx/av/jys/MexJYSTransaction.d.ts +2 -2
- package/dist/models/mx/av/jys/MexJYSTransaction.d.ts.map +1 -1
- package/dist/models/mx/av/jys/MexJYSTransaction.js +2 -2
- package/dist/models/mx/av/mjr/MexMJRAlert.d.ts +4 -3
- package/dist/models/mx/av/mjr/MexMJRAlert.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRAlert.js +5 -3
- package/dist/models/mx/av/mjr/MexMJRAlertClientItem.d.ts +5 -3
- package/dist/models/mx/av/mjr/MexMJRAlertClientItem.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRAlertClientItem.js +7 -5
- package/dist/models/mx/av/mjr/MexMJRAlertItem.d.ts +5 -3
- package/dist/models/mx/av/mjr/MexMJRAlertItem.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRAlertItem.js +9 -5
- package/dist/models/mx/av/mjr/MexMJRAlertTransactionItem.d.ts +5 -3
- package/dist/models/mx/av/mjr/MexMJRAlertTransactionItem.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRAlertTransactionItem.js +7 -5
- package/dist/models/mx/av/mjr/MexMJRClient.d.ts +2 -2
- package/dist/models/mx/av/mjr/MexMJRClient.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRClient.js +2 -2
- package/dist/models/mx/av/mjr/MexMJRProduct.d.ts +2 -2
- package/dist/models/mx/av/mjr/MexMJRProduct.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRProduct.js +2 -2
- package/dist/models/mx/av/mjr/MexMJRTransaction.d.ts +2 -2
- package/dist/models/mx/av/mjr/MexMJRTransaction.d.ts.map +1 -1
- package/dist/models/mx/av/mjr/MexMJRTransaction.js +2 -2
- package/dist/models/mx/av/tsc/MexTSCAlert.d.ts +4 -3
- package/dist/models/mx/av/tsc/MexTSCAlert.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCAlert.js +5 -3
- package/dist/models/mx/av/tsc/MexTSCAlertClientItem.d.ts +5 -3
- package/dist/models/mx/av/tsc/MexTSCAlertClientItem.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCAlertClientItem.js +7 -5
- package/dist/models/mx/av/tsc/MexTSCAlertItem.d.ts +5 -3
- package/dist/models/mx/av/tsc/MexTSCAlertItem.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCAlertItem.js +9 -5
- package/dist/models/mx/av/tsc/MexTSCAlertTransactionItem.d.ts +5 -3
- package/dist/models/mx/av/tsc/MexTSCAlertTransactionItem.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCAlertTransactionItem.js +7 -5
- package/dist/models/mx/av/tsc/MexTSCClient.d.ts +2 -2
- package/dist/models/mx/av/tsc/MexTSCClient.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCClient.js +2 -2
- package/dist/models/mx/av/tsc/MexTSCProduct.d.ts +2 -2
- package/dist/models/mx/av/tsc/MexTSCProduct.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCProduct.js +2 -2
- package/dist/models/mx/av/tsc/MexTSCTransaction.d.ts +2 -2
- package/dist/models/mx/av/tsc/MexTSCTransaction.d.ts.map +1 -1
- package/dist/models/mx/av/tsc/MexTSCTransaction.js +2 -2
- package/dist/models/mx/cnbv/MexCNBVAlert.d.ts +38 -0
- package/dist/models/mx/cnbv/MexCNBVAlert.d.ts.map +1 -0
- package/dist/models/mx/{av/MexActividadVulnerableAlert.js → cnbv/MexCNBVAlert.js} +16 -16
- package/dist/models/mx/cnbv/MexCNBVAlertClientItem.d.ts +51 -0
- package/dist/models/mx/cnbv/MexCNBVAlertClientItem.d.ts.map +1 -0
- package/dist/models/mx/cnbv/MexCNBVAlertClientItem.js +52 -0
- package/dist/models/mx/cnbv/MexCNBVAlertItem.d.ts +38 -0
- package/dist/models/mx/cnbv/MexCNBVAlertItem.d.ts.map +1 -0
- package/dist/models/mx/{av/MexActividadVulnerableAlertItem.js → cnbv/MexCNBVAlertItem.js} +16 -16
- package/dist/models/mx/cnbv/MexCNBVAlertTransactionItem.d.ts +55 -0
- package/dist/models/mx/cnbv/MexCNBVAlertTransactionItem.d.ts.map +1 -0
- package/dist/models/mx/cnbv/MexCNBVAlertTransactionItem.js +51 -0
- package/dist/models/mx/cnbv/MexCNBVClient.d.ts +46 -0
- package/dist/models/mx/cnbv/MexCNBVClient.d.ts.map +1 -0
- package/dist/models/mx/cnbv/MexCNBVClient.js +55 -0
- package/dist/models/mx/cnbv/MexCNBVTransaction.d.ts +29 -0
- package/dist/models/mx/cnbv/MexCNBVTransaction.d.ts.map +1 -0
- package/dist/models/mx/cnbv/MexCNBVTransaction.js +37 -0
- package/dist/models/mx/cnbv/index.d.ts +6 -0
- package/dist/models/mx/cnbv/index.d.ts.map +1 -1
- package/dist/models/mx/cnbv/index.js +7 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlert.d.ts +3 -3
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlert.d.ts.map +1 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlert.js +2 -2
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertClientItem.d.ts +4 -8
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertClientItem.d.ts.map +1 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertClientItem.js +4 -10
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertItem.d.ts +3 -7
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertItem.d.ts.map +1 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertItem.js +3 -9
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertTransactionItem.d.ts +4 -8
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertTransactionItem.d.ts.map +1 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorAlertTransactionItem.js +4 -10
- package/dist/models/mx/cnbv/transmisor/MexTransmisorClient.d.ts +2 -2
- package/dist/models/mx/cnbv/transmisor/MexTransmisorClient.d.ts.map +1 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorClient.js +2 -2
- package/dist/models/mx/cnbv/transmisor/MexTransmisorTransaction.d.ts +2 -2
- package/dist/models/mx/cnbv/transmisor/MexTransmisorTransaction.d.ts.map +1 -1
- package/dist/models/mx/cnbv/transmisor/MexTransmisorTransaction.js +2 -2
- package/dist/models/types.d.ts +19 -19
- package/dist/models/types.d.ts.map +1 -1
- package/dist/resources/addresses.d.ts +4 -0
- package/dist/resources/addresses.d.ts.map +1 -1
- package/dist/resources/addresses.js +26 -8
- package/dist/resources/audit-logs.d.ts +58 -0
- package/dist/resources/audit-logs.d.ts.map +1 -0
- package/dist/resources/audit-logs.js +60 -0
- package/dist/resources/base.d.ts +8 -0
- package/dist/resources/base.d.ts.map +1 -1
- package/dist/resources/base.js +6 -0
- package/dist/resources/index.d.ts +4 -3
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +5 -3
- package/dist/resources/mx/addresses.d.ts +836 -0
- package/dist/resources/mx/addresses.d.ts.map +1 -1
- package/dist/resources/mx/addresses.js +40 -12
- package/dist/resources/mx/alerts.js +2 -2
- package/dist/resources/mx/av/alerts.d.ts +248 -0
- package/dist/resources/mx/av/alerts.d.ts.map +1 -0
- package/dist/resources/mx/av/alerts.js +424 -0
- package/dist/resources/mx/av/ari/alerts.d.ts +11 -45
- package/dist/resources/mx/av/ari/alerts.d.ts.map +1 -1
- package/dist/resources/mx/av/ari/alerts.js +37 -18
- package/dist/resources/mx/av/ari/clients.d.ts +2 -2
- package/dist/resources/mx/av/ari/clients.d.ts.map +1 -1
- package/dist/resources/mx/av/ari/clients.js +4 -4
- package/dist/resources/mx/av/ari/products.d.ts +2 -2
- package/dist/resources/mx/av/ari/products.d.ts.map +1 -1
- package/dist/resources/mx/av/ari/products.js +4 -4
- package/dist/resources/mx/av/ari/tenant.d.ts +2 -2
- package/dist/resources/mx/av/ari/tenant.d.ts.map +1 -1
- package/dist/resources/mx/av/ari/tenant.js +2 -2
- package/dist/resources/mx/av/ari/transactions.d.ts +2 -2
- package/dist/resources/mx/av/ari/transactions.d.ts.map +1 -1
- package/dist/resources/mx/av/ari/transactions.js +4 -4
- package/dist/resources/mx/av/avi/alerts.d.ts +11 -45
- package/dist/resources/mx/av/avi/alerts.d.ts.map +1 -1
- package/dist/resources/mx/av/avi/alerts.js +51 -26
- package/dist/resources/mx/av/avi/clients.d.ts +2 -2
- package/dist/resources/mx/av/avi/clients.d.ts.map +1 -1
- package/dist/resources/mx/av/avi/clients.js +4 -4
- package/dist/resources/mx/av/avi/products.d.ts +2 -2
- package/dist/resources/mx/av/avi/products.d.ts.map +1 -1
- package/dist/resources/mx/av/avi/products.js +4 -4
- package/dist/resources/mx/av/avi/tenant.d.ts +2 -2
- package/dist/resources/mx/av/avi/tenant.d.ts.map +1 -1
- package/dist/resources/mx/av/avi/tenant.js +2 -2
- package/dist/resources/mx/av/avi/transactions.d.ts +2 -2
- package/dist/resources/mx/av/avi/transactions.d.ts.map +1 -1
- package/dist/resources/mx/av/avi/transactions.js +4 -4
- package/dist/resources/mx/av/clients.d.ts +116 -0
- package/dist/resources/mx/av/clients.d.ts.map +1 -0
- package/dist/resources/mx/av/clients.js +252 -0
- package/dist/resources/mx/av/index.d.ts +4 -0
- package/dist/resources/mx/av/index.d.ts.map +1 -1
- package/dist/resources/mx/av/index.js +5 -0
- package/dist/resources/mx/av/jys/alerts.d.ts +11 -45
- package/dist/resources/mx/av/jys/alerts.d.ts.map +1 -1
- package/dist/resources/mx/av/jys/alerts.js +51 -26
- package/dist/resources/mx/av/jys/clients.d.ts +2 -2
- package/dist/resources/mx/av/jys/clients.d.ts.map +1 -1
- package/dist/resources/mx/av/jys/clients.js +4 -4
- package/dist/resources/mx/av/jys/products.d.ts +2 -2
- package/dist/resources/mx/av/jys/products.d.ts.map +1 -1
- package/dist/resources/mx/av/jys/products.js +4 -4
- package/dist/resources/mx/av/jys/tenant.d.ts +2 -2
- package/dist/resources/mx/av/jys/tenant.d.ts.map +1 -1
- package/dist/resources/mx/av/jys/tenant.js +2 -2
- package/dist/resources/mx/av/jys/transactions.d.ts +2 -2
- package/dist/resources/mx/av/jys/transactions.d.ts.map +1 -1
- package/dist/resources/mx/av/jys/transactions.js +4 -4
- package/dist/resources/mx/av/mjr/alerts.d.ts +11 -45
- package/dist/resources/mx/av/mjr/alerts.d.ts.map +1 -1
- package/dist/resources/mx/av/mjr/alerts.js +51 -26
- package/dist/resources/mx/av/mjr/clients.d.ts +2 -2
- package/dist/resources/mx/av/mjr/clients.d.ts.map +1 -1
- package/dist/resources/mx/av/mjr/clients.js +4 -4
- package/dist/resources/mx/av/mjr/products.d.ts +2 -2
- package/dist/resources/mx/av/mjr/products.d.ts.map +1 -1
- package/dist/resources/mx/av/mjr/products.js +4 -4
- package/dist/resources/mx/av/mjr/tenant.d.ts +2 -2
- package/dist/resources/mx/av/mjr/tenant.d.ts.map +1 -1
- package/dist/resources/mx/av/mjr/tenant.js +2 -2
- package/dist/resources/mx/av/mjr/transactions.d.ts +2 -2
- package/dist/resources/mx/av/mjr/transactions.d.ts.map +1 -1
- package/dist/resources/mx/av/mjr/transactions.js +4 -4
- package/dist/resources/mx/av/products.d.ts +33 -0
- package/dist/resources/mx/av/products.d.ts.map +1 -0
- package/dist/resources/mx/av/products.js +96 -0
- package/dist/resources/mx/av/tenant.d.ts +33 -0
- package/dist/resources/mx/av/tenant.d.ts.map +1 -0
- package/dist/resources/mx/av/tenant.js +46 -0
- package/dist/resources/mx/av/transactions.d.ts +67 -0
- package/dist/resources/mx/av/transactions.d.ts.map +1 -0
- package/dist/resources/mx/av/transactions.js +239 -0
- package/dist/resources/mx/av/tsc/alerts.d.ts +11 -45
- package/dist/resources/mx/av/tsc/alerts.d.ts.map +1 -1
- package/dist/resources/mx/av/tsc/alerts.js +51 -26
- package/dist/resources/mx/av/tsc/clients.d.ts +2 -2
- package/dist/resources/mx/av/tsc/clients.d.ts.map +1 -1
- package/dist/resources/mx/av/tsc/clients.js +4 -4
- package/dist/resources/mx/av/tsc/products.d.ts +2 -2
- package/dist/resources/mx/av/tsc/products.d.ts.map +1 -1
- package/dist/resources/mx/av/tsc/products.js +4 -4
- package/dist/resources/mx/av/tsc/tenant.d.ts +2 -2
- package/dist/resources/mx/av/tsc/tenant.d.ts.map +1 -1
- package/dist/resources/mx/av/tsc/tenant.js +2 -2
- package/dist/resources/mx/av/tsc/transactions.d.ts +2 -2
- package/dist/resources/mx/av/tsc/transactions.d.ts.map +1 -1
- package/dist/resources/mx/av/tsc/transactions.js +4 -4
- package/dist/resources/mx/cnbv/alerts.d.ts +68 -0
- package/dist/resources/mx/cnbv/alerts.d.ts.map +1 -0
- package/dist/resources/mx/cnbv/alerts.js +282 -0
- package/dist/resources/mx/cnbv/clients.d.ts +120 -0
- package/dist/resources/mx/cnbv/clients.d.ts.map +1 -0
- package/dist/resources/mx/cnbv/clients.js +269 -0
- package/dist/resources/mx/cnbv/index.d.ts +4 -0
- package/dist/resources/mx/cnbv/index.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/index.js +6 -0
- package/dist/resources/mx/cnbv/products.d.ts +31 -0
- package/dist/resources/mx/cnbv/products.d.ts.map +1 -0
- package/dist/resources/mx/cnbv/products.js +106 -0
- package/dist/resources/mx/cnbv/tenant.d.ts +30 -0
- package/dist/resources/mx/cnbv/tenant.d.ts.map +1 -0
- package/dist/resources/mx/cnbv/tenant.js +28 -0
- package/dist/resources/mx/cnbv/transactions.d.ts +59 -0
- package/dist/resources/mx/cnbv/transactions.d.ts.map +1 -0
- package/dist/resources/mx/cnbv/transactions.js +217 -0
- package/dist/resources/mx/cnbv/transmisor/addresses.d.ts +11909 -0
- package/dist/resources/mx/cnbv/transmisor/addresses.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/transmisor/addresses.js +40 -10
- package/dist/resources/mx/cnbv/transmisor/alerts.d.ts +12 -48
- package/dist/resources/mx/cnbv/transmisor/alerts.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/transmisor/alerts.js +14 -45
- package/dist/resources/mx/cnbv/transmisor/clients.d.ts +2 -2
- package/dist/resources/mx/cnbv/transmisor/clients.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/transmisor/clients.js +4 -4
- package/dist/resources/mx/cnbv/transmisor/products.d.ts +2 -2
- package/dist/resources/mx/cnbv/transmisor/products.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/transmisor/products.js +4 -4
- package/dist/resources/mx/cnbv/transmisor/tenant.d.ts +2 -2
- package/dist/resources/mx/cnbv/transmisor/tenant.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/transmisor/tenant.js +2 -2
- package/dist/resources/mx/cnbv/transmisor/transactions.d.ts +2 -2
- package/dist/resources/mx/cnbv/transmisor/transactions.d.ts.map +1 -1
- package/dist/resources/mx/cnbv/transmisor/transactions.js +4 -4
- package/dist/resources/onboarding-links.d.ts +43 -4
- package/dist/resources/onboarding-links.d.ts.map +1 -1
- package/dist/resources/onboarding-links.js +34 -0
- package/dist/resources/reference-data/custom-reference-data.d.ts +76 -0
- package/dist/resources/reference-data/custom-reference-data.d.ts.map +1 -0
- package/dist/resources/reference-data/custom-reference-data.js +227 -0
- package/dist/resources/reference-data/index.d.ts +1 -0
- package/dist/resources/reference-data/index.d.ts.map +1 -1
- package/dist/resources/reference-data/index.js +1 -0
- package/dist/resources/reference-data/reference-data.d.ts +15 -10
- package/dist/resources/reference-data/reference-data.d.ts.map +1 -1
- package/dist/resources/reference-data/reference-data.js +25 -9
- package/dist/resources/workflow-executions.d.ts +77 -0
- package/dist/resources/workflow-executions.d.ts.map +1 -0
- package/dist/resources/workflow-executions.js +88 -0
- package/dist/resources/workflow-templates.d.ts +53 -0
- package/dist/resources/workflow-templates.d.ts.map +1 -0
- package/dist/resources/workflow-templates.js +93 -0
- package/dist/resources/workflow-variables.d.ts +77 -0
- package/dist/resources/workflow-variables.d.ts.map +1 -0
- package/dist/resources/workflow-variables.js +141 -0
- package/dist/resources/workflows.d.ts +155 -0
- package/dist/resources/workflows.d.ts.map +1 -0
- package/dist/resources/workflows.js +201 -0
- package/dist/sdk/ComplianceSDK.d.ts +12 -5
- package/dist/sdk/ComplianceSDK.d.ts.map +1 -1
- package/dist/sdk/ComplianceSDK.js +15 -6
- package/dist/sdk/index.d.ts +1 -5
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -12
- package/dist/sdk/mx/av/ComplianceSDK.d.ts +45 -0
- package/dist/sdk/mx/av/ComplianceSDK.d.ts.map +1 -0
- package/dist/sdk/mx/av/ComplianceSDK.js +35 -0
- package/dist/sdk/mx/av/index.d.ts +2 -0
- package/dist/sdk/mx/av/index.d.ts.map +1 -1
- package/dist/sdk/mx/av/index.js +12 -0
- package/dist/sdk/mx/av/types.d.ts +32 -0
- package/dist/sdk/mx/av/types.d.ts.map +1 -0
- package/dist/sdk/mx/av/types.js +21 -0
- package/dist/sdk/mx/cnbv/ComplianceSDK.d.ts +45 -0
- package/dist/sdk/mx/cnbv/ComplianceSDK.d.ts.map +1 -0
- package/dist/sdk/mx/cnbv/ComplianceSDK.js +35 -0
- package/dist/sdk/mx/cnbv/index.d.ts +2 -0
- package/dist/sdk/mx/cnbv/index.d.ts.map +1 -1
- package/dist/sdk/mx/cnbv/index.js +11 -0
- package/dist/sdk/mx/cnbv/types.d.ts +32 -0
- package/dist/sdk/mx/cnbv/types.d.ts.map +1 -0
- package/dist/sdk/mx/cnbv/types.js +21 -0
- package/dist/sdk/mx/index.d.ts +3 -6
- package/dist/sdk/mx/index.d.ts.map +1 -1
- package/dist/sdk/mx/index.js +2 -31
- package/dist/sdk/mx/registration.d.ts +10 -0
- package/dist/sdk/mx/registration.d.ts.map +1 -0
- package/dist/sdk/mx/registration.js +36 -0
- package/dist/sdk/mx/types.d.ts +1 -1
- package/dist/sdk/mx/types.d.ts.map +1 -1
- package/dist/sdk/registry-init.d.ts +11 -0
- package/dist/sdk/registry-init.d.ts.map +1 -0
- package/dist/sdk/registry-init.js +17 -0
- package/dist/sdk/resource-registry.d.ts +1 -1
- package/dist/sdk/resource-registry.d.ts.map +1 -1
- package/dist/sdk/resource-registry.js +10 -7
- package/dist/sdk/sdk-registry.d.ts +1 -1
- package/dist/sdk/sdk-registry.d.ts.map +1 -1
- package/dist/sdk/sdk-registry.js +8 -4
- package/dist/sdk/types.d.ts +24 -0
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/utils/session.js +14 -17
- package/package.json +20 -11
- package/dist/models/Rule.d.ts +0 -85
- package/dist/models/Rule.d.ts.map +0 -1
- package/dist/models/RuleEvaluation.d.ts.map +0 -1
- package/dist/models/RuleTemplate.d.ts +0 -34
- package/dist/models/RuleTemplate.d.ts.map +0 -1
- package/dist/models/RuleVariable.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableAlert.d.ts +0 -38
- package/dist/models/mx/av/MexActividadVulnerableAlert.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableAlertClientItem.d.ts +0 -55
- package/dist/models/mx/av/MexActividadVulnerableAlertClientItem.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableAlertClientItem.js +0 -53
- package/dist/models/mx/av/MexActividadVulnerableAlertItem.d.ts +0 -38
- package/dist/models/mx/av/MexActividadVulnerableAlertItem.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableAlertTransactionItem.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableAlertTransactionItem.js +0 -52
- package/dist/models/mx/av/MexActividadVulnerableClient.d.ts +0 -37
- package/dist/models/mx/av/MexActividadVulnerableClient.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableClient.js +0 -46
- package/dist/models/mx/av/MexActividadVulnerableProduct.d.ts +0 -34
- package/dist/models/mx/av/MexActividadVulnerableProduct.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableTransaction.d.ts +0 -29
- package/dist/models/mx/av/MexActividadVulnerableTransaction.d.ts.map +0 -1
- package/dist/models/mx/av/MexActividadVulnerableTransaction.js +0 -37
- package/dist/resources/rule-evaluations.d.ts +0 -77
- package/dist/resources/rule-evaluations.d.ts.map +0 -1
- package/dist/resources/rule-evaluations.js +0 -88
- package/dist/resources/rule-templates.d.ts +0 -53
- package/dist/resources/rule-templates.d.ts.map +0 -1
- package/dist/resources/rule-templates.js +0 -93
- package/dist/resources/rule-variables.d.ts +0 -77
- package/dist/resources/rule-variables.d.ts.map +0 -1
- package/dist/resources/rule-variables.js +0 -141
- package/dist/resources/rules.d.ts +0 -133
- package/dist/resources/rules.d.ts.map +0 -1
- package/dist/resources/rules.js +0 -181
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Executions Resource
|
|
3
|
+
*
|
|
4
|
+
* Read-only resource manager for workflow execution records.
|
|
5
|
+
*/
|
|
6
|
+
import type { ListOptions, NodeDataResponse, PaginatedResponse, WorkflowExecutionFilter } from "@artu-ai/shared";
|
|
7
|
+
import { WorkflowExecution } from "../models/WorkflowExecution";
|
|
8
|
+
import { ReadOnlyResource } from "./base";
|
|
9
|
+
/**
|
|
10
|
+
* Read-only resource manager for workflow executions.
|
|
11
|
+
*
|
|
12
|
+
* By default, every execution is recorded regardless of outcome.
|
|
13
|
+
* The React SDK's `WorkflowExecutionsTable` defaults to showing only
|
|
14
|
+
* matched executions (`matched: { eq: true }`) to reduce noise.
|
|
15
|
+
* When using the SDK directly, pass the filter explicitly to get
|
|
16
|
+
* the same behaviour:
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```typescript
|
|
20
|
+
* // List only matched executions (recommended default)
|
|
21
|
+
* const { data } = await sdk.workflows.executions.list({
|
|
22
|
+
* filter: { matched: true },
|
|
23
|
+
* });
|
|
24
|
+
*
|
|
25
|
+
* // List all executions (including non-matched) for debugging
|
|
26
|
+
* const { data: all } = await sdk.workflows.executions.list({
|
|
27
|
+
* filter: { workflowId: { eq: workflowId } },
|
|
28
|
+
* });
|
|
29
|
+
*
|
|
30
|
+
* // Retrieve a single execution
|
|
31
|
+
* const execution = await sdk.workflows.executions.retrieve(executionId);
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class WorkflowExecutionsResource extends ReadOnlyResource<WorkflowExecution, WorkflowExecutionFilter> {
|
|
35
|
+
/**
|
|
36
|
+
* Retrieve a workflow execution by ID.
|
|
37
|
+
*/
|
|
38
|
+
retrieve(id: string): Promise<WorkflowExecution>;
|
|
39
|
+
/**
|
|
40
|
+
* List workflow executions with optional filtering and pagination.
|
|
41
|
+
*/
|
|
42
|
+
list(options?: ListOptions<WorkflowExecutionFilter, never>): Promise<PaginatedResponse<WorkflowExecution>>;
|
|
43
|
+
/**
|
|
44
|
+
* Count workflow executions matching the given filter.
|
|
45
|
+
*/
|
|
46
|
+
count(filter?: WorkflowExecutionFilter): Promise<number>;
|
|
47
|
+
/**
|
|
48
|
+
* Get paginated data rows from a node output in a workflow execution.
|
|
49
|
+
*
|
|
50
|
+
* Returns the actual data that flowed through a specific node output handle
|
|
51
|
+
* during workflow execution, loaded from the stored Parquet snapshot.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```typescript
|
|
55
|
+
* const data = await sdk.workflows.executions.getNodeData({
|
|
56
|
+
* executionId: "exec_123",
|
|
57
|
+
* nodeId: "node_abc",
|
|
58
|
+
* handle: "output",
|
|
59
|
+
* limit: 50,
|
|
60
|
+
* offset: 0,
|
|
61
|
+
* });
|
|
62
|
+
* if (data) {
|
|
63
|
+
* console.log(data.columns); // ["id", "name", "amount"]
|
|
64
|
+
* console.log(data.rows); // [{ id: "1", name: "...", amount: 100 }, ...]
|
|
65
|
+
* console.log(data.totalRows); // 42
|
|
66
|
+
* }
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
getNodeData(input: {
|
|
70
|
+
executionId: string;
|
|
71
|
+
nodeId: string;
|
|
72
|
+
handle: string;
|
|
73
|
+
limit?: number;
|
|
74
|
+
offset?: number;
|
|
75
|
+
}): Promise<NodeDataResponse | null>;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=workflow-executions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-executions.d.ts","sourceRoot":"","sources":["../../src/resources/workflow-executions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACX,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACN,iBAAiB,EAEjB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,0BAA2B,SAAQ,gBAAgB,CAC/D,iBAAiB,EACjB,uBAAuB,CACvB;IACA;;OAEG;IACG,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAOtD;;OAEG;IACG,IAAI,CACT,OAAO,CAAC,EAAE,WAAW,CAAC,uBAAuB,EAAE,KAAK,CAAC,GACnD,OAAO,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IAkBhD;;OAEG;IACG,KAAK,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC;IAM9D;;;;;;;;;;;;;;;;;;;;;OAqBG;IACG,WAAW,CAAC,KAAK,EAAE;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KAChB,GAAG,OAAO,CAAC,gBAAgB,GAAG,IAAI,CAAC;CAKpC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Executions Resource
|
|
3
|
+
*
|
|
4
|
+
* Read-only resource manager for workflow execution records.
|
|
5
|
+
*/
|
|
6
|
+
import { WorkflowExecution, } from "../models/WorkflowExecution";
|
|
7
|
+
import { ReadOnlyResource } from "./base";
|
|
8
|
+
/**
|
|
9
|
+
* Read-only resource manager for workflow executions.
|
|
10
|
+
*
|
|
11
|
+
* By default, every execution is recorded regardless of outcome.
|
|
12
|
+
* The React SDK's `WorkflowExecutionsTable` defaults to showing only
|
|
13
|
+
* matched executions (`matched: { eq: true }`) to reduce noise.
|
|
14
|
+
* When using the SDK directly, pass the filter explicitly to get
|
|
15
|
+
* the same behaviour:
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```typescript
|
|
19
|
+
* // List only matched executions (recommended default)
|
|
20
|
+
* const { data } = await sdk.workflows.executions.list({
|
|
21
|
+
* filter: { matched: true },
|
|
22
|
+
* });
|
|
23
|
+
*
|
|
24
|
+
* // List all executions (including non-matched) for debugging
|
|
25
|
+
* const { data: all } = await sdk.workflows.executions.list({
|
|
26
|
+
* filter: { workflowId: { eq: workflowId } },
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* // Retrieve a single execution
|
|
30
|
+
* const execution = await sdk.workflows.executions.retrieve(executionId);
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export class WorkflowExecutionsResource extends ReadOnlyResource {
|
|
34
|
+
/**
|
|
35
|
+
* Retrieve a workflow execution by ID.
|
|
36
|
+
*/
|
|
37
|
+
async retrieve(id) {
|
|
38
|
+
const response = await this.execute(() => this.trpc.workflows.executions.retrieve.query({ id }));
|
|
39
|
+
return new WorkflowExecution(response);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* List workflow executions with optional filtering and pagination.
|
|
43
|
+
*/
|
|
44
|
+
async list(options) {
|
|
45
|
+
const response = await this.execute(() => this.trpc.workflows.executions.list.query({
|
|
46
|
+
filter: options?.filter,
|
|
47
|
+
limit: options?.limit,
|
|
48
|
+
offset: options?.offset,
|
|
49
|
+
cursor: options?.cursor,
|
|
50
|
+
includeTotalCount: options?.includeTotalCount,
|
|
51
|
+
}));
|
|
52
|
+
return {
|
|
53
|
+
data: response.data.map((item) => new WorkflowExecution(item)),
|
|
54
|
+
pagination: response.pagination,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Count workflow executions matching the given filter.
|
|
59
|
+
*/
|
|
60
|
+
async count(filter) {
|
|
61
|
+
return this.execute(() => this.trpc.workflows.executions.count.query({ filter }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Get paginated data rows from a node output in a workflow execution.
|
|
65
|
+
*
|
|
66
|
+
* Returns the actual data that flowed through a specific node output handle
|
|
67
|
+
* during workflow execution, loaded from the stored Parquet snapshot.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```typescript
|
|
71
|
+
* const data = await sdk.workflows.executions.getNodeData({
|
|
72
|
+
* executionId: "exec_123",
|
|
73
|
+
* nodeId: "node_abc",
|
|
74
|
+
* handle: "output",
|
|
75
|
+
* limit: 50,
|
|
76
|
+
* offset: 0,
|
|
77
|
+
* });
|
|
78
|
+
* if (data) {
|
|
79
|
+
* console.log(data.columns); // ["id", "name", "amount"]
|
|
80
|
+
* console.log(data.rows); // [{ id: "1", name: "...", amount: 100 }, ...]
|
|
81
|
+
* console.log(data.totalRows); // 42
|
|
82
|
+
* }
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
async getNodeData(input) {
|
|
86
|
+
return this.execute(() => this.trpc.workflows.executions.getNodeData.query(input));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Templates Resource
|
|
3
|
+
*
|
|
4
|
+
* Resource manager for workflow templates — reusable workflow blueprints.
|
|
5
|
+
*/
|
|
6
|
+
import type { CreateWorkflowTemplateFromWorkflowInput, CreateWorkflowTemplateInput, ImportWorkflowTemplateInput, ListOptions, PaginatedResponse, UpdateWorkflowTemplateInput, WorkflowTemplateFilter } from "@artu-ai/shared";
|
|
7
|
+
import { Workflow } from "../models/Workflow";
|
|
8
|
+
import { WorkflowTemplate } from "../models/WorkflowTemplate";
|
|
9
|
+
import { BaseResource } from "./base";
|
|
10
|
+
export declare class WorkflowTemplatesResource extends BaseResource<WorkflowTemplate, CreateWorkflowTemplateInput, UpdateWorkflowTemplateInput, WorkflowTemplateFilter> {
|
|
11
|
+
/**
|
|
12
|
+
* Create a new workflow template from scratch.
|
|
13
|
+
*/
|
|
14
|
+
create(data: CreateWorkflowTemplateInput): Promise<WorkflowTemplate>;
|
|
15
|
+
/**
|
|
16
|
+
* Create a workflow template from an existing workflow.
|
|
17
|
+
*/
|
|
18
|
+
createFromWorkflow(data: CreateWorkflowTemplateFromWorkflowInput): Promise<WorkflowTemplate>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a workflow template by ID.
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string): Promise<WorkflowTemplate>;
|
|
23
|
+
/**
|
|
24
|
+
* Update a workflow template.
|
|
25
|
+
*/
|
|
26
|
+
update(id: string, data: UpdateWorkflowTemplateInput): Promise<WorkflowTemplate>;
|
|
27
|
+
/**
|
|
28
|
+
* Delete a workflow template (soft delete).
|
|
29
|
+
*/
|
|
30
|
+
delete(id: string): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* List workflow templates with optional filtering and pagination.
|
|
33
|
+
*/
|
|
34
|
+
list(options?: ListOptions<WorkflowTemplateFilter, never>): Promise<PaginatedResponse<WorkflowTemplate>>;
|
|
35
|
+
/**
|
|
36
|
+
* Count workflow templates matching the given filter.
|
|
37
|
+
*/
|
|
38
|
+
count(filter?: WorkflowTemplateFilter): Promise<number>;
|
|
39
|
+
/**
|
|
40
|
+
* Import a workflow template — creates a new workflow in the test environment.
|
|
41
|
+
*/
|
|
42
|
+
import(data: ImportWorkflowTemplateInput): Promise<Workflow>;
|
|
43
|
+
/**
|
|
44
|
+
* Submit a workflow template for review.
|
|
45
|
+
* Sets visibility to pending_review. An approver must call approve() to make it published.
|
|
46
|
+
*/
|
|
47
|
+
publish(id: string): Promise<WorkflowTemplate>;
|
|
48
|
+
/**
|
|
49
|
+
* Unpublish a workflow template (make visible only to owning org).
|
|
50
|
+
*/
|
|
51
|
+
unpublish(id: string): Promise<WorkflowTemplate>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=workflow-templates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-templates.d.ts","sourceRoot":"","sources":["../../src/resources/workflow-templates.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACX,uCAAuC,EACvC,2BAA2B,EAC3B,2BAA2B,EAC3B,WAAW,EACX,iBAAiB,EACjB,2BAA2B,EAC3B,sBAAsB,EACtB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAAE,QAAQ,EAAqB,MAAM,oBAAoB,CAAC;AACjE,OAAO,EACN,gBAAgB,EAEhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,qBAAa,yBAA0B,SAAQ,YAAY,CAC1D,gBAAgB,EAChB,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,CACtB;IACA;;OAEG;IACG,MAAM,CAAC,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQ1E;;OAEG;IACG,kBAAkB,CACvB,IAAI,EAAE,uCAAuC,GAC3C,OAAO,CAAC,gBAAgB,CAAC;IAW5B;;OAEG;IACG,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAOrD;;OAEG;IACG,MAAM,CACX,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAQ5B;;OAEG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIvC;;OAEG;IACG,IAAI,CACT,OAAO,CAAC,EAAE,WAAW,CAAC,sBAAsB,EAAE,KAAK,CAAC,GAClD,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAkB/C;;OAEG;IACG,KAAK,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IAM7D;;OAEG;IACG,MAAM,CAAC,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC,QAAQ,CAAC;IAQlE;;;OAGG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAOpD;;OAEG;IACG,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAMtD"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Templates Resource
|
|
3
|
+
*
|
|
4
|
+
* Resource manager for workflow templates — reusable workflow blueprints.
|
|
5
|
+
*/
|
|
6
|
+
import { createWorkflowTemplateFromWorkflowInputSchema, createWorkflowTemplateInputSchema, updateWorkflowTemplateInputSchema, } from "@artu-ai/shared";
|
|
7
|
+
import { Workflow } from "../models/Workflow";
|
|
8
|
+
import { WorkflowTemplate, } from "../models/WorkflowTemplate";
|
|
9
|
+
import { BaseResource } from "./base";
|
|
10
|
+
export class WorkflowTemplatesResource extends BaseResource {
|
|
11
|
+
/**
|
|
12
|
+
* Create a new workflow template from scratch.
|
|
13
|
+
*/
|
|
14
|
+
async create(data) {
|
|
15
|
+
const validated = this.validate(createWorkflowTemplateInputSchema, data);
|
|
16
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.create.mutate(validated));
|
|
17
|
+
return new WorkflowTemplate(response);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Create a workflow template from an existing workflow.
|
|
21
|
+
*/
|
|
22
|
+
async createFromWorkflow(data) {
|
|
23
|
+
const validated = this.validate(createWorkflowTemplateFromWorkflowInputSchema, data);
|
|
24
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.createFromWorkflow.mutate(validated));
|
|
25
|
+
return new WorkflowTemplate(response);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Retrieve a workflow template by ID.
|
|
29
|
+
*/
|
|
30
|
+
async retrieve(id) {
|
|
31
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.retrieve.query({ id }));
|
|
32
|
+
return new WorkflowTemplate(response);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Update a workflow template.
|
|
36
|
+
*/
|
|
37
|
+
async update(id, data) {
|
|
38
|
+
const validated = this.validate(updateWorkflowTemplateInputSchema, data);
|
|
39
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.update.mutate({ id, ...validated }));
|
|
40
|
+
return new WorkflowTemplate(response);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Delete a workflow template (soft delete).
|
|
44
|
+
*/
|
|
45
|
+
async delete(id) {
|
|
46
|
+
await this.execute(() => this.trpc.workflowTemplates.delete.mutate({ id }));
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* List workflow templates with optional filtering and pagination.
|
|
50
|
+
*/
|
|
51
|
+
async list(options) {
|
|
52
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.list.query({
|
|
53
|
+
filter: options?.filter,
|
|
54
|
+
limit: options?.limit,
|
|
55
|
+
offset: options?.offset,
|
|
56
|
+
cursor: options?.cursor,
|
|
57
|
+
includeTotalCount: options?.includeTotalCount,
|
|
58
|
+
}));
|
|
59
|
+
return {
|
|
60
|
+
data: response.data.map((item) => new WorkflowTemplate(item)),
|
|
61
|
+
pagination: response.pagination,
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Count workflow templates matching the given filter.
|
|
66
|
+
*/
|
|
67
|
+
async count(filter) {
|
|
68
|
+
return this.execute(() => this.trpc.workflowTemplates.count.query({ filter }));
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Import a workflow template — creates a new workflow in the test environment.
|
|
72
|
+
*/
|
|
73
|
+
async import(data) {
|
|
74
|
+
const { templateId, ...rest } = data;
|
|
75
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.import.mutate({ id: templateId, ...rest }));
|
|
76
|
+
return new Workflow(response);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Submit a workflow template for review.
|
|
80
|
+
* Sets visibility to pending_review. An approver must call approve() to make it published.
|
|
81
|
+
*/
|
|
82
|
+
async publish(id) {
|
|
83
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.publish.mutate({ id }));
|
|
84
|
+
return new WorkflowTemplate(response);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Unpublish a workflow template (make visible only to owning org).
|
|
88
|
+
*/
|
|
89
|
+
async unpublish(id) {
|
|
90
|
+
const response = await this.execute(() => this.trpc.workflowTemplates.unpublish.mutate({ id }));
|
|
91
|
+
return new WorkflowTemplate(response);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Variables Resource
|
|
3
|
+
*
|
|
4
|
+
* Resource manager for workflow variables (thresholds, config values).
|
|
5
|
+
* Variables store configurable values for workflows and use $VARIABLE_NAME syntax.
|
|
6
|
+
*/
|
|
7
|
+
import type { CreateWorkflowVariableInput, ListOptions, PaginatedResponse, SystemVariableFilter, UpdateWorkflowVariableInput, WorkflowVariableFilter, WorkflowVariableHistoryFilter } from "@artu-ai/shared";
|
|
8
|
+
import { SystemVariable, WorkflowVariable } from "../models/WorkflowVariable";
|
|
9
|
+
import { BaseResource } from "./base";
|
|
10
|
+
/**
|
|
11
|
+
* Resource manager for workflow variables.
|
|
12
|
+
*
|
|
13
|
+
* Variables store configurable threshold and configuration values for workflows.
|
|
14
|
+
* They use $VARIABLE_NAME syntax and can be referenced in workflow conditions.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```typescript
|
|
18
|
+
* // List all variables
|
|
19
|
+
* const { data: variables } = await sdk.workflows.variables.list();
|
|
20
|
+
*
|
|
21
|
+
* // Create a new variable
|
|
22
|
+
* const variable = await sdk.workflows.variables.create({
|
|
23
|
+
* name: "$MEX_AVI_THRESHOLD",
|
|
24
|
+
* value: 16000,
|
|
25
|
+
* description: "Threshold for AVI reporting",
|
|
26
|
+
* effectiveDate: "2025-01-01",
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* // Update a variable
|
|
30
|
+
* await sdk.workflows.variables.update(variable.id, { value: 20000 });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class WorkflowVariablesResource extends BaseResource<WorkflowVariable, CreateWorkflowVariableInput, UpdateWorkflowVariableInput, WorkflowVariableFilter> {
|
|
34
|
+
/**
|
|
35
|
+
* Create a new workflow variable.
|
|
36
|
+
*/
|
|
37
|
+
create(data: CreateWorkflowVariableInput): Promise<WorkflowVariable>;
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve a workflow variable by ID.
|
|
40
|
+
*/
|
|
41
|
+
retrieve(id: string): Promise<WorkflowVariable>;
|
|
42
|
+
/**
|
|
43
|
+
* Update a workflow variable.
|
|
44
|
+
*/
|
|
45
|
+
update(id: string, data: UpdateWorkflowVariableInput): Promise<WorkflowVariable>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete a workflow variable.
|
|
48
|
+
*/
|
|
49
|
+
delete(id: string): Promise<void>;
|
|
50
|
+
/**
|
|
51
|
+
* List workflow variables with optional filtering and pagination.
|
|
52
|
+
*/
|
|
53
|
+
list(options?: ListOptions<WorkflowVariableFilter, never>): Promise<PaginatedResponse<WorkflowVariable>>;
|
|
54
|
+
/**
|
|
55
|
+
* Count workflow variables matching the given filter.
|
|
56
|
+
*/
|
|
57
|
+
count(filter?: WorkflowVariableFilter): Promise<number>;
|
|
58
|
+
/**
|
|
59
|
+
* List system-defined workflow variables with optional filtering and pagination.
|
|
60
|
+
* These are application-level variables available to all organizations.
|
|
61
|
+
*/
|
|
62
|
+
listSystem(options?: ListOptions<SystemVariableFilter, never>): Promise<PaginatedResponse<SystemVariable>>;
|
|
63
|
+
/**
|
|
64
|
+
* List all entries for a workflow variable name (history).
|
|
65
|
+
* Returns all effectiveDate entries, sorted by effectiveDate DESC.
|
|
66
|
+
*/
|
|
67
|
+
listHistory(name: string, options?: ListOptions<WorkflowVariableHistoryFilter, never>): Promise<PaginatedResponse<WorkflowVariable>>;
|
|
68
|
+
/**
|
|
69
|
+
* List all entries for a system variable name (history).
|
|
70
|
+
* Returns all effectiveDate entries, sorted by effectiveDate DESC.
|
|
71
|
+
*/
|
|
72
|
+
listSystemHistory(name: string, options?: {
|
|
73
|
+
limit?: number;
|
|
74
|
+
offset?: number;
|
|
75
|
+
}): Promise<PaginatedResponse<SystemVariable>>;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=workflow-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflow-variables.d.ts","sourceRoot":"","sources":["../../src/resources/workflow-variables.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACX,2BAA2B,EAC3B,WAAW,EACX,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,6BAA6B,EAC7B,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EACN,cAAc,EAEd,gBAAgB,EAEhB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,yBAA0B,SAAQ,YAAY,CAC1D,gBAAgB,EAChB,2BAA2B,EAC3B,2BAA2B,EAC3B,sBAAsB,CACtB;IACA;;OAEG;IACG,MAAM,CAAC,IAAI,EAAE,2BAA2B,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAQ1E;;OAEG;IACG,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAOrD;;OAEG;IACG,MAAM,CACX,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,2BAA2B,GAC/B,OAAO,CAAC,gBAAgB,CAAC;IAW5B;;OAEG;IACG,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMvC;;OAEG;IACG,IAAI,CACT,OAAO,CAAC,EAAE,WAAW,CAAC,sBAAsB,EAAE,KAAK,CAAC,GAClD,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAkB/C;;OAEG;IACG,KAAK,CAAC,MAAM,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,MAAM,CAAC;IAM7D;;;OAGG;IACG,UAAU,CACf,OAAO,CAAC,EAAE,WAAW,CAAC,oBAAoB,EAAE,KAAK,CAAC,GAChD,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAkB7C;;;OAGG;IACG,WAAW,CAChB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,WAAW,CAAC,6BAA6B,EAAE,KAAK,CAAC,GACzD,OAAO,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IAqB/C;;;OAGG;IACG,iBAAiB,CACtB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,GAC3C,OAAO,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;CAgB7C"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Workflow Variables Resource
|
|
3
|
+
*
|
|
4
|
+
* Resource manager for workflow variables (thresholds, config values).
|
|
5
|
+
* Variables store configurable values for workflows and use $VARIABLE_NAME syntax.
|
|
6
|
+
*/
|
|
7
|
+
import { createWorkflowVariableInputSchema, updateWorkflowVariableInputSchema, } from "@artu-ai/shared";
|
|
8
|
+
import { SystemVariable, WorkflowVariable, } from "../models/WorkflowVariable";
|
|
9
|
+
import { BaseResource } from "./base";
|
|
10
|
+
/**
|
|
11
|
+
* Resource manager for workflow variables.
|
|
12
|
+
*
|
|
13
|
+
* Variables store configurable threshold and configuration values for workflows.
|
|
14
|
+
* They use $VARIABLE_NAME syntax and can be referenced in workflow conditions.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```typescript
|
|
18
|
+
* // List all variables
|
|
19
|
+
* const { data: variables } = await sdk.workflows.variables.list();
|
|
20
|
+
*
|
|
21
|
+
* // Create a new variable
|
|
22
|
+
* const variable = await sdk.workflows.variables.create({
|
|
23
|
+
* name: "$MEX_AVI_THRESHOLD",
|
|
24
|
+
* value: 16000,
|
|
25
|
+
* description: "Threshold for AVI reporting",
|
|
26
|
+
* effectiveDate: "2025-01-01",
|
|
27
|
+
* });
|
|
28
|
+
*
|
|
29
|
+
* // Update a variable
|
|
30
|
+
* await sdk.workflows.variables.update(variable.id, { value: 20000 });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export class WorkflowVariablesResource extends BaseResource {
|
|
34
|
+
/**
|
|
35
|
+
* Create a new workflow variable.
|
|
36
|
+
*/
|
|
37
|
+
async create(data) {
|
|
38
|
+
const validated = this.validate(createWorkflowVariableInputSchema, data);
|
|
39
|
+
const response = await this.execute(() => this.trpc.workflows.variables.create.mutate(validated));
|
|
40
|
+
return new WorkflowVariable(response);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Retrieve a workflow variable by ID.
|
|
44
|
+
*/
|
|
45
|
+
async retrieve(id) {
|
|
46
|
+
const response = await this.execute(() => this.trpc.workflows.variables.retrieve.query({ id }));
|
|
47
|
+
return new WorkflowVariable(response);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Update a workflow variable.
|
|
51
|
+
*/
|
|
52
|
+
async update(id, data) {
|
|
53
|
+
const validated = this.validate(updateWorkflowVariableInputSchema, data);
|
|
54
|
+
const response = await this.execute(() => this.trpc.workflows.variables.update.mutate({
|
|
55
|
+
id,
|
|
56
|
+
...validated,
|
|
57
|
+
}));
|
|
58
|
+
return new WorkflowVariable(response);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Delete a workflow variable.
|
|
62
|
+
*/
|
|
63
|
+
async delete(id) {
|
|
64
|
+
await this.execute(() => this.trpc.workflows.variables.delete.mutate({ id }));
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* List workflow variables with optional filtering and pagination.
|
|
68
|
+
*/
|
|
69
|
+
async list(options) {
|
|
70
|
+
const response = await this.execute(() => this.trpc.workflows.variables.list.query({
|
|
71
|
+
filter: options?.filter,
|
|
72
|
+
limit: options?.limit,
|
|
73
|
+
offset: options?.offset,
|
|
74
|
+
cursor: options?.cursor,
|
|
75
|
+
includeTotalCount: options?.includeTotalCount,
|
|
76
|
+
}));
|
|
77
|
+
return {
|
|
78
|
+
data: response.data.map((item) => new WorkflowVariable(item)),
|
|
79
|
+
pagination: response.pagination,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Count workflow variables matching the given filter.
|
|
84
|
+
*/
|
|
85
|
+
async count(filter) {
|
|
86
|
+
return this.execute(() => this.trpc.workflows.variables.count.query({ filter }));
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* List system-defined workflow variables with optional filtering and pagination.
|
|
90
|
+
* These are application-level variables available to all organizations.
|
|
91
|
+
*/
|
|
92
|
+
async listSystem(options) {
|
|
93
|
+
const response = await this.execute(() => this.trpc.workflows.variables.listSystem.query({
|
|
94
|
+
filter: options?.filter,
|
|
95
|
+
limit: options?.limit,
|
|
96
|
+
offset: options?.offset,
|
|
97
|
+
cursor: options?.cursor,
|
|
98
|
+
includeTotalCount: options?.includeTotalCount,
|
|
99
|
+
}));
|
|
100
|
+
return {
|
|
101
|
+
data: response.data.map((item) => new SystemVariable(item)),
|
|
102
|
+
pagination: response.pagination,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* List all entries for a workflow variable name (history).
|
|
107
|
+
* Returns all effectiveDate entries, sorted by effectiveDate DESC.
|
|
108
|
+
*/
|
|
109
|
+
async listHistory(name, options) {
|
|
110
|
+
const response = await this.execute(() => this.trpc.workflows.variables.listHistory.query({
|
|
111
|
+
name,
|
|
112
|
+
options: options
|
|
113
|
+
? {
|
|
114
|
+
filter: options.filter,
|
|
115
|
+
limit: options.limit,
|
|
116
|
+
offset: options.offset,
|
|
117
|
+
}
|
|
118
|
+
: undefined,
|
|
119
|
+
}));
|
|
120
|
+
return {
|
|
121
|
+
data: response.data.map((item) => new WorkflowVariable(item)),
|
|
122
|
+
pagination: response.pagination,
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* List all entries for a system variable name (history).
|
|
127
|
+
* Returns all effectiveDate entries, sorted by effectiveDate DESC.
|
|
128
|
+
*/
|
|
129
|
+
async listSystemHistory(name, options) {
|
|
130
|
+
const response = await this.execute(() => this.trpc.workflows.variables.listSystemHistory.query({
|
|
131
|
+
name,
|
|
132
|
+
options: options
|
|
133
|
+
? { limit: options.limit, offset: options.offset }
|
|
134
|
+
: undefined,
|
|
135
|
+
}));
|
|
136
|
+
return {
|
|
137
|
+
data: response.data.map((item) => new SystemVariable(item)),
|
|
138
|
+
pagination: response.pagination,
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}
|