@rulebricks/sdk 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +12 -11
- package/Client.js +15 -15
- package/README.md +3 -3
- package/api/errors/BadRequestError.d.ts +1 -1
- package/api/errors/BadRequestError.js +1 -1
- package/api/errors/ForbiddenError.d.ts +2 -3
- package/api/errors/ForbiddenError.js +1 -1
- package/api/errors/InternalServerError.d.ts +1 -1
- package/api/errors/InternalServerError.js +1 -1
- package/api/errors/NotFoundError.d.ts +1 -1
- package/api/errors/NotFoundError.js +1 -1
- package/api/resources/assets/client/Client.d.ts +13 -120
- package/api/resources/assets/client/Client.js +17 -526
- package/api/resources/assets/client/index.d.ts +1 -1
- package/api/resources/assets/client/index.js +0 -15
- package/api/resources/assets/index.d.ts +1 -0
- package/api/resources/assets/index.js +1 -0
- package/api/resources/assets/resources/flows/client/Client.d.ts +42 -0
- package/api/resources/assets/resources/flows/client/Client.js +116 -0
- package/api/resources/assets/resources/flows/client/index.d.ts +1 -0
- package/api/resources/assets/resources/flows/index.d.ts +1 -0
- package/{dist/serialization/resources/values/types → api/resources/assets/resources/flows}/index.js +1 -1
- package/api/resources/assets/resources/folders/client/Client.d.ts +74 -0
- package/api/resources/assets/resources/folders/client/Client.js +248 -0
- package/api/resources/assets/resources/folders/client/requests/index.d.ts +2 -0
- package/api/resources/assets/resources/folders/index.d.ts +1 -0
- package/{dist/api/resources/values/types → api/resources/assets/resources/folders}/index.js +1 -1
- package/api/resources/assets/resources/index.d.ts +5 -0
- package/api/resources/assets/resources/index.js +34 -0
- package/api/resources/assets/resources/rules/client/Client.d.ts +94 -0
- package/api/resources/assets/resources/rules/client/Client.js +332 -0
- package/{dist/api/resources/assets/client/requests/ListRulesRequest.d.ts → api/resources/assets/resources/rules/client/requests/RulesListRequest.d.ts} +1 -1
- package/{dist/api/resources/assets/client/requests/ExportRuleRequest.d.ts → api/resources/assets/resources/rules/client/requests/RulesPullRequest.d.ts} +1 -1
- package/api/resources/assets/resources/rules/client/requests/index.d.ts +4 -0
- package/api/resources/assets/resources/rules/client/requests/index.js +2 -0
- package/api/resources/assets/resources/rules/index.d.ts +1 -0
- package/api/resources/assets/resources/rules/index.js +17 -0
- package/api/resources/decisions/client/Client.d.ts +7 -6
- package/api/resources/decisions/client/Client.js +13 -12
- package/{dist/api/resources/decisions/client/requests/QueryRequest.d.ts → api/resources/decisions/client/requests/DecisionsQueryRequest.d.ts} +1 -1
- package/api/resources/decisions/client/requests/index.d.ts +1 -1
- package/api/resources/flows/client/Client.d.ts +7 -6
- package/api/resources/flows/client/Client.js +13 -12
- package/api/resources/index.d.ts +1 -3
- package/api/resources/index.js +2 -4
- package/api/resources/rules/client/Client.d.ts +15 -14
- package/api/resources/rules/client/Client.js +35 -34
- package/api/resources/tests/client/Client.d.ts +8 -120
- package/api/resources/tests/client/Client.js +6 -441
- package/api/resources/tests/index.d.ts +1 -0
- package/api/resources/tests/index.js +1 -0
- package/api/resources/tests/resources/flows/client/Client.d.ts +82 -0
- package/api/resources/tests/resources/flows/client/Client.js +257 -0
- package/api/resources/tests/resources/flows/client/index.d.ts +1 -0
- package/api/resources/tests/resources/flows/client/index.js +2 -0
- package/api/resources/tests/resources/flows/index.d.ts +1 -0
- package/api/resources/tests/resources/flows/index.js +17 -0
- package/api/resources/tests/resources/index.d.ts +2 -0
- package/api/resources/tests/resources/index.js +28 -0
- package/api/resources/tests/resources/rules/client/Client.d.ts +82 -0
- package/api/resources/tests/resources/rules/client/Client.js +257 -0
- package/api/resources/tests/resources/rules/client/index.d.ts +1 -0
- package/api/resources/tests/resources/rules/client/index.js +2 -0
- package/api/resources/tests/resources/rules/index.d.ts +1 -0
- package/api/resources/tests/resources/rules/index.js +17 -0
- package/api/resources/users/client/Client.d.ts +12 -35
- package/api/resources/users/client/Client.js +21 -137
- package/api/resources/users/client/requests/UserInviteRequest.d.ts +2 -2
- package/api/resources/users/client/requests/index.d.ts +0 -1
- package/api/resources/users/index.d.ts +1 -0
- package/api/resources/users/index.js +1 -0
- package/api/resources/users/resources/groups/client/Client.d.ts +58 -0
- package/api/resources/users/resources/groups/client/Client.js +181 -0
- package/api/resources/users/resources/groups/client/index.d.ts +1 -0
- package/api/resources/users/resources/groups/client/index.js +17 -0
- package/api/resources/users/resources/groups/client/requests/index.d.ts +1 -0
- package/api/resources/users/resources/groups/client/requests/index.js +2 -0
- package/api/resources/users/resources/groups/index.d.ts +1 -0
- package/api/resources/users/resources/groups/index.js +17 -0
- package/api/resources/users/resources/index.d.ts +2 -0
- package/api/resources/users/resources/index.js +31 -0
- package/api/resources/values/client/Client.d.ts +73 -18
- package/api/resources/values/client/Client.js +101 -39
- package/api/resources/values/client/requests/UpdateValuesRequest.d.ts +81 -4
- package/{dist/api/resources/values/client/requests/DeleteRequest.d.ts → api/resources/values/client/requests/ValuesDeleteRequest.d.ts} +1 -1
- package/api/resources/values/client/requests/ValuesListRequest.d.ts +24 -0
- package/api/resources/values/client/requests/index.d.ts +2 -2
- package/api/resources/values/index.d.ts +0 -1
- package/api/resources/values/index.js +0 -1
- package/api/types/BulkRuleResponseItem.d.ts +2 -2
- package/api/types/DecisionLog.d.ts +4 -4
- package/api/types/DecisionLogDecision.d.ts +2 -2
- package/api/types/DecisionLogResponse.d.ts +2 -2
- package/api/types/DynamicValue.d.ts +13 -15
- package/api/types/DynamicValueListResponse.d.ts +2 -2
- package/api/types/FlowDetail.d.ts +2 -2
- package/api/types/FlowListResponse.d.ts +2 -2
- package/api/types/FolderListResponse.d.ts +2 -2
- package/api/types/ParallelSolveRequest.d.ts +2 -2
- package/api/types/ParallelSolveResponse.d.ts +2 -2
- package/api/types/RuleDetail.d.ts +5 -5
- package/api/types/RuleListResponse.d.ts +2 -2
- package/api/types/SchemaField.d.ts +3 -3
- package/api/types/Test.d.ts +2 -2
- package/api/types/TestListResponse.d.ts +2 -2
- package/api/types/TestTestState.d.ts +3 -3
- package/api/types/UserGroupListResponse.d.ts +2 -2
- package/api/types/UserInviteResponse.d.ts +2 -2
- package/api/types/index.d.ts +0 -6
- package/api/types/index.js +0 -6
- package/dist/Client.d.ts +12 -11
- package/dist/Client.js +15 -15
- package/dist/api/errors/BadRequestError.d.ts +1 -1
- package/dist/api/errors/BadRequestError.js +1 -1
- package/dist/api/errors/ForbiddenError.d.ts +2 -3
- package/dist/api/errors/ForbiddenError.js +1 -1
- package/dist/api/errors/InternalServerError.d.ts +1 -1
- package/dist/api/errors/InternalServerError.js +1 -1
- package/dist/api/errors/NotFoundError.d.ts +1 -1
- package/dist/api/errors/NotFoundError.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +13 -120
- package/dist/api/resources/assets/client/Client.js +17 -526
- package/dist/api/resources/assets/client/index.d.ts +1 -1
- package/dist/api/resources/assets/client/index.js +0 -15
- package/dist/api/resources/assets/index.d.ts +1 -0
- package/dist/api/resources/assets/index.js +1 -0
- package/dist/api/resources/assets/resources/flows/client/Client.d.ts +42 -0
- package/dist/api/resources/assets/resources/flows/client/Client.js +116 -0
- package/dist/api/resources/assets/resources/flows/client/index.d.ts +1 -0
- package/dist/api/resources/assets/resources/flows/client/index.js +2 -0
- package/dist/api/resources/assets/resources/flows/index.d.ts +1 -0
- package/dist/api/resources/assets/resources/flows/index.js +17 -0
- package/dist/api/resources/assets/resources/folders/client/Client.d.ts +74 -0
- package/dist/api/resources/assets/resources/folders/client/Client.js +248 -0
- package/dist/api/resources/assets/resources/folders/client/index.d.ts +1 -0
- package/dist/api/resources/assets/resources/folders/client/index.js +17 -0
- package/dist/api/resources/assets/resources/folders/client/requests/index.d.ts +2 -0
- package/dist/api/resources/assets/resources/folders/client/requests/index.js +2 -0
- package/dist/api/resources/assets/resources/folders/index.d.ts +1 -0
- package/dist/api/resources/assets/resources/folders/index.js +17 -0
- package/dist/api/resources/assets/resources/index.d.ts +5 -0
- package/dist/api/resources/assets/resources/index.js +34 -0
- package/dist/api/resources/assets/resources/rules/client/Client.d.ts +94 -0
- package/dist/api/resources/assets/resources/rules/client/Client.js +332 -0
- package/dist/api/resources/assets/resources/rules/client/index.d.ts +1 -0
- package/dist/api/resources/assets/resources/rules/client/index.js +17 -0
- package/{api/resources/assets/client/requests/ListRulesRequest.d.ts → dist/api/resources/assets/resources/rules/client/requests/RulesListRequest.d.ts} +1 -1
- package/{api/resources/assets/client/requests/ExportRuleRequest.d.ts → dist/api/resources/assets/resources/rules/client/requests/RulesPullRequest.d.ts} +1 -1
- package/dist/api/resources/assets/resources/rules/client/requests/index.d.ts +4 -0
- package/dist/api/resources/assets/resources/rules/client/requests/index.js +2 -0
- package/dist/api/resources/assets/resources/rules/index.d.ts +1 -0
- package/dist/api/resources/assets/resources/rules/index.js +17 -0
- package/dist/api/resources/decisions/client/Client.d.ts +7 -6
- package/dist/api/resources/decisions/client/Client.js +13 -12
- package/{api/resources/decisions/client/requests/QueryRequest.d.ts → dist/api/resources/decisions/client/requests/DecisionsQueryRequest.d.ts} +1 -1
- package/dist/api/resources/decisions/client/requests/index.d.ts +1 -1
- package/dist/api/resources/flows/client/Client.d.ts +7 -6
- package/dist/api/resources/flows/client/Client.js +13 -12
- package/dist/api/resources/index.d.ts +1 -3
- package/dist/api/resources/index.js +2 -4
- package/dist/api/resources/rules/client/Client.d.ts +15 -14
- package/dist/api/resources/rules/client/Client.js +35 -34
- package/dist/api/resources/tests/client/Client.d.ts +8 -120
- package/dist/api/resources/tests/client/Client.js +6 -441
- package/dist/api/resources/tests/index.d.ts +1 -0
- package/dist/api/resources/tests/index.js +1 -0
- package/dist/api/resources/tests/resources/flows/client/Client.d.ts +82 -0
- package/dist/api/resources/tests/resources/flows/client/Client.js +257 -0
- package/dist/api/resources/tests/resources/flows/client/index.d.ts +1 -0
- package/dist/api/resources/tests/resources/flows/client/index.js +2 -0
- package/dist/api/resources/tests/resources/flows/index.d.ts +1 -0
- package/dist/api/resources/tests/resources/flows/index.js +17 -0
- package/dist/api/resources/tests/resources/index.d.ts +2 -0
- package/dist/api/resources/tests/resources/index.js +28 -0
- package/dist/api/resources/tests/resources/rules/client/Client.d.ts +82 -0
- package/dist/api/resources/tests/resources/rules/client/Client.js +257 -0
- package/dist/api/resources/tests/resources/rules/client/index.d.ts +1 -0
- package/dist/api/resources/tests/resources/rules/client/index.js +2 -0
- package/dist/api/resources/tests/resources/rules/index.d.ts +1 -0
- package/dist/api/resources/tests/resources/rules/index.js +17 -0
- package/dist/api/resources/users/client/Client.d.ts +12 -35
- package/dist/api/resources/users/client/Client.js +21 -137
- package/dist/api/resources/users/client/requests/UserInviteRequest.d.ts +2 -2
- package/dist/api/resources/users/client/requests/index.d.ts +0 -1
- package/dist/api/resources/users/index.d.ts +1 -0
- package/dist/api/resources/users/index.js +1 -0
- package/dist/api/resources/users/resources/groups/client/Client.d.ts +58 -0
- package/dist/api/resources/users/resources/groups/client/Client.js +181 -0
- package/dist/api/resources/users/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/users/resources/groups/client/index.js +17 -0
- package/dist/api/resources/users/resources/groups/client/requests/index.d.ts +1 -0
- package/dist/api/resources/users/resources/groups/client/requests/index.js +2 -0
- package/dist/api/resources/users/resources/groups/index.d.ts +1 -0
- package/dist/api/resources/users/resources/groups/index.js +17 -0
- package/dist/api/resources/users/resources/index.d.ts +2 -0
- package/dist/api/resources/users/resources/index.js +31 -0
- package/dist/api/resources/values/client/Client.d.ts +73 -18
- package/dist/api/resources/values/client/Client.js +101 -39
- package/dist/api/resources/values/client/requests/UpdateValuesRequest.d.ts +81 -4
- package/{api/resources/values/client/requests/DeleteRequest.d.ts → dist/api/resources/values/client/requests/ValuesDeleteRequest.d.ts} +1 -1
- package/dist/api/resources/values/client/requests/ValuesListRequest.d.ts +24 -0
- package/dist/api/resources/values/client/requests/index.d.ts +2 -2
- package/dist/api/resources/values/index.d.ts +0 -1
- package/dist/api/resources/values/index.js +0 -1
- package/dist/api/types/BulkRuleResponseItem.d.ts +2 -2
- package/dist/api/types/DecisionLog.d.ts +4 -4
- package/dist/api/types/DecisionLogDecision.d.ts +2 -2
- package/dist/api/types/DecisionLogResponse.d.ts +2 -2
- package/dist/api/types/DynamicValue.d.ts +13 -15
- package/dist/api/types/DynamicValueListResponse.d.ts +2 -2
- package/dist/api/types/FlowDetail.d.ts +2 -2
- package/dist/api/types/FlowListResponse.d.ts +2 -2
- package/dist/api/types/FolderListResponse.d.ts +2 -2
- package/dist/api/types/ParallelSolveRequest.d.ts +2 -2
- package/dist/api/types/ParallelSolveResponse.d.ts +2 -2
- package/dist/api/types/RuleDetail.d.ts +5 -5
- package/dist/api/types/RuleListResponse.d.ts +2 -2
- package/dist/api/types/SchemaField.d.ts +3 -3
- package/dist/api/types/Test.d.ts +2 -2
- package/dist/api/types/TestListResponse.d.ts +2 -2
- package/dist/api/types/TestTestState.d.ts +3 -3
- package/dist/api/types/UserGroupListResponse.d.ts +2 -2
- package/dist/api/types/UserInviteResponse.d.ts +2 -2
- package/dist/api/types/index.d.ts +0 -6
- package/dist/api/types/index.js +0 -6
- package/dist/environments.d.ts +7 -0
- package/dist/environments.js +9 -0
- package/dist/errors/{RulebricksApiError.d.ts → RulebricksError.d.ts} +1 -1
- package/dist/errors/{RulebricksApiError.js → RulebricksError.js} +4 -4
- package/dist/errors/{RulebricksApiTimeoutError.d.ts → RulebricksTimeoutError.d.ts} +1 -1
- package/dist/errors/RulebricksTimeoutError.js +13 -0
- package/dist/errors/index.d.ts +2 -2
- package/dist/errors/index.js +5 -5
- package/dist/forge/rule.d.ts +2 -2
- package/dist/forge/rule.js +8 -8
- package/dist/forge/values.d.ts +2 -2
- package/dist/index.d.ts +4 -3
- package/dist/index.js +7 -5
- package/dist/serialization/resources/assets/index.d.ts +1 -1
- package/dist/serialization/resources/assets/index.js +1 -1
- package/dist/serialization/resources/assets/resources/folders/client/index.d.ts +1 -0
- package/dist/serialization/resources/assets/resources/folders/client/index.js +17 -0
- package/dist/serialization/resources/assets/resources/folders/client/requests/DeleteFolderRequest.d.ts +12 -0
- package/dist/serialization/resources/assets/{client → resources/folders/client}/requests/DeleteFolderRequest.js +1 -1
- package/dist/serialization/resources/assets/{client → resources/folders/client}/requests/UpsertFolderRequest.d.ts +4 -4
- package/{serialization/resources/assets → dist/serialization/resources/assets/resources/folders}/client/requests/UpsertFolderRequest.js +1 -1
- package/dist/serialization/resources/assets/{client → resources/folders/client}/requests/index.d.ts +0 -2
- package/dist/serialization/resources/assets/resources/folders/client/requests/index.js +7 -0
- package/dist/serialization/resources/assets/resources/folders/index.d.ts +1 -0
- package/dist/serialization/resources/assets/resources/folders/index.js +17 -0
- package/dist/serialization/resources/assets/resources/index.d.ts +4 -0
- package/dist/serialization/resources/assets/resources/index.js +33 -0
- package/dist/serialization/resources/assets/resources/rules/client/index.d.ts +1 -0
- package/dist/serialization/resources/assets/resources/rules/client/index.js +17 -0
- package/dist/serialization/resources/assets/resources/rules/client/requests/DeleteRuleRequest.d.ts +12 -0
- package/dist/serialization/resources/assets/{client → resources/rules/client}/requests/DeleteRuleRequest.js +1 -1
- package/dist/serialization/resources/assets/resources/rules/client/requests/ImportRuleRequest.d.ts +12 -0
- package/{serialization/resources/assets → dist/serialization/resources/assets/resources/rules}/client/requests/ImportRuleRequest.js +1 -1
- package/dist/serialization/resources/assets/resources/rules/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/assets/resources/rules/client/requests/index.js +7 -0
- package/dist/serialization/resources/assets/resources/rules/index.d.ts +1 -0
- package/dist/serialization/resources/assets/resources/rules/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +2 -4
- package/dist/serialization/resources/index.js +3 -5
- package/dist/serialization/resources/rules/client/bulkSolve.d.ts +3 -3
- package/dist/serialization/resources/users/client/requests/UserInviteRequest.d.ts +2 -2
- package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/requests/index.js +1 -3
- package/dist/serialization/resources/users/index.d.ts +1 -0
- package/dist/serialization/resources/users/index.js +1 -0
- package/dist/serialization/resources/users/resources/groups/client/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/groups/client/index.js +17 -0
- package/dist/serialization/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.d.ts +4 -4
- package/dist/serialization/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.js +1 -1
- package/dist/serialization/resources/users/resources/groups/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/groups/client/requests/index.js +5 -0
- package/dist/serialization/resources/users/resources/groups/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/groups/index.js +17 -0
- package/dist/serialization/resources/users/resources/index.d.ts +2 -0
- package/dist/serialization/resources/users/resources/index.js +31 -0
- package/dist/serialization/resources/users/types/UserInviteRequestRole.d.ts +2 -2
- package/dist/serialization/resources/values/client/requests/UpdateValuesRequest.d.ts +3 -4
- package/dist/serialization/resources/values/client/requests/UpdateValuesRequest.js +1 -2
- package/dist/serialization/resources/values/index.d.ts +0 -1
- package/dist/serialization/resources/values/index.js +0 -1
- package/dist/serialization/types/BulkRuleResponseItem.d.ts +2 -2
- package/dist/serialization/types/BulkRuleResponseItemError.d.ts +2 -2
- package/dist/serialization/types/CreateTestRequest.d.ts +2 -2
- package/dist/serialization/types/DecisionLog.d.ts +2 -2
- package/dist/serialization/types/DecisionLogDecision.d.ts +2 -2
- package/dist/serialization/types/DecisionLogDecisionConditionsItemValue.d.ts +2 -2
- package/dist/serialization/types/DecisionLogRequest.d.ts +2 -2
- package/dist/serialization/types/DecisionLogResponse.d.ts +2 -2
- package/dist/serialization/types/DynamicRequestPayload.d.ts +2 -2
- package/dist/serialization/types/DynamicResponsePayload.d.ts +2 -2
- package/dist/serialization/types/DynamicValue.d.ts +10 -18
- package/dist/serialization/types/DynamicValue.js +8 -14
- package/dist/serialization/types/DynamicValueListResponse.d.ts +2 -2
- package/dist/serialization/types/Error_.d.ts +2 -2
- package/dist/serialization/types/FlowBase.d.ts +2 -2
- package/dist/serialization/types/FlowDetail.d.ts +2 -2
- package/dist/serialization/types/FlowExecutionError.d.ts +2 -2
- package/dist/serialization/types/FlowListResponse.d.ts +2 -2
- package/dist/serialization/types/Folder.d.ts +2 -2
- package/dist/serialization/types/FolderListResponse.d.ts +2 -2
- package/dist/serialization/types/ParallelSolveRequest.d.ts +2 -2
- package/dist/serialization/types/ParallelSolveRequestValue.d.ts +2 -2
- package/dist/serialization/types/ParallelSolveResponse.d.ts +2 -2
- package/dist/serialization/types/RuleBase.d.ts +2 -2
- package/dist/serialization/types/RuleDetail.d.ts +2 -2
- package/dist/serialization/types/RuleExport.d.ts +2 -2
- package/dist/serialization/types/RuleListResponse.d.ts +2 -2
- package/dist/serialization/types/RuleUsage.d.ts +2 -2
- package/dist/serialization/types/SchemaField.d.ts +2 -2
- package/dist/serialization/types/SchemaFieldDefaultValue.d.ts +2 -2
- package/dist/serialization/types/SchemaFieldType.d.ts +2 -2
- package/dist/serialization/types/SuccessMessage.d.ts +2 -2
- package/dist/serialization/types/Test.d.ts +2 -2
- package/dist/serialization/types/TestListResponse.d.ts +2 -2
- package/dist/serialization/types/TestTestState.d.ts +2 -2
- package/dist/serialization/types/TestTestStateConditionsItemValue.d.ts +2 -2
- package/dist/serialization/types/TestTestStateEvaluationError.d.ts +2 -2
- package/dist/serialization/types/UsageStatistics.d.ts +2 -2
- package/dist/serialization/types/UserGroup.d.ts +2 -2
- package/dist/serialization/types/UserGroupListResponse.d.ts +2 -2
- package/dist/serialization/types/UserInviteResponse.d.ts +2 -2
- package/dist/serialization/types/UserInviteResponseUser.d.ts +2 -2
- package/dist/serialization/types/ValueLimits.d.ts +2 -2
- package/dist/serialization/types/index.d.ts +0 -6
- package/dist/serialization/types/index.js +0 -6
- package/environments.d.ts +7 -0
- package/environments.js +9 -0
- package/errors/{RulebricksApiError.d.ts → RulebricksError.d.ts} +1 -1
- package/errors/{RulebricksApiError.js → RulebricksError.js} +4 -4
- package/errors/{RulebricksApiTimeoutError.d.ts → RulebricksTimeoutError.d.ts} +1 -1
- package/errors/RulebricksTimeoutError.js +13 -0
- package/errors/index.d.ts +2 -2
- package/errors/index.js +5 -5
- package/forge/rule.d.ts +2 -2
- package/forge/rule.js +8 -8
- package/forge/values.d.ts +2 -2
- package/index.d.ts +4 -3
- package/index.js +7 -5
- package/package.json +1 -1
- package/serialization/resources/assets/index.d.ts +1 -1
- package/serialization/resources/assets/index.js +1 -1
- package/serialization/resources/assets/resources/folders/client/index.d.ts +1 -0
- package/serialization/resources/assets/resources/folders/client/index.js +17 -0
- package/serialization/resources/assets/resources/folders/client/requests/DeleteFolderRequest.d.ts +12 -0
- package/serialization/resources/assets/{client → resources/folders/client}/requests/DeleteFolderRequest.js +1 -1
- package/serialization/resources/assets/{client → resources/folders/client}/requests/UpsertFolderRequest.d.ts +4 -4
- package/{dist/serialization/resources/assets → serialization/resources/assets/resources/folders}/client/requests/UpsertFolderRequest.js +1 -1
- package/serialization/resources/assets/{client → resources/folders/client}/requests/index.d.ts +0 -2
- package/serialization/resources/assets/resources/folders/client/requests/index.js +7 -0
- package/serialization/resources/assets/resources/folders/index.d.ts +1 -0
- package/serialization/resources/assets/resources/folders/index.js +17 -0
- package/serialization/resources/assets/resources/index.d.ts +4 -0
- package/serialization/resources/assets/resources/index.js +33 -0
- package/serialization/resources/assets/resources/rules/client/index.d.ts +1 -0
- package/serialization/resources/assets/resources/rules/client/index.js +17 -0
- package/serialization/resources/assets/resources/rules/client/requests/DeleteRuleRequest.d.ts +12 -0
- package/serialization/resources/assets/{client → resources/rules/client}/requests/DeleteRuleRequest.js +1 -1
- package/serialization/resources/assets/resources/rules/client/requests/ImportRuleRequest.d.ts +12 -0
- package/{dist/serialization/resources/assets → serialization/resources/assets/resources/rules}/client/requests/ImportRuleRequest.js +1 -1
- package/serialization/resources/assets/resources/rules/client/requests/index.d.ts +2 -0
- package/serialization/resources/assets/resources/rules/client/requests/index.js +7 -0
- package/serialization/resources/assets/resources/rules/index.d.ts +1 -0
- package/serialization/resources/assets/resources/rules/index.js +17 -0
- package/serialization/resources/index.d.ts +2 -4
- package/serialization/resources/index.js +3 -5
- package/serialization/resources/rules/client/bulkSolve.d.ts +3 -3
- package/serialization/resources/users/client/requests/UserInviteRequest.d.ts +2 -2
- package/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/client/requests/index.js +1 -3
- package/serialization/resources/users/index.d.ts +1 -0
- package/serialization/resources/users/index.js +1 -0
- package/serialization/resources/users/resources/groups/client/index.d.ts +1 -0
- package/serialization/resources/users/resources/groups/client/index.js +17 -0
- package/serialization/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.d.ts +4 -4
- package/serialization/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.js +1 -1
- package/serialization/resources/users/resources/groups/client/requests/index.d.ts +1 -0
- package/serialization/resources/users/resources/groups/client/requests/index.js +5 -0
- package/serialization/resources/users/resources/groups/index.d.ts +1 -0
- package/serialization/resources/users/resources/groups/index.js +17 -0
- package/serialization/resources/users/resources/index.d.ts +2 -0
- package/serialization/resources/users/resources/index.js +31 -0
- package/serialization/resources/users/types/UserInviteRequestRole.d.ts +2 -2
- package/serialization/resources/values/client/requests/UpdateValuesRequest.d.ts +3 -4
- package/serialization/resources/values/client/requests/UpdateValuesRequest.js +1 -2
- package/serialization/resources/values/index.d.ts +0 -1
- package/serialization/resources/values/index.js +0 -1
- package/serialization/types/BulkRuleResponseItem.d.ts +2 -2
- package/serialization/types/BulkRuleResponseItemError.d.ts +2 -2
- package/serialization/types/CreateTestRequest.d.ts +2 -2
- package/serialization/types/DecisionLog.d.ts +2 -2
- package/serialization/types/DecisionLogDecision.d.ts +2 -2
- package/serialization/types/DecisionLogDecisionConditionsItemValue.d.ts +2 -2
- package/serialization/types/DecisionLogRequest.d.ts +2 -2
- package/serialization/types/DecisionLogResponse.d.ts +2 -2
- package/serialization/types/DynamicRequestPayload.d.ts +2 -2
- package/serialization/types/DynamicResponsePayload.d.ts +2 -2
- package/serialization/types/DynamicValue.d.ts +10 -18
- package/serialization/types/DynamicValue.js +8 -14
- package/serialization/types/DynamicValueListResponse.d.ts +2 -2
- package/serialization/types/Error_.d.ts +2 -2
- package/serialization/types/FlowBase.d.ts +2 -2
- package/serialization/types/FlowDetail.d.ts +2 -2
- package/serialization/types/FlowExecutionError.d.ts +2 -2
- package/serialization/types/FlowListResponse.d.ts +2 -2
- package/serialization/types/Folder.d.ts +2 -2
- package/serialization/types/FolderListResponse.d.ts +2 -2
- package/serialization/types/ParallelSolveRequest.d.ts +2 -2
- package/serialization/types/ParallelSolveRequestValue.d.ts +2 -2
- package/serialization/types/ParallelSolveResponse.d.ts +2 -2
- package/serialization/types/RuleBase.d.ts +2 -2
- package/serialization/types/RuleDetail.d.ts +2 -2
- package/serialization/types/RuleExport.d.ts +2 -2
- package/serialization/types/RuleListResponse.d.ts +2 -2
- package/serialization/types/RuleUsage.d.ts +2 -2
- package/serialization/types/SchemaField.d.ts +2 -2
- package/serialization/types/SchemaFieldDefaultValue.d.ts +2 -2
- package/serialization/types/SchemaFieldType.d.ts +2 -2
- package/serialization/types/SuccessMessage.d.ts +2 -2
- package/serialization/types/Test.d.ts +2 -2
- package/serialization/types/TestListResponse.d.ts +2 -2
- package/serialization/types/TestTestState.d.ts +2 -2
- package/serialization/types/TestTestStateConditionsItemValue.d.ts +2 -2
- package/serialization/types/TestTestStateEvaluationError.d.ts +2 -2
- package/serialization/types/UsageStatistics.d.ts +2 -2
- package/serialization/types/UserGroup.d.ts +2 -2
- package/serialization/types/UserGroupListResponse.d.ts +2 -2
- package/serialization/types/UserInviteResponse.d.ts +2 -2
- package/serialization/types/UserInviteResponseUser.d.ts +2 -2
- package/serialization/types/ValueLimits.d.ts +2 -2
- package/serialization/types/index.d.ts +0 -6
- package/serialization/types/index.js +0 -6
- package/api/resources/assets/client/requests/index.d.ts +0 -6
- package/api/resources/values/client/requests/ListRequest.d.ts +0 -13
- package/api/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -4
- package/api/resources/values/types/index.d.ts +0 -1
- package/api/resources/values/types/index.js +0 -17
- package/api/types/BooleanValue.d.ts +0 -8
- package/api/types/DynamicValueBase.d.ts +0 -14
- package/api/types/ListValue.d.ts +0 -8
- package/api/types/ListValueValueItem.d.ts +0 -4
- package/api/types/NumberValue.d.ts +0 -8
- package/api/types/NumberValue.js +0 -5
- package/api/types/StringValue.d.ts +0 -8
- package/api/types/StringValue.js +0 -5
- package/dist/api/resources/assets/client/requests/ExportRuleRequest.js +0 -5
- package/dist/api/resources/assets/client/requests/ListRulesRequest.js +0 -5
- package/dist/api/resources/assets/client/requests/index.d.ts +0 -6
- package/dist/api/resources/decisions/client/requests/QueryRequest.js +0 -5
- package/dist/api/resources/values/client/requests/DeleteRequest.js +0 -5
- package/dist/api/resources/values/client/requests/ListRequest.d.ts +0 -13
- package/dist/api/resources/values/client/requests/ListRequest.js +0 -5
- package/dist/api/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -4
- package/dist/api/resources/values/types/UpdateValuesRequestValuesValue.js +0 -5
- package/dist/api/resources/values/types/index.d.ts +0 -1
- package/dist/api/types/BooleanValue.d.ts +0 -8
- package/dist/api/types/BooleanValue.js +0 -5
- package/dist/api/types/DynamicValueBase.d.ts +0 -14
- package/dist/api/types/DynamicValueBase.js +0 -5
- package/dist/api/types/ListValue.d.ts +0 -8
- package/dist/api/types/ListValue.js +0 -5
- package/dist/api/types/ListValueValueItem.d.ts +0 -4
- package/dist/api/types/ListValueValueItem.js +0 -5
- package/dist/api/types/NumberValue.d.ts +0 -8
- package/dist/api/types/NumberValue.js +0 -5
- package/dist/api/types/StringValue.d.ts +0 -8
- package/dist/api/types/StringValue.js +0 -5
- package/dist/errors/RulebricksApiTimeoutError.js +0 -13
- package/dist/serialization/resources/assets/client/requests/DeleteFolderRequest.d.ts +0 -12
- package/dist/serialization/resources/assets/client/requests/DeleteRuleRequest.d.ts +0 -12
- package/dist/serialization/resources/assets/client/requests/ImportRuleRequest.d.ts +0 -12
- package/dist/serialization/resources/assets/client/requests/index.js +0 -11
- package/dist/serialization/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -10
- package/dist/serialization/resources/values/types/UpdateValuesRequestValuesValue.js +0 -36
- package/dist/serialization/resources/values/types/index.d.ts +0 -1
- package/dist/serialization/types/BooleanValue.d.ts +0 -13
- package/dist/serialization/types/BooleanValue.js +0 -36
- package/dist/serialization/types/DynamicValueBase.d.ts +0 -16
- package/dist/serialization/types/DynamicValueBase.js +0 -37
- package/dist/serialization/types/ListValue.d.ts +0 -14
- package/dist/serialization/types/ListValue.js +0 -37
- package/dist/serialization/types/ListValueValueItem.d.ts +0 -10
- package/dist/serialization/types/ListValueValueItem.js +0 -37
- package/dist/serialization/types/NumberValue.d.ts +0 -13
- package/dist/serialization/types/NumberValue.js +0 -36
- package/dist/serialization/types/StringValue.d.ts +0 -13
- package/dist/serialization/types/StringValue.js +0 -36
- package/errors/RulebricksApiTimeoutError.js +0 -13
- package/serialization/resources/assets/client/requests/DeleteFolderRequest.d.ts +0 -12
- package/serialization/resources/assets/client/requests/DeleteRuleRequest.d.ts +0 -12
- package/serialization/resources/assets/client/requests/ImportRuleRequest.d.ts +0 -12
- package/serialization/resources/assets/client/requests/index.js +0 -11
- package/serialization/resources/values/types/UpdateValuesRequestValuesValue.d.ts +0 -10
- package/serialization/resources/values/types/UpdateValuesRequestValuesValue.js +0 -36
- package/serialization/resources/values/types/index.d.ts +0 -1
- package/serialization/resources/values/types/index.js +0 -17
- package/serialization/types/BooleanValue.d.ts +0 -13
- package/serialization/types/BooleanValue.js +0 -36
- package/serialization/types/DynamicValueBase.d.ts +0 -16
- package/serialization/types/DynamicValueBase.js +0 -37
- package/serialization/types/ListValue.d.ts +0 -14
- package/serialization/types/ListValue.js +0 -37
- package/serialization/types/ListValueValueItem.d.ts +0 -10
- package/serialization/types/ListValueValueItem.js +0 -37
- package/serialization/types/NumberValue.d.ts +0 -13
- package/serialization/types/NumberValue.js +0 -36
- package/serialization/types/StringValue.d.ts +0 -13
- package/serialization/types/StringValue.js +0 -36
- /package/api/resources/assets/{client/requests → resources/flows/client}/index.js +0 -0
- /package/{dist/serialization/resources/assets → api/resources/assets/resources/folders}/client/index.d.ts +0 -0
- /package/{dist/serialization/resources/assets → api/resources/assets/resources/folders}/client/index.js +0 -0
- /package/api/resources/assets/{client → resources/folders/client}/requests/DeleteFolderRequest.d.ts +0 -0
- /package/api/resources/assets/{client → resources/folders/client}/requests/DeleteFolderRequest.js +0 -0
- /package/api/resources/assets/{client → resources/folders/client}/requests/UpsertFolderRequest.d.ts +0 -0
- /package/api/resources/assets/{client → resources/folders/client}/requests/UpsertFolderRequest.js +0 -0
- /package/{dist/api/resources/assets → api/resources/assets/resources/folders}/client/requests/index.js +0 -0
- /package/{serialization/resources/assets → api/resources/assets/resources/rules}/client/index.d.ts +0 -0
- /package/{serialization/resources/assets → api/resources/assets/resources/rules}/client/index.js +0 -0
- /package/api/resources/assets/{client → resources/rules/client}/requests/DeleteRuleRequest.d.ts +0 -0
- /package/api/resources/assets/{client → resources/rules/client}/requests/DeleteRuleRequest.js +0 -0
- /package/api/resources/assets/{client → resources/rules/client}/requests/ImportRuleRequest.d.ts +0 -0
- /package/api/resources/assets/{client → resources/rules/client}/requests/ImportRuleRequest.js +0 -0
- /package/api/resources/assets/{client/requests/ExportRuleRequest.js → resources/rules/client/requests/RulesListRequest.js} +0 -0
- /package/api/resources/assets/{client/requests/ListRulesRequest.js → resources/rules/client/requests/RulesPullRequest.js} +0 -0
- /package/api/resources/decisions/client/requests/{QueryRequest.js → DecisionsQueryRequest.js} +0 -0
- /package/api/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.d.ts +0 -0
- /package/api/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.js +0 -0
- /package/api/resources/values/client/requests/{DeleteRequest.js → ValuesDeleteRequest.js} +0 -0
- /package/api/resources/values/client/requests/{ListRequest.js → ValuesListRequest.js} +0 -0
- /package/dist/api/resources/assets/{client → resources/folders/client}/requests/DeleteFolderRequest.d.ts +0 -0
- /package/dist/api/resources/assets/{client → resources/folders/client}/requests/DeleteFolderRequest.js +0 -0
- /package/dist/api/resources/assets/{client → resources/folders/client}/requests/UpsertFolderRequest.d.ts +0 -0
- /package/dist/api/resources/assets/{client → resources/folders/client}/requests/UpsertFolderRequest.js +0 -0
- /package/dist/api/resources/assets/{client → resources/rules/client}/requests/DeleteRuleRequest.d.ts +0 -0
- /package/dist/api/resources/assets/{client → resources/rules/client}/requests/DeleteRuleRequest.js +0 -0
- /package/dist/api/resources/assets/{client → resources/rules/client}/requests/ImportRuleRequest.d.ts +0 -0
- /package/dist/api/resources/assets/{client → resources/rules/client}/requests/ImportRuleRequest.js +0 -0
- /package/{api/resources/values/types/UpdateValuesRequestValuesValue.js → dist/api/resources/assets/resources/rules/client/requests/RulesListRequest.js} +0 -0
- /package/{api/types/BooleanValue.js → dist/api/resources/assets/resources/rules/client/requests/RulesPullRequest.js} +0 -0
- /package/{api/types/DynamicValueBase.js → dist/api/resources/decisions/client/requests/DecisionsQueryRequest.js} +0 -0
- /package/dist/api/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.d.ts +0 -0
- /package/dist/api/resources/users/{client → resources/groups/client}/requests/CreateUserGroupRequest.js +0 -0
- /package/{api/types/ListValue.js → dist/api/resources/values/client/requests/ValuesDeleteRequest.js} +0 -0
- /package/{api/types/ListValueValueItem.js → dist/api/resources/values/client/requests/ValuesListRequest.js} +0 -0
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { DynamicValue } from "./DynamicValue";
|
|
8
|
-
export declare const DynamicValueListResponse: core.serialization.Schema<serializers.DynamicValueListResponse.Raw,
|
|
8
|
+
export declare const DynamicValueListResponse: core.serialization.Schema<serializers.DynamicValueListResponse.Raw, Rulebricks.DynamicValueListResponse>;
|
|
9
9
|
export declare namespace DynamicValueListResponse {
|
|
10
10
|
type Raw = DynamicValue.Raw[];
|
|
11
11
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const Error_: core.serialization.ObjectSchema<serializers.Error_.Raw,
|
|
7
|
+
export declare const Error_: core.serialization.ObjectSchema<serializers.Error_.Raw, Rulebricks.Error_>;
|
|
8
8
|
export declare namespace Error_ {
|
|
9
9
|
interface Raw {
|
|
10
10
|
error?: string | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const FlowBase: core.serialization.ObjectSchema<serializers.FlowBase.Raw,
|
|
7
|
+
export declare const FlowBase: core.serialization.ObjectSchema<serializers.FlowBase.Raw, Rulebricks.FlowBase>;
|
|
8
8
|
export declare namespace FlowBase {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FlowBase } from "./FlowBase";
|
|
8
|
-
export declare const FlowDetail: core.serialization.ObjectSchema<serializers.FlowDetail.Raw,
|
|
8
|
+
export declare const FlowDetail: core.serialization.ObjectSchema<serializers.FlowDetail.Raw, Rulebricks.FlowDetail>;
|
|
9
9
|
export declare namespace FlowDetail {
|
|
10
10
|
interface Raw extends FlowBase.Raw {
|
|
11
11
|
published?: boolean | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const FlowExecutionError: core.serialization.ObjectSchema<serializers.FlowExecutionError.Raw,
|
|
7
|
+
export declare const FlowExecutionError: core.serialization.ObjectSchema<serializers.FlowExecutionError.Raw, Rulebricks.FlowExecutionError>;
|
|
8
8
|
export declare namespace FlowExecutionError {
|
|
9
9
|
interface Raw {
|
|
10
10
|
error?: string | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { FlowDetail } from "./FlowDetail";
|
|
8
|
-
export declare const FlowListResponse: core.serialization.Schema<serializers.FlowListResponse.Raw,
|
|
8
|
+
export declare const FlowListResponse: core.serialization.Schema<serializers.FlowListResponse.Raw, Rulebricks.FlowListResponse>;
|
|
9
9
|
export declare namespace FlowListResponse {
|
|
10
10
|
type Raw = FlowDetail.Raw[];
|
|
11
11
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const Folder: core.serialization.ObjectSchema<serializers.Folder.Raw,
|
|
7
|
+
export declare const Folder: core.serialization.ObjectSchema<serializers.Folder.Raw, Rulebricks.Folder>;
|
|
8
8
|
export declare namespace Folder {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { Folder } from "./Folder";
|
|
8
|
-
export declare const FolderListResponse: core.serialization.Schema<serializers.FolderListResponse.Raw,
|
|
8
|
+
export declare const FolderListResponse: core.serialization.Schema<serializers.FolderListResponse.Raw, Rulebricks.FolderListResponse>;
|
|
9
9
|
export declare namespace FolderListResponse {
|
|
10
10
|
type Raw = Folder.Raw[];
|
|
11
11
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ParallelSolveRequestValue } from "./ParallelSolveRequestValue";
|
|
8
|
-
export declare const ParallelSolveRequest: core.serialization.Schema<serializers.ParallelSolveRequest.Raw,
|
|
8
|
+
export declare const ParallelSolveRequest: core.serialization.Schema<serializers.ParallelSolveRequest.Raw, Rulebricks.ParallelSolveRequest>;
|
|
9
9
|
export declare namespace ParallelSolveRequest {
|
|
10
10
|
type Raw = Record<string, ParallelSolveRequestValue.Raw>;
|
|
11
11
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const ParallelSolveRequestValue: core.serialization.ObjectSchema<serializers.ParallelSolveRequestValue.Raw,
|
|
7
|
+
export declare const ParallelSolveRequestValue: core.serialization.ObjectSchema<serializers.ParallelSolveRequestValue.Raw, Rulebricks.ParallelSolveRequestValue>;
|
|
8
8
|
export declare namespace ParallelSolveRequestValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
$rule?: string | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { DynamicResponsePayload } from "./DynamicResponsePayload";
|
|
8
|
-
export declare const ParallelSolveResponse: core.serialization.Schema<serializers.ParallelSolveResponse.Raw,
|
|
8
|
+
export declare const ParallelSolveResponse: core.serialization.Schema<serializers.ParallelSolveResponse.Raw, Rulebricks.ParallelSolveResponse>;
|
|
9
9
|
export declare namespace ParallelSolveResponse {
|
|
10
10
|
type Raw = Record<string, DynamicResponsePayload.Raw>;
|
|
11
11
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const RuleBase: core.serialization.ObjectSchema<serializers.RuleBase.Raw,
|
|
7
|
+
export declare const RuleBase: core.serialization.ObjectSchema<serializers.RuleBase.Raw, Rulebricks.RuleBase>;
|
|
8
8
|
export declare namespace RuleBase {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { Folder } from "./Folder";
|
|
8
8
|
import { SchemaField } from "./SchemaField";
|
|
9
9
|
import { RuleBase } from "./RuleBase";
|
|
10
|
-
export declare const RuleDetail: core.serialization.ObjectSchema<serializers.RuleDetail.Raw,
|
|
10
|
+
export declare const RuleDetail: core.serialization.ObjectSchema<serializers.RuleDetail.Raw, Rulebricks.RuleDetail>;
|
|
11
11
|
export declare namespace RuleDetail {
|
|
12
12
|
interface Raw extends RuleBase.Raw {
|
|
13
13
|
created_at?: string | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const RuleExport: core.serialization.Schema<serializers.RuleExport.Raw,
|
|
7
|
+
export declare const RuleExport: core.serialization.Schema<serializers.RuleExport.Raw, Rulebricks.RuleExport>;
|
|
8
8
|
export declare namespace RuleExport {
|
|
9
9
|
type Raw = Record<string, unknown>;
|
|
10
10
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { RuleDetail } from "./RuleDetail";
|
|
8
|
-
export declare const RuleListResponse: core.serialization.Schema<serializers.RuleListResponse.Raw,
|
|
8
|
+
export declare const RuleListResponse: core.serialization.Schema<serializers.RuleListResponse.Raw, Rulebricks.RuleListResponse>;
|
|
9
9
|
export declare namespace RuleListResponse {
|
|
10
10
|
type Raw = RuleDetail.Raw[];
|
|
11
11
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const RuleUsage: core.serialization.ObjectSchema<serializers.RuleUsage.Raw,
|
|
7
|
+
export declare const RuleUsage: core.serialization.ObjectSchema<serializers.RuleUsage.Raw, Rulebricks.RuleUsage>;
|
|
8
8
|
export declare namespace RuleUsage {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { SchemaFieldType } from "./SchemaFieldType";
|
|
8
8
|
import { SchemaFieldDefaultValue } from "./SchemaFieldDefaultValue";
|
|
9
|
-
export declare const SchemaField: core.serialization.ObjectSchema<serializers.SchemaField.Raw,
|
|
9
|
+
export declare const SchemaField: core.serialization.ObjectSchema<serializers.SchemaField.Raw, Rulebricks.SchemaField>;
|
|
10
10
|
export declare namespace SchemaField {
|
|
11
11
|
interface Raw {
|
|
12
12
|
key?: string | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const SchemaFieldDefaultValue: core.serialization.Schema<serializers.SchemaFieldDefaultValue.Raw,
|
|
7
|
+
export declare const SchemaFieldDefaultValue: core.serialization.Schema<serializers.SchemaFieldDefaultValue.Raw, Rulebricks.SchemaFieldDefaultValue>;
|
|
8
8
|
export declare namespace SchemaFieldDefaultValue {
|
|
9
9
|
type Raw = string | number | boolean | Record<string, unknown> | unknown[];
|
|
10
10
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const SchemaFieldType: core.serialization.Schema<serializers.SchemaFieldType.Raw,
|
|
7
|
+
export declare const SchemaFieldType: core.serialization.Schema<serializers.SchemaFieldType.Raw, Rulebricks.SchemaFieldType>;
|
|
8
8
|
export declare namespace SchemaFieldType {
|
|
9
9
|
type Raw = "string" | "number" | "boolean" | "object" | "array";
|
|
10
10
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const SuccessMessage: core.serialization.ObjectSchema<serializers.SuccessMessage.Raw,
|
|
7
|
+
export declare const SuccessMessage: core.serialization.ObjectSchema<serializers.SuccessMessage.Raw, Rulebricks.SuccessMessage>;
|
|
8
8
|
export declare namespace SuccessMessage {
|
|
9
9
|
interface Raw {
|
|
10
10
|
message?: string | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TestTestState } from "./TestTestState";
|
|
8
|
-
export declare const Test: core.serialization.ObjectSchema<serializers.Test.Raw,
|
|
8
|
+
export declare const Test: core.serialization.ObjectSchema<serializers.Test.Raw, Rulebricks.Test>;
|
|
9
9
|
export declare namespace Test {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id: string;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { Test } from "./Test";
|
|
8
|
-
export declare const TestListResponse: core.serialization.Schema<serializers.TestListResponse.Raw,
|
|
8
|
+
export declare const TestListResponse: core.serialization.Schema<serializers.TestListResponse.Raw, Rulebricks.TestListResponse>;
|
|
9
9
|
export declare namespace TestListResponse {
|
|
10
10
|
type Raw = Test.Raw[];
|
|
11
11
|
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { TestTestStateConditionsItemValue } from "./TestTestStateConditionsItemValue";
|
|
8
8
|
import { TestTestStateEvaluationError } from "./TestTestStateEvaluationError";
|
|
9
|
-
export declare const TestTestState: core.serialization.ObjectSchema<serializers.TestTestState.Raw,
|
|
9
|
+
export declare const TestTestState: core.serialization.ObjectSchema<serializers.TestTestState.Raw, Rulebricks.TestTestState>;
|
|
10
10
|
export declare namespace TestTestState {
|
|
11
11
|
interface Raw {
|
|
12
12
|
duration?: number | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const TestTestStateConditionsItemValue: core.serialization.ObjectSchema<serializers.TestTestStateConditionsItemValue.Raw,
|
|
7
|
+
export declare const TestTestStateConditionsItemValue: core.serialization.ObjectSchema<serializers.TestTestStateConditionsItemValue.Raw, Rulebricks.TestTestStateConditionsItemValue>;
|
|
8
8
|
export declare namespace TestTestStateConditionsItemValue {
|
|
9
9
|
interface Raw {
|
|
10
10
|
result?: boolean | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const TestTestStateEvaluationError: core.serialization.Schema<serializers.TestTestStateEvaluationError.Raw,
|
|
7
|
+
export declare const TestTestStateEvaluationError: core.serialization.Schema<serializers.TestTestStateEvaluationError.Raw, Rulebricks.TestTestStateEvaluationError>;
|
|
8
8
|
export declare namespace TestTestStateEvaluationError {
|
|
9
9
|
type Raw = boolean | string;
|
|
10
10
|
}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const UsageStatistics: core.serialization.ObjectSchema<serializers.UsageStatistics.Raw,
|
|
7
|
+
export declare const UsageStatistics: core.serialization.ObjectSchema<serializers.UsageStatistics.Raw, Rulebricks.UsageStatistics>;
|
|
8
8
|
export declare namespace UsageStatistics {
|
|
9
9
|
interface Raw {
|
|
10
10
|
plan?: string | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const UserGroup: core.serialization.ObjectSchema<serializers.UserGroup.Raw,
|
|
7
|
+
export declare const UserGroup: core.serialization.ObjectSchema<serializers.UserGroup.Raw, Rulebricks.UserGroup>;
|
|
8
8
|
export declare namespace UserGroup {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { UserGroup } from "./UserGroup";
|
|
8
|
-
export declare const UserGroupListResponse: core.serialization.Schema<serializers.UserGroupListResponse.Raw,
|
|
8
|
+
export declare const UserGroupListResponse: core.serialization.Schema<serializers.UserGroupListResponse.Raw, Rulebricks.UserGroupListResponse>;
|
|
9
9
|
export declare namespace UserGroupListResponse {
|
|
10
10
|
type Raw = UserGroup.Raw[];
|
|
11
11
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { UserInviteResponseUser } from "./UserInviteResponseUser";
|
|
8
|
-
export declare const UserInviteResponse: core.serialization.ObjectSchema<serializers.UserInviteResponse.Raw,
|
|
8
|
+
export declare const UserInviteResponse: core.serialization.ObjectSchema<serializers.UserInviteResponse.Raw, Rulebricks.UserInviteResponse>;
|
|
9
9
|
export declare namespace UserInviteResponse {
|
|
10
10
|
interface Raw {
|
|
11
11
|
message?: string | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const UserInviteResponseUser: core.serialization.ObjectSchema<serializers.UserInviteResponseUser.Raw,
|
|
7
|
+
export declare const UserInviteResponseUser: core.serialization.ObjectSchema<serializers.UserInviteResponseUser.Raw, Rulebricks.UserInviteResponseUser>;
|
|
8
8
|
export declare namespace UserInviteResponseUser {
|
|
9
9
|
interface Raw {
|
|
10
10
|
email?: string | null;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as serializers from "../index";
|
|
5
|
-
import * as
|
|
5
|
+
import * as Rulebricks from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
export declare const ValueLimits: core.serialization.ObjectSchema<serializers.ValueLimits.Raw,
|
|
7
|
+
export declare const ValueLimits: core.serialization.ObjectSchema<serializers.ValueLimits.Raw, Rulebricks.ValueLimits>;
|
|
8
8
|
export declare namespace ValueLimits {
|
|
9
9
|
interface Raw {
|
|
10
10
|
MAX_KEYS?: number | null;
|
|
@@ -29,12 +29,6 @@ export * from "./DecisionLogDecisionConditionsItemValue";
|
|
|
29
29
|
export * from "./DecisionLogDecision";
|
|
30
30
|
export * from "./DecisionLog";
|
|
31
31
|
export * from "./UsageStatistics";
|
|
32
|
-
export * from "./DynamicValueBase";
|
|
33
|
-
export * from "./StringValue";
|
|
34
|
-
export * from "./NumberValue";
|
|
35
|
-
export * from "./BooleanValue";
|
|
36
|
-
export * from "./ListValueValueItem";
|
|
37
|
-
export * from "./ListValue";
|
|
38
32
|
export * from "./DynamicValue";
|
|
39
33
|
export * from "./DynamicValueListResponse";
|
|
40
34
|
export * from "./RuleUsage";
|
|
@@ -45,12 +45,6 @@ __exportStar(require("./DecisionLogDecisionConditionsItemValue"), exports);
|
|
|
45
45
|
__exportStar(require("./DecisionLogDecision"), exports);
|
|
46
46
|
__exportStar(require("./DecisionLog"), exports);
|
|
47
47
|
__exportStar(require("./UsageStatistics"), exports);
|
|
48
|
-
__exportStar(require("./DynamicValueBase"), exports);
|
|
49
|
-
__exportStar(require("./StringValue"), exports);
|
|
50
|
-
__exportStar(require("./NumberValue"), exports);
|
|
51
|
-
__exportStar(require("./BooleanValue"), exports);
|
|
52
|
-
__exportStar(require("./ListValueValueItem"), exports);
|
|
53
|
-
__exportStar(require("./ListValue"), exports);
|
|
54
48
|
__exportStar(require("./DynamicValue"), exports);
|
|
55
49
|
__exportStar(require("./DynamicValueListResponse"), exports);
|
|
56
50
|
__exportStar(require("./RuleUsage"), exports);
|
package/environments.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RulebricksEnvironment = void 0;
|
|
7
|
+
exports.RulebricksEnvironment = {
|
|
8
|
+
Default: "https://rulebricks.com/api/v1",
|
|
9
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class RulebricksError extends Error {
|
|
5
5
|
readonly statusCode?: number;
|
|
6
6
|
readonly body?: unknown;
|
|
7
7
|
constructor({ message, statusCode, body }: {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.RulebricksError = void 0;
|
|
7
7
|
const json_1 = require("../core/json");
|
|
8
|
-
class
|
|
8
|
+
class RulebricksError extends Error {
|
|
9
9
|
constructor({ message, statusCode, body }) {
|
|
10
10
|
super(buildMessage({ message, statusCode, body }));
|
|
11
|
-
Object.setPrototypeOf(this,
|
|
11
|
+
Object.setPrototypeOf(this, RulebricksError.prototype);
|
|
12
12
|
if (statusCode != null) {
|
|
13
13
|
this.statusCode = statusCode;
|
|
14
14
|
}
|
|
@@ -17,7 +17,7 @@ class RulebricksApiError extends Error {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
20
|
+
exports.RulebricksError = RulebricksError;
|
|
21
21
|
function buildMessage({ message, statusCode, body, }) {
|
|
22
22
|
let lines = [];
|
|
23
23
|
if (message != null) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.RulebricksTimeoutError = void 0;
|
|
7
|
+
class RulebricksTimeoutError extends Error {
|
|
8
|
+
constructor(message) {
|
|
9
|
+
super(message);
|
|
10
|
+
Object.setPrototypeOf(this, RulebricksTimeoutError.prototype);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.RulebricksTimeoutError = RulebricksTimeoutError;
|
package/errors/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { RulebricksError } from "./RulebricksError";
|
|
2
|
+
export { RulebricksTimeoutError } from "./RulebricksTimeoutError";
|
package/errors/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var
|
|
5
|
-
Object.defineProperty(exports, "
|
|
6
|
-
var
|
|
7
|
-
Object.defineProperty(exports, "
|
|
3
|
+
exports.RulebricksTimeoutError = exports.RulebricksError = void 0;
|
|
4
|
+
var RulebricksError_1 = require("./RulebricksError");
|
|
5
|
+
Object.defineProperty(exports, "RulebricksError", { enumerable: true, get: function () { return RulebricksError_1.RulebricksError; } });
|
|
6
|
+
var RulebricksTimeoutError_1 = require("./RulebricksTimeoutError");
|
|
7
|
+
Object.defineProperty(exports, "RulebricksTimeoutError", { enumerable: true, get: function () { return RulebricksTimeoutError_1.RulebricksTimeoutError; } });
|
package/forge/rule.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RulebricksClient } from "../Client.js";
|
|
2
2
|
import { Field, RuleSettings, OperatorResult } from "./types.js";
|
|
3
3
|
import { BooleanField, NumberField, StringField, DateField, ListField } from "./operators.js";
|
|
4
4
|
export declare class RuleTest {
|
|
@@ -80,7 +80,7 @@ export declare class Rule {
|
|
|
80
80
|
private generateUUID;
|
|
81
81
|
private generateSlug;
|
|
82
82
|
private getFieldType;
|
|
83
|
-
setWorkspace(client:
|
|
83
|
+
setWorkspace(client: RulebricksClient): Rule;
|
|
84
84
|
setName(name: string): Rule;
|
|
85
85
|
setDescription(description: string): Rule;
|
|
86
86
|
setFolder(folderName: string, createIfMissing?: boolean): Promise<Rule>;
|