@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,13 +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
|
-
|
|
8
|
-
export declare const UpdateValuesRequest: core.serialization.Schema<serializers.UpdateValuesRequest.Raw, RulebricksApi.UpdateValuesRequest>;
|
|
7
|
+
export declare const UpdateValuesRequest: core.serialization.Schema<serializers.UpdateValuesRequest.Raw, Rulebricks.UpdateValuesRequest>;
|
|
9
8
|
export declare namespace UpdateValuesRequest {
|
|
10
9
|
interface Raw {
|
|
11
|
-
values: Record<string,
|
|
10
|
+
values: Record<string, unknown>;
|
|
12
11
|
accessGroups?: string[] | null;
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -28,8 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.UpdateValuesRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
|
-
const UpdateValuesRequestValuesValue_1 = require("../../types/UpdateValuesRequestValuesValue");
|
|
32
31
|
exports.UpdateValuesRequest = core.serialization.object({
|
|
33
|
-
values: core.serialization.record(core.serialization.string(),
|
|
32
|
+
values: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
34
33
|
accessGroups: core.serialization.list(core.serialization.string()).optional(),
|
|
35
34
|
});
|
|
@@ -14,5 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
17
|
__exportStar(require("./client"), exports);
|
|
@@ -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 { DynamicResponsePayload } from "./DynamicResponsePayload";
|
|
8
8
|
import { BulkRuleResponseItemError } from "./BulkRuleResponseItemError";
|
|
9
|
-
export declare const BulkRuleResponseItem: core.serialization.Schema<serializers.BulkRuleResponseItem.Raw,
|
|
9
|
+
export declare const BulkRuleResponseItem: core.serialization.Schema<serializers.BulkRuleResponseItem.Raw, Rulebricks.BulkRuleResponseItem>;
|
|
10
10
|
export declare namespace BulkRuleResponseItem {
|
|
11
11
|
type Raw = DynamicResponsePayload.Raw | BulkRuleResponseItemError.Raw;
|
|
12
12
|
}
|
|
@@ -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 BulkRuleResponseItemError: core.serialization.ObjectSchema<serializers.BulkRuleResponseItemError.Raw,
|
|
7
|
+
export declare const BulkRuleResponseItemError: core.serialization.ObjectSchema<serializers.BulkRuleResponseItemError.Raw, Rulebricks.BulkRuleResponseItemError>;
|
|
8
8
|
export declare namespace BulkRuleResponseItemError {
|
|
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 CreateTestRequest: core.serialization.ObjectSchema<serializers.CreateTestRequest.Raw,
|
|
7
|
+
export declare const CreateTestRequest: core.serialization.ObjectSchema<serializers.CreateTestRequest.Raw, Rulebricks.CreateTestRequest>;
|
|
8
8
|
export declare namespace CreateTestRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
name: string;
|
|
@@ -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 { DecisionLogRequest } from "./DecisionLogRequest";
|
|
8
8
|
import { DecisionLogDecision } from "./DecisionLogDecision";
|
|
9
|
-
export declare const DecisionLog: core.serialization.ObjectSchema<serializers.DecisionLog.Raw,
|
|
9
|
+
export declare const DecisionLog: core.serialization.ObjectSchema<serializers.DecisionLog.Raw, Rulebricks.DecisionLog>;
|
|
10
10
|
export declare namespace DecisionLog {
|
|
11
11
|
interface Raw {
|
|
12
12
|
request?: DecisionLogRequest.Raw | 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 { DecisionLogDecisionConditionsItemValue } from "./DecisionLogDecisionConditionsItemValue";
|
|
8
|
-
export declare const DecisionLogDecision: core.serialization.ObjectSchema<serializers.DecisionLogDecision.Raw,
|
|
8
|
+
export declare const DecisionLogDecision: core.serialization.ObjectSchema<serializers.DecisionLogDecision.Raw, Rulebricks.DecisionLogDecision>;
|
|
9
9
|
export declare namespace DecisionLogDecision {
|
|
10
10
|
interface Raw {
|
|
11
11
|
conditions?: Record<string, DecisionLogDecisionConditionsItemValue.Raw>[] | 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 DecisionLogDecisionConditionsItemValue: core.serialization.ObjectSchema<serializers.DecisionLogDecisionConditionsItemValue.Raw,
|
|
7
|
+
export declare const DecisionLogDecisionConditionsItemValue: core.serialization.ObjectSchema<serializers.DecisionLogDecisionConditionsItemValue.Raw, Rulebricks.DecisionLogDecisionConditionsItemValue>;
|
|
8
8
|
export declare namespace DecisionLogDecisionConditionsItemValue {
|
|
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 DecisionLogRequest: core.serialization.ObjectSchema<serializers.DecisionLogRequest.Raw,
|
|
7
|
+
export declare const DecisionLogRequest: core.serialization.ObjectSchema<serializers.DecisionLogRequest.Raw, Rulebricks.DecisionLogRequest>;
|
|
8
8
|
export declare namespace DecisionLogRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
ip?: 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 DecisionLogResponse: core.serialization.ObjectSchema<serializers.DecisionLogResponse.Raw,
|
|
7
|
+
export declare const DecisionLogResponse: core.serialization.ObjectSchema<serializers.DecisionLogResponse.Raw, Rulebricks.DecisionLogResponse>;
|
|
8
8
|
export declare namespace DecisionLogResponse {
|
|
9
9
|
interface Raw {
|
|
10
10
|
data?: serializers.DecisionLog.Raw[] | 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 DynamicRequestPayload: core.serialization.Schema<serializers.DynamicRequestPayload.Raw,
|
|
7
|
+
export declare const DynamicRequestPayload: core.serialization.Schema<serializers.DynamicRequestPayload.Raw, Rulebricks.DynamicRequestPayload>;
|
|
8
8
|
export declare namespace DynamicRequestPayload {
|
|
9
9
|
type Raw = Record<string, 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 DynamicResponsePayload: core.serialization.Schema<serializers.DynamicResponsePayload.Raw,
|
|
7
|
+
export declare const DynamicResponsePayload: core.serialization.Schema<serializers.DynamicResponsePayload.Raw, Rulebricks.DynamicResponsePayload>;
|
|
8
8
|
export declare namespace DynamicResponsePayload {
|
|
9
9
|
type Raw = Record<string, unknown>;
|
|
10
10
|
}
|
|
@@ -2,25 +2,17 @@
|
|
|
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
|
-
import {
|
|
8
|
-
|
|
9
|
-
import { BooleanValue } from "./BooleanValue";
|
|
10
|
-
import { ListValue } from "./ListValue";
|
|
11
|
-
export declare const DynamicValue: core.serialization.Schema<serializers.DynamicValue.Raw, RulebricksApi.DynamicValue>;
|
|
7
|
+
import { RuleUsage } from "./RuleUsage";
|
|
8
|
+
export declare const DynamicValue: core.serialization.ObjectSchema<serializers.DynamicValue.Raw, Rulebricks.DynamicValue>;
|
|
12
9
|
export declare namespace DynamicValue {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
interface Boolean extends BooleanValue.Raw {
|
|
21
|
-
type: "boolean";
|
|
22
|
-
}
|
|
23
|
-
interface List extends ListValue.Raw {
|
|
24
|
-
type: "list";
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
type: string;
|
|
14
|
+
value?: unknown | null;
|
|
15
|
+
usages?: RuleUsage.Raw[] | null;
|
|
16
|
+
accessGroups?: string[] | null;
|
|
25
17
|
}
|
|
26
18
|
}
|
|
@@ -28,18 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DynamicValue = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
boolean: BooleanValue_1.BooleanValue,
|
|
40
|
-
list: ListValue_1.ListValue,
|
|
41
|
-
})
|
|
42
|
-
.transform({
|
|
43
|
-
transform: (value) => value,
|
|
44
|
-
untransform: (value) => value,
|
|
31
|
+
const RuleUsage_1 = require("./RuleUsage");
|
|
32
|
+
exports.DynamicValue = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
name: core.serialization.string(),
|
|
35
|
+
type: core.serialization.string(),
|
|
36
|
+
value: core.serialization.unknown().optional(),
|
|
37
|
+
usages: core.serialization.list(RuleUsage_1.RuleUsage).optional(),
|
|
38
|
+
accessGroups: core.serialization.list(core.serialization.string()).optional(),
|
|
45
39
|
});
|
|
@@ -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;
|