@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
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
type: "list";
|
|
18
|
-
}
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export interface DynamicValue {
|
|
6
|
+
/** Unique identifier for the dynamic value. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** Name of the dynamic value (may include dot notation for nested properties). */
|
|
9
|
+
name: string;
|
|
10
|
+
/** Type identifier for the value (e.g., 'string', 'number', 'boolean', 'list', 'function', etc.) */
|
|
11
|
+
type: string;
|
|
12
|
+
value?: unknown;
|
|
13
|
+
/** Rules that use this dynamic value (only included when 'include=usage' parameter is used). */
|
|
14
|
+
usages?: Rulebricks.RuleUsage[];
|
|
15
|
+
/** Access groups assigned to this value. */
|
|
16
|
+
accessGroups?: string[];
|
|
19
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export declare type DynamicValueListResponse =
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export declare type DynamicValueListResponse = Rulebricks.DynamicValue[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export interface FlowDetail extends
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export interface FlowDetail extends Rulebricks.FlowBase {
|
|
6
6
|
/** Whether the flow is published. */
|
|
7
7
|
published?: boolean;
|
|
8
8
|
/** The date this flow was last updated. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export declare type FlowListResponse =
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export declare type FlowListResponse = Rulebricks.FlowDetail[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export declare type FolderListResponse =
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export declare type FolderListResponse = Rulebricks.Folder[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
5
|
/**
|
|
6
6
|
* A request containing multiple rule/flow executions to be run in parallel.
|
|
7
7
|
*/
|
|
8
|
-
export declare type ParallelSolveRequest = Record<string,
|
|
8
|
+
export declare type ParallelSolveRequest = Record<string, Rulebricks.ParallelSolveRequestValue>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
5
|
/**
|
|
6
6
|
* Response from parallel rule/flow execution with results from each execution.
|
|
7
7
|
*/
|
|
8
|
-
export declare type ParallelSolveResponse = Record<string,
|
|
8
|
+
export declare type ParallelSolveResponse = Record<string, Rulebricks.DynamicResponsePayload>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export interface RuleDetail extends
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export interface RuleDetail extends Rulebricks.RuleBase {
|
|
6
6
|
/** The date this rule was created. */
|
|
7
7
|
createdAt?: Date;
|
|
8
|
-
folder?:
|
|
8
|
+
folder?: Rulebricks.Folder;
|
|
9
9
|
/** The published request schema for the rule. */
|
|
10
|
-
requestSchema?:
|
|
10
|
+
requestSchema?: Rulebricks.SchemaField[];
|
|
11
11
|
/** The published response schema for the rule. */
|
|
12
|
-
responseSchema?:
|
|
12
|
+
responseSchema?: Rulebricks.SchemaField[];
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export declare type RuleListResponse =
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export declare type RuleListResponse = Rulebricks.RuleDetail[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
5
|
export interface SchemaField {
|
|
6
6
|
/** The unique key for this field. */
|
|
7
7
|
key?: string;
|
|
@@ -12,9 +12,9 @@ export interface SchemaField {
|
|
|
12
12
|
/** Description of this field. */
|
|
13
13
|
description?: string;
|
|
14
14
|
/** Data type of this field. */
|
|
15
|
-
type?:
|
|
15
|
+
type?: Rulebricks.SchemaFieldType;
|
|
16
16
|
/** Default value for this field. */
|
|
17
|
-
defaultValue?:
|
|
17
|
+
defaultValue?: Rulebricks.SchemaFieldDefaultValue;
|
|
18
18
|
/** Computed default value for this field. */
|
|
19
19
|
defaultComputedValue?: string;
|
|
20
20
|
/** Transformation expression to apply to this field. */
|
package/dist/api/types/Test.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
5
|
export interface Test {
|
|
6
6
|
/** Unique identifier for the test. */
|
|
7
7
|
id: string;
|
|
@@ -18,7 +18,7 @@ export interface Test {
|
|
|
18
18
|
/** Indicates if the test was successful. */
|
|
19
19
|
success: boolean;
|
|
20
20
|
/** The state of the test after execution. */
|
|
21
|
-
testState?:
|
|
21
|
+
testState?: Rulebricks.TestTestState;
|
|
22
22
|
/** The timestamp when the test was last executed. */
|
|
23
23
|
lastExecuted?: Date;
|
|
24
24
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export declare type TestListResponse =
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export declare type TestListResponse = Rulebricks.Test[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
5
|
/**
|
|
6
6
|
* The state of the test after execution.
|
|
7
7
|
*/
|
|
@@ -10,10 +10,10 @@ export interface TestTestState {
|
|
|
10
10
|
duration?: number;
|
|
11
11
|
/** Actual response returned */
|
|
12
12
|
response?: Record<string, unknown>;
|
|
13
|
-
conditions?: Record<string,
|
|
13
|
+
conditions?: Record<string, Rulebricks.TestTestStateConditionsItemValue>[];
|
|
14
14
|
/** HTTP status code returned */
|
|
15
15
|
httpStatus?: number;
|
|
16
16
|
successIdxs?: number[];
|
|
17
17
|
/** Error message or flag indicating if evaluation error occurred */
|
|
18
|
-
evaluationError?:
|
|
18
|
+
evaluationError?: Rulebricks.TestTestStateEvaluationError;
|
|
19
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
5
|
-
export declare type UserGroupListResponse =
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
|
+
export declare type UserGroupListResponse = Rulebricks.UserGroup[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as
|
|
4
|
+
import * as Rulebricks from "../index";
|
|
5
5
|
export interface UserInviteResponse {
|
|
6
6
|
/** Success message indicating whether a new user was invited or an existing user's permissions were updated. */
|
|
7
7
|
message?: string;
|
|
8
|
-
user?:
|
|
8
|
+
user?: Rulebricks.UserInviteResponseUser;
|
|
9
9
|
}
|
|
@@ -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";
|
package/dist/api/types/index.js
CHANGED
|
@@ -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);
|
|
@@ -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/dist/errors/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { RulebricksError } from "./RulebricksError";
|
|
2
|
+
export { RulebricksTimeoutError } from "./RulebricksTimeoutError";
|
package/dist/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/dist/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>;
|
package/dist/forge/rule.js
CHANGED
|
@@ -275,13 +275,13 @@ class Rule {
|
|
|
275
275
|
if (!this.workspace) {
|
|
276
276
|
throw new Error("A Rulebricks client is required to set a folder by name");
|
|
277
277
|
}
|
|
278
|
-
const folders = yield this.workspace.assets.
|
|
278
|
+
const folders = yield this.workspace.assets.folders.list();
|
|
279
279
|
let folder = folders.find((f) => f.name === folderName);
|
|
280
280
|
if (!folder && createIfMissing) {
|
|
281
281
|
if (folders.some((f) => f.name === folderName)) {
|
|
282
282
|
throw new Error("Folder name conflicts with an existing folder");
|
|
283
283
|
}
|
|
284
|
-
folder = yield this.workspace.assets.
|
|
284
|
+
folder = yield this.workspace.assets.folders.upsert({ name: folderName });
|
|
285
285
|
}
|
|
286
286
|
if (!folder) {
|
|
287
287
|
throw new Error(`Folder '${folderName}' not found and createIfMissing is false`);
|
|
@@ -309,7 +309,7 @@ class Rule {
|
|
|
309
309
|
if (!validChars.test(alias)) {
|
|
310
310
|
throw new Error("Alias cannot contain special characters");
|
|
311
311
|
}
|
|
312
|
-
const rules = yield this.workspace.assets.
|
|
312
|
+
const rules = yield this.workspace.assets.rules.list();
|
|
313
313
|
if (rules.some((r) => r.slug === alias)) {
|
|
314
314
|
throw new Error("Alias conflicts with an existing rule");
|
|
315
315
|
}
|
|
@@ -363,13 +363,13 @@ class Rule {
|
|
|
363
363
|
if (!this.workspace) {
|
|
364
364
|
throw new Error("A Rulebricks client is required to manage access groups");
|
|
365
365
|
}
|
|
366
|
-
const existingGroups = yield this.workspace.users.
|
|
366
|
+
const existingGroups = yield this.workspace.users.groups.list();
|
|
367
367
|
let group = existingGroups.find((g) => g.name === groupName);
|
|
368
368
|
if (!group && !createIfMissing) {
|
|
369
369
|
throw new Error(`User group '${groupName}' not found and createIfMissing is False`);
|
|
370
370
|
}
|
|
371
371
|
if (!group && createIfMissing) {
|
|
372
|
-
group = yield this.workspace.users.
|
|
372
|
+
group = yield this.workspace.users.groups.create({ name: groupName });
|
|
373
373
|
}
|
|
374
374
|
if (!this.accessGroups.includes(groupName)) {
|
|
375
375
|
this.accessGroups.push(groupName);
|
|
@@ -506,7 +506,7 @@ class Rule {
|
|
|
506
506
|
throw new Error("Workspace not set. Call setWorkspace() before updating the rule.");
|
|
507
507
|
}
|
|
508
508
|
const ruleData = this.toDict();
|
|
509
|
-
yield this.workspace.assets.
|
|
509
|
+
yield this.workspace.assets.rules.push({ rule: ruleData });
|
|
510
510
|
return this;
|
|
511
511
|
});
|
|
512
512
|
}
|
|
@@ -517,7 +517,7 @@ class Rule {
|
|
|
517
517
|
}
|
|
518
518
|
const ruleData = this.toDict();
|
|
519
519
|
ruleData._publish = true;
|
|
520
|
-
yield this.workspace.assets.
|
|
520
|
+
yield this.workspace.assets.rules.push({ rule: ruleData });
|
|
521
521
|
return this;
|
|
522
522
|
});
|
|
523
523
|
}
|
|
@@ -526,7 +526,7 @@ class Rule {
|
|
|
526
526
|
if (!this.workspace) {
|
|
527
527
|
throw new Error("A Rulebricks client is required to load a rule from the workspace");
|
|
528
528
|
}
|
|
529
|
-
const ruleData = yield this.workspace.assets.
|
|
529
|
+
const ruleData = yield this.workspace.assets.rules.pull({ id: ruleId });
|
|
530
530
|
const rule = Rule.fromJSON(ruleData);
|
|
531
531
|
Object.assign(this, rule);
|
|
532
532
|
return this;
|
package/dist/forge/values.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RulebricksClient } from "../Client.js";
|
|
2
2
|
import { DynamicValueType } from "./types.js";
|
|
3
3
|
export declare class DynamicValue {
|
|
4
4
|
readonly id: string;
|
|
@@ -13,7 +13,7 @@ export declare class DynamicValue {
|
|
|
13
13
|
export declare class DynamicValues {
|
|
14
14
|
private static workspace?;
|
|
15
15
|
private static cache;
|
|
16
|
-
static configure(client:
|
|
16
|
+
static configure(client: RulebricksClient): void;
|
|
17
17
|
static get(name: string): Promise<DynamicValue>;
|
|
18
18
|
static set(dynamicValues: Record<string, any>, accessGroups?: string[]): Promise<void>;
|
|
19
19
|
static clearCache(): void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export * as
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
1
|
+
export * as Rulebricks from "./api";
|
|
2
|
+
export { RulebricksClient } from "./Client";
|
|
3
|
+
export { RulebricksEnvironment } from "./environments";
|
|
4
|
+
export { RulebricksError, RulebricksTimeoutError } from "./errors";
|
|
4
5
|
export * as serialization from "./serialization";
|
|
5
6
|
export { Rule, Condition, DynamicValue, DynamicValues, DynamicValueType, DynamicValueNotFoundError, TypeMismatchError, RuleTest, RuleSettings, } from "./forge";
|
package/dist/index.js
CHANGED
|
@@ -23,13 +23,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.RuleTest = exports.TypeMismatchError = exports.DynamicValueNotFoundError = exports.DynamicValueType = exports.DynamicValues = exports.DynamicValue = exports.Condition = exports.Rule = exports.serialization = exports.
|
|
27
|
-
exports.
|
|
26
|
+
exports.RuleTest = exports.TypeMismatchError = exports.DynamicValueNotFoundError = exports.DynamicValueType = exports.DynamicValues = exports.DynamicValue = exports.Condition = exports.Rule = exports.serialization = exports.RulebricksTimeoutError = exports.RulebricksError = exports.RulebricksEnvironment = exports.RulebricksClient = exports.Rulebricks = void 0;
|
|
27
|
+
exports.Rulebricks = __importStar(require("./api"));
|
|
28
28
|
var Client_1 = require("./Client");
|
|
29
|
-
Object.defineProperty(exports, "
|
|
29
|
+
Object.defineProperty(exports, "RulebricksClient", { enumerable: true, get: function () { return Client_1.RulebricksClient; } });
|
|
30
|
+
var environments_1 = require("./environments");
|
|
31
|
+
Object.defineProperty(exports, "RulebricksEnvironment", { enumerable: true, get: function () { return environments_1.RulebricksEnvironment; } });
|
|
30
32
|
var errors_1 = require("./errors");
|
|
31
|
-
Object.defineProperty(exports, "
|
|
32
|
-
Object.defineProperty(exports, "
|
|
33
|
+
Object.defineProperty(exports, "RulebricksError", { enumerable: true, get: function () { return errors_1.RulebricksError; } });
|
|
34
|
+
Object.defineProperty(exports, "RulebricksTimeoutError", { enumerable: true, get: function () { return errors_1.RulebricksTimeoutError; } });
|
|
33
35
|
exports.serialization = __importStar(require("./serialization"));
|
|
34
36
|
var forge_1 = require("./forge");
|
|
35
37
|
Object.defineProperty(exports, "Rule", { enumerable: true, get: function () { return forge_1.Rule; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./resources";
|
|
@@ -14,4 +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("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as Rulebricks from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
export declare const DeleteFolderRequest: core.serialization.Schema<serializers.assets.DeleteFolderRequest.Raw, Rulebricks.assets.DeleteFolderRequest>;
|
|
8
|
+
export declare namespace DeleteFolderRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DeleteFolderRequest = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
31
|
exports.DeleteFolderRequest = core.serialization.object({
|
|
32
32
|
id: core.serialization.string(),
|
|
33
33
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const UpsertFolderRequest: core.serialization.Schema<serializers.UpsertFolderRequest.Raw,
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as Rulebricks from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
export declare const UpsertFolderRequest: core.serialization.Schema<serializers.assets.UpsertFolderRequest.Raw, Rulebricks.assets.UpsertFolderRequest>;
|
|
8
8
|
export declare namespace UpsertFolderRequest {
|
|
9
9
|
interface Raw {
|
|
10
10
|
id?: string | null;
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.UpsertFolderRequest = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
31
31
|
exports.UpsertFolderRequest = core.serialization.object({
|
|
32
32
|
id: core.serialization.string().optional(),
|
|
33
33
|
name: core.serialization.string(),
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteFolderRequest = exports.UpsertFolderRequest = void 0;
|
|
4
|
+
var UpsertFolderRequest_1 = require("./UpsertFolderRequest");
|
|
5
|
+
Object.defineProperty(exports, "UpsertFolderRequest", { enumerable: true, get: function () { return UpsertFolderRequest_1.UpsertFolderRequest; } });
|
|
6
|
+
var DeleteFolderRequest_1 = require("./DeleteFolderRequest");
|
|
7
|
+
Object.defineProperty(exports, "DeleteFolderRequest", { enumerable: true, get: function () { return DeleteFolderRequest_1.DeleteFolderRequest; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|